:root {
  --header-height: 6.7rem;
}
@media (width > 768px) {
  :root {
    --header-height: 11.2rem;
  }
}

.share-popup {
  margin: 15rem 15rem 0rem 0rem;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.share-popup .share-popup-content {
  direction: ltr;
  background: white;
  border-radius: 0.6rem;
  padding: 2.2rem;
  position: relative;
  width: 40rem;
  box-shadow: 0 0 1.1586rem rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (width > 768px) {
  .share-popup .share-popup-content {
    width: 90%;
    max-width: 40rem;
  }
}
.share-popup .share-popup-content .close-popup {
  position: absolute;
  top: 2.2rem;
  left: 2.2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black-main);
  width: 2.1rem;
  height: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.2s ease;
}
.share-popup .share-popup-content .close-popup svg {
  width: 100%;
  height: 100%;
}
.share-popup .share-popup-content .close-popup:hover {
  opacity: 0.7;
}
.share-popup .share-popup-content .popup-header {
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.share-popup .share-popup-content .popup-header svg {
  width: 2.0726rem;
  height: 2.1364rem;
  flex-shrink: 0;
}
.share-popup .share-popup-content .popup-header h3 {
  color: var(--neutral-800, #333032);
  text-align: right;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.3;
  margin: 0;
  white-space: nowrap;
}
.share-popup .share-popup-content .popup-content {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  width: 100%;
}
.share-popup .share-popup-content .popup-content .link-section {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  align-items: flex-end;
  width: 100%;
}
.share-popup .share-popup-content .popup-content .link-section .link-label {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--neutral-800);
  text-align: right;
  margin: 0;
}
.share-popup .share-popup-content .popup-content .link-section .link-container {
  background: rgba(0, 0, 0, 0.02);
  border-radius: 0.4rem;
  padding: 0.8rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}
.share-popup .share-popup-content .popup-content .link-section .link-container .link-url {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(51, 48, 50, 0.5);
  text-transform: uppercase;
  margin: 0;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}
.share-popup .share-popup-content .popup-content .link-section .link-container .copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-800);
  transition: opacity 0.2s ease;
}
.share-popup .share-popup-content .popup-content .link-section .link-container .copy-btn svg {
  width: 100%;
  height: 100%;
}
.share-popup .share-popup-content .popup-content .link-section .link-container .copy-btn:hover {
  opacity: 0.7;
}
.share-popup .share-popup-content .popup-content .divider {
  width: 100%;
  height: 0.1rem;
  background: var(--neutral-200, #E5E5E5);
}
.share-popup .share-popup-content .popup-content .platform-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.share-popup .share-popup-content .popup-content .platform-section .platform-icons {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}
.share-popup .share-popup-content .popup-content .platform-section .platform-icons .platform-icon {
  border: none;
  border-radius: 0.4rem;
  width: 3.2818rem;
  height: 3.2818rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.share-popup .share-popup-content .popup-content .platform-section .platform-icons .platform-icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.share-popup .share-popup-content .popup-content .platform-section .platform-label {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--neutral-800, #333032);
  text-align: right;
  margin: 0;
  white-space: nowrap;
}

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