@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/mond-kulisse-q.webp); --grund-h: url(img/mond-kulisse-h.webp);
  --abdunkeln: .1;
  --blech1: #c23a2c; --blech2: #8e2219; --blech3: #5a120c; --niete: #f0c8b8;
  --holz1: #7a4e2c; --holz2: #5a3519; --holz3: #3a2010;
  --messing1: #f3d98e; --messing2: #c9a24a; --messing3: #8c6a24; --messing-t: #2a1c08;
  --schild1: #f3efe6; --schild2: #dcd4c2; --schild-t: #1f2430; --schild-leise: #4c5262; --schild-rand: #8c6a24;
  --eis: #9fe3ff; --warm: #ffd27a; --feind: #ff8a6a;
  --melde-bg: rgba(10, 18, 32, .92); --melde-t: #e6f4ff; --melde-rand: #9fe3ff;
  --fenster-bg1: #1a2638; --fenster-bg2: #0f1724; --fenster-t: #eaf2fb; --fenster-leise: #b6c6d8; --fenster-rand: #7fb6d8;
  --n-100: #eaf2fb; --n-200: #dbe6f2; --n-300: #b6c6d8; --slate-300: #b6c6d8; --slate-400: #9fb1c4; --slate-500: #7a8aa0; --slate-600: #4c5a6c; --slate-700: #2e3a48; --slate-800: #1c2632;
  --acc: #9fe3ff; --acc-hell: #ffd27a; --info: #9fe3ff; --ok: #7fd17a; --hair: rgba(200, 225, 255, .18); --panel-bg: rgba(8, 14, 24, .86); --row-bg: rgba(200, 225, 255, .08);
  --led-bg: rgba(8, 14, 24, .9); --con-edge: rgba(200, 225, 255, .25);
  --mo-bg1: #1d3352; --mo-bg2: #11213a; --mo-bg3: #0a1424; --mo-rand: #3d6f99; --mo-akzent: #ffd27a; --mo-akzent2: #9fe3ff; --mo-band1: #c23a2c; --mo-band2: #7a1a12; --mo-band-t: #fff4e0;
}
:root[data-ansicht="treiben"] {
  --grund-q: url(img/treiben-kulisse-q.webp); --grund-h: url(img/treiben-kulisse-h.webp); --abdunkeln: .08;
  --blech1: #b83a30; --blech2: #84241c;
}
:root[data-ansicht="morgen"] {
  --grund-q: url(img/morgen-kulisse-q.webp); --grund-h: url(img/morgen-kulisse-h.webp); --abdunkeln: 0;
  --holz1: #a0703f; --holz2: #7c5129; --holz3: #553419;
  --melde-bg: rgba(250, 248, 244, .96); --melde-t: #1f2430; --melde-rand: #2c6a9a;
  --fenster-bg1: #f5f3ee; --fenster-bg2: #e6e2d8; --fenster-t: #1f2430; --fenster-leise: #4c5262; --fenster-rand: #2c6a9a;
  --n-100: #1f2430; --n-200: #2a3040; --n-300: #3c4456; --slate-300: #3c4456; --slate-400: #4c5262; --acc: #1f5a88; --acc-hell: #8a4a10; --info: #1f5a88;
  --panel-bg: rgba(250, 248, 244, .9); --row-bg: rgba(40, 70, 110, .08); --led-bg: rgba(250, 248, 244, .95); --hair: rgba(40, 70, 110, .25);
}
html, body { margin: 0; height: 100%; background: #0a1220; overflow: hidden; touch-action: manipulation; }
:root[data-ansicht="morgen"], :root[data-ansicht="morgen"] body { background: #c9d4e2; }
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, #0a1430, #2a3f72 55%, #c7d6ec); }
#kulisse::after { content: ''; position: absolute; inset: 0; background: rgba(4, 8, 16, var(--abdunkeln)); }
#stage.hoch #kulisse { background-image: var(--grund-h), linear-gradient(180deg, #0a1430, #2a3f72 55%, #c7d6ec); }
.k-licht { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: radial-gradient(ellipse at 30% 100%, rgba(255, 210, 130, .16), transparent 60%); animation: licht 8s ease-in-out infinite; pointer-events: none; z-index: 1; }
@keyframes licht { 50% { opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .k-licht { animation: none; } }
[hidden] { display: none !important; }

.kb { padding: 6px 10px; background: linear-gradient(to bottom, #2c4060, #182638); border: 1px solid rgba(180, 215, 255, .35); border-radius: 6px; color: #eaf4ff;
  font-size: 13px; cursor: pointer; text-shadow: 0 1px 1px rgba(0, 0, 0, .6); }
.kb:hover { border-color: rgba(180, 215, 255, .75); }
.kb:disabled { opacity: .45; cursor: default; }
.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, #2c4060, #182638); border: 1px solid rgba(180, 215, 255, .35); border-radius: 8px;
  color: #eaf4ff; 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); }

#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(6, 12, 22, .78); border-radius: 10px; }
:root[data-ansicht="morgen"] .lo-kopf { background: rgba(250, 248, 244, .9); }
.lo-logo { font-family: var(--font-zier); font-size: 24px; font-weight: 900; letter-spacing: .12em; color: var(--warm); }
:root[data-ansicht="morgen"] .lo-logo { color: #8e2219; }
.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="morgen"] .lo-label { text-shadow: none; background: rgba(250, 248, 244, .85); 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: #7fb6d8 transparent; }
#chattext .nm { cursor: pointer; color: var(--acc-hell); }
#chattext .pm { color: #f0b8ff; }
#chattext .sys { color: var(--slate-400); font-style: italic; }
#chatin, #pmin { margin-top: 7px; border: 1px solid var(--hair); border-radius: 6px; padding: 8px 10px; font: 16px var(--font-ui); color: var(--n-100); background: var(--led-bg); outline: none; }
#chatin:focus, #pmin:focus { border-color: var(--info); }
.lo-start { flex: 1.25 1 0; min-height: 0; display: flex; flex-direction: column; margin-top: 12px; }
.lo-kacheln { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(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: #7fb6d8 transparent; }
.it { display: flex; align-items: center; gap: 7px; padding: 7px 8px; border-radius: 5px; font-size: 14px; color: var(--n-200); cursor: pointer; }
.it:hover { background: var(--row-bg); }
.it .elo { margin-left: auto; font-size: 12.5px; color: var(--slate-400); }
.it.me { color: var(--info); cursor: default; }
.it.spielt { color: var(--slate-500); cursor: default; }
.it .pk-punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.it.spielt .pk-punkt { background: var(--slate-600); }
.it .rang { width: 26px; color: var(--acc-hell); font-size: 12.5px; }
.lo-hinweis { margin: 6px 2px 0; font-size: 12.5px; color: var(--slate-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; }
#stage.hoch .lo-raum { display: none; }
#stage.hoch .lo-mitte { flex-direction: column; }
#stage.hoch .lo-chat { flex: 1.8 1 0; min-height: 0; }
#stage.hoch .lo-spieler { width: auto; flex: 1 1 0; min-height: 0; }
#stage.hoch .lo-kacheln { grid-template-columns: 1fr 1fr; }
#stage.hoch .lo-kopf { flex-wrap: wrap; }
#stage.hoch .lo-kopf-r { margin-left: 0; width: 100%; justify-content: flex-end; }
#stage.hoch .lo-kopf-r .kb, #stage.hoch .lo-kopf-r .kb-ic { min-height: 60px; min-width: 60px; font-size: 18px; }
#stage.hoch .lo-ich, #stage.hoch .lo-label, #stage.hoch .lo-hinweis, #stage.hoch .it .elo { font-size: 15px; }
#stage.hoch #chatin, #stage.hoch #pmin { min-height: 60px; font-size: 18px; }
#stage.hoch .lo-tabs button { min-height: 60px; font-size: 16px; }
#stage.hoch .it { min-height: 58px; font-size: 16px; }
#lobby .kb, #lobby .lo-tabs button { font-size: 15px; }
#lobby .lo-kachel b { font-size: 18px; }
#lobby .lo-kachel small { font-size: 15px; }
#stage.hoch #lobby .lo-kachel b { font-size: 19px; }
#stage.hoch #lobby .lo-kachel small { font-size: 15.5px; }
@media (max-height: 500px) {
  #lobby .kb, #lobby .kb-ic, #lobby .lo-tabs button, #lobby .lo-kachel b { font-size: 22px; }
  #lobby .lo-kachel small, #lobby .lo-raum { display: none; }
  #lobby .lo-kopf-r .kb, #lobby .lo-kopf-r .kb-ic { min-height: 52px; }
}

#partie { 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(--schild1), var(--schild2)); color: var(--schild-t); border: 2px solid var(--schild-rand); border-radius: 9px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .45); padding: 5px 14px; display: flex; flex-direction: column; min-width: 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: #9fb6c8; 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(--schild-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: 4px; min-height: 22px; }
.s-zahl b, .uhr b, .b-lage b { font-variant-numeric: lining-nums tabular-nums; font-kerning: none; }
.s-zahl b { font-size: 20px; }
.pip { width: 15px; height: 15px; 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, #b9dcf2 60%, #6fa6c8); border-color: #2c6a9a; }
.pip.feind.voll { background: radial-gradient(circle at 35% 35%, #fff, #ffc4b0 60%, #e06a4a); border-color: #8e2219; }
.pip.neu { animation: pip .6s ease-out; }
@keyframes pip { 40% { transform: scale(1.6); } }
.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(--schild-t); padding: 0 16px; box-sizing: border-box; }
.uhr small { font-size: 12.5px; color: var(--schild-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; }

#cockpit { position: absolute; left: 150px; right: 150px; top: 86px; bottom: 206px; border-radius: 34px; padding: 22px; box-sizing: border-box;
  background: radial-gradient(circle, var(--niete) 0 2.6px, transparent 3.2px) 0 0 / 34px 34px, linear-gradient(170deg, var(--blech1), var(--blech2) 60%, var(--blech3));
  box-shadow: 0 28px 44px rgba(0, 0, 0, .6), inset 0 2px 0 rgba(255, 210, 190, .45), inset 0 -3px 0 rgba(0, 0, 0, .35); z-index: 3; }
#cockpit::after { content: ''; position: absolute; left: 40px; right: 40px; bottom: -14px; height: 16px; border-radius: 0 0 16px 16px; background: linear-gradient(180deg, var(--blech3), #2a0805); z-index: -1; }
#scheibe { position: relative; display: block; width: 100%; height: 100%; border-radius: 16px; background: #07111f; box-shadow: 0 0 0 4px #1a1a1a, 0 0 0 6px rgba(255, 255, 255, .12); touch-action: none; cursor: crosshair; overflow: clip; }
#ueber { position: absolute; left: 22px; top: 22px; width: calc(100% - 44px); height: calc(100% - 44px); border-radius: 16px; pointer-events: none; z-index: 2; }
#stage.hoch #ueber { left: 16px; top: 16px; width: calc(100% - 32px); height: calc(100% - 32px); }
#stage.quer-handy #ueber { left: 10px; top: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
.v3d-knauf { background: radial-gradient(circle at 35% 30%, #e05a48, #8e2219 70%); border: 2px solid #2a0805; box-shadow: 0 4px 8px rgba(0, 0, 0, .5); box-sizing: border-box; }
#daumen-r.gedrueckt { transform: scale(.96); filter: brightness(1.1); }
:root[data-ansicht="schirm"] { --blech1: #2a2e2c; --blech2: #1a1d1c; --blech3: #0c0e0d; --niete: #8fa89a; --abdunkeln: .35; }
.ar-allein { grid-column: 1 / -1; margin: 0 0 4px; font-size: 14px; color: var(--fenster-t); }
.vs-liste.vier { grid-template-columns: repeat(4, 1fr); }
#stage.hoch #ei-ansicht { grid-template-columns: 1fr 1fr; }
#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%; }
#cockpit.getroffen { animation: wackeln .5s; }
@keyframes wackeln { 20% { transform: translate(-5px, 2px) rotate(-.4deg); } 50% { transform: translate(4px, -2px) rotate(.3deg); } 80% { transform: translate(-2px, 1px); } }
@media (prefers-reduced-motion: reduce) { #cockpit.getroffen { animation: none; } }

#brett { position: absolute; left: 210px; right: 210px; bottom: 16px; height: 176px; border-radius: 18px; display: flex; align-items: center; gap: 16px; padding: 10px 22px; box-sizing: border-box;
  background: repeating-linear-gradient(176deg, rgba(0, 0, 0, .08) 0 3px, transparent 3px 9px), linear-gradient(180deg, var(--holz1), var(--holz2) 60%, var(--holz3));
  box-shadow: 0 18px 30px rgba(0, 0, 0, .55), inset 0 2px 0 rgba(255, 220, 170, .35); z-index: 3; }
.b-links, .b-rechts { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.b-zeile { display: flex; align-items: center; gap: 10px; background: rgba(14, 10, 6, .86); border-radius: 8px; padding: 6px 10px; min-height: 40px; box-sizing: border-box; }
.b-label { font-size: 13px; color: #f3e6cf; white-space: nowrap; width: 92px; flex: none; }
.b-lade { flex: 1; height: 14px; border-radius: 7px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.b-lade i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #b9dcf2, #ffffff); border-radius: 7px; transition: width .08s linear; }
.b-lade.laedt i { background: linear-gradient(90deg, #6f8aa0, #a9c0d2); }
.b-extras { flex: 1; font-size: 14px; color: #ffd27a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-radar { position: relative; flex: none; width: 150px; height: 150px; border-radius: 50%; padding: 0; box-shadow: 0 0 0 5px var(--messing2), 0 0 0 7px var(--messing3), 0 6px 14px rgba(0, 0, 0, .5); }
.b-radar canvas { display: block; width: 150px; height: 150px; border-radius: 50%; }
.b-radar-schild { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); background: linear-gradient(180deg, var(--messing1), var(--messing2)); color: var(--messing-t);
  font-size: 11px; padding: 0 8px; border-radius: 4px; white-space: nowrap; letter-spacing: .05em; }
.b-lage { background: rgba(14, 10, 6, .86); border-radius: 8px; padding: 8px 12px; color: #f3e6cf; font-size: 14px; line-height: 1.35; min-height: 92px; box-sizing: border-box; overflow: hidden; }
.b-lage b { color: #ffd27a; font-size: 18px; }
.b-lage .zeile { display: flex; justify-content: space-between; gap: 8px; }

.daumen { position: absolute; bottom: 24px; width: 168px; height: 168px; border-radius: 50%; z-index: 7; display: none; touch-action: none; box-sizing: border-box;
  background: radial-gradient(circle at 40% 35%, rgba(40, 52, 70, .92), rgba(14, 20, 30, .92)); border: 3px solid var(--messing2); box-shadow: 0 8px 18px rgba(0, 0, 0, .5); }
#stage.finger .daumen { display: block; }
#daumen-l { left: 22px; }
#daumen-r { right: 22px; cursor: pointer; color: #1a1206; font: 700 18px var(--font-ui); background: radial-gradient(circle at 40% 35%, #fff6e0, #ffd27a 55%, #c98a2a); }
#daumen-r.laedt { filter: saturate(.3) brightness(.8); }
#daumen-r b { display: block; text-align: center; }
.daumen small { position: absolute; left: 0; right: 0; bottom: -24px; text-align: center; font-size: 13px; color: #f3e6cf; text-shadow: 0 1px 3px #000; }

#meldungen { position: absolute; left: 170px; right: 170px; top: 112px; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; z-index: 20; }
.meldung { max-width: 620px; 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: 150px; right: 150px; top: 86px; bottom: 206px; display: flex; align-items: center; justify-content: center; z-index: 25; pointer-events: none;
  font: 900 92px 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: 110px; }

.fenster { position: absolute; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; background: rgba(4, 8, 16, .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: #7fb6d8 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(127, 182, 216, .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.sieben { grid-template-columns: repeat(7, 1fr); }
.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 #9fe3ff; }
.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-drei { display: grid; grid-template-columns: 1fr 1.4fr 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-stat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.ar-stat div { border: 1px solid var(--fenster-rand); border-radius: 8px; padding: 6px; text-align: center; font-size: 12.5px; color: var(--fenster-leise); }
.ar-stat b { display: block; font-size: 22px; color: var(--fenster-t); font-variant-numeric: lining-nums tabular-nums; }
.ar-liste { display: flex; flex-direction: column; gap: 5px; }
.ar-zeile { display: grid; grid-template-columns: 90px 1fr 110px 120px; gap: 8px; align-items: center; min-height: 44px; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--hair);
  background: rgba(0, 0, 0, .12); color: var(--fenster-t); cursor: pointer; font-size: 14px; text-align: left; 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; }
#fi-scheibe { position: relative; display: block; width: 100%; aspect-ratio: 880 / 420; border-radius: 12px; border: 6px solid var(--blech2); box-sizing: border-box; background: #07111f; overflow: clip; }
#fi-ueber { position: absolute; left: 6px; top: 6px; width: calc(100% - 12px); aspect-ratio: 868 / 408; border-radius: 8px; pointer-events: none; z-index: 2; }
#fi-radar { position: absolute; right: 14px; bottom: 14px; width: 120px; height: 120px; border-radius: 50%; box-shadow: 0 0 0 4px var(--messing2); }
#fi-regler { width: 100%; margin: 12px 0 6px; accent-color: #c23a2c; 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; }

#stage.hoch #kopf { left: 12px; right: 12px; top: 10px; height: 132px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: 62px 62px; gap: 8px 10px; }
#stage.hoch .schild { min-width: 0; padding: 4px 12px; height: 62px; }
#stage.hoch .schild.gegner { padding-left: 6px; }
#stage.hoch .uhr { min-width: 128px; height: 62px; border-width: 3px; }
#stage.hoch .k-knoepfe { margin-left: 0; grid-column: 1 / 3; justify-content: flex-end; }
#stage.hoch .k-knoepfe .kb, #stage.hoch .k-knoepfe .kb-ic { height: 58px; min-width: 58px; font-size: 16px; }
#stage.hoch #k-uhr { grid-column: 2; grid-row: 1; }
#stage.hoch #k-ich { grid-column: 1; grid-row: 1; }
#stage.hoch #k-er { grid-column: 1; grid-row: 2; }
#stage.hoch .k-knoepfe { grid-column: 2; grid-row: 2; }
#stage.hoch .s-name, #stage.hoch .uhr small { font-size: 14px; }
#stage.hoch #cockpit { left: 10px; right: 10px; top: 152px; bottom: auto; height: 46%; padding: 16px; border-radius: 26px; }
#stage.hoch #brett { left: 10px; right: 10px; bottom: auto; top: calc(152px + 46% + 22px); height: 170px; padding: 8px 12px; gap: 10px; }
#stage.hoch .b-label { width: 76px; font-size: 14px; }
#stage.hoch .b-lage { font-size: 14px; }
#stage.hoch .daumen { width: 190px; height: 190px; bottom: 30px; }
#stage.hoch #meldungen { left: 16px; right: 16px; top: 170px; }
#stage.hoch #countdown { left: 10px; right: 10px; top: 152px; bottom: auto; height: 46%; font-size: 64px; }
#stage.hoch .fenster:not(#ende):not(#pause) .f-box { zoom: 1.4; width: 66%; max-height: 64%; }
#stage.hoch .vs-liste.sieben { grid-template-columns: repeat(4, 1fr); }
#stage.hoch .vs-drei, #stage.hoch .vs-zwei { grid-template-columns: 1fr; }
#stage.hoch .ar-zeile { grid-template-columns: 1fr 1fr; }
#stage.hoch .ar-stat { grid-template-columns: 1fr 1fr; }

#stage.quer-handy #kopf { top: 6px; height: 60px; gap: 8px; left: 12px; right: 12px; }
#stage.quer-handy .schild { min-width: 0; height: 58px; padding: 3px 10px; }
#stage.quer-handy .s-name, #stage.quer-handy .uhr small { font-size: 15px; }
#stage.quer-handy .s-zahl b { font-size: 22px; }
#stage.quer-handy .uhr { height: 58px; min-width: 120px; } #stage.quer-handy .uhr b { font-size: 28px; }
#stage.quer-handy .k-knoepfe .kb, #stage.quer-handy .k-knoepfe .kb-ic { height: 60px; min-width: 60px; font-size: 17px; }
#stage.quer-handy #b-regeln { display: none; }
#stage.quer-handy #cockpit { left: 220px; right: 220px; top: 72px; bottom: 110px; padding: 12px; border-radius: 22px; }
#stage.quer-handy #brett { left: 220px; right: 220px; height: 98px; bottom: 6px; padding: 6px 12px; gap: 10px; border-radius: 12px; }
#stage.quer-handy .b-radar, #stage.quer-handy .b-radar canvas { width: 84px; height: 84px; }
#stage.quer-handy .b-radar-schild { display: none; }
#stage.quer-handy .b-zeile { min-height: 38px; padding: 4px 8px; }
#stage.quer-handy .b-label { font-size: 15px; width: 70px; }
#stage.quer-handy .b-links .b-zeile + .b-zeile { display: none; }
#stage.quer-handy .b-lage { min-height: 84px; font-size: 15px; padding: 5px 8px; }
#stage.quer-handy .daumen { width: 196px; height: 196px; bottom: 30px; }
#stage.quer-handy #daumen-l { left: 12px; } #stage.quer-handy #daumen-r { right: 12px; }
#stage.quer-handy #meldungen { left: 230px; right: 230px; top: 80px; }
#stage.quer-handy .meldung { font-size: 18px; }
#stage.quer-handy #countdown { left: 220px; right: 220px; top: 72px; bottom: 110px; font-size: 64px; }
#stage.quer-handy .fenster:not(#ende):not(#pause) .f-box { zoom: 1.5; width: 60%; max-height: 60%; }

#cockpit.dran-ich { box-shadow: 0 28px 44px rgba(0, 0, 0, .6), inset 0 2px 0 rgba(255, 210, 190, .45), inset 0 -3px 0 rgba(0, 0, 0, .35), 0 0 0 3px rgba(255, 210, 122, .45), 0 0 24px rgba(255, 200, 90, .3); }
#schnellchat { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
#schnellchat .kb { min-height: 40px; font-size: 13px; padding: 4px 6px; }
#partie:has(#schnellchat:not([hidden])) .b-lage { min-height: 0; padding: 5px 10px; }
#partie:has(#schnellchat:not([hidden])) .b-lage .zeile:nth-child(3) { display: none; }
#stage.quer-handy #schnellchat { display: none; }
#stage.hoch #schnellchat .kb { min-height: 44px; font-size: 14px; }
.it.live { cursor: pointer; }

#stage.hoch .lo-kopf-r { flex-wrap: wrap; gap: 8px; }
#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 #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 #kopf { height: 144px; grid-template-columns: 1fr auto 1fr; grid-template-rows: 66px 66px; gap: 8px; }
#stage.hoch #k-ich { grid-column: 1; grid-row: 1; height: 66px; }
#stage.hoch #k-uhr { grid-column: 2; grid-row: 1; height: 66px; min-width: 120px; }
#stage.hoch #k-er { grid-column: 3; grid-row: 1; height: 66px; }
#stage.hoch .k-knoepfe { 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 { width: 40px; height: 40px; }
#stage.hoch .pip { width: 13px; height: 13px; }
#stage.hoch #cockpit { top: 164px; }
#stage.hoch #countdown { top: 164px; }
#stage.hoch #brett { top: calc(164px + 46% + 22px); }
#stage.hoch .b-label, #stage.hoch .b-extras, #stage.hoch .b-lage, #stage.hoch .b-lage b { font-size: 16.5px; }
#stage.hoch .b-radar-schild { display: none; }
#stage.hoch .daumen small { font-size: 17px; bottom: -28px; }
#stage.hoch #schnellchat .kb { min-height: 66px; font-size: 16.5px; }
#stage.hoch .meldung { font-size: 18px; }
#stage.hoch .lo-kopf-r > * { flex: none; }
#stage.hoch .lo-chat { flex: 2.6 1 0; }
#stage.hoch .lo-kachel { padding: 6px 12px; }
#stage.hoch .s-stufe { display: none; }
#stage.hoch .b-label { width: 104px; }
#stage.hoch .b-zeile { gap: 6px; }

.kb i[data-ic], .kb > i { display: inline-flex; vertical-align: -3px; margin-right: 5px; }
.kb i[data-ic] svg { width: 16px; height: 16px; }

#stage.quer-handy .lo-kopf { flex-wrap: nowrap; padding: 4px 8px; }
#stage.quer-handy .lo-logo { font-size: 20px; letter-spacing: .06em; }
#stage.quer-handy .lo-ich { 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: 66px; min-width: 66px; 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 #kopf { height: 66px; top: 4px; left: 8px; right: 8px; gap: 6px; }
#stage.quer-handy .schild { height: 64px; min-width: 0; flex: 1 1 0; padding: 2px 8px; }
#stage.quer-handy .schild.gegner { padding-left: 4px; gap: 6px; }
#stage.quer-handy .s-ava { width: 40px; height: 40px; }
#stage.quer-handy .s-name, #stage.quer-handy .uhr small, #stage.quer-handy .s-zahl { font-size: 17px; }
#stage.quer-handy .s-stufe { display: none; }
#stage.quer-handy .pip { width: 12px; height: 12px; }
#stage.quer-handy .uhr { height: 64px; 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: 66px; min-width: 66px; padding: 0 8px; }
#stage.quer-handy #b-regeln { display: inline-flex; }
#stage.quer-handy #cockpit { left: 196px; right: 196px; top: 76px; bottom: 98px; padding: 10px; border-radius: 20px; }
#stage.quer-handy #countdown { left: 196px; right: 196px; top: 76px; bottom: 98px; font-size: 56px; }
#stage.quer-handy #brett { left: 196px; right: 196px; height: 88px; bottom: 4px; padding: 4px 10px; gap: 8px; }
#stage.quer-handy .b-radar, #stage.quer-handy .b-radar canvas { width: 78px; height: 78px; }
#stage.quer-handy .b-label { font-size: 17px; width: auto; }
#stage.quer-handy .b-lade { min-width: 40px; }
#stage.quer-handy .b-lage { min-height: 76px; font-size: 17px; padding: 3px 8px; line-height: 1.25; }
#stage.quer-handy .b-lage b { font-size: 17px; }
#stage.quer-handy .b-lage .zeile:nth-child(3) { display: none; }
#stage.quer-handy .daumen { width: 180px; height: 180px; bottom: 16px; }
#stage.quer-handy .daumen small { display: none; }
#stage.quer-handy #daumen-l { left: 8px; } #stage.quer-handy #daumen-r { right: 8px; }
#stage.quer-handy #meldungen { left: 200px; right: 200px; top: 84px; }
#stage.quer-handy #lobby .lo-kopf-r .kb, #stage.quer-handy #lobby .lo-kopf-r .kb-ic { min-height: 74px; min-width: 74px; }
#stage.quer-handy .k-knoepfe .kb, #stage.quer-handy .k-knoepfe .kb-ic { height: 74px; min-width: 74px; }
#stage.quer-handy .lo-logo { display: none; }
#stage.quer-handy .lo-label { font-size: 17px; }
#stage.quer-handy #b-regeln { display: none; }
#stage.quer-handy .pip, #stage.quer-handy .s-ava { display: none; }
#stage.quer-handy #kopf { height: 74px; }
#stage.quer-handy .schild, #stage.quer-handy .uhr { height: 70px; }
#stage.quer-handy #cockpit, #stage.quer-handy #countdown { top: 84px; }
#stage.quer-handy #lobby { padding: 8px 12px; }
#stage.quer-handy .lo-kopf { margin-bottom: 6px; }
#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 .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; }
: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); }

#fi-radar { z-index: 3; background: radial-gradient(#06120e, #020806); }
.b-radar canvas { background: radial-gradient(circle, #06120e, #020806); }
:root[data-ansicht="morgen"] .b-radar canvas { background: radial-gradient(circle, #f2f7f4, #dfe9e4); }
#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%; }
.en-spalten, .en-l, .en-r { display: contents; }
#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 .en-knoepfe .taste, #stage.quer-handy .en-knoepfe .kb { min-height: 74px; }
#stage.quer-handy .mo-tafel .f-zu { width: 74px; height: 74px; }
#stage.quer-handy .mo-rang-kopf { flex-wrap: wrap; gap: 2px 10px; letter-spacing: .04em; }

#lobby .lo-chat #chatwin { background: var(--panel-bg); }
.k-schnee { position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .7;
  background-image: radial-gradient(2.2px 2.2px at 12% 18%, #fff, transparent), radial-gradient(1.6px 1.6px at 47% 62%, #fff, transparent), radial-gradient(2px 2px at 78% 34%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 30% 84%, #fff, transparent), radial-gradient(2.6px 2.6px at 88% 76%, #fff, transparent), radial-gradient(1.8px 1.8px at 62% 8%, #fff, transparent);
  background-size: 320px 320px; animation: schneefall 16s linear infinite; }
:root[data-ansicht="treiben"] .k-schnee { opacity: 1; background-size: 200px 200px; animation-duration: 7s; }
:root[data-ansicht="morgen"] .k-schnee { opacity: .45; }
:root[data-ansicht="schirm"] .k-schnee { display: none; }
@keyframes schneefall { to { background-position: 60px 320px, -40px 320px, 30px 320px, -20px 320px, 50px 320px, -60px 320px; } }
.flug { position: absolute; z-index: 30; pointer-events: none; font: 900 34px 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.feind { color: #ffb4a0; text-shadow: 0 2px 6px #000, 0 0 14px rgba(255, 110, 80, .8); }
.flug.bild svg { width: 46px; height: 46px; filter: drop-shadow(0 0 8px rgba(255, 210, 122, .8)); }
.schrift { position: absolute; left: 0; right: 0; top: 30%; text-align: center; z-index: 5; pointer-events: none; font: 900 64px 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, 120, 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; } }
#stage.hoch .schrift, #stage.quer-handy .schrift { font-size: 46px; }
#stage.hoch .flug, #stage.quer-handy .flug { font-size: 40px; }
#b-lade.bereit i { animation: kisteVoll .5s ease-out; }
@keyframes kisteVoll { 40% { filter: brightness(1.9); box-shadow: 0 0 12px #fff; } }
#daumen-r.bereit { animation: knopfVoll .5s ease-out; }
@keyframes knopfVoll { 40% { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(255, 210, 122, .55), 0 8px 18px rgba(0, 0, 0, .5); } }
@media (prefers-reduced-motion: reduce) { .k-schnee, .schrift, #b-lade.bereit i, #daumen-r.bereit { animation: none; } .schrift { opacity: 0; } }
#partie:has(.mo-start) #meldungen, #partie:has(.welle-tafel) #meldungen { top: auto; bottom: 226px; }
#stage.hoch #partie:has(.mo-start) #meldungen, #stage.hoch #partie:has(.welle-tafel) #meldungen { top: calc(152px + 30%); bottom: auto; }
#stage.quer-handy #partie:has(.mo-start) #meldungen, #stage.quer-handy #partie:has(.welle-tafel) #meldungen { top: auto; bottom: 110px; }
#stage:has(#pause:not([hidden])) .b-radar-schild, #stage:has(#ende:not([hidden])) .b-radar-schild { visibility: hidden; }
#stage.quer-handy #countdown { align-items: flex-end; padding-bottom: 14px; box-sizing: border-box; font-size: 40px; }
#stage.quer-handy #countdown.los { font-size: 52px; }
:root[data-ansicht="morgen"] #countdown { color: #8e2219; text-shadow: 0 2px 10px rgba(255, 255, 255, .9), 0 0 24px rgba(255, 255, 255, .8); }

#stage.hoch .fenster:not(#ende):not(#pause) .f-zu { width: 52px; height: 52px; }
#stage.hoch .fenster .vs-liste button { min-height: 52px; } #stage.hoch .fenster .taste { height: 52px; }
#stage.hoch #fi-regler, #stage.quer-handy #fi-regler { height: 50px; }
#stage.quer-handy .fenster:not(#ende):not(#pause) .f-zu { width: 52px; height: 52px; }
#stage.quer-handy .fenster .vs-liste button { min-height: 52px; } #stage.quer-handy .fenster .taste { height: 52px; }
#stage.quer-handy .vs-drei { grid-template-columns: 1fr; }
#stage.quer-handy .ar-zeile { grid-template-columns: 1fr 1fr; }
.zug-ring { position: absolute; z-index: 6; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 2px solid rgba(255, 214, 120, .75); box-shadow: 0 0 12px rgba(255, 200, 90, .4); pointer-events: none; }
.zug-ring i { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgba(255, 214, 120, .85); }
.fi-marken { position: relative; height: 22px; margin: 10px 9px -8px; }
.fi-marke { position: absolute; top: 0; width: 22px; height: 22px; margin-left: -11px; padding: 0; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 2px solid rgba(0, 0, 0, .55); cursor: pointer; }
.fi-marke::before { content: ''; position: absolute; inset: -11px; }
.fi-marke:hover { filter: brightness(1.25); }
#stage.hoch .fi-marke, #stage.quer-handy .fi-marke { width: 34px; height: 34px; margin-left: -17px; }
#stage.hoch .fi-marken, #stage.quer-handy .fi-marken { height: 34px; }
.br-auftraege { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-top: 8px; font-size: var(--mo-fs-klein, 14px); color: var(--fenster-t); }
.br-auftraege b { width: 100%; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--fenster-leise); }
.br-auftraege span { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--fenster-rand); background: rgba(0, 0, 0, .2); }
.br-auftraege span.fertig { border-color: #6fbf5f; color: #bff0b0; }
.br-auftraege span.neu { animation: br-auf-neu 1.2s ease-out 2; }
.br-auftraege small { color: var(--fenster-leise); font-size: 12px; }
.br-auftraege svg { width: 13px; height: 13px; vertical-align: -2px; }
.br-auftraege em { width: 100%; font-style: normal; font-weight: 700; color: #ffd27a; }
@keyframes br-auf-neu { 0% { box-shadow: 0 0 0 0 rgba(255, 210, 122, .8); } 100% { box-shadow: 0 0 0 10px rgba(255, 210, 122, 0); } }
#stage.quer-handy .vs-zwei { grid-template-columns: 1fr; }
#stage.hoch .vs-liste.drei:not(#vs-gegner), #stage.quer-handy .vs-liste.drei:not(#vs-gegner) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#stage.quer-handy #en-box:has(.br-auftraege) .mo-tipp { display: none; }
#stage.quer-handy .br-auftraege { margin-top: 4px; gap: 4px 6px; }

.pl-rang { margin: -4px 0 10px; color: var(--fenster-leise); font-size: 15px; }
.pl-rang b { color: var(--acc-hell); }
.pl-felder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pl-feld { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 92px; padding: 8px 6px; border-radius: 10px;
  border: 1px solid var(--fenster-rand); background: rgba(0, 0, 0, .22); color: var(--fenster-t); cursor: pointer; font: inherit; text-align: center; }
.pl-feld b { font: 700 22px var(--font-zier); color: var(--acc-hell); line-height: 1; }
.pl-feld span { font-size: 13.5px; line-height: 1.2; }
.pl-feld small { font-size: 12px; color: var(--fenster-leise); }
.pl-feld:hover:not(.zu) { border-color: #ffd27a; box-shadow: 0 0 0 1px #ffd27a inset; }
.pl-feld.zu { opacity: .5; cursor: default; border-style: dashed; }
.pl-feld.geschafft { background: rgba(80, 130, 60, .22); }
.pl-feld.pl-weiter { border-color: #ffd27a; animation: pl-puls 1.6s ease-in-out infinite; }
@keyframes pl-puls { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 210, 122, .55); } 50% { box-shadow: 0 0 0 6px rgba(255, 210, 122, 0); } }
.pl-fuss { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; color: var(--fenster-leise); font-size: 14px; }
.sterne { display: inline-flex; gap: 2px; }
.sterne i { width: 16px; height: 16px; color: rgba(160, 140, 100, .55); display: inline-flex; }
.sterne i svg { width: 100%; height: 100%; }
.sterne i.an { color: #f2b51e; filter: drop-shadow(0 0 2px rgba(255, 200, 60, .7)); }
.en-sterne { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 6px 0; }
.en-sterne .sterne i { width: 30px; height: 30px; }
.en-sterne ul { list-style: none; margin: 0; padding: 0; font-size: 13.5px; color: var(--fenster-leise); }
.en-sterne li.an { color: var(--fenster-t); }
.en-sterne li svg { width: 12px; height: 12px; vertical-align: -1px; }
#stage.hoch .pl-felder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#stage.hoch .pl-feld { min-height: 0; padding: 6px 6px; gap: 2px; }
#stage.hoch .pl-feld b { font-size: 18px; }
#stage.hoch .pl-feld span { font-size: 13px; }
#stage.hoch .pl-feld small { display: none; }
#stage.hoch .en-sterne ul, #stage.hoch .br-auftraege b, #stage.hoch .br-auftraege small { font-size: 17px; }
#stage.hoch .en-sterne { flex-direction: column; gap: 4px; }
#stage.quer-handy .pl-feld { min-height: 0; padding: 6px 4px; }
#stage.quer-handy .pl-feld small, #stage.quer-handy .pl-rang { display: none; }
#stage.hoch .fenster#plan:not(#ende):not(#pause) .f-box { zoom: 1.15; width: 84%; max-height: 86%; }
#stage.hoch .pl-fuss { flex-wrap: wrap; }
#stage.hoch #pl-probe, #stage.quer-handy #pl-probe { white-space: nowrap; min-height: 56px; padding: 0 16px; }
#stage.hoch #pl-probe, #stage.hoch .pl-fuss, #stage.hoch .pl-feld span { font-size: 16px; }
#stage.quer-handy .fenster#plan:not(#ende):not(#pause) .f-box { zoom: 1.25; width: 92%; max-height: 92%; }
#stage.quer-handy #plan h2 { margin-bottom: 6px; }
#stage.quer-handy .pl-feld { min-height: 0; padding: 8px 4px; }
#stage.quer-handy .pl-feld span, #stage.quer-handy #pl-probe, #stage.quer-handy .pl-fuss { font-size: 16px; }
#stage.quer-handy .en-sterne ul, #stage.quer-handy .br-auftraege b, #stage.quer-handy .br-auftraege small { display: none; }
.pl-feld span { font-size: 17px; }
.pl-feld small { font-size: 15px; }
.pl-feld b { font-size: 26px; }
#pl-probe, .pl-fuss { font-size: 17px; }
#pl-probe { min-height: 48px; padding: 0 18px; white-space: nowrap; }
@media (max-height: 500px) and (min-aspect-ratio: 3/2) {
  #stage:not(.hoch):not(.quer-handy) .fenster#plan:not(#ende):not(#pause) .f-box { zoom: 1.6; width: 94%; max-height: 94%; }
  #stage:not(.hoch) .pl-rang, #stage:not(.hoch) .pl-feld small { display: none; }
  #stage:not(.hoch) .pl-feld { min-height: 0; padding: 6px 4px; }
}

.pl-reiter { display: flex; gap: 8px; margin: 0 0 10px; }
.pl-reiter button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; min-height: 48px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--fenster-rand);
  background: rgba(0, 0, 0, .2); color: var(--fenster-t); font: 600 16px var(--font-ui); cursor: pointer; }
.pl-reiter button small { font-size: 14px; font-weight: 400; color: var(--fenster-leise); }
.pl-reiter button.an { border-color: #ffd27a; box-shadow: 0 0 0 1px #ffd27a inset; background: rgba(255, 210, 122, .12); }
.pl-reiter button.zu { opacity: .5; cursor: default; border-style: dashed; }
.pl-abz { display: inline-flex; gap: 4px; font-style: normal; }
.pl-abz em { width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgba(255, 210, 122, .55); }
.pl-abz em.an { background: #ffd27a; box-shadow: 0 0 4px rgba(255, 210, 122, .8); }
.en-abz { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 4px 0; }
.en-abz span { padding: 3px 10px; border-radius: 999px; border: 1px solid #ffd27a; color: var(--fenster-t); font-size: var(--mo-fs-klein, 14px); }
.en-abz span b { color: #ffd27a; }
.en-abz span.neu { animation: br-auf-neu 1.2s ease-out 2; }
.vs-liste.sechs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.lack-punkt { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid; margin-right: 6px; vertical-align: -2px; }
#stage.hoch .vs-liste.sechs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#stage.quer-handy .vs-liste.sechs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#stage.hoch .pl-reiter button, #stage.quer-handy .pl-reiter button { min-height: 52px; }
#stage.quer-handy .en-abz span { font-size: 15px; }
.vs-label small { text-transform: none; letter-spacing: 0; font-size: 13px; }
#stage.quer-handy #plan h2 { display: none; }
#stage.quer-handy .pl-reiter { margin: 0 52px 6px 0; }
#stage.quer-handy .pl-reiter button { flex-direction: row; justify-content: center; gap: 8px; min-height: 46px; padding: 4px 8px; }
#stage.quer-handy .pl-felder { gap: 6px; }
#stage.quer-handy .pl-feld { padding: 4px 4px; gap: 1px; }
#stage.quer-handy .pl-feld b { font-size: 22px; }
#stage.quer-handy .pl-fuss { margin-top: 6px; }

#stage { --sgzl-grund: rgba(7, 15, 28, .95); --sgzl-text: #eef6ff; --sgzl-akzent: #ffd27a; --sgzl-akzent-text: #231a05; }
:root[data-ansicht="morgen"] #stage { --sgzl-grund: rgba(250, 248, 244, .96); --sgzl-text: #1f2430; --sgzl-akzent: #8e2219; --sgzl-akzent-text: #ffffff; }
#lern-ort { position: absolute; left: 178px; top: 100px; width: 480px; z-index: 21; pointer-events: none; }
#lern-ort .sgzl { margin: 0; padding: 10px 52px 11px 13px; pointer-events: auto; font-family: var(--font-ui); }
#lern-ort .sgzl-kopf { font-size: 12px; }
#lern-ort .sgzl-titel { font-size: 18px; }
#lern-ort .sgzl-text { font-size: 15px; line-height: 1.4; }
#lern-ort .sgzl-weiter { min-height: 44px; margin-top: 8px; }
#partie.lern #meldungen { left: 680px; right: 170px; }
#partie.lern #b-pause { display: none; }
#lobby #lo-lern { flex: none; flex-direction: row; align-items: center; gap: 12px; margin: 0 0 8px; padding: 7px 14px; background: linear-gradient(160deg, #1d3b5c, #0a1628 75%); color: #eef6ff;
  border: 2px solid #ffd27a; box-shadow: 0 0 0 3px rgba(255, 210, 122, .18), 0 6px 14px rgba(0, 0, 0, .35); }
#lobby #lo-lern b { color: #ffd27a; white-space: nowrap; font-size: 18px; }
#lobby #lo-lern small { font-size: 14px; }
:root[data-ansicht="morgen"] #lobby #lo-lern { background: linear-gradient(160deg, #f4f1ea, #dfe7f2 75%); color: #1f2430; border-color: #8e2219; }
:root[data-ansicht="morgen"] #lobby #lo-lern b { color: #8e2219; }
.lern-pfeil { display: none; position: absolute; width: 36%; height: 36%; border-radius: 50%; box-sizing: border-box; pointer-events: none;
  border: 2px solid rgba(255, 210, 122, .85); background: rgba(10, 20, 36, .55); }
#partie.lern .lern-pfeil { display: block; }
.lern-pfeil::before { content: ''; position: absolute; left: 50%; top: 50%; width: 30%; height: 30%; border-top: 4px solid #ffd27a; border-left: 4px solid #ffd27a; }
.lern-pfeil[data-r="vor"] { left: 32%; top: -4%; } .lern-pfeil[data-r="vor"]::before { transform: translate(-50%, -25%) rotate(45deg); }
.lern-pfeil[data-r="zurueck"] { left: 32%; top: 68%; } .lern-pfeil[data-r="zurueck"]::before { transform: translate(-50%, -75%) rotate(225deg); }
.lern-pfeil[data-r="links"] { left: -4%; top: 32%; } .lern-pfeil[data-r="links"]::before { transform: translate(-25%, -50%) rotate(-45deg); }
.lern-pfeil[data-r="rechts"] { left: 68%; top: 32%; } .lern-pfeil[data-r="rechts"]::before { transform: translate(-75%, -50%) rotate(135deg); }
#stage.hoch #lern-ort { left: 10px; right: 10px; top: 160px; width: auto; }
#stage.hoch #lern-ort .sgzl { padding: 9px 78px 10px 12px; }
#stage.hoch #lern-ort .sgzl-kopf { font-size: 15px; }
#stage.hoch #lern-ort .sgzl-titel { font-size: 21px; }
#stage.hoch #lern-ort .sgzl-text { font-size: 19px; line-height: 1.35; }
#stage.hoch #lern-ort .sgzl-weiter { min-height: 66px; padding: 8px 30px; font-size: 19px; margin-top: 6px; }
#stage.hoch #lern-ort .sgzl-x { width: 66px; height: 66px; font-size: 26px; }
#stage.hoch #partie.lern #cockpit { top: calc(var(--lern-unten, 440px) + 12px); height: auto; bottom: calc(54% - 164px); }
#stage.hoch #partie.lern #meldungen { left: 16px; right: 16px; top: calc(var(--lern-unten, 440px) + 30px); }
#stage.hoch #lobby #lo-lern { min-height: 72px; }
#stage.hoch #lobby #lo-lern b { font-size: 20px; }
#stage.hoch #lobby #lo-lern small { font-size: 16.5px; }
#stage.quer-handy #lern-ort { left: 206px; top: 86px; width: 560px; }
#stage.quer-handy #lern-ort .sgzl { padding: 8px 76px 9px 12px; }
#stage.quer-handy #lern-ort .sgzl-kopf { font-size: 15px; }
#stage.quer-handy #lern-ort .sgzl-titel { font-size: 19px; margin-bottom: 2px; }
#stage.quer-handy #lern-ort .sgzl-text { font-size: 18px; line-height: 1.3; }
#stage.quer-handy #lern-ort .sgzl-weiter { min-height: 64px; padding: 6px 28px; font-size: 18px; margin-top: 6px; }
#stage.quer-handy #lern-ort .sgzl-x { width: 64px; height: 64px; font-size: 26px; }
#stage.quer-handy #partie.lern #meldungen { left: 780px; right: 200px; }
#stage.quer-handy #lobby #lo-lern { min-height: 66px; padding: 4px 12px; }
#stage.quer-handy #lobby #lo-lern b { font-size: 20px; }
#stage.quer-handy #lobby #lo-lern small { font-size: 17px; }
#daumen-r b { pointer-events: none; }
#stage.hoch .lo-chat:has(#lo-lern) { flex-grow: 3.6; }
#stage.hoch .lo-start:has(#lo-lern) { flex-grow: 2.6; }
#stage.hoch #lobby #lo-lern { padding: 6px 12px; }

.kombo { position: absolute; left: 50%; top: 18%; z-index: 21; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 16px 8px; border-radius: 12px; background: rgba(10, 16, 28, .86); border: 1px solid #ffd27a; color: #ffd27a; pointer-events: none; --rest: 1; }
.kombo span { font: 600 14px var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: #f4e6c0; }
.kombo b { font: 700 32px var(--font-zier); line-height: 1; animation: kombo-hupf .35s ease-out; }
.kombo i { display: block; width: 120px; height: 5px; border-radius: 3px; background: linear-gradient(90deg, #ffd27a calc(var(--rest) * 100%), rgba(255, 255, 255, .15) 0); }
.kombo.heiss { box-shadow: 0 0 18px rgba(255, 190, 80, .55); }
@keyframes kombo-hupf { 0% { transform: scale(1.6); } 100% { transform: scale(1); } }
.en-sterne .sterne i.an { animation: stern-pop .5s cubic-bezier(.2, 1.6, .4, 1) backwards; }
.en-sterne .sterne i.an:nth-child(1) { animation-delay: .5s; }
.en-sterne .sterne i.an:nth-child(2) { animation-delay: .92s; }
.en-sterne .sterne i.an:nth-child(3) { animation-delay: 1.34s; }
@keyframes stern-pop { 0% { transform: scale(0) rotate(-90deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
#stage.quer-handy .kombo { top: 12%; }
#stage.quer-handy .kombo b { font-size: 26px; }
.kombo { left: auto; right: 4%; top: 30%; transform: none; }
#stage.quer-handy .kombo { top: 26%; right: 3%; }
#stage.hoch .kombo { top: 34%; right: 4%; }
#cockpit.waffenruhe ~ * #daumen-r, #partie:has(#cockpit.waffenruhe) #daumen-r { filter: grayscale(.9) brightness(.7); }
#partie:has(#cockpit.waffenruhe) #b-lade { opacity: .45; }
