
#kickChatMessages.chat-body {
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  gap: 2px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.15) transparent;
}

#kickChatMessages::-webkit-scrollbar {
  width: 4px;
}

#kickChatMessages::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.15);
  border-radius: 4px;
}

.kc-msg {
  font-size: 13px;
  line-height: 1.45;
  word-break: break-word;
  padding: 3px 6px;
  border-radius: 4px;
  transition: background .15s;
  flex-shrink: 0;
}

.kc-msg:hover {
  background: rgba(255,255,255,.06);
}

.kc-badges {
  display: inline;
  vertical-align: middle;
}

.kc-badge {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 3px;
  flex-shrink: 0;
}

.kc-badge-text {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(255,255,255,.12);
  color: #ccc;
  vertical-align: middle;
  margin-right: 3px;
  text-transform: uppercase;
}

.kc-og {
  background: linear-gradient(135deg, #53FC18, #1CD4A2);
  color: #000;
}

.kc-user {
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.kc-user:hover {
  text-decoration: underline;
}

.kc-sep {
  font-weight: 700;
  color: #fff;
}

.kc-text {
  color: rgba(255,255,255,.88);
  font-size: 13px;
}

.kc-emote {
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin: -2px 1px;
  object-fit: contain;
}

.kc-system {
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,.35);
  padding: 6px 0;
  font-style: italic;
  flex-shrink: 0;
}

.chat-sidebar {
  transition: width 0.35s ease, opacity 0.35s ease, margin 0.35s ease, padding 0.35s ease;
}

.chat-sidebar.chat-hidden {
  width: 0 !important;
  opacity: 0;
  overflow: hidden;
  margin: 24px 0;
  padding: 0;
  border: none;
  pointer-events: none;
}

.chat-reopen-btn {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #131a27;
  border: 1px solid #1e2a3a;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.chat-reopen-btn:hover {
  background: #1e2a3a;
  transform: translateY(-50%) scale(1.1);
}

.chat-reopen-btn svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.chat-reopen-btn.show {
  display: flex;
}

@media (max-width: 1400px) {
  .chat-reopen-btn { display: none !important; }
}
