.map-nav-card {
    max-width: 92%;
    padding: 12px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f5e9 100%);
    border: 1px solid rgba(33, 150, 243, 0.18);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.map-nav-card.loading {
    opacity: 0.85;
}

.map-nav-title {
    font-size: 14px;
    font-weight: 600;
    color: #1565c0;
    margin-bottom: 8px;
}

.map-nav-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.45;
    color: #37474f;
    margin-bottom: 6px;
}

.map-nav-row .pin {
    flex-shrink: 0;
}

.map-nav-meta {
    font-size: 12px;
    color: #607d8b;
    margin: 6px 0 10px;
}

.map-nav-preview {
    width: 100%;
    height: 120px;
    border-radius: 10px;
    object-fit: cover;
    background: #dde4ea;
    margin-bottom: 10px;
}

.map-nav-transit {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 10px;
    padding: 10px 12px;
    margin: 8px 0 10px;
    font-size: 13px;
    line-height: 1.55;
    color: #37474f;
}

.map-nav-transit-title {
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 6px;
}

.map-nav-transit-step {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
}

.map-nav-transit-step .num {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #43a047;
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
}

.map-nav-transit-step.walk .num {
    background: #78909c;
}

.map-nav-mode-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.map-nav-mode-tab {
    flex: 1;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(25, 118, 210, 0.25);
    background: #fff;
    color: #1976d2;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.map-nav-mode-tab.active {
    background: #1976d2;
    color: #fff;
    border-color: #1976d2;
}

.map-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.map-nav-btn.full {
    width: 100%;
}

.map-nav-btn {
    width: 100%;
    padding: 12px 14px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.map-nav-btn.primary {
    background: #1976d2;
    color: #fff;
}

.map-nav-btn.secondary {
    background: #fff;
    color: #1976d2;
    border: 1px solid rgba(25, 118, 210, 0.35);
}

.map-nav-btn.ghost {
    background: transparent;
    color: #546e7a;
    border: 1px dashed rgba(84, 110, 122, 0.35);
}

.map-nav-btn:active {
    opacity: 0.88;
}

.map-nav-error {
    font-size: 13px;
    color: #c62828;
}

/* 底部地图选择（微信风格） */
.map-picker-root {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.map-picker-root.hidden {
    display: none;
}

.map-picker-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.map-picker-panel {
    position: relative;
    background: #ededed;
    border-radius: 14px 14px 0 0;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    animation: mapPickerSlideUp 0.22s ease-out;
}

@keyframes mapPickerSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.map-picker-head {
    text-align: center;
    font-size: 13px;
    color: #888;
    padding: 8px 12px 10px;
}

.map-picker-list {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 8px;
}

.map-picker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 16px 18px;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
    font-size: 17px;
    color: #111;
    cursor: pointer;
    text-align: left;
}

.map-picker-item:last-child {
    border-bottom: none;
}

.map-picker-item:active {
    background: #f5f5f5;
}

.map-picker-item .icon {
    font-size: 22px;
}

.map-picker-cancel {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: #fff;
    font-size: 17px;
    color: #111;
    font-weight: 600;
    cursor: pointer;
}

.map-picker-cancel:active {
    background: #f5f5f5;
}
