/* Ascendant-Mods (01.11.2026): seltener Tier-I-Wurf über der normalen Spanne – nur neue Legendary/Mythic-Drops und Rerolls.
   Markiert über data-ascendant (affixRollAttrs) und .ascendant-callout (modifierRollNote). */
@layer vhq {
  :is(li, button)[data-ascendant]:not(#vey-x) {
    position: relative;
    background: linear-gradient(90deg, rgba(255, 196, 92, .16), rgba(255, 196, 92, 0) 70%) !important;
    box-shadow: inset 3px 0 0 #ffcf6e, 0 0 14px -6px rgba(255, 186, 72, .75) !important;
  }
  :is(li, button)[data-ascendant]:not(#vey-x) :is(b, strong) { color: #ffe3a3 !important; text-shadow: 0 0 10px rgba(255, 190, 80, .45); }
  .roll-callout.ascendant-callout:not(#vey-x) {
    display: inline-flex; align-items: center; gap: 6px; width: max-content; max-width: 100%;
    margin-top: 3px; padding: 2px 9px 2px 7px; border-radius: 999px;
    border: 1px solid rgba(255, 207, 110, .7);
    background: linear-gradient(180deg, rgba(74, 48, 12, .92), rgba(40, 24, 6, .92));
    color: #f6dca0 !important; font: 600 10.5px/1.45 Inter, system-ui, sans-serif; letter-spacing: .04em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .roll-callout.ascendant-callout:not(#vey-x)::before {
    content: ""; flex: 0 0 auto; width: 7px; height: 7px; transform: rotate(45deg);
    background: linear-gradient(135deg, #fff2c4, #ffb547); box-shadow: 0 0 8px rgba(255, 190, 80, .9);
  }
  .roll-callout.ascendant-callout:not(#vey-x) .asc-word { font-family: Cinzel, Georgia, serif; font-weight: 700; color: #ffd27a !important; letter-spacing: .12em; font-style: normal; }
}
@media (prefers-reduced-motion: no-preference) {
  :is(li, button)[data-ascendant]:not(#vey-x) { animation: vey-ascendant-pulse 3.2s ease-in-out infinite; }
  @keyframes vey-ascendant-pulse { 50% { box-shadow: inset 3px 0 0 #ffe29a, 0 0 18px -4px rgba(255, 196, 92, .9); } }
}
/* Desktop-Itemkarte (.bc-mods, aus dem Tooltip gebaut): in vhq mit !important, weil pv.pv dort !important setzt. */
@layer vhq {
  #gameTooltip .bc-mods > li[data-ascendant]:not(#vey-x):not(#vey-y) > span .bc-asc {
    display: inline-flex !important; align-items: center !important; gap: 5px !important; margin-left: 8px !important; padding: 1px 7px 1px 6px !important; border-radius: 999px !important;
    border: 1px solid rgba(255, 207, 110, .7) !important; background: linear-gradient(180deg, rgba(74, 48, 12, .92), rgba(40, 24, 6, .92)) !important;
    font: normal 700 9.5px/1.5 Cinzel, Georgia, serif !important; letter-spacing: .12em !important; color: #ffd27a !important; vertical-align: middle !important;
  }
  #gameTooltip .bc-mods > li[data-ascendant]:not(#vey-x):not(#vey-y) > span .bc-asc::before {
    content: "" !important; width: 6px !important; height: 6px !important; transform: rotate(45deg) !important; background: linear-gradient(135deg, #fff2c4, #ffb547) !important; box-shadow: 0 0 6px rgba(255, 190, 80, .9) !important;
  }
  #gameTooltip .bc-mods > li[data-ascendant]:not(#vey-x):not(#vey-y) > b { color: #ffe3a3 !important; text-shadow: 0 0 10px rgba(255, 190, 80, .5) !important; }
}
