* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: #9e563d;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  font-family:
    Microsoft YaHei,
    PingFang SC,
    Noto Sans SC,
    Arial,
    sans-serif;
}

a {
  -webkit-tap-highlight-color: transparent;
}

.mobile-shell {
  position: relative;
  flex: 0 0 auto;
  width: min(100vw, calc(100vh * 1242 / 2688), 1242px);
  max-width: 100vw;
  max-height: 100vh;
  aspect-ratio: 1242 / 2688;
  overflow: hidden;
  background: #9e563d;
}

.stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #9e563d;
}

.page-artwork {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.entry-hotspots {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.hotspot {
  position: absolute;
  left: 61.19%;
  display: block;
  width: 29.39%;
  height: 4.91%;
  border-radius: 999px;
  isolation: isolate;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.dream-hotspot {
  top: 58.71%;
}

.star-hotspot {
  top: 67.93%;
}

.pepper-hotspot {
  top: 77.05%;
}

.fairy-hotspot {
  top: 86.35%;
}

a[aria-disabled='true'] {
  cursor: default;
}

a:not([aria-disabled='true']) {
  cursor: pointer;
}

a:not([aria-disabled='true']):focus-visible {
  outline: 5px solid rgba(255, 255, 255, 0.95);
  outline-offset: 6px;
}

@media (hover: hover) and (pointer: fine) {
  .hotspot:not([aria-disabled='true']) {
    transition:
      background-color 0.18s ease,
      box-shadow 0.18s ease,
      transform 0.18s ease;
  }
  .hotspot:not([aria-disabled='true']):hover {
    background: #ffffff1f;
    box-shadow: 0 0 30px #fff7e159;
    transform: scale(1.02);
  }
  .hotspot:not([aria-disabled='true']):active {
    transform: scale(0.98);
  }
}

@supports (height: 100dvh) {
  body {
    min-height: 100dvh;
    height: 100dvh;
  }
  .mobile-shell {
    width: min(100vw, calc(100dvh * 1242 / 2688), 1242px);
    max-height: 100dvh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hotspot {
    transition: none !important;
  }
}

.artwork-footer {
  position: absolute;
  inset: 94.6% 0 0;
  background: inherit;
  pointer-events: none;
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .mobile-shell {
    width: min(416px, calc(85vh * 1242 / 2688));
    width: min(416px, calc(85dvh * 1242 / 2688));
  }
}

@media (max-width: 767px), (hover: none) {
  .mobile-shell {
    aspect-ratio: 1242 / 2543;
  }
  .mobile-shell .stage {
    height: auto;
    aspect-ratio: 1242 / 2688;
  }
}
