@import url('/play/style.css');
:root{background:#faf7f0}header{padding:22px 26px}header a,footer a{color:#087f80;text-decoration:none;font-weight:700}button{font:inherit;cursor:pointer;border:0;border-radius:12px;padding:12px 18px;background:#ec8539;color:white;font-weight:700;min-height:44px}button:hover:not(:disabled){filter:brightness(.95)}button:disabled{cursor:default;opacity:.48}button:focus-visible{outline:3px solid #ed8539;outline-offset:3px}.quiet{color:#245958;background:#e6efea}main{padding-top:0}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px}h1{font-size:43px;margin:10px 0 24px}h1 span{color:#ed8338}.eyebrow{font-size:10px}.pill{background:#f7e6ca;border-radius:30px;padding:12px;font-size:10px;letter-spacing:1px;white-space:nowrap}.stats{background:#173f40;color:white;display:grid;grid-template-columns:repeat(4,1fr);padding:19px 24px;border-radius:18px;gap:18px}.stats small{display:block;color:#b9d7cc;font-size:10px;letter-spacing:1px}.stats strong{font-size:26px;display:block;margin-top:5px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px}.section-title h2{margin:0;font-size:25px}.section-title span,.hint{font-size:12px;color:#6a8580}.customers{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;min-height:230px}.customer,.empty{background:#fff;border:2px solid #dfebe5;border-radius:19px;text-align:center;padding:15px;color:#163f40;min-width:0;position:relative}.customer{animation:arrive .25s ease}.customer:hover{border-color:#ed8539}.customer.urgent{border-color:#e26855;background:#fff4ef}.face{font-size:43px}.order{display:flex;justify-content:center;gap:7px;margin:10px 0}.mini{width:45px;height:45px;object-fit:contain;background:white;border-radius:9px}.emoji{display:inline-grid;place-items:center;font-size:28px}.customer small{font-weight:500;display:block}.customer progress{width:100%;height:9px;accent-color:#198b77;margin-top:12px}.urgent progress{accent-color:#dd634b}.empty{display:grid;place-items:center;color:#8ba197;border-style:dashed;font-size:13px}.counter{background:#e3eee5;margin-top:18px;border-radius:15px;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:10px}.counter small{font-size:10px;letter-spacing:1px;color:#66847b}#basket{display:flex;align-items:center;gap:8px;height:52px;font-size:13px;color:#6a8580}.shelves{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:14px}.product{border:1px solid #dbe7df;background:white;border-radius:18px;padding:16px;text-align:center;min-width:0}.product .photo{height:110px;width:100%;object-fit:contain}.product .bigemoji{height:110px;display:grid;place-items:center;font-size:65px}.product h3{font-size:14px;margin:9px 0}.product p{font-size:12px;color:#6a8580;margin:8px 0}.product button{width:100%;margin-top:7px;font-size:12px;padding:10px}.product .quiet{font-size:11px}.intro-card{background:#fff;border:1px solid #dfebe5;border-radius:22px;padding:28px;margin-top:23px;display:grid;grid-template-columns:1.6fr 1fr;gap:28px}.intro-card h2{margin:0 0 12px}.intro-card p{line-height:1.65;color:#6a8580}.intro-card .display{display:flex;align-items:center;justify-content:center;background:#edf3ec;border-radius:18px;padding:12px;gap:12px}.display img{width:43%;height:160px;object-fit:contain;border-radius:14px;background:white;transform:rotate(-5deg)}.display img+img{transform:rotate(6deg)}.steps{font-size:14px;line-height:1.9;padding-left:20px}.upgrades{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:15px}.upgrade{background:white;border:1px solid #dbe7df;border-radius:16px;padding:16px;display:flex;flex-direction:column}.upgrade h3{font-size:14px;margin:0 0 8px}.upgrade p{font-size:12px;line-height:1.5;color:#6a8580;flex:1}.upgrade button{font-size:12px}.results{padding:16px;background:#e5f1e8;border-radius:14px;line-height:1.8;font-size:14px;margin-top:15px}#error{color:#b23f2c}#message{background:#fff0d9;padding:14px;border-radius:12px;font-size:14px}footer{display:block;line-height:1.8}#rush{color:#dc762a;font-weight:700}@keyframes arrive{from{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}@media(max-width:700px){.heading .pill{display:none}h1{font-size:33px}.stats{padding:15px;gap:10px}.stats strong{font-size:22px}.stats small{font-size:8px}.customers{gap:7px;min-height:195px}.customer,.empty{padding:10px 6px;border-radius:13px}.face{font-size:33px}.mini{width:33px;height:39px}.order{gap:3px}.shelves{gap:8px;grid-template-columns:repeat(2,1fr)}.product{padding:12px}.intro-card{grid-template-columns:1fr;padding:20px;gap:15px}.intro-card .display{display:none}.upgrades{grid-template-columns:1fr 1fr}.counter{padding:12px}.counter button{font-size:11px;padding:8px}.section-title h2{font-size:22px}.section-title span{font-size:10px}header{padding:18px 16px}header a{font-size:12px}.hint{line-height:1.5}}@media(prefers-reduced-motion:reduce){*{animation:none!important}}
.shop-room{position:relative;width:100%;aspect-ratio:3/2;background:#bce7db url('/shop/room.png') center/cover;border-radius:22px;overflow:hidden;border:3px solid #24635c;isolation:isolate;margin-top:15px;touch-action:manipulation}.shop-room[hidden],.customers[hidden]{display:none}.room-shelves{position:absolute;inset:0;pointer-events:none;z-index:120}.room-shelf{position:absolute;top:19%;transform:translateX(-50%);width:19%;min-height:60px;padding:6px;background:#fffef5f5;color:#174d46;box-shadow:0 4px 0 #24635c4d;pointer-events:auto;border:2px solid #2c8775;border-radius:12px;display:flex;flex-direction:column;align-items:center;gap:3px}.room-shelf img{width:40px;height:45px;object-fit:contain}.room-shelf span{font-size:14px}.actor{position:absolute;transform:translate(-50%,-100%);width:10%;aspect-ratio:1;min-height:0;padding:0;background:none!important;border:0;overflow:visible;filter:none!important;transition:none!important;opacity:1!important;touch-action:manipulation}.actor .person{display:block;width:100%;height:100%;background-image:url('/shop/people.png');background-size:400% 400%;background-position:0 calc(var(--row)*100%/3);transform-origin:50% 90%;pointer-events:none}.actor.walking .person{animation:walk-cycle .5s steps(4) infinite}.actor.facing-left .person{transform:scaleX(-1)}.actor.impatient .person{animation:fidget .35s ease-in-out infinite alternate}.actor .bubble{position:absolute;bottom:90%;left:50%;transform:translateX(-50%);background:#fffef9;border:2px solid #40836f;border-radius:12px;padding:6px;min-width:110px;box-shadow:0 4px 8px #173f4026;color:#164d45;pointer-events:none}.actor .bubble .order{margin:0;gap:3px}.bubble .order img{width:30px;height:32px;object-fit:contain;border-radius:5px}.bubble small{font-size:12px;display:block;white-space:nowrap}.bubble progress{display:block;width:100%;height:7px;accent-color:#1c9e79;margin-top:4px}.impatient .bubble{border-color:#d95d41;background:#fff0e8}.impatient progress{accent-color:#d95d41}.actor.leaving .bubble{min-width:80px;font-size:12px}.payment{color:#12825f}.carry{position:absolute;right:-10%;bottom:15%;font-size:18px;background:white;border-radius:20px;white-space:nowrap}.carry:empty{display:none}.door-label{position:absolute;bottom:1%;left:50%;transform:translateX(-50%);background:#174c45e6;color:white;padding:4px 10px;border-radius:6px;font-size:11px;z-index:110}.route{background:#163f40;color:#fff;padding:12px 16px;border-radius:12px;font-size:14px;line-height:1.5}.route[hidden]{display:none}@keyframes walk-cycle{from{background-position-x:0}to{background-position-x:133.333333%}}@keyframes fidget{from{rotate:-3deg}to{rotate:3deg}}@media(min-width:850px){#game{max-width:900px;margin:auto}.shop-room{max-width:900px}}@media(max-width:650px){.shop-room{aspect-ratio:1/1.1;background-size:100% 100%;border-radius:14px}.actor{width:17%}.room-shelf{top:20%;width:25%;padding:4px;min-height:62px}.room-shelf span{font-size:12px}.room-shelf img{height:30px;width:30px}.actor .bubble{min-width:83px;padding:4px}.bubble .order img{width:23px;height:28px}.bubble small{font-size:11px}.route{font-size:12px}.door-label{font-size:10px}.carry{font-size:13px}}@media(prefers-reduced-motion:reduce){.actor .person{animation:none!important}}
.self-desk{position:absolute;right:2%;top:42%;z-index:115;background:#fff;color:#16534c;border:2px solid #28876f;padding:10px;border-radius:10px;font-size:12px;max-width:22%;box-shadow:0 4px 0 #173f4026;pointer-events:none}.self-desk[hidden]{display:none}@media(max-width:650px){.self-desk{font-size:10px;padding:5px;max-width:25%}.upgrades{grid-template-columns:1fr 1fr}}
