/* Seelenfeuer-Entwurf (30.10.2026) – Leuchten am Helden + Tafel. Nur Test-Kopie.
   Karten-Regeln in @layer vhq (Stahlplatte setzt dort Abstände mit !important). */
@keyframes sf-breathe { 0%,100% { opacity: calc(.55 + var(--sf-strength,.3) * .45); } 50% { opacity: calc(.35 + var(--sf-strength,.3) * .35); } }
@keyframes sf-flick { 0%,100% { transform: translateX(-50%) scale(1); } 33% { transform: translateX(-50%) scale(1.05, .95); } 66% { transform: translateX(-50%) scale(.96, 1.06); } }
@keyframes sf-spark { 0% { transform: translateY(0) scale(1); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-260px) scale(.2); opacity: 0; } }
@layer vhq {
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) .hero-figure.vp-hero, html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) .public-profile-hero.vp-hero { position: relative !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) .soulfire-glow { position: absolute !important; inset: 0 !important; z-index: 2 !important; pointer-events: none !important; mix-blend-mode: screen !important; display: block !important;
    background: radial-gradient(ellipse 26% 7% at 50% 80%, var(--sf2) 0%, var(--sf) 38%, transparent 76%), radial-gradient(ellipse 30% 46% at 50% 46%, color-mix(in srgb, var(--sf) 42%, transparent) 0%, color-mix(in srgb, var(--sf) 14%, transparent) 58%, transparent 80%), linear-gradient(0deg, transparent 18%, color-mix(in srgb, var(--sf) 22%, transparent) 22%, transparent 48%) !important;
    box-shadow: inset 0 0 calc(30px + var(--sf-strength,.3) * 70px) color-mix(in srgb, var(--sf) 40%, transparent) !important;
    animation: sf-breathe 3.2s ease-in-out infinite !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) .soulfire-glow b { position: absolute !important; bottom: 22% !important; width: 5px !important; height: 5px !important; border-radius: 50% !important; background: var(--sf2) !important; box-shadow: 0 0 8px 2px var(--sf) !important; animation: sf-spark 4.2s linear infinite !important; opacity: 0; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) .soulfire-glow b:nth-child(1) { left: 38% !important; animation-delay: 0s !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) .soulfire-glow b:nth-child(2) { left: 61% !important; animation-delay: .7s !important; animation-duration: 3.6s !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) .soulfire-glow b:nth-child(3) { left: 47% !important; animation-delay: 1.5s !important; width: 3px !important; height: 3px !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) .soulfire-glow b:nth-child(4) { left: 55% !important; animation-delay: 2.3s !important; animation-duration: 5s !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) .soulfire-glow b:nth-child(5) { left: 42% !important; animation-delay: 3s !important; width: 4px !important; height: 4px !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) .soulfire-glow b:nth-child(6) { left: 66% !important; animation-delay: 3.6s !important; width: 3px !important; height: 3px !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) .soulfire-glow[data-sf-tier="1"] b:nth-child(n+3), html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) .soulfire-glow[data-sf-tier="2"] b:nth-child(n+5) { display: none !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) .soulfire-tag { position: absolute !important; z-index: 3 !important; left: auto !important; right: 12px !important; top: 12px !important; max-width: calc(100% - 120px) !important; overflow: hidden !important; text-overflow: ellipsis !important; padding: 5px 12px !important; border: 1px solid color-mix(in srgb, var(--sf) 70%, #5a4628) !important; border-radius: 3px !important; background: linear-gradient(180deg, rgba(30,22,14,.94), rgba(10,8,6,.96)) !important; color: #f6e6c2 !important; font: 600 11px/1.2 "Cinzel HQ", Cinzel, Georgia, serif !important; letter-spacing: .12em !important; white-space: nowrap !important; box-shadow: 0 0 16px -4px var(--sf), inset 0 1px 0 rgba(255,230,180,.12) !important; }
  /* Tafel */
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) #view .soulfire-card .soulfire-head { display: flex !important; align-items: center !important; gap: 16px !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) #view .soulfire-card .soulfire-head h2 { display: grid !important; gap: 4px !important; margin: 2px 0 0 !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) #view .soulfire-card .soulfire-head h2 small { color: #b9a682 !important; font: 600 12px/1 "Inter HQ", Inter, sans-serif !important; letter-spacing: .04em !important; text-transform: none !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) #view .soulfire-emblem { position: relative !important; flex: 0 0 64px !important; width: 64px !important; height: 84px !important; border-radius: 3px !important; border: 1px solid color-mix(in srgb, var(--sf) 55%, #5a4628) !important; background: radial-gradient(ellipse 60% 40% at 50% 95%, color-mix(in srgb, var(--sf) 30%, transparent), transparent 80%), #0d0a07 !important; overflow: hidden !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) #view .soulfire-emblem i { position: absolute !important; left: 50% !important; bottom: 6px !important; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38% !important; transform: translateX(-50%) !important; transform-origin: 50% 100% !important; animation: sf-flick 2.2s ease-in-out infinite !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) #view .soulfire-emblem i:nth-child(1) { width: 52px !important; height: 72px !important; background: radial-gradient(ellipse 50% 60% at 50% 72%, color-mix(in srgb, var(--sf) 75%, transparent), transparent 75%) !important; filter: blur(6px) !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) #view .soulfire-emblem i:nth-child(2) { width: 34px !important; height: 58px !important; background: radial-gradient(ellipse 50% 58% at 50% 68%, var(--sf) 0%, color-mix(in srgb, var(--sf) 70%, #2a0d00) 62%, transparent 74%) !important; filter: blur(1.5px) !important; animation-duration: 1.7s !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) #view .soulfire-emblem i:nth-child(3) { width: 16px !important; height: 30px !important; bottom: 9px !important; background: radial-gradient(ellipse 50% 60% at 50% 72%, #fff 0%, var(--sf2) 45%, transparent 76%) !important; animation-duration: 1.3s !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) #view .soulfire-emblem[data-sf-tier="0"] i { animation: none !important; opacity: .35 !important; filter: grayscale(1) blur(2px) !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) #view .soulfire-card .sanctum-aura__bar i { background: linear-gradient(90deg, color-mix(in srgb, var(--sf) 60%, #3a1600), var(--sf), var(--sf2)) !important; box-shadow: 0 0 10px var(--sf) !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) #view .soulfire-card .sanctum-aura__numbers em { color: var(--sf) !important; font-style: normal !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) #view .soulfire-steps { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 4px !important; margin: 10px 0 !important; padding: 0 !important; list-style: none !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) #view .soulfire-steps li { display: grid !important; justify-items: center !important; align-content: start !important; gap: 4px !important; padding: 8px 2px !important; border: 1px solid rgba(216,178,106,.2) !important; border-radius: 3px !important; background: rgba(0,0,0,.3) !important; text-align: center !important; opacity: .45 !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) #view .soulfire-steps li.is-lit { opacity: 1 !important; border-color: color-mix(in srgb, var(--c) 60%, transparent) !important; box-shadow: inset 0 -12px 18px -12px var(--c) !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) #view .soulfire-steps li i { width: 12px !important; height: 17px !important; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38% !important; background: radial-gradient(ellipse at 50% 70%, #fff, var(--c) 55%, transparent 80%) !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) #view .soulfire-steps li span { color: #eadbb8 !important; font: 600 10px/1.15 "Cinzel HQ", Cinzel, serif !important; letter-spacing: .02em !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) #view .soulfire-steps li small { color: #a8987a !important; font: 700 10px/1 "Inter HQ", Inter, sans-serif !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) #view .soulfire-card .button.aura-absorb:not(:disabled) { background: linear-gradient(180deg, #ffb35c, #c8541c 60%, #8a2c0c) !important; border-color: #ffd08a !important; color: #1f0c03 !important; text-shadow: 0 1px 0 rgba(255,220,170,.4) !important; box-shadow: 0 0 18px -6px #ff7a2e, inset 0 1px 0 rgba(255,240,200,.5) !important; }
  /* Stufen-Chip (Profil, Chat) */
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) .soulfire-chip { display: inline-flex !important; align-items: center !important; gap: 6px !important; margin: 6px 6px 0 0 !important; padding: 4px 10px 4px 8px !important; border: 1px solid color-mix(in srgb, var(--sf) 70%, #5a4628) !important; border-radius: 3px !important; background: linear-gradient(180deg, rgba(34,25,15,.95), rgba(12,9,6,.96)) !important; color: #f6e6c2 !important; font: 600 11px/1.2 "Cinzel HQ", Cinzel, Georgia, serif !important; letter-spacing: .1em !important; white-space: nowrap !important; box-shadow: 0 0 12px -4px var(--sf) !important; vertical-align: middle !important; text-transform: none !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) .soulfire-chip.is-compact { margin: 0 0 0 6px !important; padding: 2px 7px 2px 5px !important; font: 700 10px/1.2 "Inter HQ", Inter, sans-serif !important; letter-spacing: .06em !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) .soulfire-chip i, html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) .soulfire-tag i { display: inline-block !important; width: 9px !important; height: 13px !important; flex: 0 0 9px !important; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38% !important; background: radial-gradient(ellipse at 50% 72%, #fff 0%, var(--sf2, #fff) 30%, var(--sf) 62%, transparent 82%) !important; filter: drop-shadow(0 0 4px var(--sf)) !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) .soulfire-tag { display: inline-flex !important; align-items: center !important; gap: 7px !important; }
  /* Profil: Bildausschnitt anders -> nur Schimmer + Rand, kein Bodenring */
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) .public-profile-hero .soulfire-glow { background: radial-gradient(ellipse 34% 46% at 50% 48%, color-mix(in srgb, var(--sf) 36%, transparent) 0%, transparent 78%), linear-gradient(0deg, color-mix(in srgb, var(--sf) 22%, transparent), transparent 40%) !important; }
  /* Chat-Regeln-×: am Handy nur 24 px breit (ui-audit) */
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) .world-chat .wc-rules-close { width: 36px !important; min-width: 36px !important; height: 36px !important; flex: 0 0 36px !important; }
  @media (max-width: 640px) {
    html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4) #view .soulfire-steps { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  }
}
@media (prefers-reduced-motion: reduce) { .soulfire-glow, .soulfire-glow b, .soulfire-emblem i { animation: none !important; } }

/* 31.10.2026 Seelenfeuer ohne Deckel: 10 Flammen-Stufen -> 5 je Zeile (in @layer vhq, sonst gewinnt die alte 3er-Regel) */
@layer vhq {
html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4):not(#sf5) #view .soulfire-steps { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
@media (max-width: 760px) {
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4):not(#sf5) #view .soulfire-steps { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 3px !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4):not(#sf5) #view .soulfire-steps li { padding: 6px 1px !important; }
  html[data-vui] body:not(#sf1):not(#sf2):not(#sf3):not(#sf4):not(#sf5) #view .soulfire-steps li span { font-size: 8.5px !important; overflow-wrap: anywhere !important; text-align: center !important; }
}
}
