*{box-sizing:border-box}body{margin:0;background:#faf7f2;color:#302f2b;font:14px -apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN",sans-serif}main{max-width:500px;margin:auto;padding:8px 12px 20px}button{font:inherit;color:inherit;border:0;border-radius:9px;background:#edf0e9;min-height:44px;padding:9px 12px;touch-action:manipulation;cursor:pointer}button:disabled{opacity:.45;cursor:default}button:focus-visible{outline:3px solid #526c56;outline-offset:2px}button:active{filter:brightness(.96)}.companion{display:flex;align-items:center;gap:10px;margin-bottom:6px;min-height:78px}.companion img{object-fit:contain;flex-shrink:0;width:76px;height:76px;filter:drop-shadow(0 4px 4px #5a46341a)}.companion strong{font-size:11px}.companion p{margin:4px 0;line-height:1.55;font-size:13px}.panel{background:#fffdf9;border:1px solid #dedbd0;border-radius:12px;padding:16px;margin-bottom:8px}h2{font-size:18px;margin:0 0 12px}p{line-height:1.6}.note{font-size:11px;color:#6e6960;margin:8px 0}.status,.basket-label{display:flex;justify-content:space-between;align-items:center;padding:5px 1px;font-size:12px}.urgent{color:#a34449}.order{display:flex;justify-content:space-between;align-items:center;padding:4px 12px;background:#fffdf8;border-block:1px solid #ddd7c9;margin-bottom:8px;min-height:60px}.order span{font-size:11px;display:block;color:#746957}.order strong{display:block;margin-top:4px;font-size:14px}#orderFlowers{display:flex}#orderFlowers .flower{width:35px;height:52px;transform:rotate(-12deg)}#orderFlowers .flower+ .flower{transform:rotate(12deg);margin-left:-5px}.garden{background:linear-gradient(130deg,#dce9d9,#f2f2df);border-radius:14px;padding:8px 10px 5px;box-shadow:inset 0 0 0 1px #c7d4bf}body[data-weather="1"] .garden{background:linear-gradient(130deg,#d3e0e4,#e3ebe1)}body[data-weather="2"] .garden{background:linear-gradient(130deg,#d9dbea,#ece4ec)}.parent-trays{display:flex;gap:16px}.parent-tray{flex:1;min-width:0}.parent-tray>span{font-size:10px;color:#4c6249}.parent-tray>div{display:flex;gap:4px}.parent-tray button{flex:1;min-width:0;padding:0 2px;background:#ffffff80;border-radius:7px;position:relative;min-height:58px}.parent-tray button[aria-pressed=true]{background:#fff;box-shadow:inset 0 -3px #597456}.parent-tray .flower{height:39px;width:29px;display:block;margin:auto}.parent-tray small{font-size:10px;display:block}.watering{display:block;position:relative;width:100%;height:173px;background:transparent;overflow:hidden;touch-action:none;padding:0;margin-top:4px}.flower-bed{height:123px;display:flex;justify-content:center;align-items:end;gap:17px;background:linear-gradient(transparent 84%,#8a9b6d 85%,#8b7058 87%,#66513c 100%);border-radius:9px 9px 50% 50%/9px 9px 10px 10px}.flower{width:60px;height:87px;overflow:visible;pointer-events:none;filter:drop-shadow(1px 3px 1px #51422e17)}.flower-bed>.flower{height:87px;width:58px;transform:rotate(-9deg)}.flower-bed>.flower:last-child{transform:rotate(9deg)}.bloom-preview .flower{height:112px;width:78px}.bloom-preview{display:block;transform-origin:50% 100%}.water-tool{position:absolute;right:8px;top:7px;font-size:33px;transform:rotate(-25deg);left:var(--hand,auto);width:36px}.watering[style*="--water"] .water-tool:after{content:'⋮ ⋮ ⋮';display:block;color:#70aec5;font-size:28px;position:absolute;top:22px;left:-18px}.watering #prediction{display:block;font-size:12px;font-weight:600;margin-top:4px}.gesture-hint{display:block;font-size:10px;margin-top:3px;color:#53634d}.water-progress{position:absolute;bottom:0;left:0;width:var(--water,0%);height:3px;background:#6dabb1;transition:width .05s}.forecast{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#56624e}.forecast button{padding:7px 10px;background:transparent;font-size:12px}.workbench{background:repeating-linear-gradient(1deg,#c6a68108 0 2px,transparent 2px 7px),linear-gradient(100deg,#f1e4d0,#f8efdf 45%,#ebd8bc);margin-top:8px;padding:5px 10px 10px;border-radius:12px;position:relative}.basket-label{font-size:11px}#inventory{display:flex;overflow-x:auto;gap:5px;min-height:70px;padding:3px 0 7px;touch-action:pan-y}.flower-choice{padding:1px 3px;min-width:45px;flex:0 0 45px;position:relative;background:#fff9ef99;border-radius:18px 18px 6px 6px;touch-action:none}.flower-choice .flower{width:38px;height:47px;display:block}.flower-choice small{font-size:10px}.flower-choice[aria-pressed=true]{opacity:.35;background:#ddd2bd}.lifting{transform:translateY(-6px);box-shadow:0 5px 5px #56422b33}.empty-basket{margin:auto;font-size:11px}.bouquet{position:relative;height:119px;display:flex;justify-content:center;align-items:center;isolation:isolate;border-radius:10px}.paper{position:absolute;width:151px;height:106px;top:5px;background:linear-gradient(120deg,#c9b198 0%,#f9ead1 45%,#dbc7a9 46%,#edddc3 72%,#bca18a 73%);clip-path:polygon(0 0,50% 14%,100% 0,70% 100%,34% 100%);transform:rotate(-4deg);box-shadow:0 4px 5px #78604433;z-index:-1}.paper:after{content:'';position:absolute;inset:6px;background:repeating-linear-gradient(45deg,transparent 0 10px,#fff3 11px 12px)}#bouquetFlowers{display:flex;position:absolute;top:-1px;justify-content:center;width:100%}#bouquetFlowers button{background:transparent;padding:0;width:69px;height:96px;transform:rotate(-15deg);transform-origin:50% 100%}#bouquetFlowers button+button{transform:rotate(15deg);margin-left:-28px}#bouquetFlowers .flower{height:99px;width:69px}#bouquetHint{position:absolute;bottom:3px;font-size:10px;background:#fff8ecdd;padding:3px 7px;border-radius:8px}.receiving{background:#ffffe866;box-shadow:inset 0 0 0 2px #75856c}.ready .paper{filter:drop-shadow(0 3px 4px #75614133)}.ribbon{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;width:100%;position:relative;background:linear-gradient(90deg,#a77b83,#bc939a 50%,#9c747d);color:#fff;touch-action:none;min-height:49px;gap:0 8px;padding:5px 10px}.ribbon>span:not(.ribbon-bow){font-size:12px}.ribbon small{display:block;width:100%;font-size:9px;opacity:.85}.ribbon-bow{font-size:26px;line-height:23px;transform:translateX(var(--pull,0px));text-shadow:0 2px 2px #68464d}.recipes{margin:8px 0;font-size:11px;color:#625f56}.recipes summary{min-height:44px;padding:12px 0;cursor:pointer}.recipes p{margin:0 0 9px}#start,#retry{width:100%;background:#5c735c;color:#fff;font-weight:600}#notice{min-height:18px;font-size:11px;margin:6px 0;color:#655343}#saveNote{margin:4px 0}#result{margin-top:12px}.celebrate .bloom-preview,.bouquet.celebrate #bouquetFlowers,#orderFlowers.celebrate{animation:bloom .5s ease-out}@keyframes bloom{0%{transform:scale(.8) rotate(-7deg)}60%{transform:scale(1.08) rotate(3deg)}100%{transform:scale(1)}}[hidden]{display:none!important}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.water-tool svg{width:55px;height:48px;display:block}.water-tool{right:20px;top:8px;transform:rotate(-12deg)}.ribbon-bow svg{width:54px;height:25px;display:block}.drag-flower{position:fixed;z-index:50;transform:translate(-50%,-65%) rotate(-12deg);pointer-events:none;filter:drop-shadow(0 8px 5px #49342455)}.drag-flower .flower{width:70px;height:100px}
.finished-bouquets{display:flex;justify-content:center;gap:9px;margin:15px 0}.finished-bouquet{width:30%;text-align:center}.finished-bouquet>div{display:flex;justify-content:center;background:linear-gradient(100deg,#e8d4b7,#fcf2db);clip-path:polygon(0 0,100% 0,75% 100%,25% 100%);padding:2px 0 9px}.finished-bouquet .flower{width:43px;height:85px;transform:rotate(-12deg);margin-right:-9px}.finished-bouquet .flower+ .flower{transform:rotate(12deg);margin-left:-9px;margin-right:0}.finished-bouquet small{font-size:10px}.companion:has(~#result:not([hidden])) img{filter:drop-shadow(0 5px 8px #b5946e44)}
@media(max-height:850px){main{padding-top:5px}.companion{min-height:66px}.companion img{width:64px;height:64px}.watering{height:157px}.flower-bed{height:107px}.flower-bed>.flower{height:77px}.bloom-preview .flower{height:100px}.bouquet{height:103px}.paper{height:92px}#bouquetFlowers .flower{height:86px}#bouquetFlowers button{height:86px}.order{min-height:54px}#orderFlowers .flower{height:47px}}
@media(max-height:760px){.companion{min-height:60px}.companion img{height:58px;width:58px}.companion p{font-size:12px}.parent-tray button{min-height:49px}.parent-tray .flower{height:31px}.watering{height:141px}.flower-bed{height:92px}.flower-bed>.flower{height:67px}.bloom-preview .flower{height:85px}#inventory{min-height:60px}.flower-choice .flower{height:39px}.bouquet{height:91px}.paper{height:79px}#bouquetFlowers .flower{height:76px}#bouquetFlowers button{height:76px}.order{min-height:48px}#orderFlowers .flower{height:41px}.ribbon{min-height:46px}.order{margin-bottom:5px}.garden{padding-top:5px}.forecast button{min-height:44px}}
