/* Mobile installation entry points. Hidden until the actual device is detected. */
.footer__install {
  display: none;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  margin: 8px 0;
}
.pt-install-mobile[data-pt-install-platform="ios"] .footer__install:not([hidden]) { display: grid; }
.footer__install[hidden] { display: none; }
.pwa-banner {
  position: relative;
  display: none;
  align-items: center;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1584 / 672;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(18px, 2.5vw, 30px);
  border: 0;
  border-radius: 24px;
  background: #c41122;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.pt-install-mobile[data-pt-install-platform="ios"] .pwa-banner[data-pwa-platform="ios"]:not([hidden]) { display: flex; }
.pwa-banner[hidden] { display: none; }
.pwa-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(74, 0, 10, .24), transparent 75%);
}
.pwa-banner__art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 76.2% 50%;
}
.pwa-banner__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  width: 65%;
}
.pwa-banner__title {
  font-size: clamp(20px, 2.3vw, 29px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.15;
}
.pwa-banner__description {
  max-width: 220px;
  color: #fff;
  font-size: clamp(12px, 1.2vw, 15px);
  line-height: 1.4;
}
.pwa-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  margin-top: 5px;
  padding: 9px 21px;
  border-radius: 12px;
  background: #fff;
  color: #171719;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  transition: background .16s ease;
}
.pwa-banner__cta svg { width: 19px; height: 19px; flex-shrink: 0; }
.pwa-banner:hover .pwa-banner__cta { background: #f0f0f2; }
.pwa-banner:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
@media (max-width: 720px) {
  .footer__install { grid-template-columns: 1fr; gap: 12px; }
  .pwa-banner { max-width: 600px; }
  .pwa-banner__title { font-size: clamp(20px, 5.4vw, 29px); }
  .pwa-banner__description { font-size: clamp(12px, 3.3vw, 15px); }
}
@media (max-width: 380px) {
  .pwa-banner { min-height: 184px; padding: 16px; border-radius: 20px; }
  .pwa-banner__copy { width: 58%; gap: 6px; }
  .pwa-banner__cta { min-height: 34px; margin-top: 2px; padding: 7px 16px; font-size: 13px; }
}
@media (display-mode: standalone) { .footer__install { display: none; } }
@media (prefers-reduced-motion: reduce) { .pwa-banner__cta { transition: none; } }

/* The existing homepage Download app artwork opens the same mobile guide. */
.slideshow__install-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.slideshow__install-trigger:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -5px;
}
