.mobile-page {
  display: none;
}

@media (min-width: 769px) and (max-width: 1044px) {
  .desktop-page > div { min-width: 0; }
  .desktop-page .logo-content, .desktop-page .footer-box { width: 100%; }
  .desktop-page .down-box, .desktop-page .phone-img { width: calc(100vw - 48px); }
  .desktop-page .phone-img > div { min-width: 0; max-width: 50%; }
  .desktop-page .phone-img img { max-width: 100%; height: auto; }
}

@media (max-width: 768px) {
  html { scroll-behavior: smooth; }
  .desktop-page { display: none; }
  .mobile-page {
    --mobile-ink: #fff;
    --mobile-muted: #a4a9b2;
    --mobile-blue: #91baff;
    display: block;
    color: var(--mobile-ink);
    background: #010204;
    font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
    overflow: clip;
  }
  .mobile-page *, .mobile-page *::before, .mobile-page *::after { box-sizing: border-box; }
  .mobile-page [hidden] { display: none !important; }
  .mobile-page h1, .mobile-page h2, .mobile-page h3, .mobile-page p { font-family: inherit; }
  .mobile-page a:hover { text-decoration: none; }
  .mobile-page a:focus-visible, .mobile-page summary:focus-visible {
    outline: 3px solid var(--mobile-blue);
    outline-offset: 5px;
  }
  .mobile-brand { display: block; width: 100px; margin: 0 auto 48px; }
  .mobile-brand img { display: block; width: 100px; height: 100px; }
  .mobile-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    background: #010204 url(../image/bannerbg.219c98f%402x.png) no-repeat center 64px;
    background-size: auto 480px;
  }
  .mobile-hero-content { width: 100%; max-width: 560px; margin: auto; padding: 56px 24px 64px; text-align: center; }
  .mobile-hero h1 { font-size: clamp(24px, 6.4vw, 36px); font-weight: 800; line-height: 1.5; letter-spacing: -.02em; }
  .mobile-intro { max-width: 400px; margin: 24px auto 0; color: #f2f2f2; font-size: 14px; line-height: 1.9; }
  .mobile-downloads { max-width: 260px; margin: 40px auto 0; }
  .mobile-device-hint { margin-bottom: 12px; color: var(--mobile-muted); font-size: 12px; }
  .mobile-platform-picker { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 12px; color: var(--mobile-muted); }
  .mobile-platform-picker select { min-height: 36px; padding: 4px 28px 4px 12px; border: 1px solid #424b58; border-radius: 8px; background: #171b23; color: #fff; font: inherit; color-scheme: dark; }
  .mobile-platform-picker select:focus-visible { outline: 2px solid var(--mobile-blue); outline-offset: 3px; }
  .mobile-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 220px;
    max-width: 100%;
    min-height: 48px;
    margin-inline: auto;
    padding: 6px 12px;
    border: 1px solid #41464f;
    border-radius: 10px;
    background: #24272c;
    color: #fff;
    box-shadow: 0 8px 20px #202d401a;
    transition: transform .15s ease, background .15s ease;
  }
  .mobile-download:hover { color: #fff; background: #333841; }
  .mobile-web-download { margin-top: 8px; }
  .mobile-download:active { transform: scale(.98); }
  .mobile-download-title { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 16px; font-weight: 700; line-height: 1.25; }
  .mobile-platform-icon { width: 18px; height: 18px; flex: 0 0 auto; }
  .mobile-android-icon { color: #8ce9b9; }
  .download-platform-description { margin-top: 2px; color: #bbc0c9; font-size: 10px; line-height: 1.2; }
  .mobile-download[aria-disabled="true"] { opacity: 1; color: #555d68; background: #e2e6ed; border-color: #d1d6df; box-shadow: none; }
  .mobile-download[aria-disabled="true"] .download-platform-description { color: #5b6572; }
  .mobile-download[aria-disabled="true"] .mobile-platform-icon { color: #687382; }
  .mobile-secondary-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; }
  .mobile-secondary-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--mobile-blue); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
  .mobile-noscript { margin-top: 16px; color: var(--mobile-muted); font-size: 13px; }
  .mobile-guide-jump { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 96px; padding: 12px 24px 24px; background: #0a0f17; border-top: 1px solid #242c38; border-radius: 24px 24px 0 0; color: #b6c0cf; font-size: 13px; font-weight: 600; }
  .mobile-guide-jump:hover { color: var(--mobile-blue); }
  .mobile-guide-handle { width: 32px; height: 5px; border-radius: 8px; background: #425371; }
  .mobile-down-arrow { display: inline-flex; align-items: center; justify-content: center; margin-left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #202a3b; }
  .mobile-install-guide { padding: 40px 24px 48px; background: #010204; scroll-margin-top: 24px; }
  .mobile-section-kicker { color: var(--mobile-blue); text-align: center; font-size: 11px; font-weight: 650; letter-spacing: .15em; }
  .mobile-install-guide h2 { margin-top: 8px; font-size: 27px; font-weight: 750; text-align: center; }
  .mobile-guide-intro { margin: 12px auto 32px; color: var(--mobile-muted); text-align: center; font-size: 13px; line-height: 1.9; }
  .mobile-tutorial-figure { max-width: 540px; margin: 0 auto; }
  .mobile-tutorial-figure img { display: block; width: 100%; height: auto; }
  .mobile-tutorial-figure figcaption { margin-top: 12px; text-align: center; font-size: 11px; color: var(--mobile-muted); }
  .mobile-ios-version-note { max-width: 480px; margin: 24px auto 0; padding: 16px; border-left: 3px solid #6b92d6; background: #111a29; font-size: 13px; line-height: 1.9; color: var(--mobile-muted); }
  .mobile-ios-version-note strong { color: var(--mobile-ink); }
  .mobile-install-help { max-width: 480px; margin: 16px auto 0; padding: 16px; background: #121923; border-radius: 12px; font-size: 13px; color: var(--mobile-muted); }
  .mobile-install-help summary { cursor: pointer; color: var(--mobile-ink); font-weight: 600; }
  .mobile-install-help p { margin-top: 12px; }
  .mobile-install-help a { display: inline-flex; align-items: center; min-height: 44px; color: var(--mobile-blue); }
  .mobile-back-to-download { display: flex; width: fit-content; align-items: center; min-height: 44px; margin: 24px auto 0; color: var(--mobile-blue); font-size: 14px; font-weight: 600; }
  .mobile-footer { padding: 24px 16px max(24px, env(safe-area-inset-bottom)); text-align: center; color: var(--mobile-muted); font-size: 12px; letter-spacing: .08em; }
}

@media (max-width: 360px) {
  .mobile-hero-content { padding: 48px 16px 56px; }
  .mobile-install-guide { padding-left: 16px; padding-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mobile-download { transition: none; }
}
