.rooted-social-links {
  z-index: 9990;
  font: 600 14px/1.2 system-ui, sans-serif;
}

.rooted-social-links ul {
  display: flex;
  gap: .45rem;
  list-style: none;
  margin: 0;
  padding: .55rem;
}

.rooted-social-links a,
.rooted-social-links summary {
  align-items: center;
  background: #294b3d;
  color: #fff;
  display: flex;
  gap: .4rem;
  padding: .55rem .7rem;
  text-decoration: none;
}

.rooted-social-links a:focus-visible,
.rooted-social-links summary:focus-visible {
  outline: 3px solid #e7c77c;
  outline-offset: 2px;
}

.rooted-social-links__mark {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  height: 1.25rem;
  justify-content: center;
  width: 1.25rem;
}

.rooted-social-links--bottom_bar {
  bottom: 0;
  left: 0;
  max-width: 100vw;
  overflow-x: auto;
  position: fixed;
}

.rooted-social-links--corner {
  bottom: 1rem;
  position: fixed;
  right: 1rem;
}

.rooted-social-links--corner .rooted-social-links__details {
  position: relative;
}

.rooted-social-links--corner summary {
  border-radius: .5rem;
  cursor: pointer;
  list-style: none;
}

.rooted-social-links--corner summary::-webkit-details-marker {
  display: none;
}

.rooted-social-links--corner ul {
  background: #f7f3e9;
  border: 1px solid #294b3d;
  border-radius: .5rem;
  bottom: calc(100% + .4rem);
  box-shadow: 0 .35rem 1rem #0003;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: min(65vh, 27rem);
  overflow-y: auto;
  position: absolute;
  right: 0;
  width: min(21rem, calc(100vw - 2rem));
}

.rooted-social-links--corner li,
.rooted-social-links--corner a {
  min-width: 0;
}

.rooted-social-links--corner a {
  border-radius: .25rem;
}

.rooted-social-links--footer {
  display: flex;
  justify-content: center;
  margin: 1rem auto;
}

.rooted-social-links--footer ul {
  flex-wrap: wrap;
  justify-content: center;
}

.rooted-social-links--no-desktop {
  display: none;
}

@media (max-width: 782px) {
  .rooted-social-links--no-desktop {
    display: block;
  }

  .rooted-social-links--no-mobile {
    display: none;
  }

  .rooted-social-links ul {
    gap: .25rem;
    padding: .35rem;
  }

  .rooted-social-links a {
    padding: .45rem;
  }

  .rooted-social-links__label {
    font-size: 12px;
  }
}
