@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;
}

.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 i {
  margin-left: 1.7vw;
  font-size: 2.8vw;
}
.vote-content-wrap .title img {
  max-width: 100px;
}
.vote-content-wrap .title p {
  max-width: 630px;
  position: relative;
  margin-left: 34px;
  font-size: 31px;
  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 {
  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: fadeOut 0.5s 6.5s forwards;
}
.vote-content-wrap.move .vote-content .tooltip-wrap p {
  margin: 0;
  line-height: 1;
}
.vote-content-wrap.move .vote-content .tooltip-wrap img {
  width: 18px;
  margin-right: 5px;
}
.vote-content-wrap.move .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 100%;
  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 100%;
  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%;
  }
}

/* -----------------------------------------------------------
  ------ 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 {
  font-size: 3.29vw;
  margin-bottom: 0;
  margin-left: 3.556vw;
  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: -3.15%;
}
.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: none;
}
.mobile .vote-content-wrap.move .vote-content .tooltip-wrap {
  display: flex;
  background: var(--vote-toolip-color);
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translate(-50%, 100%);
  color: #fff48e;
  font-size: 2.778vw;
  padding: 1.944vw 4.444vw;
  border-radius: 26px;
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.mobile .vote-content-wrap.move .vote-content .tooltip-wrap img {
  width: 3.333vw;
}
.mobile .vote-content-wrap.move .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;
}
