* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: #333; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; }
main { width: min(400px, calc(100% - 40px)); margin: 132px auto 48px; text-align: center; }
.app-icon { display: block; margin: 0 auto; border-radius: 22px; }
h1 { margin: 22px 0 16px; font-size: 22px; font-weight: 400; }
.metadata { margin: 4px 0; color: #999; font-size: 14px; line-height: 1.6; }
.separator { margin: 0 12px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
.tutorial { display: block; margin: 24px auto 0; padding: 0; border: 0; background: none; color: #71ad32; font-size: 14px; line-height: 24px; }
.tutorial span { margin-left: 5px; font-size: 19px; }
.download { display: block; width: min(270px, 100%); margin: 34px auto 0; padding: 17px 20px; border-radius: 32px; background: linear-gradient(115deg, #89d92a, #76c727); color: #fff; text-align: center; text-decoration: none; font-size: 21px; font-weight: 600; line-height: 28px; }
button:focus-visible, a:focus-visible { outline: 3px solid #537f2a; outline-offset: 5px; }
#status { margin: 18px auto 0; max-width: 300px; color: #888; font-size: 14px; line-height: 1.7; }
.download-qr { margin: 36px auto 0; }
.download-qr img { display: block; margin: 0 auto; }
.download-qr figcaption { margin-top: 12px; color: #999; font-size: 14px; }
.overlay { position: fixed; inset: 0; z-index: 10; padding: 24px 20px; display: flex; align-items: center; justify-content: center; background: #0005; }
.dialog { display: flex; flex-direction: column; width: min(460px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow: hidden; border-radius: 14px; background: #fff; }
h2 { margin: 0; padding: 23px 20px; font-size: 18px; font-weight: 500; text-align: center; }
.guide-content { padding: 24px; overflow-y: auto; background: #f7f8f6; color: #666; font-size: 14px; line-height: 1.8; }
.guide-intro { margin: 0 0 22px; }
ol { margin: 0; padding-left: 22px; }
li + li { margin-top: 20px; }
li::marker { color: #72aa3d; font-weight: 600; }
li strong { color: #333; font-weight: 500; }
li p { margin: 5px 0 0; }
.guide-close { flex-shrink: 0; width: 100%; padding: 17px; border: 0; background: #fff; color: #71ad32; font-size: 16px; }
[hidden] { display: none !important; }
@media (max-width: 600px) { main { margin-top: 86px; } .guide-content { padding: 20px; } }
