#app-handoff {
  color: var(--paper, #f5eddf);
}

#app-handoff .handoff-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem clamp(1.5rem, 4vw, 3.5rem);
}

#app-handoff .launch-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .8rem 1.45rem;
  border-radius: 2rem;
  color: #211d17;
  background: var(--gold, #edca8c);
  font: 550 .95rem/1.35 Inter, system-ui, sans-serif;
  text-decoration: none;
}

#app-handoff .launch-link:hover {
  background: #f6dcb0;
}

#app-handoff .handoff-scan {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 0;
}

#app-handoff .handoff-scan img {
  display: block;
  width: 148px;
  height: 148px;
  flex: none;
  image-rendering: pixelated;
}

#app-handoff .handoff-scan figcaption {
  max-width: 10ch;
  font: 400 1.12rem/1.3 Fraunces, Georgia, serif;
  text-wrap: balance;
}

#app-handoff .handoff-pilot {
  max-width: 46ch;
  margin-top: .65rem;
  color: var(--silver, #c1c5c7);
  font: 400 .79rem/1.55 Inter, system-ui, sans-serif;
}

#app-handoff .handoff-pilot summary {
  width: fit-content;
  min-height: 44px;
  padding-block: .7rem;
  cursor: pointer;
  list-style: none;
}

#app-handoff .handoff-pilot summary::-webkit-details-marker {
  display: none;
}

#app-handoff .handoff-pilot summary span,
#app-handoff .handoff-pilot a {
  color: var(--paper, #f5eddf);
  text-decoration: underline;
  text-decoration-color: #9e988a;
  text-underline-offset: .25em;
}

#app-handoff .handoff-pilot summary span {
  white-space: nowrap;
}

#app-handoff .handoff-pilot p {
  margin: 0 0 .65rem;
  color: inherit;
  font: inherit;
}

#app-handoff :is(a, summary):focus-visible {
  outline: 2px solid var(--gold, #edca8c);
  outline-offset: 3px;
}

@media (forced-colors: active) {
  #app-handoff .launch-link {
    border: 1px solid LinkText;
  }
}
