/* World busking map. Hand-edited; pages are built by blog-src/busking.py. */
.bm-wrap { --ocean: #eaf4f8; --land: #ffffff; --border: #c9d4df; --free: #20c663; --permit: #ff6b0a; --depends: #2563eb; --restricted: #d92d20; }
html[data-theme="dark"] .bm-wrap { --ocean: #0d1626; --land: #1f2a3b; --border: #3a4a60; }
.bm-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 16px; align-items: center; }
.bm-filters > button { border: 0; padding: 9px 14px; border-radius: 999px; background: var(--surface-soft); box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-weight: 600; font-size: .86rem; color: var(--text); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.bm-filters > button b { font-weight: 800; color: var(--muted); }
.bm-filters > button.on { background: #101828; color: #fff; box-shadow: none; }
.bm-filters > button.on b { color: rgba(255, 255, 255, .72); }
html[data-theme="dark"] .bm-filters > button.on { background: #fff; color: #101828; }
html[data-theme="dark"] .bm-filters > button.on b { color: #667085; }
i.free, i.permit, i.depends, i.restricted { display: inline-block; width: 11px; height: 11px; border-radius: 50%; flex: none; }
i.free { background: var(--free); } i.permit { background: var(--permit); } i.depends { background: var(--depends); } i.restricted { background: var(--restricted); }
.bm-search { position: relative; flex: 1 1 240px; min-width: 0; }
.bm-search input { width: 100%; height: 42px; padding: 0 16px 0 40px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font: inherit; font-size: .95rem; }
.bm-search input:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(32, 198, 99, .14); }
.bm-search svg { position: absolute; left: 14px; top: 12px; color: var(--muted); }
.bm-results { position: absolute; z-index: 20; left: 0; right: 0; top: 48px; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.bm-results button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 0; border-radius: 10px; background: none; font: inherit; font-weight: 650; color: var(--text); text-align: left; cursor: pointer; }
.bm-results button:hover, .bm-results button:focus { background: var(--surface-soft); outline: 0; }
.bm-results small { color: var(--muted); font-weight: 500; margin-left: auto; font-size: .8rem; }
.bm-none { padding: 10px; color: var(--muted); font-size: .9rem; }
.bm { display: grid; grid-template-columns: minmax(0, 1fr) 370px; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.bm-map { position: relative; height: 580px; background: var(--ocean); }
.bm-svg { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.bm-svg:active { cursor: grabbing; }
.bm-land { fill: var(--land); stroke: var(--border); stroke-width: .35; stroke-linejoin: round; }
.bm-dots circle { stroke: #fff; stroke-width: 1.4; cursor: pointer; transition: opacity .2s; }
html[data-theme="dark"] .bm-dots circle { stroke: #0d1626; }
.bm-dots circle:focus { outline: 0; stroke: #101828; }
.bm-dots circle.on { stroke: #101828; }
html[data-theme="dark"] .bm-dots circle.on, html[data-theme="dark"] .bm-dots circle:focus { stroke: #fff; }
.bm-dots .free { fill: var(--free); } .bm-dots .permit { fill: var(--permit); } .bm-dots .depends { fill: var(--depends); } .bm-dots .restricted { fill: var(--restricted); }
.bm-svg[data-show="free"] circle:not(.free), .bm-svg[data-show="permit"] circle:not(.permit),
.bm-svg[data-show="depends"] circle:not(.depends), .bm-svg[data-show="restricted"] circle:not(.restricted) { opacity: .12; pointer-events: none; }
.bm-views { position: absolute; left: 14px; top: 14px; right: 64px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.bm-views button, .bm-zoom button { pointer-events: auto; border: 0; font: inherit; cursor: pointer; color: #101828; }
.bm-views button { background: rgba(255, 255, 255, .95); box-shadow: 0 1px 4px rgba(16, 24, 40, .18); padding: 7px 12px; border-radius: 999px; font-size: .8rem; font-weight: 650; }
.bm-views button.on { background: #101828; color: #fff; }
.bm-zoom { position: absolute; right: 14px; top: 14px; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(16, 24, 40, .18); }
.bm-zoom button { width: 38px; height: 38px; background: #fff; font-size: 1.25rem; font-weight: 700; }
.bm-zoom button + button { border-top: 1px solid #e4e7ec; }
.bm-views, .bm-zoom { display: none; }
.bm-js .bm-views, .bm-js .bm-zoom { display: flex; }
.bm-attr { position: absolute; right: 12px; bottom: 8px; font-size: .68rem; color: var(--muted); pointer-events: none; }
.bm-card { padding: 24px 26px; border-left: 1px solid var(--line); overflow: auto; max-height: 580px; }
.bm-card h3 { font-size: 1.6rem; line-height: 1.15; letter-spacing: -.02em; margin: 12px 0 2px; }
.bm-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bm-x { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--surface-soft); color: var(--muted); font-size: 1.2rem; cursor: pointer; flex: none; }
.bm-where { color: var(--muted); margin: 0 0 14px; font-size: .92rem; }
.bm-sum { font-size: .98rem; line-height: 1.55; margin: 0 0 14px; }
.bm-collect { background: #fdecea; color: #7a271a; border-radius: 12px; padding: 10px 12px; font-size: .88rem; line-height: 1.45; margin: 0 0 14px; }
html[data-theme="dark"] .bm-collect { background: #3a1d1a; color: #fecdca; }
.bm-card dl { display: grid; grid-template-columns: 112px 1fr; gap: 8px 12px; margin: 0 0 14px; font-size: .88rem; line-height: 1.45; }
.bm-card dt { color: var(--muted); font-weight: 650; }
.bm-card dd { margin: 0; overflow-wrap: anywhere; }
.bm-z { font-weight: 700; font-size: .86rem; margin: 0 0 6px; }
.bm-card ul { margin: 0 0 14px; padding-left: 18px; font-size: .88rem; }
.bm-card li { margin-bottom: 4px; }
.bm-checked { color: var(--muted); font-size: .78rem; font-weight: 600; margin: 0 0 14px; }
.bm-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: .78rem; font-weight: 750; white-space: nowrap; }
.bm-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.bm-badge.free { background: #e6f9ee; color: #0b7a37; } .bm-badge.permit { background: #fff1e6; color: #b93d07; }
.bm-badge.depends { background: #e8efff; color: #1d4ed8; } .bm-badge.restricted { background: #fdecea; color: #b42318; }
html[data-theme="dark"] .bm-badge.free { background: #0f3d24; color: #7ee2a8; } html[data-theme="dark"] .bm-badge.permit { background: #4a2510; color: #ffb784; }
html[data-theme="dark"] .bm-badge.depends { background: #172554; color: #a5c0ff; } html[data-theme="dark"] .bm-badge.restricted { background: #3a1d1a; color: #fda29b; }
.bm-links { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.bm-links a { font-weight: 700; font-size: .9rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.bm-links a.bm-go { text-decoration: none; background: var(--orange); color: #fff; padding: 11px 18px; border-radius: 12px; }
.bm-hint { font-size: 1.15rem; font-weight: 700; margin: 0 0 18px; }
.bm-key { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; font-weight: 600; font-size: .92rem; }
.bm-key li { display: flex; align-items: center; gap: 10px; }
.bm-small { color: var(--muted); font-size: .86rem; line-height: 1.5; margin: 0; }
.bm-note { color: var(--muted); font-size: .84rem; margin: 12px 4px 0; }
.bm-list h3 { font-size: 1.1rem; margin: 28px 0 8px; }
.bm-list table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.bm-list td, .bm-list th { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.bm-list th { font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.bm-list td:first-child { font-weight: 700; white-space: nowrap; }
.bm-list td a { color: #0b7a37; font-weight: 700; white-space: nowrap; }
html[data-theme="dark"] .bm-list td a { color: var(--green); }
.bm-list .table-wrap { overflow-x: auto; }
.bm-band { margin-top: 56px; background: #101828; color: #fff; border-radius: 28px; padding: 36px 40px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.bm-band h2 { margin: 0 0 8px; font-size: 1.7rem; letter-spacing: -.02em; color: #fff; }
.bm-band h2 span { color: var(--orange); }
.bm-band p { margin: 0; color: rgba(255, 255, 255, .76); }
.bm-band a { background: var(--orange); color: #fff; font-weight: 750; padding: 14px 22px; border-radius: 14px; white-space: nowrap; text-decoration: none; }
html[data-theme="dark"] .bm-band { background: #1f2a3b; }
@media (max-width: 900px) {
  .bm { grid-template-columns: 1fr; border-radius: 22px; }
  .bm-map { height: 340px; }
  .bm-card { border-left: 0; border-top: 1px solid var(--line); max-height: none; padding: 20px; }
  .bm-filters { gap: 6px; }
  .bm-filters > button { padding: 7px 11px; font-size: .8rem; }
  .bm-search { flex-basis: 100%; }
  .bm-views { left: 10px; top: 10px; right: 58px; flex-wrap: nowrap; overflow-x: auto; pointer-events: auto; scrollbar-width: none; padding-bottom: 4px; }
  .bm-views::-webkit-scrollbar { display: none; }
  .bm-views button { flex: none; }
  .bm-views button { padding: 6px 10px; font-size: .74rem; }
  .bm-zoom { right: 10px; top: 10px; }
  .bm-card dl { grid-template-columns: 96px 1fr; }
  .bm-band { grid-template-columns: 1fr; padding: 26px; }
}
