:root { --paper:#fffdf8; --ink:#342d22; --muted:#817765; --line:#d8c6a5; --gold:#ad812b; --red:#8b2f25; }
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(18,16,12,.95), rgba(18,16,12,.58) 44%, rgba(18,16,12,.16)),
    url('/static/img/qstl.a0df820.jpg') center / cover fixed,
    #171510;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}
.download-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 30px; }
.download-head { min-height: 230px; padding: 28px 34px; display: flex; flex-direction: column; justify-content: space-between; color: #f5ead2; }
.brand { display: flex; align-items: center; gap: 13px; color: inherit; text-decoration: none; }
.brand-seal { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #d8b86b; color: #ffe7ac; background: linear-gradient(145deg,#a84030,#651d19); font: 28px/1 STSong,SimSun,serif; }
.brand strong { display: block; font: 22px/1.2 STSong,SimSun,serif; letter-spacing: .18em; }
.brand small { display: block; margin-top: 5px; color: #b9a982; font-size: 10px; letter-spacing: .15em; }
.head-copy { max-width: 650px; }
.head-copy > small { color: #e1bf6d; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.head-copy h1 { margin: 10px 0 8px; color: #fff7e7; font: 36px/1.25 STSong,SimSun,serif; letter-spacing: .05em; }
.head-copy p { margin: 0; color: #c8bda8; font-size: 13px; line-height: 1.8; }
.download-grid { padding: 24px; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; border: 1px solid rgba(216,198,165,.9); background: rgba(255,253,248,.96); box-shadow: 0 25px 70px rgba(0,0,0,.27); }
.download-card { min-height: 280px; padding: 26px; display: flex; flex-direction: column; border: 1px solid #ded2bf; background: linear-gradient(145deg,#fffefb,#f7f0e4); }
.download-card-primary { border-top: 3px solid var(--red); }
.platform-icon { width: 56px; height: 56px; margin-bottom: 25px; display: grid; place-items: center; border-radius: 4px; color: #9b6c20; background: #f0dfbb; font: 700 14px/1 Arial,sans-serif; }
.download-card small { color: #a57b2b; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.download-card h2 { margin: 8px 0; font: 23px/1.3 STSong,SimSun,serif; }
.download-card p { min-height: 42px; margin: 0 0 24px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.download-action { height: 44px; margin-top: auto; display: grid; place-items: center; border: 1px solid #7c281f; border-radius: 3px; color: #fff; background: linear-gradient(110deg,#b04737,#7c281f); text-decoration: none; font-size: 13px; font-weight: 700; }
.download-action.is-pending { border-color: #cfc2ad; color: #9a8f7c; background: #eee8dd; cursor: not-allowed; }
.install-notes { padding: 22px 26px; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; border: 1px solid #d8c6a5; border-top: 0; background: rgba(255,250,240,.97); }
.install-notes > div { display: flex; gap: 12px; }
.install-notes strong { color: #b28a3c; font: 700 20px/1.2 Consolas,monospace; }
.install-notes b, .install-notes small { display: block; }
.install-notes b { margin-bottom: 5px; font-size: 12px; }
.install-notes small { color: var(--muted); font-size: 10px; line-height: 1.6; }
footer { padding: 18px 4px 0; display: flex; justify-content: space-between; color: #bcb19c; font-size: 11px; }
footer a { color: #ecd49d; text-decoration: none; }
.download-start-shell { min-height: 100vh; display: grid; place-items: center; padding-top: 30px; }
.download-start-card { width: min(560px, 100%); padding: 36px; border: 1px solid rgba(216,198,165,.95); color: var(--ink); background: rgba(255,253,248,.98); box-shadow: 0 25px 70px rgba(0,0,0,.32); text-align: center; }
.download-start-brand { width: max-content; margin: 0 auto 34px; color: var(--ink); text-align: left; }
.download-start-brand small { color: var(--muted); }
.download-start-kicker { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.download-start-card h1 { margin: 10px 0 8px; font: 30px/1.3 STSong,SimSun,serif; }
.download-start-card > p { margin: 0; color: var(--muted); font-size: 13px; }
.download-countdown { margin: 28px 0 18px; display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.download-countdown strong { color: var(--red); font: 700 58px/1 Consolas,monospace; }
.download-countdown span { color: var(--muted); font-size: 13px; }
.download-referral { margin-bottom: 22px; padding: 10px; border: 1px solid #e0d3bc; color: var(--muted); background: #faf3e6; font-size: 12px; }
.download-referral b { color: #8c631c; letter-spacing: .08em; }
.download-start-card .download-action { width: 100%; }
.download-start-back { display: inline-block; margin-top: 18px; color: #8c631c; font-size: 12px; text-decoration: none; }
.download-start-card .download-start-tip { margin-top: 24px; font-size: 11px; line-height: 1.7; }
@media (max-width: 820px) { .download-grid, .install-notes { grid-template-columns: 1fr; } .download-card { min-height: 230px; } }
@media (max-width: 520px) { .download-shell { width: calc(100% - 20px); padding-top: 16px; } .download-head { min-height: 220px; padding: 20px 14px; } .head-copy h1 { font-size: 29px; } .download-grid { padding: 12px; } .download-start-card { padding: 26px 20px; } footer { align-items: flex-start; flex-direction: column; gap: 8px; } }
