/* developments/css/map-hint.css — first-load map-control hint (map-hint.js).
   2026-05-31 (Lloyd). A one-time dismissible toast teaching rotate/zoom/pan.
   Dark card over the light map (toast contrast); gold accents per the brand.
   Bottom-centre of the viewport — clear of the bottom-left scale + the
   bottom-right control cluster + the right rail panel. */

.dev-maphint {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9; /* above map canvas + controls; below lightbox/modals */
  width: min(320px, calc(100vw - 32px));
  background: var(--charcoal-800, #1f1f1f);
  color: #f4f3f1;
  border: 1px solid rgba(212, 168, 75, 0.35);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
  padding: 14px 16px 12px;
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  opacity: 1;
  transition: opacity 0.24s ease, transform 0.24s ease;
}
.dev-maphint.is-entering,
.dev-maphint.is-leaving {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
}

.dev-maphint__title {
  font: 600 12px/1 var(--font-mono, "JetBrains Mono", monospace);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-400, #e5c57a);
  margin: 0 0 9px;
}
.dev-maphint__list {
  list-style: none;
  margin: 0 0 11px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dev-maphint__row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  line-height: 1.3;
}
.dev-maphint__icon {
  flex: 0 0 auto;
  width: 16px;
  text-align: center;
  color: var(--gold-400, #e5c57a);
}
.dev-maphint__key { color: #ffffff; font-weight: 600; }
.dev-maphint__txt { color: #cfcdc9; }

.dev-maphint__got {
  appearance: none;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #f4f3f1;
  font: 600 12.5px/1 var(--font-body, Inter, system-ui, sans-serif);
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.dev-maphint__got:hover {
  background: rgba(212, 168, 75, 0.16);
  border-color: rgba(212, 168, 75, 0.5);
}
.dev-maphint__got:focus-visible {
  outline: 2px solid var(--gold, #d4a84b);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .dev-maphint { bottom: 16px; }
}
/* MOB2 — clear the phone bottom tab bar (devmap.css ≤540 app-shell) */
@media (max-width: 540px) {
  .dev-maphint { bottom: calc(56px + env(safe-area-inset-bottom, 0px) + 12px); }
}
@media (prefers-reduced-motion: reduce) {
  .dev-maphint { transition: none; }
  .dev-maphint.is-entering,
  .dev-maphint.is-leaving { transform: translateX(-50%); }
}
