:root{--ink:#16181d;--sub:#4f5666;--accent:#234fd1;--hot:#e2572b;--glass:#ffffffe6}*{box-sizing:border-box}html,body{height:100%;color:var(--ink);background:#dde8ef;margin:0;font:14px/1.6 system-ui,-apple-system,Hiragino Sans,Yu Gothic UI,Meiryo,sans-serif;overflow:hidden}#view{touch-action:none;cursor:grab;width:100%;height:100%;display:block;position:fixed;inset:0}.bar{z-index:3;align-items:center;gap:10px;display:flex;position:fixed;top:12px;left:12px}.home{background:var(--glass);color:var(--sub);border-radius:8px;padding:6px 10px;font-size:12.5px;font-weight:700;text-decoration:none;box-shadow:0 1px 6px #0002}.brand{background:var(--glass);border-radius:10px;align-items:baseline;gap:8px;padding:5px 12px;display:flex;box-shadow:0 1px 6px #0002}.brand strong{font-size:17px}.brand span{color:var(--sub);font-size:12.5px}.round{background:var(--glass);z-index:3;border-radius:12px;gap:14px;padding:5px 16px;font-size:16px;font-weight:800;display:flex;position:fixed;top:12px;left:50%;transform:translate(-50%);box-shadow:0 2px 10px #0003}.round span{color:var(--accent)}.loading{background:var(--glass);z-index:4;border-radius:10px;margin:0;padding:10px 20px;font-weight:700;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.loading[hidden]{display:none}.mapbox{z-index:3;background:#fff;border-radius:12px;width:380px;height:320px;transition:width .2s,height .2s;position:fixed;bottom:12px;right:12px;overflow:hidden;box-shadow:0 2px 14px #0004}.mapbox.big{width:min(760px,100vw - 24px);height:min(600px,100vh - 80px)}#map{cursor:crosshair;touch-action:none;width:100%;height:calc(100% - 44px);position:absolute;inset:0 0 44px}.zoom{flex-direction:column;gap:4px;display:flex;position:absolute;top:8px;right:8px}.zoom button{cursor:pointer;background:#fffd;border:0;border-radius:7px;width:32px;height:32px;font-size:16px;font-weight:800;box-shadow:0 1px 4px #0003}.mapbar{background:#f4f6f9;justify-content:space-between;align-items:center;height:44px;padding:0 8px 0 12px;display:flex;position:absolute;bottom:0;left:0;right:0}.mapbar span{color:var(--sub);font-size:12.5px}.mapbar button,.result button,.actions button{font:inherit;background:var(--hot);color:#fff;cursor:pointer;border:0;border-radius:8px;padding:6px 16px;font-weight:800}.mapbar button:disabled{cursor:default;background:#c9ceda}.result{background:var(--glass);z-index:4;text-align:center;border-radius:12px;min-width:300px;padding:10px 20px;position:fixed;top:60px;left:50%;transform:translate(-50%);box-shadow:0 2px 14px #0003}.result p{margin:0 0 4px}.result .place{font-size:19px;font-weight:800}.result button{background:var(--accent);margin-top:4px}.overlay{background:var(--glass);z-index:5;border-radius:14px;width:min(520px,100vw - 24px);padding:18px 22px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 6px 30px #0004}.overlay[hidden]{display:none}.overlay h1{margin:0 0 6px;font-size:21px}.overlay p{margin:0 0 8px}.overlay details{color:var(--sub);margin-top:8px;font-size:12px}.overlay summary{cursor:pointer;font-weight:700}.actions button{background:var(--accent);padding:9px 26px;font-size:15px}@media (width<=720px){.brand span{display:none}.mapbox{width:auto;height:42vh;bottom:8px;left:8px;right:8px}.mapbox.big{width:auto;height:70vh}.round{top:58px}.result{width:calc(100vw - 24px);min-width:0;top:100px}}
