body.shoutbox-page {
  margin: 0 !important;
  padding-top: 92px !important;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(4, 7, 9, 0.62), rgba(4, 7, 9, 0.9)),
    url('/images/shoutbox.webp') center / cover fixed !important;
  color: #f5f5f5;
}

body.shoutbox-page header,
body.shoutbox-page .hero {
  display: none !important;
}

body.shoutbox-page .content-overlap {
  position: relative;
  left: 50%;
  width: 100vw !important;
  max-width: none !important;
  margin: 0 0 0 -50vw !important;
  padding: 18px clamp(14px, 2.2vw, 28px) 36px !important;
  box-sizing: border-box;
}

body.shoutbox-page .content-overlap section {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.shoutbox-page .card {
  width: 100%;
  min-height: calc(100vh - 210px);
  border: 1px solid rgba(255, 208, 0, 0.22) !important;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(7, 10, 8, 0.84), rgba(0, 0, 0, 0.7)) !important;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.36),
    inset 0 1px rgba(255, 255, 255, 0.04) !important;
}

.shoutbox-page .online-box {
  border: 1px solid rgba(255, 208, 0, 0.16);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.34);
}

.shoutbox-page .chat-box {
  height: min(620px, calc(100vh - 360px));
  min-height: 420px;
  border: 1px solid rgba(255, 208, 0, 0.22);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.46);
}

.shoutbox-page .shout-row {
  grid-template-columns: minmax(150px, 0.22fr) minmax(0, 1fr);
  gap: 16px;
}

.shoutbox-page .shout-name {
  color: #ffd000;
}

.shoutbox-page .shout-time {
  color: rgba(255, 255, 255, 0.55);
}

.shoutbox-page .shout-form {
  grid-template-columns: minmax(170px, 0.18fr) minmax(0, 1fr) 140px;
}

.shoutbox-page .shout-form input,
.shoutbox-page .shout-form textarea {
  min-height: 46px;
  border-radius: 12px;
  background: rgba(2, 4, 3, 0.88);
}

.shoutbox-page .shout-form button {
  min-height: 46px;
  border-radius: 12px;
  background: #ffd000;
  color: #111;
}

@media (max-width: 900px) {
  body.shoutbox-page {
    padding-top: 0 !important;
    background-attachment: scroll !important;
  }

  body.shoutbox-page .content-overlap {
    left: auto;
    width: 100% !important;
    margin-left: 0 !important;
    padding: 12px 10px 28px !important;
  }

  body.shoutbox-page .card {
    min-height: auto;
  }

  .shoutbox-page .chat-box {
    min-height: 380px;
    height: 52vh;
  }

  .shoutbox-page .shout-form {
    grid-template-columns: 1fr;
  }

  .shoutbox-page .shout-row {
    grid-template-columns: 1fr;
  }
}
