/* Reference adaptation, 4 October 2026. Presentation only; DTOs and actions
   remain owned by account-community.js. Load after the original stylesheet. */

.canvas.route-profile {
  max-width: 1108px;
  padding: 10px 0 112px;
}
.profile-page { position: relative; }
.profile-rail-label { display: none; }
.profile-story-copy h2,
.community-feature-copy h2,
.community-question h2,
.community-image-post h2,
.community-preview-copy h2,
.community-ops-header h1,
.mod-inspector > header h2 { font-variation-settings: "wght" 300, "opsz" 60; }
.profile-cover {
  height: 186px;
  margin: 0;
}
.profile-cover::after {
  background: linear-gradient(0deg, rgba(3,7,12,.16), transparent 60%);
}
.profile-cover > img { object-position: center 48%; }
.profile-page > .profile-identity {
  grid-template-columns: 156px minmax(0, 1fr) auto;
  gap: 28px;
  padding: 0 28px 20px;
  margin-top: -75px;
  min-height: 172px;
}
.profile-page > .profile-identity .profile-avatar {
  width: 156px;
  height: 156px;
  border: 0;
}
.profile-page .profile-bio { padding-top: 14px; }
.profile-page .profile-name h1 {
  font-size: 32px;
  letter-spacing: -.025em;
}
.profile-page .profile-bio > p { margin: 12px 0 10px; }
.profile-page .profile-metrics { font-size: 13px; gap: 24px; margin-top: 12px; }
.profile-page .profile-controls { padding-bottom: 3px; }
.profile-controls .btn,
.profile-controls .icon-btn { border: 1px solid var(--border); border-radius: 8px; }
.profile-controls .btn { padding: 8px 14px; min-height: 38px; font-size: 14px; }
.profile-controls .icon-btn { width: 38px; height: 38px; }
.profile-page .profile-community-strip {
  gap: 36px;
  min-height: 81px;
  padding: 16px 28px;
}
.profile-community-strip > .eyebrow { font-size: 11px; letter-spacing: .14em; }
.profile-community-link { gap: 15px; font-size: 14px; }
.profile-community-link img { width: 54px; height: 54px; }
.profile-community-link small { font-size: 12px; }
.profile-tabs { margin: 0 28px; min-height: 55px; gap: 28px; }
.profile-tabs button { font-size: 14px; }
.profile-timeline { margin-top: 0; }
.profile-story {
  grid-template-columns: 52px 244px minmax(0, 1fr);
  gap: 20px;
  padding: 12px 20px 12px 0;
}
.profile-story-image img { height: 124px; }
.profile-story-copy h2 { font-size: 27px; line-height: 1.15; margin: 5px 0 7px; }
.profile-story-copy p { font-size: 14px; line-height: 1.5; margin: 8px 0; max-width: 570px; }
.profile-story-copy .profile-reactions { margin-top: 9px; gap: 24px; }
.profile-time .eyebrow { font-size: 11px; }
.profile-time small { font-size: 12px; }
.profile-pin { font-size: 12px; }
.profile-activity { grid-template-columns: 52px minmax(0, 1fr) 250px; gap: 20px; padding-block: 18px; }
.profile-media { grid-template-columns: 52px minmax(0, 2.2fr) minmax(220px, 1fr); gap: 20px; padding-block: 18px; }
.profile-media-image img { height: 110px; }
.profile-reactions { font-size: 13px; color: #969caa; }
.profile-reactions .icon { width: 20px; height: 20px; stroke-width: 1.25; }

/* The community hero reaches the window edges; its reading grid follows the
   same left signal spine as the stream reference. */
.canvas.route-community { max-width: none; padding: 0 0 112px; }
.route-community .community-page { position: relative; }
.route-community .community-hero {
  min-height: 302px;
  margin: 0;
  padding: 106px max(5vw, calc((100vw - 1260px) / 2)) 30px;
}
.community-cover { opacity: .94; object-position: center 44%; }
.community-hero::after {
  background: linear-gradient(0deg, var(--bg), rgba(3,7,12,.04) 85%),
    linear-gradient(90deg, rgba(3,7,12,.50), transparent 65%);
}
.community-hero-content { grid-template-columns: 145px minmax(0, 1fr) auto; gap: 22px; }
.community-emblem { width: 145px; height: 145px; }
.community-hero-content > div > .eyebrow { display: none; }
.community-hero-content h1 { font-size: 40px; letter-spacing: -.025em; }
.community-hero-content p { margin: 9px 0 13px; font-size: 15px; line-height: 1.45; max-width: 530px; }
.community-hero-meta { font-size: 14px; gap: 16px; }
.community-hero-content > .btn { font-size: 14px; min-height: 38px; padding: 8px 16px; border: 1px solid var(--accent); border-radius: 6px; }
.community-settings-shortcut { position: absolute; z-index: 2; top: 26px; right: 30px; color: var(--muted); }
.route-community .community-controls,
.route-community .community-feature,
.route-community .community-post-grid,
.route-community .community-live,
.route-community .community-about { width: min(1364px, calc(100% - 100px)); margin-inline: auto; }
.community-controls { min-height: 51px; padding-left: 114px; }
.community-controls .tabs { gap: 44px; }
.community-controls .tabs a { font-size: 14px; }
.community-controls > .text-link { font-size: 13px; }
.community-feature {
  grid-template-columns: 88px minmax(220px, .98fr) minmax(230px, .92fr) minmax(280px, 1.47fr);
  gap: 25px;
  padding: 28px 0 23px;
}
.community-feature-image img { height: 166px; border-radius: 3px; }
.community-feature-copy h2 { font-size: 30px; margin: 13px 0 6px; }
.community-feature-copy > p { font-size: 14px; line-height: 1.45; }
.community-feature-copy .author { font-size: 12px; }
.community-feature-copy .author small { display: inline; margin-left: 7px; font-size: 11px; }
.community-feature-copy .profile-reactions { gap: 24px; margin-top: 13px; }
.community-section-label { padding-top: 5px; }
.community-section-label .eyebrow { font-size: 11px; }
.community-section-label p { font-size: 12px; max-width: 72px; }
.community-section-label::before { width: 10px; height: 10px; left: -24px; top: 7px; box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--accent); }
.community-activity { padding-left: 20px; }
.community-activity > .eyebrow { font-size: 11px; letter-spacing: .14em; }
.community-activity-row { grid-template-columns: 35px minmax(0, 1fr) 80px; gap: 10px; margin-top: 15px; }
.community-activity-row .avatar { width: 35px; height: 35px; }
.community-activity-row p,.community-activity-row a { font-size: 12px; }
.community-activity-row > small { font-size: 11px; }
.community-post-grid { grid-template-columns: 88px minmax(0, .85fr) minmax(0, 1.15fr); gap: 25px; padding: 18px 0 20px; }
.community-post-grid > article:nth-of-type(n + 3) { grid-column: 2 / -1; }
.community-question { padding-right: 28px; }
.community-question h2 { font-size: 28px; max-width: 445px; }
.community-question > p { font-size: 14px; line-height: 1.5; }
.community-image-post h2 { font-size: 24px; margin: 8px 0; }
.community-image-post > a img { height: 116px; }
.community-post-grid .author { font-size: 13px; }
.community-post-grid .author small { display: inline; font-size: 11px; margin-left: 6px; }
.community-live { min-height: 80px; padding: 13px 8px 13px 114px; border-bottom: 0; }
.community-live h3 { font-size: 15px; }
.community-live p { font-size: 13px; }
.community-live .btn { min-height: 38px; border: 1px solid var(--accent); border-radius: 6px; color: var(--accent); }
.route-community .community-about { padding-left: 114px; }
.community-compose { min-height: 64px; max-width: 650px; border-radius: 17px; padding: 9px 16px; }
.community-compose-placeholder { font-size: 15px; text-align: left; }
.community-compose .avatar { width: 42px; height: 42px; }

/* Discovery and administration use quiet framed panels. */
.canvas.route-communities { max-width: 1440px; padding: 0 48px 120px; }
.route-communities .page-heading {
  position: relative;
  min-height: 350px;
  margin: 0 -48px 24px;
  padding: 64px 76px 38px;
  background: linear-gradient(90deg, rgba(3,7,12,.95), rgba(3,7,12,.45) 48%, rgba(3,7,12,.10)),
    linear-gradient(0deg, var(--bg), transparent 60%), url('./assets/profile-cover-generated.png') center 48% / cover;
}
.route-communities .page-heading h1 { font-size: 43px; }
.route-communities .page-heading > div { max-width: 455px; }
.route-communities .page-heading p { font-size: 15px; line-height: 1.6; }
.community-directory-search { display: flex; align-items: center; gap: 11px; min-height: 41px; width: 100%; max-width: 455px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 6px; background: rgba(6,10,17,.7); color: var(--muted); font: 13px var(--ui); text-align: left; margin-top: 19px; }
.community-directory-search > span { flex: 1; }
.community-directory-search > .icon { width: 17px; height: 17px; }
.community-directory-search:hover { border-color: var(--accent); background: var(--surface); }
.community-topics { margin-top: 29px; }
.community-topics > h2.eyebrow { font: 500 11px/1.4 var(--ui); color: var(--accent); letter-spacing: .12em; margin-bottom: 16px; }
.community-topics .chips { flex-wrap: wrap; gap: 10px; }
.community-topics .chip { font-size: 12px; border-radius: 15px; }
.route-communities .page-heading > .btn { align-self: end; border-radius: 50%; width: 48px; height: 48px; min-width: 48px; padding: 12px; font-size: 0; }
.route-communities .page-heading > .btn .icon { width: 23px; height: 23px; }
.route-communities .community-discovery { margin: 0 0 22px; padding: 0 0 18px; border-top: 0; }
.route-communities .community-directory { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.route-communities .community-directory-card { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; padding: 0; background: rgba(12,16,24,.3); }
.route-communities .community-directory-image img { height: 145px; border-radius: 0; }
.route-communities .community-directory-copy { padding: 12px 14px 14px; }
.route-communities .community-directory-copy h2 { font: 500 15px/1.4 var(--ui); margin: 5px 0; }
.route-communities .community-directory-copy > .eyebrow { font-size: 9px; }
.route-communities .community-directory-copy > p { min-height: 42px; font-size: 12px; line-height: 1.5; }
.route-communities .community-directory-meta { flex-wrap: wrap; gap: 5px 12px; font-size: 11px; margin: 8px 0; }
.route-communities .community-directory-copy .btn { min-height: 34px; font-size: 11px; padding: 6px 9px; border: 1px solid var(--border); border-radius: 5px; }
.canvas.route-community-create,
.canvas.route-community-settings,
.canvas.route-community-members { max-width: 1330px; padding: 42px 48px 112px; }
.community-ops-page > .page-heading { margin-bottom: 28px; }
.community-ops-page > .page-heading h1 { font-size: 32px; }
.community-ops-page > .page-heading .eyebrow { display: none; }
.community-create-layout { grid-template-columns: minmax(0, .81fr) minmax(0, 1fr); gap: 72px; }
.community-create-preview > .eyebrow { font-size: 11px; color: var(--accent); letter-spacing: .13em; }
.community-preview-card { border-radius: 13px; background: transparent; }
.community-preview-cover { height: 230px; }
.community-preview-avatar { width: 150px; height: 150px; margin: -110px 0 0 48px; border-width: 1px; }
.community-preview-copy { padding: 17px 48px 29px; }
.community-preview-copy h2 { font-size: 30px; }
.community-preview-copy > .muted { font-size: 13px; }
.community-preview-copy > p { font-size: 14px; margin: 17px 0 23px; }
.community-preview-meta { font-size: 12px; }
.community-ops-form .field { margin-bottom: 22px; }
.community-ops-form .field > label { font-size: 11px; letter-spacing: .09em; }
.community-ops-form .field input,
.community-ops-form .field select { min-height: 40px; font-size: 14px; padding: 10px 13px; }
.community-ops-form .field textarea { min-height: 88px; font-size: 14px; }
.community-ops-form .field small { font-size: 11px; }
.community-topic-fields { gap: 8px; }
.community-topic-fields > label { min-height: 30px; padding: 5px 9px; border-radius: 16px; font-size: 11px; }
.community-topic-fields > legend { font-size: 11px; }
.community-ops-form-footer { border-top: 0; padding-top: 12px; margin-top: 19px; }
.community-ops-form-footer .btn { border-radius: 5px; min-height: 40px; }
.community-ops-header { gap: 18px; margin-bottom: 19px; }
.community-ops-header > img { width: 72px; height: 72px; }
.community-ops-header .eyebrow { display: none; }
.community-ops-header h1 { font-size: 30px; }
.community-ops-header p { font-size: 13px; }
.community-ops-header > .btn { min-height: 38px; font-size: 12px; border: 1px solid var(--accent); color: var(--accent); border-radius: 5px; }
.community-ops-tabs { margin-bottom: 20px; gap: 29px; }
.community-ops-tabs > a,.community-ops-tabs > button { font-size: 13px; }
.community-manage-layout { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; }
.community-manage-layout > .community-ops-form,
.community-appearance { border: 1px solid var(--border); border-radius: 8px; padding: 23px; background: rgba(9,14,22,.32); }
.community-ops-section-heading > h2 { font: 500 15px/1.4 var(--ui); margin-bottom: 7px; }
.community-ops-section-heading .eyebrow { font-size: 10px; color: var(--muted); margin-bottom: 9px; }
.community-appearance h2 { font: 500 15px/1.4 var(--ui); }
.community-appearance > .eyebrow { font-size: 10px; color: var(--muted); }
.community-appearance > p { font-size: 12px; }
.community-members-layout { grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 34px; }
.community-members-tools { gap: 10px; margin-bottom: 30px; }
.community-members-tools > select { min-height: 38px; }
.community-members-list summary { padding: 12px 15px; background: linear-gradient(100deg, #111723, #0d111a); font-size: 13px; }
.community-member-row { min-height: 58px; border-bottom: 0; }
.community-member-row strong { font-size: 13px; }
.community-member-row > div > span { font-size: 11px; }
.community-member-row > select { min-height: 34px; font-size: 11px; }
.community-audit { border-radius: 8px; padding: 22px; }
.community-audit h2 { font: 500 14px/1.4 var(--ui); }

/* Profile editing: tabs lead directly into the cover and the form. */
.canvas.route-settings { max-width: 1376px; padding: 0 24px 112px; }
.settings-page { position: relative; }
.settings-page > .page-heading { position: absolute; right: 0; top: 11px; margin: 0; min-height: 40px; }
.settings-page > .page-heading > div { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.settings-page > .page-heading > .text-link { font-size: 12px; }
.settings-tabs { min-height: 61px; margin-bottom: 24px; gap: 35px; padding-inline: 16px; }
.settings-tabs button { font-size: 14px; }
.settings-layout { grid-template-columns: minmax(0, .96fr) minmax(0, 1fr); gap: 56px; }
.settings-preview-cover { height: 270px; border-radius: 0; }
.settings-preview .profile-identity { grid-template-columns: 158px minmax(0, 1fr); gap: 30px; margin-top: -75px; padding: 0 0 25px; }
.settings-preview .profile-avatar { width: 158px; height: 158px; border: 0; }
.settings-preview .profile-bio { padding-top: 91px; }
.settings-preview .profile-name h1 { font-size: 33px; }
.settings-preview .profile-bio > p { font-size: 13px; line-height: 1.75; margin-top: 22px; }
.settings-preview .profile-metrics { gap: 16px; font-size: 11px; margin-top: 26px; }
.settings-preview .profile-mutual { width: auto; }
.settings-preview-caption { margin-left: 188px; padding-top: 14px; font-size: 11px; }
.settings-save-bar { min-height: 46px; padding: 6px 10px; margin: 5px 0 23px; background: linear-gradient(100deg, #10151e, #0d1119); }
.settings-save-bar > span { font-size: 12px; color: #c5c7ce; }
.settings-save-bar .btn { font-size: 12px; border-radius: 5px; padding: 7px 12px; min-height: 34px; }
.settings-form .field { margin-bottom: 19px; gap: 8px; }
.settings-form .field > label { font-size: 11px; letter-spacing: .07em; }
.settings-form .field input,
.settings-form .field select { min-height: 38px; font-size: 14px; padding: 9px 13px; }
.settings-form .field textarea { min-height: 85px; font-size: 13px; line-height: 1.6; padding: 9px 13px; }
.settings-form .field small { font-size: 11px; }
.settings-input-wrap > input { padding-left: 32px !important; }
.settings-media-row { margin-top: 16px; padding: 0; gap: 15px; }
.settings-media-row .avatar { width: 68px; height: 68px; }
.settings-media-row > div { gap: 17px; }
.settings-media-row strong { font-weight: 400; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.settings-media-row small { font-size: 11px; line-height: 1.6; }
.settings-media-row .btn { min-height: 35px; padding: 7px 12px; font-size: 12px; border: 1px solid var(--border); border-radius: 5px; }
.settings-cover-thumb { width: 172px; height: 61px; border-radius: 5px; }
.settings-form-footer { margin-top: 23px; padding-top: 17px; }
.settings-form-footer > span { font-size: 10px; }
.settings-section-heading h2 { font-size: 28px; }
.settings-switch-row { padding-block: 18px; }
.settings-switch-row strong { font-size: 14px; }
.settings-switch-row small { font-size: 12px; }

/* Authentication remains one shell with one wordmark, a photographic left
   field and a readable 520 px form; there are no simulated provider buttons. */
.auth-shell .canvas.route-login { max-width: none; padding: 0; min-height: 100vh; }
.auth-page { grid-template-columns: minmax(0, 54%) minmax(0, 46%); gap: 0; min-height: 100vh; }
.auth-atmosphere { min-height: 100vh; margin: 0; background: url('./assets/auth-reference-2026-10-04.png') center / cover no-repeat; }
.auth-atmosphere > img { opacity: 0; object-position: center; }
.auth-atmosphere::after {
  background: linear-gradient(0deg, var(--bg), transparent 38%, rgba(3,7,12,.40)),
    linear-gradient(90deg, transparent 65%, var(--bg));
}
.auth-atmosphere-top { top: 31px; left: 54px; right: 28px; gap: 48px; }
.auth-wordmark { font: 400 30px/1.2 var(--ui); letter-spacing: .23em; }
.auth-atmosphere-top .text-link { font-size: 14px; }
.auth-quote { left: 56px; bottom: 19vh; padding-left: 23px; }
.auth-quote .eyebrow,.auth-quote > .muted { display: none; }
.auth-quote blockquote { font: 400 18px/1.45 var(--ui); color: #989da9; margin: 0; }
.auth-privacy { left: 54px; bottom: 62px; font-size: 12px; line-height: 1.7; }
.auth-privacy .icon { width: 19px; height: 19px; }
.auth-form-side { padding: 22px max(40px, calc((46vw - 520px) / 2)) 56px 58px; }
.auth-tabs { min-height: 56px; margin-bottom: 31px; gap: 42px; }
.auth-tabs button { font-size: 14px; }
.auth-form-content { width: 100%; max-width: 520px; }
.auth-form-content > .eyebrow { display: none; }
.auth-form-content > h1 { font-size: 44px; letter-spacing: -.03em; margin-bottom: 8px; }
.auth-form-content > p { font-size: 16px; line-height: 1.5; margin-bottom: 24px; max-width: 520px; }
.auth-provider { min-height: 48px; font-size: 14px; padding: 10px 16px; border-radius: 6px; gap: 24px; }
.auth-providers { gap: 6px; }
.auth-providers > .eyebrow,.auth-form > .eyebrow { font-size: 11px; letter-spacing: .14em; }
.auth-providers > .eyebrow { margin-bottom: 4px; }
.auth-divider { margin: 22px 0 17px; font-size: 13px; }
.auth-form > .eyebrow { margin-bottom: 13px; }
.auth-form .field { gap: 5px; margin-bottom: 13px; }
.auth-form .field label { font-size: 14px; }
.auth-form input:not([type='checkbox']) { font-size: 14px; min-height: 44px; border-radius: 5px; padding: 10px 13px; }
.auth-options { font-size: 12px; margin: 15px 0 18px; }
.auth-options .text-link { font-size: 13px; }
.auth-options input { width: 16px; height: 16px; }
.auth-submit { min-height: 49px; font-size: 15px; border-radius: 6px; }
.auth-submit > .icon { display: none; }
.auth-footnote,.auth-footnote .text-link { font-size: 13px !important; }
.auth-legal { padding-top: 32px; font-size: 11px; }
.auth-legal .text-link { font-size: 11px; }
.auth-legal small { font-size: 10px; }
.auth-password-toggle { width: 44px; }

/* The moderation queue and inspector are peers in the reference, 2.2 : 1. */
.canvas.route-moderation { max-width: none; padding: 18px 30px 116px; }
.mod-page > .page-heading { margin-bottom: 16px; padding-inline: 16px; }
.mod-page > .page-heading .eyebrow { display: none; }
.mod-page h1 { font-size: 40px; }
.mod-layout { grid-template-columns: minmax(0, 2.2fr) minmax(340px, 1fr); gap: 24px; }
.mod-toolbar { min-height: 44px; margin-bottom: 16px; }
.mod-toolbar .tabs { gap: 35px; padding-left: 16px; }
.mod-toolbar .tabs button { font-size: 14px; }
.mod-case { grid-template-columns: 6px 122px minmax(0, 1.25fr) minmax(160px, 1fr) 20px; gap: 14px; min-height: 108px; padding: 13px 12px; border-radius: 7px; }
.mod-case > img:not(.avatar) { width: 122px; height: 80px; border-radius: 6px; }
.mod-case > .avatar { width: 60px; height: 60px; }
.mod-case-info { gap: 5px; }
.mod-case-info .eyebrow { font-size: 10px; }
.mod-case-info strong { font-size: 14px; }
.mod-case-info > .muted,.mod-case-info small { font-size: 12px; }
.mod-case-context { font-size: 12px; line-height: 1.5; }
.mod-evidence { padding: 10px 18px; border-radius: 10px; background: linear-gradient(110deg, #0a1018, #0c111a); }
.mod-evidence-heading h2 { font: 400 14px/1.5 var(--ui); }
.mod-evidence-content { gap: 22px; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); }
.mod-evidence-image { height: 255px; }
.mod-evidence-content h2 { font: 400 15px/1.5 var(--ui); }
.mod-evidence-content p { font-size: 13px; line-height: 1.5; }
.mod-inspector { padding: 0; background: linear-gradient(110deg, #11161f, #0e1219); border-radius: 12px; }
.mod-inspector > header,.mod-inspector > section,.mod-inspector > footer { padding: 15px; }
.mod-inspector > header h2 { font-size: 19px; }
.mod-inspector > section > .eyebrow { font-size: 12px; color: #d2d4db; text-transform: none; letter-spacing: 0; }
.mod-inspector p { font-size: 12px; }
.mod-rule { padding: 12px; border-radius: 6px; }
.mod-decisions { gap: 4px; }
.mod-decisions button { border-radius: 5px; font-size: 10px; min-height: 58px; padding: 8px 4px; }
.mod-inspector textarea { font-size: 12px; background: #0b1017; }

@media (min-width: 1200px) {
  .profile-rail-label { display: block; position: absolute; left: -126px; width: 116px; font: 400 11px/1.4 var(--ui); text-transform: uppercase; }
  .profile-rail-identity { top: 58px; }
  .profile-rail-materials { margin-top: 19px; }
  .canvas.route-settings { padding-right: 66px; }
  .profile-page::before { content: ''; position: absolute; left: -146px; top: 23px; bottom: 0; width: 1px; background: var(--border); }
  .profile-page > .profile-identity::before,
  .profile-tabs::before { content: ''; position: absolute; left: -152px; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--accent); background: var(--bg); box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--accent); }
  .profile-page > .profile-identity::before { top: -51px; }
  .profile-tabs { position: relative; }
  .profile-tabs::before { top: 18px; left: -180px; }
}

@media (max-width: 1199px) {
  .canvas.route-profile { max-width: 1108px; padding-inline: 36px; }
  .profile-page > .profile-identity { grid-template-columns: 125px minmax(0, 1fr); gap: 22px; padding-inline: 14px; }
  .profile-page > .profile-identity .profile-avatar { width: 125px; height: 125px; }
  .profile-page .profile-controls { grid-column: 2; justify-self: end; margin-top: -10px; }
  .profile-page .profile-community-strip { padding-inline: 14px; gap: 22px; }
  .profile-community-link { font-size: 12px; }
  .profile-story { grid-template-columns: 46px 215px minmax(0, 1fr); gap: 16px; }
  .profile-story-copy h2 { font-size: 25px; }
  .route-community .community-hero { min-height: 270px; padding: 55px 44px 28px; }
  .community-hero-content { grid-template-columns: 110px minmax(0, 1fr) auto; gap: 20px; }
  .community-emblem { width: 110px; height: 110px; }
  .community-hero-content h1 { font-size: 34px; }
  .community-hero-content p { font-size: 13px; }
  .community-hero-meta { font-size: 12px; }
  .route-community .community-controls,.route-community .community-feature,.route-community .community-post-grid,.route-community .community-live,.route-community .community-about { width: calc(100% - 72px); }
  .community-controls { padding-left: 0; }
  .community-feature { grid-template-columns: minmax(0, .83fr) minmax(0, .86fr) minmax(0, 1fr); gap: 20px; }
  .community-section-label { display: none; }
  .community-feature-image img { height: 176px; }
  .community-feature-copy h2 { font-size: 26px; }
  .community-activity { grid-column: auto; display: block; padding: 0 0 0 18px; border-top: 0; border-left: 1px solid var(--border); }
  .community-activity-row { grid-template-columns: 27px minmax(0,1fr); gap: 8px; margin-top: 12px; }
  .community-activity-row > small { grid-column: 2; text-align: left; padding: 0; }
  .community-activity-row .avatar { width: 27px; height: 27px; }
  .community-post-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .community-post-grid > article:nth-of-type(n+3) { grid-column: 1 / -1; }
  .community-live { padding-left: 0; }
  .route-community .community-about { padding-left: 0; }
  .route-communities .community-directory { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .settings-layout { gap: 32px; }
  .settings-preview .profile-identity { grid-template-columns: 112px minmax(0,1fr); gap: 18px; margin-top: -57px; }
  .settings-preview .profile-avatar { width: 112px; height: 112px; }
  .settings-preview .profile-bio { padding-top: 65px; }
  .settings-preview .profile-name h1 { font-size: 28px; }
  .settings-preview-caption { margin-left: 130px; }
  .settings-save-bar { flex-wrap: wrap; }
  .settings-save-bar > span { flex-basis: auto; }
  .auth-form-side { padding: 18px 32px 40px; }
  .auth-atmosphere-top { left: 32px; gap: 26px; }
  .auth-quote { left: 32px; }
  .auth-privacy { left: 32px; right: 20px; }
  .auth-form-content > h1 { font-size: 37px; }
  .auth-form-content > p { font-size: 14px; }
  .mod-layout { grid-template-columns: minmax(0,1fr) 340px; gap: 18px; }
  .mod-case { grid-template-columns: 5px 74px minmax(0,1fr) 18px; gap: 10px; }
  .mod-case-context { display: none; }
  .mod-case > img:not(.avatar) { width: 74px; height: 70px; }
  .mod-evidence-content { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .canvas.route-profile { padding: 10px 24px 96px; }
  .profile-cover { height: 190px; }
  .profile-page > .profile-identity { margin-top: -55px; }
  .profile-page .profile-name h1 { font-size: 28px; }
  .profile-page .profile-metrics { font-size: 11px; gap: 14px; }
  .profile-story { grid-template-columns: 40px 180px minmax(0,1fr); padding-right: 0; gap: 14px; }
  .profile-story-copy p { font-size: 12px; }
  .route-community .community-hero { padding: 45px 24px 25px; }
  .community-hero-content { grid-template-columns: 92px minmax(0,1fr); }
  .community-hero-content > .btn { grid-column: 2; justify-self: end; }
  .community-emblem { width: 92px; height: 92px; }
  .community-hero-content h1 { font-size: 30px; }
  .route-community .community-controls,.route-community .community-feature,.route-community .community-post-grid,.route-community .community-live,.route-community .community-about { width: calc(100% - 48px); }
  .community-feature { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; }
  .community-activity { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; border-left: 0; border-top: 1px solid var(--border); padding: 16px 0 0; }
  .community-activity > .eyebrow { grid-column: 1 / -1; }
  .community-activity-row { margin-top: 0; }
  .canvas.route-communities { padding-inline: 24px; }
  .route-communities .page-heading { margin-inline: -24px; padding: 36px; min-height: 280px; }
  .route-communities .community-directory { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .canvas.route-community-create,.canvas.route-community-settings,.canvas.route-community-members { padding: 28px 24px 96px; }
  .community-create-layout { grid-template-columns: minmax(0,.8fr) minmax(0,1fr); gap: 28px; }
  .community-preview-copy { padding-inline: 24px; }
  .community-preview-avatar { margin-left: 24px; width: 112px; height: 112px; margin-top: -82px; }
  .community-preview-cover { height: 170px; }
  .community-preview-copy h2 { font-size: 25px; }
  .community-preview-copy > p { font-size: 12px; }
  .community-members-layout { grid-template-columns: minmax(0,1fr); }
  .community-audit { margin-top: 8px; }
  .canvas.route-settings { padding-inline: 24px; }
  .settings-page > .page-heading { display: none; }
  .settings-layout { grid-template-columns: minmax(0,.85fr) minmax(0,1fr); gap: 28px; }
  .settings-preview-cover { height: 220px; }
  .settings-preview .profile-identity { grid-template-columns: 82px minmax(0,1fr); gap: 13px; }
  .settings-preview .profile-avatar { width: 82px; height: 82px; }
  .settings-preview .profile-name h1 { font-size: 25px; }
  .settings-preview-caption { margin-left: 0; }
  .settings-media-row { flex-wrap: wrap; }
  .settings-cover-thumb { width: 100px; }
  .settings-form .field input { font-size: 13px; }
  .auth-page { grid-template-columns: 46% 54%; }
  .auth-atmosphere-top { left: 24px; gap: 18px; flex-wrap: wrap; }
  .auth-wordmark { font-size: 25px; }
  .auth-form-side { padding-inline: 24px; }
  .auth-form-content > h1 { font-size: 32px; }
  .auth-quote { left: 24px; right: 24px; padding-left: 16px; }
  .auth-quote blockquote { font-size: 15px; }
  .auth-privacy { left: 24px; font-size: 10px; }
  .canvas.route-moderation { padding: 18px 20px 96px; }
  .mod-layout { grid-template-columns: minmax(0,1fr); }
  .mod-case-context { display: block; grid-column: 3; }
  .mod-case > .icon { grid-column: 4; grid-row: 1; }
  .mod-inspector { position: static; }
  .mod-toolbar .tabs { gap: 26px; padding-left: 0; }
  .mod-evidence-content { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}

@media (max-width: 600px) {
  .canvas.route-profile { padding: 0 16px 94px; }
  .profile-cover { margin: 0 -16px; height: 156px; }
  .profile-page > .profile-identity { grid-template-columns: minmax(0,1fr); gap: 10px; padding: 0 0 16px; margin-top: -42px; }
  .profile-page > .profile-identity .profile-avatar { width: 86px; height: 86px; border: 2px solid var(--bg); }
  .profile-page .profile-bio { padding-top: 0; }
  .profile-page .profile-name h1 { font: 500 21px/1.3 var(--ui); }
  .profile-page .profile-bio > .muted { font-size: 12px; }
  .profile-page .profile-bio > p { font-size: 12px; line-height: 1.6; margin-block: 11px; }
  .profile-page .profile-bio > p br,
  .settings-preview .profile-bio > p br { display: initial; }
  .profile-page .profile-metrics { font-size: 11px; gap: 12px; margin-top: 12px; }
  .profile-page .profile-controls { grid-column: 1; justify-self: stretch; width: 100%; margin-top: 0; padding: 0; }
  .profile-controls .btn { min-height: 35px; font-size: 12px; }
  .profile-controls .icon-btn { width: 35px; height: 35px; }
  .profile-page .profile-community-strip { min-height: 0; padding: 12px 0; gap: 18px; }
  .profile-community-link { flex-basis: 166px; font-size: 11px; gap: 9px; }
  .profile-community-link img { width: 38px; height: 38px; }
  .profile-community-link small { font-size: 10px; }
  .profile-tabs { margin-inline: 0; min-height: 44px; gap: 19px; }
  .profile-tabs button { font-size: 12px; }
  .profile-story { display: grid; grid-template-columns: minmax(0,1fr) 108px; gap: 10px; padding: 15px 0; }
  .profile-time { grid-column: 1 / -1; margin: 0; }
  .profile-story-image { grid-column: 2; grid-row: 2; margin: 0; align-self: start; }
  .profile-story-image img { height: 82px; border-radius: 4px; }
  .profile-story-copy { grid-column: 1; grid-row: 2; }
  .profile-story-copy h2 { font-size: 22px; margin: 2px 0 7px; }
  .profile-story-copy p { font-size: 11px; line-height: 1.5; margin: 5px 0; }
  .profile-story-copy .profile-reactions { gap: 11px; flex-wrap: wrap; margin-top: 8px; font-size: 10px; }
  .profile-story-copy .profile-reactions .icon { width: 15px; height: 15px; }
  .profile-story-copy .profile-reactions > .icon-btn { margin-left: 0; }
  .profile-activity,.profile-media { display: block; }
  .profile-story-copy .profile-reactions > span { display: inline-flex; }
  .route-community .community-hero { min-height: 286px; padding: 38px 16px 22px; margin: 0; }
  .community-hero-content { grid-template-columns: 70px minmax(0,1fr); gap: 14px; align-items: start; }
  .community-emblem { width: 70px; height: 70px; margin-top: 7px; }
  .community-hero-content h1 { font-size: 28px; line-height: 1.16; }
  .community-hero-content p { font-size: 12px; line-height: 1.5; }
  .community-hero-meta { font-size: 10px; gap: 7px 10px; }
  .community-hero-content > .btn { grid-column: 1 / -1; width: 100%; min-height: 40px; font-size: 13px; margin-top: 4px; }
  .route-community .community-controls,.route-community .community-feature,.route-community .community-post-grid,.route-community .community-live,.route-community .community-about { width: calc(100% - 32px); }
  .community-controls { padding: 0; min-height: 46px; }
  .community-controls .tabs { gap: 15px; justify-content: space-between; }
  .community-controls .tabs a { font-size: 12px; }
  .community-feature { display: block; padding: 18px 0; }
  .community-feature-image img { height: 175px; }
  .community-feature-copy h2 { font-size: 29px; }
  .community-feature-copy > p { font-size: 13px; }
  .community-feature-copy .profile-reactions { gap: 22px; }
  .community-activity { display: block; margin-top: 18px; padding-top: 20px; }
  .community-activity-row { grid-template-columns: 32px minmax(0,1fr) 64px; margin-top: 15px; }
  .community-activity-row > small { grid-column: auto; text-align: right; }
  .community-post-grid { display: block; padding: 18px 0; }
  .community-post-grid > article { margin: 0 0 18px; padding: 0 0 16px; border-right: 0; border-bottom: 1px solid var(--border); }
  .community-post-grid > article:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
  .community-question h2 { font-size: 27px; }
  .community-question > p { font-size: 13px; }
  .community-image-post > a img { height: 160px; }
  .community-live { padding: 16px 0; gap: 12px; flex-wrap: wrap; }
  .community-live h3 { font-size: 13px; }
  .community-live p { font-size: 12px; }
  .community-live .btn { margin: 0 0 0 60px; }
  .community-compose { position: static; margin: 20px 16px 0; min-height: 55px; padding: 8px 10px; gap: 9px; border-radius: 13px; }
  .community-compose-placeholder { font-size: 12px; }
  .community-compose .avatar { width: 32px; height: 32px; }
  .community-compose > .btn { min-width: 34px; width: 34px; min-height: 34px; padding: 7px; }
  .canvas.route-communities { padding: 0 16px 96px; }
  .route-communities .page-heading { margin-inline: -16px; padding: 28px 24px; min-height: 255px; gap: 18px; }
  .route-communities .page-heading h1 { font-size: 34px; }
  .route-communities .page-heading p { font-size: 13px; }
  .route-communities .page-heading > .btn { width: 42px; height: 42px; min-width: 42px; margin-top: 0; }
  .route-communities .community-discovery { padding-top: 0; gap: 11px; }
  .route-communities .community-directory { gap: 12px; }
  .route-communities .community-directory-image img { height: 105px; }
  .route-communities .community-directory-copy { padding: 10px; }
  .route-communities .community-directory-copy h2 { font-size: 13px; }
  .route-communities .community-directory-copy > p { font-size: 11px; min-height: 0; }
  .route-communities .community-directory-copy > .eyebrow { font-size: 8px; }
  .route-communities .community-directory-meta { font-size: 10px; }
  .route-communities .community-directory-copy .btn { font-size: 10px; width: 100%; }
  .canvas.route-community-create,.canvas.route-community-settings,.canvas.route-community-members { padding: 24px 16px 96px; }
  .community-ops-page > .page-heading { gap: 15px; }
  .community-ops-page > .page-heading h1 { font-size: 29px; }
  .community-ops-page > .page-heading > .text-link { font-size: 11px; }
  .community-create-layout { grid-template-columns: minmax(0,1fr); gap: 25px; }
  .community-preview-cover { height: 170px; }
  .community-preview-avatar { width: 98px; height: 98px; margin-top: -70px; }
  .community-preview-copy h2 { font-size: 28px; }
  .community-preview-copy { padding: 15px 24px 22px; }
  .community-ops-form .field input,.community-ops-form .field textarea,.community-ops-form .field select { font-size: 16px; }
  .community-ops-header { gap: 12px; flex-wrap: wrap; }
  .community-ops-header > img { width: 50px; height: 50px; }
  .community-ops-header > div { flex: 1; }
  .community-ops-header h1 { font-size: 25px; }
  .community-ops-header p { font-size: 11px; }
  .community-ops-header > .btn { margin-left: 62px; font-size: 11px; width: calc(100% - 62px); max-width: calc(100% - 62px); }
  .community-ops-tabs { overflow-x: auto; gap: 23px; margin-bottom: 18px; }
  .community-ops-tabs > a,.community-ops-tabs > button { font-size: 12px; }
  .community-manage-layout { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .community-manage-layout > .community-ops-form,.community-appearance { padding: 18px; }
  .community-members-tools { flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
  .community-member-search { flex-basis: 100%; }
  .community-member-row { grid-template-columns: 30px minmax(0,1fr) 98px 28px; gap: 8px; min-height: 64px; }
  .community-member-row > div > span { display: block; margin: 3px 0 0; font-size: 10px; }
  .community-member-row > select { min-height: 34px; padding: 6px; font-size: 10px; }
  .community-member-row strong { font-size: 11px; }
  .community-members-list ul { padding-inline: 4px; }
  .community-audit { padding: 18px; }
  .canvas.route-settings { padding: 0 16px 96px; }
  .settings-tabs { padding: 0; margin-bottom: 20px; gap: 22px; min-height: 51px; overflow-x: auto; }
  .settings-tabs button { font-size: 12px; }
  .settings-layout { grid-template-columns: minmax(0,1fr); gap: 23px; }
  .settings-preview-cover { height: 165px; margin-inline: -16px; width: calc(100% + 32px); max-width: none; }
  .settings-preview .profile-identity { grid-template-columns: 83px minmax(0,1fr); gap: 17px; margin-top: -40px; padding-bottom: 0; }
  .settings-preview .profile-avatar { width: 83px; height: 83px; }
  .settings-preview .profile-bio { padding-top: 46px; }
  .settings-preview .profile-name h1 { font-size: 25px; }
  .settings-preview .profile-bio > p { margin-top: 13px; font-size: 12px; }
  .settings-preview .profile-metrics { font-size: 10px; margin-top: 15px; }
  .settings-preview-caption { display: none; }
  .settings-save-bar { gap: 9px; padding: 8px 10px; }
  .settings-save-bar > span { font-size: 11px; flex-basis: 100%; }
  .settings-save-bar .btn { margin-left: auto; font-size: 11px; }
  .settings-form .field input,.settings-form .field textarea,.settings-form .field select { font-size: 16px; }
  .settings-media-row { flex-wrap: nowrap; align-items: center; gap: 10px; }
  .settings-media-row > div { gap: 9px; flex: 1; min-width: 0; }
  .settings-media-row .avatar { width: 48px; height: 48px; }
  .settings-media-row strong { font-size: 10px; }
  .settings-media-row small { font-size: 10px; max-width: 130px; }
  .settings-media-row .btn { font-size: 10px; padding-inline: 8px; }
  .settings-cover-thumb { width: 66px; height: 43px; }
  .auth-page { display: block; min-height: 100vh; }
  .auth-atmosphere { min-height: 215px; margin: 0; }
  .auth-atmosphere { background-position: center 48%; }
  .auth-atmosphere > img { opacity: 0; object-position: center 48%; }
  .auth-atmosphere::after { background: linear-gradient(0deg, var(--bg), transparent 75%); }
  .auth-atmosphere-top { top: 25px; left: 24px; right: 24px; justify-content: space-between; flex-wrap: nowrap; }
  .auth-wordmark { font-size: 25px; }
  .auth-atmosphere-top .text-link { font-size: 12px; }
  .auth-quote { left: 24px; right: 24px; bottom: 22px; padding-left: 14px; }
  .auth-quote blockquote { font-size: 13px; line-height: 1.45; }
  .auth-privacy { display: none; }
  .auth-form-side { padding: 0 24px 32px; }
  .auth-tabs { margin-bottom: 23px; min-height: 46px; gap: 28px; }
  .auth-tabs button { font-size: 13px; }
  .auth-form-content { max-width: none; }
  .auth-form-content > h1 { font-size: 35px; }
  .auth-form-content > p { font-size: 13px; margin-bottom: 22px; }
  .auth-provider { font-size: 13px; gap: 16px; }
  .auth-form input:not([type='checkbox']) { font-size: 16px; }
  .auth-form .field label { font-size: 12px; }
  .auth-options { font-size: 11px; gap: 10px; }
  .auth-options .text-link { font-size: 11px; }
  .auth-footnote,.auth-footnote .text-link { font-size: 12px !important; }
  .auth-legal { padding-top: 24px; gap: 8px; }
  .auth-legal .text-link { font-size: 10px; }
  .canvas.route-moderation { padding: 16px 16px 96px; }
  .mod-page > .page-heading { padding: 0; margin-bottom: 15px; }
  .mod-page h1 { font: 500 24px/1.4 var(--ui); }
  .mod-demo { font-size: 10px; }
  .mod-toolbar .tabs { gap: 19px; overflow-x: auto; }
  .mod-toolbar .tabs button { font-size: 12px; }
  .mod-case { grid-template-columns: 4px 52px minmax(0,1fr) 16px; min-height: 103px; padding: 12px 7px; gap: 9px; }
  .mod-case > img:not(.avatar) { width: 52px; height: 60px; }
  .mod-case > .avatar { width: 42px; height: 42px; }
  .mod-case-info strong { font-size: 12px; }
  .mod-case-info .eyebrow { font-size: 9px; }
  .mod-case-info > .muted,.mod-case-info small { font-size: 10px; }
  .mod-case-context { display: none; }
  .mod-evidence { padding: 13px; }
  .mod-evidence-content { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .mod-evidence-image { height: 185px; }
  .mod-inspector { margin-top: 0; }
  .mod-inspector > header,.mod-inspector > section,.mod-inspector > footer { padding: 14px; }
  .mod-decisions { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .mod-decisions button { min-height: 46px; font-size: 11px; }
}

@media (max-width: 360px) {
  .profile-story { grid-template-columns: minmax(0,1fr) 88px; gap: 9px; }
  .profile-story-copy h2 { font-size: 20px; }
  .profile-story-copy .profile-reactions { gap: 8px; }
  .profile-page .profile-metrics { gap: 9px; font-size: 10px; }
  .community-hero-content { grid-template-columns: 56px minmax(0,1fr); gap: 11px; }
  .community-emblem { width: 56px; height: 56px; }
  .community-hero-content h1 { font-size: 25px; }
  .community-member-row { grid-template-columns: 26px minmax(0,1fr) 89px 25px; gap: 6px; }
  .community-member-row > .avatar { width: 26px; height: 26px; }
  .auth-form-side { padding-inline: 20px; }
  .auth-atmosphere-top { left: 20px; right: 20px; gap: 15px; }
  .auth-options { flex-wrap: wrap; }
}

/* User-requested restoration of three truthful social-login controls. */
.auth-page .auth-provider > span:nth-child(2) { min-width: 0; flex: 1; white-space: normal; overflow-wrap: anywhere; }
.auth-page .auth-provider-status { margin: 7px 0 0; font-size: 12px; line-height: 1.5; }
.auth-page .auth-provider:disabled { cursor: not-allowed; }
@media (max-width: 700px) {
  .auth-page .auth-provider { gap: 12px; padding-inline: 12px; }
  .auth-page .auth-provider-status { font-size: 11px; }
}