/* ============================================================
   Steam 特惠 — 样式层
   配色：2 色高对比中性（实测 57% 主流范式）+ 单一饱和强调色
   曲线：cubic-bezier(.19,1,.22,1) —— 实测最高频（100 次）
   ============================================================ */

:root {
  /* —— 2 色主结构 + 1 个强调色（红线：主色 ≤2，强调色仅 1 个且不参与渐变）—— */
  --bg: #0b0b0c;
  --fg: #f4f4f2;
  --accent: #17e08a; /* 唯一强调色，高纯度，不入渐变 */

  /* 中性阶梯（命名范式：语义名 + 数字阶梯）
     刻意保持真中性（饱和度 <0.12）：深色带蓝调会让整体偏"科技模板感"，
     且违反「彩色主色 ≤2」—— 全站只允许 --accent 一个彩色。 */
  --ink50: #171717;
  --ink100: #1e1e1e;
  --ink200: #272727;
  --ink300: #353535;
  --ink400: #565656;
  --ink500: #7b7b7b;
  --ink600: #a5a5a5;

  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-io: cubic-bezier(0.55, 0, 0.1, 1);

  --pad: clamp(18px, 4.2vw, 68px);
  --font-sans: "Archivo", "Inter", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "PP Fraktion Mono", "SF Mono", ui-monospace, Menlo, monospace;
  --font-cond: "Archivo Narrow", "Archivo", var(--font-sans);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: clamp(15px, 0.95vw, 16px); /* 内容型页面：不抄获奖站 13px */
  line-height: 1.6;
  overflow-x: hidden;
  font-feature-settings: "tnum" 1;
}

img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* 焦点可见（实测仅 28% 获奖站做了 → 低成本差异点） */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--accent);
  color: #0b0b0b;
  font-weight: 500;
}
.skip:focus {
  left: 12px;
  top: 12px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------ 加载序列 */

#loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: grid;
  place-items: center;
  clip-path: inset(0 0 0 0);
  will-change: clip-path;
}
.loader__inner {
  text-align: center;
}
.loader__word {
  font-family: var(--font-cond);
  font-size: clamp(38px, 7vw, 104px);
  font-weight: 400; /* 红线：字重 ≤500 */
  line-height: 1; /* 红线：大标题行高 ≈1.0 */
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.loader__count {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink500);
  letter-spacing: 0.16em;
}
.loader__bar {
  margin: 18px auto 0;
  width: min(240px, 50vw);
  height: 1px;
  background: var(--ink300);
  position: relative;
  overflow: hidden;
}
.loader__bar i {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

/* ------------------------------------------------------ 顶栏 */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px var(--pad);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink200);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cond);
  font-size: 17px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.nav__brand svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.nav__links {
  display: flex;
  gap: 4px;
}
.nav__links a {
  padding: 7px 13px;
  font-size: 13.5px;
  color: var(--ink600);
  border-radius: 999px;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.nav__links a:hover {
  color: var(--fg);
  background: var(--ink100);
}
.nav__stat {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink500);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
@media (max-width: 860px) {
  .nav__links,
  .nav__stat {
    display: none;
  }
}

/* ------------------------------------------------------ 首屏 */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  /* 内容整体居中偏下：上方不再留出 200px 死黑 */
  justify-content: center;
  padding: clamp(96px, 13vh, 132px) var(--pad) clamp(36px, 6vh, 56px);
  position: relative;
  overflow: hidden; /* 约束封面墙不溢出 */
}

/* —— 封面滚动墙：填充右上留白 ——
   双列反向滚动，用真实折扣游戏封面。放在标题之下（z-index 0），
   靠遮罩把左下角压暗，保证大标题始终清晰可读。 */
.hero__wall {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  display: flex;
  gap: 14px;
  /* 3 列 + 更宽的整体宽度：单张封面更大、更容易辨识 */
  width: min(64vw, 900px);
  height: 100%;
  padding: 0 clamp(10px, 2vw, 26px) 0 0;
  pointer-events: none;
  transform: rotate(-5deg);
  transform-origin: 100% 30%;
  mask-image: linear-gradient(to bottom, #000 56%, transparent 94%);
}
.wall__col {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.wall__track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  will-change: transform;
}
.wall__item {
  position: relative;
  flex: none;
  aspect-ratio: 460 / 215;
  overflow: hidden;
  background: var(--ink100);
  border: 1px solid var(--ink200);
}
.wall__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 调亮：0.28 → 0.62，减轻去色与压暗，让封面成为可辨识的内容 */
  opacity: 0.62;
  filter: grayscale(0.28) contrast(1.04) brightness(1.02);
}
.wall__pct {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 3px 7px;
  background: var(--accent);
  color: #0b0b0b;
  font-family: var(--font-cond);
  font-size: 13px;
  line-height: 1.15;
}
/* 斜向渐隐：只在最左侧做硬保护，其余尽量放开，
   避免加宽后左侧两列被渐变整片吃掉（等于白渲染）。 */
.hero__wall .wall__fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      96deg,
      var(--bg) 18%,
      color-mix(in srgb, var(--bg) 78%, transparent) 32%,
      color-mix(in srgb, var(--bg) 42%, transparent) 48%,
      color-mix(in srgb, var(--bg) 14%, transparent) 66%,
      transparent 84%
    ),
    linear-gradient(to top, var(--bg) 8%, color-mix(in srgb, var(--bg) 40%, transparent) 32%, transparent 64%);
}

/* —— 手绘涂鸦群：正常流布局，紧贴 kicker 上方 ——
   注意：flex 列容器里 SVG 的 height:auto 会塌陷成 0，
   必须用 aspect-ratio 显式给出比例（viewBox 620×132 ≈ 4.7）。 */
.hero__doodle {
  position: relative;
  z-index: 1;
  display: block;
  /* 用 vh 参与约束：矮视口下自动收窄，避免把统计数字挤出首屏 */
  width: min(clamp(300px, 40vw, 560px), 78vh);
  aspect-ratio: 604 / 112;
  height: auto;
  margin: 0 0 clamp(14px, 2.4vh, 30px);
  color: var(--ink400);
  pointer-events: none;
  flex: 0 0 auto;
}
/* 极矮视口（如 <620px）直接隐藏涂鸦，优先保证核心信息可见 */
@media (max-height: 620px) {
  .hero__doodle {
    display: none;
  }
}
/* dd 现在是 <g> 分组，描边动画作用在组内每条路径上 */
.hero__doodle .dd > * {
  stroke-dasharray: var(--len, 400);
  stroke-dashoffset: var(--len, 400);
}
.hero__doodle .dd--accent {
  color: var(--accent);
  opacity: 0.75;
}
/* 无 JS / reduce 时直接显示完整线条 */
.no-js .hero__doodle .dd > *,
.hero__doodle.is-shown .dd > * {
  stroke-dashoffset: 0;
}

/* 封面墙在中小屏收窄，移动端整体隐藏（避免和文字抢空间） */
@media (max-width: 1100px) {
  .hero__wall {
    width: min(52vw, 420px);
    transform: rotate(-5deg) scale(1.14);
  }
  .hero__doodle {
    display: none;
  }
}
@media (max-width: 820px) {
  .hero__wall {
    display: none;
  }
}
.hero__kicker {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--ink500);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.hero__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-cond);
  font-size: clamp(46px, 9.2vw, 158px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  /* 封面调亮后，标题末尾可能压到封面上 —— 用同色投影保证边缘可读，
     比压暗整片封面更划算 */
  text-shadow: 0 2px 28px var(--bg), 0 0 10px var(--bg);
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
}
.line-mask {
  display: block;
  overflow: hidden;
}
.hero__meta {
  position: relative;
  z-index: 1;
  margin-top: clamp(22px, 3.4vh, 34px);
  display: flex;
  flex-wrap: wrap;
  gap: 34px 56px;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid var(--ink200);
  padding-top: clamp(18px, 2.6vh, 26px);
}
.hero__lede {
  max-width: 46ch;
  color: var(--ink600);
  font-size: clamp(14.5px, 1.05vw, 16.5px);
  margin: 0;
}
.hero__nums {
  display: flex;
  gap: clamp(24px, 3vw, 52px);
  /* 数字区落在明亮封面上，加一层同色底衬保证读得清 */
  padding: 10px clamp(14px, 1.6vw, 22px);
  margin: -10px calc(clamp(14px, 1.6vw, 22px) * -1);
  border-radius: 3px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(6px);
}
.stat__v {
  font-family: var(--font-cond);
  font-size: clamp(30px, 3.4vw, 54px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px var(--bg), 0 0 8px var(--bg);
}
.stat__k {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink500);
  text-transform: uppercase;
  text-shadow: 0 1px 12px var(--bg);
}
.hero__scroll {
  position: absolute;
  right: var(--pad);
  bottom: 48px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ink400);
  writing-mode: vertical-rl;
}
@media (max-width: 1180px) {
  /* 视口较窄时竖排 SCROLL 会压到统计数字上 */
  .hero__scroll {
    display: none;
  }
}

/* ------------------------------------------------------ 区块通用 */

.section {
  padding: clamp(72px, 9vw, 148px) var(--pad);
  border-top: 1px solid var(--ink200);
}
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 3.4vw, 52px);
}
.section__no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section__title {
  margin: 0;
  font-family: var(--font-cond);
  font-size: clamp(30px, 4.4vw, 68px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.028em;
  text-transform: uppercase;
}

/* ------------------------------------------------------ 大促活动 */

.events {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 236px), 1fr));
  gap: 14px;
}
.event {
  position: relative;
  display: block;
  border: 1px solid var(--ink200);
  background: var(--ink50);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.event:hover {
  border-color: var(--ink400);
}
.event__img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.event:hover .event__img {
  transform: scale(1.04);
}
.event__body {
  padding: 14px 16px 16px;
}
.event__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
}
.event__name {
  margin-top: 7px;
  font-size: 14.5px;
  line-height: 1.35;
}
.event__note {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink500);
}

/* ------------------------------------------------------ 榜首英雄卡 */

.topdeal {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  border: 1px solid var(--ink200);
  background: var(--ink50);
  padding: clamp(16px, 2vw, 26px);
}
@media (max-width: 900px) {
  .topdeal {
    grid-template-columns: 1fr;
  }
}
.topdeal__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 460 / 215;
  background: var(--ink100);
}
.topdeal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.topdeal__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 12px;
  background: var(--accent);
  color: #0b0b0b;
  font-family: var(--font-cond);
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.topdeal__no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink500);
}
.topdeal__title {
  margin: 12px 0 0;
  font-family: var(--font-cond);
  font-size: clamp(26px, 3.1vw, 46px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.topdeal__row {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.topdeal__now {
  font-family: var(--font-cond);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.topdeal__was {
  color: var(--ink500);
  text-decoration: line-through;
  font-size: 15px;
}
.topdeal__save {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink600);
  border: 1px solid var(--ink300);
  padding: 4px 9px;
}
.topdeal__foot {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink500);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--fg);
  color: var(--bg);
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 999px;
  transition: transform 0.28s var(--ease), background-color 0.28s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: #0b0b0b;
}
.btn svg {
  width: 14px;
  height: 14px;
}

/* ------------------------------------------------------ 控制条 */

.controls {
  position: sticky;
  top: 57px;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink200);
  padding: 14px var(--pad);
  margin: 0 calc(var(--pad) * -1);
}
.controls__row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.search {
  position: relative;
  flex: 1 1 260px;
  min-width: 210px;
}
.search svg {
  position: absolute;
  left: 13px;
  top: 50%;
  translate: 0 -50%;
  width: 15px;
  height: 15px;
  color: var(--ink500);
  pointer-events: none;
}
.search input {
  width: 100%;
  padding: 11px 14px 11px 38px;
  background: var(--ink100);
  border: 1px solid var(--ink200);
  color: var(--fg);
  font: inherit;
  font-size: 14px;
  border-radius: 999px;
  transition: border-color 0.25s var(--ease);
}
.search input::placeholder {
  color: var(--ink400);
}
.search input:focus {
  border-color: var(--ink400);
  outline: none;
}
.search input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.search__clear {
  position: absolute;
  right: 8px;
  top: 50%;
  translate: 0 -50%;
  width: 26px;
  height: 26px;
  display: none;
  place-items: center;
  color: var(--ink500);
  border-radius: 50%;
}
.search__clear.on {
  display: grid;
}
.search__clear:hover {
  color: var(--fg);
  background: var(--ink200);
}

.select {
  position: relative;
}
.select select {
  appearance: none;
  padding: 11px 34px 11px 14px;
  background: var(--ink100);
  border: 1px solid var(--ink200);
  color: var(--fg);
  font: inherit;
  font-size: 13.5px;
  border-radius: 999px;
  cursor: pointer;
}
.select::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--ink500);
  border-bottom: 1.5px solid var(--ink500);
  rotate: 45deg;
  translate: 0 -70%;
  pointer-events: none;
}

.chips {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 12px 0 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.chips::-webkit-scrollbar {
  display: none;
}
.chip {
  flex: none;
  padding: 7px 14px;
  font-size: 13px;
  color: var(--ink600);
  background: var(--ink100);
  border: 1px solid var(--ink200);
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.chip:hover {
  color: var(--fg);
  border-color: var(--ink400);
}
.chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b0b0b;
  font-weight: 500;
}

/* ------------------------------------------------------ 卡片网格 */

.grid {
  margin-top: clamp(24px, 3vw, 42px);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr));
  gap: 14px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ink200);
  background: var(--ink50);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover {
  border-color: var(--ink400);
  transform: translateY(-3px);
}
.card__media {
  position: relative;
  aspect-ratio: 231 / 87;
  background: var(--ink100);
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card__media img {
  transform: scale(1.05);
}
.card__pct {
  position: absolute;
  top: 0;
  right: 0;
  padding: 6px 10px;
  background: var(--accent);
  color: #0b0b0b;
  font-family: var(--font-cond);
  font-size: 17px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.card__body {
  padding: 13px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.card__title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.card__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink500);
  border: 1px solid var(--ink200);
  padding: 2px 6px;
}
.card__foot {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid var(--ink200);
}
.card__prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.card__now {
  font-family: var(--font-cond);
  font-size: 20px;
  line-height: 1.1;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.card__was {
  font-size: 12px;
  color: var(--ink400);
  text-decoration: line-through;
}
.card__rev {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink500);
  text-align: right;
  white-space: nowrap;
}
.card__rev b {
  color: var(--ink600);
  font-weight: 500;
}

/* 骨架屏 */
.sk {
  border: 1px solid var(--ink200);
  background: var(--ink50);
}
.sk__m {
  aspect-ratio: 231 / 87;
  background: linear-gradient(90deg, var(--ink100), var(--ink200), var(--ink100));
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
.sk__l {
  height: 11px;
  margin: 13px 14px;
  background: var(--ink200);
}
.sk__l.s {
  width: 52%;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.empty {
  padding: 68px 20px;
  text-align: center;
  border: 1px dashed var(--ink300);
}
.empty__t {
  font-family: var(--font-cond);
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.empty__s {
  margin-top: 12px;
  color: var(--ink500);
  font-size: 14px;
}

.more {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
.more button {
  padding: 12px 26px;
  border: 1px solid var(--ink300);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--ink600);
  transition: color 0.28s var(--ease), border-color 0.28s var(--ease);
}
.more button:hover {
  color: var(--fg);
  border-color: var(--fg);
}

/* ------------------------------------------------------ 折扣分布图 */

.bars {
  display: grid;
  gap: 10px;
}
.bar {
  display: grid;
  grid-template-columns: 62px 1fr 58px;
  align-items: center;
  gap: 14px;
}
.bar__k {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink600);
}
.bar__track {
  height: 6px;
  background: var(--ink200);
  overflow: hidden;
}
.bar__fill {
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}
.bar__v {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink500);
  text-align: right;
}

/* ------------------------------------------------------ 页脚 */

.footer {
  padding: clamp(60px, 7vw, 112px) var(--pad) 40px;
  border-top: 1px solid var(--ink200);
}
.footer__big {
  font-family: var(--font-cond);
  font-size: clamp(38px, 11vw, 168px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0 0 34px;
}
.footer__row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--ink200);
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink500);
  letter-spacing: 0.05em;
}
.footer__row a:hover {
  color: var(--fg);
}

/* ------------------------------------------------------ 降级 */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .sk__m {
    animation: none;
  }
  .bar__fill {
    transform: scaleX(1);
  }
}

/* JS 未接管时兜底可见（防止 opacity:0 永久隐藏） */
.no-js [data-reveal-item] {
  opacity: 1 !important;
  transform: none !important;
}
