.ds-forum-page {
  position: relative;
  width: 100%;
  align-self: stretch;
  justify-self: stretch;
  margin: 0;
  padding: 12px 28px 30px;
  color: #eaf6ff;
  --ds-forum-media-size: clamp(230px, 24vw, 330px);
}

.ds-forum-main {
  width: 100%;
  min-width: 0;
  padding: 0;
  background: transparent;
}

.ds-forum-page [hidden] {
  display: none;
}

.ds-forum-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 18px;
}

.ds-forum-page-head h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.18;
  letter-spacing: 0.10em;
  text-shadow:
    0 0 7px rgba(215, 237, 255, 0.72),
    0 0 15px rgba(32, 169, 255, 0.44),
    0 1px 0 #000000;
}

.ds-forum-page-head h2 {
  width: 100%;
  margin: 0;
  color: #dcecf8;
  font-size: clamp(0.92rem, 1.7vw, 1.08rem);
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 0 #000000, 0 0 9px rgba(32, 169, 255, 0.22);
}

.ds-forum-new-link,
.ds-forum-submit-button,
.ds-forum-reply-link,
.ds-forum-back-link {
  flex: 0 0 auto;
  margin: 0;
  text-decoration: none;
}

.ds-forum-new-link:visited,
.ds-forum-new-link:hover,
.ds-forum-new-link:focus-visible,
.ds-forum-submit-button:hover,
.ds-forum-submit-button:focus-visible,
.ds-forum-reply-link:visited,
.ds-forum-reply-link:hover,
.ds-forum-reply-link:focus-visible,
.ds-forum-back-link:visited,
.ds-forum-back-link:hover,
.ds-forum-back-link:focus-visible {
  text-decoration: none;
}

.ds-forum-search {
  position: relative;
  z-index: 700;
  overflow: visible;
  width: min(100%, calc(100% - 72px));
  max-width: 980px;
  margin: 0 auto 22px;
  padding: 9px 11px;
  border: 1px solid rgba(205, 214, 221, 0.24);
  border-radius: 15px;
  background:
    linear-gradient(
      135deg,
      rgba(58, 63, 70, 0.96),
      rgba(18, 22, 27, 0.98) 48%,
      rgba(4, 6, 9, 0.99)
    );
  box-shadow:
    0 11px 22px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -11px 18px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.ds-forum-search::before,
.ds-forum-search::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  height: 1px;
  border-radius: 999px;
  pointer-events: none;
}

.ds-forum-search::before {
  top: 0;
  background: linear-gradient(90deg, transparent, rgba(245, 248, 250, 0.62), rgba(118, 126, 134, 0.70), transparent);
}

.ds-forum-search::after {
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(205, 214, 221, 0.52), rgba(12, 14, 17, 0.90), transparent);
}

.ds-forum-search-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 40px minmax(170px, 220px);
  gap: 8px;
  align-items: center;
}

.ds-forum-search-input-wrap,
.ds-forum-filter-picker {
  position: relative;
  min-width: 0;
}

.ds-forum-search-form input {
  width: 100%;
  min-height: 34px;
  padding: 7px 11px;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(
      135deg,
      rgba(38, 43, 49, 0.94),
      rgba(3, 5, 8, 0.98)
    );
  color: #f2f5f7;
  outline: none;
  font: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(205, 214, 221, 0.24),
    inset 0 8px 13px rgba(0, 0, 0, 0.48),
    0 0 10px rgba(205, 214, 221, 0.08);
}

.ds-forum-search-form input::placeholder {
  color: rgba(225, 230, 234, 0.60);
}

.ds-forum-search-form input:focus {
  box-shadow:
    inset 0 0 0 1px rgba(245, 248, 250, 0.46),
    inset 0 8px 13px rgba(0, 0, 0, 0.48),
    0 0 14px rgba(205, 214, 221, 0.18);
}

.ds-forum-search-submit,
.ds-forum-search .ds-profile-edit-picker-trigger {
  color: #f7fbff;
  background:
    linear-gradient(
      135deg,
      rgba(82, 88, 96, 0.92),
      rgba(24, 28, 34, 0.98) 48%,
      rgba(5, 7, 10, 0.99)
    );
  box-shadow:
    inset 0 0 0 1px rgba(225, 230, 234, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -7px 13px rgba(0, 0, 0, 0.36),
    0 0 11px rgba(205, 214, 221, 0.12);
  text-shadow: 0 1px 0 #000000, 0 0 7px rgba(215, 223, 229, 0.26);
}

.ds-forum-search-submit {
  display: inline-grid;
  place-items: center;
  width: 38px;
  min-width: 38px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.ds-forum-search-submit:hover,
.ds-forum-search-submit:focus-visible,
.ds-forum-search .ds-profile-edit-picker-trigger:hover,
.ds-forum-search .ds-profile-edit-picker-trigger:focus-visible,
.ds-forum-search .ds-profile-edit-picker-open .ds-profile-edit-picker-trigger {
  outline: none;
  box-shadow:
    inset 0 0 0 1px rgba(245, 248, 250, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    inset 0 -7px 13px rgba(0, 0, 0, 0.34),
    0 0 16px rgba(205, 214, 221, 0.20);
}

.ds-forum-filter-picker {
  width: 100%;
  z-index: 20;
}

.ds-forum-filter-picker.ds-profile-edit-picker-open {
  z-index: 1000;
}

.ds-forum-filter-trigger,
.ds-forum-picker-trigger {
  width: 100%;
  min-height: 34px;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
}

.ds-forum-category-popover,
.ds-forum-picker-popover {
  min-width: 100%;
  max-height: min(390px, 68vh);
  overflow-y: auto;
  z-index: 1010;
  border: 1px solid rgba(205, 214, 221, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(
      145deg,
      rgba(30, 34, 39, 0.98),
      rgba(3, 5, 8, 0.99)
    );
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.50),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 18px rgba(205, 214, 221, 0.12);
  scrollbar-width: thin;
  scrollbar-color: rgba(205, 214, 221, 0.46) rgba(3, 5, 8, 0.72);
}

.ds-forum-picker-search-label {
  display: block;
  margin: 0 0 6px;
  color: rgba(225, 239, 250, 0.82);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.ds-forum-picker-search {
  width: 100%;
  min-height: 34px;
  margin: 0 0 8px;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(
      135deg,
      rgba(38, 43, 49, 0.94),
      rgba(3, 5, 8, 0.98)
    );
  color: #f2f5f7;
  outline: none;
  font: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(205, 214, 221, 0.24),
    inset 0 8px 13px rgba(0, 0, 0, 0.48),
    0 0 10px rgba(205, 214, 221, 0.08);
}

.ds-forum-picker-search:focus {
  box-shadow:
    inset 0 0 0 1px rgba(245, 248, 250, 0.46),
    inset 0 8px 13px rgba(0, 0, 0, 0.48),
    0 0 14px rgba(205, 214, 221, 0.18);
}

.ds-forum-search .ds-profile-edit-picker-choice,
.ds-forum-category-picker .ds-profile-edit-picker-choice {
  color: #f2f5f7;
  background: transparent;
  box-shadow: none;
  border-radius: 6px;
}

.ds-forum-search .ds-profile-edit-picker-choice:hover,
.ds-forum-search .ds-profile-edit-picker-choice:focus-visible,
.ds-forum-search .ds-profile-edit-picker-choice-active,
.ds-forum-category-picker .ds-profile-edit-picker-choice:hover,
.ds-forum-category-picker .ds-profile-edit-picker-choice:focus-visible,
.ds-forum-category-picker .ds-profile-edit-picker-choice-active {
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      rgba(118, 126, 134, 0.46),
      rgba(22, 26, 31, 0.82)
    );
  box-shadow: none;
}

.ds-forum-thread-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  width: 100%;
}

.ds-forum-thread-card,
.ds-forum-thread,
.ds-forum-form {
  position: relative;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background:
    radial-gradient(
      ellipse at 0% 0%,
      rgba(215, 237, 255, 0.12),
      transparent 34%
    ),
    radial-gradient(
      ellipse at 70% 0%,
      rgba(32, 169, 255, 0.10),
      transparent 38%
    ),
    linear-gradient(
      90deg,
      rgba(6, 20, 33, 0.78),
      rgba(0, 0, 0, 0.98) 48%,
      rgba(0, 0, 0, 1)
    );
  box-shadow:
    inset 0 0 0 1px rgba(142, 223, 255, 0.12),
    inset 0 16px 24px rgba(215, 237, 255, 0.025),
    0 0 22px rgba(32, 169, 255, 0.08);
}

.ds-forum-thread-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px 18px;
  padding: 16px 18px;
  overflow: visible;
}

.ds-forum-thread-card-with-image {
  grid-template-columns: 132px minmax(0, 1fr);
}

.ds-forum-thread-card-head,
.ds-forum-thread-actions {
  grid-column: 1 / -1;
}

.ds-forum-thread-meta,
.ds-forum-reply-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 12px;
  color: rgba(213, 235, 247, 0.78);
  font-size: 0.82rem;
  line-height: 1.35;
}

.ds-forum-thread-meta .ds-profile-author-name,
.ds-forum-reply-meta .ds-profile-author-name {
  width: fit-content;
  --ds-profile-accent: #20a9ff;
  font-size: 0.82rem;
}

.ds-forum-thread-title {
  margin: 8px 0 0;
  font-size: clamp(1.05rem, 1.75vw, 1.15rem);
  line-height: 1.28;
}

.ds-forum-thread-title a,
.ds-forum-thread-title a:visited {
  color: #f7fbff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: currentColor;
  text-underline-offset: 4px;
  text-shadow: 0 1px 0 #000000, 0 0 8px rgba(32, 169, 255, 0.20);
}

.ds-forum-thread-title a:hover,
.ds-forum-thread-title a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 4px;
  outline: none;
}

.ds-forum-thread-preview {
  min-width: 0;
  color: rgba(242, 247, 252, 0.88);
  line-height: 1.55;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.ds-forum-thread-thumbnail {
  width: 132px;
  margin: 0;
  justify-self: start;
  align-self: start;
}

.ds-forum-thread-thumbnail img {
  display: block;
  max-width: 100%;
  max-height: 100px;
  object-fit: cover;
  border-radius: 7px;
  box-shadow:
    inset 0 0 0 1px rgba(142, 223, 255, 0.14),
    0 0 16px rgba(32, 169, 255, 0.10);
}

.ds-forum-thread-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(215, 237, 255, 0.12);
}

.ds-forum-thread-open-link,
.ds-forum-thread-open-link:visited,
.ds-forum-thread-open-link:hover,
.ds-forum-thread-open-link:focus-visible {
  text-decoration: none;
}

.ds-forum-thread-open-link > span:first-child,
.ds-forum-thread-open-link:visited > span:first-child,
.ds-forum-thread-open-link:hover > span:first-child,
.ds-forum-thread-open-link:focus-visible > span:first-child {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ds-forum-thread-open-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ds-forum-reply-count {
  min-width: 22px;
  min-height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 7px;
  border-radius: 999px;
  color: #f7fbff;
  font-size: 0.82rem;
  line-height: 1;
  text-decoration: none;
  background:
    radial-gradient(ellipse at 28% 18%, rgba(255, 255, 255, 0.28), transparent 52%),
    linear-gradient(135deg, rgba(215, 237, 255, 0.20), rgba(18, 28, 36, 0.62) 58%, rgba(0, 0, 0, 0.78));
  box-shadow:
    inset 0 0 0 1px rgba(235, 248, 255, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    0 0 10px rgba(215, 237, 255, 0.16);
  text-shadow:
    0 1px 0 #000000,
    0 0 7px rgba(235, 248, 255, 0.26);
}

.ds-forum-status-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
}

.ds-forum-status-open {
  color: #ffd8d8;
  border: 1px solid rgba(255, 92, 92, 0.56);
  background: rgba(105, 12, 18, 0.38);
  box-shadow: 0 0 10px rgba(255, 64, 64, 0.20);
}

.ds-forum-status-solved {
  color: #dff5ff;
  border: 1px solid rgba(142, 223, 255, 0.46);
  background: rgba(6, 20, 33, 0.58);
  box-shadow: 0 0 10px rgba(32, 169, 255, 0.18);
}

.ds-forum-thread {
  padding: 18px 20px;
  overflow: visible;
}

.ds-forum-thread-head {
  display: grid;
  gap: 10px;
}

.ds-forum-thread-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.3;
  text-shadow: 0 1px 0 #000000, 0 0 9px rgba(32, 169, 255, 0.18);
}

.ds-forum-thread-body,
.ds-forum-reply-body {
  color: rgba(242, 247, 252, 0.91);
  line-height: 1.6;
}

.ds-forum-thread-content {
  display: flow-root;
  margin-top: 16px;
  min-width: 0;
}

.ds-forum-thread-body {
  min-width: 0;
}

.ds-forum-thread-body p,
.ds-forum-reply-body p {
  margin: 0 0 0.75em;
}

.ds-forum-thread-body a,
.ds-forum-thread-body a:visited,
.ds-forum-reply-body a,
.ds-forum-reply-body a:visited {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ds-forum-thread-image {
  float: left;
  width: var(--ds-forum-media-size);
  aspect-ratio: 1 / 1;
  margin: 0 26px 14px 0;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}

.ds-forum-thread-image-open {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.ds-forum-thread-image-open img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.ds-forum-thread-image-open:focus-visible {
  outline: 2px solid rgba(142, 223, 255, 0.78);
  outline-offset: 3px;
}

.ds-forum-thread-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.ds-forum-status-form {
  margin: 0;
}

.ds-forum-status-choice-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.ds-forum-status-choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 30px;
  padding: 4px 2px;
  border: 0;
  border-radius: 0;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  color: #f2f5f7;
  cursor: pointer;
  background: transparent;
  box-shadow: none;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-decoration: none;
  text-transform: none;
  text-shadow: 0 1px 0 #000000;
}

.ds-forum-status-check {
  position: relative;
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 16px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.24);
  box-shadow:
    inset 0 0 0 1px rgba(225, 230, 234, 0.34),
    0 0 8px rgba(205, 214, 221, 0.08);
}

.ds-forum-status-choice-active .ds-forum-status-check {
  background:
    color-mix(
      in srgb,
      var(--ds-profile-accent, #cfd6dd) 34%,
      rgba(255, 255, 255, 0.12)
    );
  box-shadow:
    inset 0 0 0 1px rgba(245, 248, 250, 0.48),
    0 0 10px
      color-mix(
        in srgb,
        var(--ds-profile-accent, #cfd6dd) 24%,
        transparent
      );
}

.ds-forum-status-choice-active .ds-forum-status-check::after {
  content: "✓";
  color: #ffffff;
  font-size: 0.78rem;
  line-height: 1;
}

.ds-forum-status-choice-active {
  color: #ffffff;
}

.ds-forum-status-choice[disabled] {
  opacity: 1;
  cursor: default;
}

.ds-forum-thread-head .ds-profile-inline-report,
.ds-forum-thread-actions .ds-profile-inline-report,
.ds-forum-reply-head .ds-profile-inline-report {
  margin: 0;
}

.ds-forum-replies {
  width: 100%;
  margin-top: 18px;
}

.ds-forum-replies-head {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ds-forum-replies-list {
  margin-top: 12px;
}

.ds-forum-reply {
  position: relative;
  padding: 14px 0;
  border-top: 1px solid rgba(215, 237, 255, 0.16);
}

.ds-forum-reply-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.ds-forum-reply-body {
  margin-top: 8px;
}

.ds-forum-empty,
.ds-forum-empty-line,
.ds-forum-form-status,
.ds-forum-reply-reference {
  color: rgba(225, 239, 250, 0.78);
  font-size: 0.9rem;
  line-height: 1.45;
}

.ds-forum-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.ds-forum-form {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.ds-forum-field {
  display: grid;
  gap: 7px;
  position: relative;
  overflow: visible;
}

.ds-forum-label {
  color: rgba(215, 237, 255, 0.88);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.ds-forum-input,
.ds-forum-textarea {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.045),
      rgba(0, 0, 0, 0.56)
    );
  color: #f2f5f7;
  outline: none;
  font: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(215, 223, 229, 0.22),
    inset 0 9px 14px rgba(0, 0, 0, 0.42),
    0 0 12px rgba(207, 214, 221, 0.09);
}

.ds-forum-input {
  min-height: 36px;
  padding: 8px 12px;
}

.ds-forum-textarea {
  min-height: 180px;
  padding: 10px 12px;
  resize: vertical;
}

.ds-forum-input:focus,
.ds-forum-textarea:focus {
  box-shadow:
    inset 0 0 0 1px rgba(235, 248, 255, 0.48),
    inset 0 9px 14px rgba(0, 0, 0, 0.42),
    0 0 14px rgba(207, 214, 221, 0.18);
}

.ds-forum-counter {
  justify-self: end;
  color: rgba(225, 239, 250, 0.66);
  font-size: 0.78rem;
  line-height: 1.2;
}

.ds-forum-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.ds-forum-image-upload {
  display: grid;
  gap: 10px;
  width: min(100%, var(--ds-forum-media-size));
  align-items: start;
}

.ds-forum-image-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(215, 223, 229, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(245, 248, 250, 0.12), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.34));
  box-shadow:
    0 0 12px color-mix(in srgb, var(--ds-profile-accent, #20a9ff) 8%, transparent);
}

.ds-forum-image-stage img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.16);
}

.ds-forum-image-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: rgba(223, 245, 255, 0.58);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

.ds-forum-file-input {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.ds-forum-image-action-row {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 6px 8px;
  border-radius: 9px;
  background:
    radial-gradient(ellipse at 14% 0%, rgba(245, 248, 250, 0.10), transparent 54%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.36));
  box-shadow:
    inset 0 0 0 1px rgba(215, 223, 229, 0.15),
    0 0 12px color-mix(in srgb, var(--ds-profile-accent, #20a9ff) 8%, transparent);
}

.ds-forum-image-upload-button,
.ds-forum-image-delete-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  color: #f2f5f7;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  text-shadow: 0 1px 0 #000000;
  background:
    radial-gradient(ellipse at top, rgba(255, 255, 255, 0.16), transparent 58%),
    linear-gradient(145deg, rgba(43, 52, 61, 0.96), rgba(5, 9, 14, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(225, 230, 234, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 12px rgba(205, 214, 221, 0.10);
}

.ds-forum-image-upload-button:hover,
.ds-forum-image-upload-button:focus-visible,
.ds-forum-image-delete-button:hover,
.ds-forum-image-delete-button:focus-visible {
  outline: none;
  color: #ffffff;
  text-decoration: none;
  box-shadow:
    inset 0 0 0 1px rgba(245, 248, 250, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 0 18px color-mix(in srgb, var(--ds-profile-accent, #20a9ff) 20%, transparent);
}

.ds-forum-image-overlay {
  --ds-profile-accent: #20a9ff;
}

.ds-forum-image-overlay .ds-profile-overlay-card {
  width: auto;
  max-width: calc(100vw - 34px);
  padding: 16px;
  overflow: visible;
}

.ds-forum-image-overlay .ds-profile-overlay-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  margin: 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.66);
}

.ds-forum-image-overlay .ds-profile-overlay-imagebox {
  width: auto;
  height: auto;
  max-height: none;
  margin: 0;
}

.ds-forum-image-overlay .ds-profile-overlay-imagebox img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(88vw, 1200px);
  max-height: 80vh;
  object-fit: contain;
  transform: none;
}

.ds-forum-reply-reference {
  margin: 0 0 14px;
  overflow-wrap: anywhere;
}

.ds-forum-form-status {
  margin: 0;
}

@media (max-width: 980px) {
  .ds-forum-page {
    padding: 22px 18px 24px;
  }

  .ds-forum-search {
    width: 100%;
  }

  .ds-forum-thread-card-with-image {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .ds-forum-thread-thumbnail {
    width: 118px;
  }
}

@media (max-width: 720px) {
  .ds-forum-page {
    padding: 18px 12px 24px;
  }

  .ds-forum-page-head {
    align-items: flex-start;
  }

  .ds-forum-search-form {
    grid-template-columns: minmax(0, 1fr) 40px;
  }

  .ds-forum-filter-picker {
    grid-column: 1 / -1;
  }

  .ds-forum-thread-card,
  .ds-forum-thread-card-with-image {
    grid-template-columns: minmax(0, 1fr);
  }

  .ds-forum-thread-thumbnail {
    width: min(100%, 220px);
    justify-self: start;
  }

  .ds-forum-thread-actions,
  .ds-forum-replies-head,
  .ds-forum-reply-head,
  .ds-forum-status-form {
    align-items: flex-start;
    flex-direction: column;
  }

  .ds-forum-form {
    padding: 16px 14px;
  }

  .ds-forum-thread-image {
    float: none;
    width: min(100%, 330px);
    margin: 0 0 16px;
  }
}
