/* ═══════════════════════════════════════════════════════════════
   卷轴画卷 · 立体立绘 · 景点详情
   ═══════════════════════════════════════════════════════════════ */

/* ── 通用卷轴 ── */
.scroll-shell {
  position: relative;
  filter: drop-shadow(0 26px 34px rgba(32,48,43,.18));
}
.scroll-roller {
  position: relative;
  height: 18px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, #8a6a3c 0%, #c9a668 22%, #e6cf9e 46%, #a9834d 70%, #6f5228 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.5) inset,
    0 -1px 0 rgba(63,42,16,.5) inset,
    0 4px 9px rgba(63,42,16,.22);
  z-index: 3;
}
.scroll-roller::before, .scroll-roller::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 13px;
  height: 26px;
  transform: translateY(-50%);
  border-radius: 5px;
  background: linear-gradient(180deg, #6d5128, #c9a668 40%, #7c5b2c);
  box-shadow: 0 2px 5px rgba(63,42,16,.35);
}
.scroll-roller::before { left: -7px; }
.scroll-roller::after { right: -7px; }
.scroll-roller--bottom { margin-top: -2px; }

.scroll-canvas {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 22%),
    var(--paper-2);
  border-left: 1px solid rgba(181,143,77,.28);
  border-right: 1px solid rgba(181,143,77,.28);
  box-shadow: 0 0 0 1px rgba(32,48,43,.05) inset;
  overflow: hidden;
}
.scroll-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23p)' opacity='.045'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ── 首页主卷轴 ── */
.hero-scroll {
  position: relative;
  margin: 0 auto;
  max-width: 980px;
}
.hero-scroll__canvas {
  position: relative;
  height: clamp(360px, 64svh, 520px);
  overflow: hidden;
}
.hero-scroll__art {
  position: absolute;
  inset: 0;
}
.hero-scroll__art svg { width: 100%; height: 100%; display: block; }
.hero-scroll__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(243,236,221,.94) 0%, rgba(243,236,221,.78) 34%, rgba(243,236,221,.28) 58%, transparent 76%),
    linear-gradient(0deg, rgba(243,236,221,.96) 0%, rgba(243,236,221,.42) 34%, transparent 62%);
  pointer-events: none;
}
.hero-scroll__content {
  position: absolute;
  left: clamp(20px, 5vw, 54px);
  bottom: clamp(24px, 6vh, 54px);
  z-index: 3;
  max-width: 78%;
}
.hero-scroll__kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--gold);
  margin-bottom: 10px;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.hero-scroll__kicker::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
}
.hero-scroll__title {
  font-family: var(--font-display);
  font-size: clamp(46px, 13vw, 92px);
  line-height: .96;
  letter-spacing: .06em;
  color: var(--ink);
  text-shadow: 0 2px 0 rgba(255,255,255,.5);
}
.hero-scroll__title span { display: block; }
.hero-scroll__title span:last-child {
  margin-left: .62em;
  color: var(--jade);
}
.hero-scroll__sub {
  margin-top: 13px;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--ink-soft);
}
.hero-scroll__seal {
  position: absolute;
  right: clamp(18px, 4vw, 40px);
  bottom: clamp(24px, 6vh, 48px);
  z-index: 3;
  width: 66px;
  height: 66px;
  border: 2px solid rgba(178,71,47,.75);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: rgba(178,71,47,.85);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.1;
  text-align: center;
  letter-spacing: .08em;
  transform: rotate(-6deg);
  background: rgba(251,246,234,.35);
  box-shadow: inset 0 0 0 3px rgba(178,71,47,.12);
}
.hero-scroll__stamp {
  position: absolute;
  right: clamp(20px, 5vw, 44px);
  top: clamp(18px, 5vh, 38px);
  z-index: 3;
  font-family: var(--font-ui);
  font-size: 9.5px;
  letter-spacing: .24em;
  color: var(--ink-faint);
  writing-mode: vertical-rl;
}
.hero-gull {
  position: absolute;
  z-index: 2;
  animation: floaty 5.4s ease-in-out infinite;
  opacity: .7;
}
.hero-gull--a { left: 58%; top: 20%; animation-delay: .4s; }
.hero-gull--b { left: 70%; top: 27%; animation-delay: 1.2s; transform: scale(.72); }
.hero-gull--c { left: 48%; top: 13%; animation-delay: 2s; transform: scale(.5); }

/* ── 画卷卡片 ── */
.scroll-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 22px 26px;
  margin: 0 -22px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  perspective: 1200px;
}
.scroll-strip::-webkit-scrollbar { height: 5px; }
.scroll-strip::-webkit-scrollbar-thumb { background: rgba(181,143,77,.35); }
.scroll-card {
  position: relative;
  flex: 0 0 228px;
  width: 228px;
  scroll-snap-align: center;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), filter .35s ease;
  filter: drop-shadow(0 16px 22px rgba(32,48,43,.16));
}
.scroll-card:hover { transform: translateY(-6px) rotateX(2deg) rotateY(-3deg); filter: drop-shadow(0 26px 30px rgba(32,48,43,.24)); }
.scroll-card__canvas {
  position: relative;
  height: 318px;
  overflow: hidden;
  border-left: 1px solid rgba(181,143,77,.25);
  border-right: 1px solid rgba(181,143,77,.25);
  background: var(--paper-2);
}
.scroll-card__art { position: absolute; inset: 0; }
.scroll-card__art svg { width: 100%; height: 100%; display: block; transition: transform .6s ease; }
.scroll-card:hover .scroll-card__art svg { transform: scale(1.035); }
.scroll-card__shade {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(243,236,221,.92) 0%, rgba(243,236,221,.1) 46%, transparent 66%);
}
.scroll-card__title {
  position: absolute;
  left: 15px;
  bottom: 42px;
  z-index: 2;
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 25px;
  letter-spacing: .14em;
  line-height: 1.2;
  color: var(--ink);
  max-height: 190px;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.scroll-card__meta {
  position: absolute;
  left: 15px;
  right: 12px;
  bottom: 13px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 9.5px;
  letter-spacing: .08em;
  color: var(--ink-soft);
}
.scroll-card__meta .tag { padding: 2px 6px; font-size: 9px; }
.scroll-card__no {
  position: absolute;
  right: 10px;
  top: 9px;
  z-index: 2;
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--ink-faint);
  writing-mode: vertical-rl;
}
.scroll-card__stamp {
  position: absolute;
  right: 9px;
  bottom: 44px;
  z-index: 3;
  width: 42px; height: 42px;
  border: 1.5px solid rgba(178,71,47,.6);
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: rgba(178,71,47,.72);
  font-family: var(--font-display);
  font-size: 10.5px;
  line-height: 1.15;
  text-align: center;
  transform: rotate(-10deg);
  background: rgba(251,246,234,.35);
  letter-spacing: .06em;
}
.scroll-card__go {
  position: absolute;
  left: 12px;
  top: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(251,246,234,.75);
  border: 1px solid rgba(32,48,43,.12);
  font-family: var(--font-ui);
  font-size: 9px;
  color: var(--ink-soft);
  backdrop-filter: blur(4px);
}
.scroll-card--visited .scroll-card__art svg { filter: saturate(.72) brightness(.97); }
.scroll-card--ghost { opacity: .55; }

/* ── 景点详情（卷轴展开） ── */
.spotview {
  position: relative;
  min-height: 100%;
  background:
    radial-gradient(900px 400px at 80% 0%, rgba(216,184,120,.12), transparent 60%),
    var(--paper);
}
.spotview__art {
  position: relative;
  height: clamp(300px, 48svh, 460px);
  overflow: hidden;
}
.spotview__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.spotview__art::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, var(--paper) 0%, rgba(243,236,221,.25) 26%, transparent 55%);
  pointer-events: none;
}
.spotview__art-actions {
  position: absolute;
  left: 16px;
  bottom: 52px;
  z-index: 3;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.spotview__paper {
  position: relative;
  z-index: 2;
  margin-top: -64px;
  padding: 0 20px 34px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 760px) { .spotview__paper { padding-left: 34px; padding-right: 34px; } }

.spotview__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: rgba(251,246,234,.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.spotview__title {
  flex: 1;
  min-width: 0;
}
.spotview__title h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 40px);
  letter-spacing: .1em;
  font-weight: 400;
  line-height: 1.2;
}
.spotview__title p {
  margin-top: 4px;
  font-family: var(--font-ui);
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--ink-faint);
}
.spotview__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.spotview__seal {
  width: 58px; height: 58px;
  border: 2px solid rgba(178,71,47,.65);
  border-radius: 9px;
  display: grid; place-items: center;
  color: rgba(178,71,47,.8);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.15;
  text-align: center;
  letter-spacing: .06em;
  transform: rotate(-5deg);
  flex: none;
  background: rgba(178,71,47,.03);
}
.spotview__lead {
  margin: 16px 0 4px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink-2);
  text-indent: 2em;
}
.spotview__lead::first-letter {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--cinnabar);
  float: left;
  line-height: 1;
  margin: 5px 6px 0 0;
  text-indent: 0;
}

.spot-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 14px 0 4px;
}
.spot-actions .btn--wide { grid-column: 1 / -1; }
.spot-actions > .btn:nth-child(3) { grid-column: 1 / -1; }
.spot-actions .btn { min-height: 42px; font-size: 12.5px; }

.spot-tabs {
  display: flex;
  gap: 3px;
  margin: 18px 0 12px;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(255,253,247,.45);
}
.spot-tab {
  flex: 1;
  padding: 7px 3px;
  border-radius: 9px;
  font-family: var(--font-ui);
  font-size: 11.5px;
  color: var(--ink-faint);
  text-align: center;
  transition: all .18s ease;
}
.spot-tab--on {
  background: var(--ink);
  color: var(--paper-2);
  box-shadow: 0 4px 10px -6px rgba(32,48,43,.6);
}
.spot-section { display: none; animation: fadeUp .35s ease both; }
.spot-section--on { display: block; }
.spot-section h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-ui);
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--gold);
  margin: 16px 0 7px;
}
.spot-section h3::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.spot-section p {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.spot-section p b { color: var(--ink); font-weight: 600; }
.point-list { display: flex; flex-direction: column; gap: 7px; }
.point-item {
  display: flex;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(255,253,247,.55);
  border: 1px solid var(--line-soft);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-2);
}
.point-item__no {
  flex: none;
  width: 19px; height: 19px;
  border-radius: 50%;
  border: 1px solid rgba(181,143,77,.45);
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 9.5px;
  display: grid; place-items: center;
  margin-top: 1px;
}
.point-item b { color: var(--ink); }
.food-list { display: flex; flex-direction: column; gap: 7px; }
.food-item {
  display: flex;
  gap: 9px;
  padding: 10px 11px;
  border-radius: 10px;
  background: rgba(178,71,47,.035);
  border: 1px solid rgba(178,71,47,.12);
}
.food-item__icon {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(178,71,47,.08);
  color: var(--cinnabar);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 13px;
}
.food-item__body { font-size: 12.5px; line-height: 1.75; color: var(--ink-2); }
.food-item__body b { color: var(--ink); }
.food-item__body em { font-style: normal; color: var(--jade); }

.spot-note {
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 11px;
  background: rgba(181,143,77,.06);
  border: 1px dashed rgba(181,143,77,.35);
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.spot-note b { color: #8b6a2f; }

.family-here {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.family-here__label { font-family: var(--font-ui); font-size: 10px; color: var(--ink-faint); letter-spacing: .1em; }
.family-here .seal { width: 28px; height: 28px; font-size: 13px; }

.spotview__meeting {
  margin-top: 16px;
  padding: 12px 13px;
  border-radius: 12px;
  border: 1px solid rgba(63,98,89,.18);
  background: rgba(63,98,89,.05);
}
.spotview__meeting-top { display: flex; align-items: center; gap: 7px; font-family: var(--font-ui); font-size: 10px; letter-spacing: .12em; color: var(--jade); }
.spotview__meeting p { font-size: 12.5px; line-height: 1.8; color: var(--ink-2); margin-top: 4px; }
.spotview__foot {
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 10px;
  color: var(--ink-faint);
}

/* 已打卡大印 */
.visited-stamp {
  position: absolute;
  right: 78px;
  top: 20px;
  z-index: 4;
  width: 80px;
  height: 80px;
  border: 3px solid rgba(178,71,47,.55);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: rgba(178,71,47,.75);
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.2;
  text-align: center;
  letter-spacing: .1em;
  transform: rotate(-11deg);
  background: rgba(251,246,234,.4);
  box-shadow: inset 0 0 0 4px rgba(178,71,47,.08);
  pointer-events: none;
}

/* 卷轴展开动画 */
.unroll { animation: unroll .7s cubic-bezier(.2,.8,.2,1) both; transform-origin: top center; }
@keyframes unroll {
  from { clip-path: inset(0 0 96% 0); opacity: .4; }
  to { clip-path: inset(0 0 0 0); opacity: 1; }
}
.spotview__art .layer { transition: transform .3s ease-out; will-change: transform; }

/* 画卷详情：桌面双栏 */
@media (min-width: 760px) {
  .spotview__paper { padding-bottom: 48px; }
  .spotview__head { padding: 20px 22px; }
  .spot-actions { grid-template-columns: 1fr 1fr 1fr; }
  .spot-actions .btn--wide { grid-column: auto; }
  .spot-actions > .btn:nth-child(3) { grid-column: auto; }
}

/* 空状态 / 画卷提示 */
.gallery-empty {
  padding: 40px 18px;
  text-align: center;
  color: var(--ink-faint);
}
.gallery-empty .seal { margin: 0 auto 10px; }
.gallery-empty p { font-size: 12.5px; line-height: 1.8; }
