/* openKylin 系统下载 2026 — 设计稿视觉 + 可维护语义化样式
 * 基准：1920px；小屏通过媒体查询降列/堆叠
 */

:root {
  --ok-blue: #1460fa;
  --ok-blue-deep: #0c7beb;
  --ok-text: #262626;
  --ok-text-body: #0e0e0e;
  --ok-muted: #666;
  --ok-white: #ffffff;
  --ok-row: #e8ecf2;
  --ok-head: #3d3d3d;
  --ok-border: #cccccc;
  --ok-axis: #bed6ff;
  --ok-shadow: 0 4px 12px rgba(39, 63, 126, 0.08);
  --ok-shadow-lg: 0 4px 16px rgba(39, 63, 126, 0.08);
  --ok-radius-card: 20px;
  --ok-radius-sm: 8px;
  --ok-content: 1440px;
  --ok-wide: 1600px;
  --ok-section-gap: 100px;
  --ok-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --ok-hero-bg: url("https://www.openkylin.top/public/images/hero-bg.png?v=1");
  --ok-mirror-bg: url("https://www.openkylin.top/public/images/mirror-bg.png");
  --ok-timeline-deco: url("https://www.openkylin.top/public/images/timeline-deco.png");
  --ok-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ok-ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --ok-motion-fast: 0.28s;
  --ok-motion: 0.55s;
  --ok-motion-slow: 0.8s;
}

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

.ok-download-2026 {
  font-family: var(--ok-font);
  color: var(--ok-text);
  background: linear-gradient(180deg, #e5f2fe 0%, #f0fbff 100%);
  padding-bottom: 140px;
  overflow-x: hidden;
}

.ok-download-2026 a {
  text-decoration: none;
}

.ok-download-2026 img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.ok-download-2026 .ok-container {
  width: var(--ok-content);
  min-width: var(--ok-content);
  max-width: var(--ok-content);
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

.ok-download-2026 .ok-container--wide {
  width: var(--ok-wide);
  min-width: var(--ok-content);
  max-width: var(--ok-wide);
}

.preview-note {
  max-width: var(--ok-content);
  margin: 0 auto 8px;
  padding: 8px 40px 0;
  font-size: 13px;
  color: var(--ok-muted);
}

/* ========== Hero / Banner ========== */
.download-hero {
  position: relative;
  min-height: 740px;
  padding: 100px 0 120px;
  text-align: center;
  /* PAG 壁纸偏浅：静态兜底与动态共用深色字 */
  color: #1a1a1a;
  background-color: #eaf2ff;
  background-image: var(--ok-hero-bg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  overflow: hidden;
}

.download-hero__pag {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  display: block;
  max-width: none;
  width: auto;
  height: auto;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.35s var(--ok-ease-out);
}

.download-hero > .ok-container {
  position: relative;
  z-index: 1;
}

/* PAG 就绪：去掉静态图，避免双层叠影；底色保持浅色兜底 */
.download-hero.is-pag-ready {
  background-image: none;
}

.download-hero.is-pag-ready .download-hero__pag {
  opacity: 1;
}

.download-hero__title {
  margin: 0;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.3;
  color: #1a1a1a;
}

.download-hero__desc {
  margin: 20px auto 0;
  max-width: 1250px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #1a1a1a;
}

.download-hero__tabs {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 331px;
}

.ok-download-2026 .hero-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 400px;
  height: 80px;
  padding: 0 32px;
  border: none;
  border-radius: var(--ok-radius-sm);
  font-size: 22px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition:
    box-shadow var(--ok-motion-fast) var(--ok-ease-out),
    transform var(--ok-motion-fast) var(--ok-ease-out),
    background-color var(--ok-motion-fast) ease;
}

.ok-download-2026 .hero-tab::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  pointer-events: none;
}

.ok-download-2026 .hero-tab:hover::after {
  transition: transform 0.65s var(--ok-ease-out);
  transform: translateX(120%);
}

.ok-download-2026 .hero-tab__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
  transition: transform var(--ok-motion-fast) var(--ok-ease-spring);
}

.ok-download-2026 .hero-tab:hover .hero-tab__icon {
  transform: scale(1.08) rotate(-4deg);
}

.ok-download-2026 .hero-tab--active {
  background: var(--ok-blue);
  color: var(--ok-white);
  box-shadow: 0 8px 24px rgba(20, 96, 250, 0.35);
}

.ok-download-2026 .hero-tab--active:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(20, 96, 250, 0.45);
}

.ok-download-2026 .hero-tab--inactive {
  background: var(--ok-white);
  color: var(--ok-text);
}

.ok-download-2026 .hero-tab--inactive:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(39, 63, 126, 0.16);
}

/* ========== Version cards ==========
 * 卡片上叠到 banner 底部，形成压在 banner 上的层次感
 */
.version-section {
  position: relative;
  z-index: 2;
  transform: translateY(-80px);
  margin-bottom: -80px;
}

.version-section > .version-card:first-of-type {
  box-shadow: 0 8px 28px rgba(39, 63, 126, 0.14);
}

.version-card {
  background: var(--ok-white);
  border-radius: var(--ok-radius-card);
  box-shadow: var(--ok-shadow);
  width: 100%;
  box-sizing: border-box;
  /* 卡片外宽 1440（含 padding），表格在内边距内，不贴边 */
  padding: 48px 60px 40px;
  margin-bottom: var(--ok-section-gap);
  transition: box-shadow var(--ok-motion) var(--ok-ease-out);
}

.version-card:hover {
  box-shadow: 0 12px 36px rgba(39, 63, 126, 0.14);
}

.version-section > .version-card:last-of-type {
  margin-bottom: 0;
}

.version-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 16px;
  column-gap: 0;
}

.version-card__title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.version-card__dot {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.version-card__dot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.version-card__title {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ok-text);
}

.version-card__badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  margin-left: 20px;
  border-radius: 18px;
  background: var(--ok-blue);
  color: var(--ok-white);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.version-card__badge--beta {
  background: rgba(63, 179, 82, 1);
}

.version-card__badge--agent {
  background: #6b4ce6;
}

.version-card__date {
  margin-left: 32px;
  font-size: 16px;
  color: var(--ok-text);
  white-space: nowrap;
}

.version-card__desc {
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ok-text-body);
  max-width: none;
}

.arch-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 32px;
  font-size: 16px;
  color: var(--ok-text-body);
}

.arch-filter__label {
  flex-shrink: 0;
}

.arch-filter__option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  transition: color var(--ok-motion-fast) ease;
}

.arch-filter__option:hover {
  color: var(--ok-blue);
}

.arch-filter__option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.arch-filter__box {
  width: 28px;
  height: 28px;
  border: 1px solid var(--ok-border);
  border-radius: 4px;
  background: var(--ok-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color var(--ok-motion-fast) ease,
    background-color var(--ok-motion-fast) ease,
    transform var(--ok-motion-fast) var(--ok-ease-spring),
    box-shadow var(--ok-motion-fast) ease;
}

.arch-filter__option:hover .arch-filter__box {
  border-color: var(--ok-blue);
  box-shadow: 0 0 0 3px rgba(20, 96, 250, 0.12);
}

.arch-filter__option input:checked + .arch-filter__box {
  border-color: var(--ok-blue);
  background: var(--ok-blue);
  transform: scale(1.06);
  box-shadow: 0 0 0 4px rgba(20, 96, 250, 0.18);
}

.arch-filter__option input:checked + .arch-filter__box::after {
  content: "";
  width: 8px;
  height: 14px;
  border: solid var(--ok-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
  animation: ok-check-pop 0.35s var(--ok-ease-spring);
}

.arch-filter__option input:focus-visible + .arch-filter__box {
  outline: 2px solid var(--ok-blue);
  outline-offset: 2px;
}

.download-table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* flex/grid 列表：避开站点 table { display:table-cell !important } 污染 */
.ok-download-2026 .download-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  min-width: 0;
}

.ok-download-2026 .download-list__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  min-width: 0;
}

.ok-download-2026 .download-list__head,
.ok-download-2026 .download-item {
  display: grid;
  grid-template-columns: 14% 16% 12% 14% 16% 14% 14%;
  gap: 2px;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}

.ok-download-2026 .download-list__head > span,
.ok-download-2026 .download-item__cell {
  padding: 18px 16px;
  text-align: left;
  font-size: 16px;
  line-height: 1.4;
  box-sizing: border-box;
  min-width: 0;
  word-break: break-word;
}

.ok-download-2026 .download-list__head > span {
  background: var(--ok-head);
  color: var(--ok-white);
  font-weight: 500;
  font-size: 20px;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.ok-download-2026 .download-item {
  transition: opacity var(--ok-motion-fast) ease, transform var(--ok-motion-fast) var(--ok-ease-out);
}

.ok-download-2026 .download-item__cell {
  background: var(--ok-row);
  color: var(--ok-text);
  display: flex;
  align-items: center;
  transition: background-color var(--ok-motion-fast) ease;
}

.ok-download-2026 .download-item:not([hidden]):hover .download-item__cell {
  background: #dce5f3;
}

.ok-download-2026 .download-item[hidden] {
  display: none !important;
}

.ok-download-2026 .download-item.is-filtering-out {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

.ok-download-2026 .download-table__link {
  position: relative;
  color: var(--ok-blue);
  font-weight: 400;
  transition: color var(--ok-motion-fast) ease, letter-spacing var(--ok-motion-fast) ease;
}

.ok-download-2026 .download-table__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--ok-motion-fast) var(--ok-ease-out);
}

.ok-download-2026 .download-table__link:hover {
  text-decoration: none;
  letter-spacing: 0.02em;
}

.ok-download-2026 .download-table__link:hover::after {
  transform: scaleX(1);
}

.ok-download-2026 .download-table__md5 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ok-text);
  transition: color var(--ok-motion-fast) ease;
}

.ok-download-2026 .download-table__md5:hover {
  color: var(--ok-blue);
}

.ok-download-2026 .download-table__md5:hover .download-table__md5-icon {
  animation: ok-copy-nudge 0.45s var(--ok-ease-spring);
}

.download-table__md5-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: block;
}

.download-table__empty {
  color: var(--ok-muted);
}

/* ========== 生态版本 ========== */
.eco-section {
  margin-top: var(--ok-section-gap);
}

.eco-section__head {
  text-align: center;
  margin-bottom: 32px;
}

.eco-section__head .section-title {
  margin-bottom: 12px;
}

.eco-section__desc {
  margin: 0 auto;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ok-muted);
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.eco-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 32px 28px 28px;
  border-radius: var(--ok-radius-card);
  background: var(--ok-white);
  box-shadow: var(--ok-shadow);
  border: 1px solid rgba(20, 96, 250, 0.06);
  transition:
    transform var(--ok-motion) var(--ok-ease-out),
    box-shadow var(--ok-motion) var(--ok-ease-out),
    border-color var(--ok-motion-fast) ease;
}

.eco-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--ok-pointer-x, 80%) var(--ok-pointer-y, 20%),
    rgba(20, 96, 250, 0.1),
    transparent 55%
  );
  opacity: 0;
  transition: opacity var(--ok-motion) ease;
  pointer-events: none;
  z-index: 0;
}

.eco-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(39, 63, 126, 0.14);
  border-color: rgba(20, 96, 250, 0.18);
}

.eco-card:hover::before {
  opacity: 1;
}

.eco-card__body {
  position: relative;
  z-index: 1;
  max-width: 78%;
}

.eco-card__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--ok-text);
  line-height: 1.3;
}

.eco-card__badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 14px;
  border: 1px solid #8b59ff;
  color: #6636e8;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.eco-card__badge--blue {
  border-color: #228bff;
  color: #0b67ed;
}

.eco-card__badge--orange {
  border-color: #ff9b4d;
  color: #f0781b;
}

.eco-card__text {
  margin: 16px 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ok-text-body);
}

.ok-download-2026 .eco-card__btn {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  color: var(--ok-white);
  font-size: 15px;
  font-weight: 600;
  background: linear-gradient(110deg, #7342ef, #5527db);
  box-shadow: 0 6px 16px rgba(85, 39, 219, 0.25);
  transition:
    opacity var(--ok-motion-fast) ease,
    transform var(--ok-motion-fast) var(--ok-ease-spring),
    box-shadow var(--ok-motion-fast) ease;
}

.ok-download-2026 .eco-card__btn:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 22px rgba(85, 39, 219, 0.35);
}

.eco-card--fork .eco-card__btn {
  background: linear-gradient(110deg, #167cff, #0758e9);
  box-shadow: 0 6px 16px rgba(7, 88, 233, 0.25);
}

.eco-card--fork .eco-card__btn:hover {
  box-shadow: 0 10px 22px rgba(7, 88, 233, 0.35);
}

.eco-card--claw .eco-card__btn {
  background: linear-gradient(110deg, #ff9a16, #ff6e00);
  box-shadow: 0 6px 16px rgba(255, 110, 0, 0.25);
}

.eco-card--claw .eco-card__btn:hover {
  box-shadow: 0 10px 22px rgba(255, 110, 0, 0.35);
}

.eco-card__icon {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 110px;
  height: 110px;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
  transition: transform var(--ok-motion-slow) var(--ok-ease-out);
  will-change: transform;
}

.eco-card:hover .eco-card__icon {
  transform: translate(-4px, -8px) scale(1.06);
}

/* ========== Mirrors ========== */
.mirror-section {
  margin-top: var(--ok-section-gap);
}

.ok-download-2026 .mirror-section.ok-container {
  max-width: 1600px;
  padding-left: 0;
  padding-right: 0;
}

.section-title {
  margin: 0 0 32px;
  font-size: 45px;
  font-weight: 600;
  text-align: center;
  color: var(--ok-text);
  line-height: 1.3;
}

.mirror-panel {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  border-radius: var(--ok-radius-card);
  padding: 40px 80px;
  min-height: 360px;
  box-sizing: border-box;
  background-color: #1460fa;
  background-image: var(--ok-mirror-bg);
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
  color: var(--ok-white);
}

.mirror-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: auto;
  max-width: calc(240px * 3 + 40px * 2);
}

.mirror-list > li {
  flex: 0 0 240px;
  width: 240px;
}

.ok-download-2026 .mirror-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 80px;
  padding: 12px 20px;
  background: var(--ok-white);
  border-radius: var(--ok-radius-sm);
  transition:
    transform var(--ok-motion-fast) var(--ok-ease-out),
    box-shadow var(--ok-motion-fast) var(--ok-ease-out);
}

.ok-download-2026 .mirror-list a:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 28px rgba(10, 40, 100, 0.22);
}

.ok-download-2026 .mirror-list a:active {
  transform: translateY(-1px) scale(0.99);
}

.ok-download-2026 .mirror-list a img {
  transition: transform var(--ok-motion-fast) var(--ok-ease-spring);
}

.ok-download-2026 .mirror-list a:hover img {
  transform: scale(1.04);
}

.mirror-list img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.ok-download-2026 .mirror-more {
  display: inline-block;
  margin-top: 24px;
  font-size: 16px;
  color: var(--ok-white);
  position: relative;
  transition: opacity var(--ok-motion-fast) ease, letter-spacing var(--ok-motion-fast) ease;
}

.ok-download-2026 .mirror-more:hover {
  text-decoration: none;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

/* ========== Timeline：横向滑动时间轴 ========== */
.timeline-section {
  position: relative;
  margin-top: var(--ok-section-gap);
  min-width: var(--ok-content);
}

.timeline-main {
  position: relative;
  --timeline-years-h: 38px;
  --timeline-years-gap: 20px;
  --timeline-axis-top: calc(var(--timeline-years-h) + var(--timeline-years-gap));
  --timeline-nav-w: 30px;
  --timeline-board-gap: 16px;
}

/* 视口 1600；左右箭头在 1600 外侧，容器需额外容纳按钮与间距 */
.timeline-main > .ok-container.ok-container--wide {
  width: calc(var(--ok-wide) + var(--timeline-nav-w) * 2 + var(--timeline-board-gap) * 2);
  max-width: calc(var(--ok-wide) + var(--timeline-nav-w) * 2 + var(--timeline-board-gap) * 2);
  padding-left: 0;
  padding-right: 0;
}

/* 横轴：贯穿整屏（相对页面内容区全宽） */
.timeline-axis {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  top: var(--timeline-axis-top);
  background: var(--ok-axis);
  z-index: 1;
  pointer-events: none;
}

.timeline-board {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--timeline-board-gap);
  padding: 0;
  --timeline-visible: 4;
  --timeline-col-gap: 40px;
  --timeline-card-w: 370px;
  --timeline-card-h: 320px;
  --timeline-years-h: 38px;
  --timeline-years-gap: 20px;
  /* 事件圆点列中心：卡片边框 + 左 padding + 日期列 + gap + 圆点列一半 */
  --timeline-spine-x: calc(2px + 18px + 72px + 8px + 9px);
  --timeline-stem-h: 36px;
  --timeline-card-pad-top: 43px;
  --timeline-nav-h: 100px;
}

.timeline-nav {
  flex: 0 0 var(--timeline-nav-w);
  box-sizing: border-box;
  width: var(--timeline-nav-w);
  height: var(--timeline-nav-h);
  /* 与 timeline-card 垂直居中对齐：年份行 + 间距 + 茎高 + (卡片高 - 按钮高) / 2 */
  margin-top: calc(
    var(--timeline-years-h)
    + var(--timeline-years-gap)
    + var(--timeline-stem-h)
    + (var(--timeline-card-h) - var(--timeline-nav-h)) / 2
  );
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f2f8ff 0%, #ffffff 100%);
  box-shadow: 0 2px 6px 0 rgba(39, 63, 126, 0.08);
  border-radius: 8px;
  border: 2px solid #ffffff;
  cursor: pointer;
  z-index: 2;
  transition:
    transform var(--ok-motion-fast) var(--ok-ease-out),
    box-shadow var(--ok-motion-fast) ease,
    opacity var(--ok-motion-fast) ease;
}

.timeline-nav:not(:disabled):hover {
  transform: scale(1.06);
  box-shadow: 0 8px 18px rgba(39, 63, 126, 0.14);
}

.timeline-nav__arrow {
  display: block;
  width: 8px;
  height: 8px;
  box-sizing: border-box;
  border-style: solid;
  border-color: #5a5a5a;
  border-width: 0 0 2px 2px;
}

.timeline-nav--prev .timeline-nav__arrow {
  transform: rotate(45deg);
  margin-left: 3px;
}

.timeline-nav--next .timeline-nav__arrow {
  transform: rotate(-135deg);
  margin-right: 3px;
}

.timeline-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.timeline-viewport {
  /* 不含左右切换按钮的可视区固定 1600（4×370 + 3×40） */
  flex: 1 1 var(--ok-wide);
  width: var(--ok-wide);
  max-width: var(--ok-wide);
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  container-type: inline-size;
  container-name: timeline-vp;
}

.timeline-viewport::-webkit-scrollbar {
  display: none;
}

.timeline-track {
  display: flex;
  flex-direction: column;
  width: max-content;
  min-width: 100%;
}

.timeline-years-row {
  display: flex;
  gap: var(--timeline-col-gap);
  margin-bottom: var(--timeline-years-gap);
  min-height: var(--timeline-years-h);
}

.timeline-year-label {
  flex: 0 0 var(--timeline-card-w);
  width: var(--timeline-card-w);
  box-sizing: border-box;
  /* 文字中心对齐时间轴圆点（--timeline-spine-x） */
  text-align: center;
  transform: translateX(calc(var(--timeline-spine-x) - 50%));
  font-size: 32px;
  font-weight: 600;
  color: var(--ok-blue);
  line-height: var(--timeline-years-h);
  white-space: nowrap;
}

.timeline-columns {
  display: flex;
  gap: var(--timeline-col-gap);
  align-items: stretch;
}

.timeline-col {
  position: relative;
  flex: 0 0 var(--timeline-card-w);
  width: var(--timeline-card-w);
  padding-top: var(--timeline-stem-h);
  display: flex;
  flex-direction: column;
}

.timeline-col__year {
  display: none;
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 600;
  color: var(--ok-blue);
}

/* 浅蓝底：挂在列上，z-index 最低，避免挡住竖线 */
.timeline-col::before {
  content: "";
  position: absolute;
  top: -19px;
  left: var(--timeline-spine-x);
  width: 40px;
  height: 40px;
  margin-left: -20px;
  border-radius: 50%;
  background: #bed6ff;
  z-index: 0;
  pointer-events: none;
}

/* 横轴交点实心蓝圆：压在竖线之上 */
.timeline-col__stem {
  position: absolute;
  top: -9px;
  left: var(--timeline-spine-x);
  width: 20px;
  height: 20px;
  margin-left: -10px;
  border-radius: 50%;
  background: #1460fa;
  z-index: 2;
  pointer-events: none;
}

.timeline-card {
  position: relative;
  flex: none;
  width: 100%;
  height: var(--timeline-card-h);
  background-color: #ffffff;
  background-image: var(--ok-timeline-deco), linear-gradient(180deg, #f2f8ff 0%, #ffffff 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: right bottom, center;
  background-size: 200px auto, 100% 100%;
  border: 2px solid #ffffff;
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(39, 63, 126, 0.08);
  padding: var(--timeline-card-pad-top) 18px 24px;
  overflow: visible;
  transition:
    transform var(--ok-motion) var(--ok-ease-out),
    box-shadow var(--ok-motion) var(--ok-ease-out);
}

.timeline-col:hover .timeline-card {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(39, 63, 126, 0.14);
}

.timeline-col:hover .timeline-col__stem {
  animation: ok-pulse-ring 1.4s var(--ok-ease-out) infinite;
}

.timeline-event {
  display: grid;
  grid-template-columns: 72px 18px 1fr;
  gap: 8px;
  align-items: start;
  margin-bottom: 28px;
  position: relative;
}

.timeline-event:last-child {
  margin-bottom: 0;
}

.timeline-event__date {
  font-size: 14px;
  color: var(--ok-text);
  text-align: right;
  line-height: 1.4;
  padding-top: 2px;
}

.timeline-event__dot {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--ok-white);
  border: 3px solid var(--ok-blue);
  justify-self: center;
  position: relative;
  z-index: 1;
}

/* 首个事件：竖线从横轴圆点贯通到事件圆点（盖住浅蓝底） */
.timeline-card .timeline-event:first-child .timeline-event__dot::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 2px;
  height: calc(var(--timeline-stem-h) + var(--timeline-card-pad-top) + 4px);
  margin-left: -1px;
  background: var(--ok-blue);
  z-index: 1;
}

/* 多事件之间：竖线贯通各事件圆点（相对事件行定位，避免按圆点高度截断） */
.timeline-card .timeline-event:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 11px;
  left: calc(72px + 8px + 9px);
  width: 2px;
  margin-left: -1px;
  bottom: -33px;
  background: var(--ok-blue);
  z-index: 0;
}

.timeline-event__name {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--ok-text);
  line-height: 1.35;
  margin-bottom: 6px;
}

.ok-download-2026 .timeline-event__link {
  font-size: 13px;
  color: var(--ok-blue);
  transition: letter-spacing var(--ok-motion-fast) ease;
}

.ok-download-2026 .timeline-event__link:hover {
  text-decoration: underline;
  letter-spacing: 0.03em;
}

/* ========== Help ========== */
.help-section {
  margin-top: var(--ok-section-gap);
}

.ok-download-2026 .help-section.ok-container {
  padding-left: 0;
  padding-right: 0;
}

/* 提高优先级，避免 MetInfo .met-editor ul { padding:0 } 覆盖内边距 */
.ok-download-2026 .help-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 40px;
  width: 100%;
  max-width: 1600px;
  height: 334px;
  box-sizing: border-box;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 96, 250, 0.8) 0%, rgba(33, 209, 255, 0) 100%);
  align-items: stretch;
}

.ok-download-2026 .help-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  min-height: 200px;
  padding: 32px 28px;
  border-radius: 16px;
  border: 2px solid var(--ok-white);
  background: linear-gradient(145deg, #ffffff 0%, #eef4ff 100%);
  box-shadow: var(--ok-shadow-lg);
  color: var(--ok-text);
  transition:
    transform var(--ok-motion) var(--ok-ease-out),
    box-shadow var(--ok-motion) var(--ok-ease-out),
    border-color var(--ok-motion-fast) ease;
}

.ok-download-2026 .help-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(39, 63, 126, 0.16);
  border-color: rgba(20, 96, 250, 0.35);
}

.help-card__icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--ok-motion) var(--ok-ease-spring);
}

.ok-download-2026 .help-card:hover .help-card__icon {
  transform: scale(1.1) translateY(-2px);
}

.ok-download-2026 .help-card:hover .help-card__title {
  color: var(--ok-blue);
}

.help-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.help-card__title {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  color: var(--ok-text);
  transition: color var(--ok-motion-fast) ease;
}

/* ========== >1920 ========== */
@media (min-width: 1921px) {
  .ok-download-2026 .ok-container,
  .ok-download-2026 .ok-container--wide {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ========== ≤1707：时间轴固定 1692 宽会被 overflow 裁切，改为流体 ========== */
@media (max-width: 1707.98px) {
  .timeline-section {
    min-width: 0;
  }

  .timeline-main {
    padding: 0 16px;
    box-sizing: border-box;
  }

  .timeline-main > .ok-container.ok-container--wide {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .timeline-board {
    --timeline-col-gap: 28px;
    --timeline-card-w: 300px;
    width: 100%;
    min-width: 0;
  }

  .timeline-nav {
    flex-shrink: 0;
  }

  .timeline-viewport {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-width: 0;
  }
}

/* ========== ≤1440 ========== */
@media (max-width: 1439.98px) {
  .ok-download-2026 {
    --ok-section-gap: 72px;
    padding-bottom: 96px;
  }

  .ok-download-2026 .ok-container,
  .ok-download-2026 .ok-container--wide,
  .timeline-section {
    min-width: 0;
    width: 100%;
  }

  .ok-download-2026 .ok-container {
    padding-left: 40px;
    padding-right: 40px;
  }

  .download-hero {
    min-height: 480px;
    padding: 64px 0 88px;
  }

  .download-hero__title {
    font-size: 36px;
  }

  .download-hero__tabs {
    margin-top: 72px;
  }

  .ok-download-2026 .hero-tab {
    min-width: 280px;
    height: 64px;
    font-size: 18px;
  }

  .version-section {
    transform: translateY(-56px);
    margin-bottom: -56px;
  }

  .version-card {
    padding: 32px 28px 24px;
  }

  .version-card__desc {
    margin-top: 18px;
  }

  .arch-filter {
    margin-top: 24px;
  }

  .version-card__title {
    font-size: 24px;
  }

  .section-title {
    font-size: 36px;
    margin-bottom: 24px;
  }

  .timeline-year-label {
    font-size: 26px;
  }

  .timeline-board {
    --timeline-spine-x: calc(2px + 18px + 64px + 8px + 7px);
  }

  .timeline-event {
    grid-template-columns: 64px 14px 1fr;
  }

  .timeline-card .timeline-event:not(:last-child)::after {
    left: calc(64px + 8px + 7px);
  }

  .timeline-event__name {
    font-size: 16px;
  }

  .help-card__title {
    font-size: 22px;
  }

  .eco-card {
    min-height: 200px;
    padding: 28px 22px 24px;
  }

  .eco-card__title {
    font-size: 20px;
  }
}

/* ========== ≤1199 ========== */
@media (max-width: 1199.98px) {
  .ok-download-2026 {
    --ok-section-gap: 56px;
    padding-bottom: 80px;
  }

  .download-hero {
    min-height: 0;
    padding: 56px 0 72px;
  }

  .download-hero__tabs {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
  }

  .ok-download-2026 .hero-tab {
    width: min(400px, 92vw);
    min-width: 0;
  }

  .version-section {
    transform: translateY(-40px);
    margin-bottom: -40px;
  }

  .version-card {
    padding: 28px 22px 22px;
  }

  .version-card__badge {
    margin-left: 12px;
  }

  .version-card__date {
    margin-left: 0;
    width: 100%;
  }

  .version-card__desc {
    margin-top: 14px;
  }

  .arch-filter {
    gap: 10px 16px;
    margin-top: 18px;
  }

  .download-table-wrap {
    margin-top: 14px;
  }

  .mirror-list {
    gap: 24px 40px;
    max-width: calc(240px * 3 + 40px * 2);
  }

  .mirror-panel {
    padding: 28px 32px;
  }

  .eco-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .section-title {
    margin-bottom: 20px;
  }

  .timeline-main {
    padding: 0;
  }

  .timeline-main > .ok-container.ok-container--wide {
    max-width: var(--ok-wide);
    padding-left: 40px;
    padding-right: 40px;
  }

  .timeline-nav {
    display: none;
  }

  .timeline-axis {
    display: none;
  }

  .timeline-board {
    display: block;
    padding: 0 8px 8px;
  }

  .timeline-viewport {
    flex: none;
    width: auto;
    max-width: none;
    overflow: visible;
    container-type: normal;
  }

  .timeline-track {
    display: block;
    width: auto;
    min-width: 0;
  }

  .timeline-years-row {
    display: none;
  }

  .timeline-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
    width: auto;
  }

  .timeline-col {
    flex: none;
    width: auto;
    padding-top: 0;
  }

  .timeline-col__year {
    display: block;
  }

  .timeline-col__stem {
    display: none;
  }

  .timeline-col::before {
    display: none;
  }

  .timeline-card {
    height: auto;
    min-height: 0;
  }

  .timeline-card .timeline-event:first-child .timeline-event__dot::before {
    display: none;
  }

  .ok-download-2026 .help-grid {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
    padding: 24px;
  }

  /* 列表：中屏缩小字号，不再强制横向滚动 */
  .download-table-wrap {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    overflow-x: visible;
  }

  .ok-download-2026 .download-list__head > span,
  .ok-download-2026 .download-item__cell {
    padding: 12px 10px;
    font-size: 14px;
  }

  .ok-download-2026 .download-list__head > span {
    font-size: 15px;
  }
}

/* ========== ≤991：下载项改卡片 ========== */
@media (max-width: 991.98px) {
  .download-table-wrap {
    margin-top: 12px;
    overflow-x: visible;
  }

  .ok-download-2026 .download-list__head {
    display: none;
  }

  .ok-download-2026 .download-list,
  .ok-download-2026 .download-list__body {
    gap: 10px;
  }

  .ok-download-2026 .download-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--ok-row);
    border-radius: 12px;
    padding: 2px 14px 10px;
    box-shadow: none;
  }

  .ok-download-2026 .download-item:not([hidden]):hover .download-item__cell {
    background: transparent;
  }

  .ok-download-2026 .download-item__cell {
    background: transparent;
    padding: 8px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px 14px;
    border-bottom: 1px solid rgba(38, 38, 38, 0.08);
    text-align: right;
    width: 100%;
  }

  .ok-download-2026 .download-item__cell:last-child {
    border-bottom: none;
    padding-bottom: 6px;
  }

  .ok-download-2026 .download-item__cell::before {
    content: attr(data-label);
    flex: 0 0 auto;
    max-width: 42%;
    font-size: 13px;
    font-weight: 500;
    color: var(--ok-muted);
    line-height: 1.4;
    text-align: left;
  }

  .ok-download-2026 .download-item__cell > * {
    text-align: right;
  }

  .ok-download-2026 .download-item__cell--dl {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 10px;
  }

  .ok-download-2026 .download-item__cell--dl::before {
    max-width: none;
  }

  .ok-download-2026 .download-item__cell--dl > * {
    text-align: center;
  }

  .ok-download-2026 .download-item__cell--dl .download-table__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: var(--ok-radius-sm);
    background: var(--ok-blue);
    color: var(--ok-white);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
  }

  .ok-download-2026 .download-item__cell--dl .download-table__link::after {
    display: none;
  }

  .ok-download-2026 .download-item__cell--dl .download-table__link:hover {
    text-decoration: none;
    opacity: 0.92;
    letter-spacing: normal;
  }

  .ok-download-2026 .download-table__md5 {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

/* ========== ≤767 ========== */
@media (max-width: 767.98px) {
  .ok-download-2026 {
    --ok-section-gap: 40px;
    padding-bottom: 56px;
  }

  .ok-download-2026 .ok-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ok-download-2026 .help-section.ok-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .timeline-main > .ok-container.ok-container--wide {
    padding-left: 16px;
    padding-right: 16px;
  }

  .preview-note {
    padding: 8px 16px 0;
  }

  .download-hero {
    min-height: 0;
    padding: 36px 0 56px;
    background-position: center center;
  }

  .download-hero__title {
    font-size: 28px;
    padding: 0 8px;
  }

  .download-hero__desc {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.55;
    padding: 0 8px;
  }

  .download-hero__tabs {
    gap: 10px;
    margin-top: 28px;
  }

  .ok-download-2026 .hero-tab {
    height: 48px;
    font-size: 16px;
    gap: 8px;
  }

  .ok-download-2026 .hero-tab__icon {
    width: 26px;
    height: 26px;
  }

  .version-section {
    transform: translateY(-24px);
    margin-bottom: -24px;
  }

  .version-card {
    padding: 18px 14px 16px;
    border-radius: 14px;
  }

  .version-card__head {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 8px;
  }

  .version-card__title {
    font-size: 18px;
  }

  .version-card__dot {
    width: 28px;
    height: 28px;
  }

  .version-card__badge {
    margin-left: 0;
  }

  .version-card__date {
    margin-left: 0;
    width: auto;
    white-space: normal;
    font-size: 14px;
  }

  .version-card__desc {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.5;
  }

  .arch-filter {
    gap: 8px 12px;
    margin-top: 14px;
    font-size: 13px;
  }

  .arch-filter__box {
    width: 22px;
    height: 22px;
  }

  .download-table-wrap {
    margin-top: 10px;
  }

  .ok-download-2026 .download-item {
    padding: 2px 12px 8px;
    border-radius: 10px;
  }

  .ok-download-2026 .download-item__cell {
    padding: 7px 0;
    font-size: 13px;
  }

  .ok-download-2026 .download-item__cell::before {
    font-size: 12px;
  }

  .ok-download-2026 .download-item__cell--dl {
    padding-top: 8px;
    gap: 8px;
  }

  .ok-download-2026 .download-item__cell--dl .download-table__link {
    min-height: 40px;
    font-size: 14px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 14px;
  }

  .mirror-section,
  .timeline-section,
  .help-section,
  .eco-section {
    margin-top: var(--ok-section-gap);
  }

  .eco-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .eco-card {
    min-height: 0;
    padding: 20px 16px 18px;
  }

  .eco-card__body {
    max-width: 88%;
  }

  .eco-card__icon {
    width: 72px;
    height: 72px;
    right: 10px;
    bottom: 10px;
  }

  .ok-download-2026 .mirror-section.ok-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mirror-panel {
    padding: 20px 14px 16px;
    min-height: 0;
    background-position: center;
  }

  .mirror-list {
    gap: 10px;
    max-width: none;
  }

  .mirror-list > li {
    flex: 0 0 calc(50% - 5px);
    width: calc(50% - 5px);
  }

  .ok-download-2026 .mirror-list a {
    width: 100%;
    height: 56px;
  }

  .timeline-columns {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .timeline-col {
    padding-top: 0;
  }

  .timeline-col__year {
    display: block;
  }

  .timeline-card {
    min-height: 0;
    background-size: 120px auto, 100% 100%;
  }

  .ok-download-2026 .help-grid {
    grid-template-columns: 1fr;
    height: auto;
    gap: 10px;
    padding: 12px;
  }

  .ok-download-2026 .help-card {
    min-height: 0;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
  }

  .help-card__icon {
    width: 40px;
    height: 40px;
  }

  .help-card__title {
    font-size: 16px;
  }
}

@media (max-width: 575.98px) {
  .ok-download-2026 {
    --ok-section-gap: 32px;
    padding-bottom: 48px;
  }

  .download-hero {
    padding: 28px 0 48px;
  }

  .download-hero__title {
    font-size: 22px;
  }

  .download-hero__tabs {
    margin-top: 20px;
  }

  .ok-download-2026 .hero-tab {
    width: 100%;
    max-width: none;
  }

  .version-card {
    padding: 16px 12px 14px;
  }

  .version-card__title-wrap {
    flex-wrap: wrap;
  }

  /* 保持左右标签-值；安装指南也做成可点按钮 */
  .ok-download-2026 .download-item {
    padding: 2px 12px 10px;
  }

  .ok-download-2026 .download-item__cell {
    align-items: center;
    gap: 8px 12px;
  }

  .ok-download-2026 .download-table__md5 {
    justify-content: flex-end;
  }

  .ok-download-2026 .download-item__cell[data-label="安装指南"],
  .ok-download-2026 .download-item__cell--dl {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .ok-download-2026 .download-item__cell[data-label="安装指南"]::before,
  .ok-download-2026 .download-item__cell--dl::before {
    max-width: none;
  }

  .ok-download-2026 .download-item__cell[data-label="安装指南"] .download-table__link,
  .ok-download-2026 .download-item__cell--dl .download-table__link {
    min-height: 40px;
    padding: 10px 14px;
  }

  .ok-download-2026 .download-item__cell[data-label="安装指南"] .download-table__link {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ok-blue);
    border-radius: var(--ok-radius-sm);
    color: var(--ok-blue);
    font-weight: 600;
  }

  .ok-download-2026 .download-item__cell[data-label="安装指南"] .download-table__link::after {
    display: none;
  }

  .eco-card__body {
    max-width: 100%;
    padding-right: 64px;
  }

  .eco-card__icon {
    width: 64px;
    height: 64px;
  }

  .mirror-list > li {
    flex: 0 0 100%;
    width: 100%;
    max-width: none;
  }

  .ok-download-2026 .mirror-list a {
    width: 100%;
  }

  .timeline-event {
    grid-template-columns: 56px 12px 1fr;
    gap: 6px;
  }

  .timeline-card .timeline-event:not(:last-child)::after {
    left: calc(56px + 6px + 6px);
  }

  .timeline-board {
    --timeline-spine-x: calc(2px + 18px + 56px + 6px + 6px);
  }
}

/* ========== Motion: 入场 / 滚动显现 / 关键反馈 ========== */
@keyframes ok-fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ok-check-pop {
  0% { opacity: 0; transform: rotate(45deg) translate(-1px, -1px) scale(0.4); }
  70% { opacity: 1; transform: rotate(45deg) translate(-1px, -1px) scale(1.15); }
  100% { opacity: 1; transform: rotate(45deg) translate(-1px, -1px) scale(1); }
}

@keyframes ok-copy-nudge {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-3px) scale(1.12); }
  70% { transform: translateY(1px); }
}

@keyframes ok-pulse-ring {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(20, 96, 250, 0.45);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(20, 96, 250, 0);
  }
}

/* Hero 入场：标题 → 描述 → Tab 依次显现 */
.download-hero__title,
.download-hero__desc,
.download-hero__tabs {
  opacity: 0;
  transform: translateY(24px);
}

.ok-download-2026.is-ready .download-hero__title {
  animation: ok-fade-up 0.7s var(--ok-ease-out) 0.08s both;
}

.ok-download-2026.is-ready .download-hero__desc {
  animation: ok-fade-up 0.7s var(--ok-ease-out) 0.2s both;
}

.ok-download-2026.is-ready .download-hero__tabs {
  animation: ok-fade-up 0.75s var(--ok-ease-out) 0.36s both;
}

/* 无脚本时直接可见，避免永久隐藏 */
@media (scripting: none) {
  .download-hero__title,
  .download-hero__desc,
  .download-hero__tabs,
  .ok-reveal {
    opacity: 1;
    transform: none;
  }
}

/* 滚动显现 */
.ok-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity var(--ok-motion-slow) var(--ok-ease-out),
    transform var(--ok-motion-slow) var(--ok-ease-out);
  will-change: opacity, transform;
}

.ok-reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

.ok-reveal--delay-1 { transition-delay: 0.08s; }
.ok-reveal--delay-2 { transition-delay: 0.16s; }
.ok-reveal--delay-3 { transition-delay: 0.24s; }

.eco-grid .eco-card.ok-reveal {
  transition-duration: 0.7s;
}

.mirror-list > li.ok-reveal {
  transition-duration: 0.55s;
}

/* 时间轴列：仅用透明度显现，避免 transform 新建层叠上下文后
   把圆点困在列内，导致横轴（.timeline-axis）压到圆点上方 */
.timeline-col.ok-reveal {
  transform: none;
  will-change: opacity;
  transition-property: opacity;
  transition-duration: 0.7s;
}

.timeline-col.ok-reveal.is-inview {
  transform: none;
  will-change: auto;
}

.ok-download-2026 .help-grid > li.ok-reveal {
  transition-duration: 0.6s;
}

/* reveal 完成后恢复悬停位移（特异性需压过 .ok-reveal.is-inview） */
.eco-card.ok-reveal.is-inview:hover {
  transform: translateY(-6px);
}

.ok-download-2026 .help-card:hover {
  transform: translateY(-8px);
}

.timeline-col:hover .timeline-card {
  transform: translateY(-4px);
}

/* 仅在支持精细悬停的设备上启用位移类反馈，避免触控残留 */
@media (hover: hover) and (pointer: fine) {
  .ok-download-2026 .hero-tab:active {
    transform: translateY(-1px) scale(0.99);
  }
}

/* 移动端下载/指南按钮：去掉下划线动效 */
@media (max-width: 991.98px) {
  .ok-download-2026 .download-item__cell--dl .download-table__link::after,
  .ok-download-2026 .download-item__cell[data-label="安装指南"] .download-table__link::after {
    display: none;
  }

  .ok-download-2026 .download-item__cell--dl .download-table__link:hover,
  .ok-download-2026 .download-item__cell[data-label="安装指南"] .download-table__link:hover {
    letter-spacing: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ok-download-2026 *,
  .ok-download-2026 *::before,
  .ok-download-2026 *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .download-hero__title,
  .download-hero__desc,
  .download-hero__tabs,
  .ok-reveal {
    opacity: 1;
    transform: none;
  }
}
