* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #8bcc23;
}

body {
  min-height: 100%;
  margin: 0;
  color: #444;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  background: #8bcc23;
}

button,
a {
  -webkit-tap-highlight-color: rgb(139 204 35 / 18%);
}

.page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background: #8bcc23;
}

.poster {
  position: relative;
  width: min(100vw, 540px);
  aspect-ratio: 1080 / 2524;
  overflow: hidden;
  background: #8bcc23;
}

.poster__image {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.hotspot {
  position: absolute;
  display: block;
  border: 0;
  padding: 0;
  border-radius: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.hotspot::after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: 4px;
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.hotspot--mini-launch::after {
  display: none;
}

.hotspot:focus-visible {
  outline: 3px solid #0aa6ff;
  outline-offset: -3px;
}

.hotspot:active::after {
  background: rgb(255 255 255 / 18%);
  box-shadow: inset 0 0 0 999px rgb(139 204 35 / 10%);
}

.hotspot--wechat,
.hotspot--douyin,
.hotspot--channels,
.hotspot--mini-program,
.hotspot--library,
.hotspot--museum,
.hotspot--culture,
.hotspot--sports,
.hotspot--opera {
  width: 29.722222%;
  height: 12.718700%;
}

.hotspot--wechat {
  left: 4.259259%;
  top: 58.637084%;
}

.hotspot--douyin {
  left: 35.092593%;
  top: 58.637084%;
}

.hotspot--channels {
  left: 65.925926%;
  top: 58.637084%;
}

.hotspot--mini-program {
  left: 4.259259%;
  top: 71.790808%;
}

.hotspot--library {
  left: 35.092593%;
  top: 71.790808%;
}

.hotspot--museum {
  left: 65.925926%;
  top: 71.790808%;
}

.hotspot--culture {
  left: 4.259259%;
  top: 84.944533%;
}

.hotspot--sports {
  left: 35.092593%;
  top: 84.944533%;
}

.hotspot--opera {
  left: 65.925926%;
  top: 84.944533%;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 10;
  max-width: min(86vw, 420px);
  padding: 10px 14px;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  background: rgb(20 24 18 / 86%);
  box-shadow: 0 8px 24px rgb(0 0 0 / 18%);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (min-width: 541px) {
  body {
    background:
      linear-gradient(90deg, rgb(255 255 255 / 42%) 0, rgb(255 255 255 / 0%) 28% 72%, rgb(255 255 255 / 42%) 100%),
      #8bcc23;
  }

  .poster {
    box-shadow: 0 0 30px rgb(38 91 25 / 12%);
  }
}
