/* 鄂州 → 凤凰古城 · 行程页样式
 *
 * 视觉方向「夜泊沱江」：深夜江水墨调打底，灯塔朱 / 沱江青点睛，
 * 全屏大图 + 胶片颗粒 + 暗角，滚动驱动的揭示与视差——
 * 让一张行程单读起来像一段夜航。移动优先（H5），760px 以上转宽屏。
 */

:root {
  color-scheme: dark;

  /* 墨色：从江底到起雾的江面 */
  --ink-000: #05080b;
  --ink-050: #080d12;
  --ink-100: #0d141a;
  --ink-200: #131d25;

  /* 纸与字 */
  --paper: #f3ece1;
  --paper-2: #d3dce2;
  --paper-3: #93a4ae;

  --line: rgba(228, 238, 244, .13);
  --line-2: rgba(228, 238, 244, .26);

  /* 点睛色：沱江青 / 灯笼朱 / 灯下暖黄 */
  --river: #58d3c0;
  --lamp: #ff7a45;
  --gold: #f0c286;

  /* 每天一色：天数导航、概览卡片、地图线、整屏闸门共用 */
  --d1: #6f9ce8;
  --d2: #ff7a45;
  --d3: #58d3c0;
  --d4: #e0b04f;

  /* 时间点类型色 */
  --k-drive: #6f9ce8;
  --k-stop: #58d3c0;
  --k-meal: #e0a13f;
  --k-play: #7fce7a;
  --k-sleep: #b28ddb;

  --en: "Optima", Georgia, "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --zh: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;

  --radius: 18px;
  --wrap: 940px;
  --pad: clamp(1.15rem, 5vw, 1.7rem);
  --shadow: 0 20px 50px rgba(0, 0, 0, .55);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(120% 60% at 12% 0%, rgba(88, 211, 192, .07), transparent 60%),
    radial-gradient(120% 60% at 88% 6%, rgba(255, 122, 69, .07), transparent 60%),
    var(--ink-000);
  color: var(--paper);
  font: 16px/1.7 var(--zh);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--en); font-weight: 600; letter-spacing: .04em; }

img { display: block; max-width: 100%; }

a { color: inherit; }

:focus-visible { outline: 2px solid var(--river); outline-offset: 3px; }

/* ---------- 气氛层：胶片颗粒 + 暗角（固定层，不挡点击） ---------- */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

body::before {
  opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)' opacity='.2'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

body::after {
  background: radial-gradient(130% 100% at 50% 35%, transparent 58%, rgba(3, 6, 9, .32) 100%);
}

/* ---------- 阅读进度条：“航线” ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 70;
  background: rgba(255, 255, 255, .06);
}

.progress span {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--river), var(--gold) 55%, var(--lamp));
  box-shadow: 0 0 14px rgba(88, 211, 192, .5);
}

/* ---------- 滚动揭示：只有 JS 就绪时才隐藏，避免无脚本时白屏 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .85s cubic-bezier(.16, .84, .24, 1), transform .85s cubic-bezier(.16, .84, .24, 1);
  transition-delay: var(--rd, 0ms);
}

.js [data-reveal].is-in { opacity: 1; transform: none; }
/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink-000);
}

.hero__slides { position: absolute; inset: -12% 0; z-index: -3; }

.hero__slides .slide {
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.09);
  filter: saturate(.9) brightness(.86);
  transition: opacity 1.6s ease, transform 14s linear;
}

.hero__slides .slide.is-on { opacity: 1; transform: scale(1); filter: saturate(1) brightness(.96); }

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(5, 8, 11, .84) 0%, rgba(5, 8, 11, .72) 16%, rgba(5, 8, 11, .55) 28%, rgba(5, 8, 11, .38) 40%, rgba(5, 8, 11, .16) 48%, transparent 54%, transparent 64%, rgba(5, 8, 11, .45) 72%, rgba(5, 8, 11, .82) 86%, rgba(5, 8, 11, .88) 100%),
    radial-gradient(80% 50% at 18% 88%, rgba(88, 211, 192, .1), transparent 70%);
}

.hero__inner {
  width: min(100% - 2 * var(--pad), var(--wrap));
  margin: 0 auto 7vh;
  padding-bottom: 1rem;
  will-change: transform, opacity;
}

.hero__kicker {
  margin: 0 0 .7rem;
  letter-spacing: .12em;
  font-size: .74rem;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__title {
  margin: 0;
  font-size: clamp(2.3rem, 10.5vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: .05em;
  text-shadow: 0 12px 40px rgba(0, 0, 0, .6);
}

.hero__lead { margin: 1rem 0 0; max-width: 34ch; color: var(--paper-2); }

/* 主节点带：鄂州 → 荆州古城 → 常德河街 → 凤凰古城 → 岳阳楼 */
.hero__route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 1.05rem 0 1.5rem;
  font-size: .8rem;
  letter-spacing: .12em;
  color: var(--gold);
}

.hero__route span { display: inline-flex; align-items: center; }

.hero__route span + span::before {
  content: "";
  width: .38rem;
  height: .38rem;
  margin: 0 .45rem;
  border-top: 1px solid var(--paper-2);
  border-right: 1px solid var(--paper-2);
  transform: rotate(45deg);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
  margin: 0 0 1.7rem;
  padding: 0;
}

.hero__stats div {
  padding: .62rem .5rem;
  border-radius: 14px;
  background: rgba(5, 8, 11, .72);
  border: 1px solid var(--line-2);
  text-align: center;
  backdrop-filter: blur(6px);
}

.hero__stats dt { font-size: .68rem; letter-spacing: .1em; color: var(--paper-3); }

.hero__stats dd {
  margin: .12rem 0 0;
  font-family: var(--en);
  font-size: 1.3rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hero__stats dd small { font-size: .68rem; font-weight: 400; margin-left: 2px; color: var(--paper-3); }

.hero__cue {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  text-decoration: none;
  font-size: .86rem;
  letter-spacing: .08em;
  padding: .58rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--paper);
  background: rgba(5, 8, 11, .72);
  backdrop-filter: blur(6px);
  transition: background .35s, transform .35s;
}

.hero__cue:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }

.hero__cue span {
  position: relative;
  flex: 0 0 .7rem;
  width: .7rem;
  height: .75rem;
  font-size: 0;
  background: linear-gradient(var(--gold), var(--gold)) center top / 1px .48rem no-repeat;
  animation: bob 1.8s ease-in-out infinite;
}

.hero__cue span::after {
  content: "";
  position: absolute;
  top: .24rem;
  left: .17rem;
  width: .34rem;
  height: .34rem;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(45deg);
}

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

@media (max-width: 759px) {
  .hero__slides .slide { background-image: var(--hero-image-mobile, var(--hero-image)); }
  .hero__inner {
    display: flex;
    flex-direction: column;
    min-height: 82svh;
  }
  .hero__stats { margin-top: auto; }
}

.hero__credit {
  position: absolute;
  left: var(--pad);
  bottom: .7rem;
  margin: 0;
  padding-left: .6rem;
  font-size: .7rem;
  letter-spacing: .1em;
  color: rgba(243, 236, 225, .62);
  border-left: 2px solid var(--lamp);
}

/* 首屏入场：一次编排好的错峰浮现 */
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

.hero__inner > * { animation: rise .95s cubic-bezier(.16, .84, .24, 1) both; }
.hero__inner > *:nth-child(1) { animation-delay: .05s; }
.hero__inner > *:nth-child(2) { animation-delay: .16s; }
.hero__inner > *:nth-child(3) { animation-delay: .27s; }
.hero__inner > *:nth-child(4) { animation-delay: .36s; }
.hero__inner > *:nth-child(5) { animation-delay: .45s; }
.hero__inner > *:nth-child(6) { animation-delay: .54s; }
/* ---------- 顶部天数导航：磨砂玻璃 + 当天主色 ---------- */
.daynav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  gap: .45rem;
  padding: .55rem var(--pad);
  overflow-x: auto;
  scrollbar-width: none;
  background: linear-gradient(180deg, rgba(5, 8, 11, .94), rgba(5, 8, 11, .74));
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}

.daynav::-webkit-scrollbar { display: none; }

.daynav a {
  flex: 0 0 auto;
  text-decoration: none;
  font-size: .8rem;
  letter-spacing: .08em;
  padding: .42rem .85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  color: var(--paper-3);
  white-space: nowrap;
  transition: color .3s, background .3s, border-color .3s, transform .3s;
}

.daynav a:hover { color: var(--paper); border-color: var(--line-2); transform: translateY(-1px); }

.daynav a.is-active {
  color: var(--ink-000);
  background: var(--chip, var(--gold));
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .5);
}

/* ---------- 通用区块 ---------- */
.section {
  width: min(100% - 2 * var(--pad), var(--wrap));
  margin: 0 auto;
  padding: 3.4rem 0 .5rem;
}

.section--day { padding-top: 0; }

.section__title {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  margin: 0 0 .5rem;
  font-size: clamp(1.5rem, 6vw, 2.15rem);
}

.section__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-2), transparent);
  transform: translateY(-.3em);
}

.section__lead { margin: 0 0 1.5rem; color: var(--paper-3); font-size: .92rem; max-width: 48ch; }

.hint { color: var(--paper-3); font-size: .8rem; margin: .7rem 0 0; }
/* ---------- 每日概览卡片：封面大图做底，文字压在照片上 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: .85rem;
}

.card {
  position: relative;
  display: grid;
  align-content: end;
  gap: .3rem;
  min-height: 15.5rem;
  padding: 1.15rem;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--ink-100);
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform .55s cubic-bezier(.16, .84, .24, 1), border-color .4s;
}

.card__shot {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .68;
  transform: scale(1.02);
  transition: transform 1.3s cubic-bezier(.16, .84, .24, 1), opacity .6s;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 8, 11, .08) 0%, rgba(5, 8, 11, .24) 48%, rgba(5, 8, 11, .56) 100%);
}

.card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--cardc, var(--gold));
  opacity: .85;
}

.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card:hover .card__shot { transform: scale(1.09); opacity: .78; }

.card__day { font-size: .7rem; letter-spacing: .24em; color: var(--cardc, var(--gold)); text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }

.card__title { margin: .1rem 0 .35rem; font-size: 1.12rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }

.card__meta { margin: 0; font-size: .82rem; color: var(--paper-2); text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
/* ---------- 地图：夜航版底图 ---------- */
.mapwrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map { height: min(66vh, 500px); background: var(--ink-100); }

.map__fallback { display: grid; place-content: center; height: 100%; padding: 1rem; text-align: center; color: var(--paper-2); }

.legend {
  position: absolute;
  left: .7rem;
  bottom: .7rem;
  z-index: 500;
  margin: 0;
  padding: .5rem .7rem;
  list-style: none;
  font-size: .74rem;
  color: var(--paper-2);
  border-radius: 12px;
  background: rgba(8, 13, 18, .84);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.legend li { display: flex; align-items: center; gap: .4rem; }

.legend i { width: 14px; height: 4px; border-radius: 2px; display: inline-block; }

/* ---------- 地图上的地名标签（Leaflet tooltip） ---------- */
.leaflet-tooltip.maplabel {
  padding: 2px 7px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: rgba(8, 13, 18, .88);
  color: var(--paper);
  font-size: 12px;
  line-height: 1.5;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .5);
}

.leaflet-tooltip.maplabel::before { display: none; }

.leaflet-popup.maplabel-popup .leaflet-popup-content-wrapper {
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: rgba(8, 13, 18, .94);
  color: var(--paper);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}

.leaflet-popup.maplabel-popup .leaflet-popup-content { margin: .35rem .6rem; }

.leaflet-popup.maplabel-popup .leaflet-popup-tip { background: rgba(8, 13, 18, .94); }

.leaflet-container { font: inherit; background: var(--ink-100); }

/* 保留高德浅色路网，仅轻微降低饱和度以融入页面 */
.leaflet-tile-pane { filter: saturate(.82) brightness(1.04); }
/* ---------- 每日“整屏闸门”：一天一块大图，左右出血铺满视口 ---------- */
[id] { scroll-margin-top: 62px; }

.dayhead {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: end;
  width: 100vw;
  margin: 3.2rem calc(50% - 50vw) 0;
  min-height: min(84svh, 660px);
  padding: clamp(1.5rem, 7vw, 2.8rem) 0 clamp(1.4rem, 5vw, 2.4rem);
  color: #fff;
  background: var(--ink-000);
  border-block: 1px solid var(--line);
  isolation: isolate;
}

.dayhead__bg {
  position: absolute;
  inset: -8% 0;
  z-index: -3;
  background-position: center;
  background-size: cover;
  transform: scale(1.08);
  will-change: transform;
}

.dayhead__scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(5, 8, 11, .88) 0%, rgba(5, 8, 11, .3) 30%, rgba(5, 8, 11, .82) 74%, var(--ink-000) 100%);
}

/* 用当天主色在右下角打一层光，四天的闸门各有自己的温度 */
.dayhead__scrim::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 45% at 78% 84%, var(--dayc, var(--gold)), transparent 70%);
  opacity: .16;
}

.dayhead__num {
  position: absolute;
  z-index: -1;
  right: max(1rem, 4vw);
  top: clamp(.6rem, 4vw, 2rem);
  font-family: var(--en);
  font-size: clamp(7rem, 34vw, 14rem);
  line-height: .8;
  color: rgba(243, 236, 225, .07);
  letter-spacing: -.02em;
  user-select: none;
}

.dayhead__inner { width: min(100% - 2 * var(--pad), var(--wrap)); margin: 0 auto; }

.dayhead__top { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }

.dayhead__label {
  font-size: .74rem;
  letter-spacing: .3em;
  color: var(--ink-000);
  background: var(--dayc, var(--gold));
  padding: .18rem .55rem .18rem .75rem;
  border-radius: 999px;
  font-weight: 600;
}

.dayhead__date { font-size: .8rem; letter-spacing: .1em; color: var(--paper-2); }

.dayhead__title {
  margin: .85rem 0 .3rem;
  font-size: clamp(1.7rem, 7.5vw, 2.9rem);
  line-height: 1.12;
  text-shadow: 0 14px 40px rgba(0, 0, 0, .55);
}

.dayhead__theme { margin: 0; font-size: .95rem; letter-spacing: .04em; color: var(--gold); }

.dayhead__stats {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.dayhead__stats li {
  font-size: .76rem;
  padding: .24rem .66rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.dayhead__stats b { color: var(--paper-3); font-weight: 500; }

.dayhead__intro {
  position: relative;
  margin: 1.15rem 0 0;
  max-width: 56ch;
  padding: .1rem 0 .1rem 1rem;
  font-size: .9rem;
  color: var(--paper-2);
}

.dayhead__intro::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 2px;
  background: var(--dayc, var(--gold));
  opacity: .8;
}
/* ---------- 时间轴：一条会生长的发光线 ---------- */
.timeline {
  position: relative;
  margin: 2rem 0 0;
  padding: 0 0 0 1.7rem;
  list-style: none;
}

.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: .33rem;
  top: .55rem;
  bottom: .6rem;
  width: 1px;
}

.timeline::before { background: var(--line); }

.timeline::after {
  background: linear-gradient(180deg, var(--river), var(--gold) 60%, var(--lamp));
  transform: scaleY(var(--fill, 0));
  transform-origin: 50% 0;
  box-shadow: 0 0 12px rgba(88, 211, 192, .45);
  transition: transform .3s linear;
}

.stop {
  position: relative;
  display: grid;
  grid-template-columns: 4.4rem 1fr;
  gap: .8rem;
  padding: 0 0 1.35rem;
}

.stop::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: -1.7rem;
  top: .42rem;
  width: .58rem;
  height: .58rem;
  border-radius: 50%;
  background: var(--dotcol, var(--k-play));
  box-shadow: 0 0 0 4px var(--ink-000), 0 0 14px var(--dotcol, var(--k-play));
  transform: translateX(.05rem) scale(.6);
  opacity: .5;
  transition: transform .6s cubic-bezier(.16, .84, .24, 1), opacity .6s;
}

.stop.is-seen::before { transform: translateX(.05rem) scale(1); opacity: 1; }

.stop:last-child { padding-bottom: .3rem; }

.stop--drive { --dotcol: var(--k-drive); }
.stop--stop { --dotcol: var(--k-stop); }
.stop--meal { --dotcol: var(--k-meal); }
.stop--sleep { --dotcol: var(--k-sleep); }

.stop__time {
  font-family: var(--en);
  font-size: .84rem;
  letter-spacing: .04em;
  color: var(--paper-3);
  font-variant-numeric: tabular-nums;
  padding-top: .05rem;
}

.stop__name { margin: 0; font-size: 1.03rem; }

.stop__text { margin: .28rem 0 0; font-size: .89rem; color: var(--paper-3); }

.stop__baby {
  margin: .55rem 0 0;
  padding: .55rem .7rem .6rem;
  border-radius: 12px;
  font-size: .84rem;
  color: #ffd9c5;
  background: linear-gradient(120deg, rgba(255, 122, 69, .16), rgba(255, 122, 69, .06));
  border: 1px solid rgba(255, 122, 69, .26);
}

.stop__baby::before { content: "宝宝："; font-weight: 700; color: var(--lamp); }
/* ---------- 照片：向右出血的胶片条 ---------- */
.gallery { margin-top: 2.2rem; }

.gallery__head { display: flex; align-items: baseline; gap: .6rem; }

.gallery__title { margin: 0; font-size: 1.08rem; }

.gallery__count {
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .1rem .5rem;
}

.gallery__cap { margin: .45rem 0 .8rem; font-size: .85rem; color: var(--paper-3); max-width: 46ch; }

.gallery__row {
  display: flex;
  gap: .7rem;
  margin-right: calc(50% - 50vw);          /* 右侧出血到屏幕边缘，暗示“还有更多” */
  padding: 0 var(--pad) .9rem 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.gallery__row::-webkit-scrollbar { display: none; }

.shot {
  position: relative;
  flex: 0 0 min(74%, 330px);
  scroll-snap-align: start;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink-100);
  box-shadow: var(--shadow);
  font: inherit;
  color: var(--paper);
  text-align: left;
  cursor: zoom-in;
  transition: transform .55s cubic-bezier(.16, .84, .24, 1), border-color .4s;
}

.shot img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--ink-200);
  filter: saturate(.94) brightness(.92);
  transform: scale(1.01);
  transition: transform 1.2s cubic-bezier(.16, .84, .24, 1), filter .6s;
}

.shot:hover, .shot:focus-visible { transform: translateY(-3px); border-color: var(--line-2); }

.shot:hover img, .shot:focus-visible img { transform: scale(1.06); filter: saturate(1.06) brightness(1); }

.shot__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.8rem .8rem .7rem;
  font-size: .78rem;
  color: var(--paper-2);
  background: linear-gradient(180deg, transparent, rgba(5, 8, 11, .86));
}
/* ---------- 灯箱：全屏暗场 + 毛玻璃 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 0;
  padding: 0;
  background: rgba(4, 7, 10, .9);
  backdrop-filter: blur(20px) saturate(1.2);
  animation: fade .32s ease both;
}

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.lightbox[hidden] { display: none; }

.lb__figure {
  display: grid;
  grid-column: 1;
  width: 100vw;
  margin: 0;
  text-align: center;
}

.lb__img {
  display: block;
  width: 100vw;
  height: min(66.667vw, 76svh);
  max-height: none;
  margin: 0;
  object-fit: cover;
}

.lb__cap {
  margin: 0;
  padding: .85rem 1rem calc(.85rem + env(safe-area-inset-bottom));
  color: var(--paper-2);
  font-size: .84rem;
  letter-spacing: .06em;
}

.lb__btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .07);
  color: var(--paper);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background .3s, transform .3s;
}

.lb__btn:hover { background: rgba(255, 255, 255, .16); transform: scale(1.06); }

.lb__btn--prev,
.lb__btn--next {
  position: fixed;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
}

.lb__btn--prev { left: .75rem; }
.lb__btn--next { right: .75rem; }

.lb__btn--prev:hover,
.lb__btn--next:hover { transform: translateY(-50%) scale(1.06); }

.lb__btn--close {
  position: absolute;
  top: max(.9rem, env(safe-area-inset-top));
  right: 1rem;
  font-size: 1rem;
}

/* ---------- 带娃心法 / 数据与来源 / 页脚 ---------- */
.pgroup {
  margin-bottom: .8rem;
  padding: 1.05rem 1.15rem;
  border-radius: var(--radius);
  background: linear-gradient(140deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
}

.pgroup__title { display: flex; align-items: center; gap: .5rem; margin: 0 0 .6rem; font-size: 1rem; }

.pgroup ul { margin: 0; padding-left: 1.05rem; }

.pgroup li { margin-bottom: .35rem; font-size: .89rem; color: var(--paper-3); }

.pgroup li::marker { color: var(--river); }

.src { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }

.src li {
  padding: .85rem .95rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  font-size: .85rem;
  color: var(--paper-3);
}

.src b { color: var(--gold); font-weight: 600; }

.footer {
  position: relative;
  margin-top: 3rem;
  padding: 2rem 1.2rem 3rem;
  text-align: center;
  font-size: .82rem;
  color: var(--paper-3);
  border-top: 1px solid var(--line);
}

.footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  width: min(220px, 60%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer p { margin: .2rem 0; }
.footer__note { font-size: .76rem; }
/* ---------- 宽屏 ---------- */
@media (min-width: 760px) {
  .gallery__row { flex-wrap: wrap; overflow: visible; margin-right: 0; padding-right: 0; }
  .shot { flex-basis: calc((100% - 2.1rem) / 3); }
  .map { height: 540px; }
  .dayhead { min-height: min(88svh, 720px); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero__stats div { padding: .7rem .6rem; }
}

@media (max-width: 759px) {
  .dayhead { min-height: min(52svh, 440px); }
}

/* ---------- 动效与可达性 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slides .slide { transition: none; transform: none; }
  .hero__cue span { animation: none; }
  .hero__inner > * { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .stop::before { transform: translateX(.05rem) scale(1); opacity: 1; }
  .timeline::after { transition: none; }
  .lightbox { animation: none; }
}





