/* Smart /download fallback page */
.download-smart {
  max-width: 560px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
  text-align: center;
}

.download-smart__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: var(--font-display, "Outfit", system-ui, sans-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

.download-smart__logo:hover {
  color: var(--text);
  text-decoration: none;
}

.download-smart__title {
  font-family: var(--font-display, "Outfit", system-ui, sans-serif);
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.download-smart__lead {
  margin: 0 auto 1.75rem;
  max-width: 28rem;
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.55;
}

.download-smart__stores {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  max-width: 280px;
  margin: 0 auto 2rem;
}

.download-smart__stores .store-badge-mega {
  width: 100%;
  justify-content: flex-start;
}

.download-smart__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.download-smart__qr-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

html:not([data-theme="light"]) .download-smart__qr-frame {
  border-color: rgba(255, 255, 255, 0.12);
}

.download-smart__qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.download-smart__qr-label {
  font-size: 0.875rem;
  color: var(--text-3);
  line-height: 1.4;
}

.download-smart__note {
  margin: 1.75rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-3);
}

.download-smart__status {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
}

/* While auto-redirecting on mobile, keep fallback usable but soft-signal */
html.download-page--redirecting .download-smart__status {
  display: block;
}

html:not(.download-page--redirecting) .download-smart__status {
  display: none;
}

html.download-page--redirecting .download-smart {
  opacity: 0.92;
}
