:root{font-family:"Hiragino Maru Gothic ProN","Hiragino Kaku Gothic ProN","Noto Sans JP",Meiryo,sans-serif;color:#47584e;background:#f8f7f2;font-synthesis:none;-webkit-tap-highlight-color:transparent}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none}body{user-select:none;-webkit-user-select:none}button{font:inherit;color:inherit;cursor:pointer;border:0;background:none;touch-action:manipulation}button:focus-visible,canvas:focus-visible{outline:3px solid #6d9d88;outline-offset:4px}button:active{transform:scale(.94)}svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}#garden{position:relative;width:100%;height:100%;height:100dvh;overflow:hidden;background:radial-gradient(ellipse at 14% 64%,#e9eee25c,transparent 45%),radial-gradient(ellipse at 86% 30%,#f3e7df60,transparent 45%),#f8f7f2}canvas{display:block;position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}header{position:absolute;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:calc(27px + env(safe-area-inset-top)) 34px 20px;pointer-events:none}.brand{display:flex;align-items:center;gap:11px}.brand>svg{width:29px;height:37px;color:#779b82;stroke-width:1.8}.brand h1{font-size:19px;letter-spacing:.15em;font-weight:600;margin:0 0 5px}.brand p{font-size:10px;letter-spacing:.2em;margin:0;color:#899286}nav{display:flex;gap:8px;pointer-events:auto}.icon-button{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#ffffff90;border:1px solid #e1e5da99;transition:background .2s,transform .2s}.icon-button:hover{background:#fff}.icon-button svg{width:20px;height:20px}#invitation{position:absolute;top:36%;left:0;right:0;text-align:center;pointer-events:none;transition:opacity .7s,transform 1s}.eyebrow{font-size:12px;letter-spacing:.22em;color:#8a9789}#invitation p{font-size:clamp(24px,3.2vw,39px);font-weight:500;letter-spacing:.13em;margin:16px 0 20px;color:#526454}#invitation .hint{font-size:12px;letter-spacing:.12em;color:#939b8d}.started #invitation{opacity:0;transform:translateY(-8px)}#touchHint{position:absolute;top:calc(108px + env(safe-area-inset-top));left:0;right:0;text-align:center;font-size:12px;letter-spacing:.11em;color:#8e9b8d;opacity:0;pointer-events:none;transition:opacity .8s}.started #touchHint.visible{opacity:1}footer{position:absolute;bottom:calc(25px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;max-width:calc(100% - 24px)}.palette{display:flex;align-items:center;gap:5px;padding:10px 14px 10px 9px;border:1px solid #fff;border-radius:44px;background:#fffffff0;box-shadow:0 5px 30px #405e4510;backdrop-filter:blur(12px)}.color{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:43px;height:43px;border-radius:50%;flex-shrink:0}.color>span{display:block;width:24px;height:24px;background:var(--swatch);border-radius:50%;transition:transform .2s;box-shadow:inset 0 -2px 1px #00000008}.color.selected>span{outline:1.5px solid var(--swatch,#8e9c88);outline-offset:5px}.color:hover>span{transform:scale(1.12)}.color.random{height:48px;width:62px}.random>span{width:23px;height:23px;background:conic-gradient(#ea896f,#e4b95c,#73aa96,#79a8cf,#aa91c6,#ea896f)}.color small{font-size:8px;letter-spacing:.03em;margin-top:3px;color:#8b9387}.divider{height:25px;width:1px;background:#e9ebe4;margin:0 4px}#pace{display:flex;align-items:center;gap:7px;background:#ffffffe0;border:1px solid #fff;border-radius:30px;padding:16px 19px;white-space:nowrap;box-shadow:0 5px 30px #405e450a;font-size:11px;color:#84917e}#pace svg{width:24px;height:22px}#pace[aria-pressed=true]{background:#e4eddf;border-color:#cfddc7;color:#5b7b52}#status{position:absolute;bottom:calc(113px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);font-size:11px;white-space:nowrap;color:#7f8f7d;pointer-events:none}dialog{border:1px solid #fff;background:#fafaf5;color:#47584e;border-radius:30px;padding:35px;max-width:410px;width:calc(100% - 32px);box-shadow:0 24px 100px #344a4320;max-height:calc(100dvh - 32px);overflow:auto}dialog::backdrop{background:#53624c35;backdrop-filter:blur(6px)}.close{position:absolute;right:15px;top:15px;width:36px;height:36px}.guide-kicker{font-size:10px;letter-spacing:.2em;color:#94a18b}dialog h2{font-size:21px;font-weight:500;margin:12px 0 30px}.guide-row{display:flex;gap:17px;align-items:center;margin:22px 0}.guide-mark{display:grid;place-items:center;flex-shrink:0;width:57px;height:57px;border-radius:20px;font-size:34px;background:#efeee5}.coral{color:#e58a72;background:#f5e9e0}.green{color:#76a18b;background:#e9eee2;font-size:27px}.purple{color:#a390bb;background:#ede8f2}dialog h3{font-size:14px;font-weight:600;margin:0 0 7px}dialog p{font-size:12px;line-height:1.9;margin:0;color:#899383}.guide-note{font-size:10px;line-height:1.8;margin-top:24px}.play-button{display:flex;align-items:center;justify-content:space-between;width:100%;background:#687e62;color:#fff;border-radius:16px;padding:15px 20px;font-size:14px;margin-top:23px}.play-button span{font-size:21px}@media(max-width:600px){header{padding:calc(19px + env(safe-area-inset-top)) 19px 14px}.brand{gap:8px}.brand h1{font-size:17px}.brand p{font-size:9px}.brand>svg{width:24px}nav{gap:5px}.icon-button{width:38px;height:38px}.icon-button svg{width:18px;height:18px}footer{gap:8px;bottom:calc(20px + env(safe-area-inset-bottom));flex-direction:column-reverse}.palette{padding:8px 12px 8px 7px;gap:3px}.color{width:38px;height:40px}.color.random{width:58px}.color>span{width:23px;height:23px}#pace{padding:6px 13px;font-size:10px;background:#f8f7f2cc;box-shadow:none;border-color:#e3e8dc}#pace svg{width:22px;height:20px}#invitation{top:35%}#invitation p{font-size:26px;letter-spacing:.06em}.eyebrow{font-size:11px}#invitation .hint{font-size:11px;letter-spacing:.03em}#touchHint{top:calc(95px + env(safe-area-inset-top));font-size:11px}#status{bottom:calc(139px + env(safe-area-inset-bottom))}}@media(max-height:470px){header{padding:12px 20px}.brand p{display:none}footer{flex-direction:row;bottom:12px}.palette{padding:4px 10px}.color.random{height:42px}#pace{padding:10px 15px}#invitation{top:28%}#invitation p{margin:9px 0 12px;font-size:26px}#touchHint{top:70px}#status{bottom:86px}}[hidden]{display:none!important}footer{flex-direction:column;gap:10px}.tools{display:flex;align-items:center;gap:12px}.motions{display:flex;align-items:center;gap:4px;background:#ffffffe0;border:1px solid #fff;border-radius:30px;padding:5px;box-shadow:0 4px 22px #405e4508;backdrop-filter:blur(12px)}.motions button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 15px;border-radius:23px;font-size:11px;white-space:nowrap;color:#8a9686;transition:background .2s,color .2s}.motions svg{width:21px;height:21px}.motions .chosen{color:#526d4d;background:#e9efdf}.golden{color:#c1a25d;background:#f4eedc}#status{bottom:calc(168px + env(safe-area-inset-bottom))}@media(max-width:600px){footer{flex-direction:column;gap:8px}.tools{gap:7px;flex-direction:column-reverse}.motions{padding:4px;gap:2px}.motions button{padding:7px 12px;font-size:10px;min-height:37px}.motions svg{width:19px;height:19px}#status{bottom:calc(192px + env(safe-area-inset-bottom))}#invitation{top:30%}dialog{padding:28px}.guide-row{margin:17px 0;gap:14px}.guide-mark{width:49px;height:49px}dialog h2{margin-bottom:22px}}@media(max-height:470px){footer{flex-direction:row;gap:10px;bottom:12px}.tools{flex-direction:row;gap:8px}.motions button{font-size:10px;padding:8px;gap:5px}.motions svg{width:18px;height:18px}#pace{padding:8px}#pace span{display:none}.palette{gap:1px;padding:4px 8px}.color{width:32px}.color.random{width:49px}.divider{margin:0 1px}.color>span{width:20px;height:20px}#status{bottom:83px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media(max-width:600px){.motions{width:100%;justify-content:center}.motions button{gap:4px;padding:7px 8px;min-height:44px}.motions svg{width:17px;height:17px}#status{font-size:10px;bottom:calc(203px + env(safe-area-inset-bottom))}}@media(max-width:350px){.motions button{padding:7px 6px;gap:3px;font-size:9px}.motions svg{width:15px;height:15px}}@media(max-height:470px) and (max-width:760px){footer{flex-direction:column;gap:5px}.tools{flex-direction:row}.motions button{min-height:32px;padding:5px 8px}#status{bottom:125px}}.world-switch{position:absolute;top:calc(27px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);display:flex;gap:3px;padding:5px;border-radius:28px;background:#ffffffe0;border:1px solid #fff;box-shadow:0 4px 25px #405e4508}.world-switch button{display:flex;gap:7px;align-items:center;justify-content:center;min-width:102px;min-height:42px;padding:9px 15px;border-radius:23px;font-size:12px;color:#8a9686}.world-switch svg{width:19px;height:19px}.world-switch .chosen{background:#e9efdf;color:#526d4d}#garden.plants{background:radial-gradient(ellipse at 20% 70%,#e4ecdc80,transparent 55%),radial-gradient(ellipse at 80% 20%,#f2e7de70,transparent 50%),#f8f8f0}.plants .world-switch .chosen{background:#dfebd5;color:#557248}.plants .motions .chosen{background:#e4edd8;color:#557248}@media(max-width:700px){.world-switch{top:calc(88px + env(safe-area-inset-top))}.world-switch button{min-width:100px;min-height:42px;padding:8px 14px;font-size:11px}#touchHint{top:calc(153px + env(safe-area-inset-top))}#invitation p{font-size:24px;letter-spacing:.03em}dialog{padding:23px}.guide-row{gap:11px}.guide-mark{width:40px;height:44px;font-size:27px}dialog h2{font-size:19px}.guide-row>div{flex:1;min-width:0}dialog p{font-size:11px}}@media(max-height:470px){.world-switch{top:12px}.world-switch button{min-width:86px;min-height:36px;padding:7px 10px;font-size:10px}#touchHint{top:76px}#invitation{top:27%}#invitation p{font-size:23px}}@media(max-width:600px){.plants #status{max-width:calc(100% - 30px);white-space:normal;text-align:center;line-height:1.6}}.copyright{position:absolute;right:10px;bottom:5px;font:8px/1.2 ui-sans-serif,system-ui,sans-serif;letter-spacing:.05em;color:#7d897b99;pointer-events:none}.water{color:#79aabe;background:#e5eef0}.plants #plantMotions{max-width:100%}@media(max-width:600px){#plantMotions button{flex:1;flex-direction:column;gap:3px;padding:6px 7px;min-width:51px;min-height:52px}#plantMotions svg{width:19px;height:19px}#plantMotions{width:100%}}.install-button{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:22px;padding:14px 18px;border:1px solid #cad8c4;border-radius:16px;background:#e7efe2;color:#56704f;font-size:13px}.install-button span:last-child{font-size:20px;font-weight:300}.install-help{margin-top:14px;font-size:10px;line-height:1.7;color:#8b9587}.copyright-notice{margin-top:20px;padding-top:17px;border-top:1px solid #e5e8df;font-size:9px;line-height:1.75;color:#92998d}@media(max-width:600px){.copyright{right:7px;bottom:4px;font-size:7px}}