/* Live navigation overlay (static/nav.js): the page's #map goes full screen, guidance on top. */
body.navigating { overflow: hidden; }
body.navigating .site-header { display: none; }
body.navigating #map { position: fixed !important; inset: 0 !important; width: 100vw !important; height: 100dvh !important; min-height: 0 !important; z-index: 1000 !important; margin: 0 !important; }
.nav-ui { position: fixed; inset: 0; z-index: 1100; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between;
  padding: max(6px, env(safe-area-inset-top)) 6px max(6px, env(safe-area-inset-bottom)); font-family: inherit; justify-content: flex-start; }
.nav-ui > * { pointer-events: auto; }
.nav-top { display: flex; gap: 8px; align-items: center; background: #14532d; color: #fff; border-radius: 14px; padding: 6px 10px; box-shadow: 0 6px 20px #0006; }
.nav-arrow { width: 44px; height: 44px; flex: none; display: grid; place-items: center; font-size: 28px; line-height: 1; background: #ffffff1f; border-radius: 12px; transition: transform .3s; }
.nav-main { min-width: 0; } #nav-what { font-size: 20px; line-height: 1.15; } .nav-sub { font-size: 13px; opacity: .85; margin-top: 0; }
.nav-banner { align-self: center; margin-top: 5px; background: #fff; color: #111; border-radius: 99px; padding: 6px 14px; font-size: 14px; font-weight: 600; box-shadow: 0 4px 14px #0004; }
.nav-banner.err { background: #b42318; color: #fff; }
.nav-side { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; }
.nav-side button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: #111; font-size: 22px; box-shadow: 0 3px 12px #0005; cursor: pointer; }
.nav-side button.on { background: #14532d; color: #fff; }
.nav-bottom { margin-top: auto; background: var(--surface, #fff); color: var(--text, #111); border-radius: 14px; padding: 6px 10px; box-shadow: 0 -4px 20px #0005; }
.nav-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 2px 6px; }
.nav-stats div { display: flex; flex-direction: column; } .nav-stats span { font-size: 11px; color: var(--muted, #666); text-transform: uppercase; letter-spacing: .03em; }
.nav-stats b { font-size: 16px; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nav-btns { display: flex; gap: 6px; margin-top: 5px; } .nav-btns button { flex: 1; height: 38px; border-radius: 10px; border: 1px solid var(--line, #ddd); background: var(--surface-2, #f3f3f3); color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.nav-btns button.stop { background: #b42318; border-color: #b42318; color: #fff; flex: 0.8; } .nav-btns button.hot { background: #e67e22; border-color: #e67e22; color: #fff; }
.nav-me { width: 34px; height: 34px; background: radial-gradient(circle at 50% 58%, #2563eb 0 9px, transparent 10px);
  position: relative; filter: drop-shadow(0 2px 3px #0007); }
.nav-me::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 18px solid #2563eb; }
.nav-me::after { content: ""; position: absolute; left: 50%; top: 58%; width: 12px; height: 12px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; }
.btn-nav { background: #14532d !important; color: #fff !important; border-color: #14532d !important; font-weight: 700; }
