.dcm {
  --dcm-bg: #fff;
  --dcm-surface: #f3f6fa;
  --dcm-own: #edf5ef;
  --dcm-text: #1e2c3d;
  --dcm-muted: #65758a;
  --dcm-border: #e6ebf2;
  --dcm-input: #fff;
  --dcm-accent: #40875b;
  --dcm-button-ink: #fff;
  --dcm-radius: 14px;
  box-sizing: border-box;
  color: var(--dcm-text);
  background: var(--dcm-custom-bg, var(--dcm-bg));
  border: 1px solid var(--dcm-border);
  border-radius: var(--dcm-radius);
  padding: clamp(18px, 3vw, 30px);
  margin-block: 36px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  text-align: start;
  width: 100%;
  min-width: 0;
  isolation: isolate;
}
.dcm *, .dcm *::before, .dcm *::after { box-sizing: border-box; }
.dcm [hidden] { display: none !important; }
.dcm h1, .dcm h2, .dcm h3, .dcm p, .dcm ol, .dcm ul, .dcm blockquote { padding: 0; margin: 0; color: inherit; }
.dcm h1, .dcm h2, .dcm h3 { font: inherit; font-size: 23px; font-weight: 700; line-height: 1.25; letter-spacing: -.4px; color: var(--dcm-custom-heading, var(--dcm-text)); }
.dcm a { color: var(--dcm-accent); text-decoration: none; box-shadow: none; border: 0; }
.dcm a:hover { text-decoration: underline; }
.dcm button, .dcm input, .dcm select, .dcm textarea { font: inherit; text-transform: none; letter-spacing: normal; box-shadow: none; }
.dcm button { cursor: pointer; padding: 0; margin: 0; border: 0; background: none; color: inherit; border-radius: 0; }
.dcm button:disabled { cursor: default; opacity: .48; }
.dcm button::before, .dcm button::after { content: none; }
.dcm button:focus-visible, .dcm a:focus-visible, .dcm select:focus-visible, .dcm textarea:focus-visible { outline: 3px solid var(--dcm-accent); outline-offset: 3px; }
.dcm .dcm-icon { width: 18px; height: 18px; display: block; flex: 0 0 auto; }
.dcm .dcm-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.dcm .dcm-heading { display: flex; align-items: center; gap: 11px; min-width: 0; }
.dcm .dcm-heading-icon { color: var(--dcm-accent); display: flex; }
.dcm .dcm-heading-icon .dcm-icon { width: 24px; height: 24px; }
.dcm .dcm-count { border-radius: 8px; background: var(--dcm-surface); color: var(--dcm-muted); padding: 2px 8px; font-size: 13px; font-weight: 600; }
.dcm .dcm-account { display: inline-flex; align-items: center; gap: 7px; color: var(--dcm-muted); font-size: 12px; font-weight: 600; flex-shrink: 0; min-height: 40px; }
.dcm .dcm-account:hover { color: var(--dcm-accent); text-decoration: none; }
.dcm .dcm-badge { display: inline-flex; align-items: center; justify-content: center; background: var(--dcm-accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 6px; }
.dcm .dcm-subhead { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid var(--dcm-border); }
.dcm .dcm-subhead p { font-size: 13px; color: var(--dcm-muted); }
.dcm .dcm-sort-form { flex-shrink: 0; margin: 0; }
.dcm .dcm-sort { border: 1px solid var(--dcm-border); border-radius: 9px; background: var(--dcm-bg); color: var(--dcm-text); font-size: 12px; min-height: 36px; padding: 6px 28px 6px 10px; width: auto; cursor: pointer; }
.dcm .dcm-list, .dcm .dcm-inbox, .dcm .dcm-own-comments { list-style: none; display: grid; gap: 16px; padding: 0; margin: 0; }
.dcm .dcm-list:empty, .dcm .dcm-inbox:empty, .dcm .dcm-own-comments:empty { display: none; }
.dcm .dcm-card { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 11px; margin: 0; padding: 0; scroll-margin-top: 110px; list-style: none; min-width: 0; }
.dcm .dcm-avatar { display: inline-flex; position: relative; overflow: hidden; width: 38px; height: 38px; justify-content: center; align-items: center; border-radius: 13px; font-size: 13px; font-weight: 700; line-height: 1; flex-shrink: 0; user-select: none; }
.dcm .dcm-avatar > img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: inherit; margin: 0; padding: 0; border: 0; box-shadow: none; }
.dcm .dcm-avatar .dcm-avatar-initials { display: block; color: inherit; font: inherit; }
.dcm .dcm-avatar .dcm-avatar-initials:not(:only-child) { visibility: hidden; }
.dcm .dcm-tone-0 { background: #e3eee5; color: #326d4c; }
.dcm .dcm-tone-1 { background: #e6eafc; color: #5661b4; }
.dcm .dcm-tone-2 { background: #f8e9dc; color: #8e5829; }
.dcm .dcm-tone-3 { background: #f5e2e8; color: #9c4d6c; }
.dcm .dcm-tone-4 { background: #def0f3; color: #35717e; }
.dcm .dcm-tone-5 { background: #ece5f5; color: #785998; }
.dcm .dcm-message { min-width: 0; background: var(--dcm-surface); border-radius: 4px 17px 17px 17px; padding: 15px 17px 10px; width: fit-content; max-width: 96%; }
.dcm .dcm-message-head { display: flex; gap: 7px; align-items: center; flex-wrap: nowrap; margin-bottom: 8px; line-height: 1.35; }
.dcm .dcm-byline { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dcm .dcm-byline .dcm-own-label, .dcm .dcm-byline .dcm-author-label { margin-inline-start: 6px; }
.dcm .dcm-author { font-size: 13px; font-weight: 700; overflow-wrap: anywhere; color: var(--dcm-custom-heading, var(--dcm-text)); }
.dcm .dcm-author-label { font-size: 10px; line-height: 1.5; padding: 1px 5px; border: 1px solid var(--dcm-border); border-radius: 4px; color: var(--dcm-muted); }
.dcm .dcm-time { font-size: 10px; color: var(--dcm-muted); white-space: nowrap; margin-inline-start: auto; padding-inline-start: 10px; font-weight: 400; flex-shrink: 0; }
.dcm .dcm-text { font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; color: var(--dcm-custom-text, var(--dcm-text)); }
.dcm .dcm-text p + p { margin-top: 9px; }
.dcm .dcm-text a { text-decoration: underline; }
.dcm .dcm-text ul, .dcm .dcm-text ol { padding-inline-start: 20px; }
.dcm .dcm-text pre { max-width: 100%; overflow: auto; font-size: 12px; white-space: pre-wrap; margin-block: 8px; }
.dcm .dcm-text code { font-size: .9em; background: var(--dcm-bg); padding: 1px 4px; border-radius: 4px; }
.dcm .dcm-text blockquote { border-inline-start: 2px solid var(--dcm-muted); padding-inline-start: 10px; margin-block: 8px; }
.dcm .dcm-quote { display: flex; flex-direction: column; gap: 3px; border-inline-start: 2px solid var(--dcm-accent); background: var(--dcm-bg); border-radius: 3px 8px 8px 3px; padding: 8px 10px; margin-bottom: 9px; text-decoration: none; min-width: 0; }
.dcm .dcm-quote-name { font-size: 11px; font-weight: 700; color: var(--dcm-accent); display: flex; align-items: center; gap: 5px; overflow-wrap: anywhere; }
.dcm .dcm-quote-name .dcm-icon { width: 13px; height: 13px; }
.dcm .dcm-quote-text { font-size: 12px; color: var(--dcm-muted); overflow-wrap: anywhere; }
.dcm .dcm-quote:hover { opacity: .85; text-decoration: none; }
.dcm .dcm-quote-unavailable { color: var(--dcm-muted); font-size: 11px; }
.dcm .dcm-message-actions { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 13px; margin-top: 6px; }
.dcm .dcm-reply-line { margin-top: 4px; }
.dcm .dcm-message-actions > .dcm-reactions { display: flex; width: 100%; min-width: 0; justify-content: flex-end; }
.dcm .dcm-rating { display: flex; align-items: center; gap: 0; color: var(--dcm-muted); border: 1px solid var(--dcm-border); border-radius: 7px; overflow: hidden; }
.dcm .dcm-vote { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 45px; height: 28px; border-radius: 0; padding: 0 7px; font-size: 11px; color: var(--dcm-muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.dcm .dcm-vote .dcm-icon { width: 13px; height: 13px; }
.dcm .dcm-vote + .dcm-vote { border-inline-start: 1px solid var(--dcm-border); }
.dcm .dcm-vote:hover:not(:disabled), .dcm .dcm-vote.is-active { color: var(--dcm-accent); background: var(--dcm-bg); }
.dcm .dcm-score { font-size: 11px; font-weight: 700; line-height: 1; }
.dcm .dcm-own-label { font-size: 10px; color: var(--dcm-accent); font-weight: 500; }
.dcm .dcm-reactions { position: relative; display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 4px; margin-inline-start: auto; max-width: 100%; min-width: 0; }
.dcm .dcm-used-reactions { display: flex; align-items: center; flex-wrap: nowrap; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: thin; }
.dcm .dcm-used-reactions:has(> [hidden]:only-child), .dcm .dcm-used-reactions:not(:has(> :not([hidden]))) { display: none; }
.dcm .dcm-used-reactions .dcm-reaction { flex: 0 0 auto; }
.dcm .dcm-reaction-picker { flex: 0 0 auto; margin: 0; padding: 0; border: 0; }
.dcm .dcm-picker-toggle { display: flex; align-items: center; justify-content: center; list-style: none; cursor: pointer; width: 32px; min-height: 30px; padding: 3px; color: var(--dcm-muted); border: 1px solid transparent; border-radius: 7px; }
.dcm .dcm-picker-toggle::-webkit-details-marker, .dcm .dcm-thread-toggle::-webkit-details-marker { display: none; }
.dcm .dcm-picker-toggle:hover, .dcm .dcm-reaction-picker[open] > .dcm-picker-toggle { color: var(--dcm-accent); background: var(--dcm-own); border-color: var(--dcm-border); }
.dcm .dcm-picker-toggle:focus-visible, .dcm .dcm-thread-toggle:focus-visible { outline: 2px solid var(--dcm-accent); outline-offset: 2px; }
.dcm .dcm-reaction-menu { position: absolute; z-index: 80; inset-inline-end: 0; bottom: calc(100% + 8px); display: grid; grid-template-columns: repeat(5, 38px); gap: 4px; width: max-content; max-width: calc(100vw - 32px); border: 1px solid var(--dcm-border); border-radius: 12px; background: var(--dcm-bg); padding: 8px; box-shadow: 0 8px 25px #12203224; }
.dcm .dcm-reaction-menu .dcm-reaction { min-width: 38px; min-height: 38px; padding: 2px; gap: 1px; }
.dcm .dcm-reaction-menu .dcm-emoji { font-size: 21px; }
.dcm .dcm-reaction-picker:not([open]) > .dcm-reaction-menu { display: none; }
.dcm .dcm-reaction { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 31px; min-height: 28px; border: 1px solid transparent; border-radius: 7px; padding: 2px 5px; color: var(--dcm-muted); background: transparent; }
.dcm .dcm-reaction:hover:not(:disabled) { background: var(--dcm-surface); border-color: var(--dcm-border); }
.dcm .dcm-reaction.is-active { background: var(--dcm-own); border-color: var(--dcm-accent); color: var(--dcm-accent); }
.dcm .dcm-emoji { font-size: 16px; line-height: 1.4; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.dcm .dcm-reaction-count { font-size: 10px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dcm .dcm-reply { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; color: var(--dcm-muted); font-size: 11px; padding: 0 5px; border-radius: 6px; }
.dcm .dcm-reply .dcm-icon { width: 14px; height: 14px; }
.dcm .dcm-reply:hover { color: var(--dcm-accent); }
.dcm .dcm-card.is-own { grid-template-columns: minmax(0, 1fr) 38px; }
.dcm .dcm-card.is-own > .dcm-avatar { grid-column: 2; grid-row: 1; }
.dcm .dcm-card.is-own > .dcm-message { grid-column: 1; grid-row: 1; justify-self: end; background: var(--dcm-own); border-radius: 17px 4px 17px 17px; }
.dcm .dcm-card.is-pending > .dcm-message { border: 1px dashed var(--dcm-border); }
.dcm .dcm-pending-label { font-size: 10px; color: var(--dcm-muted); display: flex; align-items: center; gap: 5px; margin-top: 10px; }
.dcm .dcm-pending-label .dcm-icon { width: 12px; height: 12px; }
.dcm .dcm-pending-list { margin-bottom: 22px; }
.dcm .dcm-composer-area { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--dcm-border); scroll-margin-top: 100px; }
.dcm .dcm-composer { margin: 0; padding: 0; }
.dcm .dcm-composer-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.dcm .dcm-composer-head strong { font-size: 13px; font-weight: 700; display: block; }
.dcm .dcm-composer-head > div > span { display: block; font-size: 11px; color: var(--dcm-muted); }
.dcm .dcm-composer textarea { display: block; width: 100%; min-height: 92px; max-height: 360px; padding: 14px 16px; background: var(--dcm-input); border: 1px solid var(--dcm-border); color: var(--dcm-text); border-radius: 13px; resize: vertical; font-size: 14px; line-height: 1.6; }
.dcm .dcm-composer textarea::placeholder { color: var(--dcm-muted); opacity: .9; }
.dcm .dcm-composer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.dcm .dcm-hint { display: flex; gap: 15px; font-size: 10px; color: var(--dcm-muted); }
.dcm .dcm-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 10px 17px; background: var(--dcm-accent); color: var(--dcm-button-ink); border: 1px solid transparent; border-radius: 10px; font-size: 12px; font-weight: 600; line-height: 1.4; text-decoration: none; }
.dcm .dcm-button:hover { filter: brightness(.96); text-decoration: none; }
.dcm .dcm-button.dcm-send, .dcm .dcm-send [data-dcm-send-label] { color: #fff; }
.dcm .dcm-guest-actions > .dcm-button:not(.dcm-secondary), .dcm .dcm-guest-actions > .dcm-button:not(.dcm-secondary):hover, .dcm .dcm-guest-actions > .dcm-button:not(.dcm-secondary):visited { color: #fff; }
.dcm .dcm-button.dcm-secondary { color: var(--dcm-text); background: var(--dcm-bg); border-color: var(--dcm-border); }
.dcm .dcm-composer-note { font-size: 10px; color: var(--dcm-muted); margin-top: 10px; }
.dcm .dcm-reply-preview { display: flex; align-items: center; gap: 10px; border-inline-start: 3px solid var(--dcm-accent); background: var(--dcm-surface); border-radius: 6px; padding: 9px 10px; margin-bottom: 10px; }
.dcm .dcm-reply-preview > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.dcm .dcm-reply-preview strong { font-size: 11px; color: var(--dcm-accent); }
.dcm .dcm-reply-preview span { font-size: 12px; color: var(--dcm-muted); overflow-wrap: anywhere; }
.dcm .dcm-icon-button { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; color: var(--dcm-muted); border-radius: 6px; flex-shrink: 0; }
.dcm .dcm-guest { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding: 19px; background: var(--dcm-surface); border: 1px solid var(--dcm-border); border-radius: 15px; }
.dcm .dcm-guest-icon { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: var(--dcm-accent); background: var(--dcm-bg); border-radius: 11px; flex-shrink: 0; }
.dcm .dcm-guest-text { flex: 1 1 170px; }
.dcm .dcm-guest strong { display: block; font-size: 13px; font-weight: 700; margin-bottom: 3px; }
.dcm .dcm-guest p { font-size: 11px; color: var(--dcm-muted); line-height: 1.6; }
.dcm .dcm-guest-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.dcm .dcm-closed { display: flex; align-items: center; gap: 8px; color: var(--dcm-muted); font-size: 12px; }
.dcm .dcm-notice { padding: 12px 14px; background: var(--dcm-own); color: var(--dcm-text); border-inline-start: 3px solid var(--dcm-accent); border-radius: 8px; margin-bottom: 18px; font-size: 12px; overflow-wrap: anywhere; }
.dcm .dcm-notice.is-error { border-color: #d54b4b; background: var(--dcm-surface); }
.dcm .dcm-empty { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 35px 16px; text-align: center; color: var(--dcm-muted); }
.dcm .dcm-empty > span { margin-bottom: 7px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--dcm-border); border-radius: 15px; }
.dcm .dcm-empty strong { color: var(--dcm-text); font-size: 14px; font-weight: 600; }
.dcm .dcm-empty p { max-width: 370px; font-size: 12px; }
.dcm .dcm-pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--dcm-border); font-size: 12px; }
.dcm .dcm-pagination a { padding: 6px 0; min-height: 36px; display: inline-flex; align-items: center; font-weight: 600; }
.dcm .dcm-page-disabled { color: var(--dcm-muted); opacity: .55; }
.dcm .dcm-page-current { color: var(--dcm-muted); }
.dcm .dcm-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.dcm .dcm-hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.dcm .dcm-noscript { margin-top: 15px; font-size: 12px; }
.dcm .dcm-list-area.is-loading, .dcm [data-dcm-profile-body].is-loading { opacity: .55; }
.dcm .dcm-card.is-focused > .dcm-message { outline: 2px solid var(--dcm-accent); outline-offset: 3px; }
.dcm[data-style="compact"] .dcm-message { width: 100%; max-width: 100%; padding: 0 0 14px; border-radius: 0; background: none; border-bottom: 1px solid var(--dcm-border); }
.dcm[data-style="compact"] .dcm-card { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
.dcm[data-style="compact"] .dcm-avatar { width: 30px; height: 30px; border-radius: 50%; font-size: 11px; }
.dcm[data-style="compact"] .dcm-card.is-reply { margin-inline-start: 0; padding-inline-start: 0; }
.dcm[data-style="compact"] .dcm-time { margin-inline-start: 3px; padding: 0; }
.dcm[data-style="compact"] .dcm-quote { background: var(--dcm-surface); border-inline-start-width: 2px; border-radius: 0 5px 5px 0; padding: 7px 10px; }
.dcm[data-style="compact"] .dcm-card.is-own { grid-template-columns: 30px minmax(0, 1fr); }
.dcm[data-style="compact"] .dcm-card.is-own > .dcm-avatar { grid-column: 1; }
.dcm[data-style="compact"] .dcm-card.is-own > .dcm-message { grid-column: 2; background: none; border-radius: 0; justify-self: stretch; }
.dcm[data-style="compact"] .dcm-card.is-pending > .dcm-message { border: 0; border-bottom: 1px dashed var(--dcm-border); }
.dcm .dcm-thread-area { grid-column: 1 / -1; min-width: 0; margin: 4px 0 0 16px; border-inline-start: 1px solid var(--dcm-border); padding-inline-start: 12px; }
.dcm .dcm-replies { list-style: none; display: grid; gap: 16px; padding: 0; margin: 0; }
.dcm .dcm-card[data-dcm-depth="4"] .dcm-thread-area { margin-inline-start: 0; padding-inline-start: 0; border-inline-start: 0; }
.dcm .dcm-thread-toggle { display: flex; align-items: center; gap: 5px; width: fit-content; min-height: 36px; list-style: none; cursor: pointer; padding: 4px 0; font-size: 12px; font-weight: 600; color: var(--dcm-accent); }
.dcm .dcm-thread-toggle::before { content: '+'; width: 14px; font-size: 16px; font-weight: 400; }
.dcm .dcm-thread[open] > .dcm-thread-toggle::before { content: '−'; }
.dcm .dcm-thread > .dcm-thread-toggle .dcm-thread-hide, .dcm .dcm-thread[open] > .dcm-thread-toggle .dcm-thread-show { display: none; }
.dcm .dcm-thread[open] > .dcm-thread-toggle .dcm-thread-hide { display: inline; }
.dcm .dcm-thread[open] > .dcm-replies { margin-top: 8px; }
.dcm .dcm-thread:not([open]) > .dcm-replies { display: none; }
.dcm .dcm-thread-count { font-variant-numeric: tabular-nums; }
.dcm .dcm-profile-user { display: flex; gap: 12px; align-items: center; padding-block: 18px 24px; }
.dcm .dcm-profile-user .dcm-avatar { width: 46px; height: 46px; font-size: 16px; border-radius: 16px; }
.dcm .dcm-profile-user > div { flex: 1; min-width: 0; }
.dcm .dcm-profile-user strong { font-size: 16px; overflow-wrap: anywhere; }
.dcm .dcm-profile-user p { color: var(--dcm-muted); font-size: 12px; }
.dcm .dcm-profile-edit { font-size: 11px; }
.dcm .dcm-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--dcm-border); padding-bottom: 14px; margin-bottom: 18px; }
.dcm .dcm-tab { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 12px; font-size: 12px; font-weight: 600; color: var(--dcm-muted); border-radius: 9px; }
.dcm .dcm-tab.is-active { color: var(--dcm-accent); background: var(--dcm-surface); }
.dcm .dcm-read-all-form { text-align: end; margin: 0 0 14px; }
.dcm .dcm-read-all { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--dcm-muted); min-height: 32px; }
.dcm .dcm-read-all .dcm-icon { width: 14px; height: 14px; }
.dcm .dcm-notification { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; background: var(--dcm-surface); padding: 18px; border-radius: 15px; margin: 0; }
.dcm .dcm-notification.is-unread { background: var(--dcm-own); }
.dcm .dcm-notification.is-unread::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dcm-accent); position: absolute; inset-block-start: 14px; inset-inline-end: 13px; }
.dcm .dcm-notification-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 7px; padding-inline-end: 7px; }
.dcm .dcm-notification-head strong { font-size: 12px; overflow-wrap: anywhere; }
.dcm .dcm-notification-head span, .dcm .dcm-notification-head time { font-size: 10px; color: var(--dcm-muted); }
.dcm .dcm-notification-head time { margin-inline-start: auto; }
.dcm .dcm-inbox-title { font-size: 11px; color: var(--dcm-muted); margin-top: 4px; }
.dcm .dcm-inbox-quote { margin-block: 10px; border-inline-start: 2px solid var(--dcm-border); padding-inline-start: 9px; font-size: 11px; color: var(--dcm-muted); overflow-wrap: anywhere; }
.dcm .dcm-inbox-text { font-size: 13px; overflow-wrap: anywhere; line-height: 1.6; }
.dcm .dcm-notification form { margin: 0; }
.dcm .dcm-open-reply { color: var(--dcm-accent); font-size: 11px; font-weight: 600; margin-top: 9px; min-height: 32px; }
.dcm .dcm-own-comments > li { background: var(--dcm-surface); padding: 17px; border-radius: 13px; margin: 0; }
.dcm .dcm-own-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.dcm .dcm-own-head a { font-size: 12px; font-weight: 600; }
.dcm .dcm-own-head time { font-size: 10px; color: var(--dcm-muted); white-space: nowrap; }
.dcm .dcm-own-comments p { font-size: 13px; overflow-wrap: anywhere; }
.dcm .dcm-status { display: inline-flex; font-size: 10px; color: var(--dcm-muted); background: var(--dcm-bg); border-radius: 5px; padding: 2px 6px; margin-top: 10px; }
.dcm .dcm-back { display: inline-block; font-size: 12px; margin-block: 10px 24px; }
.dcm-standalone { background: #eef2f7; margin: 0; padding: 28px 18px; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.dcm-standalone > .dcm { max-width: 880px; margin: 20px auto; }
.dcm[data-theme="dark"] { --dcm-bg: #17232f; --dcm-surface: #21303f; --dcm-own: #213e5c; --dcm-text: #ecf2f8; --dcm-muted: #adbdcd; --dcm-border: #344656; --dcm-input: #192a39; color-scheme: dark; }
@media (prefers-color-scheme: dark) {
  .dcm[data-theme="auto"] { --dcm-bg: #17232f; --dcm-surface: #21303f; --dcm-own: #213e5c; --dcm-text: #ecf2f8; --dcm-muted: #adbdcd; --dcm-border: #344656; --dcm-input: #192a39; color-scheme: dark; }
}
:is(html, body)[data-theme="light"] .dcm[data-theme="auto"] { --dcm-bg: #fff; --dcm-surface: #f3f6fa; --dcm-own: #eaf3ff; --dcm-text: #1e2c3d; --dcm-muted: #65758a; --dcm-border: #e6ebf2; --dcm-input: #fff; color-scheme: light; }
:is(html, body)[data-theme="dark"] .dcm[data-theme="auto"], :is(body.dark-mode, body.theme-dark, body.is-dark-theme) .dcm[data-theme="auto"] { --dcm-bg: #17232f; --dcm-surface: #21303f; --dcm-own: #213e5c; --dcm-text: #ecf2f8; --dcm-muted: #adbdcd; --dcm-border: #344656; --dcm-input: #192a39; color-scheme: dark; }
@media (max-width: 600px) {
  .dcm { border-radius: 18px; padding: 18px 14px; font-size: 14px; margin-block: 24px; }
  .dcm h1, .dcm h2, .dcm h3 { font-size: 20px; }
  .dcm .dcm-header { gap: 8px; }
  .dcm .dcm-account > span:not(.dcm-badge) { display: none; }
  .dcm .dcm-account { gap: 4px; min-width: 34px; justify-content: end; }
  .dcm .dcm-subhead { flex-wrap: wrap; padding-bottom: 16px; margin-bottom: 18px; gap: 10px; }
  .dcm .dcm-subhead p { font-size: 12px; }
  .dcm .dcm-sort { min-height: 40px; }
  .dcm .dcm-card { grid-template-columns: 29px minmax(0, 1fr); gap: 7px; }
  .dcm .dcm-avatar { width: 29px; height: 29px; font-size: 10px; border-radius: 10px; }
  .dcm .dcm-message { padding: 12px 12px 5px; max-width: 100%; }
  .dcm .dcm-author { font-size: 12px; }
  .dcm .dcm-time { width: auto; margin-inline-start: auto; padding: 0; font-size: 9px; }
  .dcm .dcm-message-head { gap: 4px 6px; }
  .dcm .dcm-text { font-size: 13px; }
  .dcm .dcm-card.is-own { grid-template-columns: minmax(0, 1fr) 29px; }
  .dcm[data-style="compact"] .dcm-card.is-own { grid-template-columns: 29px minmax(0, 1fr); }
  .dcm .dcm-vote, .dcm .dcm-reply, .dcm .dcm-reaction, .dcm .dcm-picker-toggle { min-height: 38px; }
  .dcm .dcm-message-actions { gap: 7px; }
  .dcm .dcm-reactions { margin-inline-start: 0; flex: 1 1 100%; width: 100%; justify-content: flex-end; }
  .dcm .dcm-reaction-menu { display: flex; flex-wrap: nowrap; width: 240px; max-width: calc(100vw - 40px); overflow-x: auto; scrollbar-width: thin; }
  .dcm .dcm-reaction-menu .dcm-reaction { flex: 0 0 38px; }
  .dcm .dcm-thread-area { margin-inline-start: 8px; padding-inline-start: 8px; }
  .dcm[data-style="compact"] .dcm-card.is-reply { margin-inline-start: 0; padding-inline-start: 0; }
  .dcm[data-style="compact"] .dcm-card, .dcm[data-style="compact"] .dcm-card.is-own { grid-template-columns: 26px minmax(0, 1fr); gap: 8px; }
  .dcm[data-style="compact"] .dcm-avatar { width: 26px; height: 26px; font-size: 10px; }
  .dcm .dcm-shortcut { display: none; }
  .dcm .dcm-guest { padding: 14px; gap: 10px; }
  .dcm .dcm-guest-actions { width: 100%; margin-top: 3px; }
  .dcm .dcm-guest-icon { width: 32px; height: 32px; border-radius: 10px; }
  .dcm .dcm-profile-user { flex-wrap: wrap; padding-bottom: 18px; }
  .dcm .dcm-profile-edit { width: 100%; padding-inline-start: 58px; }
  .dcm .dcm-notification { grid-template-columns: 29px minmax(0, 1fr); padding: 13px; gap: 8px; }
  .dcm .dcm-notification-head time { width: 100%; margin-inline-start: 0; }
  .dcm .dcm-tabs { gap: 4px; }
  .dcm .dcm-tab { font-size: 11px; padding: 7px 9px; }
  .dcm .dcm-own-head { flex-wrap: wrap; gap: 4px; }
}
.dcm-card-count { display: inline-flex; align-items: center; gap: 4px; color: inherit; font: inherit; font-size: 12px; line-height: 1.4; vertical-align: middle; white-space: nowrap; margin-inline-start: 2px; }
.dcm-card-count .dcm-icon { display: inline-block; width: 14px; height: 14px; flex-shrink: 0; margin: 0; vertical-align: middle; }
.dcm-card-count [data-dcm-card-number] { font-size: inherit; font-variant-numeric: tabular-nums; }
#dcm-design-preview { max-width: 800px; margin-block: 18px; }
.dcm-fallback { box-sizing: border-box; width: 100%; max-width: 900px; margin-inline: auto; padding-inline: 16px; }
@media (prefers-reduced-motion: reduce) {
  .dcm { scroll-behavior: auto; }
}

.dcm.dcm-post-feedback { padding: 12px 15px; margin-block: 24px; border-radius: 12px; }
.dcm .dcm-post-actions { display:grid; grid-template-columns:auto auto auto minmax(0,1fr); align-items:center; gap:12px; min-width:0; }
.dcm .dcm-post-actions > .dcm-reactions { display:flex; width:100%; min-width:0; justify-content:flex-end; }
.dcm .dcm-post-comments, .dcm .dcm-post-bookmark { display:inline-flex; align-items:center; justify-content:center; gap:5px; min-height:30px; min-width:32px; color:var(--dcm-muted); font-size:12px; border-radius:7px; padding:3px 5px; }
.dcm .dcm-post-comments .dcm-icon, .dcm .dcm-post-bookmark .dcm-icon { width:17px; height:17px; }
.dcm .dcm-post-bookmark:hover, .dcm .dcm-post-bookmark[aria-pressed="true"] { color:var(--dcm-accent); background:var(--dcm-own); }
.dcm .dcm-post-bookmark[aria-pressed="true"] .dcm-icon { fill:currentColor; }
.dcm-post-feedback > .dcm-notice { margin:12px 0 0; }
@media(max-width:600px){.dcm.dcm-post-feedback{padding:10px 12px}.dcm .dcm-post-comments,.dcm .dcm-post-bookmark{min-height:38px;min-width:36px}.dcm .dcm-post-actions{gap:8px}}

/* Composer, image previews and earned community badges. */
.dcm .dcm-byline { display: flex; align-items: center; gap: 5px; }
.dcm .dcm-byline .dcm-author { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dcm .dcm-byline .dcm-own-label, .dcm .dcm-byline .dcm-author-label { flex: 0 0 auto; margin-inline-start: 0; }
.dcm .dcm-user-badge { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-width: 24px; min-height: 24px; border-radius: 5px; cursor: pointer; }
.dcm .dcm-user-badge img { width: 22px; height: 22px; max-width: none; margin: 0; border: 0; padding: 0; box-shadow: none; }
.dcm .dcm-composer-tools { display: flex; align-items: center; gap: 10px; margin: 5px 0 8px; min-width: 0; }
.dcm .dcm-composer-tools.is-busy { opacity: .65; }
.dcm .dcm-emoji-picker { position: relative; margin: 0; border: 0; padding: 0; flex: 0 0 auto; }
.dcm .dcm-composer-emojis { display: grid; grid-template-columns: repeat(6, 34px); width: max-content; inset-inline-start: 0; inset-inline-end: auto; gap: 3px; overflow: visible; }
.dcm .dcm-emoji-picker:not([open]) > .dcm-composer-emojis { display: none; }
.dcm .dcm-emoji-choice { display: flex; align-items: center; justify-content: center; min-width: 34px; min-height: 36px; padding: 2px; border: 0; border-radius: 6px; background: transparent; font: 22px/1.2 "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.dcm .dcm-emoji-choice:hover, .dcm .dcm-emoji-choice:focus-visible { background: var(--dcm-surface); }
.dcm .dcm-attach-label { display: inline-flex; position: relative; align-items: center; gap: 5px; min-height: 36px; padding: 3px 7px; font-size: 12px; font-weight: 500; color: var(--dcm-muted); cursor: pointer; border-radius: 7px; }
.dcm .dcm-attach-label:hover, .dcm .dcm-attach-label:focus-within { color: var(--dcm-accent); background: var(--dcm-surface); }
.dcm .dcm-attach-label .dcm-icon { width: 18px; height: 18px; }
.dcm .dcm-tools-note { font-size: 10px; line-height: 1.4; color: var(--dcm-muted); margin-inline-start: auto; }
.dcm .dcm-upload-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.dcm .dcm-upload-preview { position: relative; width: 108px; margin: 0; padding: 5px; border: 1px solid var(--dcm-border); border-radius: 9px; background: var(--dcm-bg); }
.dcm .dcm-upload-preview > img { display: block; width: 96px; height: 72px; object-fit: cover; border-radius: 5px; margin: 0; }
.dcm .dcm-upload-preview figcaption { font-size: 9px; line-height: 1.4; color: var(--dcm-muted); margin: 4px 0 0; overflow-wrap: anywhere; }
.dcm .dcm-upload-preview.is-error { border-color: #c85757; }
.dcm .dcm-upload-preview .dcm-upload-remove { position: absolute; inset-inline-end: 1px; top: 1px; width: 26px; height: 26px; padding: 0; font-size: 20px; line-height: 1; background: var(--dcm-bg); color: var(--dcm-text); border-radius: 50%; border: 1px solid var(--dcm-border); }
.dcm .dcm-upload-retry { min-height: 28px; padding: 3px 0; color: var(--dcm-accent); font-size: 10px; }
.dcm .dcm-attachments { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.dcm .dcm-attachment { display: block; width: min(120px, calc(50% - 4px)); aspect-ratio: 4 / 3; border-radius: 8px; border: 1px solid var(--dcm-border); overflow: hidden; background: var(--dcm-surface); }
.dcm .dcm-attachment img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; transition: transform .2s ease; }
.dcm .dcm-attachment:hover img { transform: scale(1.04); }

.dcm.dcm-rewards { margin-block: 20px; padding: 22px; }
.dcm.dcm-rewards h3 { font-size: 22px; margin: 0 0 8px; }
.dcm .dcm-rewards-intro, .dcm .dcm-rewards-note { color: var(--dcm-muted); font-size: 12px; line-height: 1.55; margin: 0 0 15px; }
.dcm .dcm-rewards-note { font-size: 11px; margin-block: 12px 20px; }
.dcm .dcm-achievement-progress { display: grid; gap: 7px; font-size: 12px; margin-bottom: 18px; }
.dcm .dcm-achievement-progress progress { display: block; width: 100%; height: 7px; appearance: none; border: 0; border-radius: 10px; overflow: hidden; background: var(--dcm-surface); accent-color: var(--dcm-accent); }
.dcm .dcm-achievement-progress progress::-webkit-progress-bar { background: var(--dcm-surface); }
.dcm .dcm-achievement-progress progress::-webkit-progress-value { background: var(--dcm-accent); border-radius: 10px; }
.dcm .dcm-achievement-progress progress::-moz-progress-bar { background: var(--dcm-accent); }
.dcm .dcm-achievement-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 0; margin: 0; list-style: none; }
.dcm .dcm-achievement { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; padding: 12px 7px; border: 1px solid var(--dcm-border); border-radius: 11px; text-align: center; background: var(--dcm-bg); list-style: none; }
.dcm .dcm-achievement.is-earned { border-color: var(--dcm-accent); background: var(--dcm-own); }
.dcm .dcm-achievement-image { display: inline-flex; border-radius: 8px; }
.dcm .dcm-achievement-image > img { width: 72px; height: 72px; margin: 0; padding: 0; border: 0; box-shadow: none; }
.dcm .dcm-achievement.is-locked .dcm-achievement-image > img { filter: grayscale(.9); opacity: .4; }
.dcm .dcm-achievement > strong { font-size: 11px; line-height: 1.4; color: var(--dcm-custom-heading, var(--dcm-text)); }
.dcm .dcm-achievement > span, .dcm .dcm-achievement > small { color: var(--dcm-muted); font-size: 10px; line-height: 1.4; }
.dcm .dcm-achievement > small { font-size: 9px; margin-top: auto; }
.dcm .dcm-award-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.dcm .dcm-award { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 12px; border: 1px solid var(--dcm-border); border-radius: 10px; background: var(--dcm-surface); }
.dcm .dcm-award > img { flex: 0 0 56px; width: 56px; height: 56px; margin: 0; }
.dcm .dcm-award > div { display: grid; min-width: 0; gap: 4px; }
.dcm .dcm-award strong { font-size: 12px; line-height: 1.4; }
.dcm .dcm-award span, .dcm .dcm-award a { font-size: 10px; line-height: 1.4; color: var(--dcm-muted); overflow-wrap: anywhere; }
.dcm .dcm-award a { color: var(--dcm-accent); }
.dcm .dcm-post-awards { display: flex; flex-wrap: wrap; gap: 12px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--dcm-border); }
.dcm .dcm-post-award { display: flex; align-items: center; gap: 7px; }
.dcm .dcm-post-award > img { width: 32px; height: 32px; margin: 0; }
.dcm .dcm-post-award > span { display: grid; gap: 2px; }
.dcm .dcm-post-award strong { font-size: 11px; }
.dcm .dcm-post-award small { font-size: 10px; color: var(--dcm-muted); }
.dcm .dcm-tabs { flex-wrap: wrap; }
@media (max-width: 600px) {
  .dcm .dcm-message-actions, .dcm .dcm-post-actions { column-gap: 6px; }
  .dcm .dcm-tools-note { font-size: 9px; max-width: 125px; }
  .dcm .dcm-composer-tools { gap: 6px; }
  .dcm .dcm-composer-emojis { display: grid; grid-template-columns: repeat(6, 32px); width: max-content; max-width: calc(100vw - 32px); }
  .dcm .dcm-emoji-choice { min-width: 32px; min-height: 36px; }
  .dcm.dcm-rewards { padding: 16px 12px; }
  .dcm .dcm-achievement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dcm .dcm-award-grid { grid-template-columns: minmax(0, 1fr); }
}
dialog.dcm-gallery { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 50px 45px 42px; border: 0; background: #101820ed; color: #fff; overflow: hidden; box-sizing: border-box; }
dialog.dcm-gallery::backdrop { background: #000b; }
dialog.dcm-gallery [hidden] { display: none !important; }
.dcm-gallery-track { display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.dcm-gallery-track::-webkit-scrollbar { display: none; }
.dcm-gallery-slide { display: flex; position: relative; flex: 0 0 100%; width: 100%; height: 100%; margin: 0; align-items: center; justify-content: center; scroll-snap-align: center; }
.dcm-gallery-slide img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.dcm-gallery-slide figcaption { position: absolute; inset: 45% 10% auto; text-align: center; font: 14px/1.5 system-ui, sans-serif; }
.dcm-gallery-close, .dcm-gallery-prev, .dcm-gallery-next { position: absolute; z-index: 2; display: grid; place-items: center; padding: 0; width: 40px; height: 40px; color: #fff; border: 1px solid #ffffff40; background: #16212dcc; border-radius: 50%; cursor: pointer; font: 30px/1 system-ui, sans-serif; }
.dcm-gallery-close { top: 10px; right: 12px; }
.dcm-gallery-prev { left: 6px; top: calc(50% - 20px); }
.dcm-gallery-next { right: 6px; top: calc(50% - 20px); }
.dcm-gallery-prev:disabled, .dcm-gallery-next:disabled { opacity: .35; cursor: default; }
.dcm-gallery-count { position: absolute; bottom: 12px; inset-inline: 0; text-align: center; font: 13px/1.5 system-ui, sans-serif; }
@media (max-width: 600px) { dialog.dcm-gallery { padding: 54px 8px 45px; } .dcm-gallery-prev, .dcm-gallery-next { width: 32px; height: 32px; font-size: 24px; top: calc(50% - 16px); } }

.dcm-achievement-tooltip { position: fixed; z-index: 100010; width: max-content; max-width: min(280px, calc(100vw - 16px)); padding: 9px 12px; border: 1px solid #ffffff24; border-radius: 9px; background: #263b2d; color: #fff; box-shadow: 0 5px 20px #0003; font: 12px/1.5 system-ui, sans-serif; text-align: center; overflow-wrap: anywhere; pointer-events: none; }
.dcm-achievement-tooltip[hidden] { display: none; }
@media (max-width: 600px) {
  .dcm .dcm-thread-area { margin-inline-start: 6px; padding-inline-start: 7px; }
}
