/* Dream Lands — Share popover */
/* ===== Share popover ===== */
#share-popover {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, .4);
  opacity: 0;
  transition: opacity .2s;
}

#share-popover.visible {
  opacity: 1;
}

.share-popover-inner {
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 1.5rem 1.25rem 2rem;
  width: 100%;
  max-width: 480px;
  transform: translateY(20px);
  transition: transform .2s;
}

#share-popover.visible .share-popover-inner {
  transform: translateY(0);
}

.share-title {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  margin-bottom: 1rem;
  text-align: center;
}

.share-options {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.share-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.share-opt svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: #f0f0ec;
}

.share-opt:nth-child(1) svg {
  color: #25D366;
  background: #e8faf0;
}

.share-opt:nth-child(2) svg {
  color: #229ED9;
  background: #e8f4fb;
}

.share-opt:nth-child(3) svg {
  color: var(--text);
}

@media (min-width: 600px) {
  #share-popover {
    align-items: center;
  }

  .share-popover-inner {
    border-radius: 16px;
    max-width: 360px;
    margin-bottom: 0;
  }
}

