body.share-modal-open {
  overflow: hidden;
}

.share-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.share-modal-overlay.open {
  display: flex;
}

.share-modal {
  width: min(620px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #07070a;
  color: #fff;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.6);
}

.share-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.share-modal-header > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.share-modal-header > div:first-child > span {
  color: #ff3b8d;
  font-family: 'Oswald', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.share-modal-header h2 {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 21px;
  letter-spacing: 0.4px;
}

.share-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #777780;
  font-size: 22px;
  cursor: pointer;
  transition: 0.25s;
}

.share-modal-close:hover {
  color: #fff;
  border-color: #ff3b8d;
}

.share-modal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 22px 18px;
}

.share-network {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 90px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b0b0f;
  color: #85858f;
  cursor: pointer;
  font-family: 'Saira Condensed', sans-serif;
  transition: 0.25s;
}

.share-network i {
  color: #fff;
  font-size: 20px;
}

.share-network strong {
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
}

.share-network span {
  font-size: 11px;
  font-weight: 600;
}

.share-network:hover {
  color: #fff;
  border-color: rgba(255, 59, 141, 0.75);
  background: rgba(255, 59, 141, 0.07);
  transform: translateY(-3px);
}

.share-link-area {
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.share-link-area > span {
  display: block;
  margin-bottom: 8px;
  color: #4e4e57;
  font-family: 'Oswald', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.share-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #050507;
}

.share-link-row input {
  min-width: 0;
  height: 46px;
  padding: 0 13px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #8b8b94;
  font-family: 'Saira Condensed', sans-serif;
  font-size: 12px;
}

.share-link-row button {
  min-width: 90px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #ff3b8d;
  font-family: 'Oswald', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.25s;
}

.share-link-row button:hover {
  background: rgba(255, 59, 141, 0.08);
}

.share-link-row button.copied {
  color: #fff;
  background: #ff3b8d;
}

@media (max-width: 600px) {
  .share-modal-grid {
    grid-template-columns: repeat(2, 1fr);
    max-height: 52vh;
    overflow-y: auto;
  }

  .share-network {
    min-height: 78px;
  }
}
