/* v47-desktop-immersive
 * Only desktop public download surfaces are changed. Keep layout-v46.css as the
 * mobile baseline; no global card, dialog, wallet, admin or pricing selectors.
 * The page owns the background. The content has a readable width, not a panel.
 */
@media (min-width: 1024px) {
  .download-shell {
    padding: 28px 40px 40px;
    background:
      radial-gradient(ellipse 76% 600px at 50% 0%, rgba(34, 171, 125, .08), transparent 100%),
      linear-gradient(180deg, #f2faf6 0, #fafcfb 580px, #fff 1050px);
  }

  /* Specificity also removes the phone frame, QR top border and game panel. */
  .download-shell .download-card {
    width: 100%;
    max-width: 840px;
    margin: 44px auto 0;
    padding: 0;
    background: transparent;
    background-image: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
  }

  .download-shell.download-theme-phone .download-card {
    max-width: 840px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .download-shell.download-theme-phone .download-hero::before {
    content: none;
    display: none;
  }
  .download-shell .download-overview,
  .download-shell .download-overview.has-qr {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .download-shell .download-card .download-hero {
    padding: 0;
    border: 0;
  }
  .download-shell .download-card .download-hero .app-icon {
    width: 108px;
    height: 108px;
    margin: 0 auto 22px;
    border-radius: 26px;
  }
  .download-shell .download-card h1 {
    margin: 0;
    font-size: 36px;
    line-height: 1.35;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
  }
  .download-shell .download-meta {
    margin-top: 16px;
    gap: 9px;
  }

  .download-shell .download-install {
    width: 100%;
    max-width: 480px;
    margin: 28px auto 0;
    gap: 18px;
  }
  .download-shell .download-install > * { margin: 0; }
  .download-shell .download-install > .notice {
    padding: 14px 18px;
    border-radius: 10px;
    text-align: center;
  }
  .download-shell .download-install > .install-button {
    min-height: 52px;
    border-radius: 10px;
    line-height: 1.5;
  }
  .download-shell .download-install-help {
    font-size: 14px;
    line-height: 1.9;
  }

  .download-shell .download-qr {
    width: 100%;
    max-width: 480px;
    margin: 30px auto 0;
    padding: 0;
    gap: 14px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  /* Preserve the QR quiet zone on light and dark page backgrounds. */
  .download-shell .download-qr > .qr {
    width: 168px;
    height: 168px;
    padding: 8px;
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
  }
  .download-shell.download-theme-qr .download-qr > .qr {
    width: 200px;
    height: 200px;
  }
  .download-shell .download-scan-caption {
    font-size: 13px;
    line-height: 1.8;
  }

  /* The lower content remains a single reading column with subtle separators. */
  .download-shell .download-details {
    display: block;
    width: 100%;
    max-width: 680px;
    margin: 38px auto 0;
    text-align: left;
  }
  .download-shell .download-details .release-notes {
    margin-top: 26px;
    padding-top: 26px;
    border-top: 1px solid rgba(30, 90, 66, .12);
    background: transparent;
    box-shadow: none;
  }
  .download-shell .download-details > .release-notes:first-child {
    margin-top: 0;
  }
  .download-shell .download-details .release-notes h3 {
    font-size: 19px;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  .download-shell .download-details .release-notes p {
    font-size: 15px;
    line-height: 1.9;
  }
  .download-shell .download-stats {
    max-width: 560px;
    background: transparent;
    border-top: 1px solid rgba(30, 90, 66, .12);
    border-bottom: 1px solid rgba(30, 90, 66, .12);
    border-radius: 0;
    padding: 18px 8px;
  }
  .download-shell .report-trigger {
    background: transparent;
    box-shadow: none;
  }
  .download-shell .footer-mini {
    margin: 28px auto 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .download-shell .download-lock-card {
    max-width: 580px;
    margin-top: 62px;
  }
  .download-shell .download-lock-card #unlock-form {
    max-width: 440px;
    margin: 28px auto 0;
  }
  .download-shell .download-lock-card #unlock-form > .btn {
    margin-top: 22px;
    min-height: 52px;
  }

  /* Preserve each template's identity without bringing back a containing box. */
  .download-shell.download-theme-minimal { background: #fff; }
  .download-shell.download-theme-blue {
    background:
      radial-gradient(ellipse 76% 620px at 50% 0%, rgba(45, 155, 194, .09), transparent 100%),
      linear-gradient(180deg, #eff8fb 0, #f7fcfa 580px, #fff 1050px);
  }
  .download-shell.download-theme-game {
    background: radial-gradient(ellipse 85% 740px at 50% 0%, #24573f 0, #123527 58%, #0d221a 100%);
  }
  .download-shell.download-theme-game > .brand { color: #effff5; }
  .download-shell.download-theme-game > .brand small { color: #9cdec2; }
  .download-shell.download-theme-game .download-stats {
    background: transparent;
    border-color: rgba(173, 219, 193, .23);
  }
  .download-shell.download-theme-game .download-details .release-notes,
  .download-shell.download-theme-game .download-version-row {
    border-color: rgba(173, 219, 193, .23);
  }
  .download-shell.download-theme-game .download-card summary,
  .download-shell.download-theme-game .download-install-help,
  .download-shell.download-theme-game .download-scan-caption {
    color: #bedbca;
  }
  .download-shell.download-theme-game .download-card .textlink,
  .download-shell.download-theme-game .footer-mini .textlink {
    color: #69dbaf;
  }
  .download-shell.download-theme-game .report-trigger {
    color: #bedbca;
    border-color: rgba(173, 219, 193, .28);
  }
}
