.remake-thread {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(145, 163, 190, .28);
  border-radius: 18px;
  background: rgba(10, 16, 28, .38);
}
.remake-thread-header,
.remake-thread-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 12px 16px;
}
.remake-thread-header { border-bottom: 1px solid rgba(145, 163, 190, .2); }
.remake-hook {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(45, 212, 191, .13);
  color: #79e9da;
  font-size: .76rem;
  overflow-wrap: anywhere;
}
.remake-posts { list-style: none; padding: 0 16px; margin: 0; }
.remake-post {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 11px;
  padding-top: 16px;
}
.remake-post:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 54px;
  bottom: -13px;
  width: 2px;
  background: rgba(145, 163, 190, .3);
}
.remake-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #a0f7ea;
  background: #254953;
  font-size: .78rem;
  font-weight: 700;
}
.remake-post-body { padding-bottom: 12px; }
.remake-byline,
.remake-post-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.remake-byline { overflow-wrap: anywhere; }
.remake-byline span,
.remake-post-actions small,
.remake-part-number { color: #a8b6c9; font-size: .78rem; }
.remake-part-number { margin-left: auto; }
.remake-thread .remake-post-text { margin: 6px 0 8px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.remake-post-actions button { font-size: .8rem; }
.remake-post-actions small { margin-left: auto; }
.remake-thread-footer { border-top: 1px solid rgba(145, 163, 190, .2); justify-content: flex-end; }

.remake-thread button,
.history-toggle {
  border: 1px solid #657892;
  border-radius: 8px;
  background: #182438;
  color: #edf3fc;
  padding: 6px 10px;
}
.remake-thread button:not(:disabled):hover,
.history-toggle:hover { border-color: #79e9da; background: #243752; }
.remake-thread button:focus-visible,
.history-toggle:focus-visible { outline: 2px solid #79e9da; outline-offset: 2px; }
.history-entry { display: grid; gap: 12px; }
.history-toggle { width: fit-content; max-width: 100%; text-align: left; }
