.mb-dle-content,
.mb-pwf,
.mb-pw-search-page,
.mb6,
.mb6-addnews,
.mb-feedback,
.mb-download-page,
.mb-game-download,
.mb-legal,
.mb-static-hub,
.box.story {
  min-width: 0;
  color: var(--mb-ink);
}

/* MineBrush releases/downloads v24. The component is deliberately isolated:
   the global shell and footer remain owned by main.tpl. */
.mb24-release {
  --mb24-accent: var(--mb-blue, #0868f7);
  --mb24-wash: var(--mb-blue-soft, #edf5ff);
  width: min(100%, 1100px);
  min-width: 0;
  margin: 0 auto;
  padding: clamp(20px, 3cqi, 38px);
  color: var(--mb-ink, #16253f);
  container: mb24-download / inline-size;
}
.mb24-release[data-edition="bedrock"] { --mb24-accent: #087f77; --mb24-wash: #eaf8f5; }
.mb24-release * { box-sizing: border-box; }
.mb24-release .breadcrumbs { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0 0 24px; color: var(--mb-muted, #66758c); font-size: 11px; }
.mb24-release .breadcrumbs a { min-width: 0; color: var(--mb-blue, #0868f7); text-decoration: none; }
.mb24-release .breadcrumbs a:nth-child(3) { max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb24-release .breadcrumbs span { flex: 0 0 auto; }
.mb24-release .eyebrow { margin: 0; color: var(--mb24-accent); font-size: 10px; font-weight: 800; letter-spacing: .12em; line-height: 1.4; }
.mb24-release .resource-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; margin: 0 0 22px; }
.mb24-release .resource-icon { width: 58px; height: 58px; display: grid; place-items: center; color: var(--mb24-accent); background: var(--mb24-wash); border: 1px solid var(--mb-line, #d9e2ef); border: 1px solid color-mix(in srgb, var(--mb24-accent) 24%, white); border-radius: 12px; }
.mb24-release .resource-icon .mb-icon { width: 27px; height: 27px; }
.mb24-release .resource-head h1 { margin: 4px 0 5px; color: var(--mb-ink-strong, #071b40); font-size: clamp(26px, 3.1cqi, 40px); letter-spacing: -.035em; line-height: 1.06; }
.mb24-release .resource-head > div > p:last-child { max-width: 68ch; margin: 0; color: var(--mb-muted, #66758c); font-size: 13px; line-height: 1.55; }
.mb24-release .button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 1px solid var(--mb-line-strong, #b8c8df); border-radius: 7px; font-size: 12px; font-weight: 750; line-height: 1.25; text-decoration: none; }
.mb24-release .button .mb-icon { width: 14px; height: 14px; }
.mb24-release .button.primary { color: #fff; background: var(--mb24-accent); border-color: var(--mb24-accent); box-shadow: 0 5px 12px color-mix(in srgb, var(--mb24-accent) 19%, transparent); }
.mb24-release .button.secondary { color: var(--mb-blue, #0868f7); background: var(--mb-surface, #fff); }
.mb24-release .button:hover { transform: translateY(-1px); }
.mb24-release .button:focus-visible,
.mb24-release .text-link:focus-visible,
.mb24-release .breadcrumbs a:focus-visible { outline: 3px solid color-mix(in srgb, var(--mb24-accent) 35%, transparent); outline-offset: 2px; }
.mb24-release .download-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 315px); align-items: start; gap: 18px; }
.mb24-release .download-column { min-width: 0; display: grid; gap: 18px; }
.mb24-release .download-card,
.mb24-release .file-choices,
.mb24-release .install-panel,
.mb24-release .state-card { min-width: 0; background: var(--mb-surface, #fff); border: 1px solid var(--mb-line, #d9e2ef); border-radius: 12px; }
.mb24-release .download-card { padding: clamp(20px, 2.8cqi, 30px); border-top: 3px solid var(--mb24-accent); }
.mb24-release .download-card > header h2,
.mb24-release .file-choices h2,
.mb24-release .install-panel h2 { margin: 5px 0; color: var(--mb-ink-strong, #071b40); font-size: 22px; letter-spacing: -.025em; line-height: 1.2; }
.mb24-release .download-card > header > p:last-child { margin: 0; color: var(--mb-muted, #66758c); font-size: 11px; }
.mb24-release .facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 22px 0; padding: 0 0 20px; border-bottom: 1px solid var(--mb-line, #d9e2ef); }
.mb24-release .facts > div { min-width: 0; padding-right: 8px; border-right: 1px solid var(--mb-line, #d9e2ef); }
.mb24-release .facts > div:last-child { border-right: 0; }
.mb24-release dt { margin: 0 0 4px; color: var(--mb-muted, #66758c); font-size: 10px; }
.mb24-release dd { margin: 0; overflow-wrap: anywhere; font-size: 12px; font-weight: 700; line-height: 1.45; }
.mb24-release .filename { margin: 0 0 18px; }
.mb24-release .filename > span { display: block; margin-bottom: 5px; color: var(--mb-muted, #66758c); font-size: 10px; }
.mb24-release .filename code { display: block; max-width: 100%; color: #395675; font: 11px/1.55 ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
.mb24-release .delivery-note { display: flex; gap: 11px; margin: 0 0 18px; padding: 13px; color: #244e43; background: #eef8f2; border-radius: 8px; }
.mb24-release .delivery-note > .mb-icon { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 2px; }
.mb24-release .delivery-note b { display: block; font-size: 12px; }
.mb24-release .delivery-note p { margin: 3px 0 0; font-size: 11px; line-height: 1.5; }
.mb24-release .download-actions { display: grid; gap: 8px; }
.mb24-release .download-actions .button { width: 100%; min-height: 48px; font-size: 13px; }
.mb24-release .download-actions > span { color: var(--mb-muted, #66758c); font-size: 10px; text-align: center; }
.mb24-release .technical { margin-top: 19px; padding-top: 15px; border-top: 1px solid var(--mb-line, #d9e2ef); }
.mb24-release .technical summary { display: flex; justify-content: space-between; gap: 12px; cursor: pointer; font-size: 12px; font-weight: 750; list-style: none; }
.mb24-release .technical summary::-webkit-details-marker { display: none; }
.mb24-release .technical[open] summary span { transform: rotate(45deg); }
.mb24-release .technical dl { display: grid; gap: 12px; margin: 15px 0 0; }
.mb24-release .technical dd { font-size: 11px; font-weight: 500; }
.mb24-release .technical code { font-size: 10px; overflow-wrap: anywhere; }
.mb24-release .file-choices { padding: 22px; }
.mb24-release .file-choices > header { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.mb24-release .file-choices > header > span { flex: 0 0 auto; color: var(--mb-muted, #66758c); font-size: 10px; }
.mb24-release .file-choices > p { max-width: 68ch; margin: 9px 0 18px; color: var(--mb-muted, #66758c); font-size: 11px; line-height: 1.55; }
.mb24-release .file-choices ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mb24-release .file-choices li { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 11px; padding: 11px; border: 1px solid var(--mb-line, #d9e2ef); border-radius: 8px; }
.mb24-release .file-choices li.is-selected { background: var(--mb24-wash); border-color: var(--mb-line-strong, #b8c8df); border-color: color-mix(in srgb, var(--mb24-accent) 36%, white); }
.mb24-release .file-icon { width: 34px; height: 38px; display: grid; place-items: center; color: var(--mb24-accent); background: var(--mb-surface, #fff); border: 1px solid var(--mb-line, #d9e2ef); border-radius: 6px; }
.mb24-release .file-icon .mb-icon { width: 17px; height: 17px; }
.mb24-release .file-copy { min-width: 0; }
.mb24-release .file-copy b { display: block; font-size: 12px; }
.mb24-release .file-copy em { margin-left: 5px; padding: 2px 5px; color: var(--mb24-accent); background: var(--mb-surface, #fff); border-radius: 4px; font-size: 8px; font-style: normal; letter-spacing: .06em; text-transform: uppercase; }
.mb24-release .file-copy small { display: block; margin-top: 3px; overflow: hidden; color: var(--mb-muted, #66758c); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.mb24-release .file-meta { min-width: 48px; color: var(--mb-ink, #16253f); font-size: 11px; font-weight: 700; text-align: right; }
.mb24-release .file-meta small { display: block; margin-top: 2px; color: var(--mb-muted, #66758c); font-size: 9px; font-weight: 500; }
.mb24-release .file-current { width: 42px; color: var(--mb24-accent); font-weight: 800; text-align: center; }
.mb24-release .file-choices .button { min-height: 44px; padding-inline: 11px; }
.mb24-release .install-panel { padding: 22px; }
.mb24-release .install-panel ol { display: grid; gap: 20px; margin: 22px 0; padding: 0; list-style: none; }
.mb24-release .install-panel li { display: flex; gap: 11px; }
.mb24-release .install-panel li > span { width: 25px; height: 25px; flex: 0 0 auto; display: grid; place-items: center; color: var(--mb24-accent); background: var(--mb24-wash); border-radius: 5px; font-size: 11px; font-weight: 800; }
.mb24-release .install-panel li b { display: block; font-size: 12px; }
.mb24-release .install-panel li p { margin: 4px 0 0; color: var(--mb-muted, #66758c); font-size: 11px; line-height: 1.55; }
.mb24-release .text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--mb-blue, #0868f7); font-size: 11px; font-weight: 750; text-decoration: none; }
.mb24-release .text-link .mb-icon { width: 14px; height: 14px; }
.mb24-release--state { min-height: 56vh; display: grid; align-content: center; }
.mb24-release .state-card { width: min(100%, 650px); margin: 0 auto; padding: clamp(28px, 5cqi, 52px); text-align: center; }
.mb24-release .state-icon { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 16px; color: var(--mb24-accent); background: var(--mb24-wash); border-radius: 10px; }
.mb24-release .state-icon .mb-icon { width: 24px; height: 24px; }
.mb24-release .state-card h1 { margin: 6px 0 10px; color: var(--mb-ink-strong, #071b40); font-size: clamp(25px, 4cqi, 34px); line-height: 1.13; }
.mb24-release .state-card > p:not(.eyebrow) { max-width: 56ch; margin: 0 auto 22px; color: var(--mb-muted, #66758c); font-size: 13px; line-height: 1.65; }

@container mb24-download (max-width: 790px) {
  .mb24-release .resource-head { grid-template-columns: auto minmax(0, 1fr); }
  .mb24-release .resource-head > .button { grid-column: 2; justify-self: start; }
  .mb24-release .download-layout { grid-template-columns: 1fr; }
  .mb24-release .install-panel { order: 2; }
  .mb24-release .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mb24-release .facts > div:nth-child(2) { border-right: 0; }
}

@container mb24-download (max-width: 520px) {
  .mb24-release { padding: 17px 14px 26px; }
  .mb24-release .breadcrumbs { margin-bottom: 18px; }
  .mb24-release .breadcrumbs a:nth-child(3),
  .mb24-release .breadcrumbs a:nth-child(3) + span { display: none; }
  .mb24-release .resource-head { grid-template-columns: 46px minmax(0, 1fr); gap: 11px; }
  .mb24-release .resource-icon { width: 46px; height: 46px; }
  .mb24-release .resource-head h1 { font-size: 26px; }
  .mb24-release .resource-head > div > p:last-child { font-size: 12px; }
  .mb24-release .resource-head > .button { grid-column: 1 / -1; width: 100%; }
  .mb24-release .download-card,
  .mb24-release .file-choices,
  .mb24-release .install-panel { padding: 17px 14px; }
  .mb24-release .facts { gap: 14px 8px; }
  .mb24-release .facts > div { padding-right: 6px; }
  .mb24-release .file-choices > header { display: block; }
  .mb24-release .file-choices > header > span { display: block; margin-top: 5px; }
  .mb24-release .file-choices li { grid-template-columns: auto minmax(0, 1fr) auto; }
  .mb24-release .file-meta { grid-column: 2; text-align: left; }
  .mb24-release .file-current,
  .mb24-release .file-choices li .button { grid-column: 3; grid-row: 1 / 3; }
  .mb24-release .file-copy small { white-space: normal; overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  .mb24-release .button { transition: none; }
}

.mb-pwf-eyebrow,
.mb6-players__eyebrow,
.mb6-addnews__eyebrow,
.mb-feedback__eyebrow,
.mb-download-kicker,
.mb-static-hub .mb-eyebrow {
  margin: 0 0 9px;
  color: var(--mb-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.mb-pwf h1,
.mb-pw-search-page h1,
.mb6 h1,
.mb6-addnews h1,
.mb-feedback h1,
.mb-download-page h1,
.mb-game-download h1,
.mb-legal h1,
.mb-static-hub h1 {
  margin: 0;
  color: var(--mb-ink-strong);
  font-size: clamp(34px, 4vw, 50px);
  letter-spacing: -1.7px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.mb-pwf h2,
.mb-pw-search-page h2,
.mb6 h2,
.mb6-addnews h2,
.mb-feedback h2,
.mb-download-page h2,
.mb-game-download h2,
.mb-legal h2,
.mb-static-hub h2 { color: var(--mb-ink-strong); overflow-wrap: anywhere; }

.mb-pwf-panel,
.mb-pwf-notice,
.mb-pw-search-form,
.mb6-players__panel,
.mb6-addnews__form,
.mb-feedback__form-card,
.mb-feedback__routes,
.mb-download-panel,
.mb-download-lower > *,
.mb-platform-card,
.mb-install-steps,
.mb-legal__article,
.mb-legal__notice,
.mb-static-hub__grid > article,
.box.story {
  min-width: 0;
  background: var(--mb-surface);
  border: 1px solid var(--mb-line);
  border-radius: 11px;
}

.mb-pwf-auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 36px;
  align-items: start;
}

.mb-pwf-auth__context { padding: 28px 18px; }
.mb-pwf-auth__context > p { max-width: 620px; color: var(--mb-muted-strong); line-height: 1.75; }
.mb-pwf-auth__context ul { max-width: 620px; display: grid; gap: 10px; padding: 0; list-style: none; }
.mb-pwf-auth__context li { display: grid; gap: 3px; padding: 12px 0; border-bottom: 1px solid var(--mb-line); }
.mb-pwf-auth__context li span { color: var(--mb-muted); font-size: 12px; line-height: 1.55; }
.mb-pwf-auth__panel { padding: 28px; }
.mb-pwf-auth__panel header { margin-bottom: 24px; }
.mb-pwf-auth__panel header h2 { margin: 0 0 7px; font-size: 25px; }
.mb-pwf-auth__panel header p:last-child { color: var(--mb-muted); font-size: 12px; line-height: 1.6; }

.mb-pwf-form,
.ui-form,
.addform ul { display: grid; gap: 17px; margin: 0; padding: 0; list-style: none; }
.mb-pwf-form label,
.mb-pwf-auth__panel label,
.mb-pwf-account__settings label,
.mb-pwf-messages__compose label,
.mb-feedback label,
.mb6-addnews label { display: grid; gap: 7px; color: var(--mb-ink); font-size: 12px; font-weight: 650; }
.mb-pwf-form__split,
.mb-pwf-inline,
.mb-feedback__split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.mb-pwf input,
.mb-pwf select,
.mb-pwf textarea,
.mb-pw-search-page input,
.mb-pw-search-page select,
.mb-feedback input,
.mb-feedback select,
.mb-feedback textarea,
.mb6-addnews input,
.mb6-addnews select,
.mb6-addnews textarea,
.mb-pwf-tools__search input,
.mb-pwf-system__search input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--mb-ink);
  background: #fcfdff;
  border: 1px solid var(--mb-line-strong);
  border-radius: 7px;
  font: 14px/1.45 var(--mb-font);
}

.mb-pwf textarea,
.mb-feedback textarea,
.mb6-addnews textarea { min-height: 130px; resize: vertical; }
.mb6-addnews__vote {
  margin-top: 14px;
  border: 1px solid var(--mb-line);
  border-radius: 8px;
  overflow: clip;
}
.mb6-addnews__vote > summary {
  list-style: none;
  cursor: pointer;
}
.mb6-addnews__vote > summary::-webkit-details-marker { display: none; }
.mb6-addnews__vote[open] > summary {
  margin-bottom: 14px;
  border-bottom: 1px solid var(--mb-line);
}
.mb6-addnews__vote > .addvote { padding-inline: 14px; }
.mb6-addnews__vote > .addvote:last-child { padding-bottom: 14px; }

.mb-pwf-primary,
.bbcodes,
.mb-feedback button[type="submit"],
.mb6-addnews button[type="submit"],
.mb-download-action,
.mb-resource-download,
.mb6-players__button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  color: #fff;
  background: var(--mb-blue);
  border: 1px solid var(--mb-blue);
  border-radius: 7px;
  font: 700 13px/1 var(--mb-font);
  cursor: pointer;
}

.mb-pwf-primary:hover,
.bbcodes:hover,
.mb-feedback button[type="submit"]:hover { background: var(--mb-blue-hover); }
.mb-pwf-secondary-copy,
.mb-pwf-auth-menu__links,
.mb-pwf-form-note { margin-top: 17px; color: var(--mb-muted); font-size: 12px; line-height: 1.6; }
.mb-pwf-auth-menu__links { display: flex; justify-content: space-between; gap: 12px; }
.mb-pwf-auth-menu__links a,
.mb-pwf-secondary-copy a,
.mb-pwf-form-note a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--mb-blue);
}

.mb-pw-search-hero,
.mb-pwf-pagehead,
.mb-pwf-account__masthead,
.mb-pwf-account__hero,
.mb-pwf-tools__hero,
.mb6-addnews__hero,
.mb-feedback__hero,
.mb-static-hub__hero {
  margin-bottom: 22px;
  padding: 28px;
  background: var(--mb-surface);
  border: 1px solid var(--mb-line);
  border-radius: 11px;
}

.mb-pw-search-hero > span,
.mb-pw-search-hero > p,
.mb-pwf-tools__hero > p,
.mb-static-hub__hero > p:last-child { display: block; max-width: 760px; margin: 14px 0 0; color: var(--mb-muted-strong); font-size: 14px; line-height: 1.7; }
.mb-pw-search-routes { margin-bottom: 18px; }
.mb-pw-search-routes > header { margin-bottom: 12px; }
.mb-pw-search-routes > header p { margin: 0 0 4px; color: var(--mb-blue); font-size: 10px; font-weight: 800; letter-spacing: .11em; }
.mb-pw-search-routes > header h2 { margin: 0; font-size: 21px; line-height: 1.25; }
.mb-pw-search-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mb-pw-search-shortcuts a { display: grid; min-width: 0; min-height: 104px; align-content: start; gap: 5px; padding: 15px; background: var(--mb-surface); border: 1px solid var(--mb-line); border-radius: 8px; }
.mb-pw-search-shortcuts a:hover { border-color: #b8cdf7; box-shadow: 0 5px 16px rgba(30, 72, 140, .07); }
.mb-pw-search-shortcuts span { color: var(--mb-muted); font-size: 11px; line-height: 1.45; }
.mb-pw-search-language { margin: 12px 0 0; padding: 12px 14px; color: var(--mb-muted-strong); background: var(--mb-blue-soft); border: 1px solid #cadcff; border-radius: 8px; font-size: 12px; line-height: 1.55; }
.mb-pw-search-language b { color: var(--mb-ink-strong); }
.mb-pw-search-language a { color: var(--mb-blue); font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.mb-pw-search-form { padding: 22px; }
.mb-pw-search-primary { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: end; }
.mb-pw-search-label { display: grid; gap: 7px; color: var(--mb-ink); font-size: 12px; font-weight: 650; }
.mb-pw-search-advanced { min-height: 44px; display: inline-flex; align-items: center; color: var(--mb-blue); }
.mb-pw-search-advanced-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mb-pw-search-advanced-grid fieldset { min-width: 0; padding: 15px; border: 1px solid var(--mb-line); border-radius: 8px; }
.mb-pw-search-advanced-grid legend { padding: 0 6px; color: var(--mb-blue); font-size: 11px; font-weight: 800; }
.mb-pw-search-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.mb-pw-search-message,
.mb-pw-search-filter-note,
.mbds-search-empty-r1 { margin-top: 16px; padding: 18px; background: var(--mb-blue-soft); border: 1px solid #cadcff; border-radius: 9px; }
.mb-pw-search-filter-note { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }

.mb-pwf-breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 17px; color: var(--mb-muted); font-size: 11px; }
.mb-pwf-policy > header { margin-bottom: 22px; }
.mb-pwf-policy__layout { display: grid; grid-template-columns: 190px minmax(0, 1fr) 260px; gap: 20px; align-items: start; }
.mb-pwf-policy__layout--without-toc { grid-template-columns: minmax(0, 1fr) 260px; }

.mb-special-catalog--search {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.mb-saved-signin {
  display: flex;
  min-height: 210px;
  padding: 32px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--mb-line);
  border-radius: 12px;
}

.mb-saved-signin h2 {
  margin: 7px 0 8px;
  color: var(--mb-ink-strong);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.mb-saved-signin p:last-child {
  margin: 0;
  color: var(--mb-muted-strong);
}

@media (max-width: 620px) {
  .mb-saved-signin {
    padding: 24px;
    align-items: stretch;
    flex-direction: column;
  }
}

.mb-special-catalog--search > :is(#fullsearch, .mb-pw-search-page, .mb-pw-search-message, .mb-pw-search-filter-note, .navigation, .berrors, .mb-search-comment) {
  grid-column: 1 / -1;
}

.mb-dle-content:has(> .mb-resource-card) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.mb-dle-content:has(> .mb-resource-card) > :not(.mb-resource-card) {
  grid-column: 1 / -1;
}

.mb-search-comment {
  padding: 18px;
}

.mb-search-comment h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.mb-card-grid:empty::before {
  content: "No publications are available in this view yet.";
  display: block;
  grid-column: 1 / -1;
  padding: 28px;
  color: var(--mb-muted-strong);
  background: var(--mb-surface);
  border: 1px solid var(--mb-line);
  border-radius: 10px;
  text-align: center;
}
.mb-pwf-policy__layout > aside { position: sticky; top: calc(var(--mb-header) + 16px); }
.mb-pwf-richtext,
.mb-pwf-policy__layout > main { min-width: 0; padding: 28px; background: var(--mb-surface); border: 1px solid var(--mb-line); border-radius: 10px; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.mb-pwf-richtext h2,
.mb-pwf-policy__layout > main h2 { margin: 30px 0 12px; font-size: 25px; }
.mb-pwf-richtext h3,
.mb-pwf-policy__layout > main h3 { margin: 24px 0 10px; }
.mb-pwf-policy__glance { padding: 18px; }

.mb-pwf-account__masthead,
.mb-pwf-account__hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.mb-pwf-account__identity { display: flex; align-items: center; gap: 15px; }
.mb-pwf-account__avatar { width: 68px; height: 68px; flex: 0 0 68px; background-position: center; background-size: cover; border: 1px solid var(--mb-line-strong); border-radius: 50%; }
.mb-pwf-account__nav { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 18px; padding: 7px; background: var(--mb-surface); border: 1px solid var(--mb-line); border-radius: 9px; }
.mb-pwf-account__nav a { min-height: 44px; display: flex; align-items: center; padding: 0 13px; border-radius: 6px; font-size: 12px; font-weight: 650; }
.mb-pwf-account__nav a[aria-current] { color: #fff; background: var(--mb-blue); }
.mb-pwf-account__overview > header,
.mb-pwf-account__settings > header { margin-bottom: 18px; }
.mb-pwf-account__shelves,
.mb-pwf-profile-grid,
.mb-pwf-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.mb-pwf-account__shelves { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 20px; }
.mb-pwf-account__shelves a,
.mb-pwf-profile-grid > section,
.mb-pwf-settings-grid > section { min-width: 0; padding: 18px; background: var(--mb-surface); border: 1px solid var(--mb-line); border-radius: 9px; }
.mb-pwf-account__shelves a { display: grid; gap: 5px; }
.mb-pwf-account__shelves small { color: var(--mb-muted); line-height: 1.45; }
.mb-pwf-account__settings { margin-top: 20px; padding: 24px; }
.mb-pwf-settings-grid > section { display: grid; align-content: start; gap: 12px; }
.mb-pwf-account__save { display: flex; gap: 12px; align-items: center; margin-top: 20px; }

.mb-static-hub__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mb-static-hub__grid > article { padding: 22px; }
.mb-static-hub__grid h2 { margin: 0 0 10px; font-size: 22px; }
.mb-static-hub__grid article > p:not(.mb-eyebrow) { min-height: 64px; color: var(--mb-muted); font-size: 13px; line-height: 1.65; }
.mb-static-hub__grid nav { display: grid; }
.mb-static-hub__grid nav a { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--mb-blue); border-top: 1px solid var(--mb-line); font-size: 12px; font-weight: 700; }

.mb6-players__pad { padding: 0; }
.mb6-players__stack { display: grid; gap: 16px; }
.mb6-players__hero { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; }
.mb6-players__hero-copy { padding: 30px; }
.mb6-players__copy { color: var(--mb-muted-strong); font-size: 13px; line-height: 1.7; }
.mb6-players__hero-media img,
.mb6-players__scene img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mb6-players__directions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mb6-players__direction { overflow: hidden; }
.mb6-players__direction > :not(.mb6-players__scene) { margin-right: 18px; margin-left: 18px; }
.mb6-players__direction > .mb6-players__eyebrow { margin-top: 18px; }
.mb6-players__direction h2 { margin-top: 0; }
.mb6-players__scene { height: 170px; display: block; }
.mb6-players__checklist { min-height: 105px; padding-left: 20px; color: var(--mb-muted-strong); font-size: 12px; line-height: 1.65; }
.mb6-players__button { margin-bottom: 18px; }
.mb6-players__button svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mb-pwf-system { max-width: 820px; margin: 30px auto; padding: 34px; text-align: center; background: var(--mb-surface); border: 1px solid var(--mb-line); border-radius: 12px; }
.mb-pwf-system__code { margin: 0; color: var(--mb-blue); font-size: clamp(76px, 13vw, 150px); font-weight: 850; letter-spacing: -.07em; line-height: .85; }
.mb-pwf-system > p,
.mb-pwf-system__hero > p { color: var(--mb-muted-strong); line-height: 1.7; }
.mb-pwf-system__search { display: grid; grid-template-columns: 1fr auto; gap: 9px; margin: 22px auto; }
.mb-pwf-system__routes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; text-align: left; }
.mb-pwf-system__routes > section { padding: 18px; }
.mb-pwf-system__routes nav { display: flex; gap: 12px; flex-wrap: wrap; }
.mb-pwf-system__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

.mbds-comment,
.mbds-comment-compose { margin: 12px 0; padding: 18px; background: var(--mb-surface); border: 1px solid var(--mb-line); border-radius: 9px; }
.mbds-comment__head,
.mbds-comment__identity,
.mbds-comment__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mbds-comment__identity { justify-content: flex-start; }
.mbds-comment__avatar .cover { width: 40px; height: 40px; display: block; background-position: center; background-size: cover; border-radius: 50%; }
.mbds-comment__identity > div:last-child { display: grid; }
.mbds-comment__identity span { color: var(--mb-muted); font-size: 10px; }
.mbds-comment__body { padding: 15px 0; line-height: 1.7; overflow-wrap: anywhere; }
.mbds-comment__actions { justify-content: flex-start; padding-top: 10px; border-top: 1px solid var(--mb-line); color: var(--mb-blue); font-size: 11px; }
.mbds-comment-compose header { margin-bottom: 15px; }
.mbds-comment-compose__guest { display: flex; align-items: center; gap: 12px; padding: 15px; background: var(--mb-blue-soft); border-radius: 8px; }
.mbds-comment-compose__guest p { flex: 1; display: grid; margin: 0; }
.mbds-comment-compose__form { display: grid; gap: 15px; }
.mbds-comment-compose__submit { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mbds-comment-compose__submit button { min-height: 44px; padding: 0 16px; color: #fff; background: var(--mb-blue); border: 0; border-radius: 7px; font-weight: 700; }
#comments-image-uploader_browse { min-height: 44px !important; display: inline-flex !important; align-items: center !important; justify-content: center; padding: 8px 12px !important; box-sizing: border-box !important; }

.mb-pwf-tools__search { max-width: 620px; display: grid; gap: 7px; margin-top: 18px; }
.mb-pwf-tools__filters { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 12px; }
.mb-pwf-tools__filters button { min-height: 44px; padding: 0 13px; color: var(--mb-blue); background: var(--mb-surface); border: 1px solid var(--mb-line-strong); border-radius: 7px; }
.mb-pwf-tools__status,
.mb-pwf-notice { margin: 13px 0; padding: 15px; color: var(--mb-muted-strong); }
.mb-pwf-tools__grid,
.mb-pwf-shop__grid,
.mb-pwf-shop__principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mb-pwf-tool-card,
.mb-pwf-product-card,
.mb-pwf-shop__principles > article { min-width: 0; padding: 19px; background: var(--mb-surface); border: 1px solid var(--mb-line); border-radius: 9px; }
.mb-pwf-tool-card dl { display: grid; gap: 7px; }
.mb-pwf-tool-card dl > div { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 8px; font-size: 11px; }
.mb-pwf-tool-card dt { color: var(--mb-muted); }
.mb-pwf-tool-card dd { margin: 0; overflow-wrap: anywhere; }
.mb-pwf-tool-card button:disabled,
.mb-pwf-product-card button:disabled { min-height: 44px; padding: 0 13px; color: var(--mb-muted); background: #f0f3f7; border: 1px solid var(--mb-line); border-radius: 7px; }

.mb-feedback__hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
.mb-feedback__hero p { color: var(--mb-muted-strong); line-height: 1.7; }
.mb-feedback__hero aside { padding: 16px; background: var(--mb-blue-soft); border-radius: 8px; }
.mb-feedback__hero ul { padding-left: 0; list-style: none; }
.mb-feedback__hero li { display: grid; grid-template-columns: 28px 1fr; gap: 4px 8px; padding: 8px 0; }
.mb-feedback__hero li i { grid-row: 1 / 3; color: var(--mb-blue); font-style: normal; }
.mb-feedback__hero li small { color: var(--mb-muted); }
.mb-feedback__layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 18px; }
.mb-feedback__routes,
.mb-feedback__form-card { padding: 22px; }
.mb-feedback__routes a { min-height: 56px; display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--mb-line); }
.mb-feedback__routes a span { flex: 1; display: grid; }
.mb-feedback__routes a small { color: var(--mb-muted); }

.mb-download-hero,
.mb-download-lower,
.mb-platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mb-download-art { min-height: 360px; display: grid; place-items: center; color: var(--mb-blue); background: var(--mb-blue-soft); border-radius: 12px; font-size: 120px; }
.mb-download-panel,
.mb-download-lower > *,
.mb-platform-card,
.mb-install-steps { padding: 24px; }
.mb-download-facts,
.mb-download-integrity { display: grid; gap: 5px; }
.mb-download-facts > div,
.mb-download-integrity > div { display: grid; grid-template-columns: 90px 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--mb-line); font-size: 11px; }
.mb-download-facts dd,
.mb-download-integrity dd { margin: 0; overflow-wrap: anywhere; }
.mb-download-action.is-disabled { color: var(--mb-muted); background: #eef1f5; border-color: var(--mb-line); pointer-events: none; }
.mb-game-download__hero { display: grid; grid-template-columns: 1fr 280px; gap: 20px; padding: 28px; background: var(--mb-surface); border: 1px solid var(--mb-line); border-radius: 11px; }
.mb-game-download__signal { padding: 20px; color: #fff; background: var(--mb-blue); border-radius: 9px; }
.mb-platform-grid { margin: 18px 0; }
.mb-platform-card img,
.mb-platform-card__art { max-width: 130px; height: auto; }
.mb-install-steps ol { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0; list-style: none; }
.mb-install-steps li { display: flex; gap: 12px; padding: 14px; background: var(--mb-blue-soft); border-radius: 8px; }

.mb-legal__hero { padding: 28px; background: var(--mb-surface); border: 1px solid var(--mb-line); border-radius: 11px; }
.mb-legal__nav { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0; padding: 7px; background: var(--mb-surface); border: 1px solid var(--mb-line); border-radius: 8px; }
.mb-legal__nav a { min-height: 44px; display: flex; align-items: center; padding: 0 11px; color: var(--mb-blue); }
.mb-legal__notice,
.mb-legal__article { margin: 14px 0; padding: 24px; }
.mb-legal__article { font-size: 15px; line-height: 1.8; }
.mb-legal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.box.story { padding: 22px; }
.stats_head ul,
.statistics ul { padding: 0; list-style: none; }
.statistics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat_group { padding: 15px; background: var(--mb-blue-soft); border-radius: 8px; }
.stat_group li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: 12px; }
.table_top_users { max-width: 100%; overflow-x: auto; }

@media (max-width: 1000px) {
  .mb-pwf-auth { grid-template-columns: 1fr; }
  .mb-pwf-policy__layout { grid-template-columns: 1fr; }
  .mb-pwf-policy__layout > aside { position: static; }
  .mb-pwf-account__shelves,
  .mb-pwf-tools__grid,
  .mb-pwf-shop__grid,
  .mb-pwf-shop__principles,
  .mb6-players__directions,
  .mb-static-hub__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mb-pw-search-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mb6-players__direction:last-child,
  .mb-static-hub__grid > article:last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .mb-pwf-auth,
  .mb6-players__hero,
  .mb-feedback__hero,
  .mb-feedback__layout,
  .mb-download-hero,
  .mb-download-lower,
  .mb-platform-grid,
  .mb-game-download__hero { grid-template-columns: 1fr; }
  .mb-pwf-auth__context { padding: 8px 2px; }
  .mb-pwf-auth__panel { padding: 20px; }
  .mb-pw-search-shortcuts,
  .mb-pwf-account__shelves,
  .mb-pwf-profile-grid,
  .mb-pwf-settings-grid,
  .mb-pwf-tools__grid,
  .mb-pwf-shop__grid,
  .mb-pwf-shop__principles,
  .mb6-players__directions,
  .mb-static-hub__grid,
  .statistics { grid-template-columns: 1fr; }
  .mb6-players__direction:last-child,
  .mb-static-hub__grid > article:last-child { grid-column: auto; }
  .mb-pw-search-primary,
  .mb-pw-search-advanced-grid,
  .mb-pwf-form__split,
  .mb-pwf-inline,
  .mb-feedback__split,
  .mb-install-steps ol { grid-template-columns: 1fr; }
  .mb-pwf h1,
  .mb-pw-search-page h1,
  .mb6 h1,
  .mb-feedback h1,
  .mb-game-download h1,
  .mb-static-hub h1 { font-size: 34px; }
  .mb-pwf-system { padding: 24px 18px; }
  .mb-pwf-system__routes { grid-template-columns: 1fr; }
  .mb-pwf-system__search { grid-template-columns: 1fr; }
  .mbds-comment-compose__submit { display: grid; }
}

@container mb-content (max-width: 920px) {
  .mb-special-catalog--search,
  .mb-dle-content:has(> .mb-resource-card) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container mb-content (max-width: 590px) {
  .mb-special-catalog--search,
  .mb-dle-content:has(> .mb-resource-card) {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@supports not (container-type: inline-size) {
  @media (max-width: 1200px) {
    .mb-special-catalog--search,
    .mb-dle-content:has(> .mb-resource-card) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 640px) {
    .mb-special-catalog--search,
    .mb-dle-content:has(> .mb-resource-card) {
      grid-template-columns: 1fr;
      gap: 18px;
    }
  }
}

@media (forced-colors: active) {
  .mb-pwf-panel,
  .mb6-players__panel,
  .mb-feedback__form-card,
  .mb-static-hub__grid > article,
  .mbds-comment { border: 2px solid CanvasText; }
}

/* MineBrush Community UI v20 — native DLE comments, auth and account surfaces. */
.mb20{--mb-blue:#0862ef;--mb-accent:#0862ef;--mb-soft:#edf5ff;--mb-ink:#102440;--mb-muted:#61738c;--mb-line:#dfe7f1;--mb-paper:#fff;--mb-bg:#f5f8fc;font:15px/1.55 Inter,Segoe UI,Arial,sans-serif;color:var(--mb-ink);background:var(--mb-paper);text-align:left}.mb20[data-edition=bedrock],.mb20.mb20--bedrock{--mb-accent:#008a83;--mb-soft:#eaf8f5}.mb20 *{box-sizing:border-box;min-width:0}.mb20 h1,.mb20 h2,.mb20 h3,.mb20 p{margin:0}.mb20 h1{font-size:32px;letter-spacing:-1.1px;line-height:1.18}.mb20 h2{font-size:24px;letter-spacing:-.6px;line-height:1.25}.mb20 h3{font-size:17px;letter-spacing:-.25px}.mb20 p{color:var(--mb-muted)}.mb20 a{color:var(--mb-blue)}.mb20 button,.mb20 input,.mb20 textarea,.mb20 select{font:inherit}.mb20 button{border:1px solid var(--mb-line);background:white;color:var(--mb-ink);border-radius:7px;min-height:44px;padding:10px 15px;font-size:13px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer}.mb20 button:hover{background:#f1f6fd;border-color:#bbcee7}.mb20 button:disabled{opacity:.55;cursor:default}.mb20 button.primary{color:white;background:var(--mb-blue);border-color:var(--mb-blue);box-shadow:0 3px 0 #0045b31c}.mb20 button.primary:hover{background:#054fc8}.mb20 .quiet{border-color:transparent;background:transparent;padding:7px 11px;color:var(--mb-muted)}.mb20 .linkbtn{color:var(--mb-blue);border:0;background:none;padding:0;min-height:44px}.mb20 .ico{width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.mb20 .eyebrow{font-size:10px;color:var(--mb-accent);letter-spacing:1.6px;font-weight:800;margin-bottom:8px}.mb20 .muted{color:var(--mb-muted);font-size:13px}.mb20 .avatar{width:42px;height:42px;flex:0 0 auto;border-radius:9px;background:#dceaff;display:grid;place-items:center;border:1px solid #d1dff0;overflow:hidden}.mb20 .avatar img{width:100%;height:100%;object-fit:cover}.mb20 .avatar.large{width:72px;height:72px;border-radius:13px}.mb20 .product-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 28px;border-bottom:1px solid var(--mb-line);background:white}.mb20 .product-logo{display:flex;align-items:center;gap:8px;font-size:21px;font-weight:850;letter-spacing:-.8px}.mb20 .product-logo img{width:29px;height:29px}.mb20 .product-nav{display:flex;align-items:center;gap:23px;font-size:13px}.mb20 .product-nav a{color:var(--mb-muted)}.mb20 .product-nav button{padding:7px 12px}.mb20 .context{background:var(--mb-bg);border-bottom:1px solid var(--mb-line);display:flex;align-items:center;gap:14px;padding:18px 28px}.mb20 .context img{width:70px;height:47px;border-radius:6px;object-fit:cover}.mb20 .context span{display:block;font-size:10px;color:var(--mb-accent);font-weight:800;letter-spacing:.9px}.mb20 .context strong{font-size:14px}.mb20 .context>a{margin-left:auto;font-size:12px}.mb20 .discussion{padding:28px 32px 32px;max-width:1100px;margin:auto}.mb20 .discussion-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px}.mb20 .discussion-head p{font-size:14px;margin-top:7px}.mb20 .count{font-size:14px;background:var(--mb-soft);color:var(--mb-accent);padding:5px 10px;border-radius:6px;vertical-align:middle;margin-left:8px;font-weight:700}.mb20 .compose{border:1px solid #cdddf2;border-top:3px solid var(--mb-accent);border-radius:10px;padding:20px;background:#fff;box-shadow:0 5px 18px #13335805;margin-bottom:25px}.mb20 .compose-identity{display:flex;align-items:center;gap:11px;margin-bottom:14px}.mb20 .compose-identity strong{display:block;font-size:14px}.mb20 .compose-identity small{display:block;font-size:12px;color:var(--mb-muted)}.mb20 .compose-identity .context-badge{margin-left:auto;color:var(--mb-accent);background:var(--mb-soft);border:1px solid #d3e9ed;border-radius:5px;padding:4px 8px;font-size:11px}.mb20 .editor-label{font-size:13px;font-weight:700;display:block;margin:12px 0 7px}.mb20 .editor-frame{border:1px solid #cbd9eb;border-radius:8px;overflow:hidden;background:white}.mb20 .editor-frame:focus-within{border-color:#3386fb;box-shadow:0 0 0 3px #1777ff12}.mb20 .editor-frame textarea{display:block;width:100%;min-height:126px;border:0;resize:vertical;padding:15px 16px;font-size:15px;line-height:1.65;color:var(--mb-ink);background:white;outline:none;border-radius:0}.mb20 .editor-frame textarea::placeholder{color:#8a9ab0}.mb20 .editor-toolbar{display:flex;align-items:center;gap:2px;background:#f7faff;border-top:1px solid #e4ecf6;padding:4px 7px}.mb20 .editor-toolbar button{width:40px;min-height:38px;padding:7px;border:0;background:transparent;color:#48627f}.mb20 .editor-toolbar .attach{width:auto;font-size:12px;gap:6px;margin-left:6px;border-left:1px solid #dce5f1;border-radius:0;padding-left:13px}.mb20 .char-count{margin-left:auto;font-size:11px;color:#7a8ca3;white-space:nowrap;padding-right:5px}.mb20 .compose-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px}.mb20 .subscribe{font-size:12px;color:#526881;display:flex;align-items:center;gap:8px}.mb20 input[type=checkbox]{accent-color:var(--mb-blue);width:16px;height:16px;flex-shrink:0;margin:0}.mb20 .compose-hint{font-size:11px;margin-top:12px;color:#71829a}.mb20 .compose-target{font-size:12px;background:#eaf3ff;border-radius:5px;padding:8px 11px;margin-bottom:12px;display:flex;justify-content:space-between;align-items:center;gap:10px}.mb20 .compose-target button{min-height:30px;padding:2px 7px;background:none;border:0}.mb20 .notice{font-size:13px;border-radius:7px;padding:12px 14px;background:#ebf7f1;color:#1b7053;border:1px solid #d0e9de;margin:14px 0;display:flex;gap:9px;align-items:start}.mb20 .notice.error{color:#9b3b31;background:#fff3ef;border-color:#efd3cb}.mb20 .notice.pending{color:#7a5b1d;background:#fff8e9;border-color:#eadfbe}.mb20 .notice button{margin-left:auto;min-height:30px;white-space:nowrap;padding:3px 9px}.mb20 .attachment-list{display:flex;gap:9px;margin-top:12px;flex-wrap:wrap}.mb20 .attachment{display:flex;gap:8px;align-items:center;padding:7px;border:1px solid var(--mb-line);border-radius:7px;font-size:11px}.mb20 .attachment img{width:46px;height:36px;object-fit:cover;border-radius:4px}.mb20 .attachment button{min-height:30px;padding:3px 8px;border:0}.mb20 .thread-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid var(--mb-line)}.mb20 .thread-toolbar strong{font-size:14px}.mb20 .thread-toolbar label{font-size:12px;color:var(--mb-muted)}.mb20 select{border:1px solid var(--mb-line);border-radius:6px;background:white;padding:8px 12px;font-size:12px;min-height:40px;color:var(--mb-ink)}.mb20 .comment{padding:24px 0;border-bottom:1px solid var(--mb-line)}.mb20 .comment-header{display:flex;align-items:center;gap:11px}.mb20 .comment-name{font-weight:750;font-size:14px;color:var(--mb-ink)}.mb20 .comment-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.mb20 .comment-meta time{font-size:11px;color:#778ba3}.mb20 .author-badge{font-size:10px;color:var(--mb-accent);background:var(--mb-soft);border-radius:4px;padding:2px 6px;font-weight:750}.mb20 .comment-body{padding-left:53px;margin-top:12px;font-size:14px;line-height:1.7;overflow-wrap:anywhere}.mb20 .comment-body p{color:#344e6a;white-space:pre-wrap}.mb20 .comment-body code,.mb20 .preview-text code{font-size:12px;background:#edf3fa;border:1px solid #dce5f0;padding:1px 5px;border-radius:4px}.mb20 .comment-body blockquote{margin:0 0 10px;padding:8px 13px;border-left:3px solid #8fb8ef;background:#f4f8fd;font-size:13px;color:#677f9b}.mb20 .comment-actions{padding-left:46px;display:flex;align-items:center;gap:3px;margin-top:8px;flex-wrap:wrap}.mb20 .comment-actions button{font-size:12px;min-height:36px;padding:6px 9px;border:0;color:#617791;background:none}.mb20 .comment-actions button:first-child{color:var(--mb-blue)}.mb20 .comment-actions .liked{background:#edf5ff;color:#0763e6}.mb20 .comment-actions .more{margin-left:auto}.mb20 .replies{border-left:2px solid #dbe8f6;margin-left:21px;padding-left:30px;margin-top:18px}.mb20 .replies .comment{border:0;padding:12px 0 0}.mb20 .replies .avatar{width:34px;height:34px;border-radius:7px}.mb20 .replies .comment-body{padding-left:45px}.mb20 .replies .comment-actions{padding-left:36px}.mb20 .inline-compose{margin:14px 0 6px 53px}.mb20 .inline-compose .compose{margin:0;background:#f9fbff;border-top-width:1px}.mb20 .empty-state{display:flex;gap:18px;align-items:center;border:1px dashed #cadaed;border-radius:10px;padding:24px;margin:22px 0}.mb20 .empty-state .tile{width:52px;height:52px;display:grid;place-items:center;background:var(--mb-soft);color:var(--mb-accent);border-radius:10px;flex-shrink:0}.mb20 .empty-state p{font-size:13px;margin-top:6px}.mb20 .guest-compose{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px;border-radius:10px;background:var(--mb-soft);border:1px solid #d5e4f2;margin-bottom:22px}.mb20 .guest-compose p{font-size:13px;margin-top:6px}.mb20 .pagination{display:flex;justify-content:center;gap:6px;margin-top:22px}.mb20 .pagination button{min-width:40px;padding:7px 10px}.mb20 .pagination .current{background:var(--mb-soft);color:var(--mb-blue);border-color:#c3d9f5}.mb20 .preview-text{border:1px solid #d4e2f3;padding:16px;border-radius:7px;min-height:100px;white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f9ff}.mb20 .account-banner{padding:28px 30px;display:flex;align-items:center;gap:18px;background:linear-gradient(100deg,#f1f7ff,white 75%);border-bottom:1px solid var(--mb-line);position:relative}.mb20 .account-banner h1{font-size:29px}.mb20 .account-banner p{font-size:12px}.mb20 .account-banner .account-actions{margin-left:auto;display:flex;gap:8px}.mb20 .account-layout{display:grid;grid-template-columns:210px minmax(0,1fr)}.mb20 .account-nav{padding:23px 16px;border-right:1px solid var(--mb-line);background:#fbfcff;display:flex;flex-direction:column;gap:5px}.mb20 .account-nav button{justify-content:start;background:none;border:0;padding:11px 14px;color:#5d728c;font-size:13px}.mb20 .account-nav button.current{background:#eaf2ff;color:#0861e8}.mb20 .account-nav .nav-label{font-size:9px;font-weight:800;letter-spacing:1.3px;color:#9aabc0;margin:18px 14px 8px}.mb20 .account-nav .nav-count{margin-left:auto;border-radius:4px;background:#dcebff;color:#0960d6;padding:1px 6px;font-size:11px}.mb20 .account-main{padding:28px;min-height:510px;background:#fff}.mb20 .section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.mb20 .section-heading p{font-size:13px;margin-top:6px}.mb20 .stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0 27px}.mb20 .stat{border:1px solid var(--mb-line);padding:17px 18px;border-radius:9px;display:flex;gap:12px;align-items:center;background:#fff}.mb20 .stat .stat-icon{color:#1c73ed;background:#edf5ff;width:38px;height:38px;display:grid;place-items:center;border-radius:7px;flex-shrink:0}.mb20 .stat b{display:block;font-size:23px;line-height:1.1;letter-spacing:-.8px}.mb20 .stat span{font-size:11px;color:var(--mb-muted)}.mb20 .resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.mb20 .resource-card{border:1px solid var(--mb-line);border-radius:10px;overflow:hidden;position:relative}.mb20 .resource-card>img{aspect-ratio:16/8;width:100%;object-fit:cover;display:block}.mb20 .resource-card-body{padding:14px 16px}.mb20 .resource-card .kind{font-size:9px;font-weight:800;letter-spacing:.8px;color:var(--mb-accent)}.mb20 .resource-card h3{margin:4px 0 6px;font-size:16px;line-height:1.25}.mb20 .resource-card p{font-size:12px}.mb20 .resource-card .card-action{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:11px}.mb20 .resource-card .card-action button{min-height:34px;font-size:12px;padding:4px 8px}.mb20 .resource-card .save-remove{position:absolute;right:9px;top:9px;min-height:34px;padding:6px;background:white}.mb20 .activity{border-top:1px solid var(--mb-line);margin-top:25px;padding-top:20px}.mb20 .activity-row{display:flex;gap:12px;align-items:center;padding:12px 0;font-size:13px}.mb20 .activity-row .ico{color:#2b7edc}.mb20 .activity-row p{font-size:11px}.mb20 .activity-row button{margin-left:auto;min-height:34px;font-size:12px}.mb20 .saved-filter{display:flex;gap:7px;margin:18px 0}.mb20 .saved-filter button{font-size:12px;padding:6px 12px;min-height:36px}.mb20 .saved-filter .current{background:#edf5ff;color:#095ece;border-color:#cbdff9}.mb20 .message-list{display:grid;gap:10px}.mb20 .message-row{display:flex;align-items:start;gap:13px;padding:17px;border:1px solid var(--mb-line);border-radius:9px;cursor:pointer;background:white;text-align:left;width:100%;font-weight:400}.mb20 .message-row.unread{background:#f4f8ff;border-color:#d4e3f9}.mb20 .message-row strong{font-size:13px}.mb20 .message-row h3{font-size:14px;margin:4px 0}.mb20 .message-row p{font-size:12px;font-weight:400}.mb20 .message-row time{margin-left:auto;font-size:11px;white-space:nowrap;color:#7b8da4}.mb20 .message-dot{width:7px;height:7px;background:#0864f2;border-radius:100%;display:inline-block;margin-right:6px}.mb20 .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.mb20 .field{display:block;font-size:13px;font-weight:650}.mb20 .field input,.mb20 .field textarea,.mb20 .field select{display:block;width:100%;border:1px solid #cad8e9;border-radius:7px;background:white;margin-top:7px;padding:12px;color:#163150;font-size:14px;min-height:44px}.mb20 .field textarea{min-height:110px;line-height:1.6;resize:vertical}.mb20 .field small{display:block;font-size:11px;font-weight:400;color:#7a8da4;margin-top:6px}.mb20 .form-grid .full{grid-column:1/-1}.mb20 .settings-avatar{display:flex;align-items:center;gap:15px;margin:8px 0 24px}.mb20 .settings-avatar p{font-size:11px;margin-top:5px}.mb20 .settings-tabs{display:flex;gap:16px;border-bottom:1px solid var(--mb-line);margin-bottom:22px;overflow:auto}.mb20 .settings-tabs button{border:0;border-radius:0;white-space:nowrap;color:#657c97;background:none;padding:9px 0 13px;font-size:12px}.mb20 .settings-tabs .current{border-bottom:2px solid var(--mb-blue);color:var(--mb-blue)}.mb20 .form-actions{display:flex;align-items:center;gap:10px;padding-top:20px;margin-top:20px;border-top:1px solid var(--mb-line)}.mb20 .form-actions .muted{margin-left:auto;font-size:11px}.mb20 .preference{display:flex;align-items:center;gap:18px;padding:16px 0;border-bottom:1px solid var(--mb-line)}.mb20 .preference b{font-size:14px}.mb20 .preference p{font-size:12px;margin-top:5px}.mb20 .preference input{margin-left:auto}.mb20 .security-row{border:1px solid var(--mb-line);border-radius:8px;padding:17px;margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:15px}.mb20 .security-row p{font-size:12px}.mb20 .public-profile{padding:30px;max-width:850px;margin:auto}.mb20 .profile-summary{display:flex;gap:19px;align-items:center;padding:18px 0 24px}.mb20 .profile-about{border-top:1px solid var(--mb-line);padding-top:24px;margin-top:20px}.mb20 .profile-about p{margin-top:9px;font-size:14px}.mb20 .auth-layout{display:grid;grid-template-columns:44% 1fr;min-height:550px}.mb20 .auth-story{background:linear-gradient(145deg,#0c2c56,#0956b2);padding:42px;color:white;position:relative;overflow:hidden}.mb20 .auth-story .eyebrow{color:#91c9ff}.mb20 .auth-story h2{font-size:34px;line-height:1.13;color:white;margin-top:20px;letter-spacing:-1.1px;max-width:350px}.mb20 .auth-story p{color:#b9d6f4;font-size:14px;margin-top:16px;max-width:330px}.mb20 .auth-art{position:relative;max-width:340px;margin:30px auto 0;isolation:isolate}.mb20 .auth-art img{width:88%;aspect-ratio:16/9;object-fit:cover;border:4px solid #ffffffc9;border-radius:8px;display:block;transform:rotate(-5deg);box-shadow:0 15px 25px #00215366}.mb20 .auth-art img:last-child{width:69%;margin:-20px 0 0 auto;transform:rotate(7deg);position:relative;z-index:-1}.mb20 .auth-panel{padding:45px 40px;display:flex;align-items:center;justify-content:center}.mb20 .auth-form{width:100%;max-width:380px}.mb20 .auth-form h1{font-size:30px;margin-bottom:9px}.mb20 .auth-form>p{font-size:14px;margin-bottom:25px}.mb20 .auth-form .field{margin-top:18px}.mb20 .password-wrap{position:relative}.mb20 .password-wrap input{padding-right:55px}.mb20 .password-wrap button{position:absolute;right:4px;top:4px;bottom:4px;min-height:35px;padding:8px;border:0;background:transparent}.mb20 .auth-form .primary{width:100%;margin-top:22px}.mb20 .auth-options{display:flex;align-items:center;justify-content:space-between;margin-top:14px;font-size:12px}.mb20 .auth-options a{font-size:12px}.mb20 .auth-footer{padding-top:20px;margin-top:24px;border-top:1px solid var(--mb-line);font-size:13px;display:flex;justify-content:space-between;align-items:center;gap:10px}.mb20 .auth-status{width:42px;height:42px;border-radius:10px;background:#eaf7f0;color:#127451;display:grid;place-items:center;margin-bottom:20px}.mb20 .public-actions{margin-left:auto}.mb20 .state-loading{background:linear-gradient(90deg,#eef3fa,#f7faff,#eef3fa);height:14px;border-radius:6px;margin-bottom:14px}.mb20 .state-loading.cover{height:140px}.mb20 .message-detail{padding:22px;background:#f7faff;border:1px solid var(--mb-line);border-radius:10px;margin-bottom:22px}.mb20 .message-detail p{margin-top:14px;font-size:14px}.mb20 .user-created{border-left:3px solid var(--mb-accent);padding-left:16px}.mb20 .deleted{font-size:13px;color:#8492a5;font-style:italic;padding:18px 0}.mb20 .only-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.mb20 input[type=file]{max-width:100%}.mb20 .thread-media{display:block;margin-top:12px;width:140px;padding:0;border-radius:8px;overflow:hidden}.mb20 .thread-media img{display:block;width:100%;height:84px;object-fit:cover}.mb20 .message-compose{margin-top:18px}
@container(max-width:900px){.mb20 .account-layout{grid-template-columns:174px minmax(0,1fr)}.mb20 .account-main{padding:22px}.mb20 .stat{padding:13px;gap:8px}.mb20 .stat .stat-icon{display:none}.mb20 .auth-story{padding:28px}.mb20 .auth-panel{padding:32px 25px}.mb20 .auth-story h2{font-size:30px}}
@container(max-width:650px){.mb20 .product-head{padding:14px 16px}.mb20 .product-nav>a{display:none}.mb20 .product-logo{font-size:20px}.mb20 .context{padding:14px 16px}.mb20 .context>a{display:none}.mb20 .context img{width:53px;height:39px}.mb20 .context strong{font-size:12px}.mb20 .discussion{padding:23px 16px}.mb20 .discussion-head{align-items:start;margin-bottom:18px}.mb20 .discussion-head>button{display:none}.mb20 h2{font-size:22px}.mb20 .discussion-head p{font-size:13px}.mb20 .compose{padding:15px;margin-bottom:20px}.mb20 .compose-identity .context-badge{display:none}.mb20 .editor-frame textarea{min-height:148px;padding:13px;font-size:16px}.mb20 .editor-toolbar button{width:34px;min-height:40px;padding:7px}.mb20 .editor-toolbar .attach{padding-left:8px;margin-left:1px}.mb20 .editor-toolbar .attach span{display:none}.mb20 .char-count{font-size:10px}.mb20 .compose-bottom{align-items:stretch;flex-direction:column;gap:14px}.mb20 .compose-bottom>div{display:flex;gap:8px}.mb20 .compose-bottom>div>button:last-child{flex:1}.mb20 .compose-hint{line-height:1.5}.mb20 .comment{padding:20px 0}.mb20 .comment-body{padding-left:0;margin-top:13px;font-size:14px}.mb20 .comment-actions{padding-left:0}.mb20 .replies{margin-left:5px;padding-left:14px}.mb20 .replies .comment-body{padding-left:0}.mb20 .replies .comment-actions{padding-left:0}.mb20 .inline-compose{margin:12px 0 0}.mb20 .inline-compose .compose{padding:12px}.mb20 .guest-compose{padding:20px;align-items:stretch;flex-direction:column;gap:16px}.mb20 .thread-toolbar label span{display:none}.mb20 .account-banner{padding:21px 18px;gap:13px;flex-wrap:wrap}.mb20 .avatar.large{width:58px;height:58px}.mb20 .account-banner h1{font-size:26px}.mb20 .account-banner .account-actions{width:100%;margin-left:0;gap:8px}.mb20 .account-banner .account-actions button{font-size:12px}.mb20 .account-layout{display:block}.mb20 .account-nav{padding:9px 12px;display:flex;flex-direction:row;overflow:auto;border-right:0;border-bottom:1px solid var(--mb-line);gap:3px}.mb20 .account-nav button{white-space:nowrap;flex-shrink:0;padding:10px;font-size:12px}.mb20 .account-nav .nav-label,.mb20 .account-nav [data-action=signout]{display:none}.mb20 .account-nav .ico{width:16px;height:16px}.mb20 .account-main{padding:23px 16px;min-height:350px}.mb20 .section-heading{gap:10px;align-items:start}.mb20 .section-heading button{font-size:11px;padding:7px 9px;min-height:36px}.mb20 .stats{gap:7px;margin:19px 0 25px}.mb20 .stat{padding:13px 10px}.mb20 .stat b{font-size:22px}.mb20 .stat span{font-size:10px}.mb20 .resource-grid{grid-template-columns:1fr}.mb20 .resource-card>img{aspect-ratio:16/8}.mb20 .form-grid{grid-template-columns:1fr;gap:17px}.mb20 .field input,.mb20 .field textarea{font-size:16px}.mb20 .form-actions{flex-wrap:wrap}.mb20 .form-actions .muted{width:100%;margin-left:0}.mb20 .message-row{padding:14px 12px;gap:9px}.mb20 .message-row time{font-size:10px}.mb20 .message-row .avatar{width:33px;height:33px}.mb20 .settings-tabs{gap:15px}.mb20 .auth-layout{grid-template-columns:1fr}.mb20 .auth-story{display:none}.mb20 .auth-panel{padding:32px 24px}.mb20 .auth-form h1{font-size:29px}.mb20 .auth-form{max-width:400px}.mb20 .auth-form .field input{font-size:16px}.mb20 .public-profile{padding:23px 18px}.mb20 .profile-summary{gap:14px}.mb20 .public-actions{margin-left:0}.mb20 .profile-summary{flex-wrap:wrap}.mb20 .public-profile h1{font-size:28px}.mb20 .notice{flex-wrap:wrap}.mb20 .notice button{margin-left:0}.mb20 .security-row{align-items:start;flex-direction:column}.mb20 .empty-state{padding:18px;gap:13px}.mb20 .empty-state .tile{width:40px;height:40px}}

/* Load after engine.css and community.css. Scoped to the new component only. */
.mb20 .mb20-primary-link{display:inline-flex;align-items:center;justify-content:center;border-radius:7px;padding:11px 17px;min-height:44px;background:#0862ef;color:#fff;font-size:13px;font-weight:700;text-decoration:none}
.mb20 #comment-editor{display:block;width:100%;min-width:0}.mb20 #comment-editor>label{display:block;width:100%}.mb20 #comment-editor textarea,.mb20 .dleaddcomments-editor,.mb20 .wseditor,.mb20 .tox-tinymce{width:100%!important;max-width:100%;box-sizing:border-box}.mb20 #comment-editor textarea{min-height:150px;font-size:15px;line-height:1.65}.mb20 .ui-form{display:block;margin:0;padding:0;list-style:none}.mb20 .ui-form>li{display:block;width:100%;margin:0 0 12px}.mb20 .mb20-native-upload{margin-top:12px;font-size:13px}.mb20 .mb20-native-upload summary{cursor:pointer;min-height:44px;padding:10px 0;color:#0862ef}.mb20 .mb20-native-challenge{margin:14px 0}.mb20 .mb20-native-rating{display:flex;align-items:center;gap:10px}.mb20 .comment-actions a{display:inline-flex;align-items:center;min-height:40px;padding:6px 9px;font-size:12px;color:#536c89}.mb20 .mb20-signature{border-top:1px solid #e3ebf4;margin-top:15px;padding-top:10px;color:#72859c;font-size:12px}.mb20 .mb20-native-images img{max-width:100%;height:auto;border-radius:7px}.mb20 .mb20-native-tree .comments-tree-list{list-style:none;padding-left:24px;margin-left:0}.mb20 .mb20-native-tree>.comments-tree-list{padding-left:0}.mb20 .mb20-native-tree .comments-tree-list .comments-tree-list{border-left:2px solid #dbe8f6;margin-left:20px}.mb20 .mb20-native-tree .comments-tree-list .comments-tree-list .comments-tree-list{margin-left:0;padding-left:0;border-left:0}.mb20 #dlefastreplycomments{padding:14px 0;clear:both;width:100%}.mb20 .account-nav a{padding:11px 14px;display:flex;min-height:44px;font-size:13px;border-radius:7px;color:#5d728c}.mb20 .account-nav a[aria-current=page]{color:#0861e8;background:#eaf2ff}.mb20 .share-content{font-size:14px;line-height:1.7;overflow-wrap:anywhere}.mb20 .share-content img{max-width:100%;height:auto}.mb20 details{margin-top:20px}.mb20 details>summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:650}.mb20 details>.field{margin:13px 0}.mb20 .tox .tox-toolbar__primary,.mb20 .tox .tox-statusbar{background:#f7faff}.mb20 .tox-tinymce{border:1px solid #cbd9eb;border-radius:8px}
@media(max-width:650px){.mb20 .mb20-native-tree .comments-tree-list .comments-tree-list{margin-left:3px;padding-left:12px}.mb20 .mb20-native-tree .comments-tree-list .comments-tree-list .comments-tree-list{padding-left:0;margin-left:0}.mb20 #comment-editor textarea{font-size:16px}.mb20 .account-nav a{white-space:nowrap;flex-shrink:0}.mb20 .mb20-primary-link{width:100%}}

/* Integration refinements for the fixed-width MineBrushNext shell. */
.mb20--auth .auth-layout,
.mb20--account {
  overflow: hidden;
  border: 1px solid var(--mb-line);
  border-radius: 10px;
}

.mb20 .auth-art img {
  height: auto;
}

/* DLE may emit comment actions with or without its own anchor wrappers. */
.mb20 .comment-actions > .mb20-native-action,
.mb20 .comment-actions > .mb20-native-rating,
.mb20 .comment-actions > span:not(:empty) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 9px;
  color: #536c89;
  font-size: 12px;
}

.mb20 .comment-actions > .mb20-native-rating {
  padding-inline: 3px;
}

.mb20 #pm-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mb20 #pm-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--mb-line);
  border-radius: 7px;
  color: var(--mb-blue);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.mb20 #pm-menu a:hover,
.mb20 #pm-menu a:focus-visible {
  border-color: #bbcee7;
  background: #f1f6fd;
}

@media (max-width: 650px) {
  .mb20 .section-heading:has(#pm-menu) {
    flex-wrap: wrap;
  }

  .mb20 .section-heading:has(#pm-menu) > .muted {
    width: 100%;
  }
}
