:root{--lime:#BFFF3B;--bg:#000;--chrome:#000;--line:rgba(191,255,59,.35);--text:#EFFFD6;--dim:#8a9a78}
*{box-sizing:border-box}
html,body{margin:0;height:100%;background:var(--bg);color:var(--text);font:600 13px/1.3 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;overflow:hidden;touch-action:none;user-select:none}
canvas{position:fixed;inset:0;width:100%;height:100%;display:block;cursor:grab}
canvas:active{cursor:grabbing}
.pill{background:var(--chrome);color:var(--text);border:1px solid var(--line);border-radius:999px;padding:8px 14px;font:inherit;letter-spacing:.06em;cursor:pointer;backdrop-filter:blur(6px)}
button.pill:hover{border-color:var(--lime)}
.pill.on,.pill b{color:var(--lime)}
.lime{color:var(--lime)}
.top{position:fixed;top:8px;left:16px;right:16px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;pointer-events:none}
.top .pill{padding:5px 11px;font-size:11px}
.top>*{pointer-events:auto}
.header-pill{display:flex;gap:6px;cursor:default}
.brand{color:var(--lime);font-weight:900}
.sep{color:var(--dim)}
.row{display:contents}
.status-pill{cursor:default;color:var(--dim);max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.drop{position:relative}
.menu{display:none;position:absolute;top:110%;left:50%;transform:translateX(-50%);background:var(--chrome);border:1px solid var(--line);border-radius:18px;padding:6px;min-width:140px;z-index:5}
.drop.open .menu{display:flex;flex-direction:column}
.menu button{background:none;border:0;color:var(--text);font:inherit;padding:8px 12px;border-radius:12px;text-align:left;cursor:pointer;letter-spacing:.06em}
.menu button:hover,.menu button.on{background:rgba(191,255,59,.12);color:var(--lime)}
.bottom{position:fixed;bottom:16px;left:16px;right:16px;display:flex;gap:8px;justify-content:center;align-items:center}
.round{width:42px;height:42px;padding:0;display:grid;place-items:center;font-size:18px}
#needle{display:inline-block;color:var(--lime);transition:transform .1s}
.zoom{display:flex;align-items:center;gap:8px;flex:0 1 320px;cursor:default}
.zoom input{flex:1;accent-color:var(--lime)}
.close-pill{position:fixed;top:44px;left:16px;max-width:calc(100% - 32px);padding:5px 11px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--lime);border-color:var(--lime)}
.floorbar{position:fixed;right:16px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:6px;max-height:60vh;overflow:auto}
.floorbar .pill{padding:6px 12px;font-size:12px}
.card{position:fixed;left:50%;bottom:76px;transform:translateX(-50%);width:min(460px,calc(100% - 32px));max-height:52vh;overflow:auto;background:#000;border:1px solid var(--lime);border-radius:24px;padding:14px 16px}
.card h2{margin:0 0 4px;font-size:18px;color:#fff}
.card .meta{color:var(--dim);font-size:12px;margin-bottom:10px}
.card .acts{display:flex;gap:8px;margin-bottom:10px;flex-wrap:wrap}
.card .go{background:var(--lime);color:#000;border-color:var(--lime);font-weight:900}
.card .x{position:absolute;right:12px;top:10px}
.cat{margin-top:8px}
.cat h3{margin:0;padding:8px 4px;font-size:12px;letter-spacing:.08em;display:flex;align-items:center;gap:6px;cursor:pointer;border-radius:12px}
.cat h3:hover{background:rgba(191,255,59,.08)}
.cat h3 small.cnt{color:var(--lime)}
.cat h3 .chev{margin-left:auto;margin-right:6px;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;color:var(--dim);transition:transform .15s;transform:rotate(45deg) translateY(-2px)}
.cat h3:hover .chev,.cat.open h3 .chev{color:var(--lime)}
.cat.open h3 .chev{transform:rotate(-135deg) translateY(-2px)}
.card-search{width:100%;margin:2px 0 6px;cursor:text;outline:none}
.card-search:focus{border-color:var(--lime)}
.card mark{background:rgba(191,255,59,.25);color:var(--lime);border-radius:3px}
.cat h3 i{width:10px;height:10px;border-radius:50%;display:inline-block}
.cat div{padding:5px 0 5px 16px;border-bottom:1px solid rgba(255,255,255,.06);color:var(--text);font-weight:500;cursor:pointer}
.cat div small{color:var(--dim)}
.search{position:fixed;top:10px;left:50%;transform:translateX(-50%);width:min(520px,calc(100% - 32px));background:#000;border:1px solid var(--lime);border-radius:24px;padding:12px;z-index:10}
.tabs{display:flex;gap:6px;margin-bottom:8px;flex-wrap:wrap}
.tabs .x{margin-left:auto}
#searchInput{width:100%;cursor:text;outline:none}
.results{max-height:50vh;overflow:auto;margin-top:8px}
.results div{padding:9px 10px;border-radius:12px;cursor:pointer;font-weight:500}
.results div:hover{background:#1d2a0c} /* solid, so the map never shows through the row */
.results small{color:var(--dim)}
@media (max-width:620px){.close-pill{top:76px}.card{bottom:70px}.floorbar{right:8px;top:auto;bottom:80px;transform:none;max-height:45vh}.floorbar .pill{max-width:120px;padding:4px 9px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
/* slim shell panel on the right */
.side{position:fixed;right:12px;top:44px;bottom:76px;width:310px;overflow:auto;background:#000;border:1px solid var(--lime);border-radius:22px;padding:14px;z-index:4}
.side h2{margin:0 0 4px;font-size:16px;color:#fff}
.side .meta{color:var(--dim);font-size:12px;margin-bottom:8px}
.side .acts{margin-bottom:8px}
.side .go{background:var(--lime);color:#000;border-color:var(--lime);font-weight:900;padding:5px 14px}
.chips{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:8px}
.chips .pill{padding:4px 10px;font-size:11px}
.side .cat div{padding:6px 0 6px 14px;font-size:12px}
.cat div.on{color:var(--lime);background:rgba(191,255,59,.1);border-radius:8px}
body.shell-open .card{left:16px;transform:none;width:min(380px,calc(100% - 360px))}
@media (max-width:820px){
  .side{top:auto;left:8px;right:8px;bottom:70px;width:auto;max-height:42vh}
  body.shell-open .card{left:8px;right:8px;width:auto;bottom:calc(42vh + 78px);max-height:30vh}
}
.hint{position:fixed;left:50%;bottom:68px;transform:translateX(-50%);font-size:11px;color:var(--dim);cursor:default;white-space:nowrap;max-width:calc(100% - 32px);overflow:hidden;text-overflow:ellipsis}
.card.dock{left:auto;right:12px;top:44px;bottom:auto;transform:none;width:310px;max-height:calc(100% - 130px)}
@media (max-width:820px){.card.dock{left:8px;right:8px;width:auto;top:auto;bottom:70px;max-height:42vh}}
/* phones: one slim row on top, fewer overlays */
@media (max-width:620px){
  .top{top:6px;left:6px;right:6px;flex-wrap:nowrap;gap:4px;justify-content:space-between}
  .top .pill{padding:5px 8px;font-size:10px;letter-spacing:.03em}
  .header-pill>*:not(.brand),.status-pill,.pre,.hint{display:none !important}
  .menu{left:auto;right:0;transform:none}
  .close-pill{top:40px;left:6px;font-size:10px;max-width:calc(100% - 12px)}
  .bottom{bottom:10px;left:8px;right:8px;gap:6px}
  .round{width:38px;height:38px;font-size:16px}
  .zoom{padding:6px 10px}
  .card{bottom:58px;max-height:40vh;padding:12px 14px;border-radius:20px}
  .card h2{font-size:16px}
  .side{bottom:58px;max-height:38vh;padding:12px}
  body.shell-open .card{bottom:calc(38vh + 64px);max-height:26vh}
  .search{top:6px;width:calc(100% - 12px)}
}
.top{z-index:20}
.side h2 .fold{display:none}
/* wider screens: the mall's panel folds to its name like the place card (round ▴ / ▾ button) */
@media (min-width:821px){
  .side h2{display:flex;align-items:center;gap:8px;cursor:pointer}
  .side h2 .fold{display:inline-grid;place-items:center;flex:none;margin-left:auto;width:36px;height:36px;border:1px solid rgba(191,255,59,.45);border-radius:50%;color:var(--lime);font-size:13px;transition:transform .15s}
  .side.collapsed{bottom:auto;overflow:hidden}
  .side.collapsed>*:not(h2):not(.meta){display:none}
  .side.collapsed .meta{margin-bottom:0}
  .side.collapsed h2 .fold{transform:rotate(180deg)}
}
@media (max-width:820px){
  .side h2{display:flex;align-items:center;cursor:pointer}
  .side h2 .fold{display:inline;margin-left:auto;color:var(--lime);transition:transform .15s}
  .side.collapsed{max-height:none;bottom:58px;top:auto;overflow:hidden}
  .side.collapsed>*:not(h2):not(.meta){display:none}
  .side.collapsed .meta{margin-bottom:0}
  .side:not(.collapsed) h2 .fold{transform:rotate(180deg)}
}
.search{z-index:30}
@media (max-width:620px){#searchBtn{font-size:16px;padding:2px 11px;line-height:1}}
/* start-up loader */
#loader{position:fixed;inset:0;z-index:50;background:radial-gradient(circle at 50% 45%,#0d1a05 0%,#000 70%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;transition:opacity .45s}
#loader.done{opacity:0;pointer-events:none}
#loader .ring{width:64px;height:64px;border-radius:50%;border:3px solid rgba(191,255,59,.18);border-top-color:var(--lime);animation:spin 0.9s linear infinite;box-shadow:0 0 24px rgba(191,255,59,.25);margin-bottom:8px}
#loader .lbrand{color:var(--lime);font-weight:900;font-size:26px;letter-spacing:.2em}
#loader .lsub{color:var(--text);font-size:11px;letter-spacing:.3em}
#loader .ltext{color:var(--dim);font-size:12px;letter-spacing:.08em;animation:pulse 1.4s ease-in-out infinite}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes pulse{50%{opacity:.4}}
@media (max-width:820px){
  /* inside a building on a phone the card sits just above the folded bar, small */
  body.shell-open .card{bottom:136px;max-height:24vh;padding:10px 12px}
  body.shell-open.side-open .card{bottom:calc(38vh + 64px)}
  body.shell-open .card h2{font-size:15px;margin-right:44px}
  body.shell-open .card .meta{font-size:11px;margin-bottom:6px}
  body.shell-open .card .x{width:32px;height:32px;font-size:14px;top:8px;right:8px}
}
#followBtn.on{background:var(--lime);border-color:var(--lime);box-shadow:0 0 14px rgba(191,255,59,.5)}
.hint.toast{display:block !important;color:var(--lime);white-space:normal;text-align:center}
#followBtn{display:none}
@media (pointer:coarse),(max-width:820px){#followBtn{display:grid}}
/* category search */
.catpick{display:flex;flex-direction:column;gap:4px;margin-bottom:8px}
.crow{display:flex;gap:4px}
.crow .pill{padding:5px 10px;font-size:11px;display:flex;align-items:center;gap:6px}
.crow .pill i{width:9px;height:9px;border-radius:50%;display:inline-block}
.crow .pill small,.subs .pill small{color:var(--dim)}
.crow .chev{width:32px;justify-content:center}
.subs{display:flex;flex-wrap:wrap;gap:4px;padding:2px 0 6px 18px}
.subs .pill{padding:4px 9px;font-size:10px}
.results .catpick .pill.on{border-color:var(--lime);background:rgba(191,255,59,.14)}
.results .meta{color:var(--dim);font-size:12px;margin:6px 0}
.results .meta a{color:var(--lime)}
.results .catpick div,.results .catpick div:hover{padding:0;background:none;cursor:default}
.catacts{display:flex;gap:6px;margin-top:6px}
.catacts .go{background:var(--lime);color:#000;border-color:var(--lime);font-weight:900}
.filter-pill{position:fixed;top:44px;right:16px;padding:5px 11px;font-size:11px;color:#000;background:var(--lime);border-color:var(--lime);font-weight:900;z-index:5}
body.shell-open .filter-pill{right:340px}
@media (max-width:820px){.filter-pill{top:40px;right:6px;font-size:10px}body.shell-open .filter-pill{right:6px;top:72px}}
/* category picker: full-width rows, clear arrows, list scrolls so the button stays visible */
.results.cats{max-height:none;overflow:visible}
.results.cats .catpick{max-height:min(46vh,calc(100vh - 250px));overflow:auto;padding-right:4px}
.results.cats div:hover,.results.cats .catpick:hover,.results.cats .catacts:hover{background:none}
.crow [data-cat-pick]{flex:1;text-align:left}
.crow .chev{width:40px;font-size:14px;color:var(--lime);border-color:var(--lime)}
.results.cats .catacts{padding:0}
/* subcategory toggle inside the row: count + a thin chevron that turns when open */
.crow [data-cat-pick]{padding-right:4px}
.crow .exp{margin-left:auto;display:inline-flex;align-items:center;gap:6px;padding:2px 8px;border-radius:999px;color:var(--dim);font-size:10px;cursor:pointer}
.crow .exp:hover{color:var(--lime);background:rgba(191,255,59,.1)}
.crow .exp b{width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);transition:transform .15s}
.crow .exp.open{color:var(--lime)}
.crow .exp.open b{transform:rotate(45deg)}
/* HAHO scrollbars: slim lime thumb on a dark track */
*{scrollbar-width:thin;scrollbar-color:var(--lime) rgba(191,255,59,.08)}
::-webkit-scrollbar{width:6px;height:6px}
::-webkit-scrollbar-track{background:rgba(191,255,59,.06);border-radius:6px}
::-webkit-scrollbar-thumb{background:var(--lime);border-radius:6px}
::-webkit-scrollbar-button{display:none;width:0;height:0}
/* chevron points down when closed, up when open */
.crow .exp b{transform:rotate(45deg) translateY(-2px)}
.crow .exp.open b{transform:rotate(-135deg) translateY(-2px)}
/* the category list uses the room the screen has, leaving the buttons in view */
.results.cats .catpick{max-height:calc(100vh - 235px);min-height:120px}
.crow .pill small.cnt{color:var(--lime)}
@media (max-width:620px){
  .tabs{flex-wrap:nowrap;gap:4px}
  .tabs .pill{padding:5px 8px;font-size:10px;letter-spacing:.02em}
  .tabs .x{width:28px;height:28px;font-size:12px;flex:none}
}
/* search tabs: compact, one row */
.search .tabs{flex-wrap:nowrap;gap:5px}
.search .tabs .pill{padding:6px 10px;font-size:11px;letter-spacing:.03em;white-space:nowrap}
.search .tabs .x{margin-left:auto;flex:none}
@media (max-width:620px){.search .tabs .pill{padding:5px 7px;font-size:9.5px;letter-spacing:.01em}.search .tabs .x{width:26px;height:26px;font-size:11px}}
#needle,#locate svg{display:block}#needle{color:var(--lime);transition:transform .1s}#locate{color:var(--lime)}

/* "which floor are you on?" when you are standing inside a mall */
.floorask{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:60;width:min(360px,calc(100% - 32px));background:#000;border:1px solid var(--lime);border-radius:24px;padding:16px;text-align:center}
.floorask[hidden]{display:none}
.floorask .meta{color:#fff;font-size:14px;margin-bottom:12px}
.floorask .chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:12px;max-height:40vh;overflow:auto}
.floorask .chips .pill{color:var(--lime);border-color:var(--lime)}

/* your-floor dropdown, shown while you are inside the open mall */
.myfloor{position:fixed;left:16px;bottom:24px;z-index:55;display:flex;align-items:center;gap:8px;padding:6px 8px 6px 14px;background:#000;border:1px solid var(--lime);border-radius:999px;color:var(--lime);font-size:11px;font-weight:800;letter-spacing:.06em}
.myfloor[hidden]{display:none}
.myfloor i{width:10px;height:10px;border-radius:50%;background:var(--lime);box-shadow:0 0 0 3px rgba(191,255,59,.25)}
.myfloor select{background:#000;color:#fff;border:1px solid rgba(191,255,59,.4);border-radius:999px;padding:5px 10px;font:inherit;outline:none;cursor:pointer}
/* in-mall route note on a unit's card */
.card .route{margin:-2px 0 10px;padding:8px 12px;border:1px dashed var(--lime);border-radius:14px;color:var(--lime);font-size:12px;font-weight:800;letter-spacing:.03em}
.acts .pill.on{color:var(--lime);border-color:var(--lime)}
/* card buttons: icon + label, all the same quiet style */
.acts .pill{display:inline-flex;align-items:center;gap:7px}
.acts .pill .ic{width:15px;height:15px;flex:none;color:var(--lime)}

.gapctl{position:fixed;left:16px;bottom:72px;z-index:55;display:flex;align-items:center;gap:8px;padding:6px 14px;background:#000;border:1px solid rgba(191,255,59,.5);border-radius:999px;color:var(--lime);font-size:11px;font-weight:800;letter-spacing:.06em}
.gapctl[hidden]{display:none}
.gapctl input{width:120px;accent-color:#bfff3b}
.gapctl b{color:#fff;min-width:44px;text-align:right}
/* phones and touch tablets: FLOOR GAP is a small vertical slider at the middle right */
@media (max-width:820px),(pointer:coarse){
  .gapctl{top:84px;bottom:auto;left:auto;right:6px;transform:none;flex-direction:column;gap:6px;padding:8px 5px;font-size:8.5px;border-radius:16px}
  .gapctl .gl{display:none}
  .gapctl input{writing-mode:vertical-lr;direction:rtl;width:18px;height:130px;margin:0}
  .gapctl b{min-width:0;font-size:9px;text-align:center}
}
/* phones: a slimmer card so the map stays visible */
@media (max-width:820px){
  .card{padding:10px 12px}
  .card h2,body.shell-open .card h2{font-size:14px;font-weight:700;margin-bottom:2px}
  .card .meta,body.shell-open .card .meta{font-size:10.5px;margin-bottom:8px}
  .card .acts{gap:6px;margin-bottom:8px}
  .card .acts .pill{padding:5px 10px;font-size:10px;font-weight:600;letter-spacing:.04em;gap:5px}
  .card .acts .pill .ic{width:12px;height:12px}
  .card .x{width:28px;height:28px;font-size:12px;top:8px;right:8px}
  .card .card-search{padding:6px 12px;font-size:11px}
  .card .cat h3{font-size:10.5px;padding:6px 4px;font-weight:700}
  .card .route{font-size:10.5px;padding:6px 10px}
  .card,.card p,.card small,.card li{font-size:11px}
}

/* stop Android/iOS from enlarging text on their own (it was blowing up the card) */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.more-btn{width:100%;padding:6px 12px;font-size:10.5px;font-weight:700;color:var(--lime);margin-bottom:4px}
.utype{color:var(--lime);font-weight:700}
/* computers: FLOOR GAP sits on the bottom row, level with the camera slider; YOU ARE ON goes above it */
@media (min-width:821px){ .myfloor{bottom:72px} }
@media (min-width:821px) and (pointer:fine){ .gapctl{bottom:18px;padding:8px 14px} }

#searchResults .sep{border-top:1px solid rgba(191,255,59,.35);margin:6px 0;padding:4px 0 0;color:var(--lime);font-size:10px;letter-spacing:.08em;cursor:default}

/* any card folds down to its title with the ▴ button next to ✕ */
.card .fold{position:absolute;right:52px;top:10px}
@media (max-width:820px){ .card .fold{width:28px;height:28px;font-size:12px;top:8px;right:42px} }
.card h2{padding-right:84px}
.card.folded>*:not(h2):not(.x):not(.fold):not(.gobtn){display:none}
.card.folded{max-height:none;overflow:hidden}

/* top-right link to the app */
#appBtn{text-decoration:none;color:var(--lime);border-color:var(--lime)}
/* phones: YOU ARE ON sits top-left under CLOSE, clear of the card and the bottom sheet */
@media (max-width:820px){ .myfloor{top:84px;bottom:auto;left:6px;padding:4px 6px 4px 10px;font-size:10px} }
/* phones while walking a route: just the map, your floor and a STOP ROUTE button */
.stoproute{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:70;padding:10px 18px;font-size:13px;font-weight:800;color:#000;background:var(--lime);border-color:var(--lime);max-width:calc(100% - 32px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stoproute[hidden]{display:none}
body.walking .card,body.walking .side,body.walking .top,body.walking .close-pill,body.walking .gapctl,body.walking .filter-pill,body.walking .bottom,body.walking .floorbar{display:none!important}

.searchrow{display:flex;gap:6px}
.searchrow #searchInput{flex:1;min-width:0}
#searchGo{flex:none;color:#000;background:var(--lime);border-color:var(--lime);font-weight:800;cursor:pointer}

/* the line under the title also stays clear of the ▴ and ✕ buttons */
.card h2 + .meta{padding-right:84px}
@media (max-width:820px){ .card h2 + .meta{padding-right:72px} }

/* live distance left on a route */
.route-live{color:var(--lime);font-weight:800;font-size:15px;margin:6px 0 2px}
.route-live:empty{display:none}

/* the ripple around your dot: animated by the browser, so the map doesn't redraw for it */
.userpulse{position:fixed;left:0;top:0;width:0;height:0;z-index:1;pointer-events:none}
.userpulse[hidden]{display:none}
.userpulse i{position:absolute;left:-26px;top:-26px;width:52px;height:52px;border:2px solid rgba(191,255,59,.6);border-radius:50%;animation:upulse 2s linear infinite}
@keyframes upulse{from{transform:scale(.3);opacity:1}to{transform:scale(1);opacity:0}}

/* floor dropdown while a building is open: top middle, under the top bar (as in the app) */
.floorsel{position:fixed;top:44px;left:50%;transform:translateX(-50%);z-index:15} /* under the top bar and its menus (20) and the search panel (30) */
.floorsel[hidden]{display:none}
.floorsel select{appearance:none;-webkit-appearance:none;background:#000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23bfff3b' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center/10px;color:var(--lime);border:1px solid var(--lime);border-radius:999px;padding:7px 32px 7px 16px;font:800 12px/1 inherit;letter-spacing:.06em;cursor:pointer;outline:none;max-width:70vw}
@media (max-width:820px){ .floorsel{top:72px} .floorsel select{font-size:11px;padding:6px 28px 6px 12px} }
body.walking .floorsel{display:none!important}
@media (max-width:820px){ body.shell-open .myfloor,body.shell-open .gapctl{top:112px} } /* below the floor dropdown */
.card h2[data-act=fold]{cursor:pointer}
.header-pill{cursor:pointer}
.routenext{bottom:74px;background:#000;color:var(--lime)}
.card .gobtn{display:none}
.card.folded>.gobtn{display:inline-flex;position:absolute;right:92px;top:10px;padding:6px 12px;font-weight:800;color:#000;background:var(--lime);border-color:var(--lime)}
@media (max-width:820px){.card.folded>.gobtn{top:8px;right:78px;padding:5px 10px;font-size:12px}}
.card.folded h2{padding-right:150px}@media (max-width:820px){.card.folded h2{padding-right:130px}}
/* phones: search moves from the header to a lime button bottom-right; the folded mall bar is gone (that button opens it) */
#findBtn{display:none}
@media (max-width:820px){
  #searchBtn{display:none}
  #findBtn{display:grid;background:var(--lime);border-color:var(--lime);color:#000;font-size:20px;font-weight:900}
  .side.collapsed{display:none !important}
}
/* phones: no north button and no height slider; the round buttons spread left, centre and right */
@media (max-width:820px){
  #compass,.bottom .zoom,#gapBox{display:none !important}
  .bottom{justify-content:space-between}
}
#side [hidden]{display:none !important}
/* walking bar: the whole instruction, wrapped onto a second line rather than cut */
.stoproute{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.35;text-align:center;border-radius:18px;width:max-content}
@media (max-width:820px){
  .routenext{bottom:96px}
  /* the mall bar is gone on phones: the card sits just above the round buttons */
  body.shell-open .card{bottom:76px}
  body.shell-open.side-open .card{bottom:calc(38vh + 64px)}
}
/* rough GPS fix: the location button pulses while the page keeps asking for a sharper one */
#locate.seeking{animation:seek 1.1s ease-in-out infinite}
@keyframes seek{0%,100%{box-shadow:0 0 0 0 rgba(191,255,59,.7)}50%{box-shadow:0 0 0 9px rgba(191,255,59,0)}}
/* feedback popup */
.fbbox{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:90;width:min(380px,calc(100% - 32px));box-shadow:0 10px 40px rgba(0,0,0,.6);background:#000;border:1px solid var(--lime);border-radius:20px;padding:14px;display:flex;flex-direction:column;gap:10px}
.fbbox[hidden]{display:none}
.fbhead{display:flex;align-items:center;justify-content:space-between;color:#fff}
.fbbox textarea{width:100%;box-sizing:border-box;background:#0b0f08;color:#fff;border:1px solid rgba(191,255,59,.45);border-radius:14px;padding:10px 12px;font:14px system-ui,sans-serif;resize:vertical}
.fbbox input{width:100%;box-sizing:border-box;text-align:left;font-size:13px}
.fbfoot{display:flex;align-items:center;justify-content:space-between;color:var(--dim)}
#fbSend{background:var(--lime);border-color:var(--lime);color:#000;font-weight:800}
@media (max-width:820px){.fbbox{width:calc(100% - 24px)}}
/* edit mode bar (move / rotate a building) */
.editbar{position:fixed;left:50%;bottom:84px;transform:translateX(-50%);z-index:85;background:#000;border:1px solid var(--lime);border-radius:20px;padding:10px 12px;display:flex;flex-direction:column;gap:8px;align-items:center;max-width:calc(100% - 24px)}
.editbar[hidden]{display:none}
#editRead{color:var(--lime);font:700 12px system-ui,sans-serif;text-align:center}
.ebtns{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
.esave{background:var(--lime);border-color:var(--lime);color:#000;font-weight:800}
#layerDrop[hidden]{display:none}
/* the text search engines and screen readers read: the map itself is a canvas */
.seo-text{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* how to turn location on: HAHO theme */
.lochelp{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(340px,calc(100vw - 32px));z-index:60;padding:18px;background:#000;border:1px solid #bfff3b;border-radius:18px;color:#f5f6f4;font-size:14px;line-height:1.45}
.lochelp[hidden]{display:none}
.lochelp b{color:#bfff3b;font-size:15px;letter-spacing:.04em}
.lochelp ol{margin:10px 0 14px;padding-left:20px}
.lochelp-do{display:flex;gap:8px;justify-content:flex-end}
