/* 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 12px '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 main menu (design mock-up: logo top left, the menu as a column of buttons over a forest photo) */
.start { position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; justify-content: center; padding: max(24px, env(safe-area-inset-top)) clamp(18px, 5vw, 64px) 24px; overflow: auto;
  background: linear-gradient(100deg, rgba(10, 30, 24, .9) 0%, rgba(10, 30, 24, .62) 38%, rgba(10, 30, 24, .08) 70%), url('assets/brand/bilder/menue.jpg') 62% center / cover no-repeat, var(--moos-dunkel); }
@media (max-width: 700px) { .start { background-image: linear-gradient(180deg, rgba(10, 30, 24, .55), rgba(10, 30, 24, .92) 55%), url('assets/brand/bilder/menue-klein.jpg'); background-position: center, center 30%; } }
.menue { max-width: 470px; }
.marke { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.marke .brandmark { width: 78px; height: 78px; flex: none; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .35)); }
.start h1 { font: 800 clamp(40px, 6vw, 58px) Manrope, Inter, sans-serif; margin: 0; letter-spacing: -.02em; line-height: 1; color: var(--papier); text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.start .claim { font: 500 14px Inter, sans-serif; letter-spacing: .2em; margin-top: 8px; opacity: .9; }
.start .intro { line-height: 1.55; opacity: .9; margin: 0 0 14px; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.stand { font-size: 14px; margin: 0 0 12px; min-height: 18px; }
.menueKnoepfe { display: flex; flex-direction: column; gap: 10px; max-width: 300px; }
.menueKnopf { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; font-size: 17px; text-align: left; border-radius: 10px;
  background: rgba(20, 26, 20, .62); border: 1px solid rgba(244, 240, 229, .16); backdrop-filter: blur(8px); box-shadow: 0 6px 22px rgba(0, 0, 0, .25); }
.menueKnopf span { flex: 1; }
.menueKnopf .ico { width: 22px; height: 22px; } .menueKnopf .ico.weiter { width: 16px; height: 16px; opacity: .8; }
.menueKnopf.haupt { background: linear-gradient(180deg, #d09c56, #b8833f); color: var(--papier); border-color: rgba(255, 230, 190, .35); }
.menueKnopf.haupt:hover { background: linear-gradient(180deg, #dcaa64, #c28c47); }
.menueKnopf:not(.haupt):hover { background: rgba(30, 40, 30, .75); }
.einstPanel { display: flex; flex-direction: column; gap: 10px; max-width: 300px; 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; }
.startFuss { position: absolute; left: clamp(18px, 5vw, 64px); right: 18px; bottom: max(12px, env(safe-area-inset-bottom)); display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; font-size: 11px; opacity: .75; }
.startFuss .klein { max-width: 420px; } .startFuss a { color: inherit; }
@media (max-height: 640px), (max-width: 700px) { .startFuss { position: static; margin-top: 18px; flex-direction: column; align-items: flex-start; } }
.ladeText { font-size: 13px; opacity: .7; margin-top: 10px; min-height: 18px; }
.startWetter { font-size: 14px; margin-top: 8px; min-height: 20px; }
.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; 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: 96px; left: 50%; transform: translateX(-50%); 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; }
@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; bottom: max(130px, calc(env(safe-area-inset-bottom) + 110px)); } 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: 30px; height: 30px; border-radius: 50%; background: var(--pfiff); color: #2a2110; font-size: 15px; transition: transform .1s linear; }
.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; } }

/* 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: 20px; margin: 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; }
.karte canvas { height: 100%; max-height: calc(100vh - 140px); aspect-ratio: 1; max-width: 100%; border-radius: 10px; cursor: pointer; }
.legende { font-size: 13px; display: flex; flex-direction: column; gap: 5px; overflow: auto; }
.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; }
@media (max-width: 760px) { .karteBody { flex-direction: column; } .legende { flex-direction: row; flex-wrap: wrap; gap: 4px 10px; font-size: 11px; } .karte canvas { max-height: 62vh; align-self: center; } }

.fund { right: 16px; bottom: 16px; top: 16px; width: min(400px, calc(100vw - 32px)); overflow: auto; display: flex; flex-direction: column; }
.werkzeuge { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.werkzeuge button { padding: 7px 10px; font-size: 13px; }
.notizen { margin: 0 0 10px; padding-left: 18px; font-size: 13px; line-height: 1.45; opacity: .92; }
.notizen:empty { display: none; }
.schluessel { border-top: 1px solid var(--rand); padding-top: 10px; 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; }
@media (max-width: 600px) { .fund { left: 8px; right: 8px; bottom: 8px; top: auto; max-height: 52vh; width: auto; padding: 12px; } .fundText { font-size: 14px; margin: 8px 0; } }

.optPanel { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(480px, calc(100vw - 24px)); max-height: calc(100vh - 32px); overflow: auto; }
.optPanel h3 { font: 700 15px Manrope, Inter, sans-serif; margin: 16px 0 6px; color: var(--pfiff); }
.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=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 h3 { font: 700 15px Manrope, Inter, sans-serif; margin: 14px 0 6px; }
.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: 28px 1fr auto; gap: 10px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); margin-bottom: 8px; }
.beratung .sym { font-size: 20px; }
.beratung .name { font: 700 16px Manrope, Inter, sans-serif; }
.beratung .name i { font-weight: 400; opacity: .7; font-size: 13px; }
.beratung .urteil { font-size: 13px; margin: 2px 0 6px; opacity: .9; }
.beratung ul { margin: 4px 0; padding-left: 18px; font-size: 13px; line-height: 1.45; opacity: .9; }
.beratung .verwechslung { font-size: 13px; margin-top: 6px; line-height: 1.45; background: rgba(242, 182, 50, .1); border-radius: 8px; padding: 6px 8px; }
.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 15px Manrope, Inter, sans-serif; }
.beratung .warnung { background: rgba(155, 44, 34, .35); border: 1px solid #c4544a; border-radius: 12px; padding: 12px; line-height: 1.5; font-size: 14px; margin-bottom: 10px; }
.beratung .summe { font: 600 16px Manrope, Inter, sans-serif; margin-top: 10px; }
.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); }
img.schatten { filter: brightness(0) blur(2px); opacity: .55; }
.buchDetail img { width: 100%; max-height: 360px; object-fit: cover; border-radius: 12px; }
.buchDetail figure { margin: 0 0 10px; }
.buchDetail figcaption { font-size: 11px; opacity: .7; margin-top: 4px; }
.buchDetail figcaption a { color: inherit; }
.buchDetail h3 { font: 700 15px Manrope, Inter, sans-serif; margin: 16px 0 6px; color: var(--pfiff); }
.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: 16px 0 2px; }
.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); }
.lernen .lektion.zu { opacity: .45; }
.lernen .lernText p { line-height: 1.55; margin: 6px 0; }
.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 { color: var(--pfiff); }
.panel.lernen, .panel.pilzbuch { z-index: 40; }
.lernKarte .verwechslung { font-size: 13px; line-height: 1.4; margin-top: 6px; }

.panel .titel, .karteKopf .titel { font-family: Fraunces, Georgia, serif; }

/* 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; opacity: .5; }
.abz.hat { opacity: 1; 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; }
#belohnungen { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 60; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.belohnung { background: linear-gradient(180deg, #d09c56, #a87634); color: #1c160c; padding: 12px 18px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); text-align: center; animation: herein .45s cubic-bezier(.2, 1.4, .4, 1); transition: opacity .5s, transform .5s; }
.belohnung.weg { opacity: 0; transform: translateY(-14px); }
@keyframes herein { from { transform: translateY(-30px) scale(.8); opacity: 0; } }
.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; }
.belohnung svg.i.gross { display: block; width: 30px; height: 30px; margin: 0 auto 4px; }
.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; }
.belohnung.legende { background: linear-gradient(180deg, #f2d27a, #c5914b); }
