/* Bait map, full-screen phone layout (DRAFT v1). Only when <html> has .bma (phones/tablets, set in the page head). */
html.bma{--bma-red:#F0524F;--bma-gold:#FFC21A;--bma-cream:#F6E7A8;--bma-blue:#4F9BFF;--bma-glass:rgba(12,13,12,.86);--bma-line:1px solid rgba(255,255,255,.14);--bma-acc:var(--nmh-acc,#D4FF3A)}
/* map first; the intro and tools follow below the map */
html.bma main#main{display:flex;flex-direction:column}
html.bma .bm-stage{order:-1;padding:0!important;margin:0!important;border:0!important;background:#0B0C0B}
html.bma .bm-stage-in{padding:0!important;max-width:none!important;display:block!important}
html.bma .bm-map-col{padding:0!important;margin:0!important}
html.bma .bm-map-kicker,html.bma .bm-tally,html.bma .bm-map-tools,html.bma .bm-means,html.bma .bm-map-actions,
html.bma .leaflet-control-zoom,html.bma .leaflet-control-example,html.bma #bm-pin-photo{display:none!important}
html.bma .bm-map-shell{position:relative;height:calc(100vh - var(--bma-top,56px) - var(--bma-ab,64px));height:calc(100dvh - var(--bma-top,56px) - var(--bma-ab,64px));min-height:420px;overflow:hidden}
html.bma #bm-map.bm-map{height:100%!important;min-height:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#1A1C1A!important}
html.bma.bma-osmdark #bm-map .leaflet-tile-pane{filter:invert(1) hue-rotate(180deg) brightness(.9) contrast(.85) saturate(.3)}
/* search: top, full width less the ? button */
html.bma .bm-search,html.bma .bm-map-shell.is-drop .bm-search{position:absolute!important;top:10px!important;left:10px!important;right:62px!important;width:auto!important;max-width:none!important;margin:0!important;z-index:700;border-radius:999px!important;background:var(--bma-glass)!important;border:var(--bma-line)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 6px 18px rgba(0,0,0,.35)!important}
html.bma .bm-search-input{background:transparent!important;color:#F2F2EC!important;border:0!important;font-size:16px!important}
html.bma .bm-search-input::placeholder{color:rgba(242,242,236,.6)}
html.bma .bm-search-go{color:#F2F2EC!important;background:transparent!important;border:0!important}
html.bma .bm-search-results{border-radius:16px!important}
.bma-round{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;padding:0;margin:0;background:var(--bma-glass)!important;color:#F2F2EC!important;border:var(--bma-line)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 6px 18px rgba(0,0,0,.35)!important;cursor:pointer;-webkit-tap-highlight-color:transparent;font:inherit;min-width:0!important;min-height:0!important}
.bma-round svg{width:22px;height:22px;display:block}
.bma-round:focus-visible{outline:2px solid var(--bma-acc);outline-offset:2px}
.bma-q{position:absolute;top:10px;right:10px;z-index:700}
/* chips = the legend */
html.bma .bma-chips{position:absolute;top:62px;left:0;right:0;z-index:690;display:flex!important;flex-wrap:nowrap!important;gap:8px;overflow-x:auto;padding:0 10px 4px;margin:0!important;scrollbar-width:none;-webkit-overflow-scrolling:touch}
html.bma .bma-chips::-webkit-scrollbar{display:none}
html.bma .bma-chips .bm-filter-btn{flex:none;display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 13px!important;border-radius:999px!important;background:var(--bma-glass)!important;color:#F2F2EC!important;border:var(--bma-line)!important;font:600 13px/1 'Instrument Sans',system-ui,sans-serif!important;white-space:nowrap;box-shadow:0 4px 12px rgba(0,0,0,.3)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);text-transform:none!important;letter-spacing:0!important}
html.bma .bma-chips .bm-filter-btn.is-on{border-color:var(--bma-acc)!important;box-shadow:0 0 0 1px var(--bma-acc),0 4px 12px rgba(0,0,0,.3)!important}
html.bma .bma-chips .bm-filter-btn::before{content:"";width:10px;height:10px;border-radius:50%;flex:none;display:none}
html.bma .bma-chips [data-filter=poison]::before,html.bma .bma-chips [data-filter=poisonseen]::before{display:block;background:var(--bma-red)}
html.bma .bma-chips .bm-filter-btn[hidden]{display:none!important}
html.bma .bma-chips [data-filter=nopoison]::before{display:block;background:var(--bma-gold)}
html.bma .bma-chips [data-filter=poisonfree]::before{display:block;background:var(--bma-teal,#3DDC97)}
html.bma .bma-chips [data-filter=confirmed]::before{display:block;background:var(--bma-cream);box-shadow:inset 0 0 0 2px #0C0D0B,0 0 0 1px var(--bma-cream)}
html.bma .bma-chips [data-filter=sealed]::before{display:block;background:var(--bma-blue);border-radius:3px}
/* the confirmed chip only exists on the phone layout and on desktop where the page shows it */
/* right rail: My stations, Near me, Camera */
.bma-rail{position:absolute;right:10px;bottom:calc(var(--bma-peek,96px) + 10px);z-index:690;display:flex;flex-direction:column;align-items:flex-end;gap:10px;transition:opacity .15s}
.bma-rail .leaflet-bar{border:0!important;box-shadow:none!important;background:none!important;margin:0!important;border-radius:0!important}
.bma-rail .bm-ms-lay{border-radius:999px!important;background:var(--bma-glass)!important;color:#F2F2EC!important;border:var(--bma-line)!important;height:36px;padding:0 12px!important}
html.bma #bm-gap-start.bma-round{position:static!important;width:44px!important;height:44px!important}
/* peek panel */
.bma-peek{position:absolute;left:10px;right:10px;bottom:10px;z-index:680;padding:10px 14px 12px;border-radius:20px;background:var(--bma-glass);border:var(--bma-line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 10px 26px rgba(0,0,0,.45);color:#F2F2EC;transition:opacity .15s,transform .15s}
.bma-peek-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.bma-eyebrow{margin:0;font:800 12px/1.2 'Instrument Sans',system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#F2F2EC}
.bma-peek-link,.bma-link{font:600 13px/1.2 'Instrument Sans',system-ui,sans-serif;color:var(--bma-acc);text-decoration:underline;text-underline-offset:3px;background:none;border:0;padding:0;cursor:pointer}
.bma-counts{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.bma-counts li{display:flex;flex-direction:column;gap:2px;min-width:0}
.bma-counts b{font:800 22px/1 'Instrument Sans',system-ui,sans-serif;font-variant-numeric:tabular-nums}
.bma-counts span{display:flex;align-items:center;gap:5px;font:500 12px/1.2 'Instrument Sans',system-ui,sans-serif;color:#C9CBC2;white-space:nowrap}
.bma-none{margin:8px 0 0;font:500 14px/1.35 'Instrument Sans',system-ui,sans-serif;color:#E2E3DC}
/* badge keys */
.bma-k{display:inline-block;width:10px;height:10px;border-radius:50%;flex:none;box-sizing:border-box}
.bma-k-poison{background:var(--bma-red)}
.bma-k-nopoison{background:var(--bma-gold)}
.bma-k-confirmed{background:var(--bma-cream);box-shadow:inset 0 0 0 2px #0C0D0B,0 0 0 1px var(--bma-cream)}
.bma-k-sealed{background:var(--bma-blue);border-radius:3px}
.bma-k-boxedout{background:var(--bma-gold);box-shadow:0 0 0 2px var(--bma-blue)}
.bma-k-poisonfree{background:var(--bma-teal,#3DDC97)}
.bma-k-pending{background:transparent;border:2px dashed #F2F2EC}
.bma-k-noneseen{background:transparent;border:2px dashed #9AA0A6}
/* while a pin, a form or drop mode is open, the extras step aside */
.bm-map-shell.bma-pinopen .bma-peek,.bm-map-shell.bma-pinopen .bma-rail,
.bm-map-shell.is-drop .bma-peek,.bm-map-shell.is-drop .bma-rail,.bm-map-shell.is-drop .bma-chips,.bm-map-shell.is-drop .bma-q{opacity:0;pointer-events:none}
html.bma .bm-drop-banner{z-index:720!important}
/* pins */
html.bma .bm-div-icon .bm-pin{box-shadow:0 0 0 2px rgba(11,12,11,.9),0 3px 8px rgba(0,0,0,.55)!important;border:0!important}
html.bma .bm-div-icon .bm-pin-poison{background:var(--bma-red)!important;border-radius:50%}
html.bma .bm-div-icon .bm-pin-removed{background:var(--bma-gold)!important;border-radius:50%;width:24px;height:24px;margin:2px}
html.bma .bm-div-icon .bm-pin-removed svg{display:none!important}
html.bma .bm-div-icon .bm-pin-removed.bm-pin-boxedout{width:24px;height:24px;margin:4px;box-shadow:0 0 0 2px #0B0C0B,0 0 0 5px var(--bma-blue),0 3px 8px rgba(0,0,0,.55)!important}
html.bma .bm-div-icon .bm-pin-sealed{background:var(--bma-blue)!important;border-radius:6px;width:22px;height:22px;margin:2px}
html.bma .bm-div-icon .bm-pin-sealed::after{display:none!important}
html.bma .bm-div-icon .bm-pin-switched{background:var(--bma-cream)!important;border-radius:50%!important;display:grid!important;place-items:center}
html.bma .bm-div-icon .bm-pin-switched.is-featured{box-shadow:0 0 0 2px #0B0C0B,0 0 0 5px rgba(246,231,168,.45),0 3px 8px rgba(0,0,0,.55)!important}
html.bma .bm-div-icon .bm-pin:has(.bm-star){outline:2px dashed #F2F2EC;outline-offset:3px}
html.bma .bm-div-icon .bm-star{display:none!important}
html.bma .bm-div-icon.bma-sel .bm-pin{outline:3px solid var(--bma-acc)!important;outline-offset:3px;transform:scale(1.2)}
html.bma .bm-cluster{background:rgba(14,15,14,.92)!important;color:#F2F2EC!important;box-shadow:0 0 0 3px #8A8C84,0 4px 12px rgba(0,0,0,.5)!important;border:0!important}
html.bma .bm-cluster::after{display:none!important}
html.bma .bm-cluster-poison{box-shadow:0 0 0 3px var(--bma-red),0 4px 12px rgba(0,0,0,.5)!important}
html.bma .bm-cluster-removed,html.bma .bm-cluster-clear{box-shadow:0 0 0 3px var(--bma-gold),0 4px 12px rgba(0,0,0,.5)!important}
html.bma .bm-cluster-switched{box-shadow:0 0 0 3px var(--bma-cream),0 4px 12px rgba(0,0,0,.5)!important}
html.bma .bm-cluster-sealed{box-shadow:0 0 0 3px var(--bma-blue),0 4px 12px rgba(0,0,0,.5)!important}
html.bma .bm-cluster-mix{box-shadow:0 4px 12px rgba(0,0,0,.5)!important}
/* pin details sheet */
.bma-pinsheet{position:absolute;left:0;right:0;bottom:0;z-index:710;max-height:72%;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;pointer-events:none}
.bma-pinsheet>.leaflet-popup{position:relative!important;transform:none!important;left:auto!important;bottom:auto!important;top:auto!important;margin:0!important;pointer-events:auto;opacity:1!important}
.bma-pinsheet .leaflet-popup-tip-container{display:none!important}
.bma-pinsheet .leaflet-popup-content-wrapper{border-radius:22px 22px 0 0!important;background:rgba(12,13,12,.96)!important;border:var(--bma-line)!important;border-bottom:0!important;box-shadow:0 -10px 30px rgba(0,0,0,.5)!important;padding:0!important}
.bma-pinsheet .leaflet-popup-content{width:auto!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:16px 16px 14px!important}
.bma-pinsheet .leaflet-popup-content::before{content:"";display:block;width:40px;height:4px;border-radius:2px;background:rgba(255,255,255,.28);margin:-6px auto 10px}
.bma-pinsheet a.leaflet-popup-close-button{top:12px!important;right:12px!important;width:32px!important;height:32px!important;border-radius:50%;background:rgba(255,255,255,.1)!important;color:#F2F2EC!important;display:grid!important;place-items:center;font:600 20px/1 system-ui!important;text-decoration:none}
.bma-pinsheet .bma-hide{display:none!important}
.bma-pill{display:inline-flex;align-items:center;gap:7px;margin:0 44px 8px 0!important;padding:5px 11px;border-radius:999px;background:rgba(255,255,255,.08);border:var(--bma-line);font:700 12px/1.1 'Instrument Sans',system-ui,sans-serif!important;color:#F2F2EC!important;letter-spacing:.02em}
.bma-pinsheet h3{margin:0 44px 4px 0!important;font-size:20px!important;line-height:1.2!important}
.bma-pinsheet .bma-meta{color:#C9CBC2!important;font-size:14px!important;margin:2px 0!important}
.bma-pinsheet .bma-area{color:#9EA096!important;font-size:13px!important;margin:6px 0 0!important}
.bma-pinsheet .bm-gallery img,.bma-pinsheet .bm-ba img{max-height:180px;object-fit:cover;border-radius:14px}
.bma-acts{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.bma-gone{width:100%;min-height:48px;border-radius:14px!important;background:var(--bma-acc)!important;color:#0C0D0B!important;border:0!important;font-weight:800!important}
.bma-sec{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.bma-sec .bm-pop-actions{margin:0!important;display:contents}
.bma-sec .bm-pop-share,.bma-chipbtn{flex:1 1 0;min-width:0;min-height:42px;padding:0 10px!important;border-radius:12px!important;background:rgba(255,255,255,.08)!important;color:#F2F2EC!important;border:var(--bma-line)!important;font:700 14px/1 'Instrument Sans',system-ui,sans-serif!important;text-decoration:none!important;box-shadow:none!important;white-space:nowrap;cursor:pointer}
.bma-sec .bm-pop-share-status{flex-basis:100%;margin:0}
.bma-sec .bm-pop-share-status:empty{display:none}
.bma-pinsheet .bma-foot,.bma-sheet .bma-foot{margin:12px 0 0!important;font:500 12.5px/1.4 'Instrument Sans',system-ui,sans-serif!important;color:#9EA096!important;text-align:center}
/* +Pin and badges sheets */
.bma-sheet{position:fixed;inset:0;z-index:9400;display:flex;align-items:flex-end;justify-content:center;background:rgba(5,6,5,.55);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.bma-sheet[hidden]{display:none}
.bma-card{width:100%;max-width:560px;max-height:86vh;overflow:auto;background:rgba(14,15,14,.98);color:#F2F2EC;border:var(--bma-line);border-bottom:0;border-radius:24px 24px 0 0;padding:16px 16px calc(18px + var(--bma-ab,0px) + env(safe-area-inset-bottom,0px));box-shadow:0 -12px 30px rgba(0,0,0,.5)}
.bma-card-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.bma-card-bar h3{margin:0;font:800 19px/1.2 'Instrument Sans',system-ui,sans-serif;color:#F2F2EC}
.bma-close{min-height:36px;padding:0 14px;border-radius:999px;background:rgba(255,255,255,.1);color:#F2F2EC;border:var(--bma-line);font:700 14px/1 'Instrument Sans',system-ui,sans-serif;cursor:pointer}
.bma-opts{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.bma-opt{width:100%;text-align:left;display:flex;flex-direction:column;gap:3px;padding:13px 15px;border-radius:16px;background:rgba(255,255,255,.06);border:var(--bma-line);color:#F2F2EC;cursor:pointer;font:inherit}
.bma-opt b{font:800 16px/1.2 'Instrument Sans',system-ui,sans-serif}
.bma-opt span{font:500 13.5px/1.35 'Instrument Sans',system-ui,sans-serif;color:#C9CBC2}
.bma-opt.is-primary{background:var(--bma-acc);color:#0C0D0B;border-color:transparent}
.bma-opt.is-primary span{color:#1E201B}
.bma-opt.is-gold b::before{content:"";display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--bma-gold);margin-right:8px;vertical-align:1px}
.bma-opt:focus-visible,.bma-close:focus-visible{outline:2px solid var(--bma-acc);outline-offset:2px}
.bma-opt.is-primary:focus-visible{outline-color:#F2F2EC}
.bma-key{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.bma-key li{display:flex;gap:12px;align-items:flex-start;font:500 15px/1.4 'Instrument Sans',system-ui,sans-serif;color:#E2E3DC}
.bma-key .bma-k{width:14px;height:14px;margin-top:4px}
.bma-key b{color:#F2F2EC}
@media (prefers-reduced-motion:reduce){.bma-peek,.bma-rail{transition:none}html.bma .bm-div-icon.bma-sel .bm-pin{transform:none}}
html:not(.bma) .bm-filter-btn[data-filter=confirmed]{display:none}
html.bma .bm-stage-in{width:auto!important;margin:0!important}
html.bma .bm-map-col>.xp-chip,html.bma .bm-map-shell>.xp-chip{position:absolute!important;left:10px;bottom:calc(var(--bma-peek,96px) + 14px);z-index:690;margin:0!important;transition:opacity .15s}
.bm-map-shell.bma-pinopen>.xp-chip,.bm-map-shell.is-drop>.xp-chip{opacity:0;pointer-events:none}
/* the header's "Open the map" button points at this page; on the full-screen map it has nothing to do */
html.bma .sn-cta[aria-current=page]{display:none!important}
/* that button carried the auto margin that pushes the menu button to the right edge; give it to the menu button instead (owner pt1702u) */
html.bma .sn-burger{margin-left:auto}
html.bma .bma-pinsheet .leaflet-popup-content{padding-bottom:40px!important}
html.bma .bma-pinsheet .bma-sec .bm-pop-share:not(.bm-pop-share-good){background:rgba(255,255,255,.08)!important;color:#F2F2EC!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:none!important}
html.bma .bma-pinsheet .bma-sec .bm-pop-share{flex:1 1 0;min-height:42px;border-radius:12px!important;font:700 14px/1 'Instrument Sans',system-ui,sans-serif!important;text-transform:none!important;letter-spacing:0!important}
html.bma .bma-gone{text-transform:none!important;letter-spacing:0!important;font-size:16px!important}
html.bma .bma-pinsheet a.leaflet-popup-close-button{position:absolute!important;top:12px!important;right:12px!important;left:auto!important;bottom:auto!important;z-index:2}
html.bma .bma-pinsheet .bm-pop-in{border-top:0!important;padding-top:0!important}
html.bma .bma-pinsheet .bm-unrev{background:rgba(255,255,255,.06)!important;color:#C9CBC2!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:10px;padding:6px 10px!important;font-size:13px!important;text-shadow:none!important}
/* map credits (i): first in the top row, left of search (owner pt1697u, t1698u); the full credit opens below it, over the map */
html.bma .bm-map-shell>.leaflet-control.nmh-attr.bma-credit{position:absolute!important;top:10px;left:10px;z-index:705;margin:0!important;display:block!important;width:44px;height:44px;float:none!important;clear:none!important}
html.bma .bm-map-shell .nmh-attr.bma-credit .nmh-attr-i{width:44px;height:44px;background:var(--bma-glass)!important;border:var(--bma-line)!important;box-shadow:0 6px 18px rgba(0,0,0,.35)!important}
html.bma .bm-map-shell .nmh-attr.bma-credit .nmh-attr-i svg{width:20px;height:20px}
html.bma .bm-map-shell .nmh-attr.bma-credit .leaflet-control-attribution{z-index:1;position:absolute!important;top:52px;left:0;width:max-content;max-width:calc(100vw - 40px)!important}
html.bma .bm-search,html.bma .bm-map-shell.is-drop .bm-search{left:62px!important}
.bma-k-box{background:transparent;box-shadow:inset 0 0 0 2px #F2F2EC}
/* the credit now lives outside the Leaflet map box, so it carries its own look (same as map-credit.js) */
html.bma .bm-map-shell>.nmh-attr.bma-credit .leaflet-control-attribution{display:none;margin:0!important;padding:6px 10px!important;font:500 12px/1.4 'Instrument Sans',system-ui,-apple-system,sans-serif!important;background:rgba(7,9,8,.94)!important;color:#C8CBC0!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:10px!important;box-shadow:0 6px 18px rgba(0,0,0,.45)!important;white-space:normal}
html.bma .bm-map-shell>.nmh-attr.bma-credit.is-open .leaflet-control-attribution{display:block!important}
html.bma .bm-map-shell>.nmh-attr.bma-credit .leaflet-control-attribution a{color:var(--bma-acc)!important;text-decoration:underline;text-underline-offset:2px}
html.bma .bm-map-shell>.nmh-attr.bma-credit.is-open .nmh-attr-i{border-color:var(--bma-acc)!important;color:var(--bma-acc)!important}
/* header row always fits the screen on the full-screen map (owner pt1704u): nothing in it may push the menu button past the edge.
   Same 14px inset as the header's left side, plus the phone's safe area; the logo text gives way first; the page never scrolls sideways. */
html.bma,html.bma body{overflow-x:clip;max-width:100%}
html.bma header.top.sn{box-sizing:border-box;width:100%;max-width:100%}
html.bma header.top.sn .sn-in{box-sizing:border-box;width:100%;max-width:100%;padding-left:max(14px,calc(env(safe-area-inset-left,0px) + 14px));padding-right:max(14px,calc(env(safe-area-inset-right,0px) + 14px));overflow:hidden}
html.bma header.top.sn .sn-brand{min-width:0;flex:0 1 auto;overflow:hidden}
html.bma header.top.sn .sn-brand>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.bma header.top.sn .sn-burger{flex:none;margin-right:0}
/* the top map row uses the same 14px inset, so the ? sits right under the menu button */
html.bma .bma-q{right:max(14px,calc(env(safe-area-inset-right,0px) + 14px))}
html.bma .bm-map-shell>.leaflet-control.nmh-attr.bma-credit{left:max(14px,calc(env(safe-area-inset-left,0px) + 14px))}
html.bma .bm-search,html.bma .bm-map-shell.is-drop .bm-search{left:calc(max(14px,calc(env(safe-area-inset-left,0px) + 14px)) + 52px)!important;right:calc(max(14px,calc(env(safe-area-inset-right,0px) + 14px)) + 52px)!important}
html.bma .bma-chips [data-filter=noneseen]::before{display:block;background:transparent;border:2px dashed #9AA0A6;box-sizing:border-box}
.bma-opt.is-grey b::before{content:"";display:inline-block;width:10px;height:10px;border-radius:50%;border:2px dashed #9AA0A6;box-sizing:border-box;margin-right:8px;vertical-align:1px}
/* none-seen pin on the dark map: after the generic .bm-pin rule above so the dashed grey outline wins */
html.bma .bm-div-icon .bm-pin-noneseen{background:rgba(242,242,236,.92)!important;border:2px dashed #9AA0A6!important;border-radius:50%;box-shadow:0 2px 6px rgba(0,0,0,.45)!important}
/* nature spots + map pin button (draft Nov 28, 2026) */
.bma-k-nature{background:#F2F7EE;border:2px solid #6FBF73}
html.bma .bma-chips [data-filter=nature]::before{display:block;background:#F2F7EE;border:2px solid #6FBF73;box-sizing:border-box}
html.bma .bm-div-icon .bm-pin-nature{background:rgba(242,247,238,.95)!important;border:2px solid #6FBF73!important;border-radius:50%;box-shadow:0 0 0 2px rgba(11,12,11,.9),0 3px 8px rgba(0,0,0,.55)!important}
html.bma .bma-pinbtn.bma-round{position:static!important;width:44px!important;height:44px!important}
.bm-map-shell.is-drop .bma-pinbtn{opacity:0;pointer-events:none}

/* Overnight draft Nov 28, 2026: town bar and Needs a check chip on the phone map.
   Dec 2, 2026 draft: shrink to content, close X, leave the right rail clear. */
html.bma .bm-town-bar{left:10px;right:auto;top:102px;z-index:680;width:max-content;max-width:calc(100% - 126px)}
html.bma .bm-town-bar-in{background:var(--bma-glass);color:#F2F2EC;border:var(--bma-line);box-shadow:0 6px 18px rgba(0,0,0,.35);border-radius:16px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:6px 6px 8px}
html.bma .bm-town-name{color:#F2F2EC;font:800 15px/1.2 'Instrument Sans',system-ui,sans-serif;padding:10px 0 0 6px}
html.bma .bm-town-close{background:rgba(255,255,255,.08);color:#F2F2EC;border:1px solid rgba(255,255,255,.3);border-radius:12px}
html.bma .bm-town-close:focus-visible{outline:2px solid var(--bma-acc,#D4FF3A);outline-offset:2px}
html.bma .bm-town-counts{color:#F2F2EC;font:650 13px/1.35 'Instrument Sans',system-ui,sans-serif;margin:4px 6px 0}
html.bma .bm-town-wins{color:rgba(242,242,236,.8);font:650 12px/1.35 'Instrument Sans',system-ui,sans-serif;margin:4px 6px 6px}
html.bma .bm-town-wins a{color:#D4FF3A}
html.bma .bm-town-bar .btn.ghost{background:transparent;color:#F2F2EC;border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:8px 12px;margin:0 6px}
html.bma #bm-cache-note{left:10px;right:10px;bottom:calc(var(--bma-peek,96px) + 58px);background:var(--bma-glass);color:#F2F2EC;border:var(--bma-line);border-radius:14px;box-shadow:0 6px 18px rgba(0,0,0,.35)}
html.bma .bma-chips [data-filter=needscheck]::before{display:block;background:transparent;box-shadow:inset 0 0 0 2px #F2F2EC;border-radius:50%}
html.bma .bm-map-shell > .bm-check-help{display:block;position:absolute;left:10px;right:10px;top:102px;z-index:675;margin:0;padding:8px 10px;background:var(--bma-glass);color:#F2F2EC;border:var(--bma-line);border-radius:14px;font:650 12px/1.35 'Instrument Sans',system-ui,sans-serif;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 6px 18px rgba(0,0,0,.35)}
html.bma .bm-map-shell > .bm-check-help[hidden]{display:none!important}
html.bma .bm-town-bar:not([hidden]) ~ .bm-check-help{top:auto;bottom:calc(var(--bma-peek,96px) + 56px);right:62px}
