/*
 * depo0 — page styles of /locals: the front page CSS front/public/css/pages/locals-map.css (fonts
 * and images rewritten to /depo0/fonts/ and /depo0/img/). Leaflet's own CSS is in css/locals/blok2.css.
 */
.d0-page--locals .main { padding: 0; }
/* depo0 always loads globals.css (the site loads it only on legacy pages): undo its `* { color: #fff }`
   inside the map so the light theme reads (equal-specificity rules below win by order). */
.bc :where(*) { color: inherit; }

/*
 * /locals — the locals map (templates/gallery/locals.php, public/js/pages/locals-map.js), ported
 * from demo album demo31 "Locals Beacon" (demo/public/demo31/css/locals-map.css + demo31.css):
 * structure (banner that collapses, the map under it, markers, clusters, chips, list, card), then
 * the look — glowing speciality lights, the glass side panel, Unbounded + IBM Plex Mono and one
 * signal green — with light and dark tokens on the map block ([data-locals-map][data-theme]).
 */
/* Unbounded (variable 400–800) and IBM Plex Mono 400 / 500, self-hosted (Google Fonts, OFL). */
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/depo0/fonts/Unbounded-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/depo0/fonts/Unbounded-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/depo0/fonts/Unbounded-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/depo0/fonts/IBMPlexMono-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/depo0/fonts/IBMPlexMono-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/depo0/fonts/IBMPlexMono-400-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/depo0/fonts/IBMPlexMono-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/depo0/fonts/IBMPlexMono-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/depo0/fonts/IBMPlexMono-500-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* ======== structure (demo31 css/locals-map.css) ======== */

/* ---------- banner: collapses to nothing when switched off ---------- */
.lp-banner { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.lp-banner__clip { min-height: 0; overflow: hidden; }
html.banner-off .lp-banner { grid-template-rows: 0fr; opacity: 0; }
html.banner-instant .lp-banner, html.banner-instant .lp-banner * { transition: none !important; }
[data-banner-slide] { transition: opacity .9s ease; }
[data-banner-slide]:not(.is-active) { opacity: 0; pointer-events: none; }
[data-banner-dots] button { cursor: pointer; }
.lp-banner-show { display: none; }
html.banner-off .lp-banner-show { display: inline-flex; }

/* ---------- the map starts right under the banner and fills the screen ---------- */
.lp-stage { position: relative; overflow: hidden; height: calc(100vh - var(--map-top, 70px)); height: calc(100dvh - var(--map-top, 70px)); min-height: 520px; }
.lp-map { position: absolute; inset: 0; z-index: 0; }
.lp-map.leaflet-container { font: inherit; background: var(--lm-bg, #e9ece8); }
.leaflet-container a.leaflet-popup-close-button { display: none; }

/* keyless light / night versions of the same tiles (TILES[…].filter in js/locals-map.js); a demo may retune them */
[data-tile-filter="light"] .leaflet-tile-pane { filter: var(--tile-light, grayscale(1) brightness(1.06) contrast(.9)); }
[data-tile-filter="night"] .leaflet-tile-pane { filter: var(--tile-night, invert(1) hue-rotate(180deg) brightness(.82) contrast(1.15) saturate(.3)); }
[data-tile-filter="night"] .lp-map.leaflet-container { background: #1b1c1f; }
[data-tile-filter="sat-light"] .leaflet-tile-pane { filter: var(--tile-sat-light, saturate(.55) brightness(1.18) contrast(.88)); }
[data-tile-filter="sat-night"] .leaflet-tile-pane { filter: var(--tile-sat-night, saturate(.4) brightness(.5) contrast(1.15)); }

/* ---------- markers ---------- */
.lm-marker { background: none; border: 0; }
.lm-pin { position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; box-sizing: border-box; border: 3px solid var(--c); background: #fff; box-shadow: 0 4px 14px -4px rgba(0,0,0,.45); transition: transform .2s; }
.lm-pin img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.lm-pin b { position: absolute; right: -6px; bottom: -4px; min-width: 18px; height: 16px; padding: 0 3px; border-radius: 8px; background: var(--c); color: #fff; font: 700 9px/16px system-ui, sans-serif; text-align: center; letter-spacing: .02em; }
.lm-marker:hover .lm-pin, .lm-marker.is-hot .lm-pin, .lm-marker:focus-visible .lm-pin { transform: scale(1.18); }
.lm-marker.is-selected .lm-pin { transform: scale(1.3); box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--c), 0 10px 22px -6px rgba(0,0,0,.5); }
.lm-marker:focus-visible { outline: none; }

/* cluster: a ring split by speciality around the count */
.lm-cluster-wrap { background: none; border: 0; }
.lm-cluster { display: grid; place-items: center; width: var(--size); height: var(--size); border-radius: 50%; background: var(--pie); box-shadow: 0 6px 18px -6px rgba(0,0,0,.5); transition: transform .2s; }
.lm-cluster b { display: grid; place-items: center; width: calc(100% - 12px); height: calc(100% - 12px); border-radius: 50%; background: var(--lm-cluster-bg, #fff); color: var(--lm-cluster-ink, #18171a); font: 700 13px/1 system-ui, sans-serif; }
.lm-cluster-wrap:hover .lm-cluster { transform: scale(1.08); }

/* ---------- filter chips, list, card (looks come from the demo) ---------- */
.lm-spec, .lm-person, .lm-provider, .lm-card__close { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
.lm-spec { display: inline-flex; align-items: center; gap: .45em; white-space: nowrap; }
.lm-spec__code { font-style: normal; }
.lm-person { display: flex; align-items: center; gap: .75rem; width: 100%; min-width: 0; }
.lm-person__img { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.lm-person__body { display: flex; flex-direction: column; min-width: 0; }
.lm-person__name, .lm-person__spec, .lm-person__meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-card { position: relative; }
.lm-card__img { display: block; object-fit: cover; }
.lm-card__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: 0; }
.lm-card__facts dt, .lm-card__facts dd { margin: 0; }
.lm-card__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.lm-card__btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.lm-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 16px; overflow: hidden; }
.lm-popup .leaflet-popup-content { margin: 0; width: auto !important; }
[data-map-card][hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .lp-banner, [data-banner-slide], .lm-pin, .lm-cluster { transition: none !important; }
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ======== look (demo31 css/demo31.css) ======== */

/* ---------- theme tokens ---------- */
.bc, .bc[data-theme="dark"] {
  --bg: #0a0b0d; --map-bg: #111216; --glass: rgba(14,15,18,.84); --glass-solid: #0f1013; --edge: rgba(255,255,255,.09); --edge-strong: rgba(255,255,255,.16);
  --ink: #eef0f4; --ink-2: #c9ccd4; --dim: #8d93a0; --chip: rgba(255,255,255,.05); --chip-hover: rgba(255,255,255,.09);
  --sig: var(--accent-dark, #9dff6a); --sig-ink: #0a0b0d; --sig-glow: color-mix(in srgb, var(--sig) 35%, transparent); --shadow: 0 24px 60px -24px #000;
  --core: #fff; --halo: 55%; --heat-blend: screen; --heat-opacity: .9;
  --tile-night: invert(1) hue-rotate(180deg) brightness(.8) contrast(1.15) saturate(.3);
}
.bc[data-theme="light"] {
  --bg: #eef0ec; --map-bg: #e4e6e2; --glass: rgba(250,251,249,.88); --glass-solid: #fbfcfa; --edge: rgba(16,20,24,.1); --edge-strong: rgba(16,20,24,.2);
  --ink: #14161a; --ink-2: #3a3f48; --dim: #5d6470; --chip: rgba(16,20,24,.045); --chip-hover: rgba(16,20,24,.08);
  --sig: var(--accent-light, #2c8a2a); --sig-ink: #fff; --sig-glow: color-mix(in srgb, var(--sig) 25%, transparent); --shadow: 0 24px 50px -26px rgba(20,30,20,.45);
  --core: #fff; --halo: 45%; --heat-blend: multiply; --heat-opacity: .7;
  --tile-light: grayscale(1) brightness(1.07) contrast(.84);
}
.bc { --map-top: var(--header-h, 70px); background: var(--bg); transition: background-color .35s; }
.bc { padding: 0; color: var(--ink); font-family: "IBM Plex Mono", ui-monospace, monospace; }
.bc[data-theme="dark"] { color-scheme: dark; }
.bc[data-theme="light"] { color-scheme: light; }
.bc .icon { width: 16px; height: 16px; flex: none; }
.bc-panel, .bc-tool, .bc-seg, .bc-card, .bc-stage .leaflet-control-zoom a { transition: background-color .35s, color .35s, border-color .35s; }

/* ---------- banner: the site page banner (partials/page_banner) with the demo31 hide button ---------- */
.lp-banner__inner { position: relative; }
.lp-banner .page-banner { margin: 0; }
.bc-banner__hide { --glass: rgba(14,15,18,.72); --edge: rgba(255,255,255,.16); --ink: #eef0f4; --sig: #9dff6a; --sig-ink: #0a0b0d; z-index: 2; position: absolute; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border-radius: 999px; border: 1px solid var(--edge); background: var(--glass); color: var(--ink); font: 500 12px/1 "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; backdrop-filter: blur(8px); }
.bc-banner__hide i { width: 30px; height: 16px; border-radius: 8px; background: var(--sig); position: relative; }
.bc-banner__hide i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--sig-ink); }
.bc-banner__hide:hover { border-color: var(--sig); }

/* ---------- stage ---------- */
.bc-stage .lp-map.leaflet-container, .bc-stage .leaflet-container { background: var(--map-bg); }

/* the side panel (demo25): count, city, speciality chips, people in view; the card covers the list */
.bc-panel { position: absolute; z-index: 500; left: 16px; top: 16px; bottom: 16px; width: 372px; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 18px;
  background: var(--glass); color: var(--ink); backdrop-filter: blur(14px); box-shadow: var(--shadow); border: 1px solid var(--edge); overflow: hidden; }
.bc-panel__head { display: flex; align-items: center; gap: 14px; }
.bc-panel__big { margin: 0; min-width: 2ch; font: 800 46px/1 "Unbounded", sans-serif; letter-spacing: -.05em; text-shadow: 0 0 30px var(--sig-glow); font-variant-numeric: tabular-nums; }
.bc-panel__title { margin: 0; font: 600 17px/1 "Unbounded", sans-serif; letter-spacing: .02em; text-transform: uppercase; }
.bc-panel__count { margin: 6px 0 0; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.bc-panel__count::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sig); box-shadow: 0 0 10px var(--sig); margin-right: 8px; animation: bc-pulse 1.8s infinite; vertical-align: 1px; }
.bc-city { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 10px; background: var(--chip); border: 1px solid var(--edge); color: var(--dim); }
.bc-city select { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; color: var(--ink); font: 500 13px/1 "IBM Plex Mono", monospace; outline: none; }
.bc-city select option { background: var(--glass-solid); color: var(--ink); }
.bc-city:focus-within { border-color: var(--sig); }
.bc-panel__label { margin: 4px 0 -4px; font: 500 11px/1 "IBM Plex Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.bc-panel__label span { letter-spacing: 0; text-transform: none; opacity: .8; }
.bc-specs { display: flex; flex-wrap: wrap; gap: 6px; max-height: 132px; overflow-y: auto; padding: 2px 2px 4px; scrollbar-width: thin; }
.bc .lm-spec { padding: 5px 10px 5px 5px; border-radius: 999px; background: var(--chip); border: 1px solid transparent; font: 500 12px/1 "IBM Plex Mono", monospace; color: var(--ink-2); transition: background .15s, border-color .15s; }
.bc .lm-spec--all { padding-left: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.bc .lm-spec__code { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font: 500 9px/1 "IBM Plex Mono", monospace; color: var(--c); box-shadow: inset 0 0 0 1.5px var(--c); }
.bc .lm-spec__count { color: var(--dim); font-size: 11px; font-variant-numeric: tabular-nums; }
.bc .lm-spec:hover { border-color: var(--c, var(--sig)); background: var(--chip-hover); }
.bc .lm-spec.is-on { background: color-mix(in srgb, var(--c) 18%, transparent); border-color: color-mix(in srgb, var(--c) 55%, transparent); color: var(--ink); }
.bc .lm-spec.is-on .lm-spec__code { background: var(--c); color: #0a0b0d; box-shadow: 0 0 14px -2px var(--c); }
.bc .lm-spec.is-on .lm-spec__count { color: var(--ink); }
.bc .lm-spec--all.is-on { background: var(--sig); border-color: var(--sig); color: var(--sig-ink); box-shadow: 0 0 16px -4px var(--sig); }
.bc .lm-spec--all.is-on .lm-spec__count { color: var(--sig-ink); opacity: .75; }
.bc-list { flex: 1; min-height: 0; overflow-y: auto; margin: 0 -8px; padding: 0 8px; display: flex; flex-direction: column; gap: 2px; scrollbar-width: thin; scrollbar-color: var(--edge-strong) transparent; }
.bc .lm-person { padding: 8px; border-radius: 12px; transition: background .15s; }
.bc .lm-person:hover, .bc .lm-person.is-selected { background: var(--chip-hover); }
.bc .lm-person__img { width: 42px; height: 42px; box-shadow: 0 0 0 2px var(--c), 0 0 14px -2px var(--c); }
.bc .lm-person__name { font: 500 13.5px/1.3 "IBM Plex Mono", monospace; color: var(--ink); }
.bc .lm-person__spec { font: 500 11px/1.4 "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 75%, var(--ink)); }
.bc .lm-person__meta { font: 400 12px/1.35 "IBM Plex Mono", monospace; color: var(--dim); }
.bc .lm-empty { margin: 8px 0; color: var(--dim); font-size: 13px; line-height: 1.5; }

/* the card (demo27's look) inside the panel */
.bc-card { position: absolute; inset: 0; z-index: 2; background: var(--glass-solid); overflow-y: auto; }
.bc .lm-card { padding: 0 0 20px; }
.bc .lm-card__img { width: 100%; height: 260px; object-position: center 22%; filter: saturate(.9) contrast(1.04); }
.bc .lm-card__close { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(10,11,13,.6); color: #fff; font-size: 22px; line-height: 1; text-align: center; backdrop-filter: blur(6px); }
.bc .lm-card__close:hover { background: #000; }
.bc .lm-card__spec { display: flex; align-items: center; gap: 10px; margin: 16px 20px 0; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 75%, var(--ink)); }
.bc .lm-card__spec i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); font-size: 0; }
.bc .lm-card__name { margin: 10px 20px 0; font: 800 25px/1.05 "Unbounded", sans-serif; letter-spacing: -.03em; color: var(--ink); }
.bc .lm-card__place { margin: 6px 20px 0; color: var(--dim); font-size: 12.5px; }
.bc .lm-card__bio { margin: 12px 20px 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.bc .lm-card__facts { margin: 14px 20px 0; }
.bc .lm-card__facts div { padding: 8px; border-radius: 10px; background: var(--chip); }
.bc .lm-card__facts dt { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.bc .lm-card__facts dd { font-size: 12.5px; color: var(--ink); }
.bc .lm-card__open { margin: 12px 20px 0; font-size: 12px; color: var(--sig); }
.bc .lm-card__open::before { content: "● "; text-shadow: 0 0 8px var(--sig); }
.bc .lm-card__actions { margin: 14px 20px 0; }
.bc .lm-card__btn { flex: 1; height: 42px; border-radius: 12px; border: 1px solid var(--edge-strong); color: var(--ink); font: 600 12px/1 "Unbounded", sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.bc .lm-card__btn--primary { background: var(--sig); border-color: var(--sig); color: var(--sig-ink); }
.bc .lm-card__btn:hover { border-color: var(--ink); }

/* tools on the map: theme, base map, glow, near me, banner */
.bc-tools { position: absolute; z-index: 500; right: 16px; top: 16px; left: 404px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; pointer-events: none; }
.bc-tools > * { pointer-events: auto; }
.bc-seg { display: flex; padding: 4px; gap: 2px; border-radius: 12px; background: var(--glass); border: 1px solid var(--edge); backdrop-filter: blur(12px); box-shadow: var(--shadow); }
.bc-seg button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border: 0; border-radius: 9px; background: none; color: var(--dim); font: 500 12px/1 "IBM Plex Mono", monospace; cursor: pointer; }
.bc-seg button svg { width: 15px; height: 15px; }
.bc-seg button:hover { color: var(--ink); }
.bc-seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.bc-theme button[aria-pressed="true"] { background: var(--sig); color: var(--sig-ink); box-shadow: 0 0 16px -4px var(--sig); }
.bc-tool { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--edge); background: var(--glass); color: var(--ink); font: 500 12px/1 "IBM Plex Mono", monospace; cursor: pointer; backdrop-filter: blur(12px); box-shadow: var(--shadow); }
.bc-tool:hover { border-color: var(--edge-strong); }
.bc-glow i { width: 9px; height: 9px; border-radius: 50%; background: var(--dim); }
.bc-glow[aria-pressed="true"] i { background: var(--sig); box-shadow: 0 0 10px 1px var(--sig); }
.bc-tool--accent { background: var(--sig); border-color: var(--sig); color: var(--sig-ink); }
.bc-tool.lp-banner-show { display: none; }
html.banner-off .bc-tool.lp-banner-show { display: inline-flex; }
.bc-maps .is-short { display: none; }
.bc .lm-spec:focus-visible, .bc-seg button:focus-visible, .bc-tool:focus-visible, .bc .lm-person:focus-visible, .bc .lm-card__btn:focus-visible, .bc .lm-card__close:focus-visible, .bc-banner__hide:focus-visible { outline: 2px solid var(--sig); outline-offset: 2px; }
.bc-status { position: absolute; z-index: 500; right: 16px; top: 116px; margin: 0; font-size: 12px; color: var(--ink); background: var(--glass); border-radius: 8px; }
.bc-status:not(:empty) { padding: 8px 10px; border: 1px solid var(--edge); }

/* ---------- lights (demo27), tuned per theme ---------- */
.bc-dot { position: relative; display: block; width: 100%; height: 100%; }
.bc-dot i { position: absolute; left: 50%; top: 50%; width: calc(12px * var(--r)); height: calc(12px * var(--r)); transform: translate(-50%, -50%); border-radius: 50%; background: var(--core);
  box-shadow: 0 0 0 2px var(--c), 0 0 10px 2px var(--c), 0 0 26px 6px color-mix(in srgb, var(--c) var(--halo), transparent); transition: transform .2s; }
.bc[data-theme="light"] .bc-dot i { box-shadow: 0 0 0 2px var(--c), 0 0 0 3.5px rgba(255,255,255,.9), 0 0 12px 3px var(--c), 0 0 26px 8px color-mix(in srgb, var(--c) var(--halo), transparent); }
.lm-marker:hover .bc-dot i, .lm-marker.is-hot .bc-dot i { transform: translate(-50%, -50%) scale(1.6); }
.lm-marker.is-selected .bc-dot i { transform: translate(-50%, -50%) scale(1.9); box-shadow: 0 0 0 2px var(--c), 0 0 0 6px color-mix(in srgb, var(--ink) 20%, transparent), 0 0 30px 8px var(--c); }
.lm-marker.is-selected .bc-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; border: 1.5px solid var(--c); animation: bc-ring 1.6s ease-out infinite; }
@keyframes bc-ring { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.bc-stage .lm-cluster { --lm-cluster-bg: var(--glass-solid); --lm-cluster-ink: var(--ink); box-shadow: 0 0 24px -4px color-mix(in srgb, var(--ink) 35%, transparent); }
.bc[data-theme="light"].bc-stage .lm-cluster { box-shadow: 0 6px 18px -6px rgba(0,0,0,.35), 0 0 22px -6px rgba(120,80,255,.35); }
.bc-stage .lm-cluster b { font-family: "IBM Plex Mono", monospace; font-weight: 500; width: calc(100% - 6px); height: calc(100% - 6px); }
.bc-stage .leaflet-heat-pane { filter: blur(16px) saturate(1.2); mix-blend-mode: var(--heat-blend); opacity: var(--heat-opacity); }

/* ---------- map controls ---------- */
.bc-stage .leaflet-control-zoom { border: 1px solid var(--edge); border-radius: 12px; overflow: hidden; margin: 0 16px 28px 0; box-shadow: var(--shadow); }
.bc-stage .leaflet-control-zoom a { width: 40px; height: 40px; line-height: 40px; background: var(--glass); color: var(--ink); border-color: var(--edge); }
.bc-stage .leaflet-control-zoom a:hover { background: var(--glass-solid); }
.bc-stage .leaflet-control-attribution { font: 10.5px/1.4 "IBM Plex Mono", monospace; background: var(--glass); color: var(--dim); }
.bc-stage .leaflet-control-attribution a { color: var(--ink-2); }

@media (max-width: 1100px) {
  .bc-theme button { padding: 0 9px; }
  .bc-theme button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 860px) {
  .bc-banner__hide { right: 12px; bottom: 12px; }
  .lp-stage.bc-stage { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .bc-stage .lp-map { position: relative; height: 64vh; min-height: 420px; }
  .bc-panel { position: relative; inset: auto; width: auto; border-radius: 0; border: 0; box-shadow: none; background: var(--bg); backdrop-filter: none; }
  .bc-list { max-height: 420px; }
  .bc-card { position: fixed; inset: auto 0 0 0; max-height: 82vh; border-radius: 18px 18px 0 0; z-index: 1000; box-shadow: 0 -20px 50px rgba(0,0,0,.45); }
  .bc-tools { left: 12px; right: 12px; top: 12px; justify-content: flex-start; gap: 6px; }
  .bc-seg button { height: 30px; padding: 0 9px; font-size: 11.5px; }
  .bc-maps .is-long { display: none; }
  .bc-maps .is-short { display: inline; }
  .bc-tool { height: 40px; padding: 0 12px; }
  .bc-status { top: auto; bottom: 12px; left: 12px; right: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .bc-panel__count::before, .lm-marker.is-selected .bc-dot::before { animation: none; }
  .bc, .bc-panel, .bc-tool, .bc-seg, .bc-card { transition: none; }
}

/* ---------- site integration ---------- */
.bc .icon { stroke: currentColor; }
.bc a.bc-tool { text-decoration: none; }
.bc-noscript { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--dim); }
.bc .lm-person__img--none, .bc .lm-card__img--none { background: var(--chip) url("/depo0/img/defaultAvatar.png") center / cover no-repeat; }
.bc .lm-card__actions form { flex: 1; display: flex; margin: 0; }
.bc .lm-card__actions form .lm-card__btn { width: 100%; background: none; cursor: pointer; }
.bc .lm-card__more { margin: 12px 20px 0; font-size: 12.5px; color: var(--dim); }
