/* Shroomle – Oberfläche */
:root {
  --bg: #070b18; --panel: rgba(14, 20, 28, .86); --panel2: rgba(28, 36, 44, .8);
  --rand: rgba(200, 220, 180, .14); --text: #f2ecdc; --leise: #a9b3a2;
  --gold: #ffe08a; --gut: #8fe07a; --schlecht: #ff6a6a; --warn: #ffb347;
  --f-display: 'Fraunces', Georgia, serif; --f-ui: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--text); font: 600 15px/1.45 var(--f-ui); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; margin: 0 0 .4em; }
.leise { color: var(--leise); }
.gold { color: var(--gold); }
.sporen-ico { width: 1.1em; height: 1.1em; vertical-align: -.2em; flex: none; }
.ess-ico { width: 1.2em; height: 1.2em; vertical-align: -.25em; flex: none; }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--rand); background: var(--panel2); cursor: pointer; font-weight: 800; transition: transform .15s, background .2s, box-shadow .2s; }
.btn:hover:not(:disabled) { transform: translateY(-1px); background: rgba(50, 62, 60, .9); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.haupt { background: linear-gradient(180deg, #e8b85a, #b07a2a); color: #1e1408; border-color: #ffd27a; box-shadow: 0 4px 16px rgba(255, 180, 70, .3); }
.btn.haupt:hover:not(:disabled) { background: linear-gradient(180deg, #f6cb70, #c48a34); }
.btn.gross { padding: 14px 24px; font-size: 1.1rem; }
.btn.gefahr { border-color: #ff6a6a; color: #ffb0b0; }
.leise-btn { background: transparent; font-weight: 700; color: var(--leise); }
.preis { display: inline-flex; align-items: center; gap: 2px; color: var(--gold); }
.x { position: absolute; top: 10px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--rand); background: rgba(0, 0, 0, .35); font-size: 22px; line-height: 1; cursor: pointer; z-index: 5; }
.x:hover { background: rgba(255, 255, 255, .1); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.chip { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--rand); background: rgba(0, 0, 0, .25); cursor: pointer; font-weight: 800; font-size: 13px; }
.chip.an { background: #e8b85a; color: #1e1408; border-color: #ffd27a; }

/* HUD */
.hud { position: fixed; top: 0; left: 0; right: 0; z-index: 3000; display: flex; align-items: center; gap: 10px; padding: 10px max(14px, env(safe-area-inset-left)); background: linear-gradient(180deg, rgba(4, 7, 14, .85), rgba(4, 7, 14, 0)); pointer-events: none; flex-wrap: wrap; }
.hud > * { pointer-events: auto; }
.logo { font: 700 1.6rem/1 var(--f-display); letter-spacing: .02em; background: linear-gradient(180deg, #fff3c8, #e8b85a 60%, #c4762a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 6px rgba(255, 190, 90, .35)); }
.hud-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 12px; border: 1px solid var(--rand); background: rgba(10, 14, 20, .65); cursor: pointer; font-weight: 800; font-size: 14px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .2s; }
.hud-btn svg { width: 18px; height: 18px; }
.hud-btn:hover, .hud-btn.an { background: rgba(232, 184, 90, .22); border-color: rgba(255, 210, 122, .5); }
.hud-btn .badge { font-style: normal; font-size: 11px; padding: 1px 6px; border-radius: 99px; background: rgba(255, 224, 138, .2); color: var(--gold); }
.hud-mond { width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 0 12px rgba(220, 230, 255, .35); }
.hud-mond svg { width: 100%; height: 100%; display: block; }
.hud-serie { display: none; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 99px; background: rgba(10, 14, 20, .7); border: 1px solid rgba(255, 170, 80, .4); color: #ffb347; font-weight: 900; }
.hud-serie svg { width: 16px; height: 16px; }
.hud-serie.an { display: inline-flex; animation: serieRein .4s ease-out; }
.hud-serie.heiss { color: #ff8a3a; box-shadow: 0 0 14px rgba(255, 140, 60, .5); }
.hud-serie.lodernd { color: #fff; background: linear-gradient(90deg, #ff5a2a, #ffb347); animation: lodern 1s ease-in-out infinite; }
@keyframes serieRein { from { transform: scale(1.6); } }
@keyframes lodern { 50% { box-shadow: 0 0 24px rgba(255, 140, 60, .9); } }
.hud-rechts { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hud-sporen { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: rgba(10, 14, 20, .7); border: 1px solid rgba(255, 224, 138, .35); font-weight: 900; font-size: 16px; color: var(--gold); min-width: 80px; }
.hud-sporen.puls { animation: puls .3s ease-out; }
@keyframes puls { 40% { transform: scale(1.15); box-shadow: 0 0 18px rgba(255, 224, 138, .6); } }
.hud-level { display: inline-flex; align-items: center; gap: 8px; --xp: 0; }
.hud-level > b { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 16px/1 var(--f-display); background: radial-gradient(closest-side, #141c18 78%, transparent 80% 100%), conic-gradient(#8fe07a calc(var(--xp) * 360deg), rgba(255, 255, 255, .12) 0); }
.hud-lv-text { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--leise); }
.hud-xp { width: 90px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.hud-xp i { display: block; height: 100%; background: linear-gradient(90deg, #6fc05a, #c8ff8a); transition: width .6s; }
.hud-nav { display: flex; gap: 6px; width: 100%; justify-content: center; }
@media (min-width: 1100px) { .hud-nav { width: auto; order: 0; } .hud-rechts { order: 2; } }

/* Aufträge */
.auftraege { position: fixed; right: max(12px, env(safe-area-inset-right)); top: 112px; z-index: 2900; width: min(290px, 70vw); background: var(--panel); border: 1px solid var(--rand); border-radius: 14px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden; }
@media (min-width: 1100px) { .auftraege { top: 70px; } }
.auftraege-kopf { width: 100%; text-align: left; padding: 9px 12px; background: none; border: 0; font: 700 15px/1 var(--f-display); cursor: pointer; display: flex; justify-content: space-between; }
.auftraege.zu .auftraege-liste { display: none; }
.auftraege.zu .auftraege-kopf span { transform: rotate(-90deg); }
.auftraege-liste { list-style: none; margin: 0; padding: 0 10px 10px; display: flex; flex-direction: column; gap: 8px; }
.auftraege-liste li { display: grid; gap: 4px; font-size: 13px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.auftraege-liste li.fertig { background: rgba(143, 224, 122, .18); animation: puls .5s; }
.a-balken { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.a-balken i { display: block; height: 100%; background: linear-gradient(90deg, #e8b85a, #ffe08a); transition: width .5s; }
.a-lohn { display: flex; align-items: center; gap: 3px; font-size: 12px; color: var(--leise); }
@media (max-width: 700px) { .auftraege { top: 148px; right: 10px; width: min(240px, 64vw); } .hud-nav { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; } .hud-btn span { font-size: 13px; } .seite-inhalt { padding-top: 160px; } .seite-zu { top: 150px; } }

/* Seiten (Atlas, Lexikon, Ausrüstung) */
.seite-offen .auftraege { display: none; }
.seite { position: fixed; inset: 0; z-index: 2500; background: radial-gradient(1200px 700px at 20% 0%, rgba(60, 90, 70, .35), transparent 60%), rgba(6, 10, 12, .94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.seite.an { opacity: 1; pointer-events: auto; }
.seite-zu { top: 120px; right: 16px; position: fixed; }
@media (min-width: 1100px) { .seite-zu { top: 70px; } }
.seite-inhalt { position: absolute; inset: 0; overflow-y: auto; padding: 130px max(16px, 4vw) 60px; }
@media (min-width: 1100px) { .seite-inhalt { padding-top: 80px; } }
.seite-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; }
.seite-kopf h2 { font-size: 2rem; }
.fortschritt-gross { width: min(360px, 100%); height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.fortschritt-gross i { display: block; height: 100%; background: linear-gradient(90deg, #6fc05a, #ffe08a); }
.legende { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; font-size: 12px; }
.ve-chip { padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .06); color: var(--leise); }
.ve-chip.ve-mond { color: #b8dcff; } .ve-chip.ve-gluehen { color: #ffd0ff; } .ve-chip.ve-stern { color: #fff3a8; } .ve-chip.leuchtend { color: #8affe6; }
.atlas-stufe { margin-top: 26px; }
.atlas-stufe h3 { display: flex; align-items: center; gap: 10px; color: var(--selc); font-size: 1.3rem; border-bottom: 1px solid color-mix(in srgb, var(--selc) 30%, transparent); padding-bottom: 6px; }
.atlas-stufe h3 small { font: 800 13px var(--f-ui); color: var(--leise); }
.stufen-punkte { display: inline-flex; gap: 3px; }
.stufen-punkte i { width: 8px; height: 8px; border-radius: 50%; background: var(--selc); box-shadow: 0 0 6px var(--selc); }
.atlas-raster { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; padding: 12px 0; }
@media (max-width: 600px) { .atlas-raster .karte { --b: calc(var(--bm, 1) * 44vw) !important; } .atlas-raster { gap: 10px; justify-content: center; } }

/* Lexikon */
.lexikon { display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
@media (max-width: 800px) { .lexikon { grid-template-columns: 1fr; } .lex-liste ul { max-height: 30vh; } }
.lex-liste ul { list-style: none; margin: 8px 0 0; padding: 0; max-height: calc(100vh - 260px); overflow-y: auto; }
.lex-suche { width: 100%; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--rand); background: rgba(0, 0, 0, .35); color: var(--text); font: inherit; }
.lex-eintrag { width: 100%; display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 0; border-radius: 9px; background: none; cursor: pointer; text-align: left; }
.lex-eintrag small { margin-left: auto; color: var(--leise); }
.lex-eintrag:hover:not(:disabled), .lex-eintrag.an { background: rgba(232, 184, 90, .16); }
.lex-eintrag.gesperrt { opacity: .4; cursor: default; }
.lex-ess { width: 20px; display: inline-grid; place-items: center; }
.lex-detail { background: var(--panel); border: 1px solid var(--rand); border-radius: 18px; padding: 22px; }
.lex-kopf { display: grid; grid-template-columns: minmax(140px, 230px) 1fr; gap: 20px; align-items: center; }
@media (max-width: 600px) { .lex-kopf { grid-template-columns: 1fr; } }
.lex-bild { aspect-ratio: 1; border-radius: 16px; background: radial-gradient(circle at 50% 40%, #2e3a2c, #111811); padding: 10px; }
.lex-bild svg { width: 100%; height: 100%; }
.lex-nr { color: var(--leise); font-size: 13px; }
.lex-kopf h2 { font-size: 2.1rem; margin: 2px 0; }
.lex-latein { font: italic 600 1.1rem var(--f-display); color: #c9d2bf; margin: 0 0 10px; }
.lex-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.lex-badges > span { padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, .06); font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; gap: 5px; }
.badge-ess { color: var(--wc); border: 1px solid var(--wc); }
.badge-warn { color: var(--warn); }
.badge-sel { color: var(--selc); }
.lex-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 18px; }
.lex-raster section { background: rgba(255, 255, 255, .03); border-radius: 12px; padding: 12px 14px; }
.lex-raster h4 { color: var(--gold); font-size: 1rem; }
.lex-raster ul { margin: 0; padding-left: 18px; }
.lex-raster p { margin: 0 0 6px; }
.lex-raster dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; }
.lex-raster dt { color: var(--leise); }
.lex-raster dd { margin: 0; }
.kalender { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; }
.kalender span { text-align: center; padding: 6px 0; border-radius: 5px; background: rgba(255, 255, 255, .05); font-size: 12px; color: var(--leise); }
.kalender span.an { background: rgba(143, 224, 122, .3); color: #fff; }
.kalender span.jetzt { outline: 2px solid var(--gold); }
.doppel-liste { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.doppel { padding: 5px 10px; border-radius: 99px; border: 1px solid var(--wc, var(--rand)); background: none; color: var(--wc, var(--leise)); cursor: pointer; font-weight: 800; font-size: 13px; display: inline-flex; gap: 4px; align-items: center; }
.doppel.gesperrt { cursor: default; opacity: .5; }
.lex-leer { text-align: center; padding: 60px 20px; color: var(--leise); }
.hinweis-recht { font-size: 12px; color: var(--leise); opacity: .8; margin-top: 14px; }

/* Dialoge */
.dlg-hg { position: fixed; inset: 0; z-index: 4000; display: flex; align-items: center; justify-content: center; padding: 12px; background: rgba(2, 4, 8, .7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.dlg-hg.an { opacity: 1; }
.dlg { position: relative; max-width: min(1060px, 100%); max-height: calc(100dvh - 24px); overflow-y: auto; background: linear-gradient(180deg, #121a18, #0a0f0d); border: 1px solid var(--rand); border-radius: 20px; padding: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); transform: translateY(16px) scale(.97); transition: transform .3s cubic-bezier(.2, .9, .3, 1.15); }
.dlg-hg.an .dlg { transform: none; }

/* Bestimmen */
.dlg-best { width: min(1000px, 100%); padding: 0; }
.best { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 560px; }
@media (max-width: 800px) { .best { grid-template-columns: 1fr; } }
.buehne { position: relative; overflow: hidden; border-radius: 20px 0 0 20px; background: radial-gradient(60% 55% at 50% 40%, rgba(255, 200, 120, .22), transparent 70%), radial-gradient(circle at 50% 30%, #2a3442, #0c1218 75%); min-height: 420px; }
@media (max-width: 800px) { .buehne { border-radius: 20px 20px 0 0; min-height: 340px; } .best { min-height: 0; } .wahl-btn { padding: 11px 10px; font-size: 14px; } .werkzeug { min-width: 46px; padding: 7px; } .werkzeug small { display: none; } .buehne-pilz { bottom: 17%; } }
.buehne-boden { position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: radial-gradient(70% 90% at 50% 0%, #34442a, #182014 70%); }
.buehne-pilz { position: absolute; left: 8%; right: 8%; top: 6%; bottom: 14%; display: grid; place-items: end center; }
.buehne-pilz svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .5)); animation: buehneAtmen 5s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes buehneAtmen { 50% { transform: scale(1.01, .995); } }
.buehne-pilz .laubdecke { transition: transform .7s cubic-bezier(.3, .6, .3, 1), opacity .7s; transform-origin: 50% 100%; }
.buehne-pilz.freigelegt .laubdecke { transform: translate(40%, 30%) rotate(20deg) scale(.6); opacity: 0; }
.buehne-pilz.leuchtend svg { filter: drop-shadow(0 0 14px rgba(120, 255, 230, .9)); }
.werkzeuge { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; padding: 0 8px; }
.werkzeug { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 9px; min-width: 70px; border-radius: 12px; border: 1px solid rgba(255, 220, 160, .25); background: rgba(10, 14, 12, .75); cursor: pointer; transition: transform .15s, background .2s; }
.werkzeug span { font-size: 20px; line-height: 1; }
.werkzeug small { font-size: 11px; font-weight: 800; color: var(--leise); }
.werkzeug:hover { transform: translateY(-2px); background: rgba(232, 184, 90, .2); }
.werkzeug.benutzt { border-color: rgba(143, 224, 122, .5); }
.einblick { position: absolute; right: 12px; top: 12px; width: 46%; max-width: 230px; padding: 10px; border-radius: 16px; background: rgba(8, 10, 10, .9); border: 1px solid rgba(255, 220, 160, .3); opacity: 0; transform: scale(.85); transform-origin: top right; transition: opacity .25s, transform .3s cubic-bezier(.2, .9, .3, 1.2); pointer-events: none; text-align: center; font-size: 13px; }
.einblick.an { opacity: 1; transform: none; pointer-events: auto; cursor: pointer; }
.einblick svg { width: 100%; height: auto; max-height: 160px; }
.einblick p { margin: 6px 0 0; }
.einblick .verfaerbung { opacity: 0; transition: opacity 1.6s ease-in; }
.einblick.verfaerbt .verfaerbung { opacity: .85; }
.duft { display: flex; justify-content: center; gap: 6px; font-size: 26px; color: #d8c8a0; height: 60px; align-items: end; }
.duft span { animation: duft 1.6s ease-out infinite; opacity: 0; } .duft span:nth-child(2) { animation-delay: .3s; } .duft span:nth-child(3) { animation-delay: .6s; }
@keyframes duft { 0% { transform: translateY(10px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(-30px); opacity: 0; } }
.abdruck { width: 120px; height: 120px; margin: 0 auto; border-radius: 50%; background: repeating-conic-gradient(var(--sp) 0 2.5deg, transparent 2.5deg 5deg), #1a1a1a; -webkit-mask: radial-gradient(circle, transparent 10%, #000 11% 70%, transparent 72%); mask: radial-gradient(circle, transparent 10%, #000 11% 70%, transparent 72%); }
.sporenabdruck { background: #2a2a2a; }
.best-seite { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.best-kopf h3 { font-size: 1.6rem; margin: 0; }
.best-kopf p { margin: 2px 0 0; }
.leucht-text { color: #8affe6; text-shadow: 0 0 8px rgba(120, 255, 230, .8); }
.best-tipp { margin: 0; font-size: 13px; color: var(--leise); }
.befunde { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.befunde li { display: grid; gap: 1px; padding: 7px 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); font-size: 13.5px; }
.befunde b { color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.frage { margin-top: auto; font: 700 1.1rem var(--f-display); }
.wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wahl-btn { display: flex; align-items: center; gap: 8px; padding: 13px 12px; border-radius: 14px; border: 2px solid color-mix(in srgb, var(--wc) 60%, transparent); background: color-mix(in srgb, var(--wc) 12%, #0c100e); color: var(--wc); font-weight: 900; font-size: 15px; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s; }
.wahl-btn .ess-ico { width: 24px; height: 24px; }
.wahl-btn:hover:not(:disabled) { transform: translateY(-2px); background: color-mix(in srgb, var(--wc) 25%, #0c100e); box-shadow: 0 6px 20px color-mix(in srgb, var(--wc) 35%, transparent); }
.wahl-btn:disabled { opacity: .35; cursor: not-allowed; }
.best-unten { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.ergebnis { display: flex; flex-direction: column; gap: 8px; animation: ergebnisRein .45s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes ergebnisRein { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.erg-titel { font: 700 2rem/1 var(--f-display); }
.e-richtig .erg-titel { color: var(--gut); text-shadow: 0 0 20px rgba(143, 224, 122, .5); }
.e-fast .erg-titel { color: var(--warn); }
.e-falsch .erg-titel { color: var(--schlecht); }
.erg-name b { font: 700 1.3rem var(--f-display); } .erg-name i { color: var(--leise); }
.erg-ess { color: var(--wc); font-weight: 900; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.erg-ess small { color: var(--warn); }
.erg-hinweis { margin: 0; padding: 10px 12px; border-left: 3px solid var(--gold); background: rgba(255, 224, 138, .07); border-radius: 0 10px 10px 0; }
.erg-gift { margin: 0; color: #ffb0b0; font-size: 13.5px; }
.warnbox, .okbox { padding: 8px 12px; border-radius: 10px; font-weight: 800; font-size: 13.5px; }
.warnbox { background: rgba(255, 90, 90, .15); color: #ffb0b0; } .okbox { background: rgba(143, 224, 122, .14); color: #c8f5b8; }
.erg-lohn { display: flex; align-items: center; gap: 14px; font-weight: 900; color: var(--leise); }
.erg-lohn .gross { font-size: 1.6rem; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; }
.erg-teile { font-size: 12px; color: var(--leise); }
.erg-fund .neu { color: #8affe6; }
.kenner { padding: 12px; border-radius: 14px; background: rgba(255, 224, 138, .07); border: 1px dashed rgba(255, 224, 138, .35); }
.kenner-titel { font-weight: 900; margin-bottom: 8px; display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.kenner-knoepfe { display: flex; flex-wrap: wrap; gap: 6px; }
.kenner-btn.ok { background: rgba(143, 224, 122, .3); border-color: var(--gut); }
.kenner-btn.nein { background: rgba(255, 90, 90, .25); border-color: var(--schlecht); }

/* Kartenlupe */
.dlg-lupe { width: min(820px, 100%); }
.lupe { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; }
@media (max-width: 700px) { .lupe { grid-template-columns: 1fr; justify-items: center; } }
.lupe-var { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.lupe-info h3 { font-size: 1.8rem; margin: 0; }
.lupe-werte { display: flex; gap: 10px; margin: 14px 0; }
.lupe-werte div { flex: 1; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .05); text-align: center; }
.lupe-werte b { display: block; font: 700 1.2rem var(--f-display); color: var(--gold); }
.lupe-werte span { font-size: 12px; color: var(--leise); }

/* Ausrüstung */
.gebiete { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 26px; }
.gebiet-karte { text-align: left; padding: 16px; border-radius: 16px; border: 2px solid var(--rand); cursor: pointer; display: grid; gap: 6px; min-height: 120px; align-content: end; background-size: cover; position: relative; overflow: hidden; }
.gebiet-karte b { font: 700 1.15rem var(--f-display); }
.gebiet-karte span { font-size: 13px; color: #d8dccf; }
.g-laub { background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .7)), radial-gradient(circle at 30% 30%, #4a3a1e, #1e1a10); }
.g-nadel { background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .7)), radial-gradient(circle at 30% 30%, #1e3a24, #0c1a10); }
.g-wiese { background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .7)), radial-gradient(circle at 30% 30%, #3a4a2a, #182214); }
.g-totholz { background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .7)), radial-gradient(circle at 30% 30%, #3a2a24, #140e0c); }
.gebiet-karte.an { border-color: var(--gold); box-shadow: 0 0 20px rgba(255, 224, 138, .3); }
.gebiet-karte.zu { filter: grayscale(.8) brightness(.6); cursor: not-allowed; }
.ausr-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.ausr { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--rand); }
.ausr-icon svg { width: 56px; height: 56px; }
.ausr-text { display: grid; gap: 2px; font-size: 13px; color: var(--leise); }
.ausr-text b { color: var(--text); font-size: 15px; }
.stufen { color: var(--gold); letter-spacing: .15em; }

/* Einstellungen, Kochen */
.dlg-einst { width: min(440px, 100%); }
.einst { display: grid; gap: 12px; }
.reihe { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 10px; }
.schalter { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.schalter input { width: 20px; height: 20px; accent-color: #e8b85a; }
.dlg-kochen { width: min(520px, 100%); text-align: center; }
.kochen { display: grid; gap: 12px; justify-items: center; }
.korb-liste { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; min-height: 60px; }
.korb-pilz { width: 64px; height: 64px; border-radius: 12px; background: radial-gradient(circle at 50% 40%, #2e3a2c, #111811); padding: 4px; }
.korb-pilz svg { width: 100%; height: 100%; }
.pfanne { width: 240px; }
.pfanne svg { width: 100%; overflow: visible; }
.pfanne .dampf { opacity: 0; }
.pfanne.brutzelt svg { animation: ruetteln .15s linear infinite; }
.pfanne.brutzelt .dampf { animation: dampf 1.2s ease-out infinite; }
@keyframes ruetteln { 50% { transform: translate(1px, -1px) rotate(.5deg); } }
@keyframes dampf { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-18px); } }
.gericht { animation: ergebnisRein .5s; display: grid; gap: 4px; }
.g-name { font: 700 1.4rem var(--f-display); color: var(--gold); }
.g-sterne { font-size: 2rem; color: #ffd45a; letter-spacing: .1em; } .g-sterne i { font-style: normal; color: rgba(255, 255, 255, .15); }
.g-lohn { font-weight: 900; font-size: 1.2rem; display: inline-flex; gap: 6px; justify-content: center; align-items: center; }

/* Zeremonie */
.zer { position: fixed; inset: 0; z-index: 5000; display: grid; place-items: center; background: radial-gradient(circle, rgba(10, 16, 14, .8), rgba(0, 0, 0, .95)); opacity: 0; transition: opacity .3s; cursor: pointer; overflow: hidden; }
.zer.an { opacity: 1; }
.zer-strahlen { position: absolute; left: 50%; top: 45%; width: 220vmax; height: 220vmax; transform: translate(-50%, -50%) scale(.3); background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--zf) 18%, transparent) 0 5deg, transparent 5deg 15deg); -webkit-mask: radial-gradient(circle, #000 0%, transparent 45%); mask: radial-gradient(circle, #000 0%, transparent 45%); opacity: 0; transition: opacity .6s, transform 1s cubic-bezier(.2, .9, .3, 1); }
.zer.offen .zer-strahlen { opacity: 1; transform: translate(-50%, -50%) scale(1); animation: strahlenDreh 30s linear infinite; }
@keyframes strahlenDreh { to { transform: translate(-50%, -50%) rotate(360deg); } }
.zer-box { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; padding: 20px; }
.zer-karte { margin-bottom: 10px; transform: scale(.5) translateY(80px); opacity: 0; transition: transform .7s cubic-bezier(.2, .9, .3, 1.3), opacity .4s; }
.zer.an .zer-karte { transform: none; opacity: 1; }
.zer-titel { font: 700 clamp(1.8rem, 5vw, 2.8rem)/1.1 var(--f-display); color: var(--zf); text-shadow: 0 0 30px color-mix(in srgb, var(--zf) 60%, transparent); opacity: 0; transform: translateY(10px); transition: .5s .5s; }
.zer-unter { font-size: 1.2rem; font-weight: 800; opacity: 0; transition: .5s .65s; }
.zer-text { color: var(--leise); opacity: 0; transition: .5s .8s; }
.zer-tipp { font-size: 12px; color: var(--leise); opacity: 0; transition: .5s 1.4s; margin-top: 10px; }
.zer.offen .zer-titel, .zer.offen .zer-unter, .zer.offen .zer-text, .zer.offen .zer-tipp { opacity: 1; transform: none; }
.zer.levelup .zer-titel { font-size: clamp(2.4rem, 8vw, 4.5rem); }

/* Effekte */
#fx { position: fixed; inset: 0; pointer-events: none; z-index: 6000; }
.spore { position: absolute; border-radius: 50%; box-shadow: 0 0 8px currentColor; }
.schwebe { position: absolute; transform: translate(-50%, -50%); font: 700 1.8rem var(--f-display); color: var(--gold); text-shadow: 0 2px 10px rgba(0, 0, 0, .6), 0 0 20px rgba(255, 224, 138, .5); animation: schweben 1.8s cubic-bezier(.2, .8, .3, 1) forwards; white-space: nowrap; }
.schwebe.fast { color: var(--warn); }
@keyframes schweben { 0% { opacity: 0; transform: translate(-50%, -20%) scale(.6); } 15% { opacity: 1; transform: translate(-50%, -60%) scale(1.15); } 100% { opacity: 0; transform: translate(-50%, -260%) scale(1); } }
.flieger { position: absolute; left: 0; top: 0; }
.flieger .sporen-ico { width: 22px; height: 22px; filter: drop-shadow(0 0 6px #ffe08a); }
#meldungen { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 5500; display: flex; flex-direction: column-reverse; gap: 8px; align-items: center; pointer-events: none; width: min(520px, 92vw); }
.meldung { padding: 10px 16px; border-radius: 14px; background: rgba(12, 18, 16, .94); border: 1px solid var(--rand); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); text-align: center; animation: meldungRein .4s cubic-bezier(.2, .9, .3, 1.2); transition: opacity .4s, transform .4s; }
.meldung .sporen-ico { margin: 0 2px; }
.meldung.gut { border-color: rgba(143, 224, 122, .5); }
.meldung.schlecht { border-color: rgba(255, 106, 106, .5); }
.meldung.weg { opacity: 0; transform: translateY(10px); }
@keyframes meldungRein { from { opacity: 0; transform: translateY(20px) scale(.9); } }

/* Tooltip */
#tooltip { position: fixed; left: 0; top: 0; z-index: 7000; max-width: 280px; padding: 6px 10px; border-radius: 9px; background: rgba(8, 12, 10, .95); border: 1px solid var(--rand); font-size: 13px; pointer-events: none; opacity: 0; transition: opacity .15s; }
#tooltip.an { opacity: 1; }

/* Start */
.start { position: fixed; inset: 0; z-index: 8000; display: grid; place-items: center; padding: 16px; background: radial-gradient(circle at 50% 30%, rgba(30, 44, 60, .85), rgba(3, 5, 10, .97) 70%); transition: opacity 1.2s, filter 1.2s; }
.start.weg { opacity: 0; filter: blur(8px); pointer-events: none; }
.start-box { max-width: 520px; text-align: center; display: grid; justify-items: center; gap: 8px; }
.start-pilz { width: 150px; height: 150px; animation: startSchweben 4s ease-in-out infinite; filter: drop-shadow(0 0 30px rgba(255, 120, 80, .3)); }
.start-pilz svg { width: 100%; height: 100%; }
@keyframes startSchweben { 50% { transform: translateY(-6px) rotate(-2deg); } }
.start h1 { font-size: clamp(3rem, 12vw, 5rem); margin: 0; background: linear-gradient(180deg, #fff3c8, #e8b85a 60%, #c4762a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.start-unter { margin: 0; font: italic 600 1.2rem var(--f-display); color: #c9d2bf; }
.start-text { color: var(--leise); margin: 6px 0 14px; }
.start-mond { color: #c8d4ff; font-size: 13px; }
.lade { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; background: var(--bg); color: var(--leise); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
