/* VEYDRIS Aura + Kreis-Items (29.10.2026): Aufsaugen-Knopf, Aura-Tafel im Aufstieg, Kreis-Abzeichen auf Items, Tooltip-Zeilen */
@layer vhq {
  html[data-vui="a"] body .button.aura-absorb:not(#vhq-aura):not(:disabled) {
    color: #f3ecff !important; text-shadow: 0 1px 2px rgba(0,0,0,.85) !important;
    background: linear-gradient(180deg, #9c7be0 0%, #6a45b8 50%, #4c2c8f 51%, #6340ad 100%) !important;
    border-color: #d9c8ff #5a3a9e #2a1458 #5a3a9e !important;
    box-shadow: inset 0 1px 0 rgba(240,228,255,.5), inset 0 -2px 0 rgba(30,10,60,.5), 0 0 0 1px #1a0838, 0 4px 12px rgba(0,0,0,.5) !important;
  }
  html[data-vui="a"] body .button.aura-absorb:not(#vhq-aura):not([disabled]):hover { filter: brightness(1.08) !important; }
  html[data-vui="a"] .button.aura-absorb .vgi::before { background: linear-gradient(180deg, #fff, #e3d6ff) !important; }
}
@layer pv.pv {
  /* Aufstiegsseite: Aura + Kreis nebeneinander, Handy untereinander */
  body.vey-renewal #view .sanctum-aura { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; margin: 14px 0 !important; }
  body.vey-renewal #view .sanctum-aura__card {
    position: relative !important; display: flex !important; flex-direction: column !important; gap: 10px !important; min-width: 0 !important;
    padding: 18px 18px 16px !important; border-radius: 16px !important;
    border: 1px solid rgba(170, 140, 240, .38) !important;
    background: radial-gradient(120% 90% at 0% 0%, rgba(120, 84, 210, .22), transparent 60%), linear-gradient(180deg, rgba(24, 18, 36, .94), rgba(14, 11, 22, .96)) !important;
    box-shadow: inset 0 1px 0 rgba(220, 200, 255, .08), 0 8px 22px rgba(0, 0, 0, .35) !important;
  }
  body.vey-renewal #view .sanctum-aura__card.sanctum-circle { border-color: rgba(232, 196, 128, .32) !important; background: radial-gradient(120% 90% at 0% 0%, rgba(232, 196, 128, .14), transparent 60%), linear-gradient(180deg, rgba(26, 21, 15, .94), rgba(14, 12, 9, .96)) !important; }
  body.vey-renewal #view .sanctum-aura__card header { display: grid !important; gap: 4px !important; }
  body.vey-renewal #view .sanctum-aura__card h2 { margin: 0 !important; font-size: clamp(18px, 2vw, 22px) !important; line-height: 1.15 !important; }
  body.vey-renewal #view .sanctum-aura__card h2 small { font-size: .62em !important; opacity: .65 !important; font-weight: 600 !important; }
  body.vey-renewal #view .sanctum-aura__card p { margin: 0 !important; font-size: 13px !important; line-height: 1.45 !important; color: var(--pv-muted, #b9ad94) !important; }
  body.vey-renewal #view .sanctum-aura__card p b { color: var(--pv-text, #f1e6cc) !important; }
  body.vey-renewal #view .sanctum-aura__bar { position: relative !important; height: 10px !important; border-radius: 99px !important; overflow: hidden !important; background: rgba(0, 0, 0, .45) !important; box-shadow: inset 0 0 0 1px rgba(170, 140, 240, .35) !important; }
  body.vey-renewal #view .sanctum-aura__bar i { position: absolute !important; inset: 0 auto 0 0 !important; width: var(--aura-progress, 0%) !important; border-radius: inherit !important; background: linear-gradient(90deg, #6a45b8, #b89cff 70%, #efe6ff) !important; box-shadow: 0 0 10px rgba(184, 156, 255, .55) !important; }
  body.vey-renewal #view .sanctum-aura__numbers { font-variant-numeric: tabular-nums !important; }
  body.vey-renewal #view .sanctum-aura__facts { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)) !important; gap: 8px !important; margin: 0 !important; }
  body.vey-renewal #view .sanctum-aura__facts > div { display: grid !important; gap: 2px !important; padding: 8px 10px !important; border-radius: 10px !important; background: rgba(0, 0, 0, .28) !important; border: 1px solid rgba(255, 255, 255, .06) !important; min-width: 0 !important; }
  body.vey-renewal #view .sanctum-aura__facts dt { font-size: 10.5px !important; letter-spacing: .08em !important; text-transform: uppercase !important; color: var(--pv-muted, #b9ad94) !important; }
  body.vey-renewal #view .sanctum-aura__facts dd { margin: 0 !important; font-weight: 800 !important; font-size: 15px !important; color: var(--pv-text, #f1e6cc) !important; font-variant-numeric: tabular-nums !important; }
  body.vey-renewal #view .sanctum-aura__card .button.aura-absorb { align-self: flex-start !important; margin-top: auto !important; }
  @media (max-width: 760px) {
    body.vey-renewal #view .sanctum-aura { grid-template-columns: 1fr !important; }
    body.vey-renewal #view .sanctum-aura__card .button.aura-absorb { align-self: stretch !important; }
  }

  /* Kreis-Abzeichen oben mittig auf jeder Item-Kachel (unten links steht das Item-Level) */
  body.vey-renewal .item-slot > span.item-slot-circle, html body.vey-renewal #view .item-slot > span.item-slot-circle {
    position: absolute !important; left: 50% !important; top: 3px !important; bottom: auto !important; right: auto !important; transform: translateX(-50%) !important; z-index: 3 !important;
    display: grid !important; place-items: center !important; min-width: 16px !important; height: 16px !important; padding: 0 3px !important; border-radius: 5px !important;
    font: 800 9px/1 var(--vm-font, "Inter HQ", sans-serif) !important; letter-spacing: .02em !important; color: #efe6ff !important;
    background: rgba(56, 30, 108, .92) !important; box-shadow: 0 0 0 1px rgba(190, 160, 255, .6) !important; pointer-events: none !important;
  }
  body.vey-renewal .item-slot > span.item-slot-circle.is-locked, html body.vey-renewal #view .item-slot > span.item-slot-circle.is-locked { background: rgba(80, 24, 20, .92) !important; color: #ffc2b5 !important; box-shadow: 0 0 0 1px rgba(255, 130, 110, .55) !important; }

  /* Tooltip: Kreis-Hinweis + Aura-Wert */
  body.vey-renewal .tooltip-circle { margin: 8px 0 0 !important; padding: 8px 10px !important; border-radius: 10px !important; border: 1px solid rgba(170, 140, 240, .4) !important; background: rgba(90, 60, 170, .14) !important; }
  body.vey-renewal .tooltip-circle.locked { border-color: rgba(255, 130, 110, .5) !important; background: rgba(160, 40, 30, .14) !important; }
  body.vey-renewal .tooltip-circle div { display: grid !important; gap: 2px !important; }
  body.vey-renewal .tooltip-circle small { font-size: 10px !important; letter-spacing: .1em !important; color: #cbb8ff !important; }
  body.vey-renewal .tooltip-circle.locked small { color: #ffb0a0 !important; }
  body.vey-renewal .tooltip-circle b { font-size: 13px !important; color: #f3ecff !important; }
  body.vey-renewal .tooltip-circle em { font-style: normal !important; font-size: 11.5px !important; color: var(--pv-muted, #b9ad94) !important; }
  body.vey-renewal .tooltip-aura-value { display: flex !important; justify-content: space-between !important; align-items: baseline !important; gap: 8px !important; margin: 6px 0 0 !important; }
  body.vey-renewal .tooltip-aura-value small { font-size: 10px !important; letter-spacing: .1em !important; color: var(--pv-muted, #b9ad94) !important; }
  body.vey-renewal .tooltip-aura-value b { font-size: 12px !important; color: #cbb8ff !important; font-variant-numeric: tabular-nums !important; }

  /* Aufräumen-Fenster: 3 Knöpfe – Schließen klein, Aufsaugen + Zerlegen gleich breit */
  body.vey-renewal .cleanup-layer .cleanup .vey-confirm__actions.cleanup-actions { display: grid !important; grid-template-columns: auto 1fr 1fr !important; gap: 8px !important; }
  body.vey-renewal .cleanup-layer .cleanup .vey-confirm__actions.cleanup-actions .button { min-width: 0 !important; white-space: normal !important; line-height: 1.2 !important; }
  @media (max-width: 520px) {
    body.vey-renewal .cleanup-layer .cleanup .vey-confirm__actions.cleanup-actions { grid-template-columns: 1fr 1fr !important; }
    body.vey-renewal .cleanup-layer .cleanup .vey-confirm__actions.cleanup-actions [data-cleanup-close] { grid-column: 1 / -1 !important; order: 3 !important; }
  }
}
