:root{color-scheme:dark;--gold:#d4af37;--bg:#0b2b2b}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--bg);color:#f3ead0;font-family:system-ui,sans-serif}
body{display:flex;flex-direction:column;min-height:0}
#topbar{z-index:2;position:relative;display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:8px 14px;background:#092323;border-bottom:1px solid #806a2b;min-height:54px}
.title{font-size:14px;font-weight:600;white-space:nowrap}
.controls{display:flex;gap:8px;align-items:center;margin-left:auto}
#search{width:min(30vw,270px);min-width:130px;border:1px solid #8b7533;border-radius:5px;background:#102f2e;color:#fff6d5;padding:8px 10px;font:inherit}
button{border:1px solid var(--gold);border-radius:5px;background:#173b36;color:#fff6d5;padding:8px 11px;font:inherit;cursor:pointer}
button:hover,button:focus{background:#295346}
#results{display:none;position:absolute;right:14px;top:48px;width:min(360px,calc(100vw - 28px));max-height:45vh;overflow:auto;background:#102f2e;border:1px solid var(--gold);border-radius:5px;box-shadow:0 8px 22px #0009}
#results.open{display:block}
#results button{display:block;width:100%;text-align:right;border:0;border-radius:0;border-bottom:1px solid #ffffff20;font-family:Amiri,serif;font-size:19px}
#info{font-size:12px;color:#d9c988;min-height:1em}
main{position:relative;flex:1;min-height:0;padding:5px}
#map{display:block;width:100%;height:100%;touch-action:none;border:3px double var(--gold);background-color:var(--bg);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23d4af37' stroke-opacity='.075' stroke-width='.7'%3E%3Cpath d='M48 18 54 42 78 48 54 54 48 78 42 54 18 48 42 42Z M48 30 52 44 66 48 52 52 48 66 44 52 30 48 44 44Z'/%3E%3C/g%3E%3C/svg%3E");cursor:grab}
#map:active{cursor:grabbing}
#about{flex:none;padding:4px 10px 6px;color:#c4b77c;font-size:10px;line-height:1.3;max-height:38px;overflow:hidden;background:#092323}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){#topbar{gap:5px;padding:6px 9px;min-height:76px}.title{white-space:normal;width:100%;font-size:13px}.controls{margin-left:0;width:100%}#search{flex:1;width:0;min-width:0}button{padding:7px 9px;font-size:12px}#results{top:72px;right:9px}#about{font-size:9px;max-height:34px}}
