:root {
	--sfb-site-bg: #f7f6f2;
	--sfb-site-surface: #ffffff;
	--sfb-site-soft: #efeee9;
	--sfb-site-ink: #191919;
	--sfb-site-muted: #626262;
	--sfb-site-line: #deddd7;
	--sfb-site-accent: #5148d8;
	--sfb-site-accent-soft: #eeecff;
	--sfb-site-focus: #5148d8;
	--sfb-site-chat-incoming: #ffffff;
	--sfb-site-chat-outgoing: #efeee9;
	--wp--preset--color--base: #f7f6f2;
	--wp--preset--color--surface: #ffffff;
	--wp--preset--color--contrast: #191919;
	--wp--preset--color--muted: #626262;
	--wp--preset--color--line: #deddd7;
	--wp--preset--color--accent: #5148d8;
	--wp--preset--color--accent-soft: #eeecff;
	color-scheme: light;
}
html[data-sfb-site-theme="dark"] {
	--sfb-site-bg: #000000;
	--sfb-site-surface: #000000;
	--sfb-site-soft: #000000;
	--sfb-site-ink: #f2f2f2;
	--sfb-site-muted: #aaaaaa;
	--sfb-site-line: #333333;
	--sfb-site-accent: #d4d4d4;
	--sfb-site-accent-soft: #111111;
	--sfb-site-focus: #f2f2f2;
	--sfb-site-chat-incoming: #111111;
	--sfb-site-chat-outgoing: #1b1b1b;
	--wp--preset--color--base: #000000;
	--wp--preset--color--surface: #000000;
	--wp--preset--color--contrast: #f2f2f2;
	--wp--preset--color--muted: #aaaaaa;
	--wp--preset--color--line: #333333;
	--wp--preset--color--accent: #d4d4d4;
	--wp--preset--color--accent-soft: #111111;
	color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
	html[data-sfb-site-theme="auto"] {
		--sfb-site-bg: #000000;
		--sfb-site-surface: #000000;
		--sfb-site-soft: #000000;
		--sfb-site-ink: #f2f2f2;
		--sfb-site-muted: #aaaaaa;
		--sfb-site-line: #333333;
		--sfb-site-accent: #d4d4d4;
		--sfb-site-accent-soft: #111111;
		--sfb-site-focus: #f2f2f2;
		--sfb-site-chat-incoming: #111111;
		--sfb-site-chat-outgoing: #1b1b1b;
		--wp--preset--color--base: #000000;
		--wp--preset--color--surface: #000000;
		--wp--preset--color--contrast: #f2f2f2;
		--wp--preset--color--muted: #aaaaaa;
		--wp--preset--color--line: #333333;
		--wp--preset--color--accent: #d4d4d4;
		--wp--preset--color--accent-soft: #111111;
		color-scheme: dark;
	}
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--sfb-site-bg); color: var(--sfb-site-ink); }
body { margin: 0; color: var(--sfb-site-ink); background: var(--sfb-site-bg); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; font-size: 16px; line-height: 1.75; transition:color .22s ease,background-color .22s ease; }
body, .wp-site-blocks { min-height: 100vh; }
body :is(h1,h2,h3,h4,h5,h6,p,li,dt,dd,figcaption,time,label) { color: var(--sfb-site-ink); }
body :is(small,.has-muted-color) { color: var(--sfb-site-muted); }
a { color: var(--sfb-site-accent); text-underline-offset: .18em; text-decoration-thickness: .07em; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--sfb-site-focus); outline-offset: 3px; }

.wp-site-blocks { display: flex; flex-direction: column; background: var(--sfb-site-bg); }
.wp-site-blocks > main { flex: 1 0 auto; }
.sfb-site-header { position:relative; z-index:20; width:100%; border-bottom:1px solid var(--sfb-site-line); background:var(--sfb-site-bg); animation:sfb-rise .45s ease-out both; transition:color .22s ease,background-color .22s ease,border-color .22s ease; }
.sfb-site-header__inner { display:flex; width:min(100% - 40px, 1240px); min-height:76px; align-items:center; justify-content:space-between; gap:24px; margin-inline:auto; }
.sfb-site-header .wp-block-site-title { flex:0 0 auto; margin:0; color:var(--sfb-site-ink); font-size:1rem; font-weight:800; letter-spacing:-.035em; }
.sfb-site-header .wp-block-site-title a { color:inherit; }
.sfb-site-header .wp-block-navigation { margin-inline-start:auto; }
.sfb-site-header .wp-block-navigation-item__content { padding:10px 9px; color:var(--sfb-site-muted); font-size:.9rem; }
.sfb-site-header .wp-block-navigation-item__content:hover { color:var(--sfb-site-ink); }
.sfb-site-header :is(.wp-block-navigation__responsive-container-open,.wp-block-navigation__responsive-container-close) { color:var(--sfb-site-ink); }
.sfb-site-header :is(.wp-block-navigation__responsive-container-open,.wp-block-navigation__responsive-container-close) svg { fill:currentColor; }
.sfb-site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open { color:var(--sfb-site-ink)!important; background:var(--sfb-site-bg)!important; }
.sfb-site-theme-switch { display:inline-flex; flex:0 0 auto; align-items:center; gap:1px; min-height:44px; padding:3px 0; color:var(--sfb-site-muted); font-size:.76rem; white-space:nowrap; }
.sfb-site-theme-switch__label { margin-inline-end:4px; font-weight:700; }
.sfb-site-theme-switch button { min-width:44px; min-height:38px; padding:6px 8px; border:0; border-bottom:2px solid transparent; border-radius:0; color:var(--sfb-site-muted); background:transparent; cursor:pointer; font:inherit; transition:color .18s ease,border-color .18s ease,background-color .18s ease; }
.sfb-site-theme-switch button:hover:not([aria-pressed="true"]) { color:var(--sfb-site-ink); }
.sfb-site-theme-switch button[aria-pressed="true"] { border-bottom-color:var(--sfb-site-ink); color:var(--sfb-site-ink); font-weight:800; }
.sfb-site-theme-switch button:focus-visible { outline:2px solid var(--sfb-site-ink); outline-offset:2px; }

.sfb-site-main { width:min(100% - 40px, 1160px); margin-inline:auto; padding-block:clamp(28px,5vw,66px) clamp(56px,8vw,100px); }
.sfb-hero { position:relative; overflow:hidden; padding:clamp(34px,7vw,86px) clamp(22px,6vw,72px); margin-block:0 clamp(34px,6vw,72px); background:var(--sfb-site-surface); border-radius:20px; animation:sfb-rise .65s cubic-bezier(.2,.8,.2,1) both; }
.sfb-hero > :nth-child(1) { animation:sfb-rise .55s .04s cubic-bezier(.2,.8,.2,1) both; }
.sfb-hero > :nth-child(2) { animation:sfb-rise .6s .1s cubic-bezier(.2,.8,.2,1) both; }
.sfb-hero > :nth-child(3) { animation:sfb-rise .6s .16s cubic-bezier(.2,.8,.2,1) both; }
.sfb-hero > :nth-child(4) { animation:sfb-rise .6s .22s cubic-bezier(.2,.8,.2,1) both; }
.sfb-hero::after { position:absolute; right:-80px; bottom:-140px; width:clamp(210px,32vw,410px); aspect-ratio:1; border:1px solid var(--sfb-site-line); border-radius:50%; content:""; pointer-events:none; animation:sfb-drift 18s ease-in-out infinite alternate; }
.sfb-hero__eyebrow { margin:0 0 14px; color:var(--sfb-site-accent)!important; font-size:.78rem; font-weight:800; letter-spacing:.12em; }
.sfb-hero h1 { max-width:820px; margin:0; font-size:clamp(2.5rem,7vw,5.8rem); font-weight:800; line-height:1.12; letter-spacing:-.065em; }
.sfb-hero p:not(.sfb-hero__eyebrow) { max-width:620px; margin:22px 0 0; color:var(--sfb-site-muted); font-size:clamp(1rem,2vw,1.18rem); line-height:1.9; }
.sfb-hero .wp-block-buttons { margin-top:28px; }
.sfb-hero .wp-block-button__link,body.sfb-systems-theme .sfb-site-main .wp-block-button__link { border:0; border-radius:999px; padding:13px 21px; color:var(--sfb-site-bg)!important; background:var(--sfb-site-ink)!important; font-size:.9rem; font-weight:750; text-decoration:none; transition:transform .18s ease,opacity .18s ease; }
.sfb-hero .wp-block-button__link:hover { opacity:.82; transform:translateY(-2px); }
.sfb-section-kicker { margin:0 0 8px; color:var(--sfb-site-accent)!important; font-size:.75rem; font-weight:850; letter-spacing:.12em; text-transform:uppercase; }
.sfb-site-content { padding-block:8px; animation:sfb-rise .55s .12s cubic-bezier(.2,.8,.2,1) both; }
.sfb-site-content > :first-child { margin-block-start:0; }
.sfb-site-content > :last-child { margin-block-end:0; }
.sfb-site-content > h1,.sfb-site-content > h2 { letter-spacing:-.045em; }
.sfb-site-content > :is(.wp-block-query,.sfb,.sfb-chat) { margin-block:28px; }
.sfb-site-content .wp-block-button__link { transition:transform .18s ease,opacity .18s ease,background-color .18s ease; }
.sfb-site-content .wp-block-button__link:hover { opacity:.86; transform:translateY(-2px); }

.sfb-site-footer { width:100%; border-top:1px solid var(--sfb-site-line); background:var(--sfb-site-bg); transition:color .22s ease,background-color .22s ease,border-color .22s ease; }
.sfb-site-footer__inner { display:flex; width:min(100% - 40px,1240px); min-height:100px; align-items:center; justify-content:space-between; gap:18px; margin-inline:auto; padding-block:24px; }
.sfb-site-footer .wp-block-site-title { margin:0; color:var(--sfb-site-ink); font-size:.9rem; font-weight:800; }
.sfb-site-footer .wp-block-site-title a { color:inherit; }
.sfb-site-footer__note { margin:0; color:var(--sfb-site-muted); font-size:.78rem; }
.sfb-entry-header { padding-block:14px 26px; border-bottom:1px solid var(--sfb-site-line); }
.sfb-entry-header h1 { margin:0; font-size:clamp(2rem,5vw,3.7rem); line-height:1.16; letter-spacing:-.055em; }
.sfb-entry-meta { color:var(--sfb-site-muted); font-size:.85rem; }
.sfb-entry-content { padding-block:30px 54px; }
.sfb-entry-content > * { max-width:760px; margin-inline:auto; }
.sfb-entry-content > .alignwide { max-width:1160px; }
.sfb-entry-content > .alignfull { max-width:none; }
.sfb-loop { display:grid; gap:0; }
.sfb-loop article { padding:24px 0; border-bottom:1px solid var(--sfb-site-line); }
.sfb-loop article { animation:sfb-rise .38s cubic-bezier(.2,.8,.2,1) both; }
.sfb-loop article:nth-child(2) { animation-delay:.04s; }
.sfb-loop article:nth-child(3) { animation-delay:.08s; }
.sfb-loop article:nth-child(4) { animation-delay:.12s; }
.sfb-loop article:nth-child(5) { animation-delay:.16s; }
.sfb-loop h2 { margin:0 0 8px; font-size:clamp(1.35rem,2.5vw,1.8rem); letter-spacing:-.04em; }
.sfb-loop h2 a { color:var(--sfb-site-ink); text-decoration:none; }
.sfb-loop h2 a:hover { color:var(--sfb-site-accent); }
.sfb-loop .wp-block-post-excerpt { color:var(--sfb-site-muted); }
.sfb-system-not-found { max-width:760px; margin:0 auto; padding-block:clamp(80px,15vw,180px); text-align:center; }
.sfb-system-not-found h1 { font-size:clamp(3rem,10vw,7rem); letter-spacing:-.08em; }

/* SFB components keep their own controls and tokens; the theme supplies a calm page frame. */
.sfb-systems-community-page .wp-site-blocks { overflow-x:clip; }
.sfb-systems-community-page .sfb-site-main { padding-block-start:clamp(20px,4vw,48px); }
.sfb-systems-theme .sfb-theme-toggle { display:none!important; }
.sfb-systems-theme .sfb-chat__theme-strip { display:none!important; }
body.sfb-systems-theme .sfb,
body.sfb-systems-theme .sfb[class*="sfb-theme--"] {
	--sfb-bg:var(--sfb-site-bg)!important; --sfb-card:var(--sfb-site-surface)!important; --sfb-input:var(--sfb-site-surface)!important;
	--sfb-captcha-bg:var(--sfb-site-soft)!important; --sfb-sticky:var(--sfb-site-soft)!important; --sfb-text:var(--sfb-site-ink)!important;
	--sfb-muted:var(--sfb-site-muted)!important; --sfb-line:var(--sfb-site-line)!important; --sfb-primary:var(--sfb-site-accent)!important;
	--sfb-link:var(--sfb-site-accent)!important; --sfb-primary-action:var(--sfb-site-ink)!important;
	--sfb-primary-action-hover:var(--sfb-site-muted)!important; --sfb-primary-action-text:var(--sfb-site-bg)!important;
	background:transparent!important; border:0!important; border-radius:0!important; box-shadow:none!important;
}
body.sfb-systems-theme .sfb-chat {
	--chat-bg:var(--sfb-site-bg)!important; --chat-surface:var(--sfb-site-surface)!important; --chat-input:var(--sfb-site-surface)!important;
	--chat-ink:var(--sfb-site-ink)!important; --chat-muted:var(--sfb-site-muted)!important; --chat-line:var(--sfb-site-line)!important;
	--chat-soft:var(--sfb-site-soft)!important; --chat-accent:var(--sfb-site-accent)!important;
	--chat-action:var(--sfb-site-ink)!important; --chat-action-hover:var(--sfb-site-muted)!important; --chat-action-text:var(--sfb-site-bg)!important;
	border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important;
}
html body.sfb-systems-theme.sfb-systems-community-page [data-sfb-display-region].sfb :is(.sfb-card,.sfb-form-card,.sfb-thread-row,.sfb-post:not(.sfb-chat__message),.sfb-chat__room-card) {
	border:0!important; border-bottom:1px solid var(--sfb-site-line)!important; border-radius:0!important;
	background:transparent!important; box-shadow:none!important;
}
/* Keep the BBS as a numbered stream, use owner-aligned bubbles for chat, and
   give the timeline more space without bringing back framed cards. */
html body.sfb-community-page.sfb-systems-theme.sfb-systems-community-page section.sfb.sfb-chat[data-sfb-display-region][data-sfb-display-mode="chat"] .sfb-chat__messages {
	gap:12px!important; padding:18px max(12px,calc(50% - 520px))!important; background:var(--sfb-site-bg)!important;
}
html body.sfb-community-page.sfb-systems-theme.sfb-systems-community-page section.sfb.sfb-chat[data-sfb-display-region][data-sfb-display-mode="chat"] .sfb-chat__message {
	align-self:flex-start!important; width:fit-content!important; max-width:min(84%,720px)!important;
	margin:2px auto 2px 0!important; padding:10px 14px!important;
	border:1px solid var(--sfb-site-line)!important; border-radius:12px!important;
	background:var(--sfb-site-chat-incoming)!important; box-shadow:none!important;
}
html body.sfb-community-page.sfb-systems-theme.sfb-systems-community-page section.sfb.sfb-chat[data-sfb-display-region][data-sfb-display-mode="chat"] .sfb-chat__message.is-mine {
	align-self:flex-end!important; margin:2px 0 2px auto!important;
	border:1px solid var(--sfb-site-line)!important; border-radius:12px!important;
	background:var(--sfb-site-chat-outgoing)!important;
}
html body.sfb-community-page.sfb-systems-theme.sfb-systems-community-page section.sfb:not(.sfb-chat)[data-sfb-display-region][data-sfb-display-mode="chat"] .sfb-posts {
	display:flex!important; flex-direction:column!important; align-items:stretch!important; gap:12px!important;
}
html body.sfb-community-page.sfb-systems-theme.sfb-systems-community-page section.sfb:not(.sfb-chat)[data-sfb-display-region][data-sfb-display-mode="chat"] .sfb-post {
	align-self:flex-start!important; width:fit-content!important; max-width:min(84%,720px)!important;
	margin:2px auto 2px 0!important; padding:10px 14px!important;
	border:1px solid var(--sfb-site-line)!important; border-radius:12px!important;
	background:var(--sfb-site-chat-incoming)!important; box-shadow:none!important;
}
html body.sfb-community-page.sfb-systems-theme.sfb-systems-community-page section.sfb:not(.sfb-chat)[data-sfb-display-region][data-sfb-display-mode="chat"] .sfb-post.is-mine {
	align-self:flex-end!important; margin:2px 0 2px auto!important;
	border:1px solid var(--sfb-site-line)!important; border-radius:12px!important;
	background:var(--sfb-site-chat-outgoing)!important;
}
html body.sfb-community-page.sfb-systems-theme.sfb-systems-community-page section.sfb.sfb-chat[data-sfb-display-region][data-sfb-display-mode="chat"] .sfb-post__number { display:none!important; }
html body.sfb-community-page.sfb-systems-theme.sfb-systems-community-page section.sfb:not(.sfb-chat)[data-sfb-display-region][data-sfb-display-mode="chat"] .sfb-post__number { display:none!important; }
html body.sfb-community-page.sfb-systems-theme.sfb-systems-community-page section.sfb.sfb-chat[data-sfb-display-region][data-sfb-display-mode="forum"] .sfb-chat__message {
	align-self:stretch!important; width:100%!important; max-width:100%!important; padding:10px 8px!important;
}
html body.sfb-community-page.sfb-systems-theme.sfb-systems-community-page section.sfb.sfb-chat[data-sfb-display-region][data-sfb-display-mode="timeline"] .sfb-chat__messages { gap:0!important; padding:8px max(12px,calc(50% - 520px))!important; }
html body.sfb-community-page.sfb-systems-theme.sfb-systems-community-page section.sfb.sfb-chat[data-sfb-display-region][data-sfb-display-mode="timeline"] .sfb-chat__message {
	align-self:stretch!important; width:100%!important; max-width:100%!important; margin:0!important; padding:18px 10px!important;
	border:0!important; border-bottom:1px solid var(--sfb-site-line)!important; border-radius:0!important;
	background:transparent!important; box-shadow:none!important;
}
html body.sfb-community-page.sfb-systems-theme.sfb-systems-community-page section.sfb.sfb-chat[data-sfb-display-region][data-sfb-display-mode="timeline"] .sfb-post__number { display:none!important; }
html body.sfb-community-page.sfb-systems-theme.sfb-systems-community-page section.sfb.sfb-chat[data-sfb-display-region][data-sfb-display-mode="timeline"] .sfb-post__body { padding-block:9px 6px!important; font-size:1rem; line-height:1.7; }
body.sfb-systems-theme.sfb-systems-community-page .sfb-community__latest { border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; }
body.sfb-systems-theme.sfb-systems-community-page .sfb-community__latest-header { background:transparent!important; }
body.sfb-systems-theme.sfb-systems-community-page :is(.sfb-community__latest-count,.sfb-community__latest-space) {
	border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important;
}
body.sfb-systems-theme .sfb .sfb-button,
body.sfb-systems-theme .sfb .sfb-action-pill,
body.sfb-systems-theme .sfb-chat button { border-radius:8px!important; box-shadow:none!important; }
body.sfb-systems-theme .sfb :is(input,textarea,select) { border:1px solid var(--sfb-site-line)!important; border-radius:8px!important; background:var(--sfb-site-surface)!important; color:var(--sfb-site-ink)!important; box-shadow:none!important; }
body.sfb-systems-theme.sfb-systems-community-page [data-sfb-display-region].sfb :is(.sfb-thread-row,.sfb-post,.sfb-chat__message) { animation:sfb-rise .36s cubic-bezier(.2,.8,.2,1) both; }
body.sfb-systems-theme.sfb-systems-community-page [data-sfb-display-region].sfb :is(.sfb-thread-row,.sfb-post,.sfb-chat__message):nth-child(2) { animation-delay:.035s; }
body.sfb-systems-theme.sfb-systems-community-page [data-sfb-display-region].sfb :is(.sfb-thread-row,.sfb-post,.sfb-chat__message):nth-child(3) { animation-delay:.07s; }
body.sfb-systems-theme.sfb-systems-community-page [data-sfb-display-region].sfb :is(.sfb-thread-row,.sfb-post,.sfb-chat__message):nth-child(4) { animation-delay:.105s; }
body.sfb-systems-theme.sfb-systems-community-page [data-sfb-display-region].sfb :is(.sfb-thread-row,.sfb-post,.sfb-chat__message):nth-child(5) { animation-delay:.14s; }
.sfb-systems-community-page .sfb-chat { margin-block:18px 28px!important; }
.sfb-systems-community-page .sfb-community-controls { margin-block-end:12px; }
.sfb-systems-community-page .sfb-access-gate { margin-block:24px; }

@keyframes sfb-rise { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@keyframes sfb-drift { from { transform:translate3d(0,0,0) rotate(-4deg); } to { transform:translate3d(-18px,-10px,0) rotate(4deg); } }

html[data-sfb-site-theme="dark"] body,
html[data-sfb-site-theme="dark"] .wp-site-blocks { color:var(--sfb-site-ink); background:#000; }
html[data-sfb-site-theme="dark"] .sfb-site-header,
html[data-sfb-site-theme="dark"] .sfb-site-footer,
html[data-sfb-site-theme="dark"] .sfb-hero { background:#000; }
html[data-sfb-site-theme="dark"] .sfb-hero::after { border-color:#333; }
html[data-sfb-site-theme="dark"] .sfb-entry-header,
html[data-sfb-site-theme="dark"] .sfb-loop article { border-color:#333; }
@media (prefers-color-scheme:dark) {
	html[data-sfb-site-theme="auto"] body,
	html[data-sfb-site-theme="auto"] .wp-site-blocks { color:var(--sfb-site-ink); background:#000; }
	html[data-sfb-site-theme="auto"] .sfb-site-header,
	html[data-sfb-site-theme="auto"] .sfb-site-footer,
	html[data-sfb-site-theme="auto"] .sfb-hero { background:#000; }
	html[data-sfb-site-theme="auto"] .sfb-hero::after { border-color:#333; }
	html[data-sfb-site-theme="auto"] .sfb-entry-header,
	html[data-sfb-site-theme="auto"] .sfb-loop article { border-color:#333; }
}
html[data-sfb-site-theme="light"] body,
html[data-sfb-site-theme="light"] .wp-site-blocks { color:var(--sfb-site-ink); background:#f7f6f2; }

@media(max-width:780px) {
	.sfb-site-header__inner { width:min(100% - 28px,1240px); min-height:68px; flex-wrap:wrap; gap:8px 14px; padding-block:10px; }
	.sfb-site-header .wp-block-navigation { order:3; width:100%; margin:0; }
	.sfb-site-header .wp-block-navigation__responsive-container-open { display:flex; min-width:44px; min-height:44px; align-items:center; justify-content:center; border:0; border-radius:50%; color:var(--sfb-site-ink); background:var(--sfb-site-soft); }
	.sfb-site-theme-switch { margin-inline-start:auto; }
	.sfb-site-theme-switch__label { display:none; }
	.sfb-site-theme-switch button { min-width:42px; }
	.sfb-site-main { width:min(100% - 28px,1160px); padding-block:22px 56px; }
	.sfb-hero { padding:34px 24px; border-radius:16px; }
	.sfb-hero::after { right:-100px; bottom:-150px; }
	.sfb-site-footer__inner { width:min(100% - 28px,1240px); min-height:88px; }
}
/* Conversation controls and rows use the viewport, including wide desktops. */
html body.sfb-community-page.sfb-systems-theme.sfb-systems-community-page section.sfb.sfb-chat[data-sfb-display-region][data-sfb-conversation-shell] .sfb-chat__messages {
  padding:12px clamp(12px,2.2vw,40px)!important;
}
html body.sfb-community-page.sfb-systems-theme.sfb-systems-community-page section.sfb.sfb-chat[data-sfb-display-region][data-sfb-conversation-shell] .sfb-post__body { max-width:100ch; }
html body.sfb-community-page.sfb-systems-theme.sfb-systems-community-page section.sfb.sfb-chat[data-sfb-display-region][data-sfb-conversation-shell]:has(> noscript > p) .sfb-chat__messages { padding-bottom:80px!important; }
@media(max-width:520px) {
	.sfb-site-header__inner { width:calc(100% - 24px); }
	.sfb-site-header .wp-block-navigation__responsive-container.is-menu-open { padding:24px; color:var(--sfb-site-ink); background:var(--sfb-site-bg); }
	.sfb-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items:stretch; padding-top:36px; }
	.sfb-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items:stretch; gap:4px; }
	.sfb-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { padding:12px 4px; font-size:1.1rem; }
	.sfb-site-theme-switch { min-height:40px; }
	.sfb-site-theme-switch button { min-width:40px; min-height:40px; padding-inline:6px; font-size:.72rem; }
	.sfb-site-main { width:calc(100% - 24px); }
	.sfb-hero { padding:30px 20px; margin-block-end:34px; }
	.sfb-hero h1 { font-size:clamp(2.35rem,12vw,3.8rem); }
	.sfb-hero p:not(.sfb-hero__eyebrow) { margin-top:16px; font-size:.98rem; }
	.sfb-site-footer__inner { width:calc(100% - 24px); align-items:flex-start; flex-direction:column; justify-content:center; gap:4px; }
}
@media(prefers-reduced-motion:reduce) {
	html { scroll-behavior:auto; }
	*,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; scroll-behavior:auto!important; transition-duration:.01ms!important; }
}

/* Embedded communities use the full content width on every page template. */
body.sfb-systems-community-page .sfb-site-main { --wp--style--global--content-size:1160px; max-width:1160px!important; padding-block:18px 28px; }
body.sfb-systems-community-page .sfb-site-main>.sfb-entry-header { position:absolute; width:1px; height:1px; margin:0!important; padding:0!important; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
body.sfb-systems-community-page .sfb-site-main>.wp-block-post-content { --wp--style--global--content-size:1160px; width:100%; max-width:1160px!important; margin-block-start:0!important; }
html body.sfb-community-page.sfb-systems-theme.sfb-systems-community-page section.sfb[data-sfb-display-region][data-sfb-text-size] :is(.sfb-post__body,.sfb-chat__message-body) { font-size:var(--sfb-reading-size)!important; line-height:1.8!important; }
body.sfb-systems-theme .sfb .sfb-reading-library__head details>div { box-shadow:0 8px 30px color-mix(in srgb,var(--sfb-site-ink) 20%,transparent); background:var(--sfb-site-surface); }
@media(max-width:600px) {
  body.sfb-systems-community-page .sfb-site-main { padding-block:8px 20px; }
}
body.sfb-systems-community-page .sfb-site-main>.wp-block-post-content { padding-block:0!important; }
body.sfb-systems-community-page .sfb-site-main .sfb-community { padding:8px 0!important; }
body.sfb-systems-community-page .sfb-site-main { margin-block-start:0!important; }
@media(max-width:780px) {
  .sfb-site-header .sfb-site-header__inner { flex-wrap:nowrap; gap:8px; min-height:62px; padding-block:5px; }
  .sfb-site-header .wp-block-site-title { flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .sfb-site-header .wp-block-navigation { flex:0 0 auto; width:auto; order:3; margin:0; }
  .sfb-site-header .sfb-site-theme-switch { margin-inline-start:auto; }
}
