
:root{--ink:#3f5147;--muted:#718071;--paper:#fbf6ea;--accent:#537961;--line:#dfdfcd;--shadow:#e9e5d5}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:"PingFang SC","Microsoft YaHei",system-ui,-apple-system,sans-serif;-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none}button:focus-visible,[role=button]:focus-visible{outline:4px solid #d69c36;outline-offset:4px}button:disabled{cursor:default}svg{display:block}button svg{pointer-events:none}button{border:0}header{max-width:1430px;margin:auto;display:flex;align-items:center;gap:12px;padding:20px 32px 10px}h1{font-size:23px;letter-spacing:.05em;margin:0;font-weight:800}.brand{display:flex;gap:10px;align-items:center;flex:1}.brand svg{width:36px;height:36px}.brand small{display:block;font-size:10px;letter-spacing:.16em;color:#8b998b;margin-top:4px}.tools{display:flex;gap:8px}.iconbtn{background:#eeeee0;border:1px solid #dfdfcd;border-radius:50%;width:48px;height:48px;display:grid;place-items:center}.iconbtn svg{width:24px;height:24px}.iconbtn[aria-pressed=true]{background:#e0dfd0}.game{display:grid;grid-template-columns:210px minmax(0,1fr);gap:28px;align-items:center;max-width:1370px;margin:8px auto;padding:12px 28px 20px}.target-wrap{text-align:center}.eyebrow{font-size:12px;letter-spacing:.16em;color:#75836c;margin:0 0 13px}.target{width:100%;background:#fffcf3;border:2px solid #e3deca;border-radius:30px;padding:12px 10px 16px;transition:transform .2s}.target:active{transform:scale(.97)}.target svg{width:100%;height:auto;max-height:212px}.target .animal-name{font-size:23px;font-weight:800;display:block;margin:0 0 6px}.target .en-name{font-size:16px;letter-spacing:.05em;color:#7f8e7f}.audio-note{font-size:12px;color:#7f8776;display:block;line-height:1.5;margin:15px 0 0}.quest-dot{display:inline-block;width:8px;height:8px;background:#abbb94;border-radius:50%;margin-right:5px}.stage-wrap{min-width:0}.scene-header{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:0 5px 10px}.scene-header h2{font-size:18px;margin:0;letter-spacing:.1em}.scene-header small{font-size:11px;color:#7c8c79;letter-spacing:.1em}.progress{font-size:12px;color:#7c8b78;white-space:nowrap}.stage{position:relative;aspect-ratio:1000/760;width:100%;border-radius:30px;overflow:hidden;isolation:isolate;background:#dbe6d3;box-shadow:0 7px 0 #e5e1d2}.scenery{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.hideout{position:absolute;background:none;padding:0;width:29%;height:35%;transform:translate(-50%,-50%);border-radius:35%;overflow:visible;touch-action:manipulation}.hideout>svg{width:100%;height:100%;overflow:visible}.cover{transition:transform .6s cubic-bezier(.2,.8,.2,1),opacity .55s;transform-origin:0 75px}.friend{opacity:0;transform:translateY(22px);transition:opacity .32s,transform .6s cubic-bezier(.2,.8,.2,1)}.clue{transition:opacity .2s,transform .35s;transform-origin:0 -65px}.opened .cover{transform:translate(0,70px) rotate(-9deg) scale(.83);opacity:.35}.opened .friend{opacity:1;transform:translateY(-14px)}.opened .clue{opacity:0}.hideout:hover .cover{filter:brightness(1.025)}.hideout.winner .friend{animation:hello .7s ease-in-out 2}.found-mark{opacity:0;transition:opacity .4s}.winner .found-mark{opacity:1}.hideout.hinted .clue{animation:clueWiggle .7s ease-in-out 3}.hint-ring{opacity:0}.hinted .hint-ring{opacity:1;animation:hintPulse 1s ease-in-out 3}.hideout:disabled{opacity:1}.bottom{display:flex;align-items:center;min-height:76px;gap:12px;padding:16px 5px 0}.message{flex:1;min-width:0;margin:0;font-size:17px;font-weight:650;line-height:1.5}.message small{display:block;font-size:12px;font-weight:400;color:#77846e;margin-top:2px}.hint{background:#e8e9d8;border:1px solid #d9dec8;border-radius:16px;display:flex;align-items:center;justify-content:center;gap:5px;min-height:48px;min-width:90px;padding:9px 12px;font-size:14px;white-space:nowrap}.hint svg{width:21px;height:21px}.next{background:#537961;color:#fffdf2;min-height:54px;border-radius:18px;font-size:17px;font-weight:700;padding:12px 23px;white-space:nowrap}.next span{margin-left:7px}.footnote{text-align:center;color:#90957e;font-size:11px;letter-spacing:.06em;margin:1px 15px 18px}.confetti{position:absolute;pointer-events:none;inset:0}.petal{position:absolute;width:13px;height:20px;border-radius:50% 50% 40% 40%;animation:fall 1.4s ease-out forwards;opacity:0}.parent-dialog{max-width:900px;width:calc(100% - 28px);max-height:90dvh;background:#fffcf4;border:1px solid #d9dfcf;border-radius:24px;color:var(--ink);padding:0;overflow:auto;box-shadow:0 18px 70px #344a4333}.parent-dialog::backdrop{background:#344a4366}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;background:#fffcf4;z-index:2;border-bottom:1px solid #e3e5d7;padding:16px 24px}.dialog-head h2{margin:0;font-size:21px}.close{background:#eeeee0;min-width:48px;height:48px;border-radius:50%;font-size:25px}.parent-body{padding:8px 26px 28px;font-size:15px;line-height:1.8}.parent-body h3{margin:24px 0 10px;font-size:18px}.parent-body p{margin:9px 0}.parent-body .muted{color:#778571;font-size:13px}.scene-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.scene-card{border:1px solid #dce0cf;border-radius:16px;padding:12px;background:#fbf9f0}.scene-card .preview{width:100%;height:120px;object-fit:cover;border-radius:8px;overflow:hidden}.scene-card strong{display:block;margin:8px 0 5px}.animal-picks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.animal-picks button{background:#efeee1;border-radius:12px;min-height:67px;font-size:11px;padding:4px 1px}.animal-picks svg{width:40px;height:40px;margin:auto}.parent-action{background:#537961;color:white;border-radius:12px;padding:11px 17px;min-height:48px;margin-top:10px}.flow{display:flex;gap:7px;align-items:center;margin:18px 0;flex-wrap:wrap}.flow b{background:#eef0e1;padding:7px 10px;border-radius:8px;font-size:13px}.flow span{color:#879778}.finding{padding:11px 0;border-bottom:1px solid #e4e6d7}.finding b{font-size:14px}.status-ok{color:#3f7157}.status-no{color:#9c6a36}.status-wait{color:#7d718d}.stats{padding:10px 13px;background:#efefe1;border-radius:10px;font-size:13px}.source-note{font-size:12px;color:#7b826e}.touch-note{font-size:12px;color:#788572}.hidden,[hidden]{display:none!important}noscript{display:block;background:#fff1cc;padding:20px}.scene-card button:hover{background:#e0e8d5} @keyframes hello{0%,100%{transform:translateY(-14px) rotate(0)}30%{transform:translateY(-25px) rotate(-5deg)}70%{transform:translateY(-17px) rotate(5deg)}}@keyframes clueWiggle{0%,100%{transform:rotate(0)}35%{transform:rotate(-8deg) scale(1.15)}65%{transform:rotate(8deg) scale(1.15)}}@keyframes hintPulse{0%,100%{opacity:.45}50%{opacity:1}}@keyframes fall{0%{opacity:0;transform:translateY(-30px) rotate(0)}20%{opacity:1}100%{opacity:0;transform:translateY(230px) rotate(230deg)}}
@media(min-width:1000px){.stage-wrap{max-width:min(100%,calc((100dvh - 239px)*1.3158));margin:auto;width:100%}.game{grid-template-columns:210px minmax(0,1fr)}header{padding-top:14px}.target-wrap{padding-bottom:50px}}
@media(max-width:800px){header{padding:13px 18px 4px}h1{font-size:20px}.brand small{font-size:9px}.brand svg{width:29px;height:29px}.tools{gap:6px}.game{display:flex;flex-direction:column;gap:15px;padding:8px 16px 10px;margin:0 auto;max-width:700px}.target-wrap{width:100%;display:flex;align-items:center;gap:10px;text-align:left}.eyebrow{display:none}.target{width:100%;display:grid;grid-template-columns:122px 1fr;grid-template-rows:auto auto auto;align-items:center;text-align:left;column-gap:13px;max-height:145px;padding:4px 15px 4px 6px;border-radius:23px}.target svg{grid-column:1;grid-row:1/4;width:120px;height:126px}.target .animal-name{grid-column:2;font-size:24px;align-self:end;margin:0 0 2px}.target .en-name{grid-column:2;font-size:15px;align-self:start}.audio-note{grid-column:2;font-size:11px;align-self:start;margin:0}.stage-wrap{width:100%}.stage{border-radius:23px}.scene-header{padding:0 3px 8px}.scene-header h2{font-size:16px}.scene-header small{font-size:10px}.bottom{padding-top:15px;min-height:75px}.message{font-size:15px}.next{font-size:15px;min-height:50px;padding:10px 15px}.footnote{margin:7px 10px 18px}.parent-body{padding:8px 18px 24px}}
@media(max-width:420px){header{padding-left:13px;padding-right:13px}.game{padding:8px 10px}.target{grid-template-columns:104px 1fr;gap:7px;padding:2px 11px 2px 3px;max-height:128px}.target svg{width:103px;height:117px}.target .animal-name{font-size:22px}.brand{gap:5px}h1{font-size:18px}.brand small{font-size:8px}.iconbtn{width:44px;height:44px}.stage{border-radius:18px}.hint{min-width:78px;padding:9px;font-size:12px}.scene-grid{grid-template-columns:1fr}.message small{font-size:11px}.progress{font-size:11px}.scene-header small{display:none}}
@media(max-height:520px) and (orientation:landscape){header{padding:6px 14px 0}.brand small{display:none}h1{font-size:16px}.iconbtn{width:44px;height:44px}.game{display:grid;grid-template-columns:135px minmax(0,1fr);gap:14px;padding:0 18px 5px;max-width:1000px}.target-wrap{display:block;padding:0}.target{display:block;padding:5px 4px 10px;max-height:none;text-align:center}.target svg{width:100%;height:132px}.target .animal-name{font-size:17px}.target .en-name{font-size:12px}.audio-note{font-size:10px;margin-top:5px}.stage-wrap{max-width:calc((100dvh - 138px)*1.3158);margin:auto;width:100%}.scene-header{padding-bottom:5px}.scene-header h2{font-size:13px}.scene-header small{display:none}.bottom{min-height:55px;padding-top:9px;gap:7px}.message{font-size:12px}.message small{display:none}.hint{min-height:44px;min-width:44px;padding:7px;font-size:11px}.next{min-height:44px;font-size:12px;padding:8px 12px}.footnote{display:none}.progress{font-size:10px}.scene-grid{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.hinted .hint-ring{opacity:1}}

/* Collection integration: compact shared Home, bilingual labels, twelve-world selector. */
header{gap:14px}.target .animal-name{text-transform:capitalize}.target .en-name{letter-spacing:.02em}.scene-grid{margin-top:20px}.scene-card .preview{height:144px}.animal-picks span{display:block;overflow-wrap:anywhere;text-transform:capitalize;font-size:11px;line-height:1.25}.animal-picks button{min-height:76px}.scene-header h2{letter-spacing:.025em}.next>span:last-child{margin-left:6px}.next>span:first-child{margin-left:0}.brand{min-width:0}.brand h1{white-space:nowrap}.footnote{line-height:1.6}
@media(max-width:420px){header{gap:9px}.brand h1{font-size:17px}.brand small{font-size:8px;letter-spacing:.06em}.tools{gap:5px}.target .animal-name{font-size:22px}.target .en-name{font-size:13px}.audio-note{font-size:10px}.scene-header h2{font-size:16px}.next{font-size:13px;padding:10px 12px}.hint{font-size:12px}.bottom{gap:9px}.message{font-size:14px}}
@media(max-width:350px){header{gap:6px;padding-left:10px;padding-right:10px}.brand h1{font-size:15px}.brand small{font-size:7px}.iconbtn{width:44px;height:44px}.tools{gap:4px}.target .animal-name{font-size:20px}.target .en-name{font-size:12px}.hint span{max-width:60px;white-space:normal}.hint{padding:8px}.next{max-width:126px;white-space:normal}.scene-header h2{font-size:14px}}
@media(max-height:520px) and (orientation:landscape){header{gap:12px}.target .animal-name{font-size:17px}.target .en-name{font-size:11px}.scene-header h2{font-size:12px}.hint span{font-size:11px}.next{font-size:11px;padding:9px}.scene-card .preview{height:120px}}
