/* ============================================================
 * style.css — 极客少年 汽车工坊（I.Lets Car PARK · Metaverse Map）
 * 科技 + 卡通 + 元宇宙风格的园区总地图：
 *   闸门开场 → 等距小岛建筑地图 → NFS 式斜切幕布传送
 * 无依赖 · 离线可用 · 双击 index.html 即可运行
 * ============================================================ */

:root {
  --acc: #22d3ee;
  --acc2: #ffb020;
  --hot: #ff3b30;
  --ink: #eaf6ff;
  --line: #22384c;
  --panel: rgba(10, 18, 28, .88);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: #04070c;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", system-ui, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
button { font-family: inherit; }

/* 背景基元（.fl-bg 网格/速度线/光条/暗角）与 #flWipe 幕布、.fl-cta 按钮
 * 已抽取至全园共用 nfs-base.css；本文件只保留公园专属样式。
 * 注意：#travel 需低于 #flWipe(700)，传送→跳转时幕布才能盖住画面 */
#travel {
  position: fixed; inset: 0; z-index: 650; display: none;
  align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 30%, #0e1826 0%, #070c13 62%, #04070c 100%);
}
#travel.on { display: flex; }
.tv-bg .fl-streak { animation-duration: 1.4s !important; }

/* ═══════════════════════════════
 * 开场闸门 #boot
 * ══════════════════════════════ */
#boot {
  position: fixed; inset: 0; z-index: 1000; display: flex;
  align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 30%, #0e1826 0%, #070c13 62%, #04070c 100%);
  transition: opacity .45s ease, visibility .45s;
}
#boot.off { opacity: 0; visibility: hidden; pointer-events: none; }
.bt-bg { position: absolute; inset: 0; overflow: hidden; }
.bt-box { position: relative; text-align: center; padding: 20px; }
.bt-logo { display: flex; justify-content: center; align-items: baseline; }
.bt-logo b {
  font-size: clamp(46px, 9.5vw, 104px); font-weight: 900; font-style: italic; letter-spacing: 3px;
  color: #fff; line-height: 1;
  text-shadow: 0 0 34px rgba(34, 211, 238, .55), 0 6px 0 rgba(6, 20, 32, .9);
  opacity: 0; transform: translateY(26px) skewX(-8deg);
  animation: letterIn .5s cubic-bezier(.2, .9, .3, 1.3) forwards;
  animation-delay: calc(var(--i) * 80ms + 150ms);
}
.bt-logo b.dot { color: var(--acc2); text-shadow: 0 0 30px rgba(255, 176, 32, .65); }
@keyframes letterIn { to { opacity: 1; transform: skewX(-8deg); } }
.bt-ring {
  position: absolute; left: 50%; top: 42%; width: 300px; height: 300px; margin: -150px 0 0 -150px;
  border: 2px solid rgba(34, 211, 238, .35); border-radius: 50%;
  transform: scale(.4); opacity: 0;
  animation: ringOut 1.4s cubic-bezier(.2, .8, .3, 1) .8s forwards;
}
@keyframes ringOut { 60% { opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.bt-line { height: 3px; margin: 18px auto 14px; width: min(430px, 74vw);
  background: linear-gradient(90deg, transparent, var(--acc), var(--acc2), transparent);
  transform: scaleX(0); animation: lineIn .7s cubic-bezier(.2, .8, .3, 1) 1s forwards; }
@keyframes lineIn { to { transform: scaleX(1); } }
.bt-sub { font-family: Consolas, monospace; letter-spacing: 6px; color: #7fb4cf; font-size: 13px; }
.bt-cn { font-size: clamp(18px, 3.4vw, 26px); font-weight: 700; color: #d9f1ff; margin-top: 10px; letter-spacing: 3px; }
.cta {
  position: relative; display: inline-block; cursor: pointer; margin-top: 34px;
  padding: 15px 52px; border: none; background: none; color: #06121c;
  transform: skewX(-10deg);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, .0);
}
.cta span, .cta i { display: block; }
.cta span {
  background: linear-gradient(115deg, #37e6ff, #19b8d8);
  font-size: 19px; font-weight: 900; letter-spacing: 8px; padding: 12px 30px;
  box-shadow: 0 8px 26px rgba(34, 211, 238, .35), inset 0 -3px 0 rgba(0, 0, 0, .18);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: filter .2s, transform .2s;
}
.cta i { font-family: Consolas, monospace; font-size: 11px; letter-spacing: 3px; color: #6fa3bd; margin-top: 8px; }
.cta:hover span { filter: brightness(1.18); transform: translateY(-2px); }
.cta:active span { transform: translateY(1px); }
.cta { opacity: 0; animation: fadeIn .5s ease 1.5s forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.bt-foot { margin-top: 30px; font-family: Consolas, monospace; font-size: 11.5px; letter-spacing: 2px; color: #4e6e85; }

/* ═══════════════════════════════
 * 应用框架：顶栏 / 地图 / 状态栏
 * ══════════════════════════════ */
#app { position: fixed; inset: 0; display: flex; flex-direction: column; }
#topbar {
  height: 54px; flex: 0 0 54px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px; position: relative; z-index: 50;
  background: linear-gradient(180deg, #0e1a28, #0a1420);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand .logo {
  width: 34px; height: 34px; display: grid; place-items: center; font-size: 19px;
  background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .4); border-radius: 8px;
  box-shadow: 0 0 14px rgba(34, 211, 238, .2);
}
.brand-txt .l1 { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.brand-txt .l1 b { font-size: 18px; color: #fff; }
.brand-txt .l1 .cn { font-size: 14px; color: var(--acc); letter-spacing: 2px; }
.brand-txt small { display: block; font-family: Consolas, monospace; font-size: 11px; letter-spacing: 2px; color: #527a93; }
.tb-right { display: flex; align-items: center; gap: 10px; }
.chip {
  font-family: Consolas, monospace; font-size: 13px; color: #9fc3d8;
  border: 1px solid var(--line); background: #0d1826; padding: 5px 11px; border-radius: 3px;
  display: inline-flex; gap: 6px; align-items: baseline; white-space: nowrap;
}
.chip b { color: #52ff9a; font-size: 15px; }
.clock { font-family: Consolas, monospace; font-size: 14px; color: #8fb5cc; letter-spacing: 1px; white-space: nowrap; }
#topbar button {
  background: #182231; border: 1px solid #33445c; color: #b6cadf;
  padding: 6px 13px; border-radius: 3px; cursor: pointer; font-size: 14px; white-space: nowrap;
}
#topbar button:hover { border-color: var(--acc2); color: #ffe3ad; }

#mapWrap { flex: 1; position: relative; overflow: hidden; display: flex;
  background:
    radial-gradient(90% 70% at 50% 30%, rgba(23, 46, 66, .55), transparent 70%),
    linear-gradient(rgba(34, 211, 238, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, .045) 1px, transparent 1px),
    linear-gradient(180deg, #071018 0%, #050a10 100%);
  background-size: auto, 46px 46px, 46px 46px, auto;
}
#sizer { position: relative; margin: auto; flex: 0 0 auto; }
#stage {
  position: absolute; left: 0; top: 0;
  transform-origin: 0 0;
}
#stage { width: 1600px; height: 1000px; }


#statusbar {
  height: 34px; flex: 0 0 34px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px; font-size: 13.5px; color: #9fb4c8; position: relative; z-index: 50;
  background: #0a1420; border-top: 1px solid var(--line); white-space: nowrap; overflow: hidden;
}
#statusbar .sb-right { font-family: Consolas, monospace; font-size: 12px; letter-spacing: 1px; }

/* ═══════════════════════════════
 * 地图天空：云 + 星尘
 * ══════════════════════════════ */
.sky { position: absolute; inset: 0; overflow: hidden; }
.cloud {
  position: absolute; display: block; width: 190px; height: 46px; border-radius: 60px;
  background: rgba(160, 210, 255, .07); filter: blur(6px);
  left: -260px;
  animation: drift var(--dd, 90s) linear infinite;
}
.cloud::before, .cloud::after { content: ''; position: absolute; border-radius: 50%; background: inherit; }
.cloud::before { width: 80px; height: 80px; left: 26px; top: -34px; }
.cloud::after { width: 56px; height: 56px; left: 100px; top: -22px; }
.cloud.c1 { top: 9%;  --cs: 1;    --dd: 80s;  animation-delay: 0s; }
.cloud.c2 { top: 22%; --cs: .7;   --dd: 95s;  animation-delay: 12s; }
.cloud.c3 { top: 58%; --cs: 1.25; --dd: 120s; animation-delay: 30s; }
.cloud.c4 { top: 76%; --cs: .85;  --dd: 88s;  animation-delay: 55s; }
.cloud.c5 { top: 36%; --cs: .9;   --dd: 108s; animation-delay: 24s; }
.cloud.c6 { top: 66%; --cs: .72;  --dd: 132s; animation-delay: 47s; }
.cloud.c7 { top: 13%; --cs: .6;   --dd: 92s;  animation-delay: 9s; }
/* 只动 transform（合成器层），不触发布局/重绘 */
@keyframes drift { from { transform: translateX(0) scale(var(--cs, 1)); } to { transform: translateX(2120px) scale(var(--cs, 1)); } }
/* ── 日月东升西落 + 星星（位置由 park.js 按真实时间驱动；z1 保证在夜色底之上） ── */
.orb-sun, .orb-moon { position: absolute; left: 0; top: 0; border-radius: 50%;
  opacity: 0; pointer-events: none; z-index: 1; }
.orb-sun { width: 90px; height: 90px;
  background: radial-gradient(circle at 38% 34%, #fff8d6, #ffd75e 52%, #ffb43b 70%, rgba(255, 170, 60, 0) 76%);
  box-shadow: 0 0 70px 22px rgba(255, 200, 90, .32); }
.orb-moon { width: 76px; height: 76px;
  background: radial-gradient(circle at 36% 32%, #ffffff, #e2ecff 55%, #b9cdf2 100%);
  box-shadow: 0 0 46px 12px rgba(185, 212, 255, .26), inset -12px -9px 0 rgba(150, 172, 214, .38); }
.orb-stars { position: absolute; left: 0; top: 0; width: 100%; height: 46%;
  opacity: 0; pointer-events: none; z-index: 1; }
#app.night .orb-stars { opacity: 1; }
#app.night .orb-moon { pointer-events: auto; cursor: help; }

/* 月亮悬停提示：月相 + 农历 */
#moonTip { position: fixed; z-index: 980; display: none; transform: translateX(-50%);
  background: linear-gradient(165deg, #14212f, #0b141e); border: 1px solid rgba(255, 220, 130, .55);
  border-radius: 8px; padding: 9px 14px; pointer-events: none; text-align: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .5); white-space: nowrap; }
#moonTip.on { display: block; }
#moonTip b { display: block; color: #ffe9b0; font-size: 14px; letter-spacing: 1px; }
#moonTip span { display: block; margin-top: 3px; font-family: Consolas, monospace;
  font-size: 12px; letter-spacing: 1px; color: #bfe0ff; }
.star { position: absolute; display: block; border-radius: 50%; background: #e6f3ff;
  box-shadow: 0 0 6px rgba(190, 225, 255, .9); opacity: .2;
  animation: twinkle var(--tw, 3s) ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .15; } 50% { opacity: .95; } }

/* ── 民航飞机：约 10 分钟随机方向直线飞过一次（轨迹由 park.js 驱动，合成器动画） ── */
.airliner { position: absolute; left: 0; top: 0; width: 34px; height: 19px;
  opacity: 0; pointer-events: none; z-index: 1; will-change: transform; }
.airliner svg { display: block; width: 100%; height: 100%; overflow: visible; }
.airliner .trail { position: absolute; right: 96%; top: 50%; width: 96px; height: 2.5px;
  transform: translateY(-50%); border-radius: 2px; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .5)); }
.airliner .strobe { animation: strobe 1.2s steps(1) infinite; }
@keyframes strobe { 0%, 9% { opacity: 1; } 10%, 100% { opacity: .15; } }

/* ── 背景色层：白天亮 / 早晨傍晚半暗 / 夜里暗（颜色由 park.js 按时间写入）。
 * 只垫在地图内容之下（z0 < 道路/建筑），不盖内容 —— 没有雾蒙蒙的感觉。
 * 建筑的“亮”交给夜晚灯效（光晕 + 窗灯），树的夜色由 .tree 单独压暗。 ── */
.sky-tint { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

/* ═══ 白天主题（#app 无 .night 时生效）：蓝天白云绿地、浅色净卡、2.5D 落地阴影 ═══ */
#app:not(.night) .cloud { background: rgba(255, 255, 255, .82); }
#app:not(.night) .plate { background: rgba(255, 255, 255, .94); border-color: rgba(45, 105, 150, .32);
  box-shadow: 0 5px 16px rgba(40, 90, 130, .18); }
#app:not(.night) .plate b { color: #0e2a3f; text-shadow: none; }
#app:not(.night) .plate span { color: #5288ab; text-shadow: none; }
#app:not(.night) .plate .st { color: #0a8a4a; border-color: rgba(10, 138, 74, .38); background: rgba(10, 138, 74, .07); }
#app:not(.night) .plate .st.soon { color: #b07818; border-color: rgba(176, 120, 24, .42); background: rgba(176, 120, 24, .08); }
#app:not(.night) .bld:not(.locked) .biso { filter: drop-shadow(0 16px 10px rgba(70, 110, 60, .30)); }
#app:not(.night) .holo { border-color: rgba(90, 140, 70, .35); background: rgba(120, 170, 90, .16);
  box-shadow: none; opacity: 1; }
/* 白天的 2.5D 接地细节：路基变草绿暗边 · 树影投右下 · 立牌柱/底座换日光配色 */
#app:not(.night) #roads .rc-case { stroke: #5c7a46; }
#app:not(.night) .tree { filter: drop-shadow(5px 6px 2px rgba(35, 60, 40, .30)); }
#app:not(.night) .cnode .post { background: linear-gradient(90deg, #6d8296, #d4e2ec 45%, #6d8296); }
#app:not(.night) .cnode .zoom::after { background: rgba(45, 75, 50, .35); border-color: rgba(255, 255, 255, .45); }

/* 四季：只做树冠换色（滤镜轻量实现），环境不变 */
#app.season-spring .tree::after { filter: hue-rotate(-95deg) saturate(.95) brightness(1.12) drop-shadow(0 4px 4px rgba(0, 0, 0, .35)); }
#app.season-summer .tree::after { filter: saturate(1.35) brightness(1.04) drop-shadow(0 4px 4px rgba(0, 0, 0, .35)); }
#app.season-autumn .tree::after { filter: hue-rotate(-130deg) saturate(1.15) drop-shadow(0 4px 4px rgba(0, 0, 0, .35)); }
#app.season-winter .tree::after { filter: grayscale(.85) brightness(1.28) drop-shadow(0 4px 4px rgba(0, 0, 0, .3)); }

/* ═══════════════════════════════
 * 道路（SVG）
 * ══════════════════════════════ */
#roads { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 0; transition: opacity .8s ease .1s;
  pointer-events: none; }   /* 纯装饰层：不拦截鼠标（否则会挡住月亮悬停/星空等） */
#app.go #roads { opacity: 1; }
/* 立体路基：主环道下垫一条更宽的深色底缘，路面像有厚度（环岛用 ring-case 同理） */
#roads .rc-case { fill: none; stroke: #0d1a2b; stroke-width: 21; stroke-linecap: round; }
#roads .rc { fill: none; stroke: #14243a; stroke-width: 15; stroke-linecap: round; }
#roads .rn {
  fill: none; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 12 16;
  animation: roadFlow 2s linear infinite;
  filter: drop-shadow(0 0 5px currentColor);
}
@keyframes roadFlow { to { stroke-dashoffset: -56; } }
#roads .ring-case { fill: none; stroke: #14243a; stroke-width: 17; }
#roads .ring {
  fill: none; stroke: rgba(34, 211, 238, .5); stroke-width: 4; stroke-dasharray: 14 12;
  animation: roadFlow 3s linear infinite reverse;
}
.toon { filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .5)); }

/* ═══════════════════════════════
 * 中央环岛广场
 * ══════════════════════════════ */
.plaza { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; z-index: 5; }
.pz-ring { position: absolute; border-radius: 50%; border: 2px solid rgba(34, 211, 238, .35); left: 0; top: 0; opacity: .5; }
.pz-ring.r1 { width: 150px; height: 92px; transform: translate(-50%, -50%); }
.pz-ring.r2 { width: 220px; height: 132px; transform: translate(-50%, -50%); border-style: dashed; }
.pz-core {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -58%);
  width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-items: center; font-size: 44px;
  background: radial-gradient(circle at 34% 28%, #1b3c55, #0b1c2c 72%);
  border: 3px solid rgba(34, 211, 238, .55);
  box-shadow: 0 0 34px rgba(34, 211, 238, .3), inset 0 0 24px rgba(34, 211, 238, .12);
}
.pz-core::before {
  content: ''; position: absolute; inset: -14px; border-radius: 50%;
  border: 2px dashed rgba(255, 176, 32, .4); animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
/* 中央环岛中心小车：夜间车灯。灯挂在 🚗 字符上（跟随字符定位），
 * 光束与车身保留 10px 间隙、向左（车头方向）射出；白天熄灭 */
.pz-core span { position: relative; display: block; }
#app.night .pz-core span { filter: drop-shadow(0 0 10px rgba(255, 220, 120, .85)); }
.pz-core .car-glow { position: absolute; right: calc(100% - 12px); top: calc(50% + 10px); transform: translateY(-50%);
  width: 54px; height: 30px; opacity: 0; pointer-events: none;
  background:
    radial-gradient(circle at 96% 50%, rgba(255, 247, 200, .95) 0 3px, transparent 4px),
    linear-gradient(270deg, rgba(255, 235, 160, .5), rgba(255, 235, 160, .04));
  clip-path: polygon(100% 30%, 100% 70%, 0% 100%, 0% 0%); }
#app.night .pz-core .car-glow { opacity: 1; }
/* 双闪灯：前后琥珀色灯点同步闪烁（夜间） */
.pz-core .car-hz { position: absolute; left: 7px; top: calc(56% + 3px); width: 5px; height: 4px; border-radius: 1.5px;
  background: #ffb020; opacity: 0; pointer-events: none;
  box-shadow: 39px -1px 0 #ffb020, 0 0 7px 1px rgba(255, 176, 32, .95), 39px -1px 7px 1px rgba(255, 176, 32, .95); }
#app.night .pz-core .car-hz { animation: hzBlink 1s linear infinite; }
@keyframes hzBlink { 0%, 49.9% { opacity: 1; } 50%, 100% { opacity: 0; } }
.pz-name {
  position: absolute; left: 0; top: 64px; transform: translateX(-50%);
  white-space: nowrap; font-size: 19px; font-weight: 900; font-style: italic; letter-spacing: 2px;
  color: #bfeaff; text-shadow: 0 0 12px rgba(34, 211, 238, .6);
}
.pz-here {
  position: absolute; left: 0; top: 96px; transform: translateX(-50%);
  white-space: nowrap; display: flex; align-items: center; gap: 6px;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  font-size: 14.5px; font-weight: 700; letter-spacing: 3px; color: #52ff9a;
  text-shadow: 0 0 10px rgba(82, 255, 154, .45);
}
.pz-here i { width: 8px; height: 8px; border-radius: 50%; background: #52ff9a; box-shadow: 0 0 10px #52ff9a; animation: blink 1.2s ease infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ═══ 中央广场 · 白天配色（浅绿草地/浅蓝天空上的可读性）═══
 * 定位、字号与夜间完全一致，只换墨色与描边：深墨 + 白晕代替霓虹光 */
#app:not(.night) .pz-name { color: #0b4a6f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .8), 0 3px 8px rgba(255, 255, 255, .45); }
#app:not(.night) .pz-here { color: #0a6b3d;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .8), 0 3px 8px rgba(255, 255, 255, .45); }
#app:not(.night) .pz-here i { background: #0a8a4a; box-shadow: 0 0 8px rgba(10, 138, 74, .55); }
#app:not(.night) .pz-ring { border-color: rgba(13, 110, 145, .6); opacity: .85; }
#app:not(.night) .pz-core { border-color: rgba(14, 116, 144, .65);
  box-shadow: 0 12px 26px rgba(40, 70, 45, .28), inset 0 0 24px rgba(34, 211, 238, .10); }
#app:not(.night) .pz-core::before { border-color: rgba(176, 122, 24, .55); }
#app:not(.night) #clegend .cl-t { color: #0d3a52;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .65); }
#app:not(.night) #clegend .cl-t b { color: #082a3e; }

/* ═══════════════════════════════
 * 园区建筑（等距小方块 · 卡通霓虹）
 * 锚点 = 占地中心 (var(--x), var(--y))
 * ══════════════════════════════ */
.bld { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; z-index: 6; cursor: pointer; }
/* 建筑本体缩放壳：beam/iso/屋顶图标随壳等比缩小（锚点为缩放原点），
 * 名牌 .plate 与全息底座 .holo 在壳外，保持原大不参与缩放 */
.bd { position: absolute; left: 0; top: 0; width: 0; height: 0;
  transform: scale(var(--bs, .8)); transform-origin: 0 0; }
.bld .beam, .bld .holo { pointer-events: none; }   /* 纯装饰层不拦截点击 */
.bld .biso, .bld .plate, .bld .track, .bld .bld-ico, .bld .lock { cursor: pointer; }
.bld.locked .biso, .bld.locked .plate, .bld.locked .bld-ico, .bld.locked .lock { cursor: not-allowed; }

/* 元宇宙光柱（贴建筑本体，不再高出屋顶） */
.beam {
  position: absolute; left: -30px; top: -150px; width: 60px; height: 140px; display: block;
  background: linear-gradient(to top, var(--cm), transparent 78%);
  opacity: .16; filter: blur(9px); border-radius: 50% 50% 0 0 / 18% 18% 0 0;
}

/* 全息底座 */
.holo {
  position: absolute; left: -76px; top: -20px; width: 152px; height: 42px; border-radius: 50%;
  border: 2px dashed var(--cm); opacity: .5;
  box-shadow: 0 0 18px rgba(0, 0, 0, .4), inset 0 0 16px var(--cm);
}

/* 建筑主体：每馆独立 SVG 造型（viewBox 150×176，锚点与旧 .iso 一致：
 * 左 -75 / 上 -196，底边距锚点 20px 落在全息底座上） */
.biso { position: absolute; left: -75px; top: -196px; width: 150px; height: 176px;
  display: block; overflow: visible; pointer-events: bounding-box; }
.biso .fc { fill: var(--cl); }   /* 受光顶面 */
.biso .fm { fill: var(--cm); }   /* 中间色墙面 */
.biso .fd { fill: var(--cd); }   /* 暗色墙面 */
.biso .skm { stroke: var(--cm); }
/* 试车场：椭圆赛道底座替代方块 */
.track {
  position: absolute; left: -95px; top: -78px; width: 190px; height: 96px; border-radius: 50%;
  background: #243447;
  border: 9px solid #e2e8f0;
  box-shadow: 0 0 0 3px #c0392b, inset 0 0 22px rgba(0, 0, 0, .55), 0 0 24px rgba(255, 59, 48, .25);
}
.track i {
  position: absolute; left: 50%; top: 50%; width: 108px; height: 44px; border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 3px dashed rgba(255, 255, 255, .5);
}

/* 场馆图标（取消悬空大图标）：小号 emoji 嵌在屋顶菱形正中，
 * 完全处于建筑剪影内，不与邻区名牌/图标发生任何重叠 */
.bld-ico {
  position: absolute; left: -34px; top: -140px; font-size: 36px; line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5));
  animation: icoFloat 3.2s ease-in-out infinite;
  animation-delay: calc(var(--d) * -.4s);
}
.bld-ico .ico-svg { display: block; }
@keyframes icoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* 名牌（大字号高易读版：标题 30px / 英文 15.5px / 状态 16px）
 * 宽度随文字内容自适应（max-content 居中），短名不占宽、长名不折行 */
.plate {
  position: absolute; left: 0; top: -14px; width: max-content; max-width: 260px; text-align: center;
  background: var(--panel); border: 2px solid var(--cm); border-radius: 9px;
  padding: 11px 16px 12px; box-shadow: 0 6px 18px rgba(0, 0, 0, .5), 0 0 14px rgba(0, 0, 0, .25);
  backdrop-filter: blur(2px);
  transform: translateX(-50%) skewX(-3deg);
}
.plate b { display: block; font-size: 30px; font-weight: 900; color: #fff; letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .65); }
.plate span { display: block; font-family: Consolas, monospace; font-size: 15.5px; letter-spacing: 1.5px; color: #8fb9d4; margin-top: 4px; }
.plate .st { display: inline-block; margin-top: 8px; font-style: normal; font-family: Consolas, monospace;
  font-size: 16px; letter-spacing: 1px; color: #52ff9a;
  border: 1px solid rgba(82, 255, 154, .45); background: rgba(82, 255, 154, .08);
  padding: 3px 14px; border-radius: 20px; }
.plate .st.soon { color: #ffb020; border-color: rgba(255, 176, 32, .45); background: rgba(255, 176, 32, .08); }

/* 未开放：灰调 + 施工警示带 + 锁 */
.bld.locked { cursor: not-allowed; }
.bld.locked .biso, .bld.locked .bld-ico, .bld.locked .beam { filter: grayscale(.9) brightness(.62); }
.bld.locked .holo { border-color: #64748b; box-shadow: none; opacity: .35; animation: none; }
.bld.locked .plate { border-color: #3f556b; }
.bld.locked .bd::after {
  content: ''; position: absolute; left: -52px; top: -120px; width: 104px; height: 11px;
  transform: rotate(-14deg); border-radius: 3px; opacity: .85;
  background: repeating-linear-gradient(45deg, #facc15 0 10px, #111827 10px 20px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .5);
}
.lock { position: absolute; left: 26px; top: -150px; font-size: 20px; font-style: normal;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); animation: icoFloat 3.2s ease-in-out infinite; }

/* ─── 多样式建筑：SVG 造型内部动画 + 各馆图标落点 ─── */
.an-spin { transform-box: fill-box; transform-origin: center; animation: spin 4.5s linear infinite; }
.an-puff { transform-box: fill-box; transform-origin: center; animation: puff 2.6s ease-in-out infinite; }
.an-flag { transform-box: fill-box; transform-origin: left center; animation: flagWave 2.4s ease-in-out infinite; }
.an-beam { animation: beamGlow 3.2s ease-in-out infinite; }
@keyframes beamGlow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes puff {
  0% { transform: translateY(0) scale(.5); opacity: .95; }
  70% { opacity: .4; }
  100% { transform: translateY(-14px) scale(1.3); opacity: 0; }
}
@keyframes flagWave { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.72); } }

/* 各馆屋顶图标落点：贴合每馆造型的视觉中心（默认位仅试车场赛道使用） */
.bld[data-key="wind"] .bld-ico { left: -18px; top: -134px; }
.bld[data-key="factory"] .bld-ico { left: -18px; top: -152px; }
.bld[data-key="garage"] .bld-ico { left: -18px; top: -124px; }
.bld[data-key="crash"] .bld-ico { left: -18px; top: -109px; }
.bld[data-key="brake"] .bld-ico { left: -18px; top: -118px; }
.bld[data-key="hill"] .bld-ico { left: -23px; top: -94px; }
.bld[data-key="susp"] .bld-ico { left: -18px; top: -146px; }
.bld[data-key="hallD"] .bld-ico { left: -18px; top: -104px; }
.bld[data-key="f1e"] .bld-ico { left: -37px; top: -122px; }
.bld[data-key="study"] .bld-ico { left: -18px; top: -102px; }
.bld[data-key="esports"] .bld-ico { left: -18px; top: -102px; }
.bld[data-key="esports"] .lock { left: 14px; top: -118px; }

/* 入场：建筑逐个弹出 */
.bld { opacity: 0; transform: translateY(26px) scale(.85); }
#app.go .bld {
  animation: popIn .55s cubic-bezier(.2, .9, .3, 1.25) forwards;
  animation-delay: calc(var(--d) * 110ms + 120ms);
}
@keyframes popIn { to { opacity: 1; transform: none; } }

/* 悬停：上浮发光 */
@media (hover: hover) {
  .bld.open:hover .biso, .bld.open:hover .bld-ico { animation-play-state: paused; }
  .bld.open:hover { z-index: 30; }
  .bld.open:hover .biso { transform: translateY(-7px); transition: transform .22s ease; }
  .bld.open:hover .plate { border-color: var(--cl); box-shadow: 0 8px 24px rgba(0, 0, 0, .55), 0 0 22px var(--cm); }
  .bld.open:hover .bld-ico { filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)) drop-shadow(0 0 14px var(--cm)); }
}
.bld.open:active .biso { transform: translateY(-2px) scale(.97); }

/* 点击未开放：抖动抗议 */
.bld.shake { animation: shakeX .5s cubic-bezier(.36, .07, .19, .97); }
@keyframes shakeX {
  10%, 90% { margin-left: -3px; } 20%, 80% { margin-left: 5px; }
  30%, 50%, 70% { margin-left: -8px; } 40%, 60% { margin-left: 8px; }
}

/* ═══════════════════════════════
 * 植被 / 指南针
 * ══════════════════════════════ */
.tree { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; z-index: 4; display: block;
  transform: scale(var(--s, 1)); }
.tree::before { /* 树干 */
  content: ''; position: absolute; left: -4px; top: -26px; width: 8px; height: 28px;
  background: linear-gradient(90deg, #7c4a21, #a0622d); border-radius: 3px;
}
.tree::after { /* 树冠 */
  content: ''; position: absolute; left: -22px; top: -66px; width: 44px; height: 46px;
  background: radial-gradient(circle at 34% 26%, rgba(255, 255, 255, .4) 0 16%, var(--tc) 42%, transparent 44%);
  border-radius: 50% 50% 46% 46%;
  box-shadow: inset -5px -7px 0 rgba(0, 0, 0, .16);
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .35));
}
.compass {
  position: absolute; left: 26px; bottom: 24px; width: 68px; height: 68px; border-radius: 50%;
  border: 2px solid rgba(34, 211, 238, .4); background: rgba(8, 16, 26, .7);
  display: grid; place-items: center; z-index: 4;
  font-family: Consolas, monospace; color: #9fd8ea; font-size: 13px; letter-spacing: 1px;
}
.compass i {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0; 
  border-left: 6px solid transparent; border-right: 6px solid transparent;
  border-bottom: 22px solid var(--acc2); transform: translate(-50%, -100%);
  filter: drop-shadow(0 0 4px rgba(255, 176, 32, .6));
}
.compass span { position: absolute; top: 5px; }

/* 路牌：更多园区筹建中（竖屏地图末端） */
.signpost { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; z-index: 4; }
.signpost::before {
  content: ''; position: absolute; left: -4px; top: -58px; width: 8px; height: 60px;
  background: linear-gradient(90deg, #7c4a21, #a0622d); border-radius: 3px;
}
.signpost span {
  position: absolute; left: -96px; top: -104px; width: 192px; text-align: center;
  padding: 8px 6px 7px; background: #132435; border: 2px solid #2c4a63; border-radius: 8px;
  color: #9fd8ea; font-size: 12.5px; font-weight: 700; letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .45); transform: rotate(-2deg);
}
.signpost span i {
  display: block; font-style: normal; font-family: Consolas, monospace;
  font-size: 9px; letter-spacing: 2px; color: #527a93; margin-top: 3px;
}
.signpost { opacity: 0; }
#app.go .signpost {
  animation: popIn .55s cubic-bezier(.2, .9, .3, 1.25) forwards;
  animation-delay: 1.1s;
}

/* ═══════════════════════════════
 * 悬浮档案卡 #tip（桌面）
 * ══════════════════════════════ */
#tip {
  position: fixed; z-index: 400; width: 292px; display: none; pointer-events: none;
  background: linear-gradient(165deg, rgba(13, 26, 40, .96), rgba(8, 14, 22, .97));
  border: 1px solid var(--line); border-left: 3px solid var(--acc);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  padding: 14px 16px 14px;
}
#tip.on { display: block; animation: tipIn .18s ease; }
@keyframes tipIn { from { opacity: 0; transform: translateY(6px); } }
#tip b { font-size: 18px; color: #fff; }
#tip span { display: block; font-family: Consolas, monospace; font-size: 11px; letter-spacing: 2px; color: #6f9ab3; margin: 3px 0 8px; }
#tip p { font-size: 13.5px; line-height: 1.7; color: #c3dce9; }
#tip em { display: block; margin-top: 9px; font-style: normal; font-family: Consolas, monospace;
  font-size: 12px; letter-spacing: 1px; color: var(--acc2); }
#tip.lock { border-left-color: #64748b; }
#tip.lock em { color: #8fa3b3; }

/* ═══════════════════════════════
 * NFS 式跳转画面 #travel（定位/层级见文件头部；幕布 #flWipe 用 nfs-base.css）
 * ══════════════════════════════ */
.tv-box { position: relative; text-align: center; padding: 20px; }
.tv-tag {
  font-family: Consolas, monospace; font-size: 12px; letter-spacing: 5px; color: var(--acc2);
  border: 1px solid rgba(255, 176, 32, .5); display: inline-block; padding: 4px 16px;
  transform: skewX(-10deg); background: rgba(255, 176, 32, .08);
  animation: tagIn .3s cubic-bezier(.2, .9, .3, 1.2) both;
}
@keyframes tagIn { from { opacity: 0; transform: skewX(-10deg) translateX(-40px); } }
.tv-ico { font-size: 76px; line-height: 1; margin: 22px 0 6px; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .6));
  animation: icoZoom .5s cubic-bezier(.2, .9, .3, 1.35) .1s both; }
@keyframes icoZoom { from { opacity: 0; transform: scale(2.2); } }
.tv-name {
  font-size: clamp(40px, 7vw, 64px); font-weight: 900; font-style: italic; letter-spacing: 4px; color: #fff;
  text-shadow: 0 0 34px var(--tvc, rgba(34, 211, 238, .6)), 0 5px 0 rgba(6, 20, 32, .9);
  transform: skewX(-8deg);
  animation: nameIn .45s cubic-bezier(.2, .9, .3, 1.2) .18s both;
}
@keyframes nameIn { from { opacity: 0; transform: skewX(-8deg) translateX(70px); } }
.tv-en { font-family: Consolas, monospace; font-size: 14px; letter-spacing: 6px; color: #7fb4cf; margin-top: 8px;
  animation: fadeIn .4s ease .35s both; }
.tv-bar {
  width: min(420px, 72vw); height: 8px; margin: 26px auto 0; background: #0d1a28;
  border: 1px solid #24425a; transform: skewX(-18deg); overflow: hidden;
}
.tv-bar i { display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--acc), var(--acc2));
  box-shadow: 0 0 16px rgba(34, 211, 238, .7);
  transition: width .12s linear; }
.tv-foot { margin-top: 22px; font-family: Consolas, monospace; font-size: 11px; letter-spacing: 3px; color: #4e6e85;
  animation: fadeIn .4s ease .4s both; }

/* 斜切幕布 #flWipe 已统一使用 nfs-base.css（全园同款动画与配色） */

/* ═══════════════════════════════
 * 指南弹窗 / 提示
 * ══════════════════════════════ */
.modal { position: fixed; inset: 0; z-index: 850; display: none; align-items: center; justify-content: center;
  background: rgba(3, 7, 12, .72); backdrop-filter: blur(3px); }
.modal.on { display: flex; }
.modal .box {
  width: min(560px, 92vw); max-height: 86vh; overflow-y: auto;
  background: linear-gradient(165deg, #0e1a26 0%, #0a121c 55%, #070d15 100%);
  border: 1px solid var(--line); border-top: 3px solid var(--acc);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  padding: 24px 28px 26px;
}
.modal h2 { font-size: 26px; font-weight: 900; font-style: italic; letter-spacing: 2px; color: #fff;
  transform: skewX(-6deg); transform-origin: left center; text-shadow: 0 0 24px rgba(34, 211, 238, .45); }
.modal h2::before { content: '▸'; color: var(--acc); }
.gd-list { list-style: none; margin-top: 16px; }
.gd-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 4px;
  border-bottom: 1px solid #1c2e3e; }
.gd-list i { font-style: normal; font-size: 24px; line-height: 1.2; }
.gd-list b { font-size: 14.5px; color: #eaf6ff; margin-right: 8px; }
.gd-list em { font-style: normal; font-family: Consolas, monospace; font-size: 10px; letter-spacing: 1px;
  color: #52ff9a; border: 1px solid rgba(82, 255, 154, .4); padding: 1px 7px; border-radius: 10px; }
.gd-list li.off em { color: #ffb020; border-color: rgba(255, 176, 32, .4); }
.gd-list p { font-size: 12px; color: #9dbccb; margin-top: 3px; line-height: 1.6; }
.gd-list li.off i, .gd-list li.off b { opacity: .6; }
.gd-tip { margin-top: 14px; font-size: 12px; color: #7fb4cf; line-height: 1.7; }
.btn {
  cursor: pointer; border: none; color: #06121c; font-weight: 900; font-size: 14px; letter-spacing: 3px;
  padding: 10px 34px; transform: skewX(-10deg);
  background: linear-gradient(115deg, #37e6ff, #19b8d8);
  box-shadow: 0 6px 18px rgba(34, 211, 238, .3);
}
.btn:hover { filter: brightness(1.15); }

#toast {
  position: fixed; left: 50%; bottom: 52px; transform: translateX(-50%) translateY(20px);
  z-index: 860; display: inline-block; padding: 10px 22px;
  background: linear-gradient(165deg, #14212f, #0b141e); border: 1px solid rgba(255, 176, 32, .55);
  color: #ffe3ad; font-size: 14px; letter-spacing: 1px; white-space: nowrap;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .5);
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
#toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 统一管理后台入口（右下角，低调） */
#adminLink {
  position: fixed; right: 10px; bottom: 38px; z-index: 60;
  color: #3d5a72; text-decoration: none; font-family: Consolas, monospace;
  font-size: 11px; letter-spacing: 1px; opacity: .7;
}
#adminLink:hover { color: var(--acc); opacity: 1; }

/* ═══ 子系统外壳容器：父页面保持全屏，子系统内嵌运行 ═══ */
#sysFrame { position: fixed; inset: 0; z-index: 700; background: #04070c; }
#sysFrame[hidden] { display: none; }
#sysIframe { display: block; width: 100%; height: 100%; border: none; background: #04070c; }
body.shell-open #app { visibility: hidden; }   /* 隐藏地图但保留状态，返回即现 */

/* ═══ 窄屏 / 竖屏微调 ═══ */
/* 夜晚烟火（5~9 秒一朵）：星点预绘成 box-shadow 层，只跑 scale+opacity（合成器友好） */
.fw { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 26px 10px rgba(255, 255, 255, .55);
  pointer-events: none; opacity: 0; animation: fwGo 1.3s ease-out forwards; z-index: 9; }
.fw::before, .fw::after { content: ''; position: absolute; left: -2px; top: -2px;
  width: 4px; height: 4px; border-radius: 50%; }
.fw::before { box-shadow: 30px 0 var(--c1), -30px 0 var(--c1), 0 30px var(--c1), 0 -30px var(--c1),
  21px 21px var(--c1), -21px 21px var(--c1), 21px -21px var(--c1), -21px -21px var(--c1),
  38px 0 var(--c1), -38px 0 var(--c1), 0 38px var(--c1), 0 -38px var(--c1); }
.fw::after { box-shadow: 52px 0 var(--c2), -52px 0 var(--c2), 0 52px var(--c2), 0 -52px var(--c2),
  37px 37px var(--c2), -37px 37px var(--c2), 37px -37px var(--c2), -37px -37px var(--c2),
  15px 15px var(--c2), -15px 15px var(--c2), 15px -15px var(--c2), -15px -15px var(--c2); }
.fw.fw-1 { --c1: #ffe28a; --c2: #ff9d5c; }
.fw.fw-2 { --c1: #ffb3d1; --c2: #c9b6ff; }
.fw.fw-3 { --c1: #a7f0ff; --c2: #ffe28a; }
@keyframes fwGo {
  0%   { transform: scale(.1); opacity: 1; }
  30%  { opacity: 1; }
  55%  { transform: scale(1.1); opacity: .95; }
  100% { transform: scale(2.1); opacity: 0; }
}

/* 夜晚亮灯：建筑暖光晕加强 + 窗灯点加大加亮（白天不亮）；小车开大灯 */
#app.night .bld:not(.locked) .biso,
#app.night .bld:not(.locked) .track {
  filter: drop-shadow(0 0 7px rgba(255, 205, 120, .55)) drop-shadow(0 0 26px rgba(255, 180, 80, .42)) brightness(1.16);
}
#app.night .tree { filter: brightness(.55) saturate(.7); }
.winlight { position: absolute; width: 7px; height: 5px; border-radius: 2px;
  background: #ffe2a0; box-shadow: 0 0 9px 2px rgba(255, 200, 110, 1);
  opacity: 0; pointer-events: none; }
#app.night .winlight { opacity: 1; }
.car-light, .car-tail { opacity: 0; }
#app.night .car-light { opacity: 1; }
#app.night .car-tail { opacity: .9; }

/* ═══ 竖屏：Xbox360 式横向英雄选择台（一次一个园区，左右移动切换） ═══ */
@media (prefers-reduced-motion: reduce) {
  .fl-streak, .fl-speed, .fl-grid, .cloud, .pz-core::before, .star, .bld-ico, .lock, .fw,
  #roads .rn, #roads .ring,
  .an-spin, .an-puff, .an-flag, .an-beam { animation: none !important; }
  #app.night .pz-core .car-hz { opacity: 1; }   /* 双闪常亮不闪 */
}


/* ═══════════════════════════════════════════════════════════
 * 园区导航中心 #navView（默认视图）：分区编组的科技卡片矩阵
 * 与地图视图 #mapWrap 通过顶栏 viewBtn 互斥切换
 * ═══════════════════════════════════════════════════════════ */
#navView { flex: 1; position: relative; overflow: hidden; display: none; flex-direction: column;
  background:
    radial-gradient(90% 70% at 50% 18%, rgba(20, 42, 62, .50), transparent 70%),
    linear-gradient(rgba(34, 211, 238, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, .035) 1px, transparent 1px),
    linear-gradient(180deg, #061019 0%, #04090f 100%);
  background-size: auto, 46px 46px, 46px 46px, auto; }
body.nav-on #navView { display: flex; }
body.nav-on #mapWrap { display: none; }
/* 英雄标题区 */
.nv-hero { flex: 0 0 auto; padding: 20px 36px 10px; display: flex; align-items: baseline; gap: 20px;
  border-bottom: 1px solid rgba(34, 211, 238, .14); }
.nv-title { font-size: 25px; font-weight: 900; font-style: italic; letter-spacing: 3px; color: #eaf6ff;
  text-shadow: 0 0 18px rgba(34, 211, 238, .45); }
.nv-title b { display: block; font: 700 10px Consolas, monospace; letter-spacing: 5px;
  color: #4e7e99; font-style: normal; margin-top: 3px; }
.nv-sub { margin-left: auto; font: 12.5px Consolas, monospace; color: #5d8ba5; letter-spacing: 1px; }
/* 滚动区与分组 */
.nv-scroll { flex: 1; overflow-y: auto; padding: 18px 36px 26px; scrollbar-width: thin;
  scrollbar-color: #1e3a52 transparent; }
.nv-groups { display: flex; flex-direction: column; gap: 20px; max-width: 1560px; }
.nv-group { display: flex; gap: 18px; align-items: stretch; }
.nv-g-rail { flex: 0 0 148px; border-left: 3px solid var(--gc, #22d3ee); padding: 8px 0 4px 14px;
  display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.nv-g-rail b { font-size: 16.5px; font-weight: 800; color: #d8ecfa; letter-spacing: 2px; }
.nv-g-rail em { font-style: normal; font: 700 9px Consolas, monospace; letter-spacing: 2.5px;
  color: var(--gc, #22d3ee); opacity: .85; }
.nv-g-rail i { font-style: normal; font: 11px Consolas, monospace; color: #50708a; }
.nv-g-cards { flex: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: 12px; align-content: start; }
/* 站点卡片：斜切科技模块（内容反向斜切保持水平） */
.nv-card { position: relative; transform: skewX(-7deg); border: 1px solid #1d3348; background:
    linear-gradient(160deg, rgba(16, 30, 46, .92), rgba(9, 17, 27, .94));
  border-radius: 3px; padding: 13px 15px 12px; cursor: pointer; user-select: none;
  transition: border-color .16s, box-shadow .16s, transform .16s; }
.nv-card > div { transform: skewX(7deg); }
.nv-card:hover { border-color: var(--gc, #22d3ee); transform: skewX(-7deg) translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .45), 0 0 16px var(--gg, rgba(34, 211, 238, .22)); }
.nv-card:active { transform: skewX(-7deg) scale(.98); }
.nv-card .hd { display: flex; align-items: center; gap: 9px; }
.nv-card .ico { font-size: 23px; line-height: 1; filter: drop-shadow(0 0 8px var(--gg, rgba(34,211,238,.5))); }
.nv-card .nm { font-size: 15px; font-weight: 800; color: #eaf4fc; letter-spacing: 1px; white-space: nowrap; }
.nv-card .en { font: 9px Consolas, monospace; letter-spacing: 1.6px; color: #4e7e99; margin-top: 1px; }
.nv-card .st { margin-left: auto; width: 9px; height: 9px; border-radius: 50%;
  background: #52ff9a; box-shadow: 0 0 8px #52ff9a; }
.nv-card.locked .st { background: #64748b; box-shadow: none; }
.nv-card.locked { cursor: not-allowed; }
.nv-card.locked .nm { color: #7c8ea0; }
.nv-card.locked .ico { filter: grayscale(.8); opacity: .6; }
.nv-card .ds { margin-top: 8px; font-size: 11px; line-height: 1.55; color: #7d99b0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nv-card .go { position: absolute; right: 12px; bottom: 9px; font: 700 10px Consolas, monospace;
  color: var(--gc, #22d3ee); opacity: 0; transition: opacity .15s; letter-spacing: 1px; }
.nv-card:hover .go { opacity: .95; }
.nv-foot { margin-top: 20px; text-align: center; font: 11px Consolas, monospace; color: #3d5a72;
  letter-spacing: 2px; }
/* 入场：卡片默认可见（不依赖动画点亮——系统禁用动画也不会消失），
 * .go 后 backwards 填充从 from 态错峰淡入上移 */
#app.go .nv-card { opacity: 1; animation: nvIn .5s ease backwards; animation-delay: calc(var(--i) * 45ms + 180ms); }
@keyframes nvIn { from { opacity: 0; transform: skewX(-7deg) translateY(14px); } }
/* 窄屏兜底：卡片收紧、分组纵排 */
@media (max-width: 900px) {
  .nv-group { flex-direction: column; gap: 8px; }
  .nv-g-rail { flex: none; flex-direction: row; align-items: baseline; gap: 10px; border-left-width: 3px; }
  .nv-g-rail b { font-size: 14px; }
  .nv-hero { padding: 12px 16px 8px; }
  .nv-scroll { padding: 12px 16px 18px; }
}

/* ═══════════════════════════════════════════════════════════
 * 赛道站点图 #cnodes：2.5D 沙盘 —— 等距建筑回归做主体（立绘本就是
 * 带正面/顶面的伪 3D），站点缩为「底座贴地 + 立柱 + 悬空圆盘」指示牌
 * ═══════════════════════════════════════════════════════════ */
/* 建筑名牌与立牌路牌重复，地图沙盘统一用立牌 */
.bld .plate { display: none !important; }
#cnodes { position: absolute; inset: 0; pointer-events: none; z-index: 7; }
/* 锚点 = 地面落点：立牌从地面点向上生长 */
.cnode { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -100%);
  pointer-events: auto; cursor: pointer; user-select: none; }
/* 站点圆标 */
.cnode .dot { position: relative; display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #182c42, #0a141f 75%);
  border: 2px solid var(--c, #22d3ee); font-size: 17px; font-style: normal;
  box-shadow: 0 0 14px -2px var(--c, #22d3ee), inset 0 0 8px rgba(0, 0, 0, .5);
  transition: transform .15s, box-shadow .15s; }
.cnode .dot::before { content: ''; position: absolute; right: -2px; top: -2px; width: 9px; height: 9px;
  border-radius: 50%; background: #52ff9a; border: 1.5px solid #0a141f; box-shadow: 0 0 6px #52ff9a; }
.cnode.locked .dot::before { background: #64748b; box-shadow: none; }
.cnode.locked .dot { filter: grayscale(.85); }
.cnode:hover .dot { transform: scale(1.22); box-shadow: 0 0 22px -2px var(--c), inset 0 0 8px rgba(0,0,0,.5); }
/* 脉冲外环 */
.cnode .dot::after { content: ''; position: absolute; inset: -7px; border-radius: 50%;
  border: 1.5px solid var(--c, #22d3ee); opacity: 0; animation: cnodePulse 3.2s ease-out infinite; }
@keyframes cnodePulse { 0% { transform: scale(.7); opacity: .5; } 70% { transform: scale(1.25); opacity: 0; } 100% { opacity: 0; } }
/* 统一规格路牌：方位由 lb-t / lb-b / lb-l / lb-r 决定 */
.cnode .lb { position: absolute; width: max-content; max-width: 205px;
  background: rgba(6, 12, 20, .78); border: 1px solid rgba(148, 180, 205, .16);
  border-radius: 3px; padding: 3px 9px 4px; backdrop-filter: blur(2px); }
.cnode .lb b { display: block; font-size: 12.5px; font-weight: 700; color: #e8f2fb;
  letter-spacing: 1px; white-space: nowrap; }
.cnode .lb em { display: block; font: 8.5px Consolas, monospace; font-style: normal;
  color: #5d8ba5; letter-spacing: 1.2px; margin-top: 1px; white-space: nowrap; }
.cnode:hover .lb { border-color: var(--c); }
.cnode:hover .lb b { color: var(--c); }
.cnode.lb-t .lb { left: 50%; bottom: calc(100% + 9px); transform: translateX(-50%); text-align: center; }
.cnode.lb-b .lb { left: 50%; top: calc(100% + 9px); transform: translateX(-50%); text-align: center; }
.cnode.lb-l .lb { right: calc(100% + 11px); top: 50%; transform: translateY(-50%); text-align: right; }
.cnode.lb-r .lb { left: calc(100% + 11px); top: 50%; transform: translateY(-50%); text-align: left; }
/* 夜间微调：站点自发光更明显 */
#app.night .cnode .dot { background: radial-gradient(circle at 35% 30%, #1a3050, #0a1420 75%); }
#app.night .cnode .lb { background: rgba(4, 9, 16, .85); }

/* ═══ 赛道站点图 v2：站号徽章 + 放大图标/文字 + 分区图例 ═══ */
#roads .sec { stroke-width: 5; opacity: .95; }
.cnode .dot { width: 46px; height: 46px; font-size: 22px; border-width: 2.5px; }
.cnode .dot::before { right: -3px; top: -3px; width: 11px; height: 11px; border-width: 2px; }
.cnode .no { position: absolute; left: -9px; top: -9px; z-index: 2;
  font: 800 10.5px Consolas, monospace; font-style: normal; color: #06101a;
  background: var(--c, #22d3ee); padding: 1.5px 5px; border-radius: 3px;
  box-shadow: 0 0 8px var(--c); letter-spacing: .5px; }
.cnode .lb { padding: 4px 11px 5px; border-width: 1.5px; }
.cnode .lb b { font-size: 14.5px; letter-spacing: 1.2px; }
.cnode .lb em { font-size: 9.5px; letter-spacing: 1.5px; }
.cnode.lb-t .lb { bottom: calc(100% + 10px); }
.cnode.lb-b .lb { top: calc(100% + 10px); }
.cnode.lb-l .lb { right: calc(100% + 12px); }
.cnode.lb-r .lb { left: calc(100% + 12px); }
/* 分区图例：移到地图左上角空旷草地（环道外），避开内侧站点路牌 */
#clegend { position: absolute; left: 22px; top: 46px; z-index: 8; pointer-events: none;
  display: flex; flex-direction: column; gap: 5px; }
#clegend .cl-t { font: 800 12px "Microsoft YaHei", sans-serif; letter-spacing: 3px;
  color: #9fc3d8; margin-bottom: 3px; }
#clegend .cl-t b { color: #eaf6ff; }
#clegend .cl-item { display: flex; align-items: center; gap: 8px;
  background: rgba(6, 12, 20, .72); border: 1px solid rgba(148, 180, 205, .14);
  border-radius: 3px; padding: 3.5px 10px 3.5px 8px; width: max-content; }
#clegend .cl-item i { width: 22px; height: 5px; border-radius: 2.5px; background: var(--c);
  box-shadow: 0 0 7px var(--c); }
#clegend .cl-item b { font-size: 12.5px; font-weight: 700; color: #dcebf7; letter-spacing: 1px; }
#clegend .cl-item em { font: 9.5px Consolas, monospace; font-style: normal; color: #5d8ba5; margin-left: 2px; }

/* ═══ 赛道站点图 v3：动态邻近放大（小车驶过时站点弹起）+ 字号加大 ═══ */
.cnode .zoom { transform: scale(var(--k, 1)); transform-origin: center;
  transition: transform .22s cubic-bezier(.3, 1.5, .4, 1); }
.cnode .lb b { font-size: 16px; letter-spacing: 1.3px; }
.cnode .lb em { font-size: 10.5px; }
.cnode .lb { padding: 5px 12px 6px; }
.cnode .no { font-size: 11.5px; padding: 2px 6px; }
#clegend .cl-item b { font-size: 14px; }
#clegend .cl-item em { font-size: 10.5px; }
#clegend .cl-t { font-size: 13px; }

/* ═══ 赛道站点图 v4：高清晰路牌 + 弹跳邻近反应 ═══ */
.cnode .lb { background: rgba(5, 10, 18, .94); backdrop-filter: none;
  border-color: rgba(170, 200, 228, .30); box-shadow: 0 4px 14px rgba(0, 0, 0, .5); }
.cnode .lb b { font-size: 16px; font-weight: 800; color: #f4f9ff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
.cnode .lb em { color: #8fb4d4; font-weight: 700; }
.cnode .dot { box-shadow: 0 0 16px -1px var(--c, #22d3ee), inset 0 0 8px rgba(0, 0, 0, .55); }
.cnode .dot i { text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.cnode .zoom { transition: transform .13s cubic-bezier(.2, 1.75, .3, 1); }
.cnode .dot::after { animation-duration: 2.2s; }
/* 小车进近瞬间圆标的额外一跳（卡片弹簧为主，圆标轻点一下即可） */
.cnode.hit .dot { animation: cnodePop .3s cubic-bezier(.2, 1.9, .3, 1); }
@keyframes cnodePop { 0% { transform: scale(1); } 45% { transform: scale(1.28); } 100% { transform: scale(1); } }
#clegend .cl-item { background: rgba(5, 10, 18, .9); border-color: rgba(170, 200, 228, .22); }
#clegend .cl-item b { color: #eef6ff; font-weight: 800; }
#clegend .cl-item em { color: #8fb4d4; }
#clegend .cl-t { color: #b8d4e8; }

/* ═══ 赛道站点图 v5：邻近缩放改 JS 逐帧直写（去 transition = 不卡不糊）═══ */
.cnode .zoom { transition: none; will-change: transform; }
.cnode .dot::after { animation-duration: 2.4s; }

/* ═══ 赛道站点图 v8：2.5D 立牌 —— 椭圆底座贴地 + 立柱 + 悬空圆盘 ═══
 * .cnode 锚点已改为地面落点（translate(-50%,-100%)），立牌整体从
 * 地面向上生长；弹簧 transform-origin 落在底部 → 放大时像从地里弹出 */
.cnode .zoom { position: relative; display: flex; flex-direction: column; align-items: center;
  width: 46px; height: 64px; transform-origin: 50% 100%; }
.cnode .post { display: block; width: 4px; height: 16px; border-radius: 2px;
  background: linear-gradient(90deg, #33475c, #93aec5 45%, #33475c);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .45); }
/* 椭圆底座：立牌的"落地点"贴在赛道边 */
.cnode .zoom::after { content: ''; position: absolute; left: 50%; bottom: -4px;
  transform: translateX(-50%); width: 32px; height: 11px; border-radius: 50%;
  background: rgba(8, 18, 14, .34); border: 1.5px solid rgba(160, 200, 230, .26);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .3); }
.cnode.lb-t .lb { bottom: calc(100% + 8px); }
.cnode.lb-b .lb { top: calc(100% + 8px); }
.cnode.lb-l .lb { right: calc(100% + 10px); }
.cnode.lb-r .lb { left: calc(100% + 10px); }

/* ═══ 截图/回归模式（?static=1）：跳过入场动画直接呈现最终布局 ═══ */
#app.shot #roads { opacity: 1; transition: none; }
#app.shot .bld { opacity: 1 !important; transform: none !important; animation: none !important; }
#app.shot .nv-card { animation: none !important; opacity: 1 !important; transform: skewX(-7deg) !important; }

/* ═══ 导航中心 v6：文字全面放大（可读性优先）═══ */
.nv-title { font-size: 30px; }
.nv-title b { font-size: 12px; }
.nv-sub { font-size: 15px; }
.nv-groups { gap: 26px; }
.nv-g-rail { flex-basis: 190px; }
.nv-g-rail b { font-size: 21px; }
.nv-g-rail em { font-size: 11.5px; letter-spacing: 2px; }
.nv-g-rail i { font-size: 12.5px; }
.nv-g-cards { gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.nv-card { padding: 16px 18px 15px; }
.nv-card .ico { font-size: 30px; }
.nv-card .nm { font-size: 19px; }
.nv-card .en { font-size: 11px; }
.nv-card .st { width: 11px; height: 11px; }
.nv-card .ds { margin-top: 10px; font-size: 13.5px; line-height: 1.6;
  -webkit-line-clamp: 3; }
.nv-card .go { font-size: 12px; bottom: 11px; }
.nv-foot { font-size: 12.5px; }
@media (prefers-reduced-motion: reduce) {
  .nv-card { animation: none !important; opacity: 1 !important; transform: skewX(-7deg) !important; }
}
/* ═══ 站点图 v7：图标 2 倍 + 清晰中文字体栈 + 快攻保持式邻近缩放 ═══ */
#app { font-family: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI",
  "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.cnode .dot { width: 92px; height: 92px; font-size: 44px; border-width: 4px;
  box-shadow: 0 0 22px -4px var(--c, #22d3ee), inset 0 0 10px rgba(0, 0, 0, .5); }
.cnode .dot::before { width: 12px; height: 12px; right: -4px; top: -4px; }
.cnode .dot::after { inset: -10px; border-width: 2px; }
.cnode .no { left: -12px; top: -12px; font-size: 13px; padding: 2.5px 7px; border-radius: 4px; }
.cnode .lb b { font-size: 17px; }
.cnode .lb em { font-size: 11px; }

/* ═══════════════════════════════════════════════════════════════
 * 四视图形态：导航中心 / 画廊（NXE 三维旋转） / 全景（Panorama） / 沙盘
 * body[data-mode] 控制显隐；沙盘 = #mapWrap（默认可见）
 * 画廊/全景与 mapWrap 同构：文档流内 flex:1，不遮 statusbar
 * ═══════════════════════════════════════════════════════════════ */
#galleryView, #panoView { display: none; }
body[data-mode="gallery"] #galleryView,
body[data-mode="pano"] #panoView { display: flex; flex: 1; min-height: 0; position: relative; }
body[data-mode="gallery"] #mapWrap,
body[data-mode="pano"] #mapWrap,
body[data-mode="gallery"] #navView,
body[data-mode="pano"] #navView { display: none; }

/* ═══════════════════════════════════════════════════════════════
 * 园区画廊 · NXE 三维旋转画廊（方案 A）
 * 15 张卡片立在一个圆柱面上：容器 rotateY(±24°/站)，
 * 焦点卡正对观众，两侧退入纵深；玻璃地面 + -webkit-box-reflect 倒影；
 * 背景氛围光随焦点卡主题色渐变。
 * ═══════════════════════════════════════════════════════════════ */
#galleryView { z-index: 40; flex-direction: column;
  overflow: hidden; background:
    radial-gradient(120% 96% at 50% 18%, #f0f7fe 0%, #d8eafa 46%, #bed6ec 100%);
  touch-action: none; user-select: none; }
/* 焦点站主题色氛围光（JS 直写 background，transition 顺滑换色） */
#galleryView .gl-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(52% 42% at 50% 36%, rgba(34, 211, 238, .16), transparent 70%);
  transition: background .5s ease; }
.gl-head { position: relative; z-index: 3; padding: 14px 26px 0; }
.gl-title { font: 800 24px "Microsoft YaHei", sans-serif; letter-spacing: 4px; color: #eaf6ff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.gl-title b { display: block; font: 800 11px Consolas, monospace; letter-spacing: 4px;
  color: #5d8ba5; margin-top: 2px; }
.gl-sub { font: 12px "Microsoft YaHei", sans-serif; color: #7d9fba; letter-spacing: 1px; margin-top: 4px; }

/* 三维舞台：透视 + Cover Flow 铺开式排布（不围成圈） */
.gl-stage3d { position: relative; z-index: 2; flex: 1; perspective: 1400px;
  perspective-origin: 50% 44%; min-height: 0; }
.gl-wheel { position: absolute; left: 50%; top: 46%; width: 0; height: 0;
  transform-style: preserve-3d; }
.gl-card { position: absolute; left: 0; top: 0; width: 330px; height: 408px;
  margin: -218px 0 0 -165px;
  cursor: pointer;
  transition: transform .55s cubic-bezier(.22, .9, .28, 1.04), opacity .4s ease;
  backface-visibility: hidden; }
/* 拖拽中：临时升级合成层 + 关磨砂/倒影（两者在移动中每帧重光栅化，是触摸卡顿主因；
 * 背景本就是平滑渐变，关掉磨砂几乎无视觉差）。drag=松手即除（恢复过渡），
 * heavy-off=吸附过渡播完后再除（避免恢复瞬间的高光栅化打断动画） */
.gl-wheel.drag .gl-card { will-change: transform, opacity; }
.gl-wheel.drag .gl-card .sheen { animation-play-state: paused; opacity: 0; }
.gl-wheel.heavy-off .gl-card > div { -webkit-backdrop-filter: none; backdrop-filter: none;
  -webkit-box-reflect: none; }
.gl-wheel.drag .gl-card, .gl-wheel.no-anim .gl-card { transition: none !important; }
.gl-card > div { width: 100%; height: 100%; border-radius: 16px; position: relative;
  overflow: hidden; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px;
  background: linear-gradient(168deg, rgba(19, 36, 55, .96) 0%, rgba(9, 17, 27, .98) 70%);
  border: 1.5px solid rgba(120, 160, 195, .28);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .55);
  transition: box-shadow .35s, border-color .35s, filter .35s;
  filter: brightness(.6) saturate(.8);
  -webkit-box-reflect: below 12px linear-gradient(transparent 68%, rgba(0, 0, 0, .30)); }
.gl-card .ico { font-size: 92px; line-height: 1;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .55)); }
.gl-card .no { position: absolute; left: 14px; top: 14px;
  font: 800 15px Consolas, monospace; letter-spacing: 1px; color: #06101a;
  background: var(--c); padding: 4px 11px; border-radius: 5px;
  box-shadow: 0 0 14px var(--c); }
.gl-card .cat { position: absolute; right: 14px; top: 16px;
  font: 700 10px Consolas, monospace; letter-spacing: 2px; color: #6d94af; }
.gl-card b { font: 800 30px "Microsoft YaHei", sans-serif; letter-spacing: 3px; color: #f2f8fd;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .7); }
.gl-card em { font: 700 12px Consolas, monospace; letter-spacing: 2.5px; color: #7d9fba;
  font-style: normal; }
.gl-card .go { margin-top: 10px; font: 700 13px "Microsoft YaHei", sans-serif; letter-spacing: 3px;
  color: var(--c); border: 1px solid var(--c); border-radius: 20px; padding: 7px 26px;
  opacity: 0; transition: opacity .3s; }
/* 焦点卡：点亮 + 微放大 */
.gl-card.focus > div { filter: none;
  border-color: var(--c);
  box-shadow: 0 22px 52px rgba(0, 0, 0, .6), 0 0 34px -6px var(--c), inset 0 0 34px -18px var(--c); }
.gl-card.focus .go { opacity: 1; }
.gl-card.focus > div > * { transform: translateZ(0); }
.gl-card.focus { --lift: 1; }

/* 玻璃地面：远处渐隐的地平线光带 */
.gl-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(60, 130, 170, .10) 34%,
    rgba(16, 40, 58, .55) 72%, rgba(5, 10, 16, .92) 100%); }
.gl-floor::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(140, 200, 235, .5), transparent); }

/* 焦点信息条（画廊/全景共用 .gl-* 命名） */
.gl-info { position: relative; z-index: 3; display: flex; align-items: center; gap: 16px;
  padding: 0 26px; margin: 2px 0 8px; }
.gl-info .gl-no { font: 800 30px Consolas, monospace; font-style: normal; color: #06101a;
  background: var(--c, #22d3ee); border-radius: 9px; padding: 6px 14px;
  box-shadow: 0 0 18px var(--c, #22d3ee); transition: background .4s, box-shadow .4s; }
.gl-info .gl-txt b { display: block; font: 800 26px "Microsoft YaHei", sans-serif;
  letter-spacing: 3px; color: #f2f8fd; }
.gl-info .gl-txt em { display: block; font: 700 12px Consolas, monospace; font-style: normal;
  letter-spacing: 2px; color: #7d9fba; margin-top: 2px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; max-width: 56vw; }
.gl-enter { margin-left: auto; cursor: pointer; border: none; color: #06121c;
  font: 800 16px "Microsoft YaHei", sans-serif; letter-spacing: 4px; padding: 13px 38px;
  transform: skewX(-8deg); background: linear-gradient(115deg, #37e6ff, #19b8d8);
  box-shadow: 0 6px 18px rgba(34, 211, 238, .3); border-radius: 3px; transition: filter .15s;
  white-space: nowrap; flex: none; }
.gl-enter:hover { filter: brightness(1.15); }
.gl-enter:active { transform: skewX(-8deg) scale(.97); }
/* 分区色带：六段彩条 + 当前分区名 */
.gl-secbar { position: relative; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 0 26px 4px; }
.gl-secbar i { flex: 1; height: 5px; border-radius: 3px; transition: background .4s;
  background: linear-gradient(90deg, #84cc16, #ffb020 20%, #22d3ee 42%, #ff3b30 62%, #ec4899 80%, #a78bfa); }
.gl-secbar span { font: 700 12.5px "Microsoft YaHei", sans-serif; letter-spacing: 2px;
  color: #9fc9e8; white-space: nowrap; }
/* 站点刻度点 */
.gl-dots { position: relative; z-index: 3; display: flex; justify-content: center; gap: 9px;
  padding: 4px 0 14px; }
.gl-dots i { width: 9px; height: 9px; border-radius: 50%; cursor: pointer;
  background: rgba(120, 160, 195, .3); transition: all .25s; }
.gl-dots i:hover { background: rgba(160, 205, 235, .7); }
.gl-dots i.on { background: var(--c, #22d3ee); box-shadow: 0 0 9px var(--c, #22d3ee);
  transform: scale(1.35); }
/* 左右箭头 */
.gl-arrow { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%);
  width: 52px; height: 76px; cursor: pointer; font-size: 22px; color: #9fc9e8;
  background: rgba(10, 20, 32, .55); border: 1px solid rgba(120, 165, 200, .3);
  border-radius: 8px; transition: all .2s; }
.gl-arrow:hover { color: #fff; border-color: rgba(160, 210, 245, .6);
  background: rgba(20, 40, 60, .75); }
.gl-arrow.l { left: 14px; } .gl-arrow.r { right: 14px; }
#app.night #galleryView { background:
  radial-gradient(120% 90% at 50% 24%, #0d1a2c 0%, #070d16 55%, #04070c 100%); }

/* ═══════════════════════════════════════════════════════════════
 * 园区全景 · Panorama 横移世界（方案 C）
 * 三层视差：天空 .14× / 建筑剪影 .42× / 赛道地面 1×；
 * 15 站等距停靠（站距 GAP=640px），全息站牌 + 底部刻度尺。
 * ═══════════════════════════════════════════════════════════════ */
#panoView { z-index: 40; flex-direction: column;
  overflow: hidden; background: linear-gradient(180deg, #8fd0f8 0%, #b9e3fb 34%, #cfe9bd 62%);
  touch-action: pan-y; user-select: none; cursor: grab; }
#panoView.dragging { cursor: grabbing; }
#app.night #panoView { background: linear-gradient(180deg, #04070d 0%, #0a1424 46%, #0d1e2e 100%); }

/* 天空层（视差最慢）：日月 + 云 + 夜星 */
.pn-sky { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
.pn-sun { position: absolute; left: 50%; top: 12%; width: 74px; height: 74px; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #fff7d9, #ffd75e 58%, #ffb340);
  box-shadow: 0 0 60px 22px rgba(255, 210, 110, .5); }
#app.night .pn-sun { background: radial-gradient(circle at 38% 34%, #f2f7ff, #cdd8ec 58%, #9fb2cf);
  box-shadow: 0 0 44px 14px rgba(190, 210, 255, .3); }
.pn-cloud { position: absolute; height: 40px; border-radius: 40px;
  background: rgba(255, 255, 255, .8); filter: blur(5px); }
#app.night .pn-cloud { background: rgba(150, 175, 205, .16); }
.pn-cloud.c1 { width: 190px; left: 12%; top: 16%; }
.pn-cloud.c2 { width: 140px; left: 52%; top: 9%; opacity: .8; }
.pn-cloud.c3 { width: 220px; left: 84%; top: 22%; opacity: .7; }
.pn-starfield { position: absolute; inset: 0; opacity: 0; transition: opacity 1s; }
#app.night .pn-starfield { opacity: 1; }
.pn-starfield i { position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: #dfe9ff; box-shadow: 0 0 4px #cfe0ff; }

/* 建筑剪影层（中速）：深色轮廓 + 点点窗灯 + 顶部 emoji */
.pn-mid { position: absolute; left: 0; right: 0; top: 16%; bottom: 30%;
  overflow: hidden; will-change: transform; }
.pn-bld { position: absolute; bottom: -4px; width: 132px; height: var(--h, 210px);
  margin-left: -66px; border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #23405c 0%, #16283c 78%);
  box-shadow: inset 0 10px 0 rgba(255, 255, 255, .07), 0 0 0 1px rgba(10, 22, 34, .6);
  transition: filter .3s; }
.pn-bld::before { /* 窗灯点阵（夜间亮起） */
  content: ''; position: absolute; inset: 16px 18px 10px; border-radius: 4px;
  background-image: radial-gradient(circle, rgba(190, 225, 255, .25) 1.6px, transparent 2.4px);
  background-size: 26px 22px; opacity: .55; }
#app.night .pn-bld::before { opacity: 1;
  background-image: radial-gradient(circle, rgba(255, 226, 150, .8) 1.8px, transparent 2.6px); }
.pn-bld::after { /* 屋顶天线 */
  content: ''; position: absolute; left: 50%; top: -26px; width: 3px; height: 26px;
  background: #2c4a66; }
.pn-bld i { position: absolute; left: 50%; top: -58px; transform: translateX(-50%);
  font-size: 40px; font-style: normal; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35)); }
.pn-bld.focus { filter: brightness(1.28) saturate(1.1); }
.pn-bld.focus::after { background: var(--c, #22d3ee);
  box-shadow: 0 0 12px var(--c, #22d3ee); }

/* 赛道地面层（最快）：路面 + 全息站牌 */
.pn-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 32%;
  overflow: hidden; will-change: transform; }
.pn-ground::before { /* 路面 */
  content: ''; position: absolute; left: 0; right: 0; top: 26%; bottom: 0;
  background: linear-gradient(180deg, #31465c 0%, #22364a 30%, #1a2a3c 100%);
  border-top: 3px solid rgba(200, 230, 255, .35); }
.pn-ground::after { /* 中央虚线 */
  content: ''; position: absolute; left: 0; right: 0; top: 58%; height: 6px;
  background: repeating-linear-gradient(90deg, rgba(255, 200, 80, .85) 0 56px, transparent 56px 118px);
  filter: drop-shadow(0 0 6px rgba(255, 200, 80, .4)); }
.pn-stop { position: absolute; bottom: 44%; width: 380px; margin-left: -190px; text-align: center; }
.pn-stop .sign { display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 16px 30px 14px; border-radius: 12px;
  background: linear-gradient(170deg, rgba(14, 28, 44, .92), rgba(7, 14, 22, .96));
  border: 1.5px solid rgba(130, 170, 205, .4); box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
  transition: all .3s; transform: translateY(14px) scale(.94); opacity: .82; }
.pn-stop .sign i { font-style: normal; font-size: 46px; line-height: 1; }
.pn-stop .sign b { font: 800 21px "Microsoft YaHei", sans-serif; letter-spacing: 2px; color: #f2f8fd; }
.pn-stop .sign em { font: 700 10.5px Consolas, monospace; font-style: normal;
  letter-spacing: 2px; color: #7d9fba; }
.pn-stop.focus .sign { opacity: 1; transform: none;
  border-color: var(--c, #22d3ee);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .5), 0 0 26px -4px var(--c, #22d3ee); }
.pn-stop .beam { display: block; width: 10px; height: 46px; margin: 0 auto;
  background: linear-gradient(180deg, var(--c, #22d3ee), transparent);
  opacity: .35; }
.pn-stop.focus .beam { opacity: .9; }

/* 顶部标题 + 焦点信息条 + 刻度尺 */
.pn-head { position: relative; z-index: 3; padding: 14px 26px 0; pointer-events: none; }
.pn-title { font: 800 24px "Microsoft YaHei", sans-serif; letter-spacing: 4px; color: #0d3a52;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6); }
#app.night .pn-title { color: #eaf6ff; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.pn-title b { display: block; font: 800 11px Consolas, monospace; letter-spacing: 4px;
  color: #477795; margin-top: 2px; }
#app.night .pn-title b { color: #5d8ba5; }
.pn-sub { font: 12px "Microsoft YaHei", sans-serif; color: #3f6d88; letter-spacing: 1px; margin-top: 4px; }
#app.night .pn-sub { color: #7d9fba; }
.pn-info { position: relative; z-index: 6; display: flex; align-items: center; gap: 13px;
  margin: auto 26px 10px; padding: 10px 18px; pointer-events: auto;
  background: rgba(7, 14, 22, .62); backdrop-filter: blur(4px);
  border: 1px solid rgba(120, 165, 200, .25); border-radius: 12px; }
.pn-info .gl-txt em { max-width: 44vw; }
.pn-info .gl-txt b { text-shadow: 0 1px 0 rgba(255, 255, 255, .5); }
#app.night .pn-info .gl-txt b { text-shadow: 0 2px 8px rgba(0, 0, 0, .8); }
.pn-info .gl-txt em { color: #3f6d88; }
#app.night .pn-info .gl-txt em { color: #8fb4d4; }
#panoView .gl-enter { background: linear-gradient(115deg, #ffd75e, #ff9f43);
  box-shadow: 0 6px 18px rgba(255, 170, 60, .35); }
/* 底部刻度尺 */
.pn-ruler { position: relative; z-index: 3; display: flex; justify-content: center; gap: 6px;
  padding: 0 26px 14px; pointer-events: auto; }
.pn-ruler i { font: 700 11px Consolas, monospace; font-style: normal; cursor: pointer;
  color: #47779a; padding: 4px 8px; border-radius: 4px; border-bottom: 3px solid transparent;
  transition: all .25s; }
.pn-ruler i:hover { color: #14304a; background: rgba(255, 255, 255, .4); }
#app.night .pn-ruler i { color: #5d8ba5; }
#app.night .pn-ruler i:hover { color: #cde8ff; background: rgba(80, 130, 175, .25); }
.pn-ruler i.on { color: #06101a; background: var(--c, #22d3ee);
  border-bottom-color: rgba(0, 0, 0, .25); box-shadow: 0 0 12px var(--c, #22d3ee); }
#panoView .gl-arrow { background: rgba(10, 20, 32, .35); }
#app.night #panoView .gl-arrow { background: rgba(10, 20, 32, .55); }

/* 低动效偏好：画廊/全景一律呈现静态可用的最终布局 */
@media (prefers-reduced-motion: reduce) {
  .gl-wheel { transition: none; }
}
/* 全景 tween 路径：箭头/刻度/键盘触发时三层视差同步补间 */
#panoView.pn-tween .pn-sky,
#panoView.pn-tween .pn-mid,
#panoView.pn-tween .pn-ground { transition: transform .65s cubic-bezier(.22, .9, .3, 1); }

/* ═══════════════════════════════════════════════════════════════
 * 园区全景 v2：视觉精修（远景山脊 · 精修剪影楼 · 立体路面 · 车流）
 * ═══════════════════════════════════════════════════════════════ */
/* 天空：地平线光雾 + 云朵分瓣 */
.pn-sky::after { content: ''; position: absolute; left: -6%; right: -6%; bottom: 0; height: 36%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .34)); pointer-events: none; }
#app.night .pn-sky::after { background: linear-gradient(180deg, transparent, rgba(16, 36, 64, .55)); }
.pn-cloud::before, .pn-cloud::after { content: ''; position: absolute; border-radius: 50%;
  background: inherit; }
.pn-cloud::before { width: 58%; height: 150%; left: 14%; top: -78%; }
.pn-cloud::after { width: 40%; height: 105%; right: 12%; top: -48%; }
/* 星星闪烁 */
.pn-starfield i { animation: pnTw 2.8s ease-in-out infinite; }
.pn-starfield i:nth-child(3n) { animation-delay: .9s; animation-duration: 3.4s; }
.pn-starfield i:nth-child(4n) { animation-delay: 1.7s; }
.pn-starfield i:nth-child(5n) { animation-delay: .4s; animation-duration: 2.2s; }
@keyframes pnTw { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }

/* 远景山脊（新增慢速层 .2×）：柔和圆丘 + 林带 */
.pn-hills { position: absolute; left: 0; right: 0; top: 34%; height: 34%; overflow: hidden;
  will-change: transform; pointer-events: none; }
.pn-hills i { position: absolute; bottom: -46%; border-radius: 50%;
  background: radial-gradient(circle at 40% 22%, #b9d8a0, #93bf7c 68%);
  box-shadow: inset -18px -14px 40px rgba(60, 110, 60, .25); }
#app.night .pn-hills i { background: radial-gradient(circle at 40% 22%, #17304a, #0e2236 70%);
  box-shadow: inset -18px -14px 40px rgba(0, 0, 0, .5); }

/* 建筑剪影精修：立体受光面 + 雙层窗阵 + 顶部信标 + 主题色竖纹 */
.pn-bld { width: 148px; border-radius: 7px 7px 0 0;
  background: linear-gradient(180deg, #33506e 0%, #20364e 62%, #16273b 100%);
  box-shadow: inset -16px 0 24px rgba(0, 0, 0, .3), inset 12px 0 18px rgba(255, 255, 255, .06),
    0 0 0 1px rgba(8, 18, 30, .55); }
.pn-bld .win { position: absolute; inset: 20px 16px 12px; border-radius: 3px;
  background-image:
    radial-gradient(circle, rgba(255, 226, 150, .9) 2px, transparent 3px),
    radial-gradient(circle, rgba(150, 190, 225, .28) 1.7px, transparent 2.6px);
  background-size: 30px 27px, 19px 15px;
  background-position: 7px 9px, 4px 5px;
  opacity: .3; transition: opacity .5s; }
#app.night .pn-bld .win { opacity: 1; }
.pn-bld .stripe { position: absolute; left: 9px; top: 0; bottom: 0; width: 4px;
  background: var(--c, #22d3ee); opacity: .3; }
.pn-bld .cap { position: absolute; left: 12px; right: 12px; top: -12px; height: 12px;
  background: linear-gradient(180deg, #3f5f80, #2a4661);
  clip-path: polygon(8% 100%, 20% 0, 80% 0, 92% 100%); }
.pn-bld .beacon { position: absolute; top: -32px; left: 50%; margin-left: -4px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--c, #22d3ee);
  opacity: .45; box-shadow: 0 0 10px var(--c, #22d3ee); transition: opacity .3s; }
#app.night .pn-bld .beacon { opacity: 1; animation: pnBlink 2.4s ease-in-out infinite; }
.pn-bld.focus .beacon { opacity: 1; animation: none; box-shadow: 0 0 16px 2px var(--c, #22d3ee); }
.pn-bld.focus { filter: brightness(1.22) saturate(1.08); }
.pn-bld.focus .stripe { opacity: .85; }
@keyframes pnBlink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
/* 楼间点缀：行道树 + 路灯 */
.pn-deco { position: absolute; bottom: -4px; pointer-events: none; }
.pn-deco.tree { width: 8px; height: 34px; background: linear-gradient(90deg, #7c4a21, #a0622d);
  border-radius: 3px; }
.pn-deco.tree::before { content: ''; position: absolute; left: 50%; top: -34px;
  transform: translateX(-50%); width: 42px; height: 44px; border-radius: 50% 50% 46% 46%;
  background: radial-gradient(circle at 34% 26%, rgba(255, 255, 255, .35) 0 14%, var(--tc, #4ade80) 44%, transparent 46%);
  box-shadow: inset -5px -6px 0 rgba(0, 0, 0, .15); }
.pn-deco.lamp { width: 5px; height: 66px; background: linear-gradient(180deg, #46607a, #2c4258);
  border-radius: 2px; }
.pn-deco.lamp::before { content: ''; position: absolute; left: 50%; top: -8px;
  transform: translateX(-50%); width: 16px; height: 9px; border-radius: 4px;
  background: #ffe9a8; box-shadow: 0 0 14px 3px rgba(255, 224, 130, .55); }
#app:not(.night) .pn-deco.lamp::before { background: #dfe8f0; box-shadow: none; }

/* 路面精修：沥青颗粒 + 路缘石 + 两侧实线 */
.pn-ground::before {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .022) 0 3px, transparent 3px 11px),
    linear-gradient(180deg, #3e566f 0%, #293e54 36%, #1d3044 100%);
  border-top: 4px solid #cfd9e4;
  box-shadow: inset 0 12px 22px rgba(0, 0, 0, .28), inset 0 -30px 40px rgba(0, 0, 0, .22); }
#app.night .pn-ground::before { border-top-color: rgba(180, 210, 240, .4); }
.pn-line { position: absolute; left: 0; right: 0; height: 4px;
  background: rgba(235, 244, 252, .5); pointer-events: none; }
.pn-line.top { top: 16%; box-shadow: 0 0 6px rgba(235, 244, 252, .25); }
.pn-line.bot { top: 86%; opacity: .6; }

/* 全息站牌 v2：大号水印站号 + 顶色条 + 光柱 + 落地光池 */
.pn-stop { bottom: 42%; width: 330px; margin-left: -165px; }
.pn-stop .sign { display: block; position: relative; padding: 16px 20px 13px;
  border-radius: 14px; text-align: center;
  background: linear-gradient(170deg, rgba(12, 24, 40, .95), rgba(6, 12, 20, .97));
  border: 1.5px solid rgba(130, 170, 205, .38); border-top: 3px solid var(--c, #22d3ee);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .45);
  transform: translateY(14px) scale(.93); opacity: .85; transition: all .3s; }
.pn-stop .sign .bigno { position: absolute; right: 12px; top: 0; line-height: 1;
  font: 900 56px Consolas, monospace; font-style: normal; color: rgba(255, 255, 255, .07); }
.pn-stop .sign i { font-style: normal; font-size: 44px; line-height: 1.15; }
.pn-stop .sign b { display: block; font: 800 22px "Microsoft YaHei", sans-serif;
  letter-spacing: 2px; color: #f2f8fd; margin-top: 2px; }
.pn-stop .sign .s-en { display: block; font: 700 10.5px Consolas, monospace;
  letter-spacing: 2px; color: #7d9fba; margin-top: 2px; }
.pn-stop.focus .sign { opacity: 1; transform: none;
  border-color: rgba(150, 190, 225, .5); border-top-color: var(--c, #22d3ee);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .55), 0 0 32px -6px var(--c, #22d3ee);
  animation: pnBob 3.6s ease-in-out infinite; }
@keyframes pnBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.pn-stop .beam { display: block; width: 12px; height: 54px; margin: 0 auto;
  background: linear-gradient(180deg, var(--c, #22d3ee), transparent);
  opacity: .4; }
.pn-stop.focus .beam { opacity: .95; }
.pn-stop .pool { display: block; width: 190px; height: 15px; margin: 2px auto 0;
  border-radius: 50%; background: radial-gradient(ellipse, var(--c, #22d3ee) 0%, transparent 66%);
  opacity: .3; filter: blur(.5px); }
.pn-stop.focus .pool { opacity: .7; }

/* 车流层：一辆巡逻车定期驶过（夜间自动开大灯） */
.pn-traffic { position: absolute; left: 0; right: 0; bottom: 13%; height: 58px;
  overflow: hidden; pointer-events: none; z-index: 5; }
.pn-car { position: absolute; bottom: 4px; left: 0; width: 132px;
  transform: translateX(-180px);
  animation: pnDrive 17s linear infinite; animation-delay: 3s; }
@keyframes pnDrive {
  0% { transform: translateX(-180px); }
  96% { transform: translateX(100vw); }
  100% { transform: translateX(calc(100vw + 180px)); } }
.pn-car svg { filter: drop-shadow(0 7px 6px rgba(0, 0, 0, .38)); }
#app.night .pn-car .hl { fill: rgba(255, 240, 170, .5); }

/* HUD 计数徽章 */
.pn-count { margin-left: auto; font: 800 15px Consolas, monospace; letter-spacing: 2px;
  color: #9fc9e8; background: rgba(20, 40, 60, .5); border: 1px solid rgba(120, 165, 200, .3);
  border-radius: 7px; padding: 6px 12px; white-space: nowrap; }
#app.night .pn-count { color: #bfe0f5; }

/* ═══════════════════════════════════════════════════════════════
 * 园区画廊 v3：玻璃质感双主题
 * 白天 = 明亮玻璃厅（白磨砂玻璃 + 斜向高光 + 深墨文字）
 * 夜间 = 深夜烟熏玻璃（半透明烟灰 + 背景辉光透出 + 霓虹描边）
 * ═══════════════════════════════════════════════════════════════ */
/* —— 共用：玻璃本体（真磨砂，无 blur 支持时半透明底色兜底）—— */
.gl-card > div { -webkit-backdrop-filter: blur(9px) saturate(1.15); backdrop-filter: blur(9px) saturate(1.15); }
.gl-card > div::before { content: ''; position: absolute; inset: 0; border-radius: 16px;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 33%, rgba(255, 255, 255, .5) 45%,
    rgba(255, 255, 255, .1) 54%, transparent 65%); }
.gl-card > div::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 26%; border-radius: 0 0 16px 16px; pointer-events: none; }

/* —— 白天：明亮玻璃厅 —— */
#app:not(.night) #galleryView { background:
  radial-gradient(120% 96% at 50% 18%, #f0f7fe 0%, #d8eafa 46%, #bed6ec 100%); }
#app:not(.night) .gl-title { color: #10344e; text-shadow: 0 1px 0 rgba(255, 255, 255, .75); }
#app:not(.night) .gl-title b { color: #477795; }
#app:not(.night) .gl-sub { color: #3f6d88; }
#app:not(.night) .gl-floor { background:
  linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, .55) 30%,
    rgba(188, 214, 236, .6) 68%, rgba(150, 186, 218, .75) 100%); }
#app:not(.night) .gl-floor::before { background:
  linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent); }
/* 白玻璃卡：白磨砂 + 顶缘高光 + 主题色描环（焦点） */
#app:not(.night) .gl-card > div {
  background: linear-gradient(163deg, rgba(255, 255, 255, .86) 0%, rgba(246, 251, 255, .58) 46%,
    rgba(214, 236, 250, .62) 100%);
  border: 1.5px solid rgba(255, 255, 255, .95);
  box-shadow: 0 20px 46px rgba(80, 125, 165, .38), inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -18px 30px rgba(160, 200, 230, .25);
  filter: brightness(1) saturate(.96); }
#app:not(.night) .gl-card > div::before { opacity: .85; }
#app:not(.night) .gl-card > div::after { background:
  linear-gradient(180deg, transparent, rgba(174, 210, 238, .38)); }
#app:not(.night) .gl-card.focus > div { filter: brightness(1.04) saturate(1.05);
  border-color: #fff;
  box-shadow: 0 26px 54px rgba(80, 125, 165, .45), 0 0 0 2px var(--c, #22d3ee),
    0 0 38px -6px var(--c, #22d3ee), inset 0 1px 0 rgba(255, 255, 255, 1); }
/* 白玻璃上的深墨文字 */
#app:not(.night) .gl-card b { color: #0d3350; text-shadow: 0 1px 0 rgba(255, 255, 255, .65); }
#app:not(.night) .gl-card em { color: #47779a; }
#app:not(.night) .gl-card .cat { color: #6a93ad; }
#app:not(.night) .gl-card .no { color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .18); }
#app:not(.night) .gl-card .go { color: #0d3350; border-color: rgba(13, 51, 80, .55);
  background: rgba(255, 255, 255, .45); }
#app:not(.night) .gl-card .ico { filter: drop-shadow(0 6px 14px rgba(60, 100, 140, .35)); }
/* 白天信息条 / 刻度 / 箭头 */
#app:not(.night) .gl-info .gl-txt b { color: #0d3350; text-shadow: 0 1px 0 rgba(255, 255, 255, .65); }
#app:not(.night) .gl-info .gl-txt em { color: #47779a; }
#app:not(.night) .gl-secbar span { color: #3f6d88; }
#app:not(.night) .gl-dots i { background: rgba(90, 130, 160, .35); }
#app:not(.night) .gl-dots i:hover { background: rgba(60, 100, 135, .6); }
#app:not(.night) .gl-arrow { background: rgba(255, 255, 255, .55); color: #3f6d88;
  border-color: rgba(255, 255, 255, .85); box-shadow: 0 4px 14px rgba(80, 125, 165, .2); }
#app:not(.night) .gl-arrow:hover { color: #0d3350; background: rgba(255, 255, 255, .85); }

/* —— 夜间：深夜烟熏玻璃 —— */
#app.night .gl-card > div {
  background: linear-gradient(163deg, rgba(34, 58, 86, .6) 0%, rgba(14, 26, 42, .74) 58%,
    rgba(8, 16, 28, .82) 100%);
  border: 1.5px solid rgba(140, 180, 215, .34);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .16);
  filter: brightness(.78) saturate(.9); }
#app.night .gl-card > div::before { opacity: .5;
  background: linear-gradient(112deg, transparent 34%, rgba(210, 235, 255, .22) 45%,
    rgba(210, 235, 255, .05) 54%, transparent 65%); }
#app.night .gl-card > div::after { background:
  linear-gradient(180deg, transparent, rgba(20, 40, 66, .5)); }
#app.night .gl-card.focus > div { filter: brightness(1) saturate(1.05);
  border-color: rgba(170, 210, 240, .65);
  box-shadow: 0 22px 52px rgba(0, 0, 0, .6), 0 0 34px -6px var(--c, #22d3ee),
    inset 0 1px 0 rgba(255, 255, 255, .2); }

/* ═══ 画廊 v4：玻璃闪耀 —— 用户静置时隔三岔五一道高光扫过卡面 ═══
 * 每卡一条斜向光带，8.5s 周期、相位按卡号错峰（负延迟均布）；
 * 拖拽中自动暂停；低动效偏好关闭。仅 transform/opacity，合成器驱动。 */
.gl-card .sheen { position: absolute; inset: -22% -34%; pointer-events: none;
  opacity: 0; transform: translateX(-135%) skewX(-14deg);
  background: linear-gradient(112deg, transparent 41%, rgba(255, 255, 255, .6) 50%,
    rgba(255, 255, 255, .12) 57%, transparent 63%);
  animation: glShine 8.5s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -1.7s); }
@keyframes glShine {
  0% { transform: translateX(-135%) skewX(-14deg); opacity: 0; }
  5% { opacity: .95; }
  12% { transform: translateX(135%) skewX(-14deg); opacity: 0; }
  100% { transform: translateX(135%) skewX(-14deg); opacity: 0; }
}
#app.night .gl-card .sheen { background:
  linear-gradient(112deg, transparent 41%, rgba(205, 232, 255, .34) 50%,
    rgba(205, 232, 255, .07) 57%, transparent 63%); }
.gl-wheel.drag .sheen, .gl-wheel.no-anim .sheen { animation-play-state: paused; opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .gl-card .sheen { animation: none; opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════
 * 园区全景 v3：Canvas 穿行视角（第一视角沿大道巡游）
 * ═══════════════════════════════════════════════════════════════ */
#pnCanvas { position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; z-index: 0; }
.pn-cruise { display: inline-block; margin-top: 10px; cursor: pointer;
  font: 800 13px "Microsoft YaHei", sans-serif; letter-spacing: 2px;
  color: #04101c; background: linear-gradient(115deg, #ffe28a, #ffb020);
  border: none; border-radius: 16px; padding: 8px 18px;
  box-shadow: 0 4px 14px rgba(255, 176, 40, .3); transition: filter .15s; }
.pn-cruise:hover { filter: brightness(1.08); }
#panoView .pn-sub { margin-bottom: 2px; }
