@font-face {
  font-family: "SourceHanSansCN-H5";
  src: url("./%E5%AD%97%E4%BD%93%E6%96%87%E4%BB%B6/SourceHanSansCN-H5.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --green-950: #173f2c;
  --green-800: #27583b;
  --green-700: #367047;
  --green-500: #76a95f;
  --green-300: #b8d59a;
  --green-100: #eaf5d9;
  --jasmine: #fffdf2;
  --cream: #fff9de;
  --yellow: #f3d76e;
  --ink: #163529;
  --white: #fffef9;
  --shadow: 0 18px 50px rgba(22, 66, 43, 0.2);
  --font-body: "SourceHanSansCN-H5", sans-serif;
  --font-title: "SourceHanSansCN-H5", sans-serif;
  --font-decorative: "SourceHanSansCN-H5", serif;
  --safe-top: max(18px, env(safe-area-inset-top));
  --safe-bottom: max(18px, env(safe-area-inset-bottom));
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #dfeecb;
  color: var(--ink);
  font-family: var(--font-body);
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
  touch-action: manipulation;
  user-select: none;
}

button:disabled { pointer-events: none; }

button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(243, 215, 110, 0.9);
  outline-offset: 3px;
}

.app,
.page {
  width: 100%;
  height: 100%;
}

.app {
  position: relative;
  overflow: hidden;
  max-width: 750px;
  margin: 0 auto;
  background: var(--jasmine);
  box-shadow: 0 0 50px rgba(36, 77, 52, 0.18);
}

.page {
  position: absolute;
  inset: 0;
  display: none;
  overflow: hidden;
}

.page.is-active {
  display: block;
  animation: page-in 0.45s ease both;
}

@keyframes page-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.loading {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(150deg, #f8fae9, #dbeec5 60%, #c5dfac);
  color: var(--green-800);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.loading.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading__product {
  display: grid;
  width: 68px;
  height: 92px;
  place-items: center;
  animation: loading-product 1.35s ease-in-out infinite;
}

.loading__product img {
  display: block;
  width: 28px;
  height: auto;
  max-height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(32, 84, 55, .16));
}

@keyframes loading-product {
  0%, 100% { transform: translateY(3px) scale(.97); }
  50% { transform: translateY(-5px) scale(1.02); }
}

.loading p {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.loading__track {
  width: min(58vw, 260px);
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
}

.loading__track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--green-700);
  transition: width 0.15s ease;
}

.loading span { font-size: 12px; opacity: .7; }

.brand-lockup {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding-top: calc(var(--safe-top) + 16px);
}

.brand-lockup img {
  display: block;
  width: min(68vw, 340px);
  height: auto;
  filter: saturate(.85) brightness(.82);
}

.brand-lockup span {
  color: var(--green-800);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3em;
}

.brand-lockup--small img { width: min(54vw, 280px); }

.page--home {
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  background: #eef5d8;
}

.page--home.is-active {
  display: flex;
  flex-direction: column;
}

.home__visual {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #7fc8f1;
}

.home__visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 12%;
  background: linear-gradient(180deg, transparent, rgba(75,140,58,.24));
  pointer-events: none;
}

.home__kv {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  user-select: none;
}

.home__campaign {
  position: relative;
  z-index: 5;
  flex: 1 0 auto;
  min-height: calc(100dvh - 56.25vw + 22px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  margin-top: -22px;
  padding: 31px 18px max(10px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 9% 13%, rgba(255,255,255,.72) 0 4px, transparent 5px),
    radial-gradient(circle at 90% 25%, rgba(255,255,255,.62) 0 3px, transparent 4px),
    linear-gradient(160deg, #eff7dd, #dcecbf 58%, #c5df9e);
  box-shadow: 0 -8px 25px rgba(27,85,47,.14);
  text-align: center;
}

.home__campaign-heading { position: relative; z-index: 1; }


.home__campaign::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -4%;
  width: 108%;
  height: 40px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: linear-gradient(180deg, #9dcc71, #eaf4d3 82%);
  box-shadow: inset 0 5px 0 rgba(79,151,69,.18);
  pointer-events: none;
}

.home__flower {
  position: absolute;
  color: rgba(255,255,255,.92);
  font-size: 36px;
  font-style: normal;
  text-shadow: 0 2px 0 rgba(76,148,65,.2);
  pointer-events: none;
}

.home__flower--left { top: 88px; left: 8px; transform: rotate(-18deg); }
.home__flower--right { top: 184px; right: 8px; transform: rotate(16deg) scale(.82); }

.home__eyebrow {
  display: inline-block;
  margin: 0 0 7px;
  padding: 4px 17px;
  border-radius: 999px;
  background: #f3d853;
  box-shadow: 0 4px 0 rgba(163,127,27,.2);
  color: #246b3e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.home__campaign-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(36px, 10.8vw, 60px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
  filter: drop-shadow(0 5px 0 rgba(31,95,55,.2));
}

.home__campaign-title span,
.home__campaign-title em {
  paint-order: stroke fill;
  -webkit-text-stroke: 7px #fff;
  font-style: normal;
  text-shadow: 0 3px 0 #2e7b47;
}

.home__campaign-title span { color: #287846; }
.home__campaign-title em { color: #f2c928; }

.home__campaign-desc {
  max-width: 520px;
  margin: 8px auto 0;
  color: #315f43;
  font-size: clamp(12px, 3.35vw, 16px);
  font-weight: 700;
  line-height: 1.55;
}

.home__route {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 520px);
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: clamp(5px, 2.2vw, 13px);
  margin: 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  box-shadow: inset 0 0 0 2px rgba(77,154,82,.2);
  color: #2d7144;
}

.home__route span { display: flex; align-items: center; gap: 4px; font-size: clamp(11px, 3vw, 14px); font-weight: 900; white-space: nowrap; }
.home__route span i {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #f2d33d;
  box-shadow: 0 2px 0 #bf9d1d;
  color: #246b3e;
  font-size: 12px;
  font-style: normal;
}
.home__route > b { color: #e3b923; font-size: 24px; line-height: 1; }

.home__benefits {
  position: relative;
  z-index: 1;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border: 2px solid #4d9a52;
  border-radius: 22px;
  background: rgba(255,255,246,.78);
  box-shadow: 0 9px 22px rgba(50,103,53,.12), inset 0 0 0 4px rgba(255,255,255,.5);
}

.home__benefit {
  display: flex;
  min-height: 69px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 18px;
  text-align: left;
}

.home__benefit + .home__benefit { border-top: 1px dashed rgba(60,129,64,.35); }

.home__benefit-copy { display: grid; gap: 5px; }
.home__benefit-copy strong { color: #246b3f; font-size: clamp(14px, 4vw, 19px); line-height: 1.25; }
.home__benefit-copy strong b {
  margin-right: 6px;
  padding: 2px 8px;
  border-radius: 10px 10px 3px 10px;
  background: #f4d74d;
  color: #287347;
}
.home__benefit-copy span { color: #5d7d62; font-size: clamp(11px, 3.1vw, 14px); font-weight: 700; }
.home__benefit img { flex: 0 0 auto; object-fit: contain; }
.home__benefit:first-child img { width: 44px; height: 72px; }
.home__benefit:last-child img { width: 82px; height: 58px; }

.home__prize-note {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 520px);
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  padding: 5px 12px;
  border: 1px solid rgba(222,178,32,.48);
  border-radius: 999px;
  background: rgba(255,249,210,.72);
  color: #2b6e42;
  font-size: clamp(10px, 2.8vw, 13px);
}
.home__prize-note span { padding: 2px 8px; border-radius: 999px; background: #f2ce37; font-weight: 900; }
.home__prize-note b { font-weight: 800; }
.home__prize-note i { color: #eeb824; font-style: normal; }

.home__campaign .primary-btn {
  min-height: 50px;
  max-width: 560px;
  margin-inline: auto;
  box-shadow: 0 7px 0 #173f2c, 0 13px 23px rgba(28,67,43,.22);
}

.home__campaign .text-btn {
  display: block;
  margin: 0 auto;
  padding: 5px 22px;
}

.home-vertical-only { display: none; }

html[data-home-kv="vertical"] .home-landscape-only { display: none; }
html[data-home-kv="vertical"] .page--home { background: linear-gradient(180deg, #7fc8f1 0 68%, #72b95c 100%); }
html[data-home-kv="vertical"] .home__vertical-visual { display: block; }
html[data-home-kv="vertical"] .home__vertical-panel { display: block; }

.home__vertical-visual {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #7fc8f1;
}

.home__vertical-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8%;
  background: linear-gradient(180deg, transparent, rgba(80,146,67,.2));
  pointer-events: none;
}

.home__vertical-kv {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  user-select: none;
}

.home__vertical-panel {
  position: relative;
  z-index: 5;
  flex: 0 0 auto;
  min-height: 0;
  padding: 10px 18px max(10px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 12% 22%, rgba(255,255,255,.2) 0 4px, transparent 5px),
    linear-gradient(155deg, #a8d77d, #6db15d 62%, #4c8d4d);
  box-shadow: 0 -10px 28px rgba(27,85,47,.16);
  text-align: center;
}

.home__vertical-panel p {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin: 0 0 9px;
  color: #17482f;
  line-height: 1.2;
}

.home__vertical-panel p b { font-family: var(--font-title); font-size: clamp(17px, 4.8vw, 25px); letter-spacing: .02em; }
.home__vertical-panel p span { font-size: clamp(12px, 3.3vw, 16px); font-weight: 800; }
.home__vertical-panel .primary-btn { min-height: 50px; box-shadow: 0 7px 0 #173f2c, 0 13px 23px rgba(28,67,43,.22); }
.home__vertical-panel .text-btn { display: block; margin: 5px auto 0; padding: 5px 22px; }

.home__wash {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -8%;
  height: 42%;
  border-radius: 50% 50% 0 0;
  background:
    radial-gradient(circle at 30% 35%, #fff 0 4px, transparent 5px),
    radial-gradient(circle at 70% 20%, #fff 0 5px, transparent 6px),
    linear-gradient(150deg, #a7cf85, #6fa65e);
  display: none;
}

.petal {
  position: absolute;
  z-index: 2;
  color: rgba(255,255,255,.9);
  font-size: 30px;
  animation: petal-float 5s ease-in-out infinite;
}

.petal--1 { left: 9%; top: 27%; }
.petal--2 { right: 10%; top: 24%; animation-delay: -2s; font-size: 42px; }
.petal--3 { right: 17%; top: 53%; animation-delay: -3.2s; }

@keyframes petal-float {
  0%,100% { transform: translate3d(0,0,0) rotate(0); }
  50% { transform: translate3d(8px,-18px,0) rotate(12deg); }
}

.home__hero {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(22px, 5vh, 54px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--green-700);
  font-size: clamp(12px, 3.4vw, 18px);
  font-weight: 800;
  letter-spacing: .18em;
}

.home__hero h1 {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(53px, 15vw, 92px);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.08em;
  text-shadow: 0 4px 0 rgba(255,255,255,.7);
}

.home__hero h1 span { color: var(--green-800); }
.home__hero h1 em { color: #5e963e; font-style: normal; }

.home__subtitle {
  margin: 16px 0 0;
  font-size: clamp(13px, 3.7vw, 18px);
  line-height: 1.7;
}

.hero-bottle {
  position: relative;
  width: 105px;
  height: 188px;
  margin-top: clamp(12px, 3vh, 28px);
  filter: drop-shadow(0 14px 12px rgba(30,74,45,.24));
  display: none;
}

@keyframes bottle-breathe {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-7px) rotate(1deg); }
}

.hero-bottle__cap {
  position: absolute;
  top: 0;
  left: 30px;
  width: 46px;
  height: 24px;
  border-radius: 9px 9px 4px 4px;
  background: linear-gradient(90deg, #eef4e6, #fff, #dce9d6);
  border: 2px solid rgba(53,99,62,.15);
}

.hero-bottle__body {
  position: absolute;
  inset: 20px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(59,110,68,.18);
  border-radius: 29px 29px 22px 22px;
  background: linear-gradient(90deg, #edf3df, #fffef5 50%, #d9e9c8);
  box-shadow: inset 8px 0 12px rgba(255,255,255,.65);
  color: var(--green-800);
}

.hero-bottle__body::before,
.hero-bottle__body::after {
  content: "✿";
  position: absolute;
  color: #b9d896;
  font-size: 30px;
}

.hero-bottle__body::before { top: 18px; left: 9px; }
.hero-bottle__body::after { bottom: 13px; right: 7px; }

.hero-bottle__body span { font-size: 10px; }
.hero-bottle__body strong { margin-top: 6px; font-family: var(--font-title); font-size: 18px; writing-mode: vertical-rl; letter-spacing: .1em; }
.hero-bottle__body small { margin-top: 6px; font-size: 5px; }

.home__actions {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: calc(var(--safe-bottom) + 70px);
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.primary-btn,
.outline-btn {
  min-width: 210px;
  min-height: 52px;
  padding: 13px 28px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .08em;
  cursor: pointer;
}

.primary-btn {
  background: linear-gradient(180deg, #4f884e, #285d3b);
  box-shadow: 0 9px 0 #173f2c, 0 16px 26px rgba(28,67,43,.24);
  color: white;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, opacity .16s ease;
}

.primary-btn:hover:not(:disabled) { filter: brightness(1.04); }
.primary-btn:active { transform: translateY(5px); box-shadow: 0 4px 0 #173f2c; }
.primary-btn:disabled { opacity: .48; cursor: not-allowed; box-shadow: 0 4px 0 #315542; }
.primary-btn--large { width: min(72vw, 400px); min-height: 58px; }

.outline-btn {
  border: 2px solid white;
  background: rgba(255,255,255,.12);
  color: white;
}

.text-btn {
  padding: 8px 22px;
  border: 0;
  background: transparent;
  color: var(--green-950);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home__deadline {
  position: absolute;
  z-index: 5;
  bottom: calc(var(--safe-bottom) + 28px);
  width: 100%;
  margin: 0;
  color: rgba(22,53,41,.8);
  font-size: 10px;
  text-align: center;
}

.page--game { background: #b9d9ef; }

.game-hud {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  align-items: center;
  gap: 12px;
  padding: calc(var(--safe-top) + 4px) 14px 12px;
  background: linear-gradient(180deg, #f7fbeb, rgba(247,251,235,.96));
  box-shadow: 0 5px 20px rgba(31,68,44,.12);
}

.icon-btn {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(39,88,59,.15);
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  color: var(--green-800);
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(39,88,59,.12);
}

.icon-btn svg { display: block; }

.icon-btn--green { background: var(--green-800); color: white; }

.game-progress__line {
  position: relative;
  height: 16px;
  border: 3px solid white;
  border-radius: 999px;
  background: #cbdcb7;
  box-shadow: 0 2px 9px rgba(22,53,41,.1);
}

.game-progress__line i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7db769, #3d7e48);
  transition: width .45s cubic-bezier(.2,.9,.25,1.2);
}

.game-progress__line b {
  position: absolute;
  top: -20px;
  right: 0;
  color: var(--green-800);
  font-size: 11px;
}

.game-progress__steps {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 5px;
}

.game-progress__steps i {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(39,88,59,.3);
  border-radius: 50%;
  background: rgba(255,255,255,.75);
  transition: transform .25s ease, background .25s ease;
}

.game-progress__steps i.is-complete {
  background: var(--green-700);
  transform: scale(1.24);
}

.game-progress p { margin: 5px 0 0; font-size: 11px; text-align: center; }

.scene-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}

.scene-viewport.is-dragging { cursor: grabbing; }

.scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 1400px;
  height: 1900px;
  overflow: hidden;
  transform-origin: 0 0;
  background: linear-gradient(#aee0ef 0 25%, #b9dd99 26% 100%);
  contain: layout paint style;
  backface-visibility: hidden;
}

/* 透明素材试验版：保留可分层布景，用通过 alpha 检查的场景切图验证景深。 */
.scene-asset {
  position: absolute;
  z-index: 8;
  display: block;
  max-width: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.scene-asset--tea-booth {
  top: 720px;
  right: 340px;
  width: 660px;
  filter: drop-shadow(0 24px 24px rgba(31, 67, 43, .24));
}

.scene__sky {
  position: absolute;
  inset: 0 0 auto;
  height: 510px;
  background: linear-gradient(#acdcef, #e9f5de);
}

.scene__sky::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -80px;
  left: -50px;
  height: 210px;
  border-radius: 50%;
  background: #91bd70;
  box-shadow: 380px -40px 0 35px #a4ca82, 800px 10px 0 70px #83af66;
}

.scene__sky i {
  position: absolute;
  width: 170px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: 45px -20px 0 5px rgba(255,255,255,.72), 85px 4px 0 rgba(255,255,255,.72);
}

.scene__sky i:nth-child(1) { top: 110px; left: 120px; }
.scene__sky i:nth-child(2) { top: 190px; left: 680px; transform: scale(.7); }
.scene__sky i:nth-child(3) { top: 80px; right: 100px; transform: scale(.85); }

.scene__ground {
  position: absolute;
  inset: 420px 0 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.32), transparent 16%),
    radial-gradient(circle at 85% 35%, rgba(255,255,255,.2), transparent 14%),
    linear-gradient(145deg, #a8ce82, #7eae68);
}

.scene__path {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  background: #e8e9c5;
  opacity: .92;
  box-shadow: inset 0 0 30px rgba(109,126,79,.15);
}

.scene__path--one { top: 650px; left: 240px; width: 950px; height: 330px; transform: rotate(17deg); }
.scene__path--two { top: 1120px; left: -80px; width: 1080px; height: 340px; transform: rotate(-22deg); }

.zone { position: absolute; z-index: 5; }

.zone__tag {
  position: absolute;
  z-index: 5;
  top: -42px;
  left: 50%;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--green-800);
  box-shadow: 0 5px 12px rgba(27,68,42,.2);
  color: white;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  transform: translateX(-50%);
}

.zone--stage { top: 260px; left: 410px; width: 580px; height: 400px; }

.stage-arch {
  position: absolute;
  inset: 0 35px 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 34px solid #f7f1d7;
  border-bottom-width: 48px;
  border-radius: 52% 52% 15% 15%;
  background: linear-gradient(155deg, #8cc7d1, #d8edc0);
  box-shadow: 0 24px 25px rgba(37,72,44,.22), inset 0 0 45px rgba(255,255,255,.7);
  color: var(--green-800);
}

.stage-arch::before {
  content: "✿  ✿  ✿";
  position: absolute;
  top: -30px;
  color: white;
  font-size: 34px;
  letter-spacing: .5em;
}

.stage-arch b { font-family: var(--font-title); font-size: 42px; }
.stage-arch small { margin-top: 16px; font-weight: 700; }

.stage-floor {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(#f7f1d7, #d8d2ae);
  box-shadow: 0 25px 35px rgba(39,78,46,.25);
}

.zone--brand { top: 780px; left: 140px; width: 350px; height: 260px; }
.brand-wall {
  height: 220px;
  padding-top: 68px;
  border: 16px solid #eff3db;
  border-radius: 28px;
  background: linear-gradient(135deg, #dceeba, #86b66d);
  box-shadow: 0 18px 22px rgba(39,78,46,.24);
  text-align: center;
}
.brand-wall b { display: block; font-family: var(--font-decorative); font-size: 38px; color: var(--green-800); }
.brand-wall small { font-size: 20px; }

.zone--interactive { top: 760px; right: 110px; width: 370px; height: 260px; }
.zone--interactive { display: none; }
.booth {
  height: 230px;
  padding-top: 38px;
  border: 14px solid #f6f1d8;
  border-radius: 40px 40px 14px 14px;
  background: #75a95f;
  box-shadow: 0 18px 22px rgba(39,78,46,.24);
  color: white;
  font-size: 30px;
  text-align: center;
}
.booth i { display: inline-block; width: 62px; height: 90px; margin: 24px 8px 0; border-radius: 18px 18px 7px 7px; background: #fffbe8; }

.zone--photo { top: 1210px; left: 170px; width: 400px; height: 330px; }
.photo-frame {
  display: flex;
  height: 320px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 44px solid #f9f5df;
  border-radius: 48% 48% 18px 18px;
  background: #96c781;
  box-shadow: 0 18px 24px rgba(39,78,46,.25);
  color: var(--green-800);
}
.photo-frame::after { content: "✿ ✿ ✿ ✿"; position: absolute; top: 18px; color: #fff; font-size: 30px; }
.photo-frame b { font-size: 44px; }
.photo-frame small { font-size: 20px; }

.zone--audience { top: 1190px; right: 120px; width: 560px; height: 430px; }
.audience-dots {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle, #f7ebc0 0 18px, #5c8250 19px 24px, transparent 25px) 0 0 / 100px 100px;
  transform: skewY(-8deg);
  opacity: .88;
}

.flower-bed { position: absolute; z-index: 4; color: white; font-size: 55px; letter-spacing: 15px; text-shadow: 0 6px 0 #76a95f; }
.flower-bed--one { top: 610px; left: 90px; transform: rotate(-10deg); }
.flower-bed--two { top: 1070px; right: 80px; transform: rotate(14deg); }
.flower-bed--three { bottom: 80px; left: 380px; }

.target {
  position: absolute;
  z-index: 11;
  width: 86px;
  height: 140px;
  padding: 0;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 8px 8px rgba(23,63,44,.25));
  cursor: pointer;
  transform-origin: 50% 100%;
}

.target::after {
  content: "";
  position: absolute;
  inset: -18px;
  border: 5px solid rgba(255,248,183,.85);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.6);
}

.target.is-found { pointer-events: none; animation: target-found .7s ease both; }
.target.is-found::after { animation: found-ring .7s ease both; }

@keyframes target-found {
  45% { transform: scale(1.35) rotate(-5deg); filter: drop-shadow(0 0 25px white); }
  to { opacity: .24; transform: scale(.85); }
}

@keyframes found-ring {
  45% { opacity: 1; transform: scale(1.4); }
  to { opacity: 0; transform: scale(2); }
}

.target--1 { top: 550px; left: 270px; transform: rotate(-5deg); }
.target--2 { top: 885px; left: 715px; transform: rotate(3deg); }
.target--3 { top: 1030px; right: 80px; transform: rotate(-4deg); }
.target--4 { top: 1460px; left: 610px; transform: rotate(5deg); }
.target--5 { top: 1640px; right: 240px; transform: rotate(-2deg); }

.mini-bottle { position: absolute; inset: 0; }
.mini-bottle i { position: absolute; top: 0; left: 29px; width: 28px; height: 21px; border-radius: 7px 7px 3px 3px; background: #f4f4e9; border: 2px solid #dbe4d2; }
.mini-bottle b {
  position: absolute;
  inset: 17px 4px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #e0ead5;
  border-radius: 23px 23px 17px 17px;
  background: linear-gradient(90deg, #e6eed9, #fffef5, #dbe9cc);
  color: #44714a;
  font-size: 16px;
  line-height: 1.3;
  text-align: center;
}

/* 竖向乐园动线版：入口在下、主舞台在上，保留参考图中的左右与前后关系。 */
.scene {
  width: 2800px;
  height: 6000px;
  background-color: #4b704a;
  isolation: isolate;
}

.scene-composite,
.scene-zone {
  position: absolute;
  display: block;
  max-width: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.scene-composite { z-index: 1; inset: 0; width: 2800px; height: 6000px; }

.scene-zone {
  transform-origin: 50% 100%;
  filter: drop-shadow(0 24px 20px rgba(19, 48, 27, .28));
}

.scene-zone--stage {
  z-index: 4;
  top: 470px;
  left: 600px;
  width: 1600px;
  transform: rotate(.2deg);
  filter: drop-shadow(0 16px 16px rgba(19,48,27,.2));
}

.scene-zone--support {
  z-index: 6;
  top: 1250px;
  left: 1700px;
  width: 1050px;
  transform: rotate(1deg);
}

.scene-zone--garden {
  z-index: 7;
  top: 1580px;
  left: 80px;
  width: 1000px;
  transform: rotate(-1.2deg);
}

.scene-zone--beat {
  z-index: 8;
  top: 1950px;
  left: 2040px;
  width: 650px;
  transform: rotate(1.5deg);
}

.scene-zone--tea-shop {
  z-index: 10;
  top: 2600px;
  left: 910px;
  width: 980px;
  transform: rotate(-.4deg);
}

.scene-zone--music-quiz {
  z-index: 12;
  top: 3750px;
  left: 80px;
  width: 1050px;
  transform: rotate(-1deg);
}

.scene-zone--cup-booth {
  z-index: 13;
  top: 3580px;
  left: 2220px;
  width: 500px;
  transform: rotate(1.4deg);
}

.scene-zone--flower-arch {
  z-index: 15;
  top: 4680px;
  left: 525px;
  width: 1750px;
  transform: rotate(-.25deg);
  filter: drop-shadow(0 34px 28px rgba(17,48,26,.36));
}

.scene .target {
  z-index: 30;
  width: 230px;
  height: 330px;
  filter: drop-shadow(0 12px 10px rgba(17, 54, 31, .38));
}

/* 拖动时停用透明大图的实时阴影，松手后恢复静态视觉。 */
.scene-viewport.is-dragging .scene-zone,
.scene-viewport.is-dragging .scene .target {
  filter: none;
}

.scene .target img {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 76px;
  height: auto;
  transform: translateX(-50%);
  opacity: 1;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.scene .target--1 {
  top: 5150px;
  right: auto;
  left: 1818px;
  transform: none;
}

.scene .target--2 {
  top: 4153px;
  right: auto;
  left: 262px;
  transform: none;
}

.scene .target--3 {
  top: 1372px;
  right: auto;
  left: 1447px;
  transform: none;
}

.scene .target--4 {
  top: 533px;
  right: auto;
  left: 563px;
  transform: none;
}

.scene .target--5 {
  top: 632px;
  right: auto;
  left: 2337px;
  transform: none;
}

.zoom-tools {
  position: absolute;
  z-index: 20;
  right: 16px;
  bottom: calc(var(--safe-bottom) + 75px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.zoom-tools button {
  width: 44px;
  height: 44px;
  border: 0;
  border-bottom: 1px solid #dce8d5;
  background: rgba(255,255,255,.92);
  color: var(--green-800);
  font-size: 23px;
}

.game-hint {
  position: absolute;
  z-index: 20;
  right: 70px;
  bottom: calc(var(--safe-bottom) + 17px);
  left: 70px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(23,63,44,.88);
  color: white;
  font-size: 13px;
  text-align: center;
  transition: opacity .35s ease, transform .35s ease;
}

.game-hint.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }

.find-feedback {
  position: absolute;
  z-index: 30;
  top: 48%;
  left: 50%;
  display: flex;
  min-width: 174px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 22px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 999px;
  background: rgba(255,253,239,.96);
  box-shadow: 0 18px 42px rgba(18,58,36,.28);
  color: var(--green-800);
  opacity: 0;
  transform: translate(-50%, -35%) scale(.72);
  pointer-events: none;
}

.find-feedback > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-700);
  color: white;
  font-size: 22px;
  font-weight: 900;
}

.find-feedback div { display: flex; flex-direction: column; }
.find-feedback small { font-size: 10px; letter-spacing: .12em; }
.find-feedback strong { font-family: var(--font-title); font-size: 23px; }
.find-feedback.is-visible { animation: find-feedback 1.1s ease both; }

@keyframes find-feedback {
  0% { opacity: 0; transform: translate(-50%, -30%) scale(.72); }
  18%, 68% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -70%) scale(.9); }
}

.page--complete {
  padding: calc(var(--safe-top) + 12px) 22px calc(var(--safe-bottom) + 18px);
  background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,.92), transparent 35%),
    linear-gradient(155deg, #eff8dc, #c9e5ad);
}

.complete-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 540px;
  margin: clamp(34px, 8vh, 75px) auto 0;
  padding: clamp(38px, 7vh, 68px) 22px 32px;
  border: 2px solid rgba(255,255,255,.85);
  border-radius: 40px;
  background: rgba(255,254,245,.86);
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(8px);
}

.complete-stamp {
  position: absolute;
  top: -40px;
  left: 50%;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 8px solid white;
  border-radius: 50%;
  background: var(--green-700);
  box-shadow: 0 10px 24px rgba(22,63,42,.24);
  color: white;
  font-size: 23px;
  font-weight: 900;
  transform: translateX(-50%) rotate(-6deg);
}

.complete-card h2 { margin: 0; font-family: var(--font-title); font-size: clamp(34px, 9vw, 54px); color: var(--green-800); }

.collection-row { display: flex; justify-content: center; gap: 8px; margin: 24px 0; }
.collection-row span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--green-100); color: var(--green-700); font-weight: 900; }

.chance-ticket {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 6px auto 28px;
  padding: 15px 18px;
  border: 2px dashed #82a96a;
  border-radius: 18px;
  background: #edf3cf;
}
.chance-ticket small { text-align: right; }
.chance-ticket strong { color: var(--green-800); font-size: 30px; }
.chance-ticket span { text-align: left; }

.celebration { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.celebration i { position: absolute; top: -10%; color: #f5dc73; font-size: 30px; font-style: normal; animation: celebrate 4s linear infinite; }
.celebration i:nth-child(1) { left: 10%; }
.celebration i:nth-child(2) { left: 27%; animation-delay: -1.5s; color: white; }
.celebration i:nth-child(3) { left: 50%; animation-delay: -2.5s; }
.celebration i:nth-child(4) { left: 72%; animation-delay: -.7s; color: white; }
.celebration i:nth-child(5) { left: 88%; animation-delay: -3.2s; }
@keyframes celebrate { to { transform: translateY(115vh) rotate(540deg); } }

.page--draw {
  padding: calc(var(--safe-top) + 12px) 14px calc(var(--safe-bottom) + 8px);
  background: #9fd5eb url("assets/draw/customer-draw-backdrop.webp") center / 100% 100% no-repeat;
}

.draw-art-safe {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  height: 100%;
  aspect-ratio: 750 / 1624;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.draw-art-safe img {
  position: absolute;
  display: block;
  height: auto;
}

.draw-art__logo { top: 4.2%; left: 5.2%; width: 89.6%; }
.draw-art__product { top: 73.71%; left: 4.27%; width: 37.6%; }
.draw-art__slogan { top: 80.23%; left: 42.4%; width: 52.93%; }

.draw-header,
.draw-chances,
.wheel-wrap,
.share-entry,
.draw-note {
  position: relative;
  z-index: 1;
}

.draw-header { display: flex; align-items: center; justify-content: space-between; }

.draw-header__right { display: flex; align-items: center; gap: 10px; }
.page--draw .icon-btn {
  border-color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.64);
  box-shadow: 0 8px 24px rgba(39,88,59,.13);
  color: var(--green-700);
}

.draw-chances {
  position: absolute;
  top: 22.5%;
  left: clamp(5px, 2.7vw, 18px);
  display: flex;
  width: 44px;
  min-height: 94px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  margin: 0;
  padding: 7px 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 6px 18px rgba(37,88,59,.12);
  font-size: 11px;
  line-height: 1;
  text-align: center;
}
.draw-chances span:first-child {
  letter-spacing: .08em;
  line-height: 1.05;
  writing-mode: vertical-rl;
}
.draw-chances strong { color: #c88d2e; font-size: 19px; line-height: 1.05; }

.wheel-wrap {
  --wheel-size: min(88vw, 40vh, 540px);
  position: relative;
  width: var(--wheel-size);
  aspect-ratio: 1;
  margin: calc(20.5vh - var(--safe-top) - 44px) auto 0;
}

.wheel {
  position: absolute;
  inset: 0;
  border: 13px solid #f7f0c4;
  border-radius: 50%;
  background: conic-gradient(
    #4e8551 0 45deg,
    #f6e29a 45deg 90deg,
    #70a962 90deg 135deg,
    #fff3c7 135deg 180deg,
    #4e8551 180deg 225deg,
    #f6e29a 225deg 270deg,
    #70a962 270deg 315deg,
    #fff3c7 315deg 360deg
  );
  box-shadow: inset 0 0 0 7px #356c42, inset 0 0 30px rgba(255,255,255,.14), 0 20px 42px rgba(28,72,42,.3);
  transition: transform 3.6s cubic-bezier(.12,.67,.08,1);
}

.wheel::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 30%;
  height: 30%;
  border-radius: 50%;
  background: #f9f2cf;
  transform: translate(-50%, -50%);
}

.wheel__label {
  --label-radius: calc(var(--wheel-size) * .31);
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: calc(var(--wheel-size) * .23);
  min-height: 28px;
  place-items: center;
  color: white;
  font-size: clamp(8px, calc(var(--wheel-size) * .037), 15.5px);
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,.22);
}
.wheel__label--light { color: #35633c; text-shadow: 0 1px 0 rgba(255,255,255,.42); }
.wheel__label--1 { transform: translate(-50%, -50%) rotate(22.5deg) translateY(calc(var(--label-radius) * -1)) rotate(-22.5deg); }
.wheel__label--2 { transform: translate(-50%, -50%) rotate(67.5deg) translateY(calc(var(--label-radius) * -1)) rotate(-67.5deg); }
.wheel__label--3 { transform: translate(-50%, -50%) rotate(112.5deg) translateY(calc(var(--label-radius) * -1)) rotate(-112.5deg); }
.wheel__label--4 { transform: translate(-50%, -50%) rotate(157.5deg) translateY(calc(var(--label-radius) * -1)) rotate(-157.5deg); }
.wheel__label--5 { transform: translate(-50%, -50%) rotate(202.5deg) translateY(calc(var(--label-radius) * -1)) rotate(-202.5deg); }
.wheel__label--6 { transform: translate(-50%, -50%) rotate(247.5deg) translateY(calc(var(--label-radius) * -1)) rotate(-247.5deg); }
.wheel__label--7 { transform: translate(-50%, -50%) rotate(292.5deg) translateY(calc(var(--label-radius) * -1)) rotate(-292.5deg); }
.wheel__label--8 { transform: translate(-50%, -50%) rotate(337.5deg) translateY(calc(var(--label-radius) * -1)) rotate(-337.5deg); }

.wheel__label--prize {
  gap: 0;
  color: #fff8d0;
  font-size: clamp(7px, calc(var(--wheel-size) * .032), 12.5px);
  text-shadow: 0 1px 2px rgba(0,0,0,.26);
}
.wheel__label--prize img {
  display: block;
  width: clamp(28px, calc(var(--wheel-size) * .13), 52px);
  height: clamp(28px, calc(var(--wheel-size) * .13), 52px);
  object-fit: contain;
  filter: drop-shadow(0 2px 2px rgba(27,69,39,.2));
}
.wheel__label--prize strong { font: inherit; font-weight: 900; }

.wheel-pointer {
  position: absolute;
  z-index: 7;
  top: -10px;
  left: 50%;
  width: 0;
  height: 0;
  border-right: 18px solid transparent;
  border-left: 18px solid transparent;
  border-top: 44px solid #d08d39;
  filter: drop-shadow(0 5px 4px rgba(0,0,0,.16));
  transform: translateX(-50%);
}

.wheel-button {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  display: grid;
  width: 25%;
  min-width: 82px;
  aspect-ratio: 1;
  place-items: center;
  border: 7px solid #fff4c8;
  border-radius: 50%;
  background: linear-gradient(#d5a34b, #aa712a);
  box-shadow: 0 8px 15px rgba(45,77,42,.3);
  color: white;
  font-weight: 900;
  line-height: 1.05;
  transform: translate(-50%, -50%);
}
.wheel-button:disabled { opacity: .65; }

.wheel-wrap.is-spinning .wheel-pointer { animation: pointer-tick .16s ease-in-out infinite alternate; }
.wheel-wrap.is-spinning .wheel-button { filter: saturate(.65); box-shadow: 0 5px 12px rgba(45,77,42,.22); }

@keyframes pointer-tick {
  from { transform: translateX(-50%) rotate(-5deg); }
  to { transform: translateX(-50%) rotate(5deg); }
}

.share-entry {
  display: flex;
  width: min(90%, 500px);
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  margin: 6px auto 0;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 17px;
  background: rgba(255,255,255,.64);
  box-shadow: 0 8px 24px rgba(39,88,59,.13);
  text-align: left;
}
.share-entry span { font-size: 11px; }
.share-entry b { color: var(--green-700); font-size: 11px; }
.draw-note { margin: 5px 0 0; color: rgba(22,53,41,.65); font-size: 8px; text-align: center; }

.page--share {
  overflow: hidden;
  padding: calc(var(--safe-top) + 8px) 16px calc(var(--safe-bottom) + 12px);
  background:
    radial-gradient(circle at 15% 14%, rgba(255,255,255,.7) 0 3px, transparent 4px),
    linear-gradient(160deg, #e9f6dc, #b9db97 62%, #8fc274);
}

.page--share.is-active {
  display: flex;
  flex-direction: column;
}

.share-page__header {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  text-align: center;
}

.share-page__header p {
  margin: 0;
  color: var(--green-700);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .16em;
}

.share-page__header h2 {
  margin: 1px 0 0;
  color: var(--green-950);
  font-family: var(--font-title);
  font-size: clamp(24px, 6.5vw, 34px);
}

.share-page__body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  align-items: center;
}

.share-page__intro {
  flex: 0 0 auto;
  max-width: 420px;
  margin: 8px auto 7px;
  color: #48634d;
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

.share-poster-frame {
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  align-items: center;
  justify-content: center;
}

.share-poster-image {
  display: block;
  width: auto;
  max-width: min(82vw, 430px);
  height: 100%;
  max-height: 100%;
  border: 5px solid rgba(255,255,255,.9);
  border-radius: 18px;
  background: white;
  box-shadow: 0 14px 35px rgba(28,75,43,.24);
  object-fit: contain;
  -webkit-touch-callout: default;
  user-select: auto;
}

.share-page__save-tip {
  flex: 0 0 auto;
  margin: 7px 0 8px;
  color: #36583e;
  font-size: 11px;
  font-weight: 800;
}

.share-link-box {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  gap: 8px;
  width: min(90%, 520px);
  margin: 10px auto 2px;
}

.share-link-box input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px;
  border: 1px solid #c7d6bb;
  border-radius: 12px;
  background: #fff;
  color: #315f43;
  font-size: 13px;
}

.share-link-box .primary-btn {
  flex: 0 0 auto;
  min-width: 96px;
  min-height: 46px;
  padding: 10px 16px;
  box-shadow: 0 6px 0 #173f2c;
}

.share-page__body > .primary-btn {
  flex: 0 0 auto;
  min-height: 50px;
}

.page--form {
  overflow-y: auto;
  padding: calc(var(--safe-top) + 10px) 18px calc(var(--safe-bottom) + 24px);
  background: linear-gradient(160deg, #eef7dd, #cadfab);
}

.form-header { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; }
.form-header img { display: block; width: min(55vw, 260px); margin: auto; filter: saturate(.85) brightness(.82); }

.form-card {
  position: relative;
  max-width: 560px;
  margin: 38px auto 0;
  padding: 44px clamp(20px, 5vw, 40px) 28px;
  border-radius: 32px;
  background: rgba(255,254,246,.94);
  box-shadow: var(--shadow);
  text-align: center;
}

.ticket-badge {
  position: absolute;
  top: -21px;
  left: 50%;
  padding: 10px 28px;
  border-radius: 999px;
  background: var(--green-700);
  box-shadow: 0 7px 18px rgba(23,63,44,.24);
  color: white;
  font-size: 13px;
  font-weight: 800;
  transform: translateX(-50%);
}

.form-card h2 { margin: 0; color: var(--green-800); font-family: var(--font-title); font-size: 31px; }
.form-intro { margin: 8px 0 24px; color: #6c806f; font-size: 12px; }

#winnerForm label:not(.agreement) { display: block; margin-bottom: 16px; text-align: left; }
#winnerForm label > span { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
#winnerForm input:not([type="checkbox"]) {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: 1px solid #d5dfc8;
  border-radius: 13px;
  background: #f8faef;
  color: var(--ink);
  font-size: 15px;
}
#winnerForm input.has-error { border-color: #cf5959; background: #fff6f3; }
#winnerForm input[readonly] { border-color: #c8d6bd; background: #edf3e5; color: #4e6553; }
.field-error { display: block; min-height: 17px; margin-top: 3px; color: #bf4c4c; font-size: 10px; font-style: normal; }

.agreement {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  align-items: start;
  margin: 8px 0 25px;
  color: #657366;
  font-size: 11px;
  line-height: 1.5;
  text-align: left;
}
.agreement input { position: absolute; opacity: 0; }
.agreement i { width: 19px; height: 19px; border: 1px solid #9eb393; border-radius: 5px; background: white; }
.agreement input:checked + i { background: var(--green-700); box-shadow: inset 0 0 0 4px white; }

.redeem-info {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px dashed #bdcda9;
  color: #61705f;
  text-align: left;
}
.redeem-info h3 { margin: 0 0 10px; color: var(--green-800); font-size: 15px; }
.redeem-info p { position: relative; margin: 5px 0; padding-left: 13px; font-size: 11px; line-height: 1.5; }
.redeem-info p::before { content: ""; position: absolute; top: 7px; left: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--green-500); }

.modal {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.is-open { display: flex; animation: modal-in .25s ease both; }
.modal.is-open .modal__panel { animation: modal-panel-in .32s cubic-bezier(.2,.8,.2,1.12) both; }
@keyframes modal-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-panel-in { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }

.modal__mask { position: absolute; inset: 0; background: rgba(12,41,28,.68); backdrop-filter: blur(5px); }

.modal__panel {
  position: relative;
  z-index: 2;
  width: min(90vw, 520px);
  padding: 35px 24px 27px;
  border: 2px solid rgba(255,255,255,.85);
  border-radius: 30px;
  background: #fffdf3;
  box-shadow: 0 24px 65px rgba(12,41,28,.42);
  text-align: center;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 23px;
}

.modal__panel h2 { margin: 0 0 14px; color: var(--green-800); font-family: var(--font-title); font-size: 29px; }

.modal__panel--rules { max-height: 82vh; padding-right: 18px; text-align: left; }
.modal__panel--rules h2 { text-align: center; }
.rules-list { max-height: calc(82vh - 105px); margin: 0; padding: 0 12px 0 25px; overflow-y: auto; overscroll-behavior: contain; }
.rules-list li { margin-bottom: 12px; color: #435a49; font-size: 12px; line-height: 1.65; }

.rules-brand {
  margin: 0 0 10px;
  color: var(--green-800);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.rules-list--plain { list-style: none; padding-left: 12px; }
.rules-list li p { margin: 4px 0 0; }

.rules-table {
  width: 100%;
  margin: 8px 0 6px;
  border-collapse: collapse;
  font-size: 12px;
}

.rules-table th,
.rules-table td {
  padding: 6px 8px;
  border: 1px solid #d7e2cf;
  text-align: left;
}

.rules-table th {
  background: #eef5e6;
  color: #2a5a3a;
  font-weight: 800;
}


.rules-note {
  display: block;
  margin-top: 6px;
  color: #6f7f6c;
  font-size: 11px;
  line-height: 1.55;
}

.is-hidden { display: none !important; }

.share-icon {
  display: grid;
  width: 75px;
  height: 75px;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 38px;
}

.result-icon {
  display: block;
  margin: 0;
  background: transparent;
  color: var(--green-700);
  font-size: 38px;
}

.result-icon img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
}

.result-icon[data-variant="lose"] {
  padding: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #f2f9e6, #e3f0cf);
  box-shadow: 0 6px 16px rgba(31, 74, 42, .12);
}

.result-icon[data-variant="lose"] img {
  filter: drop-shadow(0 2px 4px rgba(31, 74, 42, .35));
}

.result-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 4px 0 14px;
}

.result-prize-tag {
  align-self: center;
  width: fit-content;
  margin: 0;
  padding: 3px 12px;
  border-radius: 999px;
  background: #eef5d9;
  color: #2f6b3f;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.modal__panel--share p { margin: 0 0 8px; }
.modal__panel--share small { display: block; margin-bottom: 25px; color: #7b897c; }

.modal--share-guide {
  z-index: 2500;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  background: rgba(7,27,17,.86);
  backdrop-filter: blur(4px);
}

.share-guide__prompt {
  position: absolute;
  top: calc(var(--safe-top) + 10px);
  right: 18px;
  width: min(78vw, 360px);
  padding: 14px 20px 18px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 24px 6px 24px 24px;
  background: rgba(255,255,255,.12);
  color: white;
  text-align: right;
}

.share-guide__arrow {
  position: absolute;
  top: -4px;
  right: 10px;
  font-size: 54px;
  line-height: 1;
  transform: translateY(-65%);
  animation: share-arrow 1s ease-in-out infinite alternate;
}

@keyframes share-arrow {
  from { transform: translate(-6px, -58%) scale(.94); opacity: .72; }
  to { transform: translate(4px, -72%) scale(1.06); opacity: 1; }
}

.share-guide__prompt h2 {
  margin: 0 0 5px;
  font-family: var(--font-title);
  font-size: clamp(25px, 7vw, 36px);
}

.share-guide__prompt p {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
}

.share-guide__prompt small {
  display: block;
  margin-top: 12px;
  color: rgba(255,255,255,.7);
  font-size: 10px;
  line-height: 1.55;
}

.share-guide__actions {
  position: absolute;
  right: 24px;
  bottom: calc(var(--safe-bottom) + 22px);
  left: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
}

.share-guide__actions .primary-btn,
.share-guide__actions .outline-btn {
  width: min(82vw, 380px);
}

.modal__panel--result h2 { font-size: 34px; }
.modal__panel--result > p:not(.eyebrow) { margin: 0 0 20px; color: #536a59; line-height: 1.7; }

.modal__panel--submit > p:not(.eyebrow) { margin: 0 auto 9px; max-width: 340px; color: #536a59; font-size: 13px; line-height: 1.7; }
.modal__panel--submit > small { display: block; margin: 0 0 24px; color: #7b897c; font-size: 10px; line-height: 1.6; }
.submit-mail-actions { display: grid; gap: 12px; justify-items: center; }
.submit-mail-actions .primary-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.mail-copy-btn { min-width: 210px; min-height: 46px; padding: 10px 24px; border: 1px solid #4b8158; border-radius: 999px; background: #f7faed; color: var(--green-800); font-weight: 800; }
.submit-status-icon { display: grid; width: 76px; height: 76px; place-items: center; margin: 0 auto 17px; border: 7px solid white; border-radius: 50%; background: var(--green-700); box-shadow: 0 10px 24px rgba(22,63,42,.22); color: white; font-size: 35px; font-weight: 900; }

.ticket-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0 0 25px;
  padding: 21px 14px;
  border: 2px dashed #65935c;
  border-radius: 17px;
  background: #edf4d7;
  color: var(--green-800);
}
.ticket-preview[hidden] { display: none; }
.ticket-preview::before,
.ticket-preview::after { content: ""; position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: #fffdf3; transform: translateY(-50%); }
.ticket-preview::before { left: -12px; }
.ticket-preview::after { right: -12px; }
.ticket-preview small { color: #b58131; font-weight: 800; }
.ticket-preview b { font-family: var(--font-title); font-size: 22px; }
.ticket-preview span { font-size: 11px; }

.modal--guide {
  z-index: 2150;
  flex-direction: column;
  background: rgba(12,41,28,.8);
  color: white;
  text-align: center;
}
.modal--guide h2 { max-width: min(88vw, 520px); margin: 22px 0 8px; font-size: clamp(22px, 6.2vw, 31px); line-height: 1.35; }
.modal--guide p { max-width: min(90vw, 560px); margin: 0 0 26px; padding: 0 10px; font-size: clamp(12px, 3.4vw, 15px); line-height: 1.7; opacity: .82; }
.guide-gesture { display: grid; width: 110px; height: 110px; place-items: center; }
.guide-gesture span { font-size: 66px; line-height: 1; filter: drop-shadow(0 8px 12px rgba(0,0,0,.25)); animation: guide-hand 1.35s ease-in-out infinite; }
@keyframes guide-hand { 0%,100% { transform: translateY(8px) scale(.96); } 50% { transform: translateY(-6px) scale(1.05); } }

.toast {
  position: fixed;
  z-index: 2300;
  right: 20px;
  bottom: calc(var(--safe-bottom) + 30px);
  left: 20px;
  max-width: 420px;
  margin: auto;
  padding: 13px 18px;
  border-radius: 999px;
  background: rgba(19,55,36,.93);
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  color: white;
  font-size: 13px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }

.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;
}

@media (min-width: 750px) {
  body { background: linear-gradient(135deg, #cfdfbd, #eff5e5); }
}

@media (max-aspect-ratio: 750 / 1624) {
  .draw-art-safe {
    width: 100%;
    height: auto;
  }
}

@media (max-height: 670px) {
  .brand-lockup { padding-top: var(--safe-top); }
  .brand-lockup img { width: min(58vw, 290px); }
  .home__campaign { gap: 6px; padding: 25px 14px max(8px, env(safe-area-inset-bottom)); }
  .home__campaign-desc { margin-top: 5px; line-height: 1.4; }
  .home__route { min-height: 39px; padding-block: 4px; }
  .home__route span i { width: 21px; height: 21px; }
  .home__benefit { min-height: 59px; padding-block: 3px; }
  .home__benefit:first-child img { height: 58px; }
  .home__benefit:last-child img { height: 46px; }
  .home__prize-note { min-height: 28px; padding-block: 3px; }
  .home__campaign .primary-btn { min-height: 45px; }
  .home__campaign .text-btn { margin-top: 2px; padding-block: 2px; }
  .home__vertical-panel { padding: 7px 18px max(8px, env(safe-area-inset-bottom)); }
  .home__vertical-panel p { margin-bottom: 5px; }
  .home__vertical-panel .primary-btn { min-height: 45px; }
  .home__vertical-panel .text-btn { margin-top: 2px; padding-block: 2px; }
  .home__hero { padding-top: 10px; }
  .home__hero h1 { font-size: 49px; }
  .home__subtitle { margin-top: 8px; line-height: 1.45; }
  .hero-bottle { width: 84px; height: 142px; margin-top: 7px; }
  .hero-bottle__cap { left: 24px; width: 37px; }
  .home__actions { bottom: calc(var(--safe-bottom) + 28px); gap: 4px; }
  .primary-btn--large { min-height: 50px; }
  .complete-card { margin-top: 31px; padding-top: 36px; }
  .collection-row { margin: 14px 0; }
  .chance-ticket { margin-bottom: 18px; }
  .share-page__intro { margin-block: 3px 4px; font-size: 10px; }
  .share-page__save-tip { margin-block: 4px; }
  .share-page__body > .primary-btn { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* 拼图互动页 */
.page--puzzle {
  padding: calc(var(--safe-top) + 12px) 16px calc(var(--safe-bottom) + 16px);
  background: linear-gradient(160deg, #eef7dd, #cadfab);
}

.page--puzzle.is-active {
  display: flex;
  flex-direction: column;
}

.puzzle-header {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.puzzle-header__title p {
  margin: 0;
  color: var(--green-700);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
}

.puzzle-header__title h2 {
  margin: 2px 0 0;
  color: var(--green-950);
  font-family: var(--font-title);
  font-size: clamp(18px, 5vw, 26px);
}

.puzzle-stage {
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
  place-items: center;
  padding: 10px 0;
}

.puzzle-board {
  display: grid;
  width: min(84vw, 360px);
  aspect-ratio: 1;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 3px;
  padding: 6px;
  border-radius: 16px;
  background: #fffdf3;
  box-shadow: 0 18px 40px rgba(27, 85, 47, .2);
}

.puzzle-tile {
  padding: 0;
  border: 0;
  border-radius: 7px;
  background-repeat: no-repeat;
  background-size: 300% 300%;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
  -webkit-tap-highlight-color: transparent;
}

.puzzle-tile:active { transform: scale(.97); }

.puzzle-tile.is-selected {
  box-shadow: inset 0 0 0 3px #f2c928;
  transform: scale(.95);
}

.puzzle-tile.is-correct:not(.is-selected) {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
}

.puzzle-tip {
  flex: 0 0 auto;
  margin: 10px 0 0;
  color: #48634d;
  font-size: 12px;
  text-align: center;
}

.puzzle-ref {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 6px auto 2px;
}

.puzzle-ref img {
  width: clamp(92px, 24vw, 132px);
  height: auto;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(27, 85, 47, .16);
}

.puzzle-ref span {
  color: #6c7f6a;
  font-size: 10px;
  font-weight: 700;
}

/* 老虎机抽奖（卡通风格） */
.slot-wrap {
  --slot-h: clamp(96px, 26vw, 140px);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: min(94vw, 560px);
  margin: calc(17vh - var(--safe-top)) auto 0;
}

.slot-machine {
  position: relative;
  width: 100%;
  padding: 12px 16px 14px;
  border-radius: 26px;
  background: linear-gradient(180deg, #d6e6fb 0%, #aac6ec 55%, #8fb0dd 100%);
  box-shadow: 0 22px 44px rgba(30, 60, 110, .35), inset 0 0 0 6px #eaf2ff, inset 0 0 0 11px #7ea1d4;
  border-bottom: 10px solid #6d8fc4;
}

.slot-title {
  padding: 4px 0 9px;
  color: #fff;
  font-family: var(--font-title);
  font-size: clamp(14px, 4.2vw, 22px);
  font-weight: 900;
  letter-spacing: .14em;
  text-align: center;
  text-shadow: 0 2px 0 #5b7fc0, 0 0 8px rgba(255, 255, 255, .6);
}

.slot-chances {
  position: absolute;
  bottom: 10px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 2px 6px rgba(30, 60, 110, .18);
  color: #2a4b7c;
  font-size: 11px;
  font-weight: 800;
  z-index: 3;
}

.slot-chances strong {
  color: #d08a1e;
  font-size: 15px;
}

.slot-playfield {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.slot-window {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f4e8cc, #e6d3a6);
  box-shadow: inset 0 0 0 4px #f8f1da, inset 0 6px 12px rgba(120, 90, 30, .25);
}

.slot-reel {
  position: relative;
  overflow: hidden;
  height: var(--slot-h);
  border-radius: 10px;
  background: #fffdf3;
  box-shadow: inset 0 0 0 3px #d9c58f;
}

.slot-strip { will-change: transform; }

.slot-cell {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  height: var(--slot-h);
}

.slot-cell img {
  width: 84%;
  height: 84%;
  object-fit: contain;
}

.slot-img {
  width: 84%;
  height: 84%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.slot-badge {
  position: absolute;
  right: 5%;
  bottom: 5%;
  padding: 1px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
  color: #2f6b3f;
  font-size: clamp(9px, 2.4vw, 12px);
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}

.slot-cell--milk {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 6px 4px;
}

.slot-cell--milk .slot-img {
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  align-self: stretch;
}

.slot-cell--milk .slot-badge {
  position: static;
  margin-top: 2px;
  transform: none;
}

.home__benefit-media {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}

.home__benefit-tag {
  padding: 1px 6px;
  border-radius: 8px;
  background: #f2c928;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
  color: #246b3e;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.3;
  white-space: nowrap;
}

.slot-emoji {
  font-size: clamp(40px, 13vw, 66px);
  line-height: 1;
}

.slot-text {
  padding: 0 6px;
  color: #2f6b3f;
  font-size: clamp(13px, 3.8vw, 19px);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.slot-lever {
  position: relative;
  display: flex;
  flex: 0 0 28px;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
}

.slot-lever::before {
  content: "";
  width: 8px;
  height: 78%;
  border-radius: 6px;
  background: linear-gradient(90deg, #7cc168, #cdeeb6, #7cc168);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .18);
}

.slot-lever i {
  position: absolute;
  top: 0;
  left: 50%;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d5f0c2, #6fb85c);
  box-shadow: 0 3px 6px rgba(0, 0, 0, .22);
  transform: translateX(-50%);
}

.slot-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px 0 2px;
}

.slot-controls i {
  width: 26px;
  height: 13px;
  border-radius: 6px;
  background: linear-gradient(180deg, #ffd76b, #f0a63a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.slot-controls i:nth-child(1) { background: linear-gradient(180deg, #cdeeb6, #8fce7a); }
.slot-controls i:nth-child(3) { background: linear-gradient(180deg, #9fe08a, #5aa64a); }

.slot-brand {
  margin-top: 4px;
  color: #2a4b7c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3em;
  text-align: center;
}

.slot-button {
  min-width: 210px;
  min-height: 54px;
  padding: 13px 28px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #b9e6a2, #7cc168);
  box-shadow: 0 8px 0 #4e8f3f, 0 14px 24px rgba(60, 120, 50, .3);
  color: #1f4a2a;
  font-weight: 900;
  letter-spacing: .1em;
  cursor: pointer;
}

.slot-button:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 4px 0 #4e8f3f; }
.slot-button:disabled { opacity: .5; cursor: not-allowed; }

@media (max-height: 680px) {
  .slot-wrap {
    --slot-h: clamp(84px, 25vw, 120px);
    gap: 12px;
    margin-top: calc(11vh - var(--safe-top));
  }
}


