/* 메인 카테고리 카드를 가로 전체 폭에 균등 배치 */
.bc-rail > button.bc-tile.w-28 {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 7rem !important; /* 카드가 많거나 화면이 좁으면 이 폭 아래로 줄이지 않고 가로 스크롤 */
}

/* (선택) 카드가 넓어지면 4:3 비율 그대로 키도 커진다 — 납작하게 */
.bc-rail > button.bc-tile.w-28 > img {
  aspect-ratio: 16 / 7 !important;
}

/* BCGame 하단 카피라이트 문구 숨김 */
footer > div > div.mt-6 > p:first-child {
  display: none !important;
}

/* 메신저 버튼이 있으면 오른쪽 정렬 유지 (카피라이트가 빠지면 왼쪽으로 붙기 때문) */
footer > div > div.mt-6 {
  justify-content: flex-end !important;
}

/* 메신저 버튼도 없으면 빈 구분선 줄까지 숨김 */
footer > div > div.mt-6:not(:has(button)) {
  display: none !important;
}