:root {
  color-scheme: light;
  --background: #f6f6f7;
  --paper: #fff;
  --ink: #292c2b;
  --muted: #747976;
  --red: #007aff;
  --line: #eeeeef;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-width: 320px; background: radial-gradient(ellipse 740px 400px at 50% 0, #e5effb 0, #f6f6f700 100%); }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
a:focus-visible, button:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
.skip-link { position: absolute; left: 16px; top: -80px; background: var(--ink); color: white; padding: 12px 18px; z-index: 10; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.page-shell { width: min(100% - 40px, 800px); margin: 0 auto; padding: 36px 0 40px; }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 32px; margin-bottom: 24px; font-size: 12px; }
.wordmark { display: flex; gap: 8px; align-items: center; font-weight: 650; }
.brand-dot { width: 7px; height: 7px; background: var(--red); border-radius: 50%; }
.official-label { font-size: 10px; font-weight: 400; color: var(--muted); border-left: 1px solid #d6d5d5; padding-left: 9px; margin-left: 2px; }
.nav-links { display: flex; gap: 22px; color: var(--muted); }
.nav-links a:hover, .site-footer a:hover { color: var(--red); }
.surface { background: var(--paper); border: 1px solid #eaeaec; border-radius: 20px; box-shadow: 0 8px 32px #24242c04; }
.app-card { padding: 38px 36px 28px; text-align: center; }
.app-icon { width: 96px; height: 96px; border-radius: 23%; margin: 0 auto 20px; box-shadow: 0 8px 20px #292c2b0c; border: 1px solid #292c2b08; }
h1 { font-size: 34px; line-height: 1.3; font-weight: 750; letter-spacing: -.04em; }
.app-english { color: #929593; font-size: 11px; letter-spacing: .17em; margin-top: 7px; }
.app-tagline { font-size: 18px; margin-top: 20px; font-weight: 500; letter-spacing: .03em; }
.app-summary { font-size: 13px; line-height: 1.8; color: var(--muted); margin-top: 8px; }
.download-area { display: flex; align-items: center; justify-content: center; gap: 27px; border-top: 1px solid var(--line); padding-top: 26px; margin-top: 28px; }
.download-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; min-width: 0; flex: 1; max-width: 554px; }
.download-badge { display: flex; justify-content: center; align-items: center; gap: 8px; background: #272a29; border: 1px solid #272a29; border-radius: 9px; color: white; min-height: 54px; padding: 8px 9px; text-align: left; transition: background .18s, transform .18s; }
.download-badge:hover { background: #444947; transform: translateY(-2px); }
.download-badge svg { width: 24px; height: 25px; flex-shrink: 0; }
.download-badge small { display: block; font-size: 9px; color: #e0e3e1; line-height: 1.5; white-space: nowrap; }
.download-badge strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.download-caption { grid-column: 1 / -1; font-size: 10px; color: #929593; letter-spacing: .04em; margin-top: 3px; }
.qr-download { flex-shrink: 0; padding-left: 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 7px; }
.qr-download img { width: 112px; height: 112px; padding: 3px; background: white; border: 1px solid var(--line); border-radius: 8px; }
.qr-label { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 10px; }
.qr-label select { border: 0; background: transparent; color: var(--ink); font-size: 10px; padding: 4px 0; cursor: pointer; max-width: 78px; }
.content-card { margin-top: 20px; padding: 30px 32px; }
h2 { font-size: 17px; letter-spacing: -.02em; font-weight: 650; display: flex; align-items: center; gap: 11px; line-height: 1.5; }
h2::before { content: ""; width: 3px; height: 16px; border-radius: 3px; background: var(--red); flex-shrink: 0; }
.description { margin-top: 23px; color: #636965; font-size: 14px; line-height: 2; }
.description p + p { margin-top: 14px; }
.features-title { font-size: 12px; font-weight: 500; letter-spacing: .06em; color: #878b88; margin-top: 27px; margin-bottom: 14px; }
.feature-list { list-style: none; padding: 0; margin: 0; font-size: 13px; color: #636965; line-height: 1.9; }
.feature-list li { display: flex; align-items: baseline; gap: 12px; margin-top: 9px; }
.feature-list li::before { content: ""; background: #c36b6f; width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; transform: translateY(-2px); }
.feature-list strong { font-weight: 550; color: #434945; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.scroll-hint { font-size: 10px; color: #929593; white-space: nowrap; }
.scroll-hint span { margin-left: 5px; }
.screenshot-gallery { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #dedfe0 transparent; padding: 3px 3px 12px; margin: 22px -3px 0; }
.screenshot-gallery::-webkit-scrollbar { height: 5px; }
.screenshot-gallery::-webkit-scrollbar-thumb { background: #dedfe0; border-radius: 4px; }
.screenshot-button { display: block; flex-shrink: 0; width: 158px; scroll-snap-align: start; border: 1px solid #e9eae8; padding: 0; border-radius: 12px; overflow: hidden; background: #e9ece9; transition: opacity .18s; }
.screenshot-button:hover { opacity: .85; }
.screenshot-button img { width: 100%; height: auto; }
.gallery-caption { font-size: 11px; line-height: 1.8; color: #929593; margin-top: 14px; }
.install-list { margin: 20px 0 0; font-size: 13px; line-height: 1.9; }
.install-list>div { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 13px 0; }
.install-list>div + div { border-top: 1px solid var(--line); }
.install-list dt { font-weight: 600; }
.install-list dd { margin: 0; color: #6a706c; }
.browser-tip { display: flex; gap: 8px; font-size: 11px; line-height: 1.9; color: var(--muted); background: #f6f6f7; padding: 13px 14px; border-radius: 9px; margin-top: 17px; }
.browser-tip svg { height: 16px; width: 16px; flex-shrink: 0; margin-top: 2px; }
.site-footer { text-align: center; font-size: 11px; color: #939795; padding-top: 38px; line-height: 2; }
.site-footer>p { letter-spacing: .12em; margin-bottom: 9px; }
.site-footer>div { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.site-footer a { color: #777d79; }
.image-preview { width: min(100% - 32px, 540px); max-height: calc(100dvh - 32px); padding: 14px; border: 0; border-radius: 16px; background: white; box-shadow: 0 20px 100px #0003; overflow-y: auto; }
.image-preview::backdrop { background: #1c2021bf; }
.preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 2px 2px 12px; }
.preview-toolbar h2 { font-size: 13px; }
.preview-toolbar h2::before { display: none; }
.preview-close { border: 0; background: #f1f2f1; padding: 8px 12px; border-radius: 7px; font-size: 12px; color: #5d635f; }
.preview-close span { margin-left: 8px; font-size: 16px; }
#preview-image { max-height: calc(100dvh - 125px); width: 100%; object-fit: contain; border-radius: 8px; }
body:has(dialog[open]) { overflow: hidden; }
@media (max-width: 720px) {
  .app-card { padding: 32px 25px 25px; }
  .download-area { flex-direction: column; gap: 22px; }
  .download-options { width: 100%; max-width: 500px; flex: none; }
  .qr-download { border-left: 0; padding-left: 0; }
  .qr-download img { width: 112px; height: 112px; }
}
@media (max-width: 480px) {
  .page-shell { width: calc(100% - 28px); padding-top: 20px; }
  .site-nav { margin-bottom: 17px; gap: 10px; }
  .nav-links { gap: 13px; font-size: 11px; }
  .wordmark { gap: 6px; font-size: 11px; }
  .official-label { display: none; }
  .surface { border-radius: 16px; }
  .app-card { padding: 30px 18px 24px; }
  .app-icon { height: 84px; width: 84px; margin-bottom: 18px; }
  h1 { font-size: 29px; }
  .app-tagline { font-size: 17px; margin-top: 18px; }
  .app-summary { font-size: 12px; }
  .download-area { margin-top: 24px; padding-top: 24px; }
  .download-options { gap: 7px; }
  .download-badge { padding: 10px 4px; gap: 5px; flex-direction: column; text-align: center; min-height: 85px; }
  .download-badge svg { height: 22px; width: 22px; }
  .download-badge small { font-size: 8px; }
  .download-badge strong { font-size: 12px; }
  .download-caption { font-size: 9px; margin-top: 5px; }
  .content-card { padding: 24px 21px; margin-top: 16px; }
  h2 { font-size: 16px; }
  .description { font-size: 13px; margin-top: 20px; }
  .feature-list { font-size: 12px; }
  .feature-list li { gap: 10px; }
  .screenshot-button { width: 146px; }
  .screenshot-gallery { gap: 10px; }
  .install-list { font-size: 12px; }
  .install-list>div { grid-template-columns: 58px 1fr; gap: 10px; }
  .scroll-hint { font-size: 9px; }
  .browser-tip { padding: 11px; font-size: 10px; }
  .site-footer { padding-top: 30px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Wuge shares Cyber Pack's card layout, with the app's blue accent. */
.site-nav { font-size: 14px; flex-wrap: wrap; }
.official-label { font-size: 12px; }
.nav-links { gap: 18px; align-items: center; }
.app-english { font-size: 12px; }
.app-summary, .description, .feature-list, .install-list { font-size: 16px; }
.features-title, .gallery-caption, .browser-tip, .site-footer, .scroll-hint { font-size: 14px; }
.feature-list li::before { background: #5799e0; }
.download-area { flex-wrap: wrap; gap: 14px; }
.download-badge { min-width: 180px; min-height: 60px; padding: 10px 18px; }
.download-badge small { font-size: 12px; }
.download-badge strong { font-size: 18px; }
.release-note { flex-basis: 100%; font-size: 14px; color: var(--muted); line-height: 1.8; }
.release-status { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 22px; min-height: 60px; border: 1px solid #e2e6ec; border-radius: 9px; background: #f4f6f9; color: #747976; font-size: 16px; }
.release-status svg { width: 24px; height: 24px; }
.product-notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 14px; color: var(--muted); margin-top: 20px; }
.screenshot-button { width: 185px; background: #eef3f8; }
.preview-close, .preview-toolbar h2 { font-size: 14px; }
.legal-card { padding: 36px 40px; }
.legal-card h1 { font-size: 28px; }
.legal-card h2 { margin: 30px 0 12px; font-size: 19px; }
.legal-card p, .legal-card li { font-size: 16px; line-height: 1.95; color: #535d69; }
.legal-card p + p { margin-top: 14px; }
.legal-card .legal-date { font-size: 14px; color: var(--muted); margin: 16px 0 28px; }
.legal-card ul { padding-left: 24px; }
.legal-card a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.legal-contact { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 720px) { .download-area { flex-direction: row; } }
@media (max-width: 600px) {
 .site-nav { align-items: flex-start; gap: 14px; }
 .nav-links { gap: 8px; font-size: 14px; flex-wrap: wrap; }
 .nav-links .section-link { display: none; }
 .wordmark { font-size: 16px; min-height: 36px; }
 .official-label { display: none; }
 .app-summary, .description, .feature-list, .install-list { font-size: 16px; }
 .app-tagline { font-size: 21px; }
 .content-card { padding: 24px 22px; }
 .scroll-hint { font-size: 12px; }
 .legal-card { padding: 28px 22px; }
 .screenshot-button { width: 165px; }
 .site-footer { font-size: 14px; }
 .download-badge { min-width: 160px; flex-direction: row; gap: 10px; }
 .release-status { font-size: 14px; padding: 13px 16px; }
}
@media (max-width: 380px) { .download-badge, .release-status { width: 100%; } }
