@media (max-width: 1800px) {
  :root {
    --gutter: clamp(20px, 3.5vw, 72px);
  }
}

@media (max-width: 1440px) {
  :root {
    --header-h: 96px;
  }

  .site-header {
    padding-inline: clamp(24px, 6.25vw, 120px);
  }

  /* ── HEADER: logo + GNB co theo vw, không cho xuống dòng/đè nhau ── */
  .site-header__logos {
    flex-shrink: 0;
    gap: clamp(12px, 1.6vw, 28px);
  }

  .site-header__logos img {
    height: clamp(28px, 2.7vw, 39px);
  }

  .site-header__logos img.is-tall {
    height: clamp(38px, 3.75vw, 54px);
  }

  .gnb {
    gap: clamp(24px, 4vw, 60px);
    min-width: 0;
  }

  .gnb a {
    padding: 10px 0;
    font-size: clamp(14px, 1.1vw, 22px);
    white-space: nowrap;
  }

  .side-nav {
    right: clamp(20px, 6vw, 110px);
    top: calc(var(--header-h) + 40px);
  }
}

@media (max-width: 1280px) {
  .side-nav {
    transform: scale(0.9);
    transform-origin: right top;
  }
}

@media (max-width: 1200px) {
  :root {
    --header-h: 84px;
  }

  .side-nav__list {
    display: none;
  }

  .side-nav {
    bottom: clamp(20px, 4vw, 36px);
    top: unset;
    right: clamp(14px, 3.5vw, 28px);
    transform: none;
    z-index: 90;
  }

  .side-nav__top {
    width: clamp(40px, 9.5vw, 52px);
    height: clamp(40px, 9.5vw, 52px);
    font-size: clamp(10.5px, 2.5vw, 13px);
    gap: 2px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  }

  .side-nav__top::before {
    width: clamp(6px, 1.5vw, 8px);
    height: clamp(6px, 1.5vw, 8px);
    border-top: 2.5px solid currentColor;
    border-left: 2.5px solid currentColor;
    transform: rotate(45deg) translate(1px, 1px);
  }

  .gnb__toggle {
    display: block;
  }

  .gnb {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
    background: var(--c-ink);
    border-bottom: 1px solid rgba(220, 220, 220, 0.3);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s;
  }

  .gnb.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .gnb a {
    padding: 14px var(--gutter);
    font-size: 17px;
  }

  .gnb__auth {
    margin: 8px var(--gutter) 0;
    gap: 16px;
  }

  .hero__stage {
    aspect-ratio: auto;
    clip-path: none;

    padding: calc(var(--header-h) + 60px) var(--gutter) 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 90px;
    background: #050b1e;
  }

  .hero__top,
  .hero__intro {
    position: static;
    transform: none;
    width: 100%;
    max-width: 640px;
    gap: 40px;
  }

  .hero__logo {
    width: 100%;
  }

  .hero__copy {
    gap: 32px;
  }

  .hero__lead {
    font-size: var(--fs-hero-lead);
    white-space: normal;
  }

  .hero__cta {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero__scroll {
    width: 26px;
  }

  .hero__intro h2 {
    font-size: var(--fs-section);
  }

  .hero__intro-body {
    gap: 28px;
  }

  .hero__intro-body p {
    font-size: var(--fs-lead);
    white-space: normal;
  }

  .hero .btn {
    gap: 10px;
    padding: 15px 30px;
    font-size: var(--fs-btn);
    border-radius: var(--r-pill);
  }

  .hero .btn--fixed {
    width: auto;
    padding-inline: 30px;
  }

  .hero__intro .btn {
    padding: 10px 24px;
    font-size: 18px;
    line-height: 22px;
  }

  .bub,
  .hero__sheep {
    display: none;
  }

  .hero__mascot {
    position: static;
    width: min(300px, 62%);
    order: 3;
  }

  .sky {
    margin-top: 0;
  }

  .h2day {
    padding-top: 130px;
  }

  .challenge {
    padding: 110px 0 90px;
  }

  .challenge--riddle,
  .challenge--bangbang,
  .challenge--saw,
  .challenge--adventure {
    height: auto;
    min-height: 0;

  }

  .challenge__inner {
    flex-direction: column;
    align-items: center;
  }

  .challenge--song {
    padding-bottom: 110px;
    overflow: hidden;
  }

  .challenge--song .challenge__actions {
    margin-bottom: 0;
  }

  .challenge__col {
    width: 100%;
    max-width: 640px;
  }

  .challenge--bangbang .challenge__col {
    gap: 56px;
  }

  .challenge--bangbang .challenge__desc {
    margin-top: 12px;
  }

  .challenge--bangbang .how {
    gap: 20px;
  }

  .challenge--bangbang .how__list {
    gap: 20px;
  }

  .challenge__art {
    width: 100%;
    max-width: 640px;
    margin-top: 40px;
    margin-left: 0;
  }

  .challenge--riddle .challenge__inner,
  .challenge--bangbang .challenge__inner,
  .challenge--saw .challenge__inner,
  .challenge--adventure .challenge__inner {
    justify-content: center;
  }

  .challenge--riddle .challenge__art,
  .challenge--bangbang .challenge__art,
  .challenge--song .challenge__art,
  .challenge--saw .challenge__art {
    position: static;
    width: 100%;
    margin-top: 40px;
  }

  .prize-tag {
    position: relative;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0 auto 40px;
    transform: none;
  }

  .prize-tag__disc {
    width: 96px;
    height: 96px;
  }

  .prize-tag__count {
    position: absolute;
    left: 58px;

    top: 0;
    width: 38px;
    height: 38px;
    font-size: 11px;
  }

  .prize-tag__label {
    margin: 0;
    color: var(--c-white);
  }

  .challenge__steps {
    flex-wrap: nowrap;
    gap: 0;
    justify-content: center;
  }

  .reward+.reward {
    margin-left: 0;
  }

  .step {
    width: auto;
    height: auto;
    min-width: 150px;
    justify-content: center;
    padding: 18px 28px;
    border-radius: 120px;
  }

  .reward-row {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .reward {
    width: auto;
    height: auto;
    min-height: 0;
    justify-content: center;
    padding: 20px 28px;
    border-radius: 60px;
  }

  .reward--plain {
    padding-top: 20px;
  }

  .reward__value {
    margin-top: 0;
  }

  .schedule__grid,
  .schedule__grid--last {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .ch-card {
    width: min(100%, 320px);
    flex-shrink: 0;
  }

  .prize-grid {
    grid-template-columns: repeat(2, 238.57px);
    gap: 43px 32px;
    justify-content: center;
  }

  .prizes__deco {
    display: none;
  }

  .portal__art img {
    width: 46%;
  }

  .h2day,
  .schedule,
  .prizes,
  .portal,
  .outro {
    padding-top: 110px;
    padding-bottom: 110px;
  }

  .outro {
    padding-bottom: 0;
  }

  .outro__rule {
    margin-top: 90px;
  }

  .outro__gallery-title {
    margin: 100px 0 50px;
  }

  .outro__msg {
    gap: 60px;
  }

  .outro__msg p+p {
    margin-top: 60px !important;
  }

  .marquee__item {
    width: 240px;
    height: 312px;
  }

  /* ── 1. Rút ngắn khoảng cách H2DAY → SCHEDULE ── */
  .h2day {
    padding-top: 110px;
    padding-bottom: 40px;
  }

  .schedule {
    padding-top: 24px;
  }

  /* ── 2. Step / Reward: giữ hình tròn như PC ── */
  .step,
  .reward {
    width: clamp(150px, 21vw, 200px);
    height: clamp(150px, 21vw, 200px);
    min-width: 0;
    min-height: 0;
    aspect-ratio: 1;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 20px 10px 0;
    border-radius: 50%;
  }

  .step__icon,
  .reward__icon {
    width: clamp(44px, 5.6vw, 60px);
    height: clamp(44px, 5.6vw, 60px);
  }

  .reward {
    padding-top: 24px;
  }

  .reward--plain {
    padding-top: 34px;
  }

  .reward--plain .reward__icon {
    width: clamp(58px, 7.2vw, 80px);
    height: clamp(58px, 7.2vw, 80px);
  }

  .reward__value {
    margin-top: 8px;
  }

  .reward-row {
    gap: 12px;
  }

  .challenge__steps {
    gap: 0;
  }

  .step+.step {
    margin-left: calc(clamp(150px, 21vw, 200px) * -0.13);
  }

  /* ── 3. Prize tag: đưa lên sát đầu section và phóng to ── */
  .prize-tag {
    top: 0;
    gap: 24px;
    margin: 0 auto 48px;
  }

  .prize-tag__disc {
    width: 140px;
    height: 140px;
  }

  .prize-tag__count {
    left: 96px;
    top: 0;
    width: 52px;
    height: 52px;
    font-size: 14px;
  }

  .prize-tag__label {
    font-size: clamp(15px, 2vw, 20px);
  }

  .challenge--adventure .prize-tag__disc img {
    /* left: -24px; */
    /* top: 30px; */
    width: 140px;
    height: 80px;
  }

}

/* @media (max-width: 1024px) {
  :root {
    --header-h: 78px;
  }

  .hero__stage {
    padding: calc(var(--header-h) + 40px) var(--gutter) 70px;
    gap: 64px;
  }

  .hero__top,
  .hero__intro {
    max-width: 560px;
    gap: 32px;
  }

  .hero__mascot {
    width: min(260px, 55%);
  }

  .prizes,
  .portal,
  .outro {
    padding-bottom: 90px;
  }

  .prizes,
  .portal {
    padding-top: 90px;
  }

  .h2day {
    padding-top: 100px;
    padding-bottom: 32px;
  }

  .schedule {
    padding-top: 20px;
    padding-bottom: 90px;
  }

  .schedule__grid,
  .schedule__grid--last {
    gap: 16px;
  }

  .ch-card {
    width: min(100%, 300px);
  }

  .challenge {
    padding: 90px 0 80px;
  }

  .challenge__col,
  .challenge__art {
    max-width: 560px;
  }

  .challenge__actions .btn,
  .challenge__actions .btn:nth-child(2) {
    width: min(100%, 280px);
  }

  .prize-grid {
    gap: 44px 28px;
  }

  .portal__art img {
    height: clamp(120px, 20vw, 200px);
  }

  .outro__msg {
    gap: 48px;
  }

  .outro__msg p+p {
    margin-top: 48px !important;
  }

  .outro__rule {
    margin-top: 80px;
  }

  .outro__gallery-title {
    margin: 80px 0 40px;
  }

  .marquee__item {
    width: 210px;
    height: 273px;
  }
} */

@media (max-width: 850px) {
  .prize-tag {
    top: 0;
  }
}

@media (max-width: 767px) {

  /* mobile: chữ nhỏ nhất là 16px -> khoá root 16px, không co xuống 14px nữa */
  html {
    font-size: 16px;
  }

  :root {
    --header-h: 72px;
    --gutter: 18px;

    --fs-hero-lead: 1.0625rem;

    --fs-section: 2rem;

    --fs-challenge: 2.25rem;

    --fs-card-title: 1.375rem;

    --fs-lead: 1rem;

    --fs-body: 1rem;

    --fs-sm: 1rem;

    --fs-btn: 1rem;

    --fs-btn-sm: 1rem;

  }

  .site-header__logos {
    gap: 14px;
    align-items: center;
    min-width: 0;
  }

  .site-header__logos img {
    height: 28px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .site-header__logos img.is-tall {
    height: 38px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .btn {
    padding: 15px 30px;
    gap: 10px;
  }

  .hero__stage {
    gap: 64px;
  }

  .marquee {
    mask-image: unset;
  }

  /* ── Mobile: bật lại vài quả cầu H2 làm nền cho hero ── */
  .bub {
    display: block;
  }

  .bub--2,
  .bub--3,
  .bub--6,
  .bub--8 {
    display: none;
  }

  .bub--1 {
    left: auto;
    right: 2%;
    top: 7%;
    width: calc(24vw - 20px);
  }

  .bub--9 {
    left: 2%;
    top: 22%;
    width: calc(22vw - 20px);
  }

  .bub--7 {
    left: auto;
    right: 2%;
    top: 62%;
    width: 15vw;
  }

  .bub--4 {
    left: 4%;
    top: 68%;
    width: 18vw;
  }

  .bub--5 {
    left: 16%;
    top: 47%;
    width: 8vw;
  }

  .hero__cta .btn {
    width: 100%;
    max-width: 320px;
  }

  .schedule__grid,
  .schedule__grid--last {
    margin-top: 40px;
  }

  .ch-card__thumb {
    width: 180px;
    height: 186px;
  }

  .challenge__actions {
    flex-wrap: wrap;
    width: 100%;
  }

  .challenge__actions .btn,
  .challenge__actions .btn:nth-child(2) {
    width: 100%;
    max-width: 320px;
  }

  .challenge__steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .step {
    width: 13.5rem;

    height: 13.5rem;

    min-width: 0;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1.25rem 0.625rem 0;

    gap: 0.6875rem;

    text-align: center;
  }

  .step+.step {
    /* margin-top: -1.75rem; */
    margin-top: -0.75rem;

    margin-left: 0;
  }

  .step__label {
    margin-top: 0.625rem;

  }

  .step__icon {
    width: 3.75rem;

    height: 3.75rem;

  }

  .reward-row {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .reward {
    width: 13.5rem;

    height: 13.5rem;

    min-width: 0;
    min-height: 0;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1.5625rem 0.5rem 0;

    gap: 0.6875rem;

    text-align: center;
  }

  .reward+.reward {
    margin-top: -1.75rem;

    margin-left: 0;
  }

  .reward__icon {
    width: 3.75rem;

    height: 3.75rem;

  }

  .reward--plain {
    padding-top: 2.25rem;

  }

  .reward--plain .reward__icon {
    width: 5rem;

    height: 5rem;
  }

  .reward__value {
    margin-top: 0.625rem;

  }

  .prizes__confetti {
    display: none;
  }

  .prize-grid {
    /* grid-template-columns: repeat(2, minmax(0, 150px)); */
    gap: 60px 36px;
  }

  .prize,
  .prize__disc {
    width: 100%;
  }

  .prize__disc {
    height: auto;
    aspect-ratio: 1;
  }

  .prize__count {
    min-width: 46px;
    height: 46px;
    font-size: 1rem;
  }

  .prize-tag__count {
    font-size: 1rem;
  }

  .btn__arrow {
    font-size: 1em;
  }

  .prize-tag__label {
    font-size: clamp(1rem, 2vw, 20px);
  }

  .prizes__meta {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  /* 2 dòng meta: chip trái bằng nhau, text phải thẳng hàng nhau */
  .meta-item {
    display: grid;
    grid-template-columns: 8.25rem 1fr;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 21rem;
  }

  .meta-item__key {
    padding: 10px 0;
    text-align: center;
  }

  .meta-item__val {
    text-align: left;
  }

  .allclear__card-top {
    padding: 24px 18px 20px;
    gap: 20px;
  }

  .portal__art {
    flex-wrap: wrap;
    gap: 10px;
  }

  .portal__art img {
    width: 44%;
    margin: 0;
  }

  .marquee__item {
    width: 170px;
    height: 221px;
  }

  .site-footer__meta .sep {
    display: block;
    height: 0;
    margin: 6px 0;
    overflow: hidden;
    color: transparent;
  }

  .site-footer__links a {
    padding: 12px 26px;
  }

  .h2day {
    padding-bottom: 0px;
  }

  .h2day__head {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .h2day__head img {
    margin-top: 0;
    width: 72px;
  }

  .h2day h2 {
    text-align: center;
    word-break: keep-all;
  }

  .h2day__body {
    text-align: center;
  }

  .h2day__body p {
    word-break: keep-all;
  }

  .h2day__body br:not(.mo-br) {
    display: none;
  }

  .schedule {
    padding-top: 30px;
  }

  .challenge--adventure {
    /* padding-bottom: 0; */
  }
}

/* ── ≤530px: ngắt dòng tiếng Hàn cho đẹp (không cắt giữa từ) ── */
@media (max-width: 530px) {

  br.mo-br {
    display: block !important;
  }

  /* bỏ <br> cứng của bản desktop, để chữ tự xuống dòng theo bề rộng máy */
  .hero__lead br:not(.mo-br),
  .hero__intro-body p br:not(.mo-br),
  .h2day__body p br:not(.mo-br),
  .h2day__head h2 br:not(.mo-br),
  .challenge__desc br:not(.mo-br),
  .portal p br:not(.mo-br),
  .allclear__sub br:not(.mo-br),
  .outro__msg p br:not(.mo-br) {
    display: none;
  }

  /* Smart Line Wrapping for ALL Headings and Paragraphs on Mobile */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    word-break: keep-all;
    overflow-wrap: break-word;
    line-break: normal;
    text-wrap: balance;
  }

  p {
    word-break: keep-all;
    overflow-wrap: break-word;
    line-break: normal;
    text-wrap: pretty;
  }

  /* Specific typography classes for fine-tuned Korean wrapping */
  .hero__lead,
  .hero__intro h2,
  .hero__intro-body p,
  .h2day h2,
  .h2day__body p,
  .schedule__head h2,
  .schedule__desc,
  .schedule__head .period-note,
  .ch-card__title,
  .ch-card__date,
  .challenge__title-text,
  .challenge__desc,
  .how__title,
  .period,
  .step__label,
  .reward__value,
  .prize__label,
  .prize-tag__label,
  .notice-sec__title,
  .notice-sec__desc,
  .notice-item__title,
  .notice-item__desc,
  .notice-list p,
  .notice-list li,
  .prize-notice-box p,
  .prize-notice-box li,
  .winner-banner__title,
  .winner-banner__desc,
  .info-sites__title,
  .info-sites__desc,
  .allclear h3,
  .allclear__sub,
  .allclear__card-top p,
  .allclear__card-bottom,
  .portal h3,
  .portal p,
  .outro__title,
  .outro__desc,
  .outro__msg p,
  .outro__gallery-title,
  .site-footer__meta {
    word-break: keep-all;
    overflow-wrap: break-word;
    line-break: normal;
    text-wrap: pretty;
  }

  /* Short titles: balanced distribution across lines */
  .hero__intro h2,
  .h2day h2,
  .schedule__head h2,
  .challenge__title-text,
  .notice-sec__title,
  .winner-banner__title,
  .info-sites__title,
  .allclear h3,
  .portal h3,
  .outro__title,
  .outro__msg p,
  .outro__gallery-title {
    text-wrap: balance;
  }

  /* Prevent awkward single-word orphan wrapping on intro sentences */
  .hero__lead,
  .hero__intro-body p,
  .h2day__body p,
  .challenge__desc,
  .portal p {
    max-width: 32ch;
    margin-inline: auto;
  }

  .prize-tag__label {
    white-space: normal;
  }

  .how-step__link {
    width: auto;
    max-width: 100%;
    height: 38px;
    font-size: 15px;
    line-height: 18px;
    padding: 0 18px;
  }

  .how-step__link img {
    width: 8px;
    height: 12px;
  }
}

/* @media (max-width: 468px) {
  :root {
    --fs-hero-lead: clamp(3px, 3.2vw, 1.07rem);

    --fs-section: clamp(3px, 6.2vw, 2rem);

    --fs-lead: clamp(3px, 3.2vw, 1rem);

  }
} */

/* ── CHALLENGE 1 : 수소께끼 (Figma 3:1447) ── */
@media (max-width: 1200px) {
  .challenge--v2 {
    padding-top: 130px;
  }

  .challenge--v2 .challenge__col {
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .challenge--v2 .challenge__head {
    align-items: center;
    max-width: 640px;
  }

  .challenge__dates {
    justify-content: center;
  }

  .challenge__how {
    justify-content: center;
    align-items: center;
    gap: 40px;
  }

  .how {
    align-items: flex-start;
    width: auto;
  }

  .prize-tag--inline {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 168px;
    margin: 0 auto;
  }

  .prize-tag--inline .prize-tag__disc {
    position: relative;
    width: 168px;
    height: 168px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
  }

  .prize-tag--inline .prize-tag__art {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 82%;
    height: auto;
    max-width: 84%;
    max-height: 84%;
    object-fit: contain;
    z-index: 1;
  }

  .prize-tag--inline .prize-tag__count {
    position: absolute;
    left: auto;
    right: 0;
    top: 0;
    width: 58px;
    height: 58px;
    z-index: 5;
  }

  .prize-tag--inline .prize-tag__label {
    margin-top: 16px;
    font-size: 18px;
    font-weight: 700;
  }

  .challenge--v2 .challenge__actions {
    margin-top: 0;
  }
}

@media (max-width: 530px) {
  .challenge__how {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }

  .how {
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
  }

  .how__title {
    text-align: left;
  }

  .how__list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .how-step {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: clamp(14px, 3.5vw, 20px);
    width: 100%;
  }

  .how-step--stacked {
    align-items: flex-start;
    gap: clamp(14px, 3.5vw, 20px);
  }

  .how-step__no {
    flex-shrink: 0;
    min-width: clamp(72px, 18vw, 84px);
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px clamp(8px, 2.5vw, 14px);
    font-size: clamp(12px, 3vw, 14px);
    border-radius: 50px;
    line-height: 1.3;
    white-space: nowrap;
    text-align: center;
  }

  .how-step__label {
    font-size: clamp(13.5px, 3.8vw, 17px);
    white-space: nowrap;
    text-wrap: nowrap;
    line-height: 1.3;
    flex: none;
    text-align: left;
  }

  .how-step__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    flex: none;
    min-width: 0;
    padding-top: 2px;
    text-align: left;
  }
}

@media (max-width: 1200px) {

  .bangbang-pins,
  .song-notes,
  .song-glow {
    display: none;
  }

  .challenge--bangbang .challenge__scrim {
    display: block;
    background: linear-gradient(90deg, rgba(0, 20, 42, 0.85) 0%, rgba(0, 20, 42, 0.55) 100%);
  }

  .challenge--song .challenge__scrim {
    display: block;
    background: rgba(3, 15, 45, 0.55);
  }

  .challenge--adventure .challenge__scrim {
    display: block;
    background: linear-gradient(180deg, rgba(6, 20, 50, 0.8) 0%, rgba(6, 20, 50, 0.6) 100%);
  }
}

@media (max-width: 530px) {
  .prize-tags {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
}

@media (max-width: 560px) {
  .prize-grid {
    grid-template-columns: 238.57px;
  }
}

@media (max-width: 1024px) {
  .notice-card {
    padding: 40px 30px 50px;
  }

  .winner-banner {
    padding: 30px 40px;
  }

  .prize-notice-box {
    padding: 24px 30px;
    gap: 24px;
  }

  .info-sites__grid {
    gap: 18px;
  }

  .info-site-card {
    height: 90px;
    padding: 12px 18px;
  }
}

/* ── ALL CHALLENGE ART: Prominent, Centered & Well-Proportioned on Tablet & Mobile ── */
@media (max-width: 1200px) {
  .challenge__art {
    position: relative;
    left: auto;
    top: auto;
    width: min(100%, 640px);
    margin: 40px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
  }

  .challenge--riddle .challenge__art,
  .challenge--bangbang .challenge__art,
  .challenge--song .challenge__art,
  .challenge--saw .challenge__art,
  .challenge--adventure .challenge__art {
    position: relative;
    left: auto;
    top: auto;
    width: min(100%, 640px);
    margin: 40px auto 0;
  }

  /* Challenge 4 (수소 봤소?) Tablet */
  .challenge--saw .challenge__art {
    width: min(100%, 560px);
  }

  .saw-art {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    aspect-ratio: 1 / 1.15;
  }

  .saw-art__mascot {
    left: 50%;
    transform: translateX(-50%);
    top: 45%;
    width: 68%;
    z-index: 4;
  }

  .saw-art__photo-b {
    left: 50%;
    transform: translateX(-50%) rotate(3deg);
    top: 0;
    width: 52%;
    z-index: 2;
  }

  .saw-art__photo-c {
    left: 0%;
    top: 4%;
    width: 52%;
    transform: rotate(-8deg);
    z-index: 1;
  }

  .saw-art__photo-a {
    left: auto;
    right: 0%;
    top: 3%;
    width: 52%;
    transform: rotate(8deg);
    z-index: 3;
  }

  /* Challenge 3 (수소쏭) Video Card */
  .challenge--song .video-card {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }

  /* Challenge 1 (수소께끼) Art Stack */
  .challenge--riddle .art-stack {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .challenge__art {
    width: min(100%, 460px);
    margin: 32px auto 0;
  }

  .challenge--saw .challenge__art {
    width: min(100%, 440px);
    margin: 32px auto 0;
  }

  .saw-art {
    max-width: 420px;
    aspect-ratio: 1 / 1.18;
  }

  .saw-art__mascot {
    top: 46%;
    width: 70%;
  }

  .saw-art__photo-b {
    width: 54%;
  }

  .saw-art__photo-c {
    left: -2%;
    top: 3%;
    width: 54%;
  }

  .saw-art__photo-a {
    right: -2%;
    top: 2%;
    width: 54%;
  }

  .challenge--song .video-card {
    max-width: 500px;
  }

  .challenge--riddle .art-stack {
    max-width: 460px;
  }
}

@media (max-width: 480px) {
  .challenge__art {
    width: 100%;
    max-width: 360px;
    margin: 24px auto 0;
  }

  .challenge--saw .challenge__art {
    width: 100%;
    max-width: 360px;
    margin: 24px auto 0;
  }

  .saw-art {
    max-width: 340px;
    aspect-ratio: 1 / 1.2;
  }

  .saw-art__mascot {
    top: 48%;
    width: 72%;
  }

  .saw-art__photo-b {
    width: 56%;
  }

  .saw-art__photo-c {
    left: -3%;
    top: 2%;
    width: 56%;
  }

  .saw-art__photo-a {
    right: -3%;
    top: 1%;
    width: 56%;
  }
}

@media (max-width: 1200px) {
  .prizes {
    padding: 60px 0 50px;
    overflow: hidden;
  }

  .prizes__inner {
    width: min(100% - 24px, 800px);
  }

  .notice-head {
    gap: 10px;
    margin-bottom: 24px;
  }

  .notice-head h2 {
    font-size: clamp(32px, 7vw, 48px);
  }

  .notice-head__wing {
    width: clamp(28px, 6vw, 40px);
    height: auto;
  }

  .notice-card {
    padding: clamp(24px, 5vw, 36px) clamp(14px, 3.5vw, 24px) clamp(30px, 6vw, 48px);
    border-radius: 20px;
    gap: 0;
    width: 100%;
  }

  .notice-sec__tag-img,
  .winner-banner__tag-img,
  .info-sites__tag-img {
    height: clamp(26px, 5.5vw, 36px);
    width: auto;
  }

  .notice-sec__title {
    font-size: clamp(20px, 4.8vw, 30px);
    line-height: 1.25;
    margin-top: 10px;
  }

  .notice-sec__desc {
    font-size: clamp(13.5px, 3vw, 16px);
    line-height: 1.4;
    margin-top: 6px;
  }

  .notice-divider {
    margin: 24px auto 20px;
  }

  .notice-card__divider {
    margin: 40px auto;
  }

  /* ── Mobile & Tablet Prize Slider: Full Width Viewport with Floating Flank Arrows ── */
  .prize-slider {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    display: block;
  }

  .prize-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(32px, 8vw, 42px);
    height: clamp(32px, 8vw, 42px);
    z-index: 10;
    cursor: pointer;
    filter: drop-shadow(0 3px 8px rgba(0, 50, 120, 0.2));
    transition: transform 0.2s ease;
  }

  .prize-slider__arrow:active {
    transform: translateY(-50%) scale(0.92);
  }

  .prize-slider__arrow--prev {
    left: clamp(-6px, -1.5vw, 2px);
    right: auto;
  }

  .prize-slider__arrow--next {
    right: clamp(-6px, -1.5vw, 2px);
    left: auto;
  }

  .prize-slider__arrow img {
    width: 100%;
    height: 100%;
    display: block;
  }

  .prize-slider__viewport {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: clamp(380px, 100vw, 460px);
    margin: 0 auto;
    padding: 0;
  }

  .prize-slider__track {
    position: relative;
    width: 100%;
    height: 100%;
  }

  /* Single-card mobile/tablet display matching PC active card */
  .prize-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: min(calc(100% - 16px), 330px);
    height: auto;
    min-height: unset;
    padding: clamp(18px, 4.5vw, 26px) clamp(10px, 2.5vw, 16px) clamp(30px, 7.5vw, 44px);
    background: #E2F2FE;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.35s ease;
    box-sizing: border-box;
    border: none;
    box-shadow: 0 4px 18px rgba(0, 80, 160, 0.06);
  }

  /* Center Active Card (Centered with generous spacing from arrows) */
  .prize-card.is-active {
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: min(calc(100% - 16px), 330px);
    height: auto;
    min-height: unset;
    padding: clamp(18px, 4.5vw, 26px) clamp(10px, 2.5vw, 16px) clamp(30px, 7.5vw, 44px);
    background: #E2F2FE;
    border-radius: 20px;
    opacity: 1;
    pointer-events: auto;
    z-index: 4;
  }

  /* Left queue card (completely off-screen to the left) */
  .prize-card.is-prev {
    left: -130%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
  }

  /* Right queue card (completely off-screen to the right) */
  .prize-card.is-next {
    left: 130%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
  }

  .prize-card.is-hidden-left {
    left: -130%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
  }

  .prize-card.is-hidden-right {
    left: 130%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
  }

  .prize-card__badge,
  .prize-card.is-active .prize-card__badge {
    background: #2EA5FE;
    color: #ffffff;
    border-radius: 26px;
    font-size: clamp(13px, 3.5vw, 16px);
    font-weight: 700;
    padding: 6px clamp(16px, 4.5vw, 24px);
    margin-bottom: clamp(10px, 2.5vw, 14px);
    white-space: nowrap;
    flex-shrink: 0;
  }

  .prize-card__disc,
  .prize-card.is-active .prize-card__disc {
    width: clamp(140px, 38vw, 185px);
    height: clamp(140px, 38vw, 185px);
    border-radius: 50%;
    background: #ffffff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(10px, 2.5vw, 14px);
    flex-shrink: 0;
  }

  .prize-card__art,
  .prize-card.is-active .prize-card__art {
    width: 72%;
    height: auto;
    max-width: clamp(95px, 26vw, 125px);
    max-height: 80%;
    object-fit: contain;
  }

  .prize-card__art[src*="cola"],
  .prize-card.is-active .prize-card__art[src*="cola"] {
    width: auto;
    height: 72%;
    max-width: 65%;
    max-height: clamp(95px, 26vw, 125px);
  }

  .prize-card__count,
  .prize-card.is-active .prize-card__count {
    position: absolute;
    right: 0;
    bottom: 0;
    width: clamp(48px, 12.5vw, 56px);
    height: clamp(48px, 12.5vw, 56px);
    border-radius: 50%;
    background: #2EA5FE;
    color: #ffffff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1;
    box-shadow: 0 3px 10px rgba(46, 165, 254, 0.4);
    z-index: 2;
  }

  .prize-card__count strong,
  .prize-card.is-active .prize-card__count strong {
    font-size: clamp(16px, 4vw, 19px) !important;
    font-weight: 800;
    margin-right: 2px;
    display: inline-flex;
    align-items: center;
    transform: skewX(-10deg) scaleY(0.98);
    line-height: 1;
    flex-shrink: 0;
  }

  .prize-card__count span,
  .prize-card.is-active .prize-card__count span {
    font-size: clamp(11px, 2.7vw, 13px) !important;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    transform: skewX(-10deg) scaleY(0.98);
    line-height: 1;
    flex-shrink: 0;
  }

  .prize-card__title,
  .prize-card.is-active .prize-card__title {
    font-size: clamp(16.5px, 4.2vw, 20.5px);
    font-weight: 800;
    color: #0F2F70;
    margin-bottom: clamp(8px, 2vw, 12px);
    line-height: 1.25;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .prize-card__dates,
  .prize-card.is-active .prize-card__dates {
    width: 100%;
    max-width: 100%;
    gap: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .prize-card__date-row,
  .prize-card.is-active .prize-card__date-row {
    font-size: clamp(11.5px, 2.9vw, 13.8px);
    font-weight: 600;
    letter-spacing: -0.04em;
    gap: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #354d6d;
    white-space: nowrap;
    width: 100%;
  }

  .prize-card__date-row span {
    white-space: nowrap;
  }

  .prize-card__date-row img,
  .prize-card.is-active .prize-card__date-row img {
    width: clamp(13px, 3.2vw, 16px);
    height: clamp(13px, 3.2vw, 16px);
    flex-shrink: 0;
  }

  /* ── Notice Info Box Mobile (Header on 1 single line) ── */
  .prize-notice-box {
    margin: 30px auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: clamp(16px, 3.5vw, 22px) clamp(14px, 3vw, 18px);
    border-radius: 14px;
    min-height: auto;
    width: 100%;
  }

  .prize-notice-box__header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
    white-space: nowrap;
    flex-wrap: nowrap;
  }

  .prize-notice-box__header strong br {
    display: none;
  }

  .prize-notice-box__icon {
    width: clamp(28px, 7vw, 38px);
    height: auto;
    flex-shrink: 0;
  }

  .prize-notice-box__header strong {
    font-size: clamp(13px, 3.4vw, 18px);
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .prize-notice-box__divider {
    width: 100%;
    height: 1px;
    border-left: none;
    border-top: 1.5px dashed #B9DEFE;
  }

  .prize-notice-box__list {
    width: 100%;
    gap: 7px;
  }

  .prize-notice-box__list li {
    font-size: clamp(12px, 2.8vw, 14px);
    line-height: 1.55;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-wrap: pretty;
    letter-spacing: -0.02em;
    padding-left: 14px;
  }

  /* ── Winner Banner Mobile (Clamp Text) ── */
  .winner-banner {
    flex-direction: column-reverse;
    padding: clamp(24px, 5vw, 32px) clamp(16px, 3.5vw, 24px);
    text-align: center;
    gap: 18px;
    border-radius: 16px;
    width: 100%;
  }

  .winner-banner__col {
    align-items: center;
    text-align: center;
    max-width: 100%;
    gap: 10px;
  }

  .winner-banner__title {
    font-size: clamp(20px, 5vw, 28px);
    line-height: 1.25;
  }

  .winner-banner__desc {
    font-size: clamp(13px, 3vw, 15.5px);
    line-height: 1.45;
  }

  .winner-banner__btn {
    width: 100%;
    max-width: 260px;
    font-size: clamp(16px, 3.8vw, 19px);
    padding: 13px 24px;
    margin-top: 6px;
  }

  .winner-banner__art {
    width: 70%;
    max-width: 220px;
    justify-content: center;
  }

  .winner-banner__art img {
    max-height: 220px;
  }

  /* ── Info Sites Mobile (Clamp Text) ── */
  .info-sites {
    margin-top: 50px;
    gap: 16px;
  }

  .info-sites__title {
    font-size: clamp(22px, 5.2vw, 30px);
  }

  .info-sites__desc {
    font-size: clamp(13px, 3vw, 15.5px);
  }

  .info-sites__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 420px;
    width: 100%;
  }

  .info-site-card {
    height: 72px;
    padding: 10px 18px;
  }

  .info-site-card:nth-child(1) img {
    max-height: 48px;
  }

  .info-site-card:nth-child(2) img {
    max-height: 38px;
    transform: translateY(-2px);
  }

  .info-site-card:nth-child(3) img {
    max-height: 32px;
  }

  .outro {
    padding: 40px 0 0;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 68px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-header__logos {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    min-width: 0;
    flex: 1;
  }

  .site-header__logos a {
    display: inline-flex;
    align-items: flex-end;
    flex-shrink: 1;
    min-width: 0;
  }

  .site-header__logos img {
    height: 28px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    flex-shrink: 1;
  }

  .site-header__logos img.is-tall {
    height: 39px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    flex-shrink: 1;
  }

  .gnb__toggle {
    flex-shrink: 0;
    margin-left: 8px;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0 12px;
  }

  .site-header__logos {
    gap: 8px;
    align-items: flex-end;
  }

  .site-header__logos a {
    align-items: flex-end;
  }

  .site-header__logos img {
    height: 26px;
  }

  .site-header__logos img.is-tall {
    height: 36px;
  }
}

@media (max-width: 360px) {
  .site-header {
    padding: 0 8px;
  }

  .site-header__logos {
    gap: 6px;
    align-items: flex-end;
  }

  .site-header__logos a {
    align-items: flex-end;
  }

  .site-header__logos img {
    height: 22px;
  }

  .site-header__logos img.is-tall {
    height: 31px;
  }
}