main {
    background: #F3F4F6;
    padding-bottom: 7rem;
    min-height: calc(100vh - 7rem - 7.4rem);
  }

  main > section:last-child {
    padding-bottom: 2.4rem;
  }
  
  .container {
    padding: 0 1.6rem;
  }
  
/* ===== 나의 원픽 팀 ===== */
.mypick-section {
  background: #fff;
  border: 1px solid #ddd;
  margin: 2rem;
  border-radius: 1rem;
  padding: 0;
}
.mypick-card {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.8rem 0;
  text-decoration: none;
}
.mypick-flag img {
  width: 5.6rem;
  height: 5.6rem;
  border-radius: 50%;
  object-fit: cover;
}
.mypick-info {
  flex: 1;
}
.mypick-label {
  font-size: 1.4rem;
  color: #FB2D42;
  display: flex;
  align-items: center;
  font-weight: 500;
  gap: 0.3rem;
}
.mypick-label .star img{
width: 2rem;
}
.mypick-team {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  margin: 0.5rem 0;
}
.mypick-sub {
  font-size: 1.4rem;
  color: #999;
}
.mypick-change {
  font-size: 1.4rem;
  color: #FB2D42;
  white-space: nowrap;
  display: flex;
  align-items: center;
  font-weight: 600;
}
.mypick-change img{width: 2rem;}

/* ===== 다음 경기 ===== */
.next-match-section {
  margin-bottom: 3rem;
}
.next-match-card {
  background:rgba(17, 22, 30, 1);
  border-radius: 1.6rem;
  padding: 2rem 2.4rem 2.8rem;
  position: relative;
  overflow: hidden;
  box-shadow: 3px 3px 15px rgba(0,0,0,0.5);
}
.next-match-card::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 20%;
  transform: translateY(-50%);
  width: 10rem;
  height: 10rem;
  background: radial-gradient(circle, rgba(232,38,45,0.35) 0%, rgba(232,38,45,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.next-match-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.4rem;
}
.next-badge {
  background: #FB2D42;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: 2rem;
}
.next-date {
  font-size: 1.4rem;
  color: #ececec;
  z-index: 1;
}
.next-match-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}
.match-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 8rem;
}
.match-team img {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}
.match-team .team-name {
  font-size: 1.6rem;
  color: #fff;
  font-weight: 500;
  word-break: keep-all;
  line-height: 1.3;
  text-align: center;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.match-dday {
  text-align: center;
}
.dday-text {
  font-size: 4.5rem;
  font-weight: 600;
  color: #FB2D42;
  line-height: 1;
}
.dday-sub {
  font-size: 1.5rem;
  color: #aaa;
  margin-top: 0.6rem;
}

/* ===== 경기 일정 ===== */
.schedule-section {
  margin-bottom: 10rem;
}
.schedule-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1rem;
}
.schedule-league {
  font-size: 1.4rem;
  color: #999;
  margin-bottom: 1.6rem;
}
.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.schedule-item {
  background: #fff;
  border-radius: 1.2rem;
  border-left: 0.3rem solid #FB2D42;
  overflow: hidden;
  box-shadow: 1px 1px 3px rgba(0,0,0,0.12);
  min-height: 8.5rem;
  display: flex;
  justify-content: center;
}
.schedule-item a {
  display: flex;
  align-items: center;
  padding: 1.8rem 0.5rem;
  text-decoration: none;
  gap: 0.5rem;
}
.match-date {
  min-width: 3.6rem;
}
.match-date .date {
  font-size: 1.5rem;
  font-weight: 500;
  color: #333;
  text-align: center;
}
.match-date .time {
  font-size: 1.5rem;
  color: #999;
  margin-top: 0.5rem;
  text-align: center;
}
.match-teams {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.match-teams .team-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: #111;
  width: 6rem;
  text-align: center;
  word-break: keep-all;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

}

.match-teams .flag {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  object-fit: cover;
}
.match-teams strong {
  font-size: 1.6rem;
  font-weight: 600;
  padding: 0 0.4rem;
}
.match-teams .score{color: #FB2D42;font-size: 1.6rem;font-weight: 600;}

.match-teams .vs {
  font-size: 1.7rem;
  color: #999;
  padding: 0 0.4rem;
}
.match-status {
  text-align: center;
  min-width: 4rem;
}
.match-status.ended .status-text {
  font-size: 1.4rem;
  color: #ACACAC;
  font-weight: 600;
  display: block;
  background: #F3F3F3;
  padding: 0.5rem 0;
  border-radius: 0.5rem;
}
.match-status.ended .record-link {
  font-size: 1.4rem;
  color: #333;
  display: block;
  margin-top: 0.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;

}
.record-link img{width: 2rem;}
.match-status.upcoming .status-text {
  font-size: 1.5rem;
  color: #333;
}

/* ===== 중계보기 버튼 ===== */
.broadcast-wrap {
  position: fixed;
  bottom: 9rem;
  left: 0;
  right: 0;
  padding: 0 1.6rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
}
.broadcast-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #FB2D42;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 1.2rem 2.2rem;
  border-radius: 5rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 0.4rem 1.6rem rgba(232,38,45,0.4);
}
.broadcast-arrow img {
  width: 2rem;
}

.broadcast-panel {
  display: none;
  align-items: center;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0.5rem 0.5rem 2rem rgba(0,0,0,0.2);
  overflow: hidden;
  padding: 1rem;
  gap: 1rem;
  width: 100%;
}
.broadcast-panel.active {
  display: flex;
}
.broadcast-panel-arrow {
  width: 2rem;
  flex-shrink: 0;
  margin-left: auto;
}

.broadcast-live-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #FB2D42;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 1.4rem 2rem;
  border-radius: 1rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex:1;
  justify-content: center;
}
.broadcast-highlight-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: #111;
  font-size: 1.4rem;
  font-weight: 500;
  padding: 1.2rem 2rem;
  border-radius: 1rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex:1;
  border: 1px solid #ddd;
  justify-content: center;
}
.broadcast-highlight-btn img {
  width: 1.8rem;
}
.live-dot {
  width: 0.8rem;
  height: 0.8rem;
  background: #fff;
  border-radius: 50%;
  display: inline-block;
}





/* ===== 원픽 팀 모달 ===== */
.mypick-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 500;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.mypick-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.mypick-modal {
  background: #fff;
  border-radius: 2rem 2rem 0 0;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 1.2rem 2rem 4rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.mypick-modal-overlay.active .mypick-modal {
  transform: translateY(0);
}
.modal-handle {
  width: 4rem;
  height: 0.4rem;
  background: #ddd;
  border-radius: 0.4rem;
  margin: 0 auto 1rem;
}
.modal-title {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.6rem;
}
.modal-desc {
  font-size: 1.3rem;
  color: #999;
  margin-bottom: 2.8rem;
}
.group-section {
  margin-bottom: 2.4rem;
}
.group-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: #aaa;
  margin-bottom: 1.2rem;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.team-item button {
  width: 100%;
  padding: 1.6rem 1.4rem;
  border: 0.15rem solid #ddd;
  border-radius: 1rem;
  background: #fff;
  font-size: 1.4rem;
  color: #111;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.team-item.selected button {
  border-color: #FB2D42;
  background: #FFEFF0;
  color: #111;
}
.team-item .check img{
width: 2rem;
}


#mypickToast {
  position: fixed;
  bottom: 10rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 1.4rem;
  padding: 1.2rem 2rem;
  border-radius: 1rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 1000;
}
#mypickToast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}




.nopadding{padding-bottom: 0;}
.redirect-section {
  background: #111827;
  min-height: 100vh;
  padding: 2rem 1.6rem;
}
.redirect-section .container {
  display: flex;
  flex-direction: column;
  min-height: 86vh;
  padding-bottom: 3rem;
}
.redirect-counter-wrap {
  position: relative;
  width: 5.2rem;
  height: 5.2rem;
  align-self: flex-end;
  margin-bottom: 3rem;
}
.redirect-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.redirect-circle-bg {
  fill: none;
  stroke: #333;
  stroke-width: 3;
}
.redirect-circle-fill {
  fill: none;
  stroke: #FB2D42;
  stroke-width: 3;
  stroke-linecap: round;
}
.redirect-counter {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}
.redirect-title {
  font-size: 1.7rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 1.2rem;
  line-height: 1.4;
  text-align: center;
}
.redirect-desc {
  font-size: 1.4rem;
  color: #aaa;
  margin-bottom: 3rem;
  text-align: center;
}
.redirect-ad {
  background: #fff;
  border-radius: 1.2rem;
  padding: 2rem;
  min-height: 23rem;
  font-size: 1.3rem;
  color: #333;
  margin-bottom: auto;
}
.redirect-btn {
  width: 100%;
  padding: 1.8rem;
  background: #1f2937;
  color: #888;
  font-size: 1.6rem;
  font-weight: 600;
  border: none;
  border-radius: 1rem;
  cursor: not-allowed;
  margin-top: 3rem;
}
.redirect-btn:not(:disabled) {
  background: #FB2D42;
  color: #fff;
  cursor: pointer;
  box-shadow: 1px 1px 15px rgba(255, 0, 0, 0.8);
}
.redirect-close-btn {
  display: none;
  width: 100%;
  padding: 1.8rem;
  background: transparent;
  color: #aaa;
  font-size: 1.6rem;
  font-weight: 600;
  border-radius: 1rem;
  cursor: pointer;
  margin-top: 1.2rem;
}







/* ===== 경기 스코어 ===== */
.match-score-section {
  margin-bottom: 3rem;
  margin-top: 2rem;
}
.match-score-card {
  background: #11161E;
  border-radius: 1.6rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}
.match-score-date {
  font-size: 1.4rem;
  color: #aaa;
}
.match-score-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.match-score-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex: 1;
}
.match-score-team img {
  width: 5.6rem;
  height: 5.6rem;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}
.match-score-team .team-name {
  font-size: 1.6rem;
  color: #fff;
  font-weight: 500;
  text-align: center;
}
.match-score-num {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.score-home,
.score-away {
  font-size: 4rem;
  font-weight: 600;
  color: #fff;
}
.score-divider {
  font-size: 4rem;
  color: #555;
  font-weight: 300;
}
.match-score-status {
  font-size: 1.3rem;
  color: #fff;
  background: #2A2E33;
  padding: 1rem 1.6rem;
  border-radius: 5rem;
}

/* ===== 공통 섹션 타이틀 ===== */
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1.6rem;
}

/* ===== 득점 타임라인 ===== */
.timeline-section {
  margin-bottom: 3rem;
}
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline-item {
  background: #fff;
  border-radius: 1.2rem;
  padding: 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.timeline-icon{  background: #FB2D42;border-radius: 50%;width: 3.6em;height: 3.6em;display: flex;justify-content: center;align-items: center;}
.timeline-icon img {
 width: 1.8rem;
}
.timeline-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.timeline-time {
  font-size: 1.4rem;
  color: #999;
  min-width: 3rem;
}
.timeline-scorer {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
}
.timeline-team {
  font-size: 1.3rem;
  color: #999;
}

/* ===== 주요 기록 ===== */
.stats-section {
  margin-bottom: 3rem;
}
.stats-list {
  background: #fff;
  border-radius: 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
.stats-item {
  display: flex;
  align-items: center;
  padding: 1.4rem 2rem;
  border-bottom: 1px solid #f0f0f0;
}
.stats-item:last-child {
  border-bottom: none;
}
.stats-home,
.stats-away {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  min-width: 3rem;
}
.stats-home {
  color: #1A6EF4;
  text-align: left;
}
.stats-away {
  text-align: right;
}
.stats-label {
  flex: 1;
  text-align: center;
}
.stats-name {
  font-size: 1.4rem;
  color: #333;
}

/* ===== MOM 투표 ===== */
.mom-top {
  background: #fff;
  border-radius: 1.2rem;
  padding: 1.8rem 2rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  border: 1px solid #ddd;
}
.mom-top-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: #111;
}
.mom-top-percent {
  color: #FB2D42;
  font-size: 1.6rem;
  font-weight: 700;
}
.mom-top-votes {
  font-size: 1.3rem;
  color: #333;
}
.mom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.mom-item {
  background: #fff;
  border-radius: 1.2rem;
  padding: 1.6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ddd;
}
.mom-name {
  font-size: 1.4rem;
  color: #111;
  font-weight: 500;
}
.mom-votes {
  font-size: 1.3rem;
  color: #999;
}

.header-back {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.6rem;
  background: #fff;
}
.back-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}
.back-btn img {
  width: 2.4rem;
}
.header-back-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
}





/* ===== 페이지 타이틀 ===== */
.schedule-top-section {
  margin-top: 2rem;
}
.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.6rem;
}
.page-desc {
  font-size: 1.4rem;
  color: #999;
}

/* ===== 필터 ===== */
.filter-section {
  padding: 2rem 0;
}
.filter-list {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.filter-list::-webkit-scrollbar { display: none; }
.filter-item button {
  white-space: nowrap;
  padding: 0.9rem 1.8rem;
  border-radius: 5rem;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 1.4rem;
  color: #555;
  cursor: pointer;
}
.filter-item.active button {
  background: #FB2D42;
  color: #fff;
  border-color: #FB2D42;
  font-weight: 700;
}

/* ===== 날짜 선택 ===== */
.date-section {
padding-bottom: 2rem;
}
.date-picker-btn {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  background: #fff;
  border-radius: 1.2rem;
  padding: 1.6rem;
  cursor: pointer;
  box-shadow: 1px 1px 3px rgba(0,0,0,0.12);
  border:1px solid #eee;
}
.date-picker-icon {
  width: 4rem;
  height: 4rem;
  background: #fff0f0;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.date-picker-icon img {
  width: 2rem;
}
.date-picker-info {
  flex: 1;
}
.date-picker-selected {
  font-size: 1.6rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 0.6rem;
}
.date-picker-desc {
  font-size: 1.4rem;
  color: #999;
}
.date-picker-arrow img {
  width: 2rem;
}

/* ===== 경기 목록 ===== */
.schedule-list-section {
  margin-bottom: 10.5rem;
}
.match-time {
  font-size: 1.4rem;
  color: #999;
  min-width: 4.2rem;
}

/* ===== 달력 모달 ===== */
.calendar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 500;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.calendar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.calendar-modal {
  background: #fff;
  border-radius: 2rem 2rem 0 0;
  width: 100%;
  padding: 1.2rem 2rem 3rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.calendar-overlay.active .calendar-modal {
  transform: translateY(0);
}
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.cal-prev,
.cal-next {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.8rem;
}
.cal-prev img,
.cal-next img {
  width: 3rem;
}
.cal-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #111;
}
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 0.8rem;
}
.calendar-weekdays span {
  font-size: 1.3rem;
  color: #999;
  padding: 0.6rem 0;
}
.calendar-weekdays .sun { color: #FB2D42; }
.calendar-weekdays .sat { color: #4a90e2; }
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  gap: 0.4rem 0;
  margin-bottom: 2.4rem;
}
.cal-day {
  font-size: 1.5rem;
  color: #111;
  padding: 1rem 0;
  cursor: pointer;
  position: relative;
  border-radius: 50%;
  width: 3.6rem;
  height: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.cal-day.empty {
  cursor: default;
}
.cal-day.sun { color: #FB2D42; }
.cal-day.sat { color: #4a90e2; }
.cal-day.today {
  background: #FB2D42;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
}
.cal-day.today::after {
  background: #fff;
}
.cal-day.focused {
  border: 1px solid #FB2D42;
  color: #FB2D42;
  border-radius: 50%;
}
.cal-day.focused::after {
  background: #FB2D42;
}
.cal-day.selected {
  background: #FB2D42;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
}
.cal-day.has-match::after {
  content: '';
  position: absolute;
  bottom: 0.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.4rem;
  height: 0.4rem;
  background: #FB2D42;
  border-radius: 50%;
}
.cal-day.selected::after {
  background: #fff;
}
.cal-confirm-btn {
  width: 100%;
  padding: 1.8rem;
  background: #FB2D42;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  border: none;
  border-radius: 1rem;
  cursor: pointer;
}





/* ===== 상단 ===== */
.rank-top-section {
  padding: 2rem 0;
}
.rank-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rank-toggle-btn {
  padding: 0.9rem 1.8rem;
  border: 1px solid #ddd;
  border-radius: 0.8rem;
  background: #fff;
  font-size: 1.4rem;
  color: #111;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 500;
}

/* ===== 조 블록 ===== */

.group-block {
  background: #fff;
  border-radius: 1.6rem;
  margin-bottom: 1.6rem;
  border: 1px solid #ddd;
}
.group-block-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 2rem;
}
.group-block-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
}
.my-team-badge {
  background: #FB2D42;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  padding: 0.7rem 1rem;
  border-radius: 5rem;
}

/* ===== 테이블 ===== */
.rank-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #eee;
}
.rank-table th,
.rank-table td {
  padding: 1rem 1rem;
  font-size: 1.4rem;
  border-bottom: 1px solid #f0f0f0;
}
.rank-table tbody tr:last-child td {
  border-bottom: none;
}
.rank-table th {
  color: #999;
  font-weight: 400;
}
.col-rank {
  width: 2.4rem;

}
.rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.4rem;
  background: #f5f5f5;
  font-size: 1.2rem;
  color: #999;
}
.col-team {
  color: #111;
  font-weight: 600;
  text-align: left;
}
.team-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.team-cell span {
  font-size: 1.4rem;
  word-break: keep-all;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-width: 6rem;
}
.team-cell .flag {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.col-stat {
  min-width: 3rem;
  color: #111;
  font-weight: 600;
  text-align: center;
}
.col-stat.point {
  color: #FB2D42;
  font-weight: 700;
}

/* ===== 토글 모드 ===== */
.mode-goal { display: none; }
.mode-win { display: table-cell; }

body.goal-mode .mode-goal { display: table-cell; }
body.goal-mode .mode-win { display: none; }







/* ===== 상단 ===== */
.stadium-top-section {
  padding: 2rem 0;
}

/* ===== 카드 목록 ===== */
.stadium-card {
  border-radius: 1.6rem;
  overflow: hidden;
  margin-bottom: 1.6rem;
  box-shadow: 0 0.2rem 1.2rem rgba(0,0,0,0.08);
}

/* 상단 다크 영역 */
.stadium-card-top {
  background: #11161E;
  padding: 2rem;
}
.stadium-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}
.venue-badge {
  background: #FB2D42;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: 0.7rem;
}
.venue-country {
  font-size: 1.3rem;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.venue-country img {
  width: 1.4rem;
  opacity: 0.6;
}
.venue-name {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.venue-city {
  font-size: 1.3rem;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.venue-city img {
  width: 1.4rem;
  opacity: 0.6;
}

/* 하단 흰 영역 */
.stadium-card-bottom {
  background: #fff;
  padding: 1.8rem 2rem;
}
.venue-capacity {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.5rem;
  border-bottom:1px solid #ececec;
}
.venue-capacity img {
  width: 2rem;
}
.capacity-label {
  font-size: 1.4rem;
  color: #555555;
  flex: 1;
}
.capacity-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: #111;
}
.capacity-unit {
  font-size: 1.3rem;
  color: #999;
}
.venue-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.venue-tag {
  font-size: 1.3rem;
  color: #555;
  background: #F1F5F9;
  padding: 0.8rem 1.2rem;
  border-radius: 0.7rem;
}

.no-match{font-size: 1.4rem;}