/* 全站购买喜报。固定在导航下方，从右往左滚 */
.cheer {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 30;
  height: 32px;
  line-height: 32px;
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 14px;
  letter-spacing: 0.04em;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.94);
  pointer-events: none;
}
.cheer[hidden] { display: none !important; }
.cheer-red { color: #d61f3c; }
.cheer-purple { color: #6d28d9; }
.cheer-orange { color: #e8590c; }
.cheer-hold { height: 32px; }
.cheer-hold[hidden] { display: none !important; }
.cheer-track {
  display: inline-block;
  padding-left: 12px;
  white-space: nowrap;
}
.cheer-track.cheer-run {
  animation-name: cheer-slide;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
}
@keyframes cheer-slide {
  0% { transform: translateX(var(--cheer-from)); }
  18% { transform: translateX(0); }
  100% { transform: translateX(var(--cheer-end)); }
}
