/* MOCKUP for review: heat map on a real map. Builds on /static/css/heatmap.css. */
.picker {
  display: grid; grid-template-columns: 64px repeat(3, 1fr); gap: 4px; margin-bottom: 10px;
}
.picker-head { font-size: 12px; font-weight: 800; text-align: center; line-height: 1.15; padding-bottom: 2px; }
.picker-head span { display: block; }
.picker-head .rel { color: var(--link); }
.picker-row { font-size: 12px; font-weight: 700; color: var(--muted); display: flex; align-items: center; line-height: 1.15; }
.chip {
  min-height: 36px; border: 0; border-radius: 8px; font: inherit; font-size: 15px; font-weight: 800;
  cursor: pointer; padding: 0 2px; line-height: 1;
}
.chip.green { background: var(--heat-green); color: var(--heat-green-ink); }
.chip.yellow { background: var(--heat-yellow); color: var(--heat-yellow-ink); }
.chip.red { background: var(--heat-red); color: var(--heat-red-ink); }
.chip.unknown, .chip.past { background: var(--heat-unknown); color: var(--heat-unknown-ink); font-size: 12px; }
.chip[aria-selected="true"] { outline: 3px solid var(--text); outline-offset: 2px; }

.caption { font-weight: 700; margin: 4px 0 8px; min-height: 1.5em; }
.caption .muted { color: var(--muted); font-weight: 400; }

.map-wrap { position: relative; margin: 0 -16px; }
@media (min-width: 752px) { .map-wrap { margin: 0; } .map { border-radius: 14px; } }
.map { height: 62vh; min-height: 380px; max-height: 640px; background: #dfe6dc; }
.map-locate {
  position: absolute; z-index: 500; right: 12px; bottom: 26px; min-height: 44px; padding: 0 14px;
  border: 0; border-radius: 22px; background: var(--card); color: var(--text); font: inherit; font-size: 14px;
  font-weight: 800; box-shadow: 0 2px 10px rgba(0,0,0,.25); cursor: pointer;
}
.map-hint { margin: 6px 0 0; min-height: 1.4em; }

/* Area bubbles (zoomed out). */
.area-icon { background: none; border: 0; }
.area {
  transform: translate(-50%, -50%); position: absolute; left: 0; top: 0;
  padding: 3px 9px 4px; border-radius: 12px; text-align: center; line-height: 1.1;
  box-shadow: 0 3px 12px rgba(0,0,0,.3); border: 2px solid #fff; cursor: pointer; white-space: nowrap;
}
.area span { display: block; }
.area .area-count { font-size: 13px; font-weight: 700; }
.area .area-count b { font-size: 18px; }
.area .area-name { font-size: 11px; font-weight: 800; }

/* Course pins (zoomed in). */
.pin-icon { background: none; border: 0; }
.pin {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; cursor: pointer;
}
.pin.championship { border-radius: 7px; }
.pin-label {
  position: absolute; left: 18px; top: -10px; white-space: nowrap; font-size: 12px; font-weight: 800;
  color: #16211a; background: rgba(255,255,255,.88); border-radius: 6px; padding: 1px 5px; pointer-events: none;
}
.area.green, .pin.green { background: var(--heat-green); color: var(--heat-green-ink); }
.area.yellow, .pin.yellow { background: var(--heat-yellow); color: var(--heat-yellow-ink); }
.area.red, .pin.red { background: var(--heat-red); color: var(--heat-red-ink); }
.area.unknown, .area.past, .pin.unknown, .pin.past { background: #e2e7e1; color: #4f5a52; }

.me-dot { width: 18px; height: 18px; border-radius: 50%; background: #2563eb; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(37,99,235,.25); }

.unmatched ul { margin: 0 0 12px; padding-left: 20px; font-size: 14px; }
#detail-times { margin-top: 4px; }
