/* Panen Ceria: one continuous garden scene, built on PlayUI. */
.harvest-option{margin-top:20px;background:#fff3de;border-color:#efd6ae}
.harvest-home-preview{background:#fff7e8}.harvest-home-preview>.harvest-basket-art{width:145px;height:140px;margin:auto}
.harvest-fruit{width:100%;height:100%;display:block}
.harvest-basket-art{position:relative;width:200px;max-width:100%;height:175px;margin:auto}
.harvest-basket-art>svg{position:absolute;bottom:0;left:0;width:100%;height:80%}
.basket-produce{position:absolute;top:0;left:12%;width:76%;height:48%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:0}
.basket-produce>.harvest-fruit{width:100%;height:100%;min-width:0;min-height:0}
.basket-label{position:absolute;bottom:4%;left:35%;width:30%;height:39%;background:#fff0ce;border-radius:50%;padding:3px}
.harvest-screen{height:100cqh;min-height:0;overflow:hidden;display:flex;flex-direction:column;background:#fbf8ec}
.harvest-main{flex:1;min-height:0;width:100%;max-width:1000px;margin:0 auto;padding:12px 24px 24px;overflow-y:auto;overscroll-behavior:contain;text-align:center;scroll-padding:14px}
.harvest-main h1{font-size:clamp(23px,3.7cqw,32px);line-height:1.2;margin:2px 0 14px;font-weight:900;color:#294e40}
.harvest-main>.ui-instruction{max-width:650px;margin:0 auto 20px}
.harvest-main>.ui-action-bar{max-width:430px;margin:auto}
.harvest-crop-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:22px auto;max-width:860px}
.harvest-crop-card{flex-direction:column;min-width:0;gap:10px}
.harvest-crop-card>.harvest-fruit{width:100%;height:120px;max-width:130px}
.harvest-crop-card>span{font-size:19px}
.harvest-crop-card small{font-size:12px;font-weight:600;color:#718264}
.harvest-crop-card:disabled{background:#eef0e4!important;color:#809071!important;box-shadow:none!important}
.harvest-mystery{height:115px;display:grid;place-items:center;font-size:65px!important;font-weight:900;color:#a0ae91}
.harvest-mission-main{display:flex;flex-direction:column;overflow:hidden;padding-bottom:16px}
.harvest-route{flex-shrink:0;margin-bottom:14px}
.harvest-play-layout{flex:1;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) 300px;gap:12px}
.harvest-scene{display:flex;flex-direction:column;align-items:stretch;justify-content:center;min-height:0;min-width:0;width:100%;max-width:550px;margin:auto;height:100%}
.harvest-growing{position:relative;isolation:isolate;overflow:hidden;flex:1;min-height:145px;max-height:340px;width:100%;border:4px solid white;border-radius:28px;background:linear-gradient(#e0f1ed 0 61%,#cee2a7 61% 83%,#ad825a 83%);box-shadow:0 4px 0 #e1e4c9}
.harvest-growing:after{content:'';position:absolute;bottom:12%;left:0;right:0;height:12%;background:#96ba6f;opacity:.4;z-index:-1}
.harvest-sun{position:absolute;top:6px;right:8px;width:34px;height:34px}.harvest-sun svg{width:100%;height:100%}
.harvest-pot-trigger{position:absolute;left:10%;bottom:5%;width:80%;height:90%;border:0;background:transparent;padding:0;outline:none;display:flex;align-items:flex-end;justify-content:center;touch-action:manipulation;cursor:pointer}
.harvest-pot-trigger:disabled{cursor:default;pointer-events:none}
.harvest-pot-trigger:not(:disabled):hover .harvest-sprout{filter:drop-shadow(0 0 8px rgba(100,180,220,.5))}
.harvest-pot-trigger:not(:disabled):active .harvest-sprout,.is-watering .harvest-sprout{animation:harvest-pot-bounce .45s ease-out}
.harvest-sprout{position:relative;width:100%;height:100%;transform-origin:50% 93%;transform:scale(.32);transition:transform 1s cubic-bezier(.22,.7,.25,1)}
.harvest-sprout>svg{width:100%;height:100%}
.stage-1 .harvest-sprout{transform:scale(.52)}.stage-2 .harvest-sprout{transform:scale(.75)}.stage-3 .harvest-sprout{transform:scale(1)}
.harvest-pot-tap{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);width:48px;height:48px;display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:4;animation:harvest-pot-tap-tap 1.8s ease-in-out infinite}
.pot-tap-hand{position:relative;font-size:28px;line-height:1;color:#fff;filter:drop-shadow(0 2px 3px rgba(0,0,0,.35))}
.pot-tap-ring{position:absolute;top:2px;left:50%;width:26px;height:26px;margin-left:-13px;border-radius:50%;border:2.5px solid #58bba0;background:rgba(88,187,160,.2);pointer-events:none;animation:harvest-tap-ring-pulse 1.8s ease-out infinite}
@keyframes harvest-pot-tap-tap{0%,100%{transform:translateX(-50%) translateY(0) scale(1)}18%{transform:translateX(-50%) translateY(-6px) scale(1.06)}36%{transform:translateX(-50%) translateY(3px) scale(0.92)}50%{transform:translateX(-50%) translateY(-2px) scale(1)}64%{transform:translateX(-50%) translateY(3px) scale(0.92)}80%{transform:translateX(-50%) translateY(0) scale(1)}}
@keyframes harvest-tap-ring-pulse{0%,30%{opacity:0;transform:scale(0.3)}36%{opacity:.95;transform:scale(0.4)}52%{opacity:0;transform:scale(1.45)}64%{opacity:.95;transform:scale(0.4)}80%{opacity:0;transform:scale(1.45)}100%{opacity:0;transform:scale(1.45)}}
@keyframes harvest-pot-bounce{0%{transform:scale(1)}35%{transform:scale(1.12,.88)}70%{transform:scale(.95,1.06)}100%{transform:scale(1)}}
.harvest-root{transition:fill 1s}.stage-3 .harvest-root{fill:#efa24c}
.harvest-scene-label{position:absolute;bottom:8px;left:13px;font-size:12px;font-weight:800;color:#fff9ed;letter-spacing:.3px}
.harvest-field{position:absolute;left:50%;top:12%;transform:translateX(-50%) scale(.75);width:86%;max-width:340px;height:65%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));align-items:center;justify-items:center;gap:5px 10px;opacity:0;transition:opacity .5s ease .3s,transform .7s ease .15s}
.stage-3 .harvest-field{opacity:1;transform:translateX(-50%) scale(1)}
.harvest-pick{position:relative;width:100%;height:100%;max-width:72px;max-height:78px;min-width:44px;min-height:44px;padding:2px;border:2px solid transparent;border-radius:50%;background:#fffdf01c;touch-action:manipulation;transition:transform 120ms ease,background 120ms ease;cursor:pointer}
.harvest-pick:before{content:'';position:absolute;width:3px;height:10px;left:50%;top:-7px;border-radius:3px;background:#609155}
.harvest-pick:not(:disabled):hover{background:#ffffff80;border-color:#fff7d4}
.harvest-pick:not(:disabled):active{transform:scale(.88)}
.harvest-pick:disabled{opacity:1;cursor:default}
.harvest-pick.picked{border:2px dashed #72955855;background:#eef5d455}
.harvest-pick.picked>.harvest-fruit{opacity:0}.harvest-pick.picked:before{opacity:.35}
.harvest-pick b{position:absolute;inset:0;display:grid;place-items:center;font-size:19px;color:#4f8046}.harvest-pick b[hidden]{display:none}
.harvest-mission-main[data-phase="water"] .harvest-field,.harvest-mission-main[data-phase="grown"] .harvest-field{pointer-events:none}
.harvest-pour-scene{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:0;transition:opacity .3s ease}
.harvest-mission-main[data-phase="water"] .harvest-pour-scene,.harvest-mission-main[data-phase="grown"] .harvest-pour-scene{opacity:1}
.harvest-can{transform-origin:74px 75px;transform:rotate(-8deg);transition:transform .35s ease}
.is-watering .harvest-can{transform:rotate(10deg)}
.harvest-water-stream{opacity:0;stroke-dasharray:4 12;transition:opacity .15s ease}
.is-watering .harvest-water-stream{opacity:.95;animation:harvest-flow .55s linear infinite}
.harvest-water-stream path:nth-child(2){stroke-dasharray:7 12}.harvest-water-stream path:nth-child(3){stroke-width:3}
.harvest-splash{opacity:0;transform-origin:220px 214px}.is-watering .harvest-splash{animation:harvest-splash .6s ease-in-out infinite .15s}
.harvest-dock{display:flex;flex-shrink:0;align-items:center;justify-content:center;gap:16px;height:95px;padding:8px 20px;background:#f1ead4;border-radius:0 0 25px 25px;margin:3px 16px 0}
.harvest-small-basket{width:105px;flex-shrink:0}.harvest-small-basket .harvest-basket-art{width:105px;height:80px}
.harvest-dock-copy{text-align:left;font-size:13px;line-height:1.4}.harvest-dock-copy strong,.harvest-dock-copy span{display:block}.harvest-dock-copy span{font-size:12px;color:#71805e;margin-top:3px}
.harvest-panel{min-width:0;min-height:0;height:100%;display:flex;flex-direction:column;justify-content:center;max-width:440px;width:100%;margin:auto}
.harvest-panel>div{width:100%;height:100%;display:flex;flex-direction:column}
.harvest-panel .ui-action-bar{margin-top:auto}
.harvest-water-steps,.harvest-count-dots{display:flex;justify-content:center;gap:9px;margin:12px 0 0}
.harvest-water-steps span,.harvest-count-dots span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e6ecd9;color:#a0ad92;font-size:13px;border:1px solid #d4dfc5}
.harvest-water-steps .done,.harvest-count-dots .done{background:#d7eaca;color:#4f7841;border-color:#a9c693}
.harvest-water-steps .icon,.harvest-count-dots .icon{width:19px;height:19px}
.harvest-water-caption{margin:8px 0 0;font-size:13px;color:#6c7a59;min-height:18px}
.harvest-tally{margin:8px 0 0;font-size:16px;color:#718061;line-height:1.1}.harvest-tally strong{font-size:42px;color:#3d764b;font-weight:900}
.harvest-action-hint{font-size:13px;margin:0;min-height:50px;display:grid;place-items:center;color:#718061}
.harvest-basket-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 0}
.harvest-sort{flex-direction:column;gap:5px!important;padding:8px!important;min-width:0}
.harvest-sort>.harvest-basket-art{width:105px;height:87px}
.harvest-sort>span{font-size:16px}
.harvest-sort.matched{background:#e4f3d9!important;border-color:#83b56a!important;box-shadow:0 4px 0 #b9d5a2!important}
.harvest-sort.hint-target{outline:3px dashed #d4ad60;outline-offset:3px}
.harvest-feedback{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.harvest-recount-field{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px auto;max-width:550px}
.harvest-recount{flex-direction:column}.harvest-recount>.harvest-fruit{width:85px;height:85px}
.harvest-recount.counted{background:#e3f0d6!important;border-color:#8fbb74!important}
.harvest-collection-main{display:flex;flex-direction:column;overflow:hidden}
.harvest-new-reward{flex-shrink:0;margin-bottom:8px}.harvest-new-reward .harvest-basket-art{width:120px;height:106px}
.harvest-collection{flex:1;min-height:0;width:100%;overflow-y:auto;overscroll-behavior:contain;align-content:start;grid-auto-rows:minmax(190px,auto);padding:5px;scroll-padding:8px}
.harvest-crop-card>*{flex-shrink:0}
.harvest-collection .harvest-basket-art{width:130px;height:115px}
.harvest-collection-note{font-size:14px;margin:0;color:#718061}
.harvest-collection-main>.ui-action-bar{flex-shrink:0;width:100%;max-width:500px}
.harvest-summary{background:#fff1d9}.harvest-screen.is-paused *{animation-play-state:paused!important}
@keyframes harvest-flow{to{stroke-dashoffset:-32}}
@keyframes harvest-splash{0%,100%{opacity:.2;transform:scale(.7)}50%{opacity:1;transform:scale(1.15)}}
@container kp-stage (max-width:600px){
 .harvest-main{padding:8px 16px 18px}.harvest-main h1{font-size:25px;margin:3px 0 12px}
 .harvest-crop-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:16px auto}
 .harvest-crop-card{padding:12px!important}.harvest-crop-card>.harvest-fruit{height:92px}.harvest-crop-card>span{font-size:17px}
 .harvest-collection .harvest-basket-art{height:100px}.harvest-crop-card small{font-size:11px}
 .harvest-new-reward .ui-success-large{gap:10px;padding:12px}.harvest-new-reward .ui-success-art{width:95px}.harvest-new-reward .harvest-basket-art{width:95px;height:87px}.harvest-new-reward .ui-success strong{font-size:21px}
}
@container kp-stage (max-width:600px) and (max-height:720px){
 .harvest-main h1{font-size:22px;margin-bottom:9px}.harvest-route{margin-bottom:8px}
 .harvest-play-layout{gap:9px;grid-template-rows:minmax(0,1fr) 250px}.harvest-growing{min-height:137px}
 .harvest-dock{height:64px;margin-left:10px;margin-right:10px;padding:5px 12px;gap:10px}
 .harvest-small-basket,.harvest-small-basket .harvest-basket-art{width:76px}.harvest-small-basket .harvest-basket-art{height:58px}
 .harvest-dock-copy{font-size:12px}.harvest-dock-copy span{font-size:11px}
 .harvest-tally strong{font-size:32px}.harvest-water-steps,.harvest-count-dots{margin-top:8px}
 .harvest-water-steps span,.harvest-count-dots span{width:26px;height:26px}
 .harvest-panel .ui-action-bar{padding-top:8px}.harvest-action-hint{min-height:35px}
 .harvest-sort>.harvest-basket-art{height:56px;width:73px}.harvest-sort>span{font-size:14px}
 .harvest-basket-options{margin-top:8px}.harvest-field{top:8%;height:71%;gap:2px 8px}
}
@container kp-stage (min-width:900px) or ((min-width:600px) and (max-height:500px)){
 .harvest-play-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:28px;align-items:center}
 .harvest-scene{max-height:440px}.harvest-panel{align-self:center}
 .harvest-main h1{margin-bottom:12px}.harvest-route{margin-bottom:20px}
}
@container kp-stage (max-height:500px) and (min-width:600px){
 .harvest-main{padding:3px 18px 12px}.harvest-main h1{font-size:22px;margin:0 0 6px}
 .harvest-route{margin-bottom:6px}.harvest-play-layout{gap:22px}
 .harvest-growing{min-height:130px;border-width:3px;border-radius:22px}.harvest-sun{width:36px;height:36px;top:6px;right:10px}
 .harvest-dock{height:54px;padding:3px 8px;margin-left:9px;margin-right:9px;gap:10px}
 .harvest-small-basket,.harvest-small-basket .harvest-basket-art{width:69px}.harvest-small-basket .harvest-basket-art{height:51px}
 .harvest-dock-copy{font-size:11px}.harvest-dock-copy span{font-size:10px}
 .harvest-field{width:86%;height:73%;top:6%;gap:1px 12px}
 .harvest-water-steps,.harvest-count-dots{margin-top:7px;gap:7px}.harvest-water-steps span,.harvest-count-dots span{width:24px;height:24px}
 .harvest-water-caption{font-size:11px;margin-top:5px}.harvest-tally{margin-top:5px}.harvest-tally strong{font-size:29px}
 .harvest-action-hint{min-height:24px;font-size:11px}
 .harvest-sort>.harvest-basket-art{height:55px;width:72px}.harvest-sort{padding:5px!important;gap:2px!important}.harvest-sort>span{font-size:13px}
 .harvest-basket-options{margin-top:6px;gap:10px}.harvest-feedback{font-size:11px;margin-top:4px}
 .harvest-collection-main{display:grid;grid-template-columns:1fr 1.2fr;grid-template-rows:auto minmax(0,1fr) auto;gap:6px 22px}
 .harvest-collection-main h1{grid-column:1}.harvest-collection-main .harvest-collection{grid-column:2;grid-row:1/4;grid-template-columns:1fr 1fr;height:100%;margin:0}
 .harvest-new-reward,.harvest-collection-note{grid-column:1;align-self:center}
 .harvest-new-reward .ui-success-large{padding:8px;gap:8px}.harvest-new-reward .ui-success-art{width:74px}.harvest-new-reward .harvest-basket-art{width:74px;height:64px}.harvest-new-reward .ui-success strong{font-size:18px}.harvest-new-reward .ui-success p{font-size:11px}
 .harvest-collection-main>.ui-action-bar{grid-column:1;grid-row:3;gap:8px;padding:4px 3px}
}
@media(prefers-reduced-motion:reduce){.harvest-screen *{animation:none!important;transition:none!important}.is-watering .harvest-splash{opacity:1}}
.harvest-mission-main:not([data-phase="water"]):not([data-phase="grown"]) .harvest-pour-scene{visibility:hidden}
.harvest-mission-main:not([data-phase="water"]):not([data-phase="grown"]) .harvest-sprout{transition:none;transform:scale(1)}
.harvest-mission-main:not([data-phase="water"]):not([data-phase="grown"]) .harvest-field{transition:none;opacity:1;transform:translateX(-50%) scale(1)}
.harvest-branches{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.harvest-growing[data-crop="carrot"]{background:linear-gradient(#e0f1ed 0 45%,#cee2a7 45% 56%,#bf956d 56%)}
.harvest-growing[data-crop="carrot"] .harvest-field{top:40%;height:53%}
.harvest-growing[data-crop="carrot"] .harvest-pick:before{display:none}
.harvest-growing[data-crop="carrot"] .harvest-sprout{transition:transform 1s cubic-bezier(.22,.7,.25,1),opacity .4s ease .3s}
.harvest-growing[data-crop="carrot"].stage-3 .harvest-sprout{opacity:0}
@container kp-stage (max-width:360px){.harvest-main h1{font-size:20px}}
@container kp-stage (min-width:900px) and (min-height:501px){.harvest-panel{height:440px}}
