/* ========================================
   ROUTE MAP PAGE  (/map)
   Layout: dark compact hero, then a full-width "shell" with the Leaflet
   stage on the left and an info panel on the right. Below that, prose.
   ======================================== */

.map-hero { padding: 36px 24px 32px; }
.map-hero-inner { max-width: 1200px; margin: 0 auto; }
.map-hero .hero-sub { margin-bottom: 0; max-width: 640px; }
.map-hero .hero-sub strong { color: var(--text-on-dark); font-weight: 500; }

.map-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 372px;
    background: #fff;
    border-bottom: 0.5px solid rgba(0,0,0,0.1);
}

.map-stage {
    position: relative;
    height: clamp(520px, 74vh, 860px);
    background: #dfe7e7;
    isolation: isolate;
}

.map-canvas {
    position: absolute;
    inset: 0;
    background: #dfe7e7;
    font-family: var(--font-body);
    outline: none;
}
.map-canvas:focus-visible { box-shadow: inset 0 0 0 3px var(--text-accent); }

.map-noscript {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    padding: 24px; text-align: center;
    background: var(--bg-page);
}
.map-noscript p { max-width: 420px; font-size: 15px; line-height: 1.6; color: var(--bg-dark); }
.map-noscript a { color: var(--bg-teal); }

/* Leaflet chrome tweaks */
.map-canvas .leaflet-top.leaflet-left { top: 72px; }
.map-canvas .leaflet-control-zoom {
    border: none;
    box-shadow: 0 2px 10px rgba(18,32,30,0.18);
    border-radius: 10px;
    overflow: hidden;
}
.map-canvas .leaflet-control-zoom a {
    width: 40px; height: 40px; line-height: 40px;
    font-size: 20px; color: var(--bg-dark);
    background: rgba(255,255,255,0.96);
}
.map-canvas .leaflet-control-zoom a:hover { background: #fff; color: var(--bg-teal); }
.map-canvas .leaflet-bottom.leaflet-right { bottom: 124px; }
.map-canvas .leaflet-control-attribution {
    font-size: 10px; color: var(--text-muted);
    background: rgba(255,255,255,0.8);
    border-radius: 6px 0 0 0; padding: 2px 6px;
}
.map-canvas .leaflet-control-attribution a { color: var(--bg-teal); }
.map-canvas .leaflet-container a.leaflet-popup-close-button { top: 6px; right: 6px; width: 28px; height: 28px; font-size: 20px; line-height: 28px; }

/* Status bar, top of map */
.map-status {
    position: absolute; top: 12px; left: 12px; right: 12px; z-index: 900;
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: #fff;
    background: var(--bg-dark);
    box-shadow: 0 6px 24px rgba(18,32,30,0.25);
    transition: background 0.3s;
}
.map-status.is-open { background: var(--bg-safe); }
.map-status.is-closing { background: var(--bg-warning); }
.map-status.is-cutoff { background: var(--bg-unsafe); }
.map-status.is-loading, .map-status.is-unknown { background: var(--bg-dark); }
.map-status-dot {
    flex-shrink: 0; width: 12px; height: 12px; border-radius: 50%;
    background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.22);
}
.map-status.is-open .map-status-dot { animation: mapPulse 2s ease-in-out infinite; }
.map-status-text { flex: 1; min-width: 0; }
.map-status-title { font-size: 16px; font-weight: 500; line-height: 1.25; }
.map-status-sub { font-size: 13px; opacity: 0.85; line-height: 1.4; margin-top: 2px; }
.map-status-when {
    flex-shrink: 0; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,0.18);
}
@keyframes mapPulse { 0%,100% { box-shadow: 0 0 0 4px rgba(255,255,255,0.22); } 50% { box-shadow: 0 0 0 9px rgba(255,255,255,0.08); } }

/* Tool buttons, right side */
.map-toolbar {
    position: absolute; top: 72px; right: 12px; z-index: 900;
    display: flex; flex-direction: column; gap: 8px;
}
.map-tool {
    display: flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 0 12px;
    border: none; border-radius: 10px;
    background: rgba(255,255,255,0.96); color: var(--bg-dark);
    font-family: var(--font-body); font-size: 13px; font-weight: 500;
    box-shadow: 0 2px 10px rgba(18,32,30,0.18);
    cursor: pointer; transition: background 0.15s, color 0.15s;
}
.map-tool:hover { background: #fff; color: var(--bg-teal); }
.map-tool:focus-visible { outline: 3px solid var(--text-accent); outline-offset: 2px; }
.map-tool[aria-pressed="true"] { background: var(--bg-teal); color: #fff; }
.map-tool svg { flex-shrink: 0; }
.map-tool.is-busy svg { animation: mapSpin 1.2s linear infinite; }
@keyframes mapSpin { to { transform: rotate(360deg); } }

/* Time bar, bottom of map */
.map-timebar {
    position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 900;
    padding: 12px 16px 10px;
    border-radius: 12px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 6px 24px rgba(18,32,30,0.22);
    backdrop-filter: blur(6px);
}
.timebar-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.timebar-now {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 32px; padding: 0 12px;
    border: 0.5px solid rgba(0,0,0,0.15); border-radius: 999px;
    background: #fff; color: var(--text-muted);
    font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
    cursor: pointer;
}
.timebar-now[aria-pressed="true"] { background: var(--bg-dark); color: var(--text-on-dark); border-color: var(--bg-dark); }
.timebar-now-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.timebar-now[aria-pressed="true"] .timebar-now-dot { background: #6fd39a; animation: mapPulseSmall 1.6s ease-in-out infinite; }
@keyframes mapPulseSmall { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.timebar-when { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.timebar-time { font-family: var(--font-display); font-size: 24px; line-height: 1; color: var(--bg-dark); }
.timebar-day { font-size: 13px; color: var(--text-muted); }
.timebar-height { font-size: 13px; color: var(--bg-teal); font-weight: 500; white-space: nowrap; }
.timebar-height .arrow { font-size: 15px; }

.timebar-track {
    position: relative; height: 18px; border-radius: 5px;
    background: #e8e3da; overflow: hidden;
}
.tb-band { position: absolute; top: 0; bottom: 0; }
.tb-band--night { background: rgba(18,32,30,0.22); }
.tb-band--safe { background: var(--bg-safe); opacity: 0.85; }
.tb-hw { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--bg-unsafe); transform: translateX(-1px); }
.tb-hw::after {
    content: 'HW'; position: absolute; top: 2px; left: 4px;
    font-size: 9px; font-weight: 600; letter-spacing: 0.04em; color: var(--bg-unsafe);
}
.tb-now { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--bg-dark); }

.timebar-range {
    display: block; width: 100%; margin: 6px 0 0; height: 28px;
    -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer;
}
.timebar-range:focus { outline: none; }
.timebar-range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: rgba(0,0,0,0.15); }
.timebar-range::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(0,0,0,0.15); }
.timebar-range::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 26px; height: 26px; margin-top: -11px; border-radius: 50%;
    background: var(--bg-dark); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.timebar-range::-moz-range-thumb {
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--bg-dark); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.timebar-range:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--text-accent); outline-offset: 2px; }
.timebar-range:focus-visible::-moz-range-thumb { outline: 3px solid var(--text-accent); outline-offset: 2px; }
.timebar-scale { position: relative; height: 14px; margin-top: 2px; font-size: 11px; color: var(--text-muted); }
.tb-tick { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.tb-tick::before { content: ''; position: absolute; top: -6px; left: 50%; width: 1px; height: 4px; background: rgba(0,0,0,0.25); }
.tb-tick--first { transform: none; }
.tb-tick--first::before { left: 0; }

/* Markers */
.poi {
    display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    border: 2px solid #fff; color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    background: var(--bg-teal);
}
.poi svg { width: 15px; height: 15px; }
.poi--start { background: var(--bg-safe); }
.poi--waypoint { background: var(--bg-teal); font-weight: 600; font-size: 13px; font-family: var(--font-body); }
.poi--hazard { background: var(--bg-warning); }
.poi--danger { background: var(--bg-unsafe); width: 34px; height: 34px; }
.poi--emergency { background: var(--bg-unsafe); }
.poi--facility { background: #5b6770; }
.poi--sight { background: #2c7a86; }
.leaflet-marker-icon.poi-wrap { background: none; border: none; }
.leaflet-marker-icon.poi-wrap:focus-visible { outline: 3px solid var(--text-accent); outline-offset: 3px; border-radius: 50%; }

.poi-label {
    background: rgba(255,255,255,0.94); color: var(--bg-dark);
    border: none; border-radius: 6px; padding: 3px 8px;
    font-family: var(--font-body); font-size: 12px; font-weight: 500;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.poi-label::before { display: none; }
.map-canvas.hide-labels .poi-label { display: none; }

.user-dot {
    width: 18px; height: 18px; border-radius: 50%;
    background: #2563eb; border: 3px solid #fff;
    box-shadow: 0 0 0 2px rgba(37,99,235,0.35), 0 2px 8px rgba(0,0,0,0.3);
    animation: userPulse 2s ease-in-out infinite;
}
@keyframes userPulse { 0%,100% { box-shadow: 0 0 0 2px rgba(37,99,235,0.35), 0 2px 8px rgba(0,0,0,0.3); } 50% { box-shadow: 0 0 0 8px rgba(37,99,235,0.12), 0 2px 8px rgba(0,0,0,0.3); } }

/* Popups */
.map-canvas .leaflet-popup-content-wrapper {
    border-radius: 12px; padding: 0;
    box-shadow: 0 8px 30px rgba(18,32,30,0.25);
}
.map-canvas .leaflet-popup-content { margin: 0; width: auto !important; min-width: 220px; max-width: 280px; font-family: var(--font-body); }
.map-canvas .leaflet-popup-tip-container { display: none; }
.popup { padding: 14px 16px 14px; }
.popup-kind { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 2px 7px; border-radius: 4px; color: #fff; background: var(--bg-teal); margin-bottom: 8px; }
.popup-kind--start { background: var(--bg-safe); }
.popup-kind--hazard { background: var(--bg-warning); }
.popup-kind--danger, .popup-kind--emergency { background: var(--bg-unsafe); }
.popup-kind--facility { background: #5b6770; }
.popup-kind--sight { background: #2c7a86; }
.popup-title { font-family: var(--font-display); font-size: 18px; line-height: 1.2; color: var(--bg-dark); margin: 0 0 6px; }
.popup-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.popup-text { font-size: 14px; line-height: 1.55; color: #3d3626; margin: 0; }

/* Side panel */
.map-panel {
    display: flex; flex-direction: column;
    background: var(--bg-page);
    border-left: 0.5px solid rgba(0,0,0,0.1);
    max-height: clamp(520px, 74vh, 860px);
}
.panel-tabs {
    display: flex; flex-shrink: 0;
    border-bottom: 0.5px solid rgba(0,0,0,0.1);
    background: #fff;
}
.panel-tab {
    flex: 1; min-height: 48px; padding: 0 8px;
    border: none; border-bottom: 2px solid transparent;
    background: none; color: var(--text-muted);
    font-family: var(--font-body); font-size: 14px; font-weight: 500;
    cursor: pointer;
}
.panel-tab:hover { color: var(--bg-dark); }
.panel-tab[aria-selected="true"] { color: var(--bg-dark); border-bottom-color: var(--bg-teal); }
.panel-tab:focus-visible { outline: 3px solid var(--text-accent); outline-offset: -3px; }
.panel-body { padding: 16px 18px 24px; overflow-y: auto; flex: 1; }
.panel-intro { font-size: 14px; line-height: 1.55; color: var(--text-muted); margin-bottom: 14px; }
.panel-heading { font-family: var(--font-display); font-size: 16px; font-weight: 400; color: var(--bg-dark); margin: 20px 0 8px; }

.stop-list { list-style: none; padding: 0; margin: 0; position: relative; }
.stop-list::before {
    content: ''; position: absolute; left: 14px; top: 20px; bottom: 20px;
    width: 2px; background: rgba(26,79,90,0.2);
}
.stop { position: relative; margin-bottom: 4px; }
.stop-btn {
    display: flex; align-items: center; gap: 12px; width: 100%;
    min-height: 48px; padding: 6px 8px 6px 0;
    border: none; background: none; text-align: left;
    font-family: var(--font-body); color: var(--bg-dark);
    cursor: pointer; border-radius: 8px;
}
.stop-btn:hover .stop-name { color: var(--bg-teal); }
.stop-btn:focus-visible { outline: 3px solid var(--text-accent); outline-offset: 2px; }
.stop-btn.is-active .stop-marker { box-shadow: 0 0 0 4px rgba(106,184,196,0.45); }
.stop-marker {
    flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-teal); color: #fff; border: 2px solid var(--bg-page);
    font-size: 13px; font-weight: 600; position: relative; z-index: 1;
}
.stop--start .stop-marker { background: var(--bg-safe); }
.stop-text { flex: 1; min-width: 0; }
.stop-name { display: block; font-size: 15px; font-weight: 500; }
.stop-meta { display: block; font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.stop-arrow { color: var(--text-muted); opacity: 0.6; }
.stop-desc { font-size: 13px; line-height: 1.55; color: var(--text-muted); margin: 0 0 10px 42px; }

.poi-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.poi-btn {
    display: flex; align-items: center; gap: 10px; width: 100%;
    min-height: 40px; padding: 4px 6px;
    border: none; background: none; text-align: left;
    font-family: var(--font-body); font-size: 14px; color: var(--bg-dark);
    cursor: pointer; border-radius: 8px;
}
.poi-btn:hover { background: rgba(0,0,0,0.04); }
.poi-btn:focus-visible { outline: 3px solid var(--text-accent); outline-offset: 0; }
.poi-swatch { flex-shrink: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--bg-teal); border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.25); }
.poi-btn--hazard .poi-swatch { background: var(--bg-warning); }
.poi-btn--danger .poi-swatch, .poi-btn--emergency .poi-swatch { background: var(--bg-unsafe); }
.poi-btn--facility .poi-swatch { background: #5b6770; }
.poi-btn--sight .poi-swatch { background: #2c7a86; }

/* Where am I panel */
.locate-cta { width: 100%; }
.locate-note { font-size: 12px; color: var(--text-muted); margin: 8px 0 0; text-align: center; }
.locate-result { margin-top: 16px; }
.locate-advice {
    padding: 14px 16px; border-radius: 10px;
    background: var(--bg-dark); color: #fff;
    font-size: 15px; line-height: 1.5;
}
.locate-advice.is-open { background: var(--bg-safe); }
.locate-advice.is-closing { background: var(--bg-warning); }
.locate-advice.is-cutoff { background: var(--bg-unsafe); }
.locate-advice.is-neutral { background: var(--bg-teal); }
.locate-advice strong { font-weight: 500; }
.locate-advice .advice-title { display: block; font-family: var(--font-display); font-size: 20px; line-height: 1.2; margin-bottom: 6px; }
.locate-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 0; }
.locate-stats > div { background: #fff; border: 0.5px solid rgba(0,0,0,0.1); border-radius: 8px; padding: 10px 12px; }
.locate-stats dt { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.locate-stats dd { margin: 2px 0 0; font-family: var(--font-display); font-size: 20px; color: var(--bg-dark); line-height: 1.1; }
.locate-stats dd small { font-family: var(--font-body); font-size: 12px; color: var(--text-muted); }
.locate-small { font-size: 12px; color: var(--text-muted); margin: 10px 0 0; line-height: 1.5; }

.coastguard-card {
    margin-top: 20px; padding: 14px 16px;
    border-radius: 10px; background: #fff8f0; border: 0.5px solid #e8d5b0; border-left: 3px solid var(--bg-unsafe);
}
.coastguard-head { display: flex; gap: 12px; align-items: flex-start; color: var(--bg-unsafe); }
.coastguard-head svg { flex-shrink: 0; margin-top: 2px; }
.coastguard-title { font-size: 15px; color: var(--bg-dark); line-height: 1.4; }
.coastguard-title a { color: var(--bg-unsafe); font-weight: 600; font-size: 18px; text-decoration: none; }
.coastguard-sub { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.coastguard-pos {
    margin-top: 10px; padding: 10px 12px; border-radius: 8px;
    background: #fff; border: 0.5px solid rgba(0,0,0,0.1);
    font-size: 14px; line-height: 1.6; color: var(--bg-dark);
}
.coastguard-pos-empty { color: var(--text-muted); font-size: 13px; }
.coastguard-pos .pos-line { display: block; font-variant-numeric: tabular-nums; }
.coastguard-pos .pos-line strong { font-weight: 600; font-size: 17px; letter-spacing: 0.01em; }
.coastguard-pos .pos-w3w { margin-top: 4px; padding-top: 4px; border-top: 0.5px dashed rgba(0,0,0,0.15); }
.coastguard-pos .pos-w3w-label { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-right: 4px; }
.coastguard-pos .pos-w3w strong { color: #e11f26; }
.coastguard-pos .pos-acc { display: block; font-size: 12px; color: var(--text-muted); }
.coastguard-copy {
    margin-top: 8px; min-height: 40px; padding: 0 14px; width: 100%;
    border: 0.5px solid rgba(0,0,0,0.2); border-radius: 8px; background: #fff;
    font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--bg-dark); cursor: pointer;
}
.coastguard-copy:hover { border-color: var(--bg-dark); }

/* Layers panel */
.layer-group { border: none; padding: 0; margin: 0 0 18px; }
.layer-group legend { font-family: var(--font-display); font-size: 16px; color: var(--bg-dark); margin-bottom: 6px; }
.layer-opt { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 14px; color: var(--bg-dark); cursor: pointer; }
.layer-opt input { width: 18px; height: 18px; accent-color: var(--bg-teal); flex-shrink: 0; }
.layer-hint { font-size: 12px; color: var(--text-muted); }
.legend-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--bg-dark); }
.legend-list li { display: flex; align-items: center; gap: 10px; }
.legend-line { flex-shrink: 0; width: 28px; height: 4px; border-radius: 2px; }
.legend-line--open { background: var(--bg-safe); }
.legend-line--closing { background: var(--bg-warning); }
.legend-line--cutoff { background: var(--bg-unsafe); }
.legend-fill { flex-shrink: 0; width: 28px; height: 16px; border-radius: 3px; }
.legend-fill--water { background: rgba(31,95,111,0.45); }
.legend-fill--danger { background: rgba(184,50,36,0.28); border: 1.5px dashed var(--bg-unsafe); }
.legend-dot { flex-shrink: 0; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.3); background: var(--bg-teal); }
.legend-dot--start { background: var(--bg-safe); }
.legend-dot--hazard { background: var(--bg-warning); }
.legend-dot--danger, .legend-dot--emergency { background: var(--bg-unsafe); }
.legend-dot--facility { background: #5b6770; }
.legend-dot--sight { background: #2c7a86; }

/* The floating coffee button would sit on top of the map controls here;
   the inline support block further down the page stays. */
.bmc-float { display: none !important; }

/* Content below */
.map-content { max-width: 48rem; margin: 0 auto; padding: 8px 24px 40px; }
.map-section { padding: 24px 0; border-bottom: 0.5px solid rgba(0,0,0,0.08); }
.map-section p { font-size: 16px; line-height: 1.7; color: var(--bg-dark); margin-bottom: 14px; }
.map-section p:last-child { margin-bottom: 0; }
.legs-table-wrap { overflow-x: auto; }
.legs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legs-table th, .legs-table td { text-align: left; padding: 10px 12px; border-bottom: 0.5px solid rgba(0,0,0,0.1); vertical-align: top; }
.legs-table thead th { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); font-weight: 500; }
.legs-table tbody th { font-weight: 500; color: var(--bg-dark); }
.legs-table td { color: #3d3626; }
.legs-note { font-size: 13px !important; color: var(--text-muted) !important; margin-top: 10px !important; }
.stops-prose, .hazards-prose { padding-left: 22px; margin: 0; }
.stops-prose li, .hazards-prose li { font-size: 15px; line-height: 1.65; color: #3d3626; margin-bottom: 12px; }
.stops-prose strong, .hazards-prose strong { color: var(--bg-dark); font-weight: 500; }
.stops-prose-meta { color: var(--text-muted); font-size: 13px; }
.map-section--links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-bottom: none; }
.map-attribution { font-size: 12px; color: var(--text-muted); line-height: 1.6; margin-top: 8px; }
.map-attribution a { color: var(--bg-teal); }

/* Responsive */
@media (max-width: 960px) {
    .map-shell { grid-template-columns: 1fr; }
    .map-panel { max-height: none; border-left: none; border-top: 0.5px solid rgba(0,0,0,0.1); }
    .panel-body { overflow: visible; }
    .map-section--links { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .map-stage { height: clamp(460px, 78vh, 720px); }
    .map-tool-label { display: none; }
    .map-tool { width: 44px; padding: 0; justify-content: center; }
    .map-status { padding: 10px 12px; gap: 10px; }
    .map-status-title { font-size: 15px; }
    .map-status-sub { font-size: 12px; }
    .map-status-when { display: none; }
    .map-timebar { padding: 10px 12px 8px; }
    .timebar-time { font-size: 20px; }
    .timebar-height { font-size: 12px; }
    .map-canvas .leaflet-bottom.leaflet-right { bottom: 118px; }
    .locate-stats { grid-template-columns: 1fr 1fr; }
    .map-content { padding: 8px 16px 32px; }
}

@media (prefers-reduced-motion: reduce) {
    .map-status-dot, .timebar-now-dot, .user-dot, .map-tool.is-busy svg { animation: none !important; }
    .map-status { transition: none; }
}

.sr-only-inline { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
