:root{color:#45472f;background:#a0a367;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer;border:1px solid #655a3529;background:#faf4e2e8;border-radius:20px;min-height:38px;padding:0 14px}button:hover{background:#fff9e9}button:disabled{opacity:.45;cursor:default}button[aria-pressed=true]{background:#5d704b;color:#fff8df;border-color:#5d704b}button:focus-visible{outline:3px solid #daaf5e;outline-offset:2px}#garden{position:fixed;inset:0;width:100%;height:100%;touch-action:none}header{position:fixed;top:24px;left:30px;pointer-events:none;text-shadow:0 2px 16px #fff0cb,0 1px 4px #fff0cb}.eyebrow{font-size:11px;letter-spacing:2px}h1{font-family:"Songti SC",serif;font-weight:600;font-size:31px;letter-spacing:5px;margin:8px 0}header p{font-size:11px;margin:0;color:#615f43}.top-tools{position:fixed;top:28px;right:26px;display:flex;gap:8px}.top-tools button{font-size:12px;backdrop-filter:blur(8px);box-shadow:0 2px 15px #51452c10}.top-tools #help{width:38px;padding:0}#letter{position:fixed;top:156px;left:30px;width:203px;padding:17px 16px 15px;background:#faf1dede;box-shadow:0 8px 28px #5f492015;border-radius:3px 17px 15px 14px;border:1px solid #fff6df99;transform:rotate(-1.5deg)}#letter>span{font-size:10px;letter-spacing:1px;color:#8c7854}#letter p{font-family:"Songti SC",serif;font-size:14px;line-height:1.8;margin:10px 0;color:#4f5036}#letter small{font-size:10px;line-height:1.6;color:#817656;display:block}#fold-letter{position:absolute;top:5px;right:5px;min-height:22px;background:transparent;border:0;padding:0 6px;color:#8f805e}.view-tools{position:fixed;right:24px;bottom:215px;display:grid;gap:7px}.view-tools button{width:38px;padding:0;box-shadow:0 2px 10px #58472115}footer{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:min(580px,calc(100% - 36px));background:#faf5e7f2;border:1px solid #fff7e4;border-radius:22px;padding:13px 16px 10px;box-shadow:0 12px 45px #4f412124;backdrop-filter:blur(16px)}.palette-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;min-height:23px;margin-bottom:7px}.palette-heading button{background:transparent;border:0;min-height:24px;padding:0 2px;font-size:12px}.palette{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.palette>button{position:relative;border-radius:13px;padding:4px 7px 8px;min-width:0;background:#f2eddd;border:1px solid #ddd7c6;display:flex;flex-direction:column;align-items:center}.palette>button[aria-pressed=true]{background:#e4e9d2;border-color:#70855b;color:#34452b;box-shadow:inset 0 0 0 1px #71865a}.palette canvas{display:block;width:64px;height:49px}.palette span{font-size:11px;white-space:nowrap}.palette small{position:absolute;right:7px;top:6px;font-size:10px;color:#8c8d6e}.bottom-tools{display:flex;justify-content:space-between;align-items:center;margin-top:8px;gap:6px}.bottom-tools>div{display:flex;gap:6px}.bottom-tools button{font-size:10px;min-height:27px;padding:0 11px}.bottom-tools>span{font-size:9px;color:#8c8b75}#toast{position:fixed;bottom:218px;left:50%;transform:translateX(-50%) translateY(8px);padding:10px 18px;border-radius:22px;background:#fff8e6ed;border:1px solid #fff9e8;color:#4b573b;font-size:12px;box-shadow:0 5px 20px #493e2820;opacity:0;transition:.2s;pointer-events:none;max-width:85vw;text-align:center}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}#loading{position:fixed;inset:0;display:grid;place-items:center;background:#eee4c8;font-family:"Songti SC",serif;color:#726b4b}#loading[hidden]{display:none}dialog{border:1px solid #ece2c6;background:#fff9eb;color:#4a503b;border-radius:22px;box-shadow:0 22px 90px #282c2940;padding:28px;width:min(900px,calc(100vw - 30px))}dialog::backdrop{background:#27332f55;backdrop-filter:blur(4px)}dialog img{width:100%;display:block;border-radius:12px}dialog h2{font-family:"Songti SC",serif;font-size:23px;font-weight:500;margin:0 0 20px}dialog p{font-size:12px;line-height:1.8}dialog .close{position:absolute;right:10px;top:10px;border:0;background:transparent;font-size:24px;min-height:28px;padding:0 8px}#help-dialog{max-width:440px}#help-dialog small{font-size:10px;display:block;line-height:1.7;color:#8c866f}#reset{margin-top:22px;font-size:11px}#moving{position:fixed;bottom:220px;left:50%;transform:translateX(-50%);background:#fff7e7ee;padding:7px 10px 7px 16px;border-radius:22px;font-size:11px;white-space:nowrap}#moving button{font-size:10px;min-height:28px;margin-left:8px}#wall-confirm{position:fixed;bottom:220px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;padding:7px 8px 7px 15px;background:#fff7e7f2;border-radius:23px;font-size:11px;white-space:nowrap}#wall-confirm[hidden],#moving[hidden]{display:none}#wall-confirm button{min-height:30px;font-size:11px;padding:0 11px}#place-wall{background:#647c50;color:#fff8df}
footer{left:24px;transform:none;width:344px}
@media(max-width:700px){#letter{top:105px!important;width:calc(100% - 38px)!important;padding:10px 13px!important;transform:none}#letter p{font-size:11px!important;margin:5px 0!important}#letter p br{display:none}#letter small{font-size:9px!important}}
@media(max-width:700px){header{top:20px;left:19px}h1{font-size:26px;letter-spacing:4px;margin:7px 0}header p{font-size:9px}.eyebrow{font-size:9px;letter-spacing:1px}.top-tools{top:21px;right:15px;gap:5px}.top-tools button{min-height:33px;font-size:10px;padding:0 11px}.top-tools #help{width:32px}#letter{top:119px;left:19px;width:177px;padding:12px 13px}#letter p{font-size:12px;line-height:1.7;margin:7px 0}#letter>span{font-size:9px}#letter small{font-size:9px}.view-tools{right:13px;bottom:205px;gap:6px}.view-tools button{width:34px;min-height:34px}footer{left:50%;transform:translateX(-50%);bottom:max(12px,env(safe-area-inset-bottom));width:calc(100% - 24px);padding:10px 10px 9px;border-radius:19px}.palette{gap:6px}.palette>button{padding:2px 4px 7px;border-radius:11px}.palette canvas{width:52px;height:43px}.palette span{font-size:10px}.palette small{right:5px;top:4px;font-size:9px}.palette-heading{font-size:10px;margin-bottom:5px}.palette-heading button{font-size:10px}.bottom-tools button{font-size:9px;padding:0 10px;min-height:25px}.bottom-tools>span{font-size:8px}#toast{bottom:197px;font-size:11px;padding:9px 14px}#moving,#wall-confirm{bottom:196px;font-size:10px;max-width:calc(100% - 20px)}#wall-reason{max-width:170px;white-space:normal;line-height:1.5}dialog{padding:24px 17px}dialog h2{font-size:19px;margin-bottom:15px}}

#walk-pad{position:fixed;left:28px;bottom:218px;display:grid;grid-template-columns:repeat(3,34px);gap:4px;touch-action:none;user-select:none}#walk-pad small{grid-column:1/4;text-align:center;font-size:10px;color:#4e5738;text-shadow:0 1px 5px #fff9dd}#walk-pad button{padding:0;min-height:34px;width:34px;touch-action:none;user-select:none}#walk-pad button[data-walk="[0,-1]"]{grid-column:2}#walk-pad button[data-walk="[-1,0]"]{grid-column:1}#walk-pad button:active{background:#647c50;color:#fff8df}#wall-directions{position:fixed;bottom:277px;left:50%;transform:translateX(-50%);display:flex;gap:5px;align-items:center;padding:7px 10px;background:#fff7e7f2;border-radius:22px;font-size:10px;white-space:nowrap}#wall-directions button{padding:0;width:34px;min-height:34px;font-size:19px}#wall-directions small{font-size:9px}#walk-pad[hidden],#wall-directions[hidden]{display:none}@media(max-width:700px){#walk-pad{left:17px;bottom:199px}#wall-directions{bottom:260px;width:max-content;max-width:calc(100% - 24px);gap:4px}#wall-directions small{display:none}#wall-directions button{width:32px;min-height:32px}#wall-directions span{font-size:9px}}

#wall-confirm{flex-direction:column;gap:6px;padding:10px 12px;border-radius:18px;bottom:210px;min-width:290px;white-space:normal}#wall-reason{font-size:11px;line-height:1.4;max-width:310px;text-align:center}.wall-actions{display:flex;align-items:center;gap:7px}.wall-nudges{display:flex;gap:3px}.wall-nudges button{width:31px;min-height:31px;padding:0!important;font-size:16px!important}#wall-directions{bottom:310px}#wall-directions button{touch-action:manipulation}#wall-confirm button{touch-action:manipulation}#wall-confirm~*{touch-action:auto}@media(max-width:700px){#wall-confirm{bottom:194px;min-width:282px;max-width:calc(100% - 24px);padding:9px 10px}#wall-directions{bottom:286px}#wall-reason{max-width:290px;font-size:10px}.wall-actions{gap:5px}#wall-confirm button{padding:0 9px}}
#visit-sunset{padding:0 8px!important;background:transparent}#tea-prompt{position:fixed;z-index:4;display:flex;align-items:center;gap:6px;padding:5px 6px 5px 10px;border:1px solid #fff7e4;background:#fff7e7ed;border-radius:20px;box-shadow:0 4px 16px #4f412124;transform:translate(-50%,-100%);font-size:10px;white-space:nowrap}#tea-prompt[hidden]{display:none}#tea-prompt span{color:#6e694f}#tea-prompt button{min-height:29px;padding:0 11px;background:#647c50;color:#fff8df;border:0;font-size:10px;touch-action:manipulation}@media(max-width:700px){#tea-prompt{gap:4px;padding:4px 5px 4px 8px;font-size:9px}#tea-prompt button{min-height:27px;padding:0 9px;font-size:9px}}
#river-sign{position:fixed;z-index:5;left:50%;top:50%;transform:translate(-50%,-115%);min-height:27px;padding:0 11px;border:1px solid #fff8e4;background:#fff7e7ed;color:#596246;border-radius:5px 12px 5px 12px;box-shadow:0 3px 12px #4f412124;font-size:11px;white-space:nowrap;touch-action:manipulation;user-select:none}#river-sign[hidden]{display:none}#river-sign:hover{background:#fffaf0}@media(max-width:700px){#river-sign{min-height:25px;padding:0 9px;font-size:10px}}
.top-tools a{display:flex;align-items:center;justify-content:center;min-height:38px;padding:0 12px;border:1px solid #655a3529;border-radius:20px;background:#faf4e2e8;color:inherit;text-decoration:none;font-size:12px;backdrop-filter:blur(8px);box-shadow:0 2px 15px #51452c10}.top-tools a:hover{background:#fff9e9}.top-tools a:focus-visible{outline:3px solid #daaf5e;outline-offset:2px}@media(max-width:700px){.top-tools{top:16px;right:12px;gap:4px}.top-tools a{min-height:30px;padding:0 8px;font-size:9px}}
