@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;600;700&family=Playfair+Display:wght@400;600;700&display=swap');:root{--cream:#f7f0dc;--ink:#493c2a;--green:#476341;--gold:#bd8b35;--blue:#527b85}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#f5ead2;font-family:'DM Sans',sans-serif;min-height:100vh;background-image:radial-gradient(#b6a98824 1px,transparent 1px);background-size:14px 14px}button{font:inherit;cursor:pointer;touch-action:manipulation}header{display:flex;align-items:center;justify-content:space-between;padding:12px clamp(18px,4vw,45px);background:#f8f2e5dd;border-bottom:2px solid #b59c68;position:sticky;top:0;z-index:30;backdrop-filter:blur(8px)}.brand{font-family:Georgia,serif;font-weight:bold;letter-spacing:2px}.brand .mark{color:#b27c32;font-size:22px;margin-right:9px}.sky{color:#648494}main{max-width:1120px;margin:auto}.screen{display:none;padding:20px clamp(16px,4vw,40px) 60px}.screen.active{display:block}.primary,.outline,.smallBtn{border:1px solid #537149;border-radius:50px;padding:13px 24px}.primary{background:#547149;color:white;font-weight:700;box-shadow:0 4px 0 #314932}.outline{background:#f7efd9;color:#415d3b;font-weight:700}.smallBtn{background:transparent;padding:9px 13px;font-size:13px}.textBtn{border:none;background:none;color:#496a46;text-decoration:underline;padding:14px}.welcomeHero{min-height:690px;border:8px solid #e0cfaa;outline:2px solid #8d784b;outline-offset:-17px;border-radius:8px;text-align:center;background:linear-gradient(#f2e8cdcf,#f2e8cdcc),url('assets/scene/garden.webp') center/cover;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:54px 22px 22px;box-shadow:0 8px 22px #3d392622}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2.4px;color:#94763c}h1,h2{font-family:'Playfair Display',Georgia,serif;line-height:1.08}h1{font-size:clamp(43px,8vw,87px);margin:16px auto;color:#3c5139}h1 em{font-size:.83em;color:#95652f;font-weight:400}h2{font-size:clamp(28px,4vw,40px);margin:12px 0}.welcomeHero p{font-size:17px;line-height:1.7;max-width:640px}.welcomeFruits{display:flex;height:150px;gap:28px;align-items:center;justify-content:center;margin-top:24px}.welcomeFruits img{max-height:130px;max-width:180px;object-fit:contain;filter:drop-shadow(0 9px 6px #0002)}.huntTitle,.stageTop{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.huntTitle p{color:#75694f}.progressBadge{background:white;border:2px solid #a69e71;border-radius:12px;padding:12px 22px;display:flex;flex-direction:column;text-align:center}.progressBadge b{font-size:24px}.progressBadge small{font-size:11px;letter-spacing:2px}.actionBar{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.triggerGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.triggerCard{background:#fff8e8;border:2px solid #c7b487;border-radius:13px;padding:10px;box-shadow:0 4px 9px #0001;text-align:center}.triggerCard img{width:100%;aspect-ratio:1.5;object-fit:cover;border:1px solid #999;display:block;filter:grayscale(1)}.triggerCard h3{font-size:14px;margin:12px 0 7px}.triggerCard .pill{font-size:11px;color:#60704c}.triggerCard button{margin-top:8px;width:100%;padding:9px;font-size:12px;background:#e8e1c9;border:1px solid #b6a47b;border-radius:8px}.triggerCard.complete{border-color:#67865a}.footerNote{font-size:13px;line-height:1.6;color:#756a57;max-width:850px}.harvestStage{border:6px solid #d1bf97;outline:1px solid #9d865c;outline-offset:-13px;border-radius:10px;margin-top:18px;background:linear-gradient(#fcf3deed,#f7e9cdd9),url('assets/scene/kitchen.webp') center/cover;text-align:center;min-height:600px;padding:26px 10px 22px;position:relative;overflow:hidden}.instruction p{margin:6px}.composite{height:420px;max-width:650px;margin:auto;position:relative}.packetArt{height:270px;max-width:56%;object-fit:contain;position:absolute;top:20px;left:50%;transform:translateX(-50%) rotate(-4deg);filter:drop-shadow(2px 7px 5px #0004)}.produceStage{width:min(84%,380px);aspect-ratio:1.35;position:absolute;left:50%;top:148px;transform:translateX(-50%);filter:drop-shadow(0 8px 6px #0003)}.producePiece{position:absolute;border:0;padding:0;background:transparent;overflow:visible;cursor:pointer;touch-action:manipulation;display:block}.producePiece img{width:100%;height:100%;object-fit:fill;pointer-events:none}.producePiece:focus-visible{outline:3px solid #e2ad3d}.producePiece.harvested{animation:collect .55s ease-in forwards;pointer-events:none}@keyframes collect{0%{opacity:1;transform:scale(1)}38%{transform:translateY(-25px) scale(1.1)}100%{opacity:0;transform:translate(170px,130px) scale(.05)}}.stageBottom{display:flex;align-items:center;justify-content:center;gap:22px;flex-wrap:wrap}.stageCounter{font-weight:700;color:#4e6c47}.backBtn{background:none;border:0;color:#476443;text-decoration:underline;font-weight:700}.basketScreen{text-align:center}.basketPicture{width:min(450px,90vw);height:340px;position:relative;margin:auto}.basketProduce{position:absolute;bottom:110px;left:11%;width:78%;height:165px;display:flex;align-items:end;justify-content:center;flex-wrap:wrap;gap:0;overflow:hidden}.basketProduce img{height:58px;width:64px;object-fit:contain;margin:-8px;filter:drop-shadow(1px 3px 2px #0003)}.basketGraphic{position:absolute;bottom:5px;left:6%;width:88%;height:165px}.basketBody{position:absolute;bottom:0;width:100%;height:145px;background:repeating-linear-gradient(24deg,transparent 0 12px,#744c2940 13px 17px,transparent 18px 28px),repeating-linear-gradient(-24deg,#ba8a55 0 15px,#dfbb80 15px 26px);border:8px solid #a36e3c;border-radius:18px 18px 70px 70px;box-shadow:0 12px 18px #0002}.basketRim{position:absolute;z-index:2;top:-6px;left:-2%;width:104%;height:35px;background:repeating-linear-gradient(40deg,#c49860 0 12px,#edc891 12px 24px);border:5px solid #9b6b3b;border-radius:50%}.basketList{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:15px 0 28px}.basketList span{background:#fff6e3;border:1px solid #c7af80;border-radius:30px;padding:8px 12px;font-size:13px}.awardCard{max-width:700px;margin:15px auto;background:#fff7e5;border:8px double #ae8d50;padding:50px 24px;text-align:center;box-shadow:0 12px 30px #0002}.awardCard h1{font-size:62px}.awardCard h2{color:#946a34}.medallion{height:220px;width:220px;border-radius:50%;border:12px double #ae832d;background:radial-gradient(#fff7d4,#dbb763);margin:30px auto;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:Georgia,serif;font-size:25px}.medallion strong{font-size:36px}.medallion small{font-size:13px;margin-top:12px}.fireflies{letter-spacing:18px;color:#bc982f}.awardMessage{border:2px dashed #8a6f38;padding:19px;margin:22px auto;max-width:490px;font-weight:bold;line-height:1.6}.overlay{position:fixed;inset:0;background:#29251bdc;display:flex;align-items:center;justify-content:center;z-index:99;padding:16px}.hidden{display:none!important}.modal{max-width:690px;width:100%;background:#fff8e7;padding:20px;border-radius:10px;box-shadow:0 18px 35px #0006}.modalHeader{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.modalHeader button{border:0;background:none;font-size:20px}.modal video{width:100%;aspect-ratio:16/9;background:#38352b}.howto{font-weight:700;line-height:2}.howto span{color:#537246}#videoFallback p{font-size:13px;color:#81745b}.modal .primary{margin-top:12px}.cameraArea{height:min(70vh,620px);position:relative;background:#1e221e;border-radius:12px;overflow:hidden;margin-bottom:25px}.cameraArea video{width:100%;height:100%;object-fit:cover}.cameraHint{position:absolute;bottom:40px;left:10%;width:80%;text-align:center;color:#fff;background:#172015af;padding:12px;border-radius:12px}.cameraClose{position:absolute;top:10px;right:10px;background:#fff9;border:0;border-radius:24px;padding:10px}#arHolder{position:absolute;inset:0;pointer-events:none}#arHolder .arOverlay{position:absolute;inset:10% 10% 17%;pointer-events:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff8dcd9;border-radius:15px;padding:16px}#arHolder img{height:44%;max-width:70%;object-fit:contain}#arHolder button{padding:10px 20px;border-radius:30px;background:#527447;color:#fff;border:0;margin-top:12px}@media(max-width:760px){.triggerGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.welcomeHero{min-height:610px}.composite{height:375px}.packetArt{height:240px}.produceStage{top:145px;width:min(92%,340px)}header .brand{font-size:13px}.actionBar>*{flex:1}.stageTop{font-size:12px}.triggerCard h3{font-size:12px}}
/* v2 mobile-first interaction layer */
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}body{overflow-x:hidden}button{min-height:44px}button:focus-visible{outline:3px solid #e2ad3d;outline-offset:3px}.testModeNote{background:#fff5da;border-left:4px solid #b88932;padding:12px 15px;border-radius:7px;line-height:1.5;font-size:14px;margin:10px 0 18px}#mobileNav{display:none}#navCount{font-variant-numeric:tabular-nums}.cameraArea video{transform:scaleX(1)}
@media(max-width:760px){
:root{--nav-height:70px}body{padding-bottom:calc(var(--nav-height) + env(safe-area-inset-bottom,0px))}header{min-height:56px;padding:8px 14px;position:sticky;top:0}header .brand{letter-spacing:1px;font-size:13px}header .mark{font-size:17px;margin-right:4px}header .smallBtn{font-size:12px;padding:8px 11px}main{max-width:100%;}.screen{padding:12px 12px 24px}.welcomeHero{min-height:calc(100dvh - 148px);border-width:5px;outline-offset:-11px;padding:23px 15px 14px}.welcomeHero h1{font-size:clamp(37px,10vw,54px);margin:12px 0}.welcomeHero p{font-size:15px;line-height:1.5}.welcomeFruits{height:115px;margin-top:10px;gap:5px}.welcomeFruits img{max-height:108px;max-width:46%}.eyebrow{font-size:9px;letter-spacing:1.5px}.primary,.outline{padding:13px 16px;min-height:50px}.welcomeHero .primary{width:min(100%,310px);font-size:16px}.huntTitle{align-items:center;flex-wrap:nowrap;gap:6px}.huntTitle h2{font-size:27px}.huntTitle p{font-size:13px;line-height:1.4}.progressBadge{padding:10px;min-width:75px;flex-shrink:0}.progressBadge b{font-size:17px}.actionBar{gap:8px;margin:15px 0}.actionBar .primary,.actionBar .outline{font-size:13px;line-height:1.2;flex-basis:calc(50% - 8px)}.triggerGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.triggerCard{padding:7px}.triggerCard button{min-height:44px;font-size:12px}.triggerCard img{aspect-ratio:1;object-fit:cover}.stageTop{gap:6px;flex-wrap:nowrap}.stageTop .eyebrow{font-size:9px;text-align:center}.stageTop .smallBtn{padding:7px 8px}.harvestStage{margin-top:12px;min-height:calc(100dvh - 182px);padding:15px 6px 12px;border-width:4px;display:flex;flex-direction:column;justify-content:space-between}.instruction h2{font-size:29px}.instruction p{font-size:14px}.composite{height:clamp(300px,53dvh,475px);width:100%;}.packetArt{height:min(46%,235px);top:2%;max-width:62%;}.produceStage{top:38%;width:min(98%,420px);}.producePiece{min-width:35px;min-height:35px}.producePiece:before{content:'';position:absolute;inset:-8px;z-index:1}.stageBottom{gap:8px;justify-content:space-around}.stageBottom button{font-size:13px}.basketPicture{height:290px;max-width:360px}.basketProduce{bottom:100px;height:120px}.basketProduce img{height:46px;width:52px}.basketGraphic{height:145px}.basketBody{height:132px}.awardCard{margin:5px auto;padding:25px 13px;border-width:6px}.awardCard h1{font-size:48px}.awardCard h2{font-size:29px}.medallion{height:185px;width:185px;margin:18px auto;font-size:20px}.medallion strong{font-size:29px}.awardMessage{font-size:13px;padding:13px}.modal{padding:14px;max-height:calc(100dvh - 45px);overflow:auto}.modal .primary{width:100%}.cameraArea{height:65dvh;margin-bottom:12px}#mobileNav{position:fixed;display:grid;grid-template-columns:repeat(3,1fr);left:0;right:0;bottom:0;z-index:55;background:#f8f1df;box-shadow:0 -4px 18px #0002;border-top:2px solid #b69a65;padding:5px 8px calc(6px + env(safe-area-inset-bottom,0px));min-height:var(--nav-height)}#mobileNav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;background:transparent;border:0;color:#405f39;font-weight:bold;font-size:23px;min-height:55px}#mobileNav small{font-size:12px}#mobileNav button:active{background:#eaddbd;border-radius:12px}}
@media(max-width:360px){.stageTop .eyebrow{display:none}.welcomeHero h1{font-size:35px}.composite{height:310px}}
