
:root {
  --bg: #f4f6f8;
  --panel: rgba(255, 255, 255, 0.78);
  --border: rgba(0, 0, 0, 0.08);
  --text: #303640;
  --muted: #6d7680;
  --shadow: 0 8px 28px rgba(20, 28, 40, 0.08);
  --radius: 12px;
  --ctrl: 40px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  overflow: hidden;
}

#map { position: absolute; inset: 0; }

.brand {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  pointer-events: none;
}
.brand .name {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand .title {
  margin-top: 2px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--text);
}

.controls {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.controls button {
  width: var(--ctrl);
  height: var(--ctrl);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  color: var(--text);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background .2s ease, transform .15s ease, border-color .2s ease, color .2s ease;
}
.controls button:hover {
  background: rgba(255,255,255,.92);
  border-color: rgba(0,0,0,.14);
}
.controls button:active { transform: scale(0.96); }
.controls button.active {
  border-color: rgba(48, 54, 64, 0.28);
  color: #1f2630;
}

.attrib {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  font-size: 11px;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.attrib a {
  color: #4a5562;
  text-decoration: none;
}
.attrib a:hover { text-decoration: underline; }

.maplibregl-ctrl-attrib,
.maplibregl-ctrl-logo { display: none !important; }
.maplibregl-canvas { outline: none; }

.geo-dot {
  width: 18px;
  height: 18px;
  position: relative;
  pointer-events: none;
}
.geo-dot__core {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #3b82f6;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.2);
}
.geo-dot__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.3);
  animation: geo-pulse 1.8s ease-out infinite;
}
@keyframes geo-pulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  70% { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1.8); opacity: 0; }
}

@media (max-width: 640px) {
  .brand { top: 10px; left: 10px; padding: 10px 12px; }
  .brand .title { font-size: 16px; }
  .controls { top: 10px; right: 10px; }
}
