/* 地图预览 + 照片墙（mytravel 附加区块） */
.mytravel-extra {
  font-family: "Inter", system-ui, sans-serif;
  background-color: #f0ecd7;
  color: #180c04;
  position: relative;
  z-index: 2;
}
.mytravel-extra .mx-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 24px;
}
.mytravel-extra .mx-label {
  font-size: 11px;
  font-weight: 600;
  color: #938977;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 20px;
  text-align: center;
}
.mytravel-extra .mx-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 16px;
  text-align: center;
}
.mytravel-extra .mx-sub {
  font-size: 14px;
  line-height: 1.8;
  color: #696969;
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

/* 地图 */
.mx-map-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 10px rgba(168, 142, 113, 0.2);
  border: 1px solid rgba(24, 12, 4, 0.08);
  background: #e8e2cc;
}
.mx-map-frame iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
}
.mx-route {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 13px;
  color: #180c04;
}
.mx-route .mx-stop {
  padding: 8px 16px;
  border: 1px solid rgba(24, 12, 4, 0.15);
  border-radius: 999px;
  background: #fff;
  white-space: nowrap;
}
.mx-route .mx-stop.mx-home {
  background: #180c04;
  color: #f0ecd7;
  border-color: #180c04;
}
.mx-route .mx-arrow {
  color: #938977;
  font-size: 12px;
  white-space: nowrap;
}
.mx-map-note {
  text-align: center;
  font-size: 12px;
  color: #938977;
  margin-top: 14px;
}
.mx-map-note a { color: #938977; }

/* 照片墙 */
.mx-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.mx-photo-slot {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  border: 2px dashed rgba(147, 137, 119, 0.55);
  background: rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: border-color .2s, background .2s;
}
.mx-photo-slot .mx-slot-label {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: #180c04;
}
.mx-photo-slot .mx-slot-wait {
  font-size: 11px;
  letter-spacing: 2px;
  color: #938977;
  text-transform: uppercase;
}
.mx-photo-slot .mx-slot-file {
  font-size: 11px;
  color: #b3a98e;
}
.mx-photo-slot.mx-filled {
  border-style: solid;
  border-color: rgba(24, 12, 4, 0.12);
  background: none;
}
.mx-photo-slot.mx-filled img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mx-photo-slot.mx-filled .mx-slot-label {
  position: absolute;
  left: 10px;
  bottom: 8px;
  z-index: 1;
  font-size: 14px;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .55);
}
.mx-photo-slot.mx-filled .mx-slot-wait,
.mx-photo-slot.mx-filled .mx-slot-file { display: none; }

@media (max-width: 640px) {
  .mytravel-extra .mx-inner { padding: 72px 16px; }
  .mytravel-extra .mx-title { font-size: 32px; }
  .mx-map-frame iframe { height: 320px; }
}

/* ===== 折页地图 ===== */
.fm-stage {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  aspect-ratio: 800 / 520;
  perspective: 1400px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  transform-style: preserve-3d;
}
.fm-stage:active { cursor: grabbing; }
.fm-stage.fm-anim,
.fm-stage.fm-anim .fm-panel,
.fm-stage.fm-anim .fm-shade {
  transition: transform .7s cubic-bezier(.25, .9, .3, 1), opacity .7s ease;
}
.fm-panel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  transform-style: preserve-3d;
}
.fm-panel-0 { width: 25%; }
/* 嵌套折页：宽度和父折页一致（即舞台的 25%），挂在父页右缘 */
.fm-panel .fm-panel { width: 100%; left: 100%; transform-origin: left center; }
.fm-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #f7f2e4;
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.45), inset -1px 0 0 rgba(60, 40, 10, 0.12);
}
.fm-art {
  width: 400%;
  height: 100%;
}
.fm-art svg { display: block; }
.fm-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}
/* 第一页和最后一页的纸边 */
.fm-panel-0 > .fm-clip { border-radius: 4px 0 0 4px; }
.fm-panel-3 > .fm-clip { border-radius: 0 4px 4px 0; }

/* 折起时的地面投影 */
.fm-ground {
  position: absolute;
  left: 50%;
  bottom: -30px;
  width: 85%;
  height: 44px;
  background: radial-gradient(ellipse at center, rgba(70, 50, 20, 0.38), rgba(70, 50, 20, 0) 70%);
  filter: blur(6px);
  pointer-events: none;
  transform-origin: center;
}
