:root { --ink:#1b2733; --acc:#c2410c; --glass:rgba(255,255,255,.88); }
* { box-sizing: border-box; }
html, body { margin:0; height:100%; overflow:hidden; background:#cfe0ee; font:13px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color:var(--ink); }
#c { position:fixed; inset:0; width:100%; height:100%; display:block; touch-action:none; }
#labels { position:fixed; inset:0; pointer-events:none; overflow:hidden; }
#labels.off .tag { display:none; }
.tag { position:absolute; transform:translate(-50%,-50%); white-space:nowrap; pointer-events:none; }
.tag.lot { background:var(--glass); border:1px solid var(--ink); padding:3px 7px; font-weight:700; text-align:center; font-size:12px; }
.tag.lot small { display:block; font-weight:500; font-size:11px; }
.tag.dc { background:rgba(255,255,255,.94); border:1px solid #1f5f8f; color:#10405f; font-weight:700; padding:6px 10px; white-space:normal; width:230px; text-align:center; border-radius:3px; }
.tag.house { background:var(--acc); color:#fff; font-weight:700; padding:3px 8px; border-radius:3px; }
.tag.road { color:#fff; font-weight:700; letter-spacing:.14em; text-transform:uppercase; font-size:11px; text-shadow:0 1px 2px rgba(0,0,0,.5); }
.tag.small { background:var(--glass); font-size:11px; padding:1px 5px; border-radius:2px; color:#9b2f20; font-weight:600; }
.tag.grey { color:#6b7782; font-style:italic; font-size:11px; }
.tag.north { font-size:20px; font-weight:800; color:var(--ink); text-shadow:0 0 4px #fff; }
.tag.room { background:rgba(255,255,255,.82); font-size:10.5px; padding:1px 4px; border-radius:2px; font-weight:600; }
#title { position:fixed; top:12px; left:14px; background:var(--glass); padding:8px 12px; border-radius:6px; box-shadow:0 1px 6px rgba(0,0,0,.15); }
#title b { display:block; font-size:15px; }
#title span { color:#4a5560; font-size:12px; }
#compass { position:fixed; top:14px; right:16px; width:46px; height:46px; border-radius:50%; background:var(--glass); box-shadow:0 1px 6px rgba(0,0,0,.15); }
#needle { position:absolute; left:50%; top:50%; width:0; height:0; margin:-17px 0 0 -6px; border-left:6px solid transparent; border-right:6px solid transparent; border-bottom:18px solid var(--ink); transform-origin:50% 17px; }
#compass i { position:absolute; left:0; right:0; top:-1px; text-align:center; font:700 11px system-ui; color:#fff; display:none; }
#ui { position:fixed; left:50%; bottom:46px; transform:translateX(-50%); display:flex; gap:10px; flex-wrap:wrap; justify-content:center; max-width:96vw; }
.group { display:flex; background:var(--glass); border-radius:8px; box-shadow:0 1px 8px rgba(0,0,0,.18); overflow:hidden; }
button { font:inherit; font-weight:600; color:var(--ink); background:transparent; border:0; padding:9px 14px; cursor:pointer; border-right:1px solid rgba(27,39,51,.12); }
button:last-child { border-right:0; }
button:hover { background:rgba(27,39,51,.07); }
button.on, button[aria-pressed="true"] { background:var(--ink); color:#fff; }
#foot { position:fixed; left:0; right:0; bottom:0; padding:7px 12px; font-size:11px; color:#26313b; background:rgba(255,255,255,.8); text-align:center; }
#foot a { color:var(--acc); margin-left:8px; font-weight:600; text-decoration:none; }
#loading { position:fixed; inset:0; display:grid; place-items:center; background:#cfe0ee; font-weight:600; transition:opacity .4s; }
#loading.done { opacity:0; pointer-events:none; }
@media (max-width:640px) { #title span { display:none; } button { padding:8px 10px; font-size:12px; } .tag.dc { width:170px; font-size:11px; } #ui { bottom:64px; } }
