/*
 * FediPlus Classic — Google+ inspired visual layer.
 * The original FediPress blocks and markup are deliberately left intact.
 * Design tokens are exposed through the existing --afv-* palette.
 */
html:root {
	--wp--preset--color--base: #ffffff;
	--wp--preset--color--surface: #f4f5f7;
	--wp--preset--color--line: #e4e6e9;
	--wp--preset--color--ink: #30343a;
	--wp--preset--color--muted: #747d89;
	--wp--preset--color--iris: #d34836;
	--wp--preset--color--reply: #4979ad;
	--wp--preset--color--repost: #46966e;
	--wp--preset--color--like: #d34836;
	--fplus-red: #d34836;
	--fplus-red-dark: #b83b2c;
	--fplus-text: #30343a;
	--fplus-dim: #737b84;
	--fplus-border: #e4e6e9;
	--fplus-canvas: #f2f3f5;
	--fplus-shadow: 0 1px 2px rgba(31, 36, 43, .10), 0 2px 8px rgba(31, 36, 43, .035);
	--fplus-header-height: 66px;
	--fplus-admin-offset: 0px;
	color-scheme: light;
}
body.admin-bar { --fplus-admin-offset: 32px; }
body {
	background: var(--fplus-canvas);
	color: var(--fplus-text);
	font-family: Arial, Helvetica, system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.58;
}
html { scroll-padding-top: calc(var(--fplus-header-height) + 20px); }
a { text-underline-offset: 3px; }
:where(a, button, input, textarea, select, summary):focus-visible {
	outline: 3px solid #e59184;
	outline-offset: 2px;
}
.wp-site-blocks { min-height: 100vh; }

/* Global red masthead */
.fplus-header-wrap {
	position: sticky;
	top: var(--fplus-admin-offset);
	z-index: 110;
	width: 100%;
	box-shadow: 0 2px 6px rgba(70, 35, 32, .17);
}
.fplus-header-wrap > * { margin-block: 0 !important; }
.fplus-header {
	min-height: var(--fplus-header-height);
	background: var(--fplus-red);
	color: #ffffff;
}
.fplus-header__inner {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: clamp(16px, 3vw, 42px);
	max-width: 1272px;
	min-height: var(--fplus-header-height);
	margin: 0 auto;
	padding: 0 24px;
}
.fplus-header__inner > * { margin-block: 0 !important; }
.fplus-wordmark {
	min-width: 212px;
	max-width: 272px;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none !important;
}
.fplus-wordmark:hover { color: #fff; opacity: .93; }
.fplus-wordmark__name { overflow: hidden; text-overflow: ellipsis; }
.fplus-wordmark__mark {
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	display: inline-grid;
	place-items: center;
	border: 1px solid rgba(255,255,255,.45);
	border-radius: 7px;
	font-size: 25px;
	font-weight: 800;
	letter-spacing: -4px;
	padding-right: 4px;
	line-height: 1;
	box-sizing: border-box;
}
.fplus-header-search { flex: 1 1 480px; width: min(100%, 520px); max-width: 520px; margin: 0 !important; }
.fplus-header-search .wp-block-search__inside-wrapper {
	display: flex;
	align-items: center;
	min-height: 40px;
	padding: 0 4px 0 14px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 4px;
	background: rgba(255,255,255,.20);
	transition: background .15s ease;
}
.fplus-header-search .wp-block-search__inside-wrapper:focus-within { background: #fff; }
.fplus-header-search .wp-block-search__input {
	width: 100%;
	min-width: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	color: #fff;
	font: inherit;
	font-size: 14px;
	padding: 8px 0;
	outline: none;
}
.fplus-header-search .wp-block-search__input::placeholder { color: rgba(255,255,255,.85); opacity: 1; }
.fplus-header-search .wp-block-search__inside-wrapper:focus-within .wp-block-search__input { color: var(--fplus-text); }
.fplus-header-search .wp-block-search__inside-wrapper:focus-within .wp-block-search__input::placeholder { color: #899099; }
.fplus-header-search .wp-block-search__button {
	display: grid;
	place-items: center;
	margin: 0;
	padding: 6px 10px;
	min-width: 34px;
	border: 0;
	border-radius: 3px;
	background: transparent;
	color: #fff;
}
.fplus-header-search .wp-block-search__button:hover { background: rgba(255,255,255,.1); }
.fplus-header-search .wp-block-search__button svg { fill: currentColor; width: 21px; height: 21px; }
.fplus-header-search .wp-block-search__inside-wrapper:focus-within .wp-block-search__button { color: var(--fplus-red); }
.fplus-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 20px; margin-left: auto; white-space: nowrap; }
.fplus-header__actions a { color: #fff; text-decoration: none !important; font-size: 14px; font-weight: 600; }
.fplus-header__actions a:hover { color: #fff; opacity: .82; }
.fplus-header__user { display: flex; align-items: center; gap: 9px; min-width: 0; max-width: 165px; }
.fplus-header__user > span { overflow: hidden; text-overflow: ellipsis; }
.fplus-header__avatar { border-radius: 50%; width: 34px; height: 34px; border: 2px solid rgba(255,255,255,.7); object-fit: cover; }
.fplus-header__login { padding: 7px 12px; border: 1px solid rgba(255,255,255,.6); border-radius: 4px; }

/* Consistent three-column shell. The original Gutenberg/FediPress classes remain. */
.afv-shell {
	box-sizing: border-box;
	width: min(1272px, calc(100% - 48px));
	max-width: 1272px;
	margin: 30px auto 70px !important;
	display: grid;
	grid-template-columns: 220px minmax(0, 670px) minmax(220px, 270px);
	gap: 24px;
	justify-content: center;
	align-items: start;
}
.afv-shell > * { margin: 0 !important; min-width: 0; }
.afv-main { min-width: 0; min-height: 70vh; background: transparent; border: 0; }
.afv-main > * { margin-block: 0; }
.afv-topbar {
	position: relative;
	top: auto !important;
	min-height: 0;
	padding: 0 0 16px;
	background: transparent;
	border: 0;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}
.afv-topbar__title {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 24px;
	font-weight: 500;
	letter-spacing: -.5px;
	color: #444;
}
.afv-topbar .afv-back { color: var(--fplus-red); }
.afv-intro, .afv-search-note {
	margin-bottom: 14px !important;
	padding: 12px 18px;
	background: #fff;
	border: 1px solid var(--fplus-border);
	border-radius: 4px;
}

/* Navigation: vertical icon links in the left column. */
.afv-rail {
	position: sticky;
	top: calc(var(--fplus-header-height) + var(--fplus-admin-offset) + 18px) !important;
	height: auto !important;
	max-height: calc(100vh - var(--fplus-header-height) - var(--fplus-admin-offset) - 36px);
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #d4d7db transparent;
}
.afv-rail__inner { gap: 12px; padding: 0; height: auto; min-height: 0; align-items: stretch; }
.afv-brand { display: none !important; }
.fplus-rail-label {
	margin: 3px 0 0 12px !important;
	color: #939aa3;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.6px;
}
.afv-nav { width: 100%; max-width: 100%; }
.afv-nav .wp-block-navigation__container { align-items: stretch; width: 100%; gap: 2px; flex-direction: column !important; flex-wrap: nowrap; }
.afv-nav .wp-block-navigation-item { width: 100%; }
.afv-nav .wp-block-navigation-item__content {
	width: 100%;
	box-sizing: border-box;
	display: flex !important;
	align-items: center;
	gap: 14px;
	min-height: 42px;
	padding: 9px 12px;
	border-radius: 4px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	color: #515760;
	text-decoration: none;
}
.afv-nav .wp-block-navigation-item__content:hover { color: var(--fplus-red); background: #fff; text-decoration: none; box-shadow: var(--fplus-shadow); }
.afv-nav .current-menu-item .wp-block-navigation-item__content,
.afv-nav .current_page_item .wp-block-navigation-item__content,
.afv-nav .wp-block-navigation-item__content[aria-current="page"] {
	font-weight: 700;
	color: var(--fplus-red);
	background: #fff;
	box-shadow: inset 3px 0 0 var(--fplus-red), var(--fplus-shadow);
}
.afv-nav .wp-block-navigation-item__content::before { width: 19px; height: 19px; }
.afv-rail__write { margin-top: 10px !important; }
.logged-in .afv-rail__write { display: flex; }
.afv-rail__write .wp-block-button__link {
	width: 100%;
	border: 0;
	border-radius: 4px;
	background: var(--fplus-red);
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 2px 4px rgba(165,53,39,.15);
}
.afv-rail__write .wp-block-button__link:hover { background: var(--fplus-red-dark); }
.afv-account-menu { margin-top: 8px; padding-top: 8px; border-top: 1px solid #e1e3e7; }
.afv-account-menu summary { border-radius: 4px; }

/* Composer is the first raised white feed card. */
.afv-main > .afv-composer,
.afv-main > .wp-block-ansico-fediverse-composer .afv-composer {
	margin: 0 0 16px !important;
	padding: 18px 20px;
	background: #fff;
	border: 1px solid #e6e8eb;
	border-radius: 5px;
	box-shadow: var(--fplus-shadow);
	grid-template-columns: 44px minmax(0,1fr);
	gap: 14px;
}
.afv-main .afv-composer:focus-within { background: #fff; box-shadow: 0 0 0 2px rgba(211,72,54,.09), var(--fplus-shadow); }
.afv-main .afv-composer__avatar img { width: 44px; height: 44px; object-fit: cover; }
.afv-main .afv-composer textarea {
	box-sizing: border-box;
	min-height: 52px;
	padding: 10px 12px;
	border: 1px solid #e8eaed;
	border-radius: 4px;
	background: #f8f9fa;
	color: var(--fplus-text);
	font: inherit;
	font-size: 15px;
	line-height: 1.45;
}
.afv-main .afv-composer textarea:focus { border-color: #e4a097; background: #fff; }
.afv-composer__bar { gap: 6px; margin-top: 12px; }
.afv-tool { border-radius: 4px; padding: 7px; }
.afv-tool:hover, .afv-tool[aria-pressed="true"] { background: #fff2ef; color: var(--fplus-red); }
.afv-composer__submit, .wp-element-button, .wp-block-button__link { border-radius: 4px; }
.afv-composer__submit:not(:disabled):hover, .wp-element-button:hover { background-color: var(--fplus-red-dark); }
.afv-composer__visibility, .afv-composer__language, .afv-composer input:not([type=checkbox]), .afv-composer select {
	border-radius: 4px;
}

/* Feed tabs and empty states. */
.afv-main > .afv-tabs,
.afv-main > .afv-home-tabs,
.afv-main > .afv-feed-status {
	margin-bottom: 16px !important;
}
.afv-main > .afv-tabs {
	background: #fff;
	border-radius: 5px;
	box-shadow: var(--fplus-shadow);
	border-bottom: 1px solid var(--fplus-border);
}
.afv-tabs a { padding: 13px 10px; color: #6b737d; font-weight: 600; }
.afv-tabs a:hover { background: #faf6f5; }
.afv-tabs a[aria-current], .afv-tabs a[aria-current="page"] { color: var(--fplus-red); border-bottom-color: var(--fplus-red); box-shadow: inset 0 -2px 0 var(--fplus-red); }
.afv-timeline { margin-top: 0 !important; }
.afv-timeline .wp-block-post-template {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 16px;
}
.afv-timeline .wp-block-post-template > li,
.afv-timeline .wp-block-post-template > .wp-block-post { margin: 0 !important; padding: 0; min-width: 0; }
.afv-timeline .wp-block-post-template > li > * { margin: 0 !important; }
.afv-post--list {
	box-sizing: border-box;
	grid-template-columns: 46px minmax(0, 1fr);
	gap: 13px;
	padding: 20px 22px 12px;
	background: #fff;
	border: 1px solid #e8e9eb;
	border-radius: 5px;
	box-shadow: var(--fplus-shadow);
	cursor: pointer;
	transition: box-shadow .16s ease;
}
.afv-post--list:hover { background: #fff; box-shadow: 0 3px 12px rgba(33,37,41,.12); }
.afv-post--list > .wp-block-avatar img { width: 46px; height: 46px; object-fit: cover; }
.afv-post__body { min-width: 0; }
.afv-post__body > * + * { margin-block-start: 9px; }
.afv-post__meta { gap: 3px 9px; font-size: 13px; line-height: 1.4; }
.afv-post__meta .wp-block-post-author-name a,
.afv-post__meta .wp-block-comment-author-name a { font-size: 15px; font-weight: 700; color: #3c4046; }
.afv-post__meta .wp-block-post-date a, .afv-post__meta .wp-block-post-date { color: #899099; font-size: 12px; }
.afv-post__meta .afv-handle { font-size: 12px; color: #899099; }
.afv-post__title { font-size: 20px; font-weight: 600; letter-spacing: -.2px; }
.afv-post__title a { color: #30343a; }
.afv-post__content, .afv-post__excerpt { font-size: 15px; line-height: 1.7; color: #454b53; }
.afv-post__content > :first-child { margin-top: 0; }
.afv-post__content > :last-child { margin-bottom: 0; }
.afv-post__content img, .afv-post__image img, .afv-post__body video, .afv-media img {
	max-width: 100%;
	height: auto;
	border-radius: 3px;
}
.afv-post__image img { width: 100%; }
.afv-post--list .afv-actions {
	max-width: none;
	margin: 16px 0 -1px !important;
	padding-top: 8px;
	border-top: 1px solid #edf0f1;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 9px;
}
.afv-actions .afv-action { border-radius: 4px; min-width: 36px; padding: 3px 8px; color: #727983; }
.afv-post--list .afv-action--like,
.afv-post--single .afv-action--like { gap: 5px; }
.afv-post--list .afv-action--like svg,
.afv-post--single .afv-action--like svg { display: none; }
.afv-post--list .afv-action--like::before,
.afv-post--single .afv-action--like::before {
	content: '+1';
	display: inline-grid;
	place-items: center;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	min-width: 20px;
	min-height: 20px;
	border: 1px solid currentColor;
	border-radius: 3px;
	color: var(--fplus-red);
}
.afv-post--list .afv-action--like.is-active::before,
.afv-post--single .afv-action--like.is-active::before { background: var(--fplus-red); color: #fff; border-color: var(--fplus-red); }
.afv-action--like:hover { color: var(--fplus-red); }
.afv-post--single {
	padding: 22px 24px;
	border: 1px solid var(--fplus-border);
	border-radius: 5px;
	background: #fff;
	box-shadow: var(--fplus-shadow);
}
.afv-thread { margin-top: 16px !important; background: #fff; border: 1px solid var(--fplus-border); border-radius: 5px; box-shadow: var(--fplus-shadow); }
.afv-reply { padding: 14px 20px; }
.afv-reply-form { margin-top: 14px !important; padding: 18px 20px; background: #fff; border-radius: 5px; box-shadow: var(--fplus-shadow); }
.afv-pagination { margin-top: 16px !important; border-radius: 5px; background: #fff; border: 1px solid var(--fplus-border); }
.afv-empty { background: #fff; border: 1px solid var(--fplus-border); border-radius: 5px; box-shadow: var(--fplus-shadow); }

/* Google+ inspired profile cover and large identity area. */
.afv-main > .afv-profile,
.afv-main > .afv-remote-profile,
.afv-main .afv-profile {
	margin-bottom: 18px !important;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--fplus-border);
	border-radius: 5px;
	box-shadow: var(--fplus-shadow);
}
.afv-profile__cover {
	aspect-ratio: 3.7 / 1;
	background: linear-gradient(115deg, #d34836 0%, #d96a55 53%, #f0b39e 100%);
}
.afv-profile__head { padding: 20px 24px 12px; }
.afv-profile__avatar { border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.13); border-radius: 50%; }
.afv-profile__name { font-size: 25px; font-weight: 600; }
.afv-profile__counts { padding-bottom: 14px; }
.afv-profile__buttons .wp-element-button { border-radius: 4px; }

/* Right-hand discovery area. */
.afv-side {
	position: sticky;
	top: calc(var(--fplus-header-height) + var(--fplus-admin-offset) + 18px) !important;
	height: auto !important;
	max-height: calc(100vh - var(--fplus-header-height) - var(--fplus-admin-offset) - 36px);
	overflow-y: auto;
	scrollbar-width: thin;
}
.afv-side__inner { display: flex; flex-direction: column; gap: 16px; padding: 0; }
.afv-side__inner > * { margin: 0 !important; }
.fplus-discover, .afv-side__inner > .afv-follow, .afv-side__inner > .afv-following,
.afv-side__inner > .afv-panel {
	padding: 18px;
	border: 1px solid var(--fplus-border);
	border-radius: 5px;
	background: #fff;
	box-shadow: var(--fplus-shadow);
}
.fplus-discover > * { margin: 0; }
.fplus-discover__heading { color: #4a4f55; font-size: 15px; font-weight: 700; }
.fplus-discover__intro { margin-top: 7px !important; color: var(--fplus-dim); font-size: 13px; line-height: 1.55; }
.fplus-discover__links { display: grid; gap: 7px; margin-top: 15px !important; }
.fplus-discover__links a { color: var(--fplus-red); font-size: 13px; font-weight: 600; }
.afv-side .afv-panel { background: #fff; border-radius: 4px; }
.afv-side .afv-panel__title { font-family: Arial, Helvetica, sans-serif; font-size: 15px; }
.afv-colophon { padding: 0 10px; font-size: 12px; color: #9aa0a8; }
.afv-colophon a { color: #8d959e; }

/* Miscellaneous plugin screens inherit the same paper-card language. */
.afv-main > :is(.afv-about, .afv-discover, .afv-directory, .afv-trends, .afv-suggest, .afv-list-index,
 .afv-prefpage, .afv-prefs, .afv-signup, .afv-login, .afv-filter-list, .afv-people,
 .afv-full-list, .afv-notify-settings, .afv-dm-list, .afv-dm-chat, .afv-photos,
 .afv-collections, .afv-article-reader, .afv-professional-hub, .afv-messages) {
	box-sizing: border-box;
	margin-bottom: 16px !important;
	padding: 18px;
	background: #fff;
	border: 1px solid var(--fplus-border);
	border-radius: 5px;
	box-shadow: var(--fplus-shadow);
}
.afv-main :is(.afv-card, .afv-news-card, .afv-photo, .afv-remote-result, .afv-quote) {
	border-radius: 5px;
}
.afv-main :is(input, textarea, select):not([type="checkbox"]):not([type="radio"]) { accent-color: var(--fplus-red); }
.afv-main :is(input, textarea, select):focus-visible { outline-color: #e59184; }
.afv-fab { background: var(--fplus-red); box-shadow: 0 3px 14px rgba(183,54,38,.25); }
.afv-fab:hover { background: var(--fplus-red-dark); }

/* Medium screens: preserve a comfortable reading width. */
@media (max-width: 1150px) {
	.afv-shell { grid-template-columns: 200px minmax(0, 670px) minmax(190px, 250px); gap: 18px; }
	.fplus-wordmark { min-width: 200px; }
}
@media (max-width: 1030px) {
	.afv-shell { grid-template-columns: 195px minmax(0, 670px); max-width: 924px; }
	.afv-side { display: none; }
	.fplus-header__inner { max-width: 964px; }
}
@media (max-width: 820px) {
	.afv-shell { width: calc(100% - 32px); grid-template-columns: 166px minmax(0, 1fr); gap: 16px; }
	.fplus-header__inner { padding-inline: 16px; gap: 14px; }
	.fplus-wordmark { min-width: 168px; max-width: 168px; }
	.fplus-header__actions { gap: 10px; }
	.fplus-header__user > span { display: none; }
	.afv-nav .wp-block-navigation-item__content { font-size: 13px; gap: 9px; }
	.afv-post--list { padding: 17px 16px 10px; }
}
/* Phones and narrow tablets use the scrollable original navigation as a bottom bar. */
@media (max-width: 760px) {
	html:root { --fplus-header-height: 58px; }
	.afv-shell {
		display: block;
		width: min(100%, 680px);
		max-width: 680px;
		margin: 18px auto 0 !important;
		padding: 0 12px calc(83px + env(safe-area-inset-bottom,0px));
	}
	.afv-main { width: 100%; min-height: 70vh; }
	.afv-main > .afv-composer { padding: 14px; }
	.afv-main > .afv-tabs { margin-bottom: 12px !important; }
	.afv-timeline .wp-block-post-template { gap: 12px; }
	.afv-post--list { padding: 16px 14px 10px; }
	.afv-side { display: none !important; }
	.afv-rail {
		position: fixed;
		inset: auto 0 0 0;
		top: auto !important;
		bottom: 0;
		z-index: 120;
		width: 100%;
		max-width: 100%;
		height: auto !important;
		max-height: none;
		overflow: hidden;
		padding: 0 0 env(safe-area-inset-bottom, 0px);
		border: 0;
		border-top: 1px solid #e3e4e8;
		background: #fff;
		box-shadow: 0 -3px 15px rgba(0,0,0,.055);
	}
	.afv-rail__inner {
		padding: 0;
		min-height: 0;
		width: 100%;
		max-width: 100%;
		overflow: hidden;
	}
	.fplus-rail-label, .afv-brand, .afv-rail__write, .afv-rail .afv-account-menu { display: none !important; }
	.afv-nav {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		display: block;
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		touch-action: pan-x;
	}
	.afv-nav::-webkit-scrollbar { display: none; }
	.afv-nav .wp-block-navigation__container {
		display: flex;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		justify-content: flex-start !important;
		align-items: stretch;
		gap: 0;
		width: max-content;
		min-width: 100%;
		overflow: visible;
	}
	.afv-nav .wp-block-navigation-item {
		display: flex;
		flex: 0 0 auto;
		width: auto;
		min-width: 67px;
		justify-content: center;
	}
	.afv-nav .wp-block-navigation-item__content {
		box-sizing: border-box;
		display: flex !important;
		flex-direction: column;
		gap: 4px;
		justify-content: center;
		min-width: 65px;
		min-height: 62px;
		padding: 8px 7px;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		font-size: 10px;
		font-weight: 600;
		line-height: 1.2;
		text-align: center;
	}
	.afv-nav .wp-block-navigation-item__content::before { width: 20px; height: 20px; }
	.afv-nav .current-menu-item .wp-block-navigation-item__content,
	.afv-nav .wp-block-navigation-item__content[aria-current="page"] {
		border-top: 3px solid var(--fplus-red);
		padding-top: 5px;
		box-shadow: none;
	}
	.fplus-header__inner { min-height: 58px; padding: 0 12px; gap: 12px; }
	.fplus-wordmark { min-width: auto; max-width: 158px; font-size: 15px; gap: 7px; }
	.fplus-wordmark__mark { width: 34px; height: 34px; flex-basis: 34px; font-size: 22px; }
	.fplus-header-search { max-width: none; flex: 1 1 auto; }
	.fplus-header-search .wp-block-search__inside-wrapper { min-height: 37px; padding-left: 9px; }
	.fplus-header-search .wp-block-search__input { font-size: 13px; }
	.fplus-header__explore { display: none; }
	.fplus-header__actions { margin-left: 0; }
	.fplus-header__avatar { width: 31px; height: 31px; }
	.afv-topbar { padding: 0 2px 12px; }
	.afv-topbar__title { font-size: 22px; }
	.afv-fab { bottom: calc(80px + env(safe-area-inset-bottom,0px)); }
}
@media (max-width: 470px) {
	.fplus-wordmark__name { display: none; }
	.fplus-wordmark { width: 34px; max-width: 34px; }
	.fplus-header__user { max-width: 33px; }
	.fplus-header__login { font-size: 12px !important; padding: 6px 7px; }
	.afv-post--list { grid-template-columns: 38px minmax(0,1fr); gap: 10px; padding: 14px 11px 10px; }
	.afv-post--list > .wp-block-avatar img { width: 38px; height: 38px; }
	.afv-post__meta { column-gap: 6px; }
	.afv-main .afv-composer { grid-template-columns: 38px minmax(0,1fr); gap: 10px; }
	.afv-main .afv-composer__avatar img { width: 38px; height: 38px; }
	.afv-profile__head { padding: 16px; }
	.afv-profile__name { font-size: 22px; }
	.afv-post--single { padding: 16px; }
}
@media (max-width: 782px) {
	body.admin-bar { --fplus-admin-offset: 46px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
/* Override the source theme's compact-desktop rule which hid the compose button. */
@media (min-width: 761px) {
	.logged-in .afv-rail__write { display: flex !important; }
}
