/* A new map canvas and explorer, independent of the preceding application. */
.map2-screen { --map2-peek: 45px; position: relative; isolation: isolate; width: 100%; height: 100%; min-height: 0; overflow: hidden; background: #dcebe5; color: var(--ink, #0a2d36); }
.map2-screen * { box-sizing: border-box; }
.map2-screen svg, .map2-marker svg, .map2-layers svg, .map2-camera-gallery svg, .map2-camera-player svg { width: 22px; height: 22px; flex: 0 0 auto; }
.map2-screen > .map2-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.map2-top { position: absolute; z-index: 5; top: max(16px, env(safe-area-inset-top)); left: 16px; right: 16px; pointer-events: none; }
.map2-top > * { pointer-events: auto; }
.map2-top:has(.map2-search-results:not([hidden])) { z-index: 9; }
.map2-search-box { position: relative; }
.map2-search-form { display: flex; align-items: center; gap: 12px; height: 62px; padding: 7px 8px 7px 18px; border: 1px solid rgb(5 63 59 / 10%); border-radius: 22px; background: var(--surface, #fff); box-shadow: 0 8px 30px rgb(9 40 38 / 15%); }
.map2-search-form > svg { color: var(--primary, #007f7a); }
.map2-search-input { min-width: 0; width: 100%; height: 44px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink, #0a2d36); font: inherit; font-size: max(16px, calc(16px * var(--font-scale, 1))); }
.map2-search-input::placeholder { color: var(--muted, #5d7277); }
.map2-search-form:focus-within { outline: 3px solid var(--primary, #007f7a); outline-offset: 2px; }
.map2-control { display: grid; place-items: center; flex: 0 0 48px; min-width: 48px; width: 48px; min-height: 48px; padding: 0; border: 1px solid var(--line, #dce7e4); border-radius: 16px; background: var(--surface, #fff); color: var(--ink, #0a2d36); cursor: pointer; box-shadow: 0 4px 16px rgb(12 48 48 / 9%); }
.map2-control:hover { color: var(--primary, #007f7a); background: var(--surface-soft, #eaf4f1); }
.map2-control:disabled { opacity: .6; cursor: wait; }
.map2-search-submit { border: 0; color: var(--on-primary, #fff); background: var(--primary, #007f7a); box-shadow: none; }
.map2-search-submit:hover { background: var(--primary-dark, #005e5a); color: var(--on-primary, #fff); }
.map2-search-status { margin: 0; }
.map2-search-status:not(:empty) { margin-top: 8px; padding: 10px 14px; border-radius: 12px; background: var(--surface, #fff); color: var(--muted, #5d7277); font-size: calc(13px * var(--font-scale, 1)); box-shadow: 0 4px 16px rgb(12 48 48 / 9%); }
.map2-search-results { display: grid; gap: 4px; max-height: min(360px, calc(var(--app2-viewport-height, 100dvh) * .5), calc(var(--app2-viewport-height, 100dvh) - var(--app2-dock-height, 76px) - 170px)); overflow-y: auto; margin-top: 6px; padding: 8px; border: 1px solid var(--line, #dce7e4); border-radius: 18px; background: var(--surface, #fff); box-shadow: 0 12px 35px rgb(12 48 48 / 17%); }
.map2-place-result { width: 100%; min-height: 66px; display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; align-items: center; gap: 10px; border: 0; border-radius: 12px; padding: 8px; background: transparent; color: var(--ink, #0a2d36); text-align: left; }
.map2-place-result:hover { background: var(--surface-soft, #eaf4f1); }
.map2-result-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-soft, #eaf4f1); color: var(--primary, #007f7a); }
.map2-place-result > span:nth-child(2) { display: grid; gap: 4px; min-width: 0; }
.map2-place-result strong { font-size: calc(14px * var(--font-scale, 1)); overflow-wrap: anywhere; }
.map2-place-result small { color: var(--muted, #5d7277); font-size: calc(12px * var(--font-scale, 1)); overflow-wrap: anywhere; }
.map2-shortcuts { display: flex; gap: 8px; margin-top: 10px; }
.map2-shortcut { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 9px 16px; border: 1px solid rgb(5 63 59 / 10%); border-radius: 16px; background: var(--surface, #fff); color: var(--ink, #0a2d36); font: inherit; font-size: calc(13px * var(--font-scale, 1)); font-weight: 750; box-shadow: 0 5px 20px rgb(12 48 48 / 10%); }
.map2-shortcut svg { width: 20px; height: 20px; color: var(--primary, #007f7a); }
.map2-navigation-controls { position: absolute; z-index: 4; right: 16px; bottom: calc(var(--map2-peek) + 89px); display: grid; gap: 8px; }
.map2-zoom { display: none; gap: 2px; }
.map2-locate[aria-pressed="true"] { background: var(--primary, #007f7a); color: var(--on-primary, #fff); }
.map2-share { position: absolute; z-index: 5; bottom: calc(var(--map2-peek) + 18px); right: 16px; display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 56px; border: 0; border-radius: 20px; padding: 13px 21px; background: var(--accent, #c34b2f); color: #fff; font: inherit; font-size: calc(15px * var(--font-scale, 1)); font-weight: 850; box-shadow: 0 6px 20px rgb(141 48 23 / 28%); }
.map2-share:hover { background: #a43d25; }
.map2-share:disabled { cursor: wait; opacity: .7; }
.map2-share svg { width: 24px; height: 24px; }
.map2-crosshair { position: absolute; z-index: 2; inset: 50% auto auto 50%; width: 28px; height: 28px; transform: translate(-50%, -50%); border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px rgb(6 55 60 / 45%); pointer-events: none; }
.map2-crosshair span { position: absolute; inset: 9px; border-radius: 50%; background: var(--primary, #007f7a); box-shadow: 0 0 0 2px #fff; }
.map2-search-area { position: absolute; z-index: 3; top: 150px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; align-items: center; justify-content: center; min-height: 44px; white-space: nowrap; border: 0; border-radius: 50px; padding: 10px 16px; background: var(--primary, #007f7a); color: var(--on-primary, #fff); font-size: calc(13px * var(--font-scale, 1)); font-weight: 750; box-shadow: 0 5px 20px rgb(12 48 48 / 15%); }
.map2-search-area svg { width: 17px; height: 17px; }
.map2-explore { position: absolute; z-index: 6; inset: auto 0 0; display: flex; flex-direction: column; height: var(--map2-peek); border-radius: 28px 28px 0 0; border: 1px solid var(--line, #dce7e4); border-bottom: 0; background: var(--surface, #fff); box-shadow: 0 -5px 35px rgb(8 55 53 / 13%); overflow: hidden; transition: height .23s ease; }
.map2-explore[data-expanded="true"] { height: min(72%, 600px); }
@media (max-width: 959px) {
  .map2-screen[data-sheet-state="summary"] { --map2-peek: calc(96px + 33px * var(--font-scale, 1)); }
  .map2-explore[data-sheet-state="collapsed"] { height: 45px; }
  .map2-explore[data-sheet-state="summary"] { height: var(--map2-peek); }
  .map2-explore:not([data-sheet-state="full"]) .map2-explore-heading { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .map2-explore:not([data-sheet-state="full"]) :is(.map2-live-label, .map2-place-label) { display: none; }
  .map2-explore[data-sheet-state="summary"] .map2-metrics { touch-action: none; user-select: none; -webkit-user-select: none; }
  .map2-screen:has(.map2-explore[data-expanded="true"]) :is(.map2-share, .map2-navigation-controls) { visibility: hidden; }
}
@media (max-width: 959px) and (orientation: portrait) {
  .map2-reset { display: none; }
}
.map2-sheet-controls { position: relative; flex: 0 0 44px; }
.map2-sheet-handle { position: relative; display: grid; place-items: center; width: 100%; height: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; cursor: ns-resize; touch-action: none; user-select: none; -webkit-user-select: none; }
.map2-sheet-close { position: absolute; inset: 0 8px auto auto; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 14px; background: transparent; color: var(--muted, #5d7277); cursor: pointer; }
.map2-sheet-close:hover { background: var(--surface-soft, #eaf4f1); color: var(--primary, #007f7a); }
.map2-drag-pill { width: 38px; height: 5px; border-radius: 8px; background: color-mix(in srgb, var(--muted, #5d7277) 35%, transparent); }
.map2-explore-heading { flex: 0 0 auto; padding: 0 20px 14px; }
.map2-live-label { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; color: var(--primary, #007f7a); font-size: calc(11px * var(--font-scale, 1)); font-weight: 850; letter-spacing: .035em; text-transform: uppercase; }
.map2-live-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--primary, #007f7a); }
.map2-explore-heading h1 { margin: 0; font-size: calc(22px * var(--font-scale, 1)); line-height: 1.2; font-weight: 850; letter-spacing: -.035em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map2-place-label { display: block; margin-top: 5px; color: var(--muted, #5d7277); font-size: calc(12px * var(--font-scale, 1)); line-height: 1.4; }
.map2-sheet-body { flex: 1; min-height: 0; display: grid; align-content: start; gap: 20px; overflow-y: auto; padding: 0 20px 22px; overscroll-behavior: contain; }
.map2-explore[data-expanded="false"] .map2-sheet-body { overflow: hidden; }
.map2-explore[data-expanded="false"] .map2-section-heading, .map2-explore[data-expanded="false"] .map2-conditions-note, .map2-explore[data-expanded="false"] .map2-activity, .map2-explore[data-expanded="false"] .map2-plan-action { display: none; }
.map2-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.map2-section-heading h2 { font-size: calc(15px * var(--font-scale, 1)); font-weight: 800; letter-spacing: -.02em; margin: 0; }
.map2-text-action { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; flex-shrink: 0; min-height: 44px; padding: 4px 0 4px 8px; border: 0; background: transparent; color: var(--primary, #007f7a); font: inherit; font-size: calc(12px * var(--font-scale, 1)); font-weight: 800; }
.map2-text-action svg { width: 16px; height: 16px; }
.map2-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line, #dce7e4); border-radius: 17px; padding: 12px 8px; background: var(--surface-soft, #eaf4f1); }
.map2-metric { display: flex; justify-content: center; align-items: center; gap: 8px; min-width: 0; }
.map2-metric + .map2-metric { border-left: 1px solid var(--line, #dce7e4); }
.map2-metric svg { width: 21px; height: 21px; color: var(--primary, #007f7a); }
.map2-metric > div { display: grid; gap: 3px; min-width: 0; }
.map2-metric strong { font-size: calc(15px * var(--font-scale, 1)); line-height: 1.2; }
.map2-metric span { font-size: calc(10px * var(--font-scale, 1)); color: var(--muted, #5d7277); }
.map2-conditions-note { margin: 10px 0 0; font-size: calc(11px * var(--font-scale, 1)); line-height: 1.6; color: var(--muted, #5d7277); }
.map2-activity { border-top: 1px solid var(--line, #dce7e4); padding-top: 14px; }
.map2-activity-status { margin: 0 0 10px; color: var(--muted, #5d7277); font-size: calc(12px * var(--font-scale, 1)); line-height: 1.6; }
.map2-activity-list { display: grid; gap: 7px; }
.map2-post { width: 100%; display: grid; grid-template-columns: 49px minmax(0, 1fr) 18px; align-items: center; gap: 11px; min-height: 76px; border: 1px solid var(--line, #dce7e4); border-radius: 17px; padding: 10px; background: var(--surface, #fff); color: var(--ink, #0a2d36); text-align: left; cursor: pointer; }
.map2-post:hover { background: var(--surface-soft, #eaf4f1); }
.map2-post-thumb { display: grid; place-items: center; width: 49px; height: 56px; overflow: hidden; background: var(--surface-soft, #eaf4f1); color: var(--primary, #007f7a); border-radius: 12px; }
.map2-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.map2-post-copy { min-width: 0; display: grid; gap: 5px; }
.map2-post-copy strong { font-size: calc(13px * var(--font-scale, 1)); line-height: 1.35; overflow-wrap: anywhere; }
.map2-post-copy small { color: var(--muted, #5d7277); font-size: calc(10px * var(--font-scale, 1)); overflow-wrap: anywhere; }
.map2-post-privacy { font-size: calc(10px * var(--font-scale, 1)); color: var(--primary, #007f7a); font-weight: 750; }
.map2-post > svg { color: var(--muted, #5d7277); width: 17px; height: 17px; }
.map2-plan-action { display: grid; grid-template-columns: 24px minmax(0, 1fr) 20px; align-items: center; gap: 10px; min-height: 82px; padding: 14px; border: 0; border-radius: 17px; background: var(--surface-soft, #eaf4f1); color: var(--primary, #007f7a); text-align: left; }
.map2-plan-action span { display: grid; gap: 5px; }
.map2-plan-action strong { font-size: calc(13px * var(--font-scale, 1)); }
.map2-plan-action small { font-size: calc(11px * var(--font-scale, 1)); color: var(--muted, #5d7277); }
.map2-marker { position: absolute; width: 48px; height: 56px; border: 0; padding: 0; background: transparent; cursor: pointer; }
.map2-marker-face { position: absolute; top: 1px; left: 4px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; gap: 3px; border: 3px solid #fff; border-radius: 14px 14px 14px 3px; transform: rotate(-45deg); background: #007f7a; color: #fff; box-shadow: 0 3px 10px rgb(1 41 43 / 24%); }
.map2-marker-face svg, .map2-marker-face b { transform: rotate(45deg); width: 20px; height: 20px; }
.map2-marker-spot .map2-marker-face { background: #34775f; }
.map2-marker-report .map2-marker-face { background: #9a681b; }
.map2-marker-hazard .map2-marker-face { background: #c34b2f; }
.map2-marker-camera .map2-marker-face { background: #266a9c; }
.map2-marker-cluster .map2-marker-face { width: 48px; left: 0; height: 40px; transform: none; border-radius: 14px; }
.map2-marker-cluster .map2-marker-face svg, .map2-marker-cluster .map2-marker-face b { transform: none; }
.map2-marker-cluster .map2-marker-face svg { width: 16px; height: 16px; }
.map2-marker-cluster .map2-marker-face b { width: auto; height: auto; font: 800 calc(12px * var(--font-scale, 1)) system-ui; }
.map2-location-point { display: block; width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50%; background: #288cc0; box-shadow: 0 0 0 10px rgb(40 140 192 / 17%); }
.map2-loading { position: absolute; z-index: 2; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; background: #dcebe5; color: #0a2d36; }
.map2-loading strong { font-size: calc(15px * var(--font-scale, 1)); }
.map2-spinner { width: 34px; height: 34px; border: 3px solid #aacfc2; border-top-color: #007f7a; border-radius: 50%; animation: map2-spin .9s linear infinite; }
.map2-fallback { position: absolute; z-index: 2; left: 20px; right: 20px; top: 30%; margin: auto; display: grid; justify-items: center; gap: 10px; max-width: 380px; padding: 24px; border-radius: 22px; background: var(--surface, #fff); box-shadow: 0 12px 35px rgb(12 48 48 / 12%); text-align: center; }
.map2-fallback > svg { width: 32px; height: 32px; color: var(--primary, #007f7a); }
.map2-fallback h2 { margin: 0; font-size: calc(18px * var(--font-scale, 1)); }
.map2-fallback p { margin: 0; font-size: calc(13px * var(--font-scale, 1)); line-height: 1.6; color: var(--muted, #5d7277); }
.map2-retry { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 10px 15px; border: 1px solid var(--line, #dce7e4); border-radius: 13px; background: var(--surface-soft, #eaf4f1); color: var(--primary, #007f7a); font: inherit; font-size: calc(13px * var(--font-scale, 1)); font-weight: 750; }
.map2-screen .maplibregl-ctrl-bottom-right { z-index: 3; bottom: var(--map2-peek); }
.map2-screen .maplibregl-ctrl-attrib { padding: 4px 6px; border-radius: 8px 0 0; font: calc(10px * var(--font-scale, 1)) system-ui; background: rgb(255 255 255 / 88%); color: #315458; }
.map2-screen [hidden], .map2-camera-gallery [hidden], .map2-camera-player [hidden] { display: none !important; }
.map2-camera-search { display: flex; align-items: center; gap: 11px; border: 1px solid var(--line, #dce7e4); border-radius: 15px; padding: 8px 14px; background: var(--surface-soft, #eaf4f1); color: var(--primary, #007f7a); }
.map2-camera-search input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; outline: 0; color: var(--ink, #0a2d36); font: inherit; font-size: max(16px, calc(16px * var(--font-scale, 1))); }
.map2-camera-search:focus-within { outline: 3px solid var(--primary, #007f7a); outline-offset: 2px; }
.map2-dialog-status { color: var(--muted, #5d7277); font-size: calc(13px * var(--font-scale, 1)); margin: 15px 0; }
.map2-camera-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.map2-camera-card { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 18px; gap: 12px; border: 1px solid var(--line, #dce7e4); border-radius: 18px; padding: 0 0 14px; overflow: hidden; background: var(--surface, #fff); color: var(--ink, #0a2d36); text-align: left; cursor: pointer; }
.map2-camera-scene { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; min-height: 100px; padding: 20px; background: linear-gradient(140deg, #0c5661, #167d7c); color: #d6fff1; }
.map2-camera-scene > svg { width: 34px; height: 34px; }
.map2-camera-scene > span { font-size: calc(9px * var(--font-scale, 1)); font-weight: 850; letter-spacing: .06em; border: 1px solid rgb(255 255 255 / 30%); border-radius: 6px; padding: 4px 7px; }
.map2-camera-copy { display: grid; gap: 6px; padding-left: 14px; min-width: 0; }
.map2-camera-copy strong { font-size: calc(13px * var(--font-scale, 1)); line-height: 1.4; overflow-wrap: anywhere; }
.map2-camera-copy small { color: var(--muted, #5d7277); font-size: calc(11px * var(--font-scale, 1)); line-height: 1.4; overflow-wrap: anywhere; }
.map2-camera-card > svg { width: 16px; height: 16px; margin-right: 12px; color: var(--primary, #007f7a); }
.map2-player-frame { aspect-ratio: 16 / 9; width: 100%; background: #071e27; border-radius: 16px; overflow: hidden; }
.map2-player-frame video, .map2-player-frame iframe { display: block; width: 100%; height: 100%; object-fit: contain; border: 0; }
.map2-player-status { color: var(--muted, #5d7277); font-size: calc(13px * var(--font-scale, 1)); line-height: 1.5; }
.map2-player-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; color: var(--muted, #5d7277); font-size: calc(12px * var(--font-scale, 1)); }
.map2-player-footer a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--primary, #007f7a); font-weight: 750; text-decoration: none; }
.map2-player-footer a svg { width: 15px; height: 15px; }
.map2-external-camera { height: 100%; display: grid; place-content: center; justify-items: center; gap: 12px; color: #c7e9df; }
.map2-camera-comments { border-top: 1px solid var(--line, #dce7e4); margin-top: 18px; padding-top: 18px; }
.map2-camera-comments h3 { margin: 0; font-size: calc(17px * var(--font-scale, 1)); }
.map2-camera-comment-list { display: grid; gap: 10px; }
.map2-camera-comment { padding: 13px; border: 1px solid var(--line, #dce7e4); border-radius: 15px; background: var(--surface-soft, #eaf4f1); }
.map2-camera-comment header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.map2-camera-comment strong { font-size: calc(13px * var(--font-scale, 1)); overflow-wrap: anywhere; }
.map2-camera-comment small { color: var(--muted, #5d7277); font-size: calc(11px * var(--font-scale, 1)); white-space: nowrap; }
.map2-camera-comment p { margin: 7px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: calc(13px * var(--font-scale, 1)); line-height: 1.65; }
.map2-comment-delete { min-height: 44px; min-width: 44px; margin-top: 5px; padding: 4px 10px; border: 1px solid var(--line, #dce7e4); border-radius: 10px; background: var(--surface, #fff); color: var(--accent, #c34b2f); font: inherit; font-size: calc(12px * var(--font-scale, 1)); font-weight: 750; }
.map2-camera-comment-form { display: grid; gap: 10px; margin-top: 14px; }
.map2-camera-comment-form textarea { min-height: 84px; width: 100%; padding: 13px; border: 1px solid var(--line, #dce7e4); border-radius: 15px; background: var(--surface, #fff); color: var(--ink, #0a2d36); font: inherit; font-size: max(16px, calc(16px * var(--font-scale, 1))); resize: vertical; }
.map2-camera-comment-form > div { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.map2-camera-comment-form small { color: var(--muted, #5d7277); font-size: calc(11px * var(--font-scale, 1)); }
.map2-layer-list { display: grid; gap: 8px; }
.map2-layer-row { display: grid; grid-template-columns: 45px minmax(0, 1fr) 44px; gap: 12px; align-items: center; min-height: 76px; padding: 12px; border: 1px solid var(--line, #dce7e4); border-radius: 16px; background: var(--surface, #fff); cursor: pointer; }
.map2-layer-row:has(input:checked) { background: var(--surface-soft, #eaf4f1); border-color: color-mix(in srgb, var(--primary, #007f7a) 35%, var(--line, #dce7e4)); }
.map2-layer-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 13px; background: var(--surface-soft, #eaf4f1); color: var(--primary, #007f7a); }
.map2-layer-row > span:nth-child(2) { display: grid; gap: 5px; min-width: 0; }
.map2-layer-row strong { font-size: calc(14px * var(--font-scale, 1)); }
.map2-layer-row small { color: var(--muted, #5d7277); font-size: calc(11px * var(--font-scale, 1)); line-height: 1.5; }
.map2-layer-row input { width: 22px; height: 22px; margin: auto; accent-color: var(--primary, #007f7a); cursor: pointer; }
.map2-layers > p { color: var(--muted, #5d7277); font-size: calc(12px * var(--font-scale, 1)); line-height: 1.65; }
.map2-layer-reset { margin-top: 14px; width: 100%; }
:is(.map2-live-label, .map2-text-action, .map2-post-privacy, .map2-plan-action, .map2-retry, .map2-player-footer a) { color: var(--primary-dark, #005e5a); }
html[data-theme="dark"] .map2-share { color: #072d36; }
body.keyboard2-open .map2-screen .map2-top { visibility: visible; }
@keyframes map2-spin { to { transform: rotate(360deg); } }
@media (min-width: 960px) {
  .map2-screen { --map2-peek: 0px; }
  .map2-top { top: 24px; left: 24px; right: auto; width: 350px; }
  .map2-search-form { height: 62px; }
  .map2-shortcuts { gap: 8px; margin-top: 11px; }
  .map2-shortcut { min-height: 46px; flex: 1; justify-content: center; }
  .map2-explore { top: 159px; left: 24px; bottom: 24px; right: auto; width: 350px; height: auto !important; border: 1px solid var(--line, #dce7e4); border-radius: 25px; }
  .map2-sheet-controls { display: none; }
  .map2-explore-heading { padding: 23px 22px 13px; }
  .map2-explore-heading h1 { font-size: calc(25px * var(--font-scale, 1)); }
  .map2-sheet-body { overflow-y: auto !important; padding: 0 22px 22px; gap: 22px; }
  .map2-explore[data-expanded="false"] :is(.map2-section-heading, .map2-conditions-note, .map2-activity, .map2-plan-action) { display: flex; }
  .map2-explore[data-expanded="false"] .map2-activity { display: block; }
  .map2-explore[data-expanded="false"] .map2-plan-action { display: grid; }
  .map2-navigation-controls { right: 24px; bottom: 110px; gap: 10px; }
  .map2-zoom { display: grid; }
  .map2-share { right: 24px; bottom: 28px; min-height: 60px; border-radius: 21px; font-size: calc(16px * var(--font-scale, 1)); padding-inline: 24px; }
  .map2-search-area { top: 24px; }
  .map2-fallback { left: 400px; right: 50px; top: 35%; }
  .map2-screen .maplibregl-ctrl-bottom-right { bottom: 3px; right: 195px; }
}
@media (max-width: 359px) {
  .map2-top { left: 12px; right: 12px; top: max(12px, env(safe-area-inset-top)); }
  .map2-search-form { padding-left: 12px; gap: 8px; }
  .map2-search-input { font-size: max(16px, calc(16px * var(--font-scale, 1))); }
  .map2-explore-heading, .map2-sheet-body { padding-inline: 16px; }
  .map2-metric { gap: 5px; }
  .map2-metric svg { width: 17px; height: 17px; }
  .map2-metric strong { font-size: calc(13px * var(--font-scale, 1)); }
  .map2-section-heading h2 { font-size: calc(13px * var(--font-scale, 1)); }
  .map2-text-action { font-size: calc(11px * var(--font-scale, 1)); }
  .map2-camera-grid { grid-template-columns: 1fr; }
}
@media (orientation: landscape) and (max-height: 540px) and (max-width: 959px) {
  .map2-screen { --map2-peek: 0px; }
  .map2-top { top: 10px; left: 12px; width: min(45%, 340px); right: auto; }
  .map2-search-form { height: 56px; }
  .map2-shortcuts { margin-top: 8px; }
  .map2-shortcut { min-height: 44px; padding-block: 7px; }
  .map2-screen[data-sheet-state="collapsed"] { --map2-peek: 45px; }
  .map2-explore { left: 0; right: 0; bottom: 0; width: auto; border-radius: 21px 21px 0 0; }
  .map2-explore[data-expanded="true"] { height: calc(100% - 10px); }
  .map2-screen:has(.map2-explore[data-expanded="true"]) .map2-top { visibility: hidden; }
  .map2-sheet-handle { height: 44px; min-height: 44px; }
  .map2-explore-heading { padding: 0 14px 9px; }
  .map2-explore-heading h1 { font-size: calc(17px * var(--font-scale, 1)); }
  .map2-explore-heading .map2-live-label { display: none; }
  .map2-place-label { display: none; }
  .map2-sheet-body { padding-inline: 14px; }
  .map2-metrics { padding-block: 9px; border-radius: 13px; }
  .map2-metric svg { display: none; }
  .map2-navigation-controls { right: 12px; bottom: calc(var(--map2-peek) + 85px); gap: 6px; }
  .map2-screen[data-sheet-state="summary"] .map2-navigation-controls { bottom: calc(var(--map2-peek) + 75px); }
  .map2-screen[data-sheet-state="summary"] .map2-reset { display: none; }
  .map2-share { right: 12px; bottom: calc(var(--map2-peek) + 13px); min-height: 52px; }
  .map2-search-area { top: 15px; left: auto; right: 76px; transform: none; }
  .map2-screen .maplibregl-ctrl-bottom-right { bottom: 2px; right: 190px; }
  .map2-fallback { top: 28%; left: 48%; right: 10px; max-width: none; padding: 16px; }
  .map2-fallback h2 { font-size: calc(16px * var(--font-scale, 1)); }
  .map2-fallback > svg { display: none; }
}
@media (prefers-reduced-motion: reduce) { .map2-explore { transition: none; } .map2-spinner { animation: none; } }
@media (orientation: landscape) and (max-height: 360px) and (max-width: 959px) {
  .map2-screen[data-sheet-state="summary"] .map2-shortcuts { visibility: hidden; }
  .map2-fallback { top: 70px; max-height: calc(100% - 82px); overflow-y: auto; }
}
