[data-try-activity] button {
  font-family: inherit;
  line-height: inherit;
}

.try-activity-open .hero {
  --try-activity-gap: clamp(14px, 2vh, 26px);
  box-sizing: border-box;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  padding-top: calc(var(--try-activity-gap) + env(safe-area-inset-top, 0px));
  padding-bottom: calc(var(--try-activity-gap) + env(safe-area-inset-bottom, 0px));
}

.try-activity-open .hero-inner {
  height: 100%;
  min-height: 0;
  justify-content: flex-start;
  gap: var(--try-activity-gap);
}

html #scr-pill {
  display: none;
}

.try-activity-open .try-activity {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  container-type: size;
  display: flex;
  align-items: center;
  justify-content: center;
}

.try-activity-screen {
  width: min(100cqw, 100cqh * 16 / 9);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 20px 70px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.08);
}

.try-activity-screen iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .try-activity-screen {
    border-radius: 14px;
  }
}
