/* 離線地圖頁：工具列＋滿版地圖（手機優先） */
.map-page { display: flex; flex-direction: column; gap: 8px; }
.map-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
/* 功能分組：離線包＋定位一組、GPX＋記錄一組，收合的清除鈕出現時不會把整排打散 */
.om-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-left: 10px; border-left: 1px solid var(--line); }
#om-status:not(:empty) { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; }
/* site.css 的 .btn.ghost 預設白字（hero 用）：這頁是米色底，照 section.block 的深色 ghost */
.map-bar .btn.ghost { color: var(--pine); box-shadow: inset 0 0 0 1.5px var(--pine); }
#om-map { height: calc(100vh - 180px); min-height: 320px; border-radius: 12px; border: 1px solid var(--line); }
#om-locate[aria-pressed="true"], #om-wake[aria-pressed="true"], #om-rec[aria-pressed="true"] { background: var(--accent, #1f6d55); color: #fff; }
.map-note { margin: 0; font-size: .85rem; }
.om-offroute { margin: 0; padding: 8px 12px; border-radius: 8px; font-weight: 600;
  background: #fef2f2; color: #b91c1c; border: 1px solid #fca5a5; }
.om-profile { margin: 0; }
.om-profile svg { width: 100%; height: 72px; display: block; background: rgba(31, 109, 85, .06); border-radius: 8px; }
#om-profile-path { fill: none; stroke: var(--pine, #1f6d55); stroke-width: 2; vector-effect: non-scaling-stroke; }
.om-profile figcaption { font-size: .8rem; }
