.gh-gallery-share {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  margin: 12px auto 0;
  max-width: 620px;
  position: relative;
}

.gh-gallery-share-button,
.gh-gallery-share-option {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  justify-content: center;
  line-height: 1.2;
  min-height: 38px;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.gh-gallery-share-button {
  background: linear-gradient(135deg, #0bb8ae 0%, #007181 100%);
  border-color: rgba(255, 255, 255, .72);
  box-shadow: 0 4px 14px rgba(0, 113, 129, .42);
  color: #fff;
  font-size: .8em;
  font-weight: 700;
  gap: 6px;
  min-height: 30px;
  padding: 7px 14px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .18);
}

.gh-gallery-share-icon {
  fill: none;
  height: 14px;
  overflow: visible;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 14px;
}

.gh-gallery-share-button:hover,
.gh-gallery-share-button:focus-visible {
  background: linear-gradient(135deg, #10c9be 0%, #00889a 100%);
  border-color: #fff;
  box-shadow: 0 5px 17px rgba(0, 113, 129, .58);
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

.gh-gallery-share-button:active {
  box-shadow: 0 3px 10px rgba(0, 113, 129, .38);
  transform: translateY(0);
}

.gh-gallery-share-fallback[hidden] {
  display: none !important;
}

.gh-gallery-share-fallback {
  background: rgba(20, 20, 20, .94);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  box-sizing: border-box;
  padding: 12px;
  width: min(100%, 590px);
}

.gh-gallery-share-heading {
  color: #fff;
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 9px;
  text-align: center;
}

.gh-gallery-share-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
}

.gh-gallery-share-option,
.gh-gallery-share-option:link,
.gh-gallery-share-option:visited {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  padding: 7px 12px;
}

.gh-gallery-share-option:hover,
.gh-gallery-share-option:focus-visible {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .72);
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

button.gh-gallery-share-option {
  appearance: none;
}

.gh-gallery-share-status {
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
}

@media (max-width: 600px) {
  .gh-gallery-share {
    margin-top: 10px;
  }

  .gh-gallery-share-fallback {
    padding: 10px;
  }

  .gh-gallery-share-option {
    flex: 1 1 calc(50% - 7px);
  }
}
