/* Heimatpilze (design/README.md, design/tokens.css): Tannengrün, Moosgrün, Ocker, Elfenbein, Erdbraun, Warnrot;
   fonts from Heimatwasser (local, OFL): Fraunces for headings, Manrope for the interface, Inter for text */
:root {
  --hp-pine: #183B32; --hp-moss: #718568; --hp-ochre: #C5914B; --hp-ivory: #F4F0E5; --hp-earth: #87552C; --hp-danger: #9B2C22;
  --moos: var(--hp-moss); --moos-dunkel: var(--hp-pine); --boden: var(--hp-earth); --pfiff: var(--hp-ochre); --papier: var(--hp-ivory); --tinte: #102C25;
  --gift: var(--hp-danger); --glas: rgba(15, 43, 34, .8); --rand: rgba(244, 240, 229, .16);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--moos-dunkel); color: var(--papier); font-family: Inter, system-ui, sans-serif; -webkit-tap-highlight-color: transparent; }
canvas#spiel { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; outline: none; }
button { font: 600 15px Manrope, Inter, sans-serif; border: 1px solid var(--rand); background: rgba(255, 255, 255, .1); color: var(--papier); border-radius: 12px; padding: 10px 14px; cursor: pointer; }
button:hover { background: rgba(255, 255, 255, .18); }
button.haupt { background: var(--pfiff); color: #1c160c; border-color: transparent; }
button.haupt:hover { background: #d6a462; }
button.gift { background: var(--hp-danger); border-color: #c0544a; }
button.leise { background: transparent; }
button:disabled { opacity: .6; cursor: default; }
.hidden { display: none !important; }
.kicker { font: 600 13px 'Barlow Condensed', Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--pfiff); }
.hinweis { font-size: 12px; opacity: .7; margin-top: 10px; }

/* title: the Heimatpilze start screen, built like Heimatwasser's: a big picture of the forest (rendered in the game),
   the name on the left, the start button that fills like a bar while the forest loads, photos of the month's species */
@property --f { syntax: '<number>'; inherits: true; initial-value: 0; }
.start { position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; overflow: hidden auto; isolation: isolate; color: var(--papier); transition: opacity .5s ease; }
.start.weg { opacity: 0; pointer-events: none; }
.titelBild { position: fixed; inset: 0; /* fixed: its slow zoom reaches past the edges, and absolute that made the page scroll a few pixels */ z-index: -1; background: var(--moos-dunkel) url('assets/brand/titel-1920.webp') 62% center/cover no-repeat; animation: titelDrift 40s ease-in-out infinite alternate; transform-origin: 62% 55%; }
.titelBild::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 30, 24, .82), rgba(10, 30, 24, .45) 42%, rgba(10, 30, 24, 0) 70%), linear-gradient(0deg, rgba(10, 30, 24, .6), rgba(10, 30, 24, 0) 30%); }
@keyframes titelDrift { from { transform: scale(1.02); } to { transform: scale(1.08) translate(-1%, -.6%); } }
.kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: max(20px, env(safe-area-inset-top)) max(28px, env(safe-area-inset-right)) 0 max(32px, env(safe-area-inset-left)); }
.kopfMarke { display: flex; gap: 8px; align-items: center; font: 700 15px 'Barlow Condensed', Inter, sans-serif; letter-spacing: .14em; }
.kopfMarke .soft { font-weight: 500; opacity: .78; }
.kopfMarke .punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--pfiff); }
.held { flex: 1; width: 100%; max-width: 1480px; margin: 0 auto; display: flex; align-items: center; padding: clamp(8px, min(3vw, 3vh), 48px) clamp(28px, 8vw, 124px); }
.heldInhalt { width: 100%; max-width: 600px; }
.eyebrow { font: 600 15px 'Barlow Condensed', Inter, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #E2B47A; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 34px; height: 2px; background: currentColor; border-radius: 2px; }
.markenName { font: 900 clamp(52px, min(9vw, 11vh), 132px)/.9 Fraunces, Georgia, serif; letter-spacing: -.035em; margin: 0; text-shadow: 0 3px 0 rgba(8, 24, 18, .35), 0 10px 40px rgba(8, 24, 18, .5); }
.revier { font: 700 clamp(17px, 2.1vw, 28px) 'Barlow Condensed', Inter, sans-serif; letter-spacing: .34em; color: var(--pfiff); margin: 10px 0 0 3px; display: flex; align-items: center; gap: .5em; }
.revier::after { content: ''; flex: 0 1 120px; height: 2px; background: linear-gradient(90deg, var(--pfiff), transparent); }
.subline { font: italic 600 clamp(18px, 1.9vw, 24px) Fraunces, Georgia, serif; margin: 10px 0 0 3px; }
.notiz { max-width: 440px; margin: 14px 0 16px 3px; padding: 10px 14px 10px 16px; border-left: 3px solid var(--pfiff); background: linear-gradient(90deg, rgba(10, 30, 24, .6), rgba(10, 30, 24, 0)); border-radius: 0 10px 10px 0; transform: rotate(-.6deg); }
.notizLabel { display: block; font: 700 13px 'Barlow Condensed', Inter, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #E2B47A; }
.stimmung { display: block; margin-top: 2px; font: 500 clamp(20px, 1.8vw, 25px)/1.15 Caveat, 'Segoe Print', cursive; }
.werte { display: block; margin-top: 6px; font-size: 13px; opacity: .85; }
.werte:empty { display: none; }

/* the logo above the name: it grows out of the forest floor, a ring turns around it until the forest is there */
.logoRahmen { position: relative; width: clamp(60px, 8vh, 92px); aspect-ratio: 1; margin: 0 0 12px; }
.logo { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .4)); transition: transform .5s ease; }
.laedt .logo { transform: scale(.84); }
.dreher { position: absolute; inset: -3px; border-radius: 50%; border: 3px solid rgba(244, 240, 229, .16); border-top-color: var(--pfiff); border-right-color: var(--pfiff); animation: drehen 1s linear infinite; will-change: transform; transition: opacity .5s ease; }
.bereit .dreher { opacity: 0; animation-play-state: paused; }
.fehler .dreher { border-top-color: var(--gift); border-right-color: var(--gift); animation-play-state: paused; }
@keyframes drehen { to { transform: rotate(360deg); } }
.logo * { transform-box: fill-box; }
.l-boden { animation: einblenden .6s ease both; }
.l-baeume { transform-origin: 50% 100%; animation: wachsen .7s .15s cubic-bezier(.3, 1.4, .5, 1) both; }
.l-weg { stroke-dasharray: 1; animation: zeichnen .9s .3s ease-out both; }
.l-stiel { transform-origin: 50% 100%; animation: wachsen .7s .45s cubic-bezier(.3, 1.3, .5, 1) both; }
.l-hut { transform-origin: 50% 100%; animation: hut .8s .75s cubic-bezier(.3, 1.5, .5, 1) both; }
.laedt .l-hut { animation: hut .8s .75s cubic-bezier(.3, 1.5, .5, 1) both, atmen 2.4s 1.6s ease-in-out infinite; }
.l-sporen circle { opacity: 0; }
.laedt .l-sporen { transform: translateY(8px); }
.laedt .l-sporen circle { animation: spore 2.6s ease-out infinite; }
.laedt .l-sporen circle:nth-child(2) { animation-delay: .7s; }
.laedt .l-sporen circle:nth-child(3) { animation-delay: 1.3s; }
.laedt .l-sporen circle:nth-child(4) { animation-delay: 1.9s; }
.laedt .l-sporen circle:nth-child(5) { animation-delay: 2.3s; }
@keyframes einblenden { from { opacity: 0; } }
@keyframes wachsen { from { transform: scaleY(0); } }
@keyframes zeichnen { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes hut { from { transform: translateY(40px) scale(.2); opacity: 0; } 40% { opacity: 1; } }
@keyframes atmen { 50% { transform: translateY(-4px) scale(1.025); } }
@keyframes spore { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: .9; } 100% { opacity: 0; transform: translate(6px, 70px); } }

/* the buttons: the start button is the loading bar until the forest is there */
.aktionen { max-width: 380px; display: flex; flex-direction: column; gap: 10px; }
.spielKnopf { position: relative; overflow: hidden; min-height: 54px; width: 100%; display: flex; align-items: center; gap: 13px; text-align: left; padding: 10px 18px; border-radius: 14px;
  font: 700 20px 'Barlow Condensed', Inter, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--papier); background: rgba(16, 44, 37, .9); border: 1px solid rgba(244, 240, 229, .22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .17s, border-color .17s, transform .17s, box-shadow .17s; }
.spielKnopf .ic, .spielKnopf img { width: 22px; height: 22px; flex: none; }
.spielKnopf .tail { margin-left: auto; font-size: 22px; opacity: .8; }
.haupt.spielKnopf:not(:disabled) { background: linear-gradient(180deg, #D9A866, #C5914B); border-color: #EBCB9A; color: var(--tinte); box-shadow: 0 6px 0 var(--boden), 0 14px 28px rgba(5, 20, 15, .45); animation: startPuls 2.8s ease-in-out infinite; }
.haupt.spielKnopf:not(:disabled):hover { background: linear-gradient(180deg, #E5B676, #D09B55); transform: translateY(-2px); box-shadow: 0 8px 0 var(--boden), 0 18px 32px rgba(5, 20, 15, .5); }
.haupt.spielKnopf:not(:disabled):active { transform: translateY(4px); box-shadow: 0 2px 0 var(--boden), 0 8px 18px rgba(5, 20, 15, .4); }
@keyframes startPuls { 50% { box-shadow: 0 6px 0 var(--boden), 0 14px 34px rgba(197, 145, 75, .45); } }
.haupt.spielKnopf:disabled { opacity: 1; cursor: progress; color: var(--papier); text-shadow: 0 1px 2px rgba(0, 0, 0, .45); border-color: rgba(197, 145, 75, .7); font-variant-numeric: tabular-nums;
  background: linear-gradient(90deg, rgba(197, 145, 75, .62) calc(var(--f) * 100%), rgba(16, 44, 37, .92) calc(var(--f) * 100%)); }
.haupt.spielKnopf:disabled::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(255, 236, 200, .25) 50%, transparent 70%); transform: translateX(-100%); animation: glanz 1.5s linear infinite; will-change: transform; }
.haupt.spielKnopf:disabled .tail { color: transparent; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(244, 240, 229, .3); border-top-color: var(--papier); animation: drehen .8s linear infinite; }
@keyframes glanz { to { transform: translateX(100%); } }
.fehler .haupt.spielKnopf:disabled { border-color: var(--gift); background: rgba(155, 44, 34, .55); }
.fehler .haupt.spielKnopf::after, .fehler .haupt.spielKnopf .tail { display: none; }
.zweit.spielKnopf { cursor: pointer; }
.zweit.spielKnopf img { filter: brightness(0) invert(.95) sepia(.3); }
.zweit.spielKnopf:hover { background: rgba(24, 59, 50, .95); }
.kText { display: flex; flex-direction: column; line-height: 1.05; }
.kText small { font: 500 12px Inter, sans-serif; letter-spacing: 0; text-transform: none; opacity: .75; margin-top: 3px; }
.zweit select { margin-left: auto; font: 600 15px Manrope, Inter, sans-serif; color: var(--papier); background: rgba(10, 30, 24, .6); border: 1px solid rgba(244, 240, 229, .25); border-radius: 9px; padding: 6px 8px; cursor: pointer; }
.zweit select option { color: #222; }
.echt { font-size: 13px; opacity: .85; display: flex; align-items: center; gap: 7px; margin: 2px 0 0 4px; cursor: pointer; }
.echt input { accent-color: var(--pfiff); margin: 0; }
.ladeTipp { max-width: 420px; margin: 14px 0 0 3px; font: italic 400 14px/1.4 Inter, sans-serif; opacity: .92; min-height: 2.8em; }
.ladeTipp b { display: block; font: 600 13px 'IBM Plex Mono', monospace; font-style: normal; color: var(--pfiff); letter-spacing: .02em; }
.bereit .ladeTipp { min-height: 0; margin-top: 10px; }
.fehler .ladeTipp b { color: #f0a097; font-family: Inter, sans-serif; }

/* photos of the species that grow this month, cross-faded while loading: beside the column on wide screens */
.ladeBild { position: absolute; right: max(28px, env(safe-area-inset-right)); bottom: calc(max(18px, env(safe-area-inset-bottom)) + 44px); width: min(380px, 32vw); aspect-ratio: 4 / 3; margin: 0;
  border-radius: 14px; overflow: hidden; border: 1px solid rgba(197, 145, 75, .5); background: #10291f; box-shadow: 0 14px 34px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
.ladeBild.an { opacity: 1; transform: none; }
.bereit .ladeBild, .fehler .ladeBild { opacity: 0; transform: translateY(10px); }
.ladeBild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.ladeBild img.an { opacity: 1; }
.ladeBild figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 9px; background: linear-gradient(180deg, rgba(5, 18, 13, 0), rgba(5, 18, 13, .85)); text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.ladeBild b { display: block; font: 700 17px 'Barlow Condensed', Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.ladeBild small { display: block; font-size: 10.5px; opacity: .75; margin-top: 2px; }
.fuss { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 0 max(32px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(32px, env(safe-area-inset-left)); font-size: 11px; letter-spacing: .03em; color: rgba(244, 240, 229, .7); }
.fuss a { color: inherit; }
.spendeLink { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin: 4px 0; padding: 8px 14px; border-radius: 12px; background: var(--pfiff); color: var(--tinte); font-weight: 600; font-size: 14px; text-decoration: none; }
.spendeLink svg.i { width: 18px; height: 18px; }
.spendeDialog { width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; box-sizing: border-box; padding: 28px 24px 24px; border: 1px solid var(--rand); border-radius: 18px; background: #0f2b22; color: var(--papier); text-align: center; box-shadow: 0 25px 90px rgba(0, 0, 0, .5); }
.spendeDialog::backdrop { background: rgba(5, 20, 15, .6); backdrop-filter: blur(3px); }
.spendeDialog .zu { position: absolute; top: 10px; right: 10px; }
.spendeDialog h2 { font: 700 26px/1.15 Fraunces, Georgia, serif; margin: 12px 0 12px; }
.spendeDialog p { margin: 0 0 20px; font-size: 15px; line-height: 1.6; }
.spendeHerz { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--pfiff); color: var(--tinte); }
.spendeDialog .spendeHerz svg.i.ico { width: 32px; height: 32px; margin: 0; }
.spendeAktionen { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }
.spendeDialog .spendeLink { align-self: auto; margin: 0; padding: 10px 18px; font-size: 15px; }
.optPanel .zeile a { color: inherit; }

/* the menu below the start button: the learning path, the mushroom book and the settings (day, graphics, weather) */
/* rank and points top right, like the angler's profile in Heimatwasser */
.stand { font-size: 13px; max-width: 340px; padding: 8px 12px; border-radius: 12px; background: rgba(16, 44, 37, .6); border: 1px solid rgba(244, 240, 229, .2); backdrop-filter: blur(7px); }
.stand .standRang { margin: 0 0 4px; } .stand .rangSym svg { width: 24px; height: 24px; color: var(--pfiff); } .stand .standRang .xpBalken { width: 180px; }
.standLektion { font-size: 12px; opacity: .85; }
.titelIcons { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; max-width: 380px; }
.titelIcons button { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 7px 12px; border-radius: 12px; border: 1px solid rgba(244, 240, 229, .25); background: rgba(16, 44, 37, .55); font-size: 13px; backdrop-filter: blur(7px); }
#appInfo { margin-top: 10px; line-height: 1.5; display: block; }
.titelIcons button:hover { background: rgba(24, 59, 50, .9); }
.titelIcons svg.i.ico { width: 18px; height: 18px; }
.spielKnopf svg.i.ico { width: 22px; height: 22px; }
.einstPanel { display: flex; flex-direction: column; gap: 10px; max-width: 380px; margin-top: 10px; padding: 12px 14px; border-radius: 10px; background: rgba(15, 43, 34, .78); border: 1px solid var(--rand); font-size: 14px; }
.einstPanel label { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.einstPanel select { font: inherit; background: rgba(255, 255, 255, .08); color: inherit; border: 1px solid var(--rand); border-radius: 8px; padding: 4px 6px; }
.einstPanel option { color: #222; }
.einstPanel input[type=date] { font: inherit; background: rgba(255, 255, 255, .08); color: inherit; border: 1px solid var(--rand); border-radius: 8px; padding: 3px 6px; color-scheme: dark; }
.einstPanel .haken { justify-content: flex-start; }
/* phones upright: the picture of the forest from top to bottom, everything in the middle */
@media (max-width: 760px) {
  .titelBild { background-image: url('assets/brand/titel-mobil-1080x1920.webp'); background-position: center; }
  .titelBild::after { background: linear-gradient(180deg, rgba(10, 30, 24, .78), rgba(10, 30, 24, .35) 45%, rgba(10, 30, 24, .85)); }
  .kopf { padding: calc(12px + env(safe-area-inset-top)) 18px 0; align-items: center; } .kopfMarke .soft, .standLektion { display: none; }
  .stand { padding: 5px 10px; } .stand .standRang { margin: 0; } .stand .standRang .xpBalken { width: 110px; }
  .held { padding: 3vh 22px 10px; align-items: stretch; }
  .heldInhalt { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .logoRahmen { margin-bottom: 12px; }
  .eyebrow { font-size: 12px; } .eyebrow::before { display: none; }
  .markenName { font-size: clamp(50px, 14vw, 72px); }
  .revier { font-size: clamp(13px, 3.6vw, 17px); letter-spacing: .24em; justify-content: center; } .revier::after { display: none; }
  .subline { font-size: clamp(16px, 4.2vw, 19px); }
  .notiz { margin: 14px auto 0; text-align: left; }
  .stimmung { font-size: 21px; }
  .aktionen { width: 100%; max-width: 420px; margin-top: auto; padding-top: 22px; }
  .echt { justify-content: center; }
  .ladeTipp { text-align: center; margin: 10px auto 0; font-size: 12.5px; }
  .ladeBild { position: relative; right: auto; bottom: auto; width: min(420px, calc(100% - 44px)); aspect-ratio: 5 / 2; margin: 0 auto 10px; flex: none; }
  .bereit .ladeBild, .fehler .ladeBild { display: none; }
  .fuss { justify-content: center; text-align: center; padding: 4px 18px calc(10px + env(safe-area-inset-bottom)); }
}
/* laptops (about 720 to 860 px high): the logo goes, the rest moves up, so the buttons and the note at the foot fit */
@media (min-width: 761px) and (max-height: 1000px) { .logoRahmen { display: none; } .held { padding-top: 0; padding-bottom: 0; } .notiz { margin: 10px 0 6px 3px; } .wahlFrage { margin-top: 12px; } .markenName { font-size: clamp(52px, min(9vw, 10vh), 132px); } }
@media (min-width: 761px) and (max-height: 740px) { .notiz { display: none; } }
@media (max-height: 520px) and (orientation: landscape) { .notiz, .logoRahmen, .ladeBild { display: none; } .markenName { font-size: clamp(40px, 12vh, 60px); } .held { padding-top: 4px; } }
@media (prefers-reduced-motion: reduce) { .start *:not(.dreher), .start *::before, .start *::after, .titelBild { animation: none !important; transition: none !important; } .dreher { animation-duration: 3s; } }
.chip.wetter { font: 500 13px Inter, sans-serif; }
.klein { font-size: 11px; opacity: .55; margin-top: 26px; }

/* HUD */
.hud { position: fixed; inset: 0; pointer-events: none; z-index: 10; }
.hud .oben { position: absolute; top: max(12px, env(safe-area-inset-top)); left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.chips { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.chip { background: var(--glas); border: 1px solid var(--rand); border-radius: 10px; padding: 7px 11px; font: 600 14px Manrope, Inter, sans-serif; backdrop-filter: blur(6px); max-width: 60vw; }
.chip.ort small { display: block; font: 500 12px Inter, sans-serif; opacity: .75; }
.leiste { display: flex; gap: 6px; pointer-events: auto; }
.leiste button { background: rgba(20, 26, 20, .55); backdrop-filter: blur(8px); padding: 9px 10px; display: flex; align-items: center; gap: 6px; border-radius: 10px; }
.leiste button .ico { width: 22px; height: 22px; } .leiste .lbl { display: none; }
.meldungen { position: absolute; top: 150px; left: 50%; transform: translateX(-50%); margin-top: var(--entPlatz, 0px); transition: margin-top .35s ease; display: flex; flex-direction: column; gap: 8px; align-items: center; width: min(560px, 92vw); }
.meldung { background: var(--glas); border: 1px solid var(--rand); border-radius: 12px; padding: 10px 14px; font-size: 14px; line-height: 1.45; backdrop-filter: blur(6px); animation: rein .35s ease; }
.meldung b { color: var(--pfiff); font-family: Manrope, Inter, sans-serif; }
/* the messages below the chips on the left, unless the screen is wide enough for both side by side */
@media (min-width: 1460px) { .meldungen { top: 96px; } }
/* a new version: a note at the bottom, over the start screen too */
.update { position: fixed; z-index: 60; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); box-sizing: border-box;
  display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: center; background: var(--glas); border: 1px solid var(--rand); border-radius: 12px;
  padding: 10px 14px; font-size: 14px; line-height: 1.45; backdrop-filter: blur(6px); animation: rein .35s ease; }
.update b { color: var(--pfiff); font-family: Manrope, Inter, sans-serif; }
.updateKnoepfe { display: flex; gap: 8px; }
.update button { font: 600 14px Manrope, Inter, sans-serif; border: 0; border-radius: 10px; padding: 7px 12px; cursor: pointer; color: var(--papier); background: rgba(255, 255, 255, .12); }
.update button.jetzt { color: #1c160c; background: var(--pfiff); }
/* looking at a find: only the place and the time stay */
.imFund .hud .ziel, .imFund .hud .leiste, .imFund .hud .tasten, .imFund .hud .aktion, .imFund .hud .stick, .imFund .hud .chips, .imFund .hud .bBlick, .imFund .hud .marke { display: none; }
/* the Pilzblick: through his own eyes, a round lens, the forest dimmed round it, a fine ring in the middle; the walk's
   guide and buttons step back */
.bBlick { position: absolute; right: max(24px, env(safe-area-inset-right)); bottom: 44px; width: 64px; height: 64px; padding: 0; border-radius: 50%; display: grid; place-items: center;
  pointer-events: auto; color: var(--pfiff); background: var(--glas); border: 2px solid var(--pfiff); backdrop-filter: blur(6px); box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.bBlick svg.i.ico { width: 32px; height: 32px; }
.bBlick .lbl { position: absolute; top: 100%; margin-top: 3px; font: 600 12px Manrope, Inter, sans-serif; color: var(--papier); white-space: nowrap; text-shadow: 0 1px 3px #000; }
@media (pointer: coarse) { .bBlick { width: 72px; height: 72px; bottom: max(52px, calc(env(safe-area-inset-bottom) + 34px)); } }
.imBlick .hud .ziel, .imBlick .hud .leiste, .imBlick .hud .tasten, .imBlick .hud .aktion, .imBlick .hud .bBlick { display: none; }
@media (pointer: coarse) { .imBlick .blickUnten { bottom: max(176px, calc(env(safe-area-inset-bottom) + 158px)); } } /* the stick stays: you can creep on */
.pilzblick { position: absolute; inset: 0; }
.pilzblick .linse { position: absolute; inset: 0; --r: 46vmin; animation: linseAuf .3s ease-out;
  background: radial-gradient(circle at 50% 50%, transparent calc(var(--r) - 2px), rgba(244, 240, 229, .45) var(--r), rgba(8, 14, 10, .62) calc(var(--r) + 3px), rgba(8, 14, 10, .9) calc(var(--r) + 70px)); }
@keyframes linseAuf { from { opacity: 0; transform: scale(1.25); } }
.pilzblick .fadenkreuz { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px; border-radius: 50%; border: 1.5px solid rgba(244, 240, 229, .55); box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.pilzblick .fadenkreuz::after { content: ''; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: var(--papier); opacity: .85; }
.blickZiel { position: absolute; left: 0; top: 0; border-radius: 50%; border: 2px solid var(--pfiff); box-shadow: 0 0 0 2px rgba(0, 0, 0, .25), 0 0 18px rgba(197, 145, 75, .45); pointer-events: none; animation: zielAuf .25s ease-out; }
@keyframes zielAuf { from { opacity: 0; scale: 1.4; } }
.blickZiel span { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; text-align: center; background: var(--glas); border: 1px solid var(--rand);
  border-radius: 9px; padding: 4px 9px; font: 700 13px Manrope, Inter, sans-serif; color: var(--pfiff); backdrop-filter: blur(6px); }
.blickZiel span small { display: block; font: 500 11px Inter, sans-serif; color: var(--papier); opacity: .85; }
.blickZiel.marke { border-style: dashed; animation: none; }
.blickZiel.marke span { padding: 2px 7px; font-size: 12px; }
.blickZu { position: absolute; top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); pointer-events: auto; display: flex; align-items: center; gap: 6px;
  background: rgba(20, 26, 20, .6); backdrop-filter: blur(8px); }
.blickZu svg.i.ico { width: 18px; height: 18px; }
.blickUnten { position: absolute; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; width: min(560px, 94vw); }
.blickHilfe { font-size: 12px; text-align: center; opacity: .8; text-shadow: 0 1px 3px #000; }
.blickHilfe b { color: var(--pfiff); }
.blickLeiste { pointer-events: auto; display: flex; align-items: center; gap: 10px; background: var(--glas); border: 1px solid var(--rand); border-radius: 14px; padding: 6px 10px; backdrop-filter: blur(6px); }
.blickLeiste button { width: 40px; height: 40px; padding: 0; font-size: 22px; line-height: 1; border-radius: 10px; }
.blickLeiste input { width: min(240px, 46vw); accent-color: var(--pfiff); touch-action: none; }
.blickLeiste b { min-width: 38px; font: 700 15px Manrope, Inter, sans-serif; color: var(--pfiff); text-align: right; }
@media (pointer: coarse) { .blickLeiste button { width: 48px; height: 48px; } }
@media (prefers-reduced-motion: reduce) { .pilzblick .linse, .blickZiel { animation: none; } }
@keyframes rein { from { opacity: 0; transform: translateY(-6px); } }
.aktion { position: absolute; bottom: 120px; left: 50%; transform: translateX(-50%); pointer-events: auto; background: var(--pfiff); color: #2a2110; font-size: 16px; padding: 12px 20px; border: 0; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.tasten { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); font-size: 12px; opacity: .65; white-space: nowrap; text-shadow: 0 1px 3px #000; }
.stick { position: absolute; left: 28px; bottom: 36px; width: 120px; height: 120px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .15); pointer-events: auto; display: none; touch-action: none; }
.stick .knauf { position: absolute; left: 35px; top: 35px; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
@media (pointer: coarse) { .stick { display: block; left: max(28px, env(safe-area-inset-left)); bottom: max(36px, calc(env(safe-area-inset-bottom) + 18px)); } .tasten { display: none; } .leiste .lbl { display: none; }
  .aktion { font-size: 18px; padding: 16px 26px; } body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; } }
/* tablets: a bigger stick for the thumb */
@media (pointer: coarse) and (min-width: 700px) { .stick { width: 150px; height: 150px; } .stick .knauf { left: 44px; top: 44px; width: 62px; height: 62px; } }

/* the guide: the next goal, an arrow and how far */
.ziel { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; width: max-content; max-width: min(560px, 92vw);
  background: var(--glas); border: 1px solid rgba(197, 145, 75, .7); border-radius: 14px; padding: 8px 14px 8px 10px; backdrop-filter: blur(6px); box-shadow: 0 6px 20px rgba(0, 0, 0, .3); font-size: 14px; line-height: 1.35; animation: rein .35s ease; }
.ziel .pfeil { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--pfiff); color: #2a2110; font-size: 19px; transition: transform .1s linear; }
/* a compass needle: the red tip shows which way, the round button turns as a whole */
.ziel .pfeil svg { width: 24px; height: 24px; fill: #2a2110; } .ziel .pfeil .spitze { fill: #d6361f; }
.ziel .weit { flex: none; font: 700 14px Manrope, Inter, sans-serif; color: var(--pfiff); min-width: 44px; }
.ziel b { color: var(--pfiff); }
.ziel small { display: block; font-size: 12px; opacity: .75; margin-top: 2px; }
@media (pointer: coarse) { .ziel { bottom: 178px; font-size: 13px; } .ziel.beimKnopf { display: none; }
  /* the button takes the guide's place, above the stick, not over it */
  .aktion { bottom: max(178px, calc(env(safe-area-inset-bottom) + 156px)); } }

/* panels */
.panel { position: fixed; z-index: 20; background: rgba(15, 43, 34, .93); border: 1px solid var(--rand); border-radius: 16px; padding: 16px; box-shadow: 0 10px 40px rgba(0, 0, 0, .45); backdrop-filter: blur(8px); }
.karteKopf { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.karteKopf .titel { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; line-height: 1.15; margin: 2px 0 0; }
.zu { padding: 6px 11px; }
.karte { inset: 16px; max-width: 1100px; margin: auto; display: flex; flex-direction: column; }
.karteBody { display: flex; gap: 14px; flex: 1; min-height: 0; }
.karteRahmen { flex: none; height: 100%; max-height: calc(100vh - 140px); aspect-ratio: 1; max-width: 100%; padding: 8px; box-sizing: border-box; border-radius: 14px; background: linear-gradient(145deg, #6b4a2b, #3e2a17); box-shadow: inset 0 0 0 1px rgba(255, 230, 190, .25), 0 10px 30px rgba(0, 0, 0, .45); }
.karte canvas { display: block; width: 100%; height: 100%; border-radius: 8px; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3); }
.karteSeite { display: flex; flex-direction: column; gap: 10px; overflow: auto; min-width: 210px; }
.spruenge { display: flex; flex-direction: column; gap: 5px; }
.spruenge .legKopf { margin: 4px 0 2px; font: 700 13px Cinzel, Fraunces, serif; color: var(--pfiff); letter-spacing: .04em; }
.sprung { display: flex; align-items: center; gap: 8px; padding: 7px 10px; font-size: 13px; text-align: left; background: rgba(197, 70, 46, .16); border-color: rgba(197, 70, 46, .5); }
.sprung:not(:disabled):hover { background: rgba(197, 70, 46, .3); border-color: #e0735a; }
.sprung svg.i { width: 16px; height: 16px; color: #f0a08a; flex: none; } .sprung span { flex: 1; }
.sprung small { font-size: 11px; opacity: .7; } .sprung.da { background: rgba(255, 255, 255, .05); border-color: var(--rand); opacity: .8; } .sprung.da svg.i { color: var(--pfiff); }
.sprungRest { font-size: 11px; opacity: .6; }
.legende { font-size: 13px; display: flex; flex-direction: column; gap: 5px; }
.legende .legKopf { margin: 4px 0 2px; font: 700 13px Cinzel, Fraunces, serif; color: var(--pfiff); letter-spacing: .04em; }
.legende i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 7px; vertical-align: -2px; border: 1px solid rgba(0, 0, 0, .3); }
.legende i.punkt { border-radius: 50%; border: 2px solid #fff; }
.legende i.linie { height: 0; border: 0; border-radius: 0; vertical-align: 3px; width: 18px; }
.legende i.breit { border-top: 5px solid #f4ecd6; box-shadow: 0 0 0 1.5px #46321c; } .legende i.schmal { border-top: 2.5px dashed #a0703f; } .legende i.bach { border-top: 4px solid #5d9cc4; }
@media (max-width: 760px) { .karteBody { flex-direction: column; } .karteSeite { min-width: 0; } .spruenge { flex-direction: row; flex-wrap: wrap; } .spruenge .legKopf, .sprungRest { width: 100%; } .sprung { padding: 6px 9px; font-size: 12px; } .legende { flex-direction: row; flex-wrap: wrap; gap: 4px 10px; font-size: 11px; } .legende .legKopf { width: 100%; } .karteRahmen { height: auto; width: 100%; max-height: 62vh; max-width: 62vh; align-self: center; padding: 5px; } }

.fund { right: 16px; bottom: 16px; top: 16px; width: min(400px, calc(100vw - 32px)); overflow: auto; display: flex; flex-direction: column; }
.fund { overscroll-behavior: contain; }
/* the tool box (fund.js): two rows in the order you use them, "Ansehen" and "Proben", each tool an icon over a word */
.werkzeuge { margin: 4px 0 10px; display: flex; flex-direction: column; gap: 6px; }
.werkzeugTitel { font: 600 11px 'Barlow Condensed', Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--pfiff); margin: 0 0 3px; }
.werkzeugKacheln { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.werkzeugKacheln button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 0 6px; font-size: 11.5px; letter-spacing: -.01em; line-height: 1.1; border-radius: 10px; min-width: 0; }
.werkzeugKacheln button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.werkzeugKacheln button svg.i { width: 20px; height: 20px; }
.werkzeugKacheln button.gemacht { border-color: rgba(143, 211, 106, .55); } .werkzeugKacheln button.gemacht svg.i { color: #8fd36a; }
.werkzeugKacheln button.jetzt { border-color: var(--pfiff); background: rgba(197, 145, 75, .22); animation: startPuls 2.8s ease-in-out infinite; }
.werkzeugKacheln button.vorsicht { background: transparent; border-style: dashed; opacity: .8; }
.werkzeugKacheln button:disabled { opacity: .35; }
/* back and forth through the key */
.blaettern { display: flex; justify-content: space-between; gap: 8px; margin: 2px 0 6px; }
.blaettern button { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; font-size: 13px; }
.blaettern button:disabled { opacity: .3; }
.notizen { margin: 0 0 10px; padding: 0; list-style: none; font-size: 13px; line-height: 1.45; opacity: .92; display: flex; flex-direction: column; gap: 4px; }
.notizen li { display: flex; gap: 8px; align-items: flex-start; } .notizen svg.i { color: var(--pfiff); margin-top: 1px; }
.notizen:empty { display: none; }
.schluessel { margin-bottom: 12px; }
.schluessel:empty { display: none; }
.schluessel .frage { font: 700 15px Manrope, Inter, sans-serif; margin: 6px 0 8px; }
.schluessel .antworten { display: flex; flex-direction: column; gap: 6px; margin-bottom: 6px; }
.schluessel .antworten button { text-align: left; font-weight: 500; font-size: 14px; }
.schluessel .ergebnis { margin: 6px 0 8px; font-size: 15px; }
.schluessel .ergebnis i { opacity: .7; font-size: 13px; }
.fundOrt { font-size: 13px; opacity: .85; margin-top: 4px; }
.fundText { margin: 12px 0; line-height: 1.5; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
/* phones: the panel in the lower part (the view moves the mushroom up above it, fund.js), compact, and the choice
   always at hand at its bottom edge */
@media (max-width: 600px) {
  .fund { left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); top: auto; max-height: 46vh; width: auto; padding: 10px 12px 0; }
  /* while you work out what it is, the panel takes more of the screen (the mushroom stays visible above it) */
  .fund.weit { max-height: 60vh; }
  .fundText { font-size: 14px; margin: 6px 0; line-height: 1.4; }
  .panel.fund h3 { font-size: 15px; margin: 8px 0 4px; }
  .fund .knoepfe { position: sticky; bottom: 0; margin: 4px -12px 0; padding: 6px 12px 6px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 6px; background: rgb(15, 43, 34); border-top: 1px solid var(--rand); }
  .fund .knoepfe button { padding: 9px 6px; font-size: clamp(12.5px, 3.6vw, 14px); white-space: nowrap; }
  /* the quiet third choice (leave it, let it stand) as a slim line under the two, not a third big button */
  .fund .knoepfe button.leise:nth-child(3) { grid-column: 1 / -1; padding: 3px; border: 0; font-size: 13px; color: rgba(244, 240, 229, .75); text-decoration: underline; text-underline-offset: 3px; }
  .fund > .hinweis { display: none; }
  .fund .notizen { font-size: 12.5px; }
  .imFund .meldungen { display: none; } /* they would sit on the mushroom */
}

.optPanel { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(480px, calc(100vw - 24px)); max-height: calc(100vh - 32px); overflow: auto; }
.optPanel .zeile { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; font-size: 14px; border-bottom: 1px solid var(--rand); }
.optPanel .zeile span { display: flex; align-items: center; gap: 8px; }
.optPanel input[type=date], .optPanel select { font: inherit; background: rgba(255, 255, 255, .08); color: inherit; border: 1px solid var(--rand); border-radius: 8px; padding: 4px 8px; color-scheme: dark; }
.optPanel option { color: #222; }
.optPanel input[type=range] { accent-color: var(--pfiff); width: 130px; } .optPanel input[type=range]:disabled { opacity: .35; }
.optPanel .platz { width: 18px; flex: none; } /* in place of the switch beside the other volumes */
.optPanel input[type=checkbox] { accent-color: var(--pfiff); width: 18px; height: 18px; }
.optPanel output { min-width: 44px; text-align: right; font-variant-numeric: tabular-nums; }
.optPanel button.leise { padding: 4px 10px; font-size: 13px; }
.korb, .beratung { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(620px, calc(100vw - 24px)); max-height: calc(100vh - 32px); overflow: auto; }
.korb .stueck { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .06); margin-bottom: 6px; font-size: 14px; }
.korb .stueck small { opacity: .7; }
.beratung .eintrag { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 4px 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); margin-bottom: 8px; border-left: 3px solid transparent; }
.beratung .eintrag.richtig, .beratung .eintrag.erkannt { border-left-color: #8fd36a; } .beratung .eintrag.vorsichtig, .beratung .eintrag.glueck, .beratung .eintrag.abgeraten { border-left-color: var(--pfiff); }
.beratung .eintrag.falsch, .beratung .eintrag.toedlich, .beratung .eintrag.verworfen, .beratung .eintrag.geschuetzt { border-left-color: #ff7a66; }
.beratung .eintrag.toedlich { background: rgba(155, 44, 34, .25); }
.beratung .eFoto { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 2px solid rgba(197, 145, 75, .5); }
.beratung .eFoto img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; border-radius: 50%; }
.beratung .eFoto .sym { position: absolute; right: -6px; bottom: -4px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #10291f; border: 1px solid var(--rand); }
.beratung .eFoto .sym svg.i { width: 16px; height: 16px; }
.beratung .eMitte { min-width: 0; }
.beratung .name { font: 700 17px/1.2 Cinzel, Fraunces, serif; color: #f2d27a; }
.beratung .name small { font: 600 13px Manrope, Inter, sans-serif; color: var(--papier); opacity: .8; }
.beratung .stempel { display: inline-block; margin-top: 3px; font: 600 12px 'Barlow Condensed', Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.beratung .richtig .stempel, .beratung .erkannt .stempel { color: #8fd36a; } .beratung .vorsichtig .stempel, .beratung .glueck .stempel { color: var(--pfiff); }
.beratung .falsch .stempel, .beratung .toedlich .stempel, .beratung .verworfen .stempel, .beratung .geschuetzt .stempel { color: #ff9a88; }
.beratung .eChips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.beratung .eChip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12px; background: rgba(255, 255, 255, .08); }
.beratung .eChip svg.i { width: 13px; height: 13px; } .beratung .eChip.gut { color: #a6dd86; } .beratung .eChip.halb { color: #e9c27f; } .beratung .eChip.schlecht { color: #ff9a88; background: rgba(155, 44, 34, .3); }
.beratung .eWarum { grid-column: 1 / -1; font-size: 13px; }
.beratung .eWarum summary { cursor: pointer; list-style: none; display: flex; gap: 8px; align-items: baseline; padding: 4px 0 0 68px; color: var(--pfiff); font-weight: 600; }
.beratung .eWarum summary::-webkit-details-marker { display: none; }
.beratung .eWarum summary::before { content: '▸'; transition: transform .2s; } .beratung .eWarum[open] summary::before { transform: rotate(90deg); }
.beratung .eWarum summary i { font-weight: 400; color: var(--papier); opacity: .55; font-size: 12px; }
.beratung .eWarum[open] > :not(summary) { animation: rein .3s ease; }
.beratung ul { margin: 4px 0; padding-left: 18px; font-size: 13px; line-height: 1.45; opacity: .9; }
.beratung .eintrag.richtig .sym, .beratung .eintrag.erkannt .sym { color: #8fd36a; }
.beratung .eintrag.vorsichtig .sym { color: var(--pfiff); }
.beratung .eintrag.falsch .sym, .beratung .eintrag.toedlich .sym, .beratung .eintrag.verworfen .sym { color: #ff7a66; }
.beratung .pkt { font: 700 18px Cinzel, Manrope, serif; color: #f2d27a; }
.beratung .summe { font: 600 16px Manrope, Inter, sans-serif; margin-top: 10px; }
.beratung .summe { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; } .beratung .weiterSammeln { margin-left: auto; }
/* the tally at the top: the points count up, the verdicts appear one by one */
.beratung .bilanz { display: flex; align-items: center; gap: 16px; padding: 12px 14px; margin-bottom: 10px; border-radius: 12px; background: rgba(197, 145, 75, .14); border: 1px solid rgba(197, 145, 75, .35); }
.beratung .bilanzPunkte { display: flex; flex-direction: column; align-items: center; min-width: 84px; }
.beratung .bilanzPunkte b { font: 800 34px/1 Fraunces, Georgia, serif; color: var(--pfiff); transition: transform .25s; }
.beratung .bilanzPunkte b.fertig { animation: pop .45s ease; }
.beratung .bilanzPunkte small { font-size: 11px; opacity: .75; text-transform: uppercase; letter-spacing: .06em; }
.beratung .bilanzZahlen { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 14px; }
.beratung .bilanzZahlen span { display: inline-flex; align-items: center; gap: 4px; }
.beratung .bilanzZahlen svg.i { width: 16px; height: 16px; }
.beratung .bilanzZahlen .gut { color: #8fd36a; } .beratung .bilanzZahlen .halb { color: var(--pfiff); } .beratung .bilanzZahlen .schlecht { color: #ff9a88; }
.beratung .neuArt { font: 700 10px Manrope, Inter, sans-serif; text-transform: uppercase; letter-spacing: .05em; background: var(--pfiff); color: #2a2110; border-radius: 6px; padding: 2px 6px; vertical-align: middle; }
.beratung .eintrag { opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.beratung .eintrag.zeigen { opacity: 1; transform: none; }
@keyframes pop { 50% { transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .beratung .eintrag { opacity: 1; transform: none; transition: none; } }
.blende { position: fixed; inset: 0; background: #0d1009; opacity: 0; pointer-events: none; transition: opacity .45s; z-index: 25; }
.blende.an { opacity: 1; }

.pilzbuch { inset: 16px; max-width: 1000px; margin: auto; overflow: auto; }
.buchGitter { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.buchKarte { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-align: left; border-radius: 12px; }
.buchKarte img, .buchKarte .keinBild { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #2a3322; }
.buchKarte .keinBild { display: grid; place-items: center; font-size: 40px; }
.buchName { font: 700 14px Manrope, Inter, sans-serif; padding: 8px 10px 2px; }
.buchStufe { font-size: 12px; opacity: .75; padding: 0 10px 9px; color: var(--pfiff); }
.schattenRahmen { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: inherit; background: #1c241b; }
.buchDetail .schattenRahmen { max-height: 360px; border-radius: 12px; }
.schattenRahmen img.schatten { width: 100%; height: 100%; max-height: none; object-fit: cover; filter: blur(10px) grayscale(1) brightness(.5) contrast(1.15); transform: scale(1.15); opacity: .8; }
.schattenRahmen span { position: absolute; inset: 0; display: grid; place-items: center; font: 700 44px Fraunces, Georgia, serif; color: rgba(233, 224, 200, .55); text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.buchDetail img { width: 100%; max-height: 360px; object-fit: cover; border-radius: 12px; }
.buchDetail figure { margin: 0 0 10px; }
.spurTitel { margin: 14px 0 8px; text-align: center; font: 700 20px Cinzel, Fraunces, serif; color: #f2d27a; }
.spuren { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.spuren span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 14px; }
.spuren svg.i { width: 16px; height: 16px; color: var(--pfiff); }
.buchDetail figcaption { font-size: 11px; opacity: .7; margin-top: 4px; }
.buchDetail figcaption a { color: inherit; }
.buchDetail ul { margin: 0; padding-left: 18px; line-height: 1.5; font-size: 14px; }
.buchDetail p { line-height: 1.5; font-size: 14px; margin: 6px 0; }
.buchDetail .wert { display: inline-block; padding: 4px 10px; border-radius: 99px; font: 600 13px Manrope, Inter, sans-serif; background: #3d5a2a; }
.buchDetail .wert.giftig, .buchDetail .wert.toedlich { background: var(--gift); }
.buchDetail .wert.ungeniessbar { background: #6a5a3a; }
.merkmale { border-collapse: collapse; width: 100%; font-size: 14px; margin-top: 10px; }
.merkmale th { text-align: left; font-weight: 600; padding: 6px 10px 6px 0; vertical-align: top; width: 110px; opacity: .8; }
.merkmale td { padding: 6px 0; line-height: 1.45; border-bottom: 1px solid var(--rand); }
.karteKopf .titel i { font-weight: 400; font-size: 14px; opacity: .7; }

.buchDetail figure.klein { display: inline-block; width: calc(50% - 6px); margin-right: 6px; vertical-align: top; }
.buchDetail figure.klein img { max-height: 220px; }
.monate { display: flex; gap: 3px; height: 90px; align-items: flex-end; margin-top: 6px; }
.monat { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; font-size: 10px; opacity: .55; }
.monat i { display: block; width: 100%; background: #8a9a6a; border-radius: 3px 3px 0 0; }
.monat.saison { opacity: 1; }
.monat.saison i { background: var(--pfiff); }
.monat span { margin-top: 3px; }

/* the learning path */
.lernen .lernIntro { margin: 4px 0 12px; line-height: 1.5; }
.lernen .stufe h3 { margin: 30px 0 6px; border-bottom: 0; padding-bottom: 0; } /* the progress bar below is the line */
.lernen .lektionen { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin: 8px 0; }
.lernen .lektion { display: flex; gap: 10px; align-items: center; text-align: left; padding: 10px 12px; border-radius: 10px; }
.lernen .lektion small { display: block; font-size: 12px; opacity: .7; }
.lernen .lektion .lsym { font-size: 18px; width: 22px; text-align: center; }
.lernen .lektion.fertig { border-color: #8fd36a; } .lernen .lektion.fertig .lsym { color: #8fd36a; }
.lernen .lektion.offen { border-color: var(--pfiff); }
/* locked: dimmed by colour, not opacity (many translucent layers inside the blurred panel ghosted their text into each other) */
.lernen .lektion.zu { opacity: 1; color: rgba(244, 240, 229, .45); background: rgba(255, 255, 255, .04); }
.lernen .lernText p { line-height: 1.6; margin: 8px 0; max-width: 68ch; }
.lernen .lernText p:first-of-type { font-size: 17px; } /* the lead: the one sentence to take away */
.lernKarten { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 14px 0; }
.lernKarte { border: 2px solid #8fd36a55; border-radius: 12px; overflow: hidden; background: #ffffff08; }
.lernKarte.gegner { border-color: #ff7a6677; }
.lernKarte img, .quizFoto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.lernKarte .keinBild { aspect-ratio: 4 / 3; display: grid; place-items: center; font-size: 40px; }
.fotoQuelle { font-size: 10px; opacity: .6; padding: 2px 8px; }
.lkText { padding: 6px 12px 12px; }
.lkKicker { font-size: 12px; opacity: .85; } .lkKicker .dgfm { color: #8fd36a; }
.lkName { font: 700 17px Manrope, Inter, sans-serif; margin: 4px 0; } .lkName i { font-weight: 400; font-size: 13px; opacity: .7; }
.lkText ul { margin: 4px 0; padding-left: 18px; font-size: 13px; line-height: 1.45; }
.quiz { max-width: 640px; margin: 10px auto; }
.quizFoto { max-width: 420px; margin: 0 auto 8px; border-radius: 12px; overflow: hidden; }
.quizFrage { font: 600 17px Manrope, Inter, sans-serif; line-height: 1.4; }
.quiz .optionen { display: flex; flex-direction: column; gap: 8px; }
.quiz .option { text-align: left; padding: 10px 14px; }
.quiz .option.richtig { border-color: #8fd36a; background: #8fd36a33; }
.quiz .option.falsch { border-color: #ff7a66; background: #ff7a6633; }
.beratung .eintrag.glueck .sym, .beratung .eintrag.abgeraten .sym { color: var(--pfiff); }
.panel.lernen, .panel.pilzbuch { z-index: 40; }

.panel .titel, .karteKopf .titel { font-family: Fraunces, Georgia, serif; }
/* section headings in every panel: one size, one face, a hairline below, so long texts break into parts you can scan */
.panel h3 { display: flex; align-items: center; gap: 8px; font: 700 19px/1.2 Fraunces, Georgia, serif; color: var(--pfiff); margin: 22px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--rand); }
.panel h3:first-child { margin-top: 6px; }
.panel h3 small { margin-left: auto; }
.panel h3 svg.i { width: 20px; height: 20px; }
.fund h3 { font-size: 17px; margin: 14px 0 6px; }
.fund h3:has(+ .notizen:empty), .fund h3:has(+ .werkzeuge:empty) { display: none; }
@media (max-width: 600px) { .panel h3 { font-size: 17px; margin: 16px 0 6px; } .karteKopf .titel { font-size: 22px; } }

/* own photos (web/assets/brand/bilder) */
.lernBild { float: right; width: min(40%, 260px); margin: 4px 0 10px 16px; border-radius: 12px; overflow: hidden; }
.lernBild img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.lernBild figcaption { font-size: 11px; opacity: .7; padding: 4px 6px; }
@media (max-width: 600px) { .lernBild { float: none; width: 100%; margin: 6px 0; } .lernBild img { aspect-ratio: 16 / 9; } }
.beratungBild { height: 120px; margin: -16px -16px 12px; border-radius: 16px 16px 0 0; background: center 45% / cover no-repeat; box-shadow: inset 0 -50px 40px -20px rgba(15, 43, 34, .95); }

/* Steckbrief */
.steckbrief th { white-space: nowrap; vertical-align: top; }
.steckbriefAuf { margin-top: 8px; font-size: 13px; }
.steckbriefAuf summary { cursor: pointer; color: var(--pfiff); font-weight: 600; }
.steckbriefAuf .merkmale { margin-top: 6px; font-size: 12.5px; }
.buchKarte.gelernt .buchStufe { color: #8fd36a; }

/* gamification */
.profil { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 14px; align-items: center; padding: 12px 14px; margin: 6px 0 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--rand); }
.rangBadge { font-size: 34px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d9a95f, #8a5f2a); box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.rangText small { opacity: .7; font-size: 12px; }
.xpBalken { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; margin: 5px 0 3px; }
.xpBalken i { display: block; height: 100%; background: linear-gradient(90deg, #b8833f, #e3b46c); border-radius: 6px; transition: width .8s ease; }
.profilZahlen { display: flex; gap: 12px; font-weight: 600; font-size: 15px; }
.profilKnoepfe { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 600px) { .profil { grid-template-columns: auto 1fr; } .profilZahlen { grid-column: 1 / -1; } }
.stufe h3 small { font: 500 13px Inter, sans-serif; opacity: .7; margin-left: 6px; }
.stufeBalken { height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; } .stufeBalken i { display: block; height: 100%; background: #8fd36a; }
.sterne i { font-style: normal; color: rgba(255, 255, 255, .22); margin-right: 1px; } .sterne i.an { color: #e9b949; text-shadow: 0 0 6px rgba(233, 185, 73, .5); }
.sterne.gross { display: block; text-align: center; font-size: 46px; margin: 6px 0; }
.sterne.gross i.an { animation: stern .5s ease both; } .sterne.gross i:nth-child(2) { animation-delay: .25s; } .sterne.gross i:nth-child(3) { animation-delay: .5s; }
@keyframes stern { from { transform: scale(0) rotate(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }
.quizStart { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.quizLeiste { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; max-width: 640px; margin: 4px auto 0; font-weight: 600; }
.herzen i { font-style: normal; color: rgba(255, 255, 255, .2); font-size: 20px; } .herzen i.an { color: #e0574a; }
.combo { color: var(--pfiff); } .combo.heiss { color: #ff8a3d; animation: puls .8s ease infinite; }
@keyframes puls { 50% { transform: scale(1.12); } }
.fortschritt { display: flex; gap: 4px; margin-left: auto; } .fortschritt i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.fortschritt i.fertig { background: #8fd36a; } .fortschritt i.jetzt { background: var(--pfiff); }
.quiz.gut .quizFrage { color: #b8e69a; } .quiz.schlecht { animation: wackeln .35s ease; }
@keyframes wackeln { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.plus { color: #e9b949; font-size: 18px; }
.quiz .optionen.zwei { flex-direction: row; } .quiz .optionen.zwei .option { flex: 1; text-align: center; font-size: 17px; }
.quizFoto.zoom { position: relative; overflow: hidden; } .zoomBild { transform: scale(5); transform-origin: 50% 45%; transition: transform .05s linear; }
.zoomUhr { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(0, 0, 0, .35); } .zoomUhr i { display: block; height: 100%; width: 100%; background: var(--pfiff); }
.hinweise { margin: 4px 0 8px; padding-left: 22px; line-height: 1.5; } .hinweise li { animation: rein .3s ease; }
@keyframes rein { from { opacity: 0; transform: translateY(-4px); } }
.ergebnis { text-align: center; position: relative; } .xpGewinn { font-weight: 700; color: #e9b949; margin: 6px 0; }
.rangZeile { max-width: 320px; margin: 8px auto; }
.ergebnis .optionen { align-items: center; }
.abzeichenGitter { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 10px; }
.abz { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--rand); text-align: center; color: rgba(244, 240, 229, .5); } /* dimmed by colour, as the locked lessons */
.abz:not(.hat) .abzSym { filter: grayscale(1) brightness(.7); }
.abz.hat { color: inherit; border-color: #e9b94988; background: rgba(233, 185, 73, .08); } .abzSym { font-size: 30px; } .abz small { display: block; opacity: .75; font-size: 12px; margin-top: 4px; }
.konfetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.konfetti i { position: absolute; top: -10px; width: 7px; height: 12px; border-radius: 2px; animation: fallen 2.2s ease-in forwards; }
@keyframes fallen { to { top: 105%; transform: rotate(540deg); opacity: .2; } }
.standRang { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; } .rangSym { font-size: 26px; } .standRang .xpBalken { width: 220px; }

/* the icon set (icons.js): inline SVG lines in the text colour */
svg.i { width: 1.15em; height: 1.15em; vertical-align: -.22em; flex: none; }
svg.i.ico { width: 20px; height: 20px; vertical-align: -4px; }
.leiste svg.i { width: 22px; height: 22px; }
.menueKnopf svg.i { width: 22px; height: 22px; } .menueKnopf svg.i:last-child { width: 16px; height: 16px; opacity: .8; }
.sterne svg.i { color: rgba(255, 255, 255, .25); } .sterne svg.i.an { color: #e9b949; fill: #e9b949; }
.sterne.gross svg.i { width: 46px; height: 46px; margin: 0 2px; } .sterne.gross svg.i.an { animation: stern .5s ease both; }
.sterne.gross svg.i:nth-child(2) { animation-delay: .25s; } .sterne.gross svg.i:nth-child(3) { animation-delay: .5s; }
.herzen svg.i { width: 20px; height: 20px; color: rgba(255, 255, 255, .25); } .herzen svg.i.an { color: #e0574a; fill: #e0574a; }
.rangBadge svg.i { width: 30px; height: 30px; color: #1c160c; } .rangSym svg.i { width: 26px; height: 26px; color: var(--pfiff); }
.abzSym svg.i { width: 30px; height: 30px; } .abz.hat .abzSym { color: #e9b949; }
.lsym svg.i { width: 18px; height: 18px; }
.beratung .sym svg.i { width: 22px; height: 22px; }
.keinBild svg.i { width: 44px; height: 44px; opacity: .6; }
.buchStufe .sterne svg.i { width: 12px; height: 12px; }

/* sharing */
button.teilen { display: inline-flex; gap: 6px; align-items: center; }
.teilenZeile { margin: 6px 0; }
.teilenFenster { z-index: 70; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(460px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: auto; }
.teilenFenster img { width: 100%; border-radius: 12px; display: block; margin: 8px 0; }
.teilenText { font-size: 13px; opacity: .85; }
.teilenKnoepfe { display: flex; gap: 8px; flex-wrap: wrap; }
a.knopf { display: inline-flex; gap: 6px; align-items: center; font: 600 15px Manrope, Inter, sans-serif; text-decoration: none; border-radius: 12px; padding: 10px 14px; color: #1c160c; background: var(--pfiff); }
/* the legendary ones */
.buchKarte { position: relative; }
.buchKarte.legende { border-color: #e9b949; box-shadow: 0 0 0 1px #e9b94966, 0 0 18px rgba(233, 185, 73, .25); }
.legendenMarke { position: absolute; top: 6px; right: 6px; z-index: 2; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(24, 59, 50, .85); color: #e9b949; }
.legendaer { color: #e9b949; }
.fund.legende, #fund.legende { box-shadow: inset 0 0 0 2px #e9b94988; }
/* narrow phones: the buttons in one full row on top (all six fit), place and time side by side below, the weather
   only on the start screen; the guide and the messages a little smaller */
@media (max-width: 600px) {
  .hud .oben { flex-direction: column-reverse; align-items: stretch; gap: 6px; }
  .leiste { justify-content: space-between; }
  .leiste button { flex: 1; justify-content: center; padding: 8px 0; }
  .chips { flex-direction: row; gap: 6px; }
  .chip { max-width: none; padding: 5px 9px; font-size: 13px; }
  .chip.wetter { display: none; }
  .meldungen { top: calc(max(12px, env(safe-area-inset-top)) + 104px); }
  .meldung { font-size: 13px; padding: 8px 12px; }
  .ziel { padding: 8px 12px; gap: 8px; }
}
.schluessel h3 .bonus { margin-left: auto; font: 600 12px Manrope, Inter, sans-serif; color: var(--papier); opacity: .7; margin-top: 4px; }

/* reading at a glance (lesbar.js): features with a symbol, one look for every warning, the lesson's one sentence */
ul.merkListe { list-style: none; padding: 0; margin: 6px 0; display: flex; flex-direction: column; gap: 5px; }
ul.merkListe li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.4; }
ul.merkListe svg.i { flex: none; width: 18px; height: 18px; margin-top: 1px; color: #a9bf8f; }
.box { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; margin: 8px 0; border-radius: 10px; font-size: 14px; line-height: 1.45; border: 1px solid; border-left-width: 4px; }
.box > svg.i { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.box.gefahr { background: rgba(155, 44, 34, .3); border-color: #c4544a; } .box.gefahr > svg.i { color: #ff8a78; }
.box.achtung { background: rgba(197, 145, 75, .13); border-color: rgba(197, 145, 75, .55); } .box.achtung > svg.i { color: var(--pfiff); }
.box.tipp { background: rgba(143, 211, 106, .1); border-color: rgba(143, 211, 106, .45); } .box.tipp > svg.i { color: #8fd36a; }
.lernKarte .box, .beratung .eintrag .box { font-size: 13px; padding: 8px 10px; }
.merksatz { display: flex; gap: 14px; align-items: center; margin: 4px 0 14px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, rgba(197, 145, 75, .28), rgba(197, 145, 75, .08)); border: 1px solid rgba(197, 145, 75, .5);
  font: 600 19px/1.35 Fraunces, Georgia, serif; }
.merksatz > svg.i { flex: none; width: 34px; height: 34px; color: var(--pfiff); }
.merksatz small { display: block; font: 600 13px 'Barlow Condensed', Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--pfiff); margin-bottom: 2px; }
.lernText b, .lernIntro b { color: #f2d6a8; }
/* the look-alike duel */
.duellFrage { font: 600 18px Manrope, Inter, sans-serif; margin: 4px 0 10px; }
.duellBilder { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 640px; }
.duellBild { padding: 0; overflow: hidden; border-radius: 12px; border-width: 3px; text-align: left; transition: transform .15s, border-color .2s; }
.duellBild:not(:disabled):hover { transform: translateY(-2px); border-color: var(--pfiff); }
.duellBild img, .duellBild .keinBild { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.duellBild:disabled { opacity: 1; }
.duellBild.richtig { border-color: #8fd36a; } .duellBild.falsch { border-color: #ff7a66; }
.duellName { display: block; font: 700 14px Manrope, Inter, sans-serif; padding: 0 10px; }
.duellBild:disabled .duellName { padding: 6px 10px 8px; }
.duellUrteil { font: 700 17px Manrope, Inter, sans-serif; margin: 12px 0 4px; } .duellUrteil.gut { color: #b8e69a; } .duellUrteil.schlecht { color: #ff9a88; }
.duellWie { margin: 8px 0 2px; font-weight: 600; }
.duellAufloesung { max-width: 640px; animation: rein .3s ease; }
.duellKnoepfe { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
/* the task in the forest */
.auftragText { margin: 0 0 8px; opacity: .85; }
ul.auftrag { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
ul.auftrag li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px dashed var(--rand); }
ul.auftrag li small { display: block; font-size: 12px; opacity: .75; margin-top: 2px; }
ul.auftrag svg.i { flex: none; color: var(--pfiff); margin-top: 2px; }
ul.auftrag li.da { border-style: solid; border-color: #8fd36a88; } ul.auftrag li.da svg.i { color: #8fd36a; }
/* the Pilzbuch's sections open and close */
details.abschnitt > summary { list-style: none; cursor: pointer; }
details.abschnitt > summary::-webkit-details-marker { display: none; }
details.abschnitt > summary h3::after { content: ''; margin-left: auto; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(-45deg); transition: transform .2s; }
details.abschnitt[open] > summary h3::after { transform: rotate(45deg); }
details.abschnitt > summary:hover h3 { color: #e2b47a; }
.merkmale th svg.i { width: 16px; height: 16px; color: var(--pfiff); margin-right: 4px; }
.panel details.abschnitt > summary h3 { margin: 18px 0 8px; }
@media (max-width: 600px) { .merksatz { font-size: 16px; padding: 10px 12px; gap: 10px; } .merksatz > svg.i { width: 26px; height: 26px; } .duellFrage { font-size: 16px; } }
/* "Wer bin ich?": the learning cards are riddles that turn over */
.flipKarte { perspective: 1400px; }
.flipInnen { display: grid; height: 100%; transition: transform .6s cubic-bezier(.3, .7, .3, 1); transform-style: preserve-3d; }
.flipKarte.offen .flipInnen { transform: rotateY(180deg); }
.flipKarte .seite { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; background: #183b32; }
.flipKarte .seite.hinten { transform: rotateY(180deg); }
.flipKarte .seite .lkText { flex: 1; display: flex; flex-direction: column; }
.lkKicker.wer { display: flex; align-items: center; gap: 6px; font: 700 16px Fraunces, Georgia, serif; color: var(--pfiff); opacity: 1; margin: 2px 0 4px; }
.raten { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 8px; }
.raten .rate { text-align: left; padding: 8px 12px; font-size: 14px; }
.raten .rate:hover { border-color: var(--pfiff); }
.flipKarte .aufdecken, .flipKarte .zudecken { margin-top: auto; align-self: flex-start; padding: 6px 10px; font-size: 13px; display: inline-flex; gap: 6px; align-items: center; }
.rateErgebnis:empty { display: none; }
.rateErgebnis { display: flex; gap: 6px; align-items: center; font: 700 15px Manrope, Inter, sans-serif; margin: 2px 0 6px; }
.rateErgebnis.gut { color: #b8e69a; } .rateErgebnis.schlecht { color: #ff9a88; }
.alleUmdrehen { padding: 4px 10px; font-size: 13px; display: inline-flex; gap: 6px; align-items: center; color: var(--papier); }
.auftragKnoepfe { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 4px 0 14px; } .auftragKnoepfe .hinweis { margin: 0; }
.auftragKnoepfe button { display: inline-flex; gap: 6px; align-items: center; }
@media (prefers-reduced-motion: reduce) { .flipInnen { transition: none; } }
ol.raetsel { margin: 4px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.4; } ol.raetsel li { margin: 3px 0; } ol.raetsel li::marker { color: var(--pfiff); font-weight: 700; }
/* the close-up card in the find view: a real photo of the part just looked at, left of the model */
.nahKarte { position: fixed; left: 16px; top: 16px; width: min(320px, 34vw); margin: 0; padding: 8px; border-radius: 14px; background: var(--glas); border: 1px solid var(--rand); backdrop-filter: blur(8px); z-index: 20; animation: rein .3s ease; }
.nahKarte > img { display: block; width: 100%; max-height: 46vh; object-fit: contain; border-radius: 9px; background: #fff; }
.nahKarte figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 6px 2px 0; font-size: 13px; }
.nahKarte figcaption small { opacity: .65; font-size: 11px; text-align: right; }
.nahLeiste { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.nahLeiste button { padding: 0; width: 44px; height: 44px; border-radius: 7px; overflow: hidden; border: 2px solid transparent; background: #fff; }
.nahLeiste button.an { border-color: var(--pfiff); }
.nahLeiste img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .nahKarte { left: 8px; top: max(8px, env(safe-area-inset-top)); width: 28vw; padding: 4px; } .nahKarte > img { max-height: 16vh; } .nahKarte figcaption { flex-direction: column; gap: 1px; font-size: 12px; } .nahLeiste button { width: 34px; height: 34px; } }
/* the first find: the button to look at it calls for attention */
.aktion.puls { animation: aktionPuls 1.1s ease-in-out infinite; }
@keyframes aktionPuls { 50% { box-shadow: 0 0 0 10px rgba(197, 145, 75, .35), 0 6px 20px rgba(0, 0, 0, .35); transform: translateX(-50%) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .aktion.puls { animation: none; } }

/* Bestimmen in der Fundansicht: selbst (das Buch in der Hand) oder mit dem Schlüssel */
.bestimmWeg { display: flex; gap: 6px; margin: 2px 0 8px; }
.bestimmWeg button { flex: 1; padding: 8px 10px; font-size: 13px; display: inline-flex; gap: 6px; align-items: center; justify-content: center; }
.bestimmWeg button.an { background: rgba(197, 145, 75, .22); border-color: var(--pfiff); }
.bestimmText { font-size: 13.5px; line-height: 1.45; margin: 4px 0 8px; }
.proben { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.proben span { display: inline-flex; gap: 4px; align-items: center; font-size: 11.5px; padding: 3px 8px; border-radius: 99px; border: 1px dashed var(--rand); opacity: .6; }
.proben span.an { opacity: 1; border-style: solid; border-color: #8fd36a88; color: #b8e69a; }
.proben svg.i { width: 13px; height: 13px; }
.wahlGitter { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; margin-bottom: 8px; }
.wahlGitter button { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-align: left; border-radius: 10px; }
.wahlGitter img, .wahlGitter .keinBild { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: grid; place-items: center; background: #2a3322; }
.wahlGitter button > span:last-child { font-size: 12px; font-weight: 600; padding: 5px 7px 6px; line-height: 1.2; }
.wahlGitter button.bekannt { border-color: #8fd36a66; }
.vergleichKopf { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.vergleichKopf img { width: 96px; height: 72px; object-fit: cover; border-radius: 9px; flex: none; }
.vergleichKopf b { display: block; font: 700 16px Manrope, Inter, sans-serif; } .vergleichKopf i { display: block; font-size: 12px; opacity: .7; margin-bottom: 4px; }
.vergleichKopf .wert { display: inline-block; padding: 2px 8px; border-radius: 99px; font: 600 11.5px Manrope, Inter, sans-serif; background: #3d5a2a; }
.vergleichKopf .wert.giftig, .vergleichKopf .wert.toedlich { background: var(--gift); } .vergleichKopf .wert.ungeniessbar { background: #6a5a3a; }
.vergleichTafel { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 6px; }
.vergleichTafel th, .vergleichTafel td { text-align: left; vertical-align: top; padding: 5px 4px; border-top: 1px solid var(--rand); }
.vergleichTafel th { white-space: nowrap; font-weight: 600; width: 1%; } .vergleichTafel th svg.i { width: 15px; height: 15px; vertical-align: -3px; }
.vergleichTafel tr.ja th svg.i { color: #8fd36a; } .vergleichTafel tr.nein th svg.i, .vergleichTafel tr.nein b { color: #ff8f7f; } .vergleichTafel tr.selbst th svg.i { color: var(--pfiff); }
.vergleichTafel small { opacity: .75; }
.vergleich .unterTitel { font: 600 12px 'Barlow Condensed', Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--pfiff); margin: 8px 0 2px; }
.schluessel .bestimmErgebnis { text-align: left; }
.bestimmErgebnis img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; flex: none; }
.bestimmErgebnis small { display: block; font-size: 12px; opacity: .8; margin-top: 3px; } .bestimmErgebnis small svg.i { width: 13px; height: 13px; vertical-align: -2px; }

/* Pilzbuch: dein eigenes Foto, Fortschritt, Filter */
.buchFortschritt { margin: -4px 0 10px; } .buchFortschritt small { font-size: 12.5px; opacity: .85; }
.buchFilter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.buchFilter button { padding: 6px 12px; font-size: 13px; border-radius: 99px; } .buchFilter button.an { background: rgba(197, 145, 75, .22); border-color: var(--pfiff); }
.buchKarte .eigenMarke { position: absolute; left: 6px; top: 6px; display: inline-flex; gap: 4px; align-items: center; font: 600 11px Manrope, Inter, sans-serif; padding: 2px 7px; border-radius: 99px; background: rgba(15, 43, 34, .82); }
.buchKarte .eigenMarke svg.i { width: 12px; height: 12px; }
.buchDetail .eigenFoto img { border: 2px solid var(--pfiff); }

/* how to play (start screen): free collecting, a Waldtour, or the Lernpfad */
.wahlFrage { font: 600 14px 'Barlow Condensed', Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #E2B47A; margin: 22px 0 8px; }
.aktionen .spielKnopf .kText { font-size: 18px; }
@media (max-width: 760px), (max-height: 560px) { .wahlFrage { margin: auto 0 6px; padding-top: 18px; } .wahlFrage + .aktionen { margin-top: 0; padding-top: 0; } .aktionen .spielKnopf { min-height: 50px; } }
/* the guide: the task and its step on top, small; the bar opens the tours */
.ziel { pointer-events: auto; cursor: pointer; }
.ziel .zielKopf { display: flex; align-items: center; gap: 5px; margin: 0 0 3px; font: 600 12px Manrope, Inter, sans-serif; color: var(--pfiff); opacity: 1; }
.ziel .zielKopf svg.i { width: 14px; height: 14px; flex: none; }
.ziel .zielText { min-width: 0; }
/* the labels next to the HUD's icons, where there is room */
@media (min-width: 1100px) and (pointer: fine) { .leiste .lbl { display: inline; } }
/* the Waldtouren window */
.tourIntro { margin: 2px 0 12px; line-height: 1.5; max-width: 720px; } .tourIntro b { color: #f2d6a8; }
.tourListe { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.tourKarte { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--rand); background: rgba(255, 255, 255, .05); }
.tourKarte p { margin: 0; font-size: 14px; line-height: 1.45; opacity: .9; flex: 1; }
.tourKarte button { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; }
.tourKarte button svg.i { width: 16px; height: 16px; }
.tourKarte.aktiv { border-color: var(--pfiff); background: rgba(197, 145, 75, .12); }
.tourKarte.frei { margin-bottom: 4px; }
.tourKarte.zu { opacity: .55; }
.tourKarte .hinweis { margin: 0; }
.tourKopf { display: flex; gap: 10px; align-items: flex-start; }
.tourKopf > svg.i { flex: none; width: 28px; height: 28px; color: var(--pfiff); margin-top: 2px; }
.tourKopf b { font: 700 17px/1.25 Fraunces, Georgia, serif; }
.tourKopf small { display: flex; align-items: center; gap: 4px; font-size: 12px; opacity: .7; margin-top: 3px; } .tourKopf small svg.i { width: 13px; height: 13px; }
.tourMarke { display: inline-flex; align-items: center; gap: 3px; margin-left: 8px; padding: 1px 7px; border-radius: 99px; font: 600 11px Manrope, Inter, sans-serif; vertical-align: 2px; background: rgba(197, 145, 75, .25); color: #f2d6a8; }
.tourMarke.jetzt { background: var(--pfiff); color: #1c160c; }
.tourMarke.fertig { background: rgba(143, 211, 106, .18); color: #8fd36a; } .tourMarke svg.i { width: 11px; height: 11px; }
ol.tourSchritte { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: 14px; }
ol.tourSchritte li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; opacity: .65; }
ol.tourSchritte li svg.i { flex: none; width: 16px; height: 16px; margin-top: 2px; }
ol.tourSchritte li.fertig { opacity: .8; } ol.tourSchritte li.fertig svg.i { color: #8fd36a; }
ol.tourSchritte li.jetzt { opacity: 1; font-weight: 600; } ol.tourSchritte li.jetzt svg.i { color: var(--pfiff); }
ol.tourSchritte small { display: block; font-weight: 400; font-size: 12.5px; opacity: .8; margin-top: 1px; }
.fund .tourHinweis { margin: 8px 0 0; font-size: 13px; }

/* Bestimmen step by step (fund.js): one question as a card, why it matters, the tool it needs, drawings of the answers */
.schritt { padding: 12px; margin: 4px 0 8px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--rand); }
.schrittNr { font: 600 12px 'Barlow Condensed', Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--pfiff); margin-bottom: 2px; }
.schluessel .schritt .frage { font: 700 17px/1.3 Fraunces, Georgia, serif; margin: 0 0 6px; }
.warum { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 10px; font-size: 13px; line-height: 1.45; opacity: .9; }
.warum svg.i { flex: none; width: 16px; height: 16px; color: var(--pfiff); margin-top: 1px; } .warum b { color: #f2d6a8; }
.tun { padding: 10px; margin: 0 0 10px; border-radius: 10px; background: rgba(197, 145, 75, .14); border: 1px solid rgba(197, 145, 75, .5); }
.tun p { margin: 0 0 8px; font-size: 13.5px; line-height: 1.4; }
.tun button { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; padding: 9px 16px; animation: startPuls 2.8s ease-in-out infinite; }
.tun button.leise { animation: none; font-size: 13px; }
.gesehen { margin: 0 0 10px; padding: 8px 10px; border-left: 3px solid #8fd36a; background: rgba(143, 211, 106, .08); border-radius: 0 8px 8px 0; font-size: 13.5px; line-height: 1.4; }
.gesehen small { display: block; font: 600 11px Manrope, Inter, sans-serif; color: #8fd36a; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
.schritt > button.leise { display: inline-flex; gap: 6px; align-items: center; margin: 0 0 10px; font-size: 13px; padding: 6px 10px; }
.schluessel .antworten .spaeter { font-size: 12px; opacity: .65; }
.schluessel .antworten button:disabled { opacity: .45; }
.schluessel .antworten.mitBild { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.schluessel .antworten.mitBild .spaeter { grid-column: 1 / -1; }
.schluessel .antworten.mitBild button { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 6px; font-size: 13px; line-height: 1.3; }
@media (hover: hover) { .schluessel .antworten.mitBild button:not(:disabled):hover { border-color: var(--pfiff); } } /* (not on a phone: after a tap the tile under the finger would look chosen) */
svg.schnittbild { display: block; width: 100%; height: auto; max-height: 92px; border-radius: 6px; }
.pfad { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 6px; }
.pfad button { padding: 3px 9px; font-size: 12px; border-radius: 99px; border: 1px solid rgba(143, 211, 106, .45); color: #b8e69a; }
.pfad button::after { content: ' ›'; opacity: .6; }
.fundMehr { margin: 4px 0 10px; } .fundMehr > summary { cursor: pointer; display: flex; align-items: center; gap: 6px; font: 600 13px Manrope, Inter, sans-serif; color: var(--pfiff); padding: 6px 0; list-style: none; }
.fundMehr > summary::-webkit-details-marker { display: none; } .fundMehr > summary::after { content: '▾'; margin-left: 4px; } .fundMehr[open] > summary::after { content: '▴'; }
.fundMehr > summary svg.i { width: 16px; height: 16px; }
.bestimmErgebnis .vergleichKopf { margin: 4px 0 8px; }
.tourHinweis span > button { display: inline-flex; align-items: center; gap: 5px; margin: 6px 0 0; padding: 6px 12px; font-size: 13px; }
.fundText:empty { display: none; }
@media (max-width: 600px) {
  .schritt { padding: 9px; } .schluessel .schritt .frage { font-size: 15.5px; } .warum { font-size: 12.5px; }
  .schluessel .antworten.mitBild { grid-template-columns: 1fr 1fr; }
  svg.schnittbild { max-height: 64px; }
}
.gesehen b { color: #b8e69a; font-weight: 600; } .gesehen em { display: block; font-size: 12px; opacity: .7; margin-top: 3px; }
.schritt > button.leise.klein { font-size: 12px; padding: 3px 9px; margin: 0 0 8px; }
/* drawings with a real example beside them; "Bilder groß": one answer per row, the pictures big */
.schluessel .antworten.mitBild .bildGroesse { grid-column: 1 / -1; justify-self: end; flex-direction: row; padding: 3px 9px; font-size: 12px; }
.schluessel .antworten.mitBild .bilder { display: flex; gap: 4px; }
.schluessel .antworten.mitBild .bilder svg.schnittbild { flex: 1 1 0; min-width: 0; }
figure.beispiel { flex: 1 1 0; min-width: 0; margin: 0; position: relative; border-radius: 6px; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; }
figure.beispiel img { display: block; width: 100%; height: 100%; max-height: 92px; object-fit: contain; }
figure.beispiel figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1px 4px; font-size: 9.5px; line-height: 1.3; color: #3a2c1e; background: rgba(244, 240, 229, .85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.schluessel .antworten.mitBild.gross { grid-template-columns: 1fr; }
.schluessel .antworten.mitBild.gross svg.schnittbild, .schluessel .antworten.mitBild.gross figure.beispiel img { max-height: 190px; }
.schluessel .antworten.mitBild.gross button { font-size: 14px; }
.schluessel .antworten.mitBild.gross figure.beispiel figcaption { font-size: 11px; }
@media (max-width: 600px) { figure.beispiel img { max-height: 64px; } .schluessel .antworten.mitBild.gross svg.schnittbild, .schluessel .antworten.mitBild.gross figure.beispiel img { max-height: 150px; } }

/* playful, not a textbook: the "why" behind a "?", guess before a check, short tiles, quick questions in passing */
.schritt { position: relative; }
.frageHilfe { position: absolute; top: 8px; right: 8px; }
.frageHilfe > summary { list-style: none; cursor: pointer; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 14px Manrope, Inter, sans-serif; color: var(--pfiff); border: 1px solid rgba(197, 145, 75, .6); }
.frageHilfe > summary::-webkit-details-marker { display: none; }
.frageHilfe[open] { position: static; } .frageHilfe[open] > summary { position: absolute; top: 8px; right: 8px; background: rgba(197, 145, 75, .25); }
.frageHilfe p { margin: 0 0 10px; padding: 8px 10px; border-radius: 8px; background: rgba(197, 145, 75, .12); font-size: 13px; line-height: 1.45; }
.schluessel .schritt .frage { padding-right: 30px; }
.punkteChip { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 1px 7px; border-radius: 99px; background: rgba(233, 185, 73, .2); color: #f2d27a; letter-spacing: 0; }
.punkteChip svg.i { width: 11px; height: 11px; }
.tun { animation: none; } .tun p { margin: 0 0 6px; } .tun p small { display: block; opacity: .75; margin-top: 2px; }
.tun button.leise { animation: none; }
.kurzHinweis { font-size: 13px; margin: 0 0 8px; opacity: .85; }
.tippErgebnis { margin: 0 0 10px; padding: 7px 10px; border-radius: 8px; font-size: 13.5px; display: flex; gap: 6px; align-items: center; animation: rein .3s ease; }
.tippErgebnis svg.i { width: 16px; height: 16px; }
.tippErgebnis.ja { background: rgba(143, 211, 106, .16); color: #c8eeb0; } .tippErgebnis.nein { background: rgba(255, 122, 102, .14); color: #ffc0b4; }
.schluessel .antworten button b { font-weight: 700; }
.schluessel .antworten button small { display: block; font-weight: 400; font-size: 12px; opacity: .75; margin-top: 2px; }
.schluessel .antworten button.getippt { border-color: var(--pfiff); box-shadow: 0 0 0 1px var(--pfiff) inset; }
.schluessel .antworten:not(.mitBild) { display: flex; flex-direction: row; flex-wrap: wrap; }
.schluessel .antworten:not(.mitBild) > button:not(.bildGroesse) { flex: 1 1 140px; }
.schluessel .antworten:not(.mitBild) .bildGroesse { flex-basis: 100%; }
.schluessel .antworten .bildGroesse { order: 99; justify-self: end; align-self: flex-end; }
.passtChip { display: inline-flex; gap: 5px; align-items: center; margin: 2px 0 6px; padding: 3px 10px; border-radius: 99px; font: 600 13px Manrope, Inter, sans-serif; }
.passtChip svg.i { width: 14px; height: 14px; }
.passtChip.ja { background: rgba(143, 211, 106, .16); color: #b8e69a; } .passtChip.nein { background: rgba(255, 122, 102, .16); color: #ffb3a6; }
details.mehrInfo { margin: 6px 0; } details.mehrInfo > summary { cursor: pointer; display: flex; align-items: center; gap: 6px; font: 600 13px Manrope, Inter, sans-serif; color: var(--pfiff); padding: 4px 0; list-style: none; }
details.mehrInfo > summary::-webkit-details-marker { display: none; } details.mehrInfo > summary svg.i { width: 15px; height: 15px; }

/* discoveries, places, rewards (entdeckung.js): one or two words in the game's display type (Cinzel), a little picture,
   the points; the why on tapping. Cards head the column of messages; a place's name floats over the forest. */
#entdeckungen { position: fixed; top: max(16px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); z-index: 60; width: min(400px, calc(100vw - 32px)); pointer-events: none; display: grid; align-items: start; }
.entdeckung { grid-area: 1 / 1; position: relative; box-sizing: border-box; width: min(400px, 100%); pointer-events: none; text-align: center; padding: 14px 18px 16px; border-radius: 18px; background: radial-gradient(120% 90% at 50% 30%, rgba(24, 59, 50, .93), rgba(12, 32, 26, .93)); border: 1px solid rgba(197, 145, 75, .55); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); backdrop-filter: blur(6px); animation: entRein .55s cubic-bezier(.2, 1.2, .4, 1); transition: opacity .45s, transform .45s; }
.entdeckung .entZu, .entdeckung.mitMehr { pointer-events: auto; }
.entdeckung.gold { border-color: #e9b949; box-shadow: 0 0 0 1px #e9b94966, 0 0 34px rgba(233, 185, 73, .35), 0 16px 40px rgba(0, 0, 0, .45); }
.entdeckung.weg { opacity: 0; transform: translateY(-14px) scale(.97); }
@keyframes entRein { from { opacity: 0; transform: translateY(-10px) scale(.92); } }
.entZu { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; padding: 0; display: grid; place-items: center; border: 0; background: transparent; opacity: .7; }
.entZu:hover { opacity: 1; background: rgba(255, 255, 255, .1); } .entZu svg.i { width: 18px; height: 18px; }
.entKicker { display: flex; align-items: center; justify-content: center; gap: 10px; font: 600 13px 'Barlow Condensed', Inter, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--pfiff); }
.entKicker::before, .entKicker::after { content: ''; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.entKicker::after { transform: scaleX(-1); }
.entBuehne { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 56px; margin: 4px 0 6px; }
.entdeckung.ring .entBuehne { min-height: 118px; }
.entRing { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.entGras { fill: none; stroke: #3f6b33; stroke-width: 9; opacity: .55; stroke-dasharray: 700; stroke-dashoffset: 700; animation: entZiehen 1.1s .15s ease-out forwards; }
@keyframes entZiehen { to { stroke-dashoffset: 0; } }
.entPilz { opacity: 0; animation: entPop .35s calc(.25s + var(--i) * .06s) cubic-bezier(.2, 1.8, .4, 1) forwards; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes entPop { from { opacity: 0; scale: 0; } to { opacity: 1; scale: 1; } }
.entTitel { position: relative; font: 700 clamp(30px, 8.6vw, 40px)/1.12 Cinzel, Fraunces, Georgia, serif; color: #f2d27a; letter-spacing: .02em; text-shadow: 0 2px 0 #6b4322, 0 5px 14px rgba(0, 0, 0, .55); text-wrap: balance; }
.lang .entTitel { font-size: clamp(24px, 6.4vw, 30px); }
.entWort { display: inline-block; white-space: nowrap; }
.entTitel span span { display: inline-block; animation: entBuchstabe .6s calc(.1s + var(--i) * .035s) cubic-bezier(.2, .9, .3, 1) both; }
@keyframes entBuchstabe { from { opacity: 0; transform: translateY(10px); filter: blur(5px); } }
.entSymbol { margin-bottom: 6px; color: var(--pfiff); animation: entPop .45s cubic-bezier(.2, 1.6, .4, 1) both; } .entSymbol svg.i { width: 32px; height: 32px; }
.gold .entSymbol, .gold .entKicker { color: #e9b949; }
.entZeile { margin: 0 auto 8px; max-width: 32ch; font-size: 14px; line-height: 1.4; opacity: .9; animation: rein .5s .45s ease both; }
.entZeile b { color: var(--pfiff); }
.entPunkte { display: inline-block; padding: 2px 14px; border-radius: 999px; background: var(--pfiff); color: #1c160c; font: 700 18px/1.5 Cinzel, Manrope, sans-serif; animation: entPop .4s .6s cubic-bezier(.2, 1.8, .4, 1) both; }
.entMehr { display: flex; align-items: center; gap: 4px; margin: 12px auto 0; padding: 8px 14px; border-color: rgba(197, 145, 75, .6); }
.entMehr svg.i { width: 16px; height: 16px; }
.entInhalt { margin-top: 10px; text-align: left; animation: rein .35s ease; }
.entBild { display: block; width: min(200px, 60%); margin: 0 auto 8px; overflow: visible; }
.entJahr { fill: none; stroke: #c9b98f; stroke-width: 1.4; stroke-dasharray: 3 4; opacity: 0; transform-box: view-box; transform-origin: 90px 70px; animation: entWachsen .6s calc(var(--i) * .45s) ease-out forwards; }
@keyframes entWachsen { from { opacity: 0; scale: .3; } to { opacity: .7; scale: 1; } }
.entGrasBand { fill: none; stroke: #2f5a28; stroke-width: 11; opacity: 0; animation: entAn .6s 1.6s ease forwards; }
.entRandPilz { opacity: 0; animation: entAn .4s 1.9s ease forwards; }
.entPfeil { fill: none; stroke: var(--pfiff); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; animation: entAn .5s .9s ease forwards; }
@keyframes entAn { to { opacity: 1; } }
.entBildText { font: 600 10px 'Barlow Condensed', Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; fill: #e9e0c8; text-anchor: middle; }
.entBildText.rechts { text-anchor: end; fill: var(--pfiff); }
.entZeilen { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; font-size: 14px; line-height: 1.35; }
.entZeilen li { display: flex; gap: 8px; align-items: flex-start; } .entZeilen svg.i { width: 18px; height: 18px; color: var(--pfiff); flex: none; margin-top: 1px; }
.entZeilen b { color: var(--pfiff); }
.entdeckung .box { font-size: 13px; }
.entSage { margin-top: 8px; text-align: center; font: 500 19px Caveat, cursive; opacity: .85; }
/* a new habitat: guess who lives here (three photos), then its trees and its mushrooms */
.entFrage { margin: 4px 0 8px; font: 700 15px Cinzel, Fraunces, serif; color: #f2d27a; text-align: center; }
.entFrage small { display: block; margin-top: 2px; font: 500 12px Inter, sans-serif; color: var(--papier); opacity: .7; }
.entWahl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.entFotoKnopf { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 4px 8px; font-size: 12px; line-height: 1.2; transition: transform .15s, border-color .2s, background .2s; }
.entFotoKnopf:not(:disabled):hover { transform: translateY(-2px); border-color: var(--pfiff); }
.entFotoKnopf:disabled { opacity: .55; cursor: default; } .entFotoKnopf.ja { opacity: 1; border-color: #8fd36a; background: rgba(143, 211, 106, .18); } .entFotoKnopf.nein { opacity: 1; border-color: #ff7a66; background: rgba(255, 122, 102, .18); }
.entFoto { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: rgba(255, 255, 255, .08); border: 2px solid rgba(197, 145, 75, .5); }
.entFoto img { width: 100%; height: 100%; object-fit: cover; } .entFoto svg.i { width: 28px; height: 28px; opacity: .6; }
.entFoto.schatten { background: rgba(0, 0, 0, .35); border-style: dashed; border-color: rgba(244, 240, 229, .25); } .entFoto.schatten svg.i { opacity: .25; }
.entFotoName { text-align: center; }
.entBewohner { margin-top: 12px; animation: rein .4s ease; }
.entBaeume { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 10px; }
.entBaum { position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 6px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: 13px; overflow: hidden; }
.entBaum svg.i { width: 15px; height: 15px; color: #8fb879; }
.entBaum i { position: absolute; left: 0; bottom: 0; height: 2px; width: var(--a); background: #8fb879; }
.entGitter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 4px; }
.entFotoKlein { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; line-height: 1.2; }
.entFotoKlein .entFoto { width: 50px; height: 50px; }
.entInfo { margin-top: 10px; font-size: 13px; line-height: 1.4; opacity: .85; text-align: center; }
.entCredits { margin-top: 8px; font-size: 10px; opacity: .5; text-align: center; }
.entdeckung.auf { max-height: calc(100vh - 32px); overflow-y: auto; }
/* a place's name over the forest, no card: it rises out of the haze and fades */
#ortTitel { position: fixed; top: 30%; left: 50%; transform: translateX(-50%); z-index: 20; width: min(640px, calc(100vw - 32px)); pointer-events: none; display: grid; }
.ortTitel { grid-area: 1 / 1; text-align: center; animation: rein .6s ease; transition: opacity .6s, transform .6s; }
.ortTitel .entTitel { font-size: clamp(30px, 7vw, 46px); color: #f4f0e5; text-shadow: 0 2px 2px rgba(0, 0, 0, .5), 0 0 24px rgba(0, 0, 0, .55); }
.ortTitel .entKicker { text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.ortTitel .entZeile { margin-top: 6px; text-shadow: 0 1px 6px rgba(0, 0, 0, .9); }
.ortTitel.weg { opacity: 0; transform: translateY(-8px); }
.imFund #ortTitel, .imFund #entdeckungen { display: none; }
@media (prefers-reduced-motion: reduce) { .entdeckung *, .entdeckung, .ortTitel, .ortTitel * { animation-duration: .01s !important; animation-delay: 0s !important; } }

/* the sprint "Korb oder Dose?" */
.sprintUhr { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-bottom: 6px; }
.sprintUhr i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #8fd36a, var(--pfiff)); transition: width .1s linear; }
.sprintUhr.knapp i { background: #e0574a; animation: puls .6s ease infinite; }
.sprintZeit { margin-left: auto; font-variant-numeric: tabular-nums; } .sprintRekord.neu { color: #e9b949; animation: puls .8s ease infinite; }
.sprintFoto { position: relative; }
.sprintUrteil { position: absolute; inset: 0; display: none; place-items: center; align-content: center; text-align: center; padding: 12px; font: 600 18px Manrope, Inter, sans-serif; }
.sprintUrteil.gut, .sprintUrteil.schlecht { display: grid; }
.sprintUrteil.gut { background: #8fd36a33; } .sprintUrteil.gut svg.i { width: 64px; height: 64px; color: #b8e69a; }
.sprintUrteil.schlecht { background: rgba(15, 43, 34, .82); } .sprintUrteil.toedlich { background: rgba(120, 20, 15, .85); }
.sprintUrteil small { display: block; font: 500 14px Inter, sans-serif; opacity: .85; margin-top: 4px; }
.sprint .optionen.zwei .option { padding: 18px 14px; font-size: 20px; display: flex; gap: 8px; align-items: center; justify-content: center; }
.sprint .option.inKorb { border-color: #8fd36a88; } .sprint .option.inDose { border-color: #ff7a6688; }
.sprintGross { font: 800 64px/1 Fraunces, Georgia, serif; color: #e9b949; margin: 8px 0; }
.sprintRekord { opacity: .9; }
.sprintFehler { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; text-align: left; }
.sprintFehler li { border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, .05); border: 1px solid var(--rand); }
.sprintFehler li.inDose { border-color: #ff7a6688; } .sprintFehler img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.sprintFehler span { display: block; padding: 6px 8px; } .sprintFehler small { display: block; opacity: .75; }
