/* SCOREBOOK_CHAT_VISIBLE_INLINE_V5_BEGIN
 * 실제 화면에 보이는 클래식 스포츠채팅(#home-live-chat / .classic-chat-log)을
 * 닉네임 전체 + 콜론 + 본문 한 문장 흐름으로 강제 정렬합니다.
 */

/* 모든 채팅 메시지 시간 숨김 */
html body #home-live-chat time,
html body .classic-chat-log time,
html body #sl-chat-msgs .sl-chat-time,
html body .sl-chat-msgs .sl-chat-time,
html body .chat-dock-messages time,
html body .chat-messages article time,
html body .scoretalk-chat-messages time,
html body .scorebook-chat-messages time,
html body [data-chat-messages] time {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

/* 실제 화면의 메시지 행 */
html body #home-live-chat > .sb-chat-v5-row,
html body .classic-chat-log > .sb-chat-v5-row,
html body [data-classic-chat] .live-chat-messages > .sb-chat-v5-row,
html body .chat-dock-messages > .sb-chat-v5-row,
html body #sl-chat-msgs > .sb-chat-v5-row,
html body .sl-chat-msgs > .sb-chat-v5-row {
  position: relative !important;
  display: block !important;
  float: none !important;
  clear: both !important;
  flex: none !important;
  flex-flow: initial !important;
  grid-template-columns: none !important;
  grid-auto-columns: auto !important;
  align-items: initial !important;
  justify-content: initial !important;
  gap: 0 !important;
  column-gap: 0 !important;
  row-gap: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: left !important;
  text-indent: 0 !important;
  white-space: normal !important;
  line-height: 1.52 !important;
}

html body #home-live-chat > .sb-chat-v5-row > .sb-chat-v5-line,
html body .classic-chat-log > .sb-chat-v5-row > .sb-chat-v5-line,
html body [data-classic-chat] .live-chat-messages > .sb-chat-v5-row > .sb-chat-v5-line,
html body .chat-dock-messages > .sb-chat-v5-row > .sb-chat-v5-line,
html body #sl-chat-msgs > .sb-chat-v5-row > .sb-chat-v5-line,
html body .sl-chat-msgs > .sb-chat-v5-row > .sb-chat-v5-line {
  position: static !important;
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
  text-indent: 0 !important;
  white-space: normal !important;
  line-height: inherit !important;
}

html body .sb-chat-v5-name {
  position: static !important;
  display: inline !important;
  float: none !important;
  clear: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 4px 0 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  vertical-align: baseline !important;
  color: #07517f !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

html body .sb-chat-v5-message {
  position: static !important;
  display: inline !important;
  float: none !important;
  clear: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-wrap: break-word !important;
  word-break: keep-all !important;
  vertical-align: baseline !important;
  color: #202b33 !important;
  font-weight: 400 !important;
}

/* JavaScript가 실행되기 전에도 실제 클래식 채팅의 고정열을 제거 */
html body #home-live-chat > article,
html body .classic-chat-log > article,
html body [data-classic-chat] .live-chat-messages > article {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  gap: 0 !important;
  grid-template-columns: none !important;
}

html body #home-live-chat > article > div,
html body .classic-chat-log > article > div,
html body [data-classic-chat] .live-chat-messages > article > div {
  display: block !important;
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body #home-live-chat > article b,
html body #home-live-chat > article p,
html body .classic-chat-log > article b,
html body .classic-chat-log > article p,
html body [data-classic-chat] .live-chat-messages > article b,
html body [data-classic-chat] .live-chat-messages > article p {
  position: static !important;
  display: inline !important;
  float: none !important;
  clear: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  vertical-align: baseline !important;
}

html body #home-live-chat > article b,
html body .classic-chat-log > article b,
html body [data-classic-chat] .live-chat-messages > article b {
  white-space: nowrap !important;
  margin-right: 4px !important;
}

html body #home-live-chat > article p,
html body .classic-chat-log > article p,
html body [data-classic-chat] .live-chat-messages > article p {
  overflow-wrap: anywhere !important;
  word-break: keep-all !important;
}
/* SCOREBOOK_CHAT_VISIBLE_INLINE_V5_END */
