@font-face { font-family: 'SGZ Ziffern'; src: local('Times New Roman'), local('Liberation Serif'), local('Noto Serif'); unicode-range: U+0030-0039; }
:root {
  --font-ui: 'SGZ Ziffern', Georgia, 'Times New Roman', serif;
  --font-zier: 'SGZ Ziffern', Georgia, serif;
  --font-mono: Consolas, 'Courier New', monospace;
  --grund-q: url(img/nacht-kulisse-q.webp); --grund-h: url(img/nacht-kulisse-h.webp); --pult-bild: url(img/nacht-pult.webp);
  --abdunkeln: .12;
  --teak1: #8a5530; --teak2: #5e3519; --teak3: #3e220e;
  --messing1: #f3d98e; --messing2: #c9a24a; --messing3: #8c6a24; --messing-t: #2a1c08;
  --schild1: #f4ecd6; --schild2: #ddd0ae; --schild-t: #2b2012; --schild-leise: #5e4d32; --schild-rand: #9c7a2c;
  --schnur: #c0342a; --schnur-hell: #ff9a80; --tipp: #7fe0ff; --wahl: #ffd76a;
  --melde-bg: rgba(28, 22, 14, .92); --melde-t: #ffe6a8; --melde-rand: #d9b45a;
  --fenster-bg1: #2b2016; --fenster-bg2: #1a130c; --fenster-t: #f3ead6; --fenster-leise: #d8c8a6; --fenster-rand: #c9a24a;
  --n-100: #f3ead6; --n-200: #e6dcc4; --n-300: #cdbf9f; --slate-300: #cdbf9f; --slate-400: #b6a684; --slate-500: #8a7c62; --slate-600: #5a4c36; --slate-700: #3e3424; --slate-800: #2a2218;
  --acc: #d9b45a; --acc-hell: #ffe08a; --info: #9fd3ff; --ok: #7fd17a; --hair: rgba(255, 236, 200, .16); --panel-bg: rgba(20, 14, 8, .5); --row-bg: rgba(255, 236, 200, .08);
  --led-bg: rgba(10, 8, 6, .5); --con-edge: rgba(255, 236, 200, .25);
  --mo-bg1: #3a2414; --mo-bg2: #22150b; --mo-bg3: #140c06; --mo-rand: #c9a24a; --mo-akzent: #ffd98a; --mo-akzent2: #e0b45a; --mo-band1: #e04a3a; --mo-band2: #9c1f16; --mo-band-t: #fff1c8;
}
:root[data-ansicht="tag"] {
  --grund-q: url(img/tag-kulisse-q.webp); --grund-h: url(img/tag-kulisse-h.webp); --pult-bild: url(img/tag-pult.webp); --abdunkeln: 0;
  --teak1: #b07a48; --teak2: #8a5a30; --teak3: #5e3a1c;
  --melde-bg: rgba(250, 244, 230, .95); --melde-t: #2b2012; --melde-rand: #9c7a2c;
  --fenster-bg1: #f6efde; --fenster-bg2: #e8dcc0; --fenster-t: #2b2012; --fenster-leise: #5e4d32; --fenster-rand: #9c7a2c;
  --n-100: #2b2012; --n-200: #3a2c18; --n-300: #4e3e26; --slate-300: #4e3e26; --slate-400: #5e4d32; --acc-hell: #7a5410; --info: #0f4a8f;
  --panel-bg: rgba(255, 251, 244, .6); --row-bg: rgba(120, 90, 50, .1); --led-bg: rgba(255, 251, 244, .85); --hair: rgba(120, 90, 50, .3);
}
:root[data-ansicht="monsun"] {
  --grund-q: url(img/monsun-kulisse-q.webp); --grund-h: url(img/monsun-kulisse-h.webp); --pult-bild: url(img/monsun-pult.webp); --abdunkeln: .08;
  --teak1: #6e4a30; --teak2: #4e3220; --teak3: #2e1e12; --schnur: #d8452f; --tipp: #9ff0ff;
}
html, body { margin: 0; height: 100%; background: #120d08; overflow: hidden; touch-action: manipulation; }
:root[data-ansicht="tag"], :root[data-ansicht="tag"] body { background: #d9ccb0; }
body { color: var(--n-100); font-family: var(--font-ui); -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; }
#wrap { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; }
#stage { position: relative; width: 1280px; height: 800px; flex: none; transform-origin: 50% 50%; overflow: clip; }
#kulisse { position: absolute; inset: 0; background: var(--grund-q) center / cover no-repeat, #2a2016; }
#kulisse::after { content: ''; position: absolute; inset: 0; background: rgba(8, 6, 4, var(--abdunkeln)); }
#stage.hoch #kulisse { background-image: var(--grund-h); }
.k-luft { position: absolute; left: 0; right: 0; top: 0; height: 22%; background: radial-gradient(ellipse at 50% 0%, rgba(255, 230, 170, .18), transparent 60%); animation: luft 9s ease-in-out infinite; pointer-events: none; z-index: 1; }
@keyframes luft { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .k-luft { animation: none; } }
[hidden] { display: none !important; }

.kb { padding: 6px 10px; background: linear-gradient(to bottom, #5a4430, #33261a); border: 1px solid rgba(255, 220, 170, .35); border-radius: 6px; color: #fff1d8;
  font-size: 13px; cursor: pointer; text-shadow: 0 1px 1px rgba(0, 0, 0, .6); }
.kb:hover { border-color: rgba(255, 220, 170, .7); }
.kb:disabled { opacity: .45; cursor: default; }
.kb.an { background: linear-gradient(to bottom, #7a5410, #45300a); border-color: var(--acc); color: var(--acc-hell); }
.kb-gruen { background: linear-gradient(to bottom, #047857, #065f46) !important; border-color: rgba(52, 211, 153, .5) !important; color: #fff !important; }
.kb-ic { min-width: 40px; height: 40px; padding: 4px 8px; background: linear-gradient(to bottom, #5a4430, #33261a); border: 1px solid rgba(255, 220, 170, .35); border-radius: 8px;
  color: #fff1d8; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.kb-ic svg, .kb svg, .taste svg, .lo-kachel svg { width: 18px; height: 18px; }
.kb-ic.aus { opacity: .5; }
.taste { height: 44px; min-width: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--messing3); color: var(--messing-t); font: 600 15px var(--font-ui); cursor: pointer;
  background: linear-gradient(180deg, var(--messing1), var(--messing2) 55%, var(--messing3)); box-shadow: 0 3px 6px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .6);
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.taste:active { transform: translateY(1px); }
.taste:disabled { opacity: .5; cursor: default; border-style: dashed; filter: saturate(.4); }
.taste.still { margin-left: auto; }
.taste i { display: inline-flex; }

#lobby { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 14px 18px; z-index: 5; }
.lo-kopf { display: flex; align-items: center; gap: 10px; padding-bottom: 9px; margin-bottom: 10px; border-bottom: 1px solid var(--hair); }
.lo-logo { font-family: var(--font-zier); font-size: 24px; font-weight: 900; letter-spacing: .12em; color: #ffe08a; }
.lo-raum { font-size: 13px; color: var(--slate-400); }
.lo-ich { margin-left: auto; font-size: 13px; color: var(--slate-300); white-space: nowrap; }
.lo-ich b { color: var(--info); }
.lo-kopf-r { display: flex; align-items: center; gap: 6px; margin-left: 12px; }
.lo-kopf-r .kb { padding: 8px 12px; white-space: nowrap; }
.lo-mitte { flex: 1; min-height: 0; display: flex; gap: 14px; }
.lo-chat { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lo-spieler { width: 300px; flex: none; display: flex; flex-direction: column; }
.lo-label { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-300); margin: 0 0 5px; }
#chatwin { flex: 1 1 0; min-height: 90px; overflow-y: auto; background: var(--panel-bg); border: 1px solid var(--hair); border-radius: 6px; padding: 7px 9px; font-size: 13.5px; line-height: 1.45;
  scrollbar-width: thin; scrollbar-color: #9c7a2c transparent; }
#chattext .nm { cursor: pointer; color: var(--acc-hell); }
#chattext .pm { color: #f0b8ff; }
#chattext .sys { color: var(--slate-400); font-style: italic; }
#chatin, #pmin { margin-top: 7px; border: 1px solid var(--hair); border-radius: 6px; padding: 8px 10px; font: 16px var(--font-ui); color: var(--n-100); background: var(--led-bg); outline: none; }
#chatin:focus, #pmin:focus { border-color: var(--info); }
.lo-start { flex: 1.25 1 0; min-height: 0; display: flex; flex-direction: column; margin-top: 12px; }
.lo-kacheln { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 9px; }
.lo-kachel { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; padding: 10px 14px; text-align: left; cursor: pointer; border-radius: 10px; }
.lo-kachel b { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.lo-kachel b i { display: inline-flex; }
.lo-kachel small { font-size: 13px; font-weight: 400; line-height: 1.35; }
#ulist { flex: 1; min-height: 0; overflow-y: auto; background: var(--panel-bg); border: 1px solid var(--hair); border-radius: 6px; padding: 3px; scrollbar-width: thin; scrollbar-color: #9c7a2c transparent; }
.it { display: flex; align-items: center; gap: 7px; padding: 7px 8px; border-radius: 5px; font-size: 14px; color: var(--n-200); cursor: pointer; }
.it:hover { background: var(--row-bg); }
.it .elo { margin-left: auto; font-size: 12.5px; color: var(--slate-400); }
.it.me { color: var(--info); cursor: default; }
.it.spielt { color: var(--slate-500); cursor: default; }
.it .pk-punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.it.spielt .pk-punkt { background: var(--slate-600); }
.it .rang { width: 26px; color: var(--acc-hell); font-size: 12.5px; }
.lo-hinweis { margin: 6px 2px 0; font-size: 12.5px; color: var(--slate-400); line-height: 1.35; }
.lo-tabs { display: flex; gap: 4px; margin-bottom: 6px; }
.lo-tabs button { flex: 1; padding: 8px 6px; border-radius: 6px; font-size: 13px; cursor: pointer; }
.lo-tab { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.lo-liste { flex: 1; min-height: 0; overflow-y: auto; background: var(--panel-bg); border: 1px solid var(--hair); border-radius: 6px; padding: 4px; }
#stage.hoch .lo-raum { display: none; }
#stage.hoch .lo-mitte { flex-direction: column; }
#stage.hoch .lo-chat { flex: 1.8 1 0; min-height: 0; }
#stage.hoch .lo-spieler { width: auto; flex: 1 1 0; min-height: 0; }
#stage.hoch .lo-kacheln { grid-template-columns: 1fr 1fr; }
#stage.hoch .lo-kopf { flex-wrap: wrap; }
#stage.hoch .lo-kopf-r { margin-left: 0; width: 100%; justify-content: flex-end; }

#partie { position: absolute; inset: 0; z-index: 4; }
#kopf { position: absolute; left: 22px; right: 22px; top: 14px; height: 62px; display: flex; align-items: center; gap: 14px; z-index: 6; }
.schild { background: linear-gradient(180deg, var(--schild1), var(--schild2)); color: var(--schild-t); border: 2px solid var(--schild-rand); border-radius: 9px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .45); padding: 5px 14px; display: flex; flex-direction: column; min-width: 230px; }
.s-name { font-size: 13px; color: var(--schild-leise); letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.s-zahl { font-size: 15px; white-space: nowrap; }
.s-zahl b, .uhr b, .kette b, .n-stand b { font-variant-numeric: lining-nums tabular-nums; font-kerning: none; }
.s-zahl b { font-size: 21px; }
.uhr { height: 56px; min-width: 150px; border-radius: 30px; background: radial-gradient(circle at 40% 30%, #fffaf0, #e8dcc0); border: 4px solid var(--messing2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .4); display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--schild-t); padding: 0 16px; }
.uhr small { font-size: 12.5px; color: var(--schild-leise); }
.uhr b { font-size: 27px; }
.uhr.kritisch b { color: #b3261e; }
.kette { position: relative; background: #7c1d16; color: #ffe6a8; border: 2px solid #d9b45a; border-radius: 8px; padding: 4px 14px 8px; box-shadow: 0 4px 10px rgba(0, 0, 0, .4);
  display: flex; align-items: baseline; gap: 8px; overflow: hidden; min-width: 136px; }
.kette small { font-size: 13px; }
.kette b { font-size: 24px; }
.kette i { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: #ffd76a; }
.kette.heiss { animation: heiss .5s ease-out; }
@keyframes heiss { 30% { transform: scale(1.12); } }
.k-knoepfe { margin-left: auto; display: flex; gap: 7px; align-items: center; }
.k-knoepfe .kb { height: 40px; padding: 0 14px; font-size: 14px; }

#pult { position: absolute; left: 22px; top: 90px; bottom: 34px; right: 380px; border-radius: 16px;
  background: linear-gradient(160deg, var(--teak1), var(--teak2) 60%, var(--teak3)); box-shadow: 0 26px 40px rgba(0, 0, 0, .55), inset 0 2px 0 rgba(255, 220, 170, .35); z-index: 3; }
#pult::after { content: ''; position: absolute; left: 6px; right: 6px; bottom: -16px; height: 18px; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, var(--teak3), #1c0f06); z-index: -1; }
#einlage { position: absolute; left: 18px; top: 18px; right: 18px; bottom: 74px; border-radius: 7px; background: var(--pult-bild) center / cover, #2a5442;
  box-shadow: inset 0 0 0 3px var(--messing2), inset 0 0 0 5px #6b4a1c, inset 0 8px 20px rgba(0, 0, 0, .45); touch-action: manipulation; }
#feld { position: absolute; left: 0; top: 0; }
#schnur { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; z-index: 3; }
#leiste { position: absolute; left: 18px; right: 18px; bottom: 14px; height: 48px; display: flex; gap: 10px; align-items: center; }
#auftrag { flex: 1; min-width: 0; height: 40px; padding: 2px 12px; border-radius: 8px; background: rgba(20, 12, 6, .88); box-sizing: border-box;
  color: #fff1d8; font-size: 14px; line-height: 18px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
.stein { position: absolute; cursor: pointer; filter: drop-shadow(-2px 3px 2px rgba(0, 0, 0, .45)); transition: transform .12s, filter .12s; }
.stein svg { display: block; }
.stein:hover { transform: translateY(-2px); }
.stein.wahl { filter: drop-shadow(0 0 5px var(--wahl)) drop-shadow(0 0 2px var(--wahl)); transform: translateY(-3px); }
.stein.tipp { animation: tipp 1s ease-in-out infinite; }
@keyframes tipp { 50% { filter: drop-shadow(0 0 9px var(--tipp)) drop-shadow(0 0 3px var(--tipp)); transform: translateY(-3px); } }
.stein.weg { opacity: 0; transform: scale(.6); transition: opacity .3s, transform .3s; pointer-events: none; }
.stein.falsch { animation: falsch .35s; }
@keyframes falsch { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
#einlage.gesperrt .stein { cursor: default; }

#nachbar { position: absolute; right: 22px; top: 150px; width: 336px; height: 420px; border-radius: 14px;
  background: linear-gradient(160deg, var(--teak1), var(--teak2)); box-shadow: 0 20px 30px rgba(0, 0, 0, .5), inset 0 2px 0 rgba(255, 220, 170, .3); z-index: 3; }
.n-kopf { position: absolute; left: 14px; right: 14px; top: -44px; display: flex; align-items: flex-end; gap: 10px; }
.n-ava { width: 104px; height: 104px; border-radius: 50%; border: 4px solid var(--messing2); background: #9fb6b0 center / cover; box-shadow: 0 6px 14px rgba(0, 0, 0, .5); flex: none; overflow: hidden; }
.n-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.n-schild { flex: 1; min-width: 0; background: linear-gradient(180deg, var(--schild1), var(--schild2)); color: var(--schild-t); border: 2px solid var(--schild-rand); border-radius: 8px; padding: 5px 10px;
  margin-bottom: 8px; box-shadow: 0 4px 10px rgba(0, 0, 0, .4); }
.n-schild b { display: block; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n-schild small { font-size: 13px; color: var(--schild-leise); }
.n-pult { position: absolute; left: 14px; right: 14px; top: 76px; height: 190px; border-radius: 6px; background: var(--pult-bild) center / cover, #2a5442; box-shadow: inset 0 0 0 2px var(--messing2), inset 0 4px 10px rgba(0, 0, 0, .4); }
#n-mini { width: 100%; height: 100%; display: block; }
.n-stand { position: absolute; left: 14px; right: 14px; top: 278px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.n-stand div { background: linear-gradient(180deg, var(--schild1), var(--schild2)); color: var(--schild-t); border-radius: 7px; padding: 4px 6px; text-align: center; border: 1px solid var(--schild-rand); }
.n-stand span { display: block; font-size: 12.5px; color: var(--schild-leise); }
.n-stand b { font-size: 22px; }
#n-spruch { position: absolute; left: 14px; right: 14px; top: 350px; height: 54px; margin: 0; padding: 6px 10px; border-radius: 8px; background: rgba(20, 12, 6, .92); color: #fff1d8;
  font-size: 13.5px; line-height: 1.3; font-style: italic; overflow: hidden; opacity: 0; transition: opacity .3s; }
#n-spruch.da { opacity: 1; }
#nachbar.allein .n-stand, #nachbar.allein .n-pult { opacity: .9; }

#meldungen { position: absolute; left: 22px; right: 380px; top: 96px; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; z-index: 20; }
.meldung { max-width: 560px; background: var(--melde-bg); color: var(--melde-t); border: 1px solid var(--melde-rand); border-radius: 9px; padding: 8px 16px; font-size: 15.5px;
  text-align: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .45); animation: mein .25s ease-out; transition: opacity .4s; }
.meldung.weg { opacity: 0; }
@keyframes mein { from { opacity: 0; transform: translateY(-6px); } }
#countdown { position: absolute; left: 22px; right: 380px; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; z-index: 25; pointer-events: none;
  font: 900 150px var(--font-zier); color: #ffe08a; text-shadow: 0 6px 20px rgba(0, 0, 0, .7), 0 0 30px rgba(255, 190, 60, .5); }
#countdown.los { font-size: 96px; }

.fenster { position: absolute; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; background: rgba(10, 6, 3, .5); }
.f-box { position: relative; width: min(680px, 92%); max-height: 92%; overflow-y: auto; background: linear-gradient(180deg, var(--fenster-bg1), var(--fenster-bg2)); color: var(--fenster-t);
  border: 2px solid var(--fenster-rand); border-radius: 14px; padding: 18px 22px; box-shadow: 0 18px 40px rgba(0, 0, 0, .6); scrollbar-width: thin; scrollbar-color: #9c7a2c transparent; }
.f-box h2 { margin: 0 44px 12px 0; font-size: 22px; color: var(--acc); }
:root[data-ansicht="tag"] .f-box h2 { color: #7a5410; }
.f-box.f-klein { width: min(440px, 92%); }
.f-zu { position: sticky; top: 0; float: right; margin: -6px -8px 0 8px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--fenster-rand); background: rgba(0, 0, 0, .25);
  color: var(--fenster-t); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; z-index: 2; }
.f-zu svg { width: 18px; height: 18px; }
.f-text { font-size: 15px; line-height: 1.55; }
.f-text h3 { margin: 14px 0 4px; font-size: 16.5px; color: var(--acc); }
:root[data-ansicht="tag"] .f-text h3 { color: #7a5410; }
.f-text p { margin: 0 0 8px; }
.f-text .beispiel { display: flex; gap: 12px; align-items: center; margin: 8px 0; }
.f-text .beispiel svg { flex: none; }
.f-text .kasten60 { border: 1px solid var(--fenster-rand); border-radius: 10px; padding: 8px 12px; background: rgba(201, 162, 74, .12); }
#pop-text { font-size: 15px; line-height: 1.5; }
#pop-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
#pop-btns button { flex: 1 1 auto; padding: 11px 12px; border-radius: 9px; font-weight: 700; font-size: 14px; cursor: pointer; border: 1px solid var(--fenster-rand); }
#pop-btns .ja { background: linear-gradient(90deg, #047857, #0f766e); color: #fff; }
#pop-btns .nein { background: rgba(0, 0, 0, .2); color: var(--fenster-t); }
.vs-label { display: block; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--fenster-leise); margin: 10px 0 5px; }
.vs-liste { display: grid; gap: 6px; }
.vs-liste.zwei { grid-template-columns: 1fr 1fr; } .vs-liste.drei { grid-template-columns: repeat(3, 1fr); } .vs-liste.fuenf { grid-template-columns: repeat(5, 1fr); margin-top: 6px; }
.vs-liste button { min-height: 44px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--fenster-rand); background: rgba(0, 0, 0, .18); color: var(--fenster-t); cursor: pointer; font-size: 14px; line-height: 1.2; }
.vs-liste button small { display: block; font-size: 12.5px; color: var(--fenster-leise); }
.vs-liste button.an { background: linear-gradient(180deg, var(--messing1), var(--messing2)); color: var(--messing-t); border-color: var(--messing3); }
.vs-liste button.an small { color: #4a3410; }
.vs-liste button.gegner { box-shadow: inset 0 0 0 2px #9fd3ff; }
.vs-liste button:disabled { opacity: .5; border-style: dashed; cursor: default; }
.vs-gesicht { display: flex; align-items: center; gap: 8px; text-align: left; }
.vs-gesicht img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--messing2); flex: none; }
.vs-zwei { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; }
.vs-info { min-height: 40px; font-size: 14px; color: var(--fenster-leise); margin: 10px 0; }
.vs-los { width: 100%; min-height: 48px; border-radius: 10px; border: 1px solid #0f5a40; background: linear-gradient(180deg, #0e9468, #065f46); color: #fff; font: 700 17px var(--font-ui); cursor: pointer; }
.vs-los:disabled { opacity: .5; cursor: default; }
#note { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); background: #7c1d16; color: #fff; padding: 6px 14px; border-radius: 8px; z-index: 50; font-size: 14px; }

.vs-liste.vier { grid-template-columns: repeat(4, 1fr); }
.f-box.f-breit { width: min(900px, 94%); }
.ar-stat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.ar-stat div { border: 1px solid var(--fenster-rand); border-radius: 8px; padding: 6px; text-align: center; font-size: 12.5px; color: var(--fenster-leise); }
.ar-stat b { display: block; font-size: 22px; color: var(--fenster-t); font-variant-numeric: lining-nums tabular-nums; }
.ar-liste { display: flex; flex-direction: column; gap: 5px; }
.ar-zeile { display: grid; grid-template-columns: 90px 1fr 110px 120px; gap: 8px; align-items: center; min-height: 44px; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--hair);
  background: rgba(0, 0, 0, .12); color: var(--fenster-t); cursor: pointer; font-size: 14px; text-align: left; }
.ar-zeile:hover { border-color: var(--fenster-rand); }
.ar-zeile .sieg { color: #5fbf5a; font-weight: 700; } .ar-zeile .niederlage { color: #d9604a; font-weight: 700; } .ar-zeile small { color: var(--fenster-leise); font-size: 12.5px; }
.ns-pulte { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ns-pulte > div { display: flex; flex-direction: column; gap: 4px; }
.ns-pulte b { font-size: 16px; } .ns-pulte span { font-size: 13px; color: var(--fenster-leise); }
.ns-pulte svg { width: 100%; aspect-ratio: 2 / 1; border-radius: 6px; background: var(--pult-bild) center / cover, #2a5442; box-shadow: inset 0 0 0 2px var(--messing2); }
#ns-regler { width: 100%; margin: 12px 0 6px; accent-color: #c9a24a; height: 28px; }
.ns-knoepfe { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }
.ns-knoepfe span { min-width: 140px; text-align: center; font-size: 14px; }
#schnellchat { position: absolute; left: 14px; right: 14px; top: 350px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
#schnellchat .kb { min-height: 40px; font-size: 13px; }
#nachbar.mp #n-spruch { display: none; }
#pult.dran-ich { box-shadow: 0 26px 40px rgba(0, 0, 0, .55), inset 0 2px 0 rgba(255, 220, 170, .35), 0 0 0 3px rgba(255, 215, 106, .55), 0 0 22px rgba(255, 200, 80, .35); }
.uhr.kritisch { animation: kritisch 1s ease-in-out infinite; }
@keyframes kritisch { 50% { box-shadow: 0 0 0 4px rgba(200, 40, 30, .55), 0 4px 12px rgba(0, 0, 0, .4); } }
@media (prefers-reduced-motion: reduce) { .uhr.kritisch { animation: none; } }
#stage.hoch #schnellchat { display: none; }

#en-box { width: min(560px, 94%); text-align: center; }
#en-box .mo-kopf { margin: 0 -22px 6px; }
.en-knoepfe { display: flex; gap: 8px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
.en-knoepfe .taste { height: 46px; }
.en-knoepfe .kb { height: 44px; padding: 0 14px; font-size: 15px; }

#stage.hoch #kopf { left: 12px; right: 12px; top: 10px; height: 116px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: 56px 48px; gap: 8px 10px; }
#stage.hoch .schild { min-width: 0; padding: 4px 12px; }
#stage.hoch .uhr { min-width: 118px; height: 52px; border-width: 3px; }
#stage.hoch .kette { min-width: 0; justify-self: start; }
#stage.hoch .k-knoepfe { margin-left: 0; }
#stage.hoch #nachbar { left: 12px; right: 12px; top: 136px; width: auto; height: 84px; }
#stage.hoch .n-kopf { top: 6px; left: 8px; right: auto; width: 236px; align-items: center; }
#stage.hoch .n-ava { width: 70px; height: 70px; border-width: 3px; }
#stage.hoch .n-schild { margin: 0; padding: 3px 8px; }
#stage.hoch .n-schild b { font-size: 15px; }
#stage.hoch .n-pult { left: auto; right: 8px; top: 6px; width: 120px; height: 72px; }
#stage.hoch .n-stand { left: 252px; right: 136px; top: 8px; grid-template-columns: 1fr 1fr; gap: 6px; }
#stage.hoch .n-stand div:nth-child(3) { display: none; }
#stage.hoch .n-stand b { font-size: 19px; }
#stage.hoch #n-spruch { display: none; }
#stage.hoch #pult { left: 10px; right: 10px; top: 232px; bottom: 26px; }
#stage.hoch #einlage { left: 10px; right: 10px; top: 10px; bottom: 118px; }
#stage.hoch #leiste { left: 10px; right: 10px; height: auto; bottom: 10px; flex-wrap: wrap; gap: 8px; }
#stage.hoch #auftrag { order: -1; flex: 1 1 100%; height: 44px; }
#stage.hoch #meldungen, #stage.hoch #countdown { left: 12px; right: 12px; top: 232px; }
#stage.hoch #meldungen { bottom: auto; }

.lo-kopf { background: rgba(10, 8, 6, .72); border-radius: 10px; padding: 6px 10px; }
:root[data-ansicht="tag"] .lo-kopf { background: rgba(250, 244, 232, .9); }
:root[data-ansicht="tag"] .lo-logo { color: #7a5410; text-shadow: none; }
#stage.hoch .lo-kopf-r .kb, #stage.hoch .lo-kopf-r .kb-ic { min-height: 60px; min-width: 60px; font-size: 18px; }
#stage.hoch .lo-ich, #stage.hoch .lo-label, #stage.hoch .lo-hinweis, #stage.hoch .it .elo { font-size: 15px; }
#stage.hoch #chatin, #stage.hoch #pmin { min-height: 60px; font-size: 18px; }
#stage.hoch .lo-tabs button { min-height: 60px; font-size: 16px; }
#stage.hoch .it { min-height: 58px; font-size: 16px; }
#stage.hoch .k-knoepfe .kb, #stage.hoch .k-knoepfe .kb-ic { height: 58px; min-width: 58px; font-size: 16px; }
#stage.hoch #kopf { height: 132px; grid-template-rows: 64px 60px; }
#stage.hoch .uhr small, #stage.hoch .kette small, #stage.hoch .s-name { font-size: 14px; }
#stage.hoch #nachbar { top: 152px; }
#stage.hoch #pult { top: 246px; }
#stage.hoch #meldungen, #stage.hoch #countdown { top: 246px; }
#stage.hoch .taste { height: 58px; font-size: 17px; }
#stage.hoch #einlage { bottom: 132px; }
#stage.hoch #auftrag { font-size: 15px; height: 46px; line-height: 21px; }
#stage.hoch .n-stand span, #stage.hoch .n-schild small { font-size: 14px; }

#lobby .kb, #lobby .lo-tabs button { font-size: 15px; }
#lobby .lo-kachel b { font-size: 18px; }
#lobby .lo-kachel small { font-size: 15px; }
#stage.hoch #lobby .lo-kachel b { font-size: 19px; }
#stage.hoch #lobby .lo-kachel small { font-size: 15.5px; }
@media (max-height: 500px) {
  #lobby .kb, #lobby .kb-ic, #lobby .lo-tabs button, #lobby .lo-kachel b { font-size: 22px; }
  #lobby .lo-kachel small, #lobby .lo-raum { display: none; }
  #lobby .lo-kopf-r .kb, #lobby .lo-kopf-r .kb-ic { min-height: 52px; }
}

#partie.allein #pult, #partie.allein #meldungen, #partie.allein #countdown { left: 120px; right: 120px; }
#stage.hoch #partie.allein #pult, #stage.hoch #partie.allein #meldungen, #stage.hoch #partie.allein #countdown { right: 10px; top: 152px; }

#pause-box { width: min(520px, 94%); text-align: center; }
.mo-leiste-vgl { position: relative; height: 14px; margin: 10px 4px 4px; border-radius: 7px; background: rgba(0, 0, 0, .4); overflow: hidden; }
.mo-leiste-vgl i { position: absolute; left: 0; top: 0; height: 7px; background: #ffd76a; }
.mo-leiste-vgl em { position: absolute; left: 0; bottom: 0; height: 7px; background: #c0342a; }
#lupe { position: absolute; inset: 0; z-index: 8; border-radius: 7px; background: var(--pult-bild) center / cover, #2a5442; box-shadow: inset 0 0 0 3px var(--messing2), 0 0 0 4px rgba(0, 0, 0, .35);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
#lupe .f-zu { position: absolute; top: 10px; right: 10px; float: none; margin: 0; background: rgba(20, 12, 6, .8); color: #fff1d8; width: 52px; height: 52px; }
.lupe-titel { background: rgba(20, 12, 6, .88); color: #fff1d8; padding: 6px 14px; border-radius: 8px; font-size: 17px; }
#lupe-feld { position: relative; }

.taste.rund { padding: 0; width: 44px; justify-content: center; }
#stage.hoch .taste.rund { width: 58px; }
#einlage { bottom: 116px; }
#leiste { height: auto; flex-wrap: wrap; row-gap: 8px; }
#auftrag { order: -1; flex: 1 1 100%; height: 40px; }
#stage.hoch #einlage { bottom: 136px; }
#stage.hoch #auftrag { height: 46px; }
#stage.hoch .taste { padding: 0 12px; font-size: 16px; gap: 5px; }
#stage.hoch .taste.rund { padding: 0; }
#stage.hoch #leiste { gap: 6px; }

#einlage { touch-action: none; }
.n-stand div.blitz { animation: blitz .6s ease-out; }
@keyframes blitz { 30% { box-shadow: 0 0 0 3px rgba(192, 52, 42, .7), 0 0 14px rgba(255, 120, 90, .6); transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .n-stand div.blitz { animation: none; } }
#stage.quer-handy #kopf { top: 8px; height: 72px; gap: 10px; }
#stage.quer-handy .schild { min-width: 0; padding: 4px 12px; }
#stage.quer-handy .s-name, #stage.quer-handy .uhr small, #stage.quer-handy .kette small { font-size: 16px; }
#stage.quer-handy .s-zahl { font-size: 18px; } #stage.quer-handy .s-zahl b { font-size: 24px; }
#stage.quer-handy .uhr { height: 66px; } #stage.quer-handy .uhr b { font-size: 30px; }
#stage.quer-handy .k-knoepfe .kb, #stage.quer-handy .k-knoepfe .kb-ic { height: 68px; min-width: 68px; font-size: 18px; }
#stage.quer-handy #pult { top: 88px; bottom: 10px; right: 300px; }
#stage.quer-handy #einlage { bottom: 150px; }
#stage.quer-handy .taste { height: 68px; font-size: 18px; padding: 0 16px; }
#stage.quer-handy .taste.rund { width: 68px; padding: 0; }
#stage.quer-handy #auftrag { font-size: 16px; line-height: 20px; height: 44px; }
#stage.quer-handy #nachbar { top: 130px; width: 270px; height: auto; bottom: 10px; right: 12px; }
#stage.quer-handy .n-kopf { top: -40px; }
#stage.quer-handy .n-ava { width: 84px; height: 84px; }
#stage.quer-handy .n-schild b { font-size: 18px; } #stage.quer-handy .n-schild small { font-size: 15px; }
#stage.quer-handy .n-pult { top: 54px; height: 130px; }
#stage.quer-handy .n-stand { top: 194px; grid-template-columns: 1fr 1fr; }
#stage.quer-handy .n-stand div:nth-child(3) { display: none; }
#stage.quer-handy .n-stand span { font-size: 15px; } #stage.quer-handy .n-stand b { font-size: 24px; }
#stage.quer-handy #n-spruch { top: 268px; font-size: 16px; height: auto; bottom: 14px; }
#stage.quer-handy #schnellchat { top: 268px; } #stage.quer-handy #schnellchat .kb { min-height: 66px; font-size: 16px; }
#stage.quer-handy #meldungen, #stage.quer-handy #countdown { right: 300px; top: 92px; }
#stage.quer-handy .meldung { font-size: 18px; }
#stage.quer-handy #partie.allein #pult, #stage.quer-handy #partie.allein #meldungen, #stage.quer-handy #partie.allein #countdown { right: 12px; }
#stage.quer-handy .n-schild small, #stage.quer-handy .n-stand span { font-size: 16.5px; }
#stage.hoch .fenster:not(#ende):not(#pause) .f-box { zoom: 1.45; width: 64%; max-height: 64%; }
#stage.quer-handy .fenster:not(#ende):not(#pause) .f-box { zoom: 1.55; width: 60%; max-height: 60%; }
#stage.hoch #ei-musik, #stage.hoch #ei-ansicht { grid-template-columns: 1fr 1fr; }
#stage.hoch #ei-lupe { grid-template-columns: 1fr; }
#stage.hoch .ar-zeile { grid-template-columns: 1fr 1fr; }
#stage.hoch .ar-stat { grid-template-columns: 1fr 1fr; }

.stein .m-eil { position: absolute; left: -3px; top: -4px; width: 40%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff6b5a, #b3261e);
  border: 2px solid #fff1d8; box-shadow: 0 1px 3px rgba(0, 0, 0, .5); display: flex; align-items: center; justify-content: center; color: #fff; pointer-events: none; }
.stein .m-eil svg { width: 62%; height: 62%; }
.stein.eil { animation: eilPuls 1.6s ease-in-out infinite; }
@keyframes eilPuls { 50% { filter: drop-shadow(0 0 6px rgba(255, 90, 70, .85)) drop-shadow(-2px 3px 2px rgba(0, 0, 0, .45)); } }
.stein .m-knoten { position: absolute; inset: 14% 6% 18%; pointer-events: none; opacity: .9; }
.stein .m-knoten svg { width: 100%; height: 100%; }
.stein.gesperrt { filter: grayscale(.55) brightness(.72) drop-shadow(-2px 3px 2px rgba(0, 0, 0, .45)); cursor: not-allowed; }
.stein.gesperrt::after { content: ''; position: absolute; inset: 2px 2px 6px; border: 2px dashed rgba(122, 42, 16, .9); border-radius: 6px; }
.stein.getauscht { animation: getauscht .5s ease-in-out 4; }
@keyframes getauscht { 50% { filter: drop-shadow(0 0 10px #c48bff) drop-shadow(0 0 4px #c48bff); transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .stein.eil, .stein.getauscht { animation: none; } }
.taste.hilfe.scharf { background: linear-gradient(180deg, #ffe7a0, #f0b830); box-shadow: 0 0 0 3px rgba(255, 215, 106, .8), 0 0 16px rgba(255, 200, 80, .8); }
.vs-liste button.zu { opacity: .55; border-style: dashed; }
.vs-zwei.vs-gleich { grid-template-columns: 1fr 1fr; }
#plan-inhalt h3 { margin: 12px 0 6px; font-size: 17px; color: var(--acc); }
:root[data-ansicht="tag"] #plan-inhalt h3 { color: #7a5410; }
#plan-inhalt h3 small { font-size: 13px; color: var(--fenster-leise); font-weight: 400; }
.plan-reihe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.plan-feld { min-height: 72px; border-radius: 9px; border: 1px solid var(--fenster-rand); background: rgba(0, 0, 0, .18); color: var(--fenster-t); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 5px; font-size: 13px; line-height: 1.15; text-align: center; }
.plan-feld b { font-size: 18px; }
.plan-feld.geschafft { background: rgba(201, 162, 74, .2); }
.plan-feld.zu { opacity: .55; border-style: dashed; cursor: default; }
.plan-feld small { font-size: 12.5px; color: var(--fenster-leise); }
.sterne { display: inline-flex; gap: 2px; }
.sterne i { width: 15px; height: 15px; color: rgba(160, 140, 100, .55); display: inline-flex; }
.sterne i svg { width: 100%; height: 100%; }
.sterne i.an { color: #f2b51e; filter: drop-shadow(0 0 2px rgba(255, 200, 60, .7)); }
.en-sterne { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 6px 0; }
.en-sterne .sterne i { width: 34px; height: 34px; }
.en-sterne ul { margin: 0; padding: 0; list-style: none; text-align: left; font-size: 14px; }
.en-sterne li.nein { text-decoration: line-through; opacity: .7; }
.en-sterne li.ja::before { content: '+ '; color: #9fdc7a; }
.auftrag-kurz { display: flex; flex-direction: column; gap: 3px; margin: 8px 0; padding: 6px 10px; border: 1px solid var(--mo-rand-weich, rgba(201,162,74,.4)); border-radius: 10px; text-align: left; font-size: 14px; }
.auftrag-kurz b { color: var(--mo-akzent, #ffd98a); }
.auftrag-kurz span.ja { color: #9fdc7a; }
.au-zeile { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; margin: 6px 0; border-radius: 9px; border: 1px solid var(--fenster-rand); overflow: hidden; font-size: 15px; }
.au-zeile i { position: absolute; left: 0; bottom: 0; height: 4px; background: #c9a24a; }
.au-zeile.ja { background: rgba(110, 180, 90, .15); }
.au-zeile.ja i { background: #6cbf5a; }
#stage.hoch .lo-kacheln { grid-template-columns: 1fr 1fr; }
#stage.hoch .plan-reihe { grid-template-columns: repeat(3, 1fr); }
#stage.hoch .vs-zwei.vs-gleich { grid-template-columns: 1fr; }
#stage.hoch #partie.allein #pult, #stage.hoch #partie.allein #meldungen, #stage.hoch #partie.allein #countdown { left: 10px; }
#stage.quer-handy #partie.allein #pult, #stage.quer-handy #partie.allein #meldungen, #stage.quer-handy #partie.allein #countdown { left: 22px; }
#stage.hoch #lobby .lo-kachel small { display: none; }
#stage.hoch #lobby .lo-kachel { padding: 6px 12px; }
#stage.hoch .vs-zwei { grid-template-columns: 1fr; }
#stage.hoch #vs-gegner { grid-template-columns: 1fr 1fr; }
#stage.quer-handy .vs-zwei { grid-template-columns: 1fr; }
#stage.quer-handy #vs-gegner { grid-template-columns: 1fr 1fr; }

.stein.lern::before { content: ''; position: absolute; inset: -1px -1px 3px; border-radius: 7px; box-shadow: 0 0 0 3px #f2b51e, 0 0 12px 2px rgba(255, 200, 70, .8); background: rgba(255, 214, 90, .14); pointer-events: none; }
.lo-label-rang { display: flex; align-items: center; gap: 10px; }
.lo-rang { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 2px 9px; border-radius: 99px; border: 1px solid rgba(201, 162, 74, .55);
  background: rgba(201, 162, 74, .12); color: var(--slate-300); font: inherit; font-size: 12.5px; letter-spacing: 0; text-transform: none; cursor: pointer; }
.lo-rang b { color: #ffd98a; font-weight: 700; }
.lo-rang small { font-size: 12px; }
.rang-balken { display: inline-block; position: relative; width: 70px; height: 6px; border-radius: 3px; background: rgba(0, 0, 0, .35); overflow: hidden; vertical-align: middle; }
.rang-balken i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #c9a24a, #f2d27a); border-radius: 3px; }
.rang-zeile { display: grid; grid-template-columns: 1fr; gap: 4px; margin: 8px 0; padding: 7px 11px; border-radius: 10px; border: 1px solid var(--mo-rand-weich, rgba(201, 162, 74, .4)); text-align: left; font-size: 14px; }
.rang-kopf { display: flex; justify-content: space-between; gap: 10px; }
.rang-kopf b { color: var(--mo-akzent, #ffd98a); }
.rang-kopf em { font-style: normal; color: #9fdc7a; }
.rang-zeile .rang-balken { width: 100%; height: 8px; }
.rang-zeile small { opacity: .85; }
.rang-zeile.auf { background: rgba(201, 162, 74, .18); box-shadow: 0 0 14px rgba(255, 210, 110, .35); }
#stage.hoch .lo-rang small { display: none; }
#stage.hoch .lo-rang { font-size: 15px; } #stage.quer-handy .lo-rang { font-size: 17.5px; }
#stage.hoch .lo-rang .rang-balken { width: 46px; }
#stage.hoch :is(#vorspann, #einst) .vs-liste button small, #stage.quer-handy :is(#vorspann, #einst) .vs-liste button small { display: none; }
#stage.hoch :is(#vorspann, #einst) .vs-liste button, #stage.quer-handy :is(#vorspann, #einst) .vs-liste button { min-height: 38px; padding: 4px 6px; }
#stage.hoch #einst .vs-info, #stage.quer-handy #einst .vs-info { display: none; }
#stage.hoch .fenster:not(#ende):not(#pause):is(#vorspann, #einst) .f-box { max-height: 90%; }
#stage.hoch #vorspann .vs-label, #stage.hoch #einst .vs-label { margin: 4px 0 3px; }
#stage.hoch #vorspann h2 { margin-bottom: 6px; } #stage.hoch #vorspann .vs-info { margin: 6px 0; }
#stage.quer-handy .fenster:not(#ende):not(#pause):is(#vorspann, #einst) .f-box { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; align-content: start; width: 84%; max-height: 64%; zoom: 1.2; }
#stage.quer-handy :is(#vorspann, #einst) .f-box { grid-auto-flow: row dense; }
#stage.quer-handy :is(#vorspann, #einst) .f-box > h2 { grid-column: 1; grid-row: 1; align-self: center; }
#stage.quer-handy :is(#vorspann, #einst) .f-box > .f-zu { grid-column: 2; grid-row: 1; justify-self: end; }
#stage.quer-handy #vorspann .f-box > #vs-gegnerblock { grid-row: span 2; }
#stage.quer-handy #vorspann .f-box > #vs-artblock { grid-column: 1 / -1; }
#stage.quer-handy #vorspann .f-box > .vs-info { grid-column: 1; align-self: center; }
#stage.quer-handy #vorspann .f-box > .vs-los { grid-column: 2; align-self: center; }
#stage.quer-handy #einst .f-box > .vs-info { grid-column: 1 / -1; }
#stage.quer-handy #vorspann .vs-zwei { grid-template-columns: 1fr 1fr; }
#stage.quer-handy #vorspann .vs-label, #stage.quer-handy #einst .vs-label { margin: 4px 0 3px; }
#stage.quer-handy #vorspann h2, #stage.quer-handy #einst h2 { margin-bottom: 4px; }
#stage.hoch .en-knoepfe .kb, #stage.quer-handy .en-knoepfe .kb { font-size: 17px; }
#stage.hoch .mo-start-kopf, #stage.quer-handy .mo-start-kopf { font-size: 16px; }
.plan-reiter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 4px 0 8px; }
.plan-reiter button { min-height: 44px; border-radius: 9px; border: 1px solid var(--fenster-rand); background: rgba(0, 0, 0, .18); color: var(--fenster-t); cursor: pointer; font: inherit; font-size: 15px; font-weight: 700; line-height: 1.15; }
.plan-reiter button small { display: block; font-size: 12.5px; font-weight: 400; color: var(--fenster-leise); }
.plan-reiter button.an { background: linear-gradient(180deg, var(--messing1), var(--messing2)); color: var(--messing-t); border-color: var(--messing3); }
.plan-reiter button.an small { color: #4a3410; }
.plan-kaptext { margin: 0 0 8px; font-size: 14px; color: var(--fenster-leise); }
#stage.hoch .plan-feld { min-height: 58px; }
#stage.hoch .fenster:not(#ende):not(#pause)#plan .f-box { max-height: 90%; }
#stage.hoch .plan-reiter button { font-size: 13px; padding: 2px 3px; min-width: 0; overflow-wrap: anywhere; }
#stage.hoch .plan-reiter button small, #stage.hoch .plan-feld.zu small, #stage.hoch #plan .plan-kaptext { display: none; }
#stage.hoch .plan-feld { min-height: 54px; }
#stage.quer-handy, #stage.hoch { --mo-fs-min: 16px; }
#stage.quer-handy .mo-start { top: 4px; }
#stage.quer-handy .mo-start h3 { font-size: 26px; }
#stage.quer-handy .fenster:not(#ende):not(#pause):is(#plan, #archiv) .f-box { max-height: 84%; width: 80%; zoom: 1.25; }
#stage.quer-handy #plan .plan-kaptext, #stage.quer-handy .plan-feld.zu small { display: none; }
#stage.quer-handy .plan-feld { min-height: 50px; font-size: 15px; }
#stage.quer-handy .plan-feld b { font-size: 19px; }
.match-lampen { display: flex; justify-content: center; gap: 14px; margin: 6px 0 8px; font-size: 13px; color: var(--mo-leise, #d9c7a4); }
.match-lampen span { display: inline-flex; align-items: center; gap: 6px; }
.match-lampen i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 230, 180, .45); background: radial-gradient(circle at 35% 30%, #5a4a38, #241a10); }
.match-lampen .gut i { background: radial-gradient(circle at 35% 30%, #c8ffb0, #3f9b2f); box-shadow: 0 0 10px rgba(130, 230, 100, .8); }
.match-lampen .weh i { background: radial-gradient(circle at 35% 30%, #ffb3a6, #b3261e); box-shadow: 0 0 10px rgba(255, 90, 70, .7); }
.match-lampen .remis i { background: radial-gradient(circle at 35% 30%, #fff1b0, #c9a24a); box-shadow: 0 0 10px rgba(255, 210, 90, .7); }

#fx { position: absolute; inset: 0; pointer-events: none; z-index: 6; }
.stein.abgehoben { opacity: 0; transition: none; pointer-events: none; }
.fx-flug { position: absolute; pointer-events: none; z-index: 7; animation: fxFlug .78s cubic-bezier(.45, 0, .7, .4) both; }
@keyframes fxFlug {
  0% { transform: none; filter: drop-shadow(-2px 3px 2px rgba(0, 0, 0, .45)); }
  22% { transform: translateY(-14px) scale(1.12) rotate(-4deg); filter: drop-shadow(0 0 10px rgba(255, 215, 110, .9)) drop-shadow(-4px 10px 6px rgba(0, 0, 0, .45)); }
  100% { transform: translate(var(--dx), var(--dy)) scale(.22) rotate(18deg); opacity: .15; }
}
.schild.fx-treffer { animation: fxTreffer .45s ease-out; }
@keyframes fxTreffer { 35% { transform: scale(1.07); box-shadow: 0 0 0 3px rgba(255, 215, 110, .8), 0 0 18px rgba(255, 200, 80, .7); } }
.fx-text { position: absolute; transform: translate(-50%, -50%); font: 800 22px/1 var(--font-ui, system-ui); color: #fff6dc; text-shadow: 0 2px 4px rgba(0, 0, 0, .9), 0 0 10px rgba(255, 210, 120, .6);
  white-space: nowrap; text-align: center; animation: fxSteig 1.4s ease-out both; }
.fx-text small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #ffd98a; margin-top: 2px; }
.fx-text small.eil { color: #ff9a86; }
.fx-text.warm { font-size: 26px; color: #ffe08a; }
.fx-text.heiss { font-size: 32px; color: #ffb38a; text-shadow: 0 2px 4px rgba(0, 0, 0, .9), 0 0 16px rgba(255, 110, 60, .9); }
.fx-text.klein { font-size: 15px; color: #c8ffb0; }
.fx-text.nein { font-size: 44px; color: #ff6a5a; animation: fxNein .9s ease-out both; }
@keyframes fxSteig { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.6); } 15% { opacity: 1; transform: translate(-50%, -60%) scale(1.15); } 30% { transform: translate(-50%, -70%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -170%); } }
@keyframes fxNein { 0% { opacity: 0; transform: translate(-50%, -50%) scale(2); } 25% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 75% { opacity: 1; } 100% { opacity: 0; } }
.fx-ring { position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 3px solid var(--f); box-shadow: 0 0 12px var(--f); animation: fxRing .75s ease-out both; }
@keyframes fxRing { from { transform: scale(.4); opacity: 1; } to { transform: scale(calc(4 * var(--g))); opacity: 0; } }
.fx-stempel { position: absolute; left: 50%; top: 45%; padding: 8px 26px; border: 5px double #d9b45a; border-radius: 10px; color: #ffe7a8; background: rgba(30, 16, 6, .55);
  font: 800 46px/1.1 var(--font-titel, Georgia, serif); letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 2px 6px rgba(0, 0, 0, .8); white-space: nowrap;
  transform: translate(-50%, -50%) rotate(-7deg); animation: fxStempel 2.5s cubic-bezier(.2, 1.4, .4, 1) both; }
.fx-stempel.rot { color: #ffb3a6; border-color: #c0342a; font-size: 34px; animation-duration: 1.7s; }
@keyframes fxStempel { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(-7deg) scale(2.6); } 18% { opacity: 1; transform: translate(-50%, -50%) rotate(-7deg) scale(1); }
  80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) rotate(-7deg) scale(1.05); } }
#einlage.fx-leer { animation: fxLeer 1.1s ease-out; }
@keyframes fxLeer { 30% { box-shadow: inset 0 0 0 3px #fff1b0, inset 0 0 0 5px #6b4a1c, inset 0 0 60px rgba(255, 215, 110, .65); } }
#einlage.fx-sackgasse { box-shadow: inset 0 0 0 3px #c0342a, inset 0 0 0 5px #6b4a1c, inset 0 0 50px rgba(190, 40, 30, .55); }
#einlage.fx-sackgasse .stein { filter: grayscale(.5) brightness(.8) drop-shadow(-2px 3px 2px rgba(0, 0, 0, .45)); }
#pult.fx-stoss5 { animation: fxStoss5 .9s ease-out; }
@keyframes fxStoss5 { 25% { box-shadow: 0 0 0 4px #ff9a5a, 0 0 40px rgba(255, 120, 60, .8), 0 26px 40px rgba(0, 0, 0, .55); } }
#nachbar.fx-rueck { animation: fxRueck 1s ease-out; }
@keyframes fxRueck { 20%, 60% { box-shadow: 0 0 0 4px #c48bff, 0 0 30px rgba(196, 139, 255, .9); } }
.fx-zieh { stroke-dasharray: 1; stroke-dashoffset: 1; animation: fxZieh .2s linear forwards; }
@keyframes fxZieh { to { stroke-dashoffset: 0; } }
.fx-rolle { animation: fxRolle .35s ease-out both; }
@keyframes fxRolle { 0% { transform: scale(0) rotate(-90deg); } 60% { transform: scale(1.35) rotate(20deg); } 100% { transform: none; } }
.fx-funke { filter: drop-shadow(0 0 4px #fff3a0) drop-shadow(0 0 8px #ffbf40); }
.fx-tippweg { animation: fxAmeise .6s linear infinite; filter: drop-shadow(0 0 4px rgba(255, 210, 90, .9)); }
@keyframes fxAmeise { to { stroke-dashoffset: -18; } }
.fx-knick { animation: fxKnick .3s ease-out both; }
@keyframes fxKnick { from { opacity: 0; } }
.stein.fx-tausch { animation: fxTausch .9s cubic-bezier(.4, 0, .2, 1) both; z-index: 5; }
@keyframes fxTausch { 0% { transform: translate(var(--tx), var(--ty)); } 50% { transform: translate(calc(var(--tx) / 2), calc(var(--ty) / 2 - 26px)) scale(1.15); } 100% { transform: none; } }
.stein.fx-entknotet { animation: fxEntknotet .7s ease-out; }
.stein.fx-entknotet .m-knoten { animation: fxKnotenWeg .7s ease-out both; }
@keyframes fxEntknotet { 40% { filter: drop-shadow(0 0 10px #8fe07a) drop-shadow(-2px 3px 2px rgba(0, 0, 0, .45)); transform: translateY(-3px); } }
@keyframes fxKnotenWeg { 0% { opacity: 1; transform: none; } 60% { opacity: .9; transform: rotate(200deg) scale(1.3); } 100% { opacity: .35; transform: rotate(360deg) scale(.7); } }
.stein.eil .m-eil { animation: fxKlingeln 2.6s ease-in-out infinite; transform-origin: 50% 20%; }
@keyframes fxKlingeln { 0%, 70%, 100% { transform: none; } 74%, 82%, 90% { transform: rotate(-16deg); } 78%, 86%, 94% { transform: rotate(16deg); } }
.taste.scharf#b-zurueck { animation: fxZurueck 1s ease-in-out infinite; }
@keyframes fxZurueck { 50% { box-shadow: 0 0 0 3px rgba(255, 215, 106, .9), 0 0 18px rgba(255, 200, 80, .8); } }
.rang-zeile.auf { animation: fxBefoerdert .9s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes fxBefoerdert { 0% { transform: scale(1.6) rotate(-4deg); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
.match-lampen span { animation: fxLampe .5s ease-out both; }
.match-lampen span:nth-child(2) { animation-delay: .25s; } .match-lampen span:nth-child(3) { animation-delay: .5s; } .match-lampen span:nth-child(n+4) { animation-delay: .7s; }
@keyframes fxLampe { from { opacity: 0; transform: scale(.4); } 70% { transform: scale(1.2); } }
#stage.hoch .fx-stempel { font-size: 40px; }
@media (prefers-reduced-motion: reduce) {
  .fx-flug, .fx-ring, .fx-zieh, .fx-rolle, .fx-tippweg, .stein.fx-tausch, .stein.fx-entknotet, .stein.eil .m-eil, #pult.fx-stoss5, #einlage.fx-leer, .rang-zeile.auf, .match-lampen span { animation: none !important; }
  .fx-zieh { stroke-dashoffset: 0; }
}
:root[data-ansicht="tag"] #countdown { color: #fff0b8; -webkit-text-stroke: 4px #4a2c08; paint-order: stroke fill; }

#stoss-lampen { position: absolute; left: 50%; top: -2px; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 7px; padding: 4px 12px; z-index: 8;
  border-radius: 99px; background: linear-gradient(180deg, #4a3220, #22150a); border: 1px solid rgba(255, 220, 170, .4); box-shadow: 0 3px 8px rgba(0, 0, 0, .5); pointer-events: none; }
#stoss-lampen small { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #e8d3a8; margin-right: 3px; }
#stoss-lampen i { width: 26px; height: 26px; border-radius: 50%; font: 700 11px/26px var(--font-ui, system-ui); font-style: normal; text-align: center; color: rgba(255, 240, 210, .35);
  background: radial-gradient(circle at 35% 30%, #5a4a38, #1c130a); border: 1px solid rgba(255, 220, 170, .3); transition: background .15s, box-shadow .15s, color .15s; }
#stoss-lampen i.an { color: #3a1c04; background: radial-gradient(circle at 35% 30%, #fff3c0, #f0a830); box-shadow: 0 0 10px rgba(255, 190, 60, .9); }
#stoss-lampen i.an[data-n="4"], #stoss-lampen i.an[data-n="5"] { background: radial-gradient(circle at 35% 30%, #ffd2b8, #e0482a); box-shadow: 0 0 12px rgba(255, 90, 50, .95); color: #fff; }
#stoss-lampen i.flacker { animation: fxFlacker .22s steps(2) infinite; }
@keyframes fxFlacker { 50% { opacity: .35; } }
#stoss-lampen.heiss { box-shadow: 0 0 0 2px #ff8a4a, 0 0 18px rgba(255, 110, 50, .8); }
#fortschritt { position: absolute; left: 18px; right: 18px; top: 8px; height: 5px; border-radius: 3px; background: rgba(0, 0, 0, .35); overflow: hidden; z-index: 4; pointer-events: none; }
#fortschritt i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #c9a24a, #ffe08a); box-shadow: 0 0 6px rgba(255, 215, 110, .8); transition: width .5s ease-out; }
#einlage.fx-endspurt { animation: fxEndspurt 1.4s ease-in-out infinite; }
@keyframes fxEndspurt { 50% { box-shadow: inset 0 0 0 3px #ffe08a, inset 0 0 0 5px #6b4a1c, inset 0 0 36px rgba(255, 215, 110, .5); } }
#einlage.fx-endspurt .stein { animation: fxSpurtStein 1.4s ease-in-out infinite; }
@keyframes fxSpurtStein { 50% { filter: drop-shadow(0 0 6px rgba(255, 215, 110, .8)) drop-shadow(-2px 3px 2px rgba(0, 0, 0, .45)); } }
.fx-band { position: absolute; left: 50%; top: 30%; transform: translate(-50%, -50%); padding: 6px 22px; border-radius: 8px; white-space: nowrap;
  background: linear-gradient(90deg, rgba(120, 70, 10, 0), rgba(120, 70, 10, .92) 15%, rgba(120, 70, 10, .92) 85%, rgba(120, 70, 10, 0)); color: #fff1c8;
  font: 800 24px var(--font-titel, Georgia, serif); letter-spacing: .06em; text-shadow: 0 2px 4px rgba(0, 0, 0, .7); animation: fxBand 1.6s ease-out both; }
@keyframes fxBand { 0% { opacity: 0; transform: translate(-50%, -50%) scaleX(.2); } 18% { opacity: 1; transform: translate(-50%, -50%) scaleX(1.05); } 28% { transform: translate(-50%, -50%) scaleX(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -80%); } }
.n-ava.fx-hops { animation: fxHops .45s ease-out; }
@keyframes fxHops { 40% { transform: translateY(-7px) scale(1.06); } }
.n-ava.fx-schreck { animation: fxSchreck .6s ease-in-out; }
@keyframes fxSchreck { 15%, 45%, 75% { transform: translateX(-5px) rotate(-5deg); } 30%, 60%, 90% { transform: translateX(5px) rotate(5deg); } }
#k-ich.vorn, #nachbar.vorn .n-schild { box-shadow: 0 0 0 2px #ffd36a, 0 0 16px rgba(255, 205, 90, .7); }
#k-ich.vorn::after, #nachbar.vorn .n-schild::after { content: 'vorn'; position: absolute; right: 6px; top: -9px; padding: 0 6px; border-radius: 6px; background: #c9a24a; color: #2a1604; font: 700 10.5px/16px var(--font-ui, system-ui); letter-spacing: .06em; text-transform: uppercase; }
#k-ich, #nachbar .n-schild { position: relative; }
.stein.gleich { outline: 2px solid rgba(159, 211, 255, .9); outline-offset: -1px; border-radius: 6px; }
.stein.fx-zurueck { animation: fxZurueckFlug .6s cubic-bezier(.3, .6, .3, 1) both; }
@keyframes fxZurueckFlug { from { transform: translate(var(--dx), var(--dy)) scale(.25); opacity: .2; } }
#stage.hoch #stoss-lampen i, #stage.quer-handy #stoss-lampen i { width: 34px; height: 34px; font-size: 16px; line-height: 34px; }
#stage.hoch #stoss-lampen small, #stage.quer-handy #stoss-lampen small { display: none; }
@media (prefers-reduced-motion: reduce) {
  #einlage.fx-endspurt, #einlage.fx-endspurt .stein, .fx-band, .n-ava.fx-hops, .n-ava.fx-schreck, .stein.fx-zurueck, #stoss-lampen i.flacker { animation: none !important; }
}
#meldungen { top: 114px; }
#stage.hoch .fx-text, #stage.quer-handy .fx-text { font-size: 30px; }
#stage.hoch .fx-text small, #stage.quer-handy .fx-text small { font-size: 16px; }
#stage.hoch .fx-text.heiss, #stage.quer-handy .fx-text.heiss { font-size: 38px; }
#stage.hoch .fx-band, #stage.quer-handy .fx-band { font-size: 30px; }
#stage.quer-handy #stoss-lampen { display: none; }

#countdown.fx-ziffer { animation: fxZiffer .5s cubic-bezier(.2, 1.5, .4, 1); }
@keyframes fxZiffer { 0% { transform: scale(2.2); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
#countdown.los { animation: fxLos .7s ease-out; }
@keyframes fxLos { 0% { transform: scale(.5); } 40% { transform: scale(1.25); } 100% { transform: scale(1); opacity: .2; } }
#k-uhr.fx-schlag { animation: fxSchlag .55s ease-out; }
@keyframes fxSchlag { 0% { transform: scale(1.18); box-shadow: 0 0 0 5px rgba(220, 50, 30, .7), 0 0 24px rgba(255, 80, 50, .7); } 100% { transform: none; } }
.taste.fx-angebot#b-tipp { animation: fxAngebot 1.8s ease-in-out infinite; }
@keyframes fxAngebot { 50% { box-shadow: 0 0 0 3px rgba(255, 220, 120, .7), 0 0 20px rgba(255, 210, 90, .7); } }
.fx-fuellen { animation: fxFuellen 1.2s cubic-bezier(.3, .7, .3, 1) .5s both; }
@keyframes fxFuellen { from { width: var(--alt); } }
.auftrag-kurz span { position: relative; padding-bottom: 4px; }
.auftrag-kurz span > i { position: absolute; left: 0; bottom: 0; height: 3px; border-radius: 2px; background: #c9a24a; }
.auftrag-kurz span.ja > i { background: #6cbf5a; }
.auftrag-kurz span.neu { animation: fxNeuZeile 1s ease-out .3s both; }
@keyframes fxNeuZeile { 30% { background: rgba(255, 215, 110, .22); } }
.auftrag-kurz .haken { display: inline-flex; width: 16px; height: 16px; margin-right: 5px; vertical-align: -3px; color: #9fdc7a; animation: fxHaken .6s cubic-bezier(.2, 1.6, .4, 1) .4s both; }
.auftrag-kurz .haken svg { width: 100%; height: 100%; }
@keyframes fxHaken { from { transform: scale(0) rotate(-40deg); } }
.en-sterne .sterne i.an { animation: fxStern .55s cubic-bezier(.2, 1.6, .4, 1) both; }
.en-sterne .sterne i.an:nth-child(1) { animation-delay: .6s; } .en-sterne .sterne i.an:nth-child(2) { animation-delay: 1s; } .en-sterne .sterne i.an:nth-child(3) { animation-delay: 1.4s; }
@keyframes fxStern { 0% { transform: scale(0) rotate(-120deg); opacity: 0; } 70% { transform: scale(1.35) rotate(10deg); opacity: 1; } 100% { transform: none; } }
.lo-kachel.fx-rein { animation: fxKachel .5s cubic-bezier(.2, 1.2, .4, 1) both; }
@keyframes fxKachel { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.lo-kachel { position: relative; }
.lo-kachel.fx-neu::after { content: ''; position: absolute; right: 9px; top: 9px; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffd2b8, #e0482a);
  box-shadow: 0 0 0 2px rgba(255, 240, 220, .7), 0 0 10px rgba(255, 90, 50, .9); animation: fxPunkt 1.6s ease-in-out infinite; }
@keyframes fxPunkt { 50% { transform: scale(1.3); } }
.lo-rang .rang-balken i { animation: fxGlanz 4s ease-in-out infinite; }
@keyframes fxGlanz { 0%, 80%, 100% { filter: none; } 88% { filter: brightness(1.6) drop-shadow(0 0 4px #ffe08a); } }
.plan-feld.plan-weiter { border-color: #ffd36a; animation: fxWeiter 1.6s ease-in-out infinite; }
.plan-feld.plan-weiter::after { content: 'weiter'; display: block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #ffd36a; }
@keyframes fxWeiter { 50% { box-shadow: 0 0 0 2px rgba(255, 211, 106, .8), 0 0 16px rgba(255, 200, 80, .6); } }
#stage.hoch .plan-feld.plan-weiter::after, #stage.quer-handy .plan-feld.plan-weiter::after { display: none; }
@media (prefers-reduced-motion: reduce) {
  #countdown.fx-ziffer, #countdown.los, #k-uhr.fx-schlag, .taste.fx-angebot#b-tipp, .fx-fuellen, .auftrag-kurz span.neu, .auftrag-kurz .haken, .en-sterne .sterne i.an,
  .lo-kachel.fx-rein, .lo-kachel.fx-neu::after, .lo-rang .rang-balken i, .plan-feld.plan-weiter { animation: none !important; }
}

.fx-abzug { position: absolute; left: 50%; top: 60%; font: 800 20px var(--font-ui, system-ui); color: #ff7a66; text-shadow: 0 2px 3px rgba(0, 0, 0, .8); pointer-events: none;
  animation: fxAbzug 1.2s ease-in both; z-index: 9; }
@keyframes fxAbzug { 0% { opacity: 0; transform: translate(-50%, -10px) scale(1.4); } 15% { opacity: 1; transform: translate(-50%, 0) scale(1); } 100% { opacity: 0; transform: translate(-50%, 46px); } }
#stoss-lampen i.fx-aus { animation: fxLampeAus .45s ease-out both; }
@keyframes fxLampeAus { 0% { background: radial-gradient(circle at 35% 30%, #fff3c0, #f0a830); box-shadow: 0 0 14px rgba(255, 190, 60, 1); } 40% { transform: scale(1.2); } 100% { transform: none; } }
#k-kette.fx-kalt { animation: fxKalt .6s ease-out; }
@keyframes fxKalt { 30% { filter: grayscale(1) brightness(.8); transform: scale(.94); } }
.fx-band.gold { background: linear-gradient(90deg, rgba(170, 120, 20, 0), rgba(200, 150, 30, .95) 15%, rgba(200, 150, 30, .95) 85%, rgba(170, 120, 20, 0)); color: #2a1604; text-shadow: 0 1px 0 rgba(255, 240, 200, .6); }
.fx-stempel.klein { font-size: 28px; padding: 4px 16px; top: 50%; z-index: 9; }
@media (prefers-reduced-motion: reduce) { .fx-abzug, #stoss-lampen i.fx-aus, #k-kette.fx-kalt { animation: none !important; } }

#auftrag.knapp { background: rgba(120, 60, 8, .92); color: #ffe08a; animation: fxKnapp 1.6s ease-in-out infinite; }
@keyframes fxKnapp { 50% { box-shadow: 0 0 0 2px rgba(255, 200, 90, .8), 0 0 14px rgba(255, 180, 60, .55); } }
.ns-zieh { animation-duration: .45s; }
.ns-ende { animation: fxNsEnde .6s ease-out both; }
@keyframes fxNsEnde { from { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(2.2); } }
:root[data-fx="wenig"] [class*="fx-"], :root[data-fx="wenig"] .stein.eil .m-eil, :root[data-fx="wenig"] .stein.eil, :root[data-fx="wenig"] .stein.tipp, :root[data-fx="wenig"] .match-lampen span,
:root[data-fx="wenig"] .rang-zeile.auf, :root[data-fx="wenig"] .en-sterne .sterne i.an, :root[data-fx="wenig"] #auftrag.knapp, :root[data-fx="wenig"] .ns-ende,
:root[data-fx="wenig"] .lo-kachel.fx-neu::after, :root[data-fx="wenig"] .plan-feld.plan-weiter, :root[data-fx="wenig"] #stoss-lampen i { animation: none !important; }
:root[data-fx="wenig"] .fx-zieh { stroke-dashoffset: 0; }
#stage.quer-handy .fenster:not(#ende):not(#pause)#nachspiel .f-box { zoom: 1.2; width: 86%; max-height: 64%; }
#stage.quer-handy #nachspiel .ns-knoepfe span { flex-basis: 100%; order: -1; min-width: 0; }
#stage.quer-handy #nachspiel .ns-knoepfe .taste { padding: 0 12px; height: 40px; }
#stage.quer-handy #nachspiel h2 { margin-bottom: 4px; }
#stage.quer-handy #nachspiel .ns-pulte svg { aspect-ratio: 2.7 / 1; }
#stage.quer-handy .fenster:not(#ende):not(#pause)#nachspiel .f-box { max-height: 70%; }
#stage.hoch .fenster:not(#ende):not(#pause)#archiv .f-box { max-height: 90%; }
#stage.quer-handy #en-box .mo-tipp { display: none; }
#stage.quer-handy #en-box .match-lampen { margin: 2px 0 4px; gap: 10px; font-size: 0; }
#stage.quer-handy #en-box .match-lampen i { width: 18px; height: 18px; }
#stage.quer-handy #en-box .auftrag-kurz span:not(.ja:last-child), #stage.quer-handy #en-box .mo-leiter, #stage.quer-handy #en-box .rang-zeile small { display: none; }
#stage.quer-handy #en-box .auftrag-kurz, #stage.quer-handy #en-box .rang-zeile { margin: 4px 0; padding: 4px 10px; }
#stage.quer-handy #en-box .mo-rang-ziel, #stage.quer-handy #en-box .mo-rang li:nth-child(n+4), #stage.quer-handy #en-box .mo-kopf { display: none; }
#stage.quer-handy #en-box .mo-zahl b { font-size: 64px; }
#ns-schichten { margin: 0 0 8px; }
#stage.quer-handy #ns-schichten button small, #stage.hoch #ns-schichten button small { display: none; }

.ra-raster { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.ra-tag { min-height: 58px; border-radius: 9px; border: 1px solid var(--fenster-rand); background: rgba(0, 0, 0, .18); color: var(--fenster-t); cursor: pointer; font: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px; }
.ra-tag b { font-size: 14px; } .ra-tag small { font-size: 12.5px; color: var(--fenster-leise); display: inline-flex; align-items: center; gap: 3px; }
.ra-tag small svg { width: 13px; height: 13px; }
.ra-tag.geloest { background: rgba(110, 180, 90, .16); border-color: rgba(110, 180, 90, .6); }
.serie-zeile { display: flex; align-items: center; gap: 10px; margin: 8px 0; padding: 6px 11px; border-radius: 10px; border: 1px solid var(--mo-rand-weich, rgba(201, 162, 74, .4)); text-align: left; font-size: 14px; }
.serie-zeile b { display: block; color: var(--mo-akzent, #ffd98a); } .serie-zeile small { opacity: .85; }
.serie-flamme { flex: none; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 800 17px var(--font-ui, system-ui); color: #2a1604;
  background: radial-gradient(circle at 40% 35%, #fff0b0, #f0a830 60%, #c0541e); box-shadow: 0 0 12px rgba(255, 160, 60, .7); animation: fxFlamme 2.4s ease-in-out infinite; }
@keyframes fxFlamme { 50% { box-shadow: 0 0 20px rgba(255, 140, 40, .95); transform: scale(1.06); } }
.serie-zeile.auf { animation: fxBefoerdert .9s cubic-bezier(.2, 1.4, .4, 1) both; background: rgba(255, 190, 80, .14); }
#stage.hoch .ra-raster { grid-template-columns: repeat(4, 1fr); }
#stage.quer-handy #en-box .serie-zeile small { display: none; }
:root[data-fx="wenig"] .serie-flamme, :root[data-fx="wenig"] .serie-zeile.auf { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .serie-flamme, .serie-zeile.auf { animation: none !important; } }
.plan-reiter { grid-template-columns: repeat(4, 1fr); }
.stein.fx-wirbel .m-knoten { animation: fxWirbel .6s cubic-bezier(.2, 1.3, .4, 1) both; }
@keyframes fxWirbel { from { opacity: 0; transform: rotate(-300deg) scale(.2); } }
:root[data-fx="wenig"] .stein.fx-wirbel .m-knoten { animation: none !important; }
#stage.hoch .plan-feld { min-height: 50px; padding: 3px; }
#stage.hoch .plan-feld span { font-size: 12.5px; overflow-wrap: anywhere; hyphens: auto; }
#stage.quer-handy #ns-schichten { margin: 0 0 4px; }
#stage.quer-handy #ns-schichten button { min-height: 30px; padding: 0 4px; }
#stage.quer-handy #nachspiel:has(#ns-schichten:not([hidden])) .ns-pulte svg { aspect-ratio: 3.4 / 1; }
.plan-reiter { grid-template-columns: repeat(5, 1fr); }
#stage.hoch .plan-reiter button { font-size: 12px; }

#stage.quer-handy .lo-kopf { flex-wrap: nowrap; padding: 4px 8px; margin-bottom: 6px; }
#stage.quer-handy .lo-logo { display: none; }
#stage.quer-handy .lo-raum, #stage.quer-handy .lo-kachel small { display: none; }
#stage.quer-handy .lo-ich, #stage.quer-handy .lo-label { font-size: 17px; }
#stage.quer-handy .lo-kopf-r { gap: 6px; margin-left: 8px; }
#stage.quer-handy #lobby .lo-kopf-r .kb, #stage.quer-handy #lobby .lo-kopf-r .kb-ic { min-height: 74px; min-width: 74px; font-size: 18px; padding: 4px 10px; }
#stage.quer-handy .lo-kopf-r .kb .txt, #stage.quer-handy .k-knoepfe .kb .txt { display: none; }
#stage.quer-handy .lo-kopf-r .kb i, #stage.quer-handy .k-knoepfe .kb i { margin-right: 0; }
#stage.quer-handy #lobby { padding: 8px 12px; }
#stage.quer-handy #chatwin { min-height: 40px; font-size: 17px; }
#stage.quer-handy #chatin, #stage.quer-handy #pmin { min-height: 74px; font-size: 18px; margin-top: 5px; }
#stage.quer-handy .lo-start { flex: none; margin-top: 6px; }
#stage.quer-handy .lo-kacheln { grid-auto-rows: 76px; gap: 6px; }
#stage.quer-handy #lobby .lo-kachel { padding: 4px 10px; }
#stage.quer-handy #lobby .lo-kachel b { font-size: 20px; }
#stage.quer-handy .lo-spieler { width: 290px; }
#stage.quer-handy .lo-tabs button { min-height: 74px; font-size: 17px; white-space: nowrap; padding: 4px; }
#stage.quer-handy .it { min-height: 74px; font-size: 17px; }
#stage.quer-handy .it .elo, #stage.quer-handy .it .rang, #stage.quer-handy .lo-hinweis { font-size: 17px; }
#stage.quer-handy .lo-spieler > .lo-hinweis { display: none; }
#stage.quer-handy #lo-rang { min-height:74px; font-size:17px; }
#stage.quer-handy #lo-rang small, #stage.quer-handy .lo-label-rang { font-size:16px; }
#stage.quer-handy .fenster:not(#ende):not(#pause) .f-box { --fz: 1.55; }
#stage.quer-handy .fenster:not(#ende):not(#pause):is(#vorspann, #einst, #nachspiel) .f-box { --fz: 1.2; }
#stage.quer-handy .fenster:not(#ende):not(#pause):is(#plan, #archiv) .f-box { --fz: 1.25; }
#stage.quer-handy .fenster:not(#ende):not(#pause) .f-box :is(button, .kb, select) { min-height: calc(67px / var(--fz)); }
#stage.quer-handy .fenster:not(#ende):not(#pause) .f-box .f-zu { width: calc(67px / var(--fz)); height: calc(67px / var(--fz)); }
#stage.quer-handy .fenster:not(#ende):not(#pause):is(#vorspann, #einst) .f-box { max-height: 97%; }
#stage.quer-handy #vorspann :is(#vs-groesse, #vs-rutsch) button { white-space: nowrap; padding-left: 3px; padding-right: 3px; }
#stage.quer-handy #partie #meldungen { top: 222px; }
#stage.quer-handy :is(#pause, #ende) .f-box { zoom: 1.3; --fz: 1.3; max-height: 74%; }
#stage.quer-handy #ende #en-box { max-height: 96%; }
#stage.quer-handy :is(#pause, #ende) .f-box :is(button, .kb) { min-height: calc(67px / var(--fz)); }
#stage.quer-handy #ende #en-box { width: 70%; max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 18px;
  grid-template-areas: "zahl rang" "plak rang" "kach mehr" "knopf mehr"; align-items: start; text-align: center; }
#stage.quer-handy #ende #en-box > .f-zu { position: absolute; top: 6px; right: 6px; margin: 0; }
#stage.quer-handy #ende #en-box > .mo-zahl { grid-area: zahl; }
#stage.quer-handy #ende #en-box > .mo-plakette { grid-area: plak; }
#stage.quer-handy #ende #en-box > .mo-kacheln { grid-area: kach; }
#stage.quer-handy #ende #en-box > .mo-rang { grid-area: rang; margin-top: 48px; }
#stage.quer-handy #ende #en-box > .mo-mehr { grid-area: mehr; }
#stage.quer-handy #ende #en-box > .en-knoepfe { grid-area: knopf; }
#stage.quer-handy #ende #en-box > :is(.mo-tipp, .mo-kopf) { display: none; }
#stage.quer-handy #ende #en-box .mo-mehr > summary { min-height: calc(67px / var(--fz)); display: flex; align-items: center; justify-content: center; }
#stage.quer-handy #ende #en-box .f-zu { width: calc(67px / var(--fz)); height: calc(67px / var(--fz)); }
#stage.quer-handy #ende #en-box .mo-mehr[open] > :not(summary) { max-height: 150px; overflow-y: auto; overscroll-behavior: contain; }
#stage.quer-handy #lupe .f-zu { width: 67px; height: 67px; }
