.board-view-vote-content-wrap {
  --vote-fz: 16px;
}
.board-view-vote-content-wrap .title-wrap {
  display: flex;
  align-items: center;
}
.board-view-vote-content-wrap .title-wrap strong {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 18px;
}
.board-view-vote-content-wrap .title-wrap strong span.i {
  margin-right: 6px;
  width: 24px;
  height: 24px;
  background-size: 24px 24px;
}
.board-view-vote-content-wrap .title-wrap strong .writer {
  margin-left: 5px;
  padding: 4px 8px;
  border-radius: 50px;
  background: rgba(122, 191, 255, 0.3);
  font-size: 12px;
  font-weight: 700;
  color: var(--main-color);
}
.board-view-vote-content-wrap .title-wrap .info {
  flex: 1 1;
  display: flex;
  color: #181c34;
  margin-left: 8px;
  margin-bottom: 0;
  font-weight: 400;
  font-size: var(--vote-fz);
}
.board-view-vote-content-wrap .title-wrap .info ul {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.board-view-vote-content-wrap .title-wrap .info ul li {
  display: flex;
}
.board-view-vote-content-wrap .title-wrap .info ul li:not(:last-child):after {
  display: block;
  content: "/";
  width: auto;
  height: 100%;
  margin: 0 5px;
}
.board-view-vote-content-wrap .title-wrap button {
  display: flex;
  align-items: center;

  font-size: var(--vote-fz);
}
.board-view-vote-content-wrap .title-wrap button img {
  animation: moreAni 0.5s infinite;
}

.board-view-vote-content-wrap ul.vote-list-wrap {
  --graf-bd-radius: 900px;
  margin-top: 18px;
  margin-bottom: 20px;
}
.board-view-vote-content-wrap .vote-list-wrap li {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
  margin: 8px 0;
  padding: 0 20px 0 12px;

  border: 1px solid var(--gray-line-color2);
  border-radius: 8px;

  box-sizing: border-box;
  overflow: hidden;

  border-radius: var(--graf-bd-radius);
}
.board-view-vote-content-wrap .vote-list-wrap li.active {
  border-color: var(--main-color);
}
.board-view-vote-content-wrap .vote-list-wrap li .graph {
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: var(--main-color);
  opacity: 0.06;

  animation: percent 1.2s both;

  background: var(--gray-line-color2);
  opacity: 1;
  border-radius: 0;
}
.board-view-vote-content-wrap .vote-list-wrap li.voted .graph,
.board-view-vote-content-wrap .vote-list-wrap li.highest .graph {
  background: linear-gradient(90deg, rgba(122, 191, 255, 0.24) 0%, rgba(76, 0, 238, 0.24) 100%);
}
.board-view-vote-content-wrap .vote-list-wrap li .text-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}
.board-view-vote-content-wrap .vote-list-wrap li .text-wrap .vote-radio-field {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}
.board-view-vote-content-wrap .vote-list-wrap li .text-wrap .vote-radio-field label {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  line-height: 1;

  font-size: var(--vote-fz);
}

.vote-radio-field input[type="checkbox"],
.vote-radio-field input[type="radio"] {
  display: none;
}
.vote-radio-field input[type="checkbox"] + label,
.vote-radio-field input[type="radio"] + label {
  margin-right: 10px;
  margin-bottom: 0;
  padding-left: 24px;

  background-image: url("https://image.daedamo.com/images/img/renew/icon/2026/i_check_none.svg");
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: 0 50%;

  font-weight: 400;
  color: #181c34;

  cursor: pointer;
}

.vote-radio-field input[type="checkbox"] + label.on,
.vote-radio-field input[type="radio"] + label.on,
.vote-radio-field input[type="checkbox"]:checked + label,
.vote-radio-field input[type="radio"]:checked + label {
  background-image: url("https://image.daedamo.com/images/img/renew/icon/2026/i_check_on.svg");

  color: var(--main-color);
  font-weight: 700;
}

.board-view-vote-content-wrap .vote-list-wrap li .text-wrap strong {
  margin-right: 7px;
  font-weight: normal;
  font-size: var(--vote-fz);

  position: relative;
  flex: 1 1;
  display: flex;
  align-items: center;
  color: #181c34;
  margin-left: 20px;
  line-height: 1.2;
}
.board-view-vote-content-wrap .vote-list-wrap li .text-wrap strong img {
  margin-right: 4px;
}
.board-view-vote-content-wrap .vote-list-wrap li .text-wrap span {
  font-size: var(--vote-fz);
}
.board-view-vote-content-wrap .vote-list-wrap li.voted .text-wrap strong {
  margin-left: 12px;
}
.board-view-vote-content-wrap .vote-list-wrap li.voted .text-wrap span {
  color: var(--main-color);
}
.board-view-vote-content-wrap .vote-list-wrap li .text-wrap span.per {
}
.board-view-vote-content-wrap .vote-list-wrap li .text-wrap span.count {
  font-weight: normal;
  margin-left: 3px;
}
.board-view-vote-content-wrap ul.vote-list-wrap.voted li {
  background: var(--gray-bg-color);
  border: none;
}
.board-view-vote-content-wrap ul.vote-list-wrap.voted li .text-wrap strong {
  margin-left: 12px;
}
.board-view-vote-content-wrap ul.vote-list-wrap.voted li.voted {
  border: 1px solid var(--main-color);
}
.board-view-vote-content-wrap ul.vote-list-wrap.voted li.highest {
  border: none;
}
.board-view-vote-content-wrap ul.vote-list-wrap.voted li.voted.highest {
  border: 1px solid var(--main-color);
}
.board-view-vote-content-wrap ul.vote-list-wrap.voted li.highest .text-wrap {
  color: var(--main-color);
}
.board-view-vote-content-wrap ul.vote-list-wrap.voted li.highest .text-wrap strong {
  color: var(--main-color);
  font-weight: 600;
  margin-left: 0;
}
.board-view-vote-content-wrap ul.vote-list-wrap.voted li.voted strong {
  font-weight: 600;
  color: var(--main-color);
}
.board-view-vote-content-wrap .button-wrap {
  /* min-height: 30px; */
}
.board-view-vote-content-wrap .button-wrap button {
  display: block;
  width: 120px;
  margin: 10px auto;
  padding: 12px 0;

  border-radius: 900px;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  color: #fff;

  transition: all 0.3s;
  line-height: 26px;
}
.board-view-vote-content-wrap .button-wrap button.btn-vote {
  background: #f3f5f8;
  color: var(--gray-font-color);
}
.board-view-vote-content-wrap .button-wrap button.btn-vote.active,
body:not(.mobile) .board-view-vote-content-wrap .button-wrap button.btn-vote:hover {
  background: var(--main-color);
  color: #fff;
}
.board-view-vote-content-wrap .button-wrap button.btn-show-list {
  color: var(--gray-font-color);
}

@keyframes percent {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0%);
  }
}

/* -----------------------------------------------------------
  ------ bar-type (story / 탈모인가요?) ------
--------------------------------------------------------------  */

/* 말풍선 버블  */
.board-view-vote-content-wrap .title-wrap .vote-txt {
  position: relative;
  line-height: 26px;
}
.board-view-vote-content-wrap .bar-vote-bubble {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 8px;
  background: var(--main-color);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
  z-index: 1;

  line-height: 22px;
}
.board-view-vote-content-wrap .bar-vote-bubble::after {
  display: block;
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--main-primary-color);
}

.board-view-vote-content-wrap input[type="radio"] + label span {
  display: inline;
  width: auto;
  height: auto;
  background: none;
  background-size: auto;
  border: none;
  box-sizing: content-box;
  vertical-align: baseline;
}

/* 투표 전  */
.board-view-vote-content-wrap ul.vote-list-wrap.bar-type {
  display: flex;
  gap: 8px;
}
.board-view-vote-content-wrap ul.vote-list-wrap.bar-type li {
  flex: 1;
  height: 68px;
  margin: 0;
  padding: 0;
  border: 1px solid #e6e6ea;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.board-view-vote-content-wrap ul.vote-list-wrap.bar-type li.active {
  border-color: var(--main-color);
  background: rgba(100, 56, 235, 0.1);
}
.board-view-vote-content-wrap ul.vote-list-wrap.bar-type li input[type="radio"] {
  display: none;
}
.board-view-vote-content-wrap ul.vote-list-wrap.bar-type li label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 400;
  color: #181c34;
  text-align: center;
  line-height: 1.3;
  cursor: pointer;
  box-sizing: border-box;
}
.board-view-vote-content-wrap ul.vote-list-wrap.bar-type li label .emoji {
  display: block;
  width: 24px;
  height: 24px;

  margin-right: 2px;
}
.board-view-vote-content-wrap ul.vote-list-wrap.bar-type li.active label {
}

/* 투표 후 */
.board-view-vote-content-wrap ul.vote-list-wrap.bar-type.voted {
  display: flex;
  height: 60px;
  overflow: hidden;
  gap: 0;
  background: transparent;
}
.board-view-vote-content-wrap ul.vote-list-wrap.bar-type.voted li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 100%;
  width: auto;
  margin: 0;
  padding: 4px 6px;
  border: none;
  border-radius: 0;
  overflow: hidden;
  transition: flex 1s ease;
  min-width: 86px;
  background: #f3f5f8;
  color: #181c34;

  cursor: default;
}
.board-view-vote-content-wrap ul.vote-list-wrap.bar-type.voted li:first-child {
  border-radius: 6px 0 0 6px;
}
.board-view-vote-content-wrap ul.vote-list-wrap.bar-type.voted li:last-child {
  border-radius: 0 6px 6px 0;
}
.board-view-vote-content-wrap ul.vote-list-wrap.bar-type.voted li:nth-child(1) {
  background: var(--main-color);
  color: #fff;
}
.board-view-vote-content-wrap ul.vote-list-wrap.bar-type.voted li:nth-child(2) {
  background: #f3f5f8;
  color: #181c34;
}
.board-view-vote-content-wrap ul.vote-list-wrap.bar-type.voted li:nth-child(3) {
  background: #ff6246;
  color: #fff;
}
.board-view-vote-content-wrap ul.vote-list-wrap.bar-type.voted li .percent-row {
  display: flex;
  align-items: center;
  gap: 2px;
}
.board-view-vote-content-wrap ul.vote-list-wrap.bar-type.voted li .emoji {
  display: block;
  width: 20px;
  height: 20px;
}
.board-view-vote-content-wrap ul.vote-list-wrap.bar-type.voted li .per {
  font-size: 14px;
  font-weight: 700;
  color: inherit;
  line-height: 1;
}
.board-view-vote-content-wrap ul.vote-list-wrap.bar-type.voted li .label {
  overflow: hidden;
  padding: 0;
  max-width: 100%;
  font-size: 12px;
  font-weight: 400;
  color: inherit;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 1.2;

  display: flex;
  align-items: center;
}

/* 투표하기 버튼 */
.bar-type-wrap .button-wrap button.btn-vote {
  margin: 20px auto;
}

/* -----------------------------------------------------------
  ------ mobile ------
--------------------------------------------------------------  */
.mobile .board-view-vote-content-wrap {
  width: 90%;
  margin: 0 auto;
  margin-top: 4px;

  --vote-fz: 14px;
}
.mobile .board-view-vote-content-wrap .button-wrap button {
  padding: 10px 0;
  width: 105px;
  font-size: 14px;
}

.mobile .board-view-vote-content-wrap .title-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
.mobile .board-view-vote-content-wrap .title-wrap button {
  width: 50%;
  justify-content: flex-end;
  font-size: 14px;
}
.mobile .board-view-vote-content-wrap .title-wrap strong {
  width: 50%;
}
.mobile .board-view-vote-content-wrap .title-wrap .info {
  order: 3;
  flex: 1 1 100%;
  font-size: 12px;
  margin-left: 0;
  color: var(--gray-font-color2);
}
.mobile .board-view-vote-content-wrap .title-wrap .info ul {
}
.mobile .board-view-vote-content-wrap .title-wrap .info .paren {
  display: none;
}
.mobile .board-view-vote-content-wrap ul.vote-list-wrap li .text-wrap strong {
  font-size: 14px;
  margin-left: 8px;
}
.mobile .board-view-vote-content-wrap ul.vote-list-wrap.voted li.highest .text-wrap strong {
  margin-left: 0;
}

.mobile .board-view-vote-content-wrap ul.vote-list-wrap {
  margin: 16px 0;
}

/* 말풍선 */
.mobile .board-view-vote-content-wrap .bar-vote-bubble {
  bottom: calc(100% + 2px);
  padding: 4px 10px;
  font-size: 11px;
  line-height: 19px;
}
.mobile .board-view-vote-content-wrap .bar-vote-bubble::after {
  bottom: -4px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--main-primary-color);
}

/* bar-type */
.mobile .board-view-vote-content-wrap ul.vote-list-wrap.bar-type {
  gap: 4px;
}
.mobile .board-view-vote-content-wrap ul.vote-list-wrap.bar-type li {
  height: 60px;
}
.mobile .board-view-vote-content-wrap ul.vote-list-wrap.bar-type li label {
  gap: 4px;
  padding: 0;
  font-size: 10px;
}
.mobile .board-view-vote-content-wrap ul.vote-list-wrap.bar-type li label .emoji {
  width: 20px;
  height: 20px;
}
.mobile .board-view-vote-content-wrap ul.vote-list-wrap.bar-type li label span {
  font-size: 12px;
}

.mobile .board-view-vote-content-wrap ul.vote-list-wrap.bar-type.voted {
  height: 60px;
  gap: 0;
}
.mobile .board-view-vote-content-wrap ul.vote-list-wrap.bar-type.voted li {
  gap: 2px;
  min-width: max(calc(54 / 360 * 100vw), 54px);
}
.mobile .board-view-vote-content-wrap ul.vote-list-wrap.bar-type.voted li .emoji {
  width: 20px;
  height: 20px;
}
.mobile .board-view-vote-content-wrap ul.vote-list-wrap.bar-type.voted li .per {
  font-size: 14px;
}
.mobile .board-view-vote-content-wrap ul.vote-list-wrap.bar-type.voted li .label {
  font-size: 12px;
  line-height: 18px;
}

.mobile .bar-type-wrap .button-wrap button.btn-vote {
  width: 100%;
  height: 44px;
  margin: 12px auto;
  padding: 0;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

/* btnShowResult 없을 때 title-wrap 한 줄 처리 */
.mobile .board-view-vote-content-wrap .title-wrap:not(:has(.btnShowResult)) {
  flex-wrap: nowrap;
  justify-content: flex-start;
}
.mobile .board-view-vote-content-wrap .title-wrap:not(:has(.btnShowResult)) strong {
  width: auto;
  flex-shrink: 0;
}
.mobile .board-view-vote-content-wrap .title-wrap:not(:has(.btnShowResult)) .info {
  order: 0;
  flex: 0 1 auto;
  margin-left: 8px;
}

/* .info li 2개 이상이면 다음 줄로*/
.mobile .board-view-vote-content-wrap .title-wrap:not(:has(.btnShowResult)):has(.info li ~ li) {
  flex-wrap: wrap;
}
.mobile .board-view-vote-content-wrap .title-wrap:not(:has(.btnShowResult)):has(.info li ~ li) .info {
  display: block;
  order: 3;
  flex: none;
  width: 100%;
  margin-left: 0;
}
.mobile .board-view-vote-content-wrap .title-wrap:not(:has(.btnShowResult)):has(.info li ~ li) .info ul {
  display: inline;
}
.mobile .board-view-vote-content-wrap .title-wrap:not(:has(.btnShowResult)):has(.info li ~ li) .info ul li {
  display: inline;
}
.mobile .board-view-vote-content-wrap .title-wrap:not(:has(.btnShowResult)):has(.info li ~ li) .info ul li:not(:last-child)::after {
  display: inline;
  width: auto;
  height: auto;
}
