:root {
  color-scheme: dark;
  --gold: rgba(253, 215, 164, 1);
  --panel: rgba(24, 12, 7, 0.94);
}

body {
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  background: rgba(10, 4, 0, 1);
  color: white;
  font-family: Helvetica, "Microsoft YaHei", Arial, sans-serif;
}

.canvas-shell {
  position: relative;
  width: 750px;
  height: 1441px;
  flex: 0 0 auto;
  overflow: hidden;
}

.page {
  position: relative;
  width: 750px;
  height: 1441px;
  overflow: hidden;
  transform-origin: left top;
  background-color: rgba(10, 4, 0, 1);
}

.box_1 {
  position: relative;
  width: 750px;
  height: 1624px;
  background: url("./assets/page-background.png") 100% no-repeat;
  background-size: 100% 100%;
}

.group_1 {
  position: relative;
  width: 750px;
  height: 763px;
}

.image-wrapper_1 {
  width: 671px;
  height: 507px;
  margin: 214px 0 0 40px;
}

.image_1,
.image_2 {
  width: 251px;
  height: 507px;
}

.image_3 {
  position: absolute;
  left: 231px;
  top: 128px;
  width: 293px;
  height: 592px;
}

.box_2 {
  position: absolute;
  left: -267px;
  top: -287px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background-color: rgba(255, 185, 113, 0.2);
}

.group_2 {
  position: absolute;
  left: 0;
  top: 762px;
  width: 750px;
  height: 679px;
  background-color: rgba(10, 4, 0, 1);
}

.text_1 {
  width: 200px;
  height: 72px;
  margin: 24px auto 0;
  overflow-wrap: break-word;
  background-image: linear-gradient(180deg, rgba(222, 197, 157, 1) 0, rgba(120, 106, 85, 1) 100%);
  color: transparent;
  font-size: 38px;
  letter-spacing: 5px;
  font-family: Helvetica, "Microsoft YaHei", Arial, sans-serif;
  font-weight: normal;
  line-height: 71px;
  text-align: center;
  white-space: nowrap;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.group_3 {
  width: 129px;
  height: 78px;
  margin: 87px 0 0 321px;
}

.box_3 {
  width: 77px;
  height: 77px;
  border-radius: 16px;
  background: url("./assets/app-icon.png") center / cover no-repeat;
}

.image_4 {
  width: 6px;
  height: 56px;
  margin: 21px 0 0 7px;
}

.image_5 {
  width: 26px;
  height: 77px;
  margin-left: 3px;
}

.box_4 {
  width: 8px;
  height: 13px;
  margin: 65px 0 0 2px;
  background-color: rgba(230, 40, 40, 1);
}

.text_2 {
  width: 750px;
  height: 42px;
  margin: 35px 0 0;
  overflow-wrap: break-word;
  background-image: linear-gradient(180deg, rgba(253, 220, 172, 1) 0, rgba(255, 189, 120, 1) 100%);
  color: transparent;
  font-size: 41px;
  letter-spacing: 12px;
  font-family: "Tsukuhou Shogo Mincho OFL-H", "Songti SC", serif;
  font-weight: normal;
  line-height: 41px;
  text-align: center;
  white-space: nowrap;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text_3 {
  width: 750px;
  height: 17px;
  margin: 16px 0 308px;
  overflow-wrap: break-word;
  color: rgba(199, 162, 123, 1);
  font-size: 16px;
  letter-spacing: 2px;
  font-family: Avanti-Regular, Helvetica, Arial, sans-serif;
  font-weight: normal;
  line-height: 17px;
  text-align: center;
  white-space: nowrap;
}

.image_6 {
  position: absolute;
  left: 502px;
  top: -184px;
  width: 248px;
  height: 385px;
}

.image_7 {
  position: absolute;
  left: 0;
  top: -184px;
  width: 248px;
  height: 385px;
}

.image_8 {
  position: absolute;
  left: 209px;
  top: 105px;
  width: 333px;
  height: 24px;
}

.group_4 {
  position: absolute;
  left: 481px;
  top: 406px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background-color: rgba(255, 185, 113, 0.1);
}

.text-wrapper_1 {
  position: absolute;
  left: 204px;
  top: 449px;
  width: 342px;
  height: 80px;
  align-items: flex-start;
  padding: 0;
  border: 1px solid rgba(253, 215, 164, 1);
  border-radius: 50px;
  background-color: rgba(114, 74, 47, 0.5);
  box-shadow: inset 0 -6px 4px 0 rgba(0, 0, 0, 0.25);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.text-wrapper_1:focus-visible {
  outline: 4px solid rgba(253, 215, 164, 1);
  outline-offset: 5px;
}

.text-wrapper_1:active {
  background-color: rgba(114, 74, 47, 0.72);
}

.text-wrapper_1:disabled {
  cursor: wait;
  opacity: 0.72;
}

.text_4 {
  width: 240px;
  height: 72px;
  margin: 4px 0 0 51px;
  overflow-wrap: break-word;
  color: rgba(253, 215, 164, 1);
  font-size: 34px;
  letter-spacing: 5px;
  font-family: Helvetica, "Microsoft YaHei", Arial, sans-serif;
  font-weight: normal;
  line-height: 71px;
  text-align: center;
  white-space: nowrap;
}

.image-wrapper_2 {
  position: absolute;
  left: 0;
  top: 254px;
  width: 750px;
  height: 516px;
  background-image: linear-gradient(180deg, rgba(10, 4, 0, 0) 0, rgba(10, 4, 0, 1) 85.531104%);
  pointer-events: none;
}

.image_9 {
  width: 169px;
  height: 169px;
  margin: 359px 0 0 290px;
}

.status {
  position: absolute;
  left: 80px;
  top: 545px;
  width: 590px;
  margin: 0;
  color: rgba(199, 162, 123, 1);
  font-size: 22px;
  line-height: 32px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.status.visible { opacity: 1; }

.release-info {
  position: absolute;
  left: 145px;
  top: 590px;
  width: 460px;
  color: rgba(244, 214, 175, 0.82);
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 28px;
  text-align: center;
}

.release-divider { margin: 0 10px; opacity: 0.55; }

.wechat-guide {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: max(72px, env(safe-area-inset-top)) 20px 24px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.wechat-guide.open { display: flex; }

.wechat-guide::before {
  position: absolute;
  top: 18px;
  right: 28px;
  width: 72px;
  height: 52px;
  border-top: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  border-radius: 0 24px 0 0;
  content: "";
  transform: rotate(-10deg);
}

.guide-card {
  width: min(100%, 420px);
  padding: 28px 24px 22px;
  border: 1px solid rgba(247, 200, 142, 0.42);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5), inset 0 1px rgba(255, 255, 255, 0.08);
  color: #f9e3c5;
  line-height: 1.7;
  text-align: center;
}

.guide-card h2 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 21px;
  font-weight: 650;
}

.guide-card p {
  margin: 0 0 18px;
  color: rgba(249, 227, 197, 0.8);
  font-size: 15px;
}

.guide-card strong { color: #fff1db; }

.guide-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.guide-actions button {
  min-height: 44px;
  border: 1px solid rgba(247, 200, 142, 0.5);
  border-radius: 999px;
  background: #4c2a18;
  color: #ffe0b6;
  cursor: pointer;
}

.guide-actions .ghost { background: transparent; }

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