*:not(i) {
  box-sizing: border-box;
  color: #bac2c8;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  letter-spacing: -0.04em;
}

html, body {
  margin: 0;
  padding: 0;
}

a {
  color: #fff;
  text-decoration: none;
  transition: all .3s;
}

a:hover {
  color: #dafa53;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

body {
  background-color: #1c1f1f;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 300;
}

.page-wrapper {
  min-height: calc(100vh - 370px);
}

/* header */
header {
  padding: 12px 0;
  transition: all .2s;
  z-index: 999;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  backdrop-filter: blur(64px);
  -webkit-backdrop-filter: blur(64px);
  background-color: rgba(29, 29, 31, .8);
}

header * {
  color: #fff;
}

header .header-logo {
  padding: 4px;
}

.header-logo img{
  width: 132px;
}

/* dropdown */
header .header-wrapper {
  display: flex;
  justify-content: space-between;
}

header .dropdown-menu {
  background: #333335;
  border-radius: .75rem;
  min-width: 240px;
}

header .dropdown-menu * {
  color: #bac2c8;
}

header .dropdown-menu .dropdown-item {
  transition: all .2s;
  padding: .625rem .75rem;
}

header .dropdown-menu .dropdown-item:hover, header .dropdown-menu .dropdown-item:focus     {
  background: #474749;
  color: #bac2c8;
}

header .dropdown-divider {
  border-top: 1px solid #505050;
}

@media (max-width: 767px) {
  header {
    padding: 10px 0;
  }

  .header-logo img {
    width: 96px;
  }
}

/* main */
.main-logo {
  width: 100%;
  max-width: 342px;
  user-select: none;
}

@media (max-width: 767px) {
  .main-logo {
    max-width: 240px;
  }
}

.main-search-container {
  width: 100%;
  height: 54px;
  max-width: 400px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 25px;
  margin-top: 4px;
  background: rgba(255, 255, 255, 0.04);
  transition: all .2s;
}

.main-search-container input {
  width: 100%;
  height: 100%;
  padding: 10px 0 10px 20px;
  border: none;
  background-color: transparent;
  color: #bac2c8;
  outline: none;
}

.main-search-container input::placeholder {
  color: #909090;
}

.main-search-container:has(input:focus) {
  border-color: rgba(255, 255, 255, .4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(255, 255, 255, .1);
}

.main-search-container button {
  height: 100%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  outline: none;
  border-radius: 50%;
  transition: all .2s;
}

.main-search-container button:hover {
  background: rgba(255, 255, 255, .1);
}

.main-background-video {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80%;
  overflow: hidden;
}

.main-background-video iframe {
  height: 100vmax;
  aspect-ratio: 16/9;
  margin-top: -25vh;
  pointer-events: none;
}

.main-background-video::after {
  content: '';
  width: 100%;
  height: calc(100% + 1px);
  background: linear-gradient(to bottom, rgba(28, 28, 31, .64), #1c1f1f);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
}

.youtube-container {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, .05);
  padding: 0;
}

.youtube-container iframe {
  width: 100%;
  aspect-ratio: 16/9;
}

.main-video-container {
  position: relative;
  max-height: 480px;
}

.main-video-container iframe {
  user-select: none;
}

.main-video-container::after {
  content: '';
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 50%);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.main-video-title {
  width: calc(100% - 64px);
  position: absolute;
  top: 32px;
  left: 32px;
  z-index: 5;
}

@media (max-width: 1199px) {
  .main-video-container iframe {
    width: auto;
    height: 100%;
  }
}

@media (max-width: 991px) {
  .main-video-container iframe {
    width: 100%;
  }

  .main-video-title {
    top: 16px;
    left: 16px;
    width: calc(100% - 32px);
  }
}

.vote-champ-img {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  border: 1.5px solid #dafa53
}

.vote-champ-name {
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 767px) {
  .vote-champ-img {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    border: 1px solid #dafa53;
  }
}

/* footer */
footer {
  padding-top: 48px;
  padding-bottom: 56px;
  background-color: #212126;
}

.f-logo {
  width: 100px;
}

/* container */
.vote-content-container {
  max-width: 800px;
  width: 100%;
}

/* text */
.text-wrap {
  text-wrap: wrap;
  word-break: break-all;
  white-space: pre-line !important;
}

.text-montserrat {
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.025em;
}

.fs-0 {
  font-size: 4rem !important;
}

.fs-7 {
  font-size: 15px;
}

.fs-8 {
  font-size: 12.5px;
}

@media (max-width: 767px) {
  .fs-0 {
    font-size: 2.375rem !important;
  }

  .fs-1 {
    font-size: 1.875rem !important;
  }

  .fs-2 {
    font-size: 1.375rem !important;
  }

  .fs-3 {
    font-size: 1.25rem !important;
  }

  .fs-4 {
    font-size: 1.125rem !important;
  }

  .fs-5 {
    font-size: 1rem !important;
  }

  .fs-6 {
    font-size: 0.875rem !important;
  }

  .fs-7 {
    font-size: 0.75rem !important;
  }

  .fs-8 {
    font-size: 0.635rem !important;
  }

  .vote-champ-name {
    font-size: 12px;
  }
}

.letter-spacing-clear {
  letter-spacing: 0;
}

.text-truncate-2 {
  display: block;
  overflow: hidden;
  white-space: normal;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.fw-500 {
  font-weight: 500;
}

.fw-800 {
  font-weight: 800;
}

.fw-semibold {
  font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
  color: #fff;
}

/* nav */
.nav-link {
  color: inherit;
  transition: all .2s;
}

.nav-link:hover {
  color: #fff;
}

.py-6 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.pt-6 {
  padding-top: 5rem !important;
}

.pb-6 {
  padding-bottom: 5rem !important;
}

/* .btn */

.btn {
  padding: 10px 22px;
  transition: all .2s;
}

.btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(218, 250, 83, .5)
}

.btn-sm {
  padding: 7px 14px !important;
}

.btn-primary {
  background: #dafa53;
  color: #000;
  border-color: #dafa53;
  font-weight: 500;
}

.btn-primary:disabled {
  color: #5C5C5D;
  background: #333335;
  border: 1px solid #333335;
}

.btn-primary:hover {
  background: #D9FFA4;
  border-color: #D9FFA4;
  color: rgba(0, 0, 0, .8);
  box-shadow: 0 0 .75rem rgba(218, 250, 83, .5);
}

.btn-check:focus + .btn-primary, .btn-primary:focus {
  background: #D9FFA4;
  border-color: #D9FFA4;
  color: rgba(0, 0, 0, .8);
}

.btn-primary:active {
  background: #a4cd74;
}

.btn-primary:active:focus {
  box-shadow: 0 0 0 0.25rem rgba(218, 250, 83, .5)
}

.btn-primary-light {
  color: #dafa53;
  background: rgba(218, 250, 83, .1);
}

.btn-primary-light:hover {
  color: #dafa53;
  background: rgba(218, 250, 83, .2);
}

.btn-secondary-light {
  color: #fff;
  background: rgba(255, 255, 255, .06);
}

.btn-secondary-light:hover {
  color: #fff;
  background: rgba(255, 255, 255, .2);
}

.btn-warning-light {
  background: rgba(255, 192, 120, .1);
}

.btn-warning-light:hover {
  background: rgba(255, 192, 120, .2);
}

.btn-danger {
  background: #d64356;
}

.btn-danger:hover {
  background: #ff6479;
}

.btn-danger.disabled, .btn-danger:disabled {
  background: #882f3c;
  border-color: #882f3c;
  color: #cda1a4;
}

.btn-danger-light {
  color: #ff2542;
  background: rgba(255, 37, 66, .14);
}

.btn-danger-light:hover {
  color: #ff2542;
  background: rgba(255, 37, 66, .25);
}

.btn-kakao {
  background: #fee500;
}

.btn-kakao > span {
  color: #000000d8;
}

.btn-ghost {
  background: transparent;
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.btn-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}

a:hover .btn-circle {
  background: rgba(202, 255, 127, .2);
}

a:hover .btn-circle svg path {
  fill: #dafa53;
}

a span {
  transition: all .2s;
}

a:hover .btn-circle ~ span {
  color: #dafa53;
}

.btn-circle:hover {
  background: rgba(202, 255, 127, .2);
}

.btn-circle:hover svg path {
  fill: #dafa53;
}

.vote-card__option:hover > img {
  filter: grayscale(100%) brightness(70%);
  -webkit-filter: none;
}

.fadeoutImage {
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.vote-card__option {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px 20px;
  position: relative;
  flex: 1 1 0;
  border-radius: 1rem;
  transition: all .2s;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(255, 255, 255, .1);
  overflow: hidden;
  gap: 8px;
  min-height: 240px;
}

.vote-card__option > img {
  width: 100%;
  min-height: 100%;
  position: absolute;
  aspect-ratio: 1/1;
  border-radius: 1rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  filter: grayscale(100%) brightness(50%);
  -webkit-filter: grayscale(100%) brightness(50%);
  transition: all .2s;
}

label.vote-card__option {
  cursor: pointer;
}

.vote-card__option.is-winner {
  border-color: rgba(255, 255, 255, 0);
}

.vote-card__option > strong {
  font-weight: 600;
  color: #fff;
}

.vote-card__option.is-winner > strong {
  font-weight: 800;
}

.vote-card__option.is-winner > img, .btn-check:checked + .vote-card__option > img {
  filter: none;
  -webkit-filter: none;
}

.vote-card__option--left:not(div):hover {
  border-color: rgba(218, 250, 83, .5);
}

.vote-card__option--right:not(div) hover {
  border-color: rgba(39, 235, 208, .5);
}

.vote-card__option--left {
  background: rgba(218, 250, 83, .05);
}

.vote-card__option--left.is-winner {
  background: rgba(218, 250, 83, .1);
}

.vote-card__option--right {
  background: rgba(39, 235, 208, .05);
}

.vote-card__option--right.is-winner {
  background: rgba(39, 235, 208, .1);
}

.vote-card__option--left.is-winner > strong, .vote-card__option--left.is-winner > p {
  color: #dafa53;
}

.vote-card__option--right.is-winner > strong, .vote-card__option--right.is-winner > p {
  color: #27ebd0;
}

.btn-check:checked + .vote-card__option--left {
  border: 1px solid #dafa53;
}

.btn-check:checked + .vote-card__option--left p {
  color: #dafa53;
}

.btn-check:checked + .vote-card__option--right {
  border: 1px solid #27ebd0;
}

.btn-check:checked + .vote-card__option--right p {
  color: #27ebd0;
}

.btn-check:checked + .vote-card__option > img {
  filter: none;
  -webkit-filter: none;
}

.btn-check:checked + .vote-card__option:after {
  content: '';
  width: 32px;
  height: 32px;
  position: absolute;
  top: 12px;
  right: 12px
}

.btn-check:checked + .vote-card__option--left:after {
  background-image: url("../img/icon/icon-check-primary.svg");
}

.btn-check:checked + .vote-card__option--right:after {
  background-image: url("../img/icon/icon-check-tertiary.svg");
}

.progress-tier {
  position: relative;
  height: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.progress-tier .progress-tier-left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
  background: linear-gradient(to right, #dafa53, #2E2E31) no-repeat, 100% 0 #2E2E31;
  background-position-x: left;
  background-size: 0;
}

.progress-tier .progress-tier-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
  background: linear-gradient(to left, #27ebd0, #2E2E31) no-repeat, 100% 0 #2E2E31;
  background-position-x: right;
  background-size: 0;
}

.progress-tier .percentage {
  font-weight: 700;
  font-size: 1.25rem;
  padding: 0 1rem;
  color: #fff;
}

.progress-vote {
  width: 100%;
  height: 32px;
  background: #2e2e31;
  padding: 0 12px;
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 1fr 50px;
  align-items: center;
}

.progress-vote.progress-vote-primary {
  background: linear-gradient(to right, rgba(218, 250, 83, .2), rgba(218, 250, 83, .2)) no-repeat, 100% 0 #2e2e31;
  background-size: 0 auto;
}

.progress-vote.progress-vote-tertiary-light {
  background: linear-gradient(to right, rgba(39, 235, 208, .2), rgba(39, 235, 208, .2)) no-repeat, 100% 0 #2e2e31;
  background-size: 0 auto;
}

.progress-vote .title {
  text-align: start;
  font-weight: 500;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.progress-vote.progress-vote-primary .title {
  color: #dafa53 !important;
}

.progress-vote.progress-vote-tertiary-light .title {
  color: #27ebd0 !important;
}

.progress-vote .percentage {
  text-align: end;
  font-weight: 600;
  margin: 0;
  color: #FFF;
}

/* color */
.bg-primary {
  background: #dafa53 !important;
}

.bg-primary-light {
  background: rgba(218, 250, 83, .2);
}

.bg-secondary-light{
  background: rgba(255, 255, 255, .1);;
}

.bg-dark {
  background: #2e2e31 !important;
}

.bg-tertiary {
  background: #27ebd0 !important;
}

.bg-tertiary-light {
  background: rgba(39, 235, 208, .2);
}

.text-primary {
  color: #dafa53 !important;
}

.text-tertiary {
  color: #27ebd0 !important;
}

/* comment area */
.comment-box {
  padding: 20px;
  border-radius: 1rem;
  transition: all .2s;
  background-color: rgba(255, 255, 255, .05);
}

@media (max-width: 767px) {
  .comment-box {
    padding: 12px;
  }
}

.comment-box:not(:has(textarea)):hover {
  background-color: rgba(255, 255, 255, .08);
}

.comment-box textarea {
  width: 100%;
  height: auto;
  border: none;
  background-color: transparent;
  color: #bac2c8;
  outline: none;
  resize: none;
  min-height: 88px;
  overflow: hidden;
}

.comment-box textarea::placeholder {
  color: #717579;
}

.comment-box:has(>textarea) {
  border-width: 1px;
  border-color: rgba(255, 255, 255, .2);
  border-style: solid;
  background-color: transparent;
  background-color: #222225;
}

.comment-box:has(>textarea:focus) {
  border-color: rgba(255, 255, 255, .75);
}

.icon-medium {
  width: 24px;
  height: 24px;
}

.icon-large {
  width: 32px;
  height: 32px;
}

@media (max-width: 767px) {
  .icon-medium {
    width: 22px;
    height: 22px;
  }

  .icon-large {
    width: 28px;
    height: 28px;
  }
}

.badge {
  color: #dbdbdb;
}

.badge-secondary {
  background: #2e2e31;
}

/* input */
.form-check-input {
  width: 1.25em;
  height: 1.25em;
  background-color: #333;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: .4em;
  margin-top: .1em;
  transition: all .2s;
}

.form-check-input:hover {
  border-color: rgba(202, 255, 127, .5);
}

.form-check-input:focus {
  border-color: #dafa53;
  box-shadow: 0 0 0 0.25rem rgba(202, 255, 127, .25);
}

.form-check-input:checked[type=checkbox] {
  background-image: url("../img/icon/icon-check-primary.svg");
}

.form-check-input:checked {
  background-color: rgba(202, 255, 127, .2);
  border-color: #dafa53;
  border-radius: .4em;
}

.form-check-input:checked ~ .form-check-label {
  color: #fff;
  font-weight: 400;
}

.form-label {
  margin-bottom: 6px;
}

.form-control, .form-select {
  background-color: #28282a;
  border-color: rgba(255, 255, 255, .2);
  color: #bac2c8;
  padding: .75rem 1rem;
  border-radius: .75rem;
}

.form-control:hover, .form-select:hover {
  border-color: rgba(255, 255, 255, .5);
}

.form-control:focus, .form-select:focus {
  background-color: #28282a;
  color: #bac2c8;
  box-shadow: 0 0 0 4px rgba(202, 255, 127, .1);
  border-color: rgba(202, 255, 127, .6);

}

.form-control::placeholder {
  color: #717579;
}

.badge-tag {
  background-color: rgba(255, 255, 255, .1);
  color: #bac2c8;
  font-weight: 300;
  font-size: 14px;
  padding: 6px 8px;
  border-radius: .5rem;
  transition: all .2s;
  border-width: 1px;
  border-color: transparent;
  border-style: solid;
}

.btn-check:checked + .badge-tag {
  border-color: #dafa53;
  color: #dafa53;
  background: rgba(218, 250, 83, .2);
}

/* modal */
.modal-content {
  background-color: #1c1c1f;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #33333399;
}

.modal-content .modal-header {
  justify-content: center;
  position: relative;
  padding: 2.5rem 0 0;
  border: 0;
}

.modal-content .modal-body {
  padding: 1.5rem;
}

.modal-content .modal-footer {
  padding: 0 1.5rem 1.5rem;
}

.modal-header .btn-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent url("../img/icon/icon-close.svg") center / 1em auto no-repeat;
}


/* table */
table tr, table td {
  transition: all .2s;
  padding: 14px !important;
}


.table > :not(caption) > * > * {
  border: none;
}

.table-hover > tbody > tr:hover {
  --bs-table-accent-bg: rgba(218, 250, 83, .05);
}

.table-hover > tbody > tr:hover td {
  color: #dafa53 !important;
}


/* pagination */
.pagination .page-link {
  background: none;
  border: none;
  color: #bac2c8;
  transition: all .2s;
  border-radius: 50% !important;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

@media(max-width: 767px) {
  .pagination .page-link {
    width: 32px;
    height: 32px;
    font-size: 13.5px;
  }
}

.page-item:not(:first-child) .page-link {
  margin-left: 4px;
}

.page-item.active .page-link {
  background: rgba(218, 250, 83, .1);
  color: #dafa53;
  font-weight: 500;
}

.pagination.pagination-primary {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.pagination.pagination-primary .page-item.disabled .page-link {
  background: none;
}

/* vote edit */
.img-champion {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.select2-container--default .select2-selection--single {
  background: #28282a;
  border-color: rgba(255, 255, 255, .2);
  height: 50px;
  border-radius: .75rem;
  display: flex;
  align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  position: absolute;
  width: 20px;
  height: 26px;
  top: 12px;
  right: 8px;
}

.select2-container {
  height: 50px;
}

.select2-champion-style {
  background: #28282a;
}

.select2-dropdown.select2-champion-style {
  border-bottom-left-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, .2);
  overflow: hidden;
}

.select2-dropdown.select2-champion-style .select2-search__field {
  border: none !important;
  outline: none !important;
  background: none;
  color: #bac2c8 !important;
}

.select2-container--default .select2-champion-style .select2-results__option--highlighted[aria-selected] {
  background-color: #353535;
}

.select2-container--default .select2-champion-style .select2-results__option--highlighted[aria-selected] span {
  color: #fff;
}

.select2-container--default .select2-champion-style .select2-results__option[aria-selected=true] {
  background-color: rgba(218, 250, 83, .2);
  position: relative;
}

.select2-container--default .select2-champion-style .select2-results__option[aria-selected=true] span {
  color: #dafa53;
  font-weight: 500;
}

.select2-container--default .select2-champion-style .select2-results__option[aria-selected=true]:after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  background-image: url("../img/icon/icon-check-primary.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.select2-champion-style .select2-results__option {
  padding: 8px;
  margin: 6px 12px;
  border-radius: 12px;
}

.select2-champion-style .select2-search--dropdown {
  padding: 8px;
}


.video-thumbnail {
  aspect-ratio: 4/3;
  border-radius: 8px;
  background-color: #2e2e31;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  overflow: hidden;
}

.video-thumbnail iframe {
  width: 100%;
  height: calc(100% + 130px);
  margin-top: -65px;
}

/* mypage */

.mypage-profile-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #663EE9;
  border-radius: 1rem;
  padding: 20px 40px;
}

.mypage-profile-card > img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

@media (max-width: 767px) {
  .mypage-profile-card > img {
    width: 36px;
    height: 36px;
  }
}


/* table */

.table {
  border-color: rgba(255, 255, 255, .2);
}


/* sweetalert2 */

.custom-popup {
  background-color: #1c1c1f;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #33333399;
}

.custom-popup-container {
  color: #bac2c8;
}