:root {
  color-scheme: light;
  --blue: #1764dd;
  --blue-dark: #104cae;
  --ink: #172e4b;
  --muted: #586b83;
  --line: #dfe7f1;
  --surface: #fff;
  --background: #f5f8fc;
  --radius: 14px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--ink);
  background: radial-gradient(ellipse at 50% 0, #eaf1fc 0, transparent 60%), var(--background);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
img { display: block; max-width: 100%; object-fit: contain; }
[hidden] { display: none !important; }
.container { width: calc(100% - 96px); max-width: 1180px; margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -80px; padding: 12px 20px; color: #fff; background: var(--blue); border-radius: 8px; z-index: 10; }
.skip-link:focus { top: 12px; }

.masthead { margin-bottom: 18px; }
.header-inner { display: flex; justify-content: center; }
.brand { display: inline-flex; }
.brand strong { font-family: "Bahnschrift", "Segoe UI", sans-serif; font-size: 23px; font-weight: 700; letter-spacing: 1px; }
.brand strong > span { color: #687d97; }
.main { flex: none; }
.section-heading { text-align: center; margin-bottom: 36px; }
h1 { font-size: 40px; font-weight: 700; letter-spacing: -.8px; line-height: 1.35; margin: 0; }
h1 span { color: var(--blue); margin-left: 10px; }
.section-heading p { color: var(--muted); font-size: 15px; margin: 12px 0 0; }

.downloads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.choice { display: flex; flex-direction: column; min-width: 0; min-height: 250px; padding: 26px 22px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 4px 14px #213b6308; transition: border-color .2s ease, box-shadow .2s ease; }
.choice:hover, .choice:focus-visible { border-color: #7da8e5; box-shadow: 0 8px 22px #21497e12; }
.logo-area { height: 60px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.logo-area img { width: 100%; max-width: 215px; max-height: 52px; height: auto; }
.logo-area .logo-todesk { max-width: 192px; }
.sunlogin .logo-area img { max-width: 207px; }
.asklink-brand { gap: 10px; color: #0877ff; font-size: 33px; font-weight: 800; line-height: 1; white-space: nowrap; }
.asklink-brand img { width: 40px; height: 40px; flex: none; border: 1px solid #dbe8fc; border-radius: 10px; }
.card-top { display: flex; align-items: center; justify-content: center; min-height: 26px; }
.edition { display: inline-block; color: #506784; font-size: 12px; font-weight: 500; line-height: 1.6; padding: 3px 9px; background: #f1f5fb; border-radius: 5px; }
.card-detail { text-align: center; margin: 10px 0 22px; }
.card-detail p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; white-space: nowrap; }
.download-action { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: auto; color: #fff; background: var(--blue); border: 1px solid var(--blue); border-radius: 8px; font-size: 14px; font-weight: 600; transition: background .2s ease; }
.choice:hover .download-action, .choice:focus-visible .download-action { background: var(--blue-dark); border-color: var(--blue-dark); }
.download-action svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.autoclean { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding: 20px 24px; min-height: 94px; border: 1px solid var(--line); border-radius: var(--radius); background: #ffffffa8; transition: border-color .2s ease, background .2s ease; }
.autoclean:hover { border-color: #a8c1e5; background: #fff; }
.autoclean-icon { width: 50px; height: 50px; flex: none; }
.autoclean-icon img { width: 50px; height: 50px; border-radius: 9px; }
.autoclean-copy { min-width: 0; }
.autoclean-copy > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.autoclean-copy strong { font-size: 21px; line-height: 1.4; font-weight: 700; }
.autoclean-tag { color: #526b8c; font-family: "Bahnschrift", "Segoe UI", sans-serif; font-size: 12px; font-weight: 500; }
.autoclean-copy p { color: var(--muted); margin: 5px 0 0; font-size: 14px; }
.autoclean-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 136px; min-height: 44px; color: #fff; background: var(--blue); margin-left: auto; flex: none; padding: 10px 18px; font-size: 14px; font-weight: 600; line-height: 1.4; white-space: nowrap; border: 1px solid var(--blue); border-radius: 8px; box-shadow: 0 2px 6px #1764dd15; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.autoclean-cta svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.autoclean:hover .autoclean-cta, .autoclean:focus-visible .autoclean-cta { background: var(--blue-dark); border-color: var(--blue-dark); box-shadow: 0 3px 9px #1764dd25; }
.autoclean:active .autoclean-cta { background: #0d4098; border-color: #0d4098; box-shadow: none; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 18px; border-top: 1px solid #dfe7f1; color: #5f728a; font-size: 12px; }
.footer > span:first-child { white-space: nowrap; letter-spacing: .3px; }

.download-notice { position: fixed; bottom: 25px; right: 25px; width: min(430px, calc(100% - 32px)); padding: 23px 28px; color: var(--ink); background: #fff; border: 1px solid #c2d6f4; border-radius: 15px; box-shadow: 0 12px 48px #173f692b; z-index: 5; }
.download-notice strong { display: block; padding-right: 20px; font-size: 17px; }
.download-notice p { color: var(--muted); font-size: 14px; margin: 10px 0; }
.download-notice a { color: var(--blue-dark); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.download-notice button { position: absolute; right: 13px; top: 10px; width: 34px; height: 34px; padding: 0; color: #566c87; background: none; border: 0; border-radius: 6px; font-size: 26px; }
.download-notice button:hover { background: #f0f5fc; }
.noscript-note { text-align: center; padding: 16px; font-size: 14px; }
.version-picker { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(440px, calc(100% - 40px)); max-height: calc(100% - 40px); margin: 0; padding: 28px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 70px #173f6940; z-index: 20; }
.version-picker:not([open]) { display: none; }
.version-picker::backdrop { background: #172e4b80; }
.version-picker h2 { margin: 0 26px 12px 0; font-size: 20px; line-height: 1.5; }
.version-picker p { margin: 0 0 22px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.version-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; padding: 0; background: transparent; border: 0; border-radius: 6px; color: var(--muted); font-size: 25px; }
.version-close:hover { background: #f0f5fc; }
.version-options { display: flex; flex-wrap: wrap; gap: 12px; }
.version-options a { flex: 1; min-width: 130px; padding: 12px; text-align: center; color: #fff; background: var(--blue); border: 1px solid var(--blue); border-radius: 8px; font-size: 14px; font-weight: 600; }
.version-options a:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.version-options a[data-bitness="32"] { color: var(--blue-dark); background: #f1f5fb; border-color: #c2d6f4; }
.version-options a[data-bitness="32"]:hover { background: #e6effc; }

@media (max-height: 760px) and (min-width: 1100px) {
  body { padding: 32px 0; }
  .masthead { margin-bottom: 14px; }
  h1 { font-size: 36px; }
  .section-heading { margin-bottom: 28px; }
  .choice { min-height: 238px; padding-top: 22px; }
  .footer { margin-top: 24px; }
}
@media (max-width: 1100px) {
  .container { width: calc(100% - 72px); }
  .downloads { gap: 14px; }
  .choice { padding-left: 17px; padding-right: 17px; }
  .asklink-brand { gap: 8px; font-size: 29px; }
  .asklink-brand img { width: 36px; height: 36px; }
  .card-detail p { font-size: 13px; white-space: normal; }
}
@media (max-width: 760px) {
  body { padding: 32px 0; }
  .container { width: calc(100% - 40px); }
  h1 { font-size: 29px; }
  .section-heading p { font-size: 14px; }
  .downloads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .autoclean { padding: 18px; gap: 13px; flex-wrap: wrap; }
  .autoclean-copy strong { font-size: 22px; }
  .autoclean-tag { display: none; }
  .autoclean-copy p { font-size: 12px; }
  .autoclean-cta { padding: 8px 15px; font-size: 13px; }
  .footer { align-items: flex-start; flex-direction: column; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .choice, .download-action, .autoclean, .autoclean-cta { transition: none; }
}
