*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; height: auto; }
.jump-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--apple-line, #d2d2d7);
  border-radius: 50%;
  background: #fff;
  color: #6e6e73;
  cursor: pointer;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  -webkit-appearance: none;
}
a.apple-nav-github,
a.apple-cta {
  text-decoration: none;
}
.apple-changelog-note a { color: #1d1d1f; font-weight: 600; text-decoration: underline; }
.apple-changelog-note a:hover { color: #0071e3; }
.apple-project-cta .apple-cta-link { display: inline-flex; margin-top: 18px; }
/* 银黑发布会主题：只复用公开页面可观察到的空间、层级与动效规律。 */

.apple-global-nav {
  display: none;
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 44px;
}

.apple-showcase,
.apple-daily-intro,
.apple-footer {
  display: none;
}

body.apple {
  --apple-font: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --apple-black: #000;
  --apple-ink: #1d1d1f;
  --apple-muted: #6e6e73;
  --apple-silver: #f5f5f7;
  --apple-line: #d2d2d7;
  --apple-blue: #0071e3;
  --apple-blue-hover: #0077ed;
  --apple-nav-height: 44px;
  --bg: #f5f5f7;
  --card-bg: #fff;
  --panel-bg: #fff;
  --text: var(--apple-ink);
  --text-secondary: var(--apple-muted);
  --text-muted: #86868b;
  --border: var(--apple-line);
  --primary: var(--apple-blue);
  --primary-light: rgba(0, 113, 227, 0.09);
  --accent-pa: var(--apple-blue);
  --accent-econ: var(--apple-blue);
  --accent-nber: var(--apple-blue);
  --accent-hot: var(--apple-blue);
  --accent-news: var(--apple-blue);
  --font-display: var(--apple-font);
  --font-zh-serif: var(--apple-font);
  --font-body: var(--apple-font);
  --radius: 22px;
  --radius-sm: 12px;
  --shadow-sm: none;
  --shadow: none;
  background: #fff;
  color: var(--apple-ink);
  font-family: var(--apple-font);
  letter-spacing: -0.012em;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body.apple .header,
body.apple .avant-masthead,
body.apple .magi-dashboard-panel {
  display: none !important;
}

body.apple .apple-global-nav,
body.apple .apple-showcase,
body.apple .apple-footer {
  display: block;
}

/* 银黑主题是项目展示页；真实阅读器继续由其他主题承担。 */
body.apple .apple-daily-intro,
body.apple .tabs,
body.apple .container {
  display: none !important;
}

body.apple .apple-global-nav {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(0, 0, 0, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: color 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

body.apple-nav-scrolled .apple-global-nav {
  color: rgba(0, 0, 0, 0.82);
  background: rgba(250, 250, 252, 0.86);
  border-bottom-color: rgba(0, 0, 0, 0.12);
}

.apple-nav-inner {
  width: min(100% - 36px, 1024px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.apple-nav-brand,
.apple-nav-links a,
.apple-nav-github {
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.apple-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 132px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.apple-brand-mark {
  width: 16px;
  height: 16px;
  display: inline-flex;
  color: inherit;
}

.apple-brand-mark svg { display: block; }

.apple-nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
}

.apple-nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.88;
  transition: opacity 0.18s ease;
}

.apple-nav-links a:hover,
.apple-nav-links a:focus-visible {
  opacity: 1;
}

.apple-nav-actions {
  min-width: 132px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.apple-nav-github {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  opacity: 0.88;
  text-decoration: none;
  transition: opacity 0.18s ease;
}

.apple-nav-github:hover,
.apple-nav-github:focus-visible { opacity: 1; }

.apple-nav-github svg { width: 16px; height: 16px; display: block; }

.apple-nav-demo {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--apple-blue);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.18s ease;
}

.apple-nav-demo:hover { background: var(--apple-blue-hover); }
.apple-nav-demo:active { transform: scale(0.96); }

.apple-nav-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.apple-nav-menu-toggle span {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform 0.24s ease, top 0.24s ease;
}

.apple-nav-menu-toggle span:first-child { top: 16px; }
.apple-nav-menu-toggle span:last-child { top: 23px; }
.apple-menu-open .apple-nav-menu-toggle span:first-child { top: 20px; transform: rotate(45deg); }
.apple-menu-open .apple-nav-menu-toggle span:last-child { top: 20px; transform: rotate(-45deg); }

.apple-mobile-menu {
  color: var(--apple-ink);
  background: rgba(250, 250, 252, 0.97);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 22px 24px 28px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.apple-mobile-menu[hidden] { display: none !important; }

.apple-mobile-menu a,
.apple-mobile-menu button {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.apple-showcase {
  width: 100%;
  background: #fff;
  color: var(--apple-ink);
}

.apple-hero {
  min-height: max(900px, 100svh);
  padding: calc(var(--apple-nav-height) + 72px) max(32px, calc((100vw - 1200px) / 2)) 54px;
  display: grid;
  grid-template-rows: auto minmax(420px, 1fr);
  justify-items: center;
  overflow: hidden;
  color: #f5f5f7;
  background:
    radial-gradient(circle at 50% 72%, rgba(68, 76, 92, 0.34), transparent 35%),
    linear-gradient(180deg, #000 0%, #050506 70%, #111216 100%);
}

.apple-hero-copy {
  width: min(100%, 1040px);
  position: relative;
  z-index: 2;
  text-align: center;
}

.apple-eyebrow {
  margin: 0 0 22px;
  color: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.apple-hero .apple-eyebrow { color: #f5f5f7; }

.apple-hero-title {
  max-width: 1050px;
  margin: 0 auto;
  color: #f5f5f7;
  font-size: clamp(60px, 6.2vw, 84px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.apple-hero-title > span,
.apple-project-cta h2 > span,
.apple-shelf-head h2 > span { display: block; white-space: nowrap; }

/* 居中排版时，结尾全角句号自带半个字宽的空白，整行看上去会偏左；
   把最后一行右移四分之一字宽正好抵消。 */
.apple-hero-title > span:last-child,
.apple-project-cta h2 > span:last-child,
.apple-shelf-head h2 > span:last-child { transform: translateX(0.25em); }

/* 中文没有词间空格，浏览器会在任意字之间断行。把摘要拆成短的不可断片段，
   保证窄屏换行落在词组边界，而不是把「分散」「同一份」从中间切开。 */
.apple-hero-summary > span { display: inline-block; white-space: nowrap; }

.apple-hero-summary {
  max-width: 720px;
  margin: 30px auto 0;
  color: #a1a1a6;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.apple-hero-cta {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.apple-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 17px;
  text-decoration: none;
  cursor: pointer;
}

.apple-cta-primary {
  padding: 10px 20px;
  background: var(--apple-blue);
  color: #fff;
  transition: background 0.18s ease, transform 0.18s ease;
}

.apple-cta-primary:hover { background: var(--apple-blue-hover); }
.apple-cta-primary:active { transform: scale(0.97); }
.apple-cta-link { color: #2997ff; }
.apple-cta-link span { margin-left: 5px; font-size: 24px; line-height: 1; }
.apple-cta-link:hover { text-decoration: underline; }

.apple-hero-product {
  width: min(100%, 1040px);
  height: 100%;
  min-height: 460px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform: translateY(var(--apple-hero-shift, 0));
  will-change: transform;
}

.apple-product-halo {
  width: 720px;
  height: 290px;
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(119, 133, 158, 0.3);
  filter: blur(70px);
}

.apple-product-frame {
  width: min(760px, 74vw);
  aspect-ratio: 1.72;
  position: relative;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 34px;
  background: linear-gradient(145deg, #a7a9af, #3d4048 18%, #111216 76%, #9b9da2);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.72), inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  transform: perspective(1200px) rotateX(7deg) translateY(42px) scale(0.96);
}

.apple-product-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  padding: 28px 34px;
  background: linear-gradient(150deg, #fafafa 0%, #f0f1f3 55%, #dfe2e8 100%);
  color: var(--apple-ink);
}

.apple-product-camera {
  width: 76px;
  height: 18px;
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #09090a;
}

.apple-product-menubar {
  display: flex;
  justify-content: space-between;
  color: #86868b;
  font-size: 12px;
  font-weight: 600;
}

.apple-product-lead {
  width: 72%;
  margin: 42px auto 24px;
  text-align: center;
}

.apple-product-kicker { color: #86868b; font-size: 11px; letter-spacing: 0.12em; }
.apple-product-lead strong { display: block; margin-top: 10px; font-size: clamp(28px, 3.4vw, 48px); line-height: 1.02; letter-spacing: -0.05em; }

.apple-product-list {
  width: 76%;
  margin: 0 auto;
  display: grid;
  gap: 9px;
}

.apple-product-list span {
  height: 34px;
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.apple-product-list b { color: #86868b; font-size: 10px; }
.apple-product-list i { height: 4px; border-radius: 4px; background: linear-gradient(90deg, #4b4b50 0 42%, #c9cbd0 42%); }
.apple-product-list span:nth-child(2) i { background: linear-gradient(90deg, #4b4b50 0 66%, #c9cbd0 66%); }
.apple-product-list span:nth-child(3) i { background: linear-gradient(90deg, #4b4b50 0 51%, #c9cbd0 51%); }

.apple-product-shadow {
  width: min(800px, 80vw);
  height: 48px;
  position: absolute;
  bottom: -28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.88);
  filter: blur(28px);
}

.apple-hero-enter {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-ready .apple-hero-enter { opacity: 1; transform: none; }
.apple-ready .apple-hero-title { transition-delay: 0.08s; }
.apple-ready .apple-hero-summary { transition-delay: 0.16s; }
.apple-ready .apple-hero-cta { transition-delay: 0.22s; }
.apple-ready .apple-hero-product { transition-delay: 0.3s; }

.apple-feature {
  scroll-margin-top: var(--apple-nav-height);
  min-height: 700px;
  padding: 118px max(32px, calc((100vw - 1200px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: clamp(64px, 8vw, 130px);
  overflow: hidden;
}

.apple-feature-copy { max-width: 560px; }
.apple-feature-copy .apple-eyebrow { color: #86868b; }

.apple-feature-copy h2,
.apple-specs h2,
.apple-use h2,
.apple-story-copy > h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(48px, 4.4vw, 64px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.052em;
}

.apple-feature-copy > p:last-child {
  margin: 30px 0 0;
  color: #6e6e73;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: -0.024em;
}

.apple-feature-focus { background: #fff; }

.apple-entry-visual {
  padding: 46px 44px;
  display: grid;
  gap: 26px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 34px;
  background: #f5f5f7;
  box-shadow: inset 0 1px 0 #fff;
}

.apple-entry-block > span {
  display: block;
  margin-bottom: 18px;
  color: #86868b;
  font-size: 15px;
  font-weight: 600;
}

.apple-entry-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.apple-entry-chips i {
  padding: 11px 16px;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  color: #6e6e73;
  font-size: 15px;
  font-style: normal;
}

.apple-entry-block-after {
  padding-top: 26px;
  border-top: 1px solid #d2d2d7;
}

.apple-entry-block-after strong {
  display: block;
  padding: 22px 24px;
  border-radius: 16px;
  background: #1d1d1f;
  color: #f5f5f7;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.apple-feature-fields {
  color: #f5f5f7;
  background: #000;
}

.apple-feature-fields .apple-feature-copy .apple-eyebrow,
.apple-feature-fields .apple-feature-copy > p:last-child { color: #a1a1a6; }

.apple-field-index {
  min-height: 590px;
  position: relative;
  overflow: hidden;
  padding: 38px 40px 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background: #111216;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.apple-field-index::before {
  content: "";
  width: 72%;
  height: 1px;
  position: absolute;
  top: 0;
  right: 14%;
  background: linear-gradient(90deg, transparent, rgba(210, 210, 215, 0.52), transparent);
  pointer-events: none;
}

.apple-field-index-top,
.apple-field-index-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.apple-field-index-top {
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #a1a1a6;
  font-size: 14px;
  font-weight: 500;
}

.apple-field-index-top strong {
  color: #f5f5f7;
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

.apple-field-index-list {
  position: relative;
  z-index: 1;
  padding: 8px 0;
}

.apple-field-index-list > span {
  min-height: 62px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.apple-field-index-list i,
.apple-field-index-list em,
.apple-field-index-foot i {
  color: #86868b;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.apple-field-index-list b {
  color: #f5f5f7;
  font-size: clamp(19px, 1.9vw, 26px);
  font-weight: 550;
  line-height: 1;
  letter-spacing: -0.035em;
}

.apple-field-index-list > span:first-child b { color: #fff; }
.apple-field-index-list > span:not(:first-child) b { color: #c7c7cc; }

.apple-field-index-foot {
  justify-content: flex-start;
  gap: 18px;
  padding-top: 20px;
  color: #d2d2d7;
  font-size: 13px;
  font-weight: 500;
}

.apple-field-index-foot span + span::before {
  content: "·";
  margin-right: 18px;
  color: #636366;
}

.apple-field-index-foot i { margin-left: auto; }

/* 收录范围：只抽取期刊常见的排版系统与品牌主色，不复制出版方封面、标志或字标。
   书架继续使用页面的银灰底，封面本身保留各刊的色彩身份。 */
.apple-shelf {
  scroll-margin-top: var(--apple-nav-height);
  padding: 140px max(32px, calc((100vw - 1200px) / 2)) 150px;
  background: var(--apple-silver);
}

.apple-shelf-head {
  max-width: 780px;
  margin: 0 auto 66px;
  text-align: center;
}

.apple-shelf-head .apple-eyebrow { color: #86868b; }

.apple-shelf-head h2 {
  margin: 0;
  font-size: clamp(48px, 4.4vw, 64px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.052em;
}

.apple-shelf-head > p:last-child {
  margin: 26px auto 0;
  color: #6e6e73;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

/* 收录范围用各学科配置第一本的出版方封面。开本比例统一，图片在框内等比裁切。
   刊名与学科留在 DOM 里供读屏，有封面图时不再叠字。 */
.apple-shelf-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.apple-shelf-cover {
  position: relative;
  isolation: isolate;
  aspect-ratio: 0.72;
  overflow: hidden;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 3px;
  background: #d2d2d7;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

/* 小幅错落，像一排摆放过的实体刊物；不做等距，也不拉大到打乱底边节奏 */
.apple-shelf-cover:nth-child(2) { transform: translateY(10px); }
.apple-shelf-cover:nth-child(3) { transform: translateY(-4px); }
.apple-shelf-cover:nth-child(4) { transform: translateY(13px); }
.apple-shelf-cover:nth-child(5) { transform: translateY(2px); }
.apple-shelf-cover:nth-child(6) { transform: translateY(9px); }

.apple-shelf-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.apple-shelf-field,
.apple-shelf-cover > strong {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.apple-news-showcase {
  scroll-margin-top: var(--apple-nav-height);
  padding: 140px max(24px, calc((100vw - 1200px) / 2)) 150px;
  background: #fff;
}

.apple-news-showcase-head {
  max-width: 820px;
  margin-bottom: 78px;
}

.apple-news-showcase-head .apple-eyebrow { color: #86868b; }

.apple-news-showcase h2 {
  margin: 0;
  color: var(--apple-ink);
  font-size: clamp(48px, 4.4vw, 64px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.052em;
}

.apple-news-showcase-head > p:last-child {
  max-width: 720px;
  margin: 28px 0 0;
  color: #6e6e73;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.022em;
}

.apple-journals {
  scroll-margin-top: var(--apple-nav-height);
  padding: 148px max(24px, calc((100vw - 1200px) / 2)) 166px;
  overflow: hidden;
  background: #f5f5f7;
}

.apple-journals-head {
  max-width: 820px;
  margin-bottom: 78px;
}

.apple-journals-head .apple-eyebrow { color: #86868b; }

.apple-journals h2 {
  margin: 0;
  color: var(--apple-ink);
  font-size: clamp(48px, 4.4vw, 64px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.052em;
}

.apple-journals-head > p:last-child {
  max-width: 720px;
  margin: 28px 0 0;
  color: #6e6e73;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.022em;
}

.apple-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.apple-gallery-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 32px;
  background: #fff;
}

/* 桌面截图按原始 16:10 整幅呈现，横向裁切会把品牌区和左侧目录切掉。
   总览与新闻两张信息密度最高，各自占满一整行才看得清层级。 */
.apple-gallery-card-main { grid-column: span 12; background: #0b0b0d; color: #f5f5f7; }
.apple-gallery-card-paper { grid-column: span 12; background: #ecece8; }
.apple-gallery-card-mobile { grid-column: span 12; background: #fff; }
.apple-gallery-card-news { grid-column: span 12; background: #e8eaee; }
.apple-gallery-card-paper .apple-gallery-shot { aspect-ratio: 2000 / 990; }
.apple-gallery-card > div:last-child { margin-top: auto; position: relative; z-index: 2; }
.apple-gallery-card > div:last-child span { display: block; margin-bottom: 8px; color: #86868b; font-size: 13px; font-weight: 600; }
.apple-gallery-card > div:last-child strong { max-width: 520px; display: block; font-size: 25px; font-weight: 600; line-height: 1.16; letter-spacing: -0.035em; }
.apple-gallery-card-main > div:last-child span { color: #86868b; }

.apple-gallery-shot {
  width: calc(100% + 12px);
  aspect-ratio: 16 / 10;
  margin: -6px -6px 30px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 20px;
  background: #f5f5f7;
  box-shadow: 0 26px 62px rgba(0, 0, 0, 0.2);
}
.apple-gallery-card-main .apple-gallery-shot { border-color: rgba(255, 255, 255, 0.16); box-shadow: 0 28px 72px rgba(0, 0, 0, 0.46); }
.apple-gallery-shot img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top center; }

/* 新闻卡截图下面的来源方标：iOS Home Screen 槽，不做成商标墙。
   App Store 图已带圆角，这里再用相近半径裁掉 JPEG 直角。 */
.apple-source-docks {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 36px;
  margin: 0 0 28px;
  padding: 20px 22px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.apple-source-dock > span {
  display: block;
  margin-bottom: 12px;
  color: #86868b;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.apple-source-dock ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.apple-source-icon {
  width: 52px;
  height: 52px;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

.apple-source-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.apple-gallery-shot-mobile {
  width: min(54%, 220px);
  aspect-ratio: 390 / 844;
  margin: 0 auto 30px;
  border: 6px solid #303034;
  border-radius: 30px;
}

.apple-feature-news {
  grid-template-columns: minmax(480px, 1.1fr) minmax(0, 0.9fr);
  background: #f5f5f7;
}

.apple-news-visual {
  min-height: 0;
  display: grid;
  grid-template-columns: 150px 1fr;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
}

.apple-news-rail {
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid #e5e5e7;
  background: #fbfbfd;
}

.apple-news-rail span {
  padding: 10px 12px;
  border-radius: 10px;
  color: #86868b;
  font-size: 13px;
}

.apple-news-rail .is-active { background: #e8e8ed; color: var(--apple-ink); font-weight: 600; }
.apple-news-stage { position: relative; padding: 38px 40px; }

.apple-news-headline {
  height: 84px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #e5e5e7;
}

.apple-news-headline i { color: #86868b; font-size: 12px; font-style: normal; }
.apple-news-headline span { height: 11px; border-radius: 6px; background: linear-gradient(90deg, #1d1d1f 0 62%, #d9d9dd 62%); }
.apple-news-headline:nth-child(2) span { background: linear-gradient(90deg, #1d1d1f 0 78%, #d9d9dd 78%); }
.apple-news-headline:nth-child(3) span { background: linear-gradient(90deg, #1d1d1f 0 48%, #d9d9dd 48%); }
.apple-news-headline:last-child { border-bottom: 0; }

.apple-reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-reveal.is-visible { opacity: 1; transform: none; }

.apple-story {
  scroll-margin-top: var(--apple-nav-height);
  --apple-story-progress: 0;
  height: 340svh;
  position: relative;
  color: #f5f5f7;
  background: #000;
}

.apple-story-sticky {
  height: 100svh;
  min-height: 760px;
  position: sticky;
  top: 0;
  padding: 96px max(32px, calc((100vw - 1200px) / 2)) 54px;
  display: grid;
  grid-template-columns: minmax(400px, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: 80px;
  overflow: hidden;
}

.apple-story-copy { align-self: center; }
.apple-story-copy .apple-eyebrow { color: #86868b; }
.apple-story-copy > h2 { max-width: 560px; color: #f5f5f7; }

/* 三步始终可见，只用亮度和左侧标尺表示当前进度：
   只显示激活项会让读者看不出这是一段三步流程。 */
.apple-story-steps {
  margin-top: 44px;
  display: grid;
  gap: 4px;
}

.apple-story-step {
  padding: 14px 0 14px 22px;
  border-left: 2px solid rgba(245, 245, 247, 0.16);
  opacity: 0.4;
  transition: opacity 0.42s ease, border-color 0.42s ease;
}

.apple-story-step.is-active { opacity: 1; border-left-color: #f5f5f7; }
.apple-story-step > span { display: block; margin-bottom: 10px; color: #86868b; font-size: 13px; font-variant-numeric: tabular-nums; }
.apple-story-step h3 { margin: 0; color: #f5f5f7; font-size: 26px; font-weight: 600; line-height: 1.18; letter-spacing: -0.035em; }
.apple-story-step p { max-width: 460px; margin: 8px 0 0; color: #a1a1a6; font-size: 17px; line-height: 1.5; }

.apple-story-product {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: center;
}

.apple-story-shell {
  width: min(100%, 620px);
  aspect-ratio: 1.18;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 38px;
  background: linear-gradient(145deg, #5b5e65, #18191d 22%, #09090a 72%, #777a82);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.72), 0 0 100px rgba(114, 127, 154, 0.18);
  transform: perspective(1000px) rotateY(calc((0.5 - var(--apple-story-progress)) * 7deg)) scale(calc(0.94 + var(--apple-story-progress) * 0.04));
  transition: transform 0.12s linear;
}

.apple-story-toolbar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  border-radius: 27px 27px 0 0;
  background: #f5f5f7;
}

.apple-story-toolbar span { width: 70px; height: 6px; margin-right: auto; border-radius: 4px; background: #1d1d1f; }
.apple-story-toolbar i { width: 7px; height: 7px; border-radius: 50%; background: #b8bac1; }

.apple-story-canvas {
  height: calc(100% - 44px);
  position: relative;
  overflow: hidden;
  border-radius: 0 0 27px 27px;
  background: #f5f5f7;
}

.apple-story-source {
  width: 42%;
  height: 94px;
  position: absolute;
  left: 8%;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: #fff;
  color: var(--apple-ink);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-story-source b { display: block; margin-bottom: 14px; font-size: 13px; }
.apple-story-source span { display: block; width: 86%; height: 5px; margin-top: 8px; border-radius: 5px; background: #d2d2d7; }
.apple-story-source span:last-child { width: 62%; }
.apple-story-source-a { top: 9%; }
.apple-story-source-b { top: 38%; transform: translateX(17%); }
.apple-story-source-c { top: 67%; transform: translateX(4%); }

.apple-story-summary {
  width: 46%;
  height: 76%;
  position: absolute;
  top: 12%;
  right: 7%;
  padding: 30px 24px;
  border-radius: 22px;
  background: #161719;
  color: #f5f5f7;
  opacity: 0.18;
  transform: translateX(36px) scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-story-summary small { color: #86868b; font-size: 10px; letter-spacing: 0.12em; }
.apple-story-summary strong { display: block; margin: 12px 0 30px; font-size: 28px; line-height: 1.06; letter-spacing: -0.05em; }
.apple-story-summary span { display: block; height: 6px; margin: 12px 0; border-radius: 5px; background: #55565c; }
.apple-story-summary span:nth-of-type(2) { width: 78%; }
.apple-story-summary span:nth-of-type(3) { width: 54%; }

.apple-story[data-apple-active="1"] .apple-story-source-a { transform: translateX(-24px) translateY(82px) scale(0.88); opacity: 0.42; }
.apple-story[data-apple-active="1"] .apple-story-source-b { transform: translateX(4%) translateY(18px) scale(0.94); }
.apple-story[data-apple-active="1"] .apple-story-source-c { transform: translateX(-16px) translateY(-62px) scale(0.9); opacity: 0.56; }
.apple-story[data-apple-active="1"] .apple-story-summary { opacity: 0.62; transform: translateX(14px) scale(0.96); }
.apple-story[data-apple-active="2"] .apple-story-source { transform: translateX(-54px) scale(0.82); opacity: 0.15; }
.apple-story[data-apple-active="2"] .apple-story-summary { opacity: 1; transform: none; }

.apple-story-progress {
  width: min(100%, 620px);
  height: 2px;
  margin-top: 30px;
  overflow: hidden;
  background: #303033;
}

.apple-story-progress i { display: block; width: 100%; height: 100%; transform: scaleX(var(--apple-story-progress)); transform-origin: left; background: #f5f5f7; }

.apple-specs {
  scroll-margin-top: var(--apple-nav-height);
  padding: 150px max(32px, calc((100vw - 1200px) / 2)) 170px;
  background: #f5f5f7;
}

.apple-specs-head { max-width: 860px; margin-bottom: 72px; }
.apple-specs-head .apple-eyebrow { color: #86868b; }
.apple-spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(300px, auto); gap: 20px; }

.apple-spec-card {
  min-width: 0;
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 30px;
  background: #fff;
  color: var(--apple-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.apple-spec-card { display: flex; flex-direction: column; }
.apple-spec-card > span { color: #86868b; font-size: 14px; font-weight: 600; }
.apple-spec-card > strong { max-width: 540px; display: block; margin-top: 10px; font-size: 28px; font-weight: 600; line-height: 1.12; letter-spacing: -0.04em; }
.apple-spec-card > p { max-width: 430px; margin: 14px 0 0; color: #6e6e73; font-size: 16px; line-height: 1.5; }
.apple-spec-card-wide { grid-column: span 2; }
.apple-spec-card-dark { background: #000; color: #f5f5f7; }
.apple-spec-card-dark > p { color: #a1a1a6; }
.apple-spec-card-tall { background: linear-gradient(180deg, #fff, #e7e9ed); }
.apple-spec-card-soft { background: linear-gradient(140deg, #fff 0%, #e8ebf0 100%); }

.apple-spec-lines { width: min(100%, 340px); margin: auto 0 0 auto; padding-top: 34px; display: grid; gap: 14px; }
.apple-spec-lines i { height: 12px; border-radius: 8px; background: linear-gradient(90deg, #1d1d1f 0 58%, #dedee2 58%); }
.apple-spec-lines i:nth-child(2) { width: 82%; }
.apple-spec-lines i:nth-child(3) { width: 66%; }

.apple-spec-signals { margin-top: 28px; display: grid; gap: 9px; }
.apple-spec-signals span { min-height: 42px; padding: 0 14px; display: flex; align-items: center; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 12px; color: #d2d2d7; font-size: 13px; font-weight: 600; }
.apple-spec-signals span:nth-child(2) { margin-left: 11%; }
.apple-spec-signals span:last-child { border-color: rgba(255, 255, 255, 0.52); background: #f5f5f7; color: #1d1d1f; }

body.apple .jump-top {
  right: max(24px, calc((100vw - 1200px) / 2 - 56px));
  bottom: 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

body.apple .jump-top.apple-visible { opacity: 1; pointer-events: auto; transform: none; }

.apple-spec-card-number > b { position: absolute; right: 26px; bottom: -20px; color: #e7e7eb; font-size: 210px; font-weight: 600; line-height: 0.8; letter-spacing: -0.08em; }
.apple-spec-card-number > p { position: relative; z-index: 1; }

.apple-spec-devices { margin: auto 0 0 auto; padding-top: 34px; display: flex; align-items: flex-end; gap: 18px; }
.apple-spec-devices i:first-child { width: 190px; height: 120px; border: 7px solid #3a3b40; border-radius: 16px; background: #fff; box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12); }
.apple-spec-devices i:last-child { width: 64px; height: 126px; border: 6px solid #3a3b40; border-radius: 18px; background: #fff; box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12); }

.apple-use {
  scroll-margin-top: var(--apple-nav-height);
  padding: 150px max(32px, calc((100vw - 1080px) / 2)) 160px;
  background: #fff;
}

.apple-use-head { max-width: 860px; margin-bottom: 64px; }
.apple-use-head .apple-eyebrow { color: #86868b; }
.apple-use-head > p:last-child {
  max-width: 720px;
  margin: 28px 0 0;
  color: #6e6e73;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.5;
}

.apple-use-head > p:last-child > span {
  display: inline-block;
  white-space: nowrap;
}

.apple-use-steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
}

.apple-use-steps li {
  min-width: 0;
  padding: 34px 30px 36px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 28px;
  background: #f5f5f7;
}

.apple-use-steps li > span {
  display: block;
  color: #86868b;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.apple-use-steps h3 {
  margin: 14px 0 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.apple-use-steps p {
  margin: 12px 0 0;
  color: #6e6e73;
  font-size: 16px;
  line-height: 1.55;
}

.apple-use-cta {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.apple-use-cta .apple-cta-link { color: #0066cc; }
.apple-use-cta .apple-cta-link:hover { text-decoration: underline; }

.apple-changelog {
  scroll-margin-top: var(--apple-nav-height);
  padding: 154px max(32px, calc((100vw - 1080px) / 2)) 164px;
  background: #fff;
}

.apple-changelog-head { max-width: 850px; margin-bottom: 78px; }
.apple-changelog-head .apple-eyebrow { color: #86868b; }
.apple-changelog-head h2,
.apple-project-cta h2 {
  margin: 0;
  font-size: clamp(50px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.apple-changelog-head > p:last-child {
  max-width: 720px;
  margin: 28px 0 0;
  color: #6e6e73;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.apple-changelog-list { border-top: 1px solid #d2d2d7; }
.apple-changelog-item {
  min-height: 0;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 34px;
  align-items: start;
  border-bottom: 1px solid #d2d2d7;
}
.apple-changelog-item time { padding-top: 4px; color: #86868b; font-size: 14px; font-weight: 600; }
.apple-changelog-item div > span { color: #86868b; font-size: 13px; font-weight: 600; }
.apple-changelog-item h3 { margin: 7px 0 0; font-size: 27px; font-weight: 600; line-height: 1.15; letter-spacing: -0.035em; }
.apple-changelog-item p { max-width: 680px; margin: 12px 0 0; color: #6e6e73; font-size: 16px; line-height: 1.55; }
.apple-changelog-item > b { padding: 5px 9px; border-radius: 999px; background: #1d1d1f; color: #fff; font-size: 10px; letter-spacing: 0.06em; }
.apple-changelog-note {
  margin: 44px 0 0;
  padding: 24px 26px;
  border-radius: 18px;
  background: #f5f5f7;
  color: #6e6e73;
  font-size: 15px;
  line-height: 1.55;
}
.apple-changelog-note span { margin-right: 10px; color: #1d1d1f; font-weight: 600; }
.apple-changelog-note a { color: #1d1d1f; font-weight: 600; text-decoration: underline; }
.apple-changelog-note a:hover { color: var(--apple-blue); }

.apple-project-cta {
  min-height: 760px;
  padding: 120px 24px;
  display: grid;
  place-items: center;
  background: #000;
  color: #f5f5f7;
  text-align: center;
}
.apple-project-cta > div { max-width: 900px; }
.apple-project-cta .apple-eyebrow { color: #a1a1a6; }
.apple-project-cta p:not(.apple-eyebrow) { max-width: 620px; margin: 28px auto 0; color: #a1a1a6; font-size: 20px; line-height: 1.5; }
.apple-project-cta .apple-cta { margin-top: 36px; }

.apple-showcase-end { height: 12px; background: #fff; }

@media (max-width: 1279px) {
  body.apple .jump-top { display: none; }
}

.apple-footer {
  background: #f5f5f7;
  color: #6e6e73;
  font-size: 12px;
  line-height: 1.36;
}

.apple-footer-inner { width: min(100% - 44px, 980px); margin: 0 auto; padding: 20px 0 26px; }
.apple-footer-note { padding: 0 0 20px; border-bottom: 1px solid #d2d2d7; }
.apple-footer-directory { padding: 20px 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 70px; }
.apple-footer details > summary { margin-bottom: 10px; color: var(--apple-ink); font-weight: 600; list-style: none; }
.apple-footer details > summary::-webkit-details-marker { display: none; }
.apple-footer details > a,
.apple-footer details > button,
.apple-footer details > span { width: fit-content; display: block; margin: 8px 0 0; border: 0; background: transparent; color: #424245; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.apple-footer details > span { cursor: default; }
.apple-footer details > a:hover,
.apple-footer details > button:hover { text-decoration: underline; }
.apple-footer-legal { padding-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; border-top: 1px solid #d2d2d7; }
.apple-footer-legal a { color: #424245; text-decoration: none; }

.apple-cta:focus-visible,
.apple-global-nav a:focus-visible,
.apple-global-nav button:focus-visible,
.apple-use a:focus-visible,
.apple-footer a:focus-visible,
.apple-footer button:focus-visible,
.apple-footer summary:focus-visible {
  outline: 3px solid #0071e3;
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .apple-nav-links { gap: 14px; }
  .apple-feature { min-height: 640px; padding-top: 104px; padding-bottom: 104px; grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr); gap: 56px; }
  .apple-feature-copy h2, .apple-specs h2, .apple-use h2, .apple-story-copy > h2 { font-size: 48px; line-height: 1.08; }
  .apple-journals h2,
  .apple-news-showcase h2 { font-size: 48px; line-height: 1.08; }
  .apple-journals { padding-top: 112px; padding-bottom: 130px; }
  .apple-news-showcase { padding-top: 112px; padding-bottom: 120px; }
  .apple-news-showcase-head { margin-bottom: 54px; }
  .apple-gallery-grid { gap: 16px; }
  .apple-gallery-card { padding: 28px; }
  .apple-feature-news { grid-template-columns: minmax(460px, 1.1fr) minmax(0, 0.9fr); }
  .apple-field-index { min-height: 520px; padding: 32px 30px 28px; }
  .apple-field-index-list > span { min-height: 56px; }
  .apple-story-sticky { grid-template-columns: minmax(340px, 0.86fr) minmax(440px, 1.14fr); gap: 48px; }
  .apple-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .apple-specs { padding-top: 112px; padding-bottom: 124px; }
  .apple-specs-head { margin-bottom: 54px; }
  .apple-use { padding-top: 112px; padding-bottom: 124px; }
  .apple-use-head { margin-bottom: 48px; }
  .apple-use-steps { grid-template-columns: 1fr; gap: 16px; }
  .apple-use-steps li { padding: 28px 24px 30px; }
  .apple-use-steps h3 { font-size: 22px; }
  .apple-journals-head { margin-bottom: 54px; }
  .apple-shelf { padding-top: 112px; padding-bottom: 120px; }
  .apple-shelf-head { margin-bottom: 50px; }
  .apple-shelf-head h2 { font-size: 48px; line-height: 1.08; }
  .apple-shelf-wall { gap: 13px; }
  .apple-changelog { padding-top: 120px; padding-bottom: 130px; }
  .apple-changelog-head { margin-bottom: 56px; }
  .apple-changelog-item { grid-template-columns: 120px minmax(0, 1fr) auto; gap: 24px; }
}

@media (max-width: 768px) {
  body.apple { --apple-nav-height: 48px; }
  .apple-global-nav { height: 48px; }
  .apple-nav-inner { width: 100%; padding: 0 16px; }
  .apple-nav-brand { min-width: 0; font-size: 14px; }
  .apple-nav-links { display: none; }
  .apple-nav-github { width: 40px; height: 40px; }
  .apple-nav-actions { min-width: 0; gap: 2px; }
  .apple-nav-menu-toggle { display: block; }
  body.apple .apple-global-nav { background: rgba(0, 0, 0, 0.82); }
  body.apple-nav-scrolled .apple-global-nav,
  body.apple-menu-open .apple-global-nav { color: rgba(0, 0, 0, 0.82); background: rgba(250, 250, 252, 0.96); }

  .apple-hero {
    min-height: 720px;
    padding: 100px 20px 36px;
    grid-template-rows: auto minmax(300px, 1fr);
  }

  .apple-eyebrow { margin-bottom: 16px; font-size: 15px; }
  .apple-hero-title { font-size: clamp(39px, 10.5vw, 42px); line-height: 0.99; letter-spacing: -0.055em; }
  .apple-hero-summary { max-width: 345px; margin-top: 22px; font-size: 18px; line-height: 1.45; }
  .apple-hero-cta { margin-top: 24px; gap: 16px; }
  .apple-cta { font-size: 15px; }
  .apple-hero-product { min-height: 330px; align-items: center; }
  .apple-product-halo { width: 360px; height: 180px; bottom: 16px; }
  .apple-product-frame { width: 340px; padding: 7px; border-radius: 22px; transform: perspective(800px) rotateX(6deg) translateY(24px); }
  .apple-product-screen { padding: 18px 20px; border-radius: 15px; }
  .apple-product-camera { width: 44px; height: 10px; top: 11px; }
  .apple-product-lead { width: 88%; margin: 14px auto 12px; }
  .apple-product-kicker { font-size: 8px; }
  .apple-product-lead strong { margin-top: 5px; font-size: 20px; }
  .apple-product-list { width: 88%; gap: 4px; }
  .apple-product-list span { height: 18px; grid-template-columns: 16px 1fr; gap: 7px; padding: 0 8px; border-radius: 6px; }
  .apple-product-list b { font-size: 7px; }
  .apple-product-list i { height: 3px; }

  .apple-feature {
    min-height: auto;
    padding: 88px 22px;
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .apple-feature-copy { max-width: none; }
  .apple-feature-copy h2,
  .apple-specs h2,
  .apple-use h2,
  .apple-story-copy > h2 { font-size: 42px; line-height: 1.04; }
  .apple-journals {
    padding: 96px 0 106px;
  }
  .apple-news-showcase { padding: 96px 0 104px; }
  .apple-journals-head { margin: 0 22px 44px; }
  .apple-news-showcase-head { margin: 0 22px 34px; }
  .apple-journals h2,
  .apple-news-showcase h2 { font-size: 39px; line-height: 1.04; }
  .apple-journals-head > p:last-child,
  .apple-news-showcase-head > p:last-child { margin-top: 22px; font-size: 18px; }
  .apple-gallery-grid { padding: 0 18px; grid-template-columns: 1fr; gap: 14px; }
  .apple-gallery-card,
  .apple-gallery-card-main,
  .apple-gallery-card-paper,
  .apple-gallery-card-news,
  .apple-gallery-card-mobile { grid-column: auto; padding: 24px; border-radius: 26px; }
  .apple-gallery-card > div:last-child strong { font-size: 22px; }
  .apple-gallery-shot { width: calc(100% + 4px); margin: -2px -2px 26px; border-radius: 18px; }
  .apple-gallery-shot-mobile { width: min(62%, 196px); margin: 0 auto 26px; border-radius: 24px; }
  .apple-source-docks { gap: 18px; margin-bottom: 22px; padding: 16px; border-radius: 16px; }
  .apple-source-dock ul { gap: 8px; }
  .apple-source-icon { width: 44px; height: 44px; border-radius: 10px; }
  .apple-feature-copy > p:last-child { margin-top: 22px; font-size: 18px; }
  .apple-entry-visual { padding: 28px 22px; gap: 22px; border-radius: 26px; }
  .apple-entry-chips i { padding: 9px 13px; font-size: 14px; }
  .apple-entry-block-after strong { padding: 18px; font-size: 19px; }
  .apple-field-index { min-height: 470px; padding: 28px 22px 24px; border-radius: 26px; }
  .apple-field-index-top { padding-bottom: 18px; }
  .apple-field-index-top strong { font-size: 32px; }
  .apple-field-index-list > span { min-height: 52px; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; }
  .apple-field-index-list b { font-size: 20px; }
  .apple-field-index-foot { gap: 12px; font-size: 12px; }
  .apple-field-index-foot span + span::before { margin-right: 12px; }
  .apple-feature-news { display: flex; flex-direction: column-reverse; }
  .apple-news-visual { width: 100%; min-height: 430px; grid-template-columns: 100px 1fr; border-radius: 26px; }
  .apple-news-rail { padding: 28px 12px; }
  .apple-news-rail span { padding: 8px; font-size: 11px; }
  .apple-news-stage { padding: 46px 22px; }
  .apple-news-headline { height: 76px; grid-template-columns: 24px 1fr; gap: 10px; }

  .apple-story { height: 300svh; }
  .apple-story-sticky {
    min-height: 100svh;
    height: 100svh;
    padding: 80px 22px 26px;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(280px, 1fr);
    align-items: start;
    gap: 20px;
  }
  .apple-story-copy > h2 { font-size: 38px; }
  .apple-story-copy .apple-eyebrow { margin-bottom: 12px; }
  /* 小屏空间不够同时容纳三段说明，改为三行标题 + 当前项高亮；
     标题本身已能说清步骤，且行高固定，滚动时不会跳动。 */
  .apple-story-steps { margin-top: 20px; gap: 2px; }
  .apple-story-step { padding: 10px 0 10px 16px; }
  .apple-story-step > span { margin-bottom: 6px; font-size: 12px; }
  .apple-story-step h3 { font-size: 20px; }
  .apple-story-step p { display: none; }
  .apple-story-product { align-self: end; }
  .apple-story-shell { width: min(100%, 360px); border-radius: 26px; }
  .apple-story-toolbar { height: 30px; padding: 0 12px; border-radius: 17px 17px 0 0; }
  .apple-story-toolbar span { width: 42px; height: 4px; }
  .apple-story-toolbar i { width: 5px; height: 5px; }
  .apple-story-canvas { height: calc(100% - 30px); border-radius: 0 0 17px 17px; }
  .apple-story-source { height: 60px; padding: 10px; border-radius: 10px; }
  .apple-story-source b { margin-bottom: 8px; font-size: 9px; }
  .apple-story-source span { height: 3px; margin-top: 5px; }
  .apple-story-summary { padding: 18px 14px; border-radius: 14px; }
  .apple-story-summary small { font-size: 7px; }
  .apple-story-summary strong { margin: 7px 0 16px; font-size: 18px; }
  .apple-story-summary span { height: 4px; margin: 8px 0; }
  .apple-story-progress { width: min(100%, 360px); margin-top: 18px; }
  /* 画布变小后，桌面档位的位移量会让三张来源卡叠在一起 */
  .apple-story[data-apple-active="1"] .apple-story-source-a { transform: translateX(-12px) translateY(44px) scale(0.88); }
  .apple-story[data-apple-active="1"] .apple-story-source-c { transform: translateX(-8px) translateY(-34px) scale(0.9); }
  .apple-story[data-apple-active="2"] .apple-story-source { transform: translateX(-28px) scale(0.82); }

  .apple-shelf { padding: 96px 22px 104px; }
  .apple-shelf-head { margin-bottom: 34px; text-align: left; }
  .apple-shelf-head h2 { font-size: 42px; line-height: 1.04; }
  .apple-shelf-head > p:last-child { margin-left: 0; font-size: 17px; }
  .apple-shelf-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .apple-shelf-cover { transform: none; }
  .apple-use { padding: 96px 22px 110px; }
  .apple-use-head { margin-bottom: 36px; }
  .apple-use-head > p:last-child { margin-top: 22px; font-size: 18px; }
  .apple-use-steps { grid-template-columns: 1fr; gap: 12px; }
  .apple-use-steps li { padding: 24px 22px 26px; border-radius: 22px; }
  .apple-use-steps h3 { font-size: 22px; }
  .apple-use-cta { margin-top: 32px; gap: 16px; }
  .apple-specs { padding: 96px 18px 110px; }
  .apple-specs-head { margin: 0 4px 48px; }
  .apple-spec-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
  .apple-spec-card,
  .apple-spec-card-wide { min-height: 0; grid-column: auto; padding: 28px; border-radius: 26px; }
  .apple-spec-card > strong { font-size: 25px; }
  .apple-spec-lines { width: 100%; padding-top: 28px; }
  .apple-spec-devices { padding-top: 28px; transform: scale(0.8); transform-origin: right bottom; }
  .apple-spec-card-number > b { font-size: 180px; }

  .apple-changelog { padding: 96px 22px 110px; }
  .apple-changelog-head { margin-bottom: 48px; }
  .apple-changelog-head h2,
  .apple-project-cta h2 { font-size: 42px; line-height: 1.04; }
  .apple-changelog-head > p:last-child { margin-top: 22px; font-size: 18px; }
  .apple-changelog-item { min-height: 0; padding: 28px 0; grid-template-columns: 1fr auto; gap: 14px; }
  .apple-changelog-item time { grid-column: 1; }
  .apple-changelog-item div { grid-column: 1 / -1; grid-row: 2; }
  .apple-changelog-item > b { grid-column: 2; grid-row: 1; }
  .apple-changelog-item h3 { font-size: 24px; }
  .apple-changelog-note { margin-top: 30px; padding: 20px; }
  .apple-project-cta { min-height: 650px; padding: 96px 22px; }
  .apple-project-cta p:not(.apple-eyebrow) { font-size: 18px; }

  .apple-footer-inner { width: calc(100% - 32px); padding-top: 18px; }
  .apple-footer-directory { padding: 10px 0 20px; display: block; }
  .apple-footer details { border-bottom: 1px solid #d2d2d7; }
  .apple-footer details > summary { min-height: 44px; margin: 0; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
  .apple-footer details > summary::after { content: "+"; color: #424245; font-size: 16px; font-weight: 400; transition: transform 0.2s ease; }
  .apple-footer details[open] > summary::after { transform: rotate(45deg); }
  .apple-footer details > a,
  .apple-footer details > button,
  .apple-footer details > span { margin: 0 0 11px; padding-left: 12px; }
  .apple-footer-legal { align-items: flex-start; flex-direction: column; }
}

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

  .apple-hero-enter,
  .apple-reveal,
  .apple-story-step,
  .apple-story-summary,
  .apple-story-source {
    opacity: 1;
    transform: none;
  }

  .apple-story { height: auto; }
  .apple-story-sticky { height: auto; min-height: 900px; position: relative; }
  .apple-story-step { opacity: 1; }
  .apple-story-step p { display: block; }
  .apple-story-product { display: none; }
}
