:root { --bg: #3b2a1c; --bg2: #2a1d12; --holz1: #8a6440; --holz2: #5e4127; --holz3: #36240f; --papier: #f8f5ee; --papier2: #ebe4d4; --rand: rgba(70, 50, 25, .4);
  --text: #26201a; --leise: #5a4d3e; --akzent: #23458f; --akzent2: #16306a; --gold: #c99a2e; --gold2: #8a6414; --gut: #2f6e2c; --warn: #9a3a22; --knopf: #f4efe3; --schatten: rgba(30, 18, 6, .45);
  --leiste-text: #fbf5e8; --leiste-leise: #e8d8b8; --ov: rgba(30, 20, 10, .4); --wert-bg: #2e2012; --porz: #fbf9f3; --porz2: #e4ddcf; --kobalt: #2c4f9c;
  --kulisse-q: url(img/kulisse-tag-q.webp); --kulisse-h: url(img/kulisse-tag-h.webp); }
:root[data-ansicht="abend"] { --bg: #1d2236; --bg2: #121628; --holz1: #6e5640; --holz2: #4a3826; --holz3: #2a1e10; --papier: #f6f0e2; --papier2: #e6dcc4; --ov: rgba(10, 14, 30, .5);
  --kulisse-q: url(img/kulisse-abend-q.webp); --kulisse-h: url(img/kulisse-abend-h.webp); --porz: #f8efdc; --porz2: #e3d4b4; }
:root[data-ansicht="winter"] { --bg: #3a4452; --bg2: #252c38; --holz1: #8a7562; --holz2: #5e4e40; --holz3: #34281c; --papier: #f2f5f8; --papier2: #dde3ea; --text: #20262e; --leise: #4a5462;
  --ov: rgba(20, 28, 40, .45); --kulisse-q: url(img/kulisse-winter-q.webp); --kulisse-h: url(img/kulisse-winter-h.webp); --porz: #f6f9fc; --porz2: #d9e1ea; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg2); color: var(--text); font: 16px/1.4 Georgia, 'Times New Roman', serif;
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
* { scrollbar-width: thin; scrollbar-color: var(--gold2) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-thumb { background: var(--gold2); border-radius: 4px; } ::-webkit-scrollbar-track { background: transparent; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; }
.zf { font-variant-numeric: lining-nums tabular-nums; display: inline-block; }

#buehne { position: fixed; left: 0; top: 0; transform-origin: 0 0; display: grid; grid-template-columns: 1fr; grid-template-rows: auto 1fr; grid-template-areas: "leiste" "feld";
  gap: 8px; padding: 0 12px 12px; overflow: hidden; background: var(--bg2); }
#kulisse { position: absolute; inset: 0; z-index: 0; background: var(--kulisse-q) center / cover no-repeat; }
#buehne.hoch #kulisse { background-image: var(--kulisse-h); }
#buehne > header, #buehne > main { position: relative; z-index: 1; }
#leiste { grid-area: leiste; display: flex; align-items: center; gap: 12px; height: 66px; margin: 0 -12px; padding: 0 14px; color: var(--leiste-text); background-color: var(--holz2);
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .05) 0 2px, transparent 2px 27px), linear-gradient(180deg, var(--holz1), var(--holz2) 70%, var(--holz3)) var(--holz2);
  border-bottom: 3px solid var(--holz3); box-shadow: 0 5px 14px var(--schatten); }
#logo { font-size: 25px; flex: none; display: flex; flex-direction: column; justify-content: center; font-weight: 700; font-style: italic; letter-spacing: .05em; line-height: 1; white-space: nowrap; }
#logo span, .titel span { color: var(--leiste-text); text-shadow: 0 2px 0 var(--holz3); }
#logo b, .titel b { color: #f3d27a; text-shadow: 0 2px 0 #4a3008; }
#modus { font-size: 13px; font-weight: 400; font-style: normal; letter-spacing: 0; color: var(--leiste-leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; max-width: 220px; }
#werte { display: flex; gap: 8px; flex: 1 1 auto; min-width: 0; }
.wert { display: flex; flex-direction: column; justify-content: center; padding: 2px 12px; height: 52px; min-width: 0; flex: 0 1 auto; border-radius: 9px;
  background: var(--wert-bg); border: 1px solid rgba(255, 230, 190, .3); box-shadow: inset 0 2px 5px rgba(0, 0, 0, .4); }
.wert > span { font-size: 13px; line-height: 1.2; color: var(--leiste-leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wert b { font-size: 18px; line-height: 1.25; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; color: var(--leiste-text); font-variant-numeric: lining-nums tabular-nums; }
.wert.gross { min-width: 140px; } .wert.gross b { font-size: 23px; color: #f3d27a; }
.wert-ziel { min-width: 180px; }
#w-zielleiste { display: block; width: 92px; height: 12px; border-radius: 6px; background: rgba(0, 0, 0, .35); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5); flex: none; }
#w-zielleiste > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #f3d27a, var(--gold)); transition: width .25s; }
#w-zielzahl { font-style: normal; font-size: 15px; }
.kloeppel { display: inline-flex; gap: 2px; align-items: center; }
.kloeppel i { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6c8, #c99a2e 50%, #6b4a12); box-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
#knoepfe { display: flex; gap: 6px; flex: none; margin-left: auto; }
#knoepfe button { width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--holz3); display: flex; align-items: center; justify-content: center; padding: 0; color: var(--text);
  background: linear-gradient(180deg, #fbf8f0, #ddd3bd); box-shadow: 0 3px 0 var(--holz3), 0 4px 8px var(--schatten); }
#knoepfe button:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--holz3); }
#knoepfe button svg, .reihe button svg, .modus svg, .seite button svg { width: 22px; height: 22px; }

#feldbox { grid-area: feld; position: relative; display: flex; align-items: center; justify-content: center; gap: 18px; min-width: 0; min-height: 0; overflow: hidden; }
#rahmen { position: relative; flex: none; border-radius: 6px; outline: 10px solid var(--gold);
  box-shadow: 0 0 0 12px var(--gold2), 0 0 0 14px #3b2a10, 0 22px 36px 10px var(--schatten); }
#rahmen::before { content: ''; position: absolute; inset: -10px; border-radius: 8px; pointer-events: none; z-index: -1;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .14) 0 2px, transparent 2px 9px), linear-gradient(135deg, #f3d27a, var(--gold) 45%, var(--gold2)); }
#rahmen::after { content: ''; position: absolute; inset: 0; border-radius: 4px; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(80, 50, 10, .5), inset 0 6px 16px rgba(60, 40, 10, .25); }
#cv { display: block; width: 100%; height: 100%; border-radius: 4px; touch-action: none; cursor: crosshair; }
.seite { flex: none; width: 196px; display: flex; flex-direction: column; gap: 10px; align-self: center; }
.brett { position: relative; padding: 10px; border-radius: 8px; color: var(--leiste-text);
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .05) 0 2px, transparent 2px 19px), linear-gradient(180deg, var(--holz1), var(--holz2)); border: 1px solid var(--holz3);
  box-shadow: 0 8px 16px var(--schatten), inset 0 1px 0 rgba(255, 240, 210, .25); }
#figur { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
#fig-bild { width: 150px; height: 150px; border-radius: 50%; background: var(--porz) center / cover no-repeat; border: 4px solid var(--gold); box-shadow: 0 0 0 2px var(--gold2), 0 6px 12px rgba(0, 0, 0, .4); }
#figur > div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
#fig-name { font-size: 18px; font-weight: 700; color: #f3d27a; }
#fig-kraft { font-size: 14px; color: var(--leiste-leise); line-height: 1.25; min-height: 36px; }
#fig-lad { display: flex; gap: 4px; justify-content: center; min-height: 18px; }
#fig-lad i { width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e6f5c8, #5b9a3a 55%, #2a5016); box-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.seite button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--holz3); color: var(--text);
  background: linear-gradient(180deg, #fbf8f0, #ddd3bd); box-shadow: 0 3px 0 var(--holz3), 0 4px 8px var(--schatten); font-size: 15px; }
.seite button.an { background: linear-gradient(180deg, #e7f2d6, #a9cc84); }
.seite button:disabled { opacity: .5; border-style: dashed; box-shadow: none; cursor: default; }
#skala { position: relative; display: flex; gap: 10px; align-items: stretch; padding: 10px; height: 300px; border-radius: 8px; background: linear-gradient(90deg, var(--porz), var(--porz2));
  border: 3px solid var(--gold); box-shadow: 0 8px 16px var(--schatten); }
#sk-rohr { position: relative; width: 26px; border-radius: 13px; background: #d9d1bf; box-shadow: inset 0 2px 5px rgba(0, 0, 0, .35); overflow: hidden; }
#sk-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: linear-gradient(0deg, var(--gold2), #f3d27a); transition: height .3s; }
#sk-marken { position: relative; flex: 1; }
#sk-marken span { position: absolute; left: 0; transform: translateY(50%); font-size: 17px; font-weight: 700; color: var(--leise); font-variant-numeric: lining-nums tabular-nums; }
#sk-marken span.an { color: var(--gold2); }
#sk-marken span small { font-size: 12px; font-weight: 400; margin-left: 4px; }
#sk-text { display: none; font-size: 16px; color: var(--text); }
#sk-text b { color: var(--gold2); }
#schusspunkte { text-align: center; font-size: 14px; color: var(--leiste-leise); }
#schusspunkte b { display: block; font-size: 22px; color: #f3d27a; font-variant-numeric: lining-nums tabular-nums; }

#bann { position: absolute; transform: translateX(-50%); width: min(520px, calc(100% - 24px)); padding: 9px 14px; text-align: center; pointer-events: none; z-index: 3;
  background: var(--papier); color: var(--text); font-size: 16px; line-height: 1.35; border-radius: 6px; border: 2px solid var(--gold); box-shadow: 0 6px 14px var(--schatten); }
#bann b { display: block; font-size: 19px; color: var(--akzent); margin-bottom: 2px; }
#bann.neu { animation: bannEin .45s ease-out; }
#bann.aussen { transform: none; overflow: hidden; display: flex; flex-direction: column; justify-content: center; font-size: 15px; }
#bann.aussen[hidden] { display: none !important; }
#bann.aussen b { font-size: 17px; }
#bann.durch { opacity: .2; transition: opacity .15s; }
@keyframes bannEin { 0% { opacity: 0; } 100% { opacity: 1; } }
#tafel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(420px, calc(100% - 30px)); z-index: 4; padding: 14px 18px 10px; text-align: center;
  background: var(--papier); border: 2px solid var(--gold); border-radius: 8px; box-shadow: 0 12px 28px var(--schatten); pointer-events: none; }
#tafel.neu { animation: tafelEin .4s ease-out; }
@keyframes tafelEin { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.94); } 100% { opacity: 1; transform: translate(-50%, -50%); } }
#tafel h3 { margin: 0 0 4px; font-size: 22px; color: var(--akzent); }
#hinweis { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 6px; z-index: 5;
  background: var(--papier); border: 1px solid var(--rand); white-space: nowrap; box-shadow: 0 6px 14px var(--schatten); }
#hinweis button { min-height: 44px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--holz3); background: var(--knopf); }
#toast { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); padding: 10px 16px; border-radius: 6px; background: var(--papier); border: 1px solid var(--rand); z-index: 9; box-shadow: 0 6px 14px var(--schatten); max-width: 90%; }
#los-hand { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 2; display: none; min-height: 52px; padding: 6px 22px; white-space: nowrap; border-radius: 12px; border: 1px solid var(--holz3);
  background: linear-gradient(180deg, #e5edf9, #a9bde3); color: var(--akzent2); font-weight: 700; box-shadow: 0 3px 0 var(--holz3), 0 5px 12px var(--schatten); touch-action: manipulation; }
#buehne.finger #los-hand.zeigen { display: block; }

#ov { position: absolute; inset: 0; z-index: 8; display: flex; align-items: center; justify-content: center; padding: 20px; background: var(--ov); }
.kasten { position: relative; width: min(680px, 100%); max-height: 100%; overflow: auto; padding: 22px 26px; border-radius: 8px; color: var(--text);
  background: linear-gradient(180deg, var(--papier), var(--papier2)); border: 3px solid var(--gold); box-shadow: 0 0 0 1px var(--gold2), 0 18px 40px var(--schatten); }
.kasten.mitte { width: min(520px, 100%); text-align: center; }
.kasten h2 { margin: 0 0 10px; font-size: 27px; color: var(--akzent); } .kasten h3 { margin: 14px 0 6px; font-size: 18px; color: var(--akzent2); }
.kasten p { margin: 0 0 10px; }
.reihe { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 14px; }
.reihe button, #ov .ansichten button { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 16px; border-radius: 10px; border: 1px solid var(--holz3);
  background: linear-gradient(180deg, #fbf8f0, #ddd3bd); color: var(--text); box-shadow: 0 3px 0 var(--holz3), 0 4px 8px var(--schatten); }
.reihe button.haupt { background: linear-gradient(180deg, #3a63b8, var(--akzent2)); color: #f4f7ff; border-color: #0e1f46; box-shadow: 0 3px 0 #0e1f46, 0 4px 8px var(--schatten); font-weight: 700; }
.reihe button:active, .modus:active { transform: translateY(2px); }
.menue .titel { font-size: 56px; text-align: center; margin-bottom: 6px; font-weight: 700; font-style: italic; letter-spacing: .05em; }
.menue .titel span { color: var(--holz2); text-shadow: none; } .menue .titel b { color: var(--akzent); text-shadow: 0 2px 0 rgba(20, 30, 80, .2); }
.menue .unter { text-align: center; color: var(--leise); }
.modi { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 10px; }
.modus { display: flex; align-items: center; gap: 14px; text-align: left; padding: 12px 16px; min-height: 66px; border-radius: 10px; border: 1px solid var(--holz3); color: var(--text);
  background: linear-gradient(180deg, #fdfbf6, #ece4d2); box-shadow: 0 3px 0 var(--holz3), 0 4px 10px var(--schatten); }
.modus .mi { width: 44px; height: 44px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: var(--akzent); color: #f4f7ff; box-shadow: inset 0 -3px 0 var(--akzent2); }
.modus b { display: block; font-size: 19px; } .modus small { display: block; font-size: 14px; color: var(--leise); }
.modus small.heute { color: var(--akzent2); margin-top: 2px; }
.ansichten { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin-top: 8px; }
.ansichten > span { font-size: 15px; color: var(--leise); width: 100%; text-align: center; }
#ov .ansichten button { flex-direction: column; gap: 4px; padding: 6px 8px; font-size: 14px; min-width: 120px; }
#ov .ansichten button .ans-bild { width: 96px; height: 54px; border-radius: 4px; display: block; background: #8a6440 center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); }
#ov .ansichten button.an { box-shadow: 0 0 0 3px var(--akzent), 0 3px 0 var(--holz3); }
.einst { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin-top: 10px; font-size: 15px; }
.einst label { position: relative; display: inline-flex; align-items: center; min-height: 48px; padding-left: 34px; cursor: pointer; }
label.einst { display: inline-flex; position: relative; min-height: 48px; padding-left: 34px; align-items: center; }
.einst input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.einst label::before, label.einst::before { content: ''; position: absolute; left: 0; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); border: 2px solid var(--holz2); border-radius: 5px; background: var(--papier); }
.einst label:has(input:checked)::before, label.einst:has(input:checked)::before { background: radial-gradient(circle, var(--akzent) 45%, var(--papier) 50%); }
.einst label:has(input:focus-visible) { outline: 2px solid var(--akzent); outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
td { padding: 3px 0; vertical-align: top; } td:last-child { text-align: right; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; padding-left: 8px; }
tr.sum td { border-top: 1px solid var(--rand); font-weight: 700; color: var(--akzent2); padding-top: 5px; }
.klein { font-size: 14px; color: var(--leise); } .mitte { text-align: center; }
.regeln p { font-size: 15px; }
.eintraege { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.eintrag { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; background: rgba(255, 253, 248, .7); border-radius: 8px; border: 1px solid var(--rand); }
.eintrag canvas, .eintrag .fb { flex: none; width: 64px; height: 64px; border-radius: 8px; background: var(--porz) center / cover no-repeat; box-shadow: inset 0 0 0 1px var(--rand); }
.eintrag b { font-size: 16px; } .eintrag p { margin: 2px 0; font-size: 14px; } .eintrag small { font-size: 14px; color: var(--akzent2); }
.figuren { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 10px 0; }
.figwahl { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 4px 8px; border-radius: 10px; border: 1px solid var(--holz3); background: linear-gradient(180deg, #fdfbf6, #ece4d2);
  box-shadow: 0 3px 0 var(--holz3); text-align: center; min-height: 140px; }
.figwahl > * { pointer-events: none; }
.figwahl i { width: 76px; height: 76px; border-radius: 50%; background: var(--porz) center / cover no-repeat; border: 3px solid var(--gold); }
.figwahl b { font-size: 14px; } .figwahl small { font-size: 12px; color: var(--leise); line-height: 1.2; }
.figwahl.an { box-shadow: 0 0 0 3px var(--akzent), 0 3px 0 var(--holz3); }
.kasten.abenteuer { width: min(980px, 100%); }
.kapitel { display: flex; flex-direction: column; gap: 10px; }
.kap { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--rand); background: rgba(255, 253, 248, .6); }
.kap > i { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--porz) center / cover no-repeat; border: 3px solid var(--gold); }
.kap-kopf { width: 150px; flex: none; } .kap-kopf b { display: block; font-size: 16px; color: var(--akzent2); } .kap-kopf small { font-size: 13px; color: var(--leise); }
.kap-felder { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.feldwahl { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 70px; padding: 6px 4px; border-radius: 8px; border: 1px solid var(--holz3); color: var(--text);
  background: linear-gradient(180deg, #fdfbf6, #e9e0cb); box-shadow: 0 3px 0 var(--holz3); text-align: center; }
.feldwahl > * { pointer-events: none; }
.feldwahl b { font-size: 13px; line-height: 1.15; font-weight: 400; }
.fw-nr { font-size: 13px; font-weight: 700; color: var(--akzent2); }
.fw-st { display: flex; gap: 2px; } .fw-st i { width: 12px; height: 12px; clip-path: polygon(50% 0, 62% 36%, 100% 38%, 70% 60%, 80% 100%, 50% 76%, 20% 100%, 30% 60%, 0 38%, 38% 36%); background: rgba(90, 60, 30, .25); }
.fw-st i.an { background: var(--gold); }
.feldwahl.zu { opacity: .5; border-style: dashed; box-shadow: none; background: rgba(240, 235, 225, .6); }
.feldwahl small { font-size: 12px; color: var(--warn); } .feldwahl small.fw-best { color: var(--leise); font-variant-numeric: lining-nums tabular-nums; }
.sterne { display: flex; justify-content: center; gap: 6px; margin: 4px 0 8px; }
.sterne i { width: 40px; height: 40px; color: rgba(90, 60, 30, .3); } .sterne i svg { width: 100%; height: 100%; }
.sterne i.an { color: var(--gold); filter: drop-shadow(0 2px 2px rgba(80, 50, 10, .4)); }
.sterne-text { display: block; text-align: center; font-size: 14px; color: var(--leise); margin-top: -4px; }
.ende .grund { color: var(--leise); text-align: center; margin-bottom: 4px; }
.endzahl { text-align: center; margin: 4px 0 8px; } .endzahl b { display: block; font-size: 46px; color: var(--akzent); line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; } .endzahl span { color: var(--leise); }
.gut { color: var(--gut); text-align: center; } .warn { color: var(--warn); text-align: center; }
.spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bericht-kopf { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--leise); border-bottom: 1px dashed var(--rand); padding-bottom: 6px; margin-bottom: 8px; }
.stempel { position: absolute; right: 74px; top: 30px; max-width: 170px; padding: 4px 10px; border: 3px double var(--akzent); border-radius: 6px; color: var(--akzent); font-weight: 700; font-size: 14px;
  letter-spacing: .06em; text-transform: uppercase; text-align: center; transform: rotate(-10deg); opacity: .8; pointer-events: none; }
.liste ol { margin: 0; padding-left: 26px; } .liste li { padding: 2px 0; } .liste li span { display: inline-block; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.liste li b { float: right; font-variant-numeric: lining-nums tabular-nums; }
.erfolge-neu { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; margin: 8px 0; padding: 8px 10px; border: 2px dashed var(--akzent2); border-radius: 8px; background: #fffdf6; }
.erfolge-neu > b { width: 100%; text-align: center; color: var(--akzent); font-size: 15px; }
.erfolge-neu span { display: inline-flex; flex-direction: column; align-items: center; font-weight: 700; color: var(--akzent2); font-size: 14px; }
.erfolge-neu span svg { width: 22px; height: 22px; color: var(--gold); } .erfolge-neu small { font-weight: 400; font-size: 12px; color: var(--leise); }
.erf-wand { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; }
.erf { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; padding: 10px 8px; border-radius: 8px; border: 1px dashed var(--rand); background: rgba(255, 253, 248, .5); color: var(--leise); }
.erf.an { border-style: solid; border-color: var(--gold); color: var(--text); box-shadow: 0 0 0 1px var(--gold) inset; }
.erf-ic { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(90, 60, 30, .12); }
.erf.an .erf-ic { background: var(--gold); color: #fff6e0; } .erf-ic svg { width: 22px; height: 22px; }
.erf b { font-size: 15px; } .erf small { font-size: 13px; line-height: 1.3; }
.pause-weg { text-align: left; margin: 10px 0; padding: 8px 12px; background: rgba(255, 253, 248, .6); border-radius: 6px; border: 1px solid var(--rand); }
.pause-weg h3 { margin: 0 0 4px; }
.kasten > .ov-zu { position: sticky; top: -10px; float: right; z-index: 3; width: 44px; height: 44px; margin: -10px -14px 0 10px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--holz3); background: linear-gradient(180deg, #fbf8f0, #ddd3bd); color: var(--text); box-shadow: 0 2px 6px var(--schatten); cursor: pointer; padding: 0; }
.kasten > .ov-zu svg { width: 20px; height: 20px; }
@media (max-width: 1300px) { #modus { max-width: 150px; } .seite { width: 170px; } #fig-bild { width: 124px; height: 124px; } }
#buehne.hoch { padding: 0 8px 10px; }
#buehne.hoch #leiste { height: auto; flex-wrap: wrap; gap: 6px 8px; padding: 6px 10px 8px; }
#buehne.hoch #werte { order: 3; flex-basis: 100%; gap: 5px; flex-wrap: wrap; }
#buehne.hoch .wert { flex: 1 1 22%; padding: 2px 8px; height: 50px; } #buehne.hoch .wert.gross { min-width: 0; flex-basis: 30%; } #buehne.hoch .wert-ziel { flex-basis: 40%; min-width: 0; }
#buehne.hoch #knoepfe button { width: 62px; height: 60px; } #buehne.hoch #knoepfe button svg { width: 28px; height: 28px; }
#buehne.hoch #feldbox { flex-direction: column; gap: 10px; justify-content: flex-start; padding-top: 4px; }
#buehne.hoch #seite-l, #buehne.hoch #seite-r { width: 100%; flex-direction: row; align-items: stretch; }
#buehne.hoch #figur { flex: 1; flex-direction: row; text-align: left; gap: 10px; }
#buehne.hoch #fig-bild { width: 84px; height: 84px; flex: none; }
#buehne.hoch #figur > div { display: flex; flex-direction: column; gap: 2px; }
#buehne.hoch #fig-lad { justify-content: flex-start; }
#buehne.hoch .seite button { min-height: 62px; font-size: 16px; flex: 1; }
#buehne.hoch #skala { height: 62px; flex: 2; flex-direction: column; justify-content: center; gap: 6px; padding: 6px 10px; }
#buehne.hoch #sk-marken { display: none; } #buehne.hoch #sk-text { display: block; }
#buehne.hoch .kloeppel { display: none; }
#buehne.hoch #sk-rohr { width: 100%; height: 16px; } #buehne.hoch #sk-fill { top: 0; bottom: 0; right: auto; height: auto !important; }
#buehne.hoch #fig-auftrag { font-size: 15px; }
#buehne.hoch #schusspunkte b { font-size: 18px; }
#buehne.hoch .kasten { width: 100%; } #buehne.hoch .eintraege, #buehne.hoch .spalten { grid-template-columns: 1fr; }
#buehne.hoch .reihe button { min-height: 60px; font-size: 17px; } #buehne.hoch .modus { min-height: 74px; }
#buehne.hoch .einst label, #buehne.hoch label.einst { min-height: 62px; } #buehne.hoch #ov .ansichten button { min-height: 62px; }
#buehne.hoch .menue .titel { font-size: 46px; } #buehne.hoch #hinweis button { min-height: 60px; }
#buehne.hoch .kap { flex-wrap: wrap; } #buehne.hoch .kap-felder { flex-basis: 100%; } #buehne.hoch .feldwahl { min-height: 92px; }
#buehne.hoch .feldwahl b, #buehne.hoch .fw-nr, #buehne.hoch .feldwahl small { font-size: 15px; } #buehne.hoch .fw-st i { width: 16px; height: 16px; }
#buehne.hoch .figuren { grid-template-columns: repeat(2, 1fr); } #buehne.hoch .figwahl b { font-size: 16px; } #buehne.hoch .figwahl small { font-size: 14px; }
#buehne.hoch .stempel { right: 84px; font-size: 12px; max-width: 130px; }
#buehne.hoch .kasten > .ov-zu { width: 62px; height: 62px; } #buehne.hoch .kasten > .ov-zu svg { width: 26px; height: 26px; }
#buehne.hoch .erf-wand { grid-template-columns: 1fr 1fr; }
#buehne.hoch #los-hand { min-height: 62px; }
@media (hover: hover) { .reihe button:hover, .modus:hover, #knoepfe button:hover, .seite button:not(:disabled):hover, .feldwahl:not(.zu):hover, .figwahl:hover { filter: brightness(1.05); } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
#schusspunkte small { display: block; font-size: 13px; color: var(--leiste-leise); min-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.abz { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; margin-top: 4px; border-radius: 10px; font-size: 13px; font-weight: 700; }
.abz svg { width: 15px; height: 15px; }
.abz-bronze { background: #e7c3a0; color: #6a3a14; } .abz-silber { background: #e2e4e8; color: #3e4450; } .abz-gold { background: #f4d56a; color: #6a4806; }
.abz-leer { background: transparent; color: var(--leise); border: 1px dashed var(--rand); font-weight: 400; }
.sammler { display: flex; flex-direction: column; gap: 4px; margin: 6px auto 4px; max-width: 440px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--rand); background: rgba(255, 253, 248, .6); }
.sammler span { display: flex; align-items: center; gap: 8px; } .sammler span svg { width: 22px; height: 22px; color: var(--akzent); }
.sammler b { font-size: 16px; color: var(--akzent2); } .sammler small { font-size: 13px; color: var(--leise); margin-left: auto; font-variant-numeric: lining-nums tabular-nums; }
.sammler > i { display: block; height: 8px; border-radius: 4px; background: rgba(90, 60, 30, .18); overflow: hidden; } .sammler > i > i { display: block; height: 100%; background: linear-gradient(90deg, #f3d27a, #23458f); }
#buehne.hoch #schusspunkte small { font-size: 14px; white-space: normal; line-height: 1.1; min-height: 31px; }
#buehne.hoch .kap-kopf small { font-size: 15px; }
#buehne.hoch #schusspunkte { padding: 6px 8px; }
#fig-auftrag { display: block; margin-top: 4px; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, .25); font-size: 14px; color: #f3d27a; min-height: 24px; white-space: nowrap; }
#fig-auftrag svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 3px; }
table.schluss { margin: 6px 0 2px; } table.schluss tr { opacity: 0; animation: zeileEin .35s ease-out forwards; } table.schluss td { font-size: 16px; }
@keyframes zeileEin { from { opacity: 0; } to { opacity: 1; } }
#buehne.flach { grid-template-columns: 1fr 214px; grid-template-rows: 1fr; grid-template-areas: "feld leiste"; padding: 8px 0 8px 8px; gap: 8px; }
#buehne.flach #leiste { flex-direction: column; align-items: stretch; height: auto; margin: -8px 0; padding: 8px 10px; gap: 6px; border-bottom: 0; border-left: 3px solid var(--holz3); }
#buehne.flach #logo { font-size: 22px; } #buehne.flach #werte { flex-direction: column; gap: 5px; flex: 0 0 auto; }
#buehne.flach .wert { height: 46px; padding: 2px 10px; } #buehne.flach .wert.gross { min-width: 0; } #buehne.flach .wert-ziel { min-width: 0; }
#buehne.flach .kloeppel { display: none; }
#buehne.flach #knoepfe { margin: auto 0 0; flex-wrap: wrap; justify-content: center; gap: 6px; }
#buehne.flach #knoepfe button { width: 52px; height: 52px; }
#buehne.flach #feldbox { gap: 10px; }
#buehne.flach .seite { width: 168px; gap: 8px; }
#buehne.flach #fig-bild { width: 96px; height: 96px; } #buehne.flach #fig-kraft { min-height: 0; font-size: 14px; }
#buehne.flach #skala { height: auto; flex-direction: column; justify-content: center; padding: 8px 10px; gap: 6px; }
#buehne.flach #sk-rohr { width: 100%; height: 14px; } #buehne.flach #sk-fill { top: 0; bottom: 0; right: auto; height: auto !important; }
#buehne.flach #sk-marken { display: none; } #buehne.flach #sk-text { display: block; }
#buehne.flach .seite button { min-height: 52px; }
.eintrag .fb-ic { display: flex; align-items: center; justify-content: center; color: var(--gold2); } .eintrag .fb-ic svg { width: 34px; height: 34px; }
#buehne.flach .kasten > .ov-zu { width: 52px; height: 52px; } #buehne.flach .kasten > .ov-zu svg { width: 24px; height: 24px; }
#buehne.flach .reihe button { min-height: 52px; }
.wert-tisch { min-width: 190px; } .wert-tisch b { font-size: 15px; } .wert-tisch b small { font-size: 13px; color: var(--leiste-leise); margin-left: 4px; }
#buehne.hoch .wert-tisch { flex-basis: 100%; order: 6; }
#fig-sterne { display: block; margin-top: 3px; font-size: 13px; color: var(--leiste-leise); white-space: nowrap; }
.pst { display: inline-block; width: 11px; height: 11px; margin-left: 2px; vertical-align: -1px; clip-path: polygon(50% 0, 62% 36%, 100% 38%, 70% 60%, 80% 100%, 50% 76%, 20% 100%, 30% 60%, 0 38%, 38% 36%); background: rgba(255, 255, 255, .25); }
.pst.an { background: #d47ad8; }
.pruefungen { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pruefwahl { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--holz3); background: linear-gradient(180deg, #fdfbf6, #e9e0cb); box-shadow: 0 3px 0 var(--holz3); text-align: left; color: var(--text); }
.pruefwahl > * { pointer-events: none; }
.pruefwahl.ok { background: linear-gradient(180deg, #eef6e4, #cfe3b8); }
.pw-nr { flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--akzent); color: #f4f7ff; font-weight: 700; font-size: 14px; }
.pw-text b { display: block; font-size: 14px; font-weight: 400; line-height: 1.25; } .pw-text small { font-size: 13px; color: var(--leise); }
.pw-ok { margin-left: auto; color: var(--gut); } .pw-ok svg { width: 20px; height: 20px; }
#buehne.hoch .pruefungen { grid-template-columns: 1fr; } #buehne.hoch .pruefwahl { min-height: 66px; } #buehne.hoch .pw-text b { font-size: 15px; }
#los-hand.ueber { bottom: 11%; }
