/*! ASTRONSTAR 运行时镜像 — 请勿直接修改本文件 | 源文件: src/styles/components/decoration.css | 重新生成: npm run prepare:runtime | 源码归属与修改边界见 docs/architecture.md */
/* ==========================================================================
   Shared decorations (.c-shooting / .c-heart) for the recruit family pages.
   Source: public/assets/build.BLQ6HOrG.20260714.css (frozen build artifact, unpacked for maintainability)
   Iterate on this file inside src/ and re-sync via prepare:runtime.
   ========================================================================== */

@import "/__external/fonts.googleapis.com/css2__q_1e7198ad8b79";

@font-face {
  font-family: astronstarfont;
  src: url(/assets/font/kingnam-yuanmo-sc.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  size-adjust: 70%;
}

@font-face {
  font-family: "emoji";
  src: url(/assets/font/kingnam-yuanmo-sc.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "emoji";
  src: url(/assets/font/kingnam-yuanmo-sc.woff2) format("woff2");
  font-weight: 700;
  font-style: bold;
}

.c-shootingHearts {
  position: absolute;
  top: -10%;
  right: -15%;
  width: 100%;
  height: 100%;
  height: var(--longer);
  transform: rotate(-45deg);
}

.c-shootingHearts .c-heart {
  --star-tail-length: 6em;
  --star-tail-height: 2px;
  --star-width: calc(var(--star-tail-length) / 6);
  --fall-duration: 9s;
  --tail-fade-duration: var(--fall-duration);
  position: absolute;
  top: var(--top-offset);
  right: 0;
  width: var(--star-tail-length);
  height: var(--star-tail-height);
  transform: translate3d(104em,0,0);
  animation: fall var(--fall-duration) var(--fall-delay) linear infinite;
}

.c-shootingHearts .c-heart:nth-child(1) {
  --star-tail-length: 35.44em;
  --top-offset: 71.57vh;
  --fall-duration: 9.863s;
  --fall-delay: 3.97s;
}

.c-shootingHearts .c-heart:nth-child(2) {
  --star-tail-length: 36.84em;
  --top-offset: 45.32vh;
  --fall-duration: 8s;
  --fall-delay: 2s;
}

.c-shootingHearts .c-heart:nth-child(3) {
  --star-tail-length: 35.01em;
  --top-offset: 23.31vh;
  --fall-duration: 10.494s;
  --fall-delay: 1.197s;
}

.c-shootingHearts .c-heart:nth-child(4) {
  --star-tail-length: 37.33em;
  --top-offset: 93.22vh;
  --fall-duration: 10.325s;
  --fall-delay: .517s;
}

.c-shootingHearts .c-heart:nth-child(5) {
  --star-tail-length: 5.6em;
  --top-offset: 3.26vh;
  --fall-duration: 11.356s;
  --fall-delay: 2.901s;
}

.c-shootingHearts .c-heart span {
  display: block;
  transform: rotate(143deg);
  position: relative;
  width: clamp(40px,4.5rem,50px);
  aspect-ratio: 45/39.27;
  animation: tail-fade var(--fall-duration) var(--fall-delay) linear infinite;
}

.c-shootingHearts .c-heart span:before {
  display: block;
  content: "";
  background-image: url(/assets/img/astronstar/official-logo.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: clamp(40px,4.5rem,50px);
  aspect-ratio: 45/39.27;
  rotate: -100deg;
}

@keyframes fall {
  to {
    transform: translate3d(-60em,0,0);
  }
}

@keyframes tail-fade {
  0%,
  50% {
    scale: 1;
  }
  90% {
    scale: 1;
  }
  to {
    scale: .2;
  }
}

@media screen and (max-width: 768px) {
  .c-shootingHearts .c-heart:nth-child(1) {
    --top-offset: 50.57vh;
    --star-tail-length: 25.44em;
  }
  .c-shootingHearts .c-heart:nth-child(2) {
    --top-offset: 25.57vh;
    --star-tail-length: 12.84em;
  }
  .c-shootingHearts .c-heart:nth-child(3) {
    --top-offset: 3.57vh;
    --star-tail-length: 8em;
  }
  .c-shootingHearts .c-heart:nth-child(4) {
    --top-offset: 73.22vh;
    --star-tail-length: 27.33em;
  }
  .c-shootingHearts .c-heart:nth-child(5) {
    --top-offset: 1.26vh;
    --star-tail-length: 1.6em;
  }
  .c-shootingHearts .c-heart span {
    width: clamp(25px,3rem,35px);
  }
  .c-shootingHearts .c-heart span:before {
    width: clamp(25px,3rem,35px);
  }
  @keyframes fall {
    to {
      transform: translate3d(-10em,0,0);
    }
  }
}
