@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--cream:#f5eee3;--ink:#263c39;--green:#43765b}*{box-sizing:border-box}
html,body{height:100%;margin:0;overflow:hidden;overscroll-behavior:none}body{font-family:Manrope,system-ui,sans-serif;background:#101923;color:var(--cream);touch-action:none;-webkit-user-select:none;user-select:none}button,a{font:inherit;-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #cddcba;outline-offset:3px}
.walk-game{position:fixed;inset:0;overflow:hidden}#walkCanvas{display:block;width:100%;height:100%;touch-action:none}
.walk-hud{position:absolute;z-index:5;left:0;right:0;top:0;display:flex;align-items:center;gap:10px;padding:calc(env(safe-area-inset-top) + 10px) max(14px,env(safe-area-inset-right)) 9px max(14px,env(safe-area-inset-left));background:linear-gradient(180deg,#13212adf,#13212a00);height:calc(76px + env(safe-area-inset-top));pointer-events:none}
.walk-hud>*{pointer-events:auto}.walk-brand{text-decoration:none;color:#f4eddf;font-size:18px;letter-spacing:-.08em;font-weight:800;text-shadow:0 2px 8px #0009}.walk-brand span{color:#e4a9a5}.walk-resources{margin-left:auto;display:flex;gap:6px;align-items:center}.walk-resources span{font-size:11px;color:#e9e3d6;font-weight:800;background:#243b43c7;border:1px solid #ffffff22;border-radius:100px;padding:7px 9px;white-space:nowrap}
.tiny{border:1px solid #ffffff40;border-radius:20px;color:#ece3d2;background:#294348b8;font-size:11px;font-weight:800;padding:7px 10px;white-space:nowrap}.tiny:active{transform:scale(.96)}
.location-label{position:absolute;left:17px;top:calc(72px + env(safe-area-inset-top));color:#f9e9d0b5;letter-spacing:.2em;font-size:10px;font-weight:800;text-shadow:0 2px 7px #0009;pointer-events:none}
.walk-tip{position:absolute;left:50%;top:calc(88px + env(safe-area-inset-top));transform:translateX(-50%);width:max-content;max-width:75vw;border-radius:14px;padding:8px 13px;background:#1a2f33d9;color:#f5e9d3;font-size:12px;font-weight:700;text-align:center;pointer-events:none;opacity:0;transition:opacity .3s}.walk-tip.show{opacity:1}.walk-tip[hidden]{display:none}
.walk-guide{position:absolute;bottom:calc(13px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);font-size:10px;color:#f3e9d3ad;text-align:center;white-space:nowrap;text-shadow:0 2px 5px #000a;pointer-events:none}
.walk-pad{position:absolute;left:max(22px,env(safe-area-inset-left));bottom:calc(40px + env(safe-area-inset-bottom));width:118px;height:118px;border:2px solid #fff5df75;border-radius:50%;background:#1c343f75;box-shadow:inset 0 1px 20px #f6f4d312;touch-action:none}
.walk-pad-knob{position:absolute;left:50%;top:50%;width:54px;height:54px;border-radius:50%;transform:translate(-50%,-50%);background:#e5e8d6b0;box-shadow:0 4px 12px #0005;pointer-events:none;transition:background .15s}
.walk-action{position:absolute;right:max(17px,env(safe-area-inset-right));bottom:calc(64px + env(safe-area-inset-bottom));min-width:132px;max-width:48%;min-height:58px;padding:12px 15px;border:2px solid #fcf1d8;border-radius:18px;background:#e5efcf;color:#335945;font-size:12px;font-weight:800;line-height:1.25;box-shadow:0 6px 0 #5a7752,0 12px 18px #0007;touch-action:manipulation}.walk-action:active{transform:translateY(5px);box-shadow:0 1px 0 #5a7752}.walk-action[hidden]{display:none}
.walk-game.crafting .walk-pad,.walk-game.crafting .walk-action,.walk-game.crafting .walk-guide,.walk-game.crafting .location-label,.walk-game.crafting .walk-hud .tiny{display:none}
.craft-panel{position:absolute;z-index:9;left:50%;bottom:calc(10px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(510px,calc(100vw - 18px));display:flex;flex-direction:column;gap:9px;padding:13px 14px 14px;border:1px solid #fff4dd;border-radius:23px;background:#f4ecdeef;color:#29483d;box-shadow:0 14px 50px #050a0aaf;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);touch-action:manipulation}.craft-panel[hidden]{display:none}
.craft-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.craft-heading span{display:block;font-size:9px;letter-spacing:.17em;font-weight:800;color:#a17f6e}.craft-heading h2{margin:3px 0 0;font-size:clamp(17px,4.8vw,22px);line-height:1.15;letter-spacing:-.04em}.craft-close{width:39px;height:39px;flex:none;border:0;border-radius:50%;background:#e1dbcf;color:#4a6357;font-size:24px}.craft-hint{margin:0;color:#5d7466;font-size:12px;font-weight:700;min-height:17px}.craft-stems{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.craft-stem{min-width:0;min-height:105px;padding:5px 4px 7px;display:flex;flex-direction:column;align-items:center;gap:3px;border:2px solid #d8d3c5;border-radius:15px;background:#fffdf7;color:#335844}.craft-stem:active:not(:disabled){transform:scale(.97)}.craft-stem:disabled{opacity:.45}.craft-stem img{width:100%;height:58px;object-fit:contain;border-radius:9px;background:#eae5d8}.craft-stem strong{font-size:11px;line-height:1.1}.craft-stem small{font-size:10px;color:#7b8d7c}.craft-controls{display:flex;gap:8px}.craft-controls button{height:48px;border:0;border-radius:13px;font-size:13px;font-weight:800}.craft-undo{flex:0 0 35%;background:#e0e4d9;color:#4c6557}.craft-finish{flex:1;background:#47765b;color:white;box-shadow:0 3px 0 #315743}.craft-controls button:disabled{opacity:.45;box-shadow:none}
.craft-editor[hidden]{display:none}.craft-panel:has(.craft-editor:not([hidden])) .craft-stem{min-height:50px;flex-direction:row;padding:4px;gap:5px}.craft-panel:has(.craft-editor:not([hidden])) .craft-stem img{width:38px;height:38px;flex:none}.craft-panel:has(.craft-editor:not([hidden])) .craft-stem strong{font-size:10px}.craft-panel:has(.craft-editor:not([hidden])) .craft-stem small{display:none}
.craft-editor{border-radius:15px;background:#dfddcfbd;padding:7px 9px 9px}.craft-edit-head{height:27px;display:flex;align-items:center;gap:7px}.craft-edit-head button{width:27px;height:27px;border:0;border-radius:9px;background:#fff8e9;color:#325744;font-size:23px;line-height:1;touch-action:manipulation}.craft-edit-head strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:140px}.craft-edit-head span{font-size:9px;letter-spacing:.06em;color:#887a6c;font-weight:800;margin-left:auto}.craft-edit-body{display:flex;align-items:center;gap:12px;margin-top:4px}.craft-placement{height:91px;width:91px;flex:none;border:2px solid #b4b9a5;border-radius:50%;position:relative;background:radial-gradient(circle at center,#b7c5ad 2px,transparent 3px),repeating-radial-gradient(circle at center,transparent 0 17px,#a4b19d77 18px 19px,transparent 20px 33px),#eae9df;touch-action:none;user-select:none}.craft-placement small{position:absolute;bottom:-1px;left:50%;transform:translate(-50%,45%);background:#dfddcf;color:#657564;padding:2px 4px;border-radius:6px;font-size:8px;white-space:nowrap;font-weight:800;pointer-events:none}.craft-markers{position:absolute;inset:0;pointer-events:none}.craft-marker{position:absolute;transform:translate(-50%,-50%);width:23px;height:23px;border-radius:50%;border:2px solid #f3eddf;background:#668e79;color:white;font-size:10px;font-weight:800;box-shadow:0 2px 5px #0005;pointer-events:auto;touch-action:none}.craft-marker.selected{background:#ddaf69;border-color:#fff3c6;width:27px;height:27px;z-index:1;box-shadow:0 0 0 3px #d7a65c5c}.craft-dials{flex:1;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:4px}.craft-dials label{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:800}.craft-dials output{color:#84765f;font-size:10px}.craft-dials input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:12px;background:#b7c9b2;border:1px solid #a3b69c;border-radius:20px;outline:0;margin:0;touch-action:none}.craft-dials input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:24px;height:24px;border-radius:50%;border:3px solid #f9f3e5;background:#618c70;box-shadow:0 2px 5px #0003}.craft-dials input[type=range]::-moz-range-thumb{width:20px;height:20px;border:3px solid #f9f3e5;border-radius:50%;background:#618c70}
.crafting .walk-hud{pointer-events:none}.crafting .walk-resources{display:none}
.walk-sheet{position:absolute;z-index:8;left:50%;bottom:calc(12px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(490px,calc(100vw - 24px));max-height:min(62dvh,525px);display:flex;flex-direction:column;gap:10px;padding:17px 17px 16px;border-radius:24px;background:var(--cream);color:var(--ink);box-shadow:0 10px 70px #000a;border:1px solid #fffef3;overflow:hidden}.walk-sheet[hidden]{display:none}.sheet-top{display:flex;align-items:center;justify-content:space-between;color:#9b7674;font-size:10px;letter-spacing:.17em;font-weight:800}.sheet-top button{width:37px;height:37px;border:0;border-radius:50%;background:#e8e2d6;color:#516358;font-size:25px;line-height:1}.walk-sheet h1{font-size:clamp(20px,5vw,26px);margin:0;line-height:1.13;letter-spacing:-.06em}.walk-sheet p{margin:0;color:#6b7b70;font-size:13px;line-height:1.5}.sheet-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;min-height:0}.sheet-cards:empty{display:none}.shop-card{border:1px solid #ddd5c7;background:#fffdfa;border-radius:14px;min-width:0;min-height:150px;padding:5px 5px 9px;color:#355b49;display:flex;flex-direction:column;align-items:center;gap:4px;justify-content:space-between}.shop-card:disabled{opacity:.42}.shop-card:active{transform:translateY(2px)}.shop-card .stem-art{display:block;width:100%;height:95px;flex:none;font-size:37px;line-height:1.1;border-radius:10px;overflow:hidden;background:#eee8dc}.shop-card .stem-art img{width:100%;height:100%;object-fit:cover;display:block}.shop-card b{font-size:11px;line-height:1.1;text-align:center}.shop-card small{font-size:10px;color:#8a8678}.sheet-actions{display:flex;gap:8px;margin-top:auto}.sheet-actions button{min-height:48px;flex:1;border:0;border-radius:13px;padding:8px 10px;background:#47765b;color:white;font-size:13px;font-weight:800}.sheet-actions button.secondary{background:#e5e5d8;color:#4d6956}.sheet-actions button:disabled{opacity:.48}
.walk-toast{position:absolute;z-index:10;left:50%;top:20%;transform:translate(-50%,-10px);max-width:82vw;background:#edf2df;color:#38644b;border:1px solid #bdd2a9;padding:12px 18px;border-radius:15px;font-size:13px;font-weight:800;text-align:center;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s}.walk-toast.show{opacity:1;transform:translate(-50%,0)}
.sheet-cards:has(.post-option){grid-template-columns:repeat(2,minmax(0,1fr))}.shop-card.post-option{min-height:144px;align-items:flex-start;justify-content:flex-start;text-align:left;padding:12px;gap:9px}.shop-card.post-option .stem-art{height:auto;background:transparent;font-size:23px}.shop-card.post-option b{text-align:left;font-size:12px}.shop-card.post-option small{text-align:left;font-size:11px;line-height:1.5;color:#5d6b60}
.sheet-cards.has-photo{display:block;flex:0 1 auto;min-height:0}.sheet-photo{margin:0;padding:6px;border-radius:14px;background:#2a3433;display:flex;justify-content:center;align-items:center;overflow:hidden}.sheet-photo img{display:block;width:auto;max-width:100%;height:min(22dvh,180px);object-fit:contain;border-radius:7px}
.sheet-cards.editor-mode .sheet-photo img{height:min(12dvh,100px)}.post-caption-editor{display:block;width:100%;height:76px;min-height:58px;resize:none;margin-top:8px;padding:10px 12px;border:1px solid #c6c5b7;border-radius:12px;background:#fffdfa;color:#263c39;font:600 13px/1.4 Manrope,system-ui,sans-serif;user-select:text;-webkit-user-select:text;touch-action:auto;outline-offset:3px}.post-caption-editor:focus{outline:2px solid #60836c}
.welcome{position:absolute;z-index:15;inset:0;background:linear-gradient(125deg,#071521cd,#1c241dcc);display:flex;align-items:center;justify-content:center;padding:22px}.welcome[hidden]{display:none}.welcome-card{width:min(390px,100%);text-align:center;background:#f6efe4;color:#354a42;padding:30px 23px 23px;border-radius:28px;box-shadow:0 20px 90px #0009}.welcome-moon{font-size:58px;color:#c28a59}.welcome-kicker{font-size:10px;font-weight:800;letter-spacing:.24em;color:#ad7d7e;margin-top:8px}.welcome h1{font-size:27px;margin:11px 0;letter-spacing:-.07em}.welcome p{font-size:13px;line-height:1.65;color:#627269}.welcome button{width:100%;min-height:52px;border:0;border-radius:14px;background:#48745a;color:white;font-weight:800;margin:13px 0 10px}.welcome small{font-size:11px;color:#8b988c}
@media(pointer:fine){.walk-pad,.walk-guide{display:none}.walk-action{bottom:35px;right:25px}.walk-hud{height:64px}}
@media(max-height:590px){.walk-sheet{gap:6px;padding:10px 13px}.sheet-cards{gap:5px}.shop-card{min-height:100px}.shop-card .stem-art{height:49px}.walk-pad{width:95px;height:95px;bottom:18px}.walk-action{bottom:27px}}
@media(max-height:590px){.sheet-photo img{height:min(16dvh,110px)}.shop-card.post-option{min-height:110px;padding:9px;gap:5px}.shop-card.post-option small{font-size:10px;line-height:1.35}}
@media(max-height:650px){.craft-panel{gap:5px;padding:9px 12px}.craft-stem{min-height:75px}.craft-stem img{height:32px}.craft-controls button{height:42px}.craft-hint{font-size:10px}.craft-heading h2{font-size:17px}}
@media(max-height:650px){.craft-panel:has(.craft-editor:not([hidden])) .craft-stem{min-height:43px}.craft-placement{width:75px;height:75px}.craft-edit-body{gap:10px}.craft-editor{padding:5px 8px 7px}.craft-edit-head{height:24px}.craft-edit-head button{height:24px}.craft-controls button{height:42px}.craft-panel{gap:4px}}
@media(orientation:landscape) and (max-height:520px){.craft-panel{left:auto;right:12px;bottom:8px;transform:none;width:min(350px,43vw)}.craft-panel .craft-heading span,.craft-hint,.craft-edit-head span{display:none}.craft-panel .craft-heading h2{font-size:15px}.craft-panel:has(.craft-editor:not([hidden])) .craft-stem{min-height:37px}.craft-panel:has(.craft-editor:not([hidden])) .craft-stem img{width:30px;height:30px}.craft-placement{width:68px;height:68px}.craft-controls button{height:38px}}
@media(prefers-reduced-motion:reduce){.walk-tip,.walk-toast{transition:none}}

/* Compact two-tab flower editor: leave the actual vase visible while adjusting it. */
.craft-panel{gap:5px;padding:9px 11px 10px;max-height:min(44dvh,330px)}
.craft-heading h2{font-size:clamp(15px,4vw,18px);margin:0}
.craft-heading span{font-size:8px;line-height:1.15}
.craft-close{width:31px;height:31px;font-size:21px}
.craft-hint{font-size:10px;line-height:1.2;min-height:0}
.craft-panel:has(.craft-editor:not([hidden])) .craft-hint,
.craft-panel:has(.craft-editor:not([hidden])) .craft-heading span{display:none}
.craft-stems{gap:5px}
.craft-stem,.craft-panel:has(.craft-editor:not([hidden])) .craft-stem{
  min-height:42px;flex-direction:row;align-items:center;justify-content:center;
  gap:4px;padding:4px;border-radius:11px
}
.craft-stem img,.craft-panel:has(.craft-editor:not([hidden])) .craft-stem img{width:30px;height:30px;flex:none}
.craft-stem strong,.craft-panel:has(.craft-editor:not([hidden])) .craft-stem strong{font-size:10px;text-align:left}
.craft-stem small{display:none}
.craft-editor{padding:6px 8px 7px;border-radius:12px}
.craft-edit-head{height:29px;gap:5px}
.craft-edit-head button{width:29px;height:29px;flex:none}
.craft-edit-head strong{flex:1;max-width:none;font-size:11px;min-width:0}
.craft-edit-head .craft-mode-switch{width:auto;min-width:79px;padding:0 8px;border-radius:9px;font-size:11px;white-space:nowrap;background:#416f5b;color:#fff;font-weight:800}
.craft-edit-body{justify-content:center;margin-top:4px;min-height:68px}
.craft-editor[data-mode="height"] .craft-placement{display:none}
.craft-editor[data-mode="position"] .craft-dials{display:none}
.craft-editor .craft-twist-dials{display:none}
.craft-editor[data-mode="twist"] .craft-placement,.craft-editor[data-mode="twist"] .craft-dials:not(.craft-twist-dials){display:none}
.craft-editor[data-mode="twist"] .craft-twist-dials{display:grid;align-content:center;min-height:68px}
.craft-edit-head .craft-twist-toggle{width:29px;height:29px;padding:0;font-size:20px;background:#fff8e9;color:#325744}
.craft-edit-head .craft-twist-toggle[aria-pressed="true"]{background:#416f5b;color:#fff}
.craft-placement{width:68px;height:68px;margin:1px 0 4px}
.craft-dials{max-width:100%;gap:3px;padding:0 3px}
.craft-dials label{font-size:10px}
.craft-dials input[type=range]{height:9px}
.craft-dials input[type=range]::-webkit-slider-thumb{width:22px;height:22px}
.craft-controls button{height:41px}
.craft-gesture-toolbar{position:absolute;z-index:8;top:calc(86px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:min(405px,calc(100vw - 20px));box-sizing:border-box;padding:6px;border:1px solid #fffff866;border-radius:15px;background:#203a39e8;color:#f9e8d1;box-shadow:0 6px 20px #0006;backdrop-filter:blur(10px)}
.craft-gesture-toolbar[hidden]{display:none}
.craft-gesture-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.craft-gesture-modes button{min-width:0;min-height:39px;padding:6px 3px;border:1px solid #f1e6d36b;border-radius:10px;background:#426055;color:#f5edda;font-size:11px;font-weight:900;touch-action:manipulation}
.craft-gesture-modes button.active{border-color:#e0f3d2;background:#dceccf;color:#29523c}
.craft-gesture-help{display:flex;gap:6px;justify-content:space-between;align-items:center;padding:4px 1px 0}
.craft-orbit-tip{flex:1;font-size:9px;font-weight:800;line-height:1.3;text-align:left;color:#e9e8d5}
.craft-view-reset{flex:none;min-height:30px;padding:5px 9px;border:1px solid #f6e8d278;border-radius:9px;background:#49665c;color:#f8ebda;font-size:10px;font-weight:850;touch-action:manipulation}
@media(max-width:385px){.craft-stem img,.craft-panel:has(.craft-editor:not([hidden])) .craft-stem img{width:26px;height:28px}.craft-stem strong{font-size:9px}.craft-edit-head .craft-mode-switch{min-width:75px}.craft-gesture-toolbar{top:calc(112px + env(safe-area-inset-top))}.craft-gesture-modes button{font-size:10px}}
@media(orientation:landscape) and (max-height:520px){.craft-panel{max-height:92dvh;gap:4px;padding:7px 8px}.craft-gesture-toolbar{top:calc(10px + env(safe-area-inset-top));left:32%;width:min(345px,55vw)}.craft-gesture-modes button{min-height:33px;font-size:10px}.craft-gesture-help{padding-top:2px}}

/* Small in-world photo session; the composition stays visible above controls. */
.walk-game.photographing .walk-pad,
.walk-game.photographing .walk-action,
.walk-game.photographing .walk-guide,
.walk-game.photographing .location-label,
.walk-game.photographing .walk-hud .tiny{display:none}
.photographing .walk-resources{display:none}
.photo-hint{position:absolute;z-index:8;top:calc(88px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);max-width:90vw;width:max-content;text-align:center;padding:8px 12px;border-radius:99px;background:#243a39dd;border:1px solid #f4e3cd77;color:#f8e9d3;font-size:11px;font-weight:800;pointer-events:none}
.photo-controls{position:absolute;z-index:9;left:50%;bottom:calc(10px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(500px,calc(100vw - 20px));padding:12px 14px 13px;border-radius:23px;background:#f4ecdeef;color:#29483d;border:1px solid #fff5dd;box-shadow:0 13px 42px #0009;display:flex;flex-direction:column;gap:10px}
.photo-controls[hidden],.photo-hint[hidden]{display:none}
.photo-heading{display:flex;flex-direction:column;gap:2px}.photo-heading span{font-size:9px;color:#a17f6e;font-weight:800;letter-spacing:.15em}.photo-heading strong{font-size:17px;line-height:1.2}
.photo-zoom{display:flex;align-items:center;gap:12px;font-size:11px;font-weight:800}.photo-zoom input{flex:1;min-width:0;accent-color:#47765b;touch-action:manipulation}
.photo-buttons{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:7px}
.photo-buttons button{min-height:45px;border:0;border-radius:13px;font-size:12px;font-weight:800}
.photo-buttons .photo-secondary{background:#e1e3d7;color:#426050}
.photo-buttons .photo-primary{background:#47765b;color:white}
@media(orientation:landscape) and (max-height:520px){.photo-controls{left:auto;right:10px;transform:none;width:min(330px,45vw);padding:8px;gap:5px}.photo-heading strong{font-size:13px}.photo-hint{left:28%;max-width:45vw;font-size:9px}}

/* Secondary, independent interaction for the laptop beside the teacup. */
.walk-laptop-action{position:absolute;right:max(17px,env(safe-area-inset-right));bottom:calc(145px + env(safe-area-inset-bottom));z-index:4;min-width:132px;max-width:48%;min-height:48px;padding:10px 16px;border:2px solid #d7e3c7;border-radius:16px;background:#344f42;color:#f8f1e4;font-size:14px;font-weight:750;line-height:1.2;box-shadow:0 4px 12px #0006;touch-action:manipulation}
.walk-laptop-action:active{transform:translateY(2px);background:#436653}
.walk-laptop-action[hidden],.walk-game.crafting .walk-laptop-action,.walk-game.photographing .walk-laptop-action{display:none}
@media(orientation:landscape) and (max-height:520px){.walk-laptop-action{bottom:calc(94px + env(safe-area-inset-bottom));right:max(25px,env(safe-area-inset-right))}}
