@font-face{font-family:'SGZ Ziffern';src:local('Times New Roman'),local('TimesNewRomanPSMT'),local('Liberation Serif'),local('LiberationSerif'),local('Tinos'),local('Noto Serif'),local('NotoSerif-Regular');font-weight:100 600;unicode-range:U+0030-0039}
@font-face{font-family:'SGZ Ziffern';src:local('Times New Roman Bold'),local('TimesNewRomanPS-BoldMT'),local('Liberation Serif Bold'),local('LiberationSerif-Bold'),local('Tinos Bold'),local('Noto Serif Bold'),local('NotoSerif-Bold');font-weight:700 900;unicode-range:U+0030-0039}
:root {
  --akzent: #e7c35a; --akzent2: #9fe8ff; --akzent3: #1a1410; --tief: #1d1410; --panel: rgba(16, 30, 48, .94); --panel2: rgba(16, 30, 48, .97);
  --text: #f1e8d6; --mute: #c9d6e2; --rand: rgba(233, 226, 207, .55); --knopf1: #2b4a6e; --knopf2: #18304c; --knopfText: #f1e8d6;
  --gruen: #7fd36b; --rot: #ff8a7a; --gold: #e7c35a; --emaille: rgba(16, 34, 56, .93); --emailleRand: #e9e2cf;
  --kopf: 'SGZ Ziffern', Georgia, 'Times New Roman', serif;
  --mo-grund: #12233a; --mo-grund2: #1c3352; --mo-akzent: #e7c35a; --mo-text: #f1e8d6; --mo-rand: rgba(159, 232, 255, .45);
}
html[data-ansicht="tag"] {
  --akzent: #9a5a1a; --akzent2: #1f6fa8; --akzent3: #f3ead6; --tief: #cdb79a; --panel: rgba(250, 244, 230, .94); --panel2: rgba(250, 244, 230, .97);
  --text: #23180e; --mute: #4c3a28; --rand: rgba(60, 40, 20, .45); --knopf1: #f1e3c2; --knopf2: #d8bf8c; --knopfText: #23180e;
  --gruen: #2e7d3a; --rot: #a3231b; --gold: #9a6a12; --emaille: rgba(250, 246, 234, .95); --emailleRand: #1e3c64;
}
body { background: var(--tief); color: var(--text); }
#kulisse { position: fixed; inset: 0; z-index: 0; overflow: clip; background: #2a1a14 url(img/kanal-nacht.webp?v=1795996416) center / cover no-repeat; }
body.hoch #kulisse { background-image: url(img/kanal-nacht-hoch.webp?v=1795996416); }
html[data-ansicht="tag"] #kulisse { background-image: url(img/kanal-tag.webp?v=1795996416); background-color: #9a6446; }
html[data-ansicht="tag"] body.hoch #kulisse { background-image: url(img/kanal-tag-hoch.webp?v=1795996416); }
#kulisse i { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 8% 30%, rgba(255, 180, 90, .22), transparent 16%), radial-gradient(circle at 92% 30%, rgba(255, 180, 90, .2), transparent 16%); animation: gaslicht 2.2s steps(5) infinite alternate; }
html[data-ansicht="tag"] #kulisse i { background: radial-gradient(ellipse at 22% 0%, rgba(255, 250, 220, .35), transparent 30%), radial-gradient(ellipse at 78% 0%, rgba(255, 250, 220, .3), transparent 28%); animation: licht 7s ease-in-out infinite alternate; }
@keyframes gaslicht { from { opacity: .35; } to { opacity: .7; } }
@keyframes licht { from { opacity: .6; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #kulisse i { animation: none; } }

#buehne { z-index: 1; grid-template-columns: 1fr !important; grid-template-rows: 1fr !important; }
body.schilder-klein .ecke #logo, body.schilder-klein .ecke #modus { display: none; }
#hud { display: none !important; }
#brettbox { overflow: clip; touch-action: none; display: block !important; }
#feld { position: absolute; z-index: 0; padding: 8px; border-radius: 12px; box-sizing: border-box;
  background: radial-gradient(circle at 10px 10px, rgba(255, 255, 255, .35) 0 2px, rgba(0, 0, 0, .35) 2.5px, transparent 3.5px) 0 0 / 40px 40px, repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 4px), linear-gradient(145deg, #8a8f88, #4d524c 55%, #3a3e39); border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 -2px 0 rgba(0, 0, 0, .4); }
html[data-ansicht="tag"] #feld { background: radial-gradient(circle at 10px 10px, rgba(255, 255, 255, .45) 0 2px, rgba(0, 0, 0, .3) 2.5px, transparent 3.5px) 0 0 / 40px 40px, repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 4px), linear-gradient(145deg, #b5b9b0, #7a7f76 55%, #5e625a); }
#brett { position: static; display: block; border-radius: 5px; pointer-events: none; }

#schilder { position: absolute; z-index: 3; pointer-events: none; --cw: 1000px; }
.ecke { position: absolute; box-sizing: border-box; pointer-events: auto; display: flex; flex-direction: column; gap: 3px; justify-content: flex-start;
  width: calc(25% - 10px); height: calc(30% - 10px); padding: 6px 9px; border-radius: 9px; background: var(--emaille); color: var(--text);
  border: 2px solid var(--emailleRand); box-shadow: 0 3px 8px rgba(0, 0, 0, .45), inset 0 0 0 2px rgba(0, 0, 0, .25);
  font-size: max(11px, calc(var(--cw) * .0145)); line-height: 1.2; overflow: clip; }
.ecke.ol { left: 5px; top: 5px; } .ecke.or { right: 5px; top: 5px; } .ecke.ul { left: 5px; bottom: 5px; } .ecke.ur { right: 5px; bottom: 5px; }
.ecke::before, .ecke::after { content: ''; position: absolute; top: 4px; width: 4px; height: 4px; border-radius: 50%; background: var(--emailleRand); opacity: .8; }
.ecke::before { left: 4px; } .ecke::after { right: 4px; }
.ecke #logo { font: 800 max(12px, calc(var(--cw) * .017))/1 var(--kopf); letter-spacing: 1px; text-align: left; padding: 0; }
.ecke #logo span, .ecke #logo b { text-shadow: none; } .ecke #logo b { color: var(--akzent); }
.ecke #modus { font: 600 max(11px, calc(var(--cw) * .012))/1.2 system-ui, sans-serif; color: var(--mute); text-align: left; min-height: 0; }
.ecke .wert { background: none; border: 0; padding: 0; text-align: left; }
#schilder .ecke .wert span, #schilder .ecke .zeile span { display: block; font: 600 max(11px, calc(var(--cw) * .011))/1.15 system-ui, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: var(--mute); }
.ecke .wert b { font: 800 max(17px, calc(var(--cw) * .03))/1.05 var(--kopf); color: var(--akzent); font-variant-numeric: lining-nums tabular-nums; font-kerning: none; }
.ecke #info { font-size: max(11px, calc(var(--cw) * .012)); color: var(--mute); text-align: left; }
.ecke .zeile { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.ecke .zeile b { font: 700 max(13px, calc(var(--cw) * .018))/1.1 var(--kopf); font-variant-numeric: lining-nums tabular-nums; font-kerning: none; display: flex; gap: 3px; align-items: center; }
.ecke .zeile b small { font-size: max(11px, .7em); color: var(--mute); font-weight: 600; }
.ecke #wZeit { display: flex; }
.ecke #wZeit b { font-size: max(13px, calc(var(--cw) * .018)); color: var(--text); }
i.figur { display: inline-block; width: max(10px, calc(var(--cw) * .014)); height: max(10px, calc(var(--cw) * .014)); border-radius: 50%; background: radial-gradient(circle at 50% 38%, #e8c79c 0 32%, #2f4f7a 34%); box-shadow: 0 0 0 1px rgba(0, 0, 0, .4); }
i.kr { display: inline-block; width: max(10px, calc(var(--cw) * .016)); height: max(8px, calc(var(--cw) * .011)); border-radius: 2px; background: #4a5458; }
i.kr.an { background: var(--gruen); }
i.sl { display: inline-block; width: max(11px, calc(var(--cw) * .015)); height: max(11px, calc(var(--cw) * .015)); border-radius: 50%; background: var(--f); border: 2px solid rgba(255, 255, 255, .7); }
#plan { width: 100%; height: auto; flex: 1; min-height: 0; object-fit: contain; image-rendering: auto; }
.uhr { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.uhr i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7fd36b, #e8b04a 70%, #d9534f); }
.uhrtext { font: 600 max(11px, calc(var(--cw) * .012))/1.2 system-ui, sans-serif; color: var(--mute); }
.uhrtext b { color: var(--text); font-family: var(--kopf); font-variant-numeric: lining-nums tabular-nums; }
.uhrtext b.rot, .ecke.knapp .uhrtext b { color: var(--rot); }
.ecke.knapp { border-color: #d9534f; }
.ecke #knoepfe { margin-top: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(40px, 1fr)); gap: 5px; }
.ecke #knoepfe button { height: 44px; }
#knoepfe.seitlich { position: absolute; right: 6px; top: 6px; z-index: 5; display: grid; grid-template-columns: repeat(2, 44px); gap: 6px; }
#knoepfe.seitlich button, body:not(.hoch) #knoepfe.seitlich button { height: 44px; width: 44px; }

body.schilder-unten #schilder { position: absolute; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 2px; --cw: 700px; }
body.schilder-unten .ecke { position: static; width: auto; height: 76px; }
body.schilder-unten #schilder > #knoepfe { grid-column: 1 / -1; display: flex; justify-content: center; gap: 8px; pointer-events: auto; }
body.schilder-unten #schilder > #knoepfe button { width: 52px; height: 44px; }
body.schilder-unten .ecke #logo { display: none; }
body.schilder-unten #plan { max-height: 44px; }

#steuer { display: none; position: absolute; inset: 0; pointer-events: none; z-index: 4; }
#steuer.an { display: block; }
#kreuz { position: absolute; left: 8px; bottom: 14px; width: 124px; height: 124px; border-radius: 50%; pointer-events: auto; touch-action: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .06), rgba(255, 255, 255, .14)); border: 2px solid rgba(233, 226, 207, .45); }
#kreuz i { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px; border-radius: 50%; background: rgba(233, 226, 207, .45); box-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
#feuer { position: absolute; right: 10px; bottom: 24px; width: 100px; height: 100px; border-radius: 50%; pointer-events: auto; touch-action: none;
  background: radial-gradient(circle at 40% 35%, #f3d77a, #b98a22); color: #1a1206; font: 800 16px system-ui, sans-serif; border: 2px solid rgba(0, 0, 0, .5); box-shadow: 0 4px 10px rgba(0, 0, 0, .5); }
body.schilder-unten #steuer { inset: auto 0 0 0; height: 170px; }
body.schilder-unten #kreuz { left: 18px; bottom: 16px; }
body.schilder-unten #feuer { right: 22px; bottom: 30px; }

#meld { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); z-index: 6; width: min(46%, 520px); display: flex; flex-direction: column; gap: 5px; pointer-events: none; }
body.schilder-unten #meld { width: min(92%, 520px); }
.meldung { padding: 6px 12px; border-radius: 9px; background: var(--panel2); color: var(--text); border: 1px solid var(--rand); font-size: 14px; line-height: 1.3; text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .4); animation: mrein .25s ease-out; transition: opacity .4s; }
.meldung.weg { opacity: 0; }
@keyframes mrein { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .meldung { animation: none; } }

#wahl { position: absolute; inset: 0; z-index: 7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: rgba(8, 14, 20, .7); padding: 16px; }
#wahl[hidden] { display: none; }
#wahl h2 { margin: 0; color: var(--akzent); font: 800 24px var(--kopf); }
#wahl .etagen { display: grid; grid-template-columns: repeat(2, minmax(140px, 240px)); gap: 10px; }
#wahl button { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--emailleRand); background: var(--emaille); color: var(--text); cursor: pointer; text-align: left; min-height: 44px; }
#wahl button b { font: 800 18px var(--kopf); color: var(--akzent); }
#wahl button span { font-size: 14px; }
#wahl button small { font-size: 12px; color: var(--mute); }
#wahl button:disabled { opacity: .5; border-style: dashed; cursor: not-allowed; }
#wahl button:not(:disabled):hover { filter: brightness(1.15); }

.knopf { color: var(--knopfText); }
#banner { color: var(--akzent); }
#zeit, #punkte { font-family: var(--kopf); font-variant-numeric: lining-nums tabular-nums; font-kerning: none; }
.endwert { color: var(--akzent); font-family: var(--kopf); font-variant-numeric: lining-nums tabular-nums; }
* { scrollbar-width: thin; scrollbar-color: var(--akzent) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-thumb { background: var(--akzent); border-radius: 4px; } ::-webkit-scrollbar-track { background: transparent; }

i.sl.flug { position: absolute; z-index: 8; margin: -8px 0 0 -8px; width: 16px; height: 16px; pointer-events: none; transition: transform .6s cubic-bezier(.3, .7, .3, 1); box-shadow: 0 0 10px var(--f); }
@media (prefers-reduced-motion: reduce) { i.sl.flug { transition: none; } }
#schildinfo { position: absolute; z-index: 9; padding: 9px 12px; border-radius: 10px; background: var(--panel2); color: var(--text); border: 2px solid var(--emailleRand);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .5); font-size: 13px; line-height: 1.35; pointer-events: none; }
#schildinfo[hidden] { display: none; }
#schildinfo > b:first-child { display: block; color: var(--akzent); margin-bottom: 2px; font-size: 14px; }
#schildinfo b + b, #schildinfo b:not(:first-child) { color: var(--akzent); }
.ecke { cursor: help; }
.ecke button { cursor: pointer; }
#wahl .zu { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 12px; border: 2px solid var(--emailleRand); background: var(--emaille); color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; }
#wahl .zu svg { width: 22px; height: 22px; }

.pflug { position: absolute; z-index: 8; transform: translate(-50%, -50%); font: 900 16px Georgia, serif; color: #ffd36b; text-shadow: 0 2px 3px rgba(0, 0, 0, .8); pointer-events: none; white-space: nowrap; }
.pflug.los { transition: transform .7s cubic-bezier(.55, -0.2, .4, 1), opacity .7s; opacity: .85; }
.pflug .figur { width: 16px; height: 16px; }
#wPunkte.puls b { animation: punktpuls .45s ease-out; }
@keyframes punktpuls { 0% { transform: scale(1); } 35% { transform: scale(1.22); color: #fff3c4; text-shadow: 0 0 10px #ffd36b; } 100% { transform: scale(1); } }
#wPunkte b { display: inline-block; transform-origin: left center; }
i.kr.platzt { animation: platzt .6s ease-out; }
@keyframes platzt { 0% { transform: scale(1); background: #ff8a7a; } 40% { transform: scale(1.7) rotate(18deg); background: #9fe8ff; box-shadow: 0 0 10px #9fe8ff; } 100% { transform: scale(1); } }
#sLeben { position: relative; }
i.figur.faellt { position: absolute; right: 0; top: 0; animation: faellt .9s ease-in forwards; }
@keyframes faellt { 0% { transform: none; opacity: 1; } 30% { transform: translate(-6px, -10px) rotate(-30deg); } 100% { transform: translate(-14px, 40px) rotate(-200deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pflug.los { transition: none; } #wPunkte.puls b, i.kr.platzt, i.figur.faellt { animation: none; } }

.ecke { background:
    radial-gradient(ellipse at 30% 0%, rgba(255, 255, 255, .10), transparent 60%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .035) 1px, transparent 1.5px) 0 0 / 5px 5px,
    linear-gradient(170deg, rgba(30, 58, 92, .96), rgba(14, 30, 50, .95));
  box-shadow: 0 4px 10px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(0, 0, 0, .35), inset 0 0 0 4px rgba(233, 226, 207, .18), inset 0 10px 18px rgba(255, 255, 255, .05);
  transition: border-color .4s; }
html[data-ansicht="tag"] .ecke { background: radial-gradient(ellipse at 30% 0%, rgba(255, 255, 255, .6), transparent 60%), radial-gradient(circle at 1px 1px, rgba(30, 60, 100, .05) 1px, transparent 1.5px) 0 0 / 5px 5px, linear-gradient(170deg, rgba(252, 248, 238, .97), rgba(240, 232, 214, .96)); }
.ecke > .glanz { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; overflow: visible; }
.ecke > .glanz::before { content: ''; position: absolute; top: 0; bottom: 0; width: 34%; left: -50%; transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .10), transparent); animation: glanz 9s ease-in-out infinite; }
.ecke.or > .glanz::before { animation-delay: 2.2s; } .ecke.ul > .glanz::before { animation-delay: 4.4s; } .ecke.ur > .glanz::before { animation-delay: 6.6s; }
@keyframes glanz { 0%, 70% { left: -50%; } 100% { left: 130%; } }
.ecke > .niete { position: absolute; bottom: 4px; width: 5px; height: 5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, var(--emailleRand) 45%, #8a8270); opacity: .85; pointer-events: none; }
.ecke > .niete.nl { left: 4px; } .ecke > .niete.nr { right: 4px; }
.ecke::before, .ecke::after { background: radial-gradient(circle at 35% 35%, #fff, var(--emailleRand) 45%, #8a8270); width: 5px; height: 5px; }
.ecke.glimm { animation: glimm .7s ease-out; }
@keyframes glimm { 0% { box-shadow: 0 0 0 0 var(--glimm), 0 4px 10px rgba(0, 0, 0, .5); border-color: var(--glimm); } 40% { box-shadow: 0 0 22px 4px var(--glimm), 0 4px 10px rgba(0, 0, 0, .5); border-color: var(--glimm); } 100% { box-shadow: 0 4px 10px rgba(0, 0, 0, .5); } }
.ecke.auftritt { animation: auftritt .55s cubic-bezier(.2, 1.4, .4, 1) backwards; }
.ecke.or.auftritt { animation-delay: .1s; } .ecke.ul.auftritt { animation-delay: .2s; } .ecke.ur.auftritt { animation-delay: .3s; }
@keyframes auftritt { from { transform: perspective(500px) rotateX(-80deg) scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
.bestbalken { position: relative; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .12); margin-top: 4px; overflow: hidden; }
html[data-ansicht="tag"] .bestbalken { background: rgba(30, 60, 100, .15); }
.bestbalken i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, #b98a22, #e7c35a); transition: width .4s; }
.ecke.ueberbest .bestbalken i { background: linear-gradient(90deg, #e7c35a, #fff3c4, #e7c35a); background-size: 200% 100%; animation: ueber 1.4s linear infinite; }
@keyframes ueber { to { background-position: -200% 0; } }
.besttext { font: 600 max(11px, calc(var(--cw) * .011))/1.2 system-ui, sans-serif; color: var(--mute); }
.ecke.ueberbest .besttext { color: var(--akzent); }
i.figur.wippt { animation: wippt 2.4s ease-in-out infinite; animation-delay: var(--d); }
@keyframes wippt { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
i.kr { border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4); }
i.kr.an { background: linear-gradient(180deg, #b6f59e, #4fb83a); animation: sicherung 3s ease-in-out infinite; animation-delay: var(--d); }
@keyframes sicherung { 0%, 88%, 100% { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4), 0 0 4px rgba(127, 211, 107, .5); } 92% { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4), 0 0 10px rgba(200, 255, 180, .95); } }
#wZeit span { display: inline-flex !important; align-items: center; gap: 5px; }
i.uhrzeig { position: relative; display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid currentColor; transition: transform .25s; }
i.uhrzeig::after { content: ''; position: absolute; left: 50%; top: 1px; width: 1.5px; height: 4.5px; margin-left: -.75px; background: currentColor; border-radius: 1px; }
#sSchl { gap: 4px; }
i.haken { display: inline-flex; width: max(20px, calc(var(--cw) * .026)); height: max(20px, calc(var(--cw) * .026)); border-radius: 50%; align-items: center; justify-content: center; color: var(--f); border: 2px dashed color-mix(in srgb, var(--f) 55%, transparent); }
i.haken svg { width: 70%; height: 70%; transform-origin: 30% 50%; }
i.haken.fehlt svg { opacity: .3; }
i.haken.hat { border-style: solid; background: color-mix(in srgb, var(--f) 22%, transparent); box-shadow: 0 0 8px color-mix(in srgb, var(--f) 60%, transparent); }
i.haken.hat svg { animation: baumelt 3.2s ease-in-out infinite; }
i.haken.neu svg { animation: anhaengen .9s cubic-bezier(.3, 1.6, .5, 1); }
i.haken.offen { border-style: solid; opacity: .55; }
i.haken.offen::after { content: ''; position: absolute; }
i.haken.offen svg { opacity: .6; transform: rotate(-90deg); }
@keyframes baumelt { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes anhaengen { 0% { transform: scale(1.6); filter: brightness(1.8) drop-shadow(0 0 6px currentColor); } 100% { transform: scale(1); filter: none; } }
.rohr { position: relative; height: max(16px, calc(var(--cw) * .02)); border-radius: 9px; margin: 3px 0 1px; background: linear-gradient(180deg, #5a605a, #2e332f 55%, #444a45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 -2px 3px rgba(0, 0, 0, .5); overflow: visible; }
.rohr > i { position: absolute; inset: 3px auto 3px 3px; width: 0; max-width: calc(100% - 6px); border-radius: 6px; background: linear-gradient(90deg, rgba(127, 211, 107, .55), rgba(232, 176, 74, .75) 70%, rgba(217, 83, 79, .9)); transition: width .3s; }
.rohr > .krone { position: absolute; top: 50%; left: 0; width: 22px; height: 16px; margin-top: -9px; transition: left .35s ease-out;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16'%3E%3Cpath d='M2 14 L2 5 L7 9 L11 2 L15 9 L20 5 L20 14 Z' fill='%23e7c35a' stroke='%233a2a10' stroke-width='1.4'/%3E%3Ccircle cx='11' cy='11' r='1.6' fill='%23c0392b'/%3E%3C/svg%3E"); filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .6)); }
.rohr > .krone.zittert { animation: zittert .18s linear infinite; }
.rohr > .krone.da { animation: dahuepf .5s ease-in-out infinite; filter: drop-shadow(0 0 6px #ff4a3a); }
@keyframes zittert { 0% { transform: translate(0, 0) rotate(-4deg); } 50% { transform: translate(1px, -1px) rotate(4deg); } 100% { transform: translate(0, 0) rotate(-4deg); } }
@keyframes dahuepf { 0%, 100% { transform: translateY(0) scale(1.1); } 50% { transform: translateY(-4px) scale(1.25); } }
.rohr > .rziel { position: absolute; right: -4px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #e8c79c 0 32%, #2f4f7a 34%); box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .5); }
.ecke.koenigda { border-color: #ff4a3a; animation: koenigblink .9s ease-in-out infinite; }
@keyframes koenigblink { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 74, 58, .0), 0 4px 10px rgba(0, 0, 0, .5); } 50% { box-shadow: 0 0 16px 3px rgba(255, 74, 58, .65), 0 4px 10px rgba(0, 0, 0, .5); } }
.hierpuls { position: absolute; pointer-events: none; border-radius: 3px; border: 2px solid #e7c35a; animation: hierpuls 1.3s ease-out infinite; }
@keyframes hierpuls { 0% { box-shadow: 0 0 0 0 rgba(231, 195, 90, .8); } 100% { box-shadow: 0 0 0 8px rgba(231, 195, 90, 0); } }
@media (prefers-reduced-motion: reduce) {
  .ecke > .glanz::before, .ecke.glimm, .ecke.auftritt, i.figur.wippt, i.kr.an, i.haken.hat svg, i.haken.neu svg, .rohr > .krone.zittert, .rohr > .krone.da, .ecke.koenigda, .hierpuls, .ecke.ueberbest .bestbalken i { animation: none; }
}
body.schilder-unten .ecke { position: relative; height: auto; min-height: 76px; }
body.schilder-unten .ecke #modus, body.schilder-unten .ecke #info { display: none; }
body.schilder-unten .bestbalken { margin-top: 2px; }
body.schilder-klein .besttext { display: none; }
html[data-ansicht="tag"] .ecke .wert b, html[data-ansicht="tag"] .ecke #logo b { color: #7a3e0a; }

.ecke.kritisch { border-color: #ff5a46; animation: kritisch 1.1s ease-in-out infinite; }
@keyframes kritisch { 0%, 100% { box-shadow: 0 4px 10px rgba(0, 0, 0, .5); } 50% { box-shadow: 0 0 14px 2px rgba(255, 90, 70, .6), 0 4px 10px rgba(0, 0, 0, .5); } }
.ecke.kritisch i.kr.an { animation: kritischkr .55s ease-in-out infinite alternate; }
@keyframes kritischkr { to { background: #ff8a6a; box-shadow: 0 0 8px #ff5a46; } }
@media (prefers-reduced-motion: reduce) { .ecke.kritisch, .ecke.kritisch i.kr.an { animation: none; } }

i.schuerze { display: inline-block; width: max(11px, calc(var(--cw) * .014)); height: max(12px, calc(var(--cw) * .016)); background: linear-gradient(180deg, #a06a38, #6a4424); clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%); }
i.waffe { display: inline-block; width: max(13px, calc(var(--cw) * .017)); height: max(13px, calc(var(--cw) * .017)); border-radius: 50%; border: 1.5px solid #ffd36b; }
i.waffe.w1 { background: radial-gradient(circle at 40% 35%, #ff9a8a, #e0503c 60%); }
i.waffe.w2 { background: repeating-linear-gradient(90deg, #c89a5a 0 2px, transparent 2px 4px); }
i.waffe.w3 { background: conic-gradient(from -30deg, #c89a5a 0 20deg, transparent 20deg 40deg, #c89a5a 40deg 60deg, transparent 60deg); }
#sAus small { font-size: max(11px, .7em); color: var(--mute); }
i.haken { position: relative; }
i.haken small.teil { position: absolute; right: -3px; top: -5px; font: 800 11px/1 system-ui, sans-serif; background: var(--f); color: #10161c; border-radius: 6px; padding: 1px 3px; }
i.haken small.truhe { position: absolute; right: -5px; bottom: -5px; width: 10px; height: 8px; border-radius: 2px; background: linear-gradient(180deg, #8a5a30 0 40%, #6a4424 40%); box-shadow: 0 0 0 1px #3a2410; }
i.tkey { display: inline-flex; width: max(20px, calc(var(--cw) * .026)); height: max(20px, calc(var(--cw) * .026)); border-radius: 50%; align-items: center; justify-content: center; color: #d8dde2; border: 2px solid #d8dde2; position: relative; }
i.tkey svg { width: 70%; height: 70%; }
i.tkey small { position: absolute; right: -6px; bottom: -6px; font: 800 11px/1 system-ui; background: #d8dde2; color: #10161c; border-radius: 6px; padding: 1px 3px; }

#schilder { --aus: 0px; }
.ecke { width: calc(25% - 10px + var(--aus)); height: calc(30% - 10px + var(--aus)); gap: 4px; padding: 7px 10px 8px; }
.ecke.ol { left: calc(5px - var(--aus)); top: calc(5px - var(--aus)); } .ecke.or { right: calc(5px - var(--aus)); top: calc(5px - var(--aus)); }
.ecke.ul { left: calc(5px - var(--aus)); bottom: calc(5px - var(--aus)); } .ecke.ur { right: calc(5px - var(--aus)); bottom: calc(5px - var(--aus)); }
.ecke #modus { display: none; }
body.schilder-unten .ecke { width: auto; }
.ecke .zeile.extra { flex-wrap: wrap; row-gap: 0; }
.ecke .zeile.extra b { font: 700 max(12px, calc(var(--cw) * .0145))/1.15 system-ui, sans-serif; color: var(--akzent); margin-left: auto; text-align: right; }
html[data-ansicht="tag"] .ecke .zeile.extra b { color: #5e2c06; }
.ecke .zeile.extra b small { color: var(--mute); font-variant-numeric: tabular-nums; }
.munbalken { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; margin: -2px 0 1px; }
html[data-ansicht="tag"] .munbalken { background: rgba(30, 60, 100, .15); }
.munbalken i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #b98a22, #ffd36b); transition: width .25s; }
.munbalken.ohne { visibility: hidden; }
.munbalken.knapp i { background: linear-gradient(90deg, #c0392b, #ff8a6a); }
i.zettelzeichen { display: inline-block; margin-left: 6px; width: max(10px, calc(var(--cw) * .012)); height: max(12px, calc(var(--cw) * .015)); background: #f4ecd0; border-radius: 1px; box-shadow: inset 0 -3px 0 -2px #7a6a50, inset 0 -6px 0 -5px #7a6a50, 0 0 0 1px rgba(0, 0, 0, .35); transform: rotate(-6deg); }

.fenster { position: absolute; z-index: 8; left: 50%; top: 50%; transform: translate(-50%, -50%); box-sizing: border-box; max-height: calc(100% - 16px); overflow: auto; border-radius: 12px; box-shadow: 0 14px 40px rgba(0, 0, 0, .7); }
.fenster[hidden] { display: none; }
.fenster h2 { margin: 0 44px 8px 0; font: 800 20px/1.2 var(--kopf); }
.fenster .zu { position: sticky; top: 0; float: right; margin: -6px -6px 0 8px; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 1; }
.fenster .zu svg { width: 22px; height: 22px; }
#blatt { width: min(92%, 460px); padding: 18px 20px 16px; color: #2a2016; border: 1px solid #b8a67e; background-color: #efe5c8;
  background: radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, .5), transparent 55%), radial-gradient(circle at 85% 90%, rgba(120, 90, 40, .18), transparent 40%), linear-gradient(175deg, #f6eed6, #e8dcb6); animation: blattrein .45s cubic-bezier(.2, 1.3, .4, 1); }
#blatt h2 { color: #6a3a12; }
#blatt .zu { background: rgba(42, 32, 22, .1); color: #2a2016; border: 2px solid #8a7a5a; }
#blattText p { margin: 0 0 10px; font: italic 600 17px/1.45 'SGZ Ziffern', Georgia, 'Times New Roman', serif; }
#blattText small { display: block; font-size: 13px; color: #5a4a30; }
.fenster b.ziffer { display: inline-block; min-width: .9em; padding: 0 3px; border-radius: 4px; background: #2a2016; color: #ffe08a; font: 800 1.1em/1.1 'SGZ Ziffern', Georgia, serif; font-style: normal; text-align: center; animation: zifferglimm 1.6s ease-in-out 2; }
#blatt .weiter { display: block; margin: 6px 0 0 auto; min-width: 120px; height: 44px; }
@keyframes blattrein { from { transform: translate(-50%, -40%) rotate(-6deg) scale(.7); opacity: 0; } to { transform: translate(-50%, -50%); opacity: 1; } }
@keyframes zifferglimm { 50% { box-shadow: 0 0 10px #ffd36b; } }
#schloss { width: min(94%, 620px); padding: 14px 16px; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: 'kopf kopf' 'rollen notiz' 'meld notiz' 'tasten notiz'; column-gap: 16px; align-items: start;
  background: linear-gradient(170deg, #4a5157, #2c3136 60%, #23272b); color: #eef2f5; border: 2px solid #c9ced6; animation: blattrein .35s ease-out; }
#schloss .zu { grid-area: kopf; justify-self: end; float: none; margin: -4px -4px 0 0; background: rgba(255, 255, 255, .08); color: #eef2f5; border: 2px solid #c9ced6; }
#schloss h2 { grid-area: kopf; color: #ffe08a; margin-top: 8px; }
#schloss .rollen { grid-area: rollen; display: flex; gap: 8px; justify-content: center; }
#schloss .rollen i { width: 48px; height: 58px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font: 800 34px/1 'SGZ Ziffern', Georgia, serif; font-style: normal; color: #ffe08a;
  background: linear-gradient(180deg, #111 0, #2e2e2e 18%, #3c3c3c 50%, #2e2e2e 82%, #111 100%); box-shadow: inset 0 0 0 2px rgba(201, 206, 214, .5); }
#schloss .rollen i.dreh { animation: rolle .25s ease-out; }
#schloss .rollen.wackelt { animation: wackelt .45s ease-in-out; }
@keyframes rolle { from { transform: translateY(-10px); opacity: .3; } to { transform: none; opacity: 1; } }
@keyframes wackelt { 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
#schloss .schlossmeld { grid-area: meld; min-height: 2.6em; margin: 8px 0 6px; font-size: 13px; line-height: 1.3; color: #d6dde3; text-align: center; max-width: 220px; }
#schloss .tasten { grid-area: tasten; display: grid; grid-template-columns: repeat(3, 62px); gap: 6px; justify-content: center; }
#schloss .tasten button { height: 44px; border-radius: 9px; border: 1px solid #8a929a; background: linear-gradient(180deg, #5a6268, #3a4046); color: #fff; font: 800 20px/1 system-ui, sans-serif; cursor: pointer; }
#schloss .tasten button:hover { filter: brightness(1.2); }
#schloss .tasten button.ok { font-size: 14px; background: linear-gradient(180deg, #e7c35a, #b98a22); color: #1a1206; border-color: #6a4a10; }
#schloss .notiz { grid-area: notiz; align-self: stretch; padding: 10px 12px; border-radius: 8px; background-color: #efe5c8; background: linear-gradient(175deg, #f6eed6, #e8dcb6); color: #2a2016; max-height: 300px; overflow: auto; }
#schloss .notiz > b:first-child { display: block; margin-bottom: 4px; color: #6a3a12; font-size: 14px; }
#schloss .notiz p { margin: 0 0 8px; font: italic 600 14px/1.4 'SGZ Ziffern', Georgia, serif; }
@media (max-width: 560px) { #schloss { grid-template-columns: 1fr; grid-template-areas: 'kopf' 'rollen' 'meld' 'tasten' 'notiz'; } #schloss .schlossmeld { max-width: none; } #schloss .notiz { max-height: none; margin-top: 10px; } }
@media (prefers-reduced-motion: reduce) { #blatt, #schloss, #schloss .rollen i.dreh, #schloss .rollen.wackelt, .fenster b.ziffer { animation: none; } }
#blatt, #schloss .notiz { background-color: #efe5c8; }
.nurklein { display: none; }
body.schilder-flach .ecke.or { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; row-gap: 3px; align-content: start; }
body.schilder-flach .ecke.or .zeile { flex-direction: column; align-items: flex-start; gap: 1px; min-width: 0; }
body.schilder-flach .ecke.or .zeile.extra b { margin-left: 0; text-align: left; }
body.schilder-flach .ecke.or .munbalken, body.schilder-flach .ecke.or #wZeit, body.schilder-flach .wname, body.schilder-flach #sSchuerze small.wort { display: none; }
body.schilder-flach .nurklein { display: inline; }
#sSchl { padding: 0 6px 5px 0; }
.ecke em.wname { font-style: normal; }
body.schilder-flach #schilder .ecke.ur .zeile[data-ki="schl"] > span { display: none !important; }
body.schilder-flach .ecke.ur .zeile[data-ki="schl"] { justify-content: flex-start; }
.ecke em.et { font-style: normal; }
body.schilder-flach .ecke em.et, body.schilder-klein .ecke em.et { display: none; }

.ausflug { font-size: 0; }
.ausflug i.waffe, .ausflug i.schuerze { width: 22px; height: 22px; box-shadow: 0 0 12px #ffd36b; }
#sWaffe, #sSchuerze { position: relative; }
#sWaffe.ankunft, #sSchuerze.ankunft { animation: ankunft .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes ankunft { 0% { transform: scale(1.35); filter: brightness(1.6) drop-shadow(0 0 6px #ffd36b); } 100% { transform: none; filter: none; } }
.faellt-aus { position: absolute; left: 0; top: 0; pointer-events: none; animation: faellt .9s ease-in forwards; }
.codeleiste { display: flex; align-items: center; gap: 4px; }
#schilder .ecke .codeleiste span { display: inline; margin-right: auto; }
.codeleiste[hidden] { display: none; }
.codeleiste i { width: max(16px, calc(var(--cw) * .02)); height: max(18px, calc(var(--cw) * .023)); border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; font: 800 max(12px, calc(var(--cw) * .015))/1 'SGZ Ziffern', Georgia, serif; font-style: normal; color: #ffe08a;
  background: linear-gradient(180deg, #111, #333 50%, #111); box-shadow: inset 0 0 0 1px rgba(201, 206, 214, .45); }
.codeleiste i.neu { animation: zifferda .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes zifferda { 0% { transform: scale(1.6); box-shadow: 0 0 12px #ffd36b; } 100% { transform: none; } }
.codeleiste.offen i { color: #b6f59e; box-shadow: inset 0 0 0 1px #7fd36b, 0 0 6px rgba(127, 211, 107, .5); }
.codeleiste.jubel i { animation: zifferda .6s ease-out; }
.codeleiste.jubel i:nth-of-type(2) { animation-delay: .12s; } .codeleiste.jubel i:nth-of-type(3) { animation-delay: .24s; }
.zifferflug { position: absolute; z-index: 9; margin: -12px 0 0 -10px; width: 20px; height: 24px; border-radius: 5px; display: flex; align-items: center; justify-content: center;
  font: 800 18px/1 'SGZ Ziffern', Georgia, serif; color: #ffe08a; background: #2a2016; box-shadow: 0 0 14px #ffd36b; pointer-events: none; }
.zifferflug.los { transition: transform .75s cubic-bezier(.5, -0.2, .4, 1); }
#blatt { animation: blattflug .55s cubic-bezier(.2, 1.15, .4, 1); }
@keyframes blattflug { from { transform: translate(calc(-50% + var(--vx, 0px)), calc(-50% + var(--vy, 0px))) rotate(-25deg) scale(.12); opacity: .4; } to { transform: translate(-50%, -50%); opacity: 1; } }
#schloss .rollen.ok i { color: #b6f59e; box-shadow: inset 0 0 0 2px #7fd36b, 0 0 14px rgba(127, 211, 107, .7); transition: box-shadow .2s, color .2s; }
#schloss .rollen.falsch i { color: #ff8a7a; box-shadow: inset 0 0 0 2px #ff5a46, 0 0 12px rgba(255, 90, 70, .6); }
body.schilder-flach #schilder .ecke .codeleiste span { display: none; }
@media (prefers-reduced-motion: reduce) { #sWaffe.ankunft, #sSchuerze.ankunft, .faellt-aus, .codeleiste i.neu, .codeleiste.jubel i, #blatt, .zifferflug.los { animation: none; transition: none; } }

html[data-etage="2"] #kulisse { background-image: url(img/kanal2-nacht.webp?v=1796081042); }
html[data-etage="2"] body.hoch #kulisse { background-image: url(img/kanal2-nacht-hoch.webp?v=1796081042); }
html[data-ansicht="tag"][data-etage="2"] #kulisse { background-image: url(img/kanal2-tag.webp?v=1796081042); }
html[data-ansicht="tag"][data-etage="2"] body.hoch #kulisse { background-image: url(img/kanal2-tag-hoch.webp?v=1796081042); }
html[data-etage="3"] #kulisse { background-image: url(img/kanal3-nacht.webp?v=1796081042); }
html[data-etage="3"] body.hoch #kulisse { background-image: url(img/kanal3-nacht-hoch.webp?v=1796081042); }
html[data-ansicht="tag"][data-etage="3"] #kulisse { background-image: url(img/kanal3-tag.webp?v=1796081042); }
html[data-ansicht="tag"][data-etage="3"] body.hoch #kulisse { background-image: url(img/kanal3-tag-hoch.webp?v=1796081042); }
html[data-etage="4"] #kulisse { background-image: url(img/kanal4-nacht.webp?v=1796081042); }
html[data-etage="4"] body.hoch #kulisse { background-image: url(img/kanal4-nacht-hoch.webp?v=1796081042); }
html[data-ansicht="tag"][data-etage="4"] #kulisse { background-image: url(img/kanal4-tag.webp?v=1796081042); }
html[data-ansicht="tag"][data-etage="4"] body.hoch #kulisse { background-image: url(img/kanal4-tag-hoch.webp?v=1796081042); }
#schilder .ecke .codeleiste span { font: 600 max(11px, calc(var(--cw) * .011))/1.15 system-ui, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: var(--mute); }

@media (max-height: 440px) and (orientation: landscape) {
  #ov .dlg.menue .unter { display: none; }
  #ov .dlg.menue .modus > svg { display: none; }
  #ov .dlg.menue .modus { padding: 8px 10px; }
  #ov .dlg.menue .modus > span { font-size: 12px; line-height: 1.25; }
  #ov .dlg.menue .schildkopf { margin-bottom: 0; }
  #ov .dlg.menue .modi { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px; }
  #ov .dlg.menue .modus > b { font-size: 17px; }
  #ov .dlg.menue h3 { margin: 4px 0 2px; }
}
body.schilder-flach #schilder .ecke.or .zeile span { letter-spacing: 0; overflow-wrap: anywhere; }

.ecke .gegnerzeile { margin-top: 4px; }
.ecke .gegnerzeile b { flex-wrap: wrap; justify-content: flex-end; gap: 3px; }
i.gp { display: inline-block; width: max(9px, calc(var(--cw) * .011)); height: max(9px, calc(var(--cw) * .011)); border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1.5px rgba(233, 226, 207, .7); }
i.gp.platzt { animation: gpplatzt .5s ease-out forwards; }
@keyframes gpplatzt { 0% { transform: scale(1.4); box-shadow: 0 0 10px #ffe08a; } 100% { transform: scale(2.2); opacity: 0; } }
.ecke .gegnerzeile b small.letzter { color: #ff8a7a; font-weight: 800; animation: letzter 1s ease-in-out infinite; }
html[data-ansicht="tag"] .ecke .gegnerzeile b small.sauber { color: #123d18; }
html[data-ansicht="tag"] .ecke .gegnerzeile b small.letzter { color: #a3231b; }
@keyframes letzter { 50% { opacity: .55; } }
.ecke .gegnerzeile b small.sauber { color: var(--gruen); font-weight: 800; }
#sGeg.jubel { animation: ankunft .6s cubic-bezier(.3, 1.6, .5, 1); }
body.schilder-flach .ecke .gegnerzeile { display: none; }
@media (prefers-reduced-motion: reduce) { i.gp.platzt, .gegnerzeile small.letzter, #sGeg.jubel { animation: none; } }

.ecke { isolation: isolate; }
#schilder .ecke .zeile > span, #schilder .ecke .codeleiste > span, .ecke #wPunkte > span { display: flex !important; align-items: center; gap: 4px; }
.lic { display: inline-flex; flex: none; width: 1.35em; height: 1.35em; color: var(--ic); filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .55)); }
.lic svg { width: 100%; height: 100%; }
html[data-ansicht="tag"] .lic { filter: brightness(.62) saturate(1.4); }
.uhrtext { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.uhrtext .lic { width: 1.2em; height: 1.2em; }
.ecke > .praegung { position: absolute; right: 8px; bottom: 8px; width: min(34%, 76px); aspect-ratio: 1; z-index: -1; opacity: .08; color: var(--emailleRand); pointer-events: none; transform: rotate(-12deg); }
.ecke > .praegung svg { width: 100%; height: 100%; }
html[data-ansicht="tag"] .ecke > .praegung { opacity: .1; color: #1e3c64; }
.ecke.ul > .praegung, .ecke.ur > .praegung { top: 6px; bottom: auto; width: min(22%, 48px); }
.raumschild { display: inline-block; margin-left: 6px; padding: 1px 6px 0; border-radius: 3px; background: #1d4f8f; color: #fff; border: 1.5px solid #f4f1e8; box-shadow: 0 0 0 1px #0f2f57, 0 1px 3px rgba(0, 0, 0, .5); font-style: normal; letter-spacing: .5px; transform-origin: 50% 0; }
.raumschild.klapp { animation: klapp .55s ease-out; }
@keyframes klapp { 0% { transform: perspective(200px) rotateX(-90deg); } 60% { transform: perspective(200px) rotateX(15deg); } 100% { transform: none; } }
i.gp { display: inline-flex; align-items: center; justify-content: center; width: max(15px, calc(var(--cw) * .018)); height: max(15px, calc(var(--cw) * .018)); border-radius: 50%; background: #e9e2cf; color: var(--c); box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .35); }
i.gp svg { width: 82%; height: 82%; }
i.gp.platzt { background: #ffe08a; }
body.schilder-flach .ecke.or .lic, body.schilder-flach .ecke .praegung { display: none; }
@media (prefers-reduced-motion: reduce) { .raumschild.klapp { animation: none; } }
body.schilder-flach .ecke.ul .lic { display: none; }
body.schilder-flach .raumschild { margin-left: 0; padding: 0 3px; letter-spacing: 0; }
body.schilder-flach #sSchl { padding-right: 9px; }
body.schilder-flach #schilder .ecke.ul .zeile { gap: 3px; }
i.kr.an.fuellt { animation: krfuellt .55s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: var(--fd, 0s); }
@keyframes krfuellt { 0% { transform: scale(.2); filter: brightness(2.2); box-shadow: 0 0 0 0 rgba(182, 245, 158, .9); } 60% { transform: scale(1.35); filter: brightness(1.6); box-shadow: 0 0 10px 3px rgba(182, 245, 158, .7); } 100% { transform: scale(1); filter: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4); } }
@media (prefers-reduced-motion: reduce) { i.kr.an.fuellt { animation: none; } }

#schilder .ecke .aufgzeile[hidden] { display: none !important; }
.ecke .aufgzeile { margin-top: 3px; }
.ecke .aufgzeile b { color: var(--gold); white-space: nowrap; }
.ecke .aufgzeile b .aufgic { display: inline-flex; width: 1.05em; height: 1.05em; }
.ecke .aufgzeile b .aufgic svg { width: 100%; height: 100%; }
.ecke .aufgzeile.ok b { color: var(--gruen); }
.ecke .aufgzeile.aus b { color: var(--mute); text-decoration: line-through; text-decoration-thickness: 2px; }
.ecke .aufgzeile.knapp b { color: var(--rot); animation: letzter .8s ease-in-out infinite; }
#sAufg.wartet { visibility: hidden; }
#sAufg.ankunft { animation: ankunft .6s cubic-bezier(.3, 1.6, .5, 1); }
#sAufg.jubel { animation: aufgjubel 1s cubic-bezier(.3, 1.6, .5, 1); }
#sAufg.wackelt { animation: wackelt .45s ease-in-out; }
@keyframes aufgjubel { 0% { transform: scale(1); } 25% { transform: scale(1.3) rotate(-4deg); filter: brightness(1.6) drop-shadow(0 0 8px #ffd36b); } 100% { transform: none; filter: none; } }
.pflug .fbic, .fbe .fbic { display: inline-flex; width: 22px; height: 22px; color: var(--c); }
.pflug .fbic svg, .fbe .fbic svg { width: 100%; height: 100%; }
.pflug.fbflug .fbic, .pflug.aufgflug .fbic { width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: #efe5c8; box-shadow: 0 3px 10px rgba(0, 0, 0, .6); }

#bFund { position: relative; }
#bFund svg { width: 22px; height: 22px; }
#bFund .fbzahl { position: absolute; top: 1px; right: 1px; min-width: 18px; height: 18px; padding: 0 4px; box-sizing: border-box; border-radius: 9px; background: #c0392b; color: #fff; font: 800 11px/18px system-ui, sans-serif; font-style: normal; text-align: center; box-shadow: 0 1px 3px rgba(0, 0, 0, .6); pointer-events: none; }
#bFund.puls { animation: aufgjubel .7s cubic-bezier(.3, 1.6, .5, 1); }
#fundbuch { width: min(94%, 640px); padding: 16px 18px 14px; color: #2a2016; border: 1px solid #b8a67e; background-color: #efe5c8;
  background: radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, .5), transparent 55%), linear-gradient(175deg, #f6eed6, #e8dcb6); animation: blattrein .45s cubic-bezier(.2, 1.3, .4, 1); scrollbar-width: thin; scrollbar-color: #b8a67e transparent; }
#fundbuch[hidden] { display: none; }
#fundbuch h2 { color: #6a3a12; }
#fundbuch .zu { background: rgba(42, 32, 22, .1); color: #2a2016; border: 2px solid #8a7a5a; }
#fundbuch .fbkopf { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
#fundbuch .fbfort { flex: 1; height: 10px; border-radius: 5px; background: rgba(42, 32, 22, .15); overflow: hidden; }
#fundbuch .fbfort i { display: block; height: 100%; width: 0; border-radius: 5px; background: linear-gradient(90deg, #b8892a, #e7c35a); transition: width .8s cubic-bezier(.3, 1.2, .5, 1); }
#fundbuch .fbstand { margin: 0; font: 600 13px/1.2 system-ui, sans-serif; color: #4a3a22; white-space: nowrap; }
#fundbuch .fbstand b { font: 800 15px 'SGZ Ziffern', Georgia, serif; color: #6a3a12; }
#fundbuch .fbtabs { display: flex; gap: 6px; margin: 0 0 10px; flex-wrap: wrap; }
#fundbuch .fbtabs button { flex: 1 1 0; min-width: 110px; min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border-radius: 9px; border: 2px solid #b8a67e; background: rgba(255, 255, 255, .35); color: #4a3a22; font: 700 14px/1.1 system-ui, sans-serif; cursor: pointer; position: relative; }
#fundbuch .fbtabs button small { font: 700 12px 'SGZ Ziffern', Georgia, serif; color: #6a5a3a; }
#fundbuch .fbtabs button[aria-selected="true"] { background: #6a3a12; border-color: #6a3a12; color: #fff6e0; }
#fundbuch .fbtabs button[aria-selected="true"] small { color: #f0d9a0; }
#fundbuch .fbtabs button.hatneu::after { content: ''; position: absolute; top: 5px; right: 7px; width: 9px; height: 9px; border-radius: 50%; background: #c0392b; }
#fbInhalt { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; padding: 2px 2px 4px; }
#fundbuch::-webkit-scrollbar { width: 6px; } #fundbuch::-webkit-scrollbar-thumb { background: #b8a67e; border-radius: 3px; }
.fbe { position: relative; display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto 1fr; column-gap: 8px; padding: 8px 9px; border-radius: 9px; background: rgba(255, 255, 255, .45); border: 1px solid #cbb98e; }
.fbe .fbic { grid-row: 1 / 3; width: 38px; height: 38px; padding: 5px; box-sizing: border-box; border-radius: 8px; background: rgba(42, 32, 22, .08); }
.fbe b { font: 800 14px/1.2 Georgia, serif; color: #2a2016; }
.fbe small { font: 500 12px/1.3 system-ui, sans-serif; color: #4a3a22; }
.fbe.fehlt { background: rgba(42, 32, 22, .06); border-style: dashed; }
.fbe.fehlt .fbic { filter: grayscale(1) brightness(.75); opacity: .55; }
.fbe.fehlt b { color: #6a5a3a; letter-spacing: 2px; }
.fbe.fehlt small { color: #5a4a30; }
.fbe .fbmal { grid-column: 2; font: 800 12px 'SGZ Ziffern', Georgia, serif; color: #2e6a22; margin-top: 2px; }
.fbe .fbneu, .fbzettel.neu::after { position: absolute; top: -6px; right: -4px; padding: 1px 6px; border-radius: 6px; background: #c0392b; color: #fff; font: 800 11px/16px system-ui, sans-serif; font-style: normal; transform: rotate(6deg); }
.fbe.neu, .fbzettel.neu { animation: fbneu .7s cubic-bezier(.3, 1.6, .5, 1) both; border-color: #c0392b; box-shadow: 0 0 0 2px rgba(192, 57, 43, .25); }
@keyframes fbneu { 0% { transform: scale(.6) rotate(-3deg); opacity: 0; } 60% { transform: scale(1.06); opacity: 1; } 100% { transform: none; } }
#fbInhalt .fbhinweis, #fbInhalt .fbet { grid-column: 1 / -1; margin: 4px 0 0; }
#fbInhalt .fbhinweis { font: 500 13px/1.35 system-ui, sans-serif; color: #4a3a22; }
#fbInhalt .fbet { font: 800 15px/1.2 Georgia, serif; color: #6a3a12; border-bottom: 1px solid #cbb98e; padding-bottom: 3px; }
.fbzettel { grid-column: 1 / -1; position: relative; padding: 8px 12px; border-radius: 8px; background: rgba(255, 255, 255, .5); border: 1px solid #cbb98e; }
.fbzettel.neu::after { content: 'neu'; }
.fbzettel p { margin: 0; font: italic 600 15px/1.4 'SGZ Ziffern', Georgia, serif; color: #2a2016; }
.fbzettel.fehlt { border-style: dashed; background: rgba(42, 32, 22, .05); }
.fbzettel.fehlt p { font: 500 13px/1.3 system-ui, sans-serif; color: #5a4a30; }
body.hoch #fundbuch { width: calc(100% - 16px); }
@media (max-height: 440px) { #fundbuch { padding: 10px 14px; } #fundbuch h2 { font-size: 17px; margin-bottom: 4px; } #fundbuch .fbtabs button { min-height: 44px; min-width: 90px; } #fundbuch .fbkopf { margin-bottom: 6px; } }
@media (prefers-reduced-motion: reduce) { #sAufg.ankunft, #sAufg.jubel, #sAufg.wackelt, .ecke .aufgzeile.knapp b, #bFund.puls, #fundbuch, .fbe.neu, .fbzettel.neu, #fundbuch .fbfort i { animation: none; transition: none; } }
#fundbuch { background-color: #efe5c8; }
body.schilder-flach #schilder .ecke .aufgzeile > span { display: none !important; }
body.schilder-flach .ecke .aufgzeile { justify-content: flex-start; margin-top: 1px; }
body.schilder-flach .ecke.ol.mitaufg #info { display: none; }
html[data-ansicht="tag"] .ecke .aufgzeile b { color: #6a4206; }
html[data-ansicht="tag"] .ecke .aufgzeile.ok b { color: #123d18; }
html[data-ansicht="tag"] .ecke .aufgzeile.knapp b { color: #a3231b; }
