/* KVANTYRA LEVEL REWARDS V186 — cumulative visual unlocks */

/* 1. Observer receives a restrained base marker, not the personalised sign. */
.kv-profile-v152-svg[data-level="1"] .kv-sign-rotor,
.kv-profile-v152-svg[data-level="1"] .kv-sign-counter,
.kv-profile-v152-svg[data-level="1"] > polygon{display:none!important}
.kv-profile-v152-svg[data-level="1"]{filter:saturate(.42) opacity(.76)!important}

/* 2–3. The personal geometry is visible, but its contour stays static. */
.kv-profile-v152-svg:is([data-level="1"],[data-level="2"],[data-level="3"]) .kv-sign-rotor,
.kv-profile-v152-svg:is([data-level="1"],[data-level="2"],[data-level="3"]) .kv-sign-counter,
.kv-profile-v152-svg:is([data-level="1"],[data-level="2"],[data-level="3"]) .kv-sign-pulse{animation:none!important}
.kv-profile-v152-svg[data-level="2"]{filter:drop-shadow(0 0 5px rgba(157,93,255,.34))!important}

/* 3. Enhanced author sign remains unlocked on every later level. */
.kv-feed-v152-author-sign:is([data-kv-level="3"],[data-kv-level="4"],[data-kv-level="5"],[data-kv-level="6"],[data-kv-level="7"],[data-kv-level="8"],[data-kv-level="9"],[data-kv-level="10"]){
  border-color:rgba(164,116,255,.38)!important;
  background:linear-gradient(135deg,rgba(105,82,238,.2),rgba(181,67,255,.12))!important;
  box-shadow:0 0 20px rgba(112,70,255,.15),inset 0 1px 0 rgba(255,255,255,.07)!important;
}

/* 4. Existing rotor/counter animations now become an actual level-4 unlock. */
.kv-profile-v152-svg:is([data-level="4"],[data-level="5"],[data-level="6"],[data-level="7"],[data-level="8"],[data-level="9"],[data-level="10"]){
  filter:drop-shadow(0 0 9px rgba(147,91,255,.52))!important;
}

/* 5. Expanded profile colour palette. */
#profile:is([data-kv-social-level="5"],[data-kv-social-level="6"],[data-kv-social-level="7"],[data-kv-social-level="8"],[data-kv-social-level="9"],[data-kv-social-level="10"]) .kv-profile-v116-hero{
  background:
    radial-gradient(circle at 84% 6%,rgba(89,129,255,.32),transparent 31%),
    radial-gradient(circle at 12% 10%,rgba(188,73,255,.3),transparent 34%),
    linear-gradient(145deg,rgba(28,29,82,.97),rgba(8,9,31,.99) 66%,rgba(12,8,31,.99))!important;
  border-color:rgba(187,154,255,.34)!important;
}

/* 6. Strong avatar glow, cumulative through level 10. */
#profile:is([data-kv-social-level="6"],[data-kv-social-level="7"],[data-kv-social-level="8"],[data-kv-social-level="9"],[data-kv-social-level="10"]) .kv-profile-v116-avatar{
  box-shadow:0 0 0 3px rgba(158,107,255,.27),0 18px 48px rgba(0,0,0,.42),0 0 42px rgba(130,72,255,.5)!important;
}

/* 7. Rare frame belongs to the full author card, not only its small badge. */
#kvFeedV143AuthorCard:is([data-kv-social-level="7"],[data-kv-social-level="8"],[data-kv-social-level="9"],[data-kv-social-level="10"]){
  border-color:rgba(126,201,255,.42)!important;
  box-shadow:0 0 0 1px rgba(142,213,255,.08),0 24px 70px rgba(53,88,181,.24),inset 0 1px 0 rgba(255,255,255,.08)!important;
}

/* 8. Premium contour around the main profile surfaces. */
#profile:is([data-kv-social-level="8"],[data-kv-social-level="9"],[data-kv-social-level="10"]) .kv-profile-v116-hero,
#profile:is([data-kv-social-level="8"],[data-kv-social-level="9"],[data-kv-social-level="10"]) #kvProfileV118Publications{
  border-color:rgba(166,219,255,.48)!important;
  outline:1px solid rgba(174,135,255,.16)!important;
  outline-offset:2px!important;
}

/* 9. Gold aura of the personal sign. */
.kv-profile-v152-svg:is([data-level="9"],[data-level="10"]){
  filter:drop-shadow(0 0 9px rgba(255,219,126,.7)) drop-shadow(0 0 18px rgba(190,119,255,.38))!important;
}
#profile:is([data-kv-social-level="9"],[data-kv-social-level="10"]) .kv-profile-v155-level-badge{
  border-color:rgba(243,199,99,.5)!important;
  background:linear-gradient(145deg,rgba(53,39,93,.94),rgba(55,36,15,.94))!important;
  box-shadow:0 14px 36px rgba(0,0,0,.34),0 0 30px rgba(225,165,55,.25),inset 0 1px 0 rgba(255,239,190,.14)!important;
}

/* 10. The K glyph and Icon status are already generated by V152; make their final state explicit. */
#profile[data-kv-social-level="10"] .kv-profile-v155-level-badge-copy small,
.kv-feed-v152-author-sign[data-kv-level="10"]{color:#fff0b4!important}

@media(prefers-reduced-motion:reduce){
  .kv-profile-v152-svg .kv-sign-rotor,
  .kv-profile-v152-svg .kv-sign-counter,
  .kv-profile-v152-svg .kv-sign-pulse{animation:none!important}
}
