/* VEYDRIS Unterklassen (31.10.2026, Pao-Wunsch): Tafel im Aufstieg mit zwei Wegen je Klasse.
   In @layer vhq, damit die Stahlplatten-Regeln mit !important nicht drueberfahren. */
@keyframes sc-sigil-glow { 0%,100% { box-shadow: 0 0 0 1px color-mix(in srgb, var(--sc) 55%, transparent), 0 0 18px -4px var(--sc); } 50% { box-shadow: 0 0 0 1px color-mix(in srgb, var(--sc) 80%, transparent), 0 0 30px -2px var(--sc); } }
@keyframes sc-sigil-turn { to { transform: rotate(360deg); } }
@layer vhq {
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-panel {
    display: grid !important; gap: 14px !important; margin: 14px 0 !important; padding: 18px !important; box-sizing: border-box !important;
    border: 1px solid rgba(216,178,106,.32) !important; border-radius: 14px !important;
    background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--sc) 16%, transparent), transparent 60%), linear-gradient(180deg, rgba(24,20,30,.94), rgba(12,10,16,.96)) !important;
    box-shadow: inset 0 1px 0 rgba(255,236,190,.08), 0 10px 26px rgba(0,0,0,.45) !important;
  }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-panel__head { display: grid !important; gap: 4px !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-panel__head .eyebrow { color: #d8b26a !important; font: 800 11px/1 "Inter HQ", Inter, sans-serif !important; letter-spacing: .14em !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-panel__head h2 { margin: 0 !important; color: #f4e6c4 !important; font: 700 22px/1.15 "Cinzel HQ", Cinzel, serif !important; text-shadow: 0 0 18px color-mix(in srgb, var(--sc) 45%, transparent) !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-panel__head p { margin: 0 !important; color: #b9aa8c !important; font: 500 13px/1.45 "Inter HQ", Inter, sans-serif !important; max-width: 68ch !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-paths { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path {
    position: relative !important; display: grid !important; grid-template-columns: 64px minmax(0, 1fr) !important; gap: 14px !important; align-items: start !important;
    padding: 14px !important; border-radius: 12px !important; box-sizing: border-box !important; min-width: 0 !important; overflow: hidden !important;
    border: 1px solid color-mix(in srgb, var(--sc) 35%, rgba(216,178,106,.2)) !important;
    background: linear-gradient(160deg, color-mix(in srgb, var(--sc) 14%, rgba(20,16,26,.95)), rgba(14,12,18,.96) 65%) !important;
    transition: transform .18s ease, border-color .18s ease !important;
  }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path:hover { transform: translateY(-2px) !important; border-color: color-mix(in srgb, var(--sc) 65%, transparent) !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path.is-active { border-color: var(--sc) !important; box-shadow: 0 0 0 1px color-mix(in srgb, var(--sc) 50%, transparent), 0 0 28px -8px var(--sc) !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path.is-locked { filter: saturate(.55) !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__sigil {
    position: relative !important; display: grid !important; place-items: center !important; width: 64px !important; height: 64px !important; border-radius: 50% !important;
    background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--sc) 45%, #1a1420), #0d0a12 72%) !important;
    animation: sc-sigil-glow 3.2s ease-in-out infinite !important;
  }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__sigil::before {
    content: "" !important; position: absolute !important; inset: -5px !important; border-radius: 50% !important;
    border: 1px dashed color-mix(in srgb, var(--sc) 60%, transparent) !important; animation: sc-sigil-turn 24s linear infinite !important;
  }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path.is-locked .subclass-path__sigil,
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path.is-locked .subclass-path__sigil::before { animation: none !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__sigil i { font: 400 30px/1 "Segoe UI Symbol", "Noto Sans Symbols 2", serif !important; font-style: normal !important; color: #fff !important; text-shadow: 0 0 12px var(--sc), 0 0 2px var(--sc) !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__body { display: grid !important; gap: 6px !important; min-width: 0 !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__tag { color: var(--sc) !important; font: 800 10px/1 "Inter HQ", Inter, sans-serif !important; letter-spacing: .12em !important; text-transform: uppercase !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path h3 { margin: 0 !important; color: #f6ead0 !important; font: 700 19px/1.15 "Cinzel HQ", Cinzel, serif !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path p { margin: 0 !important; color: #b3a587 !important; font: 500 12.5px/1.45 "Inter HQ", Inter, sans-serif !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__tiers { display: grid !important; gap: 5px !important; margin: 4px 0 2px !important; padding: 0 !important; list-style: none !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__tiers li {
    display: grid !important; gap: 3px !important; padding: 7px 9px !important; border-radius: 8px !important;
    border: 1px solid rgba(216,178,106,.16) !important; background: rgba(0,0,0,.28) !important; opacity: .72 !important;
  }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__tiers li.is-on { opacity: 1 !important; border-color: color-mix(in srgb, var(--sc) 60%, transparent) !important; box-shadow: inset 3px 0 0 var(--sc) !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__tiers small { color: #a8987a !important; font: 800 9.5px/1 "Inter HQ", Inter, sans-serif !important; letter-spacing: .1em !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__tiers b { color: #eedfbd !important; font: 700 12px/1.35 "Inter HQ", Inter, sans-serif !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path .button { justify-self: start !important; margin-top: 4px !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__badge,
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__lock {
    justify-self: start !important; margin-top: 4px !important; padding: 6px 12px !important; border-radius: 999px !important;
    font: 800 10.5px/1 "Inter HQ", Inter, sans-serif !important; letter-spacing: .12em !important;
  }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__badge { color: #140f08 !important; background: linear-gradient(180deg, #fff3cf, var(--sc)) !important; box-shadow: 0 0 16px -4px var(--sc) !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__lock { color: #b9aa8c !important; border: 1px solid rgba(216,178,106,.3) !important; background: rgba(0,0,0,.3) !important; }
  @media (max-width: 760px) {
    html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-panel { padding: 14px 12px !important; }
    html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-panel__head h2 { font-size: 19px !important; }
    html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-paths { grid-template-columns: minmax(0, 1fr) !important; }
    html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path { grid-template-columns: 48px minmax(0, 1fr) !important; gap: 12px !important; padding: 12px !important; }
    html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__sigil { width: 48px !important; height: 48px !important; }
    html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__sigil i { font-size: 23px !important; }
  }
  @media (prefers-reduced-motion: reduce) {
    html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__sigil,
    html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__sigil::before { animation: none !important; }
  }
}

/* 1.11.2026 Unterklassen aufgewertet: HQ-Wappen (assets/subclasses-v1), Kampf-Fähigkeit je Weg, Fortschritt bis Aufstieg 25 */
@layer vhq {
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path { grid-template-columns: 84px minmax(0, 1fr) !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__sigil { width: 84px !important; height: 84px !important; overflow: visible !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__sigil img {
    position: relative !important; z-index: 1 !important; display: block !important; width: 112% !important; height: 112% !important; max-width: none !important;
    object-fit: contain !important; filter: drop-shadow(0 4px 10px rgba(0,0,0,.6)) drop-shadow(0 0 10px color-mix(in srgb, var(--sc) 45%, transparent)) !important;
  }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path.is-locked .subclass-path__sigil img { filter: grayscale(.35) brightness(.85) drop-shadow(0 4px 10px rgba(0,0,0,.6)) !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__skill {
    display: grid !important; gap: 3px !important; padding: 9px 11px !important; border-radius: 9px !important; box-sizing: border-box !important;
    border: 1px solid color-mix(in srgb, var(--sc) 45%, rgba(216,178,106,.2)) !important;
    background: linear-gradient(90deg, color-mix(in srgb, var(--sc) 20%, rgba(0,0,0,.35)), rgba(0,0,0,.3)) !important;
  }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__skill small { color: var(--sc) !important; font: 800 9.5px/1 "Inter HQ", Inter, sans-serif !important; letter-spacing: .12em !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__skill b { color: #fff3d6 !important; font: 700 15px/1.2 "Cinzel HQ", Cinzel, serif !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__skill span { color: #d9cba9 !important; font: 500 12.5px/1.4 "Inter HQ", Inter, sans-serif !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-progress { display: grid !important; gap: 6px !important; margin-top: 8px !important; max-width: 520px !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-progress span { color: #f1dfb5 !important; font: 800 11px/1 "Inter HQ", Inter, sans-serif !important; letter-spacing: .12em !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-progress i { display: block !important; height: 8px !important; border-radius: 999px !important; overflow: hidden !important; background: rgba(0,0,0,.45) !important; border: 1px solid rgba(216,178,106,.3) !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-progress i b { display: block !important; width: var(--p) !important; min-width: 6px !important; height: 100% !important; background: linear-gradient(90deg, #8a6a2c, #f0cf7c) !important; box-shadow: 0 0 10px rgba(240,207,124,.5) !important; }
  html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-progress small { color: #a8987a !important; font: 500 12px/1.3 "Inter HQ", Inter, sans-serif !important; }
  @media (max-width: 760px) {
    html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path { grid-template-columns: 60px minmax(0, 1fr) !important; }
    html body:not(#sc1):not(#sc2):not(#sc3):not(#sc4):not(#sc5) #view .subclass-path__sigil { width: 60px !important; height: 60px !important; }
  }
}
