/* Beanlings Booster: Markt (01.11.2026, js/markt.js). Zeichenstil wie die Welt (STIL.md): Tuschekante #2a1f1a, flache Farben,
   harte versetzte Schatten, keine Verläufe, kein Glow. Bewegung nur transform/opacity, aus bei „Bewegung reduzieren“. */
.mk{--mk-tinte:#2a1f1a;--mk-papier:#f6edd6;--mk-gold:#f2c35b;--mk-gold-s:#c98a2a;--mk-holz:#8a5a32;--mk-tafel:#33271d}
.mk-gb{display:inline-flex;align-items:center;gap:4px;font-weight:800;white-space:nowrap}
.mk-gb-i{width:20px;height:20px;flex:0 0 20px}
.mk-gb.mk-gb-gross .mk-gb-i{width:34px;height:34px;flex-basis:34px}
.mk-gb.mk-gb-gross b{font-size:30px}
.mk-held{position:relative;margin:0 0 12px;border-radius:18px;overflow:hidden;border:3px solid var(--mk-tinte);box-shadow:4px 5px 0 #0007;background:#f3e3bf}
.mk-stand{display:block;width:100%;height:auto}
.mk-funki{position:absolute;left:44%;bottom:18%;width:22%;max-width:120px;cursor:pointer}
.mk-wippt{animation:mk-wipp 2.6s ease-in-out infinite;transform-origin:50% 90%}
@keyframes mk-wipp{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-4px) rotate(2deg)}}
.mk-beutel-chip{position:absolute;right:8px;top:8px;display:flex;align-items:center;gap:4px;min-height:44px;padding:3px 12px 3px 4px;border-radius:999px;
  border:2.5px solid var(--mk-tinte);background:var(--mk-papier);color:var(--mk-tinte);font-size:17px;font-weight:800;box-shadow:2px 2px 0 var(--mk-tinte);cursor:pointer}
.mk-beutel-i{width:36px;height:36px}
.mk-hinweis{margin:0 0 10px;padding:8px 12px;border-radius:12px;border:2px solid var(--mk-tinte);background:var(--mk-gold);color:var(--mk-tinte);font-weight:800}
.mk-warn{background:#5a2620!important;color:#fde1d6}
.mk-reiter{margin-bottom:10px}
.mk-gross{margin:6px 0;color:var(--mk-gold)}
.mk-stufe{margin:4px 0}
.mk-fort{height:16px;border-radius:999px;border:2.5px solid var(--mk-tinte);background:#24170f;overflow:hidden;margin:6px 0 10px}
.mk-fort i{display:block;height:100%;background:var(--mk-gold);border-radius:999px}
.mk-checks{list-style:none;margin:6px 0;padding:0}
.mk-checks li{display:flex;gap:8px;align-items:center;padding:6px 0;border-bottom:1px dashed #ffffff22}
.mk-checks li i{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;border:2px solid var(--mk-tinte);font-style:normal;font-weight:800;flex:0 0 26px}
.mk-checks li.ok i{background:#6fae4f;color:#fff}
.mk-checks li.nein i{background:#5b4632;color:#e2d2ad}
.mk-checks li.nein{opacity:.85}
.mk-ew-zeile{display:flex;gap:10px;align-items:flex-start;padding:8px 0;border-bottom:1px dashed #ffffff22;cursor:pointer;line-height:1.35}
.mk-ew-zeile input{width:24px;height:24px;flex:0 0 24px;margin-top:2px;accent-color:#f2c35b}
.mk-ew-zeile a{color:var(--mk-gold)}
.mk-feld{display:flex;flex-direction:column;gap:4px;margin:10px 0}
.mk-sel,.mk-zahl,.mk-filter input{min-height:44px;border-radius:12px;border:2.5px solid var(--mk-tinte);background:var(--mk-papier);color:var(--mk-tinte);font:inherit;font-weight:800;padding:4px 10px}
.mk-filter{margin:0 0 10px}
.mk-chips{display:flex;gap:6px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:none}
.mk-chips::-webkit-scrollbar{display:none}
.mk-chip{flex:0 0 auto;min-height:40px;padding:4px 12px;border-radius:999px;border:2.5px solid var(--mk-tinte);background:#45352a;color:var(--mk-papier);font:inherit;font-weight:800;cursor:pointer}
.mk-chip.an{background:var(--mk-gold);color:var(--mk-tinte)}
.mk-zeile{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.mk-zeile input[type=number]{width:84px}
.mk-gitter{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}
.mk-kachel{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:16px 6px 8px;border-radius:16px;border:3px solid var(--mk-tinte);
  background:#3a2c20;color:var(--mk-papier);box-shadow:3px 4px 0 #0007;cursor:pointer;font:inherit;overflow:hidden;min-width:0}
.mk-kachel:active{transform:translate(1px,1px);box-shadow:1px 2px 0 #0007}
.mk-markise{position:absolute;left:0;right:0;top:0;height:10px;background:repeating-linear-gradient(90deg,#d9573b 0 16px,#f6edd6 16px 32px);border-bottom:2px solid var(--mk-tinte)}
.mk-m-wiese .mk-markise,.mk-markise-probe.mk-m-wiese{background:repeating-linear-gradient(90deg,#6fae4f 0 16px,#f6edd6 16px 32px)}
.mk-m-abend .mk-markise,.mk-markise-probe.mk-m-abend{background:repeating-linear-gradient(90deg,#8a5aa8 0 16px,#f7c9a2 16px 32px)}
.mk-m-sternen .mk-markise,.mk-markise-probe.mk-m-sternen{background:repeating-linear-gradient(90deg,#2f4a7a 0 16px,#f2c35b 16px 32px)}
.mk-m-gold .mk-markise,.mk-markise-probe.mk-m-gold{background:repeating-linear-gradient(90deg,#e2ac36 0 16px,#fbf1d2 16px 32px)}
.mk-markise-probe{display:inline-block;width:44px;height:28px;border-radius:8px;border:2px solid var(--mk-tinte);flex:0 0 44px}
.mk-preis{display:flex;justify-content:center;padding:2px 10px;border-radius:999px;background:var(--mk-papier);color:var(--mk-tinte);border:2px solid var(--mk-tinte);font-size:16px}
.mk-tausch{font-weight:800}
.mk-name{font-size:13px;text-align:center;line-height:1.15;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mk-zuletzt{font-size:11px;opacity:.8;text-align:center}
.mk-leer{grid-column:1/-1;text-align:center;padding:12px}
.mk-leer-i{width:140px;max-width:60%}
.mk-blatt .mk-detail-karte{position:relative;display:flex;justify-content:center;margin:4px 0 8px}
.mk-blatt .mk-detail-karte .w-link{position:absolute;right:0;top:0;font-size:22px;min-width:44px;min-height:44px}
.mk-rechnung{margin:8px 0;padding:10px 12px;border-radius:14px;border:2.5px solid var(--mk-tinte);background:#24170f}
.mk-rechnung>div{display:flex;justify-content:space-between;align-items:center;padding:3px 0}
.mk-rechnung>div:first-child{font-size:19px;border-bottom:1px dashed #ffffff33;padding-bottom:6px;margin-bottom:4px}
.mk-wunsch{font-weight:800;color:var(--mk-gold)}
.mk-spark-box{margin:4px 0}
.mk-spark{width:100%;height:80px;background:#24170f;border-radius:12px;border:2px solid var(--mk-tinte)}
.mk-spark-l{fill:none;stroke:#f2c35b;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.mk-spark circle{fill:#f6edd6;stroke:#2a1f1a;stroke-width:1.5}
.mk-spark-z{display:flex;justify-content:space-between;font-size:12px}
.mk-schritte{display:flex;gap:6px;margin:0 0 10px}
.mk-schritte span{flex:1;text-align:center;padding:6px 4px;border-radius:12px;border:2px solid var(--mk-tinte);background:#45352a;color:#e2d2ad;font-size:13px;font-weight:800}
.mk-schritte span.an{background:var(--mk-gold);color:var(--mk-tinte)}
.mk-regler{width:100%;height:44px;accent-color:#f2c35b}
.mk-erloes{font-size:18px;font-weight:800;color:var(--mk-gold);text-align:center}
.mk-tausch-wahl{margin:8px 0;padding:6px 10px;border-radius:12px;border:2px dashed #ffffff44}
.mk-tausch-wahl summary{cursor:pointer;min-height:40px;display:flex;align-items:center;font-weight:800}
.mk-liste{display:flex;flex-direction:column;gap:10px}
.mk-zeile-a,.mk-ware{display:flex;align-items:center;gap:10px;padding:8px;border-radius:14px;border:2.5px solid var(--mk-tinte);background:#3a2c20}
.mk-zeile-a.st-verkauft{background:#2f3d27}
.mk-zeile-a.st-abgelaufen,.mk-zeile-a.st-zurueckgezogen,.mk-zeile-a.st-entfernt{opacity:.65}
.mk-zeile-t{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.mk-ware-i{width:44px;height:auto}
.mk-aktiv{color:var(--mk-gold);font-weight:800}
.mk-beutel-kopf{display:flex;align-items:center;gap:14px}
.mk-beutel-gross{width:84px;height:84px}
.mk-pakete{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.mk-paket{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 4px;border-radius:14px;border:3px solid var(--mk-tinte);background:var(--mk-papier);color:var(--mk-tinte);
  font:inherit;cursor:pointer;box-shadow:3px 3px 0 var(--mk-tinte)}
.mk-paket b{font-size:20px}
.mk-paket small{font-size:11px;text-align:center;line-height:1.1;hyphens:auto;overflow-wrap:anywhere}
.mk-paket-i{width:48px;height:48px}
.mk-euro{margin-top:4px;padding:2px 8px;border-radius:999px;background:var(--mk-gold);border:2px solid var(--mk-tinte);font-weight:800}
.mk-buchung{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-bottom:1px dashed #ffffff22;font-size:14px}
.mk-buchung .plus{color:#9be07a}
.mk-buchung .minus{color:#f6a28f}
.mk-ort{position:relative;display:flex;align-items:center;gap:10px;width:100%;margin:0 0 12px;padding:8px 12px;border-radius:18px;border:3px solid var(--mk-tinte);
  background:#3a2c20;color:var(--mk-papier);font:inherit;cursor:pointer;box-shadow:4px 5px 0 #0007;text-align:left}
.mk-ort-bild{width:120px;height:auto;flex:0 0 120px}
.mk-ort .w-schild{position:static;transform:none}
/* Kauf-Animation: Stand, Karte hüpft hoch, Goldbohnen fliegen, Funki freut sich */
.mk-anim{position:fixed;inset:0;z-index:90;display:grid;place-items:center;background:#1a120ccc;transition:opacity .35s}
.mk-anim.weg{opacity:0}
.mk-anim-stand{position:absolute;width:min(92vw,520px);top:18%}
.mk-anim-karte{position:relative;animation:mk-hops 1.2s cubic-bezier(.2,.9,.3,1.2) both}
@keyframes mk-hops{0%{transform:translateY(60px) scale(.6) rotate(-8deg);opacity:0}45%{transform:translateY(-30px) scale(1.08) rotate(3deg);opacity:1}100%{transform:translateY(0) scale(1) rotate(0)}}
.mk-anim-funki{position:absolute;bottom:12%;left:8%;width:140px;animation:mk-wipp 1s ease-in-out infinite}
.mk-anim-bohne{position:absolute;width:30px;left:calc(18% + var(--i) * 4%);bottom:22%;animation:mk-flieg .9s ease-out both;animation-delay:calc(var(--i) * 80ms)}
@keyframes mk-flieg{0%{transform:translate(0,0) rotate(0);opacity:1}100%{transform:translate(calc(30vw - var(--i) * 3vw),-38vh) rotate(260deg);opacity:0}}
@media (prefers-reduced-motion:reduce){.mk-wippt,.mk-anim-karte,.mk-anim-funki,.mk-anim-bohne{animation:none!important}}
html.bo-ruhig .mk-wippt,html.welt-still .mk-wippt{animation:none}
@media (max-width:360px){.mk-pakete{grid-template-columns:1fr 1fr}.mk-gitter{grid-template-columns:1fr 1fr}}
.mk-eur{font-size:.72em;opacity:.8;font-weight:700;margin-left:2px}
.mk-pinnry{margin:6px 0;padding:6px 10px;border-radius:10px;border:2px dashed #f2c35b88;font-weight:800}
.mk-haken{border-bottom:0;background:#24170f;border-radius:12px;padding:10px}
.mk-text{width:100%;box-sizing:border-box;min-height:110px;border-radius:12px;border:2.5px solid #2a1f1a;background:#f6edd6;color:#2a1f1a;font:inherit;padding:8px}
.knopf:disabled{opacity:.55;cursor:not-allowed}
.mk-plus-abz{position:absolute;left:8px;top:8px;padding:3px 10px;border-radius:999px;border:2.5px solid #2a1f1a;background:#3f8f8a;color:#f6edd6;font-weight:800;font-size:14px}
.mk-sofort{margin-top:10px;padding:10px;border-radius:14px;border:2px dashed #f2c35b88}
.mk-rw{color:#f2c35b;opacity:1}
.mk-gb-kopf{display:inline-flex;align-items:center;gap:4px;margin-left:6px;cursor:pointer}
.mk-gb-kopf .mk-gb-i{width:18px;height:18px}
#funken[data-oeko]{cursor:pointer}
/* Level (js/level.js) */
.lv-chip{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:1px 6px;margin-right:4px;
  border-radius:12px;border:2.5px solid #2a1f1a;background:#3f8f8a;color:#f6edd6;font:inherit;font-weight:800;cursor:pointer;line-height:1}
.lv-chip small{font-size:10px;opacity:.9}
.lv-chip b{font-size:16px}
.mk-gb-kopf{padding-left:8px!important;padding-right:8px!important}
@media (max-width:440px){body.mk-kopf-voll .ich-k .ich-txt{display:none}body.mk-kopf-voll .ich-k{padding-right:3px}}
.lv-zeile{margin:10px 0}
.lv-kopf{display:flex;justify-content:space-between;font-weight:800}
.lv-balken{height:14px;border-radius:999px;border:2.5px solid #2a1f1a;background:#24170f;overflow:hidden}
.lv-balken i{display:block;height:100%;background:#f2c35b}
.lv-zeile + .lv-zeile .lv-balken i{background:#7ccc5e}
.lv-auf{position:fixed;left:50%;top:30%;z-index:95;transform:translate(-50%,0);display:flex;flex-direction:column;align-items:center;gap:4px;
  padding:16px 26px;border-radius:20px;border:3px solid #2a1f1a;background:#f6edd6;color:#2a1f1a;box-shadow:4px 5px 0 #0007;
  animation:lv-hoch .6s cubic-bezier(.2,.9,.3,1.3) both;transition:opacity .4s}
.lv-auf b{font-size:28px}
.lv-auf.weg{opacity:0}
.lv-auf-funki{width:90px}
@keyframes lv-hoch{0%{transform:translate(-50%,40px) scale(.7);opacity:0}100%{transform:translate(-50%,0) scale(1);opacity:1}}
@media (prefers-reduced-motion:reduce){.lv-auf{animation:none}}
/* Marktstand auf der Lichtung (welt.js -> BO_MARKT.weltOrt) */
/* Marktstand IN der Lichtung (Tim 01.11. 17:01): Inhalt rückt um 70/360 der Breite nach oben (Himmel oben schmaler, Wolken und
   Vögel bleiben), unten kommt ein Rasenstreifen mit Weg dazu; der Stand steht links unten zwischen Baum und Weg, Schild wie Arena. */
.w-szene.mit-markt{container-type:inline-size}
.w-szene.mit-markt>:not(.w-wolke):not(.w-vogel):not(.mk-wiese):not(.w-ort-markt){translate:0 -19.444cqw}
.mk-wiese{position:absolute;left:0;bottom:0;width:100%;height:12.963%;display:block;pointer-events:none;user-select:none;z-index:0}
.w-szene.mit-markt .w-grund{z-index:0}
.w-ort.w-ort-markt{left:15%;top:76.3%;width:30%;height:16.67%;aspect-ratio:auto;z-index:2}
.w-ort-markt .w-schild{bottom:-14%}
.mk-ort-fort{display:block;width:100%;min-width:80px;height:7px;margin-top:3px;border-radius:999px;background:#d8c39a;border:1.5px solid #6a5038;overflow:hidden;box-sizing:border-box}
.mk-ort-fort i{display:block;height:100%;min-width:6%;background:#f2c35b}
.mk-ort-lv{font-size:10px;font-weight:800;color:#6a5038}
.mk-plus-vorschau{display:flex;flex-direction:column;align-items:center;gap:4px;margin:8px 0}
/* Kopf kompakt (390 px): Level, Funken, Goldbohnen, Profil */
.mk-gb-kopf b{font-size:15px}
body.mk-kopf-voll header .rechts{gap:4px}
body.mk-kopf-voll .funken{padding-left:8px!important;padding-right:8px!important}
/* Level-Optik (js/level.js, nur mit stand.level): Album im Sammelbuch der Welt, Profilrahmen am „Ich“-Bild */
body.lv-album-level5[data-ort="sammlung"] main .tafel{background-color:#2c3b30;box-shadow:inset 0 0 0 3px #c98a2a,4px 5px 0 #0007}
body.lv-album-hintergrund25[data-ort="sammlung"] main .tafel{background-color:#22314f;box-shadow:inset 0 0 0 3px #f2c35b,4px 5px 0 #0007}
body.lv-album-hintergrund50[data-ort="sammlung"] main .tafel{background-color:#5a1f2a;box-shadow:inset 0 0 0 3px #f2c35b,inset 0 0 0 6px #93283a,4px 5px 0 #0007}
body.lv-rahmen .ich-bild{box-shadow:0 0 0 3px #aab2c0}
body.lv-rahmen-20 .ich-bild,body.lv-rahmen-30 .ich-bild{box-shadow:0 0 0 3px #f2c35b}
body.lv-rahmen-30 .ich-bild{box-shadow:0 0 0 3px #3fa796,0 0 0 5px #f2c35b}
body.lv-rahmen-40 .ich-bild{box-shadow:0 0 0 3px #93283a,0 0 0 5px #f2c35b}
.lv-abz{display:inline-grid;place-items:center;min-width:30px;height:20px;padding:0 5px;margin-left:4px;border-radius:999px;border:2px solid #2a1f1a;
  background:#3f8f8a;color:#f6edd6;font-size:11px;font-weight:800}
.lv-abz.lv20,.lv-abz.lv30{background:#c98a2a}
.lv-abz.lv40,.lv-abz.lv50,.lv-abz.lv60,.lv-abz.lv70,.lv-abz.lv80,.lv-abz.lv90{background:#93283a}
/* Sammler-Bonus und „So bekommst du Goldbohnen“ (01.11.2026) */
.mk-woher{margin:6px 0 0;padding-left:18px;line-height:1.45}
.mk-sb-liste{list-style:none;margin:6px 0 8px;padding:0}
.mk-sb-liste li{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:5px 0;border-bottom:1px dashed #0002;font-size:14px}
.mk-sb-liste li span:first-child{flex:1;min-width:0}
.mk-sb-da span:first-child::before{content:'✓ ';color:#3c8a3c;font-weight:700}
/* Booster-Abos im Beutel (01.11.2026) */
.mk-abo-reihe{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin:8px 0}
.mk-abo-stufe{border:2px solid #0003;border-radius:12px;padding:10px;background:#0000000d}
.mk-abo-stufe.aktiv{border-color:#f2c35b;box-shadow:0 0 0 2px #f2c35b inset}
.mk-abo-stufe b{font-size:16px}
.mk-abo-preis{font-weight:800;font-size:18px;margin:2px 0 4px}
.mk-abo-stufe ul{margin:0;padding-left:16px;font-size:13px;line-height:1.4}
.mk-abo-stil{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:6px 0}
.mk-abo-stil small{width:100%}
/* Abo-Optik (nur Aussehen, kein Spielvorteil): Abzeichen am Goldbohnen-Kopf, Albumdesign ab Plus, Max mit Rahmen/Hintergrund und Stil */
body.abo-light #gb-kopf,body.abo-plus #gb-kopf,body.abo-max #gb-kopf{position:relative}
body.abo-light #gb-kopf::after,body.abo-plus #gb-kopf::after,body.abo-max #gb-kopf::after{content:'';position:absolute;right:-3px;top:-3px;width:11px;height:11px;border-radius:50%;border:2px solid #2a1f1a}
body.abo-light #gb-kopf::after{background:#aab2c0}
body.abo-plus #gb-kopf::after{background:#f2c35b}
body.abo-max #gb-kopf::after{background:#b06ad9}
body.abo-plus[data-ort="sammlung"] main .tafel,body.abo-max[data-ort="sammlung"] main .tafel{box-shadow:inset 0 0 0 3px #f2c35b,4px 5px 0 #0007}
body.abo-max[data-abo-stil="sammler"][data-ort="sammlung"] main .tafel{background-color:#2b2443;box-shadow:inset 0 0 0 3px #f2c35b,inset 0 0 0 6px #6b4aa8,4px 5px 0 #0007}
body.abo-max[data-abo-stil="gamer"][data-ort="spielen"] main .tafel{background-color:#1d2d3f;box-shadow:inset 0 0 0 3px #5ab4f0,4px 5px 0 #0007}
body.abo-max .ich-bild{box-shadow:0 0 0 3px #f2c35b,0 0 0 6px #6b4aa8}
body.abo-max[data-ort="ich"] main{background:radial-gradient(circle at 50% 0,#6b4aa833,transparent 60%)}
.kt.kt-rahmen-abo_max{box-shadow:0 0 0 3px #f2c35b,0 0 0 6px #6b4aa8,0 6px 14px #0006}
/* Eigener Abo-Einstieg (Profil „Ich“, Beutel im Kopf) */
.mk-beutel-blatt .tafel,.mk-abo-ich .tafel{margin-top:10px}
.mk-ab10{margin:8px 0 0}
.mk-abo-kurz .knopf{margin-top:6px}

/* 01.11.2026 Euro-Gegenwert an Kaufmomenten (Schalter kl_booster_euro_kauf, js/markt.js ek) */
.mk-ek{display:block;margin-top:2px;font-size:12px;line-height:1.2;font-weight:700;opacity:.85;letter-spacing:0}
.mk-ek-zeile{justify-content:flex-end!important;font-size:13px;font-weight:700;opacity:.9}
