/* 旅行足迹：浅色地图册，地图与影像各有清晰的阅读层次。 */
.footprints-page .couple-intro {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 50px;
  align-items: end;
  padding: 52px 0 40px;
}

.footprints-page .couple-intro h1 {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.5;
  letter-spacing: 0;
}

.footprints-page .couple-lead {
  font-size: 13px;
  line-height: 2.2;
  margin-top: 20px;
}

.footprint-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dfe3d6;
}

.footprint-stats > div {
  padding: 0 0 15px;
}

.footprint-stats strong {
  display: block;
  color: #526d59;
  font: 36px/1.4 Georgia, serif;
  font-variant-numeric: tabular-nums;
}

.footprint-stats span {
  font: 11px/2 "Microsoft YaHei", sans-serif;
  color: #7e8878;
}

.footprints-page .couple-toolbar {
  border-block: 1px solid #e2e4d9;
  padding-block: 17px;
  margin: 0 0 27px;
}

.footprints-page .couple-filter {
  border: 0;
  font: 12px/1.8 "Microsoft YaHei", sans-serif;
  border-radius: 4px;
}

.footprints-page .couple-filter span {
  margin-left: 7px;
  opacity: .7;
}

.footprints-page .couple-search {
  border-radius: 4px;
  font: 12px/1.8 "Microsoft YaHei", sans-serif;
  background: #fffdf9;
}

.footprints-page .map-layout {
  grid-template-columns: minmax(0, 1.95fr) minmax(285px, .95fr);
  gap: 28px;
}

.footprints-page .map-card {
  position: relative;
  border: 1px solid #dbe2d3;
  background: #f4f6ef;
  border-radius: 8px;
  box-shadow: 0 12px 36px #43553a08;
}

.footprints-page .map-card-head {
  padding: 19px 23px;
  border-color: #dfe4d7;
  background: #fcfbf6;
}

.footprints-page .map-card-head h2 {
  font-size: 18px;
}

.map-subtitle {
  color: #8a9282;
  font: 9px/1.8 Arial, "Microsoft YaHei", sans-serif;
  margin-top: 5px;
  letter-spacing: 1px;
}

.footprints-page .map-controls {
  gap: 4px;
  align-items: center;
}

.footprints-page .map-controls button {
  border: 1px solid #dfe4d7;
  background: #fffdf8;
  border-radius: 4px;
  color: #526d59;
  min-height: 34px;
  min-width: 34px;
  font: 14px/1 Arial, "Microsoft YaHei", sans-serif;
}

.footprints-page .map-controls button:last-child {
  font-size: 11px;
  padding-inline: 10px;
}

.footprints-page .map-controls button:disabled {
  opacity: .3;
  cursor: default;
}

.map-surface {
  position: relative;
}

.footprints-page .footprint-map {
  background: #eff4ef;
  aspect-ratio: 900 / 600;
  max-height: none;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}

.footprints-page .footprint-map.is-dragging {
  cursor: grabbing;
}

.footprints-page .land-path {
  fill: #edf0e5;
  stroke: #ced6c6;
  stroke-width: .8;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
}

.province-path {
  stroke: #a6b49b;
  stroke-width: .9;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
}

.province-path:hover {
  fill: #cfdcc6;
}

.maritime-boundary {
  fill: none;
  stroke: #a6b49b;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.province-label {
  font-family: "Microsoft YaHei", sans-serif;
  fill: #6c7d62;
  stroke: #f2f3e9;
  stroke-linejoin: round;
  paint-order: stroke;
  pointer-events: none;
}

.province-label-line {
  stroke: #a6b49b;
  stroke-width: .7;
  pointer-events: none;
}

.atlas-inset {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 76px;
  border: 1px solid #c7d0bc;
  background: #f9faf0e8;
  border-radius: 3px;
  overflow: hidden;
  pointer-events: none;
}

.atlas-inset svg { width: 100%; display: block; }
.atlas-inset span { display: block; text-align: center; color: #7c8972; font: 9px/2 "Microsoft YaHei", sans-serif; }
.inset-land { fill: #dce5d1; stroke: #a6b49b; stroke-width: .55; vector-effect: non-scaling-stroke; }
.inset-boundary { fill: none; stroke: #98a68d; stroke-width: .7; vector-effect: non-scaling-stroke; }
.map-attribution { font: 9px/1.8 "Microsoft YaHei", sans-serif; color: #8c9583; margin-top: 4px; }
.map-attribution a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.footprints-page .map-grid {
  stroke: #c1cdbe;
  stroke-width: .55;
  stroke-dasharray: 2 7;
  opacity: .55;
  vector-effect: non-scaling-stroke;
}

.atlas-compass {
  position: absolute;
  top: 22px;
  right: 23px;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #798975;
  pointer-events: none;
}

.atlas-compass span {
  font: 10px/1 Arial, sans-serif;
  letter-spacing: 2px;
}

.atlas-compass svg {
  width: 25px;
  height: 36px;
}

.atlas-scale {
  position: absolute;
  left: 23px;
  bottom: 17px;
  color: #798575;
  font: 10px/1.8 Arial, sans-serif;
  pointer-events: none;
}

.atlas-scale::before {
  content: "ZOOM";
  display: block;
  letter-spacing: 1.4px;
  font-size: 8px;
  margin-bottom: 2px;
}

.footprints-page .map-pin {
  cursor: pointer;
}

.footprints-page .pin-halo {
  fill: #fcfbf5;
  stroke: #cbd4c2;
  stroke-width: 1;
  opacity: .98;
}

.footprints-page .pin-dot {
  fill: #a87681;
  stroke: #fcfbf5;
  stroke-width: 1;
}

.footprints-page .map-pin.guide .pin-dot {
  fill: #a5b39a;
}

.footprints-page .map-pin.planned .pin-dot {
  fill: #fcfbf5;
  stroke: #637e68;
  stroke-width: 1.5;
  stroke-dasharray: 2 2;
}

.pin-aura {
  fill: #b2808c24;
  stroke: #b2808c55;
  stroke-width: 1;
}

.pin-label-line {
  stroke: #9aa88f;
  stroke-width: 1;
  opacity: .75;
}

.pin-label-paper {
  fill: #fffdf5ed;
  stroke: #ccd7c3;
  stroke-width: .8;
}

.footprints-page .pin-label {
  fill: #4c6452;
  font-family: "Microsoft YaHei", sans-serif;
  stroke: none;
  pointer-events: none;
}

.footprints-page .is-selected .pin-label-paper {
  fill: #a87681;
  stroke: #a87681;
}

.footprints-page .is-selected .pin-label {
  fill: #fffdf7;
}

.footprints-page .map-pin:focus .pin-halo,
.footprints-page .map-pin:hover .pin-halo {
  stroke: #526d59;
  stroke-width: 2;
}

.cluster-paper {
  fill: #fffdf7;
  stroke: #93a686;
  stroke-width: 1.5;
}

.cluster-ring {
  fill: #c9d6bd50;
  stroke: none;
}

.cluster-count {
  fill: #566e51;
  font-family: Georgia, serif;
  pointer-events: none;
  text-anchor: middle;
  dominant-baseline: central;
}

.footprints-page .map-cluster.is-selected .cluster-paper {
  fill: #a87681;
  stroke: #a87681;
}

.footprints-page .map-cluster.is-selected .cluster-count {
  fill: #fffdf7;
}

.footprints-page .map-cluster.is-selected .cluster-ring {
  fill: #b2808c24;
}

.footprints-page .map-legend {
  padding: 15px 23px;
  border-top: 1px solid #dde4d6;
  font: 11px/1.8 "Microsoft YaHei", sans-serif;
  gap: 20px;
  background: #fcfbf6;
}

.legend-dot.guide {
  background: #a5b39a;
}

.footprints-page .map-caption {
  font-size: 11px;
  padding-top: 12px;
  line-height: 1.9;
}

.footprints-page .place-detail {
  padding: 26px;
  border-radius: 8px;
  border-color: #e0e3d7;
  background: #fffdf8;
  box-shadow: 0 12px 32px #43553a06;
  min-height: 0;
}

.footprints-page .place-detail .couple-kicker {
  display: inline-block;
  padding: 4px 9px;
  border: 1px solid #e6dfd7;
  border-radius: 3px;
  color: #9c7480;
  font: 10px/1.8 "Microsoft YaHei", sans-serif;
  letter-spacing: 1px;
  margin-bottom: 7px;
}

.footprints-page .place-detail h2 {
  font-size: 35px;
  margin-block: 12px;
}

.footprints-page .detail-cover {
  height: 245px;
  border-radius: 3px;
}

.footprints-page .detail-links {
  gap: 9px;
  border-top: 1px solid #e4e5da;
  padding-top: 20px;
  margin-top: 22px;
}

.footprints-page .detail-links .couple-button {
  font: 11px/1.8 "Microsoft YaHei", sans-serif;
  padding: 10px 14px;
  border-radius: 3px;
}

.footprints-page .detail-links .couple-button:first-child {
  background: #526d59;
  color: #fffdf7;
  border-color: #526d59;
}

.footprints-page .place-list-heading {
  padding-top: 25px;
  margin-top: 45px;
  border-top: 1px solid #e1e5d8;
}

.footprints-page .place-list {
  gap: 14px;
}

.footprints-page .city-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 15px;
  background: #fffdf8;
  border-color: #e1e5d8;
  border-radius: 5px;
  transition: background .25s, border-color .25s;
}

.footprints-page .city-card[aria-pressed=true] {
  border-color: #b2808c;
  background: #f6ece8;
}

.city-thumbnail {
  display: grid;
  place-items: center;
  width: 48px;
  height: 60px;
  border-radius: 3px;
  background: #eef1e5;
  color: #8da080;
  font: 26px Georgia, serif;
  overflow: hidden;
}

.city-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footprints-page .city-card strong {
  font-size: 18px;
  margin-block: 3px;
}

.footprints-page .city-card small {
  font-size: 10px;
  line-height: 1.8;
}

@media (max-width: 1000px) {
  .footprints-page .couple-intro { gap: 28px; grid-template-columns: 1.15fr .85fr; }
  .footprints-page .map-layout { grid-template-columns: minmax(0, 1.6fr) minmax(265px, 1fr); gap: 20px; }
  .footprints-page .place-detail { padding: 21px; }
  .footprints-page .detail-cover { height: 205px; }
}

@media (max-width: 800px) {
  .footprints-page .couple-intro { grid-template-columns: 1fr; gap: 25px; padding-top: 37px; }
  .footprint-stats { width: 100%; max-width: 480px; padding-bottom: 0; }
  .footprint-stats > div { padding-bottom: 13px; }
  .footprint-stats strong { font-size: 30px; }
  .footprints-page .map-layout { grid-template-columns: 1fr; gap: 20px; }
  .footprints-page .map-card-head { padding: 16px 18px; }
  .footprints-page .place-detail { padding: 25px; }
  .footprints-page .detail-cover { height: 270px; }
}

@media (max-width: 500px) {
  .footprints-page .couple-intro { padding-bottom: 28px; }
  .footprints-page .couple-toolbar { gap: 15px; }
  .footprints-page .couple-filter { padding: 8px 10px; font-size: 11px; }
  .footprints-page .couple-filter span { margin-left: 4px; }
  .footprints-page .couple-filters { gap: 4px; }
  .footprints-page .map-card-head { gap: 10px; padding: 14px; }
  .footprints-page .map-card-head h2 { font-size: 15px; }
  .map-subtitle { font-size: 8px; letter-spacing: 0; }
  .footprints-page .map-controls button { min-width: 30px; min-height: 32px; }
  .footprints-page .footprint-map { aspect-ratio: 900 / 760; }
  .atlas-inset { width: 65px; }
  .atlas-compass { top: 17px; right: 17px; }
  .atlas-scale { left: 17px; bottom: 12px; }
  .footprints-page .map-legend { padding: 13px 14px; gap: 12px; font-size: 10px; }
  .footprints-page .city-card { gap: 10px; padding: 12px; grid-template-columns: 35px minmax(0, 1fr); }
  .city-thumbnail { width: 35px; height: 49px; }
  .footprints-page .city-card strong { font-size: 16px; }
  .footprints-page .place-list { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .footprints-page .city-card { transition: none; }
}
