/* =========================================================
   山河志 · Atlas of China
   高保真中国地形数字漫游 — 视觉系统
   ========================================================= */

:root {
  --bg: #050b10;
  --bg-soft: #08131b;
  --ink: #eef2ed;
  --ink-soft: #b8c2bd;
  --ink-muted: #7f8f8d;
  --gold: #e5c276;
  --gold-bright: #f6dfa7;
  --gold-deep: #a97c3d;
  --teal: #66c8cf;
  --line: rgba(236, 241, 234, .12);
  --line-soft: rgba(236, 241, 234, .07);
  --glass: rgba(8, 17, 23, .58);
  --glass-strong: rgba(8, 16, 22, .86);
  --sans: "Inter", "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Iowan Old Style", "Baskerville", "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; }
html { background: var(--bg); }
body {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(120% 90% at 24% 18%, rgba(32, 66, 71, .38) 0%, rgba(4, 12, 17, .2) 45%, transparent 72%),
    radial-gradient(85% 70% at 82% 72%, rgba(80, 53, 28, .16) 0%, transparent 64%),
    radial-gradient(70% 100% at 50% 110%, rgba(7, 25, 33, .85) 0%, transparent 64%),
    linear-gradient(152deg, #07141b 0%, #050b10 44%, #070c10 100%);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: .01em;
}

button, input { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; padding: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(230, 197, 118, .28); color: #fff8e6; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  opacity: 0;
  outline: none;
  transition: opacity 1.8s var(--ease-soft);
  cursor: grab;
}
body.is-ready #scene { opacity: 1; }
#scene.is-hover { cursor: pointer; }
#scene.is-dragging { cursor: grabbing; }
body.modal-open { overflow: hidden; }

/* 背景氛围与噪点 */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(1, 5, 8, .72) 0%, rgba(1, 5, 8, .53) 18%, rgba(1, 5, 8, .17) 38%, transparent 56%),
    radial-gradient(46% 54% at 72% 30%, rgba(75, 121, 121, .10) 0%, transparent 72%),
    radial-gradient(40% 34% at 16% 78%, rgba(172, 122, 58, .065) 0%, transparent 72%),
    linear-gradient(180deg, rgba(2, 7, 10, .38) 0%, transparent 18%, transparent 76%, rgba(1, 5, 8, .55) 100%);
}
.vignette {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  box-shadow: inset 0 0 min(28vw, 380px) rgba(0, 3, 6, .7);
  background: radial-gradient(ellipse at center, transparent 46%, rgba(1, 5, 8, .58) 100%);
}
.grain {
  position: fixed;
  inset: -40%;
  z-index: 4;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 8s steps(6) infinite;
}
@keyframes grainShift {
  0% { transform: translate3d(0, 0, 0); }
  20% { transform: translate3d(-2%, 1%, 0); }
  40% { transform: translate3d(1%, -2%, 0); }
  60% { transform: translate3d(-1%, 2%, 0); }
  80% { transform: translate3d(2%, -1%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* =========================================================
   开场加载
   ========================================================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(45% 60% at 50% 48%, rgba(20, 46, 48, .36) 0%, transparent 70%),
    #040a0e;
  transition: opacity .9s var(--ease-soft), visibility .9s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__grid {
  position: absolute;
  inset: -10%;
  opacity: .35;
  background-image:
    linear-gradient(rgba(219, 206, 176, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(219, 206, 176, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, #000, transparent 66%);
  -webkit-mask-image: radial-gradient(circle at center, #000, transparent 66%);
  animation: loaderGrid 24s linear infinite;
}
@keyframes loaderGrid { to { transform: translate3d(64px, 64px, 0); } }
.loader__content { position: relative; width: min(340px, 76vw); text-align: center; }
.loader__mark { width: 88px; height: 88px; margin: 0 auto 24px; color: var(--gold); animation: markFloat 4.8s ease-in-out infinite; }
.loader__mark svg { width: 100%; height: 100%; }
@keyframes markFloat { 0%,100% { transform: translateY(0); opacity: .86; } 50% { transform: translateY(-7px); opacity: 1; } }
.loader__brand { font-family: var(--serif); font-size: 27px; letter-spacing: .46em; text-indent: .46em; color: #f2ead7; }
.loader__latin { margin-top: 11px; font-size: 8px; letter-spacing: .42em; color: var(--gold); opacity: .7; }
.loader__text { margin: 38px 0 15px; font-size: 10px; letter-spacing: .18em; color: var(--ink-muted); }
.loader__track { position: relative; width: 100%; height: 1px; overflow: hidden; background: rgba(245, 236, 216, .12); }
.loader__track span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #a97c3d, var(--gold-bright)); transition: width .35s var(--ease-soft); box-shadow: 0 0 12px rgba(229, 194, 118, .55); }
.loader__foot { display: flex; justify-content: space-between; margin-top: 12px; color: rgba(185, 194, 186, .52); font-size: 8px; letter-spacing: .12em; }
.loader__foot span:last-child { font-variant-numeric: tabular-nums; color: var(--gold); opacity: .72; }

/* =========================================================
   顶栏
   ========================================================= */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(300px, 430px) minmax(220px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 26px 36px;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 1s var(--ease-soft) .35s, transform 1s var(--ease-out) .35s;
}
body.is-ready .topbar { opacity: 1; transform: none; }
.brand { display: flex; align-items: center; gap: 12px; width: fit-content; }
.brand__seal { display: grid; place-items: center; width: 44px; height: 44px; color: var(--gold); }
.brand__seal svg { width: 44px; height: 44px; }
.brand__type { display: flex; flex-direction: column; gap: 3px; }
.brand__type strong { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: .2em; color: #f3eee2; line-height: 1; }
.brand__type small { font-size: 7px; letter-spacing: .28em; color: var(--gold); opacity: .68; }

.search {
  position: relative;
  height: 45px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(235, 240, 234, .13);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(16, 28, 35, .72), rgba(7, 15, 20, .58));
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .18), inset 0 1px rgba(255, 255, 255, .04);
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.search:focus-within { border-color: rgba(229, 194, 118, .46); background: rgba(10, 20, 26, .82); box-shadow: 0 0 0 3px rgba(229, 194, 118, .06), 0 18px 44px rgba(0,0,0,.28); }
.search__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 46px; color: rgba(229, 194, 118, .8); }
.search__icon svg { width: 17px; height: 17px; }
.search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #eef2ea;
  font-size: 12px;
  letter-spacing: .06em;
}
.search input::placeholder { color: rgba(193, 204, 198, .5); }
.search__kbd {
  margin-right: 9px;
  min-width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(235, 240, 234, .13);
  border-radius: 5px;
  color: rgba(205, 213, 205, .46);
  font-size: 9px;
  font-family: var(--sans);
}
.search__clear { width: 33px; height: 33px; margin-right: 5px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-muted); }
.search__clear:hover { color: var(--gold-bright); background: rgba(255,255,255,.06); }
.search__clear svg { width: 14px; height: 14px; }
.search__panel {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 10px);
  padding: 13px 10px 9px;
  border-radius: 18px;
  border: 1px solid rgba(235, 240, 234, .13);
  background: rgba(8, 17, 23, .94);
  backdrop-filter: blur(30px) saturate(140%);
  -webkit-backdrop-filter: blur(30px) saturate(140%);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .48);
  transform-origin: top center;
  animation: panelIn .28s var(--ease-out) both;
}
@keyframes panelIn { from { opacity: 0; transform: translateY(-6px) scale(.985); } to { opacity: 1; transform: none; } }
.search__panel-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 10px 9px; color: var(--ink-muted); font-size: 8px; letter-spacing: .18em; text-transform: uppercase; }
.search__panel-head span:first-child { color: rgba(229, 194, 118, .8); }
.search__results { max-height: 326px; overflow-y: auto; padding-right: 2px; }
.search__results::-webkit-scrollbar { width: 4px; }
.search__results::-webkit-scrollbar-thumb { background: rgba(229, 194, 118, .25); border-radius: 8px; }
.search-result {
  width: 100%;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 10px 11px;
  border-radius: 11px;
  text-align: left;
  transition: background .2s, transform .2s;
}
.search-result:hover, .search-result.is-active { background: rgba(229, 194, 118, .085); }
.search-result__badge { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; border: 1px solid rgba(229,194,118,.22); color: var(--gold); font-family: var(--serif); font-size: 10px; letter-spacing: .04em; background: rgba(229, 194, 118, .06); }
.search-result__body { min-width: 0; }
.search-result__body strong { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--serif); font-size: 14px; font-weight: 600; color: #f0eee4; letter-spacing: .04em; }
.search-result__body span { display: block; margin-top: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 9px; color: var(--ink-muted); letter-spacing: .08em; }
.search-result__go { color: rgba(229, 194, 118, .55); font-size: 15px; transition: transform .2s, color .2s; }
.search-result:hover .search-result__go, .search-result.is-active .search-result__go { color: var(--gold-bright); transform: translateX(2px); }
.search__empty { padding: 20px 12px 16px; color: var(--ink-muted); font-size: 11px; text-align: center; }

.tools { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.tools__rule { width: 1px; height: 20px; margin: 0 5px; background: var(--line); }
.icon-btn {
  position: relative;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  color: rgba(214, 222, 215, .66);
  transition: color .25s, background .25s, border-color .25s, transform .25s;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { color: var(--gold-bright); background: rgba(229, 194, 118, .08); border-color: rgba(229, 194, 118, .18); transform: translateY(-1px); }
.icon-btn.is-on { color: var(--gold); background: rgba(229, 194, 118, .07); border-color: rgba(229, 194, 118, .16); }
#autoBtn.is-on svg { animation: autoSpin 14s linear infinite; }
@keyframes autoSpin { to { transform: rotate(360deg); } }
.icon-btn::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  transform: translate(-50%, -3px);
  padding: 6px 9px;
  border-radius: 6px;
  background: rgba(7, 14, 19, .94);
  border: 1px solid var(--line);
  white-space: nowrap;
  font-size: 9px;
  letter-spacing: .1em;
  color: var(--ink-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s, transform .18s;
}
.icon-btn:hover::after { opacity: 1; transform: translate(-50%, 0); }
.icon-btn:focus-visible, .btn:focus-visible, .search-result:focus-visible, .gallery__arrow:focus-visible, .modal-close:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

/* =========================================================
   主视觉
   ========================================================= */
.hero {
  position: fixed;
  z-index: 20;
  left: clamp(32px, 5vw, 82px);
  top: clamp(150px, 23vh, 230px);
  width: min(640px, 43vw);
  pointer-events: none;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s var(--ease-soft) .55s, transform 1.2s var(--ease-out) .55s;
}
body.is-ready .hero { opacity: 1; transform: none; }
.hero__eyebrow { display: flex; align-items: center; gap: 11px; color: var(--gold); font-size: 9px; letter-spacing: .26em; font-weight: 500; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0, 4, 7, .9); }
.hero__eyebrow em { margin-left: 10px; font-style: normal; font-family: var(--serif); color: rgba(229, 194, 118, .46); letter-spacing: .16em; }
.hero__line { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, rgba(229, 194, 118, .8)); }
.hero__title {
  margin: 27px 0 24px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(70px, 7.6vw, 138px);
  letter-spacing: .03em;
  line-height: .96;
  color: #f0eee5;
  text-shadow: 0 14px 50px rgba(0, 0, 0, .34);
  white-space: nowrap;
}
.hero__title-accent {
  background: linear-gradient(112deg, #f3dfaa 8%, #d8ad5e 48%, #b68a48 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  margin: 0;
  color: rgba(218, 226, 218, .74);
  text-shadow: 0 2px 22px rgba(0, 6, 9, .9);
  font-size: clamp(12px, .92vw, 14px);
  line-height: 2.15;
  letter-spacing: .08em;
  font-weight: 300;
}
.hero__lead strong { color: var(--gold-bright); font-family: var(--serif); font-size: 1.35em; font-weight: 500; letter-spacing: .06em; }
.hero__actions { display: flex; align-items: center; gap: 19px; margin-top: 32px; pointer-events: auto; }
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: .16em;
  white-space: nowrap;
  transition: transform .3s var(--ease-out), background .3s, border-color .3s, color .3s, box-shadow .3s;
}
.btn svg { width: 17px; height: 17px; transition: transform .3s var(--ease-out); }
.btn--gold {
  color: #1c180f;
  border: 1px solid rgba(250, 227, 174, .36);
  background: linear-gradient(120deg, #f6e2ad 0%, #d9b66d 52%, #c29b54 100%);
  box-shadow: 0 10px 36px rgba(169, 124, 61, .18), inset 0 1px rgba(255, 255, 255, .5);
  font-weight: 600;
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(169, 124, 61, .3), inset 0 1px rgba(255, 255, 255, .55); }
.btn--gold:hover svg { transform: translateX(3px); }
.btn--text { color: rgba(226, 232, 225, .7); padding: 0 8px; letter-spacing: .12em; }
.btn--text:hover { color: var(--gold-bright); }
.btn__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(229, 194, 118, .08); }
.hero__stats { display: flex; gap: 26px; margin-top: 43px; pointer-events: none; }
.hero__stats > div { position: relative; padding-right: 25px; display: flex; flex-direction: column; gap: 6px; }
.hero__stats > div:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 4px; bottom: 4px; width: 1px; background: linear-gradient(180deg, transparent, rgba(235,240,234,.18), transparent); }
.hero__stats strong { font-family: var(--serif); font-size: 21px; font-weight: 500; color: #ede8dc; letter-spacing: .03em; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: 0 2px 14px rgba(0, 4, 7, .96); }
.hero__stats strong .unit { font-size: 10px; margin-left: 2px; color: var(--gold); font-family: var(--sans); }
.hero__stats span { font-size: 8px; letter-spacing: .15em; color: var(--ink-muted); text-transform: uppercase; text-shadow: 0 2px 12px rgba(0, 4, 7, .9); }

/* =========================================================
   图例 / 方位 / 提示
   ========================================================= */
.legend {
  position: fixed;
  pointer-events: none;
  left: 36px;
  bottom: 72px;
  z-index: 25;
  width: min(300px, 26vw);
  padding: 17px 18px 15px;
  border: 1px solid rgba(235, 240, 234, .1);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(9, 18, 24, .68), rgba(7, 14, 19, .38));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.1s var(--ease-soft) .95s, transform 1.1s var(--ease-out) .95s;
}
body.is-ready .legend { opacity: 1; transform: none; }
.legend__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.legend__head span { font-size: 9px; letter-spacing: .18em; color: rgba(229, 194, 118, .82); }
.legend__head em { font-style: normal; font-size: 7px; letter-spacing: .22em; color: var(--ink-muted); }
.legend__bar {
  height: 5px;
  border-radius: 5px;
  background: linear-gradient(90deg, #2d6e57 0%, #719763 17%, #ad9f6d 36%, #c5a173 50%, #b0825b 66%, #aa9176 80%, #cfc8ba 91%, #fbfbf7 100%);
  box-shadow: inset 0 1px rgba(255,255,255,.17);
}
.legend__ticks { display: flex; justify-content: space-between; margin-top: 7px; color: rgba(183, 195, 186, .55); font-size: 7px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.legend__note { display: flex; align-items: center; gap: 6px; margin-top: 11px; color: rgba(165, 178, 170, .46); font-size: 8px; letter-spacing: .08em; }
.legend__note i { display: block; width: 5px; height: 5px; border-radius: 50%; border: 1px solid rgba(229, 194, 118, .55); }
.legend__marker { display: flex; align-items: center; gap: 7px; margin-top: 10px; padding-top: 9px; border-top: 1px solid rgba(235,240,234,.08); color: rgba(210, 210, 190, .62); font-size: 8px; letter-spacing: .08em; }
.legend__marker em { margin-left: auto; font-style: normal; color: rgba(229, 194, 118, .5); font-size: 7px; }
.legend-dot { position: relative; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 9px rgba(229,194,118,.65); }
.legend-dot::after { content: ""; position: absolute; inset: -3px; border: 1px solid rgba(229,194,118,.32); border-radius: 50%; animation: tipRing 2.2s ease-out infinite; }
.noscript { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; background: #040a0e; color: var(--gold); font-size: 14px; letter-spacing: .1em; }

.compass {
  position: fixed;
  right: 38px;
  bottom: 134px;
  z-index: 25;
  width: 65px; height: 65px;
  opacity: 0;
  transform: scale(.9);
  transition: opacity 1.2s var(--ease-soft) 1.15s, transform 1.2s var(--ease-out) 1.15s;
}
body.is-ready .compass { opacity: .8; transform: none; }
.compass__ring { position: absolute; inset: 0; border: 1px solid rgba(235, 240, 234, .18); border-radius: 50%; background: rgba(8, 17, 23, .34); backdrop-filter: blur(10px); }
.compass__ring::after { content: ""; position: absolute; inset: 7px; border: 1px dashed rgba(229, 194, 118, .12); border-radius: 50%; }
.compass__ring span { position: absolute; font-size: 6px; color: rgba(229, 194, 118, .65); letter-spacing: .05em; }
.compass__ring .n { top: 5px; left: 50%; transform: translateX(-50%); color: var(--gold-bright); }
.compass__ring .s { bottom: 5px; left: 50%; transform: translateX(-50%); }
.compass__ring .e { top: 50%; right: 7px; transform: translateY(-50%); }
.compass__ring .w { top: 50%; left: 7px; transform: translateY(-50%); }
.compass__needle { position: absolute; left: 50%; top: 50%; width: 1px; height: 40px; margin-left: -.5px; margin-top: -20px; transition: transform .22s linear; will-change: transform; }
.compass__needle span { position: absolute; left: 50%; top: 0; width: 1px; height: 16px; margin-left: -.5px; background: linear-gradient(180deg, var(--gold-bright), transparent); }
.compass__needle::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 12px; margin-left: -.5px; background: linear-gradient(0deg, rgba(235,240,234,.18), transparent); }
.compass__center { position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); transform: translate(-50%, -50%); box-shadow: 0 0 8px rgba(229, 194, 118, .5); }

.hints { position: fixed; pointer-events: none; right: 36px; bottom: 68px; z-index: 25; display: flex; align-items: center; gap: 16px; opacity: 0; transition: opacity 1s var(--ease-soft) 1.25s; }
body.is-ready .hints { opacity: .62; }
.hints__item { display: flex; align-items: center; gap: 6px; color: rgba(191, 201, 193, .7); font-size: 8px; letter-spacing: .08em; white-space: nowrap; }
.mouse { position: relative; width: 11px; height: 15px; border: 1px solid rgba(219, 226, 218, .4); border-radius: 6px; display: inline-block; }
.mouse::before { content: ""; position: absolute; left: 50%; top: 3px; width: 1px; height: 4px; margin-left: -.5px; background: rgba(229, 194, 118, .8); }
.mouse--wheel i { position: absolute; left: 50%; top: 2px; width: 1px; height: 5px; margin-left: -.5px; background: var(--gold); border-radius: 2px; }
.mouse--drag i { position: absolute; top: 4px; left: 2px; width: 5px; height: 5px; border-radius: 50%; border: 1px solid var(--gold); opacity: .55; }
.mouse--right::after { content: "R"; position: absolute; right: -5px; top: -4px; font-style: normal; font-size: 5px; color: var(--gold); opacity: .7; }

.zoom-tools { position: fixed; right: 38px; top: 48%; z-index: 25; display: flex; flex-direction: column; align-items: center; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(8, 17, 23, .38); backdrop-filter: blur(16px); opacity: 0; transition: opacity 1s var(--ease-soft) 1.35s; }
body.is-ready .zoom-tools { opacity: .78; }
.zoom-tools button { width: 28px; height: 31px; display: grid; place-items: center; color: var(--ink-soft); border-radius: 50%; transition: color .2s, background .2s; }
.zoom-tools button:hover { color: var(--gold-bright); background: rgba(229,194,118,.08); }
.zoom-tools svg { width: 13px; height: 13px; }
.zoom-tools > span { width: 10px; height: 1px; background: var(--line); }

.footline {
  position: fixed;
  pointer-events: none;
  left: 36px; right: 36px; bottom: 22px;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(169, 183, 174, .42);
  font-size: 7px;
  letter-spacing: .19em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 1s var(--ease-soft) 1.45s;
}
body.is-ready .footline { opacity: 1; }
.footline__left, .footline__right { display: flex; align-items: center; gap: 8px; }
.footline__center { color: rgba(187, 174, 145, .31); letter-spacing: .3em; }
.live-dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(102, 200, 207, .08), 0 0 9px rgba(102, 200, 207, .7); animation: livePulse 2.8s ease-in-out infinite; }
@keyframes livePulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

/* =========================================================
   标记提示
   ========================================================= */
.marker-tip {
  position: fixed;
  z-index: 50;
  left: 0; top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 168px;
  padding: 9px 13px 9px 11px;
  border: 1px solid rgba(229, 194, 118, .26);
  border-radius: 11px;
  background: rgba(7, 15, 20, .88);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35), inset 0 1px rgba(255, 255, 255, .04);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(.96);
  transition: opacity .16s ease, transform .16s var(--ease-out);
}
.marker-tip.is-visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
.marker-tip__dot { position: relative; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 10px rgba(229, 194, 118, .75); }
.marker-tip__dot::after { content: ""; position: absolute; inset: -4px; border: 1px solid rgba(229, 194, 118, .35); border-radius: 50%; animation: tipRing 2s ease-out infinite; }
@keyframes tipRing { 0% { transform: scale(.5); opacity: .8; } 80%,100% { transform: scale(1.6); opacity: 0; } }
.marker-tip strong { display: block; font-family: var(--serif); font-size: 14px; font-weight: 500; letter-spacing: .04em; color: #f5f0e3; }
.marker-tip span { display: block; margin-top: 3px; font-size: 8px; letter-spacing: .08em; color: rgba(179, 193, 184, .6); }
.marker-tip em { margin-left: auto; padding-left: 13px; font-style: normal; font-size: 7px; letter-spacing: .1em; color: rgba(229, 194, 118, .62); white-space: nowrap; }

/* =========================================================
   弹窗公共
   ========================================================= */
.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  visibility: hidden;
  pointer-events: none;
}
.modal-shell.is-open { visibility: visible; pointer-events: auto; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 5, 8, .66);
  backdrop-filter: blur(11px) saturate(80%);
  -webkit-backdrop-filter: blur(11px) saturate(80%);
  opacity: 0;
  transition: opacity .45s var(--ease-soft);
}
.modal-shell.is-open .modal-backdrop { opacity: 1; }
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  z-index: 4;
  width: 37px; height: 37px;
  display: grid; place-items: center;
  border: 1px solid rgba(235, 240, 234, .14);
  border-radius: 50%;
  background: rgba(7, 14, 19, .48);
  color: rgba(228, 234, 227, .7);
  backdrop-filter: blur(12px);
  transition: color .25s, background .25s, border-color .25s, transform .25s;
}
.modal-close:hover { color: var(--gold-bright); border-color: rgba(229,194,118,.4); background: rgba(229,194,118,.08); transform: rotate(90deg); }
.modal-close svg { width: 15px; height: 15px; }

/* =========================================================
   景区详情
   ========================================================= */
.spot-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(1220px, calc(100vw - 68px));
  height: min(840px, calc(100vh - 68px));
  max-height: 900px;
  border: 1px solid rgba(229, 194, 118, .17);
  border-radius: 26px;
  background:
    radial-gradient(62% 40% at 90% 4%, rgba(184, 135, 68, .12) 0%, transparent 65%),
    radial-gradient(62% 56% at 4% 100%, rgba(44, 94, 101, .1) 0%, transparent 60%),
    linear-gradient(140deg, rgba(15, 26, 32, .95) 0%, rgba(8, 16, 21, .94) 52%, rgba(9, 17, 22, .97) 100%);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6), inset 0 1px rgba(255, 255, 255, .05);
  backdrop-filter: blur(34px) saturate(125%);
  -webkit-backdrop-filter: blur(34px) saturate(125%);
  overflow: hidden;
  opacity: 0;
  transform: translateY(34px) scale(.965);
  transition: opacity .5s var(--ease-soft), transform .7s var(--ease-out);
}
.modal-shell.is-open .spot-panel { opacity: 1; transform: none; }
.spot-panel::before {
  content: "";
  position: absolute;
  left: 6%; right: 6%; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 223, 167, .58) 20%, rgba(246, 223, 167, .16) 75%, transparent);
}
.spot-panel__glow { position: absolute; right: -130px; top: -210px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(196, 153, 85, .13), transparent 66%); pointer-events: none; }

.spot-head { position: relative; z-index: 2; flex: 0 0 auto; padding: 29px 42px 17px; }
.spot-head__eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; color: rgba(196, 207, 198, .56); font-size: 9px; letter-spacing: .15em; }
.five-a { display: inline-flex; align-items: center; justify-content: center; height: 21px; padding: 0 8px; border: 1px solid rgba(229,194,118,.36); border-radius: 5px; color: var(--gold-bright); font-family: var(--serif); font-size: 10px; letter-spacing: .05em; background: rgba(229,194,118,.08); }
.spot-head__divider { width: 18px; height: 1px; background: var(--line); }
.spot-head__locate { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; margin-right: 38px; padding: 5px 8px; border: 1px solid transparent; border-radius: 999px; color: rgba(186, 198, 190, .55); font-size: 8px; letter-spacing: .08em; transition: color .2s, background .2s, border-color .2s; }
.spot-head__locate:hover { color: var(--gold-bright); background: rgba(229,194,118,.07); border-color: rgba(229,194,118,.18); }
.spot-head__locate svg { width: 12px; height: 12px; }
.spot-head h2 { margin: 15px 0 8px; font-family: var(--serif); font-size: clamp(34px, 3.2vw, 46px); font-weight: 500; line-height: 1.1; letter-spacing: .06em; color: #f2ede1; }
.spot-head__sub { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.spot-head__sub > span { font-size: 11px; letter-spacing: .08em; color: rgba(192, 202, 194, .55); }
.spot-tags { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.spot-tags span { display: inline-block; padding: 4px 8px; border-radius: 4px; border: 1px solid rgba(235, 240, 234, .09); background: rgba(235,240,234,.025); color: rgba(196, 205, 196, .62); font-size: 8px; letter-spacing: .06em; }
.spot-tags span:first-child { color: rgba(229, 194, 118, .75); border-color: rgba(229,194,118,.18); background: rgba(229,194,118,.04); }

.spot-body {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.11fr) minmax(360px, .89fr);
  gap: 30px;
  padding: 4px 42px 4px;
}

/* 左：图集 + 短片 */
.media-col { display: flex; flex-direction: column; min-height: 0; gap: 12px; }
.gallery { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; gap: 9px; }
.gallery__stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 190px;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 22% 0%, rgba(79, 126, 127, .26), transparent 58%),
    linear-gradient(148deg, #14232a, #0a1318 65%, #101a1e);
  box-shadow: inset 0 0 0 1px rgba(235, 240, 234, .08);
}
.gallery__stage img { width: 100%; height: 100%; display: block; object-fit: cover; opacity: 0; transform: scale(1.035); transition: opacity .65s var(--ease-soft), transform 1.2s var(--ease-out); }
.gallery__stage img.is-loaded { opacity: 1; transform: none; }
.gallery__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3, 8, 11, .15) 0%, transparent 36%, rgba(4, 9, 12, .1) 58%, rgba(3, 7, 10, .77) 100%); }
.gallery__counter { position: absolute; left: 17px; top: 14px; display: flex; align-items: baseline; gap: 4px; color: rgba(244, 236, 217, .5); font-family: var(--serif); font-size: 10px; letter-spacing: .08em; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.gallery__counter strong { color: #f2ead9; font-size: 13px; font-weight: 500; }
.gallery__counter em { font-style: normal; }
.gallery__caption { position: absolute; left: 19px; bottom: 14px; max-width: 72%; color: rgba(240, 237, 226, .68); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.gallery__caption::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 7px; border: 1px solid rgba(229,194,118,.6); border-radius: 50%; vertical-align: 1px; }
.gallery__arrow { position: absolute; top: 50%; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(6, 13, 17, .42); color: rgba(255,255,255,.72); backdrop-filter: blur(12px); transform: translateY(-50%); opacity: 0; transition: opacity .25s, background .25s, border-color .25s; }
.gallery__stage:hover .gallery__arrow { opacity: 1; }
.gallery__arrow:hover { background: rgba(229, 194, 118, .16); border-color: rgba(229,194,118,.4); color: var(--gold-bright); }
.gallery__arrow svg { width: 14px; height: 14px; }
.gallery__arrow--prev { left: 13px; }
.gallery__arrow--next { right: 13px; }
.gallery__skeleton { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 22%, rgba(255,255,255,.06) 42%, transparent 60%); background-size: 220% 100%; animation: skeleton 1.8s ease-in-out infinite; opacity: 1; transition: opacity .4s; }
.gallery__stage.is-ready .gallery__skeleton { opacity: 0; }
@keyframes skeleton { to { background-position: -220% 0; } }
.gallery__thumbs { display: flex; gap: 7px; flex: 0 0 52px; }
.gallery-thumb { position: relative; width: 78px; height: 52px; overflow: hidden; border-radius: 8px; border: 1px solid transparent; background: #122027; opacity: .54; transition: opacity .25s, border-color .25s, transform .25s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.22)); }
.gallery-thumb:hover { opacity: .9; transform: translateY(-2px); }
.gallery-thumb.is-active { opacity: 1; border-color: rgba(229, 194, 118, .6); box-shadow: 0 0 0 1px rgba(229, 194, 118, .15); }
.gallery-thumb__num { position: absolute; z-index: 2; left: 7px; bottom: 5px; font-family: var(--serif); font-size: 8px; color: rgba(255,255,255,.7); }

.video-module { flex: 0 0 auto; }
.video-module__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; font-size: 8px; letter-spacing: .12em; }
.video-module__eyebrow { display: flex; align-items: center; gap: 6px; color: rgba(229, 194, 118, .82); }
.video-module__eyebrow i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(229,194,118,.6); }
#videoTheme { color: rgba(171, 186, 176, .45); font-size: 7px; letter-spacing: .18em; }
.video-frame { position: relative; height: clamp(138px, 17.5vh, 176px); border-radius: 14px; overflow: hidden; background: #0a1318; box-shadow: inset 0 0 0 1px rgba(235,240,234,.08); }
.video-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-poster { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: #0c171c; opacity: .74; transition: opacity .6s; }
.video-frame.is-playing .video-poster,
.video-frame.has-started .video-poster { opacity: 0; }
.video-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, rgba(2,7,10,.18), rgba(2,7,10,.62)); transition: opacity .35s; }
.video-frame.is-playing .video-overlay { opacity: 0; pointer-events: none; }
.video-bigplay { width: 47px; height: 47px; display: grid; place-items: center; border: 1px solid rgba(252, 239, 206, .42); border-radius: 50%; background: rgba(8, 15, 18, .35); backdrop-filter: blur(13px); color: #fff5dc; box-shadow: 0 10px 34px rgba(0,0,0,.26); transition: transform .3s var(--ease-out), background .3s, border-color .3s; }
.video-bigplay:hover { transform: scale(1.08); background: rgba(229,194,118,.18); border-color: rgba(246,223,167,.8); }
.video-bigplay svg { width: 20px; height: 20px; margin-left: 2px; }
.video-overlay__caption { position: absolute; left: 15px; top: 13px; display: flex; flex-direction: column; gap: 3px; }
.video-overlay__caption span { color: rgba(229, 194, 118, .7); font-size: 7px; letter-spacing: .2em; }
.video-overlay__caption strong { font-family: var(--serif); font-size: 12px; font-weight: 500; letter-spacing: .08em; color: rgba(244, 239, 226, .7); }
.video-controls { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 22px 12px 8px; background: linear-gradient(0deg, rgba(1,5,8,.72), transparent); transition: opacity .3s; }
.video-frame.is-playing .video-controls { opacity: 0; }
.video-frame.is-playing:hover .video-controls { opacity: 1; }
.vctrl { display: grid; place-items: center; width: 24px; height: 24px; color: rgba(255,255,255,.75); border-radius: 50%; transition: color .2s, background .2s; }
.vctrl:hover { color: var(--gold-bright); background: rgba(255,255,255,.08); }
.vctrl svg { width: 14px; height: 14px; }
.vctrl--play .i-pause { display: none; }
.video-frame.is-playing .vctrl--play .i-play { display: none; }
.video-frame.is-playing .vctrl--play .i-pause { display: block; }
#videoMute .i-sound { display: none; }
#videoMute.is-unmuted .i-sound { display: block; }
#videoMute.is-unmuted .i-muted { display: none; }
.video-progress { position: relative; flex: 1; height: 16px; display: flex; align-items: center; cursor: pointer; }
.video-progress::before { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 4px; background: rgba(255,255,255,.18); }
.video-progress__buffer, .video-progress__fill { position: absolute; left: 0; height: 2px; border-radius: 4px; }
.video-progress__buffer { width: 0; background: rgba(255,255,255,.16); }
.video-progress__fill { width: 0; background: linear-gradient(90deg, #b28b4e, var(--gold-bright)); }
.video-progress__knob { position: absolute; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright); transform: translateX(-50%); box-shadow: 0 0 10px rgba(229,194,118,.7); opacity: 0; transition: opacity .2s; }
.video-progress:hover .video-progress__knob { opacity: 1; }
.video-time { color: rgba(255,255,255,.55); font-size: 7px; letter-spacing: .04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.video-loader { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(3,8,11,.45); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 5; }
.video-loader.is-on { opacity: 1; }
.video-loader span { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(229,194,118,.2); border-top-color: var(--gold); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.video-error { position: absolute; inset: 0; z-index: 6; display: none; align-items: center; justify-content: center; background: linear-gradient(140deg, #14252b, #0a1419); color: rgba(202,211,202,.6); font-size: 10px; letter-spacing: .1em; }
.video-error.is-on { display: flex; }
.video-module__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; color: rgba(158, 173, 162, .4); font-size: 7px; letter-spacing: .09em; }
.video-module__pulse { display: flex; align-items: center; gap: 5px; color: rgba(229, 194, 118, .43); }
.video-module__pulse i { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); animation: livePulse 2s infinite; }

/* 右：文字 */
.info-col { position: relative; min-height: 0; min-width: 0; }
.info-col__scroll { height: 100%; overflow-y: auto; padding: 3px 10px 8px 0; scrollbar-width: thin; scrollbar-color: rgba(229,194,118,.22) transparent; }
.info-col__scroll::-webkit-scrollbar { width: 4px; }
.info-col__scroll::-webkit-scrollbar-thumb { background: rgba(229,194,118,.2); border-radius: 8px; }
.spot-intro { padding-top: 3px; }
.spot-intro p { margin: 0 0 14px; color: rgba(205, 214, 205, .72); font-size: 12px; line-height: 2.05; letter-spacing: .035em; text-align: justify; }
.spot-intro p:first-child { color: rgba(223, 228, 218, .82); }
.spot-intro p:first-child::first-letter { float: left; margin: 9px 9px 0 0; color: var(--gold); font-family: var(--serif); font-size: 43px; line-height: .72; }
.spot-intro p:last-child { margin-bottom: 4px; }
.spot-section { margin-top: 24px; }
.section-title { display: flex; align-items: baseline; gap: 10px; margin-bottom: 13px; }
.section-title span { font-family: var(--serif); font-size: 14px; letter-spacing: .1em; color: rgba(239, 234, 222, .84); }
.section-title em { font-style: normal; font-size: 7px; letter-spacing: .18em; color: rgba(229,194,118,.46); }
.section-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(235,240,234,.10), transparent); }
.spot-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; margin: 0; }
.spot-facts > div { padding: 10px 11px; border: 1px solid rgba(235,240,234,.075); border-radius: 9px; background: rgba(235,240,234,.022); }
.spot-facts dt { color: rgba(155, 171, 161, .55); font-size: 8px; letter-spacing: .12em; }
.spot-facts dd { margin: 5px 0 0; color: rgba(227, 228, 216, .82); font-family: var(--serif); font-size: 13px; letter-spacing: .04em; line-height: 1.3; }
.spot-facts dd small { margin-left: 4px; font-family: var(--sans); font-size: 8px; color: var(--ink-muted); }
.spot-highlights { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.spot-highlights li { position: relative; padding-left: 16px; color: rgba(194, 205, 195, .67); font-size: 10px; line-height: 1.65; letter-spacing: .03em; }
.spot-highlights li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 4px; height: 4px; border: 1px solid rgba(229,194,118,.65); border-radius: 50%; }
.spot-highlights li strong { color: rgba(234, 230, 218, .9); font-weight: 500; }
.spot-quote { position: relative; margin: 25px 0 1px; padding: 14px 16px 14px 36px; border-left: 1px solid rgba(229,194,118,.22); background: linear-gradient(90deg, rgba(229,194,118,.035), transparent); }
.quote-mark { position: absolute; left: 11px; top: 7px; font-family: var(--serif); font-size: 31px; line-height: 1; color: rgba(229,194,118,.42); }
.spot-quote p { margin: 0; font-family: var(--serif); font-size: 11px; line-height: 1.8; letter-spacing: .1em; color: rgba(217, 215, 201, .58); }
.spot-source { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 12px; border-top: 1px solid rgba(235,240,234,.075); color: rgba(145, 160, 151, .38); font-size: 7px; letter-spacing: .06em; }
.spot-source a { color: rgba(229, 194, 118, .66); border-bottom: 1px solid rgba(229,194,118,.22); white-space: nowrap; transition: color .2s; }
.spot-source a:hover { color: var(--gold-bright); }

.spot-nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; flex: 0 0 53px; padding: 0 42px; border-top: 1px solid rgba(235,240,234,.08); }
.spot-nav__btn { display: flex; align-items: center; gap: 7px; color: rgba(183, 195, 184, .45); font-size: 8px; letter-spacing: .12em; transition: color .2s; }
.spot-nav__btn:hover { color: var(--gold-bright); }
.spot-nav__btn svg { width: 14px; height: 14px; }
.spot-nav__center { color: rgba(167, 178, 166, .22); font-family: var(--serif); font-size: 8px; letter-spacing: .3em; }

/* =========================================================
   关于弹窗
   ========================================================= */
.info-panel {
  position: relative;
  width: min(800px, calc(100vw - 68px));
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  padding: 42px 48px 28px;
  border: 1px solid rgba(229, 194, 118, .16);
  border-radius: 24px;
  background:
    radial-gradient(70% 40% at 90% 0%, rgba(194, 146, 75, .11), transparent 70%),
    linear-gradient(140deg, rgba(14, 25, 31, .97), rgba(8, 16, 21, .98));
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6), inset 0 1px rgba(255,255,255,.05);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  opacity: 0;
  transform: translateY(26px) scale(.98);
  transition: opacity .45s, transform .6s var(--ease-out);
}
.modal-shell.is-open .info-panel { opacity: 1; transform: none; }
.info-panel::-webkit-scrollbar { width: 4px; }
.info-panel::-webkit-scrollbar-thumb { background: rgba(229,194,118,.25); border-radius: 8px; }
.info-panel__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.info-panel__mark { width: 49px; height: 49px; display: grid; place-items: center; border: 1px solid rgba(229,194,118,.23); border-radius: 14px; color: var(--gold); background: rgba(229,194,118,.04); }
.info-panel__mark svg { width: 37px; height: 37px; }
.info-panel__eyebrow { display: block; margin-bottom: 7px; color: rgba(229,194,118,.62); font-size: 7px; letter-spacing: .28em; }
.info-panel h2 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: .08em; color: #f1ece0; }
.info-panel__lead { max-width: 640px; margin: 0 0 26px; color: rgba(199, 211, 201, .57); font-size: 11px; line-height: 2; letter-spacing: .05em; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.info-card { padding: 15px 15px 17px; border: 1px solid rgba(235,240,234,.08); border-radius: 11px; background: rgba(235,240,234,.022); }
.info-card__num { color: rgba(229,194,118,.44); font-family: var(--serif); font-size: 12px; letter-spacing: .08em; }
.info-card h3 { margin: 12px 0 7px; font-family: var(--serif); font-size: 14px; font-weight: 500; letter-spacing: .08em; color: rgba(239,232,218,.83); }
.info-card p { margin: 0; color: rgba(170, 184, 173, .55); font-size: 9px; line-height: 1.9; letter-spacing: .025em; }
.info-sources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(235,240,234,.08); }
.info-sources > div { display: flex; flex-direction: column; gap: 7px; }
.info-sources span { color: rgba(229, 194, 118, .46); font-size: 7px; letter-spacing: .17em; }
.info-sources strong { color: rgba(194, 203, 194, .55); font-size: 9px; line-height: 1.7; font-weight: 400; letter-spacing: .02em; }
.info-panel__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 25px; padding-top: 15px; border-top: 1px solid rgba(235,240,234,.08); color: rgba(160, 174, 163, .35); font-size: 7px; letter-spacing: .08em; }
.info-panel__foot span:first-child { display: flex; align-items: center; gap: 7px; }

/* =========================================================
   响应式 / 辅助
   ========================================================= */
@media (max-width: 1280px) {
  .topbar { grid-template-columns: minmax(190px, 1fr) minmax(280px, 380px) minmax(200px, 1fr); gap: 20px; padding: 23px 28px; }
  .hero { left: 42px; width: min(500px, 44vw); }
  .hero__title { font-size: clamp(66px, 7.2vw, 96px); }
  .legend { left: 28px; bottom: 66px; }
  .footline { left: 28px; right: 28px; }
  .hints { right: 28px; bottom: 63px; gap: 11px; }
  .compass { right: 31px; bottom: 119px; }
  .zoom-tools { right: 31px; }
  .spot-body { grid-template-columns: minmax(0, 1.04fr) minmax(340px, .96fr); gap: 24px; }
}
@media (max-width: 1080px) {
  .topbar { grid-template-columns: auto minmax(240px, 1fr) auto; }
  .brand__type small { display: none; }
  .hero { top: 24vh; }
  .hero__stats { gap: 18px; }
  .hero__stats > div { padding-right: 18px; }
  .hints__item:nth-child(2) { display: none; }
  .spot-head { padding-left: 30px; padding-right: 30px; }
  .spot-body { padding-left: 30px; padding-right: 30px; grid-template-columns: minmax(0, 1fr) minmax(315px, .92fr); gap: 20px; }
  .spot-nav { padding-left: 30px; padding-right: 30px; }
}
@media (max-height: 780px) and (min-width: 900px) {
  .hero { top: 21vh; }
  .hero__title { font-size: clamp(60px, 6.6vw, 88px); margin-top: 18px; margin-bottom: 18px; }
  .hero__lead { line-height: 1.9; }
  .hero__actions { margin-top: 22px; }
  .hero__stats { margin-top: 26px; }
  .spot-panel { height: calc(100vh - 40px); }
  .modal-shell { padding: 20px; }
  .spot-head { padding-top: 22px; padding-bottom: 12px; }
  .spot-head h2 { font-size: 33px; margin-top: 10px; }
  .video-frame { height: 130px; }
  .spot-nav { flex-basis: 46px; }
}
@media (max-width: 860px) {
  body { overflow-y: auto; }
  .topbar { grid-template-columns: 1fr auto; gap: 12px; padding: 17px 18px; }
  .brand__seal { width: 36px; height: 36px; }
  .brand__seal svg { width: 36px; height: 36px; }
  .brand__type strong { font-size: 18px; }
  .search { grid-column: 1 / -1; grid-row: 2; height: 42px; }
  .tools { gap: 2px; }
  .tools__rule, #fsBtn { display: none; }
  .icon-btn { width: 34px; height: 34px; }
  .icon-btn::after { display: none; }
  .hero { top: 165px; left: 24px; width: calc(100vw - 48px); }
  .hero__title { font-size: clamp(56px, 14vw, 82px); }
  .hero__lead { font-size: 11px; }
  .hero__stats { margin-top: 26px; gap: 13px; flex-wrap: wrap; }
  .hero__stats > div { padding-right: 13px; }
  .hero__stats > div:nth-child(4) { display: none; }
  .hero__stats strong { font-size: 18px; }
  .legend { display: none; }
  .hints { display: none; }
  .compass { display: none; }
  .zoom-tools { right: 18px; top: 47%; }
  .footline { left: 20px; right: 20px; bottom: 15px; font-size: 6px; }
  .footline__center { display: none; }
  .modal-shell { padding: 10px; align-items: stretch; }
  .spot-panel { width: 100%; height: calc(100vh - 20px); max-height: none; border-radius: 20px; overflow-y: auto; display: block; }
  .modal-close { position: fixed; top: 21px; right: 22px; }
  .spot-head { padding: 24px 21px 13px; }
  .spot-head__eyebrow { font-size: 7px; gap: 7px; }
  .spot-head__locate { display: none; }
  .spot-head h2 { font-size: 32px; padding-right: 35px; }
  .spot-head__sub > span { font-size: 10px; }
  .spot-body { display: block; padding: 0 21px 12px; }
  .gallery__stage { height: 240px; flex: none; }
  .gallery { display: block; }
  .gallery__thumbs { margin-top: 9px; height: 48px; flex: none; }
  .gallery-thumb { width: 68px; height: 48px; }
  .video-module { margin-top: 17px; }
  .video-frame { height: 180px; }
  .info-col { margin-top: 24px; }
  .info-col__scroll { height: auto; overflow: visible; padding-right: 0; }
  .spot-nav { padding: 10px 21px; border-top: 0; }
  .spot-nav__center { display: none; }
  .info-panel { width: 100%; max-height: calc(100vh - 20px); padding: 34px 22px 22px; border-radius: 20px; }
  .info-panel h2 { font-size: 23px; }
  .info-panel__lead { font-size: 10px; }
  .info-grid, .info-sources { grid-template-columns: 1fr; }
  .info-panel__foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
