*{box-sizing:border-box}body{margin:0;background:#e8ecdc;color:#304539;font:15px/1.45 'Microsoft YaHei',system-ui,sans-serif}button,input,select{font:inherit;color:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #bd641a;outline-offset:3px}.game{max-width:480px;height:100dvh;min-height:630px;margin:auto;background:#f1e8d7 url('assets/flower-market.png') center/cover;overflow:hidden;position:relative;box-shadow:0 20px 70px #3e543329}#screen{height:100%;display:flex;flex-direction:column}.welcome{height:100%;display:flex;flex-direction:column;align-items:center;text-align:center;padding:30px 24px;background:linear-gradient(#fbf5df33,#fcf7e455)}.brand{font-size:12px;letter-spacing:4px;margin:5px 0}.sign{background:#fdf8e7ed;border:1px solid #fff;border-radius:80px 80px 24px 24px;padding:27px 24px 25px;margin-top:5vh;box-shadow:0 12px 25px #4e4c281a;transform:rotate(-2deg)}.sign h1{font-family:Georgia,'Microsoft YaHei',serif;font-size:36px;letter-spacing:-1px;margin:12px 0;line-height:1.3}.sign p{font-size:14px;margin:8px 0}.seal{display:inline-block;border:1px solid #899f7d;border-radius:30px;padding:4px 12px;font-size:11px}.welcome-bottom{margin-top:auto;width:100%;background:#fff9e8ef;padding:18px;border-radius:23px;box-shadow:0 8px 24px #51462a20}.primary{background:#3c5a42;color:#fff9e9;border:0;border-radius:30px;padding:13px 22px;box-shadow:0 5px 0 #253e2d;min-height:46px}.primary:active{transform:translateY(2px);box-shadow:0 3px 0 #253e2d}.welcome .primary{width:100%;font-size:17px}.quiet{border:0;background:transparent;text-decoration:underline;text-underline-offset:3px;padding:8px;min-height:36px;font-size:12px}.tiny{font-size:11px;color:#53664f}.topbar{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:#faf4e5eb;gap:8px}.icon-button{border:1px solid #c8d0b9;background:#fffbea;border-radius:50%;height:36px;width:36px}.topbar strong{font-size:13px}.progress{height:4px;background:#d9dec8}.progress i{display:block;background:#8a9f69;height:100%;transition:width 180ms}.scene-head{padding:12px 20px 10px;background:linear-gradient(#faf4e5e8,#faf4e599)}.scene-head h2{font-size:25px;margin:2px 0}.scene-head p{margin:4px 0;font-size:12px}.stopnav{display:flex;gap:6px;margin-top:10px}.stopnav button{height:26px;min-width:26px;border:1px solid #9daa87;border-radius:50%;background:#fff7e5;font-size:11px;padding:0}.stopnav button.active{background:#456447;color:#fff}.stopnav button.done:after{content:'·';font-weight:bold}.shelves{flex:1;min-height:0;overflow-y:auto;padding:4px 12px 20px;scrollbar-width:thin;background:linear-gradient(#faf3e644,#f6efd8aa);overscroll-behavior:contain}.shelf{background:#fff9e9ee;border:1px solid #fff8;border-radius:19px;padding:10px 10px 8px;margin:7px 0 12px;box-shadow:0 5px 0 #b6a68540,0 8px 15px #624e2320}.shelf legend{font-size:14px;font-weight:700;padding:0 5px}.shelf .hint{font-size:10px;line-height:1.5;color:#60705c;margin:1px 0 7px}.items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.items.four{grid-template-columns:repeat(4,minmax(0,1fr))}.items.many{grid-template-columns:repeat(3,minmax(0,1fr))}.item{position:relative;border:1px solid #dfddc6;border-radius:15px 15px 11px 11px;background:linear-gradient(140deg,#fffef5,#f0ead5);box-shadow:0 3px 0 #c8bc9e;padding:5px 3px 7px;min-width:0;transition:transform 120ms,border-color 120ms}.item svg{width:46px;height:42px;display:block;margin:auto;filter:drop-shadow(0 3px 2px #695c3929);touch-action:none}.item b{display:block;font-size:11px;white-space:normal;line-height:1.4}.item small{font-size:9px;display:block;color:#68755f;margin-top:3px;line-height:1.25}.item[aria-checked=true]{border:2px solid #5f8155;background:#e6edcc;padding:4px 2px 6px;box-shadow:0 3px 0 #8fa67b}.item[aria-checked=true]:after{content:'✓';position:absolute;right:4px;top:2px;font-size:12px;color:#3b5931}.item:active{transform:scale(.96)}.unknown{display:flex;justify-content:flex-end;gap:10px;margin-top:7px}.unknown button{font-size:10px;border:0;background:transparent;text-decoration:underline;color:#5e6c55;padding:3px}.unknown button[aria-pressed=true]{font-weight:bold;color:#1d4423}.basket-area{flex:none;background:linear-gradient(#ebe0bd,#ecddb4);border-top:3px solid #fdf5dc;box-shadow:0 -5px 18px #5b532622;padding:8px 13px 14px;position:relative}.basket-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;margin:0 4px 4px}.basket-top button{font-size:11px;border:0;background:transparent;text-decoration:underline}.basket{position:relative;border:3px solid #a08b5d;background:repeating-linear-gradient(90deg,#c2ad7a 0 12px,#dac693 12px 16px);border-radius:8px 8px 20px 20px;min-height:49px;padding:7px 9px;display:flex;gap:5px;align-items:center;overflow-x:auto;scrollbar-width:none;box-shadow:inset 0 4px 0 #8b795948,0 6px 0 #8d7d51}.basket:before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(transparent,#4b55280a)}.basket-chip{white-space:nowrap;flex:none;font-size:10px;background:#fff9dc;border:1px solid #8fa17e;border-radius:8px;padding:6px;transform:rotate(-2deg);box-shadow:0 2px 3px #69551b24}.basket .empty{font-size:11px;color:#4a512f;margin:auto}.basket-area.over{box-shadow:inset 0 0 0 3px #5c8c48}.wheels{display:flex;justify-content:space-between;padding:0 32px;height:11px}.wheels i{width:15px;height:15px;background:#59634a;border-radius:50%;border:3px solid #364c37}.reply{min-height:26px;font-size:11px;text-align:center;margin:8px 0 4px}.foot{display:flex;gap:10px;align-items:center}.foot .primary{flex:1;padding:9px 15px;min-height:40px;font-size:13px}.foot .quiet{padding:7px;font-size:11px}.ghost{position:fixed;z-index:99;pointer-events:none;opacity:.94;filter:drop-shadow(0 10px 7px #58492455);margin:0}.ghost b{font-size:12px}.sheet{margin:18px 17px;background:#fff9e9f5;border:1px solid white;padding:22px;border-radius:22px;overflow:auto;max-height:calc(100% - 40px)}.sheet h2{font-size:27px;margin:5px 0 15px}.sheet label{display:block;font-size:13px;margin:20px 0}.sheet select{display:block;width:100%;padding:12px;border:1px solid #b7c2a6;border-radius:10px;background:#fff;margin-top:7px}.result-page{padding:20px 18px;overflow-y:auto;height:100%;background:#f4eedec7}.result-card{text-align:center;background:#fffbedf2;border:1px solid white;border-radius:100px 100px 23px 23px;padding:24px 18px;box-shadow:0 12px 30px #53604325}.result-card img{width:160px;height:160px}.result-card h2{font-size:26px;margin:4px}.result-card p{font-size:14px}.facts{display:flex;flex-wrap:wrap;justify-content:center;gap:5px}.facts span{font-size:10px;border:1px solid #c5cead;border-radius:20px;padding:4px 7px;background:#f3f3e3}.result-details{background:#fff9e9;padding:15px;border-radius:15px;font-size:12px;margin:12px 0}.result-details p{margin:10px 0}.buttons{display:flex;gap:8px;margin-top:13px}.buttons button{flex:1}.secondary{border:1px solid #879974;background:#fffbe9;border-radius:24px;padding:10px;font-size:12px}.collection button{display:flex;justify-content:space-between;align-items:center;width:100%;padding:12px;background:#f8f4df;border:1px solid #d4d8be;border-radius:10px;margin:7px 0;font-size:12px}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.pop{animation:pop 250ms cubic-bezier(.2,.8,.25,1)}@keyframes pop{50%{transform:translateY(-3px) rotate(-1deg)}100%{transform:translateY(0)}}.bloom-in{animation:bloom 420ms cubic-bezier(.22,1,.36,1)}@keyframes bloom{from{transform:scale(.92);opacity:.5}to{transform:scale(1);opacity:1}}@media(hover:hover) and (pointer:fine){.item:hover{transform:translateY(-3px)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(max-width:360px){.scene-head h2{font-size:22px}.shelf{padding:8px 6px}.items{gap:4px}.item b{font-size:10px}.item svg{width:38px;height:35px}.basket-area{padding:6px 10px 10px}}@media(min-width:600px){.game{border-radius:24px;height:min(860px,100dvh);min-height:630px}}
.item b{font-size:12px}.item small{font-size:10px;line-height:1.35}.item svg{width:54px;height:46px}.shelf .hint{font-size:11px}.unknown button{font-size:11px;min-height:27px}.items.four .item b{font-size:11px}@media(max-width:360px){.item b{font-size:11px}.item small{font-size:9px}}
.game{background-image:url("assets/flower-market.webp")}
