/* Explore: the public map of every business on CONOURI. */
:root {
  --paper: #f3f2ef;
  --white: #fff;
  --ink: #16151a;
  --dim: #4e4b56;
  --mute: #8b8794;
  --line: #e6e3dc;
  --line-strong: #d7d3ca;
  --accent: #b3b0f6;
  --accent-soft: #efedff;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(20, 18, 28, .04), 0 12px 30px rgba(20, 18, 28, .06);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.5;
}
.ex { max-width: 1220px; margin: 0 auto; padding: 18px 22px 40px; }

.ex-top { display: flex; align-items: center; justify-content: space-between; padding: 6px 0 22px; }
.ex-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .16em; font-weight: 700; color: var(--ink); text-decoration: none; }
.ex-mark { display: inline-flex; gap: 2px; }
.ex-mark i { width: 4px; height: 11px; border-radius: 1px; background: var(--ink); display: block; }
.ex-mark i:nth-child(2) { background: var(--accent); }
.ex-mark i:nth-child(3) { background: #d8d4ff; }
.ex-home { font-size: 13px; color: var(--dim); text-decoration: none; }
.ex-home:hover { color: var(--ink); }

.ex-head { padding: 10px 0 24px; }
.ex-head h1 {
  margin: 0 0 6px;
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -.035em;
  line-height: 1.02;
  font-weight: 700;
}
.ex-head p { margin: 0 0 18px; color: var(--dim); font-size: 15px; max-width: 54ch; }
.ex-search { display: flex; gap: 8px; max-width: 560px; }
.ex-search input {
  flex: 1; font: inherit; font-size: 15px; padding: 13px 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); color: var(--ink); outline: none;
}
.ex-search input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.ex-search button {
  border: none; background: var(--ink); color: var(--white); border-radius: 999px;
  padding: 0 20px; font: inherit; font-weight: 650; font-size: 14px; cursor: pointer;
}
.ex-chips { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 14px; }
.ex-chip {
  border: 1px solid var(--line-strong); background: var(--white); color: var(--dim);
  border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.ex-chip:hover { border-color: var(--ink); color: var(--ink); }
.ex-chip.on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.ex-chip small { opacity: .55; font-weight: 500; margin-left: 4px; }

.ex-body { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 18px; align-items: start; }
.ex-list { display: flex; flex-direction: column; gap: 10px; }
.ex-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 14px 15px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 9px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.ex-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.ex-card.on { border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.ex-card-top { display: flex; align-items: center; gap: 10px; }
.ex-avatar { width: 42px; height: 42px; border-radius: 12px; overflow: hidden; flex: none; background: var(--accent); color: #211f33; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.ex-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ex-who { min-width: 0; flex: 1; }
.ex-who b { display: block; font-size: 14.5px; letter-spacing: -.01em; }
.ex-who small { display: block; color: var(--mute); font-size: 12px; margin-top: 1px; }
.ex-badge { flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; border-radius: 999px; padding: 3px 8px; background: var(--paper); color: var(--mute); }
.ex-badge.open { background: #e8f6ee; color: #1f7a4d; }
.ex-line { margin: 0; color: var(--dim); font-size: 12.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ex-svcs { display: flex; flex-direction: column; gap: 3px; border-top: 1px solid var(--line); padding-top: 8px; }
.ex-svc { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--dim); }
.ex-svc b { font-weight: 600; color: var(--ink); }
.ex-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; }
.ex-from { font-size: 12px; color: var(--mute); }
.ex-open { font-size: 12.5px; font-weight: 650; color: var(--ink); }

.ex-mapwrap { position: sticky; top: 18px; }
.ex-map {
  position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--line);
  background: #eef0e9; height: min(72vh, 640px); box-shadow: var(--shadow);
}
.ex-map-base { position: absolute; inset: 0; width: 100%; height: 100%; }
.ex-pins { position: absolute; inset: 0; }
.ex-pin {
  position: absolute; transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: none; border: none; padding: 0; cursor: pointer; font: inherit;
}
.ex-pin-dot {
  width: 34px; height: 34px; border-radius: 50% 50% 50% 2px; transform: rotate(-45deg);
  background: var(--ink); color: #fff; display: grid; place-items: center;
  font-size: 11.5px; font-weight: 700; border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(20, 18, 28, .25);
}
.ex-pin-dot span { transform: rotate(45deg); }
.ex-pin.open .ex-pin-dot { background: #2f2357; }
.ex-pin.on .ex-pin-dot { background: var(--accent); color: #1c1a2b; box-shadow: 0 0 0 4px rgba(179, 176, 246, .45), 0 6px 14px rgba(20, 18, 28, .3); }
.ex-pin-label {
  font-size: 10.5px; font-weight: 650; background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line); border-radius: 999px; padding: 2px 7px; white-space: nowrap;
  opacity: 0; transition: opacity .15s;
}
.ex-pin:hover .ex-pin-label, .ex-pin.on .ex-pin-label { opacity: 1; }
.ex-map-legend {
  position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 11.5px; color: var(--dim);
  backdrop-filter: blur(6px);
}
.ex-map-empty {
  position: absolute; inset: auto 16px 60px 16px; text-align: center; background: rgba(255, 255, 255, .92);
  border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 14px; font-size: 12.5px; color: var(--dim);
}
.ex-empty { color: var(--mute); padding: 24px 4px; font-size: 13.5px; }

.ex-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 30px 0 0; font-size: 12.5px; color: var(--mute); }
.ex-foot a { color: var(--mute); text-decoration: none; }
.ex-cta { border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px; color: var(--ink) !important; font-weight: 650; }

@media (max-width: 900px) {
  .ex { padding: 14px 16px 32px; }
  .ex-body { grid-template-columns: minmax(0, 1fr); }
  .ex-mapwrap { order: -1; position: static; }
  .ex-map { height: 340px; border-radius: 18px; }
  .ex-head h1 { font-size: 34px; }
}
