/* First-visit and on-demand guidance for the Elecle invitation map. */
.am-menu { display: none; }
.am-header { justify-content: center; padding-left: 0; padding-right: 0; }
.map-guide-replay { position: absolute; top: 7px; right: 68px; display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #295caa; font: 600 13px var(--font); white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.map-guide-replay svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.map-guide-replay:hover { background: #edf4ff; }
.map-guide-replay:active { background: #e1edff; color: #1645bd; }
.map-guide-replay:focus-visible { outline: 2px solid #1645bd; outline-offset: 2px; }
.map-guide-replay:disabled { cursor: wait; }
#phone:has(.bike-photo-sheet.show) .map-guide-replay, #phone:has(.bike-share-layer.show) .map-guide-replay { display: none; }
.bike-marker { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; text-align: center; -webkit-appearance: none; appearance: none; }
.bike-marker .bob, .bike-marker .pin { display: block; }
.bike-marker:focus-visible, .am-bar2:focus-visible { outline: 3px solid #1645bd; outline-offset: 4px; }
.map-tour { position: absolute; inset: 0; z-index: 160; pointer-events: none; }
.map-tour[hidden] { display: none; }
.tour-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.tour-target:focus-visible { outline: 3px solid #fff; outline-offset: -2px; }
.tour-focus { position: absolute; outline: 2px solid #fff; outline-offset: 3px; border-radius: 16px; pointer-events: none; }
.tour-note { position: absolute; width: calc(100% - 32px); color: #fff; text-align: center; }
.tour-note p { margin: 0; font-size: 17px; line-height: 1.6; font-weight: 600; letter-spacing: -.02em; word-break: keep-all; }
.tour-note svg { display: block; width: 20px; height: 20px; margin: 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tour-note[data-guide="bike"] svg { margin-top: 8px; }
.tour-note[data-guide="qr"] svg { margin-top: 12px; }
.tour-discover { position: absolute; left: 16px; width: calc(100% - 32px); margin: 0; color: #dbe4f3; text-align: center; font-size: 13px; line-height: 1.8; font-weight: 500; word-break: keep-all; }
.tour-discover p { margin: 0; }
.tour-discover .tour-dismiss-hint { margin-top: 16px; font-size: 12px; color: #dbe4f3; }
.tour-dismiss { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; cursor: pointer; pointer-events: auto; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.tour-dismiss:focus-visible { outline: none; }
.map-tour:has(.tour-dismiss:focus-visible) .tour-dismiss-hint { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.map-tour.compact .tour-note p { font-size: 16px; }
.map-tour.compact .tour-note[data-guide="qr"] svg { display: none; }
@media (prefers-reduced-motion: reduce) {
 .bike-marker .bob, .bike-marker .ring { animation: none; }
 .am-world, .am-sheet1, .am-panel2 { transition: none !important; }
}

.map-guide-replay::selection, .map-tour ::selection { background: #c9ddff; color: #12385d; }
