@font-face{font-family:Bricolage;src:url("../../fonts/bricolage.woff2") format("woff2");font-weight:200 800;font-display:swap}
@font-face{font-family:Nunito;src:url("../../fonts/nunito.woff2") format("woff2");font-weight:300 900;font-display:swap}
:root{color-scheme:light;--ink:#333e31;--green:#204e42;--cream:#fffaf0;--edge:#dbd1b9;font-family:Nunito,system-ui,sans-serif;color:var(--ink);background:#faf6ea;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 12% 38%,#eeeecf70,transparent 47%),radial-gradient(ellipse at 95% 70%,#ffe4bf6b,transparent 40%)}
button,a{font:inherit;touch-action:manipulation}
button{color:inherit;cursor:pointer}
button:focus-visible,a:focus-visible{outline:3px solid #185a93;outline-offset:3px}
[hidden]{display:none!important}
.mast{border-bottom:1px solid #ded5c2;background:#fffaf0}
.mast-inner{width:min(1060px,94%);margin:auto;height:64px;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center}.brand img{width:128px;height:auto;display:block}
.mast-links,.game-tools,.level-sign,.pieces,.kit,.tray,.helper,.action{display:flex;align-items:center}
.mast-links{gap:20px}.mast a{color:var(--green);font-weight:850;text-decoration:none}.mast a:hover{text-decoration:underline}
.mast-links a{min-height:44px;display:inline-flex;align-items:center;gap:6px}.mast-links a>span:first-child{font-size:1.55rem}
.language,.icon-button{border:1px solid var(--edge);background:#fffaf0;border-radius:12px;min-width:44px;height:44px;font-weight:850}
main{width:min(940px,94%);margin:0 auto 30px}
.intro{text-align:center;padding:clamp(12px,2.4vh,24px) 0 clamp(12px,1.9vh,20px)}
h1,h2,h3,p{margin:0}
h1,h2,h3,.action{font-family:Bricolage,Nunito,system-ui,sans-serif}
h1{font-size:clamp(2.2rem,4.2vw,3.8rem);letter-spacing:-.055em;font-weight:800;line-height:1.05;color:#244c3c}
.intro p{font-size:clamp(.98rem,1.6vw,1.13rem);margin-top:5px;font-weight:700}
.game{background:var(--cream);border:1px solid #d6cbb2;border-radius:24px;padding:0 12px;box-shadow:0 6px 0 #dccbac70,0 12px 35px #493b2511;overflow:hidden}
.game-bar{min-height:61px;padding:7px 10px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.level-sign{gap:14px}.chapter{color:#68462e;font-size:.81rem;font-weight:900;background:#f3e7d0;padding:5px 11px;border-radius:100px;white-space:nowrap;letter-spacing:.025em}
h2{font-size:clamp(1.05rem,2.25vw,1.55rem);line-height:1.1;letter-spacing:-.035em;color:#364f3b}
.game-tools{gap:18px}.trail{display:flex;gap:5px}.trail i{width:8px;height:8px;border-radius:50%;background:#cfc9b7}.trail i.past{background:#618865}.trail i.here{width:17px;border-radius:5px;background:#a34135}
.icon-button{display:grid;place-items:center}.icon-button svg{width:20px}
.scene{--inset:5%;--columns:3;position:relative;isolation:isolate;overflow:hidden;width:100%;height:clamp(245px,33vw,340px);background:#b3d9cc url("meadow.webp") center 56%/cover;border-radius:15px;border:1px solid #829976}
.scene::before{content:"";position:absolute;inset:0;background:#526d801a;opacity:0;transition:opacity .35s}
.game[data-phase=rain] .scene::before{opacity:1}
.sky{position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .25s}
.game[data-phase=rain] .sky{opacity:1}
.sky i{position:absolute;top:-16%;width:43%;height:28%;border-radius:50%;background:#9eafba;box-shadow:22px 4px 0 #b0bec7,-28px 2px 0 #a7b8c2}
.sky i:nth-child(2){left:32%;top:-19%}.sky i:nth-child(3){right:-2%;top:-16%}
.field,.canopies,.forecast{position:absolute;left:var(--inset);right:var(--inset)}
.field{inset-block:0;display:grid;grid-template-columns:repeat(var(--columns),1fr)}
.slot{position:relative;border:0;background:none;padding:0;min-width:0;isolation:isolate}
.slot:focus-visible{outline-offset:-4px;border-radius:9px}
.slot::after{content:"";position:absolute;left:4%;right:4%;bottom:7.5%;height:6%;border-radius:50%;background:#65532a49;border:2px solid #fff3ae80;z-index:-1}
.slot .prop{position:absolute;bottom:10%;left:50%;transform:translateX(-50%);width:min(80%,125px);height:34%;object-fit:contain;object-position:center bottom;pointer-events:none;filter:drop-shadow(0 3px 1px #5941234d);transition:transform .35s}
.slot[data-item=seed] .prop{width:min(64%,85px);height:26%}
.slot.good[data-item=seed] .prop{transform:translateX(-50%) scale(1.18);transform-origin:center bottom}
.slot .peg{position:absolute;left:0;top:48%;height:39%;width:clamp(4px,.75vw,8px);transform:translateX(-50%);border-radius:4px;background:linear-gradient(90deg,#845738,#bf905c 42%,#9f7047);box-shadow:1px 2px 0 #51462e40;pointer-events:none}
.slot:last-child .peg.end{left:100%}
.slot .peg::before{content:"";position:absolute;top:-3px;left:-2px;right:-2px;height:7px;background:#f4c989;border:1px solid #805934;border-radius:4px}
.slot .result{position:absolute;bottom:1.7%;left:50%;transform:translateX(-50%);display:grid;place-items:center;width:25px;height:25px;border:2px solid #fff9e6;border-radius:50%;font-weight:900;line-height:1;background:#315d46;color:white;box-shadow:0 1px 4px #55452d55}
.slot.wrong[data-item=seed] .prop{transform:translateX(-50%) rotate(-12deg) scale(.92);transform-origin:center bottom}
.slot.wrong[data-item=basket]::before{content:"";position:absolute;z-index:2;bottom:15%;left:55%;width:11px;height:11px;border:1px solid #33789f;border-radius:60% 4% 60% 60%;background:#a8e4f6;transform:rotate(-42deg)}
.slot.wrong .result{background:#a34532}
.slot .shower{position:absolute;top:2%;left:5%;width:90%;height:80%;background-image:radial-gradient(ellipse 2px 6px at 25% 35%,#eaffff 30%,#3e8cba 67%,transparent 90%),radial-gradient(ellipse 1.5px 4px at 75% 85%,#d1f6ff 35%,#549dc7 70%,transparent 98%);background-size:31px 36px;opacity:0;pointer-events:none;mask-image:linear-gradient(transparent,#000 6%,#000 97%,transparent)}
.slot.covered .shower{height:45%}
.game[data-phase=rain] .shower{opacity:.83;animation:shower .32s linear infinite}
@keyframes shower{to{background-position:0 36px}}
.canopies{inset-block:0;pointer-events:none;z-index:2}
.roof,.forecast{position:absolute;top:44%;height:12%;border-radius:12px 12px 4px 4px}
.roof{--fabric:#bc4f3c;--light:#f6cb9d;background-color:var(--light);background-image:repeating-linear-gradient(90deg,transparent 0 10px,var(--fabric) 10px 19px),linear-gradient(180deg,#ffffff7a,transparent 50%,#65402963);background-blend-mode:multiply,normal;border:2px solid #784c34;box-shadow:0 3px 0 #67472e40;transform:skewX(-3deg);transform-origin:50% 100%}
.roof::before{content:"";position:absolute;left:-2px;right:-2px;bottom:-6px;height:32%;border-radius:0 0 6px 6px;background:repeating-linear-gradient(90deg,var(--light) 0 10px,var(--fabric) 10px 19px);border:2px solid #784c34}
.fabric-1{--fabric:#35786a;--light:#c2dba9}.fabric-2{--fabric:#d18e2d;--light:#ffe4a3}
.forecast{right:auto;pointer-events:none;z-index:3;opacity:.92;border:3px dashed #fff8cc;box-shadow:0 0 0 2px #386852;background:#fff9b44a}
.forecast.blocked{border-color:#ffedcf;box-shadow:0 0 0 2px #af4a35;background:#cb513e5c}
.tray{justify-content:space-between;gap:12px;padding:14px 10px 12px;flex-wrap:wrap}
.kit{gap:15px;flex-wrap:wrap}.kit h3{color:#514e3c;font-size:1rem}
.pieces{gap:6px}.piece{border-radius:11px;border:2px solid #c8c0aa;background:#fff9ed;padding:5px 9px;min-width:47px;height:46px;display:grid;place-items:center;touch-action:none}
.piece[aria-pressed=true]{border-color:#275c4c;box-shadow:0 0 0 2px #5a907648;background:#eaf1de}
.sample{position:relative;display:flex;height:19px;border:1px solid #845941;border-radius:5px 5px 2px 2px;overflow:hidden;background:var(--light,#f6cb9d);pointer-events:none}
.sample i{display:block;width:17px;border-right:1px dashed #59452e99;background:repeating-linear-gradient(90deg,transparent 0 4px,var(--fabric,#bc4f3c) 4px 8px)}.sample i:last-child{border:0}
.action{justify-content:center;gap:8px;min-height:46px;border:0;border-radius:13px;background:#245849;color:#fffaf0;font-weight:800;font-size:1.04rem;padding:9px 22px;box-shadow:0 3px 0 #163c33}
.action:hover{background:#306b58}.action:disabled{background:#dedfd1;color:#575c50;box-shadow:0 2px 0 #c6c7ba;cursor:default}
#action-icon{font-family:system-ui,sans-serif;font-size:1.35rem;line-height:1}
.helper{gap:12px;padding:9px 10px 11px;border-top:1px dashed #c9c4ae;min-height:64px}
.helper img{display:block;width:44px;height:44px;object-fit:cover;border-radius:50%;border:1px solid #d9cdb5;background:#fff}
.helper p{font-weight:750;font-size:.99rem;line-height:1.32}
.ending{text-align:center;padding:0 0 22px}.ending>img{display:block;width:100%;max-height:42vh;object-fit:cover;border-radius:13px}
.ending h2{font-size:2rem;margin:14px 0 4px}.ending .action{margin:14px auto 0}
.game:fullscreen,.game.expanded{width:100%;height:100%;max-width:none;overflow:auto;background:var(--cream);border-radius:0;padding:max(8px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}
.game.expanded{position:fixed;inset:0;z-index:10}
.game:is(:fullscreen,.expanded) .scene{height:clamp(170px,calc(100dvh - 228px),74vh)}
@media(max-width:620px){
  .mast-inner{height:52px}.brand img{width:104px}.language{height:40px}.mast-links{gap:13px}
  main{width:96%}.intro{padding:14px 3px 12px}.intro p{line-height:1.2}
  .game{border-radius:18px;padding:0 6px}.game-bar{min-height:54px;padding:5px 3px}
  .level-sign{gap:7px}.chapter{font-size:.75rem;padding:5px 7px}.game-tools{gap:9px}.trail{gap:3px}.trail i{width:6px;height:6px}.trail i.here{width:11px}
  .scene{height:clamp(224px,59vw,300px);--inset:2%}
  .tray{padding:10px 3px;gap:8px}.kit{gap:4px;display:grid}.kit h3{font-size:.82rem}
  .action{font-size:.98rem;padding:8px 12px}.helper{padding:7px 3px;gap:8px}.helper p{font-size:.92rem}.helper img{width:39px;height:39px}
}
@media(max-width:375px){.trail{display:none}.piece{padding:3px;min-width:40px}.sample i{width:14px}.pieces{gap:4px}.action{padding:7px 9px}}
@media(max-height:500px) and (orientation:landscape){
  .mast-inner{height:44px}.intro{padding:7px 0}h1{font-size:1.9rem}.intro p{font-size:.9rem}.scene{height:max(165px,48vh)}.game-bar{min-height:41px}.tray,.helper{padding-block:5px}.helper{min-height:40px}.helper img{width:32px;height:32px}.game:is(:fullscreen,.expanded) .scene{height:calc(100dvh - 163px)}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:0s!important;transition-duration:0s!important}}
