@charset "UTF-8";
.forum-header .post-header__content-wrapper {
  flex: 1;
}

.forum-toolbar {
  padding: 0 32px;
  margin: 32px 0;
}
@media (max-width: 1024px) {
  .forum-toolbar {
    padding: 0 16px;
  }
}
.forum-toolbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.forum-toolbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.forum-toolbar__sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4F4D4E;
}
.forum-toolbar__sort select {
  padding: 8px 12px;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  background-color: #ffffff;
  font-size: 14px;
  color: #222222;
  cursor: pointer;
}
.forum-toolbar__sort select:focus {
  outline: none;
  border-color: #8A2A6B;
}
.forum-toolbar__sort-label {
  font-weight: 500;
}
.forum-toolbar__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.forum-toolbar__category {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #dcdcdc;
  background-color: #ffffff;
  color: #4F4D4E;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.5s ease-in-out;
}
.forum-toolbar__category:hover {
  border-color: #8A2A6B;
  color: #8A2A6B;
}
.forum-toolbar__category.is-active {
  background-color: #8A2A6B;
  border-color: #8A2A6B;
  color: #ffffff;
}
.forum-toolbar__new {
  display: inline-block;
  padding: 12px 24px;
  background-color: #8A2A6B;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.5s ease-in-out;
}
.forum-toolbar__new:hover {
  background-color: #6e2256;
  color: #ffffff;
}

.forum-list__items {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #dcdcdc;
}
.forum-list__item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #dcdcdc;
}
@media (max-width: 600px) {
  .forum-list__item {
    flex-wrap: wrap;
    gap: 12px;
  }
}
.forum-list__votes {
  min-width: 64px;
  padding: 8px 12px;
  text-align: center;
  background-color: #f8f8f9;
  border-radius: 4px;
}
.forum-list__vote-count {
  font-size: 20px;
  font-weight: 700;
  color: #8A2A6B;
}
.forum-list__body {
  flex: 1;
  min-width: 0;
}
.forum-list__title {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 6px;
}
.forum-list__title a {
  color: #222222;
  text-decoration: none;
}
.forum-list__title a:hover {
  color: #8A2A6B;
}
.forum-list__meta {
  font-size: 14px;
  color: #4F4D4E;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.forum-list__cats {
  display: inline-flex;
  gap: 6px;
}
.forum-list__cats a {
  color: #6e2256;
  font-weight: 500;
  text-decoration: none;
}
.forum-list__cats a:hover {
  text-decoration: underline;
}
.forum-list__stats {
  font-size: 14px;
  color: #4F4D4E;
  white-space: nowrap;
}
.forum-list__empty {
  padding: 32px 0;
  text-align: center;
  color: #4F4D4E;
}

.forum-thread__inner {
  max-width: 900px;
}
.forum-thread__breadcrumb {
  font-size: 14px;
  color: #4F4D4E;
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
}
.forum-thread__breadcrumb a {
  color: #8A2A6B;
  text-decoration: none;
}
.forum-thread__breadcrumb a:hover {
  text-decoration: underline;
}
.forum-thread__post {
  display: flex;
  gap: 24px;
  padding: 24px;
  background-color: #f8f8f9;
  border-radius: 8px;
  margin-bottom: 32px;
}
@media (max-width: 600px) {
  .forum-thread__post {
    flex-direction: column;
    gap: 12px;
  }
}
.forum-thread__votes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 48px;
}
@media (max-width: 600px) {
  .forum-thread__votes {
    flex-direction: row;
    justify-content: flex-start;
  }
}
.forum-thread__body {
  flex: 1;
  min-width: 0;
}
.forum-thread__title {
  font-size: 28px;
  font-weight: 500;
  color: #8A2A6B;
  margin: 0 0 8px;
}
.forum-thread__meta {
  font-size: 14px;
  color: #4F4D4E;
  margin-bottom: 16px;
}
.forum-thread__meta a {
  color: #8A2A6B;
}
.forum-thread__content {
  color: #4F4D4E;
  line-height: 28px;
  font-size: 16px;
}
.forum-thread__content p {
  margin: 0 0 12px;
}
.forum-thread__content img {
  max-width: 100%;
  height: auto;
}
.forum-thread__mod-actions {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #dcdcdc;
  display: flex;
  gap: 16px;
  font-size: 14px;
}
.forum-thread__mod-actions a {
  color: #8A2A6B;
}
.forum-thread__mod-actions a.is-danger {
  color: #c0392b;
}
.forum-thread__replies-title {
  font-size: 20px;
  font-weight: 500;
  color: #8A2A6B;
  margin: 0 0 16px;
}
.forum-thread__reply-form {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #dcdcdc;
}
.forum-thread__reply-form h3 {
  font-size: 16px;
  color: #8A2A6B;
  margin-bottom: 12px;
}
.forum-thread__login-prompt {
  padding: 24px;
  text-align: center;
  background-color: #f8f8f9;
  border-radius: 8px;
}
.forum-thread__login-prompt a {
  color: #8A2A6B;
  font-weight: 500;
}

.forum-replies {
  list-style: none;
  margin: 0;
  padding: 0;
}

.forum-reply {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #dcdcdc;
}
.forum-reply:last-child {
  border-bottom: none;
}
@media (max-width: 600px) {
  .forum-reply {
    flex-direction: column;
    gap: 8px;
  }
}
.forum-reply__votes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 40px;
}
@media (max-width: 600px) {
  .forum-reply__votes {
    flex-direction: row;
  }
}
.forum-reply__body {
  flex: 1;
  min-width: 0;
}
.forum-reply__meta {
  font-size: 12px;
  color: #4F4D4E;
  margin-bottom: 8px;
}
.forum-reply__content {
  color: #4F4D4E;
  font-size: 16px;
  line-height: 24px;
}
.forum-reply__content p {
  margin: 0 0 8px;
}
.forum-reply__actions {
  margin-top: 8px;
  font-size: 12px;
}
.forum-reply__actions a {
  color: #8A2A6B;
}
.forum-reply__actions a.is-danger {
  color: #c0392b;
}

.forum-vote {
  width: 32px;
  height: 32px;
  border: 1px solid #dcdcdc;
  background-color: #ffffff;
  border-radius: 4px;
  color: #4F4D4E;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.forum-vote:hover:not(:disabled) {
  border-color: #8A2A6B;
  color: #8A2A6B;
}
.forum-vote[aria-busy=true] {
  opacity: 0.5;
  cursor: wait;
}
.forum-vote:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.forum-vote--up.is-active {
  background-color: #8A2A6B;
  border-color: #8A2A6B;
  color: #ffffff;
}
.forum-vote--down.is-active {
  background-color: #c0392b;
  border-color: #c0392b;
  color: #ffffff;
}
.forum-vote__count {
  font-weight: 700;
  color: #222222;
  min-width: 24px;
  text-align: center;
  font-size: 14px;
}

.forum-upload-preview {
  margin-top: 12px;
}
.forum-upload-preview__status {
  margin: 0 0 8px;
  padding: 8px 12px;
  background-color: #eef2ff;
  border-left: 3px solid #8A2A6B;
  color: #8A2A6B;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.forum-upload-preview__status::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: forum-upload-spin 0.8s linear infinite;
}
.forum-upload-preview.is-processing {
  pointer-events: none;
  opacity: 0.85;
}
.forum-upload-preview__warning {
  margin: 0 0 8px;
  padding: 8px 12px;
  background-color: #fdecea;
  border-left: 3px solid #c0392b;
  color: #c0392b;
  font-size: 14px;
  border-radius: 4px;
}
.forum-upload-preview__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}
.forum-upload-preview__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  background-color: #ffffff;
}
.forum-upload-preview__item.is-error {
  border-color: #c0392b;
  background-color: #fdecea;
}
.forum-upload-preview__thumb {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background-color: #f8f8f9;
}
.forum-upload-preview__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.forum-upload-preview__meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.forum-upload-preview__name {
  font-size: 14px;
  color: #222222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.forum-upload-preview__size {
  font-size: 12px;
  color: #4F4D4E;
}
.forum-upload-preview__remove {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid #dcdcdc;
  background-color: #ffffff;
  color: #4F4D4E;
  font-size: 16px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
}
.forum-upload-preview__remove:hover {
  border-color: #c0392b;
  color: #c0392b;
}

.forum-gallery {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}
.forum-gallery--reply {
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
}
.forum-gallery__item {
  margin: 0;
}
.forum-gallery__image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  transition: transform 0.2s ease;
}
.forum-gallery__image:hover {
  transform: scale(1.02);
}
.forum-gallery--reply .forum-gallery__image {
  height: 100px;
}

.forum-reply-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
  resize: vertical;
  min-height: 120px;
  box-sizing: border-box;
}
.forum-reply-form textarea:focus {
  outline: none;
  border-color: #8A2A6B;
}
.forum-reply-form__images {
  margin-top: 12px;
}
.forum-reply-form__images label {
  display: block;
  font-size: 12px;
  color: #4F4D4E;
  margin-bottom: 4px;
}
.forum-reply-form__images input[type=file] {
  font-size: 14px;
  color: #4F4D4E;
}
.forum-reply-form button {
  margin-top: 12px;
}

.forum-field input[type=file] {
  padding: 8px 0;
  font-size: 14px;
  color: #4F4D4E;
  background: transparent;
  border: none;
}
.forum-field input[type=file]::file-selector-button {
  padding: 8px 16px;
  margin-right: 12px;
  background-color: #f8f8f9;
  color: #8A2A6B;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
}
.forum-field input[type=file]::file-selector-button:hover {
  border-color: #8A2A6B;
}

.forum-new-thread__form {
  max-width: 720px;
  margin: 0 auto;
}

.forum-field {
  margin-bottom: 20px;
}
.forum-field__locked {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background-color: #f8f8f9;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
}
.forum-field__locked-value {
  font-weight: 500;
  color: #8A2A6B;
  font-size: 16px;
}
.forum-field__locked-change {
  font-size: 14px;
  color: #4F4D4E;
  text-decoration: underline;
}
.forum-field__locked-change:hover {
  color: #8A2A6B;
}
.forum-field label {
  display: block;
  font-weight: 500;
  color: #222222;
  margin-bottom: 6px;
  font-size: 14px;
}
.forum-field input[type=text],
.forum-field textarea,
.forum-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
  box-sizing: border-box;
  background-color: #ffffff;
}
.forum-field input[type=text]:focus,
.forum-field textarea:focus,
.forum-field select:focus {
  outline: none;
  border-color: #8A2A6B;
}
.forum-field textarea {
  resize: vertical;
  line-height: 24px;
}
.forum-field--actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
}

.forum-new-thread .button,
.forum-thread .button,
.forum-list .button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}
.forum-new-thread .button--primary,
.forum-thread .button--primary,
.forum-list .button--primary {
  background-color: #8A2A6B;
  color: #ffffff;
}
.forum-new-thread .button--primary:hover,
.forum-thread .button--primary:hover,
.forum-list .button--primary:hover {
  background-color: #6e2256;
}
.forum-new-thread .button--ghost,
.forum-thread .button--ghost,
.forum-list .button--ghost {
  background-color: transparent;
  color: #8A2A6B;
  border-color: #dcdcdc;
}
.forum-new-thread .button--ghost:hover,
.forum-thread .button--ghost:hover,
.forum-list .button--ghost:hover {
  border-color: #8A2A6B;
}

.forum-paywall__inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 0;
  text-align: center;
}
.forum-paywall__title {
  font-size: 37px;
  font-weight: 500;
  color: #8A2A6B;
  margin-bottom: 16px;
}
@media (max-width: 1024px) {
  .forum-paywall__title {
    font-size: 28px;
  }
}
.forum-paywall__lede {
  font-size: 16px;
  color: #4F4D4E;
  line-height: 28px;
  margin-bottom: 32px;
}
.forum-paywall__benefits {
  list-style: none;
  margin: 0 0 32px;
  padding: 24px;
  background-color: #f8f8f9;
  border-radius: 8px;
  text-align: left;
}
.forum-paywall__benefits li {
  padding: 6px 0 6px 28px;
  position: relative;
  color: #4F4D4E;
  font-size: 16px;
}
.forum-paywall__benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #8A2A6B;
  font-weight: 700;
}
.forum-paywall__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.forum-paywall__actions .button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
}
.forum-paywall__actions .button--primary {
  background-color: #8A2A6B;
  color: #ffffff;
}
.forum-paywall__actions .button--primary:hover {
  background-color: #6e2256;
}
.forum-paywall__actions .button--ghost {
  background-color: transparent;
  color: #8A2A6B;
  border-color: #dcdcdc;
}
.forum-paywall__actions .button--ghost:hover {
  border-color: #8A2A6B;
}

.forum-badge {
  display: inline-block;
  font-size: 0.8em;
  margin-right: 4px;
  vertical-align: middle;
}

.forum-actions {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #dcdcdc;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.forum-actions--reply {
  margin-top: 8px;
  padding-top: 8px;
}
.forum-actions form {
  margin: 0;
}

.forum-action {
  display: inline-block;
  padding: 4px 10px;
  background-color: transparent;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  color: #4F4D4E;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.forum-action:hover {
  border-color: #8A2A6B;
  color: #8A2A6B;
}
.forum-action--danger:hover {
  border-color: #c0392b;
  color: #c0392b;
}

.forum-report-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}
.forum-report-modal[hidden] {
  display: none;
}
.forum-report-modal__inner {
  position: relative;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.forum-report-modal__inner h3 {
  margin: 0 0 8px;
  color: #8A2A6B;
  font-size: 20px;
}
.forum-report-modal__inner p {
  margin: 0 0 16px;
  font-size: 14px;
  color: #4F4D4E;
}
.forum-report-modal__inner textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
  box-sizing: border-box;
  resize: vertical;
  min-height: 100px;
}
.forum-report-modal__inner textarea:focus {
  outline: none;
  border-color: #8A2A6B;
}
.forum-report-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #4F4D4E;
  cursor: pointer;
  line-height: 1;
}
.forum-report-modal__close:hover {
  color: #222222;
}
.forum-report-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}
.forum-report-modal__actions .button {
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.forum-report-modal__actions .button--primary {
  background-color: #8A2A6B;
  color: #ffffff;
}
.forum-report-modal__actions .button--primary:disabled {
  opacity: 0.5;
  cursor: wait;
}
.forum-report-modal__actions .button--ghost {
  background-color: transparent;
  color: #4F4D4E;
  border-color: #dcdcdc;
}
.forum-report-modal__feedback {
  margin-top: 12px;
  font-size: 14px;
}
.forum-report-modal__feedback.is-error {
  color: #c0392b;
}
.forum-report-modal__feedback.is-success {
  color: #8A2A6B;
}

.forum-notice {
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 14px;
}
.forum-notice--success {
  background-color: #e8f9f7;
  border-left: 4px solid #8A2A6B;
  color: #8A2A6B;
}
.forum-notice--error {
  background-color: #fdecea;
  border-left: 4px solid #c0392b;
  color: #c0392b;
}

@keyframes forum-upload-spin {
  to {
    transform: rotate(360deg);
  }
}
