/* Reference-led implementation; craft review follows unslop by Damir Sokolovsky (@heydamir), CC BY 4.0. */
:root {
  --ds-bg: #121212;
  --ds-panel: #222;
  --ds-raised: #2b2b2b;
  --ds-button: #363636;
  --ds-text: #eee;
  --ds-secondary: #b0b0b0;
  --ds-muted: #888;
  --ds-line: #383838;
  --ds-accent: #ffbb02;
  --ds-link: #9691ed;
  --ds-success: #20372b;
  --ds-danger: #3a2427;
}
.ds-page {
  margin: 0;
  background: var(--ds-bg);
  color: var(--ds-text);
  font-family: "Xc Font", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.ds-main * {
  box-sizing: border-box;
}
.ds-page [hidden] {
  display: none !important;
}
.ds-main a {
  color: inherit;
  text-decoration: none;
}
.ds-main button,
.ds-main input,
.ds-main textarea {
  font: inherit;
}
.ds-main button {
  cursor: pointer;
}
.ds-main button:disabled {
  cursor: default;
  opacity: 0.5;
}
.ds-main h1,
.ds-main h2,
.ds-main h3,
.ds-main p {
  margin: 0;
}
.ds-main h1 {
  font-size: 28px;
  line-height: 40px;
  font-weight: 600;
}
.ds-main h2 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}
.ds-main h3 {
  font-size: 18px;
  font-weight: 500;
}
.ds-main a:hover {
  color: var(--ds-accent);
}
.ds-main :focus-visible,
.ds-community-region :focus-visible {
  outline: 2px solid var(--ds-accent);
  outline-offset: 3px;
}
.ds-main svg,
.ds-community-region svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.ds-main img {
  max-width: 100%;
}
.ds-main {
  width: 720px;
  max-width: calc(100% - 32px);
  margin: 20px auto 110px;
  min-height: 200px;
}
.ds-main.ds-wide {
  width: 1080px;
}
.ds-breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 24px;
  color: var(--ds-secondary);
  margin-bottom: 26px;
  font-size: 16px;
  flex-wrap: wrap;
}
.ds-breadcrumb a:first-child {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}
.ds-breadcrumb svg {
  width: 16px;
  height: 16px;
  stroke: var(--ds-accent);
}
.ds-breadcrumb .ds-current {
  color: var(--ds-link);
}
.ds-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(0, 340px);
  gap: 24px;
  align-items: start;
}
.ds-aside {
  background: var(--ds-panel);
  border-radius: 8px;
  padding: 24px;
}
.ds-aside h2 {
  margin-bottom: 20px;
}
.ds-aside ol {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 24px;
}
.ds-aside li {
  display: flex;
  gap: 16px;
  align-items: center;
  color: #ccc;
}
.ds-step-number {
  background: var(--ds-accent);
  color: #171717;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  font-size: 14px;
}
.ds-panel {
  background: var(--ds-panel);
  border-radius: 8px;
  padding: 24px;
}
.ds-section {
  margin-top: 48px;
}
.ds-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.ds-muted {
  color: var(--ds-muted);
  font-size: 14px;
}
.ds-secondary {
  color: var(--ds-secondary);
}
.ds-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 9px 18px;
  border: 0;
  border-radius: 6px;
  background: var(--ds-button);
  color: #eee !important;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
  white-space: nowrap;
  transition:
    background-color 0.16s,
    color 0.16s,
    border-color 0.16s;
}
.ds-button:hover {
  background: #444;
}
.ds-primary {
  background: var(--ds-accent);
  color: #161616 !important;
}
.ds-primary:hover {
  background: #ffc629;
}
.ds-button svg {
  width: 16px;
  height: 16px;
}
.ds-text-link {
  color: var(--ds-accent) !important;
}
.ds-banner {
  position: relative;
}
.ds-banner picture,
.ds-banner img {
  display: block;
  width: 100%;
  border-radius: 8px;
}
.ds-banner-actions {
  position: absolute;
  left: 80%;
  right: 1.5%;
  top: 37%;
  bottom: 26%;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}
.ds-banner-actions a {
  display: block;
  border-radius: 16px;
}
.ds-banner-actions a:focus-visible {
  outline-offset: 4px;
}
.ds-rewards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ds-rewards[data-tier-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ds-reward {
  padding: 22px 12px;
  background: var(--ds-panel);
  border-radius: 10px;
  text-align: center;
  color: var(--ds-secondary);
  font-size: 14px;
}
.ds-reward strong {
  display: block;
  color: #e7ac7b;
  font-size: 28px;
  line-height: 40px;
  font-weight: 600;
  margin: 8px 0;
}
.ds-process-section {
  margin-top: 28px;
}
.ds-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ds-process-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 12px;
  background: #222;
  border-radius: 8px;
}
.ds-process-item > b {
  color: #c18e7c;
  font-size: 24px;
  font-weight: 500;
}
.ds-process-item span {
  white-space: nowrap;
}
.ds-process-item small {
  display: block;
  color: #aaa;
  font-size: 14px;
  margin-top: 4px;
}
.ds-quality {
  margin-top: 24px;
}
.ds-quality > summary {
  list-style: none;
  cursor: default;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}
.ds-quality > summary::-webkit-details-marker {
  display: none;
}
.ds-tips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  margin-top: 20px;
}
.ds-tips h3 {
  margin-bottom: 4px;
  font-size: 16px;
}
.ds-tips p {
  color: #aaa;
  font-size: 14px;
  line-height: 22px;
}
.ds-contact {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ds-contact p {
  color: #aaa;
  font-size: 14px;
  margin-top: 4px;
}
.ds-note {
  margin-top: 24px !important;
  color: #999;
  font-size: 14px;
  text-align: right;
}
.ds-sticky-actions {
  display: none;
}
.ds-form-heading {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ds-line);
  margin-bottom: 24px;
}
.ds-form-heading p {
  margin-top: 20px;
  color: #999;
}
.ds-form-heading .ds-related {
  margin: 20px 0;
}
.ds-form {
  display: grid;
  gap: 24px;
}
.ds-field > label,
.ds-field-label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}
.ds-field > label .ds-muted,
.ds-field-label .ds-muted {
  font-weight: 400;
  margin-left: 6px;
}
.ds-input,
.ds-main input:not([type="checkbox"]):not([type="file"]):not(.ds-auth-input),
.ds-main textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid #6e6e6e;
  border-radius: 4px;
  color: #eee;
  outline-offset: 2px;
  line-height: 24px;
  font-size: 16px;
}
.ds-main input::placeholder,
.ds-main textarea::placeholder {
  color: #888;
  opacity: 1;
}
.ds-main textarea {
  resize: vertical;
  min-height: 140px;
}
.ds-counter {
  text-align: right;
  color: #888;
  font-size: 14px;
  margin-top: 8px;
}
.ds-choice-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ds-choice {
  border: 0;
  border-radius: 6px;
  padding: 8px 14px;
  background: #363636;
  color: #eee;
  font: inherit;
  min-height: 36px;
  font-size: 14px;
}
.ds-choice[aria-pressed="true"] {
  background: var(--ds-accent);
  color: #161616;
}
.ds-upload-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ds-upload-heading {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.ds-upload-heading > span {
  white-space: nowrap;
}
.ds-uploads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 98px));
  gap: 8px;
}
.ds-upload-item,
.ds-upload-add {
  aspect-ratio: 1;
  position: relative;
  border-radius: 4px;
  min-width: 0;
  overflow: hidden;
}
.ds-upload-item {
  background: #292929;
}
.ds-upload-item img,
.ds-upload-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ds-upload-item > button.ds-preview {
  width: 100%;
  height: 100%;
  padding: 0;
  background: none;
  border: 0;
}
.ds-upload-remove {
  position: absolute;
  right: 4px;
  top: 4px;
  border: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #111d;
  color: white;
  display: grid;
  place-items: center;
}
.ds-upload-remove svg {
  width: 14px;
  height: 14px;
}
.ds-upload-add {
  border: 1px dashed #555;
  background: #292929;
  color: #999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ds-upload-add svg {
  width: 24px;
  height: 24px;
}
.ds-upload-add small {
  font-size: 12px;
}
.ds-help {
  font-size: 14px;
  color: #888;
  line-height: 22px;
  margin-top: 12px !important;
}
.ds-upload-error {
  color: #ec9393;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.ds-upload-error button {
  color: var(--ds-accent);
  border: 0;
  background: none;
  font: inherit;
  white-space: nowrap;
}
.ds-error {
  color: #e89797;
  font-size: 14px;
  margin-top: 8px !important;
}
.ds-field [aria-invalid="true"] {
  border-color: #dd6a6a !important;
}
.ds-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--ds-line);
  padding-top: 24px;
  gap: 16px;
}
.ds-submit p {
  font-size: 14px;
  line-height: 24px;
  color: #999;
}
.ds-compliance {
  color: #aaa;
  font-size: 14px;
  margin-top: 12px !important;
  line-height: 24px;
}
.ds-related {
  display: block;
  padding: 16px;
  border-radius: 6px;
  background: #2b2b2b;
  margin: 16px 0;
  font-size: 14px;
  line-height: 22px;
}
.ds-related span {
  color: #aaa;
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}
.ds-related a {
  color: var(--ds-accent) !important;
}
.ds-related svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
}
.ds-list-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.ds-list-heading p {
  font-size: 16px;
  color: #aaa;
  margin-top: 8px;
}
.ds-search {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #2b2b2b;
  border-radius: 8px;
  padding: 8px;
  margin: 24px 0 16px;
}
.ds-search input {
  border: 0 !important;
  background: none !important;
  font-size: 16px;
  min-height: 40px !important;
  padding: 8px 8px !important;
}
.ds-search button {
  font-size: 16px;
  min-width: 64px;
}
.ds-tabs {
  display: flex;
  gap: 0;
  align-items: center;
  border-bottom: 1px solid #3a3a3a;
  margin-bottom: 24px;
  overflow: auto;
  scrollbar-width: none;
  white-space: nowrap;
}
.ds-tabs button,
.ds-tabs a {
  color: #aaa;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 14px 28px;
  min-height: 52px;
  font: inherit;
  flex-shrink: 0;
}
.ds-tabs [aria-selected="true"],
.ds-tabs [aria-current="page"] {
  color: var(--ds-accent) !important;
  border-color: var(--ds-accent);
}
.ds-wall-tabs {
  margin-top: 28px;
}
.ds-card {
  background: #222;
  border-radius: 8px;
  padding: 24px;
  margin-top: 16px;
}
.ds-card:first-child {
  margin-top: 0;
}
.ds-card-title {
  font-size: 20px !important;
  line-height: 28px !important;
  font-weight: 600 !important;
  margin-bottom: 12px !important;
}
.ds-card-description {
  color: #b3b3b3;
  line-height: 26px;
}
.ds-card-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}
.ds-avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #363636;
  color: var(--ds-accent);
  font-size: 24px;
  flex-shrink: 0;
}
.ds-card-author {
  flex: 1;
  min-width: 0;
}
.ds-card-author > span {
  display: block;
  font-size: 16px;
}
.ds-date {
  font-size: 12px;
  color: #888;
}
.ds-status {
  color: #e1b541;
  background: #403615;
  border-radius: 4px;
  display: inline-flex;
  padding: 6px 12px;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ds-status-done,
.ds-status-accepted {
  background: #203d2b;
  color: #aad5b7;
}
.ds-status-rejected {
  background: #4a252a;
  color: #e5a0a8;
}
.ds-tag {
  display: inline-block;
  color: #bbb;
  background: #363636;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 14px;
  margin-top: 16px;
}
.ds-feedback {
  background: #302c21;
  color: #b4a574;
  padding: 16px;
  line-height: 24px;
  border-radius: 6px;
  margin-top: 16px;
}
.ds-feedback.is-success {
  background: #20372b;
  color: #b9d3bf;
}
.ds-feedback.is-rejected {
  background: #3a2427;
  color: #d69b9d;
}
.ds-feedback strong {
  display: block;
  color: #e4a4a4;
  font-weight: 500;
  margin-bottom: 4px;
}
.ds-result-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #20372b;
  border-radius: 6px;
  padding: 20px 16px;
  color: #bedcc9;
  margin-top: 16px;
  font-size: 16px;
}
.ds-result-link a {
  flex-shrink: 0;
  color: inherit;
}
.ds-card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--ds-line);
  padding-top: 16px;
  margin-top: 16px;
}
.ds-card-actions .ds-private-label {
  font-size: 14px;
  color: #888;
  flex: 1;
}
.ds-card-actions .ds-button {
  font-size: 14px;
}
.ds-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ds-card-title-row .ds-card-title {
  margin: 0 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ds-submission-card .ds-card-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 16px;
}
.ds-record-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #888;
  margin-top: 16px;
}
.ds-submission-card .ds-feedback {
  padding: 0;
  background: none;
  font-size: 14px;
  color: #999;
}
.ds-submission-card .ds-feedback.is-rejected,
.ds-submission-card .ds-feedback.is-success {
  padding: 16px;
}
.ds-record-summary {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #999;
  margin: 20px 0;
}
.ds-pagination {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  font-size: 14px;
  flex-wrap: wrap;
}
.ds-pagination button {
  min-width: 32px;
  border: 0;
  background: #303030;
  color: #ccc;
  font: inherit;
  padding: 6px 10px;
  border-radius: 2px;
  min-height: 32px;
}
.ds-pagination button[aria-current="page"] {
  background: var(--ds-accent);
  color: #121212;
}
.ds-main .ds-pagination input {
  width: 52px !important;
  min-height: 30px !important;
  height: 30px;
  padding: 2px 6px !important;
  border-color: #4a4a4a;
  background: #303030;
}
.ds-page-jump {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #999;
}
.ds-empty {
  text-align: center;
  padding: 48px 24px;
  border-radius: 8px;
  background: #222;
  color: #aaa;
}
.ds-empty h2 {
  color: #eee;
  margin-bottom: 12px;
}
.ds-empty .ds-button {
  margin-top: 20px;
}
.ds-success-card {
  max-width: 480px;
  margin: 70px auto 100px;
  padding: 32px;
  background: #222;
  text-align: center;
  border-radius: 8px;
}
.ds-success-card > img {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}
.ds-success-card h1 {
  font-size: 24px;
}
.ds-success-card > p {
  font-size: 14px;
  line-height: 24px;
  color: #999;
  margin-top: 12px;
}
.ds-success-meta {
  text-align: left;
  margin: 28px 0 20px;
  border-top: 1px solid var(--ds-line);
  padding-top: 20px;
  color: #aaa;
  font-size: 14px;
}
.ds-success-meta p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0;
}
.ds-success-card .ds-button {
  display: flex;
  width: 100%;
  margin-top: 12px;
}
.ds-detail h1 {
  margin: 20px 0 8px;
  overflow-wrap: anywhere;
}
.ds-detail .ds-card-head {
  margin: 0;
}
.ds-detail-text {
  margin: 20px 0;
  color: #bbb;
  line-height: 28px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ds-detail-section {
  border-top: 1px solid var(--ds-line);
  padding-top: 24px;
  margin-top: 24px;
}
.ds-detail-section h2 {
  margin-bottom: 12px;
}
.ds-detail-section dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  margin: 0;
  color: #aaa;
}
.ds-detail-section dt {
  color: #888;
}
.ds-detail-section dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.ds-detail-media {
  display: grid;
  gap: 16px;
}
.ds-detail-media img,
.ds-detail-media video {
  display: block;
  width: 100%;
  border-radius: 4px;
}
.ds-detail-media img {
  aspect-ratio: auto 3 / 2;
  object-fit: contain;
}
.ds-detail-media button {
  border: 0;
  background: none;
  padding: 0;
}
.ds-reward-note {
  display: flex;
  gap: 20px;
  margin: 16px 0;
  color: #aaa;
  font-size: 14px;
}
.ds-reward-note strong {
  color: #e7ac7b;
  font-size: 20px;
  font-weight: 500;
}
.ds-community-region {
  font-family: "Xc Font", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #eee;
  box-sizing: border-box;
}
.ds-community-region * {
  box-sizing: border-box;
}
.ds-comment-box {
  margin-top: 16px;
  padding: 24px;
  border-radius: 8px;
  background: #222;
}
.ds-comment-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0 24px;
}
.ds-comment-tabs button {
  background: #303030;
  color: #ddd;
  border: 0;
  border-radius: 6px;
  padding: 8px 16px;
  font: inherit;
  font-size: 14px;
  min-height: 36px;
}
.ds-comment-tabs [aria-pressed="true"] {
  background: var(--ds-accent);
  color: #121212;
}
.ds-comment-editor {
  background: #2b2b2b;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 24px;
}
.ds-comment-editor textarea {
  width: 100%;
  border: 0 !important;
  outline-offset: 4px;
  background: none;
  color: #ddd;
  resize: vertical;
  min-height: 64px !important;
  padding: 0 !important;
  font: inherit !important;
  line-height: 24px !important;
}
.ds-editor-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
}
.ds-editor-bottom button {
  font: inherit;
  font-size: 14px;
}
.ds-reply-target {
  font-size: 14px;
  color: #bbb;
  margin-bottom: 8px;
}
.ds-reply-target button {
  background: none;
  border: 0;
  color: #e5b400;
  font: inherit;
}
.ds-comment {
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid #383838;
  scroll-margin-top: 80px;
}
.ds-comment:first-child {
  border-top: 0;
  padding-top: 0;
}
.ds-comment-body {
  display: flex;
  gap: 12px;
}
.ds-comment .ds-avatar {
  width: 32px;
  height: 32px;
  font-size: 20px;
}
.ds-comment-content {
  flex: 1;
  min-width: 0;
}
.ds-comment-content > strong {
  font-size: 16px;
  font-weight: 500;
  display: block;
}
.ds-comment-content > p {
  color: #bbb;
  line-height: 26px;
  margin: 10px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ds-comment-badges {
  display: inline-flex;
  gap: 8px;
  vertical-align: middle;
  margin-right: 8px;
}
.ds-comment-badges span {
  font-size: 12px;
  background: #3c3220;
  color: #d6b36f;
  border-radius: 4px;
  padding: 2px 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ds-comment-badges img {
  width: 16px;
  height: 16px;
}
.ds-comment-badges .ds-pinned {
  background: #203c37;
  color: #00e2c0;
}
.ds-comment-badges .ds-featured {
  background: #3e2024;
  color: #c83137;
}
.ds-comment-actions {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #999;
  align-items: center;
  flex-wrap: wrap;
}
.ds-comment-actions button {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font: inherit;
  color: inherit;
  background: none;
  padding: 0;
  border: 0;
}
.ds-comment-actions svg {
  width: 16px;
  height: 16px;
}
.ds-comment-actions button[aria-pressed="true"] {
  color: var(--ds-accent);
}
.ds-comment-replies {
  padding: 16px;
  background: #2b2b2b;
  border-radius: 6px;
  margin-top: 20px;
}
.ds-comment-replies .ds-comment {
  border: 0;
  margin: 0 0 24px;
  padding: 0;
}
.ds-expand-replies {
  background: none;
  border: 0;
  color: var(--ds-accent);
  font: inherit;
  font-size: 14px;
  padding: 0;
}
.ds-my-comment {
  padding: 20px;
  background: #222;
  border-radius: 8px;
  margin-top: 16px;
}
.ds-my-comment-top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
  margin-bottom: 16px;
}
.ds-my-comment-top span {
  color: #a9c8b3;
}
.ds-my-comment p {
  margin-bottom: 16px;
}
.ds-my-comment > a {
  display: block;
  padding: 12px;
  background: #2b2b2b;
  font-size: 14px;
  color: #ccc;
}
.ds-toast {
  position: fixed;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  background: #000d;
  color: #eee;
  border-radius: 6px;
  padding: 12px 20px;
  z-index: 150;
  font-size: 14px;
  box-shadow: 0 4px 24px #0005;
}
.ds-media-dialog {
  position: fixed;
  inset: 0;
  background: #000d;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}
.ds-media-dialog img,
.ds-media-dialog video {
  max-height: 85vh;
  max-width: 95vw;
  object-fit: contain;
}
.ds-media-dialog > button {
  position: absolute;
  right: 24px;
  top: 16px;
  background: #333;
  color: #fff;
  border: 0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}
.ds-loading {
  color: #999;
  padding: 48px;
  text-align: center;
}
.ds-article .ds-detail-text {
  line-height: 30px;
}
.ds-article-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.ds-article-figure {
  width: 100%;
  display: block;
  margin: 20px 0;
  border-radius: 6px;
}
@media (max-width: 1150px) and (min-width: 769px) {
  .ds-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .ds-main.ds-wide {
    width: 1000px;
  }
  .ds-aside {
    padding: 20px;
  }
  .ds-aside li {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .ds-page {
    font-size: 14px;
  }
  .ds-main h1 {
    font-size: 24px;
    line-height: 34px;
  }
  .ds-main h2 {
    font-size: 20px;
    line-height: 28px;
  }
  .ds-main {
    max-width: none;
    width: auto !important;
    margin: 20px 16px 24px;
    min-height: 200px;
  }
  .ds-breadcrumb {
    font-size: 14px;
    gap: 8px;
    margin-bottom: 22px;
    min-height: 20px;
    line-height: 20px;
  }
  .ds-breadcrumb svg {
    width: 14px;
    height: 14px;
  }
  .ds-layout {
    display: block;
  }
  .ds-aside {
    display: none;
  }
  .ds-panel {
    padding: 20px 16px;
  }
  .ds-section {
    margin-top: 24px;
  }
  .ds-section-heading {
    margin-bottom: 16px;
  }
  .ds-section-heading .ds-muted {
    font-size: 14px;
  }
  .ds-banner picture,
  .ds-banner img {
    border-radius: 7px;
  }
  .ds-banner-actions {
    left: 80%;
    top: 37%;
    bottom: 26%;
    right: 1.5%;
    gap: 4px;
  }
  .ds-rewards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .ds-rewards[data-tier-count="3"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ds-reward {
    padding: 8px 4px;
    border-radius: 10px;
    font-size: 14px;
    min-height: 112px;
  }
  .ds-reward strong {
    font-size: clamp(20px, 6.4vw, 24px);
    line-height: 36px;
    margin: 6px 0;
    white-space: nowrap;
  }
  .ds-rewards[data-tier-count="3"] .ds-reward strong {
    font-size: clamp(14px, 4.4vw, 20px);
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .ds-process-section {
    margin-top: 16px;
  }
  .ds-process {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .ds-process-item {
    padding: 16px 12px;
    gap: 8px;
    min-height: 84px;
  }
  .ds-process-item > b {
    font-size: 24px;
  }
  .ds-process-item span {
    font-size: 16px;
  }
  .ds-process-item small {
    font-size: 14px;
    margin-top: 4px;
  }
  .ds-quality {
    margin-top: 12px;
  }
  .ds-quality > summary {
    cursor: pointer;
    font-size: 20px;
    line-height: 28px;
  }
  .ds-tips {
    gap: 16px;
    margin-top: 16px;
  }
  .ds-tips h3 {
    font-size: 16px;
  }
  .ds-tips p {
    font-size: 14px;
    line-height: 21px;
  }
  .ds-contact {
    margin-top: 12px;
    display: block;
  }
  .ds-contact h3 {
    font-size: 16px;
  }
  .ds-contact .ds-button {
    display: flex;
    width: 100%;
    margin-top: 4px;
  }
  .ds-note {
    text-align: left;
    font-size: 14px;
    line-height: 22px;
    margin-top: 12px !important;
  }
  .ds-center-page {
    padding-bottom: 56px;
  }
  .ds-sticky-actions {
    display: flex;
    gap: 8px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #222;
    z-index: 25;
  }
  .ds-sticky-actions .ds-button {
    flex: 1;
    min-height: 40px;
  }
  .ds-form-heading {
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  .ds-form-heading p {
    margin-top: 20px;
    line-height: 22px;
    font-size: 14px;
  }
  .ds-form-heading .ds-related {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .ds-form {
    gap: 16px;
  }
  .ds-field > label,
  .ds-field-label {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 8px;
  }
  .ds-field > label .ds-muted,
  .ds-field-label .ds-muted {
    font-size: 13px;
    margin-left: 4px;
  }
  .ds-choice-group {
    gap: 6px;
    flex-wrap: nowrap;
  }
  .ds-choice {
    padding: 8px 12px;
    font-size: 13px;
    line-height: 20px;
    flex: 1;
    white-space: nowrap;
  }
  .ds-request-form .ds-choice {
    padding-left: 8px;
    padding-right: 8px;
  }
  .ds-main input:not([type="checkbox"]):not([type="file"]):not(.ds-auth-input),
  .ds-main textarea {
    font-size: 16px;
    padding: 11px 8px;
  }
  .ds-counter {
    font-size: 12px;
    margin-top: 8px;
  }
  .ds-upload-columns {
    display: block;
  }
  .ds-upload-columns > .ds-field + .ds-field {
    margin-top: 16px;
  }
  .ds-uploads {
    grid-template-columns: repeat(3, minmax(0, 98px));
  }
  .ds-upload-heading > span {
    font-size: 13px;
  }
  .ds-upload-heading .ds-muted {
    font-size: 12px;
  }
  .ds-upload-heading {
    gap: 4px;
  }
  .ds-upload-heading > span:last-child {
    font-size: 12px;
  }
  .ds-help {
    font-size: 12px;
    margin-top: 12px !important;
  }
  .ds-submit {
    display: block;
    padding-top: 16px;
  }
  .ds-submit .ds-button {
    width: 100%;
    margin-top: 12px;
    min-height: 44px;
    font-size: 14px;
  }
  .ds-submit p {
    font-size: 12px;
    line-height: 22px;
  }
  .ds-compliance {
    font-size: 12px;
    line-height: 20px;
  }
  .ds-related {
    padding: 12px 8px;
    font-size: 13px;
    line-height: 20px;
    margin: 16px 0;
  }
  .ds-related span {
    font-size: 12px;
  }
  .ds-list-heading {
    margin-bottom: 16px;
    align-items: flex-start;
  }
  .ds-list-heading h1 {
    font-size: 22px;
  }
  .ds-list-heading p {
    font-size: 14px;
    line-height: 22px;
    margin-top: 4px;
  }
  .ds-list-heading .ds-button {
    font-size: 14px;
    padding: 8px 12px;
    margin-top: 20px;
  }
  .ds-search {
    margin: 22px 0 16px;
    padding: 4px 6px;
  }
  .ds-search input {
    font-size: 12px !important;
    padding: 8px !important;
  }
  .ds-search button {
    min-height: 40px;
    font-size: 16px;
  }
  .ds-tabs {
    margin-bottom: 16px;
  }
  .ds-tabs button,
  .ds-tabs a {
    font-size: 12px;
    min-height: 44px;
    padding: 12px 10px;
  }
  .ds-wall-tabs {
    margin-top: 16px;
  }
  .ds-wall-tabs button {
    font-size: 14px;
    flex: 1;
    padding: 12px 16px;
  }
  .ds-card {
    padding: 16px;
    margin-top: 16px;
  }
  .ds-card-title {
    font-size: 16px !important;
    line-height: 24px !important;
    margin-bottom: 16px !important;
  }
  .ds-card-description {
    font-size: 14px;
    line-height: 24px;
  }
  .ds-card-head {
    margin-bottom: 16px;
  }
  .ds-card-author > span {
    font-size: 16px;
  }
  .ds-status {
    font-size: 12px;
    padding: 6px 12px;
  }
  .ds-date {
    font-size: 12px;
  }
  .ds-card-actions {
    gap: 10px;
    padding-top: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
  }
  .ds-card-actions .ds-button {
    font-size: 12px;
    padding: 8px 10px;
    min-height: 40px;
  }
  .ds-card-actions .ds-private-label {
    font-size: 12px;
  }
  .ds-tag {
    font-size: 12px;
    padding: 6px 12px;
    margin-top: 12px;
  }
  .ds-feedback {
    font-size: 14px;
    padding: 12px 8px;
    line-height: 22px;
  }
  .ds-result-link {
    padding: 20px 8px;
    font-size: 14px;
    gap: 8px;
    line-height: 22px;
  }
  .ds-result-link a {
    white-space: nowrap;
  }
  .ds-record-meta {
    gap: 8px;
    font-size: 11px;
    margin-top: 16px;
  }
  .ds-record-summary {
    font-size: 12px;
    margin: 16px 0;
  }
  .ds-submission-card .ds-card-description {
    margin-top: 12px;
  }
  .ds-pagination {
    gap: 12px;
    margin-top: 16px;
    font-size: 12px;
  }
  .ds-pagination button {
    min-height: 28px;
    padding: 4px 10px;
  }
  .ds-page-jump {
    flex-basis: 100%;
    justify-content: center;
    margin-top: -6px;
  }
  .ds-record-note {
    font-size: 12px;
    text-align: center;
  }
  .ds-detail h1 {
    font-size: 24px;
    line-height: 34px;
    margin-top: 20px;
  }
  .ds-detail .ds-card-head .ds-avatar {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
  .ds-detail .ds-card-head {
    gap: 12px;
  }
  .ds-detail-text {
    line-height: 24px;
    font-size: 14px;
    margin-top: 20px;
  }
  .ds-detail-section {
    margin-top: 20px;
    padding-top: 20px;
  }
  .ds-detail-section h2 {
    font-size: 18px;
  }
  .ds-detail-section dl {
    grid-template-columns: 80px 1fr;
    font-size: 14px;
  }
  .ds-detail .ds-result-link {
    display: block;
    padding: 12px;
  }
  .ds-detail .ds-result-link a {
    display: block;
  }
  .ds-reward-note {
    font-size: 12px;
    gap: 16px;
  }
  .ds-success-card {
    max-width: none;
    margin: 0;
    padding: 32px 16px 16px;
  }
  .ds-success-card h1 {
    font-size: 24px;
  }
  .ds-success-card > p {
    font-size: 14px;
  }
  .ds-success-meta {
    margin: 28px 0 20px;
    font-size: 14px;
  }
  .ds-comment-box {
    padding: 24px 16px;
  }
  .ds-comment-tabs {
    gap: 8px;
    margin: 8px 0 24px;
    flex-wrap: nowrap;
  }
  .ds-comment-tabs button {
    flex: 1;
    font-size: 14px;
    padding: 8px 12px;
    white-space: nowrap;
  }
  .ds-comment-editor {
    padding: 16px;
    margin-bottom: 24px;
  }
  .ds-comment-editor textarea {
    font-size: 14px !important;
  }
  .ds-comment-content > strong {
    font-size: 14px;
  }
  .ds-comment-content > p {
    font-size: 14px;
    line-height: 22px;
  }
  .ds-comment-actions {
    gap: 10px;
  }
  .ds-comment-replies {
    margin-left: -28px;
    padding: 16px;
  }
  .ds-my-comment {
    padding: 16px;
  }
  .ds-my-comment-top {
    margin-bottom: 12px;
  }
  .ds-my-comment p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 16px;
  }
  .ds-my-comment > a {
    font-size: 12px;
    line-height: 20px;
  }
  .ds-toast {
    font-size: 13px;
    bottom: 72px;
  }
  .ds-article-actions .ds-button {
    flex: 1;
  }
  .ds-error {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ds-main * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* The exported banners are 3x; retain their native aspect ratio. */
.ds-banner > picture > img {
  height: auto;
}
.ds-banner-actions {
  display: block;
  inset: 0;
  pointer-events: none;
}
.ds-banner-actions a {
  position: absolute;
  pointer-events: auto;
  left: 80%;
  width: 19%;
  height: 22%;
  top: 27%;
}
.ds-banner-actions a + a {
  top: 51%;
  height: 17%;
}
.ds-banner-actions img {
  display: none;
}
@media (max-width: 768px) {
  .ds-banner-actions a {
    left: 80%;
    width: 19.7%;
    height: auto;
    top: 26%;
  }
  .ds-banner-actions a + a {
    left: 81%;
    width: 18%;
    top: 50%;
    height: auto;
  }
  .ds-banner-actions img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
  }
  .ds-center-page .ds-section {
    margin-top: 16px;
  }
  .ds-center-page .ds-process-section {
    margin-top: 16px;
  }
}

@media (max-width: 768px) {
  body[data-community-page="center"] .ds-breadcrumb {
    margin-bottom: 14px;
  }
  .ds-center-page .ds-section-heading {
    margin-bottom: 12px;
  }
  .ds-submission-card .ds-card-title-row {
    display: block;
  }
  .ds-submission-card .ds-card-title-row .ds-card-title {
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 20px !important;
    line-height: 28px !important;
  }
  .ds-submission-card .ds-card-title-row .ds-status {
    margin-top: 8px;
  }
  .ds-submission-card {
    padding: 12px;
  }
  .ds-submission-card .ds-card-actions {
    border-top: 0;
  }
  .ds-submission-card .ds-card-actions > .ds-button {
    padding: 0;
    min-height: 24px;
    background: none;
    font-size: 14px;
  }
  .ds-list-heading h1 {
    font-size: 20px;
  }
  .ds-main textarea {
    resize: none;
  }
}

.ds-wall-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.ds-wall-tabs button svg {
  width: 16px;
  height: 16px;
}
.ds-primary[data-boost] svg,
.ds-comment-actions button[aria-pressed="true"] svg {
  fill: currentColor;
}
@media (max-width: 768px) {
  .ds-sticky-actions {
    gap: 12px;
    padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
  }
  .ds-sticky-actions .ds-button {
    min-height: 44px;
  }
  .ds-main .ds-request-form .ds-field textarea {
    resize: none;
  }
}

.ds-main {
  font-size: 16px;
}
.ds-reply-controls {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
/* 回到某条回复（#reply-<id>）时标出目标 */
.ds-comment.is-anchor > .ds-comment-body {
  background: rgba(255, 187, 2, .12);
  border-radius: 8px;
}
[data-replies-prev-page] {
  margin-bottom: 12px;
}
.ds-submission-feedback {
  margin-top: 20px;
}
.ds-submission-feedback .ds-feedback {
  margin-top: 0;
}
.ds-settlement {
  margin-top: 12px !important;
  color: #999;
  font-size: 14px;
}
.ds-reward-amount {
  display: block;
  margin-top: 12px;
  color: var(--ds-accent);
  font-size: 20px;
  font-weight: 600;
}
.ds-detail-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border-top: 1px solid var(--ds-line);
  border-bottom: 1px solid var(--ds-line);
  padding: 16px 0;
  margin-top: 16px;
}
.ds-detail-info dt {
  font-size: 14px;
  color: #888;
}
.ds-detail-info dd {
  font-size: 16px;
  color: #aaa;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.ds-detail-media-label {
  color: #aaa;
  font-size: 16px;
  margin: 16px 0 !important;
}
.ds-detail .ds-detail-section.ds-panel {
  border-top: 0;
  padding: 24px;
}
.ds-detail-section > .ds-detail-text {
  margin: 16px 0;
}
.ds-aside-steps {
  background: var(--ds-panel);
  padding: 24px;
  border-radius: 8px;
}
.ds-aside {
  background: none;
  padding: 0;
}
.ds-aside > .ds-button {
  margin-top: 16px;
  color: var(--ds-accent) !important;
  border: 1px solid var(--ds-accent);
  background: none;
  min-height: 32px;
  padding: 4px 12px;
}
.ds-aside ol {
  margin-bottom: 0;
}
@media (min-width: 769px) {
  .ds-main .ds-form-heading h1 {
    font-size: 24px;
    line-height: 34px;
  }
  .ds-main .ds-form-heading {
    padding-bottom: 24px;
    margin-bottom: 24px;
  }
  .ds-main .ds-field input {
    height: 48px;
    min-height: 48px;
    padding-top: 11px;
    padding-bottom: 11px;
  }
  .ds-main .ds-form textarea {
    height: 154px;
  }
  .ds-choice {
    padding: 10px 20px;
    min-height: 40px;
  }
  .ds-page[data-community-page="submission"] .ds-main {
    margin-bottom: 64px;
  }
  .ds-main .ds-tips {
    row-gap: 16px;
  }
  .ds-main .ds-process-item {
    min-height: 84px;
  }
  .ds-main .ds-reward {
    min-height: 138px;
  }
}
@media (max-width: 768px) {
  .ds-main {
    font-size: 14px;
  }
  .ds-detail-info {
    gap: 16px;
  }
  .ds-detail-info dt {
    font-size: 12px;
  }
  .ds-detail-info dd {
    font-size: 14px;
  }
  .ds-detail .ds-detail-section.ds-panel {
    padding: 20px 16px;
  }
  .ds-page[data-community-page="submissionDetail"] .ds-breadcrumb {
    margin-bottom: 14px;
  }
  .ds-page[data-community-page="submissionDetail"] .ds-detail h1 {
    font-size: 20px;
    line-height: 28px;
    margin-top: 0;
  }
  .ds-page[data-community-page="submissionDetail"] .ds-record-meta {
    font-size: 12px;
  }
  .ds-page[data-community-page="submissionDetail"] .ds-detail > .ds-status {
    line-height: 16px;
    margin-top: 0;
  }
  .ds-page[data-community-page="submissionDetail"] .ds-feedback:not(.is-rejected) + .ds-detail-section {
    margin-top: 4px;
  }
  .ds-page[data-community-page="submissionDetail"] .ds-detail-section h2 {
    font-size: 20px;
    line-height: 28px;
  }
  .ds-page[data-community-page="submissionDetail"] .ds-detail-section > .ds-detail-text {
    font-size: 16px;
    line-height: 22px;
    margin: 12px 0 0;
  }
  .ds-page[data-community-page="submissionDetail"] .ds-detail-info {
    margin-top: 4px;
    padding: 8px 0;
  }
  .ds-page[data-community-page="submissionDetail"] .ds-attachment-section {
    margin-top: 8px;
  }
  .ds-page[data-community-page="submissionDetail"] .ds-attachment-section h2 {
    margin-bottom: 0;
  }
  .ds-page[data-community-page="submissionDetail"] .ds-detail-media-label {
    margin: 4px 0 12px !important;
  }
  .ds-detail-media-label {
    font-size: 14px;
    margin-top: 12px !important;
  }
}

.ds-detail-section .ds-detail-info dl {
  display: block;
  min-width: 0;
  margin: 0;
}
.ds-detail-section .ds-detail-info dd {
  margin-top: 8px;
}
.ds-page[data-community-page="submissionDetail"] .ds-detail > .ds-feedback:not(.is-rejected) {
  padding: 0;
  background: none;
  color: var(--ds-muted);
  font-size: 14px;
}
.ds-attachment-section {
  margin-top: 20px;
}
.ds-request-media {
  margin-top: 20px;
}
.ds-request-media h2 {
  font-size: 20px;
}
.ds-main .ds-compliance {
  margin-top: 0 !important;
}
.ds-main .ds-form .ds-field [aria-invalid="true"] {
  border-color: #6e6e6e !important;
}
.ds-error {
  color: #e95050;
}
.ds-card-title-row .ds-card-title {
  white-space: normal;
  overflow-wrap: anywhere;
}
.ds-page[data-community-page="submissionDetail"] .ds-detail > .ds-status {
  margin-top: 0;
}

/* 附件预览覆盖原站固定导航，关闭按钮保持可点击。 */
.ds-media-dialog {
  z-index: 10030;
}
.ds-media-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
/* 接口版：上传状态与失败标记（灯塔 03fb154f） */
.ds-upload-state {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2px 4px;
  background: rgba(0, 0, 0, .7);
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  pointer-events: none;
}
.ds-upload-item.is-failed {
  outline: 1px solid #ff6b6b;
}
.ds-upload-item.is-failed .ds-upload-state {
  color: #ff9a9a;
}
