/* Groups. Colors come from the theme, with fallbacks for other themes. */
body {
	--afv-g-line: var(--wp--preset--color--line, #dcdce4);
	--afv-g-surface: var(--wp--preset--color--surface, #f2f2f6);
	--afv-g-ink: var(--wp--preset--color--ink, #1b1838);
	--afv-g-muted: var(--wp--preset--color--muted, #666);
	--afv-g-iris: var(--wp--preset--color--iris, #4a38d9);
	--afv-g-base: var(--wp--preset--color--base, #fff);
	--afv-g-like: var(--wp--preset--color--like, #c81e5b);
	--afv-g-danger: #c62828;
}
@media (prefers-color-scheme: dark) {
	body { --afv-g-danger: #ff8a80; }
}

.afv-g-top .afv-g-create { margin-left: auto; padding: 0.4rem 0.9rem; font-size: 0.9375rem; }
.afv-g-back { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; color: inherit; text-decoration: none; font-size: 1.25rem; }
.afv-g-back:hover { background: var(--afv-g-surface); }
.afv-g-face { border-radius: 50%; display: block; object-fit: cover; flex: none; background: var(--afv-g-surface); }
.afv-g-note { color: var(--afv-g-muted); font-size: 0.875rem; margin: 0.25rem 0; }
.afv-g-note--box { margin: 0; padding: 0.85rem 1rem; border-bottom: 1px solid var(--afv-g-line); }
.afv-g-pad { padding-inline: 1rem; }
.afv-g-h { font-size: 1.0625rem; margin: 1.25rem 1rem 0.5rem; }
.afv-g-h span { color: var(--afv-g-muted); font-weight: 400; }
.afv-g-role { display: inline-block; margin-left: 0.35rem; padding: 0 0.45rem; border-radius: 999px; background: color-mix(in srgb, var(--afv-g-iris) 14%, transparent); color: var(--afv-g-iris); font-size: 0.75rem; font-weight: 600; line-height: 1.6; vertical-align: 0.1em; }
.afv-g-pill { display: inline-flex; align-items: center; padding: 0.35rem 0.85rem; border-radius: 999px; background: var(--afv-g-surface); color: var(--afv-g-muted); font-size: 0.9375rem; }
.is-danger, button.is-danger { color: var(--afv-g-danger) !important; }
.wp-element-button.is-danger { background: transparent; border: 1px solid currentColor; }

/* Header */
.afv-g-head__cover { aspect-ratio: 3 / 1; background: linear-gradient(135deg, hsl(var(--afv-g-hue, 250) 70% 62%), hsl(calc(var(--afv-g-hue, 250) + 50) 70% 52%)); overflow: hidden; }
.afv-g-head__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.afv-g-head__body { padding: 0.9rem 1rem 0.75rem; }
.afv-g-head__name { margin: 0; font-size: 1.625rem; line-height: 1.2; }
.afv-g-head__meta { margin: 0.25rem 0 0; color: var(--afv-g-muted); font-size: 0.9375rem; }
.afv-g-head__meta a { color: inherit; font-weight: 600; }
.afv-g-head__faces { display: flex; margin: 0.6rem 0 0; padding-left: 6px; }
.afv-g-head__faces img { width: 30px; height: 30px; margin-left: -6px; border: 2px solid var(--afv-g-base); }
.afv-g-head__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; align-items: center; }
.afv-g-head__actions .wp-element-button { padding: 0.45rem 1rem; font-size: 0.9375rem; border: 0; cursor: pointer; }
.afv-g-invited { margin: 0.6rem 0 0; padding: 0.6rem 0.8rem; border-radius: 10px; background: color-mix(in srgb, var(--afv-g-iris) 12%, transparent); font-size: 0.9375rem; }
.afv-g-tabs { position: sticky; top: 3.5rem; z-index: 4; background: var(--afv-g-base); overflow-x: auto; }
.admin-bar .afv-g-tabs { top: calc(3.5rem + 32px); }
.afv-g-tabs a { flex: 1 0 auto; white-space: nowrap; padding-inline: 0.75rem; }

/* Menus */
.afv-g-menu { position: relative; margin-left: auto; }
.afv-g-menu__toggle { border: 0; background: transparent; color: var(--afv-g-muted); border-radius: 999px; cursor: pointer; font: inherit; min-width: 2rem; height: 2rem; line-height: 1; font-size: 1.25rem; }
.afv-g-menu__toggle:hover { background: var(--afv-g-surface); }
.afv-g-joined { margin-left: 0; }
.afv-g-joined .afv-g-menu__toggle { color: inherit; font-size: 0.9375rem; height: auto; }
.afv-g-menu__list { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 15rem; padding: 0.35rem; border: 1px solid var(--afv-g-line); border-radius: 12px; background: var(--afv-g-base); box-shadow: 0 10px 30px rgb(0 0 0 / 0.18); }
.afv-g-joined .afv-g-menu__list { left: 0; right: auto; }
.afv-g-menu__list button { display: block; width: 100%; padding: 0.55rem 0.7rem; border: 0; border-radius: 8px; background: transparent; color: inherit; font: inherit; font-size: 0.9375rem; text-align: left; cursor: pointer; }
.afv-g-menu__list button:hover, .afv-g-menu__list button:focus-visible { background: var(--afv-g-surface); }
.afv-g-menu__list [aria-checked="true"]::before { content: "✓ "; }
.afv-g-menu__list hr { border: 0; border-top: 1px solid var(--afv-g-line); margin: 0.35rem 0; }
.afv-g-menu__label { margin: 0.3rem 0.7rem; font-size: 0.8125rem; color: var(--afv-g-muted); }

/* Composer */
.afv-g-compose { display: flex; gap: 0.75rem; padding: 0.9rem 1rem; border-bottom: 1px solid var(--afv-g-line); }
.afv-g-compose .afv-g-face { width: 40px; height: 40px; }
.afv-g-compose__main { flex: 1; min-width: 0; }
.afv-g-compose textarea, .afv-g-cform textarea, .afv-g-editbox textarea { width: 100%; box-sizing: border-box; resize: none; border: 1px solid var(--afv-g-line); border-radius: 12px; padding: 0.6rem 0.8rem; background: var(--afv-g-surface); color: inherit; font: inherit; font-size: 1rem; }
.afv-g-compose__bar { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.5rem; }
.afv-g-compose__bar .wp-element-button { margin-left: auto; padding: 0.4rem 1.1rem; border: 0; cursor: pointer; }
.afv-g-pickfile { display: inline-flex; align-items: center; gap: 0.3rem; cursor: pointer; color: var(--afv-g-muted); font-size: 0.9375rem; border-radius: 999px; padding: 0.25rem 0.5rem; }
.afv-g-pickfile:hover { background: var(--afv-g-surface); }
.afv-g-status { color: var(--afv-g-muted); font-size: 0.875rem; margin: 0; }
.afv-g-files { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.afv-g-files:not(:empty) { margin-top: 0.5rem; }
.afv-g-file { position: relative; width: 104px; }
.afv-g-file img { width: 104px; height: 104px; object-fit: cover; border-radius: 10px; display: block; }
.afv-g-file input { width: 100%; box-sizing: border-box; margin-top: 0.25rem; font-size: 0.75rem; padding: 0.15rem 0.35rem; border: 1px solid var(--afv-g-line); border-radius: 6px; background: transparent; color: inherit; }
.afv-g-file.is-loading img { opacity: 0.45; }
.afv-g-file__x { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgb(0 0 0 / 0.65); color: #fff; cursor: pointer; line-height: 1; }

.afv-g-sort { display: flex; gap: 0.75rem; align-items: center; padding: 0.6rem 1rem; font-size: 0.875rem; color: var(--afv-g-muted); border-bottom: 1px solid var(--afv-g-line); }
.afv-g-sort a { color: inherit; text-decoration: none; padding: 0.15rem 0.6rem; border-radius: 999px; }
.afv-g-sort a[aria-current] { background: var(--afv-g-surface); color: var(--afv-g-ink); font-weight: 600; }

/* Posts */
.afv-g-post { padding: 0.85rem 1rem 0.5rem; border-bottom: 1px solid var(--afv-g-line); }
.afv-g-post.is-pinned { background: color-mix(in srgb, var(--afv-g-iris) 5%, transparent); }
.afv-g-post__pin { margin: 0 0 0.4rem; font-size: 0.8125rem; font-weight: 600; color: var(--afv-g-muted); }
.afv-g-post__head { display: flex; align-items: flex-start; gap: 0.65rem; }
.afv-g-post__head .afv-g-face { width: 40px; height: 40px; }
.afv-g-post__who { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.afv-g-post__name { font-weight: 700; color: inherit; text-decoration: none; }
.afv-g-post__name:hover { text-decoration: underline; }
.afv-g-post__group { font-weight: 700; color: inherit; text-decoration: none; font-size: 0.9375rem; }
.afv-g-post__group + span .afv-g-post__name { font-weight: 600; font-size: 0.9375rem; }
.afv-g-post__meta { color: var(--afv-g-muted); font-size: 0.8125rem; }
.afv-g-post__meta a { color: inherit; text-decoration: none; }
.afv-g-post__meta a:hover { text-decoration: underline; }
.afv-g-text { overflow-wrap: anywhere; }
.afv-g-text > p { margin: 0 0 0.5rem; }
.afv-g-text > p:last-child { margin-bottom: 0; }
.afv-g-post__text { margin: 0.55rem 0 0.6rem; font-size: 1rem; line-height: 1.5; }
.afv-g-post__text.is-big { font-size: 1.25rem; line-height: 1.4; }
.afv-g-mention { font-weight: 600; }
.afv-g-editbox { margin: 0.5rem 0; }
.afv-g-editbox p { display: flex; gap: 0.5rem; justify-content: flex-end; margin: 0.4rem 0 0; }
.afv-g-editbox .wp-element-button { padding: 0.3rem 0.9rem; font-size: 0.875rem; border: 0; cursor: pointer; }

.afv-g-media { display: grid; gap: 3px; margin: 0.25rem -1rem 0.5rem; overflow: hidden; }
.afv-g-media--2 { grid-template-columns: 1fr 1fr; }
.afv-g-media--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.afv-g-media--3 .afv-g-media__item:first-child { grid-row: span 2; }
.afv-g-media--4 { grid-template-columns: 1fr 1fr; }
.afv-g-media__item { position: relative; display: block; background: var(--afv-g-surface); }
.afv-g-media img { width: 100%; height: 100%; max-height: 32rem; object-fit: cover; display: block; }
.afv-g-media--1 img { object-fit: contain; height: auto; max-height: 36rem; }
.afv-g-media--2 img, .afv-g-media--4 img { aspect-ratio: 1; }
.afv-g-media__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(0 0 0 / 0.5); color: #fff; font-size: 2rem; font-weight: 700; }
.afv-g-media.is-compact { margin: 0.35rem 0 0; display: block; }
.afv-g-media.is-compact img { max-width: 14rem; max-height: 14rem; border-radius: 12px; width: auto; height: auto; }

/* Reactions */
.afv-g-react__line { display: flex; align-items: center; gap: 0.75rem; padding: 0.35rem 0; font-size: 0.875rem; color: var(--afv-g-muted); }
.afv-g-react__sum { display: inline-flex; align-items: center; gap: 0.35rem; }
.afv-g-react__emojis { display: inline-flex; }
.afv-g-react__emojis span { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; margin-left: -0.2rem; border-radius: 50%; background: var(--afv-g-base); font-size: 0.8125rem; box-shadow: 0 0 0 2px var(--afv-g-base); }
.afv-g-react__emojis span:first-child { margin-left: 0; }
.afv-g-react__comments { margin-left: auto; color: inherit; text-decoration: none; }
.afv-g-react__comments:hover { text-decoration: underline; }
.afv-g-react__buttons { display: flex; gap: 0.25rem; border-top: 1px solid var(--afv-g-line); padding-top: 0.25rem; }
.afv-g-react__buttons > * { flex: 1; }
.afv-g-react__wrap { position: relative; display: inline-flex; }
.afv-g-react__buttons > .afv-g-react__wrap { justify-content: center; align-items: center; }
.afv-g-act { border: 0; background: transparent; color: var(--afv-g-muted); font: inherit; font-size: 0.9375rem; font-weight: 600; padding: 0.45rem 0.6rem; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 0.25rem; }
.afv-g-act:hover { background: var(--afv-g-surface); }
.afv-g-act.is-on { color: var(--afv-g-iris); }
.afv-g-act--love.is-on, .afv-g-act--angry.is-on { color: var(--afv-g-like); }
.afv-g-act--haha.is-on, .afv-g-act--wow.is-on, .afv-g-act--sad.is-on { color: #c88a00; }
.afv-g-act--more { flex: none !important; padding-inline: 0.4rem; font-size: 0.875rem; }
.afv-g-picker { position: absolute; bottom: calc(100% + 6px); left: 0; z-index: 15; display: flex; gap: 0.15rem; padding: 0.3rem; border-radius: 999px; background: var(--afv-g-base); border: 1px solid var(--afv-g-line); box-shadow: 0 8px 24px rgb(0 0 0 / 0.18); }
.afv-g-picker[hidden] { display: none; }
.afv-g-picker button { border: 0; background: transparent; font-size: 1.6rem; line-height: 1; padding: 0.25rem; border-radius: 50%; cursor: pointer; transition: transform 0.12s; }
.afv-g-picker button:hover, .afv-g-picker button:focus-visible { transform: scale(1.25); }
.afv-g-picker button[aria-pressed="true"] { background: var(--afv-g-surface); }
@media (prefers-reduced-motion: reduce) { .afv-g-picker button { transition: none; } }

/* Comments */
.afv-g-comments { padding-top: 0.25rem; }
.afv-g-comments__more { display: inline-block; margin: 0.25rem 0; font-size: 0.875rem; font-weight: 600; color: var(--afv-g-muted); }
.afv-g-comment-list, .afv-g-replies { list-style: none; margin: 0; padding: 0; }
.afv-g-replies { margin-left: 0; }
.afv-g-replies:not(:empty) { margin-top: 0.35rem; }
.afv-g-comment { display: flex; gap: 0.5rem; margin: 0.45rem 0; }
.afv-g-comment__face .afv-g-face { width: 32px; height: 32px; }
.afv-g-replies .afv-g-comment__face .afv-g-face { width: 26px; height: 26px; }
.afv-g-comment__main { min-width: 0; flex: 1; }
.afv-g-comment__bubble { display: inline-block; max-width: 100%; box-sizing: border-box; padding: 0.45rem 0.75rem; border-radius: 16px; background: var(--afv-g-surface); font-size: 0.9375rem; line-height: 1.4; }
.afv-g-comment__name { font-weight: 700; color: inherit; text-decoration: none; font-size: 0.875rem; }
.afv-g-comment__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.1rem 0.5rem; padding-left: 0.6rem; font-size: 0.8125rem; color: var(--afv-g-muted); }
.afv-g-comment__meta > a { color: inherit; text-decoration: none; }
.afv-g-comment__meta .afv-g-act { font-size: 0.8125rem; padding: 0.15rem 0.3rem; }
.afv-g-comment__meta .afv-g-menu { margin-left: 0; }
.afv-g-comment__meta .afv-g-menu__toggle { height: 1.5rem; min-width: 1.5rem; font-size: 1rem; opacity: 0.6; }
.afv-g-comment:hover .afv-g-menu__toggle, .afv-g-menu__toggle:focus-visible { opacity: 1; }
.afv-g-react.is-comment { display: inline-flex; align-items: center; gap: 0.25rem; }
.afv-g-react.is-comment .afv-g-react__sum { font-size: 0.8125rem; }
.afv-g-cform { display: flex; gap: 0.5rem; margin: 0.5rem 0 0.4rem; }
.afv-g-cform .afv-g-face { width: 32px; height: 32px; }
.afv-g-cform__box { flex: 1; min-width: 0; position: relative; }
.afv-g-cform textarea { border-radius: 18px; padding: 0.45rem 6rem 0.45rem 0.9rem; font-size: 0.9375rem; min-height: 2.25rem; }
.afv-g-cform__bar { position: absolute; right: 0.35rem; top: 0.2rem; display: flex; align-items: center; gap: 0.1rem; }
.afv-g-cform__to:not([hidden]) + input + label + textarea ~ .afv-g-cform__bar { top: 1.85rem; }
.afv-g-cform__to { margin: 0 0 0.25rem 0.5rem; font-size: 0.8125rem; color: var(--afv-g-muted); }
.afv-g-cform__to button { border: 0; background: none; color: var(--afv-g-iris); font: inherit; cursor: pointer; padding: 0; }
.afv-g-send { border: 0; background: transparent; color: var(--afv-g-iris); font: inherit; font-weight: 700; font-size: 0.875rem; cursor: pointer; padding: 0.25rem 0.5rem; border-radius: 999px; }
.afv-g-send:hover { background: color-mix(in srgb, var(--afv-g-iris) 12%, transparent); }
.afv-g-cform .afv-g-pickfile { padding: 0.15rem 0.35rem; }
.afv-g-cform .afv-g-file, .afv-g-cform .afv-g-file img { width: 72px; height: 72px; }
.afv-g-cform .afv-g-file input { display: none; }

.afv-g-more { text-align: center; padding: 1rem; margin: 0; }
.afv-g-closed { text-align: center; padding: 2.5rem 1.5rem 1rem; }
.afv-g-closed__icon { font-size: 2.25rem; margin: 0; }
.afv-g-closed h2 { margin: 0.5rem 0 0.25rem; font-size: 1.25rem; }
.afv-g-closed p { color: var(--afv-g-muted); margin: 0; }

/* Lists of groups */
.afv-g-cards { list-style: none; margin: 0; padding: 0.75rem 1rem; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.afv-g-card { border: 1px solid var(--afv-g-line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; background: var(--afv-g-base); }
.afv-g-card__link { display: flex; flex-direction: column; color: inherit; text-decoration: none; flex: 1; }
.afv-g-card__link:hover strong { text-decoration: underline; }
.afv-g-card__cover { aspect-ratio: 2.4 / 1; display: grid; place-items: center; background: linear-gradient(135deg, hsl(var(--afv-g-hue, 250) 70% 62%), hsl(calc(var(--afv-g-hue, 250) + 50) 70% 52%)); color: #fff; font-size: 2rem; font-weight: 800; overflow: hidden; }
.afv-g-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.afv-g-card__text { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.65rem 0.8rem 0.4rem; }
.afv-g-card__text > span { color: var(--afv-g-muted); font-size: 0.8125rem; }
.afv-g-card__text .afv-g-card__desc { color: inherit; font-size: 0.875rem; margin-top: 0.2rem; }
.afv-g-card__extra { margin: 0; padding: 0 0.8rem 0.65rem; font-size: 0.8125rem; color: var(--afv-g-muted); }
.afv-g-new { color: var(--afv-g-iris); font-weight: 700; }
.afv-g-invites { border-bottom: 1px solid var(--afv-g-line); }
.afv-g-search { display: flex; gap: 0.5rem; padding: 0.75rem 1rem; border-bottom: 1px solid var(--afv-g-line); }
.afv-g-search input { flex: 1; min-width: 0; padding: 0.5rem 0.85rem; border: 1px solid var(--afv-g-line); border-radius: 999px; background: var(--afv-g-surface); color: inherit; font: inherit; }
.afv-g-search .wp-element-button { padding: 0.4rem 1rem; border: 0; cursor: pointer; }

/* People */
.afv-g-people { list-style: none; margin: 0; padding: 0; }
.afv-g-person { display: flex; align-items: center; gap: 0.65rem; padding: 0.6rem 1rem; }
.afv-g-people .afv-g-person + .afv-g-person { border-top: 1px solid var(--afv-g-line); }
.afv-g-person .afv-g-face { width: 40px; height: 40px; }
.afv-g-person__text { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.afv-g-person__text > a { color: inherit; text-decoration: none; }
.afv-g-person__text > span:last-child { color: var(--afv-g-muted); font-size: 0.8125rem; overflow: hidden; text-overflow: ellipsis; }
.afv-g-person__text .afv-g-role { align-self: flex-start; margin: 0.1rem 0; }
.afv-g-person > .wp-element-button { padding: 0.35rem 0.9rem; font-size: 0.875rem; border: 0; cursor: pointer; }

/* Photos */
.afv-g-photos { list-style: none; margin: 0; padding: 3px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.afv-g-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }

/* About */
.afv-g-facts { margin: 0.75rem 1rem; display: grid; gap: 0.75rem; }
.afv-g-facts dt { font-weight: 700; }
.afv-g-facts dd { margin: 0.15rem 0 0; color: var(--afv-g-muted); font-size: 0.9375rem; }
.afv-g-rules { margin: 0.25rem 0 0.75rem; padding-left: 2.25rem; }
.afv-g-rules li { margin: 0.3rem 0; }

/* Admin */
.afv-g-subnav { display: flex; gap: 0.35rem; padding: 0.65rem 1rem; overflow-x: auto; border-bottom: 1px solid var(--afv-g-line); }
.afv-g-subnav a { white-space: nowrap; padding: 0.35rem 0.8rem; border-radius: 999px; color: inherit; text-decoration: none; font-size: 0.9375rem; background: var(--afv-g-surface); }
.afv-g-subnav a[aria-current] { background: var(--afv-g-iris); color: #fff; }
.afv-g-subnav a[aria-current] .afv-badge { background: #fff; color: var(--afv-g-iris); }
.afv-g-requests { list-style: none; margin: 0; padding: 0; }
.afv-g-request { border-bottom: 1px solid var(--afv-g-line); padding-bottom: 0.65rem; }
.afv-g-answers { margin: 0 1rem 0.5rem 4.25rem; font-size: 0.9375rem; }
.afv-g-answers dt { font-weight: 600; color: var(--afv-g-muted); font-size: 0.8125rem; margin-top: 0.4rem; }
.afv-g-answers dd { margin: 0.1rem 0 0; }
.afv-g-request__bar { display: flex; gap: 0.5rem; margin: 0.25rem 1rem 0 4.25rem; }
.afv-g-request__bar .wp-element-button { padding: 0.35rem 1rem; font-size: 0.875rem; border: 0; cursor: pointer; }
.afv-g-review { border-bottom: 3px solid var(--afv-g-line); padding-bottom: 0.75rem; }
.afv-g-review .afv-g-request__bar { margin-left: 1rem; }
.afv-g-reasons { margin: 0.75rem 1rem 0.25rem; padding: 0.6rem 0.8rem 0.6rem 1.75rem; border-radius: 10px; background: color-mix(in srgb, var(--afv-g-danger) 10%, transparent); font-size: 0.9375rem; }
.afv-g-quote { margin: 0.5rem 1rem; padding: 0.6rem 0.8rem; border-left: 3px solid var(--afv-g-line); }
.afv-g-quote p { margin: 0.25rem 0; }

/* Forms */
.afv-g-settings { padding: 1rem; display: grid; gap: 0.4rem; }
.afv-g-settings > label, .afv-g-settings legend { font-weight: 700; margin-top: 0.5rem; }
.afv-g-settings input[type="text"], .afv-g-settings textarea, .afv-g-dialog textarea, .afv-g-dialog input[type="search"] { width: 100%; box-sizing: border-box; padding: 0.55rem 0.75rem; border: 1px solid var(--afv-g-line); border-radius: 10px; background: var(--afv-g-surface); color: inherit; font: inherit; }
.afv-g-settings fieldset { border: 1px solid var(--afv-g-line); border-radius: 12px; padding: 0.6rem 0.9rem 0.8rem; margin: 0.5rem 0 0; display: grid; gap: 0.45rem; }
.afv-g-settings legend { padding: 0 0.35rem; margin: 0; }
.afv-g-radio { display: flex; gap: 0.6rem; align-items: flex-start; cursor: pointer; }
.afv-g-radio input { margin-top: 0.3rem; }
.afv-g-radio > span { display: flex; flex-direction: column; }
.afv-g-radio > span > span { color: var(--afv-g-muted); font-size: 0.875rem; }
.afv-g-radio:has(input:disabled) { opacity: 0.5; cursor: not-allowed; }
.afv-g-check { display: flex; gap: 0.5rem; align-items: baseline; cursor: pointer; }
.afv-g-settings .wp-element-button { border: 0; cursor: pointer; padding: 0.5rem 1.2rem; }
.afv-g-coverpick:not(:empty) img { width: 100%; max-height: 10rem; object-fit: cover; border-radius: 10px; display: block; }
.afv-g-coverpick.is-loading { opacity: 0.5; }
.afv-g-danger { margin: 1rem; padding: 0.25rem 1rem 1rem; border: 1px solid color-mix(in srgb, var(--afv-g-danger) 45%, transparent); border-radius: 12px; }
.afv-g-danger .afv-g-h { margin-inline: 0; color: var(--afv-g-danger); }

.afv-g-dialog { width: min(32rem, calc(100vw - 2rem)); }
.afv-g-dialog form { display: grid; gap: 0.45rem; }
.afv-g-dialog label { font-weight: 600; }
.afv-g-dialog h3 { margin: 0.5rem 0 0; font-size: 1rem; }
.afv-g-dialog__bar { display: flex; gap: 0.5rem; justify-content: flex-end; margin-top: 0.5rem; }
.afv-g-dialog__bar .wp-element-button { border: 0; cursor: pointer; padding: 0.45rem 1rem; }
.afv-g-suggest { list-style: none; margin: 0; padding: 0; }
.afv-g-suggest button { display: flex; align-items: center; gap: 0.5rem; width: 100%; border: 0; background: transparent; color: inherit; font: inherit; padding: 0.35rem 0.4rem; border-radius: 8px; cursor: pointer; text-align: left; }
.afv-g-suggest button:hover { background: var(--afv-g-surface); }
.afv-g-suggest img { border-radius: 50%; }
.afv-g-chosen { font-weight: 600; margin: 0; }

@media (max-width: 600px) {
	.afv-g-head__name { font-size: 1.375rem; }
	.afv-g-cards { grid-template-columns: 1fr; }
	.afv-g-answers, .afv-g-request__bar { margin-left: 1rem; }
	.afv-g-act { font-size: 0.875rem; padding-inline: 0.4rem; }
}
.afv-g-top .afv-topbar__title { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.afv-g-head__where { margin: 0.4rem 0 0; display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; font-size: 0.875rem; }
.afv-g-pill--small { padding: 0.1rem 0.6rem; font-size: 0.8125rem; }
.afv-g-card__text .afv-g-card__where { color: var(--afv-g-iris); font-size: 0.8125rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.afv-g-hint { margin: 0.5rem 0 0; }
.afv-g-error { color: var(--afv-g-danger); margin: 0.6rem 0 0; font-weight: 600; }
.afv-g-post__meta a[target] { color: inherit; }
.afv-g-found .afv-g-person { align-items: flex-start; }
.afv-g-found .afv-g-person > .wp-element-button { align-self: center; white-space: nowrap; }
.afv-g-person__text .afv-g-found__desc { color: inherit; font-size: 0.875rem; margin-top: 0.15rem; white-space: normal; }
.afv-g-hint + .afv-g-h, .afv-g-search + .afv-g-h { margin-top: 1rem; }
/* Post buttons, like on ordinary posts */
.afv-g-actions { display: flex; justify-content: space-between; max-width: 26rem; margin: 0.35rem 0 0.15rem -0.5rem; }
.afv-g-actions .afv-action { background: transparent; border: 0; cursor: pointer; color: var(--afv-g-muted); }
.afv-g-actions .afv-action.is-disabled { opacity: 0.35; cursor: not-allowed; }
.afv-g-actions + .afv-g-comments { border-top: 1px solid var(--afv-g-line); margin-top: 0.25rem; }
.afv-g-likes { display: inline-flex; align-items: center; gap: 0.15rem; color: var(--afv-g-like); font-size: 0.8125rem; }
.afv-g-likes svg { width: 13px; height: 13px; }
.afv-g-react.is-comment .afv-g-act.is-on { color: var(--afv-g-like); }
.afv-g-post__shared { display: flex; align-items: center; gap: 0.35rem; margin: 0 0 0.4rem; font-size: 0.8125rem; font-weight: 600; color: var(--afv-g-muted); }
.afv-g-post__shared svg { width: 16px; height: 16px; color: var(--wp--preset--color--repost, #08795a); }
.afv-g-post__shared a { color: inherit; }
.afv-g-remote-people { border-top: 0; }
.afv-g-backfill { display: grid; gap: 0.5rem; justify-items: center; }
