/* Use Apple's badge artwork unchanged, with clear space instead of a card. */
.app-install-banner {
  position: absolute;
  z-index: 18;
  top: var(--app-banner-top, 82px);
  inset-inline-start: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: calc(100% - 28px);
  padding: 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.app-install-banner[hidden] { display: none !important; }
.app-install-banner a {
  display: block;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
  text-decoration: none;
}
.app-install-banner [data-app-store-badge] {
  display: block;
  width: auto;
  height: 40px;
  max-width: none;
}
.app-install-banner button {
  display: grid;
  flex: 0 0 32px;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(8, 12, 24, .6);
  color: #c7bcd7;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.app-install-banner a:focus-visible,
.app-install-banner button:focus-visible { outline: 2px solid #b580e8; outline-offset: 2px; }
@media (max-width: 760px) {
  .app-install-banner {
    top: var(--app-banner-top, 68px);
    inset-inline-start: 6px;
    max-width: calc(100% - 12px);
  }
}
@media (orientation: landscape) and (max-height: 500px) {
  /* Apple's limited-space banner guidance allows 1/10-height clear space. */
  .app-install-banner {
    top: var(--app-banner-top, 46px);
    inset-inline-start: 12px;
    gap: 8px;
    padding: 4px;
    max-width: calc(100% - 24px);
  }
}
