/* VEYDRIS – Expeditions-Bühne v2 (22.10.2026, Betreiber: „die ganze Karte ist das Bild, drinnen die Buttons, Loot eigene Box,
   das ??? weg, am Monitor nicht ganz drin – alles muss sichtbar sein“).
   Desktop (≥ 1025 px): Reihen Tabs / Bühne (füllt den Rest) / Dock mit fester Höhe → jeder Knopf bleibt im Bildschirm.
   Die Straße liegt direkt auf dem Gemälde (kein eigener Kasten), Titel + Held + SOFORT BEENDEN oben, Entscheidungsfenster
   (Schrein, Truhe, Begegnung, Instanz) als Goldrahmen-Fenster rechts unten in der Karte, Lebenszeichen links unten.
   Dock: Reise (Art, Zahlen, Warteschlange) · LOOT-BOX (Karten) · Chronik.
   Präfix mit fünf IDs, damit alle älteren Expeditions-Regeln (expedition-stage, mobile-feel, encounter-fx) verlieren. */
@layer pv {
  /* ================= Runen statt „?“ (alle Bildschirme) ================= */
  html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .journey-road .jr-node.is-sealed {
    width: 16px !important; height: 16px !important; opacity: .95 !important; scale: 1 !important; rotate: 45deg !important; border-radius: 3px !important;
    border: 2px solid rgba(243, 207, 134, .6) !important; background: linear-gradient(135deg, rgba(60, 46, 22, .95), rgba(14, 11, 18, .95)) !important;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, .55), 0 0 12px rgba(243, 207, 134, .4) !important;
  }
  html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .journey-road .jr-node.is-sealed::after {
    content: "" !important; position: absolute !important; inset: 3px !important; border-radius: 1px !important; background: rgba(243, 207, 134, .55) !important; animation: xs2-rune 2.4s ease-in-out infinite !important;
  }
  html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .journey-road .jr-node.is-sealed.is-passed { opacity: .35 !important; }
  @keyframes xs2-rune { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

  /* Held mit Gesicht: größer, goldener Ring, Schein */
  html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .journey-road .jr-hero { width: 66px !important; height: 66px !important; }
  html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .journey-road .jr-hero__face {
    border: 3px solid #f3cf86 !important; background: var(--hero) center 10% / 165% auto no-repeat, #1a1426 !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .7), 0 0 0 5px rgba(243, 207, 134, .25), 0 0 30px rgba(243, 207, 134, .75), 0 12px 24px rgba(0, 0, 0, .8) !important;
  }

  /* ================= Desktop ================= */
  @media (min-width: 1025px) {
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .expedition-screen.xs-stage {
      --xs-dock: clamp(176px, 26vh, 290px);
      display: grid !important; grid-template-columns: minmax(340px, 1.25fr) minmax(0, 1.4fr) minmax(290px, 1.05fr) !important;
      grid-template-rows: max-content minmax(0, 1fr) var(--xs-dock) !important; grid-template-areas: "tabs tabs tabs" "scene scene scene" "left loot log" !important;
      gap: 8px 10px !important; padding: 6px 10px 10px !important; overflow: hidden !important; min-height: 0 !important;
      background:
        linear-gradient(180deg, rgba(8, 7, 12, .35) 0%, rgba(8, 7, 12, 0) 20%, rgba(8, 7, 12, 0) 55%, rgba(8, 7, 12, .88) 100%),
        var(--region-art) center 40% / cover no-repeat, #0b0a10 !important;
    }

    /* --- Bühne: Gemälde mit Straße --- */
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage > .xs-scene {
      position: relative !important; display: block !important; min-height: 0 !important; overflow: hidden !important; padding: 0 !important; margin: 0 !important;
      border: 1px solid rgba(232, 196, 128, .28) !important; border-radius: 14px !important; box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), inset 0 0 80px rgba(0, 0, 0, .35) !important;
      background: var(--region-art) center 40% / cover no-repeat, #0b0a10 !important;
    }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage > .xs-scene::before {
      content: "" !important; display: block !important; position: absolute !important; inset: 0 !important; z-index: 1 !important; pointer-events: none !important;
      background: linear-gradient(180deg, rgba(6, 5, 10, .55) 0%, rgba(6, 5, 10, .08) 26%, rgba(6, 5, 10, .05) 70%, rgba(6, 5, 10, .5) 100%), radial-gradient(ellipse 80% 70% at 50% 55%, transparent 55%, rgba(0, 0, 0, .45) 100%) !important;
    }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage > .xs-scene::after { content: none !important; display: none !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage > .xs-scene > * { grid-area: auto !important; }

    /* Straße füllt die ganze Bühne */
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .expedition-journey { position: absolute !important; inset: 0 !important; z-index: 2 !important; display: block !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-axis { position: absolute !important; inset: 0 !important; display: block !important; margin: 0 !important; padding: 0 !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage :is(.journey-road-origin, .journey-road-destination) { display: none !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-road {
      position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; aspect-ratio: auto !important;
      margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; animation: none !important;
    }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-road .jr-sky { background: none !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-road .jr-path--base { stroke-width: 18px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-road .jr-path--lit { stroke-width: 7px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-road .jr-end { font: 800 10.5px/1 Cinzel, Georgia, serif !important; letter-spacing: .22em !important; color: #f6e2ae !important; text-shadow: 0 1px 3px #000, 0 0 12px #000 !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .expedition-journey:has([data-journey-road]) .journey-track { display: none !important; }
    /* Balken-Fassung (ohne Straße) bleibt mittig */
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .expedition-journey:not(:has(.journey-road)) { inset: auto 6% 34% 6% !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .expedition-journey:not(:has(.journey-road)) .journey-axis { position: static !important; display: grid !important; }

    /* Titel + Uhr oben links */
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-title {
      position: absolute !important; left: 18px !important; top: 14px !important; z-index: 6 !important; display: grid !important; justify-items: start !important; gap: 3px !important; max-width: 46% !important; text-align: left !important;
    }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-title > h1 { font-size: clamp(26px, 2.4vw, 38px) !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; max-width: 100% !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-clock { margin-top: 2px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-clock b { font-size: 19px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-friend-help { display: block !important; color: #8ff0c4 !important; font: 700 10px/1.3 var(--pv-font) !important; letter-spacing: .08em !important; text-shadow: 0 1px 4px #000 !important; }

    /* Held + SOFORT BEENDEN oben rechts */
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-actions {
      position: absolute !important; right: 14px !important; top: 12px !important; z-index: 6 !important; display: flex !important; align-items: center !important; justify-content: flex-end !important; gap: 10px !important; max-width: 52% !important;
    }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-hero {
      display: flex !important; align-items: center !important; gap: 10px !important; min-width: 0 !important; padding: 5px 16px 5px 6px !important; border-radius: 99px !important;
      border: 1px solid rgba(232, 196, 128, .32) !important; background: rgba(8, 7, 12, .62) !important; backdrop-filter: blur(8px) !important; box-shadow: 0 10px 24px -14px #000 !important;
    }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-hero > i {
      flex: 0 0 auto !important; display: block !important; width: 44px !important; height: 44px !important; border-radius: 50% !important; border: 2px solid #f3cf86 !important; box-sizing: border-box !important;
      background: var(--traveler-portrait) center 10% / 165% auto no-repeat, #1a1426 !important; box-shadow: 0 0 0 2px rgba(0, 0, 0, .7), 0 0 16px rgba(243, 207, 134, .5) !important;
    }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-hero > span { display: grid !important; gap: 1px !important; min-width: 0 !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-hero small { color: #8ff0c4 !important; font: 800 8.5px/1.2 var(--pv-font) !important; letter-spacing: .2em !important; white-space: nowrap !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage:has(.journey-vignette.paused) .xs-hero small { color: #ffab98 !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage.is-complete .xs-hero small { color: #f3d58e !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-hero b { color: #fff3d6 !important; font: 600 15px/1.15 var(--pv-display) !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-hero em { color: #bfae8a !important; font: 700 9.5px/1.2 var(--pv-font) !important; letter-spacing: .14em !important; font-style: normal !important; white-space: nowrap !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-actions > .expedition-skip { flex: 0 0 auto !important; min-width: 0 !important; width: auto !important; white-space: nowrap !important; min-height: 46px !important; }

    /* Lebenszeichen unten links */
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-live { position: absolute !important; left: 16px !important; bottom: 14px !important; z-index: 6 !important; margin: 0 !important; max-width: 44% !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-live b { white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }

    /* --- Entscheidungsfenster rechts unten in der Karte --- */
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-scene > :is(.journey-vignette, .journey-shrine-stage, .journey-chest-stage, .journey-instance-panel) {
      position: absolute !important; right: 16px !important; bottom: 16px !important; left: auto !important; top: auto !important; z-index: 7 !important; transform: none !important; margin: 0 !important;
      width: min(600px, 54%) !important; max-height: calc(100% - 32px) !important; overflow: auto !important; scrollbar-width: thin !important; box-sizing: border-box !important;
    }
    /* Reise-Text ohne Rahmen, Begegnung/Schrein/Truhe/Instanz als Goldrahmen-Fenster */
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-scene > .journey-vignette { padding: 14px 18px !important; border-radius: 16px !important; background: rgba(8, 7, 12, .5) !important; backdrop-filter: blur(6px) !important; border: 1px solid rgba(232, 196, 128, .16) !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-scene > .journey-vignette.paused,
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-scene > :is(.journey-shrine-stage, .journey-chest-stage, .journey-instance-panel) {
      padding: 24px 28px 22px !important; border-radius: 14px !important; border: 1px solid rgba(232, 196, 128, .45) !important; animation: xs2-window .4s cubic-bezier(.2, .9, .3, 1.2) both !important;
      background: radial-gradient(90% 70% at 50% 0%, rgba(243, 213, 142, .14), transparent 60%), linear-gradient(180deg, rgba(20, 16, 24, .96), rgba(9, 8, 13, .97)) !important; backdrop-filter: blur(10px) !important;
      box-shadow: 0 30px 60px -24px #000, 0 0 0 1px rgba(0, 0, 0, .7), 0 0 50px -10px rgba(243, 213, 142, .35) !important;
    }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-scene > :is(.journey-vignette.paused, .journey-shrine-stage, .journey-chest-stage, .journey-instance-panel)::before {
      content: "" !important; display: block !important; position: absolute !important; inset: 0 !important; z-index: 3 !important; pointer-events: none !important; border-radius: 0 !important; background: none !important;
      border: 34px solid transparent !important; border-image: url("./assets/ui/frames/endgame-panel-frame-v2.webp") 120 / 34px / 3px stretch !important; opacity: .95 !important;
    }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-scene > :is(.journey-vignette.paused, .journey-shrine-stage, .journey-chest-stage, .journey-instance-panel)::after { content: none !important; display: none !important; }
    @keyframes xs2-window { from { opacity: 0; transform: translateY(14px) scale(.97); } }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-story > p[data-journey-narrative] { font-size: 16.5px !important; max-width: none !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-story > .button { min-height: 48px !important; margin-top: 8px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-scene > .journey-shrine-stage { gap: 10px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .journey-shrine-stage > header h2 { font-size: 20px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .journey-shrine-choices > .shrine-card { padding: 12px 10px 10px !important; gap: 5px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .journey-shrine-choices > .shrine-card > span { font-size: 11.5px !important; line-height: 1.35 !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-chest-stage { gap: 8px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-chest-choices { grid-template-columns: repeat(3, minmax(90px, 118px)) !important; gap: 10px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-chest-art { width: 86px !important; height: 86px !important; }

    /* --- Dock: Reise · Loot-Box · Chronik --- */
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage > :is(.xs-side, .xs-log) { padding: 12px 14px !important; gap: 8px !important; border-radius: 14px !important; background: rgba(12, 11, 18, .78) !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage > .xs-side--left {
      grid-area: left !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; grid-template-rows: max-content minmax(0, 1fr) !important; grid-template-areas: "mode queue" "facts queue" !important; align-content: start !important; column-gap: 12px !important;
    }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-mode { grid-area: mode !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-mode > p { display: none !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-mode > div { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 3px !important; padding: 3px !important; border: 1px solid rgba(232, 196, 128, .22) !important; border-radius: 11px !important; background: rgba(0, 0, 0, .45) !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-mode > div > .button, html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-mode > div > .button:not(#vb) {
      all: unset !important; box-sizing: border-box !important; display: flex !important; align-items: center !important; justify-content: center !important; min-height: 30px !important; min-width: 0 !important; padding: 0 6px !important; border-radius: 8px !important; cursor: pointer !important;
      color: #bfae8a !important; font: 800 10px/1 var(--pv-font) !important; letter-spacing: .14em !important; text-shadow: none !important; border: 0 !important; background: none !important; box-shadow: none !important;
    }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-mode > div > .button:hover { color: #fff3d6 !important; background: rgba(255, 255, 255, .06) !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-mode > div > .button.selected, html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-mode > div > .button[aria-pressed="true"] { color: #1a1408 !important; background: linear-gradient(180deg, #f6dd9c, #c99a4a) !important; box-shadow: 0 6px 14px -8px rgba(243, 213, 142, .8) !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .expedition-queue .button:not(#vb) { --cap: 24px; --bw: 11px; --out: 7px; min-height: 36px !important; font-size: 10px !important; letter-spacing: .08em !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-side--right .loot-sell-tools > .button:not(#vb), html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-side--right > footer > .button:not(#vb) { --cap: 26px; --bw: 12px; --out: 7px; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-facts { grid-area: facts !important; align-self: start !important; gap: 5px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-facts > div { padding: 5px 9px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-facts dd { font-size: 14px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .expedition-queue { grid-area: queue !important; align-content: start !important; padding: 0 0 0 12px !important; border-top: 0 !important; border-left: 1px solid rgba(255, 255, 255, .08) !important; gap: 6px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .expedition-queue > p { display: none !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .expedition-queue > header > .button { min-height: 38px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage > .xs-log { grid-area: log !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-log > header h2 { font-size: 16px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .expedition-event:first-child { padding: 7px 10px !important; grid-template-columns: 40px 38px minmax(0, 1fr) !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .expedition-event:first-child > .expedition-event-icon { width: 38px !important; height: 38px !important; }

    /* Loot-Box in der Mitte: eigener Goldkasten mit Karten */
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage > .xs-side--right {
      grid-area: loot !important; grid-template-rows: auto minmax(0, 1fr) auto !important; overflow: hidden !important; border-color: rgba(232, 196, 128, .4) !important;
      background: radial-gradient(80% 50% at 50% 0%, rgba(243, 213, 142, .1), transparent 70%), rgba(12, 11, 18, .82) !important; box-shadow: 0 18px 40px -26px #000, inset 0 0 0 1px rgba(243, 213, 142, .08) !important;
    }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage > .xs-side--right:has(.loot-sell-tools) { grid-template-rows: auto auto minmax(0, 1fr) auto !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-side--right > header h2 { font-size: 17px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-side--right .expedition-loot-grid { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)) !important; gap: 6px !important; overflow: auto !important; scrollbar-width: thin !important; padding-right: 2px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-side--right .expedition-loot-grid .empty-state { padding: 10px !important; font-size: 11.5px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-side--right > footer { padding-top: 6px !important; gap: 6px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-side--right > footer > span { font-size: 10.5px !important; line-height: 1.3 !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-side--right > footer > .button { min-height: 38px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-side--right .loot-sell-tools > .button { min-height: 34px !important; font-size: 9px !important; letter-spacing: .06em !important; white-space: normal !important; line-height: 1.15 !important; }
  }

  /* Weniger Höhe (1280×720, 1366×768): Dock kleiner, Fenster kompakter */
  @media (min-width: 1025px) and (max-height: 820px) {
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .expedition-screen.xs-stage { --xs-dock: clamp(168px, 25vh, 200px); gap: 6px 8px !important; padding: 4px 8px 8px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-title { top: 10px !important; left: 14px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-title > h1 { font-size: 24px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-clock b { font-size: 16px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-actions { top: 8px !important; right: 10px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-hero > i { width: 38px !important; height: 38px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-actions > .expedition-skip { min-height: 40px !important; font-size: 10.5px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-live { bottom: 10px !important; left: 12px !important; padding: 4px 12px 4px 10px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-scene > :is(.journey-vignette, .journey-shrine-stage, .journey-chest-stage, .journey-instance-panel) { right: 12px !important; bottom: 12px !important; width: min(560px, 56%) !important; max-height: calc(100% - 24px) !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-scene > .journey-vignette.paused,
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-scene > :is(.journey-shrine-stage, .journey-chest-stage, .journey-instance-panel) { padding: 18px 22px 16px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-story > p[data-journey-narrative] { font-size: 14.5px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-story > .button { min-height: 42px !important; margin-top: 4px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .journey-shrine-stage > header h2 { font-size: 17px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .journey-shrine-stage > header p { display: none !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .journey-shrine-choices > .shrine-card { padding: 9px 8px 8px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .journey-shrine-choices > .shrine-card > i { width: 34px !important; height: 34px !important; font-size: 16px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .journey-shrine-choices > .shrine-card > b { font-size: 13px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .journey-shrine-choices > .shrine-card > span { font-size: 10.5px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-chest-art { width: 70px !important; height: 70px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-chest-choices { grid-template-columns: repeat(3, minmax(80px, 96px)) !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-road .jr-hero { width: 54px !important; height: 54px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-side--right > header h2, html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-log > header h2 { font-size: 14.5px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage > :is(.xs-side, .xs-log) { padding: 9px 12px !important; gap: 6px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .journey-mode > span > b, html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .expedition-queue > header > span > b { display: none !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .expedition-queue .button { min-height: 32px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-side--right > footer > span, html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-side--right .loot-sell-tools > span { display: none !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .expedition-screen.xs-stage.is-complete { --xs-dock: clamp(200px, 31vh, 240px); }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-facts > div { padding: 3px 8px !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-facts dd { font-size: 13px !important; }
  }

  /* ================= Handy / Tablet: Kopfzeile mit Held, Knopf darunter ================= */
  @media (max-width: 1024px) {
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-actions { display: grid !important; justify-items: center !important; gap: 8px !important; width: 100% !important; margin: 2px 0 0 !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-hero { display: inline-flex !important; align-items: center !important; gap: 10px !important; padding: 4px 14px 4px 5px !important; border-radius: 99px !important; border: 1px solid rgba(232, 196, 128, .32) !important; background: rgba(8, 7, 12, .62) !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-hero > i { display: block !important; width: 38px !important; height: 38px !important; border-radius: 50% !important; border: 2px solid #f3cf86 !important; box-sizing: border-box !important; background: var(--traveler-portrait) center 10% / 165% auto no-repeat, #1a1426 !important; box-shadow: 0 0 0 2px rgba(0, 0, 0, .7), 0 0 14px rgba(243, 207, 134, .5) !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-hero > span { display: grid !important; gap: 1px !important; text-align: left !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-hero small { color: #8ff0c4 !important; font: 800 8.5px/1.2 var(--pv-font) !important; letter-spacing: .18em !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-hero b { color: #fff3d6 !important; font: 600 14px/1.15 var(--pv-display) !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-hero em { color: #bfae8a !important; font: 700 9px/1.2 var(--pv-font) !important; letter-spacing: .12em !important; font-style: normal !important; }
    html body.vey-renewal #view:not(#pv-x):not(#pv-y):not(#pv-z):not(#pv-w) .xs-stage .xs-actions > .expedition-skip { width: min(100%, 360px) !important; min-width: 0 !important; white-space: nowrap !important; }
  }
}
