#irunreality-comments {
  margin-top: 3rem;
}

.irc-shell {
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: 0 18px 50px rgba(0,0,0,0.2);
}

.irc-head,
.irc-signed-in,
.irc-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.irc-head {
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.irc-kicker {
  margin: 0 0 0.2rem;
  color: #e63946;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.irc-head h2 {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  line-height: 1.2;
  margin: 0;
}

.irc-head a {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
}

.irc-composer {
  background: rgba(0,0,0,0.24);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1.1rem;
}

.irc-auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
}

.irc-auth h3 {
  color: #fff;
  font-size: 1.1rem;
  margin: 0 0 0.25rem;
}

.irc-auth p,
.irc-form-row small,
.irc-status {
  color: #9ca3af;
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0;
}

.irc-tabs {
  display: inline-flex;
  width: fit-content;
  padding: 0.2rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
}

.irc-tabs button,
.irc-signed-in button,
.irc-actions button,
.irc-reply-form button[type="button"] {
  background: transparent;
  border: 0;
  color: #cbd5e1;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
}

.irc-tabs button {
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
}

.irc-tabs button.active {
  background: #e63946;
  color: #fff;
}

.irc-auth-form,
.irc-post-form,
.irc-reply-form {
  display: grid;
  gap: 0.75rem;
}

.irc-auth-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.irc-auth-form input,
.irc-post-form textarea,
.irc-reply-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 12px;
  background: rgba(5,5,5,0.72);
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  outline: none;
  padding: 0.78rem 0.85rem;
}

.irc-auth-form input:focus,
.irc-post-form textarea:focus,
.irc-reply-form textarea:focus {
  border-color: rgba(230,57,70,0.7);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.12);
}

.irc-auth-form button[type="submit"],
.irc-post-form button[type="submit"],
.irc-reply-form button[type="submit"] {
  border: 0;
  border-radius: 999px;
  background: #e63946;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  padding: 0.78rem 1rem;
}

.irc-auth-form .irc-status,
.irc-auth-form button[type="submit"] {
  grid-column: 1 / -1;
}

.irc-signed-in {
  color: #cbd5e1;
  font-size: 0.86rem;
  margin-bottom: 0.75rem;
}

.irc-signed-in strong {
  color: #fff;
}

.irc-list {
  display: grid;
  gap: 0.85rem;
}

.irc-comment {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.8rem;
}

.irc-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e63946, #8b5cf6);
  background-size: cover;
  background-position: center;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
}

.irc-comment-body {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 0.85rem;
}

.irc-comment-meta {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.irc-comment-meta strong {
  color: #fff;
  font-size: 0.92rem;
}

.irc-comment-meta span {
  color: #7b8492;
  font-size: 0.76rem;
}

.irc-comment p {
  color: #d1d5db;
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0;
  white-space: pre-wrap;
}

.irc-actions {
  margin-top: 0.45rem;
}

.irc-actions button {
  color: #e63946;
  font-size: 0.78rem;
  padding: 0;
}

.irc-replies {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.irc-reply {
  grid-template-columns: 34px minmax(0, 1fr);
}

.irc-reply .irc-avatar {
  width: 34px;
  height: 34px;
  font-size: 0.72rem;
}

.irc-reply-form {
  margin-top: 0.75rem;
}

.irc-reply-form div {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
}

.irc-reply-form button[type="button"] {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
}

.irc-empty {
  color: #9ca3af;
  text-align: center;
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 1.4rem;
}

@media (max-width: 700px) {
  .irc-shell {
    padding: 1rem;
    border-radius: 14px;
  }

  .irc-head,
  .irc-signed-in,
  .irc-form-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .irc-auth-form {
    grid-template-columns: 1fr;
  }

  .irc-post-form button[type="submit"],
  .irc-reply-form button[type="submit"] {
    width: 100%;
  }
}
