/* Abenteuer-Leiste (Explore · Campaign · Quests · Bosses · Rifts · Tower · Group Dungeons), 01.11.2026.
   1) Fix: In .adventure-screen (Flex-Spalte mit fester Höhe) wurde die Leiste bei hohem Inhalt (Boss-Serie + „Letzte Reise“)
      auf ~10 px zusammengedrückt → nur ein goldener Strich sichtbar. Leiste + Rückkehr-Knöpfe schrumpfen nie mehr.
   2) Neues Aussehen „B · Schlichtes Banner“ (User wählte B am 01.11.2026), Details in leisten-b.css. @layer vhq = erste Ebene, schlägt pv-!important. */
@layer vhq {
  html body #view :is(.adventure-screen, .dungeon-expedition) > :is(.adventure-tabs, .journey-revisit) { flex: 0 0 auto !important; min-height: max-content !important; }
  html body #view .adventure-tabs { flex-shrink: 0 !important; }

  /* Symbole je Reiter (alle Varianten): echte Spiel-Symbole statt Schriftzeichen */
  html body #view .adventure-tabs button::before {
    content: "" !important; display: inline-block !important; position: static !important; flex: 0 0 auto !important;
    width: 28px !important; height: 28px !important; margin: -4px 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
    background: var(--al-icon) center / contain no-repeat !important; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)) !important; opacity: .85 !important;
  }
  html body #view .adventure-tabs button.active::before { opacity: 1 !important; }
  html body #view .adventure-tabs [data-adventure-tab="explore"] { --al-icon: url("./assets/expedition-icons/travel-path.webp"); }
  html body #view .adventure-tabs [data-adventure-tab="campaign"] { --al-icon: url("./assets/expedition-icons/region-chase.webp"); }
  html body #view .adventure-tabs [data-adventure-tab="quests"] { --al-icon: url("./assets/expedition-icons/quest-event.webp"); }
  html body #view .adventure-tabs [data-adventure-tab="bosses"] { --al-icon: url("./assets/expedition-icons/boss-discovered.webp"); }
  html body #view .adventure-tabs .pv-rifts-tab { --al-icon: url("./assets/expedition-icons/ascendant-shard.webp"); }
  html body #view .adventure-tabs .pv-tower-tab { --al-icon: url("./assets/ui/progression-icons-v3/ascension.webp"); }
  html body #view .adventure-tabs [data-shell-view="partydungeons"] { --al-icon: url("./assets/expedition-icons/elite-combat.webp"); }

  /* ── B · Schlichtes Banner: keine Kästen, Cinzel-Schrift, aktiv = Gold + leuchtender Strich mit Raute ── */
  html body #view .adventure-tabs {
    display: flex !important; gap: 0 !important; padding: 0 6px !important; margin: 0 0 14px !important; height: auto !important; min-height: 54px !important;
    border: 0 !important; border-bottom: 1px solid rgba(214, 178, 106, .35) !important; border-radius: 0 !important; overflow-x: auto !important; overflow-y: hidden !important;
    background: linear-gradient(180deg, #0d0c19, #090a14) !important; box-shadow: none !important;
  }
  html body #view .adventure-tabs button {
    position: relative !important; flex: 0 0 auto !important; display: inline-flex !important; align-items: center !important; gap: 8px !important;
    min-height: 52px !important; height: auto !important; padding: 0 20px !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important;
    background: transparent !important; box-shadow: none !important; color: #a9a3b4 !important;
    font: 700 13px/1 Cinzel, Georgia, serif !important; letter-spacing: .14em !important; white-space: nowrap !important; text-transform: uppercase !important;
  }
  html body #view .adventure-tabs button + button { box-shadow: -1px 0 0 rgba(214, 178, 106, .14) !important; }
  html body #view .adventure-tabs button:hover { color: #f3e2b8 !important; }
  html body #view .adventure-tabs button:not(.active)::before { filter: grayscale(.6) brightness(.8) !important; }
  html body #view .adventure-tabs button.active { color: #f6dfa4 !important; text-shadow: 0 0 14px rgba(246, 223, 164, .45) !important; }
  html body #view .adventure-tabs button.active::after {
    content: "" !important; display: block !important; position: absolute !important; left: 14px !important; right: 14px !important; bottom: -1px !important; height: 3px !important;
    border-radius: 3px !important; background: linear-gradient(90deg, transparent, #f6dfa4 20%, #f6dfa4 80%, transparent) !important; box-shadow: 0 0 12px rgba(246, 223, 164, .7) !important;
  }

  @media (max-width: 760px) {
    html body #view .adventure-tabs { margin-left: 0 !important; margin-right: 0 !important; scrollbar-width: none !important; }
    html body #view .adventure-tabs button { padding: 0 14px !important; font-size: 12px !important; }
  }
}
