:root {
  --androidapp-ink: #102019;
  --androidapp-muted: #66736d;
  --androidapp-green: #0f7d55;
  --androidapp-lime: #baf25d;
  --androidapp-mint: #e9f8ef;
  --androidapp-warm: #f4efe6;
  --androidapp-card: #ffffff;
  --androidapp-line: #dce8df;
  --androidapp-shadow: 0 22px 60px rgba(25, 90, 63, 0.14);
}

* { box-sizing: border-box; }

body.androidapp-page {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 82px;
  font-family: "Gill Sans", "Microsoft YaHei", sans-serif;
  color: var(--androidapp-ink);
  background:
    linear-gradient(90deg, rgba(186, 242, 93, 0.14) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #fbf8f1 46%, #eef8f1 100%);
  background-size: 46px 46px, auto;
}

a { color: inherit; text-decoration: none; }

.androidapp-header {
  width: min(1160px, calc(100% - 28px));
  margin: 18px auto 0;
  padding: 14px;
  border: 1px solid var(--androidapp-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 14px;
  z-index: 20;
  box-shadow: 0 16px 40px rgba(15, 125, 85, 0.12);
  backdrop-filter: blur(14px);
}

.androidapp-header.is-scrolled { border-color: rgba(15, 125, 85, 0.28); }

.androidapp-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.androidapp-logo span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--androidapp-green);
  color: #fff;
  font-weight: 900;
}

.androidapp-logo strong { display: flex; flex-direction: column; line-height: 1.1; }
.androidapp-logo em { font-style: normal; color: var(--androidapp-muted); font-size: 12px; margin-top: 4px; }

.androidapp-nav { display: flex; gap: 8px; align-items: center; }
.androidapp-nav a {
  padding: 11px 14px;
  border-radius: 999px;
  color: #30443a;
  font-weight: 800;
}
.androidapp-nav a:hover { background: var(--androidapp-mint); }
.androidapp-nav .androidapp-nav-button { background: var(--androidapp-lime); color: #183018; }

.androidapp-menu {
  display: none;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: var(--androidapp-green);
}
.androidapp-menu i { display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 999px; background: #fff; }

.androidapp-hero {
  width: min(1160px, calc(100% - 28px));
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
  align-items: stretch;
}

.androidapp-hero-copy,
.androidapp-guide-card,
.androidapp-section,
.androidapp-final,
.androidapp-footer {
  border: 1px solid var(--androidapp-line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--androidapp-shadow);
}

.androidapp-hero-copy {
  border-radius: 38px;
  padding: 56px 48px;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.androidapp-eyebrow,
.androidapp-route-copy p,
.androidapp-section-title p,
.androidapp-final p {
  margin: 0 0 12px;
  color: var(--androidapp-green);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.androidapp-hero h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1;
  letter-spacing: -0.07em;
}

.androidapp-lead {
  margin: 24px 0 0;
  max-width: 560px;
  color: #41564b;
  line-height: 1.85;
  font-size: 18px;
}

.androidapp-actions,
.androidapp-retry-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.androidapp-main-download,
.androidapp-soft-download,
.androidapp-phone-panel a,
.androidapp-route a,
.androidapp-permission-cta a,
.androidapp-retry-actions a,
.androidapp-final a,
.androidapp-footer a,
.androidapp-fixed a {
  min-height: 50px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.androidapp-main-download { padding: 0 24px; background: var(--androidapp-green); color: #fff; }
.androidapp-soft-download { padding: 0 22px; background: #fff; border: 1px solid var(--androidapp-line); }
.androidapp-mini-note { margin: 26px 0 0; color: var(--androidapp-muted); line-height: 1.7; }

.androidapp-guide-card {
  border-radius: 38px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 22px;
  position: relative;
  overflow: hidden;
}

.androidapp-orbit {
  position: absolute;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  right: -110px;
  top: -110px;
  border: 42px solid rgba(186, 242, 93, 0.28);
}

.androidapp-phone-panel {
  min-height: 560px;
  border-radius: 32px;
  padding: 78px 26px 28px;
  background:
    radial-gradient(circle at 50% 14%, rgba(186, 242, 93, 0.34), transparent 8rem),
    linear-gradient(165deg, #102019, #173829);
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.androidapp-phone-top {
  position: absolute;
  top: 24px;
  left: 50%;
  width: 86px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-50%);
}

.androidapp-phone-panel strong { font-size: 34px; line-height: 1.1; letter-spacing: -0.04em; }
.androidapp-phone-panel p { color: #d6eadf; line-height: 1.7; }
.androidapp-phone-panel a { width: max-content; padding: 0 22px; background: var(--androidapp-lime); color: #173018; }

.androidapp-progress {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  align-content: center;
  gap: 13px;
}

.androidapp-progress button {
  width: 100%;
  border: 1px solid var(--androidapp-line);
  border-radius: 24px;
  padding: 18px;
  background: #f7fbf8;
  color: var(--androidapp-ink);
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-align: left;
}

.androidapp-progress button span {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--androidapp-green);
}

.androidapp-progress button.is-active {
  background: var(--androidapp-green);
  color: #fff;
}
.androidapp-progress button.is-active span { background: var(--androidapp-lime); color: #163016; }

.androidapp-section,
.androidapp-final,
.androidapp-footer {
  width: min(1160px, calc(100% - 28px));
  margin: 24px auto 0;
  border-radius: 34px;
  padding: 34px;
}

.androidapp-route {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  background: linear-gradient(135deg, #ffffff, #effbec);
}
.androidapp-route h2,
.androidapp-section h2,
.androidapp-final h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.05em; }
.androidapp-route span { display: block; margin-top: 12px; color: var(--androidapp-muted); line-height: 1.7; }
.androidapp-route a { flex: 0 0 auto; padding: 0 22px; background: var(--androidapp-green); color: #fff; }

.androidapp-browser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.androidapp-browser article,
.androidapp-permission-board,
.androidapp-permission-cta,
.androidapp-faq-list details {
  border: 1px solid var(--androidapp-line);
  border-radius: 28px;
  background: #fff;
  padding: 26px;
}
.androidapp-browser h2 { font-size: 26px; }
.androidapp-browser p,
.androidapp-permission-row p,
.androidapp-permission-cta p,
.androidapp-retry p,
.androidapp-faq-list p,
.androidapp-footer p { color: var(--androidapp-muted); line-height: 1.75; }

.androidapp-permission {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  background: var(--androidapp-warm);
}
.androidapp-permission-board h2 { margin-bottom: 18px; }
.androidapp-permission-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid #e2d8c8;
}
.androidapp-permission-row span {
  border-radius: 999px;
  background: var(--androidapp-mint);
  color: var(--androidapp-green);
  padding: 8px 12px;
  text-align: center;
  font-weight: 900;
}
.androidapp-permission-cta { display: flex; flex-direction: column; justify-content: center; }
.androidapp-permission-cta a { width: max-content; padding: 0 22px; background: #111f18; color: #fff; }

.androidapp-section-title { margin-bottom: 22px; }
.androidapp-locator-strip {
  display: grid;
  grid-template-columns: 1fr 38px 1fr 38px 1fr;
  gap: 10px;
  align-items: center;
}
.androidapp-locator-strip span {
  min-height: 92px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px;
  background: #f1faf4;
  border: 1px solid var(--androidapp-line);
  font-weight: 900;
}
.androidapp-locator-strip i {
  height: 4px;
  border-radius: 999px;
  background: var(--androidapp-lime);
}

.androidapp-retry {
  background: #102019;
  color: #fff;
}
.androidapp-retry p { max-width: 760px; color: #dbe7df; }
.androidapp-retry-actions a:first-child { padding: 0 22px; background: var(--androidapp-lime); color: #183018; }
.androidapp-retry-actions a:last-child { padding: 0 22px; background: rgba(255,255,255,0.12); color: #fff; }

.androidapp-faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.androidapp-faq-list summary { cursor: pointer; font-weight: 900; }

.androidapp-final {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  background: linear-gradient(135deg, var(--androidapp-green), #1f9b69);
  color: #fff;
}
.androidapp-final p { color: var(--androidapp-lime); }
.androidapp-final a { flex: 0 0 auto; padding: 0 24px; background: #fff; color: var(--androidapp-green); }

.androidapp-footer {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  background: #fff;
}
.androidapp-footer strong { font-size: 20px; }
.androidapp-footer a { padding: 0 22px; background: var(--androidapp-ink); color: #fff; }

.androidapp-fixed {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 30;
  max-width: 520px;
  margin: 0 auto;
  min-height: 58px;
  padding: 8px 9px 8px 18px;
  border-radius: 22px;
  background: rgba(15, 125, 85, 0.96);
  color: #fff;
  display: none;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 18px 42px rgba(15, 125, 85, 0.25);
}
.androidapp-fixed span { font-weight: 900; }
.androidapp-fixed a { min-height: 42px; padding: 0 20px; background: #fff; color: var(--androidapp-green); }

@media (max-width: 920px) {
  .androidapp-menu { display: block; }
  .androidapp-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 10px;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--androidapp-shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .androidapp-header.is-open .androidapp-nav { display: flex; }
  .androidapp-nav a { text-align: center; }
  .androidapp-hero,
  .androidapp-guide-card,
  .androidapp-browser,
  .androidapp-permission,
  .androidapp-faq-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .androidapp-header,
  .androidapp-hero,
  .androidapp-section,
  .androidapp-final,
  .androidapp-footer {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
  }
  .androidapp-logo em { display: none; }
  .androidapp-hero-copy,
  .androidapp-guide-card,
  .androidapp-section,
  .androidapp-final,
  .androidapp-footer {
    border-radius: 26px;
    padding: 24px;
    overflow: hidden;
  }
  .androidapp-hero-copy { min-height: auto; padding-top: 42px; padding-bottom: 42px; }
  .androidapp-hero h1 { font-size: clamp(36px, 13vw, 52px); }
  .androidapp-lead,
  .androidapp-mini-note,
  .androidapp-browser p,
  .androidapp-faq-list p { overflow-wrap: anywhere; }
  .androidapp-actions,
  .androidapp-final,
  .androidapp-footer,
  .androidapp-route { flex-direction: column; align-items: stretch; }
  .androidapp-main-download,
  .androidapp-soft-download,
  .androidapp-route a,
  .androidapp-final a,
  .androidapp-footer a { width: 100%; }
  .androidapp-phone-panel { min-height: 390px; }
  .androidapp-locator-strip {
    grid-template-columns: 1fr;
  }
  .androidapp-locator-strip i { width: 4px; height: 24px; margin: auto; }
  .androidapp-permission-row { grid-template-columns: 1fr; }
  .androidapp-fixed { display: flex; }
}
