@layer vhq {
  /* gemeinsame Basis: Erkunden (Atlas) */
  html body #view .expedition-atlas { display: grid !important; grid-template-rows: auto minmax(0, 1fr) auto !important; gap: 10px !important; position: relative !important; overflow: hidden !important; border: 1px solid rgba(214,178,106,.55) !important; border-radius: 14px !important; padding: 14px 18px !important; box-shadow: 0 10px 36px rgba(0,0,0,.55) !important; }
  html body #view .expedition-atlas .atlas-heading { display: flex !important; align-items: flex-start !important; justify-content: space-between !important; gap: 16px !important; min-height: 0 !important; height: auto !important; }
  html body #view .expedition-atlas .atlas-heading .eyebrow { font: 800 10.5px/1 Manrope, sans-serif !important; letter-spacing: .22em !important; color: #d9b866 !important; }
  html body #view .expedition-atlas .atlas-heading h1 { font: 700 clamp(26px, 3vw, 40px)/1.05 Cinzel, Georgia, serif !important; color: #f6dfa4 !important; letter-spacing: .03em !important; margin: 6px 0 4px !important; text-shadow: 0 2px 18px rgba(0,0,0,.85) !important; }
  html body #view .expedition-atlas .atlas-heading p { font: 500 13px/1.3 Manrope, sans-serif !important; color: #cfc7d8 !important; margin: 0 !important; }
  html body #view .expedition-atlas .atlas-region-controls { display: flex !important; gap: 8px !important; }
  html body #view .expedition-atlas .atlas-region-controls .button { min-height: 40px !important; height: 40px !important; border-radius: 10px !important; border: 1px solid rgba(214,178,106,.5) !important; background: rgba(12,10,22,.78) !important; color: #f3e2b8 !important; font: 800 11px/1 Cinzel, serif !important; letter-spacing: .14em !important; }
  html body #view .expedition-atlas .atlas-main { display: grid !important; min-height: 0 !important; gap: 14px !important; height: 100% !important; align-items: end !important; }
  html body #view .expedition-atlas .atlas-brief { display: flex !important; flex-direction: column !important; gap: 8px !important; min-height: 0 !important; max-width: none !important; padding: 12px 14px !important; border: 1px solid rgba(214,178,106,.5) !important; border-radius: 14px !important; background: linear-gradient(180deg, rgba(14,12,26,.86), rgba(8,7,15,.9)) !important; box-shadow: 0 8px 30px rgba(0,0,0,.5), inset 0 1px rgba(255,235,190,.08) !important; backdrop-filter: blur(6px) !important; }
  html body #view .expedition-atlas .atlas-brief > * { flex: 0 0 auto !important; }
  html body #view .expedition-atlas .atlas-route { display: flex !important; flex-direction: column !important; gap: 6px !important; height: auto !important; }
  html body #view .expedition-atlas .atlas-route .eyebrow { font: 800 10px/1 Manrope, sans-serif !important; letter-spacing: .2em !important; color: #b9a577 !important; }
  html body #view .expedition-atlas .atlas-durations { display: grid !important; grid-template-columns: repeat(6, 1fr) !important; gap: 6px !important; height: auto !important; }
  html body #view .expedition-atlas .atlas-durations button { min-height: 38px !important; height: 38px !important; padding: 0 4px !important; border-radius: 9px !important; border: 1px solid rgba(214,178,106,.28) !important; background: rgba(20,17,32,.9) !important; color: #cfc7d8 !important; font: 800 12px/1 Cinzel, Georgia, serif !important; letter-spacing: .08em !important; }
  html body #view .expedition-atlas .atlas-durations button:hover { border-color: rgba(246,223,164,.7) !important; color: #f6dfa4 !important; }
  html body #view .expedition-atlas .atlas-durations button.active, html body #view .expedition-atlas .atlas-durations button[aria-pressed="true"] { background: linear-gradient(180deg, #f0d286, #b98a3a) !important; color: #20140a !important; border-color: #f6dfa4 !important; box-shadow: 0 0 16px rgba(246,200,110,.4) !important; }
  html body #view .expedition-atlas .atlas-mission-title { display: block !important; height: auto !important; min-height: 0 !important; }
  html body #view .expedition-atlas .atlas-mission-title .eyebrow { font: 800 10px/1 Manrope, sans-serif !important; letter-spacing: .2em !important; color: #e08a6a !important; }
  html body #view .expedition-atlas .atlas-mission-title h2 { font: 700 clamp(20px, 2vw, 26px)/1.05 Cinzel, Georgia, serif !important; color: #f6dfa4 !important; margin: 4px 0 4px !important; }
  html body #view .expedition-atlas .atlas-description { font: 500 13px/1.35 Manrope, sans-serif !important; color: #cfc7d8 !important; margin: 0 !important; }
  html body #view .expedition-atlas .atlas-stats { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; margin: 0 !important; height: auto !important; }
  html body #view .expedition-atlas .atlas-stats > div { padding: 6px 10px !important; border: 1px solid rgba(214,178,106,.22) !important; border-radius: 10px !important; background: rgba(10,9,20,.72) !important; }
  html body #view .expedition-atlas .atlas-stats dt { font: 800 9.5px/1 Manrope, sans-serif !important; letter-spacing: .2em !important; color: #b9a577 !important; margin: 0 0 5px !important; }
  html body #view .expedition-atlas .atlas-stats dd { font: 700 16px/1.1 Cinzel, Georgia, serif !important; color: #f4efe6 !important; margin: 0 !important; display: flex !important; align-items: center !important; gap: 6px !important; }
  html body #view .expedition-atlas .atlas-mode { height: auto !important; }
  html body #view .expedition-atlas .atlas-start { min-height: 48px !important; height: 48px !important; width: 100% !important; border-radius: 10px !important; font: 800 15px/1 Cinzel, Georgia, serif !important; letter-spacing: .16em !important; box-shadow: 0 0 26px rgba(246,200,110,.32), inset 0 1px rgba(255,255,255,.4) !important; }
  html body #view .expedition-atlas .atlas-contract { font: 600 11px/1.3 Manrope, sans-serif !important; color: #a9a3b4 !important; }
  html body #view .expedition-atlas .atlas-rewards { margin: 0 !important; }
  html body #view .expedition-atlas .atlas-rewards summary, html body #view .atlas-preparation > summary { cursor: pointer !important; font: 800 11px/1 Manrope, sans-serif !important; letter-spacing: .14em !important; color: #d9b866 !important; text-transform: uppercase !important; }
  html body #view .expedition-atlas .atlas-landmark { display: flex !important; flex-direction: column !important; gap: 4px !important; padding: 12px 16px !important; border: 1px solid rgba(214,178,106,.4) !important; border-left: 3px solid #d9b866 !important; border-radius: 10px !important; background: rgba(8,7,15,.78) !important; height: auto !important; width: auto !important; text-align: left !important; }
  html body #view .expedition-atlas .atlas-landmark .eyebrow { font: 800 10px/1 Manrope, sans-serif !important; letter-spacing: .2em !important; color: #b9a577 !important; }
  html body #view .expedition-atlas .atlas-landmark b { font: 700 20px/1.1 Cinzel, Georgia, serif !important; color: #f6dfa4 !important; }
  html body #view .expedition-atlas .atlas-landmark span:last-child { font: 500 12px/1.3 Manrope, sans-serif !important; color: #cfc7d8 !important; }
  html body #view .atlas-preparation { border-radius: 10px !important; }
  @media (max-width: 860px) {
    html body #view .expedition-atlas { display: flex !important; flex-direction: column !important; padding: 12px !important; overflow: visible !important; height: auto !important; }
    html body #view .expedition-atlas .atlas-heading { flex-direction: column !important; }
    html body #view .expedition-atlas .atlas-main { display: flex !important; flex-direction: column !important; height: auto !important; }
    html body #view .expedition-atlas .atlas-durations { grid-template-columns: repeat(3, 1fr) !important; }
    html body #view .expedition-atlas .atlas-landmark { order: -1 !important; }
  }
}
@layer vhq {
  /* C · Kommando-Leiste: Brief liegt als breite Leiste unten, Bild bleibt frei */
  html body #view .expedition-atlas .atlas-main { grid-template-columns: minmax(0, 1fr) !important; align-items: end !important; }
  html body #view .expedition-atlas .atlas-brief { display: grid !important; grid-template-columns: 1.15fr 1fr 1fr !important; grid-template-areas: "route title stats" "mode start start" "contract contract rewards" !important; gap: 10px 16px !important; align-items: center !important; width: 100% !important; max-width: none !important; grid-column: 1 / -1 !important; }
  html body #view .expedition-atlas .atlas-route { grid-area: route !important; }
  html body #view .expedition-atlas .atlas-mission-title { grid-area: title !important; }
  html body #view .expedition-atlas .atlas-stats { grid-area: stats !important; }
  html body #view .expedition-atlas .atlas-mode { grid-area: mode !important; }
  html body #view .expedition-atlas .atlas-start { grid-area: start !important; }
  html body #view .expedition-atlas .atlas-contract { grid-area: contract !important; }
  html body #view .expedition-atlas .atlas-rewards { grid-area: rewards !important; justify-self: end !important; }
  html body #view .expedition-atlas .atlas-main { position: static !important; }
  html body #view .expedition-atlas .atlas-landmark { position: absolute !important; right: 18px !important; top: 66px !important; min-width: 260px !important; }
  @media (max-width: 860px) {
    html body #view .expedition-atlas .atlas-brief { display: flex !important; }
    html body #view .expedition-atlas .atlas-landmark { position: static !important; }
  }
}
@layer vhq {
  /* Welt-Leiste im Erkunden: zeigt je Region fertig / offen / gesperrt */
  html body #view .expedition-atlas { grid-template-rows: auto minmax(0, 1fr) auto auto !important; }
  html body #view .expedition-atlas .atlas-regionstrip { order: 3 !important; display: grid !important; grid-template-columns: 124px minmax(0, 1fr) !important; gap: 12px !important; align-items: center !important; position: relative !important; z-index: 2 !important; }
  html body #view .expedition-atlas .atlas-main { order: 2 !important; }
  html body #view .expedition-atlas .atlas-preparation { order: 4 !important; }
  html body #view .atlas-mapsum { display: flex !important; flex-direction: column !important; gap: 4px !important; }
  html body #view .atlas-mapsum small { font: 800 10px/1 Manrope, sans-serif !important; letter-spacing: .2em !important; color: #b9a577 !important; }
  html body #view .atlas-mapsum b { font: 700 15px/1.15 Cinzel, Georgia, serif !important; color: #f6dfa4 !important; }
  html body #view .atlas-regionstrip > div { display: grid !important; grid-template-columns: repeat(10, minmax(0, 1fr)) !important; gap: 6px !important; }
  html body #view .atlas-region { position: relative !important; display: flex !important; flex-direction: column !important; justify-content: flex-end !important; min-width: 0 !important; height: 68px !important; padding: 6px 7px 9px !important; border: 1px solid rgba(214,178,106,.3) !important; border-radius: 9px !important; background: #0a0912 !important; overflow: hidden !important; text-align: left !important; cursor: pointer !important; isolation: isolate !important; transition: transform .15s, border-color .15s, box-shadow .15s !important; }
  html body #view .atlas-region::before { content: "" !important; position: absolute !important; inset: 0 !important; z-index: -2 !important; background: var(--region-thumb) center / cover no-repeat !important; }
  html body #view .atlas-region::after { content: "" !important; position: absolute !important; inset: 0 !important; z-index: -1 !important; background: linear-gradient(0deg, rgba(5,5,12,.94) 10%, rgba(5,5,12,.1) 70%) !important; }
  html body #view .atlas-region:hover { transform: translateY(-2px) !important; border-color: rgba(246,223,164,.75) !important; }
  html body #view .atlas-region small { position: absolute !important; top: 5px !important; left: 7px !important; font: 800 10px/1 Cinzel, serif !important; color: #f6dfa4 !important; text-shadow: 0 1px 4px #000 !important; }
  html body #view .atlas-region b { font: 700 10px/1.1 Cinzel, Georgia, serif !important; color: #f3e2b8 !important; text-shadow: 0 1px 6px #000 !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
  html body #view .atlas-region em { position: absolute !important; top: 4px !important; right: 5px !important; font: 800 9px/1 Manrope, sans-serif !important; font-style: normal !important; letter-spacing: .06em !important; padding: 3px 6px !important; border-radius: 999px !important; }
  html body #view .atlas-region i { position: absolute !important; left: 0 !important; bottom: 0 !important; height: 4px !important; width: 100% !important; background: rgba(255,255,255,.14) !important; }
  html body #view .atlas-region i::before { content: "" !important; display: block !important; height: 100% !important; width: var(--pct) !important; background: linear-gradient(90deg, #d9b866, #f6dfa4) !important; }
  html body #view .atlas-region u { position: absolute !important; bottom: 10px !important; right: 6px !important; width: 9px !important; height: 9px !important; background: #f6dfa4 !important; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%) !important; text-decoration: none !important; }
  /* noch zu tun: gold und lebendig */
  html body #view .atlas-region.is-open em { background: linear-gradient(180deg, #f0d286, #b98a3a) !important; color: #20140a !important; }
  html body #view .atlas-region.is-open { border-color: rgba(246,223,164,.55) !important; }
  /* fertig: ruhiger, grüner Haken */
  html body #view .atlas-region.is-done::before { filter: saturate(.55) brightness(.75) !important; }
  html body #view .atlas-region.is-done { border-color: rgba(120,205,150,.55) !important; }
  html body #view .atlas-region.is-done em { background: rgba(26,70,48,.95) !important; color: #9be8b6 !important; border: 1px solid rgba(120,205,150,.6) !important; padding-left: 16px !important; }
  html body #view .atlas-region.is-done em::before { content: "" !important; position: absolute !important; left: 6px !important; top: 50% !important; width: 4px !important; height: 7px !important; border: solid #9be8b6 !important; border-width: 0 2px 2px 0 !important; transform: translateY(-62%) rotate(45deg) !important; }
  html body #view .atlas-region.is-done i::before { background: linear-gradient(90deg, #5fc58a, #9be8b6) !important; }
  /* gesperrt: dunkel */
  html body #view .atlas-region.is-locked::before { filter: grayscale(1) brightness(.3) !important; }
  html body #view .atlas-region.is-locked em { background: rgba(20,18,30,.9) !important; color: #8a85a0 !important; }
  html body #view .atlas-region.is-locked b { color: #77728a !important; }
  html body #view .atlas-region.is-selected { border-color: #f6dfa4 !important; box-shadow: 0 0 0 1px #f6dfa4, 0 0 20px rgba(246,223,164,.45) !important; }
  @media (max-width: 860px) {
    html body #view .expedition-atlas .atlas-regionstrip { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 6px !important; order: 2 !important; }
    html body #view .atlas-mapsum { flex-direction: row !important; align-items: baseline !important; justify-content: space-between !important; }
    html body #view .atlas-regionstrip > div { display: flex !important; overflow-x: auto !important; scroll-snap-type: x mandatory !important; scrollbar-width: none !important; padding-bottom: 4px !important; }
    html body #view .atlas-region { flex: 0 0 112px !important; height: 84px !important; scroll-snap-align: start !important; }
  }
}
@layer vhq {
  /* Reisezeit-Knöpfe: Kacheln mit großer Zahl, Einheit und Energiekosten */
  html body #view .expedition-atlas .atlas-durations { gap: 8px !important; }
  html body #view .expedition-atlas .atlas-durations button { position: relative !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 2px !important; min-height: 72px !important; height: 72px !important; padding: 6px 4px 8px !important; border-radius: 11px !important; border: 1px solid rgba(214,178,106,.32) !important; background: linear-gradient(180deg, rgba(34,29,52,.95), rgba(14,12,24,.95)) !important; box-shadow: inset 0 1px rgba(255,235,190,.1), 0 4px 12px rgba(0,0,0,.4) !important; color: #e9dfc4 !important; transition: transform .15s, border-color .15s, box-shadow .15s !important; overflow: hidden !important; }
  html body #view .expedition-atlas .atlas-durations button::before { content: "" !important; position: absolute !important; left: 22% !important; right: 22% !important; top: 0 !important; height: 2px !important; border-radius: 0 0 3px 3px !important; background: linear-gradient(90deg, transparent, rgba(246,223,164,.7), transparent) !important; }
  html body #view .expedition-atlas .atlas-durations button b { font: 700 26px/1 Cinzel, Georgia, serif !important; letter-spacing: .01em !important; color: #f6dfa4 !important; text-shadow: 0 2px 8px rgba(0,0,0,.7) !important; }
  html body #view .expedition-atlas .atlas-durations button small { font: 800 10px/1 Manrope, sans-serif !important; letter-spacing: .22em !important; color: #b9a577 !important; margin-top: 1px !important; }
  html body #view .expedition-atlas .atlas-durations button em { display: inline-flex !important; align-items: center !important; gap: 3px !important; margin-top: 3px !important; padding: 2px 7px !important; border-radius: 999px !important; background: rgba(8,7,15,.7) !important; border: 1px solid rgba(110,210,225,.28) !important; font: 800 10px/1 Manrope, sans-serif !important; font-style: normal !important; color: #8fe0ea !important; }
  html body #view .expedition-atlas .atlas-durations button em .energy-ico { width: 10px !important; height: 10px !important; }
  html body #view .expedition-atlas .atlas-durations button:hover { transform: translateY(-2px) !important; border-color: rgba(246,223,164,.8) !important; box-shadow: inset 0 1px rgba(255,235,190,.16), 0 8px 18px rgba(0,0,0,.5), 0 0 16px rgba(246,200,110,.22) !important; }
  html body #view .expedition-atlas .atlas-durations button[aria-pressed="true"] { background: linear-gradient(180deg, #f6dc9c 0%, #d9a950 55%, #a87a2e 100%) !important; border-color: #fff0c4 !important; box-shadow: inset 0 1px rgba(255,255,255,.55), 0 0 0 1px #f6dfa4, 0 0 24px rgba(246,200,110,.55) !important; transform: translateY(-2px) !important; }
  html body #view .expedition-atlas .atlas-durations button[aria-pressed="true"] b { color: #2a1a07 !important; text-shadow: 0 1px 0 rgba(255,255,255,.35) !important; }
  html body #view .expedition-atlas .atlas-durations button[aria-pressed="true"] small { color: #5a3d12 !important; }
  html body #view .expedition-atlas .atlas-durations button[aria-pressed="true"] em { background: rgba(35,22,6,.82) !important; border-color: rgba(246,223,164,.5) !important; }
  @media (max-width: 860px) { html body #view .expedition-atlas .atlas-durations button { height: 66px !important; min-height: 66px !important; } }
}
