@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;
  --grund-q: url(img/abend-kulisse-q.webp); --grund-h: url(img/abend-kulisse-h.webp);
  --abdunkeln: .12;
  --messing1: #f3d98e; --messing2: #c9a24a; --messing3: #8c6a24; --messing-t: #2a1c08;
  --emaille1: #f4efe2; --emaille2: #e2d9c2; --emaille-t: #1d2b4a; --emaille-rand: #1d2b4a; --emaille-leise: #3c4a68;
  --papier1: #f3ead4; --papier2: #e2d5b5; --papier-t: #2a2118;
  --warm: #ffd66e; --kalt: #8fc7ff;
  --mano-skala: #3c4a68; --mano-zeiger: #1d2b4a;
  --melde-bg: rgba(16, 24, 18, .93); --melde-t: #f2ead4; --melde-rand: #c9a24a;
  --fenster-bg1: #22301f; --fenster-bg2: #141c12; --fenster-t: #f2ead4; --fenster-leise: #c9bfa4; --fenster-rand: #c9a24a;
  --n-100: #f2ead4; --n-200: #e6dcc2; --n-300: #c9bfa4; --slate-300: #c9bfa4; --slate-400: #b0a688; --slate-500: #8c846c; --slate-600: #5c5646; --slate-700: #3a3628; --slate-800: #24221a;
  --acc: #ffd66e; --acc-hell: #ffd66e; --info: #8fc7ff; --ok: #7fd17a; --hair: rgba(240, 220, 170, .2); --panel-bg: rgba(14, 20, 12, .88); --row-bg: rgba(240, 220, 170, .08);
  --led-bg: rgba(14, 20, 12, .92); --con-edge: rgba(240, 220, 170, .25);
  --mo-bg1: #2a3a24; --mo-bg2: #1a2616; --mo-bg3: #0e160c; --mo-rand: #7a5a1c; --mo-akzent: #ffd66e; --mo-akzent2: #8fc7ff; --mo-band1: #b3261e; --mo-band2: #6e140e; --mo-band-t: #fff4e0;
}
:root[data-ansicht="tag"] {
  --grund-q: url(img/tag-kulisse-q.webp); --grund-h: url(img/tag-kulisse-h.webp); --abdunkeln: 0;
  --melde-bg: rgba(250, 247, 238, .96); --melde-t: #1f2a18; --melde-rand: #8c6a24;
  --fenster-bg1: #f6f2e6; --fenster-bg2: #e8e1cf; --fenster-t: #1f2a18; --fenster-leise: #4a4636; --fenster-rand: #8c6a24;
  --n-100: #1f2a18; --n-200: #2a3424; --n-300: #3c4434; --slate-300: #3c4434; --slate-400: #4a4636; --acc: #7a4a0c; --acc-hell: #7a4a0c; --info: #154468;
  --panel-bg: rgba(250, 247, 238, .9); --row-bg: rgba(60, 70, 40, .08); --led-bg: rgba(250, 247, 238, .95); --hair: rgba(60, 70, 40, .25);
}
:root[data-ansicht="schirm"] { --grund-q: url(img/abend-kulisse-q.webp); --grund-h: url(img/abend-kulisse-h.webp); --abdunkeln: .48; }
html, body { margin: 0; height: 100%; background: #10160e; overflow: hidden; touch-action: manipulation; }
:root[data-ansicht="tag"], :root[data-ansicht="tag"] body { background: #c9c2a8; }
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, linear-gradient(180deg, #1e3326, #2a4432 60%, #3a2414); }
#kulisse::after { content: ''; position: absolute; inset: 0; background: rgba(6, 10, 6, var(--abdunkeln)); }
#stage.hoch #kulisse { background-image: var(--grund-h), linear-gradient(180deg, #1e3326, #2a4432 60%, #3a2414); }
.k-kapsel { position: absolute; left: 4.2%; top: -40px; width: 14px; height: 30px; border-radius: 7px; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, #6d4b1c, #f3d18a, #6d4b1c); box-shadow: 0 0 10px rgba(255, 210, 120, .5); animation: kapselflug 9s linear infinite; }
@keyframes kapselflug { 0%, 72% { transform: translateY(0); opacity: 0; } 73% { opacity: 1; } 100% { transform: translateY(880px); opacity: 1; } }
.k-licht { position: absolute; left: 0; right: 0; top: 0; height: 40%; background: radial-gradient(ellipse at 22% 0%, rgba(255, 214, 140, .2), transparent 60%); animation: licht 9s ease-in-out infinite; pointer-events: none; z-index: 1; }
@keyframes licht { 50% { opacity: .45; } }
:root[data-ansicht="schirm"] .k-kapsel, :root[data-ansicht="schirm"] .k-licht { display: none; }
@media (prefers-reduced-motion: reduce) { .k-licht, .k-kapsel { animation: none; } .k-kapsel { display: none; } }
[hidden] { display: none !important; }

.kb { padding: 6px 10px; background: linear-gradient(to bottom, #3a4a30, #222c1c); border: 1px solid rgba(240, 220, 170, .4); border-radius: 6px; color: #f6eed8;
  font-size: 13px; cursor: pointer; text-shadow: 0 1px 1px rgba(0, 0, 0, .6); }
.kb:hover { border-color: rgba(240, 220, 170, .8); }
.kb:disabled { opacity: .45; cursor: default; border-style: dashed; }
.kb.an { background: linear-gradient(to bottom, #7a1a12, #4a0f0a); border-color: var(--warm); color: var(--warm); }
.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, #3a4a30, #222c1c); border: 1px solid rgba(240, 220, 170, .4); border-radius: 8px;
  color: #f6eed8; 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; justify-content: center; gap: 7px; white-space: nowrap; }
.taste:active { transform: translateY(1px); }
.taste:disabled { opacity: .5; cursor: default; border-style: dashed; filter: saturate(.4); }
.kb i[data-ic], .kb > i { display: inline-flex; vertical-align: -3px; margin-right: 5px; }
.kb i[data-ic] svg { width: 16px; height: 16px; }

#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: 6px 10px 9px; margin-bottom: 10px; border-bottom: 1px solid var(--hair); background: rgba(14, 20, 12, .84); border-radius: 10px; }
:root[data-ansicht="tag"] .lo-kopf { background: rgba(250, 247, 238, .92); }
.lo-logo { font-family: var(--font-zier); font-size: 24px; font-weight: 900; letter-spacing: .12em; color: var(--warm); }
:root[data-ansicht="tag"] .lo-logo { color: #7a4a0c; }
.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; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }
:root[data-ansicht="tag"] .lo-label { text-shadow: none; background: rgba(250, 247, 238, .88); border-radius: 4px; padding: 1px 6px; align-self: flex-start; }
#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: #c9a24a transparent; }
#lobby .lo-chat #chatwin { background: var(--panel-bg); }
#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(3, 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: #c9a24a 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.live { cursor: pointer; }
.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-300); line-height: 1.35; background: var(--panel-bg); border-radius: 5px; padding: 3px 6px; }
.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; scrollbar-width: thin; scrollbar-color: #c9a24a transparent; }
#lobby .kb, #lobby .lo-tabs button { font-size: 15px; }
#lobby .lo-kachel b { font-size: 18px; }
#lobby .lo-kachel small { font-size: 15px; }
:root[data-theme="light"] #lobby .lo-kachel.kb-gruen b { color: #ffffff; text-shadow: 0 1px 2px rgba(0, 0, 0, .55); }
:root[data-theme="light"] #lobby .lo-kachel.kb-gruen small { color: #f0fff8; text-shadow: 0 1px 2px rgba(0, 0, 0, .55); }

#partie { position: absolute; inset: 0; z-index: 4; }
#kopf { position: absolute; left: 22px; right: 22px; top: 12px; height: 62px; display: flex; align-items: center; gap: 14px; z-index: 6; }
.schild { background: linear-gradient(180deg, var(--emaille1), var(--emaille2)); color: var(--emaille-t); border: 2px solid var(--emaille-rand); border-radius: 9px;
  box-shadow: 0 0 0 2px var(--emaille2), 0 4px 10px rgba(0, 0, 0, .45); padding: 5px 14px; display: flex; flex-direction: column; min-width: 220px; height: 58px; box-sizing: border-box; justify-content: center; }
.schild.gegner { flex-direction: row; align-items: center; gap: 10px; padding-left: 6px; }
.s-ava { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--messing2); background: #c9bfa4; overflow: hidden; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.s-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-ava svg { width: 26px; height: 26px; color: #2a3446; }
.s-text { display: flex; flex-direction: column; min-width: 0; }
.s-name { font-size: 13px; color: var(--emaille-leise); letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.s-zahl { font-size: 15px; white-space: nowrap; display: flex; align-items: center; gap: 3px; min-height: 22px; }
.s-zahl b, .uhr b, .em-stand b, .emaille .zeile b { font-variant-numeric: lining-nums tabular-nums; font-kerning: none; }
.s-zahl b { font-size: 20px; margin-left: 4px; }
.pip { width: 13px; height: 13px; border-radius: 50%; border: 2px solid #8c96a8; background: #e8ecf2; box-sizing: border-box; flex: none; }
.pip.voll { background: radial-gradient(circle at 35% 35%, #fff, #f3d98e 60%, #c9a24a); border-color: #8c6a24; }
.pip.feind.voll { background: radial-gradient(circle at 35% 35%, #fff, #b9dcf2 60%, #4f8ac0); border-color: #1d4a7a; }
.uhr { height: 56px; min-width: 150px; border-radius: 30px; background: radial-gradient(circle at 40% 30%, #fffaf0, #e3ddd0); 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(--emaille-t); padding: 0 16px; box-sizing: border-box; }
.uhr small { font-size: 12.5px; color: var(--emaille-leise); white-space: nowrap; }
.uhr b { font-size: 27px; }
.uhr.kritisch b { color: #b3261e; }
.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); } }
.k-knoepfe { margin-left: auto; display: flex; gap: 7px; align-items: center; }
.k-knoepfe .kb { height: 40px; padding: 0 14px; font-size: 14px; }

#rohr { position: absolute; left: calc(50% - 300px); top: 92px; width: 600px; height: 600px; z-index: 3; touch-action: none; cursor: none; border-radius: 50%; }
#mund { position: absolute; inset: 0; border-radius: 50%; overflow: clip; background: #120c06; box-shadow: inset 0 0 40px rgba(0, 0, 0, .9); }
#flansch { position: absolute; inset: -34px; border-radius: 50%; pointer-events: none; z-index: 2;
  background: radial-gradient(circle closest-side, transparent calc(100% - 35px), #050302 calc(100% - 34px), #6d4b1c calc(100% - 31px), #f1cf86 calc(100% - 20px), #b5852f calc(100% - 10px), #5b3d15 calc(100% - 1px), transparent 100%);
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .7)); }
#flansch .niet { position: absolute; width: 13px; height: 13px; margin: -6.5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff2c6, #a87a2b 60%, #3e2a0d); box-shadow: 1px 2px 2px rgba(0, 0, 0, .55); }
:root[data-ansicht="schirm"] #flansch { background: radial-gradient(circle closest-side, transparent calc(100% - 35px), #3dff7a calc(100% - 33px), #0d2a16 calc(100% - 30px), #0d2a16 calc(100% - 4px), #3dff7a calc(100% - 2px), transparent 100%); filter: none; }
:root[data-ansicht="schirm"] #flansch .niet { background: #020805; box-shadow: 0 0 0 1.5px #3dff7a; }
#rohr.dran-ich #flansch { filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .7)) drop-shadow(0 0 14px rgba(255, 214, 110, .55)); }
#rohr.geschlagen #mund { animation: schlag .25s ease-out; }
@keyframes schlag { 40% { box-shadow: inset 0 0 40px rgba(0, 0, 0, .9), inset 0 0 0 6px rgba(255, 230, 160, .55); } }
@media (prefers-reduced-motion: reduce) { #rohr.geschlagen #mund { animation: none; } }
#netz { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); background: var(--melde-bg); color: var(--melde-t); border: 1px solid var(--melde-rand); border-radius: 10px;
  padding: 10px 18px; font-size: 16px; z-index: 4; text-align: center; max-width: 70%; }
.wand-tafel { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); z-index: 22; width: min(420px, 82%); pointer-events: none; }

.emaille { position: absolute; top: 100px; width: 280px; box-sizing: border-box; padding: 12px 14px; border-radius: 12px; z-index: 3;
  background: linear-gradient(180deg, var(--emaille1), var(--emaille2)); color: var(--emaille-t); border: 3px solid var(--emaille-rand);
  box-shadow: 0 0 0 3px var(--emaille2), 0 10px 22px rgba(0, 0, 0, .5); }
#links { left: 30px; }
#rechts { right: 30px; }
.em-kopf { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--emaille-leise); border-bottom: 1px solid rgba(29, 43, 74, .3); padding-bottom: 5px; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.em-stand { display: flex; align-items: baseline; justify-content: center; gap: 12px; height: 62px; }
.em-stand b { font-size: 52px; line-height: 1; font-weight: 700; }
.em-stand span { font-size: 36px; color: var(--emaille-leise); }
.emaille .zeile { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 15px; min-height: 28px; border-top: 1px dotted rgba(29, 43, 74, .25); }
.emaille .zeile b { font-size: 17px; }
.emaille .fach { display: inline-block; width: 16px; height: 11px; border: 1px solid #2a1a0a; border-radius: 2px; margin-right: 7px; vertical-align: -1px; }
.mano { margin-top: 10px; display: flex; flex-direction: column; align-items: center; background: radial-gradient(circle at 50% 70%, #fffaf0, #e8e0cc); border: 4px solid var(--messing2); border-radius: 60px 60px 14px 14px; padding: 6px 8px 4px; }
.mano svg { width: 150px; height: 92px; display: block; }
.mano span { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--emaille-leise); }
.gs { display: flex; align-items: center; gap: 12px; margin: 4px 0 8px; }
.gs-ava { width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--messing2); overflow: hidden; flex: none; background: #c9bfa4; display: inline-flex; align-items: center; justify-content: center; }
.gs-ava img { width: 100%; height: 100%; object-fit: cover; }
.gs-ava svg { width: 36px; height: 36px; color: #2a3446; }
.gs b { display: block; font-size: 18px; }
.gs small { display: block; font-size: 13px; color: var(--emaille-leise); }
#schnellchat { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 10px; }
#schnellchat .kb { min-height: 40px; font-size: 13px; padding: 4px 6px; }

#schein { position: absolute; left: calc(50% - 300px); top: 716px; width: 600px; height: 66px; box-sizing: border-box; padding: 8px 14px 8px 22px; z-index: 3; overflow: hidden;
  background: linear-gradient(180deg, var(--papier1), var(--papier2)); color: var(--papier-t); border-radius: 4px; box-shadow: 0 6px 16px rgba(0, 0, 0, .5);
  display: flex; align-items: center; gap: 14px; font-size: 15px; line-height: 1.3; }
#schein::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 9px; background: repeating-linear-gradient(#0000 0 6px, rgba(140, 120, 80, .45) 6px 8px); }
#schein .stempel { border: 2px solid #9b2b1f; color: #9b2b1f; border-radius: 4px; padding: 2px 8px; transform: rotate(-4deg); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; flex: none; }

#tastfeld { position: absolute; right: 30px; bottom: 18px; width: 280px; height: 280px; z-index: 7; display: none; touch-action: none; box-sizing: border-box; border-radius: 22px;
  background: linear-gradient(160deg, var(--messing1), var(--messing2) 55%, var(--messing3)); box-shadow: 0 10px 22px rgba(0, 0, 0, .55), inset 0 2px 0 rgba(255, 255, 255, .5); padding: 22px 22px 30px; }
#stage.finger #tastfeld { display: block; }
#stage.finger #rechts { max-height: 300px; overflow: hidden; }
#tf-rohr { position: relative; height: 100%; aspect-ratio: 1; max-width: 100%; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle, #2a1e10, #0c0805); box-shadow: inset 0 0 0 3px #5b3d15, inset 0 0 18px #000; }
#tf-klappe, #tf-kapsel { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
#tf-klappe { width: 30.5%; height: 30.5%; border: 3px solid #ffe09a; background: rgba(255, 224, 154, .22); box-sizing: border-box; }
#tf-kapsel { width: 11%; height: 11%; background: radial-gradient(circle at 35% 35%, #fff4d0, #d6a043 60%, #6d4b1c); }
#tastfeld small { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-size: 13px; color: var(--messing-t); letter-spacing: .08em; text-transform: uppercase; }

#meldungen { position: absolute; left: calc(50% - 290px); right: calc(50% - 290px); top: 112px; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; z-index: 20; }
.meldung { max-width: 580px; 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: calc(50% - 300px); top: 92px; width: 600px; height: 600px; display: flex; align-items: center; justify-content: center; z-index: 25; pointer-events: none;
  font: 900 88px var(--font-zier); color: var(--warm); text-shadow: 0 6px 20px rgba(0, 0, 0, .8), 0 0 30px rgba(255, 190, 60, .5); text-align: center; }
#countdown.los { font-size: 108px; }
.flug { position: absolute; z-index: 30; pointer-events: none; font: 900 32px var(--font-zier); color: var(--warm); white-space: nowrap;
  text-shadow: 0 2px 6px #000, 0 0 14px rgba(255, 190, 60, .75); will-change: transform; }
.flug small { font-size: 60%; margin-left: 3px; }
.flug.feind { color: #b9dcff; text-shadow: 0 2px 6px #000, 0 0 14px rgba(110, 170, 255, .8); }
.schrift { position: absolute; left: 0; right: 0; top: 34%; text-align: center; z-index: 5; pointer-events: none; font: 900 60px var(--font-zier); letter-spacing: .06em;
  color: var(--warm); text-shadow: 0 0 22px rgba(255, 200, 80, .85), 0 4px 10px #000; animation: schrift 1.1s ease-out forwards; }
.schrift.weh { color: #fff; text-shadow: 0 0 22px rgba(255, 110, 90, .95), 0 4px 10px #000; }
@keyframes schrift { 0% { transform: scale(.4); opacity: 0; } 18% { transform: scale(1.15); opacity: 1; } 30% { transform: scale(1); } 75% { opacity: 1; } 100% { transform: translateY(-24px) scale(1.04); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .schrift { animation: none; opacity: 0; } }
#partie:has(.mo-start) #meldungen, #partie:has(.wand-tafel) #meldungen { top: auto; bottom: 120px; }

.fenster { position: absolute; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; background: rgba(6, 10, 6, .5); }
.f-box { position: relative; width: min(700px, 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: #c9a24a transparent; box-sizing: border-box; }
.f-box h2 { margin: 0 44px 12px 0; font-size: 22px; color: var(--acc-hell); }
.f-box.f-klein { width: min(440px, 92%); }
.f-box.f-breit { width: min(960px, 94%); }
.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); }
.f-text p { margin: 0 0 8px; }
.f-text .kasten60 { border: 1px solid var(--fenster-rand); border-radius: 10px; padding: 8px 12px; background: rgba(201, 162, 74, .12); }
.f-text kbd { font: 13px monospace; border: 1px solid var(--fenster-rand); border-radius: 4px; padding: 1px 5px; }
#pop-text { font-size: 15px; line-height: 1.5; }
#pop-btns { display: flex; gap: 8px; margin-top: 14px; }
#pop-btns button { flex: 1; padding: 11px 12px; border-radius: 9px; font-weight: 700; font-size: 14px; cursor: pointer; border: 1px solid var(--fenster-rand); min-height: 44px; }
#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 #8fc7ff; }
.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: 1fr 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; }
#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; }
.ar-allein { grid-column: 1 / -1; margin: 0 0 4px; font-size: 14px; color: var(--fenster-t); }
.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: 110px 1fr 80px 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; font-family: inherit; }
.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; }
.fi-bild { position: relative; display: flex; justify-content: center; }
#fi-mund { position: relative; width: min(440px, 60vh); aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 10px var(--messing2), 0 0 0 12px var(--messing3); background: #120c06; overflow: clip; }
#fi-regler { width: 100%; margin: 18px 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: 160px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }

#en-box, #pause-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; }
.en-spalten, .en-l, .en-r { display: contents; }

#stage.hoch .lo-raum { display: none; }
#stage.hoch .lo-mitte { flex-direction: column; }
#stage.hoch .lo-chat { flex: 2.6 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; flex-wrap: wrap; gap: 8px; }
#stage.hoch .lo-kopf-r > * { flex: none; }
#stage.hoch .lo-kopf-r .kb, #stage.hoch .lo-kopf-r .kb-ic { min-height: 66px; min-width: 66px; font-size: 18px; padding: 6px 12px; }
#stage.hoch .lo-tabs button { min-height: 66px; font-size: 17px; }
#stage.hoch #lobby .kb { font-size: 17px; }
#stage.hoch #lobby .lo-kachel b { font-size: 20px; }
#stage.hoch #lobby .lo-kachel small { font-size: 16.5px; }
#stage.hoch .lo-kachel { padding: 6px 12px; }
#stage.hoch #chatwin, #stage.hoch .lo-hinweis, #stage.hoch .lo-label, #stage.hoch .lo-ich, #stage.hoch .it, #stage.hoch .it .elo { font-size: 16.5px; }
#stage.hoch .it { min-height: 66px; }
#stage.hoch #chatin, #stage.hoch #pmin { min-height: 66px; font-size: 18px; }
#stage.hoch #kopf { left: 10px; right: 10px; top: 8px; height: 144px; display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: 66px 66px; gap: 8px; }
#stage.hoch .schild { min-width: 0; padding: 4px 10px; height: 66px; }
#stage.hoch .schild.gegner { padding-left: 6px; }
#stage.hoch #k-ich { grid-column: 1; grid-row: 1; }
#stage.hoch #k-uhr { grid-column: 2; grid-row: 1; height: 66px; min-width: 112px; border-width: 3px; padding: 0 10px; }
#stage.hoch #k-er { grid-column: 3; grid-row: 1; }
#stage.hoch .k-knoepfe { margin-left: 0; grid-column: 1 / 4; grid-row: 2; justify-content: flex-end; }
#stage.hoch .k-knoepfe .kb, #stage.hoch .k-knoepfe .kb-ic { height: 66px; min-width: 66px; font-size: 18px; }
#stage.hoch .s-name, #stage.hoch .uhr small, #stage.hoch .s-zahl { font-size: 16.5px; }
#stage.hoch .s-ava { display: none; }
#stage.hoch .s-stufe, #stage.hoch .pip { display: none; }
#stage.hoch #rohr, #stage.hoch #countdown { left: 30px; top: 186px; width: 480px; height: 480px; }
#stage.hoch #countdown { font-size: 64px; }
#stage.hoch #flansch { inset: -26px; }
#stage.hoch #schein { left: 10px; top: 688px; width: auto; right: 10px; height: 76px; font-size: 16.5px; }
#stage.hoch .emaille { top: 776px; width: 254px; padding: 8px 10px; }
#stage.hoch #links { left: 10px; } #stage.hoch #rechts { right: 10px; }
#stage.hoch .em-kopf, #stage.hoch .emaille .zeile, #stage.hoch .mano span, #stage.hoch .gs small { font-size: 16.5px; }
#stage.hoch .em-stand { height: 48px; } #stage.hoch .em-stand b { font-size: 40px; }
#stage.hoch .mano svg { width: 120px; height: 72px; }
#stage.hoch #schnellchat .kb { min-height: 66px; font-size: 16.5px; }
#stage.hoch.finger #links { width: 296px; height: 236px; overflow: hidden; }
#stage.hoch.finger .mano, #stage.hoch.finger #rechts { display: none; }
#stage.hoch #tastfeld { left: auto; right: 10px; top: 776px; bottom: auto; width: 224px; height: 236px; padding: 12px 12px 30px; }
#stage.hoch #tastfeld small { font-size: 16.5px; bottom: 2px; }
#stage.hoch #meldungen { left: 16px; right: 16px; top: 196px; }
#stage.hoch .meldung { font-size: 18px; }
#stage.hoch .schrift { font-size: 46px; }
#stage.hoch .flug { font-size: 38px; }
#stage.hoch .fenster:not(#ende):not(#pause) .f-box { zoom: 1.4; width: 66%; max-height: 64%; }
#stage.hoch .vs-zwei { grid-template-columns: 1fr; }
#stage.hoch .ar-zeile, #stage.hoch .ar-stat { grid-template-columns: 1fr 1fr; }
#stage.hoch #partie:has(.mo-start) #meldungen, #stage.hoch #partie:has(.wand-tafel) #meldungen { top: 680px; bottom: auto; }

#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 #kopf { height: 74px; top: 4px; left: 8px; right: 8px; gap: 6px; }
#stage.quer-handy .schild { height: 70px; min-width: 0; flex: 1 1 0; padding: 2px 8px; }
#stage.quer-handy .schild.gegner { padding-left: 4px; gap: 6px; }
#stage.quer-handy .s-name, #stage.quer-handy .uhr small, #stage.quer-handy .s-zahl { font-size: 17px; }
#stage.quer-handy .s-stufe, #stage.quer-handy .pip, #stage.quer-handy .s-ava, #stage.quer-handy #b-regeln { display: none; }
#stage.quer-handy .uhr { height: 70px; min-width: 112px; padding: 0 10px; }
#stage.quer-handy .k-knoepfe { gap: 5px; }
#stage.quer-handy .k-knoepfe .kb, #stage.quer-handy .k-knoepfe .kb-ic { height: 74px; min-width: 74px; padding: 0 8px; }
#stage.quer-handy #rohr, #stage.quer-handy #countdown { --rd: calc(var(--bh, 600px) - 108px); left: calc(50% - var(--rd) / 2 - 10px); top: 88px; width: var(--rd); height: var(--rd); }
#stage.quer-handy #countdown { font-size: 60px; }
#stage.quer-handy #flansch { inset: -20px; }
#stage.quer-handy #schein { left: 8px; top: auto; bottom: 8px; width: 290px; height: auto; min-height: 120px; max-height: calc(var(--bh, 600px) - 384px); font-size: 17px; padding: 6px 10px 6px 18px; flex-direction: column; align-items: flex-start; gap: 6px; }
#stage.quer-handy #schein .stempel, #stage.hoch #schein .stempel { font-size: 17px; }
#stage.quer-handy .mano { display: none; }
#stage.quer-handy .emaille { top: 84px; width: 290px; padding: 8px 10px; }
#stage.quer-handy #links { left: 8px; }
#stage.quer-handy #rechts { right: 8px; }
#stage.quer-handy .em-kopf, #stage.quer-handy .emaille .zeile, #stage.quer-handy .mano span, #stage.quer-handy .gs small { font-size: 17px; }
#stage.quer-handy #rechts .zeile, #stage.quer-handy #schnellchat { display: none; }
#stage.quer-handy.finger #rechts { display: none; }
#stage.quer-handy #tastfeld { right: 8px; bottom: 8px; width: 290px; height: calc(var(--bh, 600px) - 92px); max-height: 380px; padding: 14px 10px 44px; }
#stage.quer-handy #tastfeld small { font-size: 17px; bottom: 10px; }
#stage.quer-handy #meldungen { left: calc(50% - 220px); right: calc(50% - 220px); top: 96px; }
#stage.quer-handy .meldung { font-size: 18px; }
#stage.quer-handy .schrift { font-size: 46px; }
#stage.quer-handy .fenster:not(#ende):not(#pause) .f-box { zoom: 1.5; width: 60%; max-height: 60%; }
#stage.quer-handy .en-spalten { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; align-items: start; }
#stage.quer-handy .en-l, #stage.quer-handy .en-r { display: block; min-width: 0; }
#stage.quer-handy #en-box { width: 96%; }
#stage.quer-handy #en-box .mo-kacheln { grid-template-columns: 1fr 1fr; }
#stage.quer-handy #partie:has(.mo-start) #meldungen, #stage.quer-handy #partie:has(.wand-tafel) #meldungen { top: auto; bottom: 90px; }
@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; }
}
#stage.hoch, #stage.quer-handy { --mo-fs-klein: 17px; --mo-fs-min: 17px; --mo-ziel: 66px; }
#stage.hoch .mo-tafel, #stage.quer-handy .mo-tafel { font-size: 17px; }
#stage.hoch .en-knoepfe .taste, #stage.hoch .en-knoepfe .kb, #stage.quer-handy .en-knoepfe .taste, #stage.quer-handy .en-knoepfe .kb { min-height: 66px; font-size: 18px; padding: 0 18px; }
#stage.hoch .mo-tafel .f-zu, #stage.quer-handy .mo-tafel .f-zu { width: 66px; height: 66px; }
#stage.hoch .mo-platz small, #stage.quer-handy .mo-platz small, #stage.hoch .mo-tafel small, #stage.quer-handy .mo-tafel small { font-size: 17px; }
#stage.hoch #en-box, #stage.hoch #pause-box { width: 96%; }
:root[data-ansicht="schirm"] .emaille, :root[data-ansicht="schirm"] .schild, :root[data-ansicht="schirm"] .uhr { --emaille1: #0a1a10; --emaille2: #06120a; --emaille-t: #c8ffd6; --emaille-leise: #6fd08f; --emaille-rand: #3dff7a; --mano-skala: #3dff7a; --mano-zeiger: #eaff6a; }
:root[data-ansicht="schirm"] .uhr { background: #06120a; border-color: #3dff7a; }
:root[data-ansicht="schirm"] .mano { background: #06120a; border-color: #3dff7a; }
:root[data-ansicht="schirm"] #schein { --papier1: #0a1a10; --papier2: #06120a; --papier-t: #c8ffd6; border: 1px solid #3dff7a; }
:root[data-ansicht="schirm"] #schein .stempel { border-color: #eaff6a; color: #eaff6a; }
#stage.quer-handy .en-knoepfe .taste, #stage.quer-handy .en-knoepfe .kb { min-height: 76px; padding: 0 22px; }
#stage.quer-handy .mo-tafel .f-zu { width: 76px; height: 76px; }
#stage.hoch .mano { display: none; }
#stage.hoch #lobby .lo-kachel { gap: 2px; padding: 4px 10px; }
#stage.hoch #lobby .lo-kachel b { font-size: 19px; }
#rohr .mo-flug .mo-band span { display: inline-block; width: 440px; max-width: 92%; box-sizing: border-box; white-space: nowrap; text-align: center; }

.amt-leiter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 8px 0 4px; }
.amt-leiter .amt { border: 1px solid var(--mo-rand); border-radius: 8px; padding: 4px 4px 6px; background: rgba(0, 0, 0, .18); text-align: center; }
.amt-leiter .amt.jetzt { border-color: var(--mo-akzent); box-shadow: 0 0 0 1px var(--mo-akzent) inset; }
.amt-leiter small { display: block; font-size: 12.5px; letter-spacing: .04em; color: var(--mo-akzent2, #f2ead4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.amt-leiter span { display: flex; justify-content: center; gap: 3px; margin-top: 3px; }
.amt-leiter i { width: 9px; height: 9px; border-radius: 2px; border: 1px solid var(--mo-akzent); box-sizing: border-box; }
.amt-leiter i.voll { background: var(--mo-akzent); }
.amt-leiter i.hier { background: transparent; box-shadow: 0 0 6px var(--mo-akzent); animation: amtHier 1.2s ease-in-out infinite; }
@keyframes amtHier { 50% { background: var(--mo-akzent); } }
.amt-nacht { margin: 2px 0 6px; font-size: 14px; color: var(--mo-akzent); }
#stage.hoch .amt-leiter small, #stage.quer-handy .amt-leiter small { font-size: 16.5px; }
#stage.hoch .amt-leiter i, #stage.quer-handy .amt-leiter i { width: 12px; height: 12px; }
#stage[data-amt="2"] #kulisse { filter: hue-rotate(-14deg) saturate(1.08); }
#stage[data-amt="3"] #kulisse { filter: sepia(.18) hue-rotate(-28deg); }
#stage[data-amt="4"] #kulisse { filter: hue-rotate(16deg) brightness(.92); }
#stage[data-amt="nacht"] #kulisse { filter: brightness(.7) saturate(.85); }
.rg-bilder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 8px; }
.rg-bilder figure { margin: 0; text-align: center; }
.rg-bilder svg { width: 100%; max-width: 120px; display: block; margin: 0 auto 4px; }
.rg-bilder figcaption { font-size: 14px; line-height: 1.3; }
#stage.hoch .rg-bilder figcaption, #stage.quer-handy .rg-bilder figcaption { font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .amt-leiter i.hier { animation: none; background: var(--mo-akzent); } }
#stage.hoch #lobby .lo-kachel b { max-width: 100%; display: block; }
.schrift { top: 52%; }
#stage.hoch #meldungen, #stage.hoch #partie:has(.mo-start) #meldungen, #stage.hoch #partie:has(.wand-tafel) #meldungen { top: 150px; bottom: auto; }
#stage.hoch .wand-tafel .mo-mini-kopf, #stage.hoch .wand-tafel .mo-mini-kopf i, #stage.hoch .wand-tafel .mo-mini-fuss, #stage.quer-handy .wand-tafel .mo-mini-kopf, #stage.quer-handy .wand-tafel .mo-mini-kopf i, #stage.quer-handy .wand-tafel .mo-mini-fuss { font-size: 17px; }
.emaille, .schild { background-image: repeating-linear-gradient(115deg, rgba(0, 0, 0, .025) 0 2px, transparent 2px 6px), linear-gradient(180deg, var(--emaille1), var(--emaille2)); }
#schein { background-image: repeating-linear-gradient(180deg, transparent 0 21px, rgba(120, 100, 70, .22) 21px 22px), linear-gradient(180deg, var(--papier1), var(--papier2)); }
#tastfeld { background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 3px), linear-gradient(160deg, var(--messing1), var(--messing2) 55%, var(--messing3)); }
#stage.hoch .em-kopf { white-space: normal; }
.emaille, .schild { background-color: var(--emaille1); }
#schein { background-color: var(--papier1); }
#tastfeld { background-color: var(--messing2); }
#lobby .lo-kachel > * { max-width: 100%; box-sizing: border-box; }
#stage.hoch #lobby .lo-kachel small, #stage.hoch #lobby .lo-kachel b { width: 100%; }
#stage.hoch .fenster:not(#ende):not(#pause) .f-zu { width: 48px; height: 48px; }
#stage.hoch #lobby .lo-kachel small { white-space: normal; overflow: visible; text-overflow: clip; display: block; }
#stage.hoch .lo-chat { flex: 1.5 1 0; }
#stage.hoch .lo-start { flex: 2.2 1 0; }
#stage.hoch .fenster .f-zu { width: 70px; height: 70px; }
#stage.hoch .fenster:not(#ende):not(#pause) .vs-liste button { min-height: 72px; }
:root[data-ansicht="tag"] .schrift.weh { color: #8e1a12; text-shadow: 0 0 18px rgba(255, 255, 255, .95), 0 2px 4px rgba(255, 255, 255, .9); }
:root[data-ansicht="tag"] .schrift { color: #7a4a0c; text-shadow: 0 0 18px rgba(255, 255, 255, .95), 0 2px 4px rgba(255, 255, 255, .9); }
#stage.quer-handy .fenster .f-zu { width: 76px; height: 76px; }
#stage.quer-handy .fenster:not(#ende):not(#pause) .vs-liste button { min-height: 76px; }
#stage.hoch .lo-chat { flex: 1.2 1 0; }
#stage.hoch .lo-start { flex: 2.8 1 0; }
#stage.hoch #lobby .lo-kachel { gap: 0; padding: 2px 10px; }
#stage.hoch #lobby .lo-kachel b { flex: none; }
#stage.hoch .lo-spieler { flex: .75 1 0; }
#stage #lobby .lo-start { flex-shrink: 0; flex-basis: auto; }
#lobby .lo-kacheln { grid-auto-rows: minmax(min-content, 1fr); }
#stage.hoch #lobby .lo-kachel small { display: block; white-space: normal; }

#guck { position: absolute; z-index: 0; border-radius: 50%; overflow: hidden; pointer-events: none; opacity: .5; filter: sepia(.55) contrast(.9);
  box-shadow: inset 0 0 0 2px rgba(255, 210, 140, .35), 0 0 12px rgba(0, 0, 0, .6); background: radial-gradient(circle, #3a2a16, #120c06); }
#guck img { width: 100%; height: 100%; object-fit: cover; display: block; }
#guck svg { width: 70%; height: 70%; margin: 15%; stroke: #c9a24a; fill: none; }
#mund > .v3d { z-index: 1; }
#rohr.nebel #mund::after { content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; z-index: 2;
  background: radial-gradient(circle at 50% 50%, rgba(200, 200, 190, .32), rgba(150, 150, 140, .5) 70%, rgba(90, 90, 80, .3)); animation: rpNebel 3s ease-out both; }
@keyframes rpNebel { 0% { opacity: 0; transform: scale(.15); } 22% { opacity: 1; transform: scale(1); } 80% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
#schein.dran { box-shadow: 0 0 0 3px #ffcf5a, 0 0 18px rgba(255, 207, 90, .55); animation: rpDran 1.1s ease-in-out infinite alternate; }
@keyframes rpDran { from { box-shadow: 0 0 0 2px #ffcf5a88, 0 0 6px rgba(255, 207, 90, .3); } to { box-shadow: 0 0 0 3px #ffcf5a, 0 0 18px rgba(255, 207, 90, .6); } }
.zeile.eilfrist b { color: #c0392b; } .zeile.eilfrist.knapp b { animation: rpKnapp .5s steps(2) infinite; }
@keyframes rpKnapp { 50% { opacity: .35; } }
.zeile.extra-an b { color: #0e7a55; }
.wand-tafel .mo-mini-fuss { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.wt-sterne { display: flex; gap: 6px; justify-content: center; }
.wt-sterne .stern { fill: rgba(0, 0, 0, .25); stroke: #c9a24a; stroke-width: 1.3; }
.wt-sterne .stern.an { fill: #ffcf5a; stroke: #8a5a10; animation: rpStern .45s cubic-bezier(.3, 1.6, .5, 1) both; }
.wt-sterne .stern.an:nth-child(2) { animation-delay: .15s; } .wt-sterne .stern.an:nth-child(3) { animation-delay: .3s; }
@keyframes rpStern { from { transform: scale(0) rotate(-40deg); } to { transform: none; } }
.wt-grund { font-size: 12.5px; opacity: .85; }
.ar-netz { margin-bottom: 10px; border: 1px solid var(--fenster-rand); border-radius: 10px; padding: 8px 10px; background-color: rgba(0, 0, 0, .14); }
.ar-netz-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; color: var(--fenster-t); font-size: 15px; }
.ar-netz-kopf small { font-size: 12.5px; color: var(--fenster-leise); }
.rohrnetz { width: 100%; max-width: 420px; height: auto; display: block; margin: 4px auto; overflow: visible; }
.rohrnetz .spree { stroke: #5b8fb0; stroke-width: 9; opacity: .45; stroke-linecap: round; }
.rohrnetz .leitung { stroke: #c9a24a; stroke-width: 4; stroke-dasharray: 10 5; }
.rohrnetz .station circle { fill: #2a1f14; stroke: #c9a24a; stroke-width: 3; }
.rohrnetz .station.besucht circle { fill: #ffcf5a; }
.rohrnetz text { font: 700 18px var(--font-ui); fill: var(--fenster-t); }
.rohrnetz text.zahl { font-size: 16px; font-weight: 400; fill: var(--fenster-leise); }
.rohrnetz .marke path { stroke: #fff3d6; stroke-width: 1.5; }
.rohrnetz .wf { fill: rgba(0, 0, 0, .25); stroke: #8a6420; stroke-width: 1; }
.rohrnetz .wf.s1 { fill: #8a6420; } .rohrnetz .wf.s2 { fill: #c9933a; } .rohrnetz .wf.s3 { fill: #ffcf5a; }
.rohrnetz .marke rect { fill: #c0392b; stroke: #fff3d6; stroke-width: 2; stroke-dasharray: 2 1.5; }
.rohrnetz .marke circle { fill: none; stroke: #fff3d6; stroke-width: 1.5; }
.ar-aufgaben { margin-top: 6px; color: var(--fenster-t); font-size: 14px; }
.ar-aufgaben ul { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 3px; }
.ar-aufgaben li { display: flex; align-items: center; gap: 8px; }
.ar-aufgaben li svg { width: 18px; height: 18px; stroke: #0e7a55; fill: none; flex: none; }
.ar-aufgaben li.ok span { text-decoration: line-through; opacity: .75; }
.ar-aufgaben i.offen { width: 14px; height: 14px; border: 2px solid var(--fenster-rand); border-radius: 3px; flex: none; margin: 0 2px; }
.ar-aufgaben small { font-size: 12.5px; color: var(--fenster-leise); }
#schein.lang { padding-top: 3px; padding-bottom: 3px; } #schein.lang #s-text { line-height: 1.17; }
#stage.hoch #vorspann.fenster:not(#ende):not(#pause) .f-box, #stage.hoch #archiv.fenster:not(#ende):not(#pause) .f-box,
#stage.hoch #einst.fenster:not(#ende):not(#pause) .f-box, #stage.hoch #regeln.fenster:not(#ende):not(#pause) .f-box { zoom: 1.3; width: 92%; max-height: 92%; }
#stage.hoch #vorspann .vs-zwei { grid-template-columns: 3fr 2fr; gap: 8px; }
.vs-gesicht > span { min-width: 0; }
#stage.hoch #vorspann .vs-gesicht { flex-direction: column; text-align: center; gap: 3px; }
#stage.hoch #vorspann .vs-gesicht img { width: 34px; height: 34px; }
#stage.quer-handy #vorspann .vs-gesicht { gap: 5px; } #stage.quer-handy #vorspann .vs-gesicht img { width: 30px; height: 30px; }
#stage.quer-handy #vorspann #vs-gegner button { padding: 4px 5px; }
.wt-grund { font-size: 1em; }
.ar-aufgaben li span { min-width: 0; overflow-wrap: anywhere; }
#stage.quer-handy #vorspann.fenster:not(#ende):not(#pause) .f-box, #stage.quer-handy #archiv.fenster:not(#ende):not(#pause) .f-box,
#stage.quer-handy #einst.fenster:not(#ende):not(#pause) .f-box, #stage.quer-handy #regeln.fenster:not(#ende):not(#pause) .f-box { width: 94%; max-height: 94%; }
#stage.quer-handy #vorspann .f-box { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; align-content: start;
  grid-template-areas: "titel titel" "gegner r1" "info r2" "los r3"; }
#stage.quer-handy #vorspann .f-zu { grid-area: titel; justify-self: end; margin: 0; }
#stage.quer-handy #vorspann #vs-titel { grid-area: titel; margin-bottom: 4px; }
#stage.quer-handy #vorspann #vs-gegnerblock, #stage.quer-handy #vorspann #vs-artblock { grid-area: gegner; }
#stage.quer-handy #vs-r1 { grid-area: r1; } #stage.quer-handy #vs-r2 { grid-area: r2; } #stage.quer-handy #vs-r3 { grid-area: r3; }
#stage.quer-handy #vorspann .vs-zwei { grid-template-columns: 3fr 2fr; gap: 8px; }
#stage.quer-handy #vorspann .vs-info { grid-area: info; min-height: 0; margin: 6px 0; }
#stage.quer-handy #vorspann .vs-los { grid-area: los; align-self: end; }
#stage.quer-handy #vorspann .vs-label { margin: 4px 0 3px; }
#stage.quer-handy #vorspann.fenster:not(#ende):not(#pause) .vs-liste button { min-height: 64px; }
#stage.quer-handy #vorspann #vs-titel { margin: 0; align-self: center; font-size: 20px; }
#stage.quer-handy #vorspann .vs-info { font-size: 13px; line-height: 1.3; margin: 4px 0; }
#stage.quer-handy #vorspann .f-box { padding-top: 8px; padding-bottom: 8px; row-gap: 0; }
#stage.quer-handy #einst .f-box { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; align-content: start; }
#stage.quer-handy #einst .f-zu { grid-column: 2; grid-row: 1; justify-self: end; margin: 0; }
#stage.quer-handy #einst h2 { grid-column: 1; grid-row: 1; }
#stage.quer-handy #einst .vs-info { grid-column: 1 / -1; }
#stage.quer-handy #einst .vs-label { margin: 4px 0 3px; }
#stage.quer-handy #einst.fenster:not(#ende):not(#pause) .vs-liste button { min-height: 64px; }
#stage.quer-handy #rg-text { column-count: 2; column-gap: 24px; }
#stage.quer-handy #rg-text h3 { break-after: avoid; } #stage.quer-handy #rg-text .rg-bilder, #stage.quer-handy #rg-text .kasten60 { break-inside: avoid; }
.ar-aufg { color: var(--fenster-t); font-size: 14px; margin-bottom: 10px; }
.ar-rang { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 6px; }
.ar-rang b { font-size: 16px; color: var(--acc-hell); } .ar-rang small { font-size: 12.5px; color: var(--fenster-leise); }
.ar-auftraege { margin-top: 8px; } .ar-auftraege ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 3px; }
.ar-auftraege li { display: grid; grid-template-columns: 7.5em auto 1fr; align-items: center; gap: 8px; }
.af-amt { font-weight: 700; } .af-kast { display: flex; gap: 3px; }
.af-kast i { width: 12px; height: 12px; border: 2px solid var(--fenster-rand); border-radius: 2px; box-sizing: border-box; }
.af-kast i.ok { background: #ffcf5a; border-color: #8a5a10; }
#stage.quer-handy .k-knoepfe .kb, #stage.quer-handy .lo-kopf-r .kb { font-size: 19px; }
#rohr .mo-flug.lang .mo-band span { font-size: 16px; letter-spacing: .04em; }
#stage.hoch #rohr .mo-flug.lang .mo-band span, #stage.quer-handy #rohr .mo-flug.lang .mo-band span { font-size: 19px; }
#flansch .niet.an { background: radial-gradient(circle at 35% 35%, #fffbe6, #ffcf5a 55%, #a86a10); box-shadow: 0 0 8px 2px rgba(255, 207, 90, .75); transition: background .15s, box-shadow .15s; }
#flansch .niet.heiss { background: radial-gradient(circle at 35% 35%, #fff3e0, #ff8a2a 55%, #8a2a08); box-shadow: 0 0 10px 3px rgba(255, 120, 40, .8); }
:root[data-ansicht="schirm"] #flansch .niet.an { background: #eaff6a; box-shadow: 0 0 8px #eaff6a; }
#rohr.matchball #flansch { animation: rpMatch 1.1s ease-in-out infinite; }
@keyframes rpMatch { 50% { filter: drop-shadow(0 0 14px rgba(220, 40, 30, .85)); } }
.em-kette { display: flex; align-items: center; gap: 3px; color: var(--emaille-t); }
.em-kette:empty { display: none; }
.em-kette .kt-titel { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--emaille-leise); margin-right: 4px; }
.em-kette svg { width: 24px; height: 14px; opacity: .35; }
.em-kette svg.an { opacity: 1; animation: rpGlied .3s cubic-bezier(.3, 1.8, .5, 1); }
.em-kette b { margin-left: 4px; color: #b3261e; font-size: 15px; }
@keyframes rpGlied { from { transform: scale(.2); } }
#stage.hoch .em-kette .kt-titel, #stage.quer-handy .em-kette .kt-titel { font-size: 15px; }
#links.post-wackel { animation: rpPost .35s ease-out; }
@keyframes rpPost { 30% { transform: rotate(-1.5deg) scale(1.02); } 65% { transform: rotate(1deg); } }
.rp-etikett { position: absolute; z-index: 8; pointer-events: none; transform: translate(-50%, -100%); padding: 2px 10px; border-radius: 10px; font: 700 15px var(--font-ui);
  background-color: rgba(20, 14, 6, .88); color: #ffe09a; border: 1px solid #c9a24a; animation: rpEtikett .9s ease-out both; }
#stage.hoch .rp-etikett, #stage.quer-handy .rp-etikett { font-size: 19px; }
@keyframes rpEtikett { 0% { opacity: 0; transform: translate(-50%, -60%) scale(.6); } 20% { opacity: 1; transform: translate(-50%, -120%) scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -190%); } }
.rp-durch { position: absolute; z-index: 8; pointer-events: none; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff4d0, #e0aa4c 45%, #6a4a14 80%); box-shadow: 0 0 18px rgba(255, 207, 90, .7); }
#k-uhr { position: relative; }
#k-uhr.verlust { animation: rpWackel .45s ease-out; }
@keyframes rpWackel { 20% { transform: translateX(-5px) rotate(-3deg); } 45% { transform: translateX(5px) rotate(3deg); } 70% { transform: translateX(-3px); } }
.rp-kfall { position: absolute; left: 50%; top: 60%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 35% 35%, #fff4d0, #e0aa4c 50%, #6a4a14); animation: rpKfall .9s ease-in forwards; }
@keyframes rpKfall { 0% { transform: translateY(0) scale(1); opacity: 1; } 60% { opacity: 1; } 100% { transform: translateY(90px) rotate(200deg) scale(.6); opacity: 0; } }
.rp-post { position: absolute; z-index: 8; pointer-events: none; width: 30px; height: 30px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .55)); }
.rp-post svg { width: 100%; height: 100%; display: block; }
.rp-eilt { position: absolute; left: 50%; top: 50%; z-index: 7; pointer-events: none; font: 900 58px var(--font-zier); letter-spacing: .12em; text-transform: uppercase; color: #c0392b;
  border: 5px solid #c0392b; border-radius: 10px; padding: 0 18px; background-color: rgba(255, 244, 214, .35); animation: rpEilt 1.3s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes rpEilt { 0% { transform: translate(-50%, -50%) scale(2.6) rotate(-4deg); opacity: 0; } 22% { transform: translate(-50%, -50%) scale(1) rotate(-12deg); opacity: .95; } 78% { opacity: .9; } 100% { transform: translate(-50%, -50%) scale(1) rotate(-12deg); opacity: 0; } }
#guck.nick img, #guck.nick svg { animation: rpNick .6s ease-in-out; }
#guck.schuettel img, #guck.schuettel svg { animation: rpSchuettel .6s ease-in-out; }
@keyframes rpNick { 30% { transform: translateY(8%); } 60% { transform: translateY(-4%); } }
@keyframes rpSchuettel { 20% { transform: translateX(-8%) rotate(-6deg); } 45% { transform: translateX(8%) rotate(6deg); } 70% { transform: translateX(-5%); } }
.rp-blase { position: absolute; z-index: 7; pointer-events: none; transform: translate(-50%, calc(-100% - 10px)); max-width: 260px; padding: 6px 12px; border-radius: 12px;
  background-color: rgba(255, 248, 230, .95); color: #2a1a0a; font: 600 15px var(--font-ui); text-align: center; box-shadow: 0 4px 10px rgba(0, 0, 0, .5); animation: rpBlase 2.4s ease both; }
.rp-blase::after { content: ""; position: absolute; left: 50%; bottom: -8px; margin-left: -8px; border: 8px solid transparent; border-bottom: 0; border-top-color: rgba(255, 248, 230, .95); }
#stage.hoch .rp-blase, #stage.quer-handy .rp-blase { font-size: 19px; }
@keyframes rpBlase { 0% { opacity: 0; transform: translate(-50%, calc(-100% - 2px)) scale(.6); } 12% { opacity: 1; transform: translate(-50%, calc(-100% - 10px)) scale(1); } 85% { opacity: 1; } 100% { opacity: 0; } }
.rp-erledigt { position: absolute; right: 14px; top: -34px; z-index: 4; pointer-events: none; font: 900 22px var(--font-zier); letter-spacing: .1em; text-transform: uppercase; color: #b3261e;
  border: 3px solid #b3261e; border-radius: 6px; padding: 0 8px; background-color: rgba(255, 244, 214, .9); animation: rpErledigt 1.7s cubic-bezier(.2, 1.5, .4, 1) both; }
.rp-erledigt small { font-size: 14px; margin-left: 6px; }
@keyframes rpErledigt { 0% { transform: translateY(-50%) scale(2.4) rotate(6deg); opacity: 0; } 18% { transform: translateY(-50%) scale(1) rotate(-8deg); opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(-50%) scale(1) rotate(-8deg); opacity: 0; } }
.rp-rang { position: absolute; left: 50%; top: 56%; z-index: 7; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 4px; animation: rpRang 2.6s ease both; }
.rp-rang svg { width: 120px; height: 75px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .6)); }
.rp-rang b { font: 700 26px var(--font-zier); color: #ffcf5a; text-shadow: 0 2px 6px #000, 0 0 12px rgba(255, 207, 90, .6); background-color: rgba(10, 8, 4, .85); padding: 2px 14px; border-radius: 8px; }
@keyframes rpRang { 0% { opacity: 0; transform: translate(-50%, -20%) scale(.4); } 18% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } 28% { transform: translate(-50%, -50%) scale(1); } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -70%); } }
.rp-rekord { position: absolute; left: 50%; top: 50%; z-index: 7; pointer-events: none; }
.rk-kapsel { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff4d0, #e0aa4c 45%, #6a4a14 85%); box-shadow: 0 0 22px rgba(255, 207, 90, .8); animation: rpRkKapsel 2.6s ease both; }
.rk-urkunde { position: absolute; left: 0; top: -70px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; padding: 6px 18px; border-radius: 4px; white-space: nowrap;
  background-color: #f6ecd2; color: #3a2a14; font: 700 15px var(--font-zier); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 6px 14px rgba(0, 0, 0, .55); border: 2px solid #c9a24a; animation: rpRkUrkunde 2.6s ease both; transform-origin: top center; }
.rk-urkunde b { font-size: 26px; color: #8a2a08; letter-spacing: 0; }
@keyframes rpRkKapsel { 0% { transform: translateY(120px) scale(.4); opacity: 0; } 25% { transform: translateY(-60px) scale(1.1); opacity: 1; } 35% { transform: translateY(-60px) scale(1.5); opacity: 0; } 100% { opacity: 0; } }
@keyframes rpRkUrkunde { 0%, 30% { opacity: 0; transform: translateX(-50%) scaleY(0); } 42% { opacity: 1; transform: translateX(-50%) scaleY(1.05); } 48% { transform: translateX(-50%) scaleY(1); } 88% { opacity: 1; } 100% { opacity: 0; transform: translateX(-50%) translateY(-20px); } }
.rohrnetz.lauf { max-width: 300px; }
.rohrnetz .leitung-lauf { stroke: #ffcf5a; stroke-width: 5; stroke-dasharray: 100; stroke-dashoffset: 100; animation: rpLeitung 1.4s .4s ease-out forwards; filter: drop-shadow(0 0 3px rgba(255, 207, 90, .8)); }
@keyframes rpLeitung { to { stroke-dashoffset: calc(100 - var(--bis, 0)); } }
.rohrnetz .wf.neu { animation: rpSternNeu .5s cubic-bezier(.3, 1.8, .5, 1) both; transform-box: fill-box; transform-origin: center; }
@keyframes rpSternNeu { from { transform: scale(0); } }
@media (prefers-reduced-motion: reduce) {
  .rp-etikett, .rp-eilt, .rp-blase, .rp-erledigt, .rp-rang, .rp-rekord *, .rohrnetz .wf.neu, #rohr.matchball #flansch, #links.post-wackel, #k-uhr.verlust { animation: none; }
  .rohrnetz .leitung-lauf { animation: none; stroke-dashoffset: calc(100 - var(--bis, 0)); }
}
.em-geist { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: 13px; color: var(--emaille-t); }
.em-geist:empty { display: none; }
.em-geist span { color: var(--emaille-leise); letter-spacing: .04em; }
.em-geist b { color: var(--emaille-t); } .em-geist b.vorn { color: #0e7a55; }
:root[data-ansicht="schirm"] .em-geist b.vorn { color: #3dff7a; }
#stage.hoch .em-geist, #stage.quer-handy .em-geist { font-size: 16px; }
.rp-marke { position: absolute; left: 50%; top: 70%; z-index: 7; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 16px 8px;
  border-radius: 10px; background-color: rgba(14, 10, 4, .88); border: 1px solid #c9a24a; animation: rpRang 2.6s ease both; }
.rp-marke svg { width: 64px; height: 77px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .6)); }
.rp-marke b { font: 700 20px var(--font-zier); color: #ffcf5a; }
.rp-marke small { font-size: 14px; color: #f3e7c6; }
.mk .mk-rand { fill: #fff8e6; stroke: #c9a24a; stroke-width: 1.5; stroke-dasharray: 3 2; }
.mk .mk-bild { stroke: #8a6420; stroke-width: 1; }
.mk:not(.hat) .mk-rand { fill: rgba(0, 0, 0, .15); stroke: var(--fenster-rand); }
.mk .mk-frage { font: 700 16px var(--font-ui); fill: var(--fenster-leise); }
.ar-heft { margin-top: 10px; } .ar-heft > b { font-size: 15px; } .ar-heft > small { margin-left: 8px; font-size: 12.5px; color: var(--fenster-leise); }
.heft { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 8px; margin-top: 6px; }
.heft-m { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.heft-m svg { width: 34px; height: 41px; }
.heft-m span { font-size: 12.5px; line-height: 1.2; color: var(--fenster-leise); } .heft-m.hat span { color: var(--fenster-t); font-weight: 700; }
.ar-woche { margin-top: 10px; font-size: 14px; color: var(--fenster-t); }
.ar-woche > b { font-size: 15px; }
.ar-woche ol { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 2px; }
.ar-woche li { display: grid; grid-template-columns: 2em 1fr auto; gap: 6px; } .ar-woche li.ich { font-weight: 700; color: var(--acc-hell); }
.wo-vor { display: flex; align-items: center; gap: 6px; margin: 4px 0; } .wo-vor svg { width: 20px; height: 20px; flex: none; }
.wo-leer, .wo-ich { margin: 4px 0; font-size: 13px; color: var(--fenster-leise); }
@media (prefers-reduced-motion: reduce) { .rp-marke { animation: none; } }
.ar-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 0 0 10px; }
.ar-tabs button { min-height: 44px; padding: 4px 6px; border-radius: 8px; border: 1px solid var(--fenster-rand); background-color: rgba(0, 0, 0, .18); color: var(--fenster-t); font: 600 14px var(--font-ui); cursor: pointer; }
.ar-tabs button.an { background: linear-gradient(180deg, var(--messing1), var(--messing2)); background-color: var(--messing2); color: var(--messing-t); border-color: var(--messing3); }
#stage.hoch .ar-tabs button, #stage.quer-handy .ar-tabs button { font-size: 13px; padding: 4px 2px; }
#stage.quer-handy #archiv .ar-pane[data-t="netz"]:not([hidden]) { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; align-items: start; }
#stage.quer-handy #archiv .ar-pane[data-t="aufg"] .ar-aufg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#stage.quer-handy #archiv .heft { grid-template-columns: repeat(8, 1fr); }
#stage.quer-handy .ar-tabs button { min-height: 54px; }
#stage.quer-handy #archiv .rohrnetz { max-width: 330px; }
#stage.quer-handy #archiv h2 { margin-bottom: 6px; }
#stage.quer-handy #vorspann .f-box { padding-top:4px; padding-bottom:4px; }
#stage.quer-handy #vorspann .vs-label { margin:2px 0 1px; }
#stage.quer-handy #vorspann .vs-info { margin:0; }
.rp-lupe { position: absolute; right: 0; top: 0; z-index: 6; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 2px; animation: rpLupeAuf .3s cubic-bezier(.3, 1.5, .5, 1) both; }
.rp-lupe canvas { width: 150px; height: 150px; border-radius: 50%; border: 6px solid #b8862e; box-shadow: 0 0 0 2px #5b3d15, 0 8px 16px rgba(0, 0, 0, .6), inset 0 0 12px #000;
  background-color: #1e160e; }
.rp-lupe b { font: 700 14px var(--font-ui); color: #ffe09a; background-color: rgba(14, 10, 4, .88); padding: 2px 10px; border-radius: 8px; border: 1px solid #c9a24a; }
.rp-lupe.weg { animation: rpLupeWeg .25s ease-in both; }
#stage.hoch .rp-lupe canvas, #stage.quer-handy .rp-lupe canvas { width: 190px; height: 190px; }
#stage.hoch .rp-lupe b, #stage.quer-handy .rp-lupe b { font-size: 18px; }
@keyframes rpLupeAuf { from { transform: scale(.3); opacity: 0; } }
@keyframes rpLupeWeg { to { transform: scale(.6); opacity: 0; } }
.rp-dampf { position: absolute; z-index: 3; width: 26px; height: 26px; margin: -13px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .7), rgba(220, 220, 210, .25) 60%, transparent 72%); animation: rpDampf 1s ease-out both; }
@keyframes rpDampf { from { transform: scale(.4); opacity: .9; } to { transform: translate(var(--dx), var(--dy)) scale(2.4); opacity: 0; } }
.rp-kzahl { position: absolute; left: 0; top: 0; z-index: 7; pointer-events: none; min-width: 22px; padding: 1px 6px; border-radius: 10px; text-align: center;
  font: 700 14px var(--font-ui); color: #2a1a0a; background-color: rgba(255, 224, 154, .92); border: 1px solid #8a6420; will-change: transform; }
.rp-kzahl.heiss { background-color: rgba(255, 138, 42, .95); color: #fff; }
#stage.hoch .rp-kzahl, #stage.quer-handy .rp-kzahl { font-size: 18px; }
.kap-reihe { display: inline-flex; gap: 3px; align-items: center; vertical-align: middle; }
.kap-reihe .kap { width: 13px; height: 13px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff4d0, #e0aa4c 50%, #6a4a14); box-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.kap-reihe .kap.neu { animation: rpKapNeu .6s cubic-bezier(.3, 1.4, .5, 1) both; }
#stage.hoch .kap-reihe .kap, #stage.quer-handy .kap-reihe .kap { width: 16px; height: 16px; }
@keyframes rpKapNeu { from { transform: translateX(30px) rotate(360deg) scale(.4); opacity: 0; } }
.pip.neu { animation: rpPip .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes rpPip { 0% { transform: translateX(-14px) scale(.3) rotate(-200deg); } 70% { transform: scale(1.4); } }
#mano.zuck { animation: rpZuck .45s ease-out; }
@keyframes rpZuck { 25% { transform: rotate(-3deg) scale(1.04); } 55% { transform: rotate(2deg); } }
#k-ich.rekord { box-shadow: 0 0 0 3px #ffcf5a, 0 0 18px rgba(255, 207, 90, .6); }
.en-zahl { position: relative; }
.en-stempel { position: absolute; right: -4px; top: 50%; font: 900 18px var(--font-zier); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: #b3261e;
  border: 3px solid #b3261e; border-radius: 6px; padding: 0 8px; background-color: rgba(255, 244, 214, .9); pointer-events: none; animation: rpEnStempel .5s .9s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes rpEnStempel { from { transform: translateY(-50%) scale(2.6) rotate(10deg); opacity: 0; } to { transform: translateY(-50%) scale(1) rotate(-10deg); opacity: 1; } }
.en-verlauf { margin: 6px 0; }
.en-verlauf small { display: block; font-size: 12.5px; color: var(--mo-leise, #c9b89a); }
.en-verlauf svg { width: 100%; max-width: 260px; height: auto; display: block; }
.en-verlauf polyline { fill: none; stroke-width: 3; stroke-linejoin: round; }
.en-verlauf .vl-er { stroke: #8fc7ff; opacity: .8; }
.en-verlauf .vl-ich { stroke: #ffcf5a; stroke-dasharray: 100; stroke-dashoffset: 100; animation: rpVerlauf 1.2s .5s ease-out forwards; }
@keyframes rpVerlauf { to { stroke-dashoffset: 0; } }
.en-gegner { display: flex; align-items: center; gap: 10px; margin: 6px 0; }
.en-gegner img { width: 58px; height: 58px; border-radius: 50%; border: 3px solid #c9a24a; flex: none; }
.en-gegner p { margin: 0; font-size: 14px; line-height: 1.3; }
.en-gegner.froh img { animation: rpNick .6s .8s ease-in-out 2; }
.en-gegner.traurig img { animation: rpSchuettel .6s .8s ease-in-out 2; filter: saturate(.7); }
.lo-rohrpost { position: absolute; left: 0; right: 0; bottom: 1px; height: 10px; z-index: -1; pointer-events: none; overflow: clip; }
.lr-rohr { position: absolute; inset: 2px 0; border-radius: 4px; background: linear-gradient(180deg, #f1cf86, #b8862e 55%, #5b3d15); opacity: .55; }
.lr-kapsel { position: absolute; top: 0; left: -40px; width: 30px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, transparent, #fff4d0 60%, #e0aa4c);
  box-shadow: 0 0 10px rgba(255, 207, 90, .8); animation: rpLeitungKapsel 9s linear infinite; }
.lr-kapsel.zwei { animation-delay: -4.3s; animation-duration: 11s; }
@keyframes rpLeitungKapsel { 0% { left: -40px; } 9% { left: calc(100% + 40px); } 100% { left: calc(100% + 40px); } }
@media (prefers-reduced-motion: reduce) {
  .rp-lupe, .rp-lupe.weg, .kap-reihe .kap.neu, .pip.neu, #mano.zuck, .en-stempel, .en-gegner img, .lr-kapsel { animation: none; }
  .en-verlauf .vl-ich { animation: none; stroke-dashoffset: 0; }
}
.rp-aufpfeil { position: absolute; left: 50%; top: 50%; z-index: 6; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rp-aufpfeil svg { width: 64px; height: 64px; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .6)); }
.rp-aufpfeil b { font: 700 15px var(--font-ui); color: #ffe09a; background-color: rgba(14, 10, 4, .88); padding: 2px 10px; border-radius: 8px; border: 1px solid #c9a24a; white-space: nowrap; }
#stage.hoch .rp-aufpfeil b, #stage.quer-handy .rp-aufpfeil b { font-size: 19px; }
.rp-aufpfeil.zu-mir { animation: rpAufMir 1.3s ease-out both; } .rp-aufpfeil.zu-mir svg { transform: rotate(180deg); }
.rp-aufpfeil.weg { animation: rpAufWeg 1.3s ease-out both; }
@keyframes rpAufMir { 0% { transform: translate(-50%, -80%) scale(.3); opacity: 0; } 20% { opacity: 1; } 75% { opacity: 1; transform: translate(-50%, 0) scale(1.1); } 100% { transform: translate(-50%, 20%) scale(1.15); opacity: 0; } }
@keyframes rpAufWeg { 0% { transform: translate(-50%, 10%) scale(1.15); opacity: 0; } 20% { opacity: 1; } 75% { opacity: 1; transform: translate(-50%, -60%) scale(.55); } 100% { transform: translate(-50%, -70%) scale(.35); opacity: 0; } }
.rp-chip { position: absolute; left: 14px; top: -30px; z-index: 4; pointer-events: none; padding: 2px 10px; border-radius: 10px; font: 700 13px var(--font-ui);
  color: #2a1a0a; background-color: rgba(255, 224, 154, .95); border: 1px solid #8a6420; white-space: nowrap; animation: rpChip 1.5s ease both; }
#stage.hoch .rp-chip, #stage.quer-handy .rp-chip { font-size: 17px; }
@keyframes rpChip { 0% { transform: translateY(8px); opacity: 0; } 15% { transform: none; opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
.en-hoehe { margin: 6px 0; font-size: 13.5px; line-height: 1.35; }
.en-hoehe b { color: var(--mo-akzent, #ffcf5a); }
@media (prefers-reduced-motion: reduce) { .rp-aufpfeil, .rp-chip { animation: none; } }
.ausweichen { opacity: .28 !important; transition: opacity .12s; }
.schrift { top: 68%; }
#rohr .mo-flug { top: 7%; }
.rp-post b { position: absolute; right: -14px; top: -10px; font: 700 13px var(--font-ui); color: #2a1a0a; background-color: #ffe09a; border: 1px solid #8a6420; border-radius: 9px; padding: 0 5px; }
.rp-hand { position: absolute; left: 50%; top: 66%; z-index: 6; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 4px; animation: rpHand 2.6s ease-in-out both; }
.rp-hand svg { width: 70px; height: 82px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .6)); }
.rp-hand b { font: 700 15px var(--font-ui); color: #ffe09a; background-color: rgba(14, 10, 4, .88); padding: 2px 10px; border-radius: 8px; border: 1px solid #c9a24a; white-space: nowrap; }
#stage.hoch .rp-hand b, #stage.quer-handy .rp-hand b { font-size: 19px; }
@keyframes rpHand { 0% { opacity: 0; transform: translateX(-90%); } 15% { opacity: 1; transform: translateX(-90%); } 45% { transform: translateX(-10%); } 60% { transform: translateX(-90%); } 80% { opacity: 1; transform: translateX(-10%); } 100% { opacity: 0; transform: translateX(-50%); } }
.en-wdh { margin: 6px 0; }
.en-wdh small { display: block; font-size: 12.5px; color: var(--mo-leise, #c9b89a); margin-bottom: 4px; }
#wdh-platz { width: 150px; height: 150px; }
.wdh-rohr { position: relative; width: 150px; height: 150px; border-radius: 50%; overflow: clip; box-shadow: 0 0 0 4px #b8862e, 0 0 0 6px #5b3d15; }
@media (prefers-reduced-motion: reduce) { .rp-hand { animation: none; } .ausweichen { transition: none; } }
.en-reihe { display: flex; align-items: flex-end; gap: 12px; }
.en-reihe .en-verlauf { flex: 1; min-width: 0; margin: 0; }
.en-reihe .en-verlauf svg { max-width: 200px; }
.en-reihe .en-wdh { flex: none; margin: 0; }
#wdh-platz, .wdh-rohr { width: 110px; height: 110px; }
.en-gegner { margin: 4px 0; } .en-gegner img { width: 46px; height: 46px; }
#stage.quer-handy .en-reihe { display: none; }
#stage.quer-handy .en-gegner p { font-size: 19px; }
#stage.quer-handy .en-gegner img { width: 54px; height: 54px; }
#stage.quer-handy #en-box .en-zahl b { font-size: 64px; }
.amt-leiter { grid-template-columns: repeat(5, 1fr); }
.amt-leiter.sendung { grid-template-columns: repeat(6, 1fr); }
.amt-leiter small { white-space: normal; hyphens: auto; -webkit-hyphens: auto; line-height: 1.1; overflow: visible; }
#stage[data-amt="5"] #kulisse { filter: hue-rotate(-150deg) saturate(.75) brightness(.95); }
.ar-wst { margin-top: 12px; font-size: 14px; color: var(--fenster-t); }
.ar-wst > b { font-size: 15px; display: block; }
.ar-wst > small { display: block; font-size: 12.5px; color: var(--fenster-leise); margin: 2px 0 6px; }
.wst-balken { display: flex; align-items: flex-end; gap: 2px; height: 74px; padding: 0 2px; border-bottom: 1px solid var(--fenster-leise); }
.wst-balken i { flex: 1 1 0; min-width: 3px; background-color: #b8862e; border-radius: 2px 2px 0 0; }
.wst-balken i.schrank { background-color: #5a8a54; }
.wst-balken i.ich { background-color: #ffe09a; box-shadow: 0 0 0 1px #2a1a0a inset, 0 0 6px #ffe09a; }
.wst-achse { display: flex; justify-content: space-between; font-size: 12px; color: var(--fenster-leise); }
#stage.hoch .amt-nacht, #stage.quer-handy .amt-nacht { font-size: 19px; }
#stage.quer-handy #en-box .amt-leiter.sendung, #stage.quer-handy #en-box .amt-leiter.sendung + .amt-nacht, #stage.quer-handy #pause-box .amt-leiter.sendung, #stage.quer-handy #pause-box .amt-leiter.sendung + .amt-nacht { display: none; }
#stage.quer-handy #en-box details > summary { min-height: 76px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
