/**
 * 출석부(idx-em-check) — idx-em-bet365 전역 .element 규칙 충돌 차단
 * bet365: .element { flex-direction: column; width: 1920px; … } 가
 * 달력 주(.date > .element)에 적용되면 요일·날짜 그리드가 세로로 무너짐
 */
.idx-main-wrap .idx-page-section.idx-em[data-idx-em="32_Check"],
.idx-main-wrap .element-check.idx-em-surface {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.element-check.idx-em-surface {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
  background-color: #141518;
}

.element-check .main-content-wrapper,
.element-check .main-content,
.element-check .home,
.element-check .board-list,
.element-check .board-list-2,
.element-check .bet-list,
.element-check .frame-5 {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.element-check .bet-list {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.element-check .date {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  gap: 4px;
  box-sizing: border-box;
}

.element-check .date > .element {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 2px !important;
  background: transparent !important;
  position: relative !important;
  flex: 0 0 auto !important;
  box-sizing: border-box;
}

.element-check .date .element-2 {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #3b3f46 !important;
}

.element-check .date .frame-8 {
  display: block !important;
  width: 100% !important;
  max-width: 40px !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

.element-check .day {
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
  max-width: 100% !important;
}

.element-check .day .frame-6 {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}

@media (max-width: 768px) {
  .element-check .main-content {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .element-check .date .element-2 {
    padding: 6px 2px !important;
  }

  .element-check .date .text-wrapper-17 {
    font-size: 11px !important;
  }

  .element-check .date .frame-8 {
    max-width: 28px !important;
  }
}
