html, body { margin: 0; height: 100%; overflow: hidden; background: #cfd9e2; font-family: system-ui, sans-serif; color: #20262c; }
canvas { display: block; width: 100vw; height: 100vh; touch-action: none; cursor: grab; }
.hud { position: fixed; pointer-events: none; user-select: none; -webkit-user-select: none; }
.card { background: rgba(255, 255, 255, .86); border-radius: 10px; padding: 6px 11px; box-shadow: 0 1px 6px rgba(0, 0, 0, .18); }
#title { top: 10px; left: 10px; font-weight: 800; letter-spacing: .03em; }
#title small { display: block; font-weight: 500; letter-spacing: 0; opacity: .72; font-size: 12px; }
#visits { top: 10px; right: 10px; font-weight: 700; font-size: 14px; }
#street { bottom: 78px; left: 50%; transform: translateX(-50%); font-weight: 700; white-space: nowrap; transition: opacity .2s; opacity: 0; }
#help { bottom: 120px; left: 50%; transform: translateX(-50%); font-size: 13px; text-align: center; max-width: 92vw; transition: opacity .8s; }
#credit { bottom: 6px; left: 8px; font-size: 11px; opacity: .8; }
#alt { bottom: 6px; right: 8px; font: 11px ui-monospace, monospace; opacity: .8; }
#load { inset: 0; display: grid; place-items: center; font-weight: 700; background: #cfd9e2; }
#labels { inset: 0; overflow: hidden; }
#styles { bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; padding: 5px; pointer-events: auto; max-width: 96vw; overflow-x: auto; }
#styles button { font: 600 12px system-ui, sans-serif; border: 0; border-radius: 8px; padding: 6px 10px; background: transparent; color: inherit; cursor: pointer; white-space: nowrap; }
#styles button.on { background: #1f4e8c; color: #fff; }
.lb { position: absolute; left: 0; top: 0; white-space: nowrap; font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 8px;
      background: rgba(255, 255, 255, .88); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); will-change: transform; }
.lb.seen { background: rgba(120, 190, 120, .92); }
.lb.far { background: rgba(32, 38, 44, .8); color: #fff; }
.off { display: none !important; }
#pin { position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: #e2452f; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
#stick { width: 92px; height: 92px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .25); }
#stick i { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px; border-radius: 50%; background: rgba(255, 255, 255, .85); }
