:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: #302b23;
  background: #f8f5ed;
  font-synthesis: none;
  --accent: #a73d1c;
  --accent-dark: #853016;
  --muted: #7d705d;
  --line: #e1d7c2;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #2673a7; outline-offset: 5px; }
.topbar, .download-page, footer { width: min(2240px, calc(100% - 64px)); margin-inline: auto; }
.topbar { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--accent); font-size: 27px; font-weight: 800; letter-spacing: -.5px; }
.brand img { object-fit: contain; }
.site-label { color: var(--muted); font-size: 14px; }
.download-page { --column-gap: clamp(32px, 3vw, 56px); width: min(1656px, calc(66.6667% + 119px)); min-height: calc(100svh - 136px); display: grid; grid-template-columns: minmax(0, 1fr) 430px; align-items: center; gap: var(--column-gap); padding-block: 24px; }
.client-view { margin: 0; min-width: 0; }
.screenshot-link { display: block; border-radius: 9px; box-shadow: 0 16px 42px #58411c19; transition: box-shadow .18s ease; }
.screenshot-link:hover { box-shadow: 0 18px 46px #58411c2a; }
.client-screenshot { width: 100%; height: auto; display: block; border: 1px solid #d8ccb5; border-radius: 9px; }
figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 2px 0; color: var(--muted); font-size: 13px; }
figcaption a { color: var(--accent); }
figcaption a:hover, .portable-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.download-panel { position: relative; min-width: 0; }
.download-panel::before { content: ""; position: absolute; width: 1px; left: calc(var(--column-gap) / -2); top: -26px; bottom: -26px; background: linear-gradient(to bottom, transparent, #d1b889 15%, #d1b889 85%, transparent); }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: #876635; font-size: 14px; font-weight: 600; letter-spacing: 1px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #39784b; }
h1 { font-size: clamp(35px, 3vw, 48px); line-height: 1.25; letter-spacing: -1.5px; margin: 0 0 14px; font-weight: 800; }
h1 em { color: var(--accent); font-style: normal; }
.lead { font-size: 15px; line-height: 1.9; color: #655b4d; margin: 0 0 12px; }
.feature-line { display: flex; gap: 10px; flex-wrap: wrap; color: #876635; font-size: 13px; margin: 0 0 20px; }
.feature-line span { color: #b3a187; }
.download-options { max-width: 420px; }
.primary, .package-button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 64px; padding: 17px 20px; border: 1px solid var(--accent); border-radius: 7px; background: var(--accent); color: #fff; font-size: 18px; font-weight: 700; box-shadow: 0 5px 12px #a73d1c18; transition: background .18s ease, box-shadow .18s ease; }
.primary small, .package-button small { font-size: 12px; font-weight: 400; opacity: .9; white-space: nowrap; }
.package-button { background: #eadcc5; border-color: #b89b6b; color: #69441d; box-shadow: none; }
.package-button:hover { background: #dfc9a7; text-decoration: none; }
.option-help { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 7px 0 14px; }
.primary:hover { background: var(--accent-dark); box-shadow: 0 6px 16px #a73d1c2a; }
.release-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; margin-top: 12px; color: #77664c; }
.requirements { margin: 7px 0 0; font-size: 13px; color: var(--muted); }
.download-feedback { font-size: 13px; line-height: 1.7; color: var(--muted); margin: 10px 0 14px; }
.file-check { border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); max-width: 420px; }
.file-check summary { padding: 13px 0 0; cursor: pointer; width: fit-content; }
.checksum-content { display: grid; justify-items: start; gap: 9px; margin-top: 13px; }
.checksum-content code { width: 100%; overflow-wrap: anywhere; line-height: 1.7; user-select: all; color: #574a38; }
.checksum-content button { border: 1px solid #c5b397; background: #fffaf0; border-radius: 4px; padding: 6px 10px; color: #664e2d; cursor: pointer; }
.checksum-content button:disabled { cursor: default; opacity: .6; }
footer { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.7; }
@media (max-width: 1100px) {
  .topbar, .download-page, footer { width: calc(100% - 56px); }
  .download-page { --column-gap: 30px; grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr); }
  h1 { font-size: 37px; }
  .lead { font-size: 14px; }
}
@media (max-width: 800px) {
  .topbar, .download-page, footer { width: calc(100% - 40px); }
  .topbar { min-height: 78px; gap: 12px; }
  .brand { font-size: 23px; gap: 9px; flex-shrink: 0; white-space: nowrap; }
  .brand img { width: 35px; height: 35px; }
  .site-label { max-width: 110px; text-align: right; font-size: 11px; line-height: 1.6; }
  .download-page { min-height: 0; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 28px 36px; }
  .download-panel { max-width: 520px; width: 100%; justify-self: center; }
  .download-panel::before { width: 100%; height: 1px; left: 0; top: -16px; bottom: auto; background: linear-gradient(to right, transparent, #d1b889 15%, #d1b889 85%, transparent); }
  .eyebrow { margin-bottom: 14px; }
  h1 { font-size: 37px; margin-bottom: 15px; }
  .feature-line { margin-bottom: 22px; gap: 8px; }
  .primary, .package-button { font-size: 17px; gap: 9px; padding-inline: 12px; }
  .primary svg { width: 19px; height: 19px; flex-shrink: 0; }
  figcaption { padding-top: 11px; font-size: 12px; }
  footer { padding-block: 18px; flex-wrap: wrap; gap: 6px 20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
