/* Tiefer! — Look „Lampenschein“ (SEINE Wahl 01.11.2026 aus proben/tiefer/: A). Dunkler Stollen, die Karten im warmen
   Licht der Lampe, Gefahren glühen rot. Bilder im Stil „Miniatur“ (werkzeug/tiefer/bilder.py). Am Handy ein Bildschirm. */
.tf-seite {
  --tf-text: #f5efe6; --tf-weich: #e7d9c4; --tf-gold: #fde68a; --tf-bernstein: #fbbf24; --tf-rot: #f87171; --tf-gruen: #6ee7b7;
  --tf-karte: linear-gradient(170deg, rgba(255,240,215,.16), rgba(255,240,215,.05));
  color: var(--tf-text);
}
html:has(.tf-seite) { background: #120c08; }
.tf-seite::before { background: radial-gradient(60rem 40rem at 50% 25%, rgba(255,180,90,.26), transparent 60%), linear-gradient(rgba(14,10,8,.84), rgba(10,8,6,.95)), url(bilder/szene-stollen.webp) center / cover, #120c08; }
.tf-seite .kopf-titel { color: #fff; }
.tf-seite .ikon-knopf { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.tf-seite .ikon-knopf:not(:disabled):hover { background: rgba(255,255,255,.2); }
.tf-seite .fuss, .tf-seite .fuss a { color: rgba(245,239,230,.6); }
.tf-seite .knopf.leise { color: var(--tf-weich); text-decoration-color: rgba(245,239,230,.35); }
.tf-buehne { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 14px 14px; }

/* ---------- Start ---------- */
.tf-start { display: grid; justify-items: center; gap: 10px; max-width: 640px; margin: 0 auto; padding: 6px 0 20px; text-align: center; }
.tf-start-bilder { display: flex; align-items: flex-end; gap: 6px; }
.tf-start-bilder img { width: 82px; height: 82px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.6)); }
.tf-start-bilder img:nth-child(2) { width: 112px; height: 112px; filter: drop-shadow(0 0 30px rgba(251,191,36,.55)); }
.tf-start-titel { margin: 0; font-size: clamp(2.4rem, 10vw, 3.4rem); color: #fff; text-shadow: 0 0 30px rgba(251,191,36,.45); }
.tf-start-text { margin: 0; color: var(--tf-weich); line-height: 1.45; }
.tf-start-text b { color: var(--tf-gold); }
.tf-start-wahl { display: grid; gap: 12px; width: 100%; }
.tf-start-block { padding: 12px; border-radius: 20px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,230,190,.16); text-align: left; }
.tf-start-block h3 { margin: 0 0 8px; font-size: 1rem; color: #fff; }
.tf-seite .segmente { background: rgba(0,0,0,.35); }
.tf-seite .segmente button { color: var(--tf-weich); }
.tf-seite .segmente button[aria-pressed="true"] { background: var(--tf-bernstein); color: #3b1d05; }
.tf-seite .segmente button:disabled { opacity: .3; }
.tf-regeln { display: grid; gap: 6px; }
.tf-regel { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; width: 100%; padding: 6px 10px 6px 6px; border: 0; border-radius: 14px; background: rgba(255,255,255,.05); color: var(--tf-text); text-align: left; cursor: pointer; }
.tf-regel img { width: 40px; height: 40px; }
.tf-regel b { display: block; font-size: .95rem; }
.tf-regel small { display: block; color: var(--tf-weich); font-size: .78rem; line-height: 1.3; }
.tf-regel .an { padding: 3px 10px; border-radius: 99px; font-size: .78rem; font-weight: 800; background: rgba(255,255,255,.1); color: var(--tf-weich); }
.tf-regel[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px rgba(251,191,36,.6); }
.tf-regel[aria-pressed="true"] .an { background: var(--tf-bernstein); color: #3b1d05; }
.tf-regel[aria-pressed="false"] img { filter: grayscale(1) opacity(.5); }
.tf-start-wer { margin: 0; color: var(--tf-weich); }
.tf-start-knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tf-seite .knopf.haupt { background: linear-gradient(180deg, #fbbf24, #d97706); color: #3b1d05; box-shadow: 0 0 26px rgba(251,191,36,.4); font-weight: 800; }
.tf-seite .knopf.haupt:not(:disabled):hover { background: linear-gradient(180deg, #fcd34d, #f59e0b); }
.tf-seite .knopf.minze { background: rgba(16,185,129,.18); color: var(--tf-gruen); box-shadow: inset 0 0 0 1px rgba(110,231,183,.5); }

/* ---------- Spiel ---------- */
.tf-spiel { display: grid; gap: 8px; }
.tf-links, .tf-rechts { display: grid; gap: 8px; align-content: start; }
.tf-leiste { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 24px; font-size: .86rem; color: var(--tf-weich); white-space: nowrap; }
.tf-sohlen { display: flex; gap: 5px; }
.tf-sohlen i { width: 26px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.18); }
.tf-sohlen i.da { background: #f59e0b; }
.tf-sohlen i.jetzt { background: var(--tf-gold); box-shadow: 0 0 12px var(--tf-bernstein); }

/* Meldung: Vogel, Lampenblick, was zuletzt geschah, was zu tun ist */
.tf-meldung { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; min-height: 64px; padding: 6px 12px 6px 8px; border-radius: 18px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,230,190,.2); }
.tf-meldung img { width: 52px; height: 52px; }
.tf-meldung b { display: block; font-size: 1rem; color: #fff; line-height: 1.2; }
.tf-meldung span { display: block; font-size: .82rem; color: var(--tf-weich); line-height: 1.3; }
.tf-meldung.gefahr { background: rgba(220,38,38,.22); box-shadow: inset 0 0 0 1.5px rgba(248,113,113,.7); }
.tf-meldung.gefahr span { color: #fecaca; }
.tf-meldung.sicher { background: rgba(16,185,129,.16); box-shadow: inset 0 0 0 1.5px rgba(110,231,183,.6); }
.tf-meldung.blick { background: rgba(251,191,36,.16); box-shadow: inset 0 0 0 1.5px rgba(251,191,36,.7); }
.tf-meldung.neu { animation: tf-auf .45s ease-out; }

/* Der Stollen: Spalten und Kartengröße setzt app.js je nach Kartenzahl (--sp, --kh) */
/* Die Reihe aller Karten dieser Sohle (zum Nachlesen; der Stollen darüber zeigt nur die neue und die vorige) */
.tf-weg { --kh: 50px; display: flex; flex-wrap: wrap; gap: 4px; }
.tf-weg .tf-karte { width: var(--kh); padding: 2px; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(255,230,190,.22); }
.tf-weg .tf-karte img { width: calc(var(--kh) * .58); height: calc(var(--kh) * .58); }
.tf-weg .tf-karte .wert { font-size: calc(var(--kh) * .26); }
.tf-weg .tf-karte small { display: none; }
.tf-weg .tf-karte .rest { top: -4px; right: -4px; padding: 0 4px; font-size: .56rem; }
.tf-weg .tf-karte.letzte { box-shadow: inset 0 0 0 2px var(--tf-bernstein); }
.tf-weg .tf-karte.gefahr.letzte, .tf-weg .tf-karte.einsturz { box-shadow: inset 0 0 0 2px #fca5a5; }

/* Die Szene (SEIN „Viel besser“, Probe tiefer-ortsbrust): EIN Bild je Schritt, der Blick bis zur Ortsbrust; Überblendung in app.js */
.tf-szene { position: relative; aspect-ratio: 3 / 2; max-height: 36vh; overflow: hidden; border-radius: 18px; background: #000; box-shadow: 0 14px 40px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,230,190,.18); }
.tf-szene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 46%; }
.tf-szene img.hinten { opacity: 0; }
.tf-band { position: absolute; left: 50%; bottom: 8px; translate: -50% 0; z-index: 2; padding: 4px 14px; border-radius: 999px; background: rgba(15,10,6,.8); box-shadow: inset 0 0 0 1px rgba(255,230,190,.35); font-weight: 800; white-space: nowrap; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.tf-band:empty { display: none; }
.tf-band .w { font-family: var(--schrift-titel); font-size: 1.25rem; color: var(--tf-gold); margin-right: 4px; }
.tf-band.gefahr { background: rgba(127,29,29,.9); box-shadow: inset 0 0 0 1.5px #fca5a5; }
.tf-band.einsturz { background: #b91c1c; box-shadow: inset 0 0 0 2px #fecaca, 0 0 24px rgba(248,113,113,.8); }
.tf-band.fossil { box-shadow: inset 0 0 0 1.5px rgba(196,181,253,.7); }
.tf-band.neu { animation: tf-band .45s .7s both cubic-bezier(.2,.8,.3,1.3); }
@keyframes tf-band { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }
.tf-teufe { font-family: var(--schrift-titel); font-weight: 800; font-size: 1.05rem; color: var(--tf-gold); font-variant-numeric: tabular-nums; text-shadow: 0 0 14px rgba(251,191,36,.45); }

/* Seilfahrt zwischen den Sohlen: der Förderkorb fährt hinab, die Teufe zählt mit (antippen = überspringen) */
.tf-seilfahrt { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: #0b0806; overflow: hidden; cursor: pointer; animation: tf-auf .3s ease-out; }
.tf-seilfahrt[hidden] { display: none; }
.tf-sf-wand { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, #2b2019 0 40px, #18110c 40px 90px, #3a2a1c 90px 100px, #0d0907 100px 116px); background-size: 100% 232px; animation: tf-vorbei .3s linear infinite; opacity: .85; }
@keyframes tf-vorbei { to { background-position: 0 -232px; } }
.tf-korb { position: relative; display: grid; justify-items: center; gap: 6px; padding: 18px 26px; border-radius: 12px; background: rgba(40,28,18,.96); box-shadow: inset 0 0 0 5px #6b7280, 0 0 60px rgba(0,0,0,.9); animation: tf-wackeln .28s ease-in-out infinite; }
.tf-korb::before { content: ''; position: absolute; left: 50%; bottom: 100%; width: 4px; height: 100vh; background: #9ca3af; }
@keyframes tf-wackeln { 50% { transform: translateX(2px); } }
.tf-korb-leute { display: flex; gap: 4px; }
.tf-korb-leute img { width: 46px; height: 46px; }
.tf-korb-teufe { font-family: var(--schrift-titel); font-weight: 800; font-size: 2.3rem; color: var(--tf-gold); font-variant-numeric: tabular-nums; text-shadow: 0 0 20px rgba(251,191,36,.5); }
.tf-korb small { color: var(--tf-weich); }
@media (prefers-reduced-motion: reduce) { .tf-band.neu, .tf-sf-wand, .tf-korb { animation: none; } }
.tf-karte { position: relative; display: grid; justify-items: center; align-content: center; gap: 0; height: var(--kh); padding: 4px 2px; border-radius: 14px; background: var(--tf-karte); box-shadow: inset 0 0 0 1px rgba(255,230,190,.25), 0 8px 20px rgba(0,0,0,.4); text-align: center; }
.tf-karte img { width: calc(var(--kh) * .56); height: calc(var(--kh) * .56); filter: drop-shadow(0 4px 8px rgba(0,0,0,.6)); }
.tf-karte .wert { font-family: var(--schrift-titel); font-weight: 800; font-size: calc(var(--kh) * .17); color: var(--tf-gold); line-height: 1; }
.tf-karte small { font-size: max(.6rem, calc(var(--kh) * .1)); color: var(--tf-weich); line-height: 1.15; }
.tf-karte.gefahr { background: linear-gradient(170deg, rgba(220,38,38,.3), rgba(120,20,20,.18)); box-shadow: inset 0 0 0 1.5px rgba(248,113,113,.55), 0 8px 20px rgba(0,0,0,.4); }
.tf-karte.gefahr small { color: #fecaca; font-weight: 700; }
.tf-karte.fossil { box-shadow: inset 0 0 0 1.5px rgba(196,181,253,.55), 0 8px 20px rgba(0,0,0,.4); }
.tf-karte.genommen img { opacity: .25; filter: grayscale(1); }
.tf-karte .rest { position: absolute; top: 4px; right: 4px; padding: 1px 6px; border-radius: 99px; background: #1c1917; color: var(--tf-gold); font-size: .64rem; font-weight: 800; box-shadow: inset 0 0 0 1px #a8a29e; }
.tf-karte.neu { animation: tf-karte .55s cubic-bezier(.2,.8,.3,1.2) both; animation-delay: var(--spaet, 0s); }
.tf-karte.gefahr.neu { box-shadow: inset 0 0 0 2px #fca5a5, 0 0 24px rgba(248,113,113,.55); }
.tf-karte.einsturz { background: linear-gradient(170deg, rgba(220,38,38,.55), rgba(90,10,10,.4)); box-shadow: inset 0 0 0 2px #fecaca, 0 0 30px rgba(248,113,113,.8); }


.tf-gefahren { display: flex; gap: 4px; justify-content: space-between; padding: 4px 6px; border-radius: 14px; background: rgba(0,0,0,.35); }
.tf-gf { position: relative; display: grid; justify-items: center; flex: 1; padding: 2px 0; border-radius: 10px; font-size: .62rem; color: #d6d3d1; opacity: .5; text-align: center; line-height: 1.1; }
.tf-gf img { width: 32px; height: 32px; }
.tf-gf.da { opacity: 1; }
.tf-gf.liegt { opacity: 1; color: #fecaca; font-weight: 800; box-shadow: inset 0 0 0 2px var(--tf-rot); }
.tf-gf.fehlt { visibility: hidden; }

/* Kumpel */
.tf-kumpel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.tf-kp { position: relative; display: grid; justify-items: center; gap: 0; padding: 5px 2px 4px; border-radius: 14px; background: rgba(255,255,255,.07); text-align: center; font-size: .7rem; line-height: 1.2; color: var(--tf-weich); }
.tf-kp img.p { width: 42px; height: 42px; }
.tf-kp b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8rem; color: #fff; }
.tf-kp .art { font-size: .6rem; opacity: .75; }
.tf-kp .ort { font-weight: 700; }
.tf-kp.raus { background: rgba(16,185,129,.14); box-shadow: inset 0 0 0 1px rgba(110,231,183,.45); }
.tf-kp.raus .ort { color: var(--tf-gruen); }
.tf-kp.ich { box-shadow: inset 0 0 0 2px var(--tf-bernstein); }
.tf-kp .aus { display: flex; gap: 1px; margin-top: 1px; }
.tf-kp .aus img { width: 16px; height: 16px; }
.tf-kp .aus img.weg { opacity: .2; filter: grayscale(1); }
.tf-kp .zeichen { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); padding: 1px 7px; border-radius: 99px; font-size: .6rem; font-weight: 800; white-space: nowrap; background: rgba(0,0,0,.7); color: var(--tf-weich); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.tf-kp .zeichen.weiter { background: var(--tf-bernstein); color: #3b1d05; }
.tf-kp .zeichen.raus { background: #059669; color: #fff; }
.tf-kp .zeichen.neu { animation: tf-auf .5s cubic-bezier(.2,.8,.3,1.4); }
.tf-kumpel.viele { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tf-kumpel.viele .tf-kp img.p { width: 32px; height: 32px; }
.tf-kumpel.viele .tf-kp .art, .tf-kumpel.viele .tf-kp .aus { display: none; }

.tf-mein { display: none; }

/* Aktion: wählen, warten, Helm/Seil, Wertung */
.tf-aktion { display: grid; gap: 8px; }
.tf-wahl { display: grid; grid-template-columns: 1fr 1fr 58px; gap: 8px; }
.tf-k { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 58px; padding: 0 8px; border: 0; border-radius: 999px; font-weight: 800; font-size: 1.12rem; line-height: 1.05; cursor: pointer; }
.tf-k img { width: 34px; height: 34px; flex: none; }
.tf-k small { display: block; font-weight: 600; font-size: .72rem; opacity: .85; }
.tf-k:disabled { opacity: .35; cursor: default; }
.tf-k.weiter { background: linear-gradient(180deg, #fbbf24, #d97706); color: #3b1d05; box-shadow: 0 0 24px rgba(251,191,36,.4); }
.tf-k.raus { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.tf-k.lampe { display: grid; place-items: center; gap: 0; padding: 0; background: rgba(255,255,255,.08); color: var(--tf-gold); font-size: .58rem; box-shadow: inset 0 0 0 1px rgba(253,230,138,.45); border-radius: 18px; }
.tf-k.lampe img { width: 30px; height: 30px; }
.tf-k.gewaehlt { box-shadow: 0 0 0 3px #fff, 0 0 24px rgba(255,255,255,.4); }
.tf-k:not(:disabled):active { transform: scale(.97); }
.tf-warte { margin: 0; padding: 10px 12px; border-radius: 16px; background: rgba(255,255,255,.06); text-align: center; font-size: .9rem; color: var(--tf-weich); }
.tf-warte b { color: #fff; }
.tf-frage { display: grid; gap: 8px; padding: 10px; border-radius: 18px; background: rgba(220,38,38,.18); box-shadow: inset 0 0 0 1.5px rgba(248,113,113,.6); }
.tf-frage p { margin: 0; font-size: .92rem; }
.tf-frage .reihe { display: flex; flex-wrap: wrap; gap: 8px; }
.tf-frage .reihe .tf-k { flex: 1 1 140px; min-height: 48px; font-size: .95rem; }

.tf-wertung { display: grid; gap: 6px; padding: 10px; border-radius: 18px; background: rgba(255,255,255,.07); }
.tf-wertung h3 { margin: 0 0 4px; text-align: center; font-size: 1.3rem; color: #fff; }
.tf-wz { display: grid; grid-template-columns: 26px 36px 1fr auto; gap: 8px; align-items: center; padding: 4px 8px; border-radius: 12px; font-size: .86rem; }
.tf-wz img { width: 36px; height: 36px; }
.tf-wz .platz { font-weight: 800; color: var(--tf-gold); text-align: center; }
.tf-wz .summe { font-family: var(--schrift-titel); font-weight: 800; font-size: 1.3rem; color: var(--tf-gold); }
.tf-wz small { display: block; color: var(--tf-weich); }
.tf-wz.sieger { background: rgba(251,191,36,.16); box-shadow: inset 0 0 0 1.5px rgba(251,191,36,.6); }
.tf-wz.ich b { text-decoration: underline; text-decoration-color: var(--tf-bernstein); text-underline-offset: 3px; }

.tf-protokoll { margin-top: 4px; font-size: .84rem; color: var(--tf-weich); }
.tf-protokoll summary { cursor: pointer; padding: 6px 0; }
.tf-protokoll ol { margin: 0; padding-left: 1.6em; display: grid; gap: 2px; max-height: 260px; overflow: auto; }

/* Ende einer Sohle */
.tf-sohle-ende { width: min(460px, calc(100vw - 28px)); max-height: calc(100dvh - 40px); overflow: auto; padding: 16px; border: 0; border-radius: 24px; background: #221810; color: var(--tf-text); box-shadow: 0 30px 80px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,230,190,.25); text-align: center; }
.tf-sohle-ende::backdrop { background: rgba(0,0,0,.6); }
.tf-sohle-ende h2 { margin: 2px 0 6px; font-size: 1.6rem; color: #fff; }
.tf-sohle-ende .gross { width: 120px; height: 120px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.6)); }
.tf-sohle-ende p { margin: 0 0 10px; color: var(--tf-weich); }
.tf-se-liste { display: grid; gap: 4px; margin: 0 0 12px; padding: 0; list-style: none; text-align: left; }
.tf-se-liste li { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; padding: 4px 8px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: .88rem; }
.tf-se-liste img { width: 34px; height: 34px; }
.tf-se-liste .plus { color: var(--tf-gruen); font-weight: 800; }
.tf-se-liste .minus { color: var(--tf-rot); font-weight: 800; }
.tf-se-liste small { display: block; color: var(--tf-weich); }
.tf-sohle-ende.einsturz { box-shadow: 0 30px 80px rgba(0,0,0,.6), inset 0 0 0 2px rgba(248,113,113,.6); }
.tf-sohle-ende .knopf { width: 100%; }

/* Rütteln beim Einsturz */
.tf-ruettel { animation: tf-ruettel .6s ease-in-out; }

@keyframes tf-karte { from { opacity: 0; transform: translateY(-18px) rotateX(70deg) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes tf-auf { from { opacity: 0; transform: translateY(6px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes tf-ruettel { 0%, 100% { transform: none; } 15% { transform: translate(-6px, 3px); } 30% { transform: translate(6px, -4px); } 45% { transform: translate(-5px, 2px); } 60% { transform: translate(4px, 3px); } 80% { transform: translate(-2px, -1px); } }
.tf-kp .zeichen.neu { animation-name: tf-auf-mitte; }
@keyframes tf-auf-mitte { from { opacity: 0; transform: translate(-50%, 6px) scale(.9); } to { opacity: 1; transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tf-karte.neu, .tf-meldung.neu, .tf-kp .zeichen.neu, .tf-ruettel { animation: none; } }

/* ---------- Rechner ---------- */
@media (min-width: 900px) {
  .tf-spiel { grid-template-columns: minmax(0, 1fr) 380px; gap: 18px 26px; align-items: start; padding-top: 6px; }
  .tf-protokoll { grid-column: 1 / -1; }
  .tf-links { gap: 14px; }
  .tf-weg { --kh: 66px; gap: 6px; }
  .tf-szene { max-height: 400px; }
  .tf-gf img { width: 50px; height: 50px; }
  .tf-gf { font-size: .78rem; }
  .tf-kumpel { grid-template-columns: 1fr 1fr; }
  .tf-kumpel.viele { grid-template-columns: 1fr 1fr; }
  .tf-kp { padding: 8px 4px 6px; font-size: .78rem; }
  .tf-kp img.p { width: 52px; height: 52px; }
  .tf-mein { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; }
  .tf-mein div { padding: 6px; border-radius: 14px; background: rgba(255,255,255,.07); font-size: .74rem; color: var(--tf-weich); }
  .tf-mein .wert { display: block; font-family: var(--schrift-titel); font-weight: 800; font-size: 1.4rem; color: var(--tf-gold); }
  .tf-meldung { min-height: 74px; }
  .tf-meldung img { width: 60px; height: 60px; }
  .tf-meldung { grid-template-columns: 60px 1fr; }
  .tf-meldung b { font-size: 1.1rem; }
  .tf-meldung span { font-size: .9rem; }
}
.tf-seite .werkbank-inhalt > .felder-aktionen { position: static; margin-inline: 0; padding: 4px 0; background: none; box-shadow: none; }

/* ---------- Werkbank im Stollen: dunkles Glas statt Milchglas ---------- */
.tf-seite .werkbank { background: rgba(34,24,16,.94); color: var(--tf-text); box-shadow: 0 -10px 40px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,230,190,.18); }
.tf-seite .werkbank-inhalt h3 { color: #fff; }
.tf-seite .werkbank .klein-hinweis, .tf-regeltext p, .tf-regeltext li { color: var(--tf-weich); }
.tf-regeltext b { color: var(--tf-gold); }
.tf-seite .reiter { background: rgba(0,0,0,.35); }
.tf-seite .reiter button { color: var(--tf-weich); }
.tf-seite .reiter button[aria-selected="true"] { background: var(--tf-bernstein); color: #3b1d05; }
.tf-seite .werkbank .knopf { background: rgba(255,255,255,.1); color: var(--tf-text); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.tf-seite .werkbank .knopf.minze { background: rgba(16,185,129,.18); color: var(--tf-gruen); box-shadow: inset 0 0 0 1px rgba(110,231,183,.5); }
.tf-seite .ikon-knopf.werkbank-zu { color: #fff; }
@media (min-width: 980px) { .tf-seite .werkbank { background: rgba(34,24,16,.82); } }
.tf-spiel.ende .tf-weg, .tf-spiel.ende .tf-gefahren, .tf-spiel.ende .tf-szene { display: none; }

/* Karten und Gefahrenleiste als Ausschnitt der Ortsbrust (gleiche Bilder wie die Szene) */
.tf-karte.ort { background: var(--ort) var(--pos, 50% 44%) / 330% auto, #2a1d14 !important; align-content: end; padding: 0; overflow: hidden; }
.tf-karte.ort .schild { display: block; width: 100%; padding: 0 2px 1px; background: linear-gradient(transparent, rgba(0,0,0,.8)); font-size: .56rem; font-weight: 800; color: #fff; text-shadow: 0 1px 2px #000; text-align: center; }
.tf-karte.ort .schild.wert { font-family: var(--schrift-titel); font-size: calc(var(--kh) * .26); color: var(--tf-gold); line-height: 1.05; }
.tf-karte.ort.gefahr { box-shadow: inset 0 0 0 2px #f87171; }
.tf-karte.ort.gefahr .schild { background: linear-gradient(transparent, rgba(127,29,29,.95)); }
.tf-karte.ort.einsturz { box-shadow: inset 0 0 0 2.5px #fecaca, 0 0 16px rgba(248,113,113,.8); }
.tf-karte.ort.fossil { box-shadow: inset 0 0 0 1.5px rgba(196,181,253,.6); }
.tf-karte.ort.genommen { filter: grayscale(.85) brightness(.55); }
