/* GalNook — release page. Original implementation.
   Light pastel mesh · pill nav · phone trio showcase */

:root {
  color-scheme: light;
  --bg: #fff;
  --text: #111622;
  --muted: #525d70;
  --quiet: #637085;
  --line: rgb(17 22 34 / .1);
  --accent: #1d5fd1;
  --accent-hover: #164eae;
  --head-height: 64px;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 80px);
  --font: "Plus Jakarta Sans", "PingFang SC", "SF Pro Display", "Microsoft YaHei UI", "Noto Sans CJK SC", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --scroll-track: #f1f4fa;
  --scroll-thumb: #c3cedf;
  --nav-shadow: 0 7px 19px rgb(34 56 91 / .075), 0 2px 5px rgb(34 56 91 / .035);
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/jakarta-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/jakarta-800.woff2") format("woff2");
  font-weight: 800 900;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
[hidden] { display: none !important; }
main, section { scroll-margin-top: calc(var(--head-height) + 20px); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, figure { margin: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--wrap)); margin-inline: auto; }
.icon-bank { position: absolute; overflow: hidden; pointer-events: none; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }

/* scrollbars */
@media (forced-colors: none) and (any-pointer: fine) {
  ::-webkit-scrollbar { width: 11px; height: 11px; }
  ::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: var(--scroll-track); }
  ::-webkit-scrollbar-thumb {
    min-width: 32px; min-height: 32px;
    border: 2px solid var(--scroll-track);
    border-radius: 999px;
    background: var(--scroll-thumb);
    background-clip: padding-box;
  }
  ::-webkit-scrollbar-thumb:hover { background-color: #a9b8ce; }
  ::-webkit-scrollbar-thumb:active { background-color: #8ea2be; }
}

/* ============ page shell ============ */
.release-home {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(ellipse 40% 48% at 16% 43%, #e6f2ff, transparent 74%),
    radial-gradient(ellipse 48% 58% at 55% 29%, #dfeaff, transparent 74%),
    radial-gradient(ellipse 42% 55% at 96% 40%, #e4f5e2, transparent 75%),
    radial-gradient(ellipse 48% 47% at 80% 80%, #e9ddfb, transparent 72%),
    linear-gradient(145deg, #fff 7%, #f7faff 66%, #f9f5fc);
  font-family: var(--font);
  color: var(--text);
}

/* ============ header ============ */
.release-header {
  position: relative;
  z-index: 1;
  background: rgb(255 255 255 / .73);
  box-shadow: var(--nav-shadow);
}
.release-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--head-height);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.12;
}
.brand img { border-radius: 9px; filter: drop-shadow(0 3px 7px rgb(60 90 40 / .22)); }
.brand small {
  display: block;
  margin-top: 5px;
  font: 700 9px/1 var(--font);
  letter-spacing: .17em;
  color: var(--muted);
}
.release-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 99px;
  background: rgb(17 22 34 / .045);
}
.release-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding-inline: clamp(9px, 1.2vw, 16px);
  border-radius: 99px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.release-nav a:hover { background: #fff; color: var(--text); }

/* ============ main ============ */
.release-main {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  grid-template-areas: "intro stage" "download stage";
  align-content: center;
  gap: clamp(22px, 4svh, 42px) clamp(22px, 4vw, 58px);
  padding-block: clamp(24px, 4svh, 50px);
}
.release-main:focus { outline: none; }

.release-intro {
  grid-area: intro;
  display: grid;
  align-self: end;
  justify-items: start;
}
.release-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  padding: 6px 13px;
  border: 1px solid rgb(255 255 255 / .94);
  border-radius: 99px;
  background: linear-gradient(150deg, rgb(255 255 255 / .85), rgb(214 236 210 / .59));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  color: #35603c;
  font-weight: 650;
  font-size: 13px;
  line-height: 1.35;
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .85), 0 5px 15px rgb(43 100 60 / .11);
}
.release-status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #55a066;
  content: "";
}
.release-intro h1 {
  font-size: clamp(54px, 7.4vw, 110px);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -.06em;
}
.release-version {
  display: block;
  width: fit-content;
  padding-top: .12em;
}
.version-mark {
  display: block;
  font-size: 1.06em;
  font-weight: 850;
  letter-spacing: -.04em;
  line-height: 1;
  background: linear-gradient(180deg, #a9cf82, #6f9c52 52%, #557e3c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 3px rgb(85 126 60 / .18));
}
.version-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 27px;
}
.release-actions .button {
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 99px;
  font-size: 15px;
  line-height: normal;
  transition: transform .18s, background .18s, box-shadow .18s;
}
.release-actions .button:hover { transform: translateY(-1px); }
.release-actions .icon { width: 16px; height: 16px; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 49px;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .16s, border-color .16s, color .16s;
}
.release-preview { background: #111622; color: #fff; box-shadow: 0 10px 24px rgb(17 22 34 / .18); }
.release-preview:hover { background: #263147; }
.release-notes { border-color: var(--line); background: #fff; color: var(--text); box-shadow: 0 6px 18px rgb(17 22 34 / .05); }
.release-notes:hover { background: #f8faff; }

/* ============ phone showcase ============ */
.release-showcase {
  grid-area: stage;
  align-self: center;
  width: 100%;
}
.release-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1.19;
  max-height: min(68svh, 580px);
}
.release-phone {
  position: absolute;
  top: 54%;
  height: 75%;
  aspect-ratio: 578 / 1205;
  filter: drop-shadow(0 21px 24px rgb(17 26 46 / .23));
  transform: translate(-50%, -50%);
}
.release-phone--left { left: 18%; }
.release-phone--right { left: 82%; }
.release-phone--center { top: 49%; left: 50%; height: 90%; }

/* 手机外壳：直接引用原站边框素材与定位参数 */
.release-phone::after {
  position: absolute;
  inset: 0;
  background: url("https://www.guazi.fun/3.0/scene-phone-frame.webp") center / 100% 100% no-repeat;
  content: "";
}
.release-phone img {
  position: absolute;
  inset: 1% auto auto 2.08%;
  width: 94.81%;
  height: 97.93%;
  border-radius: 14.5% / 6.8%;
  object-fit: cover;
}

/* ============ download ============ */
.release-download {
  grid-area: download;
  display: flex;
  flex-wrap: wrap;
  align-self: start;
  align-items: center;
  gap: 9px 14px;
}
.release-download h2 {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.release-platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.release-platform {
  min-height: 42px;
  padding-inline: 14px;
  border-color: var(--line);
  background: #fff;
  color: var(--text);
  font-size: 13px;
}
.release-platform:hover { border-color: #bdcfe9; background: #f2f7ff; }
.release-platform .icon { color: var(--accent); }

/* ============ footer ============ */
.release-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 46px;
  padding-block: 8px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 12px;
}
.release-footer small { font-size: inherit; justify-self: start; }
.release-filing {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.release-footer a:hover { color: var(--accent); }
.release-footer > span { justify-self: end; }
.release-filing .icon { width: 12px; height: 12px; }

/* ============ dialog ============ */
dialog {
  width: min(480px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  margin: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 22px 70px rgb(17 22 34 / .22);
}
dialog::backdrop { background: rgb(17 22 34 / .3); }
.package-dialog form { position: absolute; top: 14px; right: 14px; }
.dialog-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #f2f5fa;
}
.dialog-close:hover { background: #e5ecf7; }
.dialog-close .icon { width: 19px; height: 19px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .12em;
  font-weight: 700;
}
.package-dialog h2 {
  margin-top: 11px;
  font-size: clamp(22px, 5vw, 28px);
  line-height: 1.3;
}
.package-options {
  display: grid;
  gap: 8px;
  margin-top: 19px;
  color: var(--muted);
  font-size: 14px;
}
.package-choice {
  display: grid;
  gap: 6px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f8fafd;
  color: var(--text);
  overflow-wrap: anywhere;
}
a.package-choice:hover { border-color: #bdcfe9; background: #eef5ff; }
.package-choice strong { font-size: 15px; }
.package-choice small, .prototype-note { color: var(--muted); font-size: 12px; }
.prototype-note { margin-top: 17px; line-height: 1.5; }

/* ============ responsive ============ */
@media (min-width: 761px) and (max-width: 860px) {
  .release-header-inner { gap: 12px; }
  .release-nav a { padding-inline: 9px; }
}

@media (max-width: 760px) {
  :root { --head-height: 62px; }
  .release-home {
    background:
      radial-gradient(ellipse 80% 48% at 10% 59%, #e0eaff, transparent 72%),
      radial-gradient(ellipse 80% 52% at 99% 55%, #e2f3e0, transparent 74%),
      linear-gradient(150deg, #fff 4%, #f6f9ff 80%);
  }
  .release-main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "stage" "download";
    justify-items: center;
    gap: clamp(15px, 3svh, 25px);
    padding-block: clamp(18px, 3svh, 32px);
  }
  .release-intro { justify-items: center; text-align: center; }
  .release-status { margin-bottom: 11px; }
  .release-intro h1 { font-size: clamp(43px, 11.9vw, 68px); }
  .release-version { display: inline-block; padding: 0; }
  .release-version .version-mark { display: inline-block; font-size: .82em; vertical-align: .06em; margin-left: .08em; }
  .release-actions { justify-content: center; margin-top: 19px; }
  .release-showcase { width: min(100%, 485px); }
  .release-stage { height: clamp(182px, 72vw, 348px); max-height: clamp(140px, calc(100svh - 454px), 348px); }
  .release-phone--left { left: 21%; }
  .release-phone--right { left: 79%; }
  .release-download { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; --head-height: 56px; }
  .brand { gap: 7px; font-size: 14px; }
  .brand img { width: 32px; height: 32px; }
  .brand small { margin-top: 3px; font-size: 8px; }
  .release-nav a { padding-inline: 8px; font-size: 12px; }
  .release-download h2 { flex-basis: 100%; }
  .release-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 4px; }
  .release-footer small, .release-filing, .release-footer > span { justify-self: center; }
}

@media (max-width: 360px) {
  .release-actions .button { padding-inline: 13px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ============================================================
   updates subpage — 版本历史
   ============================================================ */
.official-subpage { display: flex; flex-direction: column; min-height: 100svh; }
.official-subpage main { flex: 1; }
.official-subpage main:focus { outline: none; }

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    linear-gradient(#fff, transparent 76px),
    radial-gradient(ellipse 40% 48% at 16% 43%, #e6f2ff, transparent 74%),
    radial-gradient(ellipse 48% 58% at 55% 29%, #dfeaff, transparent 74%),
    radial-gradient(ellipse 42% 55% at 96% 40%, #e4f5e2, transparent 75%),
    radial-gradient(ellipse 48% 47% at 80% 80%, #e9ddfb, transparent 72%),
    linear-gradient(145deg, #fff 7%, #f7faff 66%, #f9f5fc);
}
.page-heading { position: relative; padding-block: clamp(44px, 6.1vw, 89px); }
.page-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}
.page-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
}
.page-heading h1 {
  margin-top: 13px;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -.06em;
  text-wrap: balance;
}
/* 句号：恢复字符，缩小字号并固定 CJK 字体，视觉与参考站一致 */
.period-mark {
  font-family: "PingFang SC", "Microsoft YaHei UI", "Noto Sans CJK SC", sans-serif;
  font-size: .8em;
  margin-left: .06em;
  color: var(--accent);
}
.page-lead {
  max-width: 35em;
  margin-top: 15px;
  color: var(--muted);
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.8;
}

/* ---- picker ---- */
.release-picker { padding-bottom: clamp(26px, 4vw, 53px); }
.release-picker-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 12px;
  margin-bottom: 13px;
}
.release-platform-heading { font-size: clamp(18px, 2vw, 24px); letter-spacing: -.035em; }
.updates-page .release-platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  max-width: 900px;
  gap: clamp(12px, 2vw, 24px);
}
.release-platform-card {
  --card-color: #155d4d;
  --card-tint: #e5f4ee;
  --card-line: #a7d2c3;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 13px;
  min-width: 0;
  padding: clamp(15px, 2.2vw, 29px);
  border: 1px solid rgb(255 255 255 / .93);
  border-radius: clamp(19px, 2.8vw, 30px);
  background: linear-gradient(145deg, #fff 40%, var(--card-tint));
  color: var(--text);
  box-shadow: 0 14px 42px rgb(44 76 131 / .11);
  transition: padding .28s var(--ease-out, ease-out), border-radius .28s var(--ease-out, ease-out), box-shadow .28s ease;
}
.release-platform-card:hover { border-color: var(--card-line); }
.release-platform-card[data-release-card="windows"] {
  --card-color: #194fa7;
  --card-tint: #e8f0ff;
  --card-line: #b6caf4;
}
.release-platform-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 9px;
  min-width: 0;
}
.release-platform-symbol {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--card-tint);
  color: var(--card-color);
  transition: width .28s var(--ease-out, ease-out), height .28s var(--ease-out, ease-out), border-radius .28s var(--ease-out, ease-out);
}
.release-platform-symbol .icon { width: 21px; height: 21px; }
.release-platform-text {
  font-size: clamp(19px, 2.4vw, 25px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.04em;
  transition: font-size .28s var(--ease-out, ease-out);
}
.release-platform-edition {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--site-soft, #f5f7fb);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.release-summary-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
}
.release-summary-version {
  color: var(--card-color);
  font-size: clamp(30px, 4.1vw, 49px);
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -.05em;
  overflow-wrap: anywhere;
}
.release-summary-date {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.release-summary-notes {
  display: grid;
  gap: 0;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}
.release-summary-notes li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  padding-block: 8px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.6;
}
.release-change-tag {
  display: inline-block;
  flex: none;
  padding: 1px 8px;
  border: 1px solid var(--soft-line, rgb(17 22 34 / .14));
  border-radius: 99px;
  background: var(--site-soft, #f5f7fb);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.release-change-tag.is-new {
  color: var(--accent);
  border-color: rgb(29 95 209 / .23);
  background: #eaf1ff;
}
.release-summary-notes .release-change-tag { border-color: var(--card-line); background: var(--card-tint); color: var(--card-color); }
.release-change-text {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
}
.release-platform-action {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 6px;
  min-height: 39px;
  padding: 6px 12px;
  border: 1px solid var(--card-line);
  border-radius: 999px;
  background: #fff;
  color: var(--card-color);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .16s;
}
.release-platform-action .icon { transform: rotate(90deg); transition: transform .25s var(--ease-out, ease-out); }
.release-platform-action[aria-expanded="true"] .icon { transform: rotate(-90deg); }
.release-platform-card:hover .release-platform-action { background: var(--card-tint); }
.release-picker:has([aria-expanded="true"]) { padding-bottom: clamp(17px, 2.5vw, 26px); }

/* 展开后：卡片收缩成小条 */
.updates-page .release-platforms.is-expanded .release-platform-card {
  grid-template: auto / minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: 16px;
  box-shadow: none;
}
.updates-page .release-platforms.is-expanded .release-platform-text { font-size: clamp(16px, 2vw, 21px); }
.updates-page .release-platforms.is-expanded .release-platform-symbol { width: 34px; height: 34px; border-radius: 10px; }
.updates-page .release-platforms.is-expanded .release-platform-symbol .icon { width: 18px; height: 18px; }
.updates-page .release-platforms.is-expanded .release-summary,
.updates-page .release-platforms.is-expanded .release-platform-edition,
.updates-page .release-platforms.is-expanded .release-platform-action-label { display: none; }
.updates-page .release-platforms.is-expanded .release-platform-action {
  justify-content: center;
  width: 34px;
  min-height: 34px;
  padding: 0;
}

/* ---- release panel ---- */
#release-panel { display: grid; gap: 0; }
#release-panel[hidden] { display: none; }
.panel-in { animation: panel-in .32s var(--ease-out, ease-out) both; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.release-featured {
  border: 1px solid var(--line);
  border-radius: var(--site-radius, 24px);
  background: linear-gradient(135deg, #fff, #f5f7fb);
  box-shadow: 0 18px 48px rgb(17 22 34 / .07);
}
.release-featured-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 22px;
  padding: clamp(17px, 3vw, 36px);
}
.release-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .085em;
}
.release-featured h2 {
  margin-top: 6px;
  font-size: clamp(24px, 3.5vw, 42px);
  line-height: 1.15;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.release-featured-meta { margin-top: 6px; color: var(--muted); font-size: 13px; }
.release-featured .page-actions {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.button.primary {
  min-height: 45px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 5px 14px rgb(29 95 209 / .16);
}
.button.primary:hover { background: var(--accent-hover, #164eae); }
.button.primary .icon { width: 15px; height: 15px; }
.page-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}
.page-link:hover { color: var(--text); }

/* ---- version history ---- */
.release-history { margin-top: clamp(42px, 7vw, 88px); }
.section-caption { margin-bottom: clamp(15px, 2.3vw, 29px); }
.section-caption h2 {
  margin-top: 8px;
  font-size: clamp(30px, 4.5vw, 58px);
  line-height: 1.16;
  letter-spacing: -.068em;
}
.release-record {
  display: grid;
  grid-template-columns: minmax(0, .25fr) minmax(0, 1fr);
  gap: clamp(14px, 3vw, 40px);
  padding: clamp(16px, 2.55vw, 34px) 0;
  border-top: 1px solid var(--line);
}
.release-record:last-child { border-bottom: 1px solid var(--line); }
.release-record-meta {
  display: grid;
  align-content: start;
  gap: 4px;
  color: var(--quiet, #637085);
  font-size: 12px;
}
.release-record-meta strong {
  color: var(--text);
  font-size: clamp(18px, 2.4vw, 28px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}
.release-record-kicker { color: var(--accent); font-size: 11px; font-weight: 700; }
.release-record-content ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.release-record-content li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.change-note {
  margin-top: 13px;
  color: var(--quiet, #637085);
  font-size: 12.5px;
  line-height: 1.8;
}

/* ---- subpage footer ---- */
.official-subpage .footer {
  border-top: 1px solid var(--line);
  background: var(--site-soft, #f5f7fb);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 22px;
  padding-block: 34px 16px;
}
.footer-inner p {
  margin-top: 10px;
  color: var(--quiet, #637085);
  font-size: 13px;
}
.footer-inner .brand img { border-radius: 8px; }
.footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 24px;
  color: var(--muted);
  font-size: 13px;
}
.footer nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.footer nav a:hover { color: var(--text); }
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--quiet, #637085);
  font-size: 12px;
}
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
}
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom .icon { width: 12px; height: 12px; }

/* ---- responsive ---- */
@media (max-width: 760px) {
  .page-heading { padding-block: clamp(30px, 7vw, 48px); }
  .release-featured-copy { grid-template-columns: minmax(0, 1fr); }
  .release-featured .page-actions { grid-column: auto; grid-row: auto; margin-top: 8px; }
  .release-record { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .release-record-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 9px; }
  .footer-inner { grid-template-columns: 1fr; gap: 15px; padding-block: 27px 14px; }
  .footer nav { gap: 0 16px; }
}

/* ============================================================
   subpage header — 毛玻璃 / 当前页高亮 / 获取按钮 / 移动端菜单
   ============================================================ */
.official-subpage .release-header {
  background: rgb(255 255 255 / .82);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}
.official-subpage .release-nav {
  gap: 3px;
  padding: 4px;
  border-radius: 999px;
}
.official-subpage .release-nav a {
  justify-content: center;
}
.official-subpage .release-nav a:hover,
.official-subpage .release-nav a[aria-current="page"] {
  color: var(--text);
  background: #fff;
  box-shadow: 0 2px 8px rgb(17 22 34 / .08);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}
.header-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 39px;
  padding-inline: 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / .82);
  color: var(--text);
  white-space: nowrap;
  font-size: 12px;
}
.header-download:hover {
  border-color: rgb(29 95 209 / .23);
  color: var(--accent);
  background: #fff;
}
.header-download .icon { width: 14px; height: 14px; }
.a-menu-toggle {
  display: grid;
  place-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}
.a-menu-toggle span {
  width: 15px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s var(--ease-out, ease-out);
}
.a-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.a-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.a-menu-toggle { display: none; }

@media (max-width: 760px) {
  .official-subpage .release-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 5;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 8px var(--gutter) 13px;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 18px 48px rgb(17 22 34 / .07);
  }
  .official-subpage .release-nav[data-expanded] { display: flex; }
  .official-subpage .release-nav a {
    justify-content: flex-start;
    min-height: 42px;
    padding-inline: 13px;
  }
  .official-subpage .release-nav a:hover,
  .official-subpage .release-nav a[aria-current="page"] {
    background: #eaf1ff;
    box-shadow: none;
    color: var(--text);
  }
  .a-menu-toggle { display: grid; }
}

/* ============================================================
   sponsor page — 赞助
   ============================================================ */
.sponsor-content { padding-block: clamp(28px, 4vw, 54px) clamp(40px, 6vw, 76px); }
.sponsor-intro { margin-bottom: clamp(20px, 3.5vw, 32px); }
.sponsor-intro h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -.06em;
}
.sponsor-intro p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.sponsor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(16px, 2.2vw, 29px);
}
.sponsor-plan {
  display: grid;
  gap: clamp(13px, 2.5vw, 22px);
  padding: clamp(17px, 3.2vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--site-radius, 24px);
  background: #fff;
  box-shadow: 0 18px 48px rgb(17 22 34 / .07);
}
.sponsor-plan-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}
.sponsor-plan-head h2 { font-size: clamp(19px, 3vw, 23px); }
.sponsor-plan-head div p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.sponsor-plan-price {
  color: var(--text);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}
.sponsor-plan > .button {
  justify-self: stretch;
  width: 100%;
}

/* 赞赏码弹窗 */
.sponsor-dialog {
  position: fixed;
  inset: 0;
  width: min(510px, calc(100% - 28px));
  height: fit-content;
  margin: auto;
  padding: clamp(18px, 3.7vw, 35px);
  border: 1px solid var(--line);
  border-radius: var(--site-radius, 24px);
  background: #fff;
  color: var(--text);
  box-shadow: 0 22px 70px rgb(17 22 34 / .22);
  overscroll-behavior: contain;
}
.sponsor-dialog::backdrop { background: rgb(17 22 34 / .3); }
.sponsor-dialog > .eyebrow { padding-right: 36px; color: var(--accent); }
.sponsor-dialog-close {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--site-soft, #f5f7fb);
}
.sponsor-dialog-close:hover { border-color: var(--accent); }
.sponsor-dialog-close .icon { width: 17px; height: 17px; pointer-events: none; }
.sponsor-dialog h2 {
  margin-block: 11px 8px;
  padding-right: 22px;
  font-size: clamp(22px, 3.4vw, 32px);
  line-height: 1.25;
}
.reward-qr {
  display: block;
  width: min(280px, 72vw);
  height: auto;
  margin: 15px auto 0;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.reward-tip {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}
