@media (max-width: 768px) {
  main .block__title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  main .post-comment .block__body .user {
    display: none;
  }
  main .block.thread {
    padding: 0;
  }
  main .block.thread .block__footer {
    margin: 0;
  }
  .block__header:has(> .rating) > .thread-info .block__title {
    font-size: 1.25rem;
  }
}
.tags {
  padding-right: 0.5rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.25rem;
}
.tags .tag {
  display: inline-block;
  border-radius: 0.5rem;
  font-weight: 400;
  border: 1px solid inherit;
  line-height: 1.6;
  padding: 2px 0.35rem;
  font-size: 80%;
  cursor: pointer;
}
.tags .tag.selected {
  background-color: #7246f2;
  color: white;
}
.tags .tag + .tag {
  margin-left: 0.25rem;
}

.tags-input {
  display: flex;
  flex-wrap: wrap;
  padding: 0.5rem;
  border: 1px solid #303e51;
  border-radius: 0.5rem;
  background-color: #263037;
  color: white;
  position: relative;
}
.tags-input input {
  flex: 1;
  border: none;
  background: transparent;
  color: white;
  padding: 0.5rem;
  outline: none;
  border-radius: 0 0.5rem 0.5rem 0 !important;
  border-left: 0 !important;
}
.tags-input .btn-show-all {
  background: #263037;
  border: none;
  color: white;
  padding: 0.5rem;
  border: 1px solid #303e51;
  border-radius: 0.5rem 0 0 0.5rem;
  cursor: pointer;
  width: 2.5rem;
  transition: 0.25s all ease-in-out;
}
.tags-input .btn-show-all:hover {
  background: #7246f2;
}
.tags-input .tags-list {
  display: flex;
  flex-flow: row nowrap;
  gap: 0.1rem;
  align-items: center;
  margin-left: 0.25rem;
}
.tags-input .tags-list .tag {
  display: inline-flex;
  align-items: center;
  border-radius: 0.5rem;
  font-weight: 400;
  border: 1px solid inherit;
  line-height: 1.6;
  padding: 2px 0.35rem;
  font-size: 80%;
  background-color: #7246f2;
  color: white;
  cursor: pointer;
}
.tags-input .tags-list .tag .remove-tag {
  margin-left: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  width: 1rem;
}
.tags-input .autocomplete-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #263037;
  border: 1px solid #303e51;
  border-radius: 0.5rem;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
}
.tags-input .autocomplete-suggestions .suggestion {
  padding: 0.5rem;
  cursor: pointer;
  color: white;
}
.tags-input .autocomplete-suggestions .suggestion:hover {
  background-color: #7246f2;
  color: white;
}

.role {
  display: inline-block;
  border-radius: 0.5rem;
  font-weight: 400;
  border: 1px solid inherit;
  line-height: 1.6;
  padding: 2px 0.35rem;
  font-size: 80%;
  width: fit-content;
  text-transform: uppercase;
}

.block__header:has(> .rating) {
  display: flex;
  flex-direction: row;
}
.block__header:has(> .rating) .thread-info {
  margin-right: auto;
}
.block__header:has(> .rating) .thread-info .block__subtitle {
  width: 100%;
}
.block__header:has(> .rating) .rating {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
}
.block__header:has(> .rating) .rating .buttons {
  font-size: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
  margin-left: auto;
}
.block__header:has(> .rating) .rating .buttons i:not([aria-disabled=true]) {
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}
.block__header:has(> .rating) .rating .buttons i:not([aria-disabled=true]):hover, .block__header:has(> .rating) .rating .buttons i:not([aria-disabled=true]).active {
  color: #7246f2;
}

.block__body {
  max-width: 100%;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.block.thread .block__header {
  font-size: 0.9rem;
  font-weight: 300;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: #64748b;
  border-bottom: 1px solid #303e51;
}
.block.thread .block__header .edit-button {
  margin: -0.25rem -0.5rem 0 auto;
  color: #64748b;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  text-decoration: none;
  border-radius: 0.5rem;
  border: 1px solid #303e51;
  padding: 0.25rem 0.5rem;
}
.block.thread .block__header .edit-button:hover {
  color: white;
  background-color: #7246f2;
}
.block.thread .block__body {
  min-height: 200px;
  font-weight: 300;
}
.block.thread .block__footer {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  border-top: 1px solid #303e51;
  background-color: #263037;
  padding: 0.5rem 2rem;
  margin: 0 -0.5rem -0.5rem;
  border-radius: 0 0 1rem 1rem;
}
.block.thread .block__footer img {
  border-radius: 0.5rem;
  width: 4rem;
  height: 4rem;
}
.block.thread .block__footer .author-info {
  display: flex;
  flex-direction: column;
}
.block.thread .block__footer .author-info .name {
  font-size: 1.5rem;
  font-weight: 500;
  color: white;
  margin-bottom: 0.25rem;
}
.block.thread .block__footer .last-update {
  margin-left: auto;
}

.block__title,
.block__subtitle {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.block__subtitle {
  margin-top: 0.5rem;
  font-size: 16px;
  font-weight: 300;
  gap: 0.25rem;
  width: clamp(100px, 20%, 200px);
  color: #64748b;
}
.block__subtitle .username {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  font-weight: 300;
}

.comments {
  margin-top: 1rem;
}
.comments .block {
  margin-top: 1rem;
}
.comments .block .block__header {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 300;
  color: #64748b;
  border-bottom: 1px solid #303e51;
}
.comments .block .block__header img {
  border-radius: 0.5rem;
  width: 2rem;
  height: 2rem;
}
.comments .block .block__header .username a {
  text-decoration: none;
  color: #64748b;
}
.comments .block .block__header .rating {
  margin-left: auto;
}
.comments .block .block__header .rating .count {
  font-size: 1rem;
}
.comments .block .block__header .rating .buttons {
  flex-direction: row;
  gap: 0;
}
.comments .block .block__header .creation-date {
  font-size: 0.75rem;
}
.comments .block .block__body {
  position: relative;
  font-weight: 300;
}
.comments .block .block__body.collapsed {
  max-height: 10rem;
  overflow: hidden;
}
.comments .block .block__body.collapsed::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  bottom: 0;
  background: linear-gradient(transparent, #1b2328);
}
.comments .block .block__body img {
  max-width: 100%;
  height: auto;
}
.comments .block .block__body.collapsed + #expand-comment span::after {
  content: "Expand";
}
.comments .block .block__body.collapsed + #expand-comment i {
  rotate: 0deg;
}
.comments .block #expand-comment {
  gap: 0.25rem;
  width: clamp(100px, 20%, 200px);
  height: 2rem;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: white;
  border: none;
  margin: 0 auto;
}
.comments .block #expand-comment span::after {
  content: "Collapse";
}
.comments .block #expand-comment i {
  rotate: 180deg;
}
.comments .block #expand-comment:hover {
  color: #7246f2;
}

.post-comment .block__body {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
.post-comment .block__body .user {
  display: flex;
  flex-direction: column;
  background-color: #263037;
  height: 100%;
  width: 10rem;
  border-radius: 0.75rem;
  align-items: center;
  padding: 1rem;
}
.post-comment .block__body .user img {
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}
.post-comment .block__body .user .username {
  width: 6rem;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}
.post-comment .block__body form[method=post] {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.post-comment .block__body form[method=post] textarea#content {
  width: 100%;
  min-height: 10rem;
  background-color: #212a30;
  border: 1px solid #303e51;
  border-radius: 0.75rem;
  color: #b9a3e7;
  padding: 1rem;
  resize: vertical;
}
.post-comment .block__body form[method=post] textarea#content:focus {
  outline: none;
  background-color: #1b2328;
}
.post-comment .block__body form[method=post] #submit-comment {
  margin-left: auto;
  padding: 0.75rem;
  border-radius: 0.75rem;
  color: white;
  background-color: #1b2328;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}
.post-comment .block__body form[method=post] #submit-comment i {
  margin-right: 0.25rem;
}
.post-comment .block__body form[method=post] #submit-comment:hover {
  background-color: #2b3840;
}

.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #303e51;
  border-radius: 0.5rem;
  background-color: #263037;
  color: white;
}
.form-group textarea {
  resize: vertical;
  min-height: 10rem;
  background-color: #212a30;
  border: 1px solid #303e51;
  border-radius: 0.75rem;
  color: #b9a3e7;
  padding: 1rem;
}
.form-group textarea:focus {
  outline: none;
  background-color: #1b2328;
}
.form-group .title-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.form-group .title-input-wrapper input {
  flex: 1;
}
.form-group .title-input-wrapper #titleCounter {
  position: absolute;
  right: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 80%;
}

select#tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.5rem;
  border: 1px solid #303e51;
  border-radius: 0.5rem;
  background-color: #263037;
  color: white;
}
select#tags option {
  display: inline-block;
  border-radius: 0.5rem;
  font-weight: 400;
  border: 1px solid inherit;
  line-height: 1.6;
  padding: 2px 0.35rem;
  font-size: 80%;
  cursor: pointer;
  background-color: inherit;
  color: inherit;
}
select#tags option.selected {
  background-color: #7246f2;
  color: white;
}

.btn-submit {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  color: white;
  background-color: #7246f2;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  font-weight: bold;
  text-align: center;
}
.btn-submit:hover {
  background-color: rgb(77.6818181818, 22.3484848485, 238.6515151515);
}

/*# sourceMappingURL=thread.css.map */
