/* KVANTYRA PROFILE CREATIVE HUB V155 */

/* Legacy animated profile-level badge is retired. A static navigation control
   now opens levels without being rebuilt when profile data refreshes. */
#profile .kv-profile-v155-level-badge{display:none!important;visibility:hidden!important;pointer-events:none!important}
#profile.kv-profile-v128-screen .kv-profile-v15-levels-entry{
  left:18px!important;right:auto!important;min-width:118px!important;
}
#profile.kv-profile-v128-screen .kv-profile-v15-levels-entry .kv-profile-v128-history-icon{
  color:#ded1ff;background:linear-gradient(135deg,rgba(89,135,255,.22),rgba(173,71,255,.2));
}

/* Retained only for backward compatibility with already cached markup. */
#profile .kv-profile-v155-level-badge{
  position:absolute;z-index:9;top:18px;left:18px;display:grid;grid-template-columns:46px auto;align-items:center;gap:9px;
  min-height:54px;padding:4px 11px 4px 4px;border:1px solid rgba(206,177,255,.3);border-radius:18px;
  background:linear-gradient(145deg,rgba(25,22,64,.9),rgba(7,9,28,.9));color:#fff;text-align:left;
  box-shadow:0 14px 36px rgba(0,0,0,.34),0 0 24px rgba(125,76,255,.2),inset 0 1px 0 rgba(255,255,255,.1);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);touch-action:manipulation;
}
#profile .kv-profile-v155-level-badge:active{transform:scale(.975)}
#profile .kv-profile-v155-level-badge .kv-profile-v152-avatar-sign{
  position:static!important;inset:auto!important;width:46px!important;height:46px!important;border-radius:15px!important;
  box-shadow:none!important;background:rgba(8,9,29,.4)!important;
}
#profile .kv-profile-v155-level-badge .kv-profile-v152-avatar-sign svg{width:40px!important;height:40px!important}
.kv-profile-v155-level-badge-copy{min-width:0;display:grid;gap:3px}
.kv-profile-v155-level-badge-copy b{font:950 11px/1 system-ui;white-space:nowrap}
.kv-profile-v155-level-badge-copy small{max-width:110px;overflow:hidden;color:#bda8ff;font:850 9px/1 system-ui;white-space:nowrap;text-overflow:ellipsis}

/* Progress is available on demand and no longer occupies the profile stream. */
#profile .kv-profile-v155-progress-overlay{position:fixed;inset:0;z-index:10380;display:none;align-items:flex-end;justify-content:center;padding:14px 12px calc(14px + env(safe-area-inset-bottom,0px));background:rgba(1,2,9,.78);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px)}
#profile .kv-profile-v155-progress-overlay.active{display:flex}
#profile .kv-profile-v155-progress-sheet{width:min(650px,100%);max-height:min(90vh,940px);overflow:auto;padding:17px;border:1px solid rgba(194,158,255,.25);border-radius:29px 29px 22px 22px;background:radial-gradient(circle at 90% 0,rgba(158,68,255,.2),transparent 38%),linear-gradient(160deg,#18173d,#080a20 58%,#050716);box-shadow:0 40px 115px rgba(0,0,0,.72),inset 0 1px 0 rgba(255,255,255,.07)}
#profile .kv-profile-v155-progress-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
#profile .kv-profile-v155-progress-head small{display:block;color:#aa91ff;font:900 9px/1 system-ui;letter-spacing:.17em}
#profile .kv-profile-v155-progress-head h3{margin:5px 0 0;color:#fff;font:950 24px/1.05 system-ui}
#profile .kv-profile-v155-progress-head p{margin:7px 0 0;color:rgba(236,230,249,.54);font:750 10px/1.4 system-ui}
#profile .kv-profile-v155-progress-close{width:42px;height:42px;flex:0 0 42px;border:1px solid rgba(255,255,255,.13);border-radius:14px;background:rgba(255,255,255,.06);color:#fff;font-size:24px}
#profile .kv-profile-v155-progress-content{display:grid;gap:10px}
#profile .kv-profile-v155-progress-content>.kv-profile-v147,
#profile .kv-profile-v155-progress-content>.kv-profile-v145{margin:0!important;border-radius:23px!important}

/* Creative library becomes the first and dominant section after the hero. */
#profile #kvProfileV118Publications{margin-top:12px!important;padding:16px!important;border-radius:29px!important}
#profile #kvProfileV118Publications>.kv-profile-v118-section-head{margin-bottom:10px!important}
#profile #kvProfileV118Publications>.kv-profile-v118-section-head h3{font-size:27px!important}
#profile #kvProfileV118Publications>.kv-profile-v118-section-head p{max-width:430px!important}
#profile #kvProfileV118Publications>#kvProfileV144Showcase{
  margin:8px 0 14px!important;padding:12px!important;border-radius:20px!important;
  background:linear-gradient(145deg,rgba(71,55,151,.15),rgba(5,8,24,.42))!important;
  border-color:rgba(184,151,255,.14)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
}
#profile #kvProfileV118Publications>#kvProfileV144Showcase:before{display:none!important}
#profile #kvProfileV118Publications>#kvProfileV144Showcase .kv-profile-v144-head{align-items:center!important;margin-bottom:10px!important}
#profile #kvProfileV118Publications>#kvProfileV144Showcase .kv-profile-v144-head span{margin-bottom:4px!important;font-size:8px!important;letter-spacing:.16em!important}
#profile #kvProfileV118Publications>#kvProfileV144Showcase .kv-profile-v144-head h3{font-size:17px!important}
#profile #kvProfileV118Publications>#kvProfileV144Showcase .kv-profile-v144-head p{display:none!important}
#profile #kvProfileV118Publications>#kvProfileV144Showcase .kv-profile-v144-head>b{min-width:44px!important;min-height:29px!important;font-size:9px!important}
#profile #kvProfileV118Publications>#kvProfileV144Showcase .kv-profile-v144-grid{gap:7px!important}
#profile #kvProfileV118Publications>#kvProfileV144Showcase .kv-profile-v144-slot,
#profile #kvProfileV118Publications>#kvProfileV144Showcase .kv-profile-v144-empty{aspect-ratio:4/5!important;border-radius:15px!important}
#profile #kvProfileV118Publications .kv-profile-v118-filter-scroll{margin-top:8px!important}
#profile #kvProfileV118Publications .kv-profile-v118-type-filters{margin-top:5px!important}

/* Old duplicated panels are removed from the main creative profile. */
#profile #kvP5StatsPanel,#profile #kvP5V2History,#profile #kvP5RefPanel{display:none!important}

/* Lightweight premium SVG language for all ten levels. */
.kv-profile-v155-level-icon{display:block;width:27px;height:27px;color:#e9e2ff;filter:drop-shadow(0 0 7px rgba(155,91,255,.28))}
#profile .kv-profile-v145-orbit span{overflow:hidden}
#profile .kv-profile-v145-orbit span .kv-profile-v155-level-icon{width:24px;height:24px}
.kv-profile-v154-level-card .kv-profile-v154-level-symbol{overflow:hidden;background:radial-gradient(circle at 30% 20%,rgba(132,118,255,.32),transparent 44%),linear-gradient(145deg,rgba(70,70,160,.36),rgba(137,53,180,.22))!important}
.kv-profile-v154-level-card[data-kv-level="1"] .kv-profile-v154-level-symbol{color:#a9b7df}
.kv-profile-v154-level-card[data-kv-level="2"] .kv-profile-v154-level-symbol{color:#d5b5ff}
.kv-profile-v154-level-card[data-kv-level="3"] .kv-profile-v154-level-symbol{color:#9fc4ff}
.kv-profile-v154-level-card[data-kv-level="4"] .kv-profile-v154-level-symbol{color:#dca8ff}
.kv-profile-v154-level-card[data-kv-level="5"] .kv-profile-v154-level-symbol{color:#ffd39c}
.kv-profile-v154-level-card[data-kv-level="6"] .kv-profile-v154-level-symbol{color:#ff9fcf}
.kv-profile-v154-level-card[data-kv-level="7"] .kv-profile-v154-level-symbol{color:#8fe5ff}
.kv-profile-v154-level-card[data-kv-level="8"] .kv-profile-v154-level-symbol{color:#a7ffd1}
.kv-profile-v154-level-card[data-kv-level="9"] .kv-profile-v154-level-symbol{color:#ffe28a;background:linear-gradient(145deg,rgba(128,87,196,.4),rgba(188,129,35,.25))!important}
.kv-profile-v154-level-card[data-kv-level="10"] .kv-profile-v154-level-symbol{color:#fff0ae;background:radial-gradient(circle at 50% 50%,rgba(245,192,68,.3),transparent 55%),linear-gradient(145deg,rgba(113,77,216,.5),rgba(170,109,26,.3))!important}
.kv-profile-v154-level-card.current .kv-profile-v155-level-icon{animation:kvV155LevelPulse 3.2s ease-in-out infinite}
@keyframes kvV155LevelPulse{50%{transform:scale(1.06);filter:drop-shadow(0 0 10px currentColor)}}

@media(max-width:430px){
  #profile.kv-profile-v128-screen .kv-profile-v15-levels-entry{top:13px!important;left:12px!important;right:auto!important;min-width:108px!important;height:42px!important;padding:0 10px!important;font-size:11px!important;gap:6px!important}
  #profile .kv-profile-v155-level-badge{top:15px;left:14px;grid-template-columns:42px auto;min-height:50px;padding:4px 9px 4px 4px;border-radius:16px}
  #profile .kv-profile-v155-level-badge .kv-profile-v152-avatar-sign{width:42px!important;height:42px!important;border-radius:14px!important}
  #profile .kv-profile-v155-level-badge .kv-profile-v152-avatar-sign svg{width:37px!important;height:37px!important}
  #profile .kv-profile-v155-progress-overlay{padding:0}
  #profile .kv-profile-v155-progress-sheet{max-height:94vh;padding:14px;border-radius:27px 27px 0 0}
  #profile #kvProfileV118Publications{padding:14px!important;border-radius:25px!important}
  #profile #kvProfileV118Publications>.kv-profile-v118-section-head h3{font-size:24px!important}
  #profile #kvProfileV118Publications>#kvProfileV144Showcase{padding:10px!important}
}
