
html,body,#map{width:100%;height:100%;margin:0;padding:0}
body{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#e9eef3;overflow:hidden}
#map{position:fixed;inset:0}

.map-toolbar{
  position:fixed;z-index:20;top:18px;left:50%;transform:translateX(-50%);
  width:min(940px,calc(100% - 28px));box-sizing:border-box;
  display:flex;align-items:center;gap:18px;
  padding:12px 14px;background:rgba(255,255,255,.96);
  border:1px solid rgba(0,0,0,.08);border-radius:16px;
  box-shadow:0 8px 28px rgba(0,0,0,.18);backdrop-filter:blur(10px)
}
.brand{min-width:220px;padding-right:16px;border-right:1px solid #e5e7eb}
.brand-title{font-size:16px;font-weight:800;color:#1f2937;line-height:1.15}
.brand-subtitle{font-size:12px;color:#6b7280;margin-top:4px}

.filter-wrap{display:flex;align-items:center;gap:8px;flex:1}
.filter-wrap label{font-size:13px;font-weight:700;color:#374151}
.filter-wrap select{
  width:100%;min-width:160px;appearance:none;
  padding:10px 38px 10px 12px;border:1px solid #d1d5db;border-radius:10px;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236b7280' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  font-size:14px;font-weight:700;color:#111827;outline:none
}
.filter-wrap select:focus{border-color:#f97316;box-shadow:0 0 0 3px rgba(249,115,22,.14)}
.stats{font-size:12px;font-weight:700;color:#6b7280;white-space:nowrap}
.stats #visibleCount{color:#ea580c;font-size:15px}

.legend{
  position:fixed;z-index:20;left:16px;bottom:20px;
  display:flex;align-items:center;gap:8px;padding:8px 11px;
  background:rgba(255,255,255,.95);border-radius:10px;
  box-shadow:0 4px 18px rgba(0,0,0,.18);font-size:12px;font-weight:700;color:#374151
}
.number-marker-wrap{background:transparent;border:0}
.number-marker{
  width:30px;height:30px;display:flex;align-items:center;justify-content:center;
  background:#f97316;color:#fff;border:2px solid #fff;border-radius:999px;
  box-shadow:0 2px 7px rgba(0,0,0,.45);font-size:10px;font-weight:900;
}
.marker-sample{
  min-width:27px;height:27px;padding:0 4px;display:inline-flex;align-items:center;justify-content:center;
  box-sizing:border-box;background:#f97316;color:#fff;border:2px solid #fff;border-radius:999px;
  box-shadow:0 1px 5px rgba(0,0,0,.35);font-size:11px;font-weight:900
}
.api-warning{
  position:fixed;z-index:50;left:50%;top:50%;transform:translate(-50%,-50%);
  width:min(520px,calc(100% - 40px));box-sizing:border-box;
  padding:18px 20px;background:white;border-radius:14px;
  box-shadow:0 12px 40px rgba(0,0,0,.28);color:#374151;line-height:1.5
}
.api-warning strong{color:#c2410c}
.api-warning code{background:#f3f4f6;padding:2px 5px;border-radius:5px}

.info-card{min-width:240px;max-width:320px;font-family:inherit}
.info-name{font-size:15px;font-weight:800;color:#111827;margin-bottom:8px;line-height:1.3}
.info-grid{display:grid;grid-template-columns:105px 1fr;gap:5px 8px;font-size:12px;color:#4b5563}
.info-grid b{color:#1f2937}
.info-link{
  display:inline-flex;margin-top:11px;padding:7px 10px;border-radius:8px;
  background:#f97316;color:white!important;text-decoration:none;font-size:12px;font-weight:800
}

@media(max-width:680px){
  .map-toolbar{top:10px;gap:10px;padding:10px;flex-wrap:wrap}
  .brand{min-width:0;flex:1;border-right:0;padding-right:0}
  .brand-title{font-size:14px}
  .brand-subtitle{font-size:11px}
  .filter-wrap{order:3;width:100%;flex-basis:100%}
  .stats{margin-left:auto}
}
