:root {
  --akzent: #7a5a14; --akzent2: #4f6b1e; --akzent3: #f6eed6; --tief: #efe6cf; --panel: rgba(250, 244, 226, .9); --panel2: rgba(251, 247, 234, .97);
  --text: #2f2410; --mute: #6a5530; --rand: rgba(122, 90, 20, .45); --knopf1: #f1e2b4; --knopf2: #d8bc78; --knopfText: #2f2410;
  --gruen: #2f7a1f; --rot: #a8261c; --kopf: Georgia, 'Times New Roman', serif;
  --huerdebild: url(img/huerde-morgen.webp?v=1); --kul: url(img/kulisse-morgen.webp?v=2); --kulH: url(img/kulisse-morgen-hoch.webp?v=1); --schleier: rgba(255, 248, 230, .1);
  --holz1: #b98a4e; --holz2: #6e4a20; --zettel: #fbf5e2; --zettelText: #3b2a12; --messing: #b08a3c; --sonne: #f6b73c; --bahn: rgba(120, 90, 30, .25);
}
html[data-ansicht="abend"] {
  --akzent: #f0c060; --akzent2: #b8e08a; --akzent3: #3a2a14; --tief: #1d150c; --panel: rgba(40, 28, 16, .86); --panel2: rgba(46, 32, 18, .96);
  --text: #fbefd6; --mute: #e2c89a; --rand: rgba(240, 192, 96, .45); --knopf1: #7a5626; --knopf2: #4a3214; --knopfText: #fbefd6;
  --gruen: #86efac; --rot: #fca5a5;
  --huerdebild: url(img/huerde-abend.webp?v=1); --kul: url(img/kulisse-abend.webp?v=1); --kulH: url(img/kulisse-abend-hoch.webp?v=1); --schleier: rgba(20, 12, 4, .2);
  --holz1: #8a6234; --holz2: #3e2810; --zettel: #3a2a16; --zettelText: #fbefd6; --messing: #d8a850; --sonne: #ff9a3c; --bahn: rgba(255, 220, 160, .2);
}
html[data-ansicht="weberei"] {
  --akzent: #f2c46d; --akzent2: #f6a3a3; --akzent3: #3a1414; --tief: #221010; --panel: rgba(48, 22, 20, .86); --panel2: rgba(54, 26, 22, .96);
  --text: #fff1e4; --mute: #f0cdb8; --rand: rgba(242, 196, 109, .45); --knopf1: #8a3426; --knopf2: #521a12; --knopfText: #fff1e4;
  --gruen: #86efac; --rot: #fda4af;
  --huerdebild: url(img/huerde-weberei.webp?v=2); --kul: url(img/kulisse-weberei.webp?v=1); --kulH: url(img/kulisse-weberei-hoch.webp?v=1); --schleier: rgba(30, 8, 6, .18);
  --holz1: #9a5a34; --holz2: #4a2010; --zettel: #3e1c16; --zettelText: #fff1e4; --messing: #e0b057; --sonne: #ffc14a; --bahn: rgba(255, 220, 180, .2);
}
body { background: var(--tief); }
#kulisse { position: fixed; inset: 0; background: var(--kul) center / cover no-repeat; z-index: 0; }
#kulisse::after { content: ''; position: absolute; inset: 0; background: var(--schleier); }
#kulisse::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(16, 12, 36, var(--d, 0)); transition: background .8s; }
body.hoch #kulisse { background-image: var(--kulH); }
#buehne { z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  #kulisse::before { content: ''; position: absolute; left: -10%; top: 0; width: 55%; height: 80%; pointer-events: none; mix-blend-mode: screen;
    background: radial-gradient(ellipse at 40% 35%, rgba(255, 244, 210, .22), rgba(255, 244, 210, 0) 60%); animation: licht 18s ease-in-out infinite alternate; }
  @keyframes licht { from { transform: translate(0, 2%) scale(1); opacity: .6; } to { transform: translate(8%, -3%) scale(1.12); opacity: 1; } }
}
html[data-ansicht="abend"] #kulisse::before { background: radial-gradient(ellipse at 70% 55%, rgba(255, 170, 70, .22), rgba(255, 170, 70, 0) 55%); }

#hud { background: var(--panel); border: 2px solid var(--messing); box-shadow: 0 10px 28px rgba(40, 24, 0, .3), inset 0 0 0 4px rgba(255, 255, 255, .06); }
#logo span, #logo b { font-family: var(--kopf); text-shadow: 0 2px 0 rgba(255, 255, 255, .5); }
#logo b { color: var(--akzent2); }
html[data-ansicht="abend"] #logo span, html[data-ansicht="abend"] #logo b, html[data-ansicht="weberei"] #logo span, html[data-ansicht="weberei"] #logo b { text-shadow: 0 2px 0 rgba(0, 0, 0, .5); }
.wert { background: rgba(255, 252, 240, .55); }
.wert b { color: var(--text); font-family: var(--kopf); font-variant-numeric: lining-nums tabular-nums; }
html[data-ansicht="abend"] .wert, html[data-ansicht="weberei"] .wert { background: rgba(0, 0, 0, .25); }
.wert.klein b { font-size: 21px; }
.endwert { color: var(--akzent); text-shadow: 0 2px 0 rgba(255, 250, 238, .8); }
html[data-ansicht="abend"] .endwert, html[data-ansicht="weberei"] .endwert { text-shadow: 0 3px 0 rgba(0, 0, 0, .5); }
.hinweis { background: rgba(255, 250, 238, .65); color: var(--text); }
.hinweis.gut { color: #1d6a28; font-weight: 700; } .hinweis.schlecht { color: #a8261c; font-weight: 700; }
html[data-ansicht="abend"] .hinweis, html[data-ansicht="weberei"] .hinweis { background: rgba(0, 0, 0, .3); color: var(--mute); }
html[data-ansicht="abend"] .hinweis.gut, html[data-ansicht="weberei"] .hinweis.gut { color: var(--gruen); }
html[data-ansicht="abend"] .hinweis.schlecht, html[data-ansicht="weberei"] .hinweis.schlecht { color: var(--rot); }
#banner { color: var(--akzent); font-family: var(--kopf); text-shadow: 0 2px 0 rgba(255, 250, 238, .9), 0 0 14px rgba(255, 250, 238, .9); }
#banner small { color: var(--text); }
html[data-ansicht="abend"] #banner, html[data-ansicht="weberei"] #banner { text-shadow: 0 2px 0 rgba(0, 0, 0, .6), 0 0 18px rgba(0, 0, 0, .5); }
#banner.zahl { display: none !important; }
#knoepfe { grid-template-columns: repeat(4, 1fr); }
#knoepfe button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; height: 52px; padding: 2px 0; }
#knoepfe button svg { width: 20px; height: 20px; }
#knoepfe .kl { font: 700 11px/1.1 'Segoe UI', system-ui, sans-serif; color: var(--text); white-space: nowrap; }
@media (max-height: 720px) and (min-aspect-ratio: 1/1) {
  #hud { gap: 7px; padding: 10px 14px; } #logo { font-size: 24px; padding: 2px 0 0; } .wert { padding: 4px 8px 5px; } .wert b { font-size: 24px; } .wert.klein b { font-size: 18px; }
  #knoepfe button { height: 46px; }
}

#brettbox { overflow: hidden; border-radius: 16px; touch-action: none; background: transparent; }
#brett { position: absolute; inset: 0; touch-action: none; z-index: 1; pointer-events: none; }
#huerde { position: absolute; z-index: 0; border-radius: 10px; background: var(--huerdebild) center / cover;
  box-shadow: 0 26px 40px rgba(30, 18, 2, .45), 0 0 0 7px var(--holz1), 0 0 0 9px var(--holz2), 0 9px 0 6px var(--holz2), inset 0 2px 0 rgba(255, 255, 255, .35), inset 0 0 40px rgba(60, 40, 10, .25); }
#huerde[hidden] { display: none; }
#huerde .kante { position: absolute; left: 4px; right: 4px; bottom: -17px; height: 10px; border-radius: 0 0 8px 8px; background: linear-gradient(var(--holz1), var(--holz2)); }

#kopf { position: absolute; z-index: 2; height: 44px; padding: 3px 12px; border-radius: 5px; overflow: hidden;
  background: var(--zettel); color: var(--zettelText); border: 1px solid var(--messing); box-shadow: 0 4px 12px rgba(0, 0, 0, .25); transform: rotate(-.6deg);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; align-content: center; font-family: var(--kopf); pointer-events: none; }
#kopf[hidden] { display: none; }
#kopf b, #kopf span { grid-column: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
#spule { grid-column: 2; grid-row: 1 / 3; align-self: center; position: relative; width: 28px; height: 36px; }
#spule::before, #spule::after { content: ''; position: absolute; left: 0; right: 0; height: 5px; border-radius: 2px; background: linear-gradient(var(--holz1), var(--holz2)); z-index: 1; }
#spule::before { top: 0; } #spule::after { bottom: 0; }
#spule .kern { position: absolute; left: 11px; width: 6px; top: 4px; bottom: 4px; background: var(--holz2); }
#spule .rolle { position: absolute; top: 5px; bottom: 5px; left: 50%; width: var(--w, 0px); transform: translateX(-50%); border-radius: 3px;
  background: repeating-linear-gradient(0deg, #fffaf0 0 2px, #e2d4b6 2px 3px); box-shadow: inset -2px 0 3px rgba(0, 0, 0, .22); transition: width .6s; }
@media (prefers-reduced-motion: no-preference) { #spule.neu .rolle { animation: spulePuls .7s ease-out 2; } }
@keyframes spulePuls { 50% { filter: brightness(1.25) drop-shadow(0 0 4px #fff3c4); } }
#kopf b { font-size: 15px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#kopf span { font-size: 13px; line-height: 17px; color: var(--mute); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }

#sonne { position: absolute; z-index: 2; height: 22px; pointer-events: none; }
#sonne[hidden] { display: none; }
#sonne .bahn { position: absolute; left: 10px; right: 10px; top: 8px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #ffe9a8, #f6b73c 55%, #b3402a 85%, #2c2a5a);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5), inset 0 1px 2px rgba(0, 0, 0, .35); }
#sonne .ball { position: absolute; top: 0; width: 22px; height: 22px; margin-left: -1px; border-radius: 50%; transform: translateX(-11px);
  background: radial-gradient(circle at 35% 35%, #fff6c8, var(--sonne) 60%, #d0761c); box-shadow: 0 0 12px rgba(255, 190, 60, .8), 0 2px 4px rgba(0, 0, 0, .3); left: 0; }
#sonne { padding: 0 11px; box-sizing: border-box; }
#sonne.knapp .ball { background: radial-gradient(circle at 35% 35%, #ffd9a0, #e0602a 60%, #8a2a10); box-shadow: 0 0 12px rgba(230, 90, 40, .8); }
@media (prefers-reduced-motion: no-preference) { #sonne.doppelt .ball { animation: sonnePuls .5s ease-in-out infinite alternate; } }
@keyframes sonnePuls { to { box-shadow: 0 0 2px 5px rgba(230, 90, 40, .7); } }

#meld { position: absolute; right: 12px; top: 40px; z-index: 3; width: min(420px, 50%); display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
#meld .m { background: var(--panel2); color: var(--text); border: 1px solid var(--rand); border-left: 5px solid var(--akzent); border-radius: 10px; padding: 6px 10px;
  font-size: 14px; line-height: 1.3; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: opacity .35s; }
#meld .m.gut { border-left-color: var(--gruen); } #meld .m.schlecht { border-left-color: var(--rot); }
#meld .m.weg { opacity: 0; }
#hud { position: relative; }
#meld.imHud { position: absolute; left: 10px; right: 10px; top: auto; width: auto; justify-content: flex-end; }
#meld.imHud .m { font-size: 13px; }
#meld.imHud.oben { top: 4px; bottom: auto; justify-content: flex-start; }

#karte { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-.8deg); z-index: 4; width: min(400px, calc(100% - 32px)); padding: 14px 20px; border-radius: 10px;
  background: var(--zettel); border: 2px solid var(--messing); box-shadow: 0 14px 40px rgba(0, 0, 0, .4); text-align: center; color: var(--zettelText); font-family: var(--kopf); pointer-events: none; }
#karte[hidden] { display: none; }
#karte h2 { margin: 0 0 6px; font: 800 24px/1.1 var(--kopf); color: var(--akzent); }
html[data-ansicht="morgen"] #karte h2 { color: #6a4a0c; }
#karte table { width: 100%; border-collapse: collapse; margin: 8px 0 6px; font-size: 15px; }
#karte td { padding: 4px 6px; border-bottom: 1px solid var(--rand); text-align: left; } #karte td + td { text-align: right; font-variant-numeric: lining-nums tabular-nums; }
#karte tr.summe td { font-weight: 800; color: var(--akzent); }
#karte .unter { font-size: 14px; color: var(--mute); }
#karte .stube { margin: 6px 0 4px; padding: 6px 8px; border-radius: 6px; background: rgba(79, 107, 30, .12); color: var(--zettelText); font-size: 15px; font-weight: 700; }
#karte.seite { top: auto; bottom: 12px; transform: translateX(-50%) rotate(-.8deg); width: min(380px, calc(100% - 32px)); padding: 10px 16px; }
#karte .sterne { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
#karte .sterne i { width: 26px; height: 26px; background: rgba(0, 0, 0, .2); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
#karte .sterne i.an { background: #f59e0b; }
#karte.streifen { top: 0; left: 0; bottom: auto; transform: none; width: auto; padding: 6px 10px; text-align: left; display: flex; flex-direction: column; gap: 1px; font-size: 13px; line-height: 1.3; border-radius: 8px; }
#karte.streifen b { font-size: 16px; color: var(--akzent); }
html[data-ansicht="morgen"] #karte.streifen b { color: #6a4a0c; }
#karte.streifen .neu { font-weight: 700; }

#kreuz { position: absolute; z-index: 3; display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr 1fr; gap: 4px; touch-action: none; }
#kreuz[hidden] { display: none; }
#kreuz.auflage { opacity: .82; }
#kreuz button { border: 2px solid var(--holz2); border-radius: 14px; background: linear-gradient(160deg, var(--holz1), var(--holz2)); color: #fff4d8; cursor: pointer; touch-action: none;
  box-shadow: 0 5px 0 rgba(40, 20, 0, .55), 0 8px 14px rgba(0, 0, 0, .35), inset 0 2px 0 rgba(255, 255, 255, .3); display: grid; place-items: center; padding: 0; min-width: 44px; min-height: 44px; }
#kreuz button svg { pointer-events: none; width: 55%; height: 55%; fill: currentColor; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .5)); }
#kreuz button.an { transform: translateY(3px); box-shadow: 0 2px 0 rgba(40, 20, 0, .55), 0 4px 8px rgba(0, 0, 0, .3), inset 0 2px 0 rgba(255, 255, 255, .2); }
#kreuz button.vor { border-style: dashed; border-color: #f6d27a; }
#kreuz button.aktiv { border-color: #f6d27a; box-shadow: 0 5px 0 rgba(40, 20, 0, .55), 0 0 0 3px rgba(246, 210, 122, .75), inset 0 2px 0 rgba(255, 255, 255, .3); }
#kreuz [data-d="0"] { grid-area: 1 / 2; } #kreuz [data-d="3"] { grid-area: 2 / 1; } #kreuz [data-d="1"] { grid-area: 2 / 3; } #kreuz [data-d="2"] { grid-area: 3 / 2; }
#kreuz.breit { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; }
#kreuz.breit [data-d="3"] { grid-area: 1 / 1 / 3 / 2; } #kreuz.breit [data-d="0"] { grid-area: 1 / 2; } #kreuz.breit [data-d="2"] { grid-area: 2 / 2; } #kreuz.breit [data-d="1"] { grid-area: 1 / 3 / 3 / 4; }
#kreuz.breit .mitte { display: none; } #kreuz.breit button svg { width: auto; height: 60%; max-width: 60%; }
#kreuz .mitte { grid-area: 2 / 2; border-radius: 50%; margin: 18%; background: radial-gradient(circle at 35% 35%, var(--holz1), var(--holz2)); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .4); }

#wahl { position: absolute; inset: 0; z-index: 3; overflow: auto; padding: 16px; background: var(--panel2); border-radius: 16px; scrollbar-width: thin; scrollbar-color: var(--akzent) rgba(0, 0, 0, .12); }
#wahl[hidden] { display: none; }
#wahl::-webkit-scrollbar { width: 8px; } #wahl::-webkit-scrollbar-thumb { background: var(--akzent); border-radius: 4px; } #wahl::-webkit-scrollbar-track { background: rgba(0, 0, 0, .12); }
#wahl h2 { margin: 0 0 12px; text-align: center; font: 800 24px/1.2 var(--kopf); color: var(--akzent); }
#wahl h2 small { font-size: 15px; color: var(--mute); font-weight: 600; margin-left: 6px; }
.zuchtplan { display: grid; gap: 12px; }
.stube { border: 2px solid var(--rand); border-radius: 12px; padding: 8px 10px 10px; background: linear-gradient(rgba(255, 255, 255, .35), rgba(255, 255, 255, .12)); }
html[data-ansicht="abend"] .stube, html[data-ansicht="weberei"] .stube { background: rgba(0, 0, 0, .22); }
.stube h3 { margin: 0 0 6px; font: 800 16px/1.2 var(--kopf); color: var(--akzent); }
.stube h3 small { font: 600 12px/1.2 system-ui, sans-serif; color: var(--mute); }
.regal { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; padding-bottom: 6px; border-bottom: 6px solid var(--holz1); }
.hrd { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto auto; column-gap: 6px; align-items: center; text-align: left; padding: 6px 8px; min-height: 56px;
  border-radius: 10px; border: 2px solid var(--rand); background: rgba(255, 255, 255, .5); color: var(--text); cursor: pointer; }
html[data-ansicht="abend"] .hrd, html[data-ansicht="weberei"] .hrd { background: rgba(0, 0, 0, .25); }
.hrd:hover, .hrd.an { border-color: var(--akzent); }
.hrd b { grid-row: span 3; width: 34px; height: 44px; border-radius: 50% / 45%; display: grid; place-items: center; font: 800 16px/1 var(--kopf); color: #6a4a0c;
  background: radial-gradient(circle at 35% 30%, #fffdf4, #e8dfc8); box-shadow: 0 2px 3px rgba(0, 0, 0, .3); }
.hrd.fertig b { background: radial-gradient(circle at 35% 30%, #fff, #f2e2a8); box-shadow: 0 0 0 2px #e0b040, 0 2px 3px rgba(0, 0, 0, .3); }
.hrd .sterne { display: inline-flex; gap: 1px; }
.hrd .st { width: 12px; height: 12px; fill: rgba(0, 0, 0, .2); stroke: var(--mute); stroke-width: 1.2; }
.hrd .st.an { fill: #f59e0b; stroke: #b45309; }
.hrd span { font-size: 12px; font-weight: 700; line-height: 1.15; min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.hrd { min-width: 0; }
.hrd em { font-style: normal; font-size: 11px; color: var(--mute); }

body.hoch #hud { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-areas: 'zeit punkte e1 e2 e3 e4' 'kn kn kn kn kn kn'; gap: 4px; padding: 6px; }
body.hoch #logo, body.hoch #modus { display: none; }
body.hoch #eigen .wert:nth-child(3) { display: block; grid-area: e3; } body.hoch #eigen .wert:nth-child(4) { display: block; grid-area: e4; }
body.hoch .wert { padding: 2px 2px 3px; } body.hoch .wert b, body.hoch .wert.klein b, body.hoch #eigen .wert b { font-size: 14px; line-height: 18px; white-space: nowrap; }
body.hoch .wert span { font-size: 11px; letter-spacing: .2px; }
body.hoch #knoepfe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; } body.hoch #knoepfe button { width: auto; min-width: 0; max-width: none; flex-direction: row; gap: 5px; height: 44px; }
body.hoch #knoepfe .kl { font-size: 12px; } body.hoch #knoepfe button svg { width: 18px; height: 18px; }
body.hoch #brettbox { border-radius: 12px; }
body.hoch #meld { right: 8px; left: 8px; width: auto; z-index: 4; }
body.hoch #meld .m:not(:last-child) { display: none; }
@media (pointer: coarse) { #knoepfe button { min-height: 44px; } body:not(.hoch) #knoepfe button { min-width: 44px; } }
@media (prefers-reduced-motion: reduce) { #banner { animation: none !important; } }
#logo { font-size: 28px; letter-spacing: 1px; }

#knoepfe button#bPause.an { box-shadow: 0 0 0 3px rgba(246, 210, 122, .8); }

#seAnsicht { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; background: rgba(20, 12, 4, .5); }
#seAnsicht[hidden] { display: none; }
#seAnsicht .tafel { position: relative; width: min(380px, calc(100% - 24px)); max-height: calc(100% - 24px); overflow: auto; padding: 14px 18px 16px; border-radius: 12px; box-sizing: border-box;
  background: var(--zettel); color: var(--zettelText); border: 2px solid var(--messing); box-shadow: 0 14px 40px rgba(0, 0, 0, .45); font-family: var(--kopf); }
#seAnsicht h2 { margin: 4px 0 6px; font: 800 24px/1.1 var(--kopf); color: var(--akzent); }
html[data-ansicht="morgen"] #seAnsicht h2 { color: #6a4a0c; }
#seAnsicht h3 { margin: 12px 0 6px; font-size: 15px; }
#seAnsicht h3 small { font-weight: 400; font-size: 13px; color: var(--mute); }
#seAnsicht .wahl3 button { white-space: nowrap; }
#seAnsicht .kx { position: sticky; top: 0; float: right; width: 44px; height: 44px; margin: -4px -6px 0 8px; border-radius: 50%; border: 2px solid var(--holz2); cursor: pointer;
  background: linear-gradient(var(--knopf1), var(--knopf2)); color: var(--knopfText); font: 700 24px/1 system-ui, sans-serif; z-index: 1; }
#seAnsicht .wahl3 { display: flex; gap: 6px; flex-wrap: wrap; }
#seAnsicht .wahl3 button { flex: 1 1 0; min-width: 80px; min-height: 44px; border-radius: 10px; border: 2px solid var(--holz2); cursor: pointer;
  background: linear-gradient(var(--knopf1), var(--knopf2)); color: var(--knopfText); font: 700 15px var(--kopf); }
#seAnsicht .wahl3 button.an { box-shadow: 0 0 0 3px #f6d27a, inset 0 2px 6px rgba(0, 0, 0, .3); filter: brightness(1.08); }
#seAnsicht .unter { font-size: 14px; color: var(--mute); margin: 8px 0 0; }
#seAnsicht .fertig { width: 100%; margin-top: 14px; }

#turbo { position: absolute; z-index: 4; border-radius: 50%; border: 2px solid var(--holz2); padding: 0; cursor: pointer; touch-action: none;
  background: radial-gradient(circle at 35% 30%, var(--holz1), var(--holz2)); box-shadow: 0 4px 0 rgba(40, 20, 0, .55), 0 6px 12px rgba(0, 0, 0, .3); display: grid; place-items: center; }
#turbo[hidden] { display: none; }
#turbo .kapsel { width: 58%; height: 26%; border-radius: 99px; transform: rotate(-35deg); background: linear-gradient(90deg, #c0392b 50%, #f7e7b0 50%); box-shadow: inset 0 0 0 1px rgba(60, 30, 10, .6); }
#turbo b { position: absolute; right: 0; top: 0; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 10px; background: #f6d27a; color: #3b2a12;
  font: 800 13px/20px Georgia, serif; text-align: center; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
#turbo.leer { filter: grayscale(.8) brightness(.85); }
#turbo.an { box-shadow: 0 0 0 4px rgba(255, 200, 60, .85), 0 0 18px rgba(255, 200, 60, .8);
  background: conic-gradient(rgba(255, 210, 90, .9) calc(var(--t, 1) * 360deg), transparent 0), radial-gradient(circle at 35% 30%, var(--holz1), var(--holz2)); }
#turbo:active { transform: translateY(2px); }

@media (prefers-reduced-motion: no-preference) { #turbo.neu { animation: turboNeu .9s ease-in-out infinite alternate; } #turbo.endet { animation: turboEnde .25s steps(2) infinite; } }
@keyframes turboNeu { to { box-shadow: 0 0 0 6px rgba(255, 200, 60, .9), 0 0 22px rgba(255, 200, 60, .9); transform: scale(1.08); } }
@keyframes turboEnde { 50% { filter: brightness(1.6); } }
#turbo.neu::after { content: attr(data-hinweis); position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%); padding: 2px 8px; border-radius: 6px; white-space: nowrap;
  background: var(--zettel); color: var(--zettelText); border: 1px solid var(--messing); font: 700 12px/1.4 Georgia, serif; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
#spule.ballen .rolle { width: 28px !important; border-radius: 6px; background: repeating-linear-gradient(90deg, #fffaf0 0 3px, #efe2c4 3px 5px); }
#wahl .tempo { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 10px; }
#wahl .tempo span { font-weight: 700; margin-right: 4px; }
#wahl .tempo button { min-height: 40px; padding: 0 14px; border-radius: 10px; border: 2px solid var(--holz2); background: linear-gradient(var(--knopf1), var(--knopf2)); color: var(--knopfText); font: 700 14px var(--kopf); cursor: pointer; }
#wahl .tempo button.an { box-shadow: 0 0 0 3px #f6d27a; }
#wahl .tempo small { flex-basis: 100%; color: var(--mute); font-size: 13px; }
#seAnsicht .wahl3 button[disabled] { opacity: .5; cursor: not-allowed; font-weight: 400; font-size: 13px; white-space: normal; }
