:root { --ink: #f2ead8; --bg: rgba(24, 30, 24, .86); --line: rgba(242, 234, 216, .22); }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #20281f; color: var(--ink); font: 14px/1.5 system-ui, -apple-system, sans-serif; }
#map { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; display: block; touch-action: none; cursor: grab; outline: none; }
#map.drag { cursor: grabbing; }
.bar { position: fixed; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; backdrop-filter: blur(6px); }
.brand { top: max(12px, env(safe-area-inset-top)); left: 12px; padding: 7px 12px; display: flex; gap: 10px; align-items: baseline; }
.brand strong { font-size: 16px; letter-spacing: .04em; }
.brand span { opacity: .7; font-size: 12px; }
.tools { bottom: max(12px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; padding: 3px; gap: 2px; white-space: nowrap; }
button { min-width: 38px; height: 38px; padding: 0 10px; background: none; border: 0; border-radius: 6px; color: inherit; font: inherit; cursor: pointer; }
button:hover, button:focus-visible { background: rgba(242, 234, 216, .16); outline: none; }
.panel { position: fixed; right: 12px; bottom: 68px; width: min(360px, calc(100vw - 24px)); max-height: 66vh; overflow: auto; padding: 14px 16px; background: rgba(24, 30, 24, .95); border: 1px solid var(--line); border-radius: 8px; }
.panel h2 { margin: 0 0 8px; font-size: 15px; }
.panel p { margin: 0 0 7px; font-size: 13px; overflow-wrap: anywhere; }
.panel a { color: inherit; }
#close { position: absolute; top: 6px; right: 6px; }
#status { top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 8px 14px; }
[hidden] { display: none !important; }
