@import url('https://fonts.googleapis.com/css2?family=ZCOOL+KuaiLe&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

:root{font-family:'Noto Sans SC','Microsoft YaHei',sans-serif;color:#655f50;background:#e9ece3;font-synthesis:none;font-weight:400;-webkit-font-smoothing:antialiased;font-size:14px;--ink:#655f50;--soft:#aaa48e;--paper:#f7f5ec;--round:'ZCOOL KuaiLe','Microsoft YaHei',sans-serif}
*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button{border:0}button:focus-visible,a:focus-visible,.stage:focus-visible{outline:3px solid #738f78;outline-offset:4px}button:disabled{cursor:default}a{color:inherit;text-decoration:none}svg{display:block}button svg{pointer-events:none}#app{min-height:100svh;padding:26px 16px;display:flex;justify-content:center;align-items:center;position:relative;overflow:hidden}#app::before{content:'';position:fixed;inset:0;pointer-events:none;opacity:.22;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.17' filter='url(%23n)'/%3E%3C/svg%3E");z-index:3}.room{width:430px;max-width:100%;min-height:800px;padding:0 27px;position:relative;background:var(--paper);border-radius:31px;box-shadow:0 16px 60px #67745e12,0 2px 5px #67745e09;overflow:hidden;border:1px solid #ffffff95}.topbar{height:79px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #dedfd14d}.brand{font-family:var(--round);font-size:21px;line-height:1.1;letter-spacing:1px;display:flex;flex-direction:column;gap:5px}.brand span{font-family:'Noto Sans SC',sans-serif;font-size:8px;font-weight:400;letter-spacing:2.4px;color:#aaa58f}.brand-mark{width:34px;height:34px;border:1.7px solid #a3b18f;border-radius:48% 53% 45% 50%;position:relative;transform:rotate(-8deg);background:#e6eadb}.brand-mark i{position:absolute;top:10px;width:2.5px;height:4px;border-radius:50%;background:#829171}.brand-mark i:first-child{left:9px}.brand-mark i:nth-child(2){right:9px}.brand-mark b{position:absolute;left:9px;top:11px;font-size:18px;font-weight:400;line-height:1}.icon-button{padding:8px;width:37px;height:37px;background:transparent;border-radius:50%;display:flex;align-items:center;justify-content:center}.icon-button:hover{background:#e8ebde}.icon-button svg{width:22px;height:22px;stroke:#92977d;fill:#92977d;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.sound-button{margin-left:auto}.home-intro{position:relative;padding:30px 0 27px}.little-note{display:flex;gap:7px;align-items:center;font-size:10px;color:#8d9980;letter-spacing:1.2px}.little-note span{width:5px;height:5px;border-radius:50%;background:#9caa87}.home-intro h1{font-family:var(--round);font-weight:400;line-height:1.4;font-size:37px;letter-spacing:2px;margin:15px 0 12px;color:#5f6554;position:relative;z-index:1}.underlined{position:relative;white-space:nowrap}.underlined:after{content:'';position:absolute;bottom:0;left:2px;right:3px;height:7px;border-radius:43% 52% 40% 48%;background:#e6cf8a80;z-index:-1;transform:rotate(-2deg)}.home-intro p{font-size:11px;letter-spacing:.5px;color:#a19c8a;margin:0}.intro-bunny{position:absolute;width:146px;height:183px;right:-8px;top:40px;transform:rotate(7deg)}.game-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 14px}.game-card{text-align:left;position:relative;padding:0 0 18px;overflow:hidden;border-radius:21px 24px 20px 23px;background:#f0dec7;transition:transform .2s,box-shadow .2s;min-width:0}.game-card:nth-child(2){border-radius:24px 21px 24px 19px}.game-card:nth-child(3){border-radius:22px 19px 22px 24px}.game-card:hover{transform:translateY(-4px) rotate(-1deg);box-shadow:0 8px 17px #8c937d16}.game-card:active{transform:scale(.97)}.game-card.blue{background:#d6e4e7}.game-card.green{background:#e0e7ce}.game-card.yellow{background:#eee8cd}.card-art{display:block;height:143px}.card-art svg{width:100%;height:100%}.card-text{display:flex;flex-direction:column;padding:0 17px;gap:6px}.card-text strong{font-family:var(--round);font-size:19px;letter-spacing:.5px;font-weight:400}.card-text small{font-size:9px;white-space:nowrap;color:#918b78;letter-spacing:.2px}.card-corner{position:absolute;right:14px;top:12px;color:#a29e848c;font-size:16px}.home-footer{text-align:center;padding:28px 0 19px;color:#a1a28c}.tiny-flower{font-size:20px;color:#a9b695;line-height:1}.home-footer p{font-size:10px;letter-spacing:.6px;margin:9px 0 15px}.footer-line{display:block;width:27px;height:2px;border-radius:4px;background:#ced3bf;margin:auto}.desktop-note{position:absolute;top:32%;right:calc(50% + 290px);font-family:var(--round);color:#9aab90;font-size:18px;letter-spacing:3px;transform:rotate(-6deg);line-height:2}.desktop-note span{display:block;white-space:nowrap}.desktop-note svg{width:83px;margin:10px 0 0 78px;fill:none;stroke:#b0baa2;stroke-width:2;stroke-linecap:round}.desktop-stamp{position:absolute;left:calc(50% + 288px);bottom:19%;width:105px;height:105px;border:1.5px solid #b8bda680;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;color:#a0ad91;transform:rotate(12deg)}.desktop-stamp span{font-size:9px;letter-spacing:2px}.desktop-stamp strong{font-family:var(--round);font-weight:400;font-size:21px;letter-spacing:2px}
.game-room{padding:0 27px 17px;min-height:800px}.game-intro{text-align:center;padding:22px 0 17px}.scene-eyebrow{font-size:9px;letter-spacing:2px;color:#a6a18d}.game-intro h1{font-family:var(--round);font-weight:400;font-size:29px;letter-spacing:1px;margin:11px 0 9px}.game-intro p{font-size:10px;color:#a39c89;margin:0;letter-spacing:.2px}.game-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;padding:0 4px;margin-bottom:10px;color:#928b76;min-height:17px}#meter{font-size:9px;color:#a49b83;white-space:nowrap}.stage{aspect-ratio:3/4;width:100%;position:relative;touch-action:none;user-select:none;-webkit-user-select:none;border-radius:25px;cursor:grab;overflow:hidden}.stage.dragging{cursor:grabbing}.scene-svg{width:100%;height:100%;display:block}.scene-svg>g,.scene-svg>path{transform-box:view-box}.interaction-hint{display:flex;justify-content:center;align-items:center;gap:8px;margin:18px 0 13px;min-height:22px}.gesture-icon{font-size:23px;color:#a7ae92;line-height:1}.interaction-hint p{font-size:10px;margin:0;color:#97917e}.game-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:0 3px}.text-button{background:none;font-size:10px;display:flex;align-items:center;justify-content:center;gap:6px;color:#9a9683;padding:8px 0;border-radius:5px}.text-button:hover{color:#617356}.text-button svg{width:13px;height:13px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.assist span{font-size:13px}.game-footer{text-align:center;font-size:8px;color:#b9b49f;margin-top:13px;letter-spacing:1.5px}.popped{animation:pop .18s ease-out}.falling-photo{animation:photo-fall .64s ease-in forwards;pointer-events:none}.finish-overlay{position:absolute;inset:0;background:#f5f3eac9;backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:28px;z-index:5;animation:appear .25s ease}.finish-card{width:100%;text-align:center;padding:17px 20px 24px;border:1px solid #fff8;border-radius:27px;background:#faf8f0;box-shadow:0 14px 50px #7b846319}.finish-card>svg{width:210px;margin:0 auto 9px}.finish-label{color:#a2aa8d;font-size:9px;letter-spacing:2px}.finish-card h2{font-family:var(--round);font-weight:400;font-size:28px;letter-spacing:1px;margin:16px 0 12px}.finish-card p{font-size:10px;color:#a09a85;margin:0 0 28px;line-height:1.9}.primary-button{display:block;width:100%;padding:14px 20px;border-radius:13px 15px 14px 12px;background:#a8b991;color:#fffdf2;font-size:13px;letter-spacing:1px;transition:background .2s}.primary-button:hover{background:#96aa7c}.go-home{margin:12px auto 0;padding:10px 16px}.back-button{margin-left:-7px;margin-right:-2px}.back-button svg{stroke:#9b9d88;fill:none}
@keyframes photo-fall{0%{opacity:1;transform:translate(0,0) scale(1) rotate(0)}65%{opacity:1}100%{opacity:0;transform:translate(var(--fall-x),var(--fall-y)) scale(.4) rotate(15deg)}}@keyframes pop{0%{opacity:.65}100%{opacity:1}}@keyframes appear{from{opacity:0}to{opacity:1}}
@media(min-width:700px) and (max-height:890px){#app{padding:16px}.room{width:398px;min-height:0;padding-left:25px;padding-right:25px}.topbar{height:66px}.home-intro{padding:24px 0}.home-intro h1{font-size:34px;margin-top:12px}.intro-bunny{width:130px;top:32px}.card-art{height:126px}.game-card{padding-bottom:16px}.home-footer{padding-top:24px}.game-intro{padding:18px 0 14px}.game-intro h1{font-size:27px}.game-footer{margin-top:9px}.interaction-hint{margin:13px 0 8px}}
@media(max-width:699px){#app{padding:0;display:block;background:var(--paper);min-height:100svh}.room{width:100%;max-width:470px;min-height:100svh;border:0;border-radius:0;box-shadow:none;margin:auto;padding-left:24px;padding-right:24px;padding-top:env(safe-area-inset-top);padding-bottom:max(18px,env(safe-area-inset-bottom))}.topbar{height:72px}.desktop-note,.desktop-stamp{display:none}.home-intro{padding:30px 0}.home-intro h1{font-size:37px}.intro-bunny{right:-2px}.card-art{height:138px}.game-grid{gap:14px}.home-footer{padding-top:27px}.game-intro{padding:23px 0 17px}.stage{max-height:54svh;aspect-ratio:3/4;width:auto;margin:auto}.game-meta{max-width:360px;margin-left:auto;margin-right:auto}.game-actions{max-width:360px;margin:auto}.game-intro h1{font-size:28px}.finish-overlay{position:fixed;width:100%;max-width:470px;left:50%;right:auto;transform:translateX(-50%)}.finish-card{max-width:340px}}
@media(max-width:375px){.room{padding-left:20px;padding-right:20px}.home-intro h1{font-size:33px}.intro-bunny{width:127px;right:-4px;top:34px}.card-art{height:118px}.card-text{padding:0 13px}.card-text strong{font-size:17px}.card-text small{font-size:8px}.game-intro p{font-size:9px}.interaction-hint p{font-size:9px}.game-grid{gap:12px}}
.icon-button{width:44px;height:44px}.card-text small{font-size:10px;color:#87836f}.game-intro p,.interaction-hint p{font-size:11px;color:#89836f}.game-meta{font-size:11px;color:#817b68}#meter{font-size:10px;color:#89816c}.text-button{font-size:11px;color:#89836f;padding-top:9px;padding-bottom:9px}.finish-card p{font-size:12px;color:#8b846f}.scene-eyebrow{font-size:10px;color:#8f8c76}.finish-label{font-size:10px;color:#8b9778}
.train-stage{cursor:pointer}.train-stop{width:150px;max-width:54%;padding:12px 18px;font-size:14px}.train-stop:disabled{background:#c3cbb4;color:#f8f7ef}.train-stage:active{cursor:pointer}
.finish-card>svg{width:170px;margin-bottom:3px}.finish-card p{margin-bottom:20px}.secondary-button{display:block;width:100%;margin-top:10px;padding:12px 14px;border:1.5px solid #a8b991;border-radius:13px;background:#f4f7ec;color:#738965;font-size:12px;letter-spacing:.4px}.secondary-button:hover{background:#e8eedf}.go-home{margin-top:7px}
.topbar{position:relative}.sound-button{margin-left:auto}.volume-button{margin-left:-7px}.volume-button svg{fill:none}.volume-panel{position:absolute;top:64px;right:0;z-index:8;width:min(260px,calc(100vw - 48px));padding:18px 19px 16px;border:1px solid #d9dfca;border-radius:17px;background:#faf9f1;box-shadow:0 13px 35px #6b75632a;display:flex;flex-direction:column;gap:7px}.volume-panel[hidden]{display:none}.volume-panel strong{font-family:var(--round);font-size:17px;font-weight:400;margin-bottom:5px;color:#65745f}.volume-panel label{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#746e5f;margin-top:3px}.volume-panel output{font-size:11px;color:#869579;font-variant-numeric:tabular-nums}.volume-panel input[type=range]{width:100%;height:27px;margin:0 0 8px;accent-color:#94ab80;cursor:pointer}.volume-note{font-size:10px;color:#aaa48f;margin-top:2px}
.music-start{display:inline-flex;align-items:center;gap:4px;margin-top:13px;padding:8px 12px;border:1px solid #c9d4b7;border-radius:999px;background:#eef2e4;color:#75886b;font-size:11px;letter-spacing:.2px}.music-start:hover{background:#e1ead5}.music-start[hidden]{display:none}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
