@font-face { font-family: "Alibaba PuHuiTi"; src: url("/download/assets/AlibabaPuHuiTi-Regular.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Alimama ShuHeiTi"; src: url("/download/assets/AlimamaShuHeiTi-Bold.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
:root {
  color-scheme: light;
  --page: #fff;
  --stage: #f5f6f4;
  --ink: #101410;
  --muted: #72786f;
  --border: #dfe3dc;
  --green: #207344;
  --soft-green: #ddf4e5;
  --active: #191e1a;
  --radius: 16px;
  --motion: 180ms;
  font-family: "Alibaba PuHuiTi", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
}
* { box-sizing: border-box; }
body { margin: 0; padding: 0 32px 32px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button, a { transition: background-color var(--motion), color var(--motion), transform var(--motion); }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.site-header { max-width: 1440px; margin: 0 auto; min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-english { display: flex; align-items: center; gap: 8px; font-size: 24px; letter-spacing: -.04em; }
.brand-english img { width: 28px; height: 28px; }
.brand-logo { width: 126px; height: 28px; object-fit: contain; }
.download-stage { position: relative; isolation: isolate; overflow: hidden; max-width: 1440px; min-height: 680px; margin: 0 auto; padding: 64px 32px 48px; border: 1px solid #1f7f4421; border-radius: 24px; background: var(--stage); transition: border-color 280ms ease; }
.download-stage:hover, .download-stage:focus-within { border-color: #1c994d3d; }
.download-stage::before { content: ""; position: absolute; inset: 0; z-index: -2; background: #ffffff24; pointer-events: none; }
.brand-pattern { --pattern-size: clamp(132px, 15vw, 182px); position: absolute; z-index: -1; inset: 0; display: flex; flex-direction: column; justify-content: center; overflow: hidden; opacity: .22; pointer-events: none; contain: layout paint; -webkit-mask-image: radial-gradient(ellipse 82% 88% at center, #000 34%, #000c 68%, transparent 100%); mask-image: radial-gradient(ellipse 82% 88% at center, #000 34%, #000c 68%, transparent 100%); }
.brand-pattern > span { --row-offset: 0px; display: block; flex: 0 0 auto; width: calc(100% + var(--pattern-size) * 2); height: calc(var(--pattern-size) * .74); margin-left: calc(-1 * var(--pattern-size)); background: url("https://img.alicdn.com/imgextra/i2/O1CN01pjv5U51PFUQlSgk2S_!!6000000001811-55-tps-223-223.svg") repeat-x center top / var(--pattern-size) var(--pattern-size); opacity: .56; transform: translate3d(var(--row-offset), 2px, 0); animation: brand-pattern-wave 6.4s ease-in-out infinite; }
.brand-pattern > span:nth-child(even) { --row-offset: calc(var(--pattern-size) / 2); }
.brand-pattern > span:nth-child(2) { animation-delay: -.72s; }
.brand-pattern > span:nth-child(3) { animation-delay: -1.44s; }
.brand-pattern > span:nth-child(4) { animation-delay: -2.16s; }
.brand-pattern > span:nth-child(5) { animation-delay: -2.88s; }
.brand-pattern > span:nth-child(6) { animation-delay: -3.6s; }
.brand-pattern > span:nth-child(7) { animation-delay: -4.32s; }
@keyframes brand-pattern-wave { 0%, 100% { opacity: .56; transform: translate3d(var(--row-offset), 2px, 0); } 46% { opacity: .88; transform: translate3d(var(--row-offset), -2px, 0); } }
.download-heading { text-align: center; }
.eyebrow { margin: 0 0 12px; font-size: 11px; line-height: 1.25; font-weight: 740; letter-spacing: .16em; color: var(--green); }
h1 { margin: 0; font-family: "Alimama ShuHeiTi", "Alibaba PuHuiTi", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: clamp(38px, 5vw, 58px); line-height: 1.12; letter-spacing: -.04em; font-weight: 700; }
.description { margin: 16px 0 0; font-size: 14px; line-height: 1.8; color: var(--muted); }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.download-content { width: 100%; max-width: 760px; margin: 0 auto; }
.release-version { margin: 28px 0 0; text-align: center; font-size: 13px; line-height: 1.6; color: var(--green); font-variant-numeric: tabular-nums; }
.release-version + .requirements { margin-top: 8px; }
.requirements { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.requirements strong { color: var(--green); }
.requirements span + span { border-left: 1px solid var(--border); padding-left: 12px; }
.platform-tabs { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 5px; border: 1px solid var(--border); border-radius: var(--radius); background: #ffffffbd; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.platform-tab-thumb { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 22px) / 4); border-radius: 10px; background: var(--active); pointer-events: none; transform: translate3d(0, 0, 0); transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1); }
.platform-tabs[data-platform=windows] .platform-tab-thumb { transform: translate3d(calc(100% + 4px), 0, 0); }
.platform-tabs[data-platform=harmony] .platform-tab-thumb { transform: translate3d(calc(200% + 8px), 0, 0); }
.platform-tabs[data-platform=linux] .platform-tab-thumb { transform: translate3d(calc(300% + 12px), 0, 0); }
.platform-tabs button { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; gap: 8px; padding: 14px 4px; min-width: 0; min-height: 54px; border: 0; border-radius: 10px; background: transparent; color: #4c524c; transition: color 320ms ease; }
.platform-tabs img, .platform-tabs svg { width: 19px; height: 19px; object-fit: contain; transition: filter 320ms ease; }
.platform-tabs button:hover { color: var(--ink); }
.platform-tabs button[aria-selected=true] { color: white; }
.platform-tabs button[aria-selected=true] img { filter: brightness(0) invert(1); }
.linux-icon { filter: invert(1); }
.platform-name { font-weight: 800; font-size: 14px; }
.device-slot { flex-shrink: 0; font-size: 11px; line-height: 18px; border-radius: 12px; padding: 0 7px; white-space: nowrap; }
.device-slot:empty { display: none; }
.device-slot:not(:empty) { color: var(--green); background: var(--soft-green); }
.download-options { min-height: 154px; margin-top: 8px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--page); }
.download-options[data-state=ready] { display: grid; border: 0; background: transparent; }
.download-option-panel { grid-area: 1 / 1; align-self: start; min-width: 0; z-index: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: #fffffff0; opacity: 0; pointer-events: none; transform: translate3d(0, 8px, 0) scale(0.995); visibility: hidden; transition: opacity 300ms ease, transform 460ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 460ms; }
.download-option-panel.is-active { z-index: 1; opacity: 1; pointer-events: auto; transform: translate3d(0, 0, 0) scale(1); visibility: visible; transition-delay: 0s; }
.download-option { display: flex; align-items: center; gap: 14px; padding: 16px 20px; min-height: 76px; color: var(--ink); text-decoration: none; transition: background-color 200ms ease; }
.download-option + .download-option { border-top: 1px solid var(--border); }
a.download-option:hover, a.download-option:focus-visible { background: #f2f7f3; }
a.download-option:focus-visible { outline-offset: -3px; }
.download-action { display: grid; flex-shrink: 0; place-items: center; width: 38px; height: 38px; border-radius: 7px; transition: background-color 200ms ease; }
.download-action svg { width: 18px; height: 18px; stroke-width: 2; }
a.download-option:hover .download-action, a.download-option:focus-visible .download-action { background: #e5f4ea; }
.download-option > div { flex: 1; min-width: 0; }
.download-option strong { display: block; font-size: 13px; line-height: 1.4; font-weight: 720; }
.download-option small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.download-option[aria-disabled=true] { color: var(--muted); }
.unavailable { color: var(--muted); font-size: 12px; }
.state-message { text-align: center; color: var(--muted); font-size: 14px; margin: 44px 16px 20px; }
.retry { display: block; margin: 0 auto 24px; border: 1px solid var(--border); border-radius: 8px; padding: 8px 20px; color: var(--ink); background: var(--page); }
.retry:hover { background: var(--stage); }
.login-hint { margin: 20px 0 0; text-align: center; font-size: 12px; line-height: 1.8; color: var(--muted); }
.product-mark { display: flex; width: fit-content; max-width: 100%; align-items: center; justify-content: center; gap: 10px; margin: 36px auto 0; padding: 11px 14px; border: 1px solid #ffffffb8; border-radius: 15px; background: linear-gradient(135deg, #ffffffcc, #f4faf680); -webkit-backdrop-filter: blur(22px) saturate(1.22); backdrop-filter: blur(22px) saturate(1.22); box-shadow: 0 14px 34px #1843271a, inset 0 1px 0 #ffffffeb, inset 0 -1px 0 #3a764e14; font-family: "Alibaba PuHuiTi", "PingFang SC", "Microsoft YaHei", sans-serif; }
.product-symbol { display: grid; flex-shrink: 0; place-items: center; width: 48px; height: 48px; border: 1px solid #ffffffa8; border-radius: 13px; background: #ffffff47; box-shadow: 0 7px 18px #12582e21, inset 0 1px 0 #ffffffb3; }
.product-symbol img { display: block; width: 32px; height: 32px; object-fit: contain; }
.product-wordmark { display: grid; min-width: 108px; gap: 3px; }
.product-wordmark strong { font-size: 12px; font-weight: 700; }
.product-wordmark small { color: #737b74; font-size: 12px; font-weight: 730; letter-spacing: .11em; }
.product-platforms { display: flex; align-items: center; gap: 10px; min-height: 24px; border-left: 1px solid #12161221; padding-left: 13px; margin-left: 3px; }
.product-platforms img { width: 16px; height: 16px; object-fit: contain; opacity: .62; }
.product-mark { position: relative; isolation: isolate; }
.product-mark::before { content: ""; position: absolute; z-index: -1; inset: 1px; border-radius: inherit; background: linear-gradient(115deg, #ffffff5c, transparent 44%, #41d87e14); pointer-events: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .product-mark { --mark-rotate-x: 0deg; --mark-rotate-y: 0deg; transform: perspective(700px) rotateX(0deg) rotateY(0deg); transform-style: preserve-3d; transition: border-color 280ms ease, box-shadow 500ms ease, transform 550ms cubic-bezier(0.22, 1, 0.36, 1); }
  .product-mark:hover { border-color: #25824838; box-shadow: 0 18px 42px #18432726, inset 0 1px 0 #fffffff5, inset 0 -1px 0 #3a764e17; transform: perspective(700px) rotateX(var(--mark-rotate-x)) rotateY(var(--mark-rotate-y)); transition: border-color 280ms ease, box-shadow 500ms ease, transform 140ms ease-out; }
  .product-symbol { transform: translateZ(18px); }
  .product-wordmark { transform: translateZ(8px); }
  .product-platforms { transform: translateZ(5px); }
  .product-symbol img { transform: rotate(-2deg); transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1); }
  .product-mark:hover .product-symbol img { transform: rotate(2deg) scale(1.04); }
}
@media (max-width: 700px) {
  body { padding: 0 16px 16px; }
  .site-header { min-height: 80px; gap: 12px; }
  .brand-logo { width: 100px; height: 24px; }
  .download-stage { padding: 40px 16px 32px; }
  h1 { font-size: clamp(32px, 9vw, 42px); letter-spacing: -.04em; }
  .requirements { gap: 8px; }
  .requirements span + span { padding-left: 8px; }
  .platform-tabs button { display: grid; grid-template-columns: 1fr; grid-template-rows: 22px 24px 20px; gap: 0; padding: 10px 4px 6px; justify-items: center; }
  .platform-name { font-size: 12px; }
  .device-slot { grid-column: 1; font-size: 10px; padding: 0 4px; }
  .download-option { padding: 18px 14px; min-height: 82px; }
  .unavailable { max-width: 80px; text-align: right; }
  .product-mark { display: grid; grid-template-columns: 48px auto; }
  .product-platforms { grid-column: 1 / -1; justify-content: center; border-left: 0; border-top: 1px solid #12161221; margin-left: 0; padding: 10px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  button, a, .download-stage, .download-option, .download-action, .platform-tabs button, .platform-tabs img, .platform-tabs svg, .platform-tab-thumb, .download-option-panel { transition: none; }
  .brand-pattern > span { animation: none; opacity: .7; transform: translate3d(var(--row-offset), 0, 0); }
}
