:root { --bg: #0f1422; --tafel1: rgba(28, 40, 70, .95); --tafel2: rgba(14, 22, 42, .97); --text: #eef1f6; --leise: #b9c4d8; --akzent: #ffb23f;
  --emaille1: #f6efe2; --emaille2: #eadcc2; --emailleschrift: #1b2030; --emaillerand: #c8322a; --knopf: #2a3a62; --knopfschrift: #eef1f6;
  --ov: rgba(6, 10, 20, .55); --fenster1: rgba(250, 246, 238, .97); --fenster2: rgba(238, 230, 214, .97); --fensterschrift: #1b2030; --fensterleise: #4e5670;
  --haupt: #c8322a; --hauptschrift: #fff8f0; --gut: #1e7a4a; --warn: #b4401e; --schatten: rgba(0, 0, 0, .55); --holz: #3a2818; --dunkel: rgba(14, 18, 30, .92); }
:root[data-ansicht="probe"] { --bg: #1a1610; --tafel1: rgba(70, 48, 26, .95); --tafel2: rgba(44, 28, 14, .97); --akzent: #ffd36a;
  --emaille1: #fbf4e2; --emaille2: #efe2c4; --emailleschrift: #2a1a10; --emaillerand: #8a5a2a; --knopf: #6a4626; --holz: #3a2414;
  --ov: rgba(20, 12, 4, .5); --haupt: #a8501e; --hauptschrift: #fff8f0; --dunkel: rgba(30, 20, 12, .92); }
:root[data-ansicht="premiere"] { --bg: #1c0c14; --tafel1: rgba(90, 20, 36, .95); --tafel2: rgba(52, 10, 22, .97); --akzent: #ffd86a;
  --emaille1: #fff6e8; --emaille2: #f4e2c8; --emailleschrift: #2a0e16; --emaillerand: #b8902a; --knopf: #6a1a2c; --holz: #2a1018;
  --ov: rgba(20, 4, 10, .5); --haupt: #b8902a; --hauptschrift: #1c0c14; --dunkel: rgba(30, 10, 18, .92); }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--text); font: 16px/1.4 Georgia, 'Times New Roman', serif;
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
* { 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; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; }
kbd { font: bold 12px/1 Georgia, serif; padding: 2px 5px; border-radius: 4px; background: rgba(0, 0, 0, .12); border: 1px solid rgba(0, 0, 0, .25); }

#stage { position: fixed; inset: 0; overflow: hidden; }
#kulisse { position: absolute; inset: 0; background: linear-gradient(180deg, #141c30 0, #1e2a44 55%, #3a2818 62%, #241a10 100%);
  background-size: cover; background-position: center; }
#kulisse::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: linear-gradient(115deg, rgba(255, 230, 170, .18) 0 12%, transparent 12% 22%, rgba(255, 230, 170, .12) 22% 30%, transparent 30%); animation: funkeln 9s ease-in-out infinite alternate; }
:root[data-ansicht="nacht"] #kulisse { background: url(img/nacht.webp?v=1) center / cover no-repeat, #0f1422 url(img/nacht-klein.webp?v=1) center / cover no-repeat; }
:root[data-ansicht="probe"] #kulisse { background: url(img/probe.webp?v=1) center / cover no-repeat, #1a1610 url(img/probe-klein.webp?v=1) center / cover no-repeat; }
:root[data-ansicht="premiere"] #kulisse { background: url(img/premiere.webp?v=1) center / cover no-repeat, #1c0c14 url(img/premiere-klein.webp?v=1) center / cover no-repeat; }
:root[data-ansicht="probe"] #kulisse::before, :root[data-ansicht="premiere"] #kulisse::before { opacity: .15; }
@media (orientation: portrait) and (max-width: 900px) {
  :root[data-ansicht="nacht"] #kulisse { background-image: url(img/nacht-hoch.webp?v=1), url(img/nacht-hoch-klein.webp?v=1); }
  :root[data-ansicht="probe"] #kulisse { background-image: url(img/probe-hoch.webp?v=1), url(img/probe-hoch-klein.webp?v=1); }
  :root[data-ansicht="premiere"] #kulisse { background-image: url(img/premiere-hoch.webp?v=1), url(img/premiere-hoch-klein.webp?v=1); }
}
@keyframes funkeln { from { opacity: .35; transform: scale(1); } to { opacity: .8; transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { #kulisse::before { animation: none; } }
#stage { touch-action: none; }
#cv { position: absolute; touch-action: none; display: block; z-index: 1; border-radius: 14px 14px 0 0;
  box-shadow: 0 0 0 1px rgba(20, 12, 4, .6), 18px 26px 40px rgba(0, 0, 0, .45), 4px 8px 14px rgba(0, 0, 0, .3); }
#kopf { position: absolute; z-index: 2; display: grid; place-items: center; border-radius: 12px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 2px, rgba(0, 0, 0, .05) 2px 8px), linear-gradient(90deg, #1c1240, #3a2a6a 50%, #1c1240);
  box-shadow: inset 0 0 0 2px #ffcf4a, 0 10px 22px rgba(0, 0, 0, .45); }
:root:not(.breit) #kopf { border-radius: 0; box-shadow: inset 0 -2px 0 #ffcf4a; }
#dmd { display: block; border-radius: 4px; }
#zeile { position: absolute; z-index: 2; left: 0; right: 0; display: none; align-items: center; justify-content: center; padding: 0 10px;
  background: rgba(12, 10, 40, .9); color: #fff4e0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:root:not(.breit) #zeile { display: flex; }

.tafel { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 250px; display: none; flex-direction: column; gap: 10px; }
:root.breit .tafel { display: flex; }
#links { left: 20px; padding: 18px 16px 20px; border-radius: 14px; background-color: var(--holz);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 2px, rgba(0, 0, 0, .05) 2px 8px), linear-gradient(180deg, var(--tafel1), var(--tafel2));
  box-shadow: 0 18px 34px var(--schatten), inset 0 2px 0 rgba(255, 220, 170, .25); color: var(--text); }
#links::before, #links::after { content: ''; position: absolute; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff4d6, #a8692c); }
#links::before { left: 10px; } #links::after { right: 10px; }
#logo { font: bold 15px/1 Georgia, serif; letter-spacing: .12em; color: var(--akzent); text-align: center; background: rgba(0, 0, 0, .28); border-radius: 8px; padding: 6px 0; }
#logo b { display: block; font-size: 30px; letter-spacing: .04em; color: var(--text); text-shadow: 0 2px 0 rgba(0, 0, 0, .35); }
#modus { text-align: center; color: var(--leise); font-size: 14px; min-height: 20px; background: rgba(0, 0, 0, .28); border-radius: 8px; }
.wert { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, .28); }
.wert span { font-size: 13px; color: var(--leise); } .wert b { font-size: 19px; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
#abz { padding: 8px 10px; border-radius: 8px; background: rgba(0, 0, 0, .28); }
#abz > span, #auftrag > span { font-size: 13px; color: var(--leise); }
#abzliste { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; font-size: 13px; }
#abzliste li { display: flex; align-items: center; gap: 6px; color: var(--leise); }
#abzliste li i { width: 14px; height: 14px; flex: none; clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 2px var(--f); }
#abzliste li.an { color: var(--text); } #abzliste li.an i { background: var(--f); }
#abzliste li.lauf i { animation: blink .5s steps(2) infinite; background: var(--f); }
@keyframes blink { 50% { opacity: .25; } }
#auftrag { padding: 8px 10px; border-radius: 8px; background: rgba(0, 0, 0, .28); min-height: 84px; }
#auftrag b { display: block; font-size: 15px; line-height: 1.3; margin-top: 3px; min-height: 40px; }
#auftrag i { font-style: normal; font-size: 13px; color: var(--akzent); font-variant-numeric: lining-nums tabular-nums; }

#rechts { right: 20px; gap: 12px; }
#schild { padding: 16px 16px 12px; border-radius: 14px; background: linear-gradient(180deg, var(--emaille1), var(--emaille2)); color: var(--emailleschrift);
  box-shadow: 0 14px 28px var(--schatten), inset 0 0 0 3px var(--emaillerand), inset 0 0 0 6px var(--emaille1), inset 0 0 0 7px var(--emaillerand); font-size: 14px; }
#schild > b { display: block; text-align: center; letter-spacing: .1em; text-transform: uppercase; color: var(--emaillerand); margin-bottom: 6px; }
#schild p { margin: 0 0 8px; line-height: 1.7; } #schild kbd { background: rgba(0, 0, 0, .06); }
#einst { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#einst button { border: 0; border-radius: 10px; padding: 8px; background: linear-gradient(180deg, var(--emaille1), var(--emaille2)); color: var(--emailleschrift);
  box-shadow: 0 8px 16px var(--schatten), inset 0 0 0 2px var(--emaillerand); display: flex; flex-direction: column; align-items: center; min-height: 52px; }
#einst span { font-size: 12px; } #einst b { font-size: 18px; font-variant-numeric: lining-nums tabular-nums; }
#wertung { font-size: 13px; text-align: center; color: #fff4e0; background: #0a2c3a; border-radius: 10px; padding: 6px 8px; min-height: 36px; }
#wertung.aus { color: #ffd0b0; }

#knoepfe { position: absolute; z-index: 3; display: flex; gap: 8px; }
#knoepfe button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--akzent); background: var(--dunkel); color: var(--text);
  display: grid; place-items: center; padding: 0; box-shadow: 0 6px 12px var(--schatten); }
#knoepfe button:hover { background: rgba(140, 70, 24, .95); }
#knoepfe svg { width: 22px; height: 22px; }
:root.breit #knoepfe { right: 20px; bottom: 20px; }
:root:not(.breit) #knoepfe { top: 8px; left: 8px; right: 8px; justify-content: space-between; pointer-events: none; }
:root:not(.breit) #knoepfe button { pointer-events: auto; width: 40px; height: 40px; }
:root:not(.breit) #b-hilfe, :root:not(.breit) #b-ton { display: none; }
:root:not(.breit) #knoepfe { display: grid; grid-template-columns: 40px 40px 1fr 40px; gap: 6px; }
:root:not(.breit) #b-menue { grid-column: 1; } :root:not(.breit) #b-pause { grid-column: 2; grid-row: 1; } :root:not(.breit) #b-exit { grid-column: 4; grid-row: 1; }

#zielhilfe { position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 8px 16px; border-radius: 20px;
  background: var(--dunkel); color: #fff; font-size: 16px; box-shadow: 0 6px 14px var(--schatten); pointer-events: none; min-width: 230px; text-align: center; }
#zielhilfe.gut { background: rgba(20, 110, 60, .9); } #zielhilfe.schlecht { background: rgba(140, 40, 20, .9); }
#zielhilfe.treffer { background: rgba(255, 178, 63, .95); color: #1b2030; box-shadow: 0 0 18px rgba(255, 178, 63, .8); }
#zielhilfe .jetzt { display: inline-block; padding: 0 6px; margin-right: 4px; border-radius: 8px; background: #c8322a; color: #fff; animation: jetztPuls .45s ease-in-out infinite alternate; }
@keyframes jetztPuls { from { transform: scale(1); } to { transform: scale(1.12); } }

#ov { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; background: var(--ov); padding: 16px; overflow: auto; }
.fenster { position: relative; box-sizing: border-box; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 24px 24px 20px; border-radius: 16px;
  background: linear-gradient(180deg, var(--fenster1), var(--fenster2)); color: var(--fensterschrift); box-shadow: 0 24px 48px rgba(0, 0, 0, .5), inset 0 0 0 3px var(--emaillerand); }
.fenster h1 { margin: 0; font-size: 38px; text-align: center; letter-spacing: .02em; color: var(--fensterschrift); }
.fenster h1 span { display: block; font-size: 16px; letter-spacing: .3em; color: var(--emaillerand); }
.fenster h2 { margin: 0 0 12px; font-size: 26px; text-align: center; } .fenster h3 { margin: 16px 0 6px; font-size: 17px; color: var(--emaillerand); }
.fenster p { margin: 0 0 10px; line-height: 1.45; } .fenster ul { padding-left: 20px; margin: 0 0 8px; } .fenster li { margin-bottom: 5px; line-height: 1.4; }
.fenster .unter, .fenster .hinweis { text-align: center; color: var(--fensterleise); font-size: 15px; } .fenster .hinweis { font-size: 13px; margin: 10px 0 0; }
.fenster .zu { position: sticky; top: 0; float: right; margin: -12px -12px 0 0; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--emaillerand);
  background: var(--fenster1); color: var(--fensterschrift); display: grid; place-items: center; padding: 0; z-index: 2; }
.fenster .zu svg { width: 18px; height: 18px; }
.karten { display: grid; gap: 10px; margin: 16px 0; }
.karte { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left; padding: 12px 14px; border-radius: 12px;
  border: 2px solid var(--emaillerand); background: rgba(255, 255, 255, .35); color: var(--fensterschrift); min-height: 64px; }
.karte svg { grid-row: 1 / 3; width: 30px; height: 30px; color: var(--emaillerand); }
.karte b { font-size: 19px; } .karte small { color: var(--fensterleise); font-size: 14px; }
.karte.haupt { background: var(--haupt); color: var(--hauptschrift); border-color: var(--haupt); } .karte.haupt small, .karte.haupt svg { color: var(--hauptschrift); }
.karte.fort { width: 100%; margin: 16px 0 -4px; background: #1f7a4c; border-color: #1f7a4c; color: #fff; } .karte.fort small, .karte.fort svg { color: #eafff2; }
.reihe { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.reihe button, .leiste button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border-radius: 22px; border: 2px solid var(--emaillerand);
  background: rgba(255, 255, 255, .3); color: var(--fensterschrift); }
.reihe button svg, .leiste button svg { width: 18px; height: 18px; }
.reihe button.haupt, .leiste button.haupt { background: var(--haupt); border-color: var(--haupt); color: var(--hauptschrift); }
.reihe.klein button { min-height: 40px; font-size: 14px; }
.leiste { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 8px; padding: 8px; border-radius: 28px; background: var(--fenster1); box-shadow: 0 10px 24px rgba(0, 0, 0, .45); }
:root #ov:has(.leiste) { background: transparent; pointer-events: none; } #ov .leiste { pointer-events: auto; }
.gross { text-align: center; font-size: 44px; font-weight: bold; font-variant-numeric: lining-nums tabular-nums; margin: 4px 0 10px; }
.gross small { display: block; font-size: 15px; font-weight: normal; color: var(--fensterleise); }
table.weg { width: 100%; border-collapse: collapse; margin: 6px 0 10px; } table.weg td { padding: 5px 4px; border-bottom: 1px solid rgba(0, 0, 0, .1); }
table.weg td:last-child { text-align: right; font-variant-numeric: lining-nums tabular-nums; }
.pruef { text-align: center; font-size: 14px; color: var(--fensterleise); min-height: 22px; }
ol.liste { margin: 8px 0; padding-left: 26px; } ol.liste li { display: flex; justify-content: space-between; } ol.liste b { font-variant-numeric: lining-nums tabular-nums; }
.kasten { padding: 10px 14px; border-radius: 10px; background: rgba(255, 122, 58, .14); border-left: 4px solid var(--haupt); margin-bottom: 8px; }
ul.abzgross { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
ul.abzgross li { display: grid; grid-template-columns: 22px 1fr; column-gap: 8px; align-items: center; padding: 6px 8px; border-radius: 8px; background: rgba(0, 0, 0, .05); }
ul.abzgross li i { grid-row: 1 / 3; width: 20px; height: 20px; clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); background: rgba(0, 0, 0, .15); box-shadow: inset 0 0 0 3px var(--f); }
ul.abzgross li.an i { background: var(--f); } ul.abzgross li span { font-size: 13px; color: var(--fensterleise); }
@media (max-width: 520px) { .fenster { padding: 18px 14px 16px; } .fenster h1 { font-size: 30px; } ul.abzgross { grid-template-columns: 1fr; } }
@media (pointer: coarse) { #schild p:first-of-type { display: none; } }

#b-zeitlupe { position: absolute; z-index: 3; left: 16px; bottom: 18px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px;
  border-radius: 22px; border: 2px solid var(--akzent); background: var(--dunkel); color: var(--text); box-shadow: 0 6px 12px var(--schatten); }
#b-zeitlupe svg { width: 18px; height: 18px; } #b-zeitlupe.an { background: #1e7a4a; border-color: #bff4d0; }
:root:not(.breit) #b-zeitlupe { bottom: 64px; left: 8px; font-size: 14px; }
#zonen { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 46%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; gap: 8px; padding: 8px; pointer-events: none; }
#zonen > div { display: flex; flex-direction: column; align-items: center; justify-content: center; border: 3px dashed rgba(255, 244, 224, .85); border-radius: 18px;
  background: rgba(6, 30, 40, .35); color: #fff4e0; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
#zonen span { display: flex; flex-direction: column; align-items: center; padding: 6px 14px; border-radius: 12px; background: rgba(6, 30, 40, .96); }
#zonen b { font-size: 19px; } #zonen small { font-size: 14px; color: #fff4e0; }
#zonen p { grid-column: 1 / 3; margin: 0; text-align: center; padding: 6px 10px; border-radius: 12px; background: rgba(6, 30, 40, .95); color: #fff4e0; font-size: 15px; }
.fenster .rekord { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--haupt); color: var(--hauptschrift); font-weight: bold; }
.fenster .rekord svg { width: 20px; height: 20px; flex: none; }
.fenster h3.vh { margin-top: 10px; }
table.kugeln td small { display: block; font-size: 13px; color: var(--fensterleise); }
table.kugeln tr.beste td { font-weight: bold; } table.kugeln tr.beste td:first-child::after { content: ' – beste Kugel'; font-weight: normal; font-size: 13px; color: var(--emaillerand); }
table.tasten td small { display: block; margin-top: 3px; } table.tasten td small kbd { margin-right: 3px; }
table.tasten button { min-height: 40px; padding: 6px 12px; border-radius: 20px; border: 2px solid var(--emaillerand); background: rgba(255, 255, 255, .3); color: var(--fensterschrift); }
table.tasten button.haupt { background: var(--haupt); border-color: var(--haupt); color: var(--hauptschrift); }

#kopf { background: linear-gradient(rgba(6, 10, 20, .18), rgba(6, 10, 20, .18)), url(img/kopf.webp?v=1) center / cover no-repeat, #1e2a44; }
#stationen { position: absolute; inset: 0; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: repeat(3, 1fr); padding: 4px 12px; pointer-events: none; }
#stationen span { display: flex; align-items: center; gap: 5px; font: bold 11px/1 Georgia, serif; color: #fff4e0; text-shadow: 0 1px 2px #000, 0 0 4px #000;
  background: rgba(20, 8, 2, .62); border-radius: 8px; padding: 2px 7px 2px 4px; align-self: center; }
#stationen span:nth-child(1), #stationen span:nth-child(4) { grid-row: 1; } #stationen span:nth-child(2), #stationen span:nth-child(5) { grid-row: 2; }
#stationen span:nth-child(3), #stationen span:nth-child(6) { grid-row: 3; }
#stationen span:nth-child(-n+3) { grid-column: 1; } #stationen span:nth-child(n+4) { grid-column: 3; }
#stationen i { width: 11px; height: 11px; border-radius: 50%; background: #3a2410; box-shadow: inset 0 0 0 1px #ffd9a8; flex: none; }
#stationen .an i { background: #ffd23a; box-shadow: 0 0 6px #ffd23a, inset 0 0 0 1px #fff; }
#stationen .jetzt i { background: #ff7a3a; animation: blink .6s steps(2) infinite; }
#dmd { position: relative; z-index: 1; }
:root:not(.breit) #stationen { display: none; }
#b-aufgabe { position: absolute; z-index: 3; left: 16px; bottom: 70px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px;
  border-radius: 22px; border: 2px solid var(--akzent); background: var(--dunkel); color: var(--text); box-shadow: 0 6px 12px var(--schatten); }
#b-aufgabe svg { width: 18px; height: 18px; }
:root:not(.breit) #b-aufgabe { bottom: 116px; left: 8px; font-size: 14px; }
.wasjetzt { display: grid; grid-template-columns: 220px 1fr; gap: 14px; align-items: start; margin: 6px 0 10px; }
.wasjetzt canvas { width: 220px; height: 442px; border-radius: 10px; box-shadow: 0 6px 14px rgba(0, 0, 0, .35); background: #0a2c3a; }
.wasjetzt h3 { margin-top: 0; } .fenster p.klein { font-size: 14px; }
ol.ziele { list-style: none; padding: 0; margin: 6px 0; } ol.ziele li { display: flex; gap: 8px; align-items: baseline; margin-bottom: 7px; font-size: 15px; }
ol.ziele li b { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #0a2c3a; color: #fff; font-size: 13px; }
ol.ziele li:first-child b { background: #ff7a3a; }
@media (max-width: 520px) { .wasjetzt { grid-template-columns: 130px 1fr; } .wasjetzt canvas { width: 130px; height: 261px; } }

#bonustafel { position: absolute; z-index: 4; left: 50%; top: 42%; transform: translate(-50%, -50%); width: min(340px, 86vw); padding: 16px 18px 12px; border-radius: 16px; text-align: center;
  background: linear-gradient(180deg, rgba(40, 30, 18, .95), rgba(20, 14, 8, .97)); color: #fff4e0; box-shadow: 0 18px 40px rgba(0, 0, 0, .55), inset 0 0 0 3px #ffcf4a;
  pointer-events: none; animation: bonusEin .35s ease-out; }
#bonustafel .titel { display: block; font: bold 30px/1 Georgia, serif; letter-spacing: .14em; color: #ffd23a; text-shadow: 0 0 12px rgba(255, 190, 60, .7); margin-bottom: 8px; }
#bonustafel .zeilen p { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 5px; font-size: 16px; opacity: .25; transition: opacity .2s; }
#bonustafel .zeilen p.an { opacity: 1; } #bonustafel .zeilen p b { font-variant-numeric: lining-nums tabular-nums; color: #bff4ff; }
#bonustafel .zeilen p.tilt, #bonustafel .zeilen p.leer { opacity: 1; justify-content: center; color: #ffd0b0; }
#bonustafel .mal { min-height: 34px; font: bold 30px/1.1 Georgia, serif; color: #ff7a3a; }
#bonustafel .mal.knall { animation: malKnall .45s cubic-bezier(.2, 1.6, .4, 1); }
#bonustafel .summe { min-height: 34px; font: bold 28px/1.2 Georgia, serif; color: #fff; font-variant-numeric: lining-nums tabular-nums; text-shadow: 0 0 10px rgba(120, 220, 255, .8); }
#bonustafel small { display: block; margin-top: 6px; font-size: 12px; color: #c8dce8; }
#bonustafel.weg { animation: bonusWeg .45s ease-in forwards; }
@keyframes bonusEin { from { opacity: 0; transform: translate(-50%, -40%) scale(.9); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes malKnall { from { transform: scale(2.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes bonusWeg { to { opacity: 0; transform: translate(-50%, -120%) scale(.6); } }
@media (prefers-reduced-motion: reduce) { #bonustafel, #bonustafel .mal.knall, #bonustafel.weg { animation: none; } }

#tauchbild { position: absolute; z-index: 4; left: 50%; top: 34%; transform: translate(-50%, -50%); border-radius: 14px; box-shadow: 0 16px 36px rgba(0, 0, 0, .55); pointer-events: none; }

#b-art { grid-column: span 2; }
.wert[data-ki="tageszeit"] b { font-size: 15px; }
#w-badetag { font-size: 15px; white-space: normal; text-align: right; }
#b-seite { grid-column: span 2; }
:root.breit #abzliste { grid-template-columns: 1fr; }

#info { position: absolute; z-index: 2; box-sizing: border-box; top: 50%; transform: translateY(-50%); display: none; flex-direction: column; gap: 16px; padding: 22px 18px 20px; border-radius: 16px;
  max-height: calc(100vh - 32px); overflow: hidden; background-color: var(--holz);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 2px, rgba(0, 0, 0, .05) 2px 8px), linear-gradient(180deg, var(--tafel1), var(--tafel2));
  box-shadow: 0 18px 34px var(--schatten), inset 0 2px 0 rgba(255, 220, 170, .25); }
:root.breit #info { display: flex; }
#info::before, #info::after { content: ''; position: absolute; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff4d6, #a8692c); }
#info::before { left: 11px; } #info::after { right: 11px; }
#info .tafel { position: static; transform: none; width: auto; display: flex; }
#info #links { padding: 0; background: none; box-shadow: none; }
#info #links::before, #info #links::after { display: none; }
#info #rechts { padding-top: 16px; border-top: 2px solid rgba(255, 220, 170, .2); }
#info.eng { gap: 12px; } #info.eng #schild { display: none; } #info.eng #rechts { padding-top: 12px; gap: 8px; }
#info.enger { gap: 8px; padding: 18px 14px 14px; }
#info.enger #links { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
#info.enger #logo, #info.enger #modus, #info.enger #abz, #info.enger #auftrag, #info.enger [data-ki="badetag"] { grid-column: 1 / -1; }
#info.enger .wert { flex-direction: column; align-items: flex-start; gap: 0; padding: 5px 9px; } #info.enger .wert b { font-size: 17px; }
#info.enger [data-ki="badetag"] { flex-direction: row; align-items: baseline; }
#info.enger #abzliste { grid-template-columns: 1fr 1fr; } #info.enger #auftrag { min-height: 0; } #info.enger #auftrag b { min-height: 0; }
#info.enger #logo b { font-size: 24px; } #info.enger #einst button { min-height: 44px; padding: 5px; }
#info.enger #b-art, #info.enger #b-seite { grid-column: auto; }
#info.engst { gap: 6px; padding: 16px 12px 12px; } #info.engst #links { gap: 6px; } #info.engst #rechts { gap: 6px; padding-top: 8px; }
#info.engst #modus { display: none; } #info.engst #logo { padding: 3px 0; } #info.engst #logo span { display: none; } #info.engst #logo b { font-size: 20px; }
#info.engst #wertung { min-height: 0; padding: 4px 8px; }

#rundgang { position: absolute; z-index: 6; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(460px, calc(100% - 32px)); padding: 16px 20px 14px; }
#rundgang[hidden] { display: none; }
#rundgang small { display: block; text-align: center; color: var(--emaillerand); font-size: 13px; }
#rundgang h2 { font-size: 22px; margin: 2px 0 8px; } #rundgang p { font-size: 15px; min-height: 66px; }
#rundgang .reihe button:disabled { opacity: .4; }
:root.breit #rundgang { left: calc(var(--tischmitte, 50%)); }
#rundgang.oben { bottom: auto; top: 12px; }
#rundgang.quer { transform: none; bottom: 8px; top: auto; max-height: calc(100% - 16px); overflow-y: auto; padding: 10px 14px; }
#rundgang.quer h2 { font-size: 18px; } #rundgang.quer p { font-size: 13px; min-height: 0; }
#fuehrung { position: absolute; z-index: 5; left: 50%; top: 104px; transform: translateX(-50%); width: min(400px, calc(100% - 32px)); padding: 10px 16px 10px; }
#fuehrung[hidden] { display: none; }
#fuehrung small { display: block; text-align: center; color: var(--emaillerand); font-size: 12px; }
#fuehrung h3 { font-size: 18px; margin: 2px 0 4px; text-align: center; } #fuehrung p { font-size: 14px; margin: 0 0 8px; }
#fuehrung .reihe button { min-height: 44px; }
#fuehrung.neu { animation: fuehrNeu .35s ease-out; }
@keyframes fuehrNeu { from { opacity: 0; transform: translate(-50%, -10px); } to { opacity: 1; transform: translate(-50%, 0); } }
:root.breit #fuehrung { left: calc(var(--tischmitte, 50%)); top: 62px; }
.ziele3 { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 5px; }
.ziele3 li { display: flex; gap: 7px; align-items: baseline; font-size: 14px; line-height: 1.3; font-weight: normal; }
#auftrag .ziele3 li i { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font: bold 11px/1 Georgia, serif; background: #0a2c3a; color: #fff; box-shadow: 0 0 0 1.5px #fff4e0; }
#auftrag .ziele3 li.erst i { background: #ffb36a; color: #3a1200; }
.ziele3 li.erst { font-weight: bold; }
.fenster.pausef { width: min(1080px, 100%); }
.pinhalt { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; margin: 4px 0 12px; }
.pinhalt #karte { border-radius: 12px; box-shadow: 0 8px 18px rgba(0, 0, 0, .35); background: #0a2c3a; }
.pinhalt .prechts > p { margin-top: 0; font-size: 17px; }
.pinhalt .wasjetzt { display: block; margin: 0 0 6px; }
.pinhalt .wasjetzt h3, .pinhalt h3 { margin-top: 6px; }
.pinhalt ol.ziele li { font-size: 16px; }
@media (max-width: 700px) { .pinhalt { gap: 12px; } .pinhalt ul.abzgross { grid-template-columns: 1fr; } }
.pinhalt .prechts { font-size: 17px; } .pinhalt .prechts h3 { font-size: 20px; } .pinhalt .prechts p.klein { font-size: 16px; }
.pinhalt ul.abzgross li b { font-size: 17px; } .pinhalt ul.abzgross li span { font-size: 14px; }
@media (max-width: 700px) { .pinhalt .prechts { font-size: 15px; } .pinhalt ul.abzgross li b { font-size: 15px; } }
@media (max-width: 700px) { .pinhalt { grid-template-columns: 1fr; } .pinhalt #karte { justify-self: center; } }
#kulisse::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-color: transparent; transition: background-color 2.5s ease; }
#b-kamera { grid-column: span 2; } #info.enger #b-kamera { grid-column: 1 / -1; }
#rueckblick { position: absolute; z-index: 5; left: 50%; top: 12px; transform: translateX(-50%); padding: 6px 16px; border-radius: 20px; background: rgba(10, 44, 58, .88);
  color: #fff4e0; font: bold 15px/1.2 Georgia, serif; letter-spacing: .06em; box-shadow: 0 6px 14px rgba(0, 0, 0, .35); pointer-events: none; }
#rueckblick[hidden] { display: none; }
:root.breit #rueckblick { left: var(--tischmitte, 50%); top: auto; bottom: 24px; }
ul.stempel { list-style: none; padding: 0; margin: 6px 0 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
ul.stempel li { display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; align-items: center; padding: 7px 9px; border-radius: 10px; border: 2px dashed rgba(0, 0, 0, .18); }
ul.stempel li i { grid-row: 1 / 3; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .08); color: rgba(0, 0, 0, .35); }
ul.stempel li i svg { width: 18px; height: 18px; }
ul.stempel li.an { border-style: solid; border-color: var(--emaillerand); background: rgba(255, 179, 106, .14); }
ul.stempel li.an i { background: var(--emaillerand); color: #fff; transform: rotate(-8deg); }
ul.stempel li b { font-size: 14px; } ul.stempel li span { font-size: 12px; color: var(--fensterleise); }
@media (max-width: 460px) { ul.stempel { grid-template-columns: 1fr; } ul.stempel li b { overflow-wrap: break-word; hyphens: auto; } }
#info.engst #einst { grid-template-columns: 1fr 1fr 1fr; gap: 6px; } #info.engst #einst b { font-size: 15px; } #info.engst #einst span { font-size: 11px; }
#info.engst #b-art, #info.engst #b-seite { grid-column: auto; } #info.engst #b-kamera { grid-column: span 2; }
#leitertipp { position: absolute; z-index: 6; right: 4%; top: 52%; width: 44%; padding: 18px 10px; border-radius: 18px; text-align: center; pointer-events: none;
  background: rgba(210, 40, 60, .82); color: #fff4e0; box-shadow: 0 0 0 3px #ffcf4a, 0 10px 24px rgba(0, 0, 0, .5); animation: leiterpuls .35s ease-in-out infinite alternate; }
#leitertipp b { display: block; font-size: 22px; letter-spacing: .06em; } #leitertipp small { font-size: 14px; }
@keyframes leiterpuls { from { transform: scale(1); } to { transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) { #leitertipp { animation: none; } }
#spielaus { position: absolute; z-index: 6; left: var(--tischmitte, 50%); top: 42%; transform: translate(-50%, -50%); text-align: center; pointer-events: none;
  padding: 18px 34px; border-radius: 16px; background: var(--dunkel); border: 3px solid var(--akzent); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
#spielaus b { display: block; font: bold 46px/1.1 Georgia, serif; color: #ffe9a8; letter-spacing: .06em; text-shadow: 0 0 16px rgba(255, 160, 80, .7); }
#spielaus small { display: block; margin-top: 6px; font: bold 20px Georgia, serif; color: #fff4e0; }
#spielaus[hidden] { display: none; }
#spielaus.an { animation: spielaus .5s ease-out; }
@keyframes spielaus { from { opacity: 0; transform: translate(-50%, -50%) scale(.7); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@media (prefers-reduced-motion: reduce) { #spielaus.an { animation: none; } }
@media (max-width: 600px) { #spielaus b { font-size: 34px; } }
:root.breit #bonustafel { left: var(--tischmitte, 50%); }
#bonustafel .zeilen p.gatter { border-top: 1px dashed rgba(255, 178, 63, .5); padding-top: 5px; } #bonustafel .zeilen p.gatter b { color: #ffb23f; }
#info.knapp #abz { display: none; }
#info.knapp { overflow-y: auto; }
#info #links > * { min-width: 0; } #info.enger .wert b { white-space: normal; overflow-wrap: break-word; hyphens: auto; }
.einstF .einstgitter { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin: 14px 0; }
.einstF .einstgitter button { display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 10px 12px; border-radius: 10px; border: 2px solid var(--emaillerand); background: rgba(255, 255, 255, .35); color: var(--fensterschrift); min-height: 54px; }
.einstF .einstgitter button b { font-size: 16px; } .einstF .einstgitter button small { color: var(--fensterleise); font-size: 13px; }

:root.quer #zeile { display: flex; justify-content: flex-start; text-align: left; font-size: 14px; line-height: 1.1; padding: 0 8px; white-space: normal; overflow-wrap: break-word; hyphens: auto; color: #fff; background: rgba(8, 12, 22, .88) padding-box; border: solid transparent; border-width: 2px 6px; border-radius: 12px; overflow: hidden; }
:root.quer #knoepfe { top: 6px; }

:root.breit #ov:has(> .menue) { place-items: center start; padding-left: max(16px, calc(var(--tischmitte, 50%) - 280px)); pointer-events: none; }
:root.breit #ov:has(> .menue) > .menue { pointer-events: auto; }
:root:not(.breit) #ov:has(> .menue) { place-items: end center; pointer-events: none; background: transparent; padding: 8px; }
:root:not(.breit) #ov > .menue { pointer-events: auto; width: min(560px, 84%); max-height: 58vh; padding: 12px 12px 10px; }
:root:not(.breit) #ov > .menue h1 { font-size: 26px; } :root:not(.breit) #ov > .menue h1 span { font-size: 12px; } :root:not(.breit) #ov > .menue .unter { display: none; }
:root:not(.breit) #ov > .menue .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 8px 0; }
:root:not(.breit) #ov > .menue .karte { grid-template-columns: 1fr; min-width: 0; padding: 6px 8px; min-height: 48px; } :root:not(.breit) #ov > .menue .karte svg { display: none; }
:root:not(.breit) #ov > .menue .karte b { font-size: 14px; hyphens: auto; overflow-wrap: break-word; } :root:not(.breit) #ov > .menue .karte small { font-size: 11.5px; line-height: 1.2; hyphens: auto; overflow-wrap: break-word; }
:root:not(.breit) #ov > .menue .reihe { margin-top: 6px; gap: 6px; } :root:not(.breit) #ov > .menue .reihe button { min-height: 40px; padding: 6px 10px; font-size: 14px; }
:root.quer #ov > .menue { width: min(600px, 84%); max-height: 60vh; } :root.quer #ov > .menue h1 { font-size: 20px; } :root.quer #ov > .menue h1 span { display: inline; font-size: 12px; margin-right: 6px; }
:root.quer #ov > .menue .karten { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 6px 0; }
#ov > .menue { background: repeating-linear-gradient(0deg, rgba(120, 90, 50, .035) 0 1px, transparent 1px 5px), linear-gradient(180deg, var(--fenster1), var(--fenster2)) var(--fenster2); }
:root:is(.quer, .flach) #ov > .menue { width: min(660px, 68%); max-height: 86vh; padding: 6px 10px 6px; }
:root:is(.quer, .flach) #ov > .menue h1 { font-size: 18px; margin: 0; } :root:is(.quer, .flach) #ov > .menue h1 span { display: inline; margin-right: 6px; font-size: 11px; }
:root:is(.quer, .flach) #ov > .menue .unter, :root:is(.quer, .flach) #ov > .menue > p.hinweis { display: none; }
:root:is(.quer, .flach) #ov > .menue .karten { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin: 4px 0; }
:root:is(.quer, .flach) #ov > .menue .karte { grid-template-columns: 1fr; padding: 3px 8px; min-height: 44px; min-width: 0; } :root:is(.quer, .flach) #ov > .menue .karte svg { display: none; }
:root:is(.quer, .flach) #ov > .menue .karte b { font-size: 13px; } :root:is(.quer, .flach) #ov > .menue .karte small { font-size: 11px; line-height: 1.12; }
:root:is(.quer, .flach) #ov > .menue .karte.fort { margin: 2px 0 0; min-height: 44px; }
:root:is(.quer, .flach) #ov > .menue .reihe { gap: 5px; margin-top: 4px; } :root:is(.quer, .flach) #ov > .menue .reihe button { min-height: 44px; padding: 3px 10px; font-size: 13px; }
:root:not(.breit):not(.quer):not(.flach) #ov > .menue { width: min(560px, 78%); padding: 8px 10px 8px; }
:root:not(.breit):not(.quer):not(.flach) #ov > .menue h1 { font-size: 22px; margin: 4px 0 0; } :root:not(.breit):not(.quer):not(.flach) #ov > .menue h1 span { display: inline; margin-right: 6px; font-size: 12px; }
:root:not(.breit):not(.quer):not(.flach) #ov > .menue .karten { gap: 5px; margin: 6px 0; } :root:not(.breit):not(.quer):not(.flach) #ov > .menue .karte { padding: 4px 8px; min-height: 44px; }
:root:not(.breit):not(.quer):not(.flach) #ov > .menue .karte b { font-size: 13.5px; } :root:not(.breit):not(.quer):not(.flach) #ov > .menue .karte small { font-size: 11px; line-height: 1.15; }
:root:not(.breit):not(.quer):not(.flach) #ov > .menue .karte.fort { margin: 4px 0 0; } :root:not(.breit):not(.quer):not(.flach) #ov > .menue .reihe { gap: 5px; margin-top: 5px; }
:root:not(.breit):not(.quer):not(.flach) #ov > .menue .reihe button { min-height: 44px; padding: 4px 10px; font-size: 13px; }
:root:not(.breit):not(.quer):not(.flach) #ov > .menue > p.hinweis { display: none; }
@media (max-height: 720px) { :root:not(.breit):not(.quer):not(.flach) #ov > .menue { max-height: 68vh; } }
#drehtag { display: block; grid-column: 1 / -1; } #drehtag span { display: block; } #drehtag b { display: block; font-size: 13.5px; white-space: normal; line-height: 1.25; margin-top: 2px; color: #ffd36a; }
.fenster.ende .abspann { margin: 10px auto 6px; padding: 10px 14px; border-radius: 10px; background: #14100c; color: #f4ecdc; text-align: center; max-width: 460px; }
.fenster.ende .abspann h3 { margin: 0 0 6px; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: #ffd36a; }
.fenster.ende .abspann p { margin: 5px 0; } .fenster.ende .abspann small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #b8a888; }
.fenster.ende .abspann b { font-size: 14px; font-weight: normal; }
