:root{
  --bg:#101713;--panel:#18221c;--panel2:#202c24;--ink:#f5f3ea;--muted:#a9b4aa;
  --accent:#d5a84a;--accent2:#7faa78;--danger:#d66b63;--line:#334139;--shadow:0 16px 45px rgba(0,0,0,.25);
  --radius:18px;--safe-top:env(safe-area-inset-top);--safe-bottom:env(safe-area-inset-bottom)
}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",Inter,Segoe UI,sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit}.hidden{display:none!important}
.app-shell{min-height:100dvh;padding-top:var(--safe-top);padding-bottom:calc(84px + var(--safe-bottom));background:radial-gradient(circle at 80% -10%,rgba(213,168,74,.15),transparent 28%),var(--bg)}
.topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:rgba(16,23,19,.92);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.05)}
.brand{display:flex;gap:11px;align-items:center}.brand-mark{width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,#d5a84a,#795b22);display:grid;place-items:center;font-size:23px;box-shadow:inset 0 1px rgba(255,255,255,.3)}.brand h1{margin:0;font-size:18px}.brand small{color:var(--muted);display:block;margin-top:2px}.sync-pill{border:1px solid var(--line);background:var(--panel);border-radius:99px;padding:7px 10px;color:var(--muted);font-size:12px}.sync-pill.online{color:#bce1b8}.sync-pill.offline{color:#f0c08f}
main{width:min(900px,100%);margin:auto;padding:18px 14px}.page-title{display:flex;justify-content:space-between;align-items:end;gap:12px;margin:0 2px 16px}.page-title h2{margin:0;font-size:28px;letter-spacing:-.5px}.page-title p{margin:4px 0 0;color:var(--muted);font-size:13px}
.card{background:linear-gradient(180deg,var(--panel2),var(--panel));border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.pad{padding:16px}.hero{padding:20px;background:linear-gradient(135deg,rgba(213,168,74,.18),rgba(127,170,120,.08)),var(--panel);border:1px solid #5c5034;border-radius:22px;margin-bottom:16px}.hero h2{font-size:28px;margin:0 0 7px}.hero p{color:var(--muted);margin:0 0 18px;line-height:1.45}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.btn{border:0;border-radius:14px;padding:12px 15px;font-weight:700;background:var(--panel2);color:var(--ink);border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px}.btn:active{transform:scale(.985)}.btn-primary{background:var(--accent);color:#201a0e;border-color:#e6bf68}.btn-green{background:var(--accent2);color:#102012;border-color:#98c58f}.btn-danger{background:rgba(214,107,99,.14);color:#ffb4ae;border-color:#7a403d}.btn-ghost{background:transparent}.btn-sm{padding:8px 10px;min-height:36px;border-radius:11px;font-size:13px}.btn-block{width:100%}.icon-btn{width:42px;height:42px;padding:0;border-radius:13px}
.grid{display:grid;gap:12px}.stats-grid{grid-template-columns:repeat(2,1fr);margin-bottom:16px}.stat{padding:15px}.stat .n{font-size:27px;font-weight:800}.stat .l{color:var(--muted);font-size:12px;margin-top:3px}
.search-row{display:grid;grid-template-columns:1fr auto;gap:10px;margin-bottom:12px}.field,select,textarea,input{width:100%;color:var(--ink);background:#121a15;border:1px solid var(--line);border-radius:13px;padding:12px 13px;outline:none}.field:focus,select:focus,textarea:focus,input:focus{border-color:var(--accent2);box-shadow:0 0 0 3px rgba(127,170,120,.12)}label{display:block;font-size:12px;color:var(--muted);font-weight:700;margin:0 0 6px 2px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid .full{grid-column:1/-1}.section-title{font-size:14px;margin:20px 0 10px;color:#d5ded6;text-transform:uppercase;letter-spacing:.8px}.help{font-size:12px;color:var(--muted);line-height:1.45}.validation{color:#ffaaa3;font-size:12px;margin-top:5px}
.find-list{display:grid;gap:10px}.find-card{display:grid;grid-template-columns:72px 1fr auto;gap:12px;padding:11px;align-items:center}.thumb{width:72px;height:72px;border-radius:14px;background:#0e1511;border:1px solid var(--line);object-fit:cover;display:grid;place-items:center;font-size:28px;overflow:hidden}.find-main{min-width:0}.find-main h3{margin:0 0 5px;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.meta{display:flex;flex-wrap:wrap;gap:5px;color:var(--muted);font-size:11px}.badge{padding:4px 7px;border-radius:999px;border:1px solid var(--line);background:#111914}.fav{color:#f4cf68}.row-actions{display:flex;flex-direction:column;gap:6px}
.empty{text-align:center;padding:38px 20px;color:var(--muted)}.empty .big{font-size:42px;margin-bottom:8px}.empty h3{color:var(--ink);margin:0 0 6px}
.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:30;padding:7px 8px calc(7px + var(--safe-bottom));background:rgba(15,22,18,.96);backdrop-filter:blur(16px);border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr)}.nav-btn{background:transparent;border:0;color:#849187;padding:6px 2px;font-size:10px;display:flex;flex-direction:column;gap:3px;align-items:center}.nav-btn .ico{font-size:22px}.nav-btn.active{color:var(--accent)}.nav-plus .ico{width:45px;height:45px;border-radius:16px;background:var(--accent);color:#1e190d;display:grid;place-items:center;margin-top:-22px;box-shadow:0 8px 28px rgba(213,168,74,.3)}
#map{height:calc(100dvh - 190px);min-height:430px;border-radius:18px;overflow:hidden;border:1px solid var(--line);background:#1b241f;position:relative;touch-action:none;user-select:none;-webkit-user-select:none}
#map.dragging{cursor:grabbing}.fundmap-tiles,.fundmap-overlay{position:absolute;inset:0;will-change:transform}.fundmap-tiles{background:linear-gradient(135deg,#17221c,#1e2b23)}.fundmap-tile{position:absolute;width:256px;height:256px;max-width:none;pointer-events:none}.fundmap-tile.tile-error{opacity:0}
.fundmap-overlay{pointer-events:none}.fundmap-pin,.fundmap-density{position:absolute;pointer-events:auto;transform:translate(-50%,-100%);border:0;background:transparent;padding:0;z-index:4}.fundmap-pin span{font-size:31px;filter:drop-shadow(0 3px 3px rgba(0,0,0,.5))}.fundmap-density{width:48px;height:48px;border-radius:50%;transform:translate(-50%,-50%);background:rgba(213,168,74,.24);border:2px solid rgba(213,168,74,.68);box-shadow:0 0 0 10px rgba(213,168,74,.08)}
.fundmap-controls{position:absolute;right:10px;top:10px;z-index:8;display:grid;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 4px 18px rgba(0,0,0,.35)}.fundmap-controls button{width:42px;height:42px;border:0;background:#17231c;color:var(--ink);font-size:24px;font-weight:700}.fundmap-controls button+button{border-top:1px solid var(--line)}.fundmap-attrib{position:absolute;right:5px;bottom:4px;z-index:7;background:rgba(15,22,18,.86);color:#c6cec7;font-size:9px;padding:3px 6px;border-radius:5px;pointer-events:auto}.fundmap-attrib a{text-decoration:none;color:inherit}
.fundmap-popup{position:absolute;z-index:12;pointer-events:auto;transform:translate(-50%,-100%);width:min(230px,72vw);background:#18251d;border:1px solid #506057;border-radius:13px;padding:12px 13px;box-shadow:0 12px 35px rgba(0,0,0,.5);display:grid;gap:5px}.fundmap-popup strong{padding-right:18px}.fundmap-popup small{color:var(--muted)}.fundmap-popup a{color:#f1c966;font-weight:700;text-decoration:none;font-size:12px}.fundmap-popup-close{position:absolute;right:5px;top:4px;width:26px;height:26px;border:0;background:transparent;color:var(--muted);font-size:20px}
.fundmap-user-accuracy{position:absolute;pointer-events:none;transform:translate(-50%,-50%);border-radius:50%;background:rgba(72,154,255,.14);border:1px solid rgba(115,181,255,.65);z-index:2}.fundmap-user-dot{position:absolute;pointer-events:none;transform:translate(-50%,-50%);width:14px;height:14px;border-radius:50%;background:#4f9cff;border:3px solid white;box-shadow:0 2px 8px rgba(0,0,0,.45);z-index:5}
.photo-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.photo-tile{aspect-ratio:1;border-radius:14px;overflow:hidden;background:#111814;border:1px solid var(--line);position:relative;display:grid;place-items:center;color:var(--muted);text-align:center;font-size:11px}.photo-tile img{width:100%;height:100%;object-fit:cover}.photo-remove{position:absolute;right:5px;top:5px;width:28px;height:28px;border:0;border-radius:50%;background:rgba(0,0,0,.72);color:white}.upload-tile{border-style:dashed}.upload-tile input{position:absolute;inset:0;opacity:0;cursor:pointer}
.gps-box{display:grid;grid-template-columns:1fr auto;gap:9px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:14px;background:#121914}.gps-box strong{font-size:13px}.gps-box small{display:block;color:var(--muted);margin-top:3px}.gps-good{color:#b7dfa8}.gps-warn{color:#f0c08f}
.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.68);z-index:80;display:flex;align-items:flex-end;justify-content:center}.modal{width:min(760px,100%);max-height:92dvh;overflow:auto;background:var(--bg);border:1px solid var(--line);border-radius:24px 24px 0 0;padding:18px 16px calc(24px + var(--safe-bottom));box-shadow:0 -20px 80px rgba(0,0,0,.5)}.modal-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}.modal h2{margin:0}.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.gallery img{width:100%;border-radius:15px;aspect-ratio:1;object-fit:cover;background:#111}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0}.detail-item{padding:11px;border:1px solid var(--line);border-radius:13px;background:var(--panel)}.detail-item small{display:block;color:var(--muted);font-size:10px;margin-bottom:4px}.detail-item strong{font-size:13px;word-break:break-word}.detail-note{line-height:1.5;color:#d8ddd8;white-space:pre-wrap}
.auth-wrap{min-height:100dvh;display:grid;place-items:center;padding:calc(30px + var(--safe-top)) 18px calc(30px + var(--safe-bottom));background:radial-gradient(circle at 50% 0%,rgba(213,168,74,.2),transparent 35%),var(--bg)}.auth-card{width:min(430px,100%);padding:22px}.auth-logo{text-align:center;margin-bottom:22px}.auth-logo .big{font-size:60px}.auth-logo h1{margin:4px 0}.auth-logo p{color:var(--muted);margin:0}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#101712;border-radius:13px;padding:3px;margin-bottom:16px}.auth-tab{border:0;background:transparent;color:var(--muted);padding:9px;border-radius:10px}.auth-tab.active{background:var(--panel2);color:var(--ink)}.auth-form{display:grid;gap:11px}.auth-msg{font-size:12px;color:#f4c794;min-height:18px}
.settings-list{display:grid;gap:10px}.setting{padding:15px;display:flex;align-items:center;justify-content:space-between;gap:14px}.setting h3{font-size:14px;margin:0 0 4px}.setting p{font-size:12px;color:var(--muted);margin:0;line-height:1.4}.meter{height:9px;background:#0f1511;border-radius:99px;overflow:hidden;margin-top:10px}.meter>span{display:block;height:100%;background:var(--accent2);border-radius:99px}.storage-row{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-top:7px}.category-bars{display:grid;gap:9px}.bar-row{display:grid;grid-template-columns:90px 1fr 32px;gap:8px;align-items:center;font-size:12px}.bar{height:9px;background:#101712;border-radius:99px;overflow:hidden}.bar span{height:100%;display:block;background:var(--accent);border-radius:99px}
.toast{position:fixed;z-index:120;left:50%;bottom:calc(96px + var(--safe-bottom));transform:translateX(-50%);width:min(92%,440px);background:#ecf1ec;color:#172019;border-radius:14px;padding:12px 14px;box-shadow:0 16px 50px rgba(0,0,0,.35);font-size:13px;font-weight:650;animation:toastin .2s ease}.toast.error{background:#ffd6d2;color:#4a1713}.toast.warn{background:#ffe7bd;color:#412c0a}@keyframes toastin{from{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%,0)}}
.ai-box{padding:13px;border:1px solid #5f5132;border-radius:14px;background:rgba(213,168,74,.08)}.ai-box h4{margin:0 0 5px}.ai-box p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}.spinner{display:inline-block;width:15px;height:15px;border:2px solid rgba(255,255,255,.35);border-top-color:currentColor;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:700px){.stats-grid{grid-template-columns:repeat(4,1fr)}.form-grid{grid-template-columns:repeat(3,1fr)}.form-grid .span2{grid-column:span 2}.photo-picker{grid-template-columns:repeat(5,1fr)}.modal{border-radius:24px;margin-bottom:20px}.modal-backdrop{align-items:center}.bottom-nav{left:50%;right:auto;width:min(620px,calc(100% - 24px));transform:translateX(-50%);bottom:12px;border:1px solid var(--line);border-radius:20px;padding-bottom:7px}.app-shell{padding-bottom:100px}}
@media(max-width:420px){.find-card{grid-template-columns:62px 1fr auto}.thumb{width:62px;height:62px}.page-title h2{font-size:24px}.form-grid{grid-template-columns:1fr 1fr}.form-grid .mobile-full{grid-column:1/-1}.detail-grid{grid-template-columns:1fr 1fr}}

/* v3.1.0 – vereinfachte, KI-gestützte Funderfassung */
.ai-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px;border:1px solid #5f5132;border-radius:16px;background:rgba(213,168,74,.055)}
.ai-fields .full{grid-column:1/-1}.ai-field label{display:flex;align-items:center;gap:7px}.ki-tag{font-size:9px;line-height:1;padding:4px 6px;border-radius:999px;background:rgba(213,168,74,.16);border:1px solid rgba(213,168,74,.35);color:#f1cc73;letter-spacing:.2px}.ai-field-help{margin:0;padding-top:1px}.optional{font-weight:500;color:#758177;font-size:10px;margin-left:4px}.compact-form{align-items:end}
@media(max-width:520px){.ai-fields,.form-grid,.form-grid.compact-form{grid-template-columns:1fr}.ai-fields .full,.form-grid .full,.form-grid .mobile-full{grid-column:1}.section-title{margin-top:24px}.card.pad{padding:15px 13px}.ai-box{padding:14px}.ai-box .btn{width:100%;margin-top:12px!important}}

/* v3.2.0 – Diagnose */
.systemcheck-setting{align-items:flex-start}.systemcheck-result{display:grid;gap:6px;margin-top:10px}.systemcheck-row{display:flex;gap:8px;align-items:flex-start;font-size:11px}.systemcheck-row>span{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;font-weight:800;flex:0 0 auto}.systemcheck-row.ok>span{background:rgba(127,170,120,.2);color:#bce1b8}.systemcheck-row.bad>span{background:rgba(214,107,99,.18);color:#ffb4ae}.systemcheck-row strong{display:block;color:var(--ink);font-size:11px}.systemcheck-row small{display:block;color:var(--muted);margin-top:1px}

/* v3.3.1 period inference */
.draft-status{margin-top:14px;padding:9px 11px;border-radius:12px;border:1px solid var(--line);color:var(--muted);font-size:12px;background:rgba(0,0,0,.08)}
.draft-status.saved{color:#bfe8b2;border-color:rgba(167,219,144,.25)}

/* v4.0.0 – Explorer, Voice & Tour */
.quick-flow{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:10px 0 2px}.quick-flow span{padding:9px 6px;text-align:center;border:1px solid var(--line);border-radius:12px;background:#111914;color:#d7ded8;font-size:11px;font-weight:700}
.voice-box{margin-top:10px;padding:15px;border:1px solid #38513f;border-radius:16px;background:rgba(90,150,102,.07)}.voice-box h4{margin:0 0 5px}.voice-box p{margin:0 0 12px;color:var(--muted);font-size:12px;line-height:1.45}.voice-btn{width:100%;min-height:58px;border:1px solid #4d6c56;border-radius:16px;background:#142019;color:var(--ink);font-weight:800;display:flex;align-items:center;justify-content:center;gap:10px}.voice-btn.recording{background:rgba(214,107,99,.14);border-color:#92534e;box-shadow:0 0 0 4px rgba(214,107,99,.08)}.voice-icon{font-size:24px}.voice-status{font-size:11px;color:var(--muted);margin-top:9px}.voice-transcript{margin-top:8px;padding:10px;border-radius:12px;background:#101713;border:1px solid var(--line);font-size:12px;line-height:1.45;color:#dce4dd}
.discover-toolbar{display:grid;grid-template-columns:1.2fr 1fr auto;gap:8px;margin-bottom:10px}.discover-toolbar select{min-width:92px}.discover-filters{display:flex;gap:7px;overflow:auto;padding:1px 0 10px;scrollbar-width:none}.discover-filters::-webkit-scrollbar{display:none}.chip{white-space:nowrap;border:1px solid var(--line);background:var(--panel);color:var(--muted);padding:8px 11px;border-radius:999px;font-weight:700;font-size:11px}.chip.active{background:var(--accent);color:#211a0e;border-color:#e6bf68}
.discover-map{height:46dvh;min-height:340px;max-height:540px;border-radius:18px;overflow:hidden;border:1px solid var(--line);background:#1b241f;position:relative;touch-action:none;user-select:none;-webkit-user-select:none;margin-bottom:8px}.discover-legend{display:flex;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:10px;margin:7px 2px 13px}.discover-card{display:grid;grid-template-columns:48px 1fr auto;gap:10px;padding:12px;align-items:start}.discover-icon{width:48px;height:48px;border-radius:14px;background:#111914;border:1px solid var(--line);display:grid;place-items:center;font-size:24px}.discover-main{min-width:0}.discover-title{display:flex;gap:8px;justify-content:space-between;align-items:center}.discover-title strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.discover-card p{margin:7px 0 0;font-size:11px;line-height:1.4;color:var(--muted)}.score{padding:4px 7px;border-radius:999px;background:rgba(213,168,74,.14);color:#f0c764;border:1px solid rgba(213,168,74,.35);font-size:10px;font-weight:800}.discover-actions{display:grid;gap:6px}
.fundmap-place{position:absolute;pointer-events:auto;transform:translate(-50%,-100%);width:38px;height:38px;border-radius:13px;border:2px solid #a9b4aa;background:#152019;display:grid;place-items:center;z-index:6;box-shadow:0 5px 16px rgba(0,0,0,.38)}.fundmap-place span{font-size:20px}.fundmap-place.green{border-color:#7faa78}.fundmap-place.yellow{border-color:#d5a84a}.fundmap-place.red{border-color:#d66b63}.fundmap-target{position:absolute;pointer-events:none;transform:translate(-50%,-100%);font-size:34px;filter:drop-shadow(0 4px 4px rgba(0,0,0,.5));z-index:7}.fundmap-tracksvg{position:absolute;inset:0;pointer-events:none;overflow:visible;z-index:2}.fundmap-trackline{fill:none;stroke:#f4c85d;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 2px rgba(0,0,0,.55))}
.tour-hero{display:grid;gap:13px}.tour-status{font-size:11px;font-weight:900;letter-spacing:.8px;color:var(--muted)}.tour-status.live{color:#bfe8b2}.tour-target{padding:9px 11px;border-radius:12px;background:#111914;border:1px solid var(--line);font-size:12px}.tour-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.tour-stats div{padding:12px;border-radius:13px;background:#111914;border:1px solid var(--line);text-align:center}.tour-stats strong{display:block;font-size:25px}.tour-stats span{display:block;color:var(--muted);font-size:10px;margin-top:3px}.tour-actions{display:flex;gap:8px;flex-wrap:wrap}.tour-history{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);font-size:12px}
.toggle-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:11px 0;border-bottom:1px solid var(--line);margin:0;color:var(--ink)}.toggle-row:last-child{border-bottom:0}.toggle-row span{display:grid;gap:3px}.toggle-row strong{font-size:13px}.toggle-row small{font-size:10px;color:var(--muted);font-weight:500}.toggle-row input{width:22px;height:22px}
.achievement-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.achievement{padding:11px;border:1px solid var(--line);border-radius:13px;background:#111914;display:grid;grid-template-columns:auto 1fr;gap:2px 8px;align-items:center;opacity:.52}.achievement>span{font-size:22px;grid-row:1/3}.achievement strong{font-size:11px}.achievement small{font-size:9px;color:var(--muted)}.achievement.unlocked{opacity:1;border-color:#5c5034;background:rgba(213,168,74,.07)}
.detail-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}.story-box{margin-top:10px;padding:13px;border:1px solid #5f5132;border-radius:14px;background:rgba(213,168,74,.06);font-size:12px;line-height:1.5;color:#e8e5d8}
@media(max-width:560px){.discover-toolbar{grid-template-columns:1fr 1fr}.discover-toolbar select{grid-column:1/-1}.discover-card{grid-template-columns:44px 1fr}.discover-actions{grid-column:1/-1;grid-template-columns:auto 1fr}.detail-actions{grid-template-columns:1fr}.achievement-grid{grid-template-columns:1fr 1fr}}

/* =========================================================
   v4.2.0 – EXPLORER EDITION
   Helles, farbenfrohes Abenteuer-Design für Kids.
   ========================================================= */
:root{
  --bg:#eefbff;--panel:#ffffff;--panel2:#f7fbff;--ink:#183047;--muted:#6d8193;
  --accent:#ffb703;--accent2:#26c485;--danger:#ff6b6b;--line:#dbeaf2;
  --blue:#18a7c9;--blue2:#2d7ff9;--purple:#8267e8;--coral:#ff7657;--pink:#ff7eb3;
  --shadow:0 14px 38px rgba(34,91,122,.13);--shadow-soft:0 7px 22px rgba(34,91,122,.09);
  --radius:24px
}
html,body{background:var(--bg);color:var(--ink)}
body{background:linear-gradient(180deg,#dff8ff 0,#f8fdff 36%,#f3fbf7 100%)}
.app-shell{position:relative;overflow:visible;background:transparent;padding-bottom:calc(128px + var(--safe-bottom))}
.sky-blob{position:fixed;border-radius:999px;filter:blur(4px);pointer-events:none;z-index:0;opacity:.5}
.sky-blob-a{width:280px;height:280px;right:-150px;top:90px;background:radial-gradient(circle,#8be8ff 0,rgba(139,232,255,.1) 65%,transparent 72%)}
.sky-blob-b{width:260px;height:260px;left:-160px;top:48%;background:radial-gradient(circle,#d8c7ff 0,rgba(216,199,255,.06) 68%,transparent 74%)}
.topbar,main{position:relative;z-index:2}
.topbar{padding:13px 16px;background:rgba(244,252,255,.82);border-bottom:1px solid rgba(107,181,210,.18);box-shadow:0 2px 18px rgba(49,122,151,.06);backdrop-filter:blur(22px) saturate(1.3)}
.brand{gap:10px}.brand-mark{width:45px;height:45px;border-radius:16px;background:linear-gradient(145deg,#2dc4df,#2f7ff7 65%,#8a65e8);box-shadow:0 9px 20px rgba(40,137,204,.25),inset 0 1px rgba(255,255,255,.6);color:#fff}
.brand-svg{width:25px;height:25px}.brand h1{font-size:18px;letter-spacing:-.3px}.brand small{color:#778ca1;font-weight:700;font-size:10px;letter-spacing:.5px;text-transform:uppercase}
.sync-pill{border:1px solid #cfe5ef;background:rgba(255,255,255,.8);box-shadow:0 4px 14px rgba(40,105,133,.07);color:#718698;font-weight:800}.sync-pill.online{color:#16845e}.sync-pill.offline{color:#d67f22}
main{width:min(940px,100%);padding:16px 13px 44px}
.card{background:rgba(255,255,255,.94);border:1px solid rgba(190,220,233,.9);box-shadow:var(--shadow-soft);border-radius:var(--radius)}
.pad{padding:18px}.help{color:var(--muted)}
.ui-icon{width:19px;height:19px;flex:0 0 auto}.mini-svg{width:13px;height:13px}.mini-action-svg{width:17px;height:17px}

/* New explorer hero */
.explorer-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(130px,.65fr);gap:12px;min-height:258px;padding:24px 22px;margin-bottom:14px;overflow:hidden;border-radius:30px;color:#fff;background:linear-gradient(135deg,#147fa8 0%,#21b9cf 50%,#6a7fe9 100%);box-shadow:0 18px 44px rgba(39,132,183,.28)}
.explorer-hero:before{content:"";position:absolute;inset:auto -90px -125px auto;width:280px;height:280px;border-radius:50%;background:rgba(255,255,255,.12)}
.explorer-hero:after{content:"";position:absolute;left:-55px;top:-90px;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.08)}
.hero-copy{position:relative;z-index:2;align-self:center}.eyebrow{display:inline-flex;align-items:center;gap:6px;color:#3f6f88;font-weight:900;font-size:10px;letter-spacing:1.25px;text-transform:uppercase}.explorer-hero .eyebrow{color:#d7f8ff}.explorer-hero h2{font-size:35px;line-height:1.02;letter-spacing:-1.4px;margin:9px 0 8px}.explorer-hero h2 span{color:#fff0a6}.explorer-hero p{max-width:430px;color:rgba(255,255,255,.85);font-size:13px;line-height:1.45;margin:0 0 18px}.hero-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.btn-big{min-height:50px;padding:12px 17px}.btn-glass{background:rgba(255,255,255,.15)!important;color:#fff!important;border-color:rgba(255,255,255,.28)!important;backdrop-filter:blur(6px)}
.hero-orbit{position:relative;display:grid;place-items:center;min-height:180px}.orbit-ring{position:absolute;width:150px;height:150px;border:2px dashed rgba(255,255,255,.28);border-radius:50%;animation:orbitspin 28s linear infinite}.hero-compass{width:108px;height:108px;display:grid;place-items:center;border-radius:32px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.25);box-shadow:inset 0 1px rgba(255,255,255,.4),0 20px 30px rgba(21,80,138,.18);transform:rotate(-6deg)}.hero-compass-svg{width:72px;height:72px;color:#fff}.orbit-star,.orbit-coin{position:absolute;filter:drop-shadow(0 5px 8px rgba(0,0,0,.16))}.orbit-star.one{font-size:25px;right:10%;top:10%;color:#fff0a6}.orbit-star.two{font-size:20px;left:7%;bottom:12%;color:#d9ccff}.orbit-coin{font-size:34px;right:2%;bottom:4%;transform:rotate(10deg)}
@keyframes orbitspin{to{transform:rotate(360deg)}}

/* Buttons */
.btn{border-radius:16px;border:1px solid #d3e6ee;background:#fff;color:var(--ink);box-shadow:0 5px 14px rgba(42,104,133,.07);font-weight:850;transition:transform .13s ease,box-shadow .13s ease,filter .13s ease}.btn:active{transform:scale(.97)}.btn-primary{background:linear-gradient(135deg,#ffc43d,#ffae00);border-color:#ffb300;color:#513800;box-shadow:0 9px 20px rgba(255,174,0,.25)}.btn-green{background:linear-gradient(135deg,#29cf91,#1caf7c);border-color:#20b884;color:#063e2b}.btn-danger{background:#fff0ef;color:#ca4747;border-color:#ffd0cd}.btn-magic{background:linear-gradient(135deg,#775be8,#9a6cf0);border-color:#8b68e9;color:#fff}.btn-speak,.btn-speak-test{background:linear-gradient(135deg,#e8f9ff,#f1efff);border-color:#bfe4f2;color:#207da7}.icon-btn,.round-action{box-shadow:none}

/* Level and stats */
.level-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:13px 15px;margin-bottom:13px;background:linear-gradient(120deg,#fff9e6,#fff 45%,#f2efff)}.level-badge{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(145deg,#ffcf4d,#ffad00);font-size:23px;font-weight:950;color:#614000;box-shadow:0 7px 15px rgba(255,174,0,.2)}.level-copy{display:grid;gap:2px}.level-copy small{font-size:9px;color:#8b78c9;font-weight:950;letter-spacing:1px}.level-copy strong{font-size:15px}.level-track{height:7px;margin-top:6px;background:#e9eef3;border-radius:999px;overflow:hidden}.level-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#26c485,#18a7c9,#8267e8)}.level-trophy{width:40px;height:40px;border-radius:14px;background:#f3efff;color:#7c63d6;display:grid;place-items:center}.level-trophy .ui-icon{width:22px;height:22px}
.stats-grid{grid-template-columns:repeat(4,1fr);gap:9px}.stat{position:relative;overflow:hidden;padding:13px 10px 12px;text-align:center;min-height:105px}.stat:before{content:"";position:absolute;width:74px;height:74px;right:-35px;top:-32px;border-radius:50%;background:currentColor;opacity:.08}.stat-icon{font-size:22px;margin-bottom:3px}.stat .n{font-size:24px;color:var(--ink)}.stat .l{font-weight:750;font-size:10px}.stat-a{color:#d89a00}.stat-b{color:#e46b9d}.stat-c{color:#2b8fe6}.stat-d{color:#37aa78}

/* Titles, search, form */
.page-title{align-items:center;margin:5px 3px 15px}.page-title h2{color:#17344a;font-size:29px;letter-spacing:-.8px}.page-title p{color:#71869a}.playful-title{margin-top:20px}.playful-title .eyebrow{margin-bottom:3px}.search-row{grid-template-columns:minmax(0,1fr) 125px}.search-wrap{position:relative}.search-svg{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:#7d91a2;z-index:2}.search-wrap input{padding-left:39px}
.field,select,textarea,input{background:#f9fcfe;border-color:#d8e9f0;color:var(--ink);border-radius:16px;min-height:46px}.field:focus,select:focus,textarea:focus,input:focus{border-color:#55bdd4;box-shadow:0 0 0 4px rgba(44,176,207,.12);background:#fff}label{color:#536f82;font-weight:850}.section-title{color:#477187;font-size:10px;font-weight:950;letter-spacing:1.2px;margin:24px 2px 10px}.section-title:before{content:"✦ ";color:#ffb703}
.form-grid{gap:10px}.ai-fields{border-color:#d9d1fb;background:linear-gradient(135deg,#faf8ff,#f5fbff);border-radius:22px}.ki-tag{background:#eee8ff;border-color:#d7cbff;color:#7357d8}.optional{color:#95a7b4}

/* Treasure cards */
.find-list{gap:10px}.treasure-card{grid-template-columns:76px 1fr auto;padding:10px;gap:12px;transition:transform .15s ease,box-shadow .15s ease}.treasure-card:active{transform:scale(.985)}.treasure-thumb{width:76px;height:76px;border-radius:20px;border:0;background:linear-gradient(145deg,#e8f9ff,#f4efff);box-shadow:inset 0 0 0 1px #d9eaf1;font-size:30px}.treasure-thumb span{filter:drop-shadow(0 4px 6px rgba(73,100,126,.12))}.find-title-row{display:flex;gap:6px;align-items:center}.find-title-row h3{margin-bottom:5px}.favorite-chip{display:grid;place-items:center;width:22px;height:22px;border-radius:8px;background:#fff6cf;color:#e4a500;font-size:12px}.category-badge{border:0;background:#eff7fb;color:#486c7e;font-weight:800}.period-line{margin-top:6px;color:#7a6ab4;font-size:10px;font-weight:750}.row-actions{justify-content:center}.round-action{width:34px;height:34px;border:1px solid #dbeaf2;border-radius:12px;background:#f8fbfd;color:#59758a;display:grid;place-items:center;font-size:16px}.explorer-empty{padding:34px 20px}.empty-orb{width:74px;height:74px;margin:0 auto 12px;border-radius:24px;display:grid;place-items:center;font-size:36px;background:linear-gradient(145deg,#fff1bf,#fff8e5);box-shadow:0 9px 20px rgba(223,168,0,.15)}.explorer-empty .btn{margin-top:16px}

/* Add flow */
.add-title h2{font-size:34px}.photo-picker{gap:9px}.photo-tile{border-radius:20px;background:#f0f8fb;border-color:#d5e8ef;color:#608097}.upload-tile{background:linear-gradient(145deg,#e8fbff,#f5efff);border:2px dashed #8ecddd;color:#337c95;font-weight:850;font-size:12px}.quick-flow{grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.quick-flow span{display:grid;gap:5px;justify-items:center;border:0;border-radius:18px;background:#f5fafc;color:#537188;font-size:10px}.quick-flow b{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:#fff;color:#26a0bf;box-shadow:0 5px 13px rgba(50,110,140,.08)}.flow-svg{width:18px;height:18px}
.ai-box,.voice-box{border-radius:22px;box-shadow:none}.ai-magic{border-color:#d7cdfa;background:linear-gradient(135deg,#f8f5ff,#eefaff)}.voice-box{border-color:#bfead8;background:linear-gradient(135deg,#f0fff9,#effbff)}.feature-head{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start}.feature-head h4{margin:2px 0 4px;font-size:15px}.feature-head p{margin:0;color:#718597;font-size:11px;line-height:1.45}.feature-icon{width:43px;height:43px;border-radius:15px;display:grid;place-items:center}.feature-icon .ui-icon{width:23px;height:23px}.ai-feature{background:linear-gradient(145deg,#8b6aee,#6c58dc);color:#fff}.voice-feature{background:linear-gradient(145deg,#2fce94,#18abc0);color:#fff}.feature-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:11px}.voice-btn{position:relative;overflow:hidden;min-height:62px;margin-top:12px;border-color:#8ddcbd;border-radius:19px;background:linear-gradient(135deg,#20c28a,#17a7c5);color:#fff;box-shadow:0 9px 20px rgba(36,179,158,.2);font-size:14px}.voice-btn.recording{background:linear-gradient(135deg,#ff6b6b,#ff8b62);border-color:#ff7770;box-shadow:0 0 0 5px rgba(255,107,107,.11)}.voice-icon{display:grid;place-items:center}.voice-svg{width:23px;height:23px}.voice-pulse{position:absolute;width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.13);left:calc(50% - 90px);top:7px}.voice-btn.recording .voice-pulse{animation:pulsevoice 1s ease-out infinite}@keyframes pulsevoice{0%{transform:scale(.6);opacity:.7}100%{transform:scale(1.9);opacity:0}}.voice-status{color:#678497;font-weight:700}.voice-transcript{background:#fff;border-color:#cfe8df;color:#425f71;border-radius:15px}.gps-box{border-radius:19px;background:linear-gradient(135deg,#eef9ff,#f7fffb);border-color:#cfe7ef}.draft-status{background:#f5fafc;border-color:#d7e8ef;color:#6a8293}

/* Discover */
.discover-toolbar{grid-template-columns:1.2fr 1fr auto}.chip{background:#fff;border-color:#d7e7ee;color:#607d90;box-shadow:0 4px 11px rgba(61,112,135,.05)}.chip.active{background:linear-gradient(135deg,#ffc53d,#ffb000);border-color:#ffb700;color:#594000;box-shadow:0 6px 14px rgba(255,181,0,.2)}.discover-map,#map{border-color:#c9e2eb;background:#dceff4;box-shadow:var(--shadow-soft);border-radius:24px}.discover-card{grid-template-columns:52px 1fr auto;padding:12px}.discover-icon{width:52px;height:52px;border:0;background:linear-gradient(145deg,#e9faff,#f4efff);border-radius:18px}.score{background:#fff2bf;color:#9b6a00;border-color:#ffe08a}.discover-card p{color:#738798}.fundmap-popup{background:#fff;color:var(--ink);border-color:#d4e7ef;box-shadow:0 12px 35px rgba(31,81,109,.2)}.fundmap-popup small{color:#718698}.fundmap-popup a{color:#197da5}.fundmap-controls{border-color:#c7e0ea}.fundmap-controls button{background:#fff;color:#265c75}.fundmap-controls button+button{border-top-color:#d7e7ee}.fundmap-attrib{background:rgba(255,255,255,.88);color:#527184}.fundmap-place{background:#fff;border-width:3px}.fundmap-trackline{stroke:#ffb703}

/* Tour */
.tour-hero{background:linear-gradient(135deg,#f2fff8,#eff9ff);border-color:#cce9dc}.tour-status.live{color:#11895f}.tour-target{background:#fff7d7;border-color:#ffe390;color:#6e5300}.tour-stats div{background:#fff;border-color:#d7e8ef;border-radius:18px}.tour-stats strong{color:#1e607c}.tour-history{border-bottom-color:#e2edf2}

/* More, badges, achievements */
.settings-list{gap:10px}.setting{background:#fff}.setting h3{color:#2d546c}.badge{border:0;background:#edf7fb;color:#4a6e80;font-weight:800}.meter{background:#e7f0f4}.meter>span{background:linear-gradient(90deg,#20c688,#18a7c9,#8267e8)}.toggle-row{border-bottom-color:#e4eef3}.achievement{border-color:#e0ebf0;background:#f8fbfd;border-radius:18px}.achievement.unlocked{border-color:#ffe18c;background:linear-gradient(135deg,#fff8dd,#fff);box-shadow:0 5px 13px rgba(223,172,0,.09)}.achievement.unlocked>span{filter:drop-shadow(0 3px 4px rgba(214,150,0,.16))}.bar{background:#e8f0f4}.bar span{background:linear-gradient(90deg,#ffbf22,#ff7a55)}

/* Detail modal */
.modal-backdrop{background:rgba(28,56,72,.43);backdrop-filter:blur(7px)}.modal{background:#f7fcff;border-color:#d0e6ee;border-radius:30px 30px 0 0;box-shadow:0 -22px 70px rgba(37,87,113,.24)}.gallery img{border-radius:20px}.detail-item{background:#fff;border-color:#dbe9ef;border-radius:17px}.detail-item small{color:#7b90a0}.story-box{background:linear-gradient(135deg,#fff9e7,#f7f4ff);border-color:#eadca7;border-radius:18px;color:#465d6c}.story-read{margin-top:10px}.detail-actions{grid-template-columns:repeat(2,1fr)}

/* Toast & system */
.toast{background:#fff;color:#1e4b63;border:1px solid #d8e9f0;box-shadow:0 15px 40px rgba(34,91,122,.18);border-radius:18px}.toast.error{background:#fff0ef;color:#a83939;border-color:#ffd0cd}.toast.warn{background:#fff8dd;color:#765600;border-color:#ffe396}.systemcheck-row.ok>span{background:#ddf8ec;color:#16855f}.systemcheck-row.bad>span{background:#ffe6e3;color:#c74e4e}.systemcheck-row strong{color:#2a5269}.systemcheck-row small{color:#7b8f9e}

/* Bottom nav */
.bottom-nav{position:fixed!important;left:50%!important;right:auto!important;width:min(680px,calc(100% - 20px));transform:translateX(-50%);bottom:calc(8px + var(--safe-bottom));z-index:1000;padding:8px 5px;border:1px solid rgba(197,224,234,.95);border-radius:25px;background:rgba(255,255,255,.94);box-shadow:0 14px 36px rgba(32,85,113,.22);backdrop-filter:blur(22px) saturate(1.25);-webkit-backdrop-filter:blur(22px) saturate(1.25)}.nav-btn{color:#8296a4;font-size:9px;font-weight:850;gap:4px}.nav-btn .ico{width:38px;height:31px;display:grid;place-items:center;border-radius:12px}.nav-svg{width:21px;height:21px}.nav-btn.active{color:#168da9}.nav-btn.active .ico{background:#e5f8fc;color:#1598b7}.nav-plus .ico{width:54px;height:54px;border-radius:19px;background:linear-gradient(145deg,#ffca38,#ffad00);color:#563900;margin-top:-28px;box-shadow:0 10px 24px rgba(255,174,0,.3),inset 0 1px rgba(255,255,255,.65)}.nav-plus .nav-svg{width:28px;height:28px;stroke-width:2.4}.nav-plus.active{color:#b67a00}.nav-plus.active .ico{background:linear-gradient(145deg,#ffd85c,#ffae00);color:#563900}

@media(min-width:700px){.bottom-nav{width:min(640px,calc(100% - 24px));bottom:14px}.modal{border-radius:30px}.explorer-hero{min-height:285px;padding:30px}.explorer-hero h2{font-size:44px}.hero-compass{width:132px;height:132px}.hero-compass-svg{width:88px;height:88px}.stats-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:560px){.explorer-hero{grid-template-columns:1fr 105px;min-height:235px;padding:20px 17px}.explorer-hero h2{font-size:31px}.explorer-hero p{font-size:12px}.hero-orbit{min-height:150px}.orbit-ring{width:112px;height:112px}.hero-compass{width:82px;height:82px;border-radius:26px}.hero-compass-svg{width:55px;height:55px}.orbit-coin{font-size:27px}.stats-grid{grid-template-columns:repeat(4,1fr)}.stat{min-height:95px;padding:11px 5px}.stat .n{font-size:21px}.stat .l{font-size:9px}.stat-icon{font-size:19px}.discover-toolbar{grid-template-columns:1fr 1fr}.discover-toolbar select{grid-column:1/-1}.detail-actions{grid-template-columns:1fr}.achievement-grid{grid-template-columns:1fr 1fr}}
@media(max-width:390px){.explorer-hero{grid-template-columns:1fr;padding-right:15px}.hero-orbit{position:absolute;right:-22px;top:21px;opacity:.34;width:120px}.hero-copy{max-width:82%}.hero-actions{max-width:270px}.stats-grid{grid-template-columns:repeat(2,1fr)}.stat{min-height:88px}.search-row{grid-template-columns:1fr}.level-card{grid-template-columns:auto 1fr}.level-trophy{display:none}.treasure-card{grid-template-columns:64px 1fr auto}.treasure-thumb{width:64px;height:64px}.bottom-nav{width:calc(100% - 12px)}}

/* v4.2 stability + inclusive explorer refinements */
html,body{overflow-x:hidden}
.bottom-nav .nav-btn{min-width:0}
.bottom-nav .nav-btn span:last-child{white-space:nowrap}
@media(max-width:560px){
  .discover-card{grid-template-columns:52px minmax(0,1fr)!important}
  .discover-actions{grid-column:1/-1!important;grid-template-columns:52px 1fr 1fr!important;align-items:stretch}
  .discover-actions .btn,.discover-actions a{width:100%;min-width:0}
  .page-title{align-items:flex-start}
}

.ai-insight{margin-top:12px;padding:14px;border:1px solid #cfe6f0;border-radius:20px;background:linear-gradient(135deg,#ffffff,#f1fbff);box-shadow:0 7px 20px rgba(44,112,143,.07)}
.ai-insight-head{display:flex;align-items:center;gap:10px}.ai-insight-head>span{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#fff3c7,#efeaff);font-size:24px}.ai-insight-head div{display:grid;gap:2px}.ai-insight-head small{font-size:9px;letter-spacing:1px;color:#6a86a0;font-weight:900}.ai-insight-head strong{font-size:14px;color:#214d66}.ai-insight p{margin:10px 0 0;color:#587387;font-size:12px;line-height:1.55}.ai-insight-caution{margin-top:10px;padding:9px 10px;border-radius:12px;background:#fff3df;color:#855a00;font-size:11px;font-weight:750}

/* v4.3: Sondeln + Natur discover modes */
.discover-mode-switch{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:0 0 12px}
.mode-card{appearance:none;border:1px solid #d6e7ee;background:rgba(255,255,255,.92);border-radius:20px;min-height:92px;padding:12px 8px;color:var(--ink);display:grid;place-items:center;text-align:center;gap:2px;box-shadow:0 6px 18px rgba(39,104,133,.07)}
.mode-card span{font-size:27px;line-height:1}.mode-card b{font-size:13px}.mode-card small{font-size:9px;color:var(--muted);line-height:1.2}.mode-card.active{transform:translateY(-1px);border-width:2px;box-shadow:0 9px 22px rgba(41,118,150,.16)}
.mode-card.metal.active{background:linear-gradient(145deg,#fff6cf,#ffe797);border-color:#ffc83d}.mode-card.nature.active{background:linear-gradient(145deg,#e8ffe9,#c9f5d1);border-color:#64c977}.mode-card.all.active{background:linear-gradient(145deg,#e8f9ff,#eee8ff);border-color:#7ccce1}
.quest-card{padding:13px 14px;margin-bottom:12px;background:linear-gradient(135deg,rgba(255,255,255,.95),rgba(239,250,255,.95))}.quest-copy{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-bottom:9px}.quest-copy strong{font-size:13px}.quest-copy span{font-size:10px;color:var(--muted)}
.quest-options{display:flex;gap:7px;overflow-x:auto;padding:1px 0 4px;scrollbar-width:none}.quest-options::-webkit-scrollbar{display:none}.quest-options button{white-space:nowrap;border:1px solid #d7e7ee;background:#fff;color:#496b7e;border-radius:999px;padding:8px 10px;font-weight:800;font-size:10px}.quest-options button.active{background:linear-gradient(135deg,#dff8ff,#e8fff0);border-color:#77cfcb;color:#246e77;box-shadow:0 4px 12px rgba(55,159,168,.12)}
.place-mode{margin-top:5px;font-size:9px;font-weight:900;letter-spacing:.15px;color:#4e8198}.discover-hints{margin-top:7px;padding:7px 9px;border-radius:12px;background:#f0faf5;color:#52766a;font-size:10px;line-height:1.35}.discover-hints strong{color:#35705e}
@media(max-width:390px){.mode-card{min-height:84px;padding:9px 5px}.mode-card span{font-size:24px}.mode-card b{font-size:11px}.mode-card small{font-size:8px}}
