@font-face {
  font-family: "IBM Plex Sans Condensed";
  src:
    url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans-condensed@latest/latin-600-normal.woff) format("woff"),
    url(https://image.daedamo.com/web-fonts/IBMPlexSansCondensed/IBMPlexSansCondensed-Bold.ttf) format("truetype");
  font-weight: 700;
}

@font-face {
  font-family: "GmarketSans";
  src:
    url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff") format("woff"),
    url(https://image.daedamo.com/web-fonts/GmarketSans/GmarketSansTTFBold.ttf) format("truetype");
  font-weight: 500;
}

.vote-content-wrap {
  --vote-inner: 40px;
  --vote-main-color2: #ff482a;
  --vote-toolip-color: #ff9801;

  position: relative;
  width: 100%;
  border: 1px solid #e6e6e7;
  background: #f8f8f8;
  padding: 13px 88px 28px;
  margin-bottom: 50px;
  box-sizing: border-box;
  border-radius: 8px;
}

.vote-content-wrap .btn-link-more {
  display: flex;
  align-items: center;
  position: absolute;
  right: 42px;
  top: 24px;
  color: #bbbbbb;
  font-size: 16px;
}
.vote-content-wrap .btn-link-more i {
  font-size: 12px;
  margin-left: 8px;
}
.vote-content-wrap .title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.vote-content-wrap .title a {
  display: flex;
  align-items: center;
}
.vote-content-wrap .title a img {
  width: 3.889vw;
  margin-left: 1.7vw;
}
.vote-content-wrap .title img {
  max-width: 100px;
}
.vote-content-wrap .title p {
  max-width: 630px;
  position: relative;
  margin-left: 34px;
  font-size: 30px;
  font-weight: bold;
  line-height: 1;

  word-break: keep-all;
  overflow-wrap: break-word;
}
.vote-content-wrap .title p::before {
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  content: "";
  display: block;
  width: 2px;
  height: 24px;
  background: #2a2a2a;
  opacity: 0.3;
}
.vote-content-wrap .vote-content {
  display: flex;
  align-items: center;
  height: 54px;
}
/* tooltip */
/* .vote-content-wrap .vote-content .tooltip-wrap {
  display: none;
}

.vote-content-wrap.move .vote-content .tooltip-wrap {
  display: flex;
} */
.vote-content-wrap .vote-content .tooltip-wrap {
  background: var(--vote-toolip-color);
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translate(-50%, 100%);
  padding: 9px 18px;
  border-radius: 18px;
  color: #fff48e;
  display: flex;
  align-items: center;

  animation: move 1.2s cubic-bezier(0.46, 0.03, 0.52, 0.96) infinite;
}
.vote-content-wrap .vote-content .tooltip-wrap p {
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}
.vote-content-wrap .vote-content .tooltip-wrap img {
  width: 18px;
  margin-right: 5px;
}
.vote-content-wrap .vote-content .tooltip-wrap:after {
  content: "";
  display: block;
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 9px solid var(--vote-toolip-color);
}
.vote-content-wrap .vote-content .vote-items {
  width: 50%;
  height: 100%;
  position: relative;
  z-index: 1;
  cursor: pointer;
  transition: all 0.6s;
}
/* animation */
.vote-content-wrap.move .vote-content .vote-items.vote-left {
  animation: vote-left-wiggle 2s ease-in-out infinite alternate;
}
.vote-content-wrap.move .vote-content .vote-items.vote-right {
  animation: vote-right-wiggle 2s ease-in-out infinite alternate;
}
.vote-content-wrap .vote-content .vote-inner {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: calc(100% - var(--vote-inner));
  height: 100%;
  position: absolute;
  top: 0;
}
.vote-content-wrap .vote-content .vote-inner p {
  margin: 0;
  font-size: 36px;
  color: #fff;
  font-family: "IBM Plex Sans Condensed";
  font-weight: 600;
}
.vote-content-wrap .vote-content .vote-inner span {
  font-size: 20px;
  color: #fff;
  opacity: 0.6;
}
.vote-content-wrap .vote-content .vote-left {
  /* background: var(--main-primary-color); */

  background-image: url(https://image.daedamo.com/images/img/renew/icon/2025/vote/left.png);
  background-position: 0% 50%;
  background-size: auto 100%;
  background-repeat: no-repeat;
}
.vote-content-wrap .vote-content .vote-left.on::after,
.vote-content-wrap .vote-content .vote-left:hover::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: -12px;
  top: 0;
  background-image: url(https://image.daedamo.com/images/img/renew/icon/2025/vote/left_on.png);
  background-position: 0% 0%;
  background-size: auto 100%;
  background-repeat: no-repeat;
  z-index: -1;
}
.vote-content-wrap .vote-content .vote-left.on .vote-inner :is(p, span),
.vote-content-wrap .vote-content .vote-left:hover .vote-inner :is(p, span),
.vote-content-wrap .vote-content .vote-right.on .vote-inner :is(p, span),
.vote-content-wrap .vote-content .vote-right:hover .vote-inner :is(p, span) {
  color: var(--sub-color2);
}

.vote-content-wrap .vote-content .vote-right {
  flex: 0 0 auto;
  /* background: var(--vote-main-color2); */
  background-image: url(https://image.daedamo.com/images/img/renew/icon/2025/vote/right.png);
  background-position: 100% 0%;
  background-size: auto 101%;
  background-repeat: no-repeat;
}
.vote-content-wrap .vote-content .vote-right.on::after,
.vote-content-wrap .vote-content .vote-right:hover::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  right: -13px;
  top: 0;
  background-image: url(https://image.daedamo.com/images/img/renew/icon/2025/vote/right_on.png);
  background-position: 100% 0%;
  background-size: auto 101%;
  background-repeat: no-repeat;
  z-index: -1;
}
.vote-content-wrap .vote-content .vote-left .vote-inner {
  background: var(--main-primary-color);
  left: var(--vote-inner);
}
.vote-content-wrap .vote-content .vote-right .vote-inner {
  justify-content: flex-end;
  background: var(--vote-main-color2);
  right: var(--vote-inner);
}
.vote-content-wrap .vote-content .vote-left .vote-inner p {
  margin-right: 12px;
}
.vote-content-wrap .vote-content .vote-right .vote-inner p {
  margin-left: 12px;
}

/*  */

.vote-content-wrap .vote-content .center-icon {
  width: 56px;
  height: 72px;
  position: absolute;
  left: 0%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

@keyframes vote-left-wiggle {
  0% {
    width: 40%;
  }
  100% {
    width: 60%;
  }
}

@keyframes vote-right-wiggle {
  0% {
    width: 60%;
  }
  100% {
    width: 40%;
  }
}

/* 투표 완료 배송지 작성 팝업 */
.modal-wrap.event_vote_complete_pop {
  width: 399px;
  max-width: calc(100vw - 40px);
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.modal-wrap.event_vote_complete_pop .pop-header,
.modal-wrap.event_vote_complete_pop .btn-wrap {
  display: none !important;
}
.modal-wrap.event_vote_complete_pop .layerPop-inner {
  padding: 30px 48px;
}
.modal-wrap.event_vote_complete_pop .pop-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.modal-wrap.event_vote_complete_pop .evc-modal-title {
  display: block;
  margin-bottom: 16px;
  color: #6438eb;
  font-family: "GmarketSans", sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -2.4px;
}
.modal-wrap.event_vote_complete_pop .evc-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.modal-wrap.event_vote_complete_pop .evc-modal-desc {
  margin: 0;
  color: #181c34;
  font-family: "Pretendard", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.8px;
}
.modal-wrap.event_vote_complete_pop .evc-modal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 50px;
  border-radius: 80px;
  background: #6438eb;
  color: #fff;
  font-family: "Pretendard", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}
.modal-wrap.event_vote_complete_pop .evc-modal-link:hover {
  background: #542bda;
  color: #fff;
}
.modal-wrap.event_vote_complete_pop .evc-modal-link i {
  display: block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #fff;
}
.modal-wrap.event_vote_complete_pop .evc-modal-notice {
  margin: 0;
  padding-left: 21px;
  color: rgba(24, 28, 52, 0.5);
  font-family: "Pretendard", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.43;
  letter-spacing: 0;
  text-align: left;
}
.modal-wrap.event_vote_complete_pop .evc-modal-notice li {
  position: relative;
  padding-left: 0;
  list-style: none;
}
.modal-wrap.event_vote_complete_pop .evc-modal-notice li::before {
  content: "";
  position: absolute;
  top: 0.59em;
  left: -10px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
}

/* -----------------------------------------------------------
  ------ mobile ------
--------------------------------------------------------------  */
.mobile .vote-content-wrap {
  --vote-inner: 5vw;

  padding: 2.5vw 7.222vw 4.444vw;
  margin-bottom: 3.333vw;
  border-radius: 0;
  border-left: none;
  border-right: none;
}
.mobile .vote-content-wrap .vote-content {
  height: 7.778vw;
}
.mobile .vote-content-wrap .vote-content .center-icon {
  width: 7.778vw;
  height: 10vw;
}
.mobile .vote-content-wrap .vote-content .center-icon img {
  width: 100%;
}
.mobile .vote-content-wrap .btn-link-more {
  display: none;
}
.mobile .vote-content-wrap .vote-content .vote-left .vote-inner {
  left: var(--vote-inner);
}
.mobile .vote-content-wrap .title p {
  --margin-left: 3.556vw;
  font-size: 3.15vw;
  margin-bottom: 0;
  margin-left: var(--margin-left);
  line-height: 1.1;

  word-break: break-word;
}
.mobile .vote-content-wrap .title img {
  max-width: 12vw;
}
.mobile .vote-content-wrap .title p::before {
  height: 3.889vw;
  left: calc((var(--margin-left) + 2px) / -2);
}
.mobile .vote-content-wrap .vote-content .vote-inner {
  width: calc(100% - var(--vote-inner));
}
.mobile .vote-content-wrap .vote-content .vote-right .vote-inner {
  right: var(--vote-inner);
}
.mobile .vote-content-wrap .vote-content .vote-inner p {
  font-size: 4.2vw;
}
.mobile .vote-content-wrap .vote-content .vote-right .vote-inner p {
  margin-left: 1.111vw;
}
.mobile .vote-content-wrap .vote-content .vote-left .vote-inner p {
  margin-right: 1.111vw;
}
.mobile .vote-content-wrap .vote-content .vote-inner span {
  font-size: 2vw;
}

/* tooltip */
.mobile .vote-content-wrap .vote-content .tooltip-wrap {
  display: flex;
  background: var(--vote-toolip-color);
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translate(-50%, 100%);
  color: #fff48e !important;
  font-size: 2.778vw;
  padding: 1.944vw 4.444vw;
  border-radius: 26px;
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes move {
  0% {
    transform: translate(-50%, 100%);
  }
  65% {
    transform: translate(-50%, 94%);
  }
  100% {
    transform: translate(-50%, 100%);
  }
}
.mobile .vote-content-wrap .vote-content .tooltip-wrap img {
  width: 3.333vw;
}
.mobile .vote-content-wrap .vote-content .tooltip-wrap:after {
  top: -21%;
  border-left: 1.667vw solid transparent;
  border-right: 1.667vw solid transparent;
  border-bottom: 2.5vw solid var(--vote-toolip-color);
}

.mobile .vote-content-wrap.move .vote-content .vote-left:hover::after,
.mobile .vote-content-wrap.move .vote-content .vote-right:hover::after {
  display: none;
}

.mobile .vote-content-wrap .vote-content .vote-left:hover .vote-inner :is(p, span),
.mobile .vote-content-wrap .vote-content .vote-right:hover .vote-inner :is(p, span) {
  color: #fff;
}
/* 투표 완료 배송지 작성 팝업 */
.mobile .modal-wrap.event_vote_complete_pop {
  width: 80%;
  max-width: 292px;
  border-radius: 24px;
}
.mobile .modal-wrap.event_vote_complete_pop .layerPop-inner {
  padding: 24px 20px;
}
.mobile .modal-wrap.event_vote_complete_pop .evc-modal-title {
  margin-bottom: 10px;
  font-size: 30px;
  letter-spacing: -1.8px;
}
.mobile .modal-wrap.event_vote_complete_pop .evc-modal-content {
  gap: 10px;
}
.mobile .modal-wrap.event_vote_complete_pop .evc-modal-desc {
  font-size: 14px;
  letter-spacing: -0.14px;
  line-height: 1.43;
}
.mobile .modal-wrap.event_vote_complete_pop .evc-modal-link {
  gap: 4px;
  padding: 14px 42px;
  font-size: 16px;
  line-height: 1.2;
}
.mobile .modal-wrap.event_vote_complete_pop .evc-modal-link i {
  border-top-width: 4px;
  border-bottom-width: 4px;
  border-left-width: 6px;
}
.mobile .modal-wrap.event_vote_complete_pop .evc-modal-notice {
  padding-left: 18px;
  font-size: 12px;
  letter-spacing: -0.12px;
  line-height: 1.5;
}
