/* VEYDRIS – Pro-Politur (26.10.2026): kleine, gezielte Korrekturen aus echten Screenshots (Desktop 1280–1536 × 720–758, Handy 390).
   Wird ZULETZT geladen. Spezifität über sechs :not(#ppN), damit die älteren Schichten (veydris-extras, shell-v2 …) nicht dagegenhalten.
   Regel: hier nur korrigieren, nicht neu gestalten – Optik bleibt Obsidian/Gold, Cinzel + Manrope. */
@layer pv {
@media (min-width: 1025px) and (max-height: 830px) {
  /* 1) Linke Leiste: nichts überlappt, auch bei niedrigen Fenstern. Zu viel Inhalt scrollt unsichtbar statt sich zu stapeln. */
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) aside.sidebar > #nav {
    flex: 1 1 0 !important; min-height: 0 !important; overflow-y: auto !important; overflow-x: hidden !important;
    scrollbar-width: none !important; overscroll-behavior: contain;
  }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) aside.sidebar > #nav::-webkit-scrollbar { display: none; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #nav .nav-more-btn { flex: 0 0 auto !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #nav .nav-more-btn small { display: none !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) aside.sidebar > .sidebar-bottom { flex: 0 0 auto !important; }
}

/* 2) Erste Waffenwahl: Karten wachsen mit ihrem Inhalt, der Bereich scrollt, nichts wird abgeschnitten. */
html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .starter-forge.has-choice-sheet { height: auto !important; min-height: calc(100dvh - 84px) !important; grid-template-rows: auto auto auto !important; align-content: center !important; overflow: visible !important; }
html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .starter-forge-grid { height: auto !important; max-height: none !important; align-items: stretch !important; }
html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .starter-weapon { height: auto !important; max-height: none !important; }
html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .starter-weapon .sw-body { overflow: visible !important; }

  /* 3) Niedrige Desktop-Fenster: Leiste und Waffenkarten werden etwas kompakter, damit alles ohne Scrollen passt. */
@media (min-width: 1025px) and (max-height: 800px) {
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) aside.sidebar > .global-hero { padding-block: 4px !important; gap: 2px !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) aside.sidebar > .global-hero > * { min-height: 0 !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) aside.sidebar > .sidebar-bottom .realm-travelers { display: none !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #nav .nav-group { --nav-gap: 0px; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #nav .nav-group > summary { padding-block: 4px !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .starter-weapon .sw-stage { height: 122px !important; min-height: 0 !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .starter-weapon .sw-art { width: clamp(80px, 12vh, 140px) !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .starter-forge.has-choice-sheet { padding-block: 30px 28px !important; gap: 10px !important; }
}

  /* 4) World-Chat: der Verlauf nimmt den Restplatz, Eingabezeile und SEND sind immer sichtbar (vorher unten abgeschnitten). */
html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .world-chat-page .world-chat { grid-template-rows: auto minmax(0, 1fr) auto !important; min-height: 0 !important; }
html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .world-chat-page .wc-log { height: auto !important; min-height: 0 !important; max-height: none !important; }

/* 5) Handy (≤ 560 px) */
@media (max-width: 560px) {
  /* Inventar-Kopf: Kapazität + EXPAND in einer Zeile, die Auswahl-Karte darunter in voller Breite (vorher quetschten sich drei Blöcke). */
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .capacity-head { flex-wrap: wrap !important; align-items: center !important; gap: 10px 12px !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .capacity-head > div:first-child { flex: 1 1 55% !important; min-width: 0 !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .capacity-head > .button.primary { flex: 0 0 auto !important; min-width: 104px !important; padding-inline: 18px !important; white-space: nowrap !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .capacity-head > .gear-select-launch { flex: 1 1 100% !important; order: 3 !important; }
  /* Reise-Szene: Wagen/Reittier bleibt bei 100 % Fortschritt im Bild (stand 30 px über dem Rand und wurde abgeschnitten). */
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .journey-scene .mission-traveler { --half: 56px; left: min(calc(8% + var(--mission-progress, 0) * 84%), calc(100% - var(--half) - 4px)) !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .mission-journey.ready .journey-scene .mission-traveler { left: calc(100% - var(--half) - 4px) !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .mission-journey.has-mount .journey-scene .mission-traveler { --half: 78px; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .journey-scene .journey-arrival { z-index: 4 !important; text-shadow: 0 2px 14px #000, 0 0 26px #000c; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .journey-scene .mission-traveler { bottom: 12% !important; opacity: .92; }
}
}

/* 6 · Zweites Fenster offen (Pyro 26.10.): ruhiger Hinweis oben, ein Klick irgendwo macht dieses Fenster aktiv */
@layer pv {
  html body.other-window-active:not(#pp1):not(#pp2)::after {
    content: "VEYDRIS is open in another window · tap anywhere to play here";
    position: fixed; z-index: 9999; top: 12px; left: 50%; transform: translateX(-50%);
    max-width: calc(100vw - 32px); box-sizing: border-box; text-align: center;
    padding: 9px 18px; border-radius: 999px;
    font: 600 12px/1.35 Manrope, system-ui, sans-serif; letter-spacing: .04em; color: #f4e3b8;
    background: linear-gradient(180deg, rgba(24, 20, 34, .96), rgba(10, 9, 16, .97));
    border: 1px solid rgba(198, 155, 90, .55);
    box-shadow: 0 10px 30px #000a, 0 0 18px rgba(241, 207, 122, .18);
    pointer-events: none;
  }
}

/* 7 · Handy-Feinschliff nach Paos Bildern (Galaxy S26, 26.10.) */
@layer pv {
  @media (max-width: 1024px) {
    /* Gold/Glocke/Zahnrad mittig in der Leiste – vorher oben angeheftet, die rote Zahl der Glocke wurde abgeschnitten */
    html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) .topbar > .resources { align-self: center !important; margin-block: 0 !important; }
    html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) .topbar .notification-button > #notificationBadge { top: -3px !important; right: -3px !important; z-index: 2; }
  }
  /* Regions-/Boss-Wechsler: lange Namen in zwei Zeilen statt „Undiscovered G…“ */
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .adventure-focus-title { min-width: 0 !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .adventure-focus-title b {
    white-space: normal !important; text-overflow: clip !important; overflow: hidden !important; overflow-wrap: anywhere;
    display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
    font-size: clamp(14px, 4.4vw, 18px) !important; line-height: 1.12 !important; text-align: center;
  }
  @media (max-width: 560px) {
    /* Reiter-Leiste lässt sich wischen – weiche Ränder zeigen das, statt hart abgeschnittener Wörter */
    html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .adventure-tabs {
      -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%) !important;
      mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%) !important;
      scroll-padding-inline: 22px; scroll-snap-type: x proximity; padding-inline: 10px !important;
    }
    html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .adventure-tabs > * { scroll-snap-align: center; }
  }
}

/* 8 · Quest abbrechen (Pao 26.10.) */
@layer pv {
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .quest-active-actions { display: inline-flex !important; flex-wrap: wrap; gap: 6px; justify-content: flex-end; align-items: center; max-width: 100%; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .quest-abandon {
    min-height: 34px !important; padding: 6px 12px !important; border-radius: 10px !important;
    font: 700 10px/1.1 Manrope, system-ui, sans-serif !important; letter-spacing: .12em !important; white-space: nowrap !important;
    color: #e9b3a6 !important; background: rgba(40, 14, 14, .55) !important; border: 1px solid rgba(178, 74, 74, .45) !important; box-shadow: none !important;
  }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .quest-abandon:hover { border-color: rgba(220, 96, 96, .8) !important; color: #ffd4c9 !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .quest-abandon.armed {
    color: #fff1ea !important; background: linear-gradient(180deg, #8f2c26, #5c1612) !important; border-color: #e0705f !important;
    box-shadow: 0 0 16px rgba(224, 112, 95, .45) !important; animation: questAbandonPulse 1.1s ease-in-out infinite;
  }
  @keyframes questAbandonPulse { 50% { box-shadow: 0 0 4px rgba(224, 112, 95, .2); } }
  @media (prefers-reduced-motion: reduce) { html body.vey-renewal #view .quest-abandon.armed { animation: none; } }
}

/* 9 · Inventar-Filter (Typ / Item-Level / Affix) – Zähler im Klappkopf und Zurücksetzen */
@layer pv {
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .inventory-management-disclosure summary em.inventory-filter-count {
    display: inline-block !important; margin-left: 8px !important; padding: 2px 8px !important; border-radius: 999px !important; vertical-align: 1px;
    font: 700 9px/1.4 Manrope, system-ui, sans-serif !important; letter-spacing: .12em !important; font-style: normal !important;
    color: #1b1203 !important; background: linear-gradient(90deg, #c99a45, #f1cf7a) !important;
  }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .inventory-toolbar .inventory-filter-reset {
    min-height: 36px !important; padding: 6px 14px !important; font-size: 10px !important; letter-spacing: .12em !important; white-space: nowrap;
    color: #f1cf7a !important; border-color: rgba(241, 207, 122, .45) !important;
  }
}

/* 10 · Abwesenheits-Pause „Still adventuring?“ (Pao 26.10.) */
@layer pv {
  html body:not(#pp1):not(#pp2) .afk-layer {
    position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 16px;
    background: radial-gradient(ellipse at 50% 40%, rgba(30, 22, 52, .78), rgba(4, 4, 9, .92));
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); cursor: pointer;
  }
  html body:not(#pp1):not(#pp2) .afk-card {
    width: min(420px, 100%); box-sizing: border-box; text-align: center; padding: 30px 26px 26px; border-radius: 18px;
    background: linear-gradient(180deg, rgba(26, 21, 38, .98), rgba(11, 10, 18, .98));
    border: 1px solid rgba(198, 155, 90, .55);
    box-shadow: 0 26px 70px #000c, 0 0 40px rgba(241, 207, 122, .12), inset 0 0 0 1px rgba(255, 255, 255, .03);
  }
  html body:not(#pp1):not(#pp2) .afk-sigil {
    display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%;
    font: 400 34px/1 Cinzel, serif; color: #f1cf7a;
    background: radial-gradient(circle, rgba(241, 207, 122, .18), transparent 70%); border: 1px solid rgba(241, 207, 122, .4);
    animation: afkBreath 3.2s ease-in-out infinite;
  }
  html body:not(#pp1):not(#pp2) .afk-card small { display: block; font: 700 10px/1.2 Manrope, system-ui, sans-serif; letter-spacing: .2em; color: #b9a98a; }
  html body:not(#pp1):not(#pp2) .afk-card h2 { margin: 8px 0 10px; font: 600 clamp(22px, 6vw, 28px)/1.15 Cinzel, serif; color: #f4e3b8; }
  html body:not(#pp1):not(#pp2) .afk-card p { margin: 0 0 20px; font: 500 14px/1.5 Manrope, system-ui, sans-serif; color: #cdbf9d; }
  html body:not(#pp1):not(#pp2) .afk-card .button { min-width: 180px; min-height: 46px; }
  @keyframes afkBreath { 50% { box-shadow: 0 0 26px rgba(241, 207, 122, .35); } }
  @media (prefers-reduced-motion: reduce) { html body .afk-sigil { animation: none; } }
}

/* 11 · Wasser-Element: zweite Schwäche (Feuer: Astral & Wasser) – kleines zweites Emblem im Chip, Katalog mit zwei Symbolen */
@layer pv {
  html body:not(#pp1):not(#pp2) .wb-chip.is-weak:has(.wb-chip-extra) { position: relative; padding-left: 14px; }
  html body:not(#pp1):not(#pp2) .wb-chip .wb-chip-extra {
    position: absolute; left: 24px; bottom: 1px; width: 20px !important; height: 20px !important;
    filter: drop-shadow(0 0 4px #000) drop-shadow(0 0 6px var(--wb-weak, #3fb6e8)) !important;
  }
  html body.vey-renewal:not(#pp1):not(#pp2) #view .realm-weak-icons { display: inline-flex; gap: 2px; vertical-align: middle; }
}

/* 12 · Wechsler-Pfeile immer spiegelgleich (Betreiber 26.10.: rechter Pfeil saß anders als der linke) */
@layer pv {
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .adventure-focus-nav:not(:has(.adventure-all-regions)) { grid-template-columns: 44px minmax(0, 1fr) 44px !important; column-gap: 8px !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .adventure-focus-nav .adventure-rune {
    width: 44px !important; height: 44px !important; min-width: 44px !important; padding: 0 !important; margin: 0 !important;
    display: grid !important; place-items: center !important; justify-self: center !important; align-self: center !important;
  }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .adventure-focus-nav .adventure-rune > i {
    width: 34px !important; height: 34px !important; margin: 0 !important; position: static !important;
  }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .adventure-focus-nav .adventure-rune > span { display: none !important; }
}
@layer pv { html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3) #view .adventure-tabs > * { word-spacing: .28em !important; } }

/* 13 · Weltboss-Elemente als ruhiges Drei-Karten-Panel (Betreiber 26.10.: Chips waren ungleich und wirkten zusammengewürfelt) */
@layer pv {
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-element {
    display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important;
    width: 100% !important; max-width: 760px; margin-inline: auto !important; align-items: stretch !important;
  }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-element .wb-chip {
    position: relative; display: grid !important; grid-template-columns: 40px minmax(0, 1fr) !important; grid-template-rows: auto auto;
    align-items: center !important; align-content: center; column-gap: 10px !important; min-height: 64px !important; min-width: 0 !important;
    padding: 10px 12px !important; border-radius: 14px !important; box-sizing: border-box;
    background: linear-gradient(180deg, rgba(28, 23, 40, .92), rgba(11, 10, 18, .95)) !important;
    border: 1px solid rgba(198, 155, 90, .38) !important;
    box-shadow: inset 0 1px 0 rgba(255, 235, 190, .06), inset 0 0 18px rgba(0, 0, 0, .5), 0 8px 18px rgba(0, 0, 0, .35) !important;
  }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-element .wb-chip > img:first-child,
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-element .wb-chip > .wb-chip-empty {
    grid-column: 1 !important; grid-row: 1 / span 2 !important; width: 40px !important; height: 40px !important; object-fit: contain;
  }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-element .wb-chip-empty {
    display: grid; place-items: center; border-radius: 50%; font-style: normal; color: #8d7c5c; border: 1px dashed rgba(198, 155, 90, .45);
  }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-element .wb-chip small { grid-column: 2 !important; align-self: end; font: 700 9px/1.2 Manrope, system-ui, sans-serif !important; letter-spacing: .16em !important; color: #b9a98a !important; white-space: nowrap; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-element .wb-chip b { grid-column: 2 !important; align-self: start; font: 600 13px/1.25 Cinzel, serif !important; color: #f4e3b8 !important; overflow-wrap: anywhere; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-element .wb-chip .wb-chip-extra { left: 30px !important; bottom: 6px !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-element .wb-chip.is-weak { border-color: color-mix(in srgb, var(--wb-weak, #7fa8ff) 55%, #000) !important; background: linear-gradient(180deg, color-mix(in srgb, var(--wb-weak, #7fa8ff) 14%, #1a1526), #0b0a12) !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-element .wb-chip.is-hit { border-color: #6fd16a !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-element .wb-weekend { grid-column: 1 / -1 !important; }
  /* Vorschau: drei gleich breite Tage */
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-forecast {
    display: grid !important; grid-template-columns: auto repeat(3, minmax(0, 1fr)) !important; gap: 6px !important; align-items: center !important;
    width: 100% !important; max-width: 760px; margin-inline: auto !important;
  }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-forecast > small { writing-mode: horizontal-tb; padding-right: 2px; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-forecast .wb-next {
    display: grid !important; grid-template-columns: 26px minmax(0, 1fr) !important; column-gap: 7px !important; min-width: 0 !important; min-height: 44px; box-sizing: border-box;
    padding: 6px 9px !important; border-radius: 12px !important; background: rgba(14, 12, 22, .88) !important; border: 1px solid rgba(198, 155, 90, .28) !important;
  }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-forecast .wb-next img { width: 26px !important; height: 26px !important; grid-row: 1 / span 2; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-forecast .wb-next small { font: 500 11px/1.15 Cinzel, serif !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  @media (max-width: 560px) {
    html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-element { grid-template-columns: 1fr 1fr !important; }
    html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-element .wb-chip--attune { grid-column: 1 / -1 !important; }
    html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-element .wb-chip { grid-template-columns: 34px minmax(0, 1fr) !important; padding: 9px 10px !important; min-height: 58px !important; }
    html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-element .wb-chip > img:first-child { width: 34px !important; height: 34px !important; }
    html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-element .wb-chip b { font-size: 12px !important; }
    html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-forecast { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-forecast > small { grid-column: 1 / -1; text-align: center; }
    html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-forecast .wb-next { padding: 6px 7px !important; grid-template-columns: 22px minmax(0, 1fr) !important; column-gap: 5px !important; }
    html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-forecast .wb-next img { width: 22px !important; height: 22px !important; }
    html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6) #view .wb-forecast .wb-next small { font-size: 10px !important; }
  }
}
@layer pv { @media (max-width: 560px) {
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7) #view .wb-forecast .wb-next { grid-template-columns: 1fr !important; justify-items: center; text-align: center; row-gap: 3px; padding: 7px 4px !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7) #view .wb-forecast .wb-next img { grid-row: auto !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7) #view .wb-forecast .wb-next small { overflow: visible !important; text-overflow: clip !important; font-size: 10px !important; letter-spacing: 0 !important; }
} }

/* 14 · Lesbarkeit: nichts unter 9,5 px (vom UI-Prüfer gefunden, 26.10.) */
@layer pv {
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7) #view :is(
    .loadout-stat-comparison small, .journey-records small, .journey-district__body small, .endgame-talent-card__copy > span,
    .daily-oath-card__copy > span, .daily-oath-card__copy footer b, .item-mastery-rail small, .hero-gear-slot-wrap small,
    .hero-gear-slot-wrap em.vp-rank, .campaign-chapter dt, .sw-badge, .market-row span, .market-card span
  ) { font-size: 9.5px !important; line-height: 1.25 !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7) #view :is(.daily-oath-card__copy footer b, .sw-badge, .hero-gear-slot-wrap em.vp-rank) { font-size: 10px !important; }
}

/* 15 · Sammel-Fixes aus dem UI-Prüfer (26.10.) */
@layer pv {
  /* Regions-Wechsler mit „ALL REGIONS“: Pfeile spiegelgleich, Knopf in eigener Zeile */
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7) #view .adventure-focus-nav:has(.adventure-all-regions) { grid-template-columns: 44px minmax(0, 1fr) 44px !important; column-gap: 8px !important; row-gap: 8px !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7) #view .adventure-focus-nav .adventure-all-regions { grid-column: 1 / -1 !important; justify-self: center !important; width: auto !important; min-height: 36px !important; }
  /* Raid-/Begleiter-Wechsler: beide Seiten gleich breit, Mitte wirklich mittig */
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7) #view .vey-focus-nav { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7) #view .vey-focus-nav > .focus-rune.previous { justify-self: start !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7) #view .vey-focus-nav > .focus-rune.next { justify-self: end !important; }
  /* Tippflächen mindestens ~32 px */
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7) #view :is(.loadout-rename-trigger, [data-quest-filter], [data-action="setInventoryUtilityTab"], .hero-profile-link) { min-height: 32px !important; display: inline-flex !important; align-items: center !important; justify-content: center; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7) #view .quest-inspect { width: 34px !important; height: 34px !important; min-width: 34px !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7) #view :is(.arsenal-remove, [data-action="setSkillAugment"]) { min-width: 32px !important; }
  /* Texte vollständig statt abgeschnitten */
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7) #view .ascension-grid button.button.ghost { width: auto !important; min-width: max-content !important; white-space: nowrap !important; padding-inline: 12px !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7) #view :is(.tower-floor b, .tower-enemy b, .tower-step b, .daily-oath-card p, .chronicle-goal p, .codex-goal p, .hall-entry small, .class-signature em) {
    white-space: normal !important; text-overflow: clip !important; overflow: visible !important; overflow-wrap: anywhere; -webkit-line-clamp: unset !important; display: block;
  }
}

/* 16 · Zweite Prüfer-Runde (26.10.) */
@layer pv {
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7) #view .skill-equip-priorities > button { min-width: 34px !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7) #view .arsenal-skill-inspect :is(b, em) { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7) #view [class^="augment-"] b { font-size: 10px !important; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; line-height: 1.15 !important; letter-spacing: 0 !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7) #view .campaign-brief p { -webkit-line-clamp: unset !important; overflow: visible !important; max-height: none !important; display: block !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7) #view :is(.chronicle-launch small, .market-pagination span) { font-size: 10px !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7) #view .tower-ladder li b { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; line-height: 1.15 !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7) #view .daily-oath-card__copy h2 { overflow: visible !important; text-overflow: clip !important; -webkit-line-clamp: unset !important; overflow-wrap: normal; hyphens: auto; font-size: clamp(13px, 3.6vw, 16px) !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7) #view :is(dt) { font-size: max(9.5px, 0.6rem) !important; }
}

/* 17 · Dritte Prüfer-Runde (26.10.) */
@layer pv {
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8) .sw-gauge small { font-size: 9.5px !important; letter-spacing: .1em !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8) #view [data-action="setAchievementCategory"] { min-height: 34px !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8) #view .chronicle-launch small { font-size: 10px !important; }
}
@layer pv { html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8) #view .mission-board__stats dt { font-size: 9.5px !important; letter-spacing: .1em !important; } }

/* 18 · Eigene Grafiken statt Zeichen: Bloodline-Wappen, Aufstiegs-Runen, Bestiarium-Siegel (26.10.) */
@layer pv {
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8) .heritage-sigil.has-crest {
    width: 88px !important; height: 88px !important; padding: 0 !important; background: radial-gradient(circle, rgba(0,0,0,.15), transparent 70%) !important; border: 0 !important; overflow: visible !important; font-size: 0 !important;
  }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8) .heritage-sigil.has-crest img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 12px #000a); }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8) .heritage-sigil.has-crest.q1 img { filter: drop-shadow(0 0 12px #6fc4ffaa) drop-shadow(0 6px 12px #000a); }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8) .heritage-sigil.has-crest.q2 img { filter: drop-shadow(0 0 14px #b98affbb) drop-shadow(0 6px 12px #000a); }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8) .heritage-sigil.has-crest.q3 img { filter: drop-shadow(0 0 16px #ffab62cc) drop-shadow(0 6px 12px #000a); }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8) .heritage-sigil.has-crest:is(.q4, .q5) img { filter: drop-shadow(0 0 20px #ff7eafdd) drop-shadow(0 0 32px #ffd77a88) drop-shadow(0 6px 12px #000a); }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8) .ascension-icon.has-rune { display: grid !important; place-items: center !important; width: 64px !important; height: 64px !important; padding: 0 !important; background: none !important; border: 0 !important; font-size: 0 !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8) .ascension-icon.has-rune img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 10px #000a); }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8) .sanctum-rune.maxed .ascension-icon.has-rune img { filter: drop-shadow(0 0 14px #f1cf7aaa) drop-shadow(0 4px 10px #000a); }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8) .beast-page .tag:has(.beast-lock) { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8) .beast-lock { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 3px 8px #000c); }
}
@layer pv {
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8):not(#pp9) .heritage-card .heritage-body { display: grid !important; grid-template-columns: 88px minmax(0, 1fr) !important; gap: 14px !important; align-items: start !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8):not(#pp9) .heritage-card .heritage-body > * { min-width: 0 !important; position: static !important; margin: 0 !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8):not(#pp9) .sanctum-rune { display: grid !important; grid-template-columns: 64px minmax(0, 1fr) !important; gap: 8px 14px !important; align-items: center !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8):not(#pp9) .sanctum-rune > .button { grid-column: 1 / -1 !important; width: 100% !important; min-height: 42px !important; white-space: nowrap !important; display: inline-flex !important; align-items: center; justify-content: center; gap: 6px; flex-direction: row !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8):not(#pp9) .beast-page .beast-lock { filter: drop-shadow(0 3px 8px #000c) !important; opacity: 1 !important; }
}

/* 19 · Klassen-Signatur mit Emblem, leere Fähigkeits-Sockel gezeichnet statt Zeichen, Feinschliff (26.10.) */
@layer pv {
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8):not(#pp9) #view .arsenal-class-mechanic > i.has-emblem { display: grid !important; place-items: center !important; width: 56px !important; height: 56px !important; padding: 0 !important; background: none !important; border: 0 !important; font-size: 0 !important; flex: none !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8):not(#pp9) #view .arsenal-class-mechanic > i.has-emblem img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 10px #000a) drop-shadow(0 0 10px rgba(241, 207, 122, .25)); }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8):not(#pp9) #view .empty-skill-rune {
    display: block !important; width: 34px !important; height: 34px !important; margin: auto; border-radius: 50% !important; font-size: 0 !important; box-sizing: border-box;
    background: radial-gradient(circle, rgba(241, 207, 122, .14) 0 22%, transparent 24%), radial-gradient(circle, rgba(10, 9, 16, .9) 55%, transparent 58%) !important;
    border: 1px dashed rgba(198, 155, 90, .55) !important; box-shadow: inset 0 0 10px rgba(0, 0, 0, .7), 0 0 0 4px rgba(198, 155, 90, .06) !important;
  }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8):not(#pp9) #view .empty-skill-rune.is-passive { border-radius: 10px !important; transform: rotate(45deg); width: 28px !important; height: 28px !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8):not(#pp9) #view :is(.pv-boss-pick em, .item-slot-marker) { font-size: 9.5px !important; letter-spacing: .08em !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8):not(#pp9) #view [data-action="setAchievementCategory"] { white-space: nowrap !important; display: inline-flex !important; align-items: center !important; gap: 6px !important; flex-direction: row !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8):not(#pp9) #view [data-action="setAchievementCategory"] > * { position: static !important; margin: 0 !important; }
}

/* 20 · Konstellationen: eigene Stern-Siegel, Felder ohne Wort-Trennung (26.10.: „Schola/r's Eye“) */
@layer pv {
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8):not(#pp9) .cst-node {
    display: grid !important; grid-template-columns: 44px minmax(0, 1fr) auto !important; grid-template-areas: "seal name cost" "seal perk perk" !important;
    align-items: center !important; column-gap: 10px !important; row-gap: 2px !important; padding: 10px 12px !important; text-align: left !important; min-height: 64px !important;
  }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8):not(#pp9) .cst-node > i.cst-seal { grid-area: seal !important; width: 44px !important; height: 44px !important; padding: 0 !important; margin: 0 !important; background: none !important; border: 0 !important; font-size: 0 !important; display: block !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8):not(#pp9) .cst-node > i.cst-seal img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 8px #000a); }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8):not(#pp9) .cst-node > b { grid-area: name !important; overflow-wrap: normal !important; word-break: normal !important; hyphens: manual !important; line-height: 1.15 !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8):not(#pp9) .cst-node > small { grid-area: perk !important; overflow-wrap: normal !important; word-break: normal !important; line-height: 1.25 !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8):not(#pp9) .cst-node > em { grid-area: cost !important; align-self: start !important; white-space: nowrap !important; font-size: 10px !important; padding: 2px 8px !important; border-radius: 999px !important; border: 1px solid rgba(198, 155, 90, .4) !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8):not(#pp9) .cst-node.is-sealed > i.cst-seal img { filter: grayscale(.85) brightness(.6) drop-shadow(0 3px 8px #000a); }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8):not(#pp9) .cst-node.is-lit > i.cst-seal img { filter: drop-shadow(0 0 12px rgba(241, 207, 122, .7)) drop-shadow(0 3px 8px #000a); }
  @media (max-width: 560px) {
    html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8):not(#pp9) .cst-grid { grid-template-columns: 1fr !important; }
    html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8):not(#pp9) .cst-grid > * { grid-column: auto !important; }
  }
}
@layer pv { @media (max-width: 700px) {
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8):not(#pp9):not(#pp10) .cst-grid { display: flex !important; flex-direction: column !important; gap: 8px !important; }
  html body.vey-renewal:not(#pp1):not(#pp2):not(#pp3):not(#pp4):not(#pp5):not(#pp6):not(#pp7):not(#pp8):not(#pp9):not(#pp10) .cst-grid > .cst-node { width: 100% !important; box-sizing: border-box; }
} }
