:root {
  --ink: #172033;
  --muted: #667085;
  --paper: #f6f8fb;
  --panel: #ffffff;
  --line: #e4e7ec;
  --red: #c4473a;
  --red-dark: #9f352b;
  --blue: #347b99;
  --gold: #b8842d;
  --green: #4f7d65;
  --shadow: 0 14px 40px rgba(23, 32, 51, .08);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

button, input { font: inherit; }
button { color: inherit; }

.site-header {
  min-height: 126px;
  padding: 24px clamp(20px, 4vw, 64px) 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.brand-block h1 {
  margin: 4px 0 6px;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.05;
}

.eyebrow, .section-kicker {
  margin: 0;
  font-size: .72rem;
  letter-spacing: .2em;
  font-weight: 700;
}

.eyebrow { color: var(--red); }
.section-kicker { color: var(--red); }
.subtitle { margin: 0; color: var(--muted); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.trip-date { text-align: right; }
.trip-date span { display: block; font-size: .72rem; letter-spacing: .18em; opacity: .72; }
.trip-date strong { font-family: ui-monospace, "SFMono-Regular", monospace; font-size: 1.2rem; }

.ghost-button, .map-button {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 9px 14px;
  background: transparent;
  cursor: pointer;
}
.ghost-button { color: #475467; border-color: #d0d5dd; background: #fff; }
.ghost-button:hover, .ghost-button:focus-visible { background: #f8fafc; }

.app-shell {
  width: min(1480px, calc(100% - 32px));
  min-height: 720px;
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: minmax(340px, 440px) minmax(0, 1fr);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.route-panel {
  min-height: 720px;
  max-height: calc(100vh - 166px);
  padding: 24px;
  overflow-y: auto;
  border-right: 1px solid var(--line);
}

.panel-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.panel-heading h2 { margin: 3px 0 0; font-family: "Songti SC", serif; font-size: 1.75rem; }

.progress-ring {
  width: 72px;
  height: 72px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 6px solid #edf0f3;
  border-top-color: var(--red);
  border-radius: 50%;
}
.progress-ring span { font-weight: 800; font-size: .9rem; }
.progress-ring small { color: var(--muted); font-size: .62rem; }

.day-tabs {
  margin: 22px 0 16px;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: #f2f4f7;
  border-radius: 12px;
}

.day-tab {
  min-height: 42px;
  padding: 7px 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: .83rem;
}
.day-tab.active { color: var(--red-dark); background: #fff; box-shadow: 0 2px 10px rgba(16,24,40,.08); font-weight: 700; }

.day-summary {
  padding: 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 10px;
}
.summary-title { margin: 0 0 8px; font-size: 1rem; }
.summary-stats { display: flex; flex-wrap: wrap; gap: 6px 12px; color: var(--muted); font-size: .82rem; }
.summary-tip { margin: 10px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.flag-alert {
  margin: -4px 0 14px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7a271a;
  background: #fff1ee;
  border: 1px solid #ffd5ce;
  border-radius: 10px;
  box-shadow: none;
}
.flag-alert > span { padding: 4px 7px; color: #fff; background: var(--red); border-radius: 999px; font-size: .65rem; font-weight: 900; letter-spacing: .08em; }
.flag-alert div { display: grid; gap: 2px; }
.flag-alert strong { font-family: "Songti SC", serif; font-size: .96rem; }
.flag-alert small { color: #9f4b40; font-size: .7rem; line-height: 1.45; }
.flag-alert a { color: var(--red-dark); }

.timeline { margin-top: 18px; }
.timeline-day { margin: 24px 0 10px; display: flex; align-items: baseline; justify-content: space-between; }
.timeline-day h3 { margin: 0; font-family: "Songti SC", serif; font-size: 1.25rem; }
.timeline-day span { color: var(--muted); font-size: .78rem; }

.timeline-item {
  position: relative;
  width: 100%;
  padding: 11px 10px 12px 46px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 4px 8px;
  text-align: left;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.timeline-item::after {
  content: attr(data-number);
  position: absolute;
  left: 10px;
  top: 14px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border: 3px solid var(--panel);
  border-radius: 50%;
  font-size: .65rem;
  font-weight: 800;
  box-shadow: 0 0 0 1px var(--blue);
}
.timeline-item[data-day="sun"]::after { background: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.timeline-item.is-must { background: #fff6f4; box-shadow: inset 3px 0 0 var(--red); }
.timeline-item.is-must::after { background: var(--red); box-shadow: 0 0 0 5px rgba(166,61,47,.14); }
.timeline-item.is-checked::after { content: "✓"; background: var(--green); box-shadow: 0 0 0 1px var(--green); }
.timeline-item:hover, .timeline-item:focus-visible, .timeline-item.active { background: #f4f7fa; outline: none; }
.timeline-time { color: var(--muted); font-family: ui-monospace, "SFMono-Regular", monospace; font-size: .78rem; }
.timeline-name { font-weight: 700; }
.timeline-note { grid-column: 2; color: var(--muted); font-size: .78rem; line-height: 1.5; }

.map-panel { position: relative; min-width: 0; min-height: 720px; background: #edf1f4; }
#map { position: absolute; inset: 0; z-index: 1; overflow: hidden; touch-action: none; cursor: grab; }
#map.is-dragging { cursor: grabbing; }
.map-svg { display: block; width: 100%; height: 100%; transform-origin: 0 0; will-change: transform; }
.osm-tile { image-rendering: auto; }
.context-road, .context-water, .route-vector { fill: none; vector-effect: non-scaling-stroke; }
.context-road { stroke: #d0c5b7; stroke-width: 1.4; }
.context-water { stroke: #87b8c3; stroke-width: 6; stroke-linecap: round; opacity: .65; }
.landmark-area { fill: rgba(174, 83, 62, .08); stroke: rgba(142, 58, 43, .28); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.landmark-area.park { fill: rgba(79,124,100,.09); stroke: rgba(79,124,100,.32); }
.context-label { fill: #95867b; font-family: "Songti SC", serif; font-size: 13px; letter-spacing: .08em; pointer-events: none; }
.route-vector { stroke: var(--blue); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 1px rgba(32,26,24,.14)); }
.route-vector.sun { stroke: var(--gold); }
.route-vector.taxi { stroke: var(--red); stroke-width: 4; stroke-dasharray: 10 8; }
.route-vector.optional { stroke: #785493; stroke-width: 4; stroke-dasharray: 3 7; }
.svg-spot { cursor: pointer; outline: none; }
.spot-halo { fill: transparent; stroke: transparent; stroke-width: 4; }
.spot-circle { fill: var(--blue); stroke: #fff; stroke-width: 3; filter: url(#markerShadow); }
.spot-circle.sun { fill: var(--gold); }
.svg-spot.checked .spot-circle { fill: var(--green); }
.svg-spot.selected .spot-halo, .svg-spot:focus .spot-halo { fill: rgba(166,61,47,.12); stroke: var(--red); }
.spot-number { fill: #fff; font-size: 10px; font-weight: 800; text-anchor: middle; pointer-events: none; }
.spot-map-label { fill: var(--ink); font-size: 12px; font-weight: 700; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.svg-html-spot {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 3px 8px rgba(39,26,18,.28);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.svg-html-spot.sun { background: var(--gold); }
.svg-html-spot.must { background: var(--red); box-shadow: 0 0 0 6px rgba(166,61,47,.18), 0 3px 8px rgba(39,26,18,.28); }
.svg-html-spot.checked { background: var(--green); }
.svg-html-spot.selected, .svg-html-spot:focus-visible { outline: 4px solid rgba(166,61,47,.28); outline-offset: 2px; }
.marker-leader {
  fill: none;
  stroke: #667085;
  stroke-width: 1.5;
  stroke-dasharray: 3 3;
  stroke-linecap: round;
  opacity: .72;
  pointer-events: none;
  vector-effect: non-scaling-stroke;
}
.svg-html-cluster {
  width: 50px;
  height: 50px;
  padding: 0;
  border: 4px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 0 0 7px rgba(28,109,140,.14), 0 5px 14px rgba(16,24,40,.28);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease;
}
.svg-html-cluster.sun {
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(197,138,34,.15), 0 5px 14px rgba(16,24,40,.28);
}
.svg-html-cluster:hover,
.svg-html-cluster:focus-visible {
  z-index: 2;
  outline: 3px solid rgba(166,61,47,.28);
  outline-offset: 3px;
  transform: scale(1.08);
}
.cluster-map-label {
  fill: var(--ink);
  font-size: 12px;
  font-weight: 800;
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 5px;
  stroke-linejoin: round;
  pointer-events: none;
}
.svg-facility circle { fill: var(--green); stroke: #fff; stroke-width: 2; filter: url(#markerShadow); }
.svg-facility.wc circle { fill: #657a8a; }
.svg-facility text { fill: #fff; font-size: 8px; font-weight: 800; text-anchor: middle; pointer-events: none; }
.north-mark text, .north-mark path, .scale-note { fill: #75675e; stroke: #75675e; font-size: 11px; }
.north-mark path { fill: none; stroke-width: 1.5; }
.scale-note { stroke: none; font-size: 10px; letter-spacing: .03em; }

.map-toolbar {
  position: absolute;
  z-index: 700;
  left: 18px;
  right: 18px;
  top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}
.map-title, .map-button, .map-legend, .spot-card {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(16, 24, 40, .12);
}
.map-title { padding: 10px 14px; display: flex; gap: 8px; align-items: center; border-radius: 999px; font-size: .83rem; }
.map-title span:last-child { color: var(--muted); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(166,61,47,.12); }
.map-actions { display: flex; align-items: center; gap: 6px; pointer-events: auto; }
.map-button { pointer-events: auto; border-color: var(--line); color: var(--red-dark); }
.map-button:hover, .map-button:focus-visible { background: #f5f7fa; }
.zoom-button { width: 38px; height: 38px; padding: 0; display: grid; place-items: center; border-radius: 50%; font-size: 1.15rem; font-weight: 800; }
.zoom-level { min-width: 52px; padding: 8px 6px; color: var(--muted); background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 8px 24px rgba(16,24,40,.08); text-align: center; font-size: .72rem; font-variant-numeric: tabular-nums; }
.map-day-tabs { display: none; }
.mobile-label { display: none; }

.map-legend {
  position: absolute;
  z-index: 700;
  left: 18px;
  bottom: 20px;
  max-width: calc(100% - 36px);
  padding: 10px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-size: .72rem;
}
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-line { width: 24px; border-top: 3px solid var(--blue); }
.legend-line.sunday { border-color: var(--gold); }
.legend-line.taxi { border-color: var(--red); border-top-style: dashed; }
.legend-line.optional { border-color: #785493; border-top-style: dotted; }
.legend-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--green); }
.legend-dot.wc { background: #657a8a; }

.spot-card {
  position: absolute;
  z-index: 800;
  top: 76px;
  right: 18px;
  width: min(430px, calc(100% - 36px));
  max-height: calc(100% - 170px);
  padding: 0 22px 22px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  transition: opacity .2s ease, transform .2s ease;
}
.spot-card.is-hidden { opacity: 0; transform: translateX(24px); pointer-events: none; }
.spot-close { position: absolute; z-index: 2; top: 9px; right: 10px; width: 32px; height: 32px; border: 0; border-radius: 50%; color: #fff; background: rgba(32,26,24,.68); cursor: pointer; font-size: 1.4rem; }
.spot-close:hover { background: rgba(32,26,24,.9); }
.spot-hero { margin: 0 -22px 18px; background: #d9d0c4; }
.spot-gallery-stage { position: relative; overflow: hidden; background: #2d2825; }
.spot-gallery-stage > img { display: block; width: 100%; height: 236px; object-fit: cover; }
.gallery-arrow { position: absolute; top: 50%; width: 34px; height: 44px; margin-top: -22px; border: 0; color: #fff; background: rgba(32,26,24,.58); cursor: pointer; font-size: 1.65rem; line-height: 1; }
.gallery-arrow:hover, .gallery-arrow:focus-visible { background: rgba(32,26,24,.88); }
.gallery-arrow.previous { left: 0; border-radius: 0 8px 8px 0; }
.gallery-arrow.next { right: 0; border-radius: 8px 0 0 8px; }
.gallery-counter { position: absolute; right: 10px; bottom: 9px; padding: 4px 8px; color: #fff; background: rgba(32,26,24,.7); border-radius: 999px; font-size: .68rem; font-variant-numeric: tabular-nums; }
.spot-thumbnails { padding: 8px 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; background: #f2f4f7; }
.gallery-thumbnail { height: 52px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 5px; background: #e4e7ec; cursor: pointer; opacity: .72; }
.gallery-thumbnail.active { border-color: var(--red); opacity: 1; box-shadow: 0 0 0 1px #fff; }
.gallery-thumbnail img { width: 100%; height: 100%; display: block; object-fit: cover; }
.spot-hero figcaption { padding: 7px 12px; display: flex; justify-content: space-between; gap: 12px; color: var(--muted); background: #f8fafc; font-size: .64rem; line-height: 1.4; }
.spot-hero figcaption span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spot-hero figcaption a { flex: 0 0 auto; color: var(--red-dark); }
.spot-meta { display: flex; gap: 8px; color: var(--red); font-size: .72rem; font-weight: 700; letter-spacing: .06em; }
.spot-card h2 { margin: 8px 34px 8px 0; font-family: "Songti SC", serif; font-size: 1.65rem; }
.spot-description { margin: 0; color: #4d433f; line-height: 1.75; }
.spot-facts { margin: 16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fact { padding: 10px; background: #f6f8fa; border: 1px solid #edf0f3; border-radius: 6px; }
.fact small { display: block; color: var(--muted); font-size: .68rem; }
.fact strong { display: block; margin-top: 3px; font-size: .86rem; }
.elder-note { padding: 12px; background: #edf3ed; border-left: 3px solid var(--green); }
.elder-note strong { color: #2f6149; font-size: .8rem; }
.elder-note p { margin: 5px 0 0; color: #496457; font-size: .82rem; line-height: 1.6; }
.guide-tabs { margin: 4px 0 12px; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.guide-tab { padding: 9px 4px; border: 0; border-bottom: 2px solid transparent; color: var(--muted); background: transparent; cursor: pointer; font-size: .78rem; }
.guide-tab.active { color: var(--red-dark); border-bottom-color: var(--red); font-weight: 700; }
.spot-editorial { min-height: 108px; margin-bottom: 14px; color: #4d433f; font-size: .85rem; line-height: 1.75; }
.spot-editorial p { margin: 0; }
.spot-editorial .editorial-history { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.spot-editorial ul { margin: 0; padding-left: 1.2em; }
.spot-editorial li + li { margin-top: 6px; }
.editorial-lead { margin-bottom: 7px !important; color: var(--red-dark); font-family: "Songti SC", serif; font-size: 1rem; font-weight: 700; }
.tip-grid { display: grid; gap: 8px; }
.tip-block { padding: 10px 11px; border-left: 3px solid var(--blue); background: #f5f9fb; }
.tip-block.crowd { border-left-color: var(--gold); background: #fbf8f1; }
.tip-block.action { border-left-color: var(--green); background: #f3f8f5; }
.tip-block strong { color: var(--ink); font-size: .78rem; }
.tip-block p { margin-top: 4px; font-size: .82rem; line-height: 1.65; }
.tip-sources { margin-top: 10px; padding-top: 9px; display: grid; gap: 5px; border-top: 1px dashed var(--line); }
.tip-sources > strong { color: var(--muted); font-size: .72rem; }
.tip-sources a { color: var(--red-dark); text-decoration: none; font-size: .75rem; }
.tip-sources a:hover { text-decoration: underline; }
.tip-sources a span { margin-right: 5px; padding: 2px 5px; color: #fff; background: var(--red); border-radius: 3px; font-size: .6rem; }
.tip-disclaimer { margin-top: 10px !important; color: var(--muted); font-size: .68rem; line-height: 1.55 !important; }
.reference-link { display: inline-block; margin-top: 12px; color: var(--red-dark); font-size: .75rem; text-decoration: none; }
.reference-link:hover { text-decoration: underline; }
.checkin-button { width: 100%; margin-top: 14px; padding: 11px 14px; border: 0; border-radius: 8px; color: #fff; background: var(--red); font-weight: 700; cursor: pointer; }
.checkin-button:hover, .checkin-button:focus-visible { background: var(--red-dark); }
.checkin-button.checked { background: var(--green); }

.leaflet-control-zoom { border: 0 !important; box-shadow: 0 8px 24px rgba(65,45,31,.18) !important; }
.leaflet-control-zoom a { color: var(--red-dark) !important; }
.leaflet-control-attribution { font-size: 9px; }
.route-marker { background: transparent; border: 0; }
.route-pin {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 8px;
  color: #fff;
  background: var(--blue);
  transform: rotate(-45deg);
  box-shadow: 0 4px 12px rgba(39, 26, 18, .32);
}
.route-pin span { transform: rotate(45deg); font-size: .72rem; font-weight: 800; }
.route-pin.sun { background: var(--gold); }
.route-pin.checked { background: var(--green); }
.facility-marker { border: 2px solid #fff; border-radius: 50%; color: #fff; background: var(--green); box-shadow: 0 3px 9px rgba(39,26,18,.28); text-align: center; line-height: 22px; font-size: 9px; font-weight: 800; }
.facility-marker.wc { background: #657a8a; }
.leaflet-tooltip.route-tooltip { padding: 5px 8px; border: 0; color: var(--ink); background: rgba(255,253,248,.95); box-shadow: 0 4px 12px rgba(39,26,18,.14); font-size: .75rem; }
.leaflet-tooltip.route-tooltip::before { display: none; }

.site-footer {
  width: min(1480px, calc(100% - 32px));
  margin: 14px auto 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: .75rem;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--red-dark); }

@media (max-width: 920px) {
  .app-shell { display: flex; flex-direction: column; }
  .map-panel { order: -1; height: 68svh; min-height: 620px; border-bottom: 1px solid var(--line); }
  .route-panel { min-height: auto; max-height: none; border-right: 0; }
  .site-header { align-items: flex-start; }
  .trip-date { display: none; }
  .map-day-tabs {
    position: absolute;
    z-index: 710;
    left: 18px;
    top: 68px;
    width: min(390px, calc(100% - 36px));
    padding: 4px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    background: rgba(255,255,255,.96);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(16,24,40,.12);
    backdrop-filter: blur(12px);
  }
  .map-day-tabs .day-tab { min-height: 38px; }
}

@media (max-width: 600px) {
  .site-header {
    min-height: auto;
    padding: 17px 16px 15px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
  }
  .brand-block h1 { margin-top: 3px; font-size: 1.82rem; letter-spacing: .03em; }
  .eyebrow { font-size: .62rem; letter-spacing: .13em; }
  .subtitle { font-size: .78rem; }
  .header-actions { padding-top: 20px; }
  .ghost-button { display: none; }
  .trip-date { display: block; padding: 6px 9px; color: var(--muted); background: #f6f8fa; border: 1px solid var(--line); border-radius: 8px; }
  .trip-date span { display: none; }
  .trip-date strong { font-size: .76rem; }
  .app-shell { width: 100%; margin-top: 0; border: 0; border-radius: 0; box-shadow: none; }
  .route-panel { padding: 22px 16px 28px; }
  .panel-heading h2 { font-size: 1.5rem; }
  .progress-ring { width: 62px; height: 62px; border-width: 5px; }
  .day-tabs { margin: 18px 0 14px; grid-template-columns: repeat(3, 1fr); }
  .day-tab { min-height: 40px; padding: 6px 4px; font-size: .76rem; }
  .day-summary { padding: 13px; }
  .summary-stats { gap: 5px 9px; }
  .timeline-item { padding-left: 42px; grid-template-columns: 54px minmax(0, 1fr); }
  .timeline-item::before { left: 18px; }
  .timeline-item::after { left: 8px; }
  .map-panel { height: 76svh; min-height: 560px; }
  .map-toolbar { left: 10px; right: 10px; top: 10px; }
  .map-title { padding: 9px 11px; }
  .map-title strong { font-size: .78rem; }
  .map-title span:last-child { display: none; }
  .map-actions { gap: 4px; }
  .map-button { padding: 8px 9px; font-size: .74rem; }
  .zoom-button { width: 36px; height: 36px; padding: 0; }
  .zoom-level { display: none; }
  .desktop-label { display: none; }
  .mobile-label { display: inline; }
  .map-day-tabs { left: 10px; right: 10px; top: 58px; width: auto; }
  .map-legend {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
  }
  .map-legend::-webkit-scrollbar { display: none; }
  .spot-card {
    top: auto;
    right: 0;
    left: 0;
    bottom: 0;
    width: auto;
    max-height: 78%;
    padding: 0 16px 22px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -12px 36px rgba(16,24,40,.18);
  }
  .spot-card.is-hidden { transform: translateY(28px); }
  .spot-hero { margin: 0 -16px 16px; border-radius: 20px 20px 0 0; overflow: hidden; }
  .spot-gallery-stage > img { height: 210px; }
  .spot-card h2 { font-size: 1.48rem; }
  .spot-description { font-size: .9rem; line-height: 1.65; }
  .spot-facts { margin: 14px 0; gap: 6px; }
  .guide-tab { padding: 10px 2px; font-size: .74rem; }
  .spot-editorial { font-size: .83rem; }
  .site-footer { width: calc(100% - 28px); flex-direction: column; }
}

@media print {
  body { background: #fff; }
  .site-header { min-height: 0; color: #000; background: #fff; border-bottom: 2px solid #000; }
  .subtitle, .eyebrow { color: #444; }
  .ghost-button, .map-toolbar, .map-legend, .spot-card { display: none !important; }
  .app-shell { width: 100%; margin: 0; display: block; box-shadow: none; border: 0; }
  .route-panel { max-height: none; border: 0; overflow: visible; }
  .map-panel { min-height: 520px; page-break-before: always; }
  .day-tabs { display: none; }
}
