.dcm {
  --dcm-bg: var(--dcm-day-bg, #fff);
  --dcm-surface: #f3f6fa;
  --dcm-own: #edf5ef;
  --dcm-text: var(--dcm-day-text, #1e2c3d);
  --dcm-muted: #65758a;
  --dcm-border: #e6ebf2;
  --dcm-input: #fff;
  --dcm-accent: var(--dcm-day-accent, #40875b);
  --dcm-button-ink: var(--dcm-day-button-ink, #fff);
  --dcm-custom-bg: var(--dcm-bg);
  --dcm-custom-heading: var(--dcm-day-heading, var(--dcm-text));
  --dcm-custom-text: var(--dcm-text);
  color-scheme: light;
  --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: var(--dcm-button-ink); 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: var(--dcm-button-ink); }
.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: var(--dcm-button-ink); }
.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; }
/* Explicit site mode takes precedence over the operating system. */
.dcm[data-theme="dark"] { --dcm-bg: var(--dcm-night-bg, #18251d); --dcm-surface: var(--dcm-night-surface, #24372c); --dcm-own: var(--dcm-night-own, #304a37); --dcm-text: var(--dcm-night-text, #e7eee6); --dcm-muted: var(--dcm-night-muted, #aabdac); --dcm-border: var(--dcm-night-border, #425848); --dcm-input: var(--dcm-night-input, #142219); --dcm-accent: var(--dcm-night-accent, #91bc99); --dcm-button-ink: var(--dcm-night-button-ink, #101820); --dcm-custom-bg: var(--dcm-bg); --dcm-custom-heading: var(--dcm-night-heading, #f5efe1); --dcm-custom-text: var(--dcm-text); color-scheme: dark; }
@media (prefers-color-scheme: dark) {
 .dcm[data-theme="auto"] { --dcm-bg: var(--dcm-night-bg, #18251d); --dcm-surface: var(--dcm-night-surface, #24372c); --dcm-own: var(--dcm-night-own, #304a37); --dcm-text: var(--dcm-night-text, #e7eee6); --dcm-muted: var(--dcm-night-muted, #aabdac); --dcm-border: var(--dcm-night-border, #425848); --dcm-input: var(--dcm-night-input, #142219); --dcm-accent: var(--dcm-night-accent, #91bc99); --dcm-button-ink: var(--dcm-night-button-ink, #101820); --dcm-custom-bg: var(--dcm-bg); --dcm-custom-heading: var(--dcm-night-heading, #f5efe1); --dcm-custom-text: var(--dcm-text); color-scheme: dark; }
}
:is(html,body)[data-theme="light"] .dcm[data-theme="auto"] { --dcm-bg: var(--dcm-day-bg, #fff); --dcm-surface: #f3f6fa; --dcm-own: #edf5ef; --dcm-text: var(--dcm-day-text, #1e2c3d); --dcm-muted: #65758a; --dcm-border: #e6ebf2; --dcm-input: #fff; --dcm-accent: var(--dcm-day-accent, #40875b); --dcm-button-ink: var(--dcm-day-button-ink, #fff); --dcm-custom-bg: var(--dcm-bg); --dcm-custom-heading: var(--dcm-day-heading, var(--dcm-text)); --dcm-custom-text: var(--dcm-text); 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: var(--dcm-night-bg, #18251d); --dcm-surface: var(--dcm-night-surface, #24372c); --dcm-own: var(--dcm-night-own, #304a37); --dcm-text: var(--dcm-night-text, #e7eee6); --dcm-muted: var(--dcm-night-muted, #aabdac); --dcm-border: var(--dcm-night-border, #425848); --dcm-input: var(--dcm-night-input, #142219); --dcm-accent: var(--dcm-night-accent, #91bc99); --dcm-button-ink: var(--dcm-night-button-ink, #101820); --dcm-custom-bg: var(--dcm-bg); --dcm-custom-heading: var(--dcm-night-heading, #f5efe1); --dcm-custom-text: var(--dcm-text); 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; }
}

/* Author cards and subscriptions. */
.dcm .dcm-user-trigger { text-align: start; cursor: pointer; border-radius: 3px; }
.dcm .dcm-user-trigger:hover { color: var(--dcm-accent); text-decoration: underline; }
.dcm .dcm-author-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--dcm-border); }
.dcm .dcm-author-bar .dcm-avatar { width: 34px; height: 34px; border-radius: 50%; }
.dcm .dcm-author-bar-name { flex: 1; min-width: 90px; display: grid; gap: 2px; }
.dcm .dcm-author-bar-name small { font-size: 10px; color: var(--dcm-muted); }
.dcm .dcm-author-bar-name .dcm-author { font-size: 13px; max-width: 100%; overflow-wrap: anywhere; }
.dcm .dcm-follow-button { color: var(--dcm-button-ink); min-height: 36px; padding: 7px 12px; font-size: 12px; border-radius: 8px; }
.dcm .dcm-follow-button.is-following { color: var(--dcm-text); background: var(--dcm-own); border: 1px solid var(--dcm-border); }
.dcm .dcm-follow-button:disabled { cursor: default; }
.dcm .dcm-author-status { flex-basis: 100%; margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: var(--dcm-accent); }
.dcm .dcm-author-status.is-error { color: #b44343; }
.dcm-author-layer { position: fixed; inset: 0; z-index: 100000; pointer-events: none; }
.dcm-author-layer[hidden], .dcm-author-layer [hidden] { display: none !important; }
.dcm-author-backdrop { display: none; position: absolute; inset: 0; background: #101b2566; backdrop-filter: blur(3px); pointer-events: auto; }
.dcm-author-layer.is-modal .dcm-author-backdrop { display: block; }
.dcm-author-window { position: fixed; width: min(370px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain; border-radius: 16px; box-shadow: 0 14px 60px #13271f35; background: #fff; color: #263b2d; pointer-events: auto; font: 14px/1.5 system-ui,sans-serif; }
.dcm-author-close { position: absolute; top: 8px; right: 8px; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: #74847716; color: #66796b; cursor: pointer; font: 23px/1 system-ui,sans-serif; }
.dcm-author-close:hover { background: #7484772a; }
.dcm-author-close:focus-visible { outline: 2px solid #40875b; outline-offset: 2px; }
.dcm-author-loading { padding: 35px 24px 28px; margin: 0; font: 13px/1.5 system-ui,sans-serif; }
.dcm.dcm-user-card { padding: 22px; margin: 0; border-radius: 16px; border: 1px solid var(--dcm-border); box-shadow: none; font-family: inherit; }
.dcm-user-card .dcm-user-card-head { display: flex; align-items: center; gap: 13px; padding-inline-end: 18px; margin-bottom: 16px; }
.dcm-user-card .dcm-user-card-head > .dcm-avatar { width: 62px; height: 62px; border-radius: 50%; flex: 0 0 62px; font-size: 20px; }
.dcm-user-card .dcm-user-card-head > div { min-width: 0; }
.dcm-user-card .dcm-user-card-head h3 { font-size: 18px !important; line-height: 1.3; overflow-wrap: anywhere; letter-spacing: -.25px; margin: 0 0 5px; }
.dcm-user-card .dcm-user-card-head p { font-size: 11px; color: var(--dcm-muted); }
.dcm-user-card .dcm-user-bio { font-size: 12px; line-height: 1.55; color: var(--dcm-muted); margin-bottom: 16px; overflow-wrap: anywhere; }
.dcm-user-card .dcm-user-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 12px 0; margin: 0 0 17px; border-block: 1px solid var(--dcm-border); gap: 10px; }
.dcm-user-card .dcm-user-metrics > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dcm-user-card .dcm-user-metrics dt { font-size: 10px; color: var(--dcm-muted); order: 1; }
.dcm-user-card .dcm-user-metrics dd { font-size: 20px; line-height: 1.25; margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.dcm-user-card .dcm-card-rewards { margin: 16px 0; }
.dcm-user-card .dcm-card-rewards h4 { margin: 0 0 9px; color: var(--dcm-muted); font-family: inherit; font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .02em; }
.dcm-user-card .dcm-card-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.dcm-user-card .dcm-card-achievement { display: inline-flex; border-radius: 7px; }
.dcm-user-card .dcm-card-achievement img { display: block; width: 42px; height: 42px; padding: 0; margin: 0; }
.dcm-user-card .dcm-card-awards { display: grid; grid-template-columns: 1fr; gap: 8px; list-style: none; padding: 0; margin: 0; }
.dcm-user-card .dcm-card-awards li { display: flex; align-items: center; gap: 8px; }
.dcm-user-card .dcm-card-awards img { width: 30px; height: 30px; flex: 0 0 30px; margin: 0; }
.dcm-user-card .dcm-card-awards li > span { display: grid; gap: 2px; min-width: 0; }
.dcm-user-card .dcm-card-awards strong { font-size: 11px; line-height: 1.35; }
.dcm-user-card .dcm-card-awards small { font-size: 10px; color: var(--dcm-muted); }
.dcm-user-card .dcm-user-card-actions { display: grid; justify-items: start; gap: 11px; margin-top: 18px; }
.dcm-user-card .dcm-follow-button { width: 100%; }
.dcm-user-card .dcm-all-publications { font-size: 12px; font-weight: 600; color: var(--dcm-text); text-decoration: underline; text-underline-offset: 3px; }
.dcm-user-card .dcm-no-publications { font-size: 11px; color: var(--dcm-muted); }
.dcm.dcm-subscriptions { margin: 0; }
.dcm-subscriptions .dcm-subscriptions-heading { margin-bottom: 20px; }
.dcm-subscriptions .dcm-subscriptions-heading h3 { font-size: 24px; margin-bottom: 7px; }
.dcm-subscriptions .dcm-subscriptions-heading p { font-size: 13px; line-height: 1.5; color: var(--dcm-muted); }
.dcm-subscriptions .dcm-subscription-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--dcm-border); padding-bottom: 13px; margin-bottom: 15px; }
.dcm-subscriptions .dcm-subscription-tabs a { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 7px 13px; border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--dcm-muted); }
.dcm-subscriptions .dcm-subscription-tabs a[aria-current="page"] { background: var(--dcm-own); color: var(--dcm-accent); }
.dcm-subscriptions .dcm-subscription-tools { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.dcm-subscriptions .dcm-subscription-tools button { min-height: 32px; font-size: 11px; color: var(--dcm-accent); }
.dcm-subscriptions .dcm-publication-feed { display: grid; gap: 13px; }
.dcm-subscriptions .dcm-publication { display: flex; gap: 15px; padding: 16px; border: 1px solid var(--dcm-border); border-radius: 12px; min-width: 0; }
.dcm-subscriptions .dcm-publication.is-unread { background: var(--dcm-own); }
.dcm-subscriptions .dcm-publication-cover { display: block; width: 126px; flex: 0 0 126px; aspect-ratio: 4/3; align-self: flex-start; overflow: hidden; border-radius: 8px; }
.dcm-subscriptions .dcm-publication-cover img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; padding: 0; }
.dcm-subscriptions .dcm-publication-body { flex: 1; min-width: 0; }
.dcm-subscriptions .dcm-publication-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 7px; font-size: 10px; color: var(--dcm-muted); }
.dcm-subscriptions .dcm-publication-meta .dcm-author { font-size: 11px; }
.dcm-subscriptions .dcm-publication-new { padding: 2px 6px; border-radius: 5px; font-size: 9px; color: var(--dcm-accent); background: var(--dcm-bg); }
.dcm-subscriptions .dcm-publication h4 { margin: 0 0 7px; font-size: 16px; line-height: 1.4; font-weight: 700; color: var(--dcm-custom-heading,var(--dcm-text)); overflow-wrap: anywhere; }
.dcm-subscriptions .dcm-publication h4 a { color: inherit; }
.dcm-subscriptions .dcm-publication-body > p { color: var(--dcm-muted); font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.dcm-subscriptions .dcm-publication-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 10px; font-size: 11px; }
.dcm-subscriptions .dcm-publication-actions > a { font-weight: 600; }
.dcm-subscriptions .dcm-publication-actions > button, .dcm-subscriptions .dcm-publication-actions > span { color: var(--dcm-muted); min-height: 30px; }
.dcm-subscriptions .dcm-following-list { display: grid; gap: 11px; list-style: none; }
.dcm-subscriptions .dcm-following-list li { display: flex; align-items: center; gap: 10px; padding: 13px; border: 1px solid var(--dcm-border); border-radius: 10px; min-width: 0; }
.dcm-subscriptions .dcm-following-list .dcm-avatar { border-radius: 50%; }
.dcm-subscriptions .dcm-following-list li > div { flex: 1; min-width: 0; }
.dcm-subscriptions .dcm-following-list .dcm-author { max-width: 100%; overflow-wrap: anywhere; }
.dcm-subscriptions .dcm-following-list small { display: block; color: var(--dcm-muted); font-size: 10px; margin-top: 4px; }
.dcm-subscriptions .dcm-following-remove { color: var(--dcm-muted); font-size: 11px; padding: 6px; min-height: 36px; }
.dcm-subscriptions .dcm-subscriptions-empty { padding: 25px 8px; text-align: center; }
.dcm-subscriptions .dcm-subscriptions-empty strong { font-size: 15px; }
.dcm-subscriptions .dcm-subscriptions-empty p { max-width: 400px; margin: 8px auto 0; font-size: 12px; line-height: 1.6; color: var(--dcm-muted); }
.dcm-subscriptions .dcm-subscription-pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 20px; font-size: 12px; }
.dcm-subscriptions [aria-busy="true"] { opacity: .6; }
@media(max-width:600px){.dcm .dcm-author-bar{gap:8px}.dcm .dcm-author-bar-name{min-width:80px}.dcm .dcm-follow-button{font-size:11px;padding:7px 9px;min-height:38px}.dcm.dcm-user-card{padding:20px}.dcm-subscriptions .dcm-publication{display:block;padding:13px}.dcm-subscriptions .dcm-publication-cover{width:100%;height:auto;aspect-ratio:4/3;margin-bottom:12px}.dcm-subscriptions .dcm-subscriptions-heading h3{font-size:21px}.dcm-subscriptions .dcm-following-list li{padding:10px;gap:8px}}
.dcm-subscriptions .dcm-subscription-refresh{display:inline-flex;min-height:32px;margin-top:10px;font-size:11px;color:var(--dcm-accent)}

/* Community moderation and hand-awarded nature badges. */
.dcm-community-ban{background:#fff6e8;color:#654c28;border:1px solid #e6c995;border-left:4px solid #c59342;border-radius:10px;padding:18px 20px;margin:0 0 22px;overflow-wrap:anywhere;line-height:1.6;font-size:14px}
.dcm-community-ban strong{display:block;font-size:16px;color:#513d22}.dcm-community-ban p{margin:8px 0}.dcm-community-ban small{display:block;font-size:12px;color:#766344}.dcm-community-global{max-width:1120px;margin:24px auto;padding:0 20px}.dcm-community-restricted [data-dcm-picker]>.dcm-picker-toggle{opacity:.5;pointer-events:none}.dcm-manual-rewards{margin-top:28px}.dcm-manual-grid{list-style:none!important;margin:18px 0 0!important;padding:0!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dcm-manual-grid>li{display:flex;align-items:start;gap:14px;padding:18px;background:var(--dcm-surface);border:1px solid var(--dcm-border);border-radius:12px;min-width:0}.dcm-manual-grid strong{font-size:14px;color:var(--dcm-text)}.dcm-manual-grid p{font-size:13px!important;line-height:1.5;margin:6px 0!important}.dcm-manual-grid small{font-size:11px;color:var(--dcm-muted)}.dcm-manual-grid button{flex:0 0 64px}.dcm-manual-grid img,.dcm-card-badges img{object-fit:contain}.dcm-community-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.dcm-community-heading form{margin:0}.dcm-community-messages{list-style:none!important;margin:18px 0 0!important;padding:0!important}.dcm-community-messages>li{padding:18px;border:1px solid var(--dcm-border);border-radius:10px;margin:12px 0;overflow-wrap:anywhere}.dcm-community-messages>li.is-unread{background:var(--dcm-surface);border-left:3px solid var(--dcm-accent)}.dcm-community-messages>li>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.dcm-community-messages strong{color:var(--dcm-text);font-size:14px}.dcm-community-messages time{font-size:11px;color:var(--dcm-muted)}.dcm-community-messages p{font-size:14px;line-height:1.7;margin:10px 0 0!important}.dcm-community-inbox h3{margin-top:0}.dcm-community-restricted button:disabled{cursor:not-allowed}.dcm-community-inbox{max-width:100%}
@media(max-width:600px){.dcm-manual-grid{grid-template-columns:1fr}.dcm-community-ban{padding:15px;font-size:13px}.dcm-community-ban strong{font-size:15px}.dcm-community-global{padding:0 12px}.dcm-community-messages>li{padding:14px}}

/* All earned awards duplicated in the right-hand side of the profile cover. */
.dcm-cover-rewards{--dcm-cover-size:40px;min-width:0;box-sizing:border-box;position:relative}
.dcm-cover-rewards *{box-sizing:border-box}.dcm-cover-viewport{max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#d9c18b90 transparent;padding:4px;outline-offset:3px;border-radius:8px}
.dcm-cover-list{display:grid;grid-auto-flow:column;grid-auto-columns:var(--dcm-cover-size);grid-template-rows:repeat(var(--dcm-cover-rows,2),var(--dcm-cover-size));gap:6px;width:max-content;min-width:100%;justify-content:end;align-content:center}
.dcm-cover-rewards .dcm-cover-badge{appearance:none!important;display:grid!important;place-items:center;width:var(--dcm-cover-size)!important;height:var(--dcm-cover-size)!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#fff!important;box-shadow:none!important;cursor:pointer;line-height:1!important;transition:transform .15s ease}
.dcm-cover-rewards .dcm-cover-badge:before,.dcm-cover-rewards .dcm-cover-badge:after{display:none!important;content:none!important}.dcm-cover-rewards .dcm-cover-badge>img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;margin:0!important;pointer-events:none}.dcm-cover-rewards .dcm-cover-badge:hover{transform:translateY(-1px)}.dcm-cover-rewards .dcm-cover-badge:focus-visible{outline:2px solid #f4dfa8!important;outline-offset:1px}
@media(max-width:700px){.dcm-cover-list{gap:7px}}
@media(prefers-reduced-motion:reduce){.dcm-cover-rewards .dcm-cover-badge{transition:none}}

.dcm-cover-rewards .dcm-cover-badge{-webkit-tap-highlight-color:transparent}

/* One circular medal die, with a consistent optical diameter in each UI area. */
img.dcm-medallion{display:block;aspect-ratio:1/1;object-fit:contain;border-radius:50%!important;padding:0;border:0;box-shadow:none;max-width:none}
.dcm .dcm-achievement-image{border-radius:50%;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;line-height:0;flex-shrink:0}
.dcm .dcm-achievement-image>img,.dcm .dcm-award>img{width:64px;height:64px;flex:0 0 64px}
.dcm .dcm-manual-grid .dcm-achievement-image{width:64px;height:64px;flex:0 0 64px}
.dcm-user-card .dcm-card-achievement{border-radius:50%;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;line-height:0;flex:0 0 42px}
.dcm-user-card .dcm-card-awards img{width:42px;height:42px;flex:0 0 42px}
/* On phones, six equal circular medals fill each row, starting at the left edge. */
@media(max-width:700px){
 .dcm-cover-viewport{overflow:visible;max-width:100%;scrollbar-width:none;overscroll-behavior:auto}
 .dcm-cover-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:none;grid-auto-flow:row;grid-auto-rows:auto;justify-content:start;align-items:start;align-content:start;width:100%;min-width:0;max-width:100%;gap:7px}
 .dcm-cover-rewards .dcm-cover-badge{width:100%!important;height:auto!important;aspect-ratio:1/1;justify-self:start}
}

/* Error mirrors and author cards inherit the active, editable palette. */
.dcm .tm-guard-wrap{background:var(--dcm-input)!important;--tm-guard-ink:var(--dcm-text)!important}
.dcm .tm-guard-mirror-text{color:var(--dcm-text)!important}
.dcm .tm-guard-popover{background:var(--dcm-surface);color:var(--dcm-text);border-color:#c85757}
.dcm .tm-guard-popover:before{background:var(--dcm-surface);border-color:#c85757}
.dcm .tm-guard-source::placeholder{color:var(--dcm-muted)!important;-webkit-text-fill-color:var(--dcm-muted)!important}
.dcm.dcm-author-window{margin:0;padding:0;border:0;background:var(--dcm-bg);color:var(--dcm-text);font-size:14px}
.dcm-author-window .dcm-author-close{background:var(--dcm-surface);color:var(--dcm-muted)}
.dcm-author-window .dcm-author-close:focus-visible{outline-color:var(--dcm-accent)}
.dcm .dcm-author-status.is-error{color:var(--dcm-text);border-left:2px solid #c85757;padding-left:10px}
.dcm .dcm-community-ban{background:var(--dcm-surface);color:var(--dcm-text);border-color:var(--dcm-border);border-left-color:var(--dcm-accent)}
.dcm .dcm-community-ban strong{color:var(--dcm-custom-heading)}.dcm .dcm-community-ban small{color:var(--dcm-muted)}

/* Requested action text colour, shared by day and night palettes. */
.dcm .dcm-button.dcm-send,.dcm .dcm-button.dcm-send [data-dcm-send-label],.dcm .dcm-button.dcm-follow-button:not(.is-following){color:#f9f8f1}
