:root { --bg: #10141f; --bg2: #090c14; --text: #f3ead8; --leise: #cfc3aa; --gold: #e8c060; --gold2: #a8802a; --gut: #a8d88a; --warn: #f0a07a; --schatten: rgba(0, 0, 0, .5);
  --holz1: #5a3a22; --holz2: #3a2414; --holzK: #1e1208; --brett-text: #f6ecd6; --brett-leise: #d8c6a2; --glas-o: rgba(18, 20, 34, .84); --glas-u: rgba(10, 12, 22, .9);
  --messing1: #f6dc8a; --messing2: #a8802a; --grund: url(img/nacht.webp); --grund-hoch: url(img/nacht-hoch.webp); --abdunkeln: rgba(6, 8, 18, .22); }
:root[data-ansicht="morgen"] { --bg: #ece2cf; --bg2: #ded2ba; --text: #2e2414; --leise: #5a4a30; --gold: #8a5a12; --gold2: #6a4410; --gut: #3e7d3a; --warn: #a8442a; --schatten: rgba(70, 50, 20, .26);
  --holz1: #e2c8a0; --holz2: #c8a474; --holzK: #8a6a40; --brett-text: #2e2212; --brett-leise: #5a4428; --glas-o: rgba(250, 244, 232, .9); --glas-u: rgba(240, 230, 212, .94);
  --grund: url(img/morgen.webp); --grund-hoch: url(img/morgen-hoch.webp); --abdunkeln: rgba(255, 250, 238, .06); }
:root[data-ansicht="laterne"] { --bg: #2a1210; --bg2: #1a0a08; --text: #fbecd6; --leise: #dcc0a0; --gold: #f2b84a; --gold2: #b07a26;
  --holz1: #6a3a22; --holz2: #42220f; --holzK: #200e06; --brett-text: #fbefd8; --brett-leise: #e2caa4; --glas-o: rgba(42, 16, 12, .84); --glas-u: rgba(26, 10, 6, .9);
  --grund: url(img/laterne.webp); --grund-hoch: url(img/laterne-hoch.webp); --abdunkeln: rgba(20, 6, 0, .18); }
* { 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, select { font: inherit; color: inherit; cursor: pointer; }
.wert b, td:last-child, .endzahl b, .liste li b, .saal > b { font-family: 'Segoe UI', system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif; font-variant-numeric: lining-nums tabular-nums; }

#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 10px 10px; overflow: hidden; background: var(--bg2); }
#grund { position: absolute; inset: 0; z-index: 0; background: var(--grund) center / cover no-repeat; }
#grund::after { content: ''; position: absolute; inset: 0; background: var(--abdunkeln); }
#buehne.hoch #grund { background-image: var(--grund-hoch); }
#buehne > header, #buehne > main, #buehne > .steuer { position: relative; z-index: 1; }
#leiste { grid-area: leiste; display: flex; align-items: center; gap: 12px; height: 64px; margin: 0 -10px; padding: 0 14px;
  background: linear-gradient(180deg, var(--glas-o), var(--glas-u)); border-bottom: 2px solid var(--messing2); box-shadow: 0 4px 14px var(--schatten); }
#werte { display: flex; gap: 8px; flex: 1 1 auto; min-width: 0; }
#feldbox { grid-area: feld; position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; overflow: hidden; }
#rahmen { position: relative; padding: 6px; border-radius: 4px; touch-action: none;
  background: linear-gradient(135deg, #fff1b0, #e8b830 22%, #a8741a 48%, #f2cc60 70%, #8a5a10);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .55), 0 2px 0 #5a3a08, inset 0 0 0 1px rgba(255, 245, 200, .55); }
#rahmen::before { content: ''; position: absolute; inset: 6px; box-shadow: inset 0 3px 8px rgba(0, 0, 0, .6); pointer-events: none; z-index: 1; }
#cv { display: block; }

.wert, #knoepfe button { position: relative; color: var(--brett-text);
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(0, 0, 0, .14)), repeating-linear-gradient(90deg, rgba(0, 0, 0, .06) 0 2px, transparent 2px 11px), linear-gradient(90deg, var(--holz1), var(--holz2));
  border: 2px solid var(--messing2); box-shadow: 0 3px 8px var(--schatten), inset 0 1px 0 rgba(255, 240, 200, .35); }
#logo, .titel { font-weight: 700; letter-spacing: .04em; line-height: 1; white-space: nowrap; text-shadow: 0 2px 6px rgba(0, 0, 0, .6); }
#logo { font-size: 24px; color: #fff6e2; flex: none; display: flex; flex-direction: column; justify-content: center; } #logo b, .titel b { color: var(--gold); }
:root[data-ansicht="morgen"] #logo { color: #2e2212; text-shadow: 0 1px 0 rgba(255, 255, 255, .7); }
#modus { font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--leise); text-shadow: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; max-width: 220px; }
.wert { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; padding: 2px 12px; border-radius: 8px; height: 50px; min-width: 0; flex: 0 1 auto; }
.wert-saal { flex: 0 1 230px; }
.wert span { font-size: 13px; line-height: 1.2; color: var(--brett-leise); white-space: nowrap; }
.wert b { font-size: 18px; line-height: 1.25; max-width: 100%; display: flex; align-items: center; gap: 6px; white-space: nowrap; min-width: 0; overflow: hidden; }
.wert b em { font-style: normal; font-size: 15px; overflow: hidden; text-overflow: ellipsis; font-family: Georgia, serif; }
.wert b em.gut { color: var(--gut); font-size: 14px; }
.wert.gross b { font-size: 22px; }
.wert.gross span small { font-size: 12px; color: var(--brett-leise); margin-left: 6px; }
.zuletzt { margin-top: 2px !important; margin-bottom: 4px !important; } .zuletzt b { font-variant-numeric: lining-nums tabular-nums; }
.muetzen { display: inline-flex; gap: 1px; } .muetze { width: 24px; height: 22px; display: block; }
.wert-rahmen { position: relative; }
.wert-rahmen .balken { position: absolute; left: 10px; right: 10px; bottom: 4px; height: 4px; border-radius: 2px; background: rgba(0, 0, 0, .35); overflow: hidden; }
.wert-rahmen .balken i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--messing2), var(--messing1)); transition: width .3s; }
.sterne { display: inline-flex; gap: 2px; vertical-align: -3px; }
.stern { width: 18px; height: 18px; fill: #ffd24a; stroke: #8a5a10; stroke-width: 1.2; }
.stern.leer { fill: rgba(0, 0, 0, .25); stroke: var(--gold2); }
#bann .sterne { margin-right: 6px; } .saal .sterne { margin-left: 4px; }
.fluegel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 10px 0 4px; }
.fluegel .fl { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 56px; padding: 6px 10px; border-radius: 10px; color: var(--brett-text); text-align: left;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(0, 0, 0, .16)), linear-gradient(90deg, var(--holz1), var(--holz2)); border: 2px solid var(--messing2); }
.fluegel .fl b { font-size: 14px; overflow-wrap: anywhere; hyphens: auto; } .fluegel .fl small { font-size: 12px; line-height: 1.25; color: var(--brett-leise); }
.fluegel .fl.an { box-shadow: 0 0 0 3px var(--messing1); }
.fluegel .fl:disabled { opacity: .45; cursor: not-allowed; }
.abz { width: 18px; height: 18px; vertical-align: -3px; }
#toast .abz { width: 22px; height: 22px; }
#steuer-r { flex-direction: column; gap: 8px; }
.werkzeug { display: flex; gap: 8px; justify-content: center; }
.werkzeug button { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 84px; height: 46px; border-radius: 12px; padding: 0 10px; touch-action: none;
  border: 2px solid #3a3a44; color: #f4ecd8; background: radial-gradient(circle at 35% 30%, #6a6a78, #2a2a34); box-shadow: 0 3px 0 #14141a; }
.werkzeug button i { font-style: normal; font-weight: 700; min-width: 16px; }
.werkzeug button:disabled { opacity: .35; }
#buehne.klein .werkzeug { flex-direction: column; gap: 6px; } #buehne.klein .werkzeug button { height: 40px; }
.wert-wz b { gap: 8px; } .wz { display: inline-flex; align-items: center; gap: 2px; } .wz svg { width: 20px; height: 20px; }
.kasten.versteck { width: min(860px, 100%); }
.werke { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin-top: 10px; }
.werk { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 4px; border-radius: 10px; border: 1px solid var(--gold2); background: rgba(0, 0, 0, .22); color: var(--text); }
.werk canvas { width: 96px; height: 120px; display: block; box-shadow: 0 4px 10px var(--schatten); }
.werk small { font-size: 12px; line-height: 1.2; text-align: center; min-height: 2.4em; }
.werkblatt canvas { width: 240px; height: 300px; display: block; margin: 0 auto 10px; box-shadow: 0 8px 22px var(--schatten); }
#buehne.hoch .werke { grid-template-columns: repeat(3, 1fr); }
#buehne.hoch .fluegel { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; } #buehne.hoch .fluegel .fl { padding: 5px 6px; min-height: 50px; } #buehne.hoch .fluegel .fl b { font-size: 12px; } #buehne.hoch .fluegel .fl small { font-size: 11px; }
.einst { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; align-items: center; margin-top: 12px; font-size: 15px; }
.einst label { position: relative; display: inline-flex; align-items: center; min-height: 48px; padding-left: 34px; cursor: pointer; }
.einst input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.einst label::before { content: ''; position: absolute; left: 0; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); border: 2px solid var(--gold);
  border-radius: 6px; background: var(--bg2); box-sizing: border-box; }
.einst label:has(input:checked)::before { background: radial-gradient(circle, var(--gold) 45%, var(--bg2) 50%); }
.einst label:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }

#knoepfe { display: flex; gap: 6px; justify-content: flex-end; flex: none; margin-left: auto; }
#knoepfe button { width: 46px; height: 46px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0; }
#knoepfe button svg, .reihe button svg, .modus svg { width: 22px; height: 22px; }
#tasten { flex: none; font-size: 14px; line-height: 1.45; color: var(--text); white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
#tasten p { margin: 0; } #tasten kbd { font-size: 13px; min-width: 20px; padding: 0 4px; margin-right: 1px; background: rgba(255, 240, 200, .14); border-color: var(--messing2); }
#buehne.schmal #tasten { display: none; }
kbd { display: inline-block; min-width: 22px; padding: 1px 5px; margin-right: 3px; border-radius: 5px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(0, 0, 0, .4); font: 14px/1.3 Georgia, serif; text-align: center; }
:root[data-ansicht="morgen"] kbd { background: rgba(255, 255, 255, .45); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
td { padding: 3px 0; } td:last-child { text-align: right; white-space: nowrap; }
tr.sum td { border-top: 1px solid currentColor; font-weight: 700; padding-top: 5px; }
.klein { font-size: 14px; opacity: .9; }

.steuer { display: none; touch-action: none; }
#buehne.finger { grid-template-columns: auto 1fr auto; grid-template-areas: "leiste leiste leiste" "l feld r"; }
#steuer-l { grid-area: l; } #steuer-r { grid-area: r; }
#buehne.finger .steuer { display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; }
#buehne.finger #tasten { display: none; }
.kreuz { position: relative; width: 190px; height: 190px; flex: none; }
.kreuz button, .klapp button { position: absolute; border-radius: 14px; border: 2px solid #5a3a08; color: #2a1a04; padding: 0; touch-action: none;
  background: radial-gradient(circle at 35% 30%, #fff3c0, var(--messing1) 30%, var(--messing2)); box-shadow: 0 4px 0 #5a3a08, 0 6px 12px var(--schatten); }
.kreuz button { width: 66px; height: 66px; }
.kreuz .t-hoch { left: 62px; top: 0; } .kreuz .t-runter { left: 62px; bottom: 0; } .kreuz .t-links { left: 0; top: 62px; } .kreuz .t-rechts { right: 0; top: 62px; }
.kreuz button i { pointer-events: none; position: absolute; left: 50%; top: 50%; width: 0; height: 0; border: 13px solid transparent; transform: translate(-50%, -50%); }
.kreuz .t-hoch i { border-bottom: 18px solid #3a2406; margin-top: -8px; } .kreuz .t-runter i { border-top: 18px solid #3a2406; margin-top: 8px; }
.kreuz .t-links i { border-right: 18px solid #3a2406; margin-left: -8px; } .kreuz .t-rechts i { border-left: 18px solid #3a2406; margin-left: 8px; }
.klapp { position: relative; display: flex; gap: 12px; }
.klapp button { position: static; width: 96px; height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; }
.klapp button b { font-size: 16px; } .klapp button small { font-size: 14px; }
.klapp .kl-ic svg { width: 30px; height: 30px; display: block; } .klapp button > * { pointer-events: none; } .klapp .k-links .kl-ic svg { transform: scaleX(-1); }
.steuer button.an { transform: translateY(3px); box-shadow: 0 1px 0 #5a3a08, 0 2px 6px var(--schatten); filter: brightness(1.12); }

#bann { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); width: min(460px, calc(100% - 24px)); opacity: .96; padding: 10px 14px; text-align: center; border-radius: 10px; pointer-events: none; z-index: 3;
  background: linear-gradient(180deg, #fbf3dc, #eadcb4); color: #2e2410; font-size: 16px; line-height: 1.35;
  box-shadow: 0 6px 18px var(--schatten), inset 0 0 0 3px #fbf3dc, inset 0 0 0 5px #a8802a; border: 1px solid #6a4a10; }
#bann b { display: block; font-size: 19px; color: #6a1e1a; margin-bottom: 3px; }
#bann em { font-style: normal; font-weight: 700; color: #8a5a12; }
#bann.neu { animation: bannEin .45s ease-out; }
@keyframes bannEin { 0% { transform: translate(-50%, -6px); opacity: 0; } 60% { opacity: 1; } 100% { transform: translateX(-50%); } }
.wert.blink { animation: blinkRot .9s ease-out; }
@keyframes blinkRot { 0%, 40% { background: #8a2a1e; border-color: #e2603a; color: #fff6e8; } 100% { } }
.wert.blink span, .wert.blink em { color: inherit; }
#hinweis { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 12px;
  background: rgba(20, 16, 10, .84); color: #fbf1da; z-index: 4; white-space: nowrap; }
#hinweis button { min-height: 44px; padding: 6px 12px; border-radius: 9px; border: 1px solid rgba(226, 180, 79, .5); background: #3a2e18; color: #fbf1da; }
#toast { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 10px 16px; border-radius: 10px; background: var(--glas-u); border: 1px solid var(--gold2); z-index: 9; }

#ov { position: absolute; inset: 0; z-index: 8; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(6, 6, 12, .42); }
:root[data-ansicht="morgen"] #ov { background: rgba(60, 50, 30, .25); }
.kasten { position: relative; width: min(660px, 100%); max-height: 100%; overflow: auto; padding: 22px 26px; border-radius: 14px; color: var(--text);
  background: linear-gradient(180deg, var(--glas-o), var(--glas-u)); border: 2px solid var(--gold2); box-shadow: 0 16px 40px var(--schatten); }
.kasten.mitte { width: min(520px, 100%); text-align: center; }
.kasten h2 { margin: 0 0 10px; font-size: 26px; color: var(--gold); } .kasten h3 { margin: 14px 0 6px; font-size: 18px; color: var(--gold); }
.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, .saal { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 16px; border-radius: 10px; color: var(--brett-text);
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(0, 0, 0, .14)), linear-gradient(90deg, var(--holz1), var(--holz2)); border: 2px solid var(--messing2); box-shadow: 0 2px 6px var(--schatten); }
.reihe button.haupt { background: radial-gradient(circle at 35% 30%, #fff3c0, var(--messing1) 30%, var(--messing2)); color: #2a1a04; border-color: #5a3a08; font-weight: 700; }
.menue .titel { font-size: 50px; text-align: center; margin-bottom: 6px; color: var(--text); }
.menue .unter { text-align: center; color: var(--leise); }
.modi { display: flex; flex-direction: column; gap: 10px; margin: 14px 0; }
.modus { display: flex; align-items: center; gap: 14px; text-align: left; padding: 12px 16px; min-height: 64px; border-radius: 12px; color: var(--brett-text);
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(0, 0, 0, .14)), repeating-linear-gradient(90deg, rgba(0, 0, 0, .06) 0 2px, transparent 2px 11px), linear-gradient(90deg, var(--holz1), var(--holz2));
  border: 2px solid var(--messing2); box-shadow: 0 3px 8px var(--schatten); }
.modus .mi { width: 42px; height: 42px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; color: #2a1a04;
  background: radial-gradient(circle at 35% 30%, #fff3c0, var(--messing1) 30%, var(--messing2)); }
.modus b { display: block; font-size: 19px; } .modus small { display: block; font-size: 14px; color: var(--brett-leise); }
.saalliste { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.saal { text-align: left; } .saal > b { font-size: 22px; color: var(--messing1); width: 28px; flex: none; text-align: center; }
.saal span { display: block; font-size: 17px; } .saal small { display: block; font-size: 14px; color: var(--brett-leise); }
.ansichten { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.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 canvas { width: 96px; height: 48px; border-radius: 6px; display: block; }
#ov .ansichten button.an { box-shadow: 0 0 0 3px var(--messing1); }
.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; border-radius: 10px; background: rgba(0, 0, 0, .2); border: 1px solid var(--gold2); }
:root[data-ansicht="morgen"] .eintrag { background: rgba(255, 255, 255, .45); }
.eintrag canvas { flex: none; width: 64px; height: 64px; border-radius: 8px; background: rgba(120, 100, 80, .3); }
.eintrag b { font-size: 16px; } .eintrag p { margin: 2px 0; font-size: 14px; } .eintrag small { font-size: 14px; color: var(--gold); }
.ende .grund { text-align: center; margin-bottom: 4px; }
.endzahl { text-align: center; margin: 4px 0 8px; } .endzahl b { display: block; font-size: 46px; line-height: 1.1; } .endzahl span { opacity: .8; }
.ende .gut { color: var(--gut); text-align: center; } .warn { color: var(--warn); text-align: center; } .ende > .klein { text-align: center; }
.spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.wellen td { font-size: 14px; }
.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; }

#buehne.schmal #leiste { gap: 8px; padding: 0 10px; }
#buehne.schmal #logo { font-size: 20px; } #buehne.schmal #modus { max-width: 160px; }
#buehne.schmal #werte { gap: 6px; }
#buehne.schmal .wert { padding: 2px 9px; flex: 0 0 auto; } #buehne.schmal .wert-saal { flex: 0 1 170px; }
#buehne.schmal #knoepfe { gap: 5px; } #buehne.schmal #knoepfe button { width: 40px; }
#buehne.schmal .wert.gross span small { display: none; }
#buehne.klein #bann { width: min(440px, calc(100% - 20px)); font-size: 14px; padding: 7px 12px; top: 8px; } #buehne.klein #bann b { font-size: 16px; }
#buehne.klein .kreuz { width: 156px; height: 156px; } #buehne.klein .kreuz button { width: 54px; height: 54px; }
#buehne.klein .kreuz .t-hoch, #buehne.klein .kreuz .t-runter { left: 51px; } #buehne.klein .kreuz .t-links, #buehne.klein .kreuz .t-rechts { top: 51px; }
#buehne.klein .klapp { flex-direction: column; gap: 8px; } #buehne.klein .klapp button { width: 84px; height: 70px; }

#buehne.hoch { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; grid-template-areas: "leiste leiste" "feld feld" "l r"; 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: 6px; }
#buehne.hoch .wert { flex: 1 1 0; padding: 2px 8px; height: 46px; } #buehne.hoch .wert-saal { flex: 2 1 0; }
#buehne.hoch .wert.gross span small { display: none; }
#buehne.hoch .steuer { align-items: center; padding: 0 4px; } #buehne.hoch #steuer-l { justify-content: flex-start; } #buehne.hoch #steuer-r { justify-content: flex-end; }
#buehne.hoch .kreuz { width: 210px; height: 210px; } #buehne.hoch .kreuz button { width: 72px; height: 72px; }
#buehne.hoch .kreuz .t-hoch, #buehne.hoch .kreuz .t-runter { left: 69px; } #buehne.hoch .kreuz .t-links, #buehne.hoch .kreuz .t-rechts { top: 69px; }
#buehne.hoch .klapp button { width: 104px; height: 118px; } #buehne.hoch .klapp button b { font-size: 19px; } #buehne.hoch .klapp button small { font-size: 16px; }
#buehne.hoch #knoepfe button { width: 52px; height: 48px; }
#buehne.hoch .kasten { width: 100%; } #buehne.hoch .eintraege, #buehne.hoch .spalten, #buehne.hoch .saalliste { grid-template-columns: 1fr; }
#buehne.hoch .reihe button { min-height: 64px; font-size: 17px; }
#buehne.hoch .modus, #buehne.hoch .saal { min-height: 72px; } #buehne.hoch .menue .titel { font-size: 44px; }
#buehne.hoch #hinweis button { min-height: 62px; }
#buehne.hoch .einst label { min-height: 62px; }
@media (pointer: coarse) { #tasten { display: none; } }

.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: 2px solid var(--messing2); background: linear-gradient(180deg, var(--holz1), var(--holz2)); color: var(--brett-text); box-shadow: 0 2px 8px var(--schatten); cursor: pointer; padding: 0; }
.kasten > .ov-zu svg { width: 20px; height: 20px; }
#buehne.hoch .kasten > .ov-zu { width: 66px; height: 66px; } #buehne.hoch .kasten > .ov-zu svg { width: 26px; height: 26px; }

.kasten.zettel { background: linear-gradient(180deg, #f4ecd8, #e6d8b6); color: #2e2614; border: 1px solid #b89a5a; box-shadow: 0 16px 40px var(--schatten), inset 0 0 40px rgba(150, 110, 40, .18); }
.zettel h2, .zettel h3 { color: #22386a; }
.zettel .grund, .zettel .endzahl span, .zettel .klein { color: #6b5636; }
.zettel .endzahl b { color: #6a1e1a; }
.zettel .gut { color: #2c6528; } .zettel .warn { color: #a8442a; }
.zettel tr.sum td { color: #22386a; border-top-color: #b89a5a; }
.zettel .reihe button:not(.haupt) { background: #efe2c2; color: #2e2614; border-color: #b89a5a; }
.zettel .ov-zu { background: #efe2c2; color: #2e2614; border-color: #b89a5a; }
.zettel-kopf { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #7a6040; border-bottom: 1px dashed #b89a5a; padding-bottom: 6px; margin-bottom: 8px; }
.stempel { position: absolute; right: 30px; top: 58px; padding: 4px 10px; border: 3px double #22386a; border-radius: 8px; color: #22386a; font-weight: 700; font-size: 15px;
  letter-spacing: .08em; text-transform: uppercase; transform: rotate(-10deg); opacity: .8; pointer-events: none; }
#buehne.hoch .stempel { right: 20px; top: 66px; font-size: 13px; }
@media (hover: hover) { .reihe button:hover, .modus:hover, .saal:hover, #knoepfe button:hover { filter: brightness(1.1); } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } #bann.neu { animation: none; } }
#buehne.hoch #werte:has(.wert-wz:not([hidden])) .wert-zeit, #buehne.hoch #werte:has(.wert-alarm:not([hidden])) .wert-zeit, #buehne.klein #werte:has(.wert-wz:not([hidden])) .wert-zeit, #buehne.klein #werte:has(.wert-alarm:not([hidden])) .wert-zeit { display: none; }
#buehne.hoch .wert-wz { flex: 0 0 auto; }
.kasten.diebesbuch { width: min(820px, 100%); }
.eb .eb-ic { flex: none; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #2a1a04;
  background: radial-gradient(circle at 35% 30%, #fff3c0, var(--messing1) 30%, var(--messing2)); box-shadow: 0 2px 6px var(--schatten); }
.eb .eb-ic svg { width: 24px; height: 24px; }
.eb:not(.da) { opacity: .5; } .eb:not(.da) .eb-ic { background: #4a4a50; color: #9a9aa4; }
.eb small.noch { color: var(--leise); }
#toast .eb-ic svg { width: 20px; height: 20px; vertical-align: -4px; }

.wert-auftrag { flex: 0 1 190px; }
.wert-auftrag b svg { width: 16px; height: 16px; flex: none; }
.wert-auftrag.ok { border-color: #6aa84a; } .wert-auftrag.ok b { color: var(--gut); }
.wert-auftrag.weg b em { text-decoration: line-through; opacity: .7; }
.wz.schl svg { width: 20px; height: 20px; color: #f2d070; }
#streifen { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: center; gap: 10px; z-index: 2; pointer-events: none; }
#streifen #karte { display: block; border-radius: 4px; box-shadow: 0 0 0 2px var(--messing2), 0 4px 10px var(--schatten); background: rgba(10, 8, 6, .62); }
#streifen .wert-auftrag { height: 52px; flex: 0 1 190px; }
#streifen .wert-auftrag span { font-size: 15px; } #streifen .wert-auftrag b em { font-size: 17px; }
#buehne.hoch #knoepfe button { width: 60px; height: 60px; }
#buehne.hoch #knoepfe button svg { width: 26px; height: 26px; }
#buehne.hoch .wert { height: 54px; } #buehne.hoch .wert span { font-size: 15px; } #buehne.hoch .wert b { font-size: 19px; } #buehne.hoch .wert.gross b { font-size: 21px; }
#buehne.hoch #werte .wert-auftrag { display: none; }
#buehne.hoch .werkzeug button { height: 62px; min-width: 104px; font-size: 18px; }
.werkzeug button:not(:disabled) { border-color: #e8c060; box-shadow: 0 3px 0 #14141a, 0 0 10px rgba(232, 192, 96, .45); }
.werkzeug button:disabled { opacity: .55; filter: grayscale(.6); }
#buehne.klein #leiste { height: 54px; gap: 6px; }
#buehne.klein .wert { height: 46px; padding: 1px 8px; } #buehne.klein .wert span { font-size: 13px; } #buehne.klein .wert b { font-size: 17px; }
#buehne.klein #knoepfe button { width: 48px; height: 48px; }
#buehne.klein .werkzeug button { height: 48px; min-width: 84px; }
#buehne.klein #logo { font-size: 18px; } #buehne.klein #modus { display: none; }
#buehne.klein .wert-auftrag { flex: 0 1 140px; }
#buehne:not(.hoch) .menue .modi { display: grid; grid-template-columns: 1fr 1fr; margin: 10px 0; }
#buehne:not(.hoch) .menue .titel { font-size: 44px; } #buehne:not(.hoch) .menue .unter { margin-bottom: 4px; }
#buehne:not(.hoch) .menue .einst { margin-top: 6px; } #buehne:not(.hoch) .menue .einst label { min-height: 40px; }
#buehne:not(.hoch) .kasten.menue { width: min(760px, 100%); }
#buehne.hoch .stempel { right: 92px; top: 48px; }
.saaltafel { width: min(520px, 100%); }
.saaltafel h2 { text-align: center; } .mitte-z { text-align: center; } .saaltafel .sterne .stern { width: 30px; height: 30px; }
.saaltafel table { margin-top: 8px; }
.kasten.versteck { background: linear-gradient(180deg, rgba(20, 14, 8, .2), rgba(20, 14, 8, .5)), url(img/dachboden.webp?v=1) center top / cover, #3a2818; }
.versteck .werke { gap: 18px 14px; padding: 12px 6px 6px; }
.versteck .werk { border: none; background: none; padding: 0; position: relative; }
.versteck .werk::before { content: ''; position: absolute; top: -10px; left: 50%; width: 2px; height: 12px; background: #8a7a5a; }
.versteck .werk canvas { box-shadow: 0 8px 16px rgba(0, 0, 0, .6); }
.versteck .werk small { background: rgba(244, 236, 216, .9); color: #2e2614; padding: 2px 6px; border-radius: 3px; min-height: 0; }
.versteck h2, .versteck > p { text-shadow: 0 2px 6px rgba(0, 0, 0, .8); color: #fbefd8; }
#buehne:not(.hoch) .wert-saal { flex: 1 1 auto; max-width: 320px; }
#buehne.klein #logo { display: none; }
#buehne.klein #w-rahmen em:not(.gut), #buehne.hoch #w-rahmen em:not(.gut) { display: none; }
#buehne.klein .wert-saal { max-width: 200px; } #buehne.klein .wert-auftrag { flex: 0 0 auto; }
.wert-alarm { border-color: #e2603a; background: linear-gradient(180deg, #8a2a1e, #5a160e); }
.wert-alarm span { color: #ffd0c0; } .wert-alarm b { color: #fff3e8; }
.alarmring { --rest: 360deg; position: relative; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: conic-gradient(#ffd24a var(--rest), rgba(0, 0, 0, .35) 0); }
.alarmring svg { width: 16px; height: 16px; background: #5a160e; border-radius: 50%; padding: 2px; box-sizing: content-box; color: #ffd24a; }
@media (prefers-reduced-motion: no-preference) { .wert-alarm .alarmring svg { animation: glockeWackel .4s ease-in-out infinite alternate; } }
@keyframes glockeWackel { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
#buehne.hoch #werte .wert-alarm { flex: 0 0 auto; }
.kasten.zeitung { background: linear-gradient(180deg, #efe6d0, #ddd0b0); color: #1e1a12; border: 1px solid #8a7a5a; text-align: left; font-family: Georgia, 'Times New Roman', serif; }
.zeitung .z-kopf { font-size: 34px; font-weight: 700; text-align: center; letter-spacing: .02em; border-bottom: 3px double #1e1a12; padding-bottom: 4px; }
.zeitung .z-datum { font-size: 13px; text-align: center; border-bottom: 1px solid #1e1a12; padding: 3px 0; margin-bottom: 10px; color: #4a3e2a; }
.zeitung h2 { color: #1e1a12; font-size: 26px; text-align: center; text-transform: uppercase; }
.zeitung p { font-size: 16px; line-height: 1.45; text-align: left; hyphens: auto; }
.zeitung .ov-zu { background: #efe2c2; color: #2e2614; border-color: #8a7a5a; }
.werkblatt canvas { width: 288px; height: 360px; }
.coup { font-style: italic; color: var(--gold); }
#streifen .wert-alarm { height: 52px; }
#buehne.hoch .wert-saal b em { font-size: 14px; line-height: 1.1; white-space: normal; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
#lehrtext { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(560px, calc(100% - 24px)); z-index: 3; pointer-events: none; padding: 9px 14px; border-radius: 10px;
  background: linear-gradient(180deg, #fbf3dc, #eadcb4); color: #2e2410; font-size: 16px; line-height: 1.35; text-align: center; box-shadow: 0 6px 18px var(--schatten), inset 0 0 0 3px #fbf3dc, inset 0 0 0 5px #a8802a; }
#lehrtext b { display: block; color: #6a1e1a; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
#lehrtext em { display: inline-block; font-style: normal; font-weight: 700; color: #8a5a12; }
#wdhleiste { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 4; display: flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 12px; background: rgba(20, 16, 10, .86); color: #fbf1da; white-space: nowrap; }
#wdhleiste span { display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; } #wdhleiste svg { width: 18px; height: 18px; }
#wdhleiste button { min-height: 44px; min-width: 48px; padding: 4px 10px; border-radius: 9px; border: 1px solid rgba(226, 180, 79, .5); background: #3a2e18; color: #fbf1da; display: inline-flex; align-items: center; gap: 4px; }
#wdhleiste button.an { background: #a8802a; color: #1e1406; }
.saal .rek { color: var(--leise); } .saal .rek.ich { color: var(--gut); } .saal .rek svg { width: 14px; height: 14px; vertical-align: -2px; }
.auf-ok svg { width: 16px; height: 16px; vertical-align: -3px; color: var(--gut); }
#buehne:not(.hoch) .menue .modus { min-height: 56px; padding: 8px 14px; } #buehne:not(.hoch) .menue .modus small { font-size: 13px; }
#buehne:not(.hoch) .menue .titel { font-size: 38px; margin-bottom: 2px; } #buehne:not(.hoch) .menue .modi { gap: 7px; margin: 8px 0; }
#buehne:not(.hoch) #ov { padding-top: 12px; padding-bottom: 12px; } #buehne:not(.hoch) .kasten.menue { padding-top: 16px; padding-bottom: 16px; }
#buehne.hoch #wdhleiste button { min-height: 62px; min-width: 62px; font-size: 18px; } #buehne.hoch #wdhleiste { gap: 6px; bottom: 8px; } #buehne.hoch #wdhleiste span { display: none; }
#buehne.hoch #lehrtext { font-size: 18px; }
#buehne.klein #wdhleiste button { min-height: 50px; min-width: 52px; } #buehne.klein #wdhleiste span { display: none; }
#buehne.klein .kasten > .ov-zu { width: 50px; height: 50px; }
#buehne:not(.hoch) .kasten.menue { width: min(980px, 100%); }
#buehne:not(.hoch) .menu-spalten { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: start; }
#buehne:not(.hoch) .menu-links .modi { grid-template-columns: 1fr 1fr; margin-top: 0; }
.menu-rechts .einst { margin-top: 4px; }
.fortsetzen { display: flex; align-items: center; gap: 10px; margin: 8px 0; padding: 8px 12px; border-radius: 12px; border: 2px solid var(--messing1); background: rgba(232, 192, 96, .14); }
.fortsetzen > span { flex: 1; display: flex; align-items: center; gap: 8px; } .fortsetzen > span svg { width: 22px; height: 22px; }
.fortsetzen small { display: block; color: var(--leise); } .fortsetzen b { display: block; }
.fortsetzen button { min-height: 48px; min-width: 48px; padding: 6px 14px; border-radius: 10px; border: 2px solid var(--messing2); background: linear-gradient(90deg, var(--holz1), var(--holz2)); color: var(--brett-text); display: inline-flex; align-items: center; justify-content: center; }
.fortsetzen button.haupt { background: radial-gradient(circle at 35% 30%, #fff3c0, var(--messing1) 30%, var(--messing2)); color: #2a1a04; font-weight: 700; }
.fortsetzen button svg { width: 18px; height: 18px; }
.tagauf { padding: 8px 12px; border-radius: 12px; border: 1px solid var(--gold2); background: rgba(0, 0, 0, .18); margin-bottom: 8px; }
.tagauf h3 { margin: 0 0 6px; font-size: 16px; display: flex; align-items: center; gap: 6px; } .tagauf h3 svg { width: 18px; height: 18px; }
.ta { display: grid; grid-template-columns: 1fr 70px 44px; gap: 6px; align-items: center; font-size: 14px; padding: 2px 0; }
.ta span { display: flex; align-items: center; gap: 4px; } .ta span svg { width: 15px; height: 15px; color: var(--gut); }
.ta small { text-align: right; color: var(--leise); }
.ta-balken { display: block; height: 6px; border-radius: 3px; background: rgba(0, 0, 0, .35); overflow: hidden; } .ta-balken i { display: block; height: 100%; background: linear-gradient(90deg, var(--messing2), var(--messing1)); }
.ta.fertig span { color: var(--gut); }
.kasten.steckbrief { background: linear-gradient(180deg, #efe2c2, #d8c49a); color: #2a1e10; border: 1px solid #8a6a3a; }
.steckbrief .sb-kopf { font-size: 44px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6a1e1a; }
.steckbrief canvas { width: 128px; height: 128px; display: block; margin: 4px auto; background: #c8b48a; border: 3px solid #6a4a20; }
.steckbrief .sb-name { font-size: 18px; font-weight: 700; } .steckbrief .sb-belohnung { font-size: 22px; color: #6a1e1a; margin: 4px 0 8px; }
.steckbrief table { text-align: left; } .steckbrief .klein { color: #5a4630; }
.steckbrief .ov-zu { background: #efe2c2; color: #2e2614; border-color: #8a6a3a; }
.tliste { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tliste button { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 6px 12px; border-radius: 10px; border: 2px solid var(--messing2); background: linear-gradient(90deg, var(--holz1), var(--holz2)); color: var(--brett-text); }
.tliste button.an { box-shadow: 0 0 0 3px var(--messing1); } .tliste kbd { font-size: 16px; min-width: 40px; }
#buehne.hoch .tliste { grid-template-columns: 1fr; }
.kasten.editor { width: min(940px, 100%); }
.ed-pal { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.ed-pal button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 4px 10px; border-radius: 9px; border: 1px solid var(--gold2); background: rgba(0, 0, 0, .25); color: var(--text); }
.ed-pal button.an { box-shadow: 0 0 0 3px var(--messing1); } .ed-pal i { display: inline-block; width: 16px; height: 16px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, .4); }
#edcv { width: 100%; height: auto; display: block; border-radius: 6px; border: 2px solid var(--gold2); cursor: crosshair; }
#edmeld.gut { color: var(--gut); } #edmeld.warn { color: var(--warn); text-align: left; }
.ed-code { display: flex; gap: 8px; margin-top: 10px; } .ed-code input { flex: 1; min-height: 44px; padding: 6px 10px; border-radius: 9px; border: 1px solid var(--gold2); background: var(--bg2); color: var(--text); font: 14px/1.2 monospace; }
.ed-code button { min-height: 44px; padding: 6px 12px; border-radius: 9px; border: 2px solid var(--messing2); background: linear-gradient(90deg, var(--holz1), var(--holz2)); color: var(--brett-text); }
#buehne.hoch .ed-code { flex-wrap: wrap; } #buehne.hoch .ed-pal button { min-height: 56px; }
.abspann-bild { width: 100%; max-height: 220px; object-fit: cover; border: 3px solid #1e1a12; margin: 6px 0 10px; display: block; }
#buehne:not(.hoch) .menu-rechts .reihe { gap: 6px; margin-top: 8px; justify-content: flex-start; }
#buehne:not(.hoch) .menu-rechts .reihe button { min-height: 44px; padding: 5px 10px; font-size: 14px; gap: 6px; }
#buehne:not(.hoch) .menu-rechts .reihe button svg { width: 18px; height: 18px; }
#buehne:not(.hoch) .menu-links .modus small { font-size: 12.5px; line-height: 1.25; }
#buehne:not(.hoch) .menu-rechts .einst label { min-height: 36px; } #buehne:not(.hoch) .menu-rechts .einst { gap: 2px 16px; }
#buehne.hoch .ed-pal button { min-height: 60px; } #buehne.hoch .ed-code input, #buehne.hoch .ed-code button { min-height: 60px; }
#buehne.hoch .tliste button { min-height: 60px; }
#buehne.hoch .ta small { font-size: 14px; } #buehne.hoch .ta { font-size: 16px; grid-template-columns: 1fr 70px 54px; }
#buehne.klein .ed-pal button, #buehne.klein .ed-code input, #buehne.klein .ed-code button, #buehne.klein .tliste button { min-height: 50px; }
.zeitung .z-bild { width: 100%; aspect-ratio: 5 / 3; background: url(img/zeitung.webp?v=1) 0 0 / 300% 300% no-repeat, #d8ccb0; border: 1px solid #1e1a12; filter: sepia(.35) contrast(1.05); margin: 4px 0 10px; }
.versteck .vsprung { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 2px; position: sticky; top: 0; z-index: 2; padding: 6px 0; background: rgba(42, 28, 16, .88); border-radius: 8px; }
.versteck .vsprung button { padding: 4px 9px; min-height: 34px; font-size: 13px; color: #fbefd8; background: rgba(90, 60, 30, .9); border: 1px solid #b8862a; border-radius: 7px; }
.versteck .vsprung small { color: #e8c878; }
.versteck .vfl { margin: 18px 0 0; font-size: 17px; color: #fbefd8; text-shadow: 0 2px 6px rgba(0, 0, 0, .8); scroll-margin-top: 56px; border-bottom: 1px solid rgba(232, 200, 120, .4); padding-bottom: 3px; }
#bann { top: var(--bann-oben, 12px); }
#buehne.m-oben #bann { top: auto; bottom: 12px; }
#buehne:not(.m-oben) #toast { bottom: auto; top: var(--toast-oben, 72px); }
#buehne.finger.unten { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; grid-template-areas: "leiste leiste" "feld feld" "l r"; }
#buehne.finger.unten .steuer { align-items: center; padding: 4px 24px 12px; } #buehne.finger.unten #steuer-l { justify-content: flex-start; } #buehne.finger.unten #steuer-r { justify-content: flex-end; }
#buehne.finger.unten .werkzeug { flex-direction: row; }
.mt-reiter { display: flex; gap: 6px; justify-content: center; margin: 10px 0 8px; border-bottom: 2px solid rgba(226, 180, 79, .35); }
.mt-reiter button { display: flex; align-items: center; gap: 7px; min-height: 46px; padding: 6px 16px; font-size: 16px; font-weight: 700; color: var(--leise); background: transparent; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer; }
.mt-reiter button svg { width: 18px; height: 18px; }
.mt-reiter button.an { color: var(--text); border-bottom-color: var(--gold); }
.mt-teil { display: none; }
.menue[data-mt="spielen"] .mt-teil[data-p="spielen"], .menue[data-mt="sammlung"] .mt-teil[data-p="sammlung"], .menue[data-mt="einst"] .mt-teil[data-p="einst"] { display: block; }
.menue[data-mt="sammlung"] .mt-teil[data-p="sammlung"] { display: grid; }
.mt-kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 6px 0; }
#buehne.hoch .mt-kacheln { grid-template-columns: 1fr; }
.mt-kachel { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 8px 12px; text-align: left; border-radius: 12px; border: 1px solid var(--gold2); background: linear-gradient(180deg, rgba(90, 60, 30, .85), rgba(50, 32, 16, .9)); color: var(--text); cursor: pointer; }
.mt-kachel .mi svg { width: 26px; height: 26px; } .mt-kachel b { display: block; font-size: 15px; } .mt-kachel small { display: block; font-size: 12.5px; color: var(--leise); }
.mt-teil[data-p="einst"] .ansichten { margin-top: 8px; }
.mt-fuss { justify-content: center; margin-top: 10px; }
#buehne.hoch .mt-reiter button { min-height: 58px; font-size: 17px; padding: 6px 10px; }
svg.medaille { width: 18px; height: 20px; vertical-align: -4px; }
.medzeilen svg.medaille { width: 15px; height: 17px; }
.medliste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 6px 0; }
#buehne.hoch .medliste { grid-template-columns: 1fr; }
.medsaal { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 10px; text-align: left; border-radius: 10px; border: 1px solid rgba(226, 180, 79, .45); background: rgba(50, 32, 16, .75); color: var(--text); cursor: pointer; }
.medsaal:disabled { opacity: .45; cursor: default; }
.medsaal svg.medaille { width: 26px; height: 29px; flex: none; } .medsaal b { display: block; font-size: 14px; } .medsaal small { display: block; font-size: 12px; color: var(--leise); }
#toast svg.medaille { width: 22px; height: 24px; vertical-align: -6px; }
.saal svg.medaille { width: 22px; height: 24px; vertical-align: -6px; margin-left: 4px; }
#medtempo { position: absolute; left: 14px; top: 12px; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 3px 10px 3px 6px; border-radius: 999px; pointer-events: none;
  background: rgba(20, 14, 8, .72); border: 1px solid rgba(226, 180, 79, .55); color: #fbefd8; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
#medtempo svg.medaille { width: 18px; height: 20px; }
#medtempo.med3 { border-color: #ffcc2a; } #medtempo.med2 { border-color: #d4d8e0; } #medtempo.med1 { border-color: #b8692a; } #medtempo.med0 { opacity: .7; }
#medtempo.knapp span { color: #ffb070; }
#buehne.hoch #medtempo { font-size: 13px; top: 8px; left: 10px; }
.medrang { margin: 8px 0 4px; padding: 8px 12px; border-radius: 10px; background: rgba(50, 32, 16, .7); border: 1px solid rgba(226, 180, 79, .45); }
.medrang h3 { margin: 0 0 6px; font-size: 16px; } .medrang ol { margin: 0; padding: 0; list-style: none; }
.medrang li { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; padding: 3px 0; border-bottom: 1px solid rgba(226, 180, 79, .15); }
.medrang li.ich { color: #ffd86a; } .medrang li b svg.medaille { width: 15px; height: 17px; }
.vfl .goldfl { font-size: 13px; color: #ffd86a; margin-left: 8px; } .vfl .goldfl svg { width: 16px; height: 16px; vertical-align: -3px; }
