/* nav-map.css — THE NAVIGATION MAP (v94): the world, the regions
   and the roads, drawn light in code. Inline SVG only — no map
   tiles, no external requests, nothing heavy for a phone on a poor
   signal. The riding-along road strip is fixed, small, and
   collapsible; it never covers the dock's work for long. */

.nm-counts { font-size: 1.02rem; margin: 10px 0 4px; }
.nm-note { color: var(--mut, #9fb0c3); font-size: .92rem; }
.nm-note-inline { color: var(--mut, #9fb0c3); font-size: .9rem; }
.nm-h { margin: 22px 0 8px; }

/* ---------- breadcrumbs: World / Region / Road ---------- */
.nm-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 2px; font-weight: 700; }
.nm-crumbs a { color: var(--gold, #ffd166); text-decoration: none; }
.nm-crumbs a:hover { text-decoration: underline; }
.nm-crumb-on { color: var(--txt, #eef3fa); }
.nm-crumb-sep { color: var(--mut, #9fb0c3); }

/* ---------- the world ---------- */
.nm-mapwrap { background: linear-gradient(180deg, #0a1526, #060a14); border: 1px solid var(--line, #22314a); border-radius: 14px; padding: 10px; margin: 12px 0; overflow: hidden; }
.nm-world { display: block; width: 100%; height: auto; }
.nm-sea { fill: #0a1830; }
.nm-land { fill: #1d3a2a; stroke: #3f7a52; stroke-width: 1.2; }
.nm-night { fill: rgba(3, 7, 20, .58); stroke: rgba(140, 170, 255, .35); stroke-width: 1; pointer-events: none; }
.nm-pin circle { fill: #57c8ff; stroke: #dff4ff; stroke-width: .8; }
.nm-pin:hover circle, .nm-pin:focus circle { fill: #fff; }
.nm-pin-rise circle { fill: #ffd166; stroke: #fff3cf; filter: drop-shadow(0 0 6px #ffd166) drop-shadow(0 0 14px rgba(255, 209, 102, .8)); }
.nm-pin-set circle { fill: #ff9d6b; stroke: #ffe3cf; filter: drop-shadow(0 0 6px #ff8c5a) drop-shadow(0 0 14px rgba(255, 140, 90, .8)); }

.nm-legend { font-size: .94rem; line-height: 1.55; }
.nm-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #57c8ff; border: 1px solid #dff4ff; vertical-align: baseline; }
.nm-dot-rise { background: #ffd166; box-shadow: 0 0 8px #ffd166; }
.nm-dot-set { background: #ff9d6b; box-shadow: 0 0 8px #ff8c5a; }

.nm-regions { line-height: 2.2; }
.nm-chip { display: inline-block; padding: 3px 12px; margin: 0 4px 4px 0; border: 1px solid var(--line, #22314a); border-radius: 999px; color: var(--txt, #eef3fa); text-decoration: none; background: rgba(255, 255, 255, .04); font-size: .92rem; }
.nm-chip:hover { border-color: var(--gold, #ffd166); color: var(--gold, #ffd166); }
.nm-unpinned { border: 1px dashed var(--line, #22314a); border-radius: 12px; padding: 6px 14px 10px; margin: 14px 0; }

/* ---------- regions & roads (schematic) ---------- */
.nm-region, .nm-road { display: block; width: 100%; height: auto; }
.nm-roadline { stroke: #c9a44a; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 14; opacity: .85; }
.nm-rpin circle { fill: #17324a; stroke: #57c8ff; stroke-width: 2; }
.nm-rpin:hover circle, .nm-rpin:focus circle { fill: #24507a; }
.nm-rpin-master circle { fill: #4a3a10; stroke: var(--gold, #ffd166); }
.nm-rnum { fill: #eaf6ff; font-size: 13px; font-weight: 800; text-anchor: middle; pointer-events: none; }
.nm-rlabel { fill: var(--txt, #eef3fa); font-size: 14.5px; text-anchor: middle; pointer-events: none; }
.nm-pinlist { line-height: 1.65; }
.nm-pinlist a { color: var(--gold, #ffd166); }

/* ---------- the riding-along road strip ---------- */
.nm-ride { position: fixed; right: 10px; bottom: 84px; z-index: 60; width: 218px; max-width: 62vw;
  background: rgba(8, 13, 24, .94); border: 1px solid var(--line, #22314a); border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .5); font-size: .86rem; }
.nm-ride-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%;
  background: none; border: 0; color: var(--gold, #ffd166); font: inherit; font-weight: 800; padding: 9px 11px; cursor: pointer; text-align: left; }
.nm-ride-body { position: relative; padding: 2px 10px 9px 12px; max-height: 46vh; overflow-y: auto; }
.nm-ride.nm-closed .nm-ride-body { display: none; }
.nm-ride-line { position: absolute; left: 23px; top: 8px; bottom: 34px; width: 3px; border-radius: 2px;
  background: repeating-linear-gradient(180deg, #c9a44a 0 7px, transparent 7px, transparent 13px); opacity: .8; }
.nm-ride-stop { position: relative; display: flex; align-items: center; gap: 9px; width: 100%; background: none; border: 0;
  color: var(--txt, #eef3fa); font: inherit; padding: 5px 2px; cursor: pointer; text-align: left; }
.nm-ride-dot { flex: 0 0 auto; width: 21px; height: 21px; border-radius: 50%; background: #17324a; border: 2px solid #57c8ff;
  color: #eaf6ff; font-size: .68rem; font-weight: 800; display: flex; align-items: center; justify-content: center; z-index: 1; }
.nm-ride-stop.nm-here .nm-ride-dot { background: #4a3a10; border-color: var(--gold, #ffd166); box-shadow: 0 0 9px rgba(255, 209, 102, .8); }
.nm-ride-stop.nm-here .nm-ride-label { color: var(--gold, #ffd166); font-weight: 700; }
.nm-ride-label { line-height: 1.25; }
.nm-ride-here { margin: 7px 0 0; color: var(--mut, #9fb0c3); font-size: .8rem; }
@media (max-width: 560px) { .nm-ride { width: 178px; bottom: 76px; } .nm-ride-label { font-size: .8rem; } }

/* ---------- v113: DRIVE MODE ----------
   The drive bar under a road view, the travelling you-are-here
   marker on the drawn road, and the Drive controls in the
   riding-along strip. Gold like the road itself; nothing moves
   unless the visitor presses Drive. */
.nm-drivebar { margin: 12px 0 4px; padding: 12px 14px; border: 1px solid rgba(201, 164, 74, .55); border-radius: 12px; background: rgba(201, 164, 74, .07); }
.nm-drive-btn { font: inherit; font-weight: 800; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--gold, #ffd166); background: #17324a; color: #ffe9a8; cursor: pointer; }
.nm-drive-btn:hover, .nm-drive-btn:focus-visible { background: #24507a; }
.nm-drive-cap { margin: 10px 0 0; line-height: 1.55; font-size: .95rem; }
.nm-drive-gowrap { margin: 10px 0 0; }
.nm-drive-halo { fill: rgba(255, 209, 102, .22); stroke: rgba(255, 209, 102, .65); stroke-width: 1.5; }
.nm-drive-dot { fill: var(--gold, #ffd166); stroke: #fff3cf; stroke-width: 1.6; }
.nm-drive-you { fill: #ffd166; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-anchor: middle; pointer-events: none; }
.nm-rpin.nm-here circle { fill: #4a3a10; stroke: var(--gold, #ffd166); stroke-width: 3; }
.nm-ride-drive { margin: 9px 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
.nm-ride-drive-btn { font: inherit; font-size: .8rem; font-weight: 800; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--gold, #ffd166); background: #17324a; color: #ffe9a8; cursor: pointer; }
.nm-ride-drive-btn:hover, .nm-ride-drive-btn:focus-visible { background: #24507a; }

/* v98 — the special sports places: gold stars on the world map */
.nm-shrinehalo { fill: rgba(255, 209, 102, .18); stroke: none; }
.nm-shrinestar { fill: #ffd166; stroke: #7a5b00; stroke-width: .4; font-size: 13px; text-anchor: middle; pointer-events: none; }
.nm-shrinepin:hover .nm-shrinestar, .nm-shrinepin:focus .nm-shrinestar { fill: #fff3cf; }
.nm-star { color: #ffd166; font-size: 1.05em; }
.nm-note-inline { color: var(--mut, #9fb0c3); font-size: .92em; }
