:root {
  --bg: #05060c;
  --ink: #eef1f8;
  --muted: #9aa3b8;
  --pink: #22d3ee;
  --gold: #fbbf24;
  --line: rgba(251, 191, 36, 0.28);
  --font-d: "Cormorant Garamond", Georgia, serif;
  --font-b: "Outfit", "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
a { color: var(--gold); }
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  z-index: 20;
}
.logo {
  font-family: var(--font-d);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.logo img {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.45);
}
.logo span { color: var(--gold); }
.primary { background: linear-gradient(90deg, #fbbf24, #22d3ee); color: #081018; }
.top nav { display: flex; gap: 1rem; font-size: 0.85rem; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover, .top nav a.on { color: var(--ink); }
#map { flex: 1; min-height: 0; background: #1a161c; }
.sheet {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  max-width: 420px;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(14, 12, 16, 0.92);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.sheet h1 {
  font-family: var(--font-d);
  font-size: 1.45rem;
  margin: 0 0 0.35rem;
}
.sheet p { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.9rem; }
.row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
button, .btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font: 600 0.85rem var(--font-b);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.primary { background: linear-gradient(90deg, #fbbf24, #22d3ee); color: #081018; }
.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #0a090c;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.gate[hidden] { display: none; }
.gate-card { max-width: 28rem; text-align: center; }
.gate-card h2 { font-family: var(--font-d); font-size: 2rem; margin: 0 0 0.5rem; }
.note { font-size: 0.75rem; color: var(--muted); margin-top: 0.75rem; }
.leaflet-container { background: #1a161c; font-family: var(--font-b); }
.pin {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--pink);
  border: 2px solid #fff;
  box-shadow: 0 0 0 6px rgba(232, 58, 122, 0.25);
}
.pin.you { background: var(--gold); box-shadow: 0 0 0 6px rgba(201, 162, 39, 0.3); }
.pin.demo { background: #6b6570; }
