.destination-links {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-end: 1.5rem;
}
.destination-links :is(summary, button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px;
  padding: .5rem 1rem;
  border: 1px solid var(--shell-rule);
  border-radius: 8px;
  background: var(--shell-bg);
  color: var(--shell-ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.destination-links summary { list-style: none; }
.destination-links summary::-webkit-details-marker { display: none; }
.destination-links svg { width: 18px; height: 18px; }
.destination-links :is(summary, button):hover,
.destination-links details[open] > summary {
  background: var(--shell-control);
  border-color: var(--shell-muted);
}
.destination-links-panel {
  position: absolute;
  z-index: 5;
  inset-inline-start: 0;
  inset-block-start: calc(100% + .5rem);
  width: min(100%, 27.5rem);
  padding: clamp(1rem, 3vw, 1.4rem);
  border: 1px solid var(--shell-rule);
  border-radius: 12px;
  background: var(--shell-bg);
  box-shadow: 0 8px 24px var(--shell-shadow);
  overflow-wrap: anywhere;
}
.destination-links-panel header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.destination-links .destination-links-panel h2 { margin: 0; font-size: 1.2rem; }
.destination-links-panel [data-dismiss] { min-width: 44px; padding: .5rem; }
.destination-links-panel p { margin: .75rem 0; color: var(--shell-text); font-size: .9rem; }
.destination-links-panel label { display: block; margin: .75rem 0 .35rem; font-size: .875rem; font-weight: 600; }
.destination-links-panel input {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-bottom: .65rem;
  padding: .55rem .75rem;
  border: 1px solid var(--shell-rule);
  border-radius: 8px;
  background: var(--shell-control);
  color: var(--shell-ink);
  font: inherit;
}
.destination-links-drag a svg { width: .85em; height: .85em; margin-inline-start: .2em; }
.destination-links-panel [role="status"]:empty { display: none; }
@media (pointer: coarse) {
  .destination-links-drag { display: none; }
}

.destination-links-feedback { flex-basis: 100%; color: var(--shell-text); font-size: .875rem; }
.destination-links-feedback:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.destination-links details:has(> summary[hidden]):not([open]) { display: none; }
.destination-links [aria-disabled="true"] { cursor: wait; }
