/* VEYDRIS – Begegnungs-Auftritt, schimmernde Varianten und Beute-Show (20.10.2026).
   Wunsch: „wie Pokémon – Bild flackert bei seltenen Gegnern, anderer Hintergrund, fette Drops sehen anders aus“.
   Markup: encounterIntroMarkup() / combat() / showLootShowcase() in app.js. Alles in @layer pv. */
@layer pv {
  /* ================= Begegnungs-Auftritt ================= */
  html body.vey-renewal #view .combat-screen > .encounter-intro {
    position: absolute; inset: 0; z-index: 80; overflow: hidden; pointer-events: auto; cursor: pointer; border-radius: inherit;
    --ei-accent: #f3d58e; --ei-edge: rgba(243, 213, 142, .9);
    animation: eiOut var(--intro-hold, 950ms) linear forwards;
  }
  html body.vey-renewal #view .encounter-intro.tier-elite { --ei-accent: #ff6a55; --ei-edge: rgba(255, 106, 85, .9); }
  html body.vey-renewal #view .encounter-intro.tier-variant { --ei-accent: var(--variant-color, #ffd36a); --ei-edge: var(--variant-color, #ffd36a); }
  @keyframes eiOut { 0%, 82% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; pointer-events: none; } }
  html body.vey-renewal #view .encounter-intro > .ei-flash { position: absolute; inset: 0; background: #fff; animation: eiFlash .55s steps(1, end) both; }
  html body.vey-renewal #view .encounter-intro.tier-elite > .ei-flash { background: #ffd8cf; }
  html body.vey-renewal #view .encounter-intro.tier-variant > .ei-flash { background: var(--variant-color); animation: eiFlashShiny 1.1s steps(1, end) both; }
  @keyframes eiFlash { 0% { opacity: .95; } 18% { opacity: 0; } 36% { opacity: .85; } 54% { opacity: 0; } 72% { opacity: .5; } 100% { opacity: 0; } }
  @keyframes eiFlashShiny { 0% { opacity: .95; } 10% { opacity: 0; } 20% { opacity: .9; } 30% { opacity: 0; } 40% { opacity: .9; } 50% { opacity: 0; } 62% { opacity: .7; } 74% { opacity: 0; } 86% { opacity: .35; } 100% { opacity: 0; } }
  /* schwarze Balken schieben schräg herein */
  html body.vey-renewal #view .encounter-intro > .ei-bar { position: absolute; left: -10%; right: -10%; height: 31%; background: linear-gradient(180deg, #050407, #0d0b12); transform: skewY(-4deg) translateX(-110%); animation: eiBarIn .38s .12s cubic-bezier(.2, .9, .2, 1) forwards; }
  html body.vey-renewal #view .encounter-intro > .ei-bar--top { top: -6%; box-shadow: 0 3px 0 var(--ei-edge), 0 8px 26px -6px var(--ei-edge); }
  html body.vey-renewal #view .encounter-intro > .ei-bar--bottom { bottom: -6%; transform: skewY(-4deg) translateX(110%); box-shadow: 0 -3px 0 var(--ei-edge), 0 -8px 26px -6px var(--ei-edge); }
  @keyframes eiBarIn { to { transform: skewY(-4deg) translateX(0); } }
  /* Gegner: erst Silhouette, dann Farbe (wie beim Auftauchen im Gras) */
  html body.vey-renewal #view .encounter-intro > .ei-tint > .ei-portrait { position: absolute; right: 6%; top: 14%; width: 44%; height: 72%; background: var(--intro-art) center 30% / cover no-repeat; -webkit-mask-image: radial-gradient(ellipse 58% 62% at 50% 48%, #000 48%, transparent 100%); mask-image: radial-gradient(ellipse 58% 62% at 50% 48%, #000 48%, transparent 100%); filter: brightness(.06) contrast(1.4); transform: translateX(40%); opacity: 0; animation: eiPortrait .5s .18s cubic-bezier(.2, .9, .2, 1) forwards, eiReveal .25s .62s forwards; }
  html body.vey-renewal #view .encounter-intro.tier-variant > .ei-tint > .ei-portrait { animation: eiPortrait .5s .18s cubic-bezier(.2, .9, .2, 1) forwards, eiRevealShiny 1.2s .9s forwards; }
  @keyframes eiPortrait { to { transform: translateX(0); opacity: 1; } }
  @keyframes eiReveal { to { filter: brightness(1) contrast(1); } }
  @keyframes eiRevealShiny { 0% { filter: brightness(.06) contrast(1.4); } 30% { filter: brightness(2.4) contrast(1); } 100% { filter: brightness(1.08) contrast(1.05) saturate(1.2); } }
  /* Namenstafel */
  html body.vey-renewal #view .encounter-intro > .ei-card { position: absolute; left: 6%; bottom: 20%; display: grid; gap: 4px; max-width: 52%; padding: 14px 22px 14px 18px; border-left: 4px solid var(--ei-accent); background: linear-gradient(90deg, rgba(8, 6, 12, .94), rgba(8, 6, 12, .55)); transform: translateX(-120%); animation: eiCard .42s .42s cubic-bezier(.2, .9, .2, 1) forwards; }
  @keyframes eiCard { to { transform: translateX(0); } }
  html body.vey-renewal #view .encounter-intro .ei-card small { color: var(--ei-accent); font: 800 11px/1.3 var(--vm-font, Manrope, sans-serif); letter-spacing: .24em; }
  html body.vey-renewal #view .encounter-intro .ei-card b { color: #fff3cf; font: 700 clamp(24px, 3.2vw, 44px)/1.05 Cinzel, Georgia, serif; text-shadow: 0 2px 14px #000, 0 0 22px color-mix(in srgb, var(--ei-accent) 45%, transparent); }
  html body.vey-renewal #view .encounter-intro .ei-card em { color: #d9cfb8; font: italic 500 13px/1.4 var(--vm-font, Manrope, sans-serif); }
  /* Funkeln bei Varianten */
  html body.vey-renewal #view .encounter-intro > .ei-sparkles { position: absolute; inset: 0; pointer-events: none; }
  html body.vey-renewal #view .encounter-intro > .ei-sparkles > b { position: absolute; width: 22px; height: 22px; background: radial-gradient(circle, #fff 0 12%, transparent 13%), conic-gradient(from 45deg, transparent 0 20%, var(--variant-color) 22% 28%, transparent 30% 45%, var(--variant-color) 47% 53%, transparent 55% 70%, var(--variant-color) 72% 78%, transparent 80% 95%, var(--variant-color) 97%); clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); opacity: 0; animation: eiTwinkle 1s ease-in-out infinite; }
  html body.vey-renewal #view .encounter-intro > .ei-sparkles > b:nth-child(1) { left: 58%; top: 18%; animation-delay: .9s; }
  html body.vey-renewal #view .encounter-intro > .ei-sparkles > b:nth-child(2) { left: 84%; top: 28%; animation-delay: 1.05s; transform: scale(.7); }
  html body.vey-renewal #view .encounter-intro > .ei-sparkles > b:nth-child(3) { left: 70%; top: 62%; animation-delay: 1.2s; }
  html body.vey-renewal #view .encounter-intro > .ei-sparkles > b:nth-child(4) { left: 91%; top: 70%; animation-delay: 1.35s; transform: scale(.6); }
  html body.vey-renewal #view .encounter-intro > .ei-sparkles > b:nth-child(5) { left: 63%; top: 40%; animation-delay: 1.5s; transform: scale(1.3); }
  html body.vey-renewal #view .encounter-intro > .ei-sparkles > b:nth-child(6) { left: 77%; top: 12%; animation-delay: 1.15s; transform: scale(.8); }
  html body.vey-renewal #view .encounter-intro > .ei-sparkles > b:nth-child(7) { left: 55%; top: 74%; animation-delay: 1.3s; transform: scale(.7); }
  html body.vey-renewal #view .encounter-intro > .ei-sparkles > b:nth-child(8) { left: 88%; top: 48%; animation-delay: 1s; }
  @keyframes eiTwinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); } 50% { opacity: 1; transform: scale(1.2) rotate(45deg); } }

  /* ================= Schimmernde Varianten auf der Kampf-Bühne ================= */
  html body.vey-renewal #view:not(#pv-x) .combat-screen.variant-combat .enemy-combatant .combatant-art { animation: variantShimmer 2.4s ease-in-out infinite !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-screen.variant-gilded .enemy-combatant .combatant-art { filter: sepia(.55) saturate(2.4) hue-rotate(-8deg) brightness(1.18) drop-shadow(0 0 16px #ffd36a) !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-screen.variant-voidtouched .enemy-combatant .combatant-art { filter: hue-rotate(215deg) saturate(1.7) brightness(1.05) drop-shadow(0 0 18px #b77bff) !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-screen.variant-bloodmoon .enemy-combatant .combatant-art { filter: sepia(.6) hue-rotate(-48deg) saturate(3.2) brightness(.95) drop-shadow(0 0 18px #ff4d5e) !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-screen.variant-starborn .enemy-combatant .combatant-art { filter: hue-rotate(150deg) saturate(1.5) brightness(1.28) drop-shadow(0 0 22px #7ff3ff) !important; }
  @keyframes variantShimmer { 0%, 100% { opacity: .96; } 50% { opacity: 1; translate: 0 -4px; } }
  html body.vey-renewal #view:not(#pv-x) .combat-screen.variant-combat .enemy-combatant .combatant-aura { opacity: 1 !important; background: radial-gradient(ellipse 50% 18% at 50% 92%, color-mix(in srgb, var(--variant-color) 70%, transparent), transparent 72%), radial-gradient(ellipse 46% 54% at 50% 50%, color-mix(in srgb, var(--variant-color) 22%, transparent), transparent 70%) !important; animation: variantAura 2.4s ease-in-out infinite !important; }
  @keyframes variantAura { 50% { filter: brightness(1.4); } }
  html body.vey-renewal #view:not(#pv-x) .combat-screen.variant-combat .enemy-combatant::after { content: "" !important; position: absolute !important; inset: 10% 10% 6% !important; pointer-events: none !important; background-image: radial-gradient(circle, #fff 0 1.5px, transparent 2px), radial-gradient(circle, var(--variant-color) 0 2px, transparent 2.5px) !important; background-size: 90px 110px, 130px 150px !important; background-position: 0 0, 40px 60px !important; opacity: .75 !important; animation: variantMotes 6s linear infinite !important; -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent) !important; mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent) !important; }
  @keyframes variantMotes { to { background-position: 0 -220px, 40px -240px; } }
  html body.vey-renewal #view:not(#pv-x) .combat-screen.variant-combat .enemy-combatant .combat-nameplate small { color: var(--variant-color) !important; text-shadow: 0 0 10px var(--variant-color) !important; letter-spacing: .16em !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-screen.variant-combat .combat-stage { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--variant-color) 55%, transparent), inset 0 0 60px -10px color-mix(in srgb, var(--variant-color) 45%, transparent) !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-screen.variant-combat .combat-identity .eyebrow { color: var(--variant-color) !important; }

  @media (prefers-reduced-motion: reduce) {
    html body.vey-renewal #view .encounter-intro { display: none !important; }
    html body.vey-renewal #view:not(#pv-x) .combat-screen.variant-combat :is(.combatant-art, .combatant-aura), html body.vey-renewal #view:not(#pv-x) .combat-screen.variant-combat .enemy-combatant::after { animation: none !important; }
  }

  /* ================= Beute-Show: großer Moment je Seltenheit ================= */
  html body.vey-renewal .loot-showcase { --ls: #b77bff; --ls2: #e8d0ff; position: fixed; inset: 0; z-index: 100500; display: grid; place-items: center; overflow: hidden; padding: 16px; background: radial-gradient(ellipse 60% 70% at 50% 55%, color-mix(in srgb, var(--ls) 22%, rgba(6, 5, 10, .9)), rgba(4, 3, 7, .96) 70%); animation: lsIn .3s ease-out both; }
  html body.vey-renewal .loot-showcase.tier-legendary { --ls: #ffb340; --ls2: #fff0c4; }
  html body.vey-renewal .loot-showcase.tier-mythic { --ls: #ff4d6a; --ls2: #ffd2da; }
  html body.vey-renewal .loot-showcase.tier-eternal { --ls: #6ff2e6; --ls2: #e2fffb; }
  html body.vey-renewal .loot-showcase.tier-rare { --ls: #4aa0ff; --ls2: #d6e9ff; }
  @keyframes lsIn { from { opacity: 0; } }
  html body.vey-renewal .loot-showcase.tier-legendary, html body.vey-renewal .loot-showcase.tier-mythic, html body.vey-renewal .loot-showcase.tier-eternal { animation: lsIn .3s ease-out both, lsShake .5s .25s both; }
  @keyframes lsShake { 10%, 50%, 90% { transform: translate(-6px, 3px); } 30%, 70% { transform: translate(6px, -3px); } 100% { transform: none; } }
  /* Lichtsäule */
  html body.vey-renewal .loot-showcase > .ls-beam { position: absolute; left: 50%; top: -10%; bottom: 30%; width: min(240px, 40vw); transform: translateX(-50%) scaleY(0); transform-origin: top; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ls) 55%, transparent) 30%, var(--ls2) 50%, color-mix(in srgb, var(--ls) 55%, transparent) 70%, transparent); filter: blur(6px); opacity: .85; animation: lsBeam .55s .1s cubic-bezier(.2, .9, .2, 1) forwards, lsBeamPulse 2.2s .7s ease-in-out infinite; }
  @keyframes lsBeam { to { transform: translateX(-50%) scaleY(1); } }
  @keyframes lsBeamPulse { 50% { opacity: .55; } }
  /* rotierende Strahlen */
  html body.vey-renewal .loot-showcase > .ls-rays { position: absolute; left: 50%; top: 44%; width: 140vmax; height: 140vmax; translate: -50% -50%; background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--ls) 22%, transparent) 0 6deg, transparent 6deg 18deg); -webkit-mask-image: radial-gradient(circle, #000 0 8%, transparent 42%); mask-image: radial-gradient(circle, #000 0 8%, transparent 42%); animation: lsRays 18s linear infinite; opacity: 0; animation: lsRays 18s linear infinite, lsFade .6s .3s forwards; }
  @keyframes lsRays { to { rotate: 360deg; } }
  @keyframes lsFade { to { opacity: 1; } }
  html body.vey-renewal .loot-showcase.tier-epic > .ls-rays { display: none; }
  /* Funken steigen auf */
  html body.vey-renewal .loot-showcase > .ls-sparks { position: absolute; inset: 0; pointer-events: none; }
  html body.vey-renewal .loot-showcase > .ls-sparks > b { position: absolute; bottom: -10px; width: 6px; height: 6px; border-radius: 50%; background: var(--ls2); box-shadow: 0 0 10px var(--ls), 0 0 20px var(--ls); animation: lsSpark 3.2s linear infinite; }
  html body.vey-renewal .loot-showcase > .ls-sparks > b:nth-child(odd) { width: 4px; height: 4px; }
  html body.vey-renewal .loot-showcase > .ls-sparks > b:nth-child(1) { left: 8.0%; animation-delay: 0.00s; animation-duration: 2.6s; }
  html body.vey-renewal .loot-showcase > .ls-sparks > b:nth-child(2) { left: 14.4%; animation-delay: 0.37s; animation-duration: 3.1s; }
  html body.vey-renewal .loot-showcase > .ls-sparks > b:nth-child(3) { left: 20.8%; animation-delay: 0.74s; animation-duration: 3.6s; }
  html body.vey-renewal .loot-showcase > .ls-sparks > b:nth-child(4) { left: 27.2%; animation-delay: 1.11s; animation-duration: 4.1s; }
  html body.vey-renewal .loot-showcase > .ls-sparks > b:nth-child(5) { left: 33.6%; animation-delay: 1.48s; animation-duration: 2.6s; }
  html body.vey-renewal .loot-showcase > .ls-sparks > b:nth-child(6) { left: 40.0%; animation-delay: 1.85s; animation-duration: 3.1s; }
  html body.vey-renewal .loot-showcase > .ls-sparks > b:nth-child(7) { left: 46.4%; animation-delay: 2.22s; animation-duration: 3.6s; }
  html body.vey-renewal .loot-showcase > .ls-sparks > b:nth-child(8) { left: 52.8%; animation-delay: 2.59s; animation-duration: 4.1s; }
  html body.vey-renewal .loot-showcase > .ls-sparks > b:nth-child(9) { left: 59.2%; animation-delay: 2.96s; animation-duration: 2.6s; }
  html body.vey-renewal .loot-showcase > .ls-sparks > b:nth-child(10) { left: 65.6%; animation-delay: 0.13s; animation-duration: 3.1s; }
  html body.vey-renewal .loot-showcase > .ls-sparks > b:nth-child(11) { left: 72.0%; animation-delay: 0.50s; animation-duration: 3.6s; }
  html body.vey-renewal .loot-showcase > .ls-sparks > b:nth-child(12) { left: 78.4%; animation-delay: 0.87s; animation-duration: 4.1s; }
  html body.vey-renewal .loot-showcase > .ls-sparks > b:nth-child(13) { left: 84.8%; animation-delay: 1.24s; animation-duration: 2.6s; }
  html body.vey-renewal .loot-showcase > .ls-sparks > b:nth-child(14) { left: 91.2%; animation-delay: 1.61s; animation-duration: 3.1s; }
  @keyframes lsSpark { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateY(-105vh) translateX(20px); opacity: 0; } }
  /* Karte */
  html body.vey-renewal .loot-showcase > section { position: relative; z-index: 2; display: grid; justify-items: center; gap: 8px; max-width: min(520px, 92vw); text-align: center; }
  html body.vey-renewal .loot-showcase .ls-kicker { color: var(--ls2); font: 800 12px/1.3 var(--vm-font, Manrope, sans-serif); letter-spacing: .32em; text-shadow: 0 0 14px var(--ls); animation: lsUp .4s .35s both; }
  html body.vey-renewal .loot-showcase .ls-item { position: relative; width: clamp(150px, 26vmin, 230px); aspect-ratio: 1; margin: 6px 0 4px; border-radius: 22px; border: 3px solid var(--ls); background: var(--ls-art) center / 82% no-repeat, radial-gradient(circle, color-mix(in srgb, var(--ls) 35%, #120f19), #0b0910 72%); box-shadow: 0 0 0 6px rgba(8, 6, 12, .85), 0 0 0 8px color-mix(in srgb, var(--ls) 60%, transparent), 0 0 60px -6px var(--ls), 0 0 120px -20px var(--ls); animation: lsItem .7s .25s cubic-bezier(.2, 1.4, .3, 1) both, lsFloat 3s 1s ease-in-out infinite; }
  html body.vey-renewal .loot-showcase .ls-item > i { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%) -200% 0 / 250% 100% no-repeat; animation: lsGlint 2.6s 1s ease-in-out infinite; }
  @keyframes lsItem { from { transform: translateY(60px) scale(.3) rotate(-14deg); opacity: 0; filter: brightness(4); } 60% { filter: brightness(1.8); } to { transform: none; opacity: 1; filter: none; } }
  @keyframes lsFloat { 50% { translate: 0 -8px; } }
  @keyframes lsGlint { 0%, 60% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
  html body.vey-renewal .loot-showcase .ls-rarity { color: var(--ls); font: 800 clamp(30px, 6vw, 56px)/1 Cinzel, Georgia, serif; letter-spacing: .08em; text-shadow: 0 0 24px var(--ls), 0 3px 0 rgba(0, 0, 0, .6); animation: lsUp .45s .55s both; }
  html body.vey-renewal .loot-showcase.tier-mythic .ls-rarity, html body.vey-renewal .loot-showcase.tier-eternal .ls-rarity { background: linear-gradient(90deg, var(--ls), var(--ls2), var(--ls)) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: lsUp .45s .55s both, lsShine 2.4s linear infinite; }
  @keyframes lsShine { to { background-position: 200% 0; } }
  html body.vey-renewal .loot-showcase h2 { margin: 0; color: #fff3cf; font: 600 clamp(19px, 2.6vw, 26px)/1.25 Cinzel, Georgia, serif; text-shadow: 0 2px 10px #000; animation: lsUp .45s .7s both; }
  html body.vey-renewal .loot-showcase p { margin: 0 0 10px; color: #cfc6b3; font: 600 13px/1.4 var(--vm-font, Manrope, sans-serif); animation: lsUp .45s .8s both; }
  html body.vey-renewal .loot-showcase .button { min-width: 220px; animation: lsUp .45s .95s both; }
  @keyframes lsUp { from { opacity: 0; transform: translateY(14px); } }
  @media (prefers-reduced-motion: reduce) { html body.vey-renewal .loot-showcase, html body.vey-renewal .loot-showcase * { animation: none !important; } html body.vey-renewal .loot-showcase > .ls-beam { transform: translateX(-50%); } }

  /* Kampfergebnis auf der Reise: Funde als Karten statt Text (alles !important, weil .combat-rewards hart zurücksetzt) */
  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome { display: grid !important; gap: 8px !important; align-content: start !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome > :is(.eyebrow, h2, p, ul) { display: block !important; margin: 0 !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome > .eyebrow { color: var(--pv-gold, #e8c480) !important; font: 800 10.5px/1.3 var(--vm-font, Manrope, sans-serif) !important; letter-spacing: .18em !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome > h2 { color: #fff3cf !important; font: 600 22px/1.15 Cinzel, Georgia, serif !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome > p { color: #b9ae98 !important; font: 500 12.5px/1.4 var(--vm-font, Manrope, sans-serif) !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome > ul { padding: 0 !important; list-style: none !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome > ul > li { display: block !important; padding: 3px 0 !important; color: #cfc6b3 !important; font: 600 12px/1.35 var(--vm-font, Manrope, sans-serif) !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome .jco-loot { display: grid !important; gap: 8px !important; margin: 4px 0 6px !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome .jco-item { display: grid !important; grid-template-columns: 52px minmax(0, 1fr) !important; align-items: center !important; gap: 10px !important; margin: 0 !important; padding: 7px 10px 7px 7px !important; min-width: 0 !important; border-radius: 12px !important; border: 1px solid rgba(232, 196, 128, .2) !important; background: rgba(255, 255, 255, .035) !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome .jco-item > .item-slot { position: relative !important; display: block !important; width: 52px !important; height: 52px !important; min-width: 0 !important; padding: 0 !important; overflow: hidden !important; border-radius: 10px !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome .jco-item > .item-slot > img { display: block !important; width: 100% !important; height: 100% !important; object-fit: contain !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome .jco-item > .item-slot > .item-slot-marker { display: none !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome .jco-item > figcaption { display: grid !important; min-width: 0 !important; gap: 1px !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome .jco-item > figcaption > small { display: block !important; font: 800 9.5px/1.3 var(--vm-font, Manrope, sans-serif) !important; letter-spacing: .14em !important; color: #b9ae98 !important; text-transform: uppercase !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome .jco-item > figcaption > b { display: block !important; overflow: hidden !important; white-space: nowrap !important; text-overflow: ellipsis !important; color: #fff3cf !important; font: 700 12.5px/1.3 var(--vm-font, Manrope, sans-serif) !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome .jco-item.rarity-episch { border-color: rgba(183, 123, 255, .55) !important; box-shadow: 0 0 18px -8px #b77bff !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome .jco-item.rarity-episch > figcaption > small { color: #c99bff !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome .jco-item.rarity-legendär { border-color: rgba(255, 179, 64, .7) !important; box-shadow: 0 0 22px -6px #ffb340 !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome .jco-item.rarity-legendär > figcaption > small { color: #ffc46a !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome .jco-item.rarity-mythisch { border-color: rgba(255, 77, 106, .7) !important; box-shadow: 0 0 22px -6px #ff4d6a !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome .jco-item.rarity-mythisch > figcaption > small { color: #ff8da0 !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome .jco-item.rarity-selten > figcaption > small { color: #7ab8ff !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome.is-variant { padding: 12px !important; border-radius: 14px !important; border: 1px solid color-mix(in srgb, var(--variant-color) 60%, transparent) !important; box-shadow: 0 0 34px -12px var(--variant-color) !important; }
  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome.is-variant > .eyebrow { color: var(--variant-color) !important; }
  /* Knopf in der Beute-Show = eigene Haupt-Platte */
  html body.vey-renewal .loot-showcase .button.primary { min-height: 46px !important; padding: 0 12px !important; border-style: solid !important; border-color: transparent !important; border-radius: 0 !important; border-width: 0 16px !important; border-image: url("./assets/ui/controls/plate-primary-v4.webp") 0 87 0 88 fill / 0 34px / 9px 3px stretch !important; background: none !important; box-shadow: none !important; color: #fff4d2 !important; -webkit-text-fill-color: #fff4d2 !important; font: 800 13px/1 var(--vm-font, Manrope, sans-serif) !important; letter-spacing: .16em !important; text-shadow: 0 1px 2px #000 !important; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .6)) !important; }
  html body.vey-renewal .loot-showcase .button.primary:hover { filter: brightness(1.15) drop-shadow(0 0 10px rgba(90, 240, 225, .55)) !important; }
  html body.vey-renewal .loot-showcase .button.primary::before, html body.vey-renewal .loot-showcase .button.primary::after { content: none !important; display: none !important; }
}
/* gleiche Regeln in der früheren Ebene vp2, damit sie dort vorhandene !important-Knopfregeln schlagen */
@layer vp2 {
  html body.vey-renewal .loot-showcase .button.primary { min-height: 46px !important; padding: 0 12px !important; border-style: solid !important; border-color: transparent !important; border-radius: 0 !important; border-width: 0 16px !important; border-image: url("./assets/ui/controls/plate-primary-v4.webp") 0 87 0 88 fill / 0 34px / 9px 3px stretch !important; background: none !important; box-shadow: none !important; color: #fff4d2 !important; -webkit-text-fill-color: #fff4d2 !important; font: 800 13px/1 var(--vm-font, Manrope, sans-serif) !important; letter-spacing: .16em !important; text-shadow: 0 1px 2px #000 !important; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .6)) !important; }
  html body.vey-renewal .loot-showcase .button.primary:hover { filter: brightness(1.15) drop-shadow(0 0 10px rgba(90, 240, 225, .55)) !important; }
  html body.vey-renewal .loot-showcase .button.primary::before, html body.vey-renewal .loot-showcase .button.primary::after { content: none !important; display: none !important; }
}
@layer pv {
  /* Shimmer Codex im Bestiarium */
  html body.vey-renewal #view:not(#pv-x) .bestiary-variants { display: flex !important; gap: 5px !important; margin-top: 5px !important; }
  html body.vey-renewal #view:not(#pv-x) .bestiary-variants > i { display: block !important; width: 11px !important; height: 11px !important; transform: rotate(45deg) !important; border-radius: 2px !important; border: 1px solid color-mix(in srgb, var(--gem) 55%, transparent) !important; background: rgba(255, 255, 255, .04) !important; }
  html body.vey-renewal #view:not(#pv-x) .bestiary-variants > i.is-found { background: radial-gradient(circle at 35% 35%, #fff, var(--gem) 45%, color-mix(in srgb, var(--gem) 50%, #000)) !important; border-color: var(--gem) !important; box-shadow: 0 0 10px var(--gem) !important; }
  html body.vey-renewal #view:not(#pv-x) .shimmer-codex-intro { display: grid !important; gap: 4px !important; margin: 0 0 12px !important; padding: 12px 16px !important; border-radius: 14px !important; border: 1px solid rgba(232, 196, 128, .25) !important; background: radial-gradient(80% 140% at 0% 50%, rgba(183, 123, 255, .14), transparent 70%), rgba(255, 255, 255, .025) !important; }
  html body.vey-renewal #view:not(#pv-x) .shimmer-codex-intro > b { color: #f3d58e !important; font: 600 17px/1.2 Cinzel, Georgia, serif !important; }
  html body.vey-renewal #view:not(#pv-x) .shimmer-codex-intro > span { color: #cfc6b3 !important; font: 500 12.5px/1.5 var(--vm-font, Manrope, sans-serif) !important; }
  html body.vey-renewal #view:not(#pv-x) .shimmer-codex-intro em { font-style: normal !important; font-weight: 800 !important; color: var(--gem) !important; text-shadow: 0 0 8px color-mix(in srgb, var(--gem) 60%, transparent) !important; }
}
@layer pv {
  /* Hinterhalt: roter Alarm-Auftritt */
  html body.vey-renewal #view .encounter-intro.tier-ambush { --ei-accent: #ff3b3b; --ei-edge: rgba(255, 59, 59, .95); }
  html body.vey-renewal #view .encounter-intro.tier-ambush > .ei-flash { background: #ff2a2a; animation: eiFlash .5s steps(1, end) both; }
  html body.vey-renewal #view .encounter-intro.tier-ambush > .ei-tint > .ei-portrait { animation: eiPortrait .25s .05s cubic-bezier(.2, .9, .2, 1) forwards, eiReveal .2s .3s forwards; }
  html body.vey-renewal #view .encounter-intro.tier-ambush .ei-card small { animation: ambushBlink .25s steps(2, end) 4; }
  @keyframes ambushBlink { 50% { opacity: .2; } }

  /* Freigestellte Gegner: echte Silhouette ohne Maske, Figur steht unten */
  html body.vey-renewal #view .encounter-intro.has-cutout > .ei-tint > .ei-portrait { top: 8%; height: 84%; background: var(--intro-art) center bottom / contain no-repeat; -webkit-mask-image: none; mask-image: none; filter: brightness(0) drop-shadow(0 0 3px var(--ei-edge)); }
  html body.vey-renewal #view .encounter-intro.has-cutout > .ei-tint > .ei-portrait { --cut-reveal: brightness(1) drop-shadow(0 14px 22px rgba(0, 0, 0, .85)) drop-shadow(0 0 18px var(--ei-edge)); }
  html body.vey-renewal #view .encounter-intro.has-cutout:not(.tier-variant) > .ei-tint > .ei-portrait { animation: eiPortrait .5s .18s cubic-bezier(.2, .9, .2, 1) forwards, eiRevealCut .25s .62s forwards; }
  html body.vey-renewal #view .encounter-intro.has-cutout.tier-ambush > .ei-tint > .ei-portrait { animation: eiPortrait .25s .05s cubic-bezier(.2, .9, .2, 1) forwards, eiRevealCut .2s .3s forwards; }
  html body.vey-renewal #view .encounter-intro.has-cutout.tier-variant > .ei-tint > .ei-portrait { animation: eiPortrait .5s .18s cubic-bezier(.2, .9, .2, 1) forwards, eiRevealCutShiny 1.2s .9s forwards; }
  @keyframes eiRevealCut { to { filter: brightness(1) drop-shadow(0 14px 22px rgba(0, 0, 0, .85)) drop-shadow(0 0 16px var(--ei-edge)); } }
  @keyframes eiRevealCutShiny { 0% { filter: brightness(0) drop-shadow(0 0 3px var(--ei-edge)); } 30% { filter: brightness(2.6) drop-shadow(0 0 34px var(--ei-edge)); } 100% { filter: brightness(1.08) saturate(1.25) drop-shadow(0 14px 22px rgba(0, 0, 0, .85)) drop-shadow(0 0 28px var(--ei-edge)); } }

  html body.vey-renewal #view .encounter-intro > .ei-tint { position: absolute; inset: 0; pointer-events: none; }
  html body.vey-renewal #view .encounter-intro > .ei-tint.tint-gilded { filter: sepia(.55) saturate(2.4) hue-rotate(-8deg) brightness(1.15); }
  html body.vey-renewal #view .encounter-intro > .ei-tint.tint-voidtouched { filter: hue-rotate(215deg) saturate(1.7); }
  html body.vey-renewal #view .encounter-intro > .ei-tint.tint-bloodmoon { filter: sepia(.6) hue-rotate(-48deg) saturate(3.2); }
  html body.vey-renewal #view .encounter-intro > .ei-tint.tint-starborn { filter: hue-rotate(150deg) saturate(1.5) brightness(1.25); }

  /* Gefangene Kreaturen in der Beute-Show: größer, freigestellt, ohne Rahmen-Kasten */
  html body.vey-renewal .loot-showcase .ls-item.is-creature { width: clamp(220px, 40vmin, 380px); border: 0; border-radius: 50%; background: var(--ls-art) center / contain no-repeat, radial-gradient(circle, color-mix(in srgb, var(--ls) 30%, transparent), transparent 68%); box-shadow: none; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .8)) drop-shadow(0 0 24px color-mix(in srgb, var(--ls) 70%, transparent)); }
  html body.vey-renewal .loot-showcase .ls-item.is-creature > i { display: none; }

  html body.vey-renewal #view:not(#pv-x) .combat-rewards .journey-combat-outcome > .jco-codex { display: block !important; justify-self: start !important; padding: 4px 10px !important; border-radius: 99px !important; border: 1px solid var(--variant-color, #f3d58e) !important; background: color-mix(in srgb, var(--variant-color, #f3d58e) 16%, transparent) !important; color: #fff3cf !important; font: 800 10px/1.3 var(--vm-font, Manrope, sans-serif) !important; letter-spacing: .14em !important; box-shadow: 0 0 16px -4px var(--variant-color, #f3d58e) !important; animation: codexPop .5s cubic-bezier(.2, 1.5, .3, 1) both !important; }
  @keyframes codexPop { from { transform: scale(.4); opacity: 0; } }

  /* Schrein-Wahl auf der Reise-Bühne */
  body.vey-renewal #view:not(#pv-x):not(#pv-y) .xs-stage .xs-scene > .journey-shrine-stage { grid-column: 1 / -1 !important; width: min(860px, 100%) !important; justify-self: center !important; display: grid !important; justify-items: center !important; gap: 12px !important; padding: 16px 18px !important; text-align: center !important; border-radius: 18px !important; border: 1px solid rgba(232, 196, 128, .35) !important; background: radial-gradient(70% 120% at 50% 0%, rgba(243, 213, 142, .16), transparent 70%), rgba(10, 8, 14, .82) !important; backdrop-filter: blur(6px) !important; animation: shrineIn .5s ease-out both !important; }
  @keyframes shrineIn { from { opacity: 0; transform: translateY(10px); } }
  body.vey-renewal #view:not(#pv-x):not(#pv-y) .journey-shrine-stage > header { display: grid !important; gap: 3px !important; }
  body.vey-renewal #view:not(#pv-x):not(#pv-y) .journey-shrine-stage > header .eyebrow { color: #e2c68a !important; font: 700 10px/1.3 var(--pv-font, Manrope, sans-serif) !important; letter-spacing: .2em !important; }
  body.vey-renewal #view:not(#pv-x):not(#pv-y) .journey-shrine-stage > header h2 { margin: 0 !important; color: #fff3cf !important; font: 600 22px/1.2 Cinzel, Georgia, serif !important; }
  body.vey-renewal #view:not(#pv-x):not(#pv-y) .journey-shrine-stage > header p { margin: 0 !important; color: #b9ae98 !important; font: 500 12px/1.4 var(--pv-font, Manrope, sans-serif) !important; }
  body.vey-renewal #view:not(#pv-x):not(#pv-y) .journey-shrine-choices { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 10px !important; width: 100% !important; }
  body.vey-renewal #view:not(#pv-x):not(#pv-y) .journey-shrine-choices > .shrine-card { --sc: #f3d58e; all: unset !important; box-sizing: border-box !important; cursor: pointer !important; display: grid !important; justify-items: center !important; align-content: start !important; gap: 6px !important; padding: 14px 12px 12px !important; border-radius: 14px !important; border: 1px solid color-mix(in srgb, var(--sc) 40%, transparent) !important; background: radial-gradient(90% 70% at 50% 0%, color-mix(in srgb, var(--sc) 20%, transparent), transparent 70%), rgba(255, 255, 255, .03) !important; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease !important; }
  body.vey-renewal #view:not(#pv-x):not(#pv-y) .journey-shrine-choices > .shrine-vigor { --sc: #7df0b0; }
  body.vey-renewal #view:not(#pv-x):not(#pv-y) .journey-shrine-choices > .shrine-offering { --sc: #ffb340; }
  body.vey-renewal #view:not(#pv-x):not(#pv-y) .journey-shrine-choices > .shrine-card:hover { transform: translateY(-3px) !important; border-color: var(--sc) !important; box-shadow: 0 0 24px -6px var(--sc) !important; }
  body.vey-renewal #view:not(#pv-x):not(#pv-y) .journey-shrine-choices > .shrine-card > i { display: grid !important; place-items: center !important; width: 44px !important; height: 44px !important; border-radius: 50% !important; border: 1px solid var(--sc) !important; color: var(--sc) !important; font: 700 20px/1 serif !important; font-style: normal !important; box-shadow: 0 0 18px -4px var(--sc) !important; }
  body.vey-renewal #view:not(#pv-x):not(#pv-y) .journey-shrine-choices > .shrine-card > b { color: #fff3cf !important; font: 600 15px/1.2 Cinzel, Georgia, serif !important; }
  body.vey-renewal #view:not(#pv-x):not(#pv-y) .journey-shrine-choices > .shrine-card > span { color: #cfc6b3 !important; font: 500 12px/1.45 var(--pv-font, Manrope, sans-serif) !important; }
  body.vey-renewal #view:not(#pv-x):not(#pv-y) .journey-shrine-choices > .shrine-card > em { margin-top: 4px !important; color: var(--sc) !important; font: 800 10px/1 var(--pv-font, Manrope, sans-serif) !important; font-style: normal !important; letter-spacing: .2em !important; }
  @media (max-width: 760px) { body.vey-renewal #view:not(#pv-x):not(#pv-y) .journey-shrine-choices { grid-template-columns: 1fr !important; } }
}
