.vote-tabs { background: #01050e; border-bottom-color: #01050e; }
.vote-tabs .sub-tabs__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpop-page { background: #030c19; color: #f6f7ff; }
.kpop-promotions { display: grid; width: min(1200px, calc(100% - 40px)); gap: 20px; margin: 120px auto 0; }
.kpop-promo--guide {position: relative; isolation: isolate; display: grid; min-height: 420px;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .8fr);
  align-items: center; overflow: hidden; border-radius: 10px;
  background-color: #7012c2;
  background-image:
    /* 1. 우측 상단 어두운 청보라 영역 (왼쪽으로 부드럽게 퍼짐) */
    radial-gradient(ellipse 34% 85% at 95% 8%, rgba(72, 28, 160, .85) 0%, rgba(80, 30, 168, .55) 55%, transparent 100%),
    /* 2. 하단 중앙~우측의 밝은 마젠타 빛 */
    radial-gradient(ellipse 38% 40% at 72% 108%, rgba(150, 12, 210, .55), transparent 100%),
    /* 3. 중앙이 밝은 기본 가로 그라디언트 */
    linear-gradient(100deg, #6e12bd 0%, #7013c0 28%, #7a16cc 50%, #8216d4 60%, #7b17cc 72%, #5a17b6 100%);}
	/* 우측의 큰 타원: 왼쪽은 배경에 녹아들고 오른쪽 경계는 또렷함 */
.kpop-promo--guide::before {content: "";
    content: "";
    position: absolute;
    z-index: 0;
    left: 59.5%;
    top: 40%;
    width: 35%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(90deg, rgba(100, 18, 172, 0) 0%, rgba(105, 18, 178, .75) 45%, rgba(100, 20, 175, .9) 100%);
    pointer-events: none;
}

/* 우측 하단 모서리의 밝은 보라 원호 */
.kpop-promo--guide::after {
content: "";
    position: absolute;
    z-index: 0;
    right: -17%;
    bottom: 15%;
    width: 47%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(135, 14, 205, 0) 0%, rgba(130, 14, 205, .55) 55%, rgba(125, 16, 200, .7) 100%);
    pointer-events: none;
}
.kpop-promo__copy { position: relative; z-index: 1; padding: 42px 0 40px 110px; }
.kpop-promo__eyebrow { font-size: 20px; font-weight: 700; line-height: 1.4; }
.kpop-promo__copy h2 { margin-top: 20px; font-size: 42px; font-weight: 700; line-height: 1.24; letter-spacing: -.035em; }
.kpop-promo__copy h2 strong { color: #ffec00; }
.kpop-promo__steps { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; margin-top: 17px; padding: 0; list-style: none; }
.kpop-promo__steps li:not([aria-hidden]) { padding: 10px 15px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; font-size: 16px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.kpop-promo__steps li[aria-hidden] { color: rgba(255, 255, 255, .9); font-size: 16px; }
.kpop-promo__note { margin-top: 18px; font-size: 16px; font-weight: 700; line-height: 1.5; }
.kpop-promo__button { display: inline-flex; width:240px; min-height: 56px; align-items: center; gap: 12px; margin-top: 22px; padding: 0 20px; border-radius: 9px; background: #3a087e; color: #fff; font-size: 18px; font-weight: 700; transition: background-color .2s, transform .2s; }
.kpop-promo__button:hover { transform: translateY(-2px); background: #2c0564; }
.kpop-promo__button svg { width: 22px; height: 22px; fill: currentColor; }
.kpop-promo__button svg path + path { fill: #3a087e; }
.kpop-promo__brand { position: relative; z-index: 1; display: grid; place-items: center; padding: 25px 95px 25px 10px; }
.kpop-promo__brand img { width: min(100%, 300px); height: auto; object-fit: contain; }
.kpop-promo--trot {position: relative; isolation: isolate; background-color: #9c13c9; background-image: radial-gradient(ellipse 48% 110% at 68% 100%, rgba(210, 34, 238, .58) 0%, rgba(184, 27, 222, .40) 55%, transparent 100%), linear-gradient(108deg, #9c13c9 0%, #8815bd 30%, #921bcd 50%, #9d20d9 68%, #8318c0 100%), radial-gradient(ellipse 38% 40% at 72% 108%, rgba(150, 12, 210, .55), transparent 100%); }
.kpop-promo--trot::before {content: "";
    content: "";
    position: absolute;
    z-index: 0;
    left: 59.5%;
    top: 40%;
    width: 35%;
    height: 100%;
    border-radius: 50%;
    background:radial-gradient(circle at 42% 38%, rgba(114, 17, 178, .20) 0%, rgba(105, 16, 174, .34) 60%, rgba(88, 16, 165, .44) 100%),  linear-gradient(90deg, rgba(100, 18, 172, 0) 0%, rgba(105, 18, 178, .75) 45%, rgba(100, 20, 175, .9) 100%);
    pointer-events: none;
}
/* 우측 하단 모서리의 밝은 보라 원호 */
.kpop-promo--trot::after {
content: "";
    position: absolute;
    z-index: 0;
    right: -17%;
    bottom: 15%;
    width: 47%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(135, 14, 205, 0) 0%, rgba(130, 14, 205, .55) 55%, rgba(125, 16, 200, .7) 100%);
    pointer-events: none;
}
.kpop-promo--trot .kpop-promo__copy { padding: 30px 0 29px 110px; }
.kpop-promo--trot .kpop-promo__copy h2 { margin-top: 24px; font-size: 42px; line-height: 1.28; }
.kpop-promo--trot .kpop-promo__steps { gap: 3px; margin-top: 24px; }
.kpop-promo--trot .kpop-promo__steps li:not([aria-hidden]) { padding: 10px 12px; font-size: 14px; }
.kpop-promo--trot .kpop-promo__steps li[aria-hidden] { font-size: 14px; }
.kpop-promo__notes { display: grid; gap: 2px; margin-top: 20px; padding-left: 15px; list-style: disc; }
.kpop-promo__notes li { font-size: 15px; font-weight: 600; line-height: 1.35; }
.kpop-promo__buttons { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.kpop-promo__buttons .kpop-promo__button { min-height: 56px; margin-top: 0; padding: 0 17px; font-size: 18px; }
.kpop-promo__mubit-mark { color: #fff; font-size: 28px; font-weight: 800; line-height: 1; letter-spacing: -.08em; }
.kpop-promo__button--champ { background: #4a087f; }
.kpop-promo__button--champ svg { fill: #e34be9; }
.kpop-promo__button--champ svg path + path { fill: url(#trot-champ-crown); }
.kpop-promo__button--champ:hover { background: #390660; }
.kpop-promo--prevote { position: relative; overflow: hidden; border-radius: 9px; background: #111a38; }
.kpop-promo__slides { display: flex; transition: transform .65s cubic-bezier(.22, 1, .36, 1); will-change: transform; }
.kpop-promo__slide { display: block; min-width: 100%; }
.kpop-promo__slide img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 252; object-fit: cover; }
.kpop-promo__slider-controls { position: absolute; right: 16px; bottom: 14px; display: flex; align-items: center; gap: 10px; padding: 6px 9px; border-radius: 999px; background: rgba(3, 12, 25, .72); }
.kpop-promo__slider-controls > button { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: #fff; font-size: 23px; line-height: 1; }
.kpop-promo__slider-dots { display: flex; align-items: center; gap: 7px; }
.kpop-promo__slider-dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .48); }
.kpop-promo__slider-dots button[aria-pressed="true"] { width: 20px; border-radius: 999px; background: #fff; }

.kpop-results { margin-top: 205px; padding-bottom: 150px; }
.kpop-results__container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.kpop-results__title { margin: 0; font-size: 48px; font-weight: 500; line-height: 1.3; text-align: center; letter-spacing: -.035em; }
.kpop-round-tabs { display: flex; width: max-content; max-width: 100%; align-items: center; gap: 20px; margin: 70px auto 0; overflow-x: auto; padding: 4px 6px 8px; scrollbar-width: none; }
.kpop-round-tabs::-webkit-scrollbar { display: none; }
.kpop-round-tabs__button { flex: 0 0 auto; min-width: 144px; min-height: 52px; padding: 0 25px; border: 1px solid #24344f; border-radius: 999px; color: #e4e8f2; line-height: 1.2; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s; }
.kpop-round-tabs__button[aria-pressed="true"] { border-color: #1048a6; background: #1048a6; color: #fff; }
.kpop-round-tabs__button:hover { border-color: #4776c8; }
.kpop-category-row { display: flex; align-items: center; gap: 12px; margin-top: 55px; }
.kpop-category-scroller { min-width: 0; flex: 1 1 auto; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; scroll-behavior: smooth; }
.kpop-category-scroller::-webkit-scrollbar { display: none; }
.kpop-category-scroller.has-overflow-left { mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 100%); }
.kpop-category-scroller.has-overflow-right { mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 24px), transparent 100%); }
.kpop-category-scroller.has-overflow-left.has-overflow-right { mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); }
.kpop-category-list { display: flex; width: max-content; min-width: 100%; align-items: center; justify-content: space-between; gap: 26px; padding: 5px 2px 12px; }
.kpop-category { flex: 0 0 auto; color: #d7dbea; line-height: 1.4; white-space: nowrap; transition: color .2s; }
.kpop-category:hover, .kpop-category[aria-pressed="true"] { color: #8fb2ff; }
.kpop-category-arrow { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 50%; background: #111d32; color: #dce5f9; }
.kpop-category-arrow[hidden] { display: none; }
.kpop-category-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.kpop-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 60px; row-gap: 76px; margin-top: 43px; }
.kpop-card { min-width: 0; }
.kpop-card[hidden] { display: none; }
.kpop-card__image { display: block; width: 100%; aspect-ratio: 1; border-radius: 9px; background: #121a27; object-fit: cover; }
.kpop-card__caption { padding-top: 15px; }
.kpop-card__heading { display: flex; min-width: 0; align-items: baseline; gap: 20px; }
.kpop-card__rank { flex: 0 0 auto; color: #7182d8; font-size: 34px; font-weight: 800; line-height: 1.15; }
.kpop-card:nth-child(-n+3) .kpop-card__rank { color: #ffd424; }
.kpop-card__heading h3 { min-width: 0; overflow: hidden; font-size: 19px; font-weight: 600; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.kpop-card__stats { display: flex; align-items: center; gap: 8px; margin: 3px 0 0 40px; color: #e3e7f1; font-size: 14px; line-height: 1.45; white-space: nowrap; }
.kpop-card__stats strong { font-weight: 700; }
.kpop-card__track { height: 12px; margin: 9px 8px 0 40px; overflow: hidden; border-radius: 999px; background: #0e1b2e; }
.kpop-card__fill { display: block; width: var(--vote-share, 0%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #5940d4 0%, #e20adf 100%); transition: width .6s cubic-bezier(.22, 1, .36, 1); }

.fx .kpop-promo[data-reveal], .fx .kpop-results__title[data-reveal], .fx .kpop-round-tabs[data-reveal], .fx .kpop-category-row[data-reveal], .fx .kpop-card[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.fx .kpop-promo[data-reveal].is-in, .fx .kpop-results__title[data-reveal].is-in, .fx .kpop-round-tabs[data-reveal].is-in, .fx .kpop-category-row[data-reveal].is-in, .fx .kpop-card[data-reveal].is-in { opacity: 1; transform: none; }

.update {display:flex;align-items: center; font-size: 14px; color: #ddd; justify-content: flex-end; gap:10px; margin-top:20px;  font-size:14px; color:#ddd;}
.update svg {width:auto; height:14px;}
.update .btns {display:flex; gap:4px;}
.update .btns > div {display:flex; align-items:center; gap:8px; border:1px solid #364c6d; padding:4px 8px; border-radius:8px;}
.update .btns > div:hover,
.update.btns > div.active {background:#0e1435; cursor:pointer;}
.update h4 {color:#4b5fc5;}
.update .reload {margin-left:4px; height:18px;}
.update .fandora svg {height:20px;}

@media (max-width: 1024px) {
  .kpop-promotions { margin-top: 90px; }
  .kpop-promo--guide { min-height: 360px; grid-template-columns: minmax(0, 1.35fr) minmax(230px, .8fr); }
  .kpop-promo__copy { padding-left: 55px; }
  .kpop-promo__copy h2 { font-size: 34px; }
  .kpop-promo__brand { padding-right: 24px; }
  .kpop-promo--trot .kpop-promo__copy { padding: 26px 25px 24px 55px; }
  .kpop-promo--trot .kpop-promo__copy h2 { margin-top: 18px; font-size: 36px; }
  .kpop-round-tabs { gap: 12px; }
  .kpop-round-tabs__button { min-width: 122px; min-height: 48px; padding: 0 18px; font-size: 16px; }
  .kpop-category-list { justify-content: flex-start; }
  .kpop-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 28px; }
}

@media (max-width: 640px) {
  .kpop-promotions { width: calc(100% - 32px); gap: 12px; margin-top: 55px; }
  .kpop-promo--guide { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 8px; }
  .kpop-promo--guide::before { left: auto; right: -12%; top: auto; bottom: -26%; width: 245px; height: 200px; }
  .kpop-promo--guide::after  { right: -20%; bottom: -30%; width: 220px; }
  .kpop-promo__copy { padding: 28px 22px 0; }
  .kpop-promo--trot .kpop-promo__copy { padding: 28px 22px 0; }
  .kpop-promo__eyebrow { font-size: 14px; }
  .kpop-promo__copy h2 { margin-top: 14px; font-size: clamp(21px, 5.7vw, 30px); }
  .kpop-promo__steps { gap: 5px; margin-top: 18px; }
  .kpop-promo__steps li:not([aria-hidden]) { padding: 7px 9px; font-size: 12px; }
  .kpop-promo__steps li[aria-hidden] { font-size: 14px; }
  .kpop-promo__note { margin-top: 14px; font-size: 11px; }
  .kpop-promo__button { min-height: 44px; gap: 8px; margin-top: 16px; padding: 0 14px; font-size: 14px; }
  .kpop-promo__button svg { width: 18px; height: 18px; }
  .kpop-promo__brand { justify-self: end; width: 205px; padding: 4px 18px 18px 0; }
  .kpop-promo--guide::before { top: auto; right: -10%; bottom: -28%; width: 245px; }
  .kpop-promo--trot::before { top: auto; right: -10%; bottom: -28%; width: 245px; }
  .kpop-promo--trot .kpop-promo__copy h2 { margin-top: 14px; font-size: clamp(21px, 5.7vw, 30px); }
  .kpop-promo--trot .kpop-promo__steps { gap: 5px; margin-top: 18px; }
  .kpop-promo--trot .kpop-promo__steps li:not([aria-hidden]) { padding: 7px 9px; font-size: 12px; }
  .kpop-promo__notes { gap: 3px; margin-top: 12px; padding-left: 13px; }
  .kpop-promo__notes li { font-size: 12px; }
  .kpop-promo__buttons { gap: 8px; margin-top: 14px; }
  .kpop-promo__buttons .kpop-promo__button { min-height: 44px; padding: 0 12px; font-size:14px; }
  .kpop-promo__buttons .kpop-promo__button svg { width: 18px; height: 18px; }
  .kpop-promo--prevote { border-radius: 6px; }
  .kpop-promo__slider-controls { right: 8px; bottom: 8px; gap: 4px; padding: 4px 6px; }
  .kpop-promo__slider-controls > button { width: 23px; height: 23px; font-size: 19px; }
  .kpop-promo__slider-dots { gap: 5px; }
  .kpop-promo__slider-dots button { width: 6px; height: 6px; }
  .kpop-promo__slider-dots button[aria-pressed="true"] { width: 15px; }
  .kpop-results { margin-top: 90px; padding-bottom: 80px; }
  .kpop-results__container { width: calc(100% - 32px); }
  .kpop-results__title { font-size: 30px; }
  .kpop-round-tabs { width: 100%; gap:4px; justify-content: flex-start; margin-top: 38px; }
  .kpop-round-tabs__button { min-width: 100px; min-height: 42px; padding: 0 14px; font-size:14px; }
  .kpop-category-row { gap: 5px; margin-top: 28px; }
  .kpop-category-list { gap: 22px; }
  .kpop-category-scroller.has-overflow-left { mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 100%); }
  .kpop-category-scroller.has-overflow-right { mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 18px), transparent 100%); }
  .kpop-category-scroller.has-overflow-left.has-overflow-right { mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%); }
  .kpop-category { font-size: 14px; }
  .kpop-category-arrow { width: 28px; height: 32px; flex-basis: 28px; }
  .kpop-category-arrow svg { width: 17px; height: 17px; }
  .kpop-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 14px; margin-top: 25px; }
  .kpop-card__image { border-radius: 6px; }
  .kpop-card__caption { padding-top: 9px; }
  .kpop-card__heading { gap: 9px; }
  .kpop-card__rank { font-size: 24px; }
  .kpop-card__heading h3 { font-size: 22px; }
  .kpop-card__stats { flex-wrap: wrap; gap: 4px; margin: 3px 0 0 30px; font-size:16px; }
  .kpop-card__track { height: 8px; margin: 6px 0 0 30px; }
}

@media (max-width: 380px) {
  .kpop-card-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .kpop-category-scroller { scroll-behavior: auto; }
  .kpop-promo__slides { transition: none; }
  .kpop-promo__button, .kpop-round-tabs__button, .kpop-category, .kpop-card__fill { transition: none !important; }
  .fx .kpop-promo[data-reveal], .fx .kpop-results__title[data-reveal], .fx .kpop-round-tabs[data-reveal], .fx .kpop-category-row[data-reveal], .fx .kpop-card[data-reveal] { opacity: 1; transform: none; transition: none; }
}


/* KPOP Voting iframe */
.kpop-voting-embed {
    width: 100%;
    max-width: 100%;
    margin: 40px auto 80px;
    padding: 0 20px;
    box-sizing: border-box;
    background: #030c19;
    scrollbar-width: thin;
    scrollbar-color: #586579 #030c19;
}

.kpop-voting-embed::-webkit-scrollbar {
    width: 6px;
}

.kpop-voting-embed::-webkit-scrollbar-track {
    background: #030c19;
}

.kpop-voting-embed::-webkit-scrollbar-thumb {
    border: 1px solid #030c19;
    border-radius: 999px;
    background: #586579;
}

.kpop-voting-embed__inner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    min-height: 900px;
    margin: 0 auto;
    overflow: hidden;
    background: #030c19;
}

.kpop-voting-embed__inner iframe {
    display: block;
    width: 100%;
    height: 1200px;
    border: 0;
    margin: 0;
    background: #030c19;
    scrollbar-width: thin;
    scrollbar-color: #586579 #030c19;
}

.kpop-voting-embed__inner iframe::-webkit-scrollbar {
    width: 6px;
}

.kpop-voting-embed__inner iframe::-webkit-scrollbar-track {
    background: #030c19;
}

.kpop-voting-embed__inner iframe::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #586579;
}

/* Tablet */
@media (max-width: 1024px) {
    .kpop-voting-embed {
        margin: 30px auto 60px;
        padding: 0 15px;
    }

    .kpop-voting-embed__inner {
        min-height: 1000px;
    }

    .kpop-voting-embed__inner iframe {
        height: 1400px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .kpop-voting-embed {
        margin: 20px auto 40px;
        padding: 0;
    }

    .kpop-voting-embed__inner {
        min-height: 1200px;
        border-radius: 0;
    }

    .kpop-voting-embed__inner iframe {
        height: 1800px;
    }
}
