:root {
  color-scheme: light;
  --ink: #153f4a;
  --teal: #0b776e;
  --mint: #ddf2d7;
  --peach: #f7bb97;
  --blue: #dceef1;
  --paper: #f9fcf8;
  --page: #eaf3ef;
  --muted: #5f797b;
  --line: #ceded8;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--page); min-width: 280px; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a, input { outline-offset: 4px; }
:focus-visible { outline: 3px solid var(--teal); }
a { color: inherit; text-decoration: none; }
button { border: 0; background: transparent; }
img { display: block; max-width: 100%; }
svg { display: block; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.mobile-only { display: none; }
.site-header { max-width: 1240px; margin: auto; padding: 26px 38px; display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; gap: 10px; align-items: center; font-size: 22px; font-weight: 850; letter-spacing: 1px; }
.brand-icon { background: var(--ink); border-radius: 14px; width: 44px; height: 44px; display: grid; place-items: center; }
.brand-icon svg { color: var(--paper); width: 32px; height: 38px; }
.brand-en { display: block; font-family: "Avenir Next", sans-serif; font-size: 9px; letter-spacing: 3px; font-weight: 700; margin-top: 1px; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.demo-badge { font-size: 11px; border: 1px solid #a1bbb1; padding: 5px 9px; border-radius: 6px; letter-spacing: 1px; }
.collection-button { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 7px 15px; background: var(--paper); border: 1px solid var(--line); border-radius: 30px; font-size: 13px; font-weight: 600; }
.collection-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.collection-button > span { font-family: "Avenir Next", sans-serif; font-size: 11px; background: var(--mint); padding: 1px 6px; border-radius: 50%; min-width: 18px; text-align: center; }
.main-layout { max-width: 1190px; margin: 26px auto 0; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 62px; padding: 0 38px; }
.intro { padding-bottom: 10px; position: relative; }
.eyebrow { font-size: 12px; display: flex; align-items: center; gap: 8px; letter-spacing: 3px; font-weight: 600; }
.eyebrow > span { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; }
h1 { font-family: "STYuanti-SC-Bold", "Yuanti SC", "PingFang SC", sans-serif; font-size: clamp(44px, 4.8vw, 66px); font-weight: 900; letter-spacing: -2px; line-height: 1.28; margin: 22px 0 20px; }
.goose-word { position: relative; color: var(--teal); }
.goose-word > svg { position: absolute; width: 126%; height: 16px; left: -6%; bottom: -7px; stroke: var(--peach); stroke-width: 6; fill: none; z-index: -1; }
.intro-text { color: var(--muted); font-size: 15px; line-height: 1.9; margin-bottom: 0; }
.intro-art { position: relative; height: 237px; width: 100%; max-width: 375px; margin: 10px 0; }
.pond { position: absolute; width: 85%; height: 80px; background: #cfe3d6; border-radius: 50%; left: 1%; bottom: 24px; transform: rotate(-7deg); }
.hero-goose { color: var(--paper); position: absolute; width: 165px; height: 191px; bottom: 32px; left: 80px; transform: rotate(-9deg); filter: drop-shadow(0 8px 0 #153f4a08); }
.art-caption { font-size: 10px; letter-spacing: 1px; position: absolute; bottom: 14px; left: 50px; transform: rotate(-7deg); }
.art-bubble { position: absolute; right: 56px; top: 38px; background: var(--peach); border: 1px solid #153f4a22; padding: 10px 16px; border-radius: 50% 50% 50% 10%; transform: rotate(12deg); font-weight: 800; font-size: 22px; }
.art-spark { width: 30px; height: 30px; color: var(--teal); position: absolute; left: 36px; top: 60px; transform: rotate(10deg); }
.pond-ripple { width: 40px; height: 11px; border: 2px solid #b3d0be; border-radius: 50%; position: absolute; bottom: 41px; right: 30px; transform: rotate(-12deg); }
.how-to { display: flex; gap: 12px; font-size: 12px; align-items: center; }
.how-to span { white-space: nowrap; }
.how-to i { font-style: normal; color: #93aaa0; }
.text-button { padding: 8px 0; font-size: 12px; min-height: 36px; font-weight: 550; text-underline-offset: 4px; }
.text-button span { display: inline-block; margin-left: 4px; }
.rules-button { color: var(--muted); margin-top: 8px; }
.game-panel { background: var(--paper); border: 1px solid #c4d8cf; padding: 25px 28px 0; border-radius: 26px; box-shadow: 0 8px 0 #d6e5dd; transform: rotate(1deg); }
.game-panel > * { transform: rotate(-1deg); }
.game-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.panel-eyebrow { font-family: "Avenir Next", sans-serif; font-size: 10px; font-weight: 750; letter-spacing: 2px; color: var(--teal); }
h2 { margin: 6px 0 0; font-size: 22px; letter-spacing: -.6px; }
.series-stamp { width: 58px; height: 58px; padding: 11px 4px; border-radius: 50%; text-align: center; background: var(--peach); transform: rotate(13deg); font-size: 16px; line-height: 1.15; border: 1px dashed #153f4a55; flex: 0 0 auto; }
.series-stamp b { font-size: 8px; font-weight: 500; }
.chance-bar { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); margin: 14px 0 18px; padding-bottom: 10px; font-size: 12px; }
.chance-bar > span { display: flex; align-items: center; gap: 5px; }
.chance-bar strong { font-family: "Avenir Next", sans-serif; color: var(--teal); font-size: 20px; padding: 0 3px; }
.chance-dot { width: 5px; height: 5px; background: var(--teal); border-radius: 50%; margin-right: 3px; }
.chance-actions { display: flex; align-items: center; justify-content: flex-end; }
.get-chances { background: var(--peach); border: 1px solid #153f4a20; border-radius: 9px; min-height: 44px; padding: 9px 12px; font-size: 12px; font-weight: 650; }
.round-indicator { font-size: 11px; color: var(--muted); }
.wheel-dialog { max-width: 400px; text-align: center; }
.wheel-dialog h2 { margin: 6px 0 8px; font-size: 25px; }
.wheel-description { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 0 0 22px; }
.wheel-stage { position: relative; width: min(260px, 100%); aspect-ratio: 1; margin: 0 auto 20px; }
.lucky-wheel { position: absolute; inset: 0; border: 8px solid var(--paper); outline: 2px solid var(--teal); border-radius: 50%; background: conic-gradient(var(--mint) 0deg 90deg, var(--peach) 90deg 180deg, var(--mint) 180deg 270deg, var(--peach) 270deg 360deg); transform: rotate(var(--wheel-rotation, 0deg)); box-shadow: 0 5px 0 #b7d2c0; }
.lucky-wheel.is-spinning { transition: transform 2.2s cubic-bezier(.15,.65,.15,1); }
.wheel-label { position: absolute; font-size: 27px; font-weight: 800; white-space: nowrap; line-height: 1; }
.wheel-label-one { top: 25%; left: 75%; transform: translate(-50%,-50%) rotate(45deg); }
.wheel-label-two { top: 75%; left: 75%; transform: translate(-50%,-50%) rotate(135deg); }
.wheel-label-three { top: 75%; left: 25%; transform: translate(-50%,-50%) rotate(225deg); }
.wheel-label-four { top: 25%; left: 25%; transform: translate(-50%,-50%) rotate(315deg); }
.wheel-pointer { position: absolute; top: -13px; left: calc(50% - 13px); z-index: 2; width: 0; height: 0; border-left: 13px solid transparent; border-right: 13px solid transparent; border-top: 30px solid var(--teal); filter: drop-shadow(0 2px 0 #f9fcf8); }
.wheel-center { position: absolute; width: 68px; height: 68px; border-radius: 50%; background: var(--teal); border: 5px solid var(--paper); top: 50%; left: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; color: var(--paper); }
.wheel-center svg { width: 43px; height: 51px; }
.wheel-result { min-height: 23px; margin: 0 0 14px; font-size: 13px; font-weight: 600; color: var(--teal); line-height: 1.8; }
.wheel-limit-note { color: var(--muted); font-size: 10px; line-height: 1.8; margin: 13px 0 0; }
.wheel-dialog button:disabled { cursor: wait; opacity: .6; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mystery-card { display: block; width: 100%; position: relative; padding: 0; aspect-ratio: 3 / 3.9; perspective: 700px; border-radius: 13px; }
.card-inner { display: block; position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.mystery-card.revealed .card-inner { transform: rotateY(180deg); }
.card-face { position: absolute; inset: 0; border-radius: 13px; -webkit-backface-visibility: hidden; backface-visibility: hidden; overflow: hidden; }
.card-back { color: var(--paper); background: var(--teal); border: 1px solid #0c665e; box-shadow: 0 3px 0 #075a52; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.card-back::before { content: ""; position: absolute; inset: 6px; border: 1px solid #ffffff3b; border-radius: 9px; }
.mystery-card:nth-child(3n+2) .card-back { background: var(--ink); border-color: var(--ink); box-shadow: 0 3px 0 #11313b; }
.card-back svg { width: 56%; height: 58%; transform: rotate(-8deg); opacity: .94; }
.card-brand { font-family: "Avenir Next", sans-serif; font-size: 7px; letter-spacing: 2px; font-weight: 650; opacity: .7; margin-bottom: 5px; }
.card-prompt { font-size: 10px; letter-spacing: 2px; }
.card-corner { position: absolute; top: 11px; left: 12px; font-family: "Avenir Next", sans-serif; font-size: 8px; opacity: .65; }
.card-front { transform: rotateY(180deg); background: var(--mint); border: 1px solid #b9d6c6; }
.card-front img { height: 100%; width: 100%; object-fit: contain; }
.card-front .revealed-label { position: absolute; bottom: 5px; left: 5px; right: 5px; border-radius: 6px; background: #f9fcf8ed; padding: 3px 0; font-size: 9px; color: var(--ink); }
.mystery-card:disabled { cursor: default; }
.mystery-card:disabled:not(.revealed) .card-back { opacity: .42; }
.game-status { min-height: 20px; text-align: center; font-size: 12px; margin: 20px 0 15px; line-height: 1.6; color: var(--teal); }
.panel-bottom { border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; padding: 13px 0 15px; color: var(--muted); font-size: 10px; gap: 8px; }
.panel-bottom svg { width: 14px; height: 14px; color: var(--teal); }
.site-footer { max-width: 1190px; padding: 32px 38px 26px; margin: auto; display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; letter-spacing: .5px; }
dialog { color: var(--ink); background: var(--paper); border: 1px solid #b9d1c4; border-radius: 24px; width: calc(100% - 32px); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 24px; box-shadow: 0 24px 80px #0a343342; overscroll-behavior: contain; }
dialog::backdrop { background: #123d48a3; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
html.modal-open { overflow: hidden; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dialog-head h2 { margin-top: 0; }
.dialog-eyebrow { color: var(--teal); font-size: 12px; font-weight: 600; letter-spacing: 2px; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; font-size: 28px; font-weight: 300; line-height: 1; border-radius: 50%; flex: 0 0 auto; background: #e8f0e9; }
.prize-dialog { max-width: 720px; }
.prize-layout { display: grid; grid-template-columns: .95fr 1fr; gap: 27px; padding-top: 12px; }
.prize-card-wrap { display: flex; flex-direction: column; justify-content: center; }
.image-button { padding: 0; display: block; width: 100%; border-radius: 15px; overflow: hidden; }
.image-button img { width: 100%; border-radius: inherit; }
.small-label { font-family: "Avenir Next", sans-serif; font-size: 11px; letter-spacing: 2px; color: var(--teal); }
.prize-details h2 { font-size: 30px; margin: 5px 0 10px; }
.prize-details > p:not(.save-hint) { color: var(--muted); font-size: 13px; margin: 0 0 20px; line-height: 1.7; }
.primary-button, .secondary-button { display: flex; justify-content: center; align-items: center; gap: 14px; min-height: 46px; width: 100%; padding: 12px 16px; border-radius: 12px; font: inherit; font-size: 13px; font-weight: 600; }
.primary-button { background: var(--teal); color: #fff; }
.secondary-button { background: var(--mint); color: var(--ink); }
.emoji-heading { display: flex; justify-content: space-between; align-items: center; margin: 22px 0 10px; }
.emoji-heading h3 { font-size: 12px; margin: 0; }
.emoji-heading span { color: var(--muted); font-size: 10px; }
.prize-emojis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.emoji-item { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.emoji-item .image-button { border-radius: 0; }
.emoji-download { font-size: 11px; display: grid; place-items: center; padding: 8px 4px; min-height: 40px; border-top: 1px solid var(--line); }
.save-hint { font-size: 10px; line-height: 1.7; color: var(--muted); margin: 13px 0; }
.collection-dialog { max-width: 600px; }
.collection-note { font-size: 12px; color: var(--muted); margin: 10px 0 20px; }
.collection-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-bottom: 22px; }
.collection-item { padding: 0; font-size: 12px; text-align: center; }
.collection-item img { border-radius: 10px; width: 100%; margin-bottom: 6px; }
.empty-message { text-align: center; font-size: 13px; color: var(--muted); padding: 30px 0; line-height: 1.8; }
.rules-dialog { max-width: 420px; }
.rules-dialog li, .rules-dialog p { font-size: 13px; line-height: 1.85; }
.rules-dialog ol { padding-left: 22px; margin: 18px 0; }
.rules-dialog li { padding-left: 2px; margin-bottom: 10px; }
.rules-dialog .muted { color: var(--muted); font-size: 11px; margin-bottom: 24px; }
.dialog-actions { display: flex; gap: 10px; margin-top: 22px; }
.image-dialog { max-width: 440px; padding: 12px 12px 20px; text-align: center; }
.image-dialog > .icon-button { margin: 0 0 8px auto; }
.image-dialog > img { max-height: 65vh; max-height: 65dvh; width: 100%; object-fit: contain; border-radius: 12px; -webkit-touch-callout: default; user-select: auto; }
.image-dialog p { font-size: 12px; margin: 14px 0; }
.not-found { max-width: 650px; margin: 18vh auto; padding: 25px; }
.not-found .primary-button { max-width: 200px; margin-top: 24px; }
.noscript { margin: 15px; padding: 15px; background: var(--peach); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .mystery-card:not(:disabled):not(.revealed):hover .card-inner { transform: translateY(-5px) rotate(-2deg); }
  .text-button:hover { text-decoration: underline; }
  .primary-button:hover { background: #08685f; }
}
@media (max-width: 960px) and (min-width: 701px) {
  .main-layout { gap: 28px; padding: 0 28px; }
  .game-panel { padding: 20px 20px 0; }
  h1 { font-size: 46px; }
  .intro-art { transform: scale(.9); transform-origin: left center; }
  .card-grid { gap: 9px; }
  .game-heading h2 { font-size: 19px; }
  .card-prompt { font-size: 9px; }
}
@media (max-width: 700px) {
  .site-header { padding: max(14px, env(safe-area-inset-top)) 20px 10px; }
  .brand { font-size: 19px; gap: 8px; }
  .brand-icon { width: 37px; height: 37px; border-radius: 12px; }
  .brand-icon svg { width: 27px; height: 32px; }
  .brand-en { font-size: 7px; letter-spacing: 2.5px; }
  .header-actions { gap: 9px; }
  .collection-button { padding: 6px 10px; font-size: 12px; min-height: 44px; gap: 5px; }
  .collection-button svg { width: 16px; }
  .demo-badge { font-size: 9px; padding: 4px 6px; }
  .main-layout { display: block; margin: 0 auto; padding: 0 18px; max-width: 500px; }
  .intro { padding: 12px 3px 16px; }
  .desktop-only { display: none; }
  .mobile-only { display: inline; }
  .eyebrow { font-size: 10px; letter-spacing: 2px; }
  h1 { font-size: clamp(35px, 8.8vw, 43px); line-height: 1.24; letter-spacing: -1px; margin: 12px 0 9px; position: relative; z-index: 1; }
  h1 br { display: none; }
  .intro-text { font-size: 11px; margin: 0; line-height: 1.8; max-width: calc(100% - 70px); }
  .intro-text br { display: none; }
  .intro-art { display: none; }
  .hero-goose { width: 65px; height: 76px; left: 4px; bottom: 8px; transform: rotate(6deg); }
  .pond { width: 82px; height: 23px; bottom: 4px; }
  .art-bubble { font-size: 10px; padding: 4px 6px; right: 0; top: 2px; }
  .art-caption, .art-spark, .pond-ripple, .how-to { display: none; }
  .rules-button { position: absolute; right: 3px; bottom: 5px; margin: 0; min-height: 44px; font-size: 11px; padding: 8px 0; }
  .game-panel { transform: none; border-radius: 21px; padding: 18px 17px 0; }
  .game-panel > * { transform: none; }
  .game-heading h2 { font-size: 18px; margin-top: 5px; }
  .panel-eyebrow { font-size: 8px; letter-spacing: 1.7px; }
  .series-stamp { width: 45px; height: 45px; font-size: 13px; padding-top: 7px; }
  .series-stamp b { font-size: 7px; }
  .chance-bar { margin: 8px 0 14px; padding-bottom: 5px; font-size: 11px; }
  .chance-bar strong { font-size: 19px; }
  .chance-bar .text-button { min-height: 44px; font-size: 11px; }
  .get-chances { font-size: 11px; padding: 9px 10px; }
  .card-grid { gap: 10px; }
  .mystery-card { aspect-ratio: 3 / 3.65; }
  .card-face { border-radius: 10px; }
  .card-back::before { inset: 5px; border-radius: 6px; }
  .card-brand { font-size: 6px; letter-spacing: 1.4px; margin-bottom: 3px; }
  .card-prompt { font-size: 9px; letter-spacing: 1px; }
  .card-corner { top: 9px; left: 10px; font-size: 7px; }
  .game-status { font-size: 11px; margin: 17px 0 12px; }
  .panel-bottom { font-size: 9px; padding: 12px 0; }
  .site-footer { display: flex; gap: 8px; text-align: center; align-items: center; flex-direction: column; font-size: 9px; padding: 24px 16px max(24px, env(safe-area-inset-bottom)); }
  dialog { border-radius: 21px; padding: 18px; width: calc(100% - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  .prize-dialog { padding: 14px 18px max(20px, env(safe-area-inset-bottom)); }
  .prize-layout { display: flex; flex-direction: column; gap: 15px; padding-top: 0; }
  .prize-card-wrap { align-items: center; }
  .prize-card-wrap .image-button { width: 174px; }
  .prize-details { text-align: center; }
  .prize-details h2 { font-size: 24px; margin: 3px 0 6px; }
  .prize-details > p:not(.save-hint) { font-size: 12px; margin-bottom: 12px; }
  .emoji-heading { margin: 17px 0 9px; }
  .prize-emojis { max-width: 300px; margin: 0 auto; gap: 12px; }
  .emoji-download { min-height: 44px; }
  .save-hint { font-size: 11px; }
  .icon-button { width: 44px; height: 44px; }
  .wheel-dialog { padding: 14px 20px max(20px, env(safe-area-inset-bottom)); }
  .wheel-dialog h2 { font-size: 23px; }
  .wheel-stage { width: min(248px, 100%); }
  .collection-grid { gap: 9px; }
  .image-dialog { padding: 10px 12px max(18px, env(safe-area-inset-bottom)); }
  .image-dialog > img { max-height: 64vh; max-height: 64dvh; }
  .image-dialog .primary-button { display: none; }
}
@media (max-width: 360px) {
  .site-header { padding-left: 15px; padding-right: 15px; }
  .main-layout { padding: 0 12px; }
  .demo-badge { display: none; }
  h1 { font-size: 34px; }
  .game-panel { padding: 15px 12px 0; }
  .card-grid { gap: 8px; }
}
@media (max-width: 700px) and (max-height: 700px) {
  .intro { padding: 8px 3px 12px; }
  .intro .eyebrow, .intro-text { display: none; }
  h1 { font-size: 30px; margin: 6px 0; }
  .rules-button { bottom: 9px; }
  .game-panel { padding-top: 13px; }
  .chance-bar { margin-top: 4px; margin-bottom: 10px; }
  .mystery-card { aspect-ratio: 3 / 3.5; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.emoji-pending{grid-column:1/-1;font-size:12px;line-height:1.8;background:#eaf1e5;padding:13px 15px;border-radius:12px;color:var(--muted);margin:0}.legacy-collection-title{grid-column:1/-1;font-size:13px;margin:12px 0 0;color:var(--muted)}.collection-item img{aspect-ratio:1;object-fit:contain;background:#e3ece0}.small-label{line-height:1.7}.prize-dialog>.dialog-head{position:sticky;top:-24px;background:var(--paper);z-index:2;padding:6px 0}.card-front img{background:#e6eee1}
