@charset "UTF-8";
@font-face { font-family: "Milkway Title"; src: url("./assets/fonts/milkway-title.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; min-height: 100%; background: #060d18; }
body { font-family: "Microsoft YaHei UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: #e9eee5; -webkit-font-smoothing: antialiased; }
.universe { position: relative; isolation: isolate; width: 100%; height: 100svh; min-height: 460px; overflow: hidden; }
.home-world { position: absolute; inset: 0; isolation: isolate; }
.identity-plane { position: absolute; inset: 0; pointer-events: none; transform-origin: 0 0; }
.home-world[hidden], #star-flight[hidden], #terrain-flight[hidden], .motion-control[hidden] { display: none; }
#terrain-flight { position: absolute; left: 0; top: 0; width: 300%; height: 100%; z-index: -2; pointer-events: none; transform-origin: 0 0; }
.fallback-plane { position: absolute; inset: 0; z-index: -2; pointer-events: none; transform-origin: 0 0; }
#star-flight { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 6; }
.universe[data-view="entering"] #terrain-flight, .universe[data-view="leaving"] #terrain-flight { will-change: transform; }
.universe[data-view="entering"] .menu-orbit, .universe[data-view="games"] .menu-orbit, .universe[data-view="leaving"] .menu-orbit { animation-play-state: paused; }
.sky-fallback, #cosmos, #meadow, .vignette { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sky-fallback { z-index: -4; background: radial-gradient(ellipse at 65% 40%, #162e46 0, transparent 60%), linear-gradient(#040814, #101e30 70%, #1b3335); }
#cosmos { z-index: -3; }
#meadow { z-index: -2; transform-origin: 0 0; }
.vignette { z-index: -1; background: radial-gradient(ellipse at 50% 42%, transparent 39%, #02061055 100%), linear-gradient(#02071133, transparent 20%, transparent 72%, #02090744); }
.scene-header { position: absolute; inset: 0; z-index: 4; pointer-events: none; transform-origin: 0 0; }
.studio-menu { position: absolute; inset: 0; }
.menu-item { position: absolute; left: var(--star-x); top: var(--star-y); display: flex; flex-direction: column; align-items: center; justify-content: center; width: 80px; height: 74px; padding: 10px 0 0; border: 0; border-radius: 50%; background: transparent; color: #bfcbc9; font-family: "Milkway Title", "KaiTi", "STKaiti", serif; font-size: 16px; font-weight: 400; line-height: 1.3; letter-spacing: .18em; text-decoration: none; cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent; transform: translate(-50%, -50%); transition: color .3s; }
.menu-orbit { display: flex; flex-direction: column; align-items: center; animation: star-wander var(--wander-time, 14s) ease-in-out var(--wander-delay, 0s) infinite; pointer-events: none; }
.menu-games { --star-x: 80%; --star-y: 23%; --wander-time: 18s; --wander-delay: -11s; }
.menu-star { position: relative; display: block; flex: 0 0 4px; width: 4px; height: 4px; border-radius: 50%; background: #fffce7; box-shadow: 0 0 5px 2px #f7f4dca8, 0 0 15px 5px #b8dce34d, 0 0 32px 10px #a8d2df16; animation: navigation-twinkle 5s ease-in-out var(--wander-delay, 0s) infinite; transition: filter .3s; }
.menu-star::before, .menu-star::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: linear-gradient(transparent, #eaf5ebbc 45%, #fffce7 50%, #eaf5ebbc 55%, transparent); }
.menu-star::before { width: 1px; height: 23px; }
.menu-star::after { width: 19px; height: 1px; background: linear-gradient(90deg, transparent, #eaf5ebbc 45%, #fffce7 50%, #eaf5ebbc 55%, transparent); }
.menu-label { margin-top: 16px; padding-left: .18em; text-shadow: 0 1px 7px #020a16, 0 0 16px #b0d4db30; transition: opacity .35s; }
.menu-item:hover, .menu-item:focus-visible, .menu-item.is-preview { color: #fff5d9; }
.menu-item:hover .menu-orbit, .menu-item:focus-visible .menu-orbit, .menu-item.is-preview .menu-orbit { animation-play-state: paused; }
.menu-item:hover .menu-star, .menu-item:focus-visible .menu-star, .menu-item.is-preview .menu-star { filter: brightness(1.45); }
.menu-item:focus-visible { outline: none; }
.menu-item:focus-visible .menu-label { text-decoration: underline; text-decoration-color: #d9dec185; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.universe[data-motion="paused"] .menu-orbit, .universe[data-motion="paused"] .menu-star { animation-play-state: paused; }
@keyframes star-wander {
  0%, 100% { transform: translate(-3px, -2px); }
  33% { transform: translate(4px, 3px); }
  68% { transform: translate(1px, -4px); }
}
@keyframes navigation-twinkle { 0%, 100% { opacity: .72; } 48% { opacity: 1; } 73% { opacity: .88; } }
.studio-identity { position: absolute; top: 61%; left: 50%; transform: translateX(-50%); text-align: center; white-space: nowrap; color: #ebe9db; text-shadow: 0 0 22px #e9e3c31c, 0 2px 18px #020810; transition: opacity .45s; }
.studio-identity h1 { font-family: "Milkway Title", "KaiTi", "STKaiti", serif; margin: 0; padding-left: .18em; font-size: clamp(29px, 2.65vw, 39px); font-weight: 400; line-height: 1.35; letter-spacing: .18em; font-synthesis: none; }
.studio-name-en { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 8px 0 0; padding-left: .18em; font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-style: italic; line-height: 1.4; letter-spacing: .18em; color: #c0cecc; }
.studio-name-en::before, .studio-name-en::after { content: ""; height: 1px; width: 25px; background: linear-gradient(90deg, transparent, #c5d5c34d); }
.studio-name-en::after { transform: rotate(180deg); }
/* The visible slogan is drawn as five playful letters on the meadow. */
.slogan { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; padding: 0; margin: -1px; border: 0; }
.campfire-call { position: absolute; z-index: 3; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; transform: translate(-50%, -50%); touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.campfire-call[hidden], .universe:not([data-view="home"]) .campfire-call { display: none; }
.campfire-call:focus { outline: none; }
.campfire-call:focus-visible { outline: 1px solid #edc38a99; outline-offset: 2px; }
.site-filing {
  position: absolute;
  left: 50%;
  bottom: max(8px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.5;
}
.site-filing a {
  display: block;
  padding: 5px 8px;
  color: #c0cbbf;
  text-decoration: none;
  text-shadow: 0 1px 3px #071009;
}
.site-filing a:hover, .site-filing a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.home-world[inert] .site-filing { visibility: hidden; }
.motion-control { position: absolute; bottom: 20px; right: 24px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: #08120d22; color: #a4b9ac; opacity: .45; cursor: pointer; transition: opacity .2s; -webkit-tap-highlight-color: transparent; }
.motion-control:hover, .motion-control:focus-visible { opacity: 1; }
.motion-control:focus-visible { outline: 1px solid #d6e4c5; outline-offset: 4px; }
.motion-control svg { stroke: currentColor; stroke-width: 1.3; fill: none; }
.play-icon, .motion-control[aria-pressed="true"] .pause-icon { display: none; }
.motion-control[aria-pressed="true"] .play-icon { display: block; }
.mark-fallback { position: absolute; left: 50%; top: 10%; width: min(66vw, 820px); height: 52%; transform: translateX(-50%); object-fit: contain; filter: invert(1); opacity: .7; pointer-events: none; mix-blend-mode: screen; }
@media (max-width: 560px) {
  .menu-item { width: 66px; height: 64px; font-size: 14px; }
  .menu-label { margin-top: 14px; }
  .studio-identity { top: 55.5%; }
  .studio-identity h1 { font-size: 29px; letter-spacing: .14em; padding-left: .14em; }
  .studio-name-en { font-size: 16px; letter-spacing: .13em; padding-left: .13em; margin-top: 10px; gap: 13px; }
  .studio-name-en::before, .studio-name-en::after { width: 18px; }
  .motion-control { right: 13px; bottom: 15px; }
  .mark-fallback { width: 110vw; height: 47%; top: 14%; }
}
@media (max-height: 650px) and (min-width: 561px) {
  .studio-identity { top: 59.5%; }
  .studio-identity h1 { font-size: 28px; }
  .studio-name-en { margin-top: 5px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .menu-orbit, .menu-star { animation: none; } }
