#shoutbox {
  margin-bottom: 10px;
  background-color: #111016;
  padding: 10px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#shoutbox .head {
  background: #111016;
  color: #9d65fd;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

#shoutbox .head .right a {
  color: #9d65fd;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s;
  font-size: 12px;
}

#shoutbox .head .right a:hover {
  background-color: #221f2b;
}

#shoutbox.collapsed .body {
  display: none;
}

#shoutbox .panel {
  border: none;
  padding-top: 10px;
}

#shoutbox input.text {
  width: 100%;
  padding: 15px;
  border: none;
  background-color: #15131b;
  border-radius: 6px;
  color: #6b6380;
  font-size: 13px;
  outline: none;
}

#shoutbox .window {
  max-height: 300px;
  overflow-y: auto;
  background-color: #15131b;
  border-radius: 6px;
}

#shoutbox .data {
  display: flex;
  flex-direction: column;
}

#shoutbox .entry {
  display: flex;
  align-items: flex-start;
  padding: 10px 14px;
  transition: background 0.2s;
  gap: 12px;
}

#shoutbox .entry:nth-child(even) {
  background-color: transparent;
}

#shoutbox .entry.new {
  background-color: #221f2c;
}

#shoutbox .entry:target {
  background-color: #1f252c;
}

#shoutbox .avatar {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
}

#shoutbox .avatar img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  opacity: 0.8;
  cursor: pointer;
  object-fit: cover;
}

#shoutbox .content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

#shoutbox .user {
  font-weight: 600;
  color: #9d65fd;
  white-space: nowrap;
  margin: 0;
}

#shoutbox .text {
  margin-top: 4px;
  color: #6b6380;
  word-break: break-word;
  margin: 0;
}

#shoutbox .info {
  font-size: 11px;
  color: #6b6380;
  white-space: nowrap;
  margin-left: auto;
  text-align: right;
  flex-shrink: 0;
  align-self: flex-end;
}

#shoutbox .info a {
  color: inherit;
  text-decoration: none;
  padding-left: 10px;
}

#shoutbox .entry.unread .info:before {
  content: '';
  display: inline-block;
  height: 6px;
  width: 6px;
  background: #9d65fd;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

#shoutbox .mod {
  font-size: 10px;
  font-weight: bold;
  padding: 4px 8px;
  color: #9d65fd;
  background: #221f2b;
  border-radius: 5px;
  margin-left: 5px;
}

#shoutbox .ip {
  color: #6b6380;
  font-size: 10px;
  margin-left: 10px;
}

@media (max-width: 900px) {
  #shoutbox .avatar {
    display: none !important;
  }

  #shoutbox .date {
    display: none !important;
  }

  #shoutbox .ip {
    display: none !important;
  }

  #shoutbox .mod {
   font-size: 7px;
   padding: 0px !important;
   background: transparent !important;
   margin-left: 0px !important;
  }

  #shoutbox .edit {
   padding-right: 5px !important;
  }

  #shoutbox .user {
    font-size: 14px;
    padding: 0;
    margin: 0;
  }
}

		