:root {
  color-scheme: dark;
  --paper: #202429;
  --panel: #2b3036;
  --panel-light: #343a40;
  --line: #4b535c;
  --text: #f7f8f9;
  --muted: #bac1c9;
  --gold: #c7a66a;
  --gold-light: #ecd7ad;
  --success: #62d3a2;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; color: var(--text); background: radial-gradient(circle at 80% -10%, #45505a80, transparent 34%), var(--paper); }
a { color: inherit; }
.topbar { width: min(1180px, calc(100% - 40px)); min-height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #4b535c80; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand img { width: 48px; height: 48px; border: 1px solid #6b604f; border-radius: 14px; background: #f8f2e7; }
.brand strong, .brand small { display: block; }
.brand small { margin-top: 3px; color: var(--gold); font-size: 11px; }
.secure-mark { padding: 8px 11px; border: 1px solid #3d6554; border-radius: 999px; color: var(--success); background: #20342c; font-size: 11px; font-weight: 800; }
main { width: min(1180px, calc(100% - 40px)); margin: auto; padding: 70px 0 55px; }
.hero { max-width: 880px; margin-bottom: 45px; }
.eyebrow { margin: 0 0 9px; color: var(--gold); font-size: 11px; font-weight: 850; letter-spacing: .17em; }
h1 { margin: 0; font-size: clamp(44px, 7vw, 76px); letter-spacing: -.055em; }
.slogan { margin: 14px 0 0; color: var(--gold-light); font-size: clamp(19px, 3vw, 27px); font-weight: 750; }
.intro { margin: 18px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.support-row { display: inline-flex; margin-top: 22px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 11px; background: #2b3036; color: #dce0e4; font-size: 13px; }
.download-panel { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg,#30363c,#292e33); box-shadow: 0 30px 80px #080a0c3d; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-heading h2 { margin: 0; font-size: 28px; }
.section-heading > span { color: var(--muted); font-size: 12px; }
.platform-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.platform-card { position: relative; min-width: 0; display: grid; grid-template-columns: auto 1fr; gap: 13px; padding: 20px; border: 1px solid #515963; border-radius: 18px; background: var(--panel-light); }
.platform-card.recommended { border-color: #806d4c; box-shadow: inset 0 0 0 1px #c7a66a55; }
.platform-card.recommended::after { content: "当前设备"; position: absolute; top: 13px; right: 13px; color: var(--gold); font-size: 10px; font-weight: 850; }
.platform-icon { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid #5b646d; border-radius: 13px; background: #24292e; color: var(--gold-light); font-size: 22px; font-weight: 900; }
.platform-copy h3 { margin: 2px 0 3px; font-size: 18px; }
.platform-copy p { margin: 0; color: var(--muted); font-size: 11px; }
.release-list { grid-column: 1/-1; display: grid; gap: 8px; margin-top: 5px; }
.waiting { display: block; padding: 13px; border: 1px dashed #626b74; border-radius: 11px; color: var(--muted); text-align: center; font-size: 12px; }
.download-button { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: 12px; background: linear-gradient(135deg,#d0b176,#a98042); color: #171510; text-decoration: none; transition: transform .2s, filter .2s; }
.download-button:hover { transform: translateY(-2px); filter: brightness(1.06); }
.download-button strong, .download-button small { display: block; }
.download-button small { text-align: right; font-size: 9px; opacity: .78; }
.release-metadata { display: grid; gap: 3px; }
.download-button .release-security { color: #5b130f; font-weight: 750; opacity: 1; }
.guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.guide-grid article { display: flex; gap: 13px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #2b3036; }
.guide-grid b { color: var(--gold); font-size: 12px; }
.guide-grid strong, .guide-grid p { display: block; }
.guide-grid p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.notice { margin-top: 18px; padding: 18px 20px; border-left: 3px solid var(--gold); border-radius: 4px 14px 14px 4px; background: #343a40; }
.notice strong { color: var(--gold-light); }
.notice p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
footer { width: min(1180px, calc(100% - 40px)); margin: auto; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0 35px; border-top: 1px solid #4b535c80; color: var(--muted); font-size: 11px; }
footer a { color: var(--gold-light); text-decoration: none; }
@media (max-width: 850px) {
  .platform-grid, .guide-grid { grid-template-columns: 1fr; }
  .platform-card { grid-template-columns: auto 1fr; }
}
@media (max-width: 560px) {
  .topbar, main, footer { width: min(100% - 24px,1180px); }
  .topbar { min-height: 70px; }
  .secure-mark { display: none; }
  main { padding-top: 42px; }
  h1 { font-size: 39px; }
  .download-panel { padding: 17px; border-radius: 19px; }
  .section-heading { display: block; }
  .section-heading > span { display: block; margin-top: 8px; }
  footer { display: grid; }
}
