@charset "UTF-8";
html {
  font-size: 125%;
}

img {
  vertical-align: middle;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: #11111100;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.2);
}

:host {
  display: inline-flex;
  flex-direction: row;
  transform-origin: center center;
}
:host .yc-resource {
  display: none;
}
:host .yc-icon {
  width: 1rem;
  height: 1rem;
  font-size: 1rem;
  fill: currentColor;
  overflow: hidden;
  display: inherit;
  font-size: inherit;
}

:host([spin]) .yc-icon {
  animation: rotate 0.8s linear infinite;
}

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