:root {
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #193c32;
  background: #f3f6f0;
  font-synthesis: none;
  -webkit-tap-highlight-color: transparent;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
main { width: min(100%, 680px); margin: auto; padding: 28px 24px 32px; }
.brand { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; font-size: 16px; font-weight: 650; }
.brand-logo { display: block; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 9px; object-fit: contain; }
.brand-label { margin-left: auto; border: 1px solid #d5e1d4; border-radius: 20px; padding: 5px 11px; font-size: 11px; font-weight: 450; color: #5d7867; }
.card { overflow: hidden; background: #fff; border: 1px solid #dde6d9; border-radius: 22px; box-shadow: 0 15px 50px #24472d08; }
.heading { padding: 28px 28px 22px; }
.eyebrow { color: #80917f; font-size: 11px; letter-spacing: .18em; }
h1 { margin: 10px 0; font-size: clamp(24px, 5.7vw, 32px); font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
#status { margin: 0; color: #788777; font-size: 13px; line-height: 1.7; }
.promotion { margin: 0 16px; overflow: hidden; border-radius: 13px; background: #172e26; }
video { display: block; width: 100%; aspect-ratio: 16 / 10; max-height: 60dvh; object-fit: contain; background: #172e26; }
.video-error { margin: 0 28px; padding: 12px; border-radius: 8px; background: #f5f7f3; color: #899183; font-size: 12px; text-align: center; }
.download-area { padding: 24px 28px 22px; }
.actions { display: grid; gap: 10px; }
button { min-width: 0; font: inherit; border: 0; border-radius: 11px; padding: 15px 12px; background: #245c43; color: #fff; font-size: 14px; font-weight: 550; cursor: pointer; }
button:disabled { opacity: .45; cursor: default; }
button:focus-visible, summary:focus-visible { outline: 3px solid #82ac92; outline-offset: 3px; }
.secondary { color: #245c43; background: #eff4ed; }
.platforms { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px 16px; margin-top: 18px; }
.platforms button { padding: 5px 0; background: none; border-radius: 2px; color: #6a7f6e; font-size: 12px; font-weight: 450; }
.platforms button:hover { color: #245c43; text-decoration: underline; }
#page button { border-radius: 999px; background: #ff2442; }
#page button:focus-visible { outline-color: #ff9baa; }
#page .secondary { color: #ff2442; background: #fff0f3; }
#page .platforms { gap: 16px; }
#page .platforms button { padding: 5px 0; color: #000; background: none; border-radius: 0; }
#page .platforms button:hover { color: #000; }
.feedback { margin: 14px 0 0; font-size: 12px; color: #8a6035; line-height: 1.7; text-align: center; }
.feedback:empty { display: none; }
.retry { display: block; width: 100%; margin-top: 16px; }
.help { margin: 18px 6px 0; color: #8a9586; font-size: 12px; line-height: 1.8; }
.help summary { width: fit-content; margin: auto; cursor: pointer; }
.help p { margin: 9px 0 0; }
@media (min-width: 370px) { .actions { grid-template-columns: 1fr 1fr; } }
@media (min-width: 550px) { main { padding-top: 44px; } .heading { padding: 32px 32px 24px; } .download-area { padding: 26px 32px; } }
@media (max-width: 369px) { main { padding-right: 16px; padding-left: 16px; } .heading, .download-area { padding-right: 20px; padding-left: 20px; } }

/* 复用分享页的微信下载引导样式，资源位于本页自己的assets目录。 */
body.wechat-download-open { overflow: hidden; background: #050505; }
.wechat-download-page { position: fixed; inset: 0; z-index: 160; overflow: auto; overscroll-behavior-y: contain; color: #fff; background: #050505; isolation: isolate; }
.wechat-download-page::after { position: absolute; z-index: -1; top: 430px; left: 50%; width: min(330px, calc(100% - 36px)); height: 240px; border-radius: 28px; background: linear-gradient(145deg, #0001 8%, #0004 54%, #000c 100%), url("./assets/download-city-gallery-background.png") center / cover no-repeat; content: ""; opacity: .55; pointer-events: none; filter: blur(2.4px) brightness(.72); transform: translateX(-50%) rotate(-7deg); -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 72%, transparent); mask-image: linear-gradient(transparent, #000 16%, #000 72%, transparent); }
.wechat-browser-guide { position: relative; z-index: 2; padding: calc(15px + env(safe-area-inset-top, 0px)) 68px 15px 24px; color: #161823; background: #fff; }
.wechat-browser-guide strong { display: block; font-size: 15px; line-height: 22px; }
.wechat-browser-guide__hint { display: flex; align-items: center; flex-wrap: wrap; gap: 3px; margin-top: 2px; color: #858992; font-size: 11px; line-height: 18px; }
.wechat-browser-guide__hint img { width: 16px; height: 16px; }
.wechat-browser-guide__arrow { position: absolute; top: calc(19px + env(safe-area-inset-top, 0px)); right: 18px; width: 42px; height: 42px; }
.wechat-download-content { position: relative; display: flex; align-items: center; flex-direction: column; min-height: calc(100% - 90px); padding: 36px 24px calc(36px + env(safe-area-inset-bottom, 0px)); text-align: center; }
.wechat-download-meta { margin: 0; color: #ffffffbd; font-size: 11px; line-height: 18px; }
.wechat-download-project { max-width: 340px; margin: 8px 0 32px; overflow-wrap: anywhere; color: #ffffff80; font-size: 12px; line-height: 20px; }
.wechat-download-logo { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; box-shadow: 0 12px 30px #0005; }
.wechat-download-content h2 { margin: 8px 0 0; color: #fff; font-size: 28px; line-height: 38px; }
.wechat-download-content h2:focus { outline: none; }
.wechat-download-button { min-width: 180px; margin-top: 58px; padding: 13px 24px; border-radius: 7px; color: #161823; background: #fff; font-size: 16px; font-weight: 650; box-shadow: 0 8px 24px #0004; }
.wechat-download-tip { margin: 12px 0 0; color: #ffffff80; font-size: 11px; line-height: 18px; }
.wechat-download-feedback { max-width: 340px; margin: 14px 0 0; color: #e1c69a; font-size: 12px; line-height: 20px; }
.wechat-download-feedback:empty { display: none; }
.wechat-download-back { margin-top: 24px; padding: 10px; color: #ffffffa6; background: transparent; font-size: 12px; font-weight: 450; }
@media (max-height: 600px) { .wechat-download-content { padding-top: 22px; } .wechat-download-project { margin-bottom: 22px; } .wechat-download-button { margin-top: 32px; } .wechat-download-page::after { top: 360px; } }
