:root { --game-ink:#f3f6ff; --game-muted:#a5b6cf; --game-blue:#81baff; --game-gold:#ffd68a; }
html, body { overflow:hidden; }
.gift-game, .game-nav { font-family:"Microsoft YaHei","PingFang SC",sans-serif; color:var(--game-ink); }
.gift-game *, .game-nav * { box-sizing:border-box; }
.gift-game [hidden], .game-nav[hidden] { display:none !important; }
.gift-game button, .gift-game select, .game-nav button { font:inherit; }
.gift-game button, .game-nav button { cursor:pointer; }
.gift-game button:focus-visible, .gift-game select:focus-visible, .gift-game summary:focus-visible, .game-nav button:focus-visible { outline:3px solid var(--game-gold); outline-offset:5px; }
.gift-game button:disabled { cursor:wait; opacity:.65; }
.game-nav { position:fixed; z-index:31000; top:0; left:0; right:0; display:flex; align-items:center; justify-content:space-between; padding:20px 30px; gap:12px; pointer-events:none; }
.game-brand { font-size:15px; letter-spacing:.08em; font-weight:700; white-space:nowrap; text-shadow:0 2px 12px #000; overflow:hidden; }
.game-brand--desktop { font-size:14px; letter-spacing:.06em; font-weight:400; color:#b5c2ce; text-shadow:none; }
.brand-slot-sr { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.brand-slot-reels { display:inline-flex; align-items:flex-end; }
.brand-slot-column { display:inline-block; width:1em; height:1.15em; overflow:hidden; }
.brand-slot-track { display:block; }
.brand-slot-cell { display:block; height:1.15em; line-height:1.15em; text-align:center; letter-spacing:0; }
.title-char { display:inline-block; }
body:not([data-game-phase="home"]) .game-brand { display:none !important; }
.game-nav-actions { display:flex; align-items:center; gap:8px; margin-left:auto; pointer-events:auto; }
.game-nav button { color:#e8f1ff; border:1px solid #92b6ec35; border-radius:30px; background:#0b1a30dc; padding:9px 15px; font-size:13px; backdrop-filter:blur(12px); }
.game-nav button:hover { background:#243c60; }
.game-nav button[data-action="sound"] { width:40px; height:40px; padding:0; flex-shrink:0; border:0; border-radius:50%; display:grid; place-items:center; background:transparent; backdrop-filter:none; }
.game-nav button[data-action="sound"]:hover { background:#92b6ec16; }
.game-nav button[data-action="sound"][aria-pressed="false"] { color:#93a7c2; }
.game-nav button[data-action="sound"] svg { display:block; }
.game-home { position:fixed; z-index:30000; inset:0; display:grid; align-content:center; justify-items:center; overflow:auto; padding:90px 24px 30px; background:radial-gradient(ellipse at 50% 20%,#18335c6b,transparent 65%),#020713b5; backdrop-filter:blur(9px); }
.game-home h1 { font-size:clamp(26px,3.5vw,44px); font-weight:650; letter-spacing:.04em; margin:0; }
.game-home--illustrated h1 { font-size:24px; font-weight:400; line-height:1.6; letter-spacing:.12em; color:#bbcbd7; margin:0 0 28px; text-align:center; text-wrap:balance; transform:translateY(-24px); }
.game-home-intro { margin:14px 0 32px; color:var(--game-muted); font-size:15px; }
.game-cards { width:min(790px,100%); display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.game-home-notes { display:none; }
.game-choice { text-align:left; padding:27px 30px; color:var(--game-ink); border:1px solid #86b9ff45; border-radius:24px; background:linear-gradient(150deg,#173354df,#091426f5); box-shadow:0 20px 60px #0005; display:flex; flex-direction:column; align-items:flex-start; transition:transform .22s,border-color .22s,box-shadow .22s; overflow:hidden; }
.game-choice:hover { transform:translateY(-5px); border-color:#92bfff; box-shadow:0 24px 60px #0008; }
.game-choice--play { background:linear-gradient(150deg,#353044df,#15162bf5); border-color:#ffcc7960; }
.game-choice--play:hover { border-color:var(--game-gold); }
.game-choice--play { position:relative; isolation:isolate; }
.game-choice-beam { position:absolute; inset:0; padding:2px; border-radius:inherit; pointer-events:none; z-index:1; overflow:hidden; -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); mask-composite:exclude; }
.game-choice-beam::after { content:''; position:absolute; inset:-60%; background:conic-gradient(transparent 0deg 292deg,#ffd68a00 292deg,#ffd68acc 322deg,#fff3d0 332deg,#ffd68acc 342deg,#ffd68a00 352deg,transparent 352deg); animation:game-card-beam 3.6s linear infinite; will-change:transform; }
@keyframes game-card-beam { to { transform:rotate(360deg); } }
.game-choice-tag { font-size:12px; letter-spacing:.15em; color:var(--game-muted); }
.game-card-art { position:relative; width:100%; height:155px; display:grid; place-items:center; margin:12px 0; background:radial-gradient(ellipse,#78acff1c,transparent 65%); }
.game-card-art img { max-width:155px; max-height:150px; object-fit:contain; filter:drop-shadow(0 12px 20px #0009); }
.game-card-art--mystery img { filter:brightness(0) drop-shadow(0 0 2px #bec4db) drop-shadow(0 15px 18px #0009); transform:rotate(-8deg); }
.game-card-art--mystery span { position:absolute; color:var(--game-gold); font:700 66px Georgia,serif; text-shadow:0 0 22px #ffd07860; }
.game-choice strong { font-size:26px; font-weight:650; margin:0 0 12px; }
.game-choice-description { color:#b5c5da; font-size:14px; line-height:1.85; min-height:52px; }
.game-choice-cta { display:flex; justify-content:space-between; width:100%; align-items:center; margin-top:26px; color:#c9e0ff; font-size:14px; }
.game-choice--play .game-choice-cta { color:var(--game-gold); }
.game-reveal { position:fixed; z-index:25000; inset:0; display:grid; place-items:center; align-content:center; justify-items:center; text-align:center; padding:24px; pointer-events:none; }
.game-reveal p { color:var(--game-muted); font-size:15px; margin:16px 0 0; }
.game-reveal button { pointer-events:auto; }
.game-reveal.is-preloading { visibility:hidden; }
.game-reveal-stage { width:min(500px,82vw); height:min(460px,60vh); position:relative; display:grid; place-items:center; perspective:900px; --spark-distance:min(220px,28vw,27vh); }
.game-package3d { position:absolute; inset:0; }
.game-package3d canvas { display:block; width:100%; height:100%; }
.game-reveal-magnet { position:absolute; width:72%; height:82%; object-fit:contain; }
.game-reveal-magnet { opacity:0; transform:rotateY(90deg) scale(.45); filter:drop-shadow(0 18px 20px #0008); }
.game-reveal-rays { position:absolute; width:120%; aspect-ratio:1; border-radius:50%; opacity:0; pointer-events:none; background:repeating-conic-gradient(from 0deg,#ffd68a00 0deg,#ffd68a55 8deg,#ffd68a00 20deg,#8fc7ff00 40deg,#8fc7ff44 50deg,#8fc7ff00 62deg); -webkit-mask:radial-gradient(circle,transparent 24%,#000 34%,transparent 70%); mask:radial-gradient(circle,transparent 24%,#000 34%,transparent 70%); }
.game-reveal-rays.is-on { animation:game-rays-in .8s .3s ease-out both,game-rays-spin 8s .3s linear infinite; }
.game-reveal-ring { position:absolute; left:50%; top:50%; width:52%; aspect-ratio:1; border:3px solid #ffd68a; border-radius:50%; opacity:0; pointer-events:none; box-shadow:0 0 26px #ffd68a80; }
.game-reveal-ring--2 { border-color:#8fc7ff; box-shadow:0 0 26px #8fc7ff80; }
.game-reveal-shadow { position:absolute; left:22%; bottom:6%; width:56%; height:18px; border-radius:50%; opacity:0; pointer-events:none; background:radial-gradient(ellipse,#000c,transparent 70%); filter:blur(2px); }
.game-reveal-sparks { position:absolute; inset:0; pointer-events:none; }
.game-reveal-sparks i { position:absolute; left:50%; top:50%; width:7px; height:7px; margin:-3.5px; opacity:0; border-radius:50%; background:#ffe9b8; box-shadow:0 0 10px #ffd68a; }
@keyframes game-rays-spin { to { transform:rotate(360deg); } }
@keyframes game-rays-in { from { opacity:0; } to { opacity:.55; } }
.game-question { position:fixed; top:50%; left:8px; transform:translateY(-50%); z-index:25000; width:78px; padding:8px 7px; border:1px solid #bdd4ff12; border-radius:16px; background:#09172b28; opacity:.48; transition:width .2s ease,opacity .2s ease,background .2s ease; }
.game-question[data-expanded="true"] { width:164px; padding:12px; background:#0b1b32d6; border-color:#bdd4ff35; opacity:1; backdrop-filter:blur(8px); }
.game-clue-toggle { display:block; width:100%; padding:0; border:0; background:none; border-radius:10px; }
.game-question-image { display:block; width:100%; height:78px; object-fit:contain; margin:0; filter:drop-shadow(0 5px 7px #0006); transition:height .2s ease; }
.game-question[data-expanded="true"] .game-question-image { height:146px; }
.game-dock-details { text-align:center; }
.game-question h2 { font-size:16px; margin:13px 0 7px; }
.game-clue { margin:0; color:#afc0d7; font-size:12px; line-height:1.6; }
.game-attempts { display:flex; justify-content:center; align-items:center; gap:6px; margin:10px 0 3px; }
.game-chance { width:7px; height:7px; border-radius:50%; background:var(--game-gold); }
.game-chance.used { background:#42506a; }
.game-feedback { font-size:11px; line-height:1.6; margin:8px -2px 0; color:#ffbcaa; text-align:center; }
.game-feedback:empty { display:none; }
.game-hint { font-size:12px; line-height:1.6; color:var(--game-gold); margin:10px 0 0; }
.game-name-picker { margin-top:12px; font-size:12px; color:#b7cae6; }
.game-name-picker summary { cursor:pointer; }
.game-name-picker form { display:grid; gap:6px; margin-top:9px; }
.game-name-picker select { min-width:0; width:100%; color:white; background:#132740; border:1px solid #728cb580; border-radius:7px; padding:7px 4px; }
.game-name-picker button { border:0; color:#081a2d; background:#a3cdff; border-radius:7px; padding:7px; }
.game-result { position:fixed; z-index:25000; bottom:20px; left:12px; width:288px; padding:20px; text-align:left; background:linear-gradient(160deg,#132a49f2,#0b1930f7); border:2px solid #b2d3ff45; border-radius:22px; box-shadow:6px 6px 0 #00000059,0 18px 44px #0007; backdrop-filter:blur(8px); }
.game-result[data-outcome="won"] { border-color:#ffd68a99; background:linear-gradient(160deg,#3a2f1cf2,#1a1424f7); }
.game-result::before { content:'☁'; position:absolute; right:-10px; top:-14px; width:44px; height:44px; display:grid; place-items:center; border-radius:50%; border:2px solid #a9c4ee; background:#202d46; color:#a9c4ee; font-size:20px; box-shadow:3px 3px 0 #00000059; transform:rotate(-8deg); animation:game-badge-pop .5s cubic-bezier(.34,1.56,.64,1) both; }
.game-result[data-outcome="won"]::before { content:'★'; color:#ffd68a; border-color:#ffd68a; background:#2a2035; }
.game-result-symbol { display:none; }
.game-result h2 { font-size:25px; margin:0 0 8px; letter-spacing:.02em; }
.game-result p { font-size:15px; line-height:1.7; color:#c3d2e6; margin:0; }
.game-result-actions { display:flex; gap:9px; margin-top:15px; flex-wrap:wrap; }
.game-result .game-button { padding:10px 13px; font-size:15px; border-radius:14px; }
@keyframes game-badge-pop { from { opacity:0; transform:rotate(-140deg) scale(.4); } to { opacity:1; transform:rotate(-8deg) scale(1); } }
.game-button { padding:11px 20px; border:1px solid #92b6ec50; border-radius:12px; background:#172b46; color:#eaf2ff; font-size:14px; }
.game-button--primary { background:var(--game-gold); color:#2c210f; border-color:var(--game-gold); font-weight:650; }
.game-button:hover { filter:brightness(1.1); }
.game-reward-status { position:fixed; z-index:25000; bottom:20px; left:12px; padding:9px 12px; border-radius:12px; background:#09172b99; color:var(--game-gold); font-size:12px; max-width:230px; pointer-events:none; }
body[data-game-phase="home"] .map-gift-reveal, body[data-game-phase="home"] #ganzhou-gift,
body[data-game-phase="drawing"] .map-gift-reveal, body[data-game-phase="drawing"] #ganzhou-gift,
body[data-game-phase="guessing"] .map-gift-reveal, body[data-game-phase="guessing"] #ganzhou-gift,
body[data-game-phase="lost"] .map-gift-reveal, body[data-game-phase="lost"] #ganzhou-gift { display:none !important; }
body[data-game-phase="reward"] .map-gift-reveal:not([data-game-reward="true"]),
body[data-game-phase="reward"] #ganzhou-gift { display:none !important; }
body[data-game-phase]:not([data-game-phase="explore"]) .ganzhou-sky-controls,
body[data-game-phase]:not([data-game-phase="explore"]) #ganzhou-star-collection,
body[data-game-phase]:not([data-game-phase="explore"]) .ganzhou-star-effects { display:none !important; }
body[data-game-phase]:not([data-game-phase="explore"]) .ganzhou-overview { display:none !important; }
body[data-game-phase="reward"] .map-gift-reveal[data-game-reward="true"][data-surface-visible="true"] { visibility:visible !important; }
.game-drag-hint { position:fixed; z-index:26000; left:50%; transform:translateX(-50%); bottom:calc(24px + env(safe-area-inset-bottom)); margin:0; padding:10px 18px; border-radius:999px; background:#0b1a30dc; border:1px solid #92b6ec35; color:#dbe9ff; font-size:13px; letter-spacing:.04em; white-space:nowrap; backdrop-filter:blur(12px); opacity:0; pointer-events:none; transition:opacity .4s ease; }
.game-drag-hint.is-visible { opacity:1; }
body[data-globe-intro="preparing"] #globeViz canvas { visibility:hidden !important; }
body:is([data-globe-intro="preparing"],[data-globe-intro="playing"]) .globe-intro-ui { opacity:0 !important; visibility:hidden !important; pointer-events:none !important; animation:none !important; }
body:is([data-globe-intro="preparing"],[data-globe-intro="playing"]) :is(.map-gift-reveal,#ganzhou-gift,.capital-marker) { opacity:var(--globe-intro-gifts,0) !important; pointer-events:none !important; }
body:is([data-globe-intro="preparing"],[data-globe-intro="playing"]) #globeViz { pointer-events:none; }
body[data-globe-intro="revealing"] .globe-intro-ui { animation:globe-intro-ui-in 1000ms cubic-bezier(.16,1,.3,1) both; }
@keyframes globe-intro-ui-in { from { opacity:0; translate:0 14px; } to { opacity:1; translate:0 0; } }
.game-desktop-guide { position:fixed; z-index:32000; inset:0; color:#fff5dd; pointer-events:none; }
.game-guide-surface { position:absolute; transform:translate(-50%,-50%); }
.game-guide-orbit { display:block; width:100%; height:100%; overflow:visible; filter:drop-shadow(0 2px 3px #000b); }
.game-guide-outline { stroke:#ffe2a4; opacity:.2; stroke-width:.35; }
.game-guide-zoom-arrows { stroke-width:1.6; filter:drop-shadow(0 0 3px #ffc56b88); animation:game-guide-breathe 2.1s ease-in-out infinite; }
.game-guide-drag-arrows { display:none; stroke:#fff1cb; stroke-width:1.5; }
.game-guide-track { stroke-dasharray:2 3; opacity:.85; }
.game-guide-cursor { position:absolute; width:80px; height:94px; transform:translate(-50%,-50%); filter:drop-shadow(0 3px 5px #000b); }
.game-guide-mouse { width:80px; height:100px; overflow:visible; }
.game-guide-mouse-body { fill:#0a213bea; stroke:#fff1cb; }
.game-guide-mouse-divider { stroke:#ffe2a470; stroke-width:1; }
.game-guide-wheel { stroke:#ffcf75; animation:game-guide-wheel 4.2s ease-in-out infinite; }
.game-guide-wheel-arrows { stroke:#ffdf9d; }
.game-guide-left-button { fill:#ffcf75; opacity:0; }
.game-guide-finger { position:absolute; width:47px; height:47px; left:9px; top:22px; fill:#16344b; stroke:#fff1cb; display:none; }
.game-guide-touch-ring { position:absolute; left:50%; top:53%; width:100px; height:100px; border:1px solid #ffdf9d70; border-radius:50%; transform:translate(-50%,-50%); box-shadow:0 0 30px #ffcf7520,inset 0 0 25px #ffcf7515; animation:game-guide-touch 2.1s ease-out infinite; }
.game-guide-copy { position:absolute; transform:translateX(-50%); text-align:center; white-space:nowrap; text-shadow:0 2px 3px #001224,0 0 12px #001224,0 0 28px #001224; }
.game-guide-copy::before { content:''; position:absolute; inset:-20px -40px; z-index:-1; background:radial-gradient(ellipse,#03132299,transparent 70%); }
.game-guide-count { display:block; margin-bottom:10px; color:#ffe3ab; font-size:11px; font-weight:600; letter-spacing:.18em; }
.game-guide-title { display:block; font-size:clamp(19px,2vw,27px); font-weight:600; letter-spacing:.08em; }
.game-guide-footer { position:absolute; transform:translate(-50%,-50%); display:flex; align-items:center; gap:26px; }
.game-guide-steps { display:flex; align-items:center; gap:6px; }
.game-guide-steps i { display:block; width:18px; height:3px; border-radius:3px; background:#b9cee44d; }
.game-desktop-guide[data-step="zoom"] .game-guide-steps i:first-child, .game-desktop-guide[data-step="drag"] .game-guide-steps i:last-child { width:32px; background:#ffdf9d; }
.game-desktop-guide[data-step="drag"] .game-guide-steps i:first-child { background:#a4ebc5; }
.game-desktop-guide[data-step="drag"] .game-guide-zoom-arrows, .game-desktop-guide[data-step="drag"] .game-guide-wheel-arrows { display:none; }
.game-desktop-guide[data-step="drag"] .game-guide-drag-arrows, .game-desktop-guide[data-step="drag"] .game-guide-finger { display:block; }
.game-desktop-guide[data-step="drag"] .game-guide-mouse { transform:translate(30px,-35px) scale(.58); opacity:.9; }
.game-desktop-guide[data-step="drag"] .game-guide-left-button { opacity:1; }
.game-desktop-guide[data-step="drag"] .game-guide-wheel { animation:none; stroke:#102b45; }
.game-desktop-guide[data-done="true"] .game-guide-title { color:#b3f7d0; }
.game-desktop-guide[data-done="true"] .game-guide-title::before { content:'✓ '; }
.game-desktop-guide[data-done="true"] .game-guide-cursor, .game-desktop-guide[data-done="true"] .game-guide-orbit { opacity:.25; transition:opacity .3s; }
.game-guide-skip { pointer-events:auto; border:0; border-bottom:1px solid #c5d7e84d; background:transparent; color:#c5d7e8; font-size:12px !important; padding:9px 3px; text-shadow:0 1px 5px #000; }
.game-guide-skip:hover { color:#fff; border-color:#fff; }
@keyframes game-guide-wheel { 0%,50%,100% { transform:translateY(0); } 20%,30% { transform:translateY(-3px); } 70%,80% { transform:translateY(3px); } }
@keyframes game-guide-breathe { 0%,100% { opacity:.45; } 50% { opacity:1; } }
@keyframes game-guide-touch { 0% { opacity:.8; transform:translate(-50%,-50%) scale(.65); } 85%,100% { opacity:0; transform:translate(-50%,-50%) scale(1.25); } }
@media (max-width:767px), (hover:none), (pointer:coarse) { .game-desktop-guide { display:none !important; } }
@media (prefers-reduced-motion:reduce) { .game-desktop-guide, .game-desktop-guide * { animation:none !important; transition:none !important; } }
@media(max-width:650px) {
  .game-nav { padding:15px 16px; }
  .game-brand { font-size:13px; letter-spacing:.04em; }
  .game-brand--desktop { font-size:12px; }
  .game-nav button { font-size:12px; padding:8px 11px; }
  .game-home { padding:82px 18px 24px; }
  .game-home h1 { font-size:26px; text-align:center; text-wrap:balance; }
  .game-home--illustrated h1 { font-size:20px; letter-spacing:.08em; margin-bottom:22px; }
  .game-home-intro { font-size:13px; margin:12px 0 24px; }
  .game-cards { gap:13px; }
  .game-choice { padding:18px 14px; border-radius:19px; min-height:224px; }
  .game-choice strong { font-size:21px; }
  .game-choice-description { display:none; }
  .game-choice-tag { font-size:10px; }
  .game-choice-cta { font-size:12px; margin-top:auto; padding-top:16px; }
  .game-card-art { height:80px; margin:10px 0; }
  .game-card-art img { max-width:77px; max-height:77px; }
  .game-card-art--mystery span { font-size:32px; }
  .game-home-notes { display:grid; gap:7px; width:min(790px,100%); margin-top:16px; color:var(--game-muted); font-size:13px; line-height:1.7; }
  .game-home-notes p { margin:0; }
  .game-home-notes strong { color:#cbd7e8; font-weight:600; }
  .game-question { left:5px; width:62px; padding:6px; border-radius:12px; }
  .game-question-image { height:65px; }
  .game-question[data-expanded="true"] { width:124px; padding:9px; }
  .game-question[data-expanded="true"] .game-question-image { height:114px; }
  .game-reveal-stage { width:min(340px,86vw); height:min(330px,48vh); }
  .game-reveal p { font-size:13px; }
  .game-result { width:min(288px,46vw); left:6px; bottom:14px; padding:14px; border-radius:16px; }
  .game-result h2 { font-size:19px; }
  .game-result p { font-size:13px; }
  .game-result-actions { display:grid; gap:7px; margin-top:11px; }
  .game-result .game-button { padding:10px 7px; font-size:13px; }
  .game-result::before { width:34px; height:34px; right:-7px; top:-11px; font-size:15px; }
  .game-reward-status { max-width:136px; left:6px; padding:8px; }
}
@media(max-width:360px) { .game-choice { padding-left:12px; padding-right:12px; } .game-choice strong { font-size:19px; white-space:nowrap; } .game-card-art img { max-width:63px; } }
@media(max-height:520px) and (min-width:600px) {
  .game-home { padding-top:66px; }
  .game-home h1 { font-size:24px; }
  .game-home--illustrated h1 { font-size:20px; margin-bottom:18px; }
  .game-home-intro { margin:7px 0 14px; }
  .game-choice { padding:16px 22px; position:relative; }
  .game-card-art { position:absolute; width:96px; height:90px; right:16px; top:12px; }
  .game-card-art img { max-width:86px; max-height:85px; }
  .game-choice strong { font-size:23px; margin-top:13px; }
  .game-choice-description { width:70%; font-size:12px; }
  .game-choice-cta { margin-top:9px; }
  .game-reveal-stage { height:58vh; width:min(330px,46vw); }
  .game-question[data-expanded="true"] { max-height:calc(100dvh - 92px); overflow:auto; }
  .game-question[data-expanded="true"] .game-question-image { height:88px; }
  .game-result { bottom:12px; max-height:calc(100dvh - 100px); overflow:auto; }
}
@media(prefers-reduced-motion:reduce) { .game-choice, .game-question, .game-question-image { transition:none; } .game-choice:hover { transform:none; } .game-choice-beam::after, .game-result::before { animation:none; } .game-choice-beam::after { will-change:auto; } .game-choice--play { border-color:#ffd68a; box-shadow:0 20px 60px #0005,0 0 22px #ffd68a59; } .game-reveal-rays,.game-reveal-ring,.game-reveal-sparks,.game-reveal-shadow { display:none; } }

.game-home--illustrated .game-cards { width:min(790px,100%); }
.game-home--illustrated .game-choice { position:relative; display:block; container-type:inline-size; height:393px; min-height:0; padding:0; border:1px solid #59bce077; border-radius:24px; background:#08253c; }
.game-home--illustrated .game-choice--play { border-color:#8799ef99; background:#192b70; }
.game-home--illustrated .game-choice:hover { border-color:#a6e5ff; }
.game-home--illustrated .game-choice--play:hover { border-color:#d3b7ff; }
.game-choice-scene { display:block; width:100%; height:100%; object-fit:cover; pointer-events:none; }
.game-choice-copy { position:absolute; display:block; text-align:left; }
.game-choice--explore .game-choice-copy { left:58%; right:3.5%; top:24%; }
.game-choice--play .game-choice-copy { left:6%; right:5%; top:8.5%; }
.game-home--illustrated .game-choice strong { display:block; margin:0; color:#fff3da; font-size:clamp(20px,9.7cqw,86px); font-weight:800; line-height:1.2; letter-spacing:-.035em; white-space:nowrap; }
.game-home--illustrated .game-choice--play strong { font-size:clamp(26px,10.8cqw,96px); }
.game-home--illustrated .game-choice-description { display:block; width:auto; min-height:0; margin-top:2.5cqw; color:#c4def1; font-size:clamp(12px,4.2cqw,36px); font-weight:500; line-height:1.5; }
.game-home--illustrated .game-choice-cta { position:absolute; display:flex; justify-content:flex-start; gap:2.8cqw; width:auto; margin:0; padding:0; color:#ffda8c; font-size:clamp(13px,4.7cqw,40px); font-weight:700; line-height:1.2; white-space:nowrap; }
.game-choice--explore .game-choice-cta { left:63.5%; top:54%; }
.game-choice--play.game-choice--illustrated .game-choice-cta { left:6%; bottom:5.5%; }
.game-choice-arrow { display:grid; place-items:center; width:clamp(22px,6.6cqw,56px); height:clamp(22px,6.6cqw,56px); border:2px solid currentColor; border-radius:50%; flex:none; }
.game-choice-arrow::after { content:''; width:58%; height:58%; background:currentColor; mask:url('language-ui/icons/arrow-right.svg') center/contain no-repeat; }
@media(max-width:650px) { .game-home--illustrated .game-choice { height:224px; border-radius:19px; } .game-home--illustrated .game-choice strong { font-size:clamp(15px,9.7cqw,22px); } .game-home--illustrated .game-choice--play strong { font-size:clamp(17px,10.8cqw,25px); } .game-home--illustrated .game-choice-description { font-size:clamp(9px,4.2cqw,12px); } .game-home--illustrated .game-choice--explore .game-choice-copy { left:53%; right:4%; top:25%; } .game-home--illustrated .game-choice--explore .game-choice-cta { left:53%; top:61%; } .game-home--illustrated .game-choice-cta { font-size:9px; gap:4px; } .game-home--illustrated .game-choice-arrow { width:16px; height:16px; border-width:1px; } }
@media(max-height:520px) and (min-width:651px) { .game-home--illustrated .game-choice { height:196px; } .game-home--illustrated .game-choice--explore .game-choice-copy { top:10%; } }
.game-home--illustrated .game-choice--crystal { overflow:visible; border:0; background:transparent; box-shadow:none; }
.game-choice--crystal .game-choice-scene { position:absolute; left:-9.35%; top:-6.9%; width:114.75%; height:114.8%; object-fit:fill; }
.game-home--illustrated .game-choice--crystal .game-choice-copy { left:62%; right:2.5%; top:32%; }
.game-home--illustrated .game-choice--crystal strong { font-size:clamp(17px,9.1cqw,80px); }
.game-home--illustrated .game-choice--crystal .game-choice-description { margin-top:2.4cqw; font-size:clamp(10px,3.6cqw,32px); }
.game-home--illustrated .game-choice--crystal .game-choice-cta { left:66%; top:60%; gap:2.3cqw; font-size:clamp(11px,4.5cqw,38px); }
.game-choice--crystal .game-choice-arrow { width:clamp(18px,6cqw,50px); height:clamp(18px,6cqw,50px); }
.game-home--illustrated:has(.game-choice--crystal) .game-choice { height:auto; aspect-ratio:384 / 393; }
@media(max-width:650px) { .game-home--illustrated .game-choice--crystal .game-choice-copy { top:25%; } .game-home--illustrated .game-choice--crystal .game-choice-cta { left:62%; } }
@media(max-height:520px) and (min-width:651px) { .game-home--illustrated:has(.game-choice--crystal) .game-cards { width:410px; } .game-home--illustrated .game-choice--crystal .game-choice-copy { top:25%; } .game-home--illustrated .game-choice--crystal .game-choice-cta { left:62%; } }
@font-face { font-family:EarthHomeRounded; src:url('home-scenes/home-round-400.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:block; }
@font-face { font-family:EarthHomeRounded; src:url('home-scenes/home-round-700.woff2') format('woff2'); font-weight:500 900; font-style:normal; font-display:block; }
.game-home--explore-only { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; overflow-x:hidden; padding:84px 0 max(24px,env(safe-area-inset-bottom)); color:#173e29; background:radial-gradient(ellipse at 80% 14%,#f2f6d360,transparent 50%),#dcebbd; backdrop-filter:none; font-family:EarthHomeRounded,sans-serif; }
.game-mobile-scene { display:flex; flex:none; align-items:center; justify-content:center; width:min(100%,460px); height:clamp(210px,calc(100svh - 374px),470px); pointer-events:none; }
.game-mobile-scene-art { position:relative; width:100%; max-width:min(calc(clamp(210px,100svh - 374px,470px) / 1.2),calc(100% / 1.2)); aspect-ratio:5 / 6; transform:translateX(6.666667%) scale(1.333333); transform-origin:50% 0; }
.game-mobile-garden-art { display:block; width:90%; height:auto; }
.game-mobile-windmill { position:absolute; left:66.03%; top:40.55%; width:18%; aspect-ratio:1; transform:translate(-50%,-50%); }
.game-mobile-windmill img { display:block; width:100%; height:100%; animation:home-windmill-spin .95s linear infinite; }
.game-mobile-gift-closed { display:block; flex:none; width:1em; height:1em; object-fit:contain; }
@keyframes home-windmill-spin { from { transform:rotate(45deg); } to { transform:rotate(405deg); } }
@media(prefers-reduced-motion:reduce) { .game-mobile-windmill img { animation:none; transform:rotate(45deg); } }
.game-mobile-home-copy { flex:none; width:min(100%,460px); padding:36px 24px 0; }
.game-mobile-title-row { display:flex; align-items:center; gap:12px; font-size:clamp(35px,11.8vw,46px); }
.game-home--explore-only h1 { margin:0; font-family:EarthHomeRounded,sans-serif; font-size:inherit; font-weight:700; -webkit-text-stroke:0; line-height:1.3; letter-spacing:.02em; text-align:left; }
.game-home--explore-only .game-home-intro { margin:10px 0 24px; color:#365b40; font-size:clamp(14px,4.6vw,18px); font-weight:400; letter-spacing:.035em; line-height:1.5; text-align:left; }
.game-home--explore-only .game-mobile-start { display:grid; grid-template-columns:36px minmax(0,1fr) 36px; gap:12px; align-items:center; width:100%; min-height:56px; padding:10px 14px; border:0; border-radius:30px; background:#fffbeb; color:#173e29; box-shadow:none; font-size:22px; font-weight:700; -webkit-text-stroke:.2px currentColor; line-height:1.4; touch-action:manipulation; }
.game-mobile-start-label { display:flex; justify-content:space-between; transform:translateX(-16px); }
.game-home--explore-only .game-mobile-start:hover { background:#fffdf4; transform:none; }
.game-mobile-start:active { transform:scale(.985); }
.game-mobile-start .game-choice-arrow { width:36px; height:36px; border:0; background:#173e29; color:#fffbeb; }
.game-mobile-home-credit { display:flex; flex:none; align-items:center; justify-content:center; gap:12px; width:min(100%,460px); margin-top:auto; padding:24px 28px 0; color:#72825b; font-size:11px; font-weight:600; line-height:1.5; white-space:nowrap; }
.game-mobile-home-credit::before, .game-mobile-home-credit::after { content:''; flex:1; height:1px; background:#8fa574; }
body[data-game-phase="home"] .gift-game--mobile .game-nav { max-width:460px; margin-inline:auto; padding:24px; color:#173e29; }
body[data-game-phase="home"] .gift-game--mobile .game-brand { color:#173e29; font-family:EarthHomeRounded,sans-serif; font-size:clamp(19px,5.65vw,22px); font-weight:700; -webkit-text-stroke:.35px currentColor; letter-spacing:0; text-shadow:none; }
body[data-game-phase="home"] .gift-game--mobile .game-nav-actions { gap:8px; }
body[data-game-phase="home"] .gift-game--mobile .game-nav button { min-height:40px; color:#173e29; border:0; background:#fffbeb; box-shadow:none; backdrop-filter:none; }
body[data-game-phase="home"] .gift-game--mobile .language-passport-nav { gap:8px; padding:10px 14px; }
body[data-game-phase="home"] .gift-game--mobile .language-passport-nav>span:last-child { display:none; }
body[data-game-phase="home"] .gift-game--mobile .language-passport-nav::after { content:'我的护照'; font-family:EarthHomeRounded,sans-serif; font-size:14px; font-weight:650; }
body[data-game-phase="home"] .gift-game--mobile button:focus-visible { outline-color:#173e29; }
@media(max-height:650px) { .game-home--explore-only { padding-top:72px; } .game-mobile-home-copy { padding-top:30px; } .game-home--explore-only .game-home-intro { margin-bottom:20px; } .game-mobile-home-credit { padding-top:18px; } body[data-game-phase="home"] .gift-game--mobile .game-nav { padding-block:16px; } }

body.game-mobile-device[data-game-phase="home"] #icp-footer { background:#173e29 !important; border-color:#365b40 !important; color:#fffbeb !important; backdrop-filter:none !important; text-shadow:none !important; }
body.game-mobile-device[data-game-phase="home"] #icp-footer a { color:#fffbeb !important; }

body[data-game-phase="home"] .gift-game--mobile .game-brand::after { content:""; display:inline-block; width:13px; height:18px; margin-left:5px; vertical-align:top; background:linear-gradient(145deg,transparent 35%,#e97845 37% 65%,transparent 67%) 0 0 / 10px 12px no-repeat,linear-gradient(8deg,transparent 35%,#e97845 37% 65%,transparent 67%) 4px 9px / 9px 9px no-repeat; }
