:root { --bg: #2a1c10; --bg2: #1c120a; --text: #fbefd8; --leise: #e2cfae; --gold: #f2b84a; --gold2: #c47e22; --gut: #b8e07a; --warn: #ffb08a; --schatten: rgba(0, 0, 0, .45);
  --holz1: #b07a44; --holz2: #7a4e26; --holzK: #4a2c12; --brett-text: #fff6e2; --brett-leise: #f0dcb8; --glas-o: rgba(46, 30, 14, .78); --glas-u: rgba(30, 18, 8, .84);
  --grund: url(img/ernte.webp); --grund-hoch: url(img/ernte-hoch.webp); --abdunkeln: rgba(30, 16, 4, .18); }
:root[data-ansicht="bluete"] { --bg: #e8e2cf; --bg2: #dcd3ba; --text: #2e2616; --leise: #5a4c34; --gold: #9a5a14; --gold2: #7a4410; --gut: #3e7d3a; --warn: #a8442a; --schatten: rgba(70, 50, 20, .25);
  --holz1: #e6c8a0; --holz2: #caa070; --holzK: #8a6038; --brett-text: #2e2212; --brett-leise: #5a4428; --glas-o: rgba(250, 244, 230, .86); --glas-u: rgba(240, 230, 210, .9);
  --grund: url(img/bluete.webp); --grund-hoch: url(img/bluete-hoch.webp); --abdunkeln: rgba(255, 250, 235, .08); }
:root[data-ansicht="abend"] { --bg: #141a2c; --bg2: #0c1120; --text: #f1e9d6; --leise: #c8c0ae; --gold: #f0c060; --gold2: #b8862a; --gut: #a8d88a; --warn: #f09a7a;
  --holz1: #6a4a30; --holz2: #432c1a; --holzK: #24160a; --brett-text: #f6ecd6; --brett-leise: #d8c8a8; --glas-o: rgba(20, 24, 44, .8); --glas-u: rgba(12, 14, 28, .86);
  --grund: url(img/abend.webp); --grund-hoch: url(img/abend-hoch.webp); --abdunkeln: rgba(8, 10, 24, .22); }
* { 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; }
.zahl, .wert b, td:last-child, .endzahl b, .liste li 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: 250px 1fr 250px; gap: 12px; padding: 0 14px; 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 > aside, #buehne > main { position: relative; z-index: 1; }
#buehne > aside, #buehne > main, #grund { touch-action: none; }
#feldbox { display: flex; align-items: center; justify-content: center; min-width: 0; overflow: hidden; }
#rahmen { position: relative; padding: 12px; border-radius: 10px; touch-action: none;
  background: linear-gradient(135deg, var(--holz1), var(--holz2) 55%, var(--holzK)), repeating-linear-gradient(90deg, rgba(0, 0, 0, .08) 0 2px, transparent 2px 9px);
  background-blend-mode: multiply; box-shadow: 0 18px 34px rgba(0, 0, 0, .5), 0 4px 0 var(--holzK), inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -2px 0 rgba(0, 0, 0, .3); }
#rahmen::before { content: ''; position: absolute; inset: 12px; border-radius: 4px; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .55); pointer-events: none; z-index: 1; }
#cv { display: block; border-radius: 4px; touch-action: none; cursor: crosshair; }
#cvh { position: absolute; display: block; border-radius: 4px; pointer-events: none; }
#cv { position: relative; }
aside { display: flex; flex-direction: column; gap: 10px; padding: 16px 0; min-width: 0; }

.wert, .brett, #knoepfe button, .ak { position: relative; color: var(--brett-text);
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(0, 0, 0, .12)), repeating-linear-gradient(0deg, rgba(0, 0, 0, .07) 0 1px, transparent 1px 6px), linear-gradient(90deg, var(--holz1), var(--holz2));
  border: 1px solid var(--holzK); box-shadow: 0 3px 8px var(--schatten), inset 0 1px 0 rgba(255, 255, 255, .3); }
.wert::before, .wert::after { content: ''; position: absolute; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #d8d0c0, #5a5040); }
.wert::before { left: 4px; } .wert::after { right: 4px; }
#logo, .titel { font-weight: 700; letter-spacing: .04em; line-height: 1; white-space: nowrap; text-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
#logo { font-size: 30px; color: #fff6e2; } #logo b, .titel b { color: var(--gold); }
:root[data-ansicht="bluete"] #logo { color: #2e2212; text-shadow: 0 1px 0 rgba(255, 255, 255, .7); }
#modus { font-size: 15px; color: var(--brett-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; padding: 2px 8px; border-radius: 6px; background: var(--glas-o); width: fit-content; max-width: 100%; }
.wert { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 14px; border-radius: 8px; min-height: 46px; }
.wert span { font-size: 15px; color: var(--brett-leise); white-space: nowrap; }
.wert b { font-size: 19px; display: flex; align-items: center; gap: 6px; white-space: nowrap; min-width: 0; }
.wert.gross b { font-size: 28px; color: var(--brett-text); }
.wert span small { display: block; font-size: 14px; color: var(--brett-leise); }
.wert:not(.gross) span small { font-size: 13px; font-variant-numeric: tabular-nums; }
.zuletzt { margin-top: 2px !important; margin-bottom: 4px !important; } .zuletzt b { font-variant-numeric: lining-nums tabular-nums; }
.wert em { font-style: normal; font-size: 17px; }
.tuecher { display: inline-flex; gap: 1px; } .tuch { width: 20px; height: 18px; display: block; }
#aktiv { display: flex; flex-direction: column; gap: 6px; min-height: 108px; }
.ak { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; font-size: 15px; }
.ak i { width: 12px; height: 12px; border-radius: 50%; flex: none; background: #8cc858; box-shadow: inset -2px -2px 3px rgba(0, 0, 0, .3); }
.ak[data-ak="sturz"] i, .ak[data-ak="gift"] i { background: #b070e0; } .ak[data-ak="wespe"] i { background: #f2c21e; } .ak[data-ak="ohrwurm"] i { background: #a8643a; }
.ak[data-ak="serie"] i, .ak[data-ak="schub"] i { background: #7cc8f4; } .ak[data-ak="koenigin"] i { background: #ffd04a; box-shadow: 0 0 0 2px #a8700e; }
.ak[data-ak="schub"] { box-shadow: 0 0 0 2px #7cc8f4, 0 3px 8px var(--schatten); }
ul.auf { list-style: none; margin: 0; padding: 0; } ul.auf li { position: relative; padding: 3px 0 3px 26px; font-size: 15px; line-height: 1.3; }
ul.auf li i { position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border: 2px solid currentColor; border-radius: 4px; opacity: .8; }
ul.auf li.schwer i { border-style: double; border-width: 3px; }
ul.auf li.ok { opacity: .75; text-decoration: line-through; text-decoration-thickness: 1px; }
ul.auf li.ok i { background: #6aa83a; border-color: #2e5a14; opacity: 1; }
ul.auf li.ok i::after { content: ''; position: absolute; left: 4px; top: 0; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(40deg); }
.ak span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.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 label.wahl { padding-left: 0; gap: 8px; }
.einst input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.einst label:not(.wahl)::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; }
.einst select { min-height: 44px; font-size: 16px; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--gold2); background: var(--glas-u); color: var(--text); }

#knoepfe { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
#knoepfe button { width: 46px; height: 48px; 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; }
.brett { border-radius: 8px; padding: 10px 14px; font-size: 15px; }
.brett h3 { margin: 0 0 6px; font-size: 16px; color: var(--brett-text); }
#steuer p { margin: 3px 0; line-height: 1.5; }
kbd { display: inline-block; min-width: 22px; padding: 1px 5px; margin-right: 3px; border-radius: 5px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(0, 0, 0, .35); font: 14px/1.3 Georgia, serif; text-align: center; }
:root[data-ansicht="bluete"] 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; }

#bann { position: absolute; left: 0; right: 0; padding: 12px 14px; 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 #3c6a2a; border: 1px solid #2a4a1c; }
#bann b { display: block; font-size: 19px; color: #3c6a2a; margin-bottom: 3px; }
#bann em { font-style: normal; font-weight: 700; color: #8a3a12; }
#bann.neu { animation: bannEin .45s ease-out; }
@keyframes bannEin { 0% { transform: translateY(-6px); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
#buehne.hoch #feldbox { position: relative; align-items: flex-end; }
#buehne.hoch #bann { left: 4px; right: 4px; display: flex; flex-direction: column; justify-content: center; text-align: center; font-size: 16px; line-height: 1.22; padding: 5px 12px; overflow: hidden; }
#buehne.hoch #bann b { font-size: 18px; margin-bottom: 1px; }
.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, .82); 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(20, 12, 4, .42); }
:root[data-ansicht="bluete"] #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 { 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, .14), rgba(0, 0, 0, .12)), linear-gradient(90deg, var(--holz1), var(--holz2)); border: 1px solid var(--holzK); box-shadow: 0 2px 6px var(--schatten); }
.reihe button.haupt { background: linear-gradient(180deg, #8cc858, #4e8a28); color: #10200a; border-color: #2e5a14; font-weight: 700; }
.menue .titel { font-size: 52px; 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, .14), rgba(0, 0, 0, .12)), repeating-linear-gradient(0deg, rgba(0, 0, 0, .07) 0 1px, transparent 1px 6px), linear-gradient(90deg, var(--holz1), var(--holz2));
  border: 1px solid var(--holzK); 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; background: #6aa83a; color: #10200a; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .35); }
.modus b { display: block; font-size: 19px; } .modus 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 #8cc858; }
.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, .18); border: 1px solid var(--gold2); }
:root[data-ansicht="bluete"] .eintrag { background: rgba(255, 255, 255, .45); }
.eintrag canvas { flex: none; width: 64px; height: 64px; border-radius: 8px; background: rgba(120, 170, 80, .35); }
.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; }
.pause-weg { text-align: left; margin: 10px 0; padding: 8px 12px; background: rgba(0, 0, 0, .18); border-radius: 10px; }
.pause-weg h3 { margin: 0 0 4px; }
.pause-weg ul.auf li { font-size: 16px; }
.ak[data-ak="falter"] i { background: #f6e05a; box-shadow: inset 0 0 0 2px #c86a1a; }
#bannplatz { flex: none; height: 162px; }
#buehne:not(.hoch) #bann { font-size: 15px; line-height: 1.3; padding: 10px 12px; } #buehne:not(.hoch) #bann b { font-size: 17px; }
#buehne.klein #bannplatz { height: 130px; }
#buehne.hoch #bannplatz { display: none; }
#rechenweg .klein { display: none; }
.reiter { display: flex; gap: 4px; margin: 10px 0 0; border-bottom: 2px solid #b89a5a; }
.reiter button { position: relative; min-height: 44px; padding: 6px 14px; border: 1px solid #b89a5a; border-bottom: none; border-radius: 8px 8px 0 0; background: #efe2c2; color: #5a4a30; font-size: 16px; }
.reiter button.an { background: #fffaf0; color: #2e2614; font-weight: 700; margin-bottom: -2px; border-bottom: 2px solid #fffaf0; }
.reiter .punkt { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #c8302a; vertical-align: middle; margin-left: 4px; }
.seite { padding: 10px 2px 4px; }
.reihe.fest { position: sticky; bottom: -22px; margin: 10px -26px -22px; padding: 10px 12px 14px; background: linear-gradient(180deg, rgba(234, 220, 182, .85), #eadcb6 30%); border-top: 1px dashed #b89a5a; z-index: 2; }
#buehne.hoch .reiter button { min-height: 58px; font-size: 18px; flex: 1; }
.einst-zu { display: flex; justify-content: center; margin-top: 10px; }
.einst-zu button { 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, .14), rgba(0, 0, 0, .12)), linear-gradient(90deg, var(--holz1), var(--holz2)); border: 1px solid var(--holzK); }
.einst-zu button svg { width: 20px; height: 20px; }
.kasten.menue .einst { display: none; } .kasten.menue.einst-offen .einst { display: flex; }
#buehne.hoch .einst-zu button { min-height: 62px; font-size: 17px; }
.karte { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 10px 0; }
.karte .feld { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 8px; border-radius: 10px; background: rgba(0, 0, 0, .16); border: 1px dashed var(--gold2); text-align: center; }
:root[data-ansicht="bluete"] .karte .feld { background: rgba(255, 255, 255, .45); }
.karte .feld p { margin: 0; font-size: 15px; line-height: 1.25; }
.stempelkreis { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px dashed currentColor; opacity: .7; font-size: 13px; line-height: 1.2; }
.feld.gestempelt .stempelkreis { opacity: 1; border: 4px double #c8302a; color: #c8302a; transform: rotate(-10deg); background: rgba(255, 240, 230, .5); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.balken { width: 100%; height: 6px; border-radius: 3px; background: rgba(0, 0, 0, .25); overflow: hidden; } .balken i { display: block; height: 100%; background: #8cc858; }
#buehne.hoch .karte { grid-template-columns: 1fr 1fr; }
#hinweis { flex-wrap: wrap; justify-content: center; max-width: calc(100% - 24px); white-space: normal; }
#hinweis.oben { top: 12px; bottom: auto; }
#buehne.hoch #hinweis.oben { top: 4px; width: calc(100% - 16px); font-size: 17px; }
#hinweis button.an { background: #6aa83a; color: #10200a; border-color: #2e5a14; font-weight: 700; }
.kasten.mitte .einst { margin-top: 4px; }

#buehne.klein { grid-template-columns: 210px 1fr 210px; gap: 8px; padding: 0 8px; }
#buehne.klein aside { padding: 8px 0; gap: 6px; }
#buehne.klein #logo { font-size: 24px; } #buehne.klein .wert { min-height: 40px; padding: 5px 12px; }
#buehne.klein .wert.gross b { font-size: 22px; } #buehne.klein #rechenweg, #buehne.klein #steuer, #buehne.klein #auftraege { display: none; }
#buehne.klein #knoepfe button { width: 52px; height: 52px; }
#buehne.klein #rahmen { padding: 8px; } #buehne.klein #rahmen::before { inset: 8px; }

#buehne.hoch { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; gap: 8px; padding: 8px 10px 10px; }
#buehne.hoch #links { flex-direction: row; flex-wrap: wrap; padding: 0; gap: 6px; align-items: stretch; }
#buehne.hoch #logo { font-size: 24px; width: auto; align-self: center; margin-right: 6px; }
#buehne.hoch #modus { flex: 0 0 auto; align-self: center; margin: 0; max-width: none; }
#buehne.hoch .wert { flex: 1 1 22%; min-height: 82px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; padding: 4px 12px; }
#buehne.hoch .wert span { font-size: 14px; } #buehne.hoch .wert b { font-size: 19px; } #buehne.hoch .wert.gross b { font-size: 22px; }
#buehne.hoch .wert span small { font-size: 15px; } #buehne.hoch .etikett small, #buehne.hoch .etikett span { font-size: 15px; }
#buehne.hoch .wert em { font-size: 16px; }
#buehne.hoch #aktiv { flex: 1 1 100%; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 6px; height: 40px; min-height: 0; min-width: 0; overflow: hidden; }
#buehne.hoch .ak { flex: 0 1 auto; min-width: 0; padding: 6px 10px; }
#buehne.hoch #rechts { flex-direction: row; padding: 0; align-items: stretch; justify-content: center; }
#buehne.hoch #rechenweg, #buehne.hoch #steuer, #buehne.hoch #auftraege { display: none; }
#buehne.hoch #knoepfe { justify-content: center; gap: 10px; }
#buehne.hoch #knoepfe button { width: 72px; height: 66px; }
#buehne.hoch #rahmen { padding: 8px; } #buehne.hoch #rahmen::before { inset: 8px; }
#buehne.hoch .kasten { width: 100%; } #buehne.hoch .eintraege, #buehne.hoch .spalten { grid-template-columns: 1fr; }
#buehne.hoch .reihe button { min-height: 64px; font-size: 17px; }
#buehne.hoch .modus { min-height: 76px; } #buehne.hoch .menue .titel { font-size: 46px; }
#buehne.hoch #hinweis button { min-height: 62px; }
#buehne.hoch .einst label { min-height: 62px; } #buehne.hoch .einst select { min-height: 62px; min-width: 110px; font-size: 18px; }
@media (pointer: coarse) { #steuer { display: none; } #cv { cursor: default; } }

.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(--holzK); 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, #f6ecd4, #eadcb6); 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: #3c6a2a; }
.zettel .grund, .zettel .endzahl span, .zettel .klein { color: #6b5636; }
.zettel .endzahl b { color: #8a3a12; }
.zettel .gut { color: #2c6528; } .zettel .warn { color: #a8442a; }
.zettel tr.sum td { color: #3c6a2a; 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; }
.zettel-mitte { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; margin: 4px 0 8px; }
.etikett { min-width: 170px; padding: 8px 14px; text-align: center; background: #fffaf0; border: 3px double #3c6a2a; border-radius: 6px; box-shadow: 0 2px 6px rgba(80, 60, 20, .25); }
.etikett small { display: block; font-size: 12px; color: #7a6040; letter-spacing: .06em; }
.etikett b { display: block; font-size: 22px; color: #8a1e14; font-variant: small-caps; margin: 2px 0; }
.etikett span { display: block; font-size: 13px; color: #5a4a30; }
.stempel { position: absolute; right: 74px; top: 30px; padding: 4px 10px; border: 3px double #a8442a; border-radius: 8px; color: #a8442a; font-weight: 700; font-size: 15px;
  letter-spacing: .08em; text-transform: uppercase; transform: rotate(-12deg); opacity: .8; pointer-events: none; }
#buehne.hoch .stempel { right: 84px; top: 30px; font-size: 13px; }
@media (hover: hover) { .reihe button:hover, .modus:hover, #knoepfe button:hover { filter: brightness(1.1); } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } #bann.neu { animation: none; } }
.ak[data-ak="doppel"] i, .ak[data-ak="gold"] i { background: #ffd04a; box-shadow: 0 0 6px #ffe08a; } .ak[data-ak="haube"] i { background: #e8c86a; box-shadow: inset 0 0 0 2px #c8302a; }
.ak[data-ak="nebel"] i { background: #dfe6ee; } .ak[data-ak="woche"] i { background: #c8302a; }
.ak[data-ak="doppel"] { box-shadow: 0 0 0 2px #ffd04a, 0 3px 8px var(--schatten); }
#ov :focus-visible, #hinweis :focus-visible, #knoepfe :focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.zettel :focus-visible { outline-color: #c8302a; }
.zeitleiste { position: relative; flex: 1 1 100%; height: 26px; margin: 2px 4px; border-radius: 13px; background: rgba(255, 255, 255, .15); cursor: pointer; touch-action: none; overflow: hidden; }
.zeitleiste i.lauf { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(140, 200, 88, .55); border-right: 2px solid #b8e07a; }
.zeitleiste b { position: absolute; top: 3px; bottom: 3px; width: 4px; margin-left: -2px; border-radius: 2px; pointer-events: none; }
.zeitleiste b.m-welle { background: rgba(255, 255, 255, .45); width: 2px; } .zeitleiste b.m-biss { background: #e2603a; }
.zeitleiste b.m-koenigin, .zeitleiste b.m-gold { background: #ffd04a; } .zeitleiste b.m-schub { background: #7cc8f4; }
#buehne.hoch .zeitleiste { height: 40px; border-radius: 20px; }
.kasten.video video { display: block; width: auto; max-width: 100%; max-height: 52vh; margin: 6px auto 8px; border-radius: 10px; background: #000; }
.reihe a.knopf { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 16px; border-radius: 10px; text-decoration: none; font-weight: 700;
  background: linear-gradient(180deg, #8cc858, #4e8a28); color: #10200a; border: 1px solid #2e5a14; }
.reihe a.knopf svg { width: 22px; height: 22px; }
#buehne.hoch .reihe a.knopf { min-height: 64px; font-size: 17px; }
.kasten.jahr { width: min(720px, 100%); }
.jahrkarte { position: relative; width: 100%; aspect-ratio: 16 / 8; margin: 6px 0 8px; border-radius: 12px; overflow: hidden; border: 2px solid var(--holzK);
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .18), transparent 40%), repeating-linear-gradient(115deg, rgba(60, 100, 30, .18) 0 6px, transparent 6px 22px), linear-gradient(180deg, #a8c870, #7ea050); }
:root[data-ansicht="abend"] .jahrkarte { background: repeating-linear-gradient(115deg, rgba(0, 0, 0, .15) 0 6px, transparent 6px 22px), linear-gradient(180deg, #4f7a4a, #34583a); }
.jahrkarte > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.jahrkarte .elbe { fill: #6aa0c8; opacity: .85; } .jahrkarte .weg { fill: none; stroke: #f4e6bc; stroke-width: .9; stroke-dasharray: 2 1.6; stroke-linecap: round; opacity: .9; }
.station { position: absolute; transform: translate(-50%, -50%); width: 62px; height: 52px; padding: 2px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  color: var(--brett-text); background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(0, 0, 0, .12)), linear-gradient(90deg, var(--holz1), var(--holz2)); border: 1px solid var(--holzK); box-shadow: 0 3px 6px rgba(0, 0, 0, .4); }
.station b { font-size: 14px; line-height: 1; }
.station.zu { filter: grayscale(.9) brightness(.8); opacity: .75; }
.station.gewaehlt { box-shadow: 0 0 0 3px #ffd04a, 0 3px 8px rgba(0, 0, 0, .5); z-index: 2; }
.station.fertig { background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(0, 0, 0, .1)), linear-gradient(90deg, #8cc858, #4e8a28); color: #10200a; }
.sterne { display: inline-flex; gap: 1px; } .sterne svg { width: 12px; height: 12px; fill: rgba(0, 0, 0, .3); stroke: rgba(255, 255, 255, .5); stroke-width: 1; }
.sterne svg.an { fill: #ffd04a; stroke: #8a5a08; }
.sterne.gross svg { width: 30px; height: 30px; }
.monat-info { padding: 8px 12px; border-radius: 10px; background: rgba(0, 0, 0, .16); border: 1px solid var(--gold2); }
:root[data-ansicht="bluete"] .monat-info { background: rgba(255, 255, 255, .45); }
.monat-info h3 { margin: 0 0 4px; } .monat-info p { margin: 0 0 6px; }
.jahr-kopf { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0 0 6px; } .jahr-kopf b { font-size: 18px; color: #3c6a2a; } .jahr-kopf span { color: #6b5636; }
.ak[data-ak="jahr"] i { background: #8cc858; box-shadow: inset 0 0 0 2px #2e5a14; } .ak[data-ak="geist"] i { background: #a8c8ff; box-shadow: 0 0 6px #d8e8ff; }
#buehne.hoch .station { width: 54px; height: 48px; } #buehne.hoch .station b { font-size: 13px; } #buehne.hoch .jahrkarte { aspect-ratio: 1 / 1; }
