@font-face {
  font-family: "HandFontZh";
  src: url("assets/fonts/longcang-zh.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html[lang="zh-CN"] {
  --font: "HandFontZh", "HandFont", "Kaiti SC", "KaiTi", "STKaiti",
    "Noto Serif CJK SC", "Songti SC", serif;
}

html[lang="zh-CN"] .menu-logo-blur,
html[lang="zh-CN"] .menu-logo {
  top: calc(var(--u) * 136);
}

html[lang="zh-CN"] .narrative,
html[lang="zh-CN"] .title-text {
  line-height: 1.4;
}

html[lang="zh-CN"] .screen.chapters .screen-bg {
  background-image: url("assets/img/zh/menu-select.png");
}

html[lang="zh-CN"] .screen.credits .screen-bg {
  background-image: url("assets/img/zh/menu-credits.png");
}

.menu-subtitle-zh {
  position: absolute;
  left: 50%;
  top: calc(var(--u) * 208);
  z-index: 2;
  transform: translateX(-50%);
  color: rgba(242, 232, 213, 0.58);
  font-family: var(--font);
  font-size: calc(var(--u) * 15);
  letter-spacing: 0.24em;
  white-space: nowrap;
  pointer-events: none;
  filter: blur(calc(var(--u) * 0.1));
  opacity: 0;
  animation: menu-subtitle-in 4s 0.8s linear forwards;
}

@keyframes menu-subtitle-in {
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .menu-subtitle-zh {
    animation-duration: 0.2s;
    animation-delay: 0s;
  }
}
