
/* PRESTIGE EVOLUTION V36 */

html body #app
.profile-v4-level.level-emblem-v36{

 display:grid!important;
 place-items:center!important;

 width:148px!important;
 height:148px!important;
 flex:0 0 148px!important;

 padding:0!important;
 margin:0!important;

 border:0!important;
 background:none!important;
 overflow:visible!important;
 transform:none!important;

}

html body #app .level-emblem-v36 svg{

 width:100%!important;
 height:100%!important;
 overflow:visible!important;

 filter:drop-shadow(
  0 3px 4px #000b
 )!important;

 transition:transform .2s ease;

}

/* METALLIC REFLECTION */

.level-emblem-v36 .rank36-shine{
 animation:rank36MetalShine 5s
  ease-in-out infinite;
}

@keyframes rank36MetalShine{
 0%,15%{
  transform:translateX(-140px);
  opacity:0;
 }
 20%{
  opacity:.8;
 }
 45%{
  transform:translateX(220px);
  opacity:.8;
 }
 50%,100%{
  transform:translateX(240px);
  opacity:0;
 }
}

/* HIGH RANK ORBITS */

.level-emblem-v36 .rank36-orbit{

 transform-origin:90px 83px;
 transform-box:view-box;

}

.level-emblem-v36[data-band="4"] .orbit-0,
.level-emblem-v36[data-band="5"] .orbit-0,
.level-emblem-v36[data-band="6"] .orbit-0{
 animation:rank36Rotate 22s linear infinite;
}

.level-emblem-v36[data-band="4"] .orbit-1,
.level-emblem-v36[data-band="5"] .orbit-1,
.level-emblem-v36[data-band="6"] .orbit-1{
 animation:rank36Rotate 30s linear infinite reverse;
}

.level-emblem-v36[data-band="6"] .orbit-2{
 animation:rank36Rotate 40s linear infinite;
}

@keyframes rank36Rotate{
 to{transform:rotate(360deg)}
}

/* CHROMATIC METAL */

.level-emblem-v36[data-band="4"] .rank36-metal,
.level-emblem-v36[data-band="5"] .rank36-metal,
.level-emblem-v36[data-band="6"] .rank36-metal{
 animation:rank36Chromatic 14s linear infinite;
}

@keyframes rank36Chromatic{
 from{filter:hue-rotate(0deg)}
 to{filter:hue-rotate(360deg)}
}

@media(hover:hover){
 .level-emblem-v36:hover svg{
  transform:scale(1.055);
 }
}

/* MOBILE */

@media(max-width:760px){

 html body #app
 .profile-hero.profile-v4-hero{

  grid-template-columns:
   minmax(0,1fr) 84px!important;

 }

 html body #app
 .profile-v4-level.level-emblem-v36{

  width:84px!important;
  height:84px!important;
  flex:0 0 84px!important;

 }

 /* Keep mobile rendering lightweight. */

 .level-emblem-v36 .rank36-orbit,
 .level-emblem-v36 .rank36-metal{
  animation:none!important;
 }

}

@media(max-width:360px){

 html body #app
 .profile-hero.profile-v4-hero{
  grid-template-columns:
   minmax(0,1fr) 60px!important;
 }

 html body #app
 .profile-v4-level.level-emblem-v36{

  width:60px!important;
  height:60px!important;
  flex:0 0 60px!important;

 }

}

/* Reduced motion support */

@media(prefers-reduced-motion:reduce){

 .level-emblem-v36 *,
 .level-emblem-v36{
  animation:none!important;
  transition:none!important;
 }

 .level-emblem-v36 .rank36-shine{
  opacity:0;
 }

}
