@font-face { font-family:'SGZ Ziffern'; src:local('Times New Roman'), local('Liberation Serif'), local('Noto Serif'); unicode-range:U+0030-0039; }
:root {
  --bg:#231a14; --panel:rgba(36,26,20,.93); --panel2:rgba(50,36,26,.96); --panel-solid:#33251b;
  --akz:#d9b15a; --akz-hell:#f2d48a; --akz2:#9a7414; --linie:rgba(217,177,90,.34);
  --text:#f5ecdb; --text-2:#e3d4b8; --text-3:#c5b08e; --dim:#b9a07a;
  --gold:#f2d48a; --rot:#ee8a72; --gruen:#a3d68c; --blau:#9cc4f0;
  --ov-a:#3d2c1f; --ov-b:#241910; --scrim:rgba(12,8,4,.7);
  --knopf-a:#53392a; --knopf-b:#33241a; --glas:rgba(28,20,12,.4);
  --filz1:#2f6b4a; --filz2:#1c4a32; --kante1:#6b2f1c; --kante2:#3b170c;
  --kopf:'SGZ Ziffern', Georgia, 'Times New Roman', serif;
  --sans:'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}
:root[data-ansicht="nacht"] { --filz1:#28495e; --filz2:#152c3b; --kante1:#3a2a20; --kante2:#1b120c; --akz:#c9a2d9; --akz-hell:#e6caf2; --linie:rgba(201,162,217,.34); }
:root[data-ansicht="garten"] {
  --bg:#dfe6e0; --panel:rgba(246,241,230,.94); --panel2:rgba(236,229,214,.97); --panel-solid:#ece4d4;
  --akz:#7c5414; --akz-hell:#6e4a0e; --akz2:#c09a3a; --linie:rgba(110,80,40,.32);
  --text:#2b2216; --text-2:#45382a; --text-3:#5d4e3c; --dim:#5d4e3c;
  --gold:#6e4a0e; --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,.62);
  --filz1:#3f8a5e; --filz2:#2a6a45;
}
: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:#140e08; 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, #3a281c 0%, #100a06 80%); }
:root[data-ansicht="garten"] #wrap { background:radial-gradient(ellipse at center, #e8ece6 0%, #a9b4aa 85%); }
#stage { position:relative; width:1280px; height:800px; flex:none; transform-origin:center center; overflow:clip; background:var(--bg); -webkit-touch-callout:none; font-variant-numeric:lining-nums tabular-nums; }
#kulisse { position:absolute; inset:0; background:url(img/salon-q.webp?v=1) center/cover, radial-gradient(ellipse at 50% 10%, #8a5a3a 0%, #4a2a1c 45%, #1c110a 100%); }
#stage.hoch #kulisse { background-image:url(img/salon-h.webp?v=1), radial-gradient(ellipse at 50% 10%, #8a5a3a 0%, #4a2a1c 45%, #1c110a 100%); }
:root[data-ansicht="nacht"] #kulisse { background-image:url(img/nacht-q.webp?v=1), radial-gradient(ellipse at 50% 10%, #3a3a5a 0%, #1c1b33 55%, #0d0c18 100%); }
:root[data-ansicht="nacht"] #stage.hoch #kulisse { background-image:url(img/nacht-h.webp?v=1), radial-gradient(ellipse at 50% 10%, #3a3a5a 0%, #1c1b33 55%, #0d0c18 100%); }
:root[data-ansicht="garten"] #kulisse { background-image:url(img/garten-q.webp?v=1), radial-gradient(ellipse at 50% 10%, #fff6e2 0%, #d8e6cc 50%, #9cb48e 100%); }
:root[data-ansicht="garten"] #stage.hoch #kulisse { background-image:url(img/garten-h.webp?v=1), radial-gradient(ellipse at 50% 10%, #fff6e2 0%, #d8e6cc 50%, #9cb48e 100%); }
#stage.lobbyhg #kulisse { filter:blur(3px) brightness(.6) saturate(.9); }
:root[data-ansicht="garten"] #stage.lobbyhg #kulisse { filter:blur(3px) brightness(1.05) saturate(.7); }
#kulisse i { position:absolute; width:9px; height:9px; border-radius:50%; background:#fff6d8; opacity:0; box-shadow:0 0 12px 4px rgba(255,236,170,.45); animation:schweben 8s ease-in-out infinite; }
#kulisse i:nth-child(1) { left:5%; top:16%; } #kulisse i:nth-child(2) { left:94%; top:20%; animation-delay:-3.4s; }
@keyframes schweben { 0%, 100% { opacity:0; transform:translate(0, 0); } 40% { opacity:.7; } 70% { opacity:.25; transform:translate(10px, -24px); } }
#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="garten"] .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="garten"] .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="garten"] .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:40px; height:40px; 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:36px; }
.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="garten"] .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="garten"] :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="garten"] :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="garten"] .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="garten"] :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="garten"] .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="garten"] :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="garten"] .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="garten"] .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:attr(data-grund); color:var(--text-3); }
.lw-zeile.gesperrt .lw-wahl { pointer-events:none; }
.lw-liste { display:flex; flex-wrap:wrap; gap:2px 12px; } .lw-liste b { flex-basis:100%; }
.ku-liste { display:grid; grid-template-columns:repeat(auto-fill, minmax(230px, 1fr)); gap:6px; }
.ku { display:flex; align-items:flex-start; gap:8px; text-align:left; font:inherit; color:var(--text); cursor:pointer; padding:7px 9px; border-radius:9px;
  background:rgba(227,181,79,.07); border:1px solid var(--linie); transition:background .15s, border-color .15s; }
.ku:hover { background:rgba(227,181,79,.16); }
.ku.an { border-color:var(--akz); background:rgba(227,181,79,.22); box-shadow:inset 0 0 0 1px var(--akz); }
.ku.zu { opacity:.62; cursor:default; }
.ku-haken { flex:none; width:22px; height:22px; border-radius:50%; display:grid; place-items:center; background:var(--gruen); color:#14320e; }
.ku-haken svg { width:14px; height:14px; }
.en-kurs .ku-haken { width:32px; height:32px; } .en-kurs .ku-haken svg { width:18px; height:18px; } .ku-haken.nein { background:var(--linie); color:var(--text); }
.lw-kurs-kopf { display:flex; align-items:center; gap:10px; }
.lw-kurs-kopf .medaille { flex:none; width:34px; height:34px; } .lw-kurs-kopf .medaille svg, .en-kurs .medaille svg { width:18px; height:18px; }
.ku-nr { flex:none; width:24px; height:24px; border-radius:50%; display:grid; place-items:center; font:700 13px/1 'SGZ Ziffern', Georgia, serif; background:var(--akz); color:#2a1a08; }
.ku.zu .ku-nr { background:var(--linie); color:var(--text-2); }
.ku-txt { flex:1; min-width:0; display:flex; flex-direction:column; gap:1px; font-size:12.5px; line-height:1.3; }
.ku-txt b { font-size:13.5px; }
.ku-klein { font-size:11.5px; color:var(--text-2); }
.ku-sterne { flex:none; display:flex; gap:1px; }
.ku-sterne.gross span { width:30px; height:30px; }
.en-kurs { display:flex; align-items:center; gap:12px; padding:8px 12px; margin-bottom:6px; border-radius:10px; background:rgba(227,181,79,.14); border:1px solid var(--linie); }
.en-kurs b { display:block; font-size:15px; }
.en-kurs small { display:block; font-size:12px; color:var(--text-2); line-height:1.35; }
.wt-k.x2 b { color:var(--rot); }
.wt-k.x2 svg { border-radius:5px; box-shadow:0 0 0 2px #c8372d; }
.hk-ring { position:absolute; inset:-3px; border-radius:9px; border:3px solid #e0483c; box-shadow:0 0 8px rgba(224,72,60,.7); pointer-events:none; }
.hk.nicht.x2 { filter:drop-shadow(2px 4px 4px rgba(0,0,0,.45)); } .hk.nicht.x2 > svg { filter:brightness(.62) saturate(.6); }
.meldung.lehrer { max-width:620px; border-color:var(--akz); background:var(--panel-solid); }
.en-kurs .medaille { flex:none; margin-left:auto; }
.ku-sterne span { width:15px; height:15px; display:block; }
.ku-sterne svg { width:100%; height:100%; display:block; }
.ku-sterne .an { color:var(--gold); }
.ku-sterne .aus { color:var(--text-2); opacity:.35; }
.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="garten"] .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; }


.pt { font-size:12.5px; letter-spacing:2px; text-transform:uppercase; color:var(--akz); font-weight:800; display:flex; justify-content:space-between; gap:8px; margin-bottom:6px; }
.pt-r { text-transform:none; letter-spacing:0; color:var(--text-3); font-weight:500; font-size:12px; text-align:right; }
#pchat { flex:1 1 auto; min-height:0; display:flex; flex-direction:column; padding:8px 12px 10px; background:linear-gradient(rgba(250,244,230,.92), rgba(242,232,210,.94)), url(img/papier.webp?v=1) center / 320px auto; color:#2b2216; }
:root:not([data-ansicht="garten"]) #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:40px; }
.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; }

#aktion { position:relative; }
#aktion.aw { border-color:#e8a1b0; box-shadow:0 0 0 2px rgba(232,161,176,.5); }
#aktion.aw::after { content:''; position:absolute; left:12px; bottom:3px; height:4px; width:calc((100% - 24px) * var(--aw, 1)); background:#e8a1b0; border-radius:2px; }

#meldungen { position:absolute; left:40px; width:calc(100% - 80px - 316px); top:auto; bottom:258px; z-index:60; display:flex; flex-direction:column-reverse; align-items:center; gap:6px; pointer-events:none; }
.meldung { max-width:560px; 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:calc(50% - 158px); top:27%; transform:translate(-50%, -50%) scale(.85); z-index:65; padding:14px 30px; 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:38px; 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:28px; }
.banner.gold { border-color:#fbe7a3; }
#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); }
.ov-box { 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(880px, calc(100% - 32px)); width:880px; }
.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:25px; 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; align-items:center; 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 48px minmax(0, 1fr) 90px 64px 100px 110px; align-items:center; gap:8px; padding:7px 10px; border-radius:10px; background:rgba(0,0,0,.2); }
:root[data-ansicht="garten"] .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); }
.wt-liste { display:flex; flex-direction:column; gap:6px; }
.wt-z { display:grid; grid-template-columns:44px 120px minmax(0, 1fr) 84px 110px; align-items:center; gap:10px; padding:7px 10px; border-radius:10px; background:rgba(0,0,0,.2); }
:root[data-ansicht="garten"] .wt-z { background:rgba(255,252,244,.6); }
.wt-z.sieger { outline:2px solid #fbe7a3; }
.wt-z.ich { box-shadow:inset 3px 0 0 var(--akz-hell); }
.wt-nm { font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wt-hand { display:flex; flex-wrap:wrap; gap:3px; min-width:0; } .wt-hand em { color:var(--text-3); }
.wt-k { position:relative; display:inline-block; } .wt-k svg { display:block; }
.wt-k b { position:absolute; right:-3px; bottom:-4px; font-size:11px; color:#fff; background:#6e2230; border-radius:7px; padding:0 4px; }
.wt-p { text-align:right; display:flex; flex-direction:column; line-height:1.05; } .wt-p b { font-size:22px; color:var(--akz-hell); } .wt-p small { font-size:11.5px; color:var(--text-3); }
.wt-stand { text-align:right; font-size:15px; color:var(--text-2); } .wt-stand b { color:var(--text); font-size:18px; }
.wt-wer { margin-right:auto; font-size:14px; color:var(--text-3); }
.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); }
.anl-k { display:inline-block; vertical-align:middle; margin:2px 10px 2px 0; } .anl-k svg { display:block; filter:drop-shadow(1px 2px 2px rgba(0,0,0,.4)); }
.hilfe-text td { vertical-align:middle; }
#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); }
.pl-stuhl .sgzi { width:30px; height:30px; color:var(--akz-hell); }


#partie { position:absolute; inset:0; z-index:3; }
#kopf { position:absolute; left:0; right:0; top:0; height:56px; display:flex; align-items:center; gap:14px; padding:0 14px; border-bottom:1px solid var(--linie); z-index:20; }
#kopf .logo { font-family:var(--kopf); font-size:23px; font-weight:900; letter-spacing:3px; color:var(--akz-hell); display:flex; flex-direction:column; line-height:1; }
#kopf .logo small { font-family:var(--sans); font-size:11.5px; letter-spacing:2px; color:var(--text-3); margin-top:3px; font-weight:700; }
#kopf .trenner { width:1px; height:30px; background:var(--linie); }
#kopf .runde { display:flex; flex-direction:column; line-height:1.05; } #kopf .runde span { font-size:11.5px; color:var(--text-3); text-transform:uppercase; letter-spacing:1px; } #kopf .runde b { font-size:19px; color:var(--text); }
.k-phase { font-size:17px; font-weight:700; color:var(--akz-hell); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; flex:1; }
#kopf .rechts { display:flex; align-items:center; gap:7px; margin-left:auto; flex:none; }
.uhr { min-width:92px; text-align:center; padding:6px 10px; border-radius:8px; background:var(--glas); border:1px solid var(--linie); font-weight:800; font-size:16px; }
.uhr.knapp { color:#fff; background:#a3261c; border-color:#f0836a; }
#k-blatt { position:relative; }
#k-blatt.neu::after { content:''; position:absolute; right:3px; top:3px; width:9px; height:9px; border-radius:50%; background:var(--rot); }

#feld { position:absolute; left:0; right:0; top:56px; bottom:0; --tw:820px; --th:556px; --mw:236px; --mh:150px; --fw:212px; --fh:184px; }
#filz { position:absolute; left:calc(50% - var(--tw) / 2); top:8px; width:var(--tw); height:var(--th); border-radius:26px;
  background:linear-gradient(160deg, rgba(120,50,25,.35), rgba(40,12,4,.55)), url(img/mahagoni.webp?v=1) center / 260px auto, var(--kante2);
  box-shadow:0 22px 40px rgba(0,0,0,.55), 0 4px 0 #1a0a04, inset 0 2px 0 rgba(255,220,180,.25); }
:root[data-ansicht="nacht"] #filz { background:linear-gradient(160deg, rgba(40,30,30,.45), rgba(10,6,4,.65)), url(img/mahagoni.webp?v=1) center / 260px auto, var(--kante2); }
#filz-innen { position:absolute; inset:14px; border-radius:16px; background:radial-gradient(ellipse at 35% 25%, rgba(255,255,255,.08) 0%, rgba(0,0,0,.28) 90%), url(img/filz-salon.webp?v=1) center / cover no-repeat, var(--filz1);
  box-shadow:inset 0 0 30px rgba(0,0,0,.45), inset 0 0 0 2px rgba(0,0,0,.25); }
#filz-innen::after { content:''; position:absolute; inset:0; border-radius:16px; box-shadow:inset 0 0 0 1px rgba(255,255,255,.06); }
:root[data-ansicht="garten"] #filz-innen { background-image:radial-gradient(ellipse at 35% 25%, rgba(255,255,255,.1) 0%, rgba(0,0,0,.18) 90%), url(img/filz-garten.webp?v=1); background-size:cover; }
:root[data-ansicht="nacht"] #filz-innen { background-image:radial-gradient(ellipse at 35% 25%, rgba(255,255,255,.06) 0%, rgba(0,0,0,.32) 90%), url(img/filz-nacht.webp?v=1); background-size:cover; }
#mitte { position:absolute; left:calc(50% - var(--mw) / 2); top:calc(8px + var(--th) / 2 - var(--mh) / 2); width:var(--mw); height:var(--mh); z-index:4; border-radius:14px; padding:8px 10px;
  background:linear-gradient(#2a1d14, #1a120b); border:2px solid #b08a3e; box-shadow:0 6px 16px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,230,170,.2); color:#f5ecdb;
  display:grid; grid-template-columns:auto 1fr; grid-template-rows:auto auto; gap:4px 10px; align-items:center; }
:root[data-ansicht="garten"] #mitte { background:linear-gradient(#fbf5e6, #e9dcc0); color:#2b2216; }
.mi-runde { display:flex; flex-direction:column; align-items:center; line-height:1; } .mi-runde b { font-family:'Noto Serif CJK SC', 'SimSun', serif; font-size:34px; color:#d9b15a; } .mi-runde span { font-size:12.5px; font-weight:700; margin-top:2px; }
:root[data-ansicht="garten"] .mi-runde b { color:#8a5a12; }
.mi-zahlen { display:flex; gap:8px; justify-content:space-between; }
.mi-zahlen > span { display:flex; flex-direction:column; align-items:center; line-height:1.05; min-width:46px; } .mi-zahlen b { font-size:19px; } .mi-zahlen small { font-size:11px; opacity:.9; text-align:center; }
.mi-dora { grid-column:1 / 3; display:flex; flex-direction:column; align-items:center; gap:2px; } .mi-dora small { font-size:11px; opacity:.9; letter-spacing:1px; text-transform:uppercase; }
.mi-dora > div { display:flex; gap:3px; } .do { line-height:0; } .do svg { display:block; filter:drop-shadow(1px 2px 1px rgba(0,0,0,.45)); }
#fluesse { position:absolute; left:50%; top:calc(8px + var(--th) / 2); width:0; height:0; z-index:3; }
.fluss { position:absolute; left:calc(var(--fw) / -2); top:calc(var(--fh) / -2); width:var(--fw); height:var(--fh); display:flex; flex-wrap:wrap; align-content:flex-start; gap:2px 1px; }
.fluss[data-pos="ich"] { transform:translate(0, calc(var(--mh) / 2 + 6px + var(--fh) / 2)); }
.fluss[data-pos="oben"] { transform:translate(0, calc(var(--mh) / -2 - 6px - var(--fh) / 2)) rotate(180deg); }
.fluss[data-pos="rechts"] { transform:translate(calc(var(--mw) / 2 + 6px + var(--fh) / 2), 0) rotate(-90deg); }
.fluss[data-pos="links"] { transform:translate(calc(var(--mw) / -2 - 6px - var(--fh) / 2), 0) rotate(90deg); }
.fst { display:block; line-height:0; } .fst svg { display:block; filter:drop-shadow(1px 2px 1px rgba(0,0,0,.45)); }
.fst.quer { margin:0 1px; align-self:flex-end; }
.fluss.letzter .fst:last-child { outline:3px solid #f2d48a; outline-offset:1px; border-radius:4px; animation:puls 1s ease-in-out infinite; }
@keyframes puls { 50% { outline-color:rgba(242,212,138,.35); } }
.unterwegs { visibility:hidden; }
#plaetze { position:absolute; inset:0; z-index:5; pointer-events:none; }
.platz { position:absolute; display:flex; gap:8px; align-items:center; pointer-events:auto; }
.platz[data-pos="oben"] { left:50%; top:24px; transform:translateX(-50%); flex-direction:row; }
.platz[data-pos="links"] { left:calc(50% - var(--tw) / 2 - 176px); top:calc(8px + var(--th) / 2); transform:translateY(-50%); width:170px; flex-direction:column; align-items:stretch; }
.platz[data-pos="rechts"] { right:calc(50% - var(--tw) / 2 - 176px); top:calc(8px + var(--th) / 2); transform:translateY(-50%); width:170px; flex-direction:column; align-items:stretch; }
.platz[data-pos="ich"] { left:14px; bottom:14px; }
.pl-hand { display:flex; gap:1px; } .pl-hand .hst { line-height:0; } .pl-hand svg { display:block; filter:drop-shadow(1px 2px 1px rgba(0,0,0,.5)); }
.platz[data-pos="links"] .pl-hand, .platz[data-pos="rechts"] .pl-hand { flex-wrap:wrap; justify-content:center; gap:2px 1px; max-width:164px; }
.meldbox { display:flex; gap:6px; flex-wrap:wrap; align-items:flex-end; }
.platz[data-pos="links"] .meldbox, .platz[data-pos="rechts"] .meldbox { justify-content:center; }
.meld { display:inline-flex; align-items:flex-end; padding:2px; border-radius:5px; background:rgba(0,0,0,.22); } .meld svg { display:block; filter:drop-shadow(1px 2px 1px rgba(0,0,0,.45)); }
.meld .quer { display:inline-flex; flex-direction:column-reverse; }
.pl-schild { display:flex; align-items:center; gap:8px; padding:6px 10px 6px 6px; border-radius:30px; min-width:150px; position:relative;
  background:linear-gradient(#3d2a1c, #24180f); border:1px solid #b08a3e; box-shadow:0 6px 14px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,230,170,.2); color:#f5ecdb; }
:root[data-ansicht="garten"] .pl-schild { background:linear-gradient(#fbf5e6, #e9dcc0); color:#2b2216; }
.platz.dran .pl-schild { border-color:#f2d48a; box-shadow:0 0 0 3px rgba(242,212,138,.55), 0 6px 14px rgba(0,0,0,.5); animation:dranpuls 1.6s ease-in-out infinite; }
@keyframes dranpuls { 50% { box-shadow:0 0 0 6px rgba(242,212,138,.25), 0 6px 14px rgba(0,0,0,.5); } }
@media (prefers-reduced-motion: reduce) { .platz.dran .pl-schild, .fluss.letzter .fst:last-child { animation:none; } }
.pl-nm { display:flex; flex-direction:column; line-height:1.15; min-width:0; } .pl-nm b { font-size:15px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:150px; } .pl-nm small { font-size:13px; white-space:nowrap; }
.pl-wind i, .pl-pt { font-style:normal; }
.pl-wind.oya { color:#ff7a5e; font-weight:800; } :root[data-ansicht="garten"] .pl-wind.oya { color:#a3261c; }
.pl-pkt { font-weight:800; }
.pl-stock { position:absolute; left:calc(50% - 35px); bottom:-9px; width:70px; height:7px; border-radius:4px; background:linear-gradient(#fbf6ea, #d9ccb0); box-shadow:0 1px 3px rgba(0,0,0,.5); }
.pl-stock::after { content:''; position:absolute; left:50%; top:1px; width:5px; height:5px; margin-left:-2.5px; border-radius:50%; background:#b3261e; }
.platz[data-pos="links"] .pl-nm b, .platz[data-pos="rechts"] .pl-nm b { white-space:normal; line-height:1.1; max-width:none; }
.platz[data-pos="links"] .pl-schild, .platz[data-pos="rechts"] .pl-schild { min-width:0; padding:6px 8px 6px 5px; gap:6px; }
.platz[data-pos="links"] .ava, .platz[data-pos="rechts"] .ava { width:36px; height:36px; }
.platz[data-pos="links"] .pl-uhr:empty, .platz[data-pos="rechts"] .pl-uhr:empty { display:none; }
.pl-uhr { margin-left:auto; font-weight:800; font-size:14px; color:#f2d48a; min-width:18px; }
.ava { flex:none; width:42px; height:42px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-weight:800; font-size:18px; color:#fff; background:var(--rf, #6b4a2a); border:2px solid var(--rf, #c9a24a); overflow:hidden; }
.ava.bild { background:#2a1d14; } .ava img { width:100%; height:100%; object-fit:cover; display:block; } .ava.gross { width:46px; height:46px; }
.blase { position:absolute; left:50%; bottom:calc(100% + 6px); transform:translateX(-50%); z-index:8; padding:6px 12px; border-radius:12px; white-space:nowrap; font-size:15px; font-weight:700; background:#fbf5e6; color:#2b2216; border:1px solid #b08a3e; box-shadow:0 6px 14px rgba(0,0,0,.4); transition:opacity .4s; }
.platz[data-pos="oben"] .blase { bottom:auto; top:calc(100% + 6px); }
.blase.weg { opacity:0; }
#handbereich { position:absolute; left:200px; right:200px; bottom:8px; height:166px; z-index:6; display:flex; flex-direction:column; gap:8px; }
#aktion { flex:none; height:62px; display:flex; align-items:center; gap:12px; padding:6px 12px; border-radius:12px; border:1px solid var(--linie); position:relative; }
.l-text { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; font-size:15px; line-height:1.25; overflow:hidden; }
.l-was { font-weight:700; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.l-hilfe, .l-rat { font-size:13.5px; color:var(--akz-hell); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .l-hilfe .mini { margin:0 1px; }
.l-hilfe .warn { color:#ff8a70; font-weight:800; } :root[data-ansicht="garten"] .l-hilfe .warn { color:#a3261c; }
.l-knoepfe { display:flex; gap:7px; flex:none; }
.l-knoepfe .kb { padding:8px 14px; min-height:44px; } .l-knoepfe .kb-gross { width:auto; font-size:18px; padding:8px 22px; }
.kb-rot { background:linear-gradient(#f08a72, #b3261e) !important; color:#fff !important; border-color:#ffc1b0; }
#aktion.ans { border-color:#f2d48a; box-shadow:0 0 0 2px rgba(242,212,138,.5); }
#aktion.ans::after { content:''; position:absolute; left:12px; bottom:3px; height:4px; width:calc((100% - 24px) * var(--aw, 1)); background:#f2d48a; border-radius:2px; }
.hand-zeile { flex:1; display:flex; align-items:flex-end; justify-content:center; gap:16px; min-height:0; }
#hand { display:flex; align-items:flex-end; gap:2px; height:96px; padding-bottom:16px; touch-action:manipulation; }
#meine-melds { flex:none; padding-bottom:16px; }
.st { position:relative; padding:0; border:0; background:none; line-height:0; transition:transform .12s; border-radius:6px; }
.st svg { display:block; filter:drop-shadow(1px 3px 2px rgba(0,0,0,.55)); }
.st.gezogen { margin-left:4px; } .st-luecke { width:10px; }
@media (hover: hover) { #partie .st:not(.gesperrt):hover { transform:translateY(-8px); } }
.st.gew { transform:translateY(-12px); } .st.gew::after { content:''; position:absolute; inset:-3px; border-radius:7px; border:2px solid #f2d48a; }
.st.gesperrt { cursor:default; opacity:.55; }
.st.gesperrt::before { content:''; position:absolute; inset:2px; border:2px dashed rgba(255,255,255,.7); border-radius:6px; z-index:1; }
.st.gut::after, .st.riichi-ok::after, .st.rat::after { content:''; position:absolute; inset:-3px; border-radius:7px; border:3px solid #f2d48a; box-shadow:0 0 10px rgba(242,212,138,.7); }
.st.riichi-ok::after { border-color:#ff8a70; box-shadow:0 0 10px rgba(255,138,112,.7); }
.st-hilfe { position:absolute; left:50%; top:calc(100% + 1px); transform:translateX(-50%); font-size:12px; font-weight:800; color:var(--akz-hell); line-height:1.1; white-space:nowrap; text-shadow:0 1px 2px rgba(0,0,0,.6); }
:root[data-ansicht="garten"] .st-hilfe { text-shadow:none; }
.st-hilfe.schlecht { color:var(--text-3); }
.flugstein { position:absolute; left:0; top:0; z-index:62; pointer-events:none; } .flugstein svg { display:block; filter:drop-shadow(2px 5px 4px rgba(0,0,0,.5)); }
.flug-schild { position:absolute; left:50%; top:-20px; transform:translateX(-50%); font-size:12px; font-weight:800; padding:1px 7px; border-radius:9px; background:var(--rf); color:#fff; white-space:nowrap; }
#flug { position:absolute; inset:0; z-index:62; pointer-events:none; }
#seite { position:absolute; right:0; top:56px; bottom:0; width:330px; z-index:40; padding:10px; display:flex; transform:translateX(105%); visibility:hidden; transition:transform .25s, visibility 0s .25s; }
#partie.ch-offen #seite { transform:none; visibility:visible; transition:transform .25s; }
#partie.ch-offen .ch-zu { display:inline-flex; }
#pchat { width:100%; }
#meldungen { left:calc(50% - var(--tw, 860px) / 2 + 24px); width:300px; margin-left:0; bottom:196px; align-items:flex-start; }
#meldungen .meldung { max-width:300px; }
.banner { left:50%; top:34%; }
.banner.rot { border-color:#ff8a70; } .banner.rot .bn-titel { color:#ff9f86; }
.wt-sieg { padding:10px 12px; border-radius:12px; background:rgba(0,0,0,.22); display:flex; flex-direction:column; gap:7px; }
:root[data-ansicht="garten"] .wt-sieg { background:rgba(255,252,244,.6); }
.wt-kopf { display:flex; align-items:center; gap:10px; font-size:17px; } .wt-stufe { margin-left:auto; font-size:15px; color:var(--text-2); } .wt-stufe b { font-size:22px; color:var(--akz-hell); }
.wt-hand { display:flex; flex-wrap:wrap; align-items:flex-end; gap:2px; } .wt-hand svg { display:block; filter:drop-shadow(1px 2px 1px rgba(0,0,0,.45)); }
.wt-gew { margin-left:10px; outline:3px solid #f2d48a; border-radius:5px; line-height:0; } .wt-meld { display:inline-flex; margin-left:10px; gap:1px; }
.wt-yaku { display:flex; flex-wrap:wrap; gap:6px; }
.wt-y { display:flex; flex-direction:column; padding:5px 10px; border-radius:9px; background:rgba(217,177,90,.14); border:1px solid var(--linie); min-width:120px; } .wt-y b { font-size:14.5px; } .wt-y small { font-size:12px; color:var(--text-3); } .wt-y i { font-style:normal; font-size:13px; color:var(--akz-hell); font-weight:800; }
.wt-weg { font-size:14px; color:var(--text-2); line-height:1.45; } .wt-weg sup { font-size:11px; }
.wt-stand { display:flex; flex-direction:column; gap:5px; margin-top:8px; text-align:left; }
.wt-z { grid-template-columns:44px minmax(0, 1fr) 110px 190px; }
.wt-d b { font-size:20px; } .wt-d.plus b { color:var(--gruen); } .wt-d.minus b { color:var(--rot); }
.wt-p { text-align:right; flex-direction:row; justify-content:flex-end; gap:6px; align-items:baseline; font-size:15px; color:var(--text-2); } .wt-p b { font-size:18px; color:var(--text); }
.mini { display:inline-block; vertical-align:middle; line-height:0; } .mini svg { display:block; }
.en-platz { grid-template-columns:44px 52px minmax(0, 1fr) 90px 150px 64px 110px; }
.en-buch { margin-top:10px; } .en-buch .pt { font-size:12.5px; letter-spacing:2px; text-transform:uppercase; color:var(--akz); font-weight:800; margin-bottom:6px; }
table.buch { width:100%; border-collapse:collapse; font-size:14px; } table.buch th, table.buch td { padding:4px 8px; border-bottom:1px solid var(--linie); text-align:right; }
table.buch th:nth-child(-n+2), table.buch td:nth-child(-n+2) { text-align:left; } table.buch td small { color:var(--text-3); } table.buch td.plus { color:var(--gruen); } table.buch td.minus { color:var(--rot); }
.lw-mehr { width:100%; margin:6px 0 4px; }
.lw-mehr-liste { display:flex; flex-direction:column; gap:6px; white-space:normal; }
.hilfe-text .anl-st { display:inline-block; vertical-align:middle; margin:2px 3px; line-height:0; }

#stage.hoch #feld { --tw:600px; --th:640px; --mw:210px; --mh:150px; --fw:188px; --fh:150px; }
#stage.hoch .platz[data-pos="links"] { left:6px; width:92px; } #stage.hoch .platz[data-pos="rechts"] { right:6px; width:92px; }
#stage.hoch .platz[data-pos="links"] .pl-schild, #stage.hoch .platz[data-pos="rechts"] .pl-schild { min-width:0; flex-direction:column; border-radius:14px; padding:6px; text-align:center; }
#stage.hoch .platz[data-pos="links"] .pl-hand, #stage.hoch .platz[data-pos="rechts"] .pl-hand { max-width:92px; }
#stage.hoch .platz[data-pos="links"] .pl-nm b, #stage.hoch .platz[data-pos="rechts"] .pl-nm b { max-width:80px; }
#stage.hoch #handbereich { left:12px; right:12px; height:240px; }
#stage.hoch .hand-zeile { flex-direction:column; align-items:center; gap:6px; }
#stage.hoch .platz[data-pos="ich"] { left:auto; right:12px; bottom:auto; top:calc(8px + var(--th) + 20px); }
#stage.hoch #meldungen { left:calc(50% - 280px); bottom:270px; width:560px; align-items:center; } #stage.hoch #meldungen .meldung { max-width:560px; }
#stage.hf #kopf { height:52px; gap:8px; padding:0 8px; } #stage.hf #kopf .logo { font-size:16px; letter-spacing:1px; } #stage.hf #kopf .trenner, #stage.hf #kopf .logo small { display:none; }
#stage.hf .k-phase { font-size:14px; } #stage.hf .uhr { min-width:60px; font-size:14px; padding:4px 6px; }
#stage.hf #feld { top:52px; --tw:340px; --th:480px; --mw:132px; --mh:104px; --fw:108px; --fh:92px; }
#stage.hf #filz-innen { inset:8px; }
#stage.hf .mi-runde b { font-size:22px; } #stage.hf .mi-zahlen b { font-size:14px; } #stage.hf .mi-zahlen > span { min-width:30px; }
#stage.hf #mitte { padding:4px 6px; gap:2px 6px; } #stage.hf .mi-dora small { display:none; } #stage.hf .mi-zahlen > span:not(:first-child) small { display:none; }
#stage.hf .platz[data-pos="links"] { left:2px; width:66px; } #stage.hf .platz[data-pos="rechts"] { right:2px; width:66px; }
#stage.hf .platz[data-pos="links"] .pl-hand, #stage.hf .platz[data-pos="rechts"] .pl-hand { display:none; }
#stage.hf .platz[data-pos="oben"] { top:12px; } #stage.hf .platz[data-pos="oben"] .pl-hand { display:none; }
#stage.hf .pl-schild { min-width:0; padding:4px; } #stage.hf .pl-nm b { font-size:13px; max-width:58px; } #stage.hf .pl-nm small { font-size:12px; }
#stage.hf .platz[data-pos="links"] .pl-schild, #stage.hf .platz[data-pos="rechts"] .pl-schild { flex-direction:column; border-radius:12px; text-align:center; }
#stage.hf .ava { width:34px; height:34px; }
#stage.hf #handbereich { left:6px; right:6px; height:250px; }
#stage.hf #aktion { height:auto; min-height:62px; flex-wrap:wrap; padding:6px 8px; } #stage.hf .l-knoepfe { flex-wrap:wrap; } #stage.hf .l-was { white-space:normal; font-size:14px; }
#stage.hf #hand { height:62px; } #stage.hf .st-hilfe { font-size:11px; }
#stage.hf .platz[data-pos="ich"] { right:6px; top:calc(8px + var(--th) + 10px); }
#stage.hf #meldungen { left:20px; width:440px; bottom:270px; align-items:center; } #stage.hf #meldungen .meldung { max-width:440px; }
#stage.quer-handy #kopf { height:48px; } #stage.quer-handy #feld { top:48px; --tw:600px; --th:330px; --mw:170px; --mh:100px; --fw:138px; --fh:92px; }
#stage.quer-handy .mi-zahlen small, #stage.quer-handy .mi-dora small { display:none; } #stage.quer-handy .mi-runde b { font-size:24px; }
#stage.quer-handy #handbereich { left:150px; right:150px; height:128px; } #stage.quer-handy #hand { height:62px; } #stage.quer-handy #aktion { height:54px; }
#stage.quer-handy .platz[data-pos="links"], #stage.quer-handy .platz[data-pos="rechts"] { width:120px; } #stage.quer-handy .platz[data-pos="links"] { left:6px; } #stage.quer-handy .platz[data-pos="rechts"] { right:6px; }
#stage.quer-handy .platz[data-pos="links"] .pl-hand, #stage.quer-handy .platz[data-pos="rechts"] .pl-hand, #stage.quer-handy .platz[data-pos="oben"] .pl-hand { display:none; }
#stage.quer-handy .platz[data-pos="oben"] { top:12px; }
#stage.quer-handy #meldungen { bottom:150px; }

#stage.hf #kopf .logo { display:none; } #stage.hf #kopf .runde span { display:none; } #stage.hf #kopf .runde b { font-size:16px; white-space:nowrap; }
#stage.hf #feld { --mw:150px; --mh:112px; --fw:144px; --fh:90px; }
#stage.hf #handbereich { height:350px; }
#stage.hf .hand-zeile { flex-direction:column-reverse; align-items:center; justify-content:flex-end; gap:8px; }
#stage.hf #hand { display:grid; grid-template-columns:repeat(7, 60px); column-gap:4px; row-gap:31px; height:auto; padding-bottom:16px; justify-content:center; }
#stage.hf .st-luecke { display:none; } #stage.hf .st.gezogen { margin-left:0; outline:3px solid var(--akz-hell); outline-offset:2px; }
#stage.hf .st-hilfe { font-size:13px; }
#stage.hf .platz[data-pos="links"], #stage.hf .platz[data-pos="rechts"] { width:72px; }
#stage.hf .platz[data-pos="links"] .pl-schild, #stage.hf .platz[data-pos="rechts"] .pl-schild { width:72px; padding:5px 3px; gap:3px; }
#stage.hf .platz[data-pos="links"] .pl-nm, #stage.hf .platz[data-pos="rechts"] .pl-nm { align-items:center; width:100%; }
#stage.hf .platz[data-pos="links"] .pl-nm b, #stage.hf .platz[data-pos="rechts"] .pl-nm b { max-width:66px; white-space:normal; hyphens:manual; text-align:center; font-size:13px; line-height:1.1; }
#stage.hf .pl-wind i, #stage.hf .pl-pt { display:none; }
#stage.hf .platz[data-pos="links"] .pl-nm small, #stage.hf .platz[data-pos="rechts"] .pl-nm small { display:flex; flex-direction:column; align-items:center; font-size:12px; }
#stage.hf .platz[data-pos="oben"] .pl-nm b { max-width:140px; }
#stage.hf #meldungen { bottom:360px; }
#stage.hf #kopf .kb-ic { width:52px; height:52px; } #stage.hf #kopf .rechts { gap:5px; } #stage.hf #k-ansicht { display:none; } #stage.hf #kopf { height:60px; } #stage.hf #feld { top:60px; }
#stage.hf .mi-zahlen small { display:none; }
#stage.quer-handy #kopf { height:64px; } #stage.quer-handy #feld { top:64px; --mw:214px; --mh:104px; }
#stage.quer-handy #kopf .kb-ic { width:56px; height:56px; } #stage.quer-handy #kopf .rechts { gap:5px; }
#stage.quer-handy #kopf .logo small, #stage.quer-handy #kopf .runde span { display:none; } #stage.quer-handy #kopf .trenner { display:none; }
#stage.quer-handy .platz[data-pos="links"], #stage.quer-handy .platz[data-pos="rechts"] { width:96px; }
#stage.quer-handy .platz[data-pos="links"] .pl-schild, #stage.quer-handy .platz[data-pos="rechts"] .pl-schild { width:96px; flex-direction:column; border-radius:12px; padding:5px 3px; gap:3px; text-align:center; }
#stage.quer-handy .platz[data-pos="links"] .pl-nm, #stage.quer-handy .platz[data-pos="rechts"] .pl-nm { align-items:center; width:100%; }
#stage.quer-handy .platz[data-pos="links"] .pl-nm b, #stage.quer-handy .platz[data-pos="rechts"] .pl-nm b { max-width:88px; font-size:14px; }
#stage.quer-handy .platz[data-pos="links"] .pl-nm small, #stage.quer-handy .platz[data-pos="rechts"] .pl-nm small { display:flex; flex-direction:column; align-items:center; font-size:13px; }
#stage.quer-handy .platz[data-pos="links"] .pl-pt, #stage.quer-handy .platz[data-pos="rechts"] .pl-pt { display:none; }

.au-kopf { display:flex; gap:6px; align-items:center; flex-wrap:wrap; margin-bottom:8px; }
.au-nr { min-width:56px; min-height:40px; padding:6px 10px; border-radius:9px; border:1px solid var(--linie); background:rgba(0,0,0,.2); color:var(--text-2); font-weight:700; font-size:15px; }
:root[data-ansicht="garten"] .au-nr { background:rgba(255,252,244,.6); }
.au-nr.an { border-color:var(--akz-hell); color:var(--akz-hell); } .au-nr.ok { background:rgba(120,180,90,.22); } .au-nr:disabled { opacity:.5; border-style:dashed; cursor:default; }
.au-summe { margin-left:auto; font-weight:800; color:var(--akz-hell); font-size:17px; }
.au-lage { font-size:14.5px; color:var(--text-2); margin-bottom:8px; } .au-lage .mini { vertical-align:middle; }
.au-hand { display:flex; flex-wrap:wrap; gap:3px; justify-content:center; padding:12px 6px 22px; border-radius:12px; background:radial-gradient(ellipse at 35% 25%, rgba(255,255,255,.08), rgba(0,0,0,.25)), url(img/filz-salon.webp?v=1) center / cover, #1c4a32; }
.au-st.loesung::after { content:''; position:absolute; inset:-3px; border-radius:7px; border:3px solid #9fe07a; box-shadow:0 0 10px rgba(159,224,122,.7); }
.au-st.gewaehlt:not(.loesung)::after { content:''; position:absolute; inset:-3px; border-radius:7px; border:3px solid #ff8a70; }
.au-st[aria-disabled] { cursor:default; }
.au-erg { margin-top:10px; padding:9px 12px; border-radius:10px; border:1px solid var(--linie); font-size:15px; line-height:1.45; color:var(--text); background:rgba(0,0,0,.18); }
:root[data-ansicht="garten"] .au-erg { background:rgba(255,252,244,.6); }
.au-erg.gut { border-color:var(--gruen); } .au-erg.neutral { color:var(--text-2); }
.st-dora { position:absolute; right:3px; top:3px; width:9px; height:9px; border-radius:50%; background:radial-gradient(circle at 35% 35%, #fff3b0, #d9a520 60%, #8a6010); box-shadow:0 0 0 1px rgba(0,0,0,.35); z-index:2; }
.st-sicher { position:absolute; left:50%; top:-15px; transform:translateX(-50%); font-size:11.5px; font-weight:800; padding:0 5px; border-radius:6px; background:#2f7048; color:#fff; line-height:15px; white-space:nowrap; z-index:2; }
.l-wert { margin:0 6px 0 2px; color:var(--text-2); font-size:12.5px; }
#pchat .ch-tabs button[data-c] { padding:6px 4px; font-size:13.5px; }
table.buch.yaku td small { display:block; color:#5d4e3c; font-size:12px; } table.buch.yaku td:nth-child(n+2) { text-align:center; }
#ch-yaku, #ch-buch { overflow:auto; }
#stage.hoch #aufgabe .ov-box { zoom:1.8; width:420px; max-width:none; max-height:calc((100% - 40px) / 1.8); }
#stage.hoch .au-nr { min-height:52px; min-width:60px; }
#stage.hoch #aufgabe .ov-knoepfe .kb { min-height:52px; }
.opt-z { display:flex; flex-direction:column; gap:4px; padding:8px; border-radius:8px; background:rgba(255,252,244,.55); color:#2b2216; } .opt-z small { font-size:12.5px; color:#45382a; line-height:1.35; }
.opt-z .lw-wahl { display:flex; gap:6px; } .opt-z .lw-wahl button { min-height:40px; padding:6px 14px; border-radius:8px; border:1px solid rgba(110,80,40,.35); background:#f6efe0; color:#2b2216; font-weight:700; }
.opt-z .lw-wahl button.an { background:linear-gradient(#fbe7a3, #d1a33d); border-color:#8a6a1e; }
.fluss.frisch .fst:last-child svg { filter:drop-shadow(0 0 6px rgba(242,212,138,.95)) drop-shadow(1px 2px 1px rgba(0,0,0,.45)); }
#mauer-zahl.knapp b { color:#ff8a70; } :root[data-ansicht="garten"] #mauer-zahl.knapp b { color:#a3261c; }
.pl-stock.neu { animation:stockleuchten .9s ease-out; } @keyframes stockleuchten { 0% { transform:scale(1.5); box-shadow:0 0 14px rgba(255,240,200,.9); } 100% { transform:scale(1); } }
.hst.offen svg { animation:aufdecken .5s ease-out; } @keyframes aufdecken { 0% { transform:scaleX(.1); } 100% { transform:scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .pl-stock.neu, .hst.offen svg { animation:none; } }
#pchat .ch-tabs { flex-wrap:wrap; }
.pl-inhalt { display:contents; }
#stage.hf .k-phase { white-space:normal; line-height:1.12; font-size:15px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; text-overflow:clip; }
#stage.hoch .platz[data-pos="links"] .pl-nm small, #stage.hoch .platz[data-pos="rechts"] .pl-nm small { display:flex; flex-direction:column; align-items:center; }
#stage.hoch .platz[data-pos="links"] .pl-pt, #stage.hoch .platz[data-pos="rechts"] .pl-pt { display:none; }
.platz.denkt .pl-schild::after { content:''; position:absolute; right:8px; top:-7px; width:26px; height:8px; border-radius:4px;
  background:radial-gradient(circle, #f2d48a 2px, transparent 2.6px) 0 0 / 9px 8px repeat-x; animation:denkt 1.2s steps(3) infinite; }
@keyframes denkt { 0% { width:8px; } 100% { width:27px; } }
@media (prefers-reduced-motion: reduce) { .platz.denkt .pl-schild::after { animation:none; } }
.l-knoepfe .kb.rat-wahl { outline:3px solid #f2d48a; outline-offset:2px; }
.en-satz { display:block; font-style:italic; font-weight:400; font-size:13px; color:var(--text-2); }
#hand .st.neue-farbe { margin-left:9px; } #stage.hf #hand .st.neue-farbe { margin-left:0; }
.fst.tg svg { filter:drop-shadow(1px 2px 1px rgba(0,0,0,.45)) brightness(.9) saturate(.85); }
.do-ist { display:inline-flex; align-items:center; gap:2px; margin-left:4px; font-weight:800; color:#f2d48a; line-height:0; } .do-ist svg { display:block; outline:2px solid #f2d48a; border-radius:3px; }
:root[data-ansicht="garten"] .do-ist { color:#8a5a12; }
.wt-y.rein { animation:ykarteauf .35s ease-out both; } @keyframes ykarteauf { 0% { opacity:0; transform:scale(.94); } 100% { opacity:1; transform:scale(1); } }
@media (prefers-reduced-motion: reduce) { .wt-y.rein { animation:none; } }
#stage.hf .wt-y { min-width:0; padding:4px 7px; } #stage.hf .wt-y small { display:none; } #stage.hf .wt-z { grid-template-columns:36px minmax(0, 1fr) 86px; } #stage.hf .wt-z .wt-p { grid-column:2 / 4; }
.medaille.m4 { background:linear-gradient(#6b5a48, #3d3128); color:#f5ecdb; }
#stage.hf .ov-x { width:52px; height:52px; } #stage.hf .ov-knoepfe .kb { min-height:52px; } #stage.hf .wt-weg sup { font-size:13px; }
#stage.hf .en-platz { grid-template-columns:34px 40px minmax(0, 1fr) 70px 58px; gap:6px; padding:6px; }
#stage.hf .en-platz > :nth-child(5), #stage.hf .en-platz > .nur-quer { display:none; }
#stage.hf .en-platz .ava.gross { width:38px; height:38px; } #stage.hf .medaille { width:28px; height:28px; }
#stage.hf .nmx { font-size:14px; } #stage.hf .nmx small, #stage.hf .en-platz .w small { font-size:13px; } #stage.hf .en-satz { font-size:13px; }
#stage.hf .en-buch { overflow-x:auto; } #stage.hf table.buch { font-size:13px; min-width:420px; }
#stage.hf table.buch td small { font-size:12.5px; }
.banner { display:flex; flex-direction:column; justify-content:center; align-items:center; box-sizing:border-box; } .banner[hidden] { display:none; }
.fst.landet svg { animation:landet .24s ease-out; } @keyframes landet { 0% { transform:scale(1.14); } 100% { transform:scale(1); } }
@media (prefers-reduced-motion: reduce) { .fst.landet svg { animation:none; } }
.flugstein { will-change:transform; transform-origin:50% 50%; }
#stage.hf .mi-runde span { white-space:nowrap; font-size:14px; }
#stage.quer-handy #feld { --th:300px; --fw:134px; --fh:84px; }
#stage.quer-handy .platz[data-pos="oben"] { left:calc(50% + 78px); transform:none; }
#stage.quer-handy .platz[data-pos="oben"] .blase { top:auto; bottom:calc(100% + 6px); }
#stage.quer-handy #meldungen { left:108px; width:236px; bottom:150px; } #stage.quer-handy #meldungen .meldung { max-width:236px; }
#stage.quer-handy .mi-runde span { white-space:nowrap; font-size:15px; }
#hand .st.ruf-moegl::after { content:''; position:absolute; inset:-3px; border-radius:7px; border:2px dashed rgba(242,212,138,.85); }
#hand .st.ruf-teil { transform:translateY(-12px); }
#hand .st.ruf-teil::after { border:3px solid #f2d48a; box-shadow:0 0 10px rgba(242,212,138,.7); }
.banner.klein { padding:10px 12px; } .banner.klein .bn-unter { font-size:15px; line-height:1.35; }
.bn-st { display:inline-block; vertical-align:middle; line-height:0; margin:0 1px; } .bn-st svg { display:block; filter:drop-shadow(1px 2px 1px rgba(0,0,0,.4)); }
#stage.hf .banner.klein, #stage.quer-handy .banner.klein { padding:6px 8px; } #stage.hf .banner.klein .bn-titel, #stage.quer-handy .banner.klein .bn-titel { font-size:22px; letter-spacing:2px; }
#stage.hf .banner.klein .bn-unter, #stage.quer-handy .banner.klein .bn-unter { font-size:13px; line-height:1.3; margin-top:2px; }
#mi-licht { position:absolute; inset:-2px; z-index:5; pointer-events:none; }
#mi-licht i { position:absolute; display:block; border-radius:4px; opacity:0; background:linear-gradient(90deg, rgba(242,212,138,0), #ffe7a6 20%, #fff3cf 50%, #ffe7a6 80%, rgba(242,212,138,0)); box-shadow:0 0 7px 1px rgba(255,214,120,.8); transition:opacity .25s; }
#mi-licht[data-l="ich"] i { left:12%; right:12%; bottom:-1px; height:5px; }
#mi-licht[data-l="oben"] i { left:12%; right:12%; top:-1px; height:5px; }
#mi-licht[data-l="links"] i, #mi-licht[data-l="rechts"] i { top:12%; bottom:12%; width:5px; background:linear-gradient(180deg, rgba(242,212,138,0), #ffe7a6 20%, #fff3cf 50%, #ffe7a6 80%, rgba(242,212,138,0)); }
#mi-licht[data-l="links"] i { left:-1px; } #mi-licht[data-l="rechts"] i { right:-1px; }
#mi-licht:not([data-l=""]) i { opacity:1; }
#mi-licht.neu i { animation:licht-an .45s ease-out; }
@keyframes licht-an { 0% { opacity:0; transform:scale(.3); } 60% { opacity:1; transform:scale(1.04); } 100% { transform:scale(1); } }
@media (prefers-reduced-motion: reduce) { #mi-licht.neu i { animation:none; } }
.platz.riichi .pl-schild::before { content:'Riichi'; position:absolute; left:10px; top:-9px; z-index:2; padding:0 7px; border-radius:7px; background:#a8231b; color:#fff; font-size:11.5px; font-weight:800; letter-spacing:.5px; line-height:16px; box-shadow:0 1px 3px rgba(0,0,0,.5); pointer-events:none; }
.vl-st { display:inline-block; vertical-align:-4px; line-height:0; margin-right:3px; } .vl-st svg { display:block; filter:drop-shadow(0 1px 1px rgba(0,0,0,.35)); }
.vl-tg { font-size:11.5px; color:var(--text-2); margin-left:4px; }
#ch-buch table.buch { font-size:12px; } #ch-buch table.buch th, #ch-buch table.buch td { padding:4px 2px; } #ch-buch table.buch td small { display:block; font-size:11.5px; }
#ch-buch table.buch td:first-child { white-space:nowrap; }
#stage.hf #pchat .ch-tabs button[data-c], #stage.quer-handy #pchat .ch-tabs button[data-c] { min-height:54px; } #stage.hf #pchat-zu, #stage.quer-handy #pchat-zu { width:54px; height:54px; min-height:54px; }
#stage.hf #ch-buch table.buch { min-width:0; }
#ch-buch table.buch td.plus { color:#1d6b38; } #ch-buch table.buch td.minus { color:#a3221a; } #ch-buch table.buch td small { color:#5d4e3c; }
#stage.hf #ch-opt button, #stage.quer-handy #ch-opt button { min-height:54px; min-width:54px; }
#stage.hf .vl-tg, #stage.quer-handy .vl-tg { font-size:14.5px; }
#stage.hf #pchatin, #stage.quer-handy #pchatin { min-height:54px; font-size:16px; }
#stage.quer-handy table.buch.yaku td small { font-size:15px; } #stage.quer-handy table.buch.yaku { font-size:15.5px; }
#stage.quer-handy #ch-buch table.buch { font-size:15px; } #stage.quer-handy #ch-buch table.buch td small { font-size:15px; }
.lw-bsp { display:flex; flex-wrap:wrap; gap:3px 10px; margin:0 0 3px 26px; }
.lw-bsp-g { display:inline-flex; flex-direction:column; align-items:center; gap:1px; } .lw-bsp-s { display:flex; gap:1px; }
.lw-bsp-g svg { display:block; filter:drop-shadow(0 1px 1px rgba(0,0,0,.4)); }
.lw-bsp-g small { text-align:center; font-size:11px; color:var(--text-2); line-height:13px; }
.lw-bsp-g.paar svg { outline:1px solid rgba(242,212,138,.6); border-radius:2px; }
#hand .st { touch-action:none; }
#hand .st.gezogen-weg { opacity:.3; }
.zieh-stein { position:fixed; left:0; top:0; z-index:9000; pointer-events:none; filter:drop-shadow(4px 10px 8px rgba(0,0,0,.55)); transition:filter .15s; }
.zieh-stein svg { display:block; width:100%; height:100%; }
.zieh-stein.ab { filter:drop-shadow(0 0 10px rgba(255,214,120,.95)) drop-shadow(4px 10px 8px rgba(0,0,0,.5)); }
.fluss.ablage { outline:2px dashed rgba(242,212,138,.85); outline-offset:4px; border-radius:6px; }
#stage.hf .l-knoepfe .kb { min-height:56px; } #stage.hf #aktion.ans .l-hilfe { display:none; }
#stage.hf #meldungen { width:300px; align-items:flex-start; } #stage.hf #meldungen .meldung { max-width:300px; }
.au-st.wartet { transform:translateY(-10px); } .au-st.wartet::after { content:''; position:absolute; inset:-3px; border-radius:7px; border:3px solid #f2d48a; animation:au-puls 1s ease-in-out infinite; } @keyframes au-puls { 50% { opacity:.4; } }
.au-legende { display:flex; flex-wrap:wrap; gap:4px 14px; margin-top:6px; font-size:13px; color:var(--text-2); } .au-legende span { display:inline-flex; align-items:center; gap:5px; }
.au-legende .lg { width:14px; height:14px; border-radius:4px; border:3px solid; box-sizing:border-box; } .au-legende .lg.rot { border-color:#ff8a70; } .au-legende .lg.gruen { border-color:#9fe07a; }
.en-erkl { margin-top:8px; font-size:13px; line-height:1.45; color:var(--text-2); } .en-erkl b { color:var(--text); }
#stage.quer-handy .en-platz.kopf span, #stage.quer-handy .en-platz .w small, #stage.quer-handy .en-buch table.buch td small, #stage.quer-handy .en-buch table.buch { font-size:15px; }
#stage.quer-handy .en-erkl { font-size:15px; }
.sc-kopf { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px 10px; margin-bottom:6px; }
.sc-nr { font-size:13px; letter-spacing:2px; text-transform:uppercase; color:var(--akz); font-weight:800; }
.sc-punkte { display:flex; flex-wrap:wrap; gap:4px; }
.sc-punkt { min-width:36px; min-height:36px; border-radius:50%; border:1px solid var(--linie); background:rgba(0,0,0,.2); color:var(--text-2); font-weight:800; font-size:13px; padding:0; }
.sc-punkt.ok { background:rgba(120,180,90,.28); color:var(--text); } .sc-punkt.an { border:2px solid var(--akz-hell); color:var(--akz-hell); }
.sc-titel { font-family:var(--kopf); font-size:24px; margin:4px 0 6px; color:var(--akz-hell); }
.sc-text { font-size:15.5px; line-height:1.5; color:var(--text); } .sc-text ul { margin:6px 0; padding-left:20px; } .sc-text li { margin:3px 0; } .sc-text p { margin:6px 0; }
.sc-bild { display:flex; flex-wrap:wrap; gap:8px 16px; justify-content:center; align-items:flex-end; margin:8px 0; padding:10px 8px; border-radius:12px; background:radial-gradient(ellipse at 35% 25%, rgba(255,255,255,.08), rgba(0,0,0,.25)), url(img/filz-salon.webp?v=1) center / cover, #1c4a32; }
.sc-gruppe { display:inline-flex; flex-direction:column; align-items:center; gap:3px; } .sc-gruppe small { font-size:12.5px; color:#f5ecdb; text-shadow:0 1px 2px #000; }
.sc-reihe { display:inline-flex; gap:2px; vertical-align:middle; } .sc-st { display:inline-block; line-height:0; } .sc-st svg { display:block; filter:drop-shadow(1px 2px 1px rgba(0,0,0,.4)); }
.sc-frage { margin:10px 0 6px; font-size:16px; font-weight:700; color:var(--text); } .sc-frage .sc-reihe { margin:0 3px; }
.sc-wahl { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; padding:10px 6px; }
.sc-wahl.eng { gap:3px; }
.sc-w { position:relative; padding:4px; border-radius:9px; border:2px solid transparent; background:rgba(0,0,0,.18); line-height:0; min-width:44px; min-height:44px; transition:transform .12s; }
@media (hover: hover) { .sc-w:hover { transform:translateY(-4px); border-color:rgba(242,212,138,.6); } }
.sc-w svg { display:block; } .sc-w.richtig { border-color:#9fe07a; box-shadow:0 0 12px rgba(159,224,122,.7); transform:translateY(-4px); } .sc-w.falsch { border-color:#ff8a70; }
.sc-knoepfe { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; padding:8px 0; } .sc-kn { min-width:110px; min-height:46px; font-size:16px; }
.sc-kn.richtig { outline:3px solid #9fe07a; outline-offset:2px; } .sc-kn.falsch { outline:3px solid #ff8a70; outline-offset:2px; }
.sc-erg { margin-top:8px; padding:9px 12px; border-radius:10px; font-size:15px; line-height:1.45; border:1px solid var(--linie); background:rgba(0,0,0,.18); }
.sc-erg.gut { border-color:#7cc46a; } .sc-erg.schlecht { border-color:#ff8a70; }
:root[data-ansicht="garten"] :is(.sc-erg, .sc-w, .sc-punkt) { background:rgba(255,252,244,.6); }
#stage.hf .sc-titel, #stage.hoch .sc-titel { font-size:21px; } #stage.hf .sc-punkt { min-width:44px; min-height:44px; }
#stage.hoch #schule .ov-box { zoom:1.8; width:420px; max-width:none; max-height:calc((100% - 40px) / 1.8); }
#stage.hoch .sc-punkt { min-width:48px; min-height:48px; font-size:15px; } #stage.hoch .sc-gruppe small { font-size:14px; }
#stage.hoch #schule .ov-knoepfe .kb { min-height:52px; } #stage.hoch .sc-kn { min-height:54px; } #stage.hoch .sc-nr { font-size:14px; }
#stage.hoch .sc-w { min-width:52px; min-height:52px; }
#stage.hoch #schule .ov-x { width:52px; height:52px; min-height:52px; }
#stage:not(.hoch) :is(#schule, #aufgabe) .ov-box { zoom:var(--ovz, 1); max-height:calc(100% - 24px); max-width:calc(100% - 24px); }
#stage.hf .mi-dora > div { gap:2px; } #stage.hf .do-ist { margin-left:2px; gap:1px; }
.sc-tab { border-collapse:collapse; margin:4px 0 6px; font-size:14.5px; } .sc-tab td { padding:3px 14px 3px 0; border-bottom:1px solid var(--linie); } .sc-tab td:last-child { font-weight:700; text-align:right; }
#stage.hf #schule .ov-box { zoom:1.15; width:404px; max-height:calc((100% - 24px) / 1.15); }
.wt-stufen { display:flex; flex-wrap:wrap; align-items:stretch; gap:6px; }
.wt-st { display:flex; flex-direction:column; justify-content:center; padding:5px 10px; border-radius:8px; background:rgba(0,0,0,.22); border:1px solid var(--linie); animation:ykarte .35s ease-out both; }
.wt-st b { font-size:15px; color:var(--text); } .wt-st small { font-size:12.5px; color:var(--text-2); } .wt-st sup { font-size:11px; }
.wt-st.end { border-color:var(--akz-hell); background:rgba(227,181,79,.16); } .wt-st.end b { font-size:18px; color:var(--akz-hell); }
.wt-pf { align-self:center; font-style:normal; font-weight:800; color:var(--akz); animation:ykarte .3s ease-out both; }
.en-held { display:grid; grid-template-columns:auto auto minmax(0, 1fr); align-items:center; gap:10px 18px; padding:12px 14px; margin-bottom:10px; border-radius:12px; background:rgba(0,0,0,.22); border:1px solid var(--linie); }
.en-med { width:74px; height:74px; border-radius:50%; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#3b2a0a; background:linear-gradient(#5a4a38, #3a2e22); box-shadow:inset 0 2px 0 rgba(255,255,255,.25), 0 4px 12px rgba(0,0,0,.45); animation:ykarte .45s ease-out both; }
.en-med b { font-size:30px; line-height:1; font-family:var(--kopf); } .en-med small { font-size:12px; font-weight:800; letter-spacing:1px; text-transform:uppercase; }
.en-med.m1 { background:linear-gradient(#fbe7a3, #d1a33d); } .en-med.m2 { background:linear-gradient(#f0f0ea, #a9adab); } .en-med.m3 { background:linear-gradient(#f0c79a, #b0702e); } .en-med.m4 { color:#f5ecdb; }
.en-zahl { display:flex; flex-direction:column; } .en-zahl b { font-family:'SGZ Ziffern', var(--kopf); font-size:40px; line-height:1.05; color:var(--akz-hell); font-variant-numeric:tabular-nums; } .en-zahl span { font-size:13px; color:var(--text-2); }
.en-kacheln { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:6px; }
.en-kachel { display:flex; flex-direction:column; padding:6px 8px; border-radius:9px; background:rgba(0,0,0,.2); border:1px solid var(--linie); min-width:0; }
.en-kachel span { font-size:11.5px; letter-spacing:1px; text-transform:uppercase; color:var(--text-3); } .en-kachel b { font-size:19px; color:var(--text); overflow-wrap:anywhere; } .en-kachel small { font-size:12px; color:var(--text-2); }
.en-kachel.gut { border-color:#7cc46a; background:rgba(120,180,90,.16); } .en-kachel.gut b { color:#bde6a6; }
:root[data-ansicht="garten"] :is(.en-held, .en-kachel, .wt-st) { background:rgba(255,252,244,.6); } :root[data-ansicht="garten"] .en-kachel.gut b { color:#2f6b23; }
@media (prefers-reduced-motion: reduce) { .wt-st, .wt-pf, .en-med { animation:none; } }
#stage.hf .en-held, #stage.hoch .en-held { grid-template-columns:auto minmax(0, 1fr); } #stage.hf .en-kacheln, #stage.hoch .en-kacheln { grid-column:1 / -1; grid-template-columns:repeat(2, minmax(0, 1fr)); }
#stage.quer-handy .en-kachel span, #stage.quer-handy .en-kachel small, #stage.quer-handy .wt-st small, #stage.quer-handy .en-zahl span { font-size:15px; }
#stage.quer-handy .wt-st sup { font-size:14px; }
#stage.hf .en-kachel span { font-size:14.5px; } #stage.hf .en-kachel small { font-size:14.5px; }
#stage.quer-handy .en-med small { font-size:15px; }
#stage.hf .platz[data-pos="oben"] .pl-schild, #stage.hf .platz[data-pos="oben"] .pl-nm { flex-shrink:0; }
#stage.quer-handy .wt-y small, #stage.quer-handy .wt-y i { font-size:15px; }
.lw-rang, .en-rang { display:grid; grid-template-columns:auto minmax(0, 1fr) auto; align-items:center; gap:4px 10px; padding:7px 10px; border-radius:10px; background:rgba(0,0,0,.2); border:1px solid var(--linie); }
.en-rang { grid-column:1 / -1; grid-template-columns:auto minmax(0, 1fr) auto; }
.rg-abz { grid-row:span 2; width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:var(--kopf); font-weight:900; font-size:18px; color:#2b2216;
  background:linear-gradient(#e9dcc0, #b49a6a); box-shadow:inset 0 2px 0 rgba(255,255,255,.35), 0 2px 6px rgba(0,0,0,.4); }
.rg-abz.rg3, .rg-abz.rg4 { background:linear-gradient(#f0f0ea, #a9adab); } .rg-abz.rg5 { background:linear-gradient(#fbe7a3, #d1a33d); }
.rg-txt { display:flex; flex-direction:column; min-width:0; } .rg-txt b { font-size:16px; color:var(--akz-hell); } .rg-txt small { font-size:12.5px; color:var(--text-2); }
.rg-balken { grid-column:2 / -1; height:8px; border-radius:4px; background:rgba(0,0,0,.35); overflow:hidden; } .lw-rang .rg-balken { grid-column:2 / 4; }
.rg-balken i { display:block; height:100%; border-radius:4px; background:linear-gradient(90deg, #b48a3a, #f2d48a); transition:width 1.1s ease-out; }
.rg-d { font-weight:900; font-size:18px; font-family:var(--kopf); } .rg-d.plus { color:#9fe07a; } .rg-d.minus { color:#ff9f86; }
.rg-band { grid-column:1 / -1; padding:4px 10px; border-radius:7px; font-weight:800; font-size:14px; text-align:center; animation:ykarte .4s ease-out .6s both; }
.rg-band.auf { background:rgba(242,212,138,.22); color:var(--akz-hell); border:1px solid var(--akz-hell); } .rg-band.ab { background:rgba(255,138,112,.14); color:#ffb3a1; border:1px solid #ff8a70; }
:root[data-ansicht="garten"] :is(.lw-rang, .en-rang) { background:rgba(255,252,244,.6); }
#stage.quer-handy .rg-txt small { font-size:15px; } #stage.hf .rg-txt small { font-size:14.5px; }
.platz.riichi-blitz .pl-schild { animation:riichiblitz 1.5s ease-out; }
@keyframes riichiblitz { 0% { box-shadow:0 0 0 0 rgba(255,90,60,.0); } 15% { box-shadow:0 0 0 6px rgba(255,90,60,.75), 0 0 28px 8px rgba(255,90,60,.55); } 100% { box-shadow:0 0 0 0 rgba(255,90,60,0); } }
#mitte [data-ki="stoecke"].puls b { animation:stockpuls .9s ease-out 2; display:inline-block; }
@keyframes stockpuls { 40% { transform:scale(1.45); color:#ff9f86; } }
.wt-schild { font-style:normal; font-weight:900; letter-spacing:1px; padding:2px 10px; border-radius:7px; color:#3b2a0a; background:linear-gradient(100deg, #d1a33d 0%, #fbe7a3 45%, #fff6d0 50%, #fbe7a3 55%, #d1a33d 100%) 0 0 / 250% 100%; animation:schildglanz 2.2s ease-in-out .4s 2; box-shadow:0 2px 8px rgba(0,0,0,.4); }
.wt-schild.yakuman { background-color:#b3261e; color:#fff; background-image:linear-gradient(100deg, #8f1d17 0%, #d9463c 45%, #ffb3a1 50%, #d9463c 55%, #8f1d17 100%); }
@keyframes schildglanz { 0% { background-position:100% 0; } 100% { background-position:-50% 0; } }
.ov-box { position:relative; }
.funken { position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:3; border-radius:inherit; }
.funken i { position:absolute; left:var(--x); top:-8px; width:6px; height:6px; border-radius:50%; background:radial-gradient(circle, #fff6d0, #f2d48a 45%, rgba(209,163,61,0) 70%); box-shadow:0 0 8px rgba(255,214,120,.9);
  animation:funke var(--t) ease-in var(--v) both; }
.funken.yakuman i { width:8px; height:8px; background:radial-gradient(circle, #fff, #ffb3a1 45%, rgba(217,70,60,0) 70%); }
@keyframes funke { 0% { opacity:0; transform:translate(0, 0) scale(.6); } 15% { opacity:1; } 100% { opacity:0; transform:translate(var(--dx), var(--dy)) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .platz.riichi-blitz .pl-schild, #mitte [data-ki="stoecke"].puls b, .wt-schild { animation:none; } }
.en-rueck { margin-top:10px; border:1px solid var(--linie); border-radius:10px; background:rgba(0,0,0,.18); }
.en-rueck > summary { cursor:pointer; padding:9px 12px; font-weight:800; color:var(--akz-hell); display:flex; align-items:center; gap:8px; flex-wrap:wrap; min-height:44px; }
.en-rueck > summary small { font-weight:500; color:var(--text-2); font-size:13px; } .en-rueck > summary svg { width:18px; height:18px; }
.rb-inhalt { padding:0 12px 12px; display:flex; flex-direction:column; gap:8px; } .rb-inhalt p { margin:4px 0; font-size:14px; color:var(--text-2); }
.rb-legende { display:flex; align-items:center; gap:6px; flex-wrap:wrap; } .rb-legende .rb-st { width:16px; height:16px; display:inline-block; }
.rb-karte { padding:8px 10px; border-radius:9px; background:rgba(0,0,0,.2); border:1px solid var(--linie); }
.rb-kopf { display:flex; align-items:center; gap:8px; margin-bottom:5px; font-size:14px; }
.rb-art { font-size:12px; font-weight:800; padding:1px 8px; border-radius:6px; } .rb-art.weiter { background:rgba(255,138,112,.2); color:#ffb3a1; } .rb-art.gefahr { background:rgba(255,90,60,.25); color:#ff9f86; } .rb-art.langsam { background:rgba(242,212,138,.18); color:var(--akz-hell); }
.rb-hand { display:flex; flex-wrap:wrap; gap:2px; margin-bottom:5px; } .rb-st { line-height:0; border-radius:4px; outline-offset:1px; } .rb-st svg { display:block; }
.rb-st.gez { margin-left:6px; } .rb-st.wahl { outline:3px solid #ff8a70; } .rb-st.rat { outline:3px solid #9fe07a; }
.rb-text { font-size:14px; line-height:1.45; color:var(--text); }
:root[data-ansicht="garten"] :is(.en-rueck, .rb-karte) { background:rgba(255,252,244,.6); }
#stage.quer-handy :is(.rb-text, .rb-inhalt p, .en-rueck > summary small, .rb-art, .rb-kopf) { font-size:15px; } #stage.hf .rb-art { font-size:13px; }

#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; }
#zieh-box { position:absolute; left:50%; top:50%; transform:translate(-50%, -50%); min-width:calc(100% + 16px); min-height:calc(100% + 16px); z-index:8; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
  padding:8px 10px; border-radius:14px; background:linear-gradient(#2a1d14, #1a120b); border:2px solid #f2d48a; box-shadow:0 0 0 4px rgba(242,212,138,.25), 0 8px 22px rgba(0,0,0,.55); animation:zkrein .35s ease-out; }
#zieh-box[hidden] { display:none; }
:root[data-ansicht="garten"] #zieh-box { background:linear-gradient(#fbf5e6, #e9dcc0); }
@keyframes zkrein { from { opacity:0; transform:translate(-50%, -50%) scale(.9); } }
.zk-knopf { display:flex; align-items:center; gap:10px; min-height:52px; padding:6px 16px 6px 10px; animation:zkpuls 1.6s ease-in-out .4s infinite; }
@keyframes zkpuls { 50% { box-shadow:0 0 0 5px rgba(242,212,138,.35), 0 0 18px rgba(242,212,138,.6); } }
.zk-stein { line-height:0; transform:rotate(-6deg); } .zk-stein svg { display:block; filter:drop-shadow(1px 3px 2px rgba(0,0,0,.5)); }
.zk-txt { display:flex; flex-direction:column; align-items:flex-start; line-height:1.15; } .zk-txt b { font-size:17px; } .zk-txt small { font-size:12px; font-weight:600; opacity:.85; }
.zk-auto { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:700; color:var(--text-2); }
.zk-auto .lw-wahl button { min-height:44px; min-width:48px; padding:4px 10px; }
.st-platz { position:relative; display:flex; align-items:flex-end; justify-content:center; border:2px dashed rgba(242,212,138,.8); border-radius:7px; background:rgba(242,212,138,.08); animation:zkpuls 1.6s ease-in-out infinite; }
.st-platz small { font-size:11px; font-weight:700; line-height:1.1; text-align:center; color:var(--akz-hell); padding:0 2px 4px; }
.st-neu { position:absolute; left:50%; top:-16px; transform:translateX(-50%); font-size:11.5px; font-weight:800; padding:0 6px; border-radius:6px; background:#f2d48a; color:#2b2216; line-height:15px; z-index:2; }
#stage.hf .st-neu { top:-17px; font-size:12px; }
@media (prefers-reduced-motion: reduce) { .zk-knopf, .st-platz, #zieh-box { animation:none; } }
.l-knoepfe .kb.kb-de { display:flex; flex-direction:column; align-items:center; justify-content:center; line-height:1.1; padding:4px 12px; }
.l-knoepfe .kb.kb-de b { font-size:16px; } .l-knoepfe .kb-gross.kb-de b { font-size:19px; }
.l-knoepfe .kb.kb-de small { font-size:11.5px; font-weight:600; opacity:.9; white-space:nowrap; }
.bn-de { display:block; font-size:.82em; font-style:italic; opacity:.9; margin-bottom:2px; }
.vl-de { font-size:.85em; opacity:.85; }
.bg-kopf { margin:6px 0 4px; font-size:14px; color:var(--akz-hell); letter-spacing:.5px; }
.buch.begriffe td { vertical-align:top; } .buch.begriffe .bg-de { display:block; color:var(--akz-hell); } .buch.begriffe small { display:block; font-size:12.5px; color:var(--text-2); line-height:1.35; }
#stage.quer-handy .l-knoepfe .kb.kb-de small { font-size:11px; } #stage.quer-handy .l-knoepfe .kb.kb-de { padding:2px 10px; }
#stage.hf #zieh-box { min-width:260px; padding:10px 12px; } #stage.quer-handy #zieh-box { min-width:250px; }
#stage:is(.hf, .quer-handy) .zk-txt b { font-size:19px; white-space:nowrap; } #stage:is(.hf, .quer-handy) .zk-txt small { font-size:14.5px; }
#stage:is(.hf, .quer-handy) .zk-auto { font-size:15px; white-space:nowrap; } #stage:is(.hf, .quer-handy) .zk-auto .lw-wahl { display:flex; flex-direction:row; gap:4px; }
#stage:is(.hf, .quer-handy) .zk-auto .lw-wahl button { min-height:44px; min-width:54px; font-size:15px; }
#stage:is(.hf, .quer-handy) .st-platz small { font-size:13px; } #stage:is(.hf, .quer-handy) .st-neu { font-size:14px; line-height:17px; top:-19px; }
#stage:is(.hf, .quer-handy) .l-knoepfe .kb.kb-de small { font-size:13.5px; }
#stage.hf .zk-knopf { min-height:60px; } #stage:is(.hf, .quer-handy) .zk-auto .lw-wahl button { min-height:56px; min-width:60px; }
#stage.hf #kopf .kb-ic { width:56px; height:56px; } #stage.hf #kopf .rechts { gap:3px; }
#stage.hf :is(.pl-wind, .pl-pkt) { font-size:13px; }
#stage.quer-handy #handbereich { height:138px; } #stage.quer-handy #aktion { height:62px; padding:4px 10px; }
#stage.quer-handy .l-knoepfe .kb { min-height:56px; }
#stage.quer-handy .l-was { white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; line-height:1.2; }
#stage.quer-handy #aktion.ans .l-hilfe { display:none; }
#stage.hf .l-knoepfe:has(.kb-de) { width:100%; display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0, 1fr); gap:6px; }
#stage.hf .l-knoepfe .kb.kb-de { padding:4px 6px; } #stage.hf .l-knoepfe .kb.kb-de small { white-space:normal; text-align:center; }
#aktion.ans:has(.l-knoepfe .kb:nth-child(3)) .l-was { white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; line-height:1.2; }
#aktion.ans:has(.l-knoepfe .kb:nth-child(3)) .l-hilfe { display:none; }

.lw-vgl { margin-top:6px; padding-top:6px; border-top:1px solid var(--linie); font-size:12px; line-height:1.35; color:var(--text-3); }

.zahl-schwebe { position:absolute; transform:translate(-50%, -50%); font:900 24px/1 var(--sans, system-ui); padding:3px 12px; border-radius:12px; background:rgba(20,14,8,.78); border:1px solid currentColor; white-space:nowrap; z-index:5; pointer-events:none;
  text-shadow:0 2px 4px rgba(0,0,0,.7); animation:zschwebe 1.5s ease-out forwards; }
.zahl-schwebe.plus { color:#8be08b; } .zahl-schwebe.minus { color:#ff8f7a; }
@keyframes zschwebe { 0% { opacity:0; transform:translate(-50%, -30%) scale(.7); } 15% { opacity:1; transform:translate(-50%, -80%) scale(1.15); } 100% { opacity:0; transform:translate(-50%, -190%) scale(1); } }
.zahl-schwebe.runter { animation-name:zschwebeRunter; }
@keyframes zschwebeRunter { 0% { opacity:0; transform:translate(-50%, -70%) scale(.7); } 15% { opacity:1; transform:translate(-50%, -20%) scale(1.15); } 100% { opacity:0; transform:translate(-50%, 90%) scale(1); } }
.strahlen { position:absolute; width:calc(var(--ew) * 1.9); height:calc(var(--ew) * 1.9); transform:translate(-50%, -50%); border-radius:50%; z-index:-1; pointer-events:none;
  background:repeating-conic-gradient(rgba(255,214,120,.55) 0 8deg, rgba(255,214,120,0) 8deg 22deg); -webkit-mask:radial-gradient(circle, transparent 22%, #000 34%, transparent 70%); mask:radial-gradient(circle, transparent 22%, #000 34%, transparent 70%);
  animation:strahl 2.6s ease-out forwards; }
.strahlen.gross { width:calc(var(--ew) * 2.6); height:calc(var(--ew) * 2.6); }
@keyframes strahl { 0% { opacity:0; transform:translate(-50%, -50%) rotate(0) scale(.4); } 20% { opacity:1; transform:translate(-50%, -50%) rotate(30deg) scale(1); } 100% { opacity:0; transform:translate(-50%, -50%) rotate(140deg) scale(1.15); } }
.ring-welle { position:absolute; width:var(--ew); height:var(--eh); transform:translate(-50%, -50%); border:3px solid #f2d48a; border-radius:8px; pointer-events:none; animation:rwelle .9s ease-out forwards; }
@keyframes rwelle { 0% { opacity:.95; transform:translate(-50%, -50%) scale(.9); } 100% { opacity:0; transform:translate(-50%, -50%) scale(1.6); } }
.stempel { position:absolute; transform:translate(-50%, -50%) rotate(-6deg); display:flex; flex-direction:column; align-items:center; gap:4px; padding:8px 22px 10px; border-radius:14px; z-index:6; pointer-events:none;
  background:rgba(26,18,11,.92); border:3px solid #f2d48a; color:#f2d48a; box-shadow:0 10px 26px rgba(0,0,0,.55); animation:stempelein 2.6s cubic-bezier(.2,.9,.3,1.2) forwards; white-space:nowrap; }
.stempel b { font:900 34px/1 var(--kopf, Georgia, serif); letter-spacing:3px; } .stempel small { font-size:16px; font-weight:700; color:#f4ead6; display:flex; align-items:center; gap:4px; }
.stempel.gruen { border-color:#8be08b; color:#a8f0a8; } .stempel.gold { border-color:#fbe7a3; color:#ffe08a; }
.stempel .sp-st svg { display:block; filter:drop-shadow(0 2px 2px rgba(0,0,0,.5)); }
@keyframes stempelein { 0% { opacity:0; transform:translate(-50%, -50%) rotate(-6deg) scale(2.2); } 14% { opacity:1; transform:translate(-50%, -50%) rotate(-6deg) scale(.95); } 22% { transform:translate(-50%, -50%) rotate(-6deg) scale(1); } 82% { opacity:1; } 100% { opacity:0; transform:translate(-50%, -60%) rotate(-6deg) scale(1); } }
#mauer-zahl.knapp b { display:inline-block; animation:mherz 1.1s ease-in-out infinite; }
@keyframes mherz { 0%, 60%, 100% { transform:scale(1); } 15% { transform:scale(1.22); } 30% { transform:scale(1); } 45% { transform:scale(1.12); } }
#stage.hf .stempel b { font-size:30px; } #stage:is(.hf, .quer-handy) .stempel small { font-size:17px; } #stage.hf .zahl-schwebe { font-size:28px; }
@media (prefers-reduced-motion: reduce) { .zahl-schwebe, .strahlen, .ring-welle, .stempel, #mauer-zahl.knapp b { animation:none; } .strahlen, .ring-welle { display:none; } }
.platz[data-pos="oben"] .pl-nm b { max-width:none; }
.platz:is([data-pos="oben"], [data-pos="ich"]) .pl-schild { flex-shrink:0; } .platz:is([data-pos="oben"], [data-pos="ich"]) .pl-nm { flex:none; }
#stage:not(.hf):not(.quer-handy) .platz:is([data-pos="oben"], [data-pos="ich"]) .pl-schild { padding:7px 16px 7px 7px; gap:10px; }
#stage:not(.hf):not(.quer-handy) .platz:is([data-pos="oben"], [data-pos="ich"]) .pl-nm b { font-size:16.5px; } #stage:not(.hf):not(.quer-handy) .platz:is([data-pos="oben"], [data-pos="ich"]) .pl-nm small { font-size:14px; }

.ding-flug { position:absolute; left:0; top:0; z-index:63; pointer-events:none; will-change:transform; }
.stock-flug { width:54px; height:10px; border-radius:5px; background:linear-gradient(#fffaf0, #e6dcc6); border:1px solid #8a7a5c; box-shadow:0 4px 8px rgba(0,0,0,.5); }
.stock-flug::after { content:''; position:absolute; left:50%; top:50%; width:6px; height:6px; margin:-3px 0 0 -3px; border-radius:50%; background:#c8281e; }
.oya-flug { width:40px; height:40px; border-radius:50%; display:grid; place-items:center; font:900 22px/1 var(--kopf, Georgia, serif); color:#3a2208;
  background:radial-gradient(circle at 35% 30%, #fff2c4, #e2b450 70%); border:2px solid #fbe7a3; box-shadow:0 0 18px rgba(255,214,120,.8), 0 5px 10px rgba(0,0,0,.5); }
.pl-wind.oya-puls { animation:oyapuls 1.3s ease-out; display:inline-block; }
@keyframes oyapuls { 0% { transform:scale(1.9); text-shadow:0 0 14px #ffe08a; } 100% { transform:scale(1); } }
.topf-text { position:absolute; transform:translate(-50%, -150%); font:800 16px/1 var(--sans, system-ui); color:#ffe08a; background:rgba(26,18,11,.88); border:1px solid #f2d48a; padding:5px 10px; border-radius:9px; white-space:nowrap; pointer-events:none; z-index:6;
  animation:topftext 1.7s ease-out forwards; }
@keyframes topftext { 0% { opacity:0; transform:translate(-50%, -110%) scale(.8); } 15% { opacity:1; transform:translate(-50%, -150%) scale(1.05); } 80% { opacity:1; } 100% { opacity:0; transform:translate(-50%, -190%); } }
.do.dreht svg { animation:doradreht .6s ease-out; } @keyframes doradreht { 0% { transform:rotateY(90deg) scale(1.2); } 60% { transform:rotateY(0) scale(1.15); } 100% { transform:none; } }
.do-ist.leuchtet { animation:doraleucht 1.5s ease-out; border-radius:6px; } @keyframes doraleucht { 0%, 40% { box-shadow:0 0 0 3px #ffe08a, 0 0 22px rgba(255,224,138,.9); } 100% { box-shadow:0 0 0 0 rgba(255,224,138,0); } }
.dora-zeig { position:absolute; transform:translate(-50%, -100%); margin-top:-26px; display:flex; flex-direction:column; align-items:center; padding:5px 11px 6px; border-radius:9px; background:rgba(26,18,11,.92); border:2px solid #f2d48a; color:#ffe08a; white-space:nowrap; pointer-events:none; z-index:6;
  animation:dorazeig 2.4s ease-out forwards; }
.dora-zeig b { font:900 17px/1.1 var(--kopf, Georgia, serif); letter-spacing:1px; } .dora-zeig small { font-size:13px; font-weight:700; color:#f4ead6; }
.dora-zeig::after { content:''; position:absolute; left:50%; bottom:-8px; margin-left:-7px; border:7px solid transparent; border-top-color:#f2d48a; border-bottom:0; }
@keyframes dorazeig { 0% { opacity:0; transform:translate(-50%, -70%) scale(.7); } 12% { opacity:1; transform:translate(-50%, -100%) scale(1.06); } 20% { transform:translate(-50%, -100%) scale(1); } 85% { opacity:1; } 100% { opacity:0; } }
#hand .st.funkel { animation:funkel 1.2s ease-out; } @keyframes funkel { 0% { filter:brightness(1); } 25% { filter:brightness(1.35) drop-shadow(0 0 10px #ffe08a); transform:translateY(-8px); } 100% { filter:none; transform:none; } }
.fst.ertappt svg { animation:ertappt 1.3s ease-out; } @keyframes ertappt { 0%, 100% { transform:none; filter:none; } 10%, 30%, 50% { transform:translateX(-3px) rotate(-6deg); filter:drop-shadow(0 0 8px #ff5a3c); } 20%, 40% { transform:translateX(3px) rotate(6deg); filter:drop-shadow(0 0 8px #ff5a3c); } 70% { filter:drop-shadow(0 0 10px #ff5a3c); } }
.pl-schild.zahlt { animation:zahlt 1.5s ease-out; } @keyframes zahlt { 0%, 50% { box-shadow:0 0 0 3px rgba(255,90,60,.9), 0 0 24px rgba(255,90,60,.7); } 100% { box-shadow:none; } }
.pl-schild.jubel { animation:jubel 1.4s ease-out; } @keyframes jubel { 0% { transform:scale(1); } 20% { transform:scale(1.1); box-shadow:0 0 0 3px #ffe08a, 0 0 26px rgba(255,224,138,.9); } 100% { transform:scale(1); } }
#hand .st.tsumo-hoch { animation:tsumohoch 1.4s ease-out; z-index:3; } @keyframes tsumohoch { 0% { transform:none; } 25% { transform:translateY(-26px) scale(1.12); filter:drop-shadow(0 0 14px #ffe08a); } 70% { transform:translateY(-22px) scale(1.1); filter:drop-shadow(0 0 14px #ffe08a); } 100% { transform:none; } }
.stempel.klein b { font-size:24px; letter-spacing:2px; } .stempel.klein { padding:6px 16px 8px; }
.fs-pkt { display:inline-flex; gap:4px; margin-left:6px; vertical-align:middle; } .fs-pkt i { width:9px; height:9px; border-radius:50%; background:#a8f0a8; box-shadow:0 0 6px rgba(168,240,168,.8); }
#stage.hf .stempel.klein b { font-size:22px; }
@media (prefers-reduced-motion: reduce) { .ding-flug, .dora-zeig, .topf-text { display:none; } .pl-wind.oya-puls, .do.dreht svg, .do-ist.leuchtet, #hand .st.funkel, .fst.ertappt svg, .pl-schild.zahlt, .pl-schild.jubel, #hand .st.tsumo-hoch { animation:none; } }
.topf-text.unten { animation-name:topftextU; } @keyframes topftextU { 0% { opacity:0; transform:translate(-50%, 10%) scale(.8); } 15% { opacity:1; transform:translate(-50%, 60%) scale(1.05); } 80% { opacity:1; } 100% { opacity:0; transform:translate(-50%, 110%); } }
