.layout {
  height: 100dvh;
  display: flex;
  flex-direction: column;
}

.auth-main {
  flex: 1 0 auto;
  overflow-y: auto;
  position: relative;
  width: 100%;
  max-width: 402px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px 21px 40px;
  margin: 0 auto;
}

.auth-main.auth-main--before {
  padding: 0;
  gap: 0;
}

.auth-main.auth-main--after {
  padding: 0;
  gap: 0;
}

.auth-main.auth-main--login {
  gap: 80px;
}

.auth-main.auth-main--findid {
  padding: 12px 21px;
}

.auth-main.auth-main--notice {
  gap: 40px;
}

.form-footer-section {
  display: flex;
  justify-content: center;
  margin: 0 auto 20px;
  width: 100%;
  max-width: 402px;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

.main-title {
  display: block;
  font-size: 24px; 
  font-weight: 700;
  color: var(--color-system-wt);
  line-height: 36px;
  margin: 0;
}

/* step progress */
.step-progress {
  position: relative;
}

.step-progress.step-progress--mt-18 {
  margin-top: 18px;
}

.progress-track {
  height: 4px;
  background: var(--color-bg-front);
  position: relative;
  border-radius: 12px;
}

.progress-fill {
  height: 4px;
  background: var(--color-primary-400);
  width: 0%;
  border-radius: 12px;
  transition: width 0.3s ease;
}

/* section header */
.section-header {
  text-align: center;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-system-200);
  line-height: 20px;
  margin: 0 0 16px;
}

.section-title.section-title--m-0 {
  margin: 0;
}

.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-system-300);
}

.section-description {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-system-300);
  line-height: 18px;
  margin: 0;
}

/* divider */
.divider {
  height: 1px;
  display: flex;
  align-items: center;
  background-color: var(--color-system-400); /* 라인 색 */
}

/* 기간 구분자 */
.range-separator {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  color: var(--color-system-400);
}

.upload-file-name {
  width: fit-content;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  color: var(--color-bg-back);
  border-radius: 4px;
  background-color: var(--color-system-300);
  padding: 3px 12px;
}

/* player profile */
.player-hero {
  position: relative;
  height: 226px;
  background-image: 
    url('/assets/images/player/radial.png'),
    url('/assets/images/player/linear.png'),
    url('/assets/images/player/bg.png');
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: center, bottom center, center;
  background-size: cover, 100% 110px, cover;
  margin-left: -21px;
  margin-right: -21px;
}

/* hero 내부 콘텐츠를 아래로 내리기 */
.player-hero-content {
  position: relative;
  padding-top: 124px;
  padding-left: 21px;
  padding-right: 21px;
  z-index: 2;
}

.player-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
}

.player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.player-names {
  color: var(--color-system-wt);
}

.player-name-kr {
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  margin: 0;
}

.player-name-en {
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  margin: 0;
}

.player-extra {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}

.player-clubline {
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  color: var(--color-system-wt);
  margin: 0;
}

.player-tags {
  display: flex;
  gap: 4px;
}

.player-tag {
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  border-radius: 4px;
  background-color: var(--color-primary-400);
  padding: 3px 12px;
}

.player-stats {
  margin-top: 72px;
  margin-right: -21px;
}

.player-stats-swiper {
  margin-right: 21px;
}

.stat-slide {
width: 78px !important;
}

.player-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 78px;
  height: 90px;
  border-radius: 12px;
  background-color: var(--color-bg-front);
}

.player-stat-card p {
  text-align: center;
  margin: 0;
}

.player-stat-label {
  font-size: 10px;
  font-weight: 400;
  line-height: 15px;
  color: var(--color-primary-400);
}

.player-stat-value {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--color-system-wt);
}

.player-intro {
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  color: var(--color-system-200);
  margin: 0;
}

.player-intro.player-intro--mb-12 {
  margin-bottom: 12px;
}

.ad-area_360_220 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 360px;
  height: 220px;
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  border-radius: 12px;
  background-color: #E5E5E5;
  border: 1px solid #CCCCCC;
}

.ad-area_402_70 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 402px;
  height: 70px;
  border: 1px solid #CCCCCC;
  background-color: #E5E5E5;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  margin: 0 auto;
  flex-shrink: 0;
}

.pc-side-ad {
  display: none;
}

.pc-bottom-ad {
  display: none;
}

.form-footer-section.form-footer-section--notice {
  display: none;
}

/* ========================================
   PC (1024px 이상)
   ======================================== */
@media (min-width: 1024px) {
  .auth-main {
    max-width: 1440px;
    padding: 36px 60px 40px;
  }

  .auth-main.auth-main--login {
    max-width: 384px;
    padding: 120px 0 426px;
  }

  .auth-main.auth-main--sign-select {
    max-width: 792px;
    padding: 120px 0 349px;
    gap: 0;
  }

  .auth-main--player-signup {
    max-width: 384px;
    padding: 120px 0 80px;
  }

  .auth-main.auth-main--profile {
    min-height: 974px;
    max-width: 384px;
    padding: 117px 0 80px;
  }

  .auth-main.auth-main--account {
    max-width: 792px;
    padding: 0 0 120px;
  }

  .auth-main.auth-main--findid {
    min-height: 974px;
    max-width: 384px;
    padding: 120px 0 80px;
  }

  .auth-main.auth-main--sign-edit {
    min-height: 974px;
    max-width: 384px;
    padding: 120px 0 80px;
  }

  .auth-main.auth-main--pw-edit {
    min-height: 974px;
    max-width: 384px;
    padding: 120px 0 80px;
  }

  .auth-main.auth-main--terms {
    max-width: 792px;
    padding: 120px 0 120px;
  }

  .auth-main.auth-main--notice {
    max-width: 792px;
    padding: 120px 0 120px;
  }

  .auth-main.auth-main--scout-signup {
    min-height: 974px;
    max-width: 384px;
    padding: 120px 0 80px;
  }

  .auth-main.auth-main--scout-profile {
    max-width: 792px;
    padding: 120px 0 80px;
  }

  .auth-main.auth-main--scout-main {
    max-width: 792px;
    padding: 120px 0 349px;
    gap: 0;
  }

  .auth-main.auth-main--scout-search {
    max-width: 1200px;
    padding: 120px 0 80px;
  }

  .auth-main.auth-main--sign-select .form-footer {
    justify-content: center;
  }

  .form-footer {
    margin-top: 120px;
  }

  .player-hero {
    position: relative;
    max-width: 792px;
    height: 446px;
    background-image: 
      url('/assets/images/player/radial.png'),
      url('/assets/images/player/linear.png'),
      url('/assets/images/player/bg_pc.png');
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: center, bottom center, center;
    background-size: cover, 100% 110px, cover;
    margin: 0 auto;
  }

  .player-hero-content {
    position: relative;
    padding-top: 332px;
    padding-left: 12px;
    padding-right: 0;
    z-index: 2;
  }

  .player-extra {
    margin-top: 24px;
  }

  .player-stats {
    margin-right: 0;
  }

  .player-stats-swiper .swiper-wrapper {
    display: flex;
  }

  .player-stats-swiper .swiper-slide {
    flex: 1 1 0;
    width: auto !important;
  }

  .stat-slide {
    width: auto !important;
  }

  .player-stat-card {
    width: 100%;
  }

  /* pc 광고 */
  .pc-side-ad {
    position: fixed;
    top: 374px;
    right: calc((100vw - 1440px) / 2 + 24px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 204px;
    height: 390px;
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    background-color: #E5E5E5;
    border: 1px solid #CCCCCC;
  }

  @media (max-width: 1440px) {
    .pc-side-ad {
      display: none;
    }
  }

  .pc-bottom-ad {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1440px;
    height: 90px;
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    background-color: #E5E5E5;
    border: 1px solid #CCCCCC;
    margin: 0 auto;
    flex-shrink: 0;
  }

  .ad-area_360_220 {
    display: none;
  }

  .ad-area_402_70 {
    display: none;
  }

  .form-footer-section {
    margin: 0 auto 120px;
  }

  .form-footer-section.form-footer-section--notice {
    display: block;
    margin: 120px auto 0;
  }
}