@charset "utf-8";

.ultra-hole {
  width: 100%;
  height: auto;
  font-family: "NEXON Lv2 Gothic", sans-serif;
  color: #0c2340;
}
.ultra-hole input,
.ultra-hole button,
.ultra-hole select,
.ultra-hole option {
  font-family: "NEXON Lv2 Gothic", sans-serif;
  transform: rotate(0.03deg);
  letter-spacing: -0.72px;
}
.ultra-hole .kv-bg img.ultra-bg-mobile {
  display: none;
}
.ultra-hole .kv-bg img.ultra-bg-pc {
  display: block;
}
.ultra-hole legend,
.ultra-hole caption {
  display: none;
}
.ultra-hole button {
  border: 0;
  cursor: pointer;
  /* background: none; */
}
/* kv, page1 */
.ultra-hole .kv-bg {
  position: relative;
  height: 1000px;
  width: 100%;
  overflow: hidden;
  display: flex;
  gap: 33px;
  align-items: flex-start;
  justify-content: center;
}
.ultra-hole .kv-bg .ultra-mobile-bg {
  display: none;
}
.ultra-hole .kv-bg .ultra-bg-pc {
  display: block;
}
.ultra-hole .kv-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ultra-hole img {
  display: block;
  margin: 0 auto;
}
.ultra-hole .ultraHole__section {
  width: 100%;
  height: auto;
  padding: 120px 0 0;
  text-align: center;
}
.ultraHole__section--1,
.ultra-hole .ultraHole__section--2,
.ultraHole__section--4 {
  background: #0c2340;
  color: #fff;
}
.ultraHole__section.ultraHole__section--7 {
  padding: 60px 0 0;
  width: 100%;
  height: auto;
  margin: 0 auto;
  color: #1a304a;
  background-color: #f2f2f2;
}
.ultraHole__section.ultraHole__section--3 {
  width: 100%;
  min-height: 300px;
  height: auto;
  padding: 120px 24px;
  margin: 0 auto;
  color: #1a304a;
}
.ultraHole__section.ultraHole__section--4 {
  min-height: 200px;
  height: auto;
  padding: 60px 24px;
}
.ultraHole__section.ultraHole__section--3 {
  background-color: #f4f4f4;
}
.ultraHole__section.ultraHole__section--5 {
  background-color: #fff;
  width: 100%;
  min-height: 300px;
  height: auto;
  padding: 120px 24px 30px;
  color: #1a304a;
}
.ultraHole__section.ultraHole__section--5 h2 {
  text-align: center;
  font-family: "Elza";
  font-size: 50px;
  font-weight: bold;
}
.ultra-hole .ultraHole__section--2 {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 0 0 15vh !important;
}
.ultra-hole .ultraHole__section > img {
  margin: 0 auto 7px;
  width: 574px;
  object-fit: contain;
}
.ultra-hole .ultraHole__section h3 {
  font-size: 60px;
  line-height: 1.2;
}
.ultra-hole .ultraHole__section > p,
.ultra-hole .ultraHole__section > h2,
.ultra-hole .ultraHole__section .ultra-desc > h2 {
  font-size: 36px;
  margin-top: 24px;
}
.ultra-hole .ultraHole__section--4 .ultra-desc > h2 {
  margin-top: 0;
}
.ultra-hole.ultra-phase1 .ultraHole__section .ultra-desc p {
  font-size: 36px;
  margin-top: 24px;
}
.ultra-hole .ultraHole__section .ultra-desc p {
  font-size: 24px;
}
.ultra-mt-24 {
  margin-top: 24px;
}
.ultra-hole .ultraHole__section .ultra-desc span {
  font-size: 24px;
  background-color: #fff;
  border-radius: 100px;
  padding: 8px 25px;
  color: #1a304a;
  font-weight: 700;
}
.ultra-hole .ultraHole__section .ultra-profile-wrap {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  overflow: hidden;
  padding: 60px 0;
  /* Swiper 컨테이너로 작동 */
}

.ultra-hole .ultraHole__section .ultra-profile-inner {
  display: flex;
  width: 100%;
  height: 170px;
  gap: 20px;
  align-items: flex-start;

  margin: 0 auto;
  justify-content: space-between;
}

.ultra-hole .ultraHole__section .ultra-profile-inner li,
.ultra-hole .ultraHole__section .ultra-profile-inner .swiper-slide {
  width: 121px !important;
  height: 170px !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  flex-shrink: 0; /* swiper-slide 간 layout 깨짐 방지 */
}

.ultra-hole .ultraHole__section .ultra-profile-inner .profile-img {
  width: 100%;
  height: auto;
}

.ultra-hole .ultraHole__section .ultra-profile-inner .profile-name {
  font-size: 24px;
  font-weight: 500;
  text-align: center;
}

.ultra-profile-inner li .profile-name {
  filter: blur(5px);
}
.ultra-profile-inner li .profile-name.ultra-open {
  filter: none;
}

.ultra-hole .ultraHole__section .ultra-desc {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

/* Swiper pagination 스타일 보정 */
.swiper-pagination {
  margin-top: 20px;
  text-align: center;
}
/* .ultra-hole .ultraHole__section .ultra-profile-wrap {
  width: 1200px;
  height: auto;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 0;
}
.ultra-hole .ultraHole__section .ultra-profile-inner {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}
.ultra-hole .ultraHole__section .ultra-profile-inner li {
  width: 120px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
}

.ultra-hole .ultraHole__section .ultra-profile-inner .profile-img {
  width: 100%;
  height: auto;
}

.ultra-hole .ultraHole__section .ultra-profile-inner .profile-name {
  font-size: 24px;
  font-weight: 500;
  text-align: center;
}
.ultra-profile-inner li:not(:first-child) .profile-name {
  filter: blur(5px);
}
.ultra-hole .ultraHole__section .ultra-desc {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
} */
.ultra-wr {
  width: 100%;
  margin: 0 auto;
  max-width: 670px;
}
.ultra-banner02 {
  background: #f2f2f2;
}
.ultra-banner02 img {
  width: 670px;
  border-radius: 20px;
}
.ultra-notice {
  background: #252525;
  color: #fff;
  padding: 60px 0;
  width: 100%;
  margin-top: 50px;
}
.ultra-notice h4 {
  margin-bottom: 40px;
  font-size: 24px;
  color: #fff;
  text-align: center;
}
.ultra-notice ul li {
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.8;
  padding-left: 10px;
  text-indent: 0px;
}
.ultra-hole__popup .ultra-notice h4 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #1a304a;
  text-align: center;
}
.ultra-hole__popup .ultra-notice ul li {
  color: #8f8f8f;
  line-height: 1.8;
  padding-left: 10px;
  text-indent: 0;
}
/* section2 */
.ultra-num-wrap {
  display: flex;
  gap: 23px;
  font-size: 16px;
  margin: 0 auto;
  width: 92%;
  flex-direction: column;
}
.ultra-num-wrap .ultra-num-contents {
  display: flex;
  gap: 12px;
  line-height: 140%;
  justify-content: center;
  align-items: center;
}
.ultra-btn {
  display: block;
  margin: 0 auto;
  background-color: #cb1d2e;
  color: #fff;
  width: 400px;
  /* height: 80px; */
  border-radius: 80px;
  font-size: 36px;
  padding: 11px 76px;
  margin-top: 10px;
}
#ultraEvent {
  scroll-margin-top: 30vh;
}
.ultra-btn a {
  color: #fff;
}
.ultra-num-wrap .ultra-num-contents p:first-child {
  width: 30px;
  height: 30px;
}
.ultra-num-wrap .ultra-num-contents p:last-child {
  display: flex;
  gap: 6px;
  align-items: center;
}
.ultra-num-wrap .ultra-num-contents p:last-child span {
  width: 130px;
  height: 39px;
  display: block;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  background-color: #cb1d2e;
  color: #fff;
}
.ultra-num-wrap img {
  width: 100%;
  height: auto;
}
/* section3 */ /* ───────────────── Reward list ───────────────── */
.ultraHole-reward-wrap {
  width: 45%;
  min-width: 700px;
}
.ultraHole__reward-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px auto 20px;
  flex-wrap: wrap;
}
.ultraHole__reward-item {
  position: relative;
  width: 170px;
  text-align: center;
}
.ultraHole__reward-item img {
  width: 120px;
}
.ultraHole__reward-count {
  position: absolute;
  left: 15px;
  top: -15px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 16px/1 sans-serif;
  background: #1a304a;
  color: #fff;
}
.ultraHole__reward-title {
  margin: 10px 0 4px;
  font-size: 24px;
  font-weight: 700;
  color: #1a304a;
}
.ultraHole__reward-note {
  font-size: 13px;
  color: #1a304a;
}
.ultraHole__reward-desc {
  font-size: 14px;
  line-height: 1.4;
  color: #1a304a;
}
.ultraHole__reward-notice {
  margin-top: 24px;
  font-size: 12px;
  color: #939393;
  text-align: center;
}

/* ───────────────── Leaderboard (공통) ───────────────── */
.ultra-hole__leaderboard {
  background: #fff;
  padding: 0 0 24px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  max-width: 670px;
}

/* TOP-3 카드 */
.ultra-leader__top3 {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 30px 0 24px;
}
.ultra-leader__item {
  position: relative;
  width: 190px;
  height: 250px;
  flex-shrink: 0;
  text-align: center;
}
.ultra-leader__item--1st {
  transform: scale(1.12);
  z-index: 2;
}

.ultra-leader__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.ultra-leader__name {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 0;
  font-size: 24px;
  color: #fff;
  background: linear-gradient(to top, #1a304a, transparent 100%);
  border-radius: 8px;
}
.ultra-leader__medal {
  position: absolute;
  top: -12px;
  left: -20px;
  width: 60px;
  height: 95px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 3;
}
.ultra-leader__medal--gold {
  background-image: url("./images/medal-gold.png");
}
.ultra-leader__medal--silver {
  background-image: url("./images/medal-silver.png");
}
.ultra-leader__medal--bronze {
  background-image: url("./images/medal-bronze.png");
}

.rank--gold,
.rank--silver,
.rank--bronze {
  color: #0033b4;
}
/* 1-8위 테이블 */
.ultra-col-rank {
  width: 40%;
}
.ultra-col-user {
  width: 60%;
}
/* ───────── 테이블 래퍼 ───────── */
.ultra-table-wrap {
  width: 100%;
  margin: 0 auto;
  /* border: 1px solid #dcdcdc; */
  overflow: hidden;
  border-radius: 8px;
}

/* ───────── 표 공통 ───────── */
.ultra-leader__table {
  width: 100%;
  border-top: 2px solid #1a304a;
  font-size: 22px;
  background: #f5f5f5;
  border-collapse: collapse; /* flex 대신 전통 테이블 */
}
.ultra-leader__row--head {
  background: #1a304a;
  color: #fff;
  font-size: 16px;
  font-weight: 300;
  height: 40px;
  padding: 0;
  text-align: center;
}

.ultra-leader__table td {
  padding: 12px 16px;
}
.ultra-leader__table tr {
  border-bottom: 1px solid #dcdcdc;
  height: 57.45px;
}
.ultra-leader__table tr:last-child {
  border-bottom: none;
}
#leaderTbody {
  width: 100%;
  /* height: 600px; */
  background: #f5f5f5;
}
#leaderTbody .ultra-leader__row:last-child td {
  border-bottom: none;
}

/* ───────── 셀 안쪽 배치 ───────── */
.ultra-leader__user {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -42px;
  gap: 8px;
}
.ultra-leader__avatar {
  width: 30px;
  height: 30px;
  margin: 0 14px !important;
  border-radius: 50%;
  object-fit: cover;
}

/* ───────── 순위 뱃지 ───────── */
.rank {
  position: relative;
  font-weight: 700;
}
.rank--gold::before,
.rank--silver::before,
.rank--bronze::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  background-size: contain;
  background-repeat: no-repeat;
}
.rank--gold::before {
  background-image: url("./images/medal-gold.png");
}
.rank--silver::before {
  background-image: url("./images/medal-silver.png");
}
.rank--bronze::before {
  background-image: url("./images/medal-bronze.png");
}
/* ───────────────── Profile carousel ───────────────── */
.ultra-profile-inner {
  display: flex;
  width: 100%;
  height: 170px;
  align-items: flex-start;
  justify-content: space-between;
}
.ultra-profile-inner li {
  width: 121px;
  height: 170px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.profile-img {
  width: 100%;
  height: auto;
}
.profile-name {
  font: 500 24px/1.2 "Noto Sans", sans-serif;
  text-align: center;
  /* filter: blur(5px); */
}
.profile-name.ultra-open {
  filter: none;
} /****************  댓글 영역  ****************/
.ultraHole__section--comment {
  padding: 40px 0 60px;
  background: #e3eef8; /* 배경 톤 */
}
.ultra-event-button {
  width: 100%;
  border-radius: 20px;

  border: none;
}
.ultra-event-button img {
  width: 100%;
}
.ultra-leader__cta {
  padding: 0;
  width: 100%;
  max-width: 670px;
  margin: 0 auto;
}
.ultra-hole__comment-list {
  max-width: 47%;
  max-width: 670px;
  margin: 0 auto;
  max-height: 560px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* flip-in 애니메이션 */
.cell-placeholder {
  display: inline-block;
  width: 100%;
  height: 1em;
  opacity: 0;
}

.cell-flip {
  display: inline-block;
  transform: rotateX(90deg);
  opacity: 0;
  animation: cellFlip 0.25s forwards ease-out;
}

@keyframes cellFlip {
  to {
    transform: rotateX(0deg);
    opacity: 1;
  }
}
/* 말풍선 카드 */
.ultra-comment__item {
  position: relative;
  padding: 30px 20px;
  background: #fff;
  border-radius: 12px;
  font-size: 18px;
  line-height: 1.4;
  text-align: left;
}
/* 말풍선 꼬리 */
/* .ultra-comment__item::after {
  content: "";
  position: absolute;
  left: 60px;
  bottom: -11px;
  width: 22px;
  height: 22px;
  border-radius: 2px;
  background: #fff;
  transform: skewX(-40deg) rotate(-45deg);
} */
/* 상단 메타(날짜·닉네임) */
.ultra-comment__meta {
  font-size: 13px;
  font-weight: 500;
  color: #929292;
  margin-bottom: 6px;
} /* 애니메이션용 클래스 */
.ultra-comment__item {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* 슉슉 애니메이션용 초기 숨김 상태 */
.ultra-comment__item.is-hidden {
  opacity: 0;
  transform: translateY(10px);
}
/* 내용 텍스트 */
.ultra-comment__text {
  word-break: break-word;
}

/* “더보기” 버튼 */
.ultra-comment__more {
  display: block;

  margin: 32px auto 0;
  padding: 14px 0;
  width: 670px;
  border: none;
  border-radius: 12px;
  background: #102a47;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.ultra-comment__more:hover {
  background: #0c213a;
}
/* page2 */
/* 멀티스탭  */

.ultra-hole__overlay {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 3;
  display: none;
}
.ultra-hole__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  font-size: 40px;
  color: #1a304a;
  cursor: pointer;
  z-index: 1100;
  transition: all 0.2s ease;
}

.ultra-hole__close:hover {
  background-color: rgba(26, 48, 74, 0.1); /* 남색 기반 hover */
  font-weight: 600;
  transform: scale(1.1);
}

.ultra-hole__popup::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.ultra-hole__popup::-webkit-scrollbar-thumb {
  outline: none;
  border-radius: 50px;
  border: 4px solid transparent;
  background: linear-gradient(transparent, #1a304a7c, transparent);

  /* box-shadow: inset 6px 6px 0 rgba(34, 34, 34, 0.15); */
}

.ultra-hole__popup::-webkit-scrollbar-thumb:hover {
  border: 4px solid transparent;
  background: linear-gradient(transparent, #1a304a, transparent);

  /* box-shadow: inset 6px 6px 0 rgba(34, 34, 34, 0.3); */
}

.ultra-hole__popup::-webkit-scrollbar-track {
  box-shadow: none;
  background-color: transparent;
}
.ultra-hole__popup {
  background-color: #fff;
  width: 90%;
  position: fixed;
  max-width: 450px;
  max-height: 70vh;
  overflow-y: scroll;
  height: auto;
  border-radius: 16px;
  margin: 0 auto;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  color: #0c2340;
  z-index: 1001;
  padding: 24px 20px;
}
.ultra-hole-wrapper {
  position: relative;
  width: 100%;
  height: auto;
}

/* .ultra-hole__popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  width: 90%;
  max-width: 420px;
  border-radius: 16px;
  padding: 24px;
  z-index: 1001;
  display: none;
} */

.ultra-hole__step {
  display: none;
}

.ultra-hole__step--active {
  display: block;
}
#ultraHoleSelectedName,
.ultra-hole__title {
  font-size: 24px;
  text-align: center;
  color: #1a304a;
  font-weight: 700;
  margin-bottom: 16px;
}

.ultra-hole__step-indicator {
  text-align: center;
  font-size: 16px;
  background: #f5f5f5;
  border-radius: 18px;
  padding: 2px;
  width: 60px;
  margin: 0 auto 20px;
}
.step-txt-red {
  color: #dc0019;
}
.fl_col_center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ultra-hole__players {
  text-align: center;
  cursor: pointer;
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  flex-shrink: 0;
}

.ultra-hole__player {
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  background: #f5f5f5;
  padding: 10px 1px;
  border: 1px solid #f5f5f5;
  color: #1a304a;
  height: 30%;
  min-height: 96px;
  width: 24%;
  min-width: 66px;
  text-align: center;
  text-align: center;
  cursor: pointer;
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  gap: 6px;
  flex-shrink: 0;
}
.ultra-wr,
.ultra-hole-textarea-wrap > span,
.ultra-hole-textarea-wrap textarea::placeholder {
  font-size: 15px;
  text-align: left;
  color: #939393;
  font-family: "NEXON Lv2 Gothic", sans-serif;
  font-weight: 500;
}
.ultra-hole__popup .ultra-tip {
  display: block;
  width: 97%;
}
.ultra-hole__player {
  position: relative;
}

/* 1등 표시 (왼쪽 위) */
.ultra-player-1st::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 40px;
  height: 50px;
  background: url("./images/ultra-1st.png") no-repeat center / contain;
  z-index: 2;
}
.ultra-hole__player--selected {
  border: 1px solid #1a304a;
  background: #e5f1ff;
}
.ultra-hole__player--selected::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: url("./images/ultra-check.png") no-repeat center / contain;
  z-index: 2;
}
.ultra-hole__player-thumb {
  width: 80px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: #fff;
}
.ultra-hole__player p:last-child {
  font-size: 14px;
  font-weight: 400;
  margin: 0;
}
.ultra-hole-textarea-wrap {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  gap: 8px;
}
.ultra-hole-textarea-wrap .ultra-hole__title {
  margin: 0;
}

.ultra-hole__input {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}
.ultra-hole-textarea-wrap textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  height: 84px;
  font-size: 14px;
} /* 개인정보 입력 영역 */
.ultra-hole__field {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.ultra-hole__field label,
.ultra-hole__group-title {
  color: #1a304a;
  text-align: left;
  font-family: "NEXON Lv2 Gothic";
}
.ultra-hole__group-title {
  font-size: 14px;
  margin-left: 10px;
}
.ultra-hole__field input::placeholder {
  color: #9f9f9f;
  font-family: "NEXON Lv2 Gothic", sans-serif;
  font-weight: 200;
}

.ultra-hole__label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #222;
}

.ultra-hole__input {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

/* 휴대폰 번호 3단 입력 */
.ultra-hole__input-group {
  display: flex;
  gap: 8px;

  .ultra-hole__input {
    flex: 1;
  }
}
.ultra-hole__radio-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  /* margin-top: 8px; */
  padding: 0;
  list-style: none;
}

.ultra-hole__radio-list li {
  flex: 0 0 calc((100% - 12px) / 2);
}

.ultra-hole__radio-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  font-size: 1rem;
  cursor: pointer;
}

.ultra-hole__radio-item input[type="radio"] {
  accent-color: #222;
}

.ultra-hole .ultra-tip {
  font-size: 12px;
  /* padding: 3vw 0; */
  text-align: left;
  /* margin: 0 3.6vw; */
  color: #8f8f8f;
}
.ultra-hole .ultra-event {
  font-size: 4vw;
}
.ultra-hole .list li {
  padding: 3vw;
}
.ultra-hole .paging {
  gap: 1vw;
  margin: 10vw 0;
  font-size: 4vw;
}
/* .ultra-notice {
  padding: 10vw 0;
  text-align: left;
  padding: 20px;
  border-radius: 8px;
  background-color: #f5f5f5;
  color: #8f8f8f;
}
.ultra-notice h4 {
  font-size: 0.8rem;
  margin-bottom: 15px;
  text-align: center;
  color: #1a304a;
}
.ultra-notice ul li {
  font-size: 0.8rem;
  text-indent: -0.5vw;
  padding-left: 1vw;
} */
/* 성별 전용: 한 줄 유지 */
.ultra-hole__group--gender .ultra-hole__radio-list {
  flex-wrap: nowrap;

  li {
    flex: 1 0 45%;
  }
}
/* 체크박스 */
.ultra-hole__checkbox-group,
.ultra-hole__checkbox {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;

  label {
    input[type="checkbox"] {
      accent-color: #1a304a;
    }

    span {
      font-weight: 500;
    }
  }

  img {
    width: 24px;
    height: 24px;
    margin-left: 8px;
  }
}
.ultra-hole__checkbox-item {
  display: flex;
  font-size: 16px;
  justify-content: space-between;
  align-items: center;
}
.ultra_personal_agree .all_checkBox .ultra-hole__checkbox-item .agree_more_btn {
  margin-left: 15px;
}
.ultra-hole__checkbox-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border: 2px solid #ccc;
  border-radius: 50%;
  background-color: #fff;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

/* 체크 상태: 배경 + 보더 변경 */
.ultra-hole__checkbox-item input[type="checkbox"]:checked {
  background-color: #1a304a;
  border-color: #1a304a;
}

/* 체크 표시: 중심 정렬된 흰색 체크마크 (✔) */
.ultra-hole__checkbox-item input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 3.5px;
  width: 4px;
  height: 6.5px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  pointer-events: none;
}

.ultra_personal_agree {
  margin: 2.3vh 0;
}
.ultra_personal_agree .blue {
  color: #001689;
}
.ultra_personal_agree .strong {
  font-weight: 500;
}
.ultra-hole__agree-box {
  background: #f3f3f3;
  color: #333;
  margin-top: 20px;
  padding: 30px 16px;
}
.agree_box {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.agree_box.active {
  display: block;
  opacity: 1;
}
.ultra-hole__agree-box > div {
  margin-bottom: 34px;
}
.ultra-hole__agree-box > div:nth-child(2) {
  margin-bottom: 29px;
}
.ultra-hole__agree-box > div:last-child {
  margin-bottom: 0;
}
.ultra-hole__agree-box > div:last-child img {
  height: 25px;
  margin-bottom: 7px;
}
.ultra-hole__agree-box h4 {
  font-size: 0.8rem;
  font-weight: 500;
  padding-bottom: 14px;
}
.ultra-hole__agree-box p {
  font-size: 0.7rem;
}
.ultra-hole__agree-box > div > p {
  padding-bottom: 6px;
}
.ultra-hole__agree-box div > p:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.ultra-hole__agree-box p.tit {
  padding-bottom: 6px;
}
.ultra-hole__agree-box ul {
  display: flex;
  border: 1px solid #7d7d7d;
  margin: 8px 0 14px;
}
.ultra-hole__agree-box ul li {
  width: 33.3333%;
  border-right: 1px solid #7d7d7d;
}
.ultra-hole__agree-box ul li:last-child {
  width: 33.3333%;
  border-right: 0;
}
.ultra-hole__agree-box ul li p {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 54px;
  text-align: center;
  padding: 6px 0;
}
.ultra-hole__agree-box {
  display: none;
  margin: 16px 0;
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  line-height: 1.6;
  overflow-y: scroll; /* 스크롤은 유지 */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

/* Webkit 기반 브라우저 (Chrome, Safari)에서 스크롤바 숨김 */
.ultra-hole__agree-box::-webkit-scrollbar {
  display: none;
}

.ultra-hole__agree-box.is-open {
  display: block;
  height: auto;
  text-align: left;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.ultra-hole__agree-box ul li p:first-child {
  height: auto;
  border-bottom: 1px solid #7d7d7d;
}
.ultra-hole__agree-box ul li p:last-child {
  border-top: 1px solid #7d7d7d;
}
.ultra_personal_agree > p {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ultra_personal_agree > p input {
  margin-right: 8px;
}
.ultra_personal_agree > p img {
  height: 16px;
} /* 안내 문구 */
.ultra-hole__ultra-notice {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* 동의서 상세 */
.ultra-hole__agree-box {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 16px;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 16px;

  .ultra-hole__agree-subtitle {
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
  }

  .ultra-hole__agree-table {
    list-style: none;
    padding: 0;
    margin: 16px 0;

    li {
      /* margin-bottom: 12px; */

      p {
        margin: 4px 0;
      }

      strong {
        font-weight: 700;
      }
    }
  }

  p {
    margin: 4px 0;
  }

  label {
    margin-right: 16px;
    margin-bottom: 5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    font-size: 0.6rem;
  }

  input[type="radio"] {
    margin-right: 4px;
    accent-color: #222;
    font-weight: 500;
    font-size: 0.6rem;
  }

  .blue {
    color: #0072c6;
  }

  .strong {
    font-weight: bold;
  }
}
/* 롤링배너 */
.ultra-hole__rolling-banner {
  width: 100%;
  height: 60px;
  display: flex;
  padding: 11px 20px;
  justify-content: flex-start;
  border-radius: 12px;
  background: #eaf5ff;
}

.ultra-hole__rolling-item {
  font-size: 0.95rem;
  opacity: 0;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  transition: opacity 0.5s ease-in-out;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.ultra-rolling__wrap {
  color: #929292;
  font-size: 11px;
}
/* 각 요소에 대한 스타일 */
.ultra-rolling__date {
}

.ultra-rolling__name {
}

.ultra-rolling__message {
  font-size: 15px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15px;
  text-align: left;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

/* 액션 버튼 영역 */
.ultra-hole__actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.ultra-hole__group {
  width: 100%;
}

.ultra-hole__button {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  height: 50px;
  width: 100%;
  font-size: 1rem;
  font-weight: 600;
  background-color: #000;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;

  &--prev {
    background-color: #ccc;
    color: #000;
  }

  &:hover {
    opacity: 0.9;
  }
}
.ultra-hole__actions {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.ultra-hole__button {
  flex: 1;
  padding: 12px;
  border: none;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
}

.ultra-hole__button--prev {
  background: #dcdcdc;
  color: #1a304a;
  font-weight: 300;
  flex: 3;
}
.ultra-hole__button--next {
  flex: 7;
}
.ultra-hole__button--prev.ultra-back-btn {
  background: #4e4e4e;
  color: #fff;
}
.ultra-down-btn,
.ultra-hole__button--next {
  background: #c8102e;
  color: #fff;
}
.ultra-share-btn {
  background: #1a304a;
  color: #fff;
}
.ultra-hole__button {
  display: inline-flex;
  align-items: center; /* 수직 가운데 정렬 */
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 16px;
  font-size: 1rem;
  line-height: 1.4;
}
.ultra-hole__icon {
  width: 14px;
  margin: 0 !important;
  height: 14px;
  flex-shrink: 0;
}
.ultra-hole__summary {
  background: #f9f9f9;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
}

#ultraHolePopup {
  display: none;
}
.ultra-notice,
.ultra-banner02,
.ultra-tip {
  padding: 20px 24px;
  margin: 0;
}
.ultra-hole__popup .ultra-notice,
.ultra-hole__popup .ultra-banner02 {
  padding: 10px 14px;
  margin: 0;
  border-radius: 8px;
}
.ultra-comment__more.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.ultra-hole__popup .ultra-notice {
  padding: 10px 14px;
  background-color: #f5f5f5;
  color: #8f8f8f !important;
  margin: 0;
  border-radius: 8px;
}
@media screen and (max-width: 1600px) {
  .ultra-hole .ultraHole__section .ultra-profile-inner {
    gap: 40px;
  }
}
@media screen and (max-width: 1280px) {
  .ultra-hole .ultraHole__section.ultraHole__section--2 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 0 10vh !important; /* 음수 제거 */
  }

  .ultra-hole__players {
    gap: 0;
  }
  .ultra-hole__player {
    margin-bottom: 5px;
  }

  .ultra-hole .ultraHole__section h3,
  .ultra-hole .ultraHole__section .ultra-desc p {
    line-height: 1.4;
  }
  .ultra-hole .ultraHole__section p {
    /* margin-top: 2vw; */
  }
  .ultra-hole .ultraHole__section .mg {
    margin: 10vw 0;
  }
  .ultra-hole .popup-button {
    font-size: 3.6vw;
    height: 20vw;
  }
  .ultra-hole .popup-button .input {
    width: calc(100% - 22vw);
    padding: 0 3vw;
  }
  .ultra-hole .popup-button .btn {
    width: 20vw;
  }
}

/* card */
.ultra-hole-card {
  position: relative;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.ultra-hole-card__bg img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.ultra-hole-card__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 50%);
  color: #fff;
  border-radius: 12px;
  text-align: center;
}

.ultra-hole-card__player-img-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 12px;
}

.ultra-hole-card__player-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  background-color: #fff;
  display: block;
}
.ultra-hole-card__name-tag {
  position: absolute;
  top: 10px;
  /* left: -19px; */
  width: 110px;
  padding: 15px;
  height: 60px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  z-index: 2;
}

.ultra-name-tag-img {
  position: absolute;
  top: 0;
  left: -5px;
  width: 190px;
  height: 60px;
  z-index: 1;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.4));
}

.ultra-hole-card__name {
  position: relative;
  z-index: 2;
  color: #fff;
  font-weight: bold;
  font-size: 24px;
}

.ultra-hole-card__message {
  width: 100%;
  margin-left: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  font-size: 21px;
  line-height: 1.4;
  word-break: break-word; /* <- 핵심 */
  overflow-wrap: break-word;
}
@media screen and (max-width: 768px) {
  .ultra-hole__popup {
    max-height: 75vh;
  }
  .ultra-hole.ultra-phase1 .ultraHole__section .ultra-desc p {
    font-size: 16px;
  }
  .ultra-hole .kv-bg img.ultra-bg-pc {
    display: none;
  }
  .ultra-hole .kv-bg img.ultra-bg-mobile {
    display: block;
  }
  .ultra-hole .ultraHole__section h2 {
    font-size: 22px;
  }
  .ultra-hole .ultraHole__section h3,
  .ultra-hole .ultraHole__section .ultra-desc p {
    font-size: 22px;
    line-height: 1.4;
  }
  .ultra-hole .ultraHole__section > p {
    font-size: 16px;
    /* margin-top: 2vw; */
  }
  .ultra-hole .kv-bg .ultra-mobile-bg {
    display: block;
  }
  .ultra-hole .ultraHole__section h3 {
    font-size: 22px;
    margin: 7px 0 20px;
    line-height: 1.4;
  }
  .ultra-hole .ultraHole__section .ultra-profile-inner li,
  .ultra-hole .ultraHole__section .ultra-profile-inner .swiper-slide {
    height: 105px;
    margin: 0;
  }
  .ultra-hole .ultraHole__section .ultra-profile-inner li,
  .ultra-hole .ultraHole__section .ultra-profile-inner .swiper-slide img {
    height: 78px;
  }
  .ultra-hole .ultraHole__section .ultra-profile-inner li,
  .ultra-hole .ultraHole__section .ultra-profile-inner .swiper-slide p {
    font-size: 16px;
  }
  .ultra-hole .kv-bg {
    height: 470px;
    aspect-ratio: 375/471.5;
  }
  .ultra-hole .popup table,
  .ultra-hole .popup table tbody {
    display: flex;
    flex-direction: column;
  }
  .ultra-hole .popup .inner h3 {
    font-size: 20px;
  }
  .ultra-hole .popup .inner h3 br {
    display: block;
  }
  .ultra-hole .popup .inner h3.v2 {
    line-height: 1.5;
  }
  .ultra-hole .popup table tr th label {
    font-size: 18px;
    margin-bottom: 14px;
  }
  .ultra-hole .popup table tr:not(:last-child) {
    margin-bottom: 30px;
  }
  .ultra-hole .popup table tr td.check {
    gap: 20px 40px;
    flex-wrap: wrap;
  }
  .ultra-hole .popup table tr td select,
  .ultra-hole .popup table tr td input {
    height: 40px;
    line-height: 40px;
  }
  .ultra-hole .popup table tr td span {
    font-size: 14px;
  }
  .ultra-hole .popup .inner .img_box {
    margin-bottom: 30px;
  }
  .ultra-hole .popup .inner button {
    font-size: 18px;
    padding: 18px 10px;
  }
  .ultra-hole .popup .inner .close.v2 {
    font-size: 18px;
    padding: 18px 10px;
  }
  .ultra-hole .ultraHole__section > img {
    width: 230px;
  }
  .ultra-hole .ultraHole__section .ultra-profile-inner {
    display: flex;
    width: 100%;
    height: 110px;
    gap: 20px;
  }
  .ultra-hole .ultraHole__section .ultra-profile-inner li,
  .ultra-hole .ultraHole__section .ultra-profile-inner .swiper-slide {
    width: 80px !important;
    height: 110px !important;
    margin: 0 !important;
  }
  .ultra-hole .ultraHole__section .ultra-profile-wrap {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0 24px;
    /* Swiper 컨테이너로 작동 */
  }
  .ultra-hole .ultraHole__section .ultra-desc {
    gap: 12px;
  }
  .ultra-hole .ultraHole__section--2 .ultra-desc span {
    width: 78px;
  }
  .ultra-hole .ultraHole__section--2 h3 {
  }
  .ultra-hole .ultraHole__section .ultra-desc p {
    font-size: 16px;
  }
  .ultra-hole__player .ultra-hole__player-thumb p {
    font-size: 12px !important;
  }
  .ultra-hole-card__name-tag {
    width: 90px;
    padding: 0 15px;
    height: 40px;
  }

  .ultra-name-tag-img {
    width: 90px;
    height: 40px;
  }

  .ultra-hole-card__name {
    font-size: 18px;
  }

  .ultra-hole-card__message {
    font-size: 18px;
  }
  /* .ultra-hole .ultraHole__section .ultra-desc p {
    font-size: 36px;
  } */
  .ultra-hole .ultraHole__section .ultra-desc span {
    padding: 4px 0px;
    font-size: 12px;
  }
  .ultra-hole .ultraHole__section--2 {
    gap: 20px;
  }
  .ultra-num-wrap .ultra-num-contents p:last-child span {
    width: 72px;
    height: 24px;
    line-height: 1.2;
    font-size: 14px;
  }
  .ultra-num-wrap .ultra-num-contents p:first-child {
    width: 16px;
    height: 16px;
    margin-top: 3px;
  }
  .ultra-num-wrap {
    gap: 12px;
  }
  .ultra-num-wrap .ultra-num-contents {
    align-items: flex-start;
  }
  .ultra-btn {
    width: 208px;
    /* height: 40px; */
    font-size: 16px;
    line-height: 1;
  }
  .ultraHole__section.ultraHole__section--3,
  .ultraHole__section.ultraHole__section--7 {
    padding: 40px 24px;
  }
  .ultraHole__section.ultraHole__section--4 {
    min-height: 100px;
  }
  .ultra-hole .ultraHole__section--1 {
    width: 100%;
    height: auto;
    padding: 60px 0 0;
    text-align: center;
  }
  .ultraHole__reward-list {
    margin: 20px auto;
    gap: 15px;
  }
  .ultraHole__reward-title {
    margin: 10px 0 4px;
    font-size: 16px;
  }
  .ultraHole__reward-note {
    font-size: 13px;
  }
  .ultraHole__reward-desc {
    font-size: 14px;
    line-height: 1.4;
  }
  .ultraHole__reward-item img {
    width: 78px;
  }
  .ultraHole__reward-item {
    width: 100px;
  }
  .ultraHole__reward-count {
    left: 5px;
    top: -5px;
    width: 35px;
    height: 35px;
    font: 700 11px/1 sans-serif;
  }
  .ultraHole-reward-wrap {
    width: 90%;
    min-width: 350px;
  }
  .ultraHole__section.ultraHole__section--5 h2 {
    font-size: 26px;
  }
  .ultra-hole__leaderboard {
    width: 100%;
  }
  .ultra-leader__top3 {
    display: flex;
    justify-content: center;
    gap: 26px;
    margin: 30px 0 24px;
  }
  .ultra-leader__item {
    position: relative;
    width: 90px;
    height: 110px;
    flex-shrink: 0;
    text-align: center;
  }
  .ultra-leader__table {
    font-size: 15px;
  }
  .ultra-leader__name {
    padding: 10px 0;
    font-size: 15px;
  }
  .ultra-leader__cta {
    padding: 0;
    width: 100%;
  }
  .ultra-hole__comment-list {
    max-width: 89%;
    gap: 14px;
  }
  .ultra-comment__more {
    width: 89%;

    font-size: 17px;
  } /* 말풍선 카드 */
  .ultra-comment__item {
    padding: 18px 20px;

    font-size: 15px;
  }
  .ultra-hole__leaderboard {
    padding: 0 0 24px;
  }
  .ultraHole__section.ultraHole__section--5 {
    padding: 50px 24px 30px;
  }
  #ultraHoleSelectedName,
  .ultra-hole__title {
    font-size: 16px;
    margin-bottom: 8px;
  }
  .ultra-hole__step-indicator {
    font-size: 12px;
    width: 38px;
    margin: 0 auto 10px;
  }
  .ultra-hole__close {
    width: 36px;
    height: 36px;

    font-size: 24px;
  }
  .ultra-hole__player-thumb {
    width: 42px;
  }
  .ultra-hole__player {
    font-size: 12px;
    margin-bottom: 7px;
  }
  .ultra-hole__player p:last-child {
    font-size: 10px;
    margin: 0;
  }
  .ultra-player-1st::before {
    width: 25px;
    height: 35px;
  }
  .ultra-hole__player--selected {
    border: 1px solid #1a304a;
    background: #e5f1ff;
  }
  .ultra-hole__player--selected::after {
    width: 12px;
    height: 12px;
  }
  .ultra-notice h4 {
    margin-bottom: 10px;
  }
  .ultra-wr,
  .ultra-hole-textarea-wrap > span,
  .ultra-hole-textarea-wrap textarea::placeholder {
    font-size: 11px;
  }
  .ultra-hole__checkbox-item {
    font-size: 12px;
  }
  .ultra-hole__agree-box h4 {
    font-size: 0.6rem;
  }
  .ultra-hole__agree-box p {
    font-size: 0.6rem;
  }
  .ultra-notice h4 {
    font-size: 15px;
  }
  .ultra-notice ul li {
    font-size: 12px;
  }
  .ultraHole__section.ultraHole__section--7 {
    padding: 0;
  }
  .ultra-notice,
  .ultra-banner02,
  .ultra-tip {
    padding: 20px 24px;
    margin: 0;
  }
  .ultra-hole__popup .ultra-notice,
  .ultra-hole__popup .ultra-banner02 {
    padding: 10px 14px;
    margin: 0;
    border-radius: 8px;
  }
  .ultra-leader__medal {
    width: 40px;
    height: 50px;
  }
  .ultra-leader__row--head {
    font-size: 12px;

    height: 24px;
  }
  .ultra-hole .ultraHole__section .ultra-desc > h2 {
    font-size: 22px;
    /* margin-top: 24px; */
  }

  .rank--gold::before,
  .rank--silver::before,
  .rank--bronze::before {
    width: 24px;
    height: 24px;
    left: -23px;
  }
}
