/* Her satır: tam genişlik, flex, sağdaymış gibi görünür */
.chat-row {
  /* display: flex; */
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  /* margin: 4px 0; */
  font-size: 0.9rem;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 0 4px;
  box-sizing: border-box;
}

.chat-col {
  display: flex;
  flex-direction: column-reverse;
}

/* Reply preview: küçük puntoda, gri ton */
.reply-preview {
  font-size: 0.75rem;
  opacity: .8;;
  margin-left: 11px;
}

/* Badge’ler: küçük simgeler */
.badge-container {
  display: inline;
  align-items: center;
  margin-right: 6px;
}
.badge-img {
  width: 16px;
  height: 16px;
  border-radius: 0;
  margin-right: 3px;
  vertical-align: text-bottom;
  background-color: transparent;
}

/* Kullanıcı adı ve mesaj içeriği */
.chat-text {
  line-height: 1.5;
  white-space: normal; /* BU deÄŸiÅŸtirildi */
  overflow-wrap: break-word; /* KELÄ°MELER BÃ–LÃœNEBÄ°LSÄ°N */
  word-break: break-word; /* UZUN RAKAMLARDA VEYA KELÄ°MELERDE KIRILSIN */
  display: inline;
}

/* Kullanıcı adı koyu */
.chat-text strong {
  font-weight: bold;
  margin-right: 4px;
}

.delete-button {
  cursor: pointer;
  font-size: 0.8rem;
  margin-left: 4px;
  padding: 2px 4px;
  border-radius: 4px;
  border: none;
}
#chat-view {
  background-color: var(--back);
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  overflow-y: auto;
}
.chat-username {
  font-weight: bold;
  color: rgb(0, 195, 255);
}
.emote-image {
  width: 20px;
  height: 20px;
  margin-right: 4px;
  vertical-align: text-bottom;
}
.error{
  background-color: red;
  color: white;
}
.reward-row {
  display: flex;
  justify-content: flex-start;
}

.reward-box {
  background: transparent;
  border-radius: 10px;
  padding: 0;
  min-width: 240px;
  max-width: 340px;
  box-shadow: 0 2px 8px 0 #0001;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-left: 0;
  margin-right: auto;
}

.reward-username {
  font-weight: bold;
  text-align: left;
  /* background ve color dinamik olarak JS'de atanıyor */
}

.reward-title {
  padding: 10px 12px 8px 12px;
  text-align: left;
}

.reward-userinput {
  border: 1px solid var(--front);
  border-radius: 8px 8px 8px 8px;
  margin: 0 12px 12px 12px;
  padding: 8px 10px;
  word-break: break-word;
  text-align: left;
}



