*{box-sizing:border-box}body{margin:0;font-family:system-ui,sans-serif;color:#173f59;background:#87d5ec;overscroll-behavior:none}button{font:inherit;cursor:pointer;border:0;touch-action:none;color:inherit;user-select:none;-webkit-user-select:none}button:focus-visible{outline:4px solid #e87223;outline-offset:3px}#app{position:relative;height:100dvh;min-height:440px;overflow:hidden}#world{position:absolute;inset:0;width:100%;height:100%;touch-action:none}header{position:absolute;top:0;left:0;right:0;padding:14px 20px;display:flex;justify-content:space-between;align-items:center;gap:10px;pointer-events:none}header>*{pointer-events:auto}.brand{display:flex;align-items:center;gap:12px}.sun{font-size:40px}h1{font-size:21px;margin:0;font-weight:900}h1 small{background:#173f59;color:white;font-size:12px;padding:3px 7px;border-radius:7px}#place{font-size:15px;font-weight:700}.tools{display:flex;align-items:center;gap:8px}.tools button,.count{height:52px;min-width:52px;padding:10px;background:#fffdf0;border-radius:18px;box-shadow:0 4px 0 #227b9a25;font-size:25px}.count b{font-size:20px}.controls{position:absolute;bottom:103px;left:22px;right:22px;display:flex;align-items:end;justify-content:space-between;pointer-events:none}.pad{display:grid;grid-template-columns:60px 60px 60px;grid-template-rows:60px 60px 60px;gap:5px;pointer-events:auto}.pad button{background:#ffffffdc;border-radius:20px;font-size:26px;box-shadow:0 4px 0 #26789730}.pad button:active,.pad button.held{background:#ffe16a;transform:translateY(2px)}.pad button:first-child{grid-column:2}.pad button:nth-child(2){grid-column:1;grid-row:2}.pad span{grid-column:2;grid-row:2;display:grid;place-items:center;font-size:28px}.pad button:nth-child(4){grid-column:3;grid-row:2}.pad button:last-child{grid-column:2;grid-row:3}#action{width:114px;height:114px;border-radius:50%;background:#ffd14c;font-size:44px;box-shadow:0 7px 0 #d39828;pointer-events:auto;display:flex;flex-direction:column;align-items:center;justify-content:center}#action small{font-size:14px;font-weight:800}#action:disabled{background:#ffedac;color:#53636a}nav{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:12px;background:#f8fcfff5;padding:10px 12px max(10px,env(safe-area-inset-bottom));border-radius:26px 26px 0 0;box-shadow:0 -4px 25px #173f5918}nav>button{min-width:116px;min-height:66px;font-size:28px;border-radius:20px;background:transparent;display:flex;align-items:center;justify-content:center;gap:8px}nav>button span{font-size:17px;font-weight:800}nav>button.selected{background:#ffdd64}.camera{display:flex;gap:4px;margin-left:20px}.camera button{width:52px;height:52px;border-radius:15px;font-size:25px;background:#e2f1f8}#labels{position:absolute;inset:0;pointer-events:none}.marker{position:absolute;transform:translate(-50%,-100%);background:#fffdf0;box-shadow:0 3px 0 #173f5930;border-radius:18px;padding:7px 12px;font-size:25px;pointer-events:auto;white-space:nowrap;border:3px solid white;min-width:52px;min-height:48px}.marker small{font-size:13px;font-weight:800;display:block}.marker.done{border-color:#8fc86d}.marker.near{border-color:#ffd14c}.marker.npc{font-size:16px;padding:6px 10px}.marker.npc small{display:none}#toast{position:absolute;top:92px;left:50%;transform:translateX(-50%);background:#fffdf0;padding:12px 22px;border-radius:24px;box-shadow:0 5px 20px #173f5920;max-width:80%;text-align:center;font-weight:750;opacity:0;transition:opacity .2s;pointer-events:none}#toast.show{opacity:1}#guide{position:absolute;top:92px;left:20px;background:#ffffffdc;padding:10px 14px;border-radius:18px;font-size:23px;display:none}#celebration{position:absolute;inset:30% 20%;pointer-events:none;text-align:center;font-size:70px;opacity:0}#celebration.show{animation:cheer 1.5s both}@keyframes cheer{0%{opacity:0;transform:scale(.5)}25%,70%{opacity:1;transform:scale(1.1)}100%{opacity:0;transform:translateY(-50px)}}dialog{border:0;border-radius:28px;padding:30px;max-width:540px;width:90%;max-height:88dvh;color:#173f59;background:#fffdf4;box-shadow:0 20px 90px #16374d55}dialog::backdrop{background:#14354c65}.close{position:absolute;top:10px;right:10px;width:48px;height:48px;border-radius:50%;background:#e6eff4;font-size:24px}h2{font-size:27px;margin:4px 45px 20px 0}.setting{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:64px;border-bottom:1px solid #dce9ec;font-size:18px}.setting input{width:27px;height:27px;accent-color:#208eb1}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.help-grid div{border-radius:18px;background:#e7f3f9;padding:16px;text-align:center;font-size:16px}.help-grid b{display:block;font-size:40px;margin-bottom:7px}.tasks{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tasks button{background:#e8f2f7;min-height:90px;border-radius:18px;font-size:34px}.tasks small{display:block;font-size:15px}.tasks button.done{background:#d9ecc8}.primary{background:#ffd14c;border-radius:17px;padding:16px 22px;font-weight:800;font-size:18px;margin-top:15px}.note{font-size:14px;line-height:1.5}#loading{position:absolute;inset:0;display:grid;align-content:center;justify-items:center;font-size:70px;background:#87d5ec}#loading p{font-size:22px}.error{max-width:440px;text-align:center;padding:24px} @media(max-width:640px){header{padding:10px;align-items:start}.sun{display:none}h1{font-size:16px;max-width:145px}h1 small{font-size:10px}#place{font-size:13px}.tools{gap:4px}.tools button,.count{min-width:43px;height:45px;font-size:20px;padding:8px;border-radius:14px}.count b{font-size:16px}.controls{left:12px;right:14px;bottom:100px}.pad{grid-template-columns:52px 52px 52px;grid-template-rows:52px 52px 52px;gap:3px}.pad button{border-radius:17px}#action{width:94px;height:94px;font-size:36px}nav{gap:4px;padding-left:6px;padding-right:6px}nav>button{min-width:64px;flex:1;font-size:27px;flex-direction:column;gap:1px;min-height:66px}nav>button span{font-size:12px}.camera{margin-left:3px;gap:2px}.camera button{width:36px;height:48px;font-size:22px}.marker{padding:5px 9px;font-size:24px}.marker small{font-size:12px}.marker.npc{font-size:13px}#toast{top:74px;font-size:15px;width:max-content;max-width:92%}#guide{top:78px;left:10px;font-size:20px}}@media(max-height:540px) and (min-width:640px){.pad{grid-template-columns:48px 48px 48px;grid-template-rows:44px 44px 44px}.controls{bottom:90px}nav>button{min-height:55px}#action{width:90px;height:90px}header{padding:8px 16px}.tools button,.count{height:44px}}
#app{min-height:320px}.count{display:flex;align-items:center;gap:3px;white-space:nowrap}.marker.npc span{margin-left:4px}@media(max-width:640px){.count{min-width:48px;padding:6px;gap:2px;font-size:18px}.count b{font-size:14px}.brand{max-width:145px}.marker small,.marker.npc span{display:none}.marker.npc{font-size:25px}.camera button{width:48px}.camera{gap:1px}nav>button{min-width:58px}#guide{top:130px}}

