.media .photo-pagination{width: fit-content}

.border-detail-cont img{
  width: 100%;
  height: auto;
}

.emblem-hwa {
  background-image: url("/img/logo/emblem-hwa-cc5c47484d274682f90476b4249b6173.svg");
}

.board-acco-cont ul li .accordion-cont img{width: 100%; height: auto;}
.more-layer{display: none;}
.more-layer.active{display: flex;}

.search-wrap .search-box input[type=search]{font-size: 1.6rem;}
.main .video-box ul li:first-child .info-box p{display: block;}

footer.navi-footer{height: 7.8rem;width: 100%;margin-top: -1rem; position: relative;bottom: 0;z-index: 2;background: #fff;}
@media (min-width: 1024px) {
  footer.navi-footer{display: none;}
}
footer.app-navi-footer{padding: 2rem;}

.ic-delete-wh-24 {
  background-image: url("/img/icon/ic-delete-wh-24-4ceb76e83e6f120e4201086d0db54823.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

.download-btn-box {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 2.4rem;
}
.download-btn-box button {
  background-color: #F4F4F5;
  border-radius: 8px;
  width: 100%;
  height: 4.2rem;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.42px;
  padding: 1.1rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
}
.download-btn-box button:after {
  content: "";
  display: block;
  width: 2rem;
  height: 2rem;
  background-position: center;
  background-size: contain;
  background-image: url("/img/icon/ic-file-down-4d1e6f1e06352fc2c5670331ed63af9e.svg");
}

.photo-detail-box img{width: 100%; height: auto;}

/* 메인 스폰서 */
.sponsor-list {display: flex; width: max-content; list-style: none; padding: 0; margin: 0; justify-content: flex-start; flex-wrap: nowrap; gap: 4rem; align-items: center;}
.sponsor-list.active{ animation: flow 33s linear infinite; -webkit-animation: flow 33s linear infinite;}
@keyframes flow {
  0% {transform: translateX(0);}
  100% {transform: translateX(-50%);}
}
@media (min-width: 1024px) {
  .sponsor-container{width: 100vw; max-width: 98vw; margin: 0; position: relative; left: 50%; transform: translateX(-50%);}
  .main-sponsor-box ul{gap: 10rem;}
}
/* // 메인 스폰서 */

.eland-ticket-cont .eland-ticket-box {
  padding-bottom: 10px;
}

.media .photo-pagination{z-index: 1;}

.player-my-box ul li{margin-bottom: 1.4rem;}

.main .table-box .tab-cont-box tbody tr{ height: 4rem; }
@media (max-width: 1024px) {
    .main .table-box .tab-cont-box tbody tr{ height: 4.8rem; }
}

.input-field{margin-top: 2.4rem;}

.form-detail-box{display: block; align-items: center;}

.form-detail-box img{width: 100%; height: auto;}

@media (max-width: 1024px) {
  .board-fixed-cont .form-detail-box {
    height: 100%;
    min-height: calc(100vh - 6rem - 7.2rem - 8rem);
  }
}
.board-fixed-cont .form-detail-box .img-box {
  width: 100%;
  height: 100%;
}

.board-txt-cont ul li a .board-info{
  justify-content: space-between;
}

/* loading */
.loading-wrap {width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; position: fixed; z-index: 99999;}
.loading-wrap .loading-img {width: 6rem; height: 6rem; background-image: url(../img/favicon.svg); background-repeat: no-repeat; background-size: contain; background-position: center;}

.loading {width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; position: fixed; top: 0; left: 0; z-index: 10000;}
.loading > img {width: 4.8rem;}


.match-ground-wrap {width: 100%; position: relative;}
.match-ground-wrap .ground {width: 100%;}
.match-ground-wrap .ground .title-box {margin-bottom: 2rem;}
.match-ground-wrap .ground .ground-top {position: relative; width: 100%;}
.match-ground-wrap .ground .ground-top > img {display: block; width: 100%; height: auto;}
.match-ground-wrap .ground .ground-bottom {position: relative; width: 100%; height: 5.6rem;}
.match-ground-wrap .ground .ground-bottom > img {display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 0 0 1.2rem 1.2rem;}
.match-ground-wrap .ground .ground-bottom .coach-label {position: absolute; bottom: 0; right: 1.2rem; height: 100%; display: flex; align-items: center; font-size: 1.2rem; gap: .4rem;}
.match-ground-wrap .ground .ground-bottom .coach-label .coach-title {color: rgba(255,255,255,0.6);}
.match-ground-wrap .ground .ground-bottom .coach-label .coach-name {color: #fff;}
.match-ground-wrap .ground .ground-top > .player {position: absolute; display: flex; flex-flow: column; align-items: center; row-gap: .0.5rem; transform: translate(-50%, -50%);}
.match-ground-wrap .ground .ground-top > .player > .player-photo {width: 2.4rem; height: 2.4rem; border-radius: 100%;overflow: visible}
.match-ground-wrap .ground .ground-top > .player > .player-photo .img-box{border-radius: 100%; overflow: hidden; background-color: #ddd; display: flex; align-items: center; justify-content: center;}
.match-ground-wrap .ground .ground-top > .player > .player-photo .img-box > img {width: 100%; height: 100%; object-fit: cover;}
.match-ground-wrap .ground .ground-top > .player > .player-name {height: 1.4rem; padding: 0 .3rem; border-radius: 2rem; background-color: rgba(14,14,14,.8); display: flex; align-items: center; justify-content: center;}
.match-ground-wrap .ground .ground-top > .player > .player-name > p {font-size: 0.8rem; font-weight: 500; color: white; white-space: nowrap;}

@media (min-width: 390px) {
  .match-ground-wrap .ground .ground-top > .player > .player-photo {width: 3.2rem; height: 3.2rem;}
  .match-ground-wrap .ground .ground-top > .player > .player-name {height: 1.6rem; padding: 0 .4rem;}
  .match-ground-wrap .ground .ground-top > .player > .player-name > p {font-size: 1rem;}
}

@media (min-width: 768px) {
  .match-ground-wrap .ground .ground-top > img {min-height: 80rem;}
  .match-ground-wrap .ground .ground-top > .player > .player-photo {width: 5rem; height: 5rem;}
  .match-ground-wrap .ground .ground-top > .player > .player-name {height: 2rem; padding: 0 .6rem;}
  .match-ground-wrap .ground .ground-top > .player > .player-name > p {font-size: 1.2rem;}
}

.fan .flex-box {margin-top: 5rem;}
.fan .flex-box {background-color: #fff;}
.fan .flex-box .btn-box {background-color: #fff;}


.leoul-title-box { flex-direction: column; gap: 0.2rem; }
.leoul-title-box > span { font-size: 1.2rem; font-weight: 700; line-height: 1; color: #888; }

.navigation {
    transition: transform 0.3s ease-in-out; /* 부드러운 움직임 추가 */
}
.navigation.hide {
    transform: translateY(100%);
}
/* 서브 배너 페이지네이션 */
.main-banner.sub-banner-box { position: relative; }
.main-banner.sub-banner-box .swiper { height: 100%; border-radius: 1.4rem}
.main-banner.sub-banner-box .swiper-pagination { position: absolute; bottom: .8rem; text-align: right; padding-right: .8rem; }
.main-banner.sub-banner-box .swiper-pagination-bullet { background: rgba(255, 255, 255, 0.5); opacity: 1; width: .8rem !important;}
.main-banner.sub-banner-box .swiper-pagination-bullet-active { background: #fff; }

/* 레울컵 공통 */
#bracket-wrap.game-list { display: block; }

.bracket-inner-tab { display: none; }
.bracket-inner-tab.active { display: block; padding-top: 2rem; padding-bottom: 6rem; }
.ranking-group-section { margin-bottom: 2.4rem; overflow-x: auto; }
.ranking-group-section .group-title { background: #1a3d6b; color: #fff; padding: 0.8rem 1.2rem; font-weight: bold; font-size: 1.4rem; border-radius: 4px 4px 0 0; }
.ranking-group-section table { width: 100%; border-collapse: collapse; font-size: 1.3rem; }
.ranking-group-section thead tr { background: #f4f6fb; }
.ranking-group-section th { padding: 0.8rem 0.6rem; border-bottom: 1px solid #ddd; font-weight: bold; }
.ranking-group-section td { padding: 0.9rem 0.6rem; text-align: center; border-bottom: 1px solid #eee; }
.ranking-group-section td.team-name { text-align: left; }
.ranking-group-section tbody tr:last-child td { border-bottom: none; }
.ranking-group-section th.col-rank { width: 3.6rem; }
.ranking-group-section th.col-team { text-align: left; min-width: 10rem; }
.ranking-group-section th.col-pts { width: 4.5rem; }
.ranking-group-section th.col-sm { width: 4rem; }
.ranking-group-section th.col-diff { width: 4.5rem; }

.bracket-flow { display: flex; gap: 0; align-items: stretch; overflow-x: auto; padding-bottom: 1.6rem; justify-content: center; }
.bracket-round { display: flex; flex-direction: column; min-width: 14rem; }
.bracket-round-title { background: #1a3d6b; color: #fff; padding: 0.6rem 1rem; font-weight: bold; font-size: 1.3rem; text-align: center; }
.bracket-round-matches { display: flex; flex-direction: column; justify-content: space-around; flex: 1; padding: 0.5rem 0; border: 1px solid #ddd; border-top: none; background: #fff; }
.bracket-connector { display: flex; flex-direction: column; justify-content: space-around; width: 2.4rem; flex-shrink: 0; align-self: stretch; }
.bracket-connector-pair { flex: 1; display: flex; align-items: stretch; }
.bracket-connector-pair svg { display: block; width: 2.4rem; height: 100%; }
.match-card { margin: 0.6rem 0.5rem; border: 1px solid #ddd; border-radius: 6px; overflow: hidden; background: #fafafa; }
.match-card.has-winner { background: #f0f4fa; }
.match-slot { display: flex; align-items: center; padding: 0.5rem 0.8rem; gap: 0.4rem; border-bottom: 1px solid #eee; min-height: 3.6rem; }
.match-slot:last-child { border-bottom: none; }
.match-slot.winner-slot { background: #d0e4f7; font-weight: bold; }
.match-slot .slot-label { font-size: 1.1rem; color: #888; width: 1.4rem; flex-shrink: 0; }
.match-slot .team-name { flex: 1; font-size: 1.3rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-slot .score { font-size: 1.4rem; font-weight: bold; min-width: 2rem; text-align: right; color: #1a3d6b; }
.match-slot .score.empty { color: #bbb; }
.match-round-label { font-size: 1.1rem; color: #999; text-align: center; padding: 0.3rem 0; }

/* 레울컵 스케줄 필터 */
.inner.leoul-cup-filter-inner { padding: 1.2rem 1.6rem 0.8rem; display: flex; flex-direction: column; gap: 0.8rem !important; }
.game .game-list .game-box:has(.leoul-cup-filter-inner) { margin-top: 0; }
.leoul-cup-filter-row { display: flex; gap: 0.8rem; }
.leoul-cup-filter-select { flex: 1; position: static !important; right: auto !important; top: auto !important; width: auto !important; min-width: 0; padding: 0.9rem 3rem 0.9rem 1.2rem !important; font-size: 1.3rem; border-radius: 100px; background-position: right 1.2rem center; margin-top: 0; }
.leoul-cup-tournament-title { text-align: center; font-size: 1.3rem; font-weight: 600; color: #333; padding: 0.2rem 0; }
.match-sub-info.leoul-cup-sub-info { font-size: 1.2rem; color: #888; padding: 0.2rem 0 0.6rem; text-align: center; }
.score-group.leoul-cup-score-group { flex-direction: column !important; align-items: center; gap: 0.8rem; }
.leoul-cup-score-row { display: flex; align-items: center; width: 100%; justify-content: center; gap: 0.8rem; }
.team-item.leoul-cup-team-item-right { flex: 1; min-width: 0; text-align: right; justify-content: flex-end; }
.team-item.leoul-cup-team-item-left { flex: 1; min-width: 0; text-align: left; justify-content: flex-start; }
.team-name-ellipsis.leoul-cup-team-name-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score.leoul-cup-score-vs-only { min-width: 16.5rem; text-align: center; }
.leoul-cup-tooltip { position: fixed; transform: translate(-50%, -100%); background: rgba(0,0,0,0.75); color: #fff; padding: 0.6rem 1.2rem; border-radius: 6px; font-size: 1.3rem; white-space: nowrap; z-index: 9999; }
