/* ============ 工作流：进度轨道 ============ */
.steps-line {
  position: relative;
  height: 1px;
  margin-bottom: 0;
  background: var(--line);
  overflow: visible;
}
.steps-line > span {
  display: block;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue-deep), var(--blue) 60%, var(--blue-2));
  box-shadow: 0 0 12px var(--blue-glow), 0 0 2px var(--blue);
  will-change: transform;
}

/* ============ 工作流：四步 ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 40px);
}
.step {
  position: relative;
  padding-top: 40px;
}
/* 圆点压在轨道上：轨道 1px 占 [-1px, 0]，圆点 8px，中心对齐到 -0.5px */
.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: -4.5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft), 0 0 14px var(--blue-glow);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.step.lit::before { opacity: 1; transform: scale(1); }

.step-no {
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--text-3);
  transition: color 0.4s var(--ease);
}
.step.lit .step-no { color: var(--blue-ink); }
.step h3 {
  margin-top: 18px;
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text-2);
  transition: color 0.4s var(--ease);
}
.step.lit h3 { color: var(--text); }
.step p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-3);
  text-wrap: pretty;
  transition: color 0.4s var(--ease);
}
.step.lit p { color: var(--text-2); }

/* ============ 工作流：数据 ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px clamp(24px, 3vw, 40px);
  margin-top: 96px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.stat > b {
  position: relative;
  display: inline-flex;
  align-self: flex-start;
  align-items: flex-start;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
}
/* 右上 45° 斜切小角，呼应 Logo */
.stat > b::after {
  content: "";
  flex: none;
  width: 0.16em;
  height: 0.16em;
  margin: 0.06em 0 0 0.1em;
  background: var(--blue);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  box-shadow: 0 0 10px var(--blue-glow);
}
.stat > span {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}

/* ============ 教程：分类胶囊 ============ */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-2);
  font-size: 14px;
  white-space: nowrap;
  transition: color 0.25s, background-color 0.25s, border-color 0.25s;
}
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 11.5px;
  font-feature-settings: "tnum" 1;
  color: var(--text-3);
}
.chip[aria-selected="true"] {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
.chip[aria-selected="true"] em { color: inherit; opacity: 0.7; }

/* ============ 教程：影院布局 ============ */
.theater {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 24px;
}

/* ============ 教程：播放器（两种主题都用深色） ============ */
.player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  color: #fff;
  background:
    radial-gradient(70% 90% at 78% 18%, rgba(31, 143, 255, 0.22), transparent 62%),
    radial-gradient(60% 70% at 10% 100%, rgba(31, 143, 255, 0.08), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 40px 40px,
    #0b0b0e;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.player-poster {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
/* 底部压暗，保证文字可读 */
.player-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.45) 100%);
}
.player-poster.has-poster::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 30%, transparent 40%, rgba(0, 0, 0, 0.82) 100%);
}
.player-poster[hidden],
.player-frame[hidden],
.player-soon[hidden] { display: none; }

/* 播放按钮：用 inset + margin 居中，transform 留给 JS 磁吸，放大用独立的 scale 属性 */
.player-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 84px;
  height: 84px;
  margin: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #0b0b0e;
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.4);
  transition: scale 0.4s var(--ease), transform 0.35s var(--ease), background-color 0.3s, box-shadow 0.4s var(--ease);
}
.player-play svg {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  margin-left: 3px;
}
.player-play::before,
.player-play::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  pointer-events: none;
  animation: sec-ring 2.8s var(--ease) infinite;
}
.player-play::after { animation-delay: 1.4s; }
.player-play:hover:not(:disabled) {
  scale: 1.06;
  box-shadow: 0 22px 60px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.5), 0 0 40px -6px var(--blue-glow);
}
.player-play:disabled {
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.player-play:disabled::before,
.player-play:disabled::after { display: none; }
.player.is-empty .player-play { width: 72px; height: 72px; }
.player.is-empty .player-play svg { width: 24px; height: 24px; }

@keyframes sec-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.75); opacity: 0; }
}

.player-meta {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 1;
  max-width: 640px;
}
.player-cat {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-2);
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-meta h3 {
  margin-top: 10px;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}
.player-meta p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.player-soon {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}
.player-soon::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}

.player-frame {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #000;
}
.player-frame video,
.player-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: contain;
}

/* ============ 教程：播放列表 ============ */
/* contain: size 让列表不参与行高计算，高度跟随播放器，超出滚动 */
.playlist {
  display: flex;
  flex-direction: column;
  gap: 4px;
  contain: size;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.playlist::-webkit-scrollbar { width: 6px; }
.playlist::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; }
.playlist::-webkit-scrollbar-track { background: transparent; }

.pl-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-align: left;
  color: var(--text);
  transition: background-color 0.25s, border-color 0.25s;
}
.pl-item:hover { background: var(--surface-2); }
.pl-item::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  border-radius: 2px;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue-glow);
  opacity: 0;
  transform: scaleY(0.4);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.pl-item[aria-current="true"] {
  background: var(--surface-2);
  border-color: var(--line-2);
}
.pl-item[aria-current="true"]::before { opacity: 1; transform: none; }
.pl-no {
  font-size: 13px;
  color: var(--text-3);
  transition: color 0.25s;
}
.pl-item[aria-current="true"] .pl-no { color: var(--blue-ink); }
.pl-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pl-text b {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.pl-text small {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-3);
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pl-dur {
  font-size: 12.5px;
  color: var(--text-3);
}

/* ============ 关于我们：正文与图片 ============ */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: start;
}
.about-lead {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--text);
  text-wrap: balance;
}
.about-body { margin-top: 28px; }
.about-body p {
  max-width: 60ch;
  color: var(--text-2);
  text-wrap: pretty;
}
.about-body p + p { margin-top: 16px; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.fact { min-width: 0; }
.fact dt {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.fact dd {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
  overflow-wrap: anywhere;
}

.about-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.about-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.media-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
  background:
    radial-gradient(60% 50% at 50% 45%, var(--blue-soft), transparent 70%),
    repeating-linear-gradient(45deg, var(--line) 0 1px, transparent 1px 14px);
  outline: 1px dashed var(--line-2);
  outline-offset: -16px;
}
.media-ph img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  opacity: 0.9;
  box-shadow: 0 0 0 1px var(--line-2), 0 20px 40px -18px var(--blue-glow);
}
.media-ph span {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-3);
}
.about-media.has-photo .media-ph { display: none; }
.about-media figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  padding: 10px 14px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-2);
}
.about-media figcaption:empty { display: none; }

/* ============ 关于我们：理念卡片 ============ */
.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 96px;
}
.value {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.3s;
}
/* .js .reveal 的 transition 优先级更高，这里补回边框过渡 */
.js .value.reveal { transition: opacity 1s var(--ease), transform 0.7s var(--ease), border-color 0.3s; }
/* 右上 45° 斜切线 */
.value::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 22px;
  height: 22px;
  background: linear-gradient(225deg, transparent calc(50% - 0.5px), var(--line-2) calc(50% - 0.5px), var(--line-2) calc(50% + 0.5px), transparent calc(50% + 0.5px));
  transition: opacity 0.3s;
}
/* hover 时出现的右上箭头：横 + 竖两段细线组成的角 */
.value::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 12px;
  height: 12px;
  border-top: 1.5px solid var(--blue);
  border-right: 1.5px solid var(--blue);
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease);
}
.value:hover,
.js .value.reveal.in:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}
.value:hover::before { opacity: 0; }
.value:hover::after { opacity: 1; transform: none; }
.value-no {
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--blue-ink);
}
.value h3 {
  margin-top: 28px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.35;
}
.value p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-2);
}

/* ============ 关于我们：发展历程 ============ */
.timeline { margin-top: 96px; }
.timeline-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-2);
}
.timeline-list {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 32px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.tl-item {
  position: relative;
  padding-top: 32px;
  min-width: 0;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: -4.5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft), 0 0 12px var(--blue-glow);
}
.tl-date {
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--blue-ink);
}
.tl-body h4 {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}
.tl-body p {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-2);
}

/* ============ 联系：面板 ============ */
.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
  padding: clamp(28px, 5vw, 72px);
  border-radius: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.cta-panel > :not(.cta-bg) { position: relative; z-index: 1; min-width: 0; }
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 22px),
    #08080a;
}
.cta-bg::before {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -40%;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 143, 255, 0.34), rgba(31, 143, 255, 0.08) 45%, transparent 70%);
  filter: blur(10px);
  animation: sec-drift 20s var(--ease-io) infinite alternate;
}
.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 0% 0%, rgba(255, 255, 255, 0.04), transparent 60%);
}
html[data-theme="light"] .cta-bg {
  background:
    repeating-linear-gradient(45deg, rgba(10, 10, 12, 0.03) 0 1px, transparent 1px 22px),
    #ffffff;
}
html[data-theme="light"] .cta-bg::before {
  background: radial-gradient(circle, rgba(31, 143, 255, 0.2), rgba(31, 143, 255, 0.05) 45%, transparent 70%);
}
html[data-theme="light"] .cta-bg::after { background: none; }
@keyframes sec-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-12%, -8%) scale(1.08); }
  100% { transform: translate(-4%, -16%) scale(0.96); }
}

.cta-copy .section-sub { max-width: 520px; }

.channels { margin-top: 40px; border-top: 1px solid var(--line); }
.channel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 16px;
  row-gap: 4px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.channel[hidden] { display: none; }
.channel > :not(.copy-btn) { grid-column: 1; }
.channel-k {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.channel-v {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(18px, 1.6vw, 20px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  overflow-wrap: anywhere;
  transition: color 0.25s;
}
/* 可点击的电话 / 邮箱：hover 变蓝并出现右上箭头 */
a.channel-v[href]::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.25s, transform 0.35s var(--ease);
}
a.channel-v[href]:hover { color: var(--blue-ink); }
a.channel-v[href]:hover::after { opacity: 1; transform: none; }
.channel-v.is-pending {
  color: var(--text-3);
  font-weight: 500;
  pointer-events: none;
  text-decoration: underline dashed var(--line-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.channel small {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-3);
}
.channel small:empty { display: none; }

.copy-btn {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  height: 32px;
  min-width: 56px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-2);
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
.copy-btn:hover { color: var(--text); border-color: var(--line-2); background: var(--surface-2); }
.copy-btn.copied { color: var(--blue-ink); border-color: var(--blue); }
.copy-btn[hidden] { display: none; }

.copy-toast { margin-top: 12px; font-size: 13px; color: var(--blue-ink); }
.copy-toast:empty { display: none; }

/* ============ 联系：企业微信二维码 ============ */
.qr-card {
  align-self: center;
  justify-self: end;
  width: 100%;
  max-width: 380px;
  padding: 32px;
  border-radius: var(--radius-l);
  border: 1px solid var(--line-2);
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  text-align: center;
}
.qr-frame {
  position: relative;
  width: min(240px, 100%);
  aspect-ratio: 1;
  margin: 8px auto 0;
  padding: 14px;
  border-radius: var(--radius);
  background: #fff;
}
.qr-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 0 solid var(--blue);
}
.qr-corner.tl { top: -8px; left: -8px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 10px; }
.qr-corner.tr { top: -8px; right: -8px; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 10px; }
.qr-corner.bl { bottom: -8px; left: -8px; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 10px; }
.qr-corner.br { bottom: -8px; right: -8px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 10px; }

.qr-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.qr-ph {
  position: absolute;
  inset: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 10px;
  background: repeating-linear-gradient(45deg, rgba(10, 10, 12, 0.045) 0 1px, transparent 1px 10px);
  outline: 1px dashed rgba(10, 10, 12, 0.18);
  outline-offset: -1px;
}
.qr-ph img { width: 56px; height: 56px; border-radius: 14px; }
.qr-ph span { font-family: var(--mono); font-size: 12.5px; color: #6b6b74; }
.qr-ph[hidden] { display: none; }

.qr-scan {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  box-shadow: 0 0 12px var(--blue-glow);
  animation: qr-scan 3s ease-in-out infinite alternate;
}
@keyframes qr-scan { to { top: calc(100% - 16px); } }
.qr-card.has-qr .qr-scan { display: none; }

.qr-card h3 { margin-top: 24px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.qr-card p { margin-top: 8px; font-size: 14px; color: var(--text-2); }

/* ============ 页脚 ============ */
.footer {
  border-top: 1px solid var(--line);
  padding-top: 80px;
  overflow: hidden;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}
.footer-brand p {
  margin-top: 16px;
  max-width: 320px;
  font-size: 14.5px;
  color: var(--text-3);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, auto));
  gap: 32px clamp(32px, 6vw, 96px);
}
.footer-cols > div { display: flex; flex-direction: column; align-items: flex-start; }
.footer-cols h4 {
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.footer-cols a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-right: 16px;
  font-size: 14.5px;
  color: var(--text-2);
  transition: color 0.25s;
}
.footer-cols a::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-top: 1.5px solid var(--blue);
  border-right: 1.5px solid var(--blue);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.25s, transform 0.35s var(--ease);
}
.footer-cols a:hover { color: var(--text); }
.footer-cols a:hover::after { opacity: 1; transform: none; }

.footer-word {
  margin: 64px 0 0;
  /* 上限 220px：8 个粗体大写字母约 5.1em 宽，260px 会超出 1160px 内容区被裁切 */
  font-size: clamp(64px, 17vw, 220px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.8;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  padding-bottom: 0.06em;
  background: linear-gradient(180deg, var(--line-2), transparent 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-3);
}
.beian { transition: color 0.25s; }
.beian:hover { color: var(--text-2); }
.beian[hidden] { display: none; }

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .steps-line { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
  .step { padding-top: 0; }
  .step::before { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .theater { grid-template-columns: minmax(0, 1fr); }
  .playlist { contain: none; max-height: 420px; }

  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .about-media { aspect-ratio: 4 / 3; }
  .values { grid-template-columns: minmax(0, 1fr); }

  .cta-panel { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .qr-card { justify-self: stretch; max-width: none; }
}

@media (max-width: 760px) {
  .timeline-list {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 28px;
    border-top: 0;
    border-left: 1px solid var(--line);
    padding-left: 28px;
    margin-left: 4px;
  }
  .tl-item { padding-top: 0; }
  .tl-item::before { left: -32.5px; top: 6px; }

  .footer-top { flex-direction: column; gap: 40px; }
  .footer-cols { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .stats { gap: 32px 20px; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 18px; }

  .player { border-radius: var(--radius); }
  .player-play { width: 64px; height: 64px; }
  .player-play svg { width: 22px; height: 22px; margin-left: 2px; }
  .player.is-empty .player-play { width: 56px; height: 56px; }
  .player-meta { left: 16px; right: 16px; bottom: 14px; }
  .player-meta h3 { font-size: 17px; margin-top: 6px; }
  .player-meta p { display: none; }
  .player-cat { font-size: 11px; }
  .player-soon { top: 12px; right: 12px; height: 26px; font-size: 11.5px; }
  .pl-item { padding: 14px; gap: 12px; }

  .value { padding: 26px; }
  .qr-card { padding: 24px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
