/* =============================================================================
   scene-14.css · 空间跳线地图（天津大学 ⇄ 甘肃庆阳）
   10:15–10:45  林越撕开协议，赵赫确认专线。
   墨黑底 + 省界发丝线 + 两处地理坐标脉冲光环 + 由西向东的数据光粒子。
   构图：地图略偏左；右侧 25%（x ≥ 1440）为主讲人站位，不放关键文字。
   纪律：克制，不要电子游戏 HUD 感；不加进度条 / 仪表 / 发光边框。
   ========================================================================== */

.s14-root {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #04060a;
}

.s14-canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  display: block;
}

/* ---- 地图容器（覆盖甘陕晋京津冀鲁辽与渤海湾，右侧留出干净暗部放纵向指标） ---- */
.s14-map {
  position: absolute;
  inset: 0;
  width: 1920px;
  height: 1080px;
  opacity: 0;
  /* Fade the cropped regional plane into the dark stage, keeping Bohai Bay crisp while clearing x >= 1370. */
  mask-image: radial-gradient(ellipse 640px 400px at 730px 560px, #000 68%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 640px 400px at 730px 560px, #000 68%, transparent 100%);
}
.s14-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.s14-prov {
  fill: rgba(126, 172, 190, 0.032);
  stroke: rgba(162, 202, 214, 0.36);
  stroke-width: 0.6;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
}
.s14-prov.is-near {
  fill: rgba(140, 190, 205, 0.062);
  stroke: rgba(196, 230, 238, 0.62);
  stroke-width: 0.78;
}
.s14-prov.is-tj-prov {
  fill: rgba(170, 218, 230, 0.12);
  stroke: rgba(226, 244, 248, 0.9);
  stroke-width: 1.3;
}
.s14-inset-box {
  fill: rgba(120, 168, 186, 0.02);
  stroke: rgba(158, 198, 212, 0.2);
  stroke-width: 0.6;
  vector-effect: non-scaling-stroke;
}
.s14-inset-path {
  fill: rgba(140, 188, 202, 0.06);
  stroke: rgba(158, 198, 212, 0.34);
  stroke-width: 0.6;
  vector-effect: non-scaling-stroke;
}
.s14-inset-label {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.24em;
  fill: rgba(200, 220, 226, 0.34);
}

/* ---- 标题（左上，单行衬线标题 + 细横线） ---- */
.s14-head {
  position: absolute;
  left: 118px;
  top: 76px;
  pointer-events: none;
}
.s14-title {
  margin-top: 0;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: 0.12em;
  color: rgba(243, 238, 227, 0.94);
  text-shadow: 0 0 60px rgba(120, 180, 200, 0.14), 0 3px 30px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  opacity: 0;
}
.s14-rule {
  display: block;
  width: 580px;
  height: 1px;
  margin-top: 22px;
  background: linear-gradient(90deg, rgba(186, 214, 222, 0.34), rgba(186, 214, 222, 0.04) 78%, transparent);
  transform: scaleX(0.3);
  transform-origin: 0% 50%;
  opacity: 0;
}

/* ---- 地理坐标标签（DOM，保证字体清晰） ---- */
.s14-label {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}
.s14-lname {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.1em;
  color: rgba(246, 241, 230, 0.97);
  text-shadow:
    0 1px 3px rgba(2, 4, 6, 0.98),
    0 2px 14px rgba(2, 4, 6, 0.96),
    0 0 30px rgba(2, 4, 6, 0.92),
    0 0 56px rgba(2, 4, 6, 0.72);
}
.s14-lcoord {
  margin-top: 9px;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.06em;
  color: rgba(202, 224, 230, 0.5);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 3px rgba(2, 4, 6, 0.98), 0 0 14px rgba(2, 4, 6, 0.95), 0 0 30px rgba(2, 4, 6, 0.8);
}
.s14-label.is-qy .s14-lname { color: rgba(228, 244, 232, 0.96); }
.s14-label.is-qy .s14-lcoord { color: rgba(176, 218, 194, 0.46); }
.s14-label.is-qy { text-align: right; }
.s14-label.is-dim { opacity: 0; }
.s14-label.is-dim .s14-lname {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  letter-spacing: 0.26em;
  color: rgba(198, 218, 224, 0.36);
  text-shadow: none;
}
.s14-label.is-dim .s14-lcoord { display: none; }
.s14-lead {
  position: absolute;
  background: rgba(196, 220, 226, 0.28);
  opacity: 0;
}

/* ---- 数据标注（右侧留白纵向排列，无衬线鲜明绿电青碧：1,500 km / 200 ms / 异步队列 15 min） ---- */
.s14-metrics {
  position: absolute;
  right: 128px;
  top: 380px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 56px;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
}
.s14-metric {
  display: flex;
  align-items: baseline;
}
.s14-num {
  font-family: var(--font-seg);
  font-weight: 700;
  font-size: 72px;
  line-height: 1;
  letter-spacing: 0;
  color: #4ee4b8;
  text-shadow:
    0 0 32px rgba(78, 228, 184, 0.42),
    0 0 64px rgba(78, 228, 184, 0.18),
    0 2px 20px rgba(0, 0, 0, 0.85);
}
.s14-unit {
  margin-left: 12px;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.14em;
  color: rgba(198, 226, 224, 0.58);
}
.s14-txt {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.2em;
  color: rgba(210, 228, 230, 0.72);
  margin-right: 16px;
}
.s14-source {
  position: absolute;
  left: 118px;
  top: 1030px;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.1em;
  color: rgba(190, 212, 220, 0.22);
  opacity: 0;
}

/* =============================================================================
   入场（enter 时重新触发 .s14-play）
   ========================================================================== */
.s14-play .s14-map { animation: s14-map-in 1700ms var(--ease-cine) both 120ms; }
.s14-play .s14-title { animation: s14-rise 1500ms var(--ease-cine) both 360ms; }
.s14-play .s14-rule { animation: s14-rule-in 1700ms var(--ease-cine) both 720ms; }
.s14-play .s14-lead { animation: s14-fade 1200ms var(--ease-cine) both 1550ms; }
.s14-play .s14-label.is-tj { animation: s14-label-in 1300ms var(--ease-cine) both 1500ms; }
.s14-play .s14-label.is-qy { animation: s14-label-in 1300ms var(--ease-cine) both 1800ms; }
.s14-play .s14-label.is-dim { animation: s14-fade 1600ms var(--ease-soft) both 2600ms; }
.s14-metrics.is-revealed { animation: s14-fade 1600ms var(--ease-cine) both; }
.s14-play .s14-source { animation: s14-fade 1800ms var(--ease-soft) both 3200ms; }

@keyframes s14-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes s14-rise {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes s14-map-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes s14-rule-in {
  from { opacity: 0; transform: scaleX(0.3); }
  to { opacity: 1; transform: scaleX(1); }
}
@keyframes s14-label-in {
  from { opacity: 0; transform: translate3d(0, 10px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
