/* 공통 스타일 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nanum Gothic", sans-serif;
}


.scedule_list {
  font-size: 28px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 10px;
}

.line1_player {
  margin-top: 10px;
  border-top: 3px solid #000080;
  margin-bottom: 10px;

}

.schedule-main {
  width: 1275px;
  margin: 0 auto;
  padding-top: 150px;
}

.tab-schedule {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin-bottom: 20px;
}

.tab-schedule li {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 12px;
  transition: all 0.2s ease;
}

.tab-schedule li.on,
.tab-schedule li:hover {
  background: #0b3d91;
  color: white;
}

.tab-schedule img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 6px;
}

/* 월 네비게이션 스타일 */
.month-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 15px 0 20px 0;
  padding: 10px;
}

.month-btn {
  background: #0b3d91;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.month-btn:hover {
  background: #092b68;
}

.month-btn:active {
  transform: scale(0.95);
}

#currentMonth {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  min-width: 120px;
  text-align: center;
}

.tbl-type06 {
  overflow-x: auto;
  width: 100%;
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.tbl th,
.tbl td {
  border: 1px solid #ddd;
  padding: 10px 8px;
  text-align: center;
}

.tbl th {
  background: #f5f6fa;
  color: #333;
  font-weight: bold;
}

.tbl .play em {
  font-style: normal;
  margin: 0 5px;
}

.win {
  color: #e74c3c;
  font-weight: bold;
}

.lose {
  color: #2980b9;
  font-weight: bold;
}

/* 버튼 */
.btn2 {
  background: #0b3d91;
  color: #fff;
  padding: 4px 8px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 13px;
}

.btn2:hover {
  background: #092b68;
}

/* ===================== */
/* 📱 모바일 버전 스타일 */
/* ===================== */
@media (max-width: 768px) {
  .schedule-main {
    width: 95%;
    padding-top: 120px;
    margin: 10px;
  }

  .line1_player {
    margin-top: 5px;
    border-top: 3px solid #000080;
    width: 100%;
    /* 부모 영역 가득 */
    display: block;
    /* 혹시 inline이면 표시 안 될 수 있음 */
    height: 0;

  }

  .scedule_list {
    font-size: 28px;
    margin-top: 20px;
    margin-bottom: 8px;
  }

  .tab-schedule {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
  }

  .tab-schedule li {
    flex: 0 0 auto;
    font-size: 14px;
    padding: 6px 10px;
  }

  /* 모바일 월 네비게이션 */
  .month-navigation {
    gap: 15px;
    margin: 10px 0 15px 0;
    padding: 5px;
  }

  .month-btn {
    padding: 6px 10px;
    font-size: 14px;
    min-width: 35px;
    height: 35px;
  }

  #currentMonth {
    font-size: 16px;
    min-width: 100px;
  }

  .tbl-type06 {
    overflow-x: auto;
  }

  .tbl {
    font-size: 11px;
    min-width: 680px;
    table-layout: auto;
  }

  .tbl th,
  .tbl td {
    padding: 8px 5px;
    word-break: keep-all;
  }

  /* TV 열 완전히 제거 */
  .tbl th:nth-child(5),
  /* TV */
  .tbl td:nth-child(5) {
    display: none !important;
    width: 0 !important;
    padding: 0 !important;
    border: none !important;
  }

  .tbl colgroup col:nth-child(5) {
    width: 0 !important;
    display: none;
  }

  /* 게임센터 버튼 작게 */
  .btn2 {
    padding: 4px 8px;
    font-size: 11px;
  }
}

/* 더 작은 화면 (480px 이하) */
@media (max-width: 480px) {
  .scedule_list {
    font-size: 28px;
    margin-top: 15px;
  }

  .tbl {
    font-size: 10px;
    min-width: 100%;
  }

  .tbl th,
  .tbl td {
    padding: 3px 1px;
  }

  .month-btn {
    padding: 5px 8px;
    font-size: 12px;
    min-width: 30px;
    height: 30px;
  }

  #currentMonth {
    font-size: 14px;
    min-width: 90px;
  }

  .btn2 {
    padding: 2px 4px;
    font-size: 10px;
  }
}