:root {
  color-scheme: dark;
  --bg: #101820;
  --panel: #18232d;
  --border: #30404b;
  --muted: #9eafb9;
  --text: #eef4f5;
  --accent: #bbf178;
  --ink: #1b2c15;
  font-family: "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: radial-gradient(ellipse at 85% 5%, #233a3738, transparent 45%), var(--bg); color: var(--text); font-size: 15px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }
[hidden] { display: none !important; }
.wrap { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 23px 0; border-bottom: 1px solid var(--border); }
.brand { display: flex; gap: 13px; align-items: center; font-weight: 650; font-size: 18px; line-height: 1.3; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 43px; height: 43px; object-fit: contain; flex-shrink: 0; }
.brand-caption { display: block; font-size: 10px; color: var(--muted); font-weight: 400; letter-spacing: 2px; margin-top: 5px; }
nav { display: flex; gap: 34px; font-size: 13px; }
nav a:last-child { color: var(--muted); }
/* 收紧首屏高度，让下载按钮更早进入视野；保留原有配色与轨道装饰。 */
.hero { position: relative; padding: 30px 0 27px; overflow: hidden; }
.eyebrow { font-size: 12px; letter-spacing: 2px; color: var(--accent); display: flex; gap: 9px; align-items: center; }
.status-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
h1 { font-size: clamp(30px, 3.5vw, 40px); font-weight: 650; line-height: 1.3; letter-spacing: -1px; margin: 12px 0; max-width: calc(100% - 260px); }
h1 span { color: var(--accent); }
.hero p { color: var(--muted); line-height: 1.9; margin: 0; font-size: 13px; max-width: calc(100% - 260px); }
.hero-note { font-size: 12px; color: #bfd0d5; margin-top: 14px; display: flex; gap: 9px; }
.hero-note span { color: var(--accent); font-size: 19px; line-height: 1.2; }
.hero-art { position: absolute; right: 28px; top: 15px; width: 230px; height: 210px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid #60776755; border-radius: 50%; width: 184px; height: 184px; transform: rotate(-23deg) scaleY(.72); }
.orbit-two { width: 222px; height: 222px; transform: rotate(43deg) scaleY(.68); }
.art-logo { width: 112px; height: 112px; object-fit: contain; filter: drop-shadow(0 8px 23px #05192c80); }
.art-tag { position: absolute; bottom: 6px; font-size: 10px; letter-spacing: 3px; color: #8caaa0; }
.art-dot { position: absolute; left: 18px; top: 109px; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 20px #b9ef7b50; }
/* 作者声明保持首屏可见，暖色强调与下载按钮区分，不遮挡或强制弹窗。 */
.creator-notice { display: flex; align-items: center; gap: 15px; margin: 0 0 25px; padding: 17px 21px; border: 1px solid #dbac5755; border-left: 3px solid #ebbb67; border-radius: 12px; background: linear-gradient(110deg, #d59c3014, #d59c3005); }
.notice-icon { width: 27px; height: 27px; flex-shrink: 0; color: #ebbb67; }
.creator-notice h2 { margin: 0 0 3px; color: #f4cc86; font-size: 15px; font-weight: 650; }
.creator-notice p { margin: 0; color: #c4bba9; font-size: 13px; line-height: 1.8; }
.creator-notice strong { color: #f1ddbc; font-weight: 600; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 19px; gap: 16px; }
.section-heading h2 { font-size: 19px; font-weight: 600; margin: 0; letter-spacing: .3px; }
.section-heading > span { color: #81959d; font-size: 11px; letter-spacing: 1px; }
.section-heading > a { font-size: 12px; color: var(--accent); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.product-card { padding: 28px 30px 21px; background: var(--panel); border: 1px solid var(--border); border-radius: 18px; min-width: 0; }
.primary-card { background: linear-gradient(130deg, #24312c, #18232d 65%); border-color: #576949; }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-actions { display: flex; align-items: center; gap: 8px; }
.card-actions > .badge { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; line-height: 1; white-space: nowrap; }
.product-card .history-picker { position: relative; margin: 0; padding: 0; border: 0; }
.history-picker > summary { display: flex; align-items: center; justify-content: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid #bbf17838; border-radius: 30px; background: #bbf17808; line-height: 1; list-style: none; color: #c3d9b0; font-size: 11px; white-space: nowrap; }
.history-picker > summary svg { display: block; width: 10px; height: 10px; flex-shrink: 0; }
.history-picker > summary:hover { background: #bbf17816; color: var(--accent); }
.history-picker > summary::-webkit-details-marker { display: none; }
.history-picker[open] > summary { color: var(--accent); }
.history-picker[open] > summary svg { transform: rotate(180deg); }
.history-panel { position: absolute; z-index: 5; right: 0; top: calc(100% + 10px); width: 290px; max-width: calc(100vw - 88px); padding: 17px; border: 1px solid #536949; border-radius: 12px; background: #1b282e; box-shadow: 0 14px 35px #0006; }
.history-heading { font-size: 13px; color: var(--text); font-weight: 600; }
.history-picker .history-warning { margin: 6px 0 12px; font-size: 10px; line-height: 1.8; color: var(--muted); white-space: normal; }
.history-panel ul { margin: 0; padding: 0; list-style: none; }
.history-panel li + li { border-top: 1px solid var(--border); }
.history-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 3px; border-radius: 5px; }
.history-link:hover { background: #bbf17809; text-decoration: none; }
.history-version { color: var(--text); font-size: 12px; display: flex; align-items: center; gap: 7px; }
.history-current { color: var(--accent); font-size: 9px; font-weight: 400; }
.history-size { color: var(--muted); font-size: 10px; display: block; margin-top: 2px; }
.history-action { color: var(--accent); font-size: 11px; white-space: nowrap; }
.product-icon { width: 47px; height: 47px; object-fit: contain; flex-shrink: 0; }
.badge { font-size: 11px; line-height: 1; padding: 7px 10px; border-radius: 30px; }
.ready { background: #bbf17812; color: var(--accent); border: 1px solid #bbf17838; }
.upcoming { background: #ffffff06; color: #b2c0c8; border: 1px solid #53616b; }
.product-card h3 { font-size: 25px; line-height: 1.4; margin: 22px 0 12px; font-weight: 600; }
.product-subtitle { display: block; font-size: 12px; line-height: 1.8; color: #c3d5b5; font-weight: 400; margin-top: 9px; }
.product-description { font-size: 13px; color: var(--muted); line-height: 1.9; min-height: 50px; margin: 0; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 19px 0 25px; }
.tags span { font-size: 10px; color: #bac9cc; background: #ffffff05; border: 1px solid #ffffff12; border-radius: 5px; padding: 3px 8px; }
.product-meta { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; border-top: 1px solid var(--border); margin: 0; padding: 17px 0 21px; font-size: 12px; }
.product-meta dt { color: #91a5ae; font-size: 11px; margin-bottom: 5px; }
.product-meta dd { margin: 0; font-weight: 600; }
.button { width: 100%; min-height: 49px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 8px; font-weight: 600; font-size: 14px; padding: 12px 16px; transition: background .15s; }
.button > span { margin-left: auto; }
.button svg { width: 19px; height: 19px; }
.button.primary { background: var(--accent); color: var(--ink); }
.button.primary:hover { background: #ccfc99; text-decoration: none; }
.button.disabled { background: #273640; color: #95a6b0; cursor: not-allowed; border: 1px solid #3c4c57; }
.card-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 7px; font-size: 10px; color: #91a5ae; margin-top: 13px; }
.card-links a { color: #c1d7c3; }
.product-card details { margin-top: 17px; border-top: 1px solid var(--border); padding-top: 12px; color: var(--muted); font-size: 12px; }
.product-card summary { cursor: pointer; }
.product-card details p { white-space: pre-line; }
.hash-label { font-size: 10px; letter-spacing: 1px; margin-top: 12px; }
.product-card code { display: block; font: 10px/1.8 Consolas, monospace; overflow-wrap: anywhere; margin-top: 4px; }
.load-status { color: #b7c6cb; font-size: 12px; min-height: 20px; margin: 12px 0 0; }
.getting-started { margin-top: 38px; padding: 25px 0 30px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 26px; }
.step-number { font: 12px Consolas, monospace; color: var(--accent); }
.steps h3 { font-size: 14px; margin: 9px 0; font-weight: 600; }
.steps p { font-size: 12px; line-height: 1.9; color: var(--muted); margin: 0; max-width: 285px; }
.faq { margin: 36px 0 46px; }
.faq details { border-bottom: 1px solid var(--border); padding: 15px 0; }
.faq summary { display: flex; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-size: 13px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: "+"; color: var(--accent); font-size: 18px; line-height: 1.3; }
.faq details[open] summary:after { content: "−"; }
.faq p { font-size: 12px; color: var(--muted); margin-bottom: 0; max-width: 850px; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--border); padding: 23px 0 30px; color: #91a5ae; font-size: 10px; }
.footer-divider { padding: 0 9px; color: #526772; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .hero-art { right: 0; opacity: .45; pointer-events: none; }
  .hero > *:not(.hero-art) { position: relative; z-index: 1; }
  h1, .hero p { max-width: calc(100% - 200px); }
  .product-card { padding: 24px 22px; }
  .product-grid { gap: 14px; }
  .steps { gap: 22px; }
  nav { gap: 18px; }
}
@media (max-width: 600px) {
  .site-header { padding: 18px 0; }
  .brand { font-size: 16px; }
  nav { font-size: 11px; gap: 15px; }
  .brand-caption { font-size: 9px; letter-spacing: 1px; }
  .brand-mark { width: 36px; height: 36px; }
  .hero { padding: 25px 0 24px; }
  .hero-art { display: none; }
  .creator-notice { align-items: flex-start; padding: 15px; gap: 11px; }
  .notice-icon { margin-top: 3px; width: 23px; height: 23px; }
  h1, .hero p { max-width: 100%; }
  h1 { font-size: 30px; }
  .product-grid { grid-template-columns: 1fr; gap: 18px; }
  .product-card { padding: 24px; }
  .section-heading h2 { font-size: 17px; }
  .steps { grid-template-columns: 1fr; gap: 21px; }
  .steps article { position: relative; padding-left: 36px; }
  .step-number { position: absolute; left: 0; top: 3px; }
  .steps h3 { margin: 0 0 6px; }
  .steps p { max-width: none; }
  .getting-started { margin-top: 25px; }
  .faq { margin-bottom: 30px; }
  footer { font-size: 10px; padding: 20px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
