/* Local styles only; existing navigation, players and legacy share rows are untouched. */
.discovery-share {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  max-width: 100%;
  vertical-align: middle;
}
.discovery-share__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 44px;
  padding: .6rem 1rem;
  border: 1px solid currentColor;
  border-radius: .3rem;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .9375rem;
  line-height: 1.35;
  cursor: pointer;
  touch-action: manipulation;
}
.discovery-share__button:hover { background: rgba(127, 127, 127, .13); }
.discovery-share__button[aria-busy="true"] { cursor: progress; }
.discovery-share__button:focus-visible,
.discovery-share__link:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
.discovery-share__status {
  font-size: .875rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.discovery-share__link {
  flex: 1 1 100%;
  width: min(34rem, 100%);
  min-width: 0;
  min-height: 44px;
  box-sizing: border-box;
  padding: .6rem .75rem;
  border: 1px solid currentColor;
  border-radius: .3rem;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 1rem;
}
.discovery-share__link[hidden] { display: none; }
.discovery-share__copy-buffer {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 2rem;
  height: 2rem;
}
@media (forced-colors: active) {
  .discovery-share__button, .discovery-share__link { border-color: ButtonText; }
}
