.download-action { position: relative; }
.download-action [role="button"] { cursor: pointer; }
.download-help {
  position: absolute;
  z-index: 10;
  top: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, -4px) scale(.98);
  transform-origin: top center;
  width: min(320px, 100%);
  padding: 12px 16px;
  border: 1px solid rgb(var(--ink-rgb, 27 22 38) / .08);
  border-radius: 18px;
  background: rgb(var(--surface-rgb, 255 255 255) / .78);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  color: var(--ink-soft);
  box-shadow: 0 10px 30px rgb(var(--ink-rgb, 27 22 38) / .07);
  font: 400 13px/1.6 var(--sans);
  text-align: left;
  visibility: hidden;
  opacity: 0;
  transition: opacity .18s ease, transform .22s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .18s;
}
/* Keep the tip open while the pointer crosses the gap to read it. */
.download-help::after { content: ''; position: absolute; bottom: 100%; left: 0; width: 100%; height: 8px; }
.download-action:not([data-help-dismissed]):is(:hover, :focus-within) .download-help {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
  transition-delay: .35s;
}
/* A passing pointer should not flash the tip; keyboard focus needs no hover delay. */
.download-action:not([data-help-dismissed]):focus-within .download-help { transition-delay: 0s; }
.download-action[data-help-dismissed] .download-help { transition: none; }

@media (prefers-reduced-motion: reduce) {
  .download-help {
    transform: translate(-50%, 0);
    transition: opacity .12s ease, visibility 0s linear .12s;
  }
}
