:root {
  --ink: #161513;
  --cream: #f7f4ee;
  --lime: #d6ff3f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #e7eaee;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

button {
  font-family: inherit;
}

.stage {
  position: relative;
  width: min(100%, 480px);
  margin: 0 auto;
  background: #f7f8fa;
}

.stage img {
  display: block;
  width: 100%;
  height: auto;
}

.hit {
  position: absolute;
  top: 86.1%;
  height: 5%;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.hit-ios {
  left: 4.6%;
  width: 29.4%;
}

.hit-android {
  left: 35.6%;
  width: 27.2%;
}

.hit-mini {
  left: 65.8%;
  width: 28.4%;
}

.hit:focus-visible {
  outline: 3px solid #111;
  outline-offset: 2px;
}

.hit:active {
  background: rgba(0, 0, 0, 0.06);
}

.wx-mask {
  position: fixed;
  inset: 0;
  z-index: 40;
  padding: calc(16px + env(safe-area-inset-top)) 20px 24px;
  background: rgba(12, 11, 9, 0.96);
  color: var(--cream);
}

.wx-mask[hidden],
.toast[hidden],
[hidden] {
  display: none !important;
}

.wx-mask__arrow {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 12px 12px auto;
  color: var(--lime);
}

.wx-mask__card {
  padding: 22px 20px 18px;
  border-radius: 22px;
  background: #1c1b17;
}

.wx-mask h2 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.wx-mask p {
  margin: 0;
  color: rgba(247, 244, 238, 0.74);
  font-size: 15px;
  line-height: 1.65;
}

.wx-mask button {
  margin-top: 18px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 50;
  transform: translateX(-50%);
  max-width: calc(100% - 40px);
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
}

@media (min-width: 560px) {
  body {
    padding: 28px 16px;
  }

  .stage {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(28, 24, 16, 0.12);
  }
}
