#shoutbox {
  padding: 0.5rem;
  border: solid 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  background-color: #fff;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

#shoutbox .head {
  display: flex;
  align-items: center;
  padding: 1rem;
  color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 10%), 0 1px 2px 0 rgb(0 0 0 / 6%);
  background: #7e22ce;
  background: linear-gradient(90deg, #7e22ce 0%, #9333ea 100%);
  margin-bottom: 8px;
  justify-content: space-between;
}

#shoutbox.front .head {
  cursor: pointer;
}

#shoutbox .head .right {
  float: right;
  margin: 0;
  font-size: 13px;
}

#shoutbox.collapsed .head {
  opacity: 0.6;
}

#shoutbox.collapsed .body {
  display: none;
}

#shoutbox .panel {
  margin-bottom: 0.5rem;
}

#shoutbox input.text {
  margin: 0;
  padding: 12px 16px;
  width: 100%;
  border: none;
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #374151;
  border-radius: 0.5rem;
  outline: none;
  box-shadow: none;
  background-color: #e2e8f0;
}

#shoutbox .minposts,
#shoutbox .blocked {
  padding: 6px;
  font-size: 11px;
}

#shoutbox .panel.minposts {
  background: #fffed8;
  color: #727250;
}

#shoutbox .panel.blocked {
  background: #fcefef;
  color: #543a3a;
}

#shoutbox .panel p {
  margin: 0;
}

#shoutbox .window {
  overflow-y: scroll;
}

#shoutbox .data {
  display: table;
  width: 100%;
  font-family: Arial, sans-serif;
  font-size: 12px;
}

#shoutbox.front .data {
  border-top: none;
}

#shoutbox .entry {
  display: table-row;
  width: 100%;
  transition: background-color 0.2s;
}

#shoutbox .entry:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.01);
}

#shoutbox .entry.new {
  background-color: rgba(255, 255, 100, 0.1);
}

#shoutbox .entry > div {
  border-bottom: dashed 1px rgba(0, 0, 0, 0.05);
}

#shoutbox .entry:last-child > div {
  border-bottom: none;
}

#shoutbox .entry > div {
  display: table-cell;
  padding: 4px;
  background-color: white;
}

#shoutbox .avatar img {
  margin: 0 auto;
  vertical-align: middle;
  max-height: 20px;
  max-width: 20px;
  border: solid 1px rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

#shoutbox .user {
  border-right: solid 1px rgba(0, 0, 0, 0.05);
  text-align: right;
  white-space: nowrap;
}

#shoutbox .text {
  width: 100%;
  color: #555;
}

#shoutbox .info {
  font-size: 11px;
  color: #aaa;
  white-space: nowrap;
  text-align: right;
}

#shoutbox .mod {
  padding: 6px 8px;
  font-size: 9px;
  font-weight: bold;
  color: #aaa;
  text-decoration: none;
}

#shoutbox .mod:nth-of-type(2) {
  margin-right: 5px;
  border-left: solid 1px rgba(0, 0, 0, 0.1);
}

#shoutbox .ip {
  margin-right: 10px;
  color: #cecece;
}

#shoutbox .report {
  color: #ca2b2b;
}
