/* 仅补充脱离 Vue 后的状态控制；布局、配色与响应式沿用原始页面 CSS。 */
[hidden] {
  display: none !important;
}
.page-preloader {
  display: none !important;
}
.capsule-toast {
  position: fixed;
  z-index: 10010;
  top: 22px;
  left: 50%;
  max-width: calc(100vw - 32px);
  padding: 12px 22px;
  border: 1px solid var(--toast-tint, #a58aff);
  border-radius: 50px;
  background: var(--surface, #fff);
  color: var(--text, #363636);
  box-shadow: 0 8px 30px #0002;
  opacity: 0;
  transform: translate(-50%, -16px);
  transition:
    opacity 0.2s,
    transform 0.2s;
  pointer-events: none;
}
.capsule-toast.is-visible,
.capsule-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.static-tooltip {
  z-index: 10020;
}
@media (prefers-reduced-motion: reduce) {
  .capsule-toast {
    transition: none;
  }
}

/* 光晕与边缘高光跟随指针，不拦截封面和轮播控件的点击。 */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease-out;
}
.hero::after {
  background: radial-gradient(
    circle at var(--hero-glow-x, 50%) var(--hero-glow-y, 50%),
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0.08) 22%,
    rgba(255, 255, 255, 0) 55%
  );
  mix-blend-mode: screen;
}
.hero::before {
  padding: 2px;
  background: radial-gradient(
    circle at var(--hero-glow-x, 50%) var(--hero-glow-y, 50%),
    #fff,
    rgba(255, 255, 255, 0.7) 20%,
    rgba(255, 255, 255, 0.1) 46%,
    rgba(255, 255, 255, 0) 62%
  );
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
@media (hover: hover) and (pointer: fine) {
  .hero.is-glow-active::before,
  .hero.is-glow-active::after {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after {
    transition: none;
  }
}
.hero-caption,
.hero-bottom {
  z-index: 3;
}
