.v2-progress-accordion-list,
.v2-progress-accordion-list * {
  /* 切换时列表变高。外层卡片高度固定且溢出隐藏，这段增长仍会被当成滚动锚点，把视口往下顶。 */
  overflow-anchor: none;
}

.v2-progress-accordion-list {
  display: flex;
  flex-direction: column;
}

.v2-progress-accordion-item {
  position: relative;
  width: 100%;
  padding: 1.5625rem 0.625rem 1.5625rem 0;
  border-bottom: 0.0625rem solid #b2c1cd;
}

.v2-progress-accordion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.v2-progress-accordion-track {
  position: absolute;
  bottom: -0.125rem;
  left: 0;
  display: block;
  width: 100%;
  height: 0.1875rem;
  overflow: hidden;
  background: transparent;
}

.v2-progress-accordion-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: #008cff;
  transform: scaleX(0);
  transform-origin: left center;
}

.v2-progress-accordion-item.is-playing .v2-progress-accordion-fill {
  animation: v2-progress-accordion-fill var(--v2-progress-duration, 6s) linear forwards;
}

.v2-progress-accordion-heading {
  flex: 1 1 auto;
  font-family: "Gotham-Bold", sans-serif;
  font-size: 1.5625rem;
  line-height: 1.2;
  letter-spacing: -0.015625rem;
  color: #323232;
}

.v2-progress-accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.6s ease;
}

.v2-progress-accordion-item.is-active .v2-progress-accordion-panel {
  grid-template-rows: 1fr;
}

.v2-progress-accordion-panel-inner {
  min-height: 0;
  overflow: hidden;
}

.v2-progress-accordion-copy {
  display: block;
  max-width: 27.5rem;
  padding-top: 0.9375rem;
  font-family: "Gotham-Book", sans-serif;
  font-size: 1.125rem;
  line-height: 1.22;
  letter-spacing: -0.01125rem;
  color: #323232;
}

.v2-progress-accordion-symbol {
  position: relative;
  flex: 0 0 1.25rem;
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

/* 加号由横竖两条线组成：横线常驻，展开时竖线收起，直接变成减号 */
.v2-progress-accordion-symbol::before,
.v2-progress-accordion-symbol::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #323232;
}

.v2-progress-accordion-symbol::before {
  width: 90%;
  height: 15%;
  margin: -7.5% 0 0 -45%;
}

.v2-progress-accordion-symbol::after {
  width: 15%;
  height: 90%;
  margin: -45% 0 0 -7.5%;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.v2-progress-accordion-item.is-active .v2-progress-accordion-symbol::after {
  opacity: 0;
  transform: scaleY(0);
}

@keyframes v2-progress-accordion-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .v2-progress-accordion-panel,
  .v2-progress-accordion-symbol::after {
    transition: none;
  }

  .v2-progress-accordion-item.is-active .v2-progress-accordion-fill {
    transform: scaleX(1);
    animation: none;
  }
}

/* Overview 右侧热点：红点常态闪动；只有悬停标签红点时才出现基站到该标签的连线并弹出标签卡；悬停基站红点只弹出基站卡、不连线。
 * 参考 redlore.com 的 How it works；交互由 v2_overview_hotspots.js 驱动。 */
.v2-hotspots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.v2-hotspot-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  aspect-ratio: auto;
  overflow: visible;
}

.v2-hotspot-line {
  fill: none;
  /* 线宽用 rem：non-scaling-stroke 下按屏幕尺寸计，随根字号缩放，与设计稿 2.5px 级别的线粗一致 */
  stroke-width: 0.15625rem;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.45s ease;
}

.v2-hotspot-line.is-drawn {
  stroke-dashoffset: 0;
}

.v2-hotspot {
  position: absolute;
  z-index: 2;
  width: 1.5rem;
  height: 1.5rem;
}

.v2-hotspot.is-active {
  z-index: 4;
}

.v2-hotspot-dot {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.v2-hotspot-dot:focus-visible {
  outline: 0.125rem solid #008cff;
  outline-offset: 0.125rem;
}

/* 外圈：直径 1.75rem（28），起始透明度 75%、结束保留 20%，从内点大小向外扩散并变淡，形成闪动；点击热区仍是 1.5rem 的按钮本体加外圈 */
.v2-hotspot-dot::before {
  content: "";
  position: absolute;
  inset: -0.125rem;
  border-radius: 50%;
  background: #ff0001;
  opacity: 0.75;
  animation: v2-hotspot-pulse 1.8s ease-out infinite;
}

/* 内点：直径 0.625rem（10） */
.v2-hotspot-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.625rem;
  height: 0.625rem;
  margin: -0.3125rem 0 0 -0.3125rem;
  border-radius: 50%;
  background: #ff0001;
  transition: transform 0.25s ease;
}

.v2-hotspot.is-active .v2-hotspot-dot::before {
  animation: none;
  opacity: 0.75;
}

.v2-hotspot.is-active .v2-hotspot-dot::after {
  transform: scale(1.2);
}

@keyframes v2-hotspot-pulse {
  0% { transform: scale(0.357); opacity: 0.75; }
  100% { transform: scale(1); opacity: 0.2; }
}

/* 标签卡：卡片 5rem × 6.25rem，三角指针 .649519rem × .5625rem；--up 卡在红点下方（指针朝上），--down 卡在红点上方（指针朝下），避免挡住连线 */
.v2-hotspot-callout {
  position: absolute;
  left: 50%;
  box-sizing: border-box;
  width: 5rem;
  margin-left: -2.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

.v2-hotspot.is-active .v2-hotspot-callout {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.v2-hotspot-callout--wide {
  width: 6.25rem;
  margin-left: -3.125rem;
}

.v2-hotspot--up .v2-hotspot-callout {
  top: 100%;
  padding-top: 0.5625rem;
  transform: translateY(0.5rem);
}

.v2-hotspot--down .v2-hotspot-callout {
  bottom: 100%;
  padding-bottom: 0.5625rem;
  transform: translateY(-0.5rem);
}

.v2-hotspot-callout-card {
  position: relative;
  width: 100%;
  height: 6.25rem;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 0 0.375rem rgba(34, 50, 72, 0.2);
}

.v2-hotspot-callout--tall .v2-hotspot-callout-card {
  height: 6.9375rem;
}

.v2-hotspot-callout-photo {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

/* 文字按 2 倍字号排版再整体缩小一半（等效 0.75rem / 0.875rem 行高），页面缩放后根字号变小时不会被浏览器最小字号撑大 */
.v2-hotspot-callout-label {
  position: absolute;
  top: 4.0625rem;
  left: -50%;
  display: block;
  width: 200%;
  font-family: "Gotham-Medium", sans-serif;
  font-size: 1.5rem;
  line-height: 1.75rem;
  text-align: center;
  white-space: nowrap;
  color: #323232;
  transform: scale(0.5);
  transform-origin: 50% 0;
}

.v2-hotspot-callout--tall .v2-hotspot-callout-label {
  top: 3.9375rem;
}

.v2-hotspot-callout-pointer {
  position: absolute;
  left: 50%;
  display: block;
  width: 0.649519rem;
  max-width: none;
  height: 0.5625rem;
  margin-left: -0.3247595rem;
  aspect-ratio: auto;
}

.v2-hotspot--up .v2-hotspot-callout-pointer {
  top: 0;
}

.v2-hotspot--down .v2-hotspot-callout-pointer {
  bottom: 0;
  transform: scaleY(-1);
}

@media (prefers-reduced-motion: reduce) {
  .v2-hotspot-dot::before {
    animation: none;
  }

  .v2-hotspot-line,
  .v2-hotspot-callout,
  .v2-hotspot-dot::after {
    transition: none;
  }
}
