/* 5AA5 предыдущая версия. Scoped, local assets only. Loaded after the earlier theme layers.
   !important is restricted to known XF surfaces which may load CSS asynchronously. */
body[data-faa-theme="emerald"] {
  --faa-ui-font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --faa-mono:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;
  --faa-radius:14px; --faa-inner-radius:13px;
  --faa-surface:#0b2019; --faa-raised:#112d23; --faa-line:#294b3d;
  --faa-text:#e5f2ea; --faa-muted:#a3bdb0; --faa-green:#8befbe;
  font-family:var(--faa-ui-font); color:var(--faa-text);
}
body[data-faa-theme="emerald"] :is(.pairs,.contentRow,.node,.structItem,.block-header,.block-minorHeader,.memberHeader,.memberTooltip,.tabs,.menu-content) {font-family:var(--faa-ui-font)}
body[data-faa-theme="emerald"] .block-container {border:1px solid var(--faa-line)!important;border-radius:var(--faa-radius)!important;background-clip:padding-box;box-shadow:0 8px 24px #0001;}
body[data-faa-theme="emerald"] .block-container > :first-child {border-top-left-radius:var(--faa-inner-radius)!important;border-top-right-radius:var(--faa-inner-radius)!important;}
body[data-faa-theme="emerald"] .block-container > :last-child {border-bottom-left-radius:var(--faa-inner-radius)!important;border-bottom-right-radius:var(--faa-inner-radius)!important;}
body[data-faa-theme="emerald"] .block-container > .block-body:only-child {border-radius:var(--faa-inner-radius)!important;}
body[data-faa-theme="emerald"] .block-body > .block-row:first-child {border-top-left-radius:inherit;border-top-right-radius:inherit;}
body[data-faa-theme="emerald"] .block-body > .block-row:last-child {border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;}
body[data-faa-theme="emerald"] :is(.block-header,.block-minorHeader,.block-textHeader) {background:#102a20!important;color:#c3eed8!important;border-color:var(--faa-line)!important;border-left:0!important;}
body[data-faa-theme="emerald"] .block-header {padding:17px 20px;font-size:16px;line-height:1.5;border-radius:0;}
body[data-faa-theme="emerald"] .block-minorHeader {padding:12px 15px;font-size:14px;line-height:1.4;}
body[data-faa-theme="emerald"] .block-container > .block-body > .node:first-child .node-body {border-top-left-radius:inherit;border-top-right-radius:inherit;}
body[data-faa-theme="emerald"] .block-container > .block-body:last-child > .node:last-child .node-body {border-bottom-left-radius:var(--faa-inner-radius);border-bottom-right-radius:var(--faa-inner-radius);}
body[data-faa-theme="emerald"] .p-header {border-top:0;}
/* Informational notices: quiet mint surface; actual errors remain distinguishable. */
body[data-faa-theme="emerald"] :is(.blockMessage,.blockMessage--important,.blockMessage--highlight,.block-row--highlighted,.messageNotice) {background:#102c22!important;color:#c4ead6!important;border:1px solid #365b48!important;border-radius:10px;box-shadow:none;}
body[data-faa-theme="emerald"] .blockMessage--error {background:#301b21!important;color:#f7d9df!important;border-color:#82505a!important;}
body[data-faa-theme="emerald"] :is(.message-newIndicator,.label--accent) {background:#194d37!important;color:#bbffda!important;border:1px solid #46765c!important;border-radius:5px;padding:2px 7px;font-size:12px;}
body[data-faa-theme="emerald"] :is(.messageNotice:before,.blockMessage--important:before) {color:#94d9b6;}
/* Forum rows: two statistics side-by-side; one balanced grid, not nested tables. */
body[data-faa-theme="emerald"] .node .node-body {display:grid!important;grid-template-columns:44px minmax(0,1fr) 180px minmax(200px,25%);align-items:center;gap:20px;width:100%;box-sizing:border-box;padding:22px 20px;}
body[data-faa-theme="emerald"] .node :is(.node-icon,.node-main,.node-extra) {display:block;width:auto;min-width:0;padding:0;float:none;}
body[data-faa-theme="emerald"] .node .node-icon {width:44px;height:44px;display:grid;place-items:center;}
body[data-faa-theme="emerald"] .node .node-icon i {line-height:1;font-size:21px;}
body[data-faa-theme="emerald"] .node .node-title {font:600 16px/1.5 var(--faa-ui-font);margin:0;overflow-wrap:anywhere;}
body[data-faa-theme="emerald"] .node .node-description {font-size:13px;line-height:1.55;}
body[data-faa-theme="emerald"] .node .node-stats {display:flex!important;align-items:center;justify-content:center;gap:22px;width:auto;min-width:0;padding:0;text-align:center;}
body[data-faa-theme="emerald"] .node .node-stats > dl.pairs.pairs--rows {display:flex;flex-direction:column;align-items:center;gap:3px;float:none!important;width:auto!important;min-width:62px;margin:0;padding:0;}
body[data-faa-theme="emerald"] .node .node-stats :is(dt,dd) {float:none;display:block;margin:0;padding:0;}
body[data-faa-theme="emerald"] .node .node-stats dt {font-size:12px;line-height:1.5;color:var(--faa-muted);}
body[data-faa-theme="emerald"] .node .node-stats dd {font:600 16px/1.4 var(--faa-mono);font-variant-numeric:tabular-nums;color:#e1f5e9;}
body[data-faa-theme="emerald"] .node .node-statsMeta {display:none;}
body[data-faa-theme="emerald"] .node .node-extra {font-size:13px;line-height:1.55;}
body[data-faa-theme="emerald"] .node .node-extra-icon {float:left;padding:0;margin-right:11px;}
body[data-faa-theme="emerald"] .node .node-extra-row {display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
body[data-faa-theme="emerald"] .node :is(.node-extra-title,.node-extra-date,.node-extra-user) {font-size:13px;}
body[data-faa-theme="emerald"] :is(.node--link,.node--page) .node-body {grid-template-columns:44px minmax(0,1fr);}
/* Sidebar/widget typography. Do not let inherited heading styles look like post titles. */
body[data-faa-theme="emerald"] .p-body-sidebar :is(.contentRow-main,.contentRow-title,.contentRow-header,.contentRow-main > a) {font-family:var(--faa-ui-font);font-size:14px;line-height:1.5;font-weight:500;overflow-wrap:anywhere;}
body[data-faa-theme="emerald"] .p-body-sidebar :is(.contentRow-minor,.contentRow-lesser,.pairs) {font-size:12px;line-height:1.5;}
body[data-faa-theme="emerald"] .p-body-sidebar .block-row {padding:13px 14px;}
body[data-faa-theme="emerald"] .p-body-sidebar .contentRow-figure {margin-right:10px;}
/* Similar-thread panels and discussion-type selectors, including late-loaded CSS. */
body[data-faa-theme="emerald"] :is(.block-container,.block-body,.block-row,.block-filterBar,.tabs--standalone,.block-tabHeader,.block-outer-opposite .button) {border-color:var(--faa-line);}
body[data-faa-theme="emerald"] :is(.tabs--standalone,.block-tabHeader,.inputGroup-text) {background:#102b21!important;border-color:#355745!important;color:#c0dfce!important;}
body[data-faa-theme="emerald"] :is(.tabs--standalone,.block-tabHeader) .tabs-tab {background:transparent!important;color:#a9c6b7!important;border-color:transparent!important;border-radius:8px 8px 0 0;font-size:14px;}
body[data-faa-theme="emerald"] :is(.tabs--standalone,.block-tabHeader) .tabs-tab:is(.is-active,[aria-selected="true"]) {background:#204634!important;color:#caffdf!important;border-bottom:2px solid #86ddb1!important;}
body[data-faa-theme="emerald"] :is(.block--similarThreads,.js-similarThreads,.js-similarThreadResults) .block-minorHeader {background:#15382a!important;color:#c5f3da!important;}
body[data-faa-theme="emerald"] .input:focus-visible {outline:2px solid #7dd7a6;outline-offset:2px;box-shadow:none;}
/* Public profile and hover card: retain uploaded banner images, add local contrast. */
body[data-faa-theme="emerald"] :is(.memberHeader-main,.memberTooltip-header) {background-color:#102c22!important;color:#def3e6!important;border-color:#30513f!important;border-top-left-radius:13px;border-top-right-radius:13px;}
body[data-faa-theme="emerald"] .memberHeader:not(.memberHeader--withBanner) .memberHeader-main {background-image:linear-gradient(125deg,#163a2a,#0b2019)!important;}
body[data-faa-theme="emerald"] .memberHeader--withBanner .memberHeader-mainContent {background:linear-gradient(transparent,#061810e8);}
body[data-faa-theme="emerald"] .memberHeader-mainContent {display:grid;grid-template-columns:clamp(96px,12vw,160px) minmax(0,1fr);align-items:center;gap:24px;padding:24px;box-sizing:border-box;}
body[data-faa-theme="emerald"] .memberHeader-avatar {position:static;float:none;display:block;grid-column:1;padding:0;text-align:center;}
body[data-faa-theme="emerald"] .memberHeader-avatar .avatar {width:clamp(96px,12vw,160px);height:clamp(96px,12vw,160px);font-size:72px;border-radius:18px;}
body[data-faa-theme="emerald"] .memberHeader-main .memberHeader-content--info {grid-column:2;padding:0!important;min-width:0;min-height:0;text-align:left;}
body[data-faa-theme="emerald"] .memberHeader-name {font:650 clamp(22px,2vw,30px)/1.3 var(--faa-ui-font);color:#def5e7!important;margin:0 0 8px;}
body[data-faa-theme="emerald"] :is(.memberHeader-name .username,.memberTooltip-name .username) {color:#bcf5d6!important;}
body[data-faa-theme="emerald"] :is(.memberHeader-blurb,.memberHeader-blurbContainer,.memberTooltip-blurb,.memberTooltip-blurbContainer) {color:#bdd8c9!important;background:transparent!important;font-size:14px;line-height:1.65;overflow-wrap:anywhere;}
body[data-faa-theme="emerald"] .memberHeader-actionTop {float:right;margin:0 0 12px 14px;max-width:100%;}
body[data-faa-theme="emerald"] .memberHeader-actionTop .buttonGroup {display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;}
body[data-faa-theme="emerald"] .memberHeader > .memberHeader-content {padding:18px 24px!important;}
body[data-faa-theme="emerald"] .memberHeader-stats {display:flex;flex-wrap:wrap;gap:18px 50px;justify-content:flex-start;align-items:center;font-size:15px;}
body[data-faa-theme="emerald"] .memberHeader-stats :is(dl,dt,dd) {float:none;margin:0;}
body[data-faa-theme="emerald"] .memberHeader-stats dl {width:auto;min-width:70px;}
body[data-faa-theme="emerald"] .memberHeader-stats dd {font:600 17px/1.5 var(--faa-mono);}
body[data-faa-theme="emerald"] .memberHeader-separator {border-color:#355542;}
body[data-faa-theme="emerald"] .userBanner.userBanner--staff {background:#163e2c!important;color:#b5f5cf!important;border-color:#45735a!important;border-radius:5px;}
body[data-faa-theme="emerald"] .memberTooltip .memberTooltip-headerInfo {color:#c0dfcd;}
/* A quiet, stable two-item activity strip. Transport/retry details stay in diagnostics. */
.faa-livebar--quiet {display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 18px;min-height:52px;box-sizing:border-box;}
.faa-livebar--quiet :is(.faa-live-state,.faa-live-typing,.faa-page-status,.faa-live-retry) {display:none!important;}
.faa-livebar--quiet .faa-live-roster {display:block!important;min-width:0;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:13px/1.5 system-ui,sans-serif;}
.faa-livebar--quiet > a:last-child {margin:0!important;white-space:nowrap;font:13px/1.5 system-ui,sans-serif;}
.faa-live-new--separate.is-visible {align-self:flex-start;display:inline-flex;gap:8px;padding:9px 13px;margin:8px 14px;border:1px solid #426a51;border-radius:9px;background:#133a28;}
.faa-list-live-state[hidden] {display:none!important;}
.faa-list-live-state[data-state="list_error"] {font:13px/1.5 system-ui,sans-serif;color:#b7d4c4;margin:6px 0 12px;padding:8px 12px;border:1px solid #365440;border-radius:9px;background:#10261d;}
/* Native Font Awesome/SVG icons: icon files are provided by XenForo itself. */
.faa-nav-icon,.faa-menu-icon {margin-right:.5em;width:1.1em;text-align:center;opacity:.9;}
body[data-faa-theme="emerald"] .p-navEl-link .faa-nav-icon {color:#9eddbd;}
body[data-faa-theme="emerald"] .faa-pin-tools {display:flex;justify-content:flex-end;margin:0 0 12px;}
body[data-faa-theme="emerald"] .faa-pin-tools .button {font-size:13px;}
/* Terminal-like topic rows. Native links, statuses, moderation and pagination remain. */
.faa-terminal-cursor,.faa-terminal-heading {display:none;}
body[data-faa-theme="emerald"][data-faa-terminal="1"] .faa-terminal-heading {display:flex;align-items:center;gap:12px;padding:13px 18px;background:#0b2119;border-bottom:1px solid #294d3a;color:#a8c9b6;font:12px/1.5 var(--faa-mono);}
.faa-terminal-lights {display:flex;gap:5px;}
.faa-terminal-lights i {width:7px;height:7px;border:1px solid #548269;border-radius:50%;background:#244832;}
.faa-terminal-heading code {font:inherit;color:#93dfb3;background:transparent;overflow-wrap:anywhere;}
body[data-faa-theme="emerald"][data-faa-terminal="1"] .structItem--thread {display:grid;grid-template-columns:50px minmax(0,1fr) 125px 175px 32px;align-items:center;gap:10px;padding:15px 16px;border-top:1px solid #274533!important;background:#0a2018;box-sizing:border-box;}
body[data-faa-theme="emerald"][data-faa-terminal="1"] .structItem--thread:nth-child(even) {background:#0c241b;}
body[data-faa-theme="emerald"][data-faa-terminal="1"] .structItem--thread:hover {background:#143425;}
body[data-faa-theme="emerald"][data-faa-terminal="1"] .structItem--thread > .structItem-cell {display:block;min-width:0;width:auto;padding:0;float:none;}
body[data-faa-theme="emerald"][data-faa-terminal="1"] .structItem--thread > .structItem-cell--icon:not(.structItem-cell--iconEnd) {grid-column:1;text-align:center;}
body[data-faa-theme="emerald"][data-faa-terminal="1"] .structItem--thread .structItem-cell--icon:not(.structItem-cell--iconEnd) .structItem-iconContainer > .avatar {display:none;}
body[data-faa-theme="emerald"][data-faa-terminal="1"] .faa-terminal-cursor {display:flex;flex-direction:column;align-items:center;gap:4px;color:#8bd3a8;font:11px/1.4 var(--faa-mono);}
body[data-faa-theme="emerald"][data-faa-terminal="1"] .faa-terminal-cursor i {font-size:18px;}
body[data-faa-theme="emerald"][data-faa-terminal="1"] .structItem--thread .structItem-title {font:500 15px/1.55 var(--faa-mono);overflow-wrap:anywhere;}
body[data-faa-theme="emerald"][data-faa-terminal="1"] .structItem--thread.is-unread .structItem-title {font-weight:650;color:#dbf7e5;}
body[data-faa-theme="emerald"][data-faa-terminal="1"] .structItem--thread .structItem-minor {margin-top:5px;font-size:12px;line-height:1.5;}
body[data-faa-theme="emerald"][data-faa-terminal="1"] .structItem--thread :is(.structItem-cell--meta,.structItem-cell--latest) {font-size:12px;line-height:1.7;}
body[data-faa-theme="emerald"][data-faa-terminal="1"] .structItem--thread .structItem-cell--meta .pairs {display:flex;justify-content:space-between;gap:12px;font-size:12px;margin:0;}
body[data-faa-theme="emerald"][data-faa-terminal="1"] .structItem--thread .structItem-cell--meta .pairs dd {font-family:var(--faa-mono);margin:0;}
body[data-faa-theme="emerald"][data-faa-terminal="1"] .structItem--thread .structItem-cell--iconEnd .avatar {width:28px;height:28px;font-size:16px;border-radius:9px;}
/* Editorial portal: stacked pinned cards, source navigation above the AI panel. */
.faa-card-copy {display:flex;flex:1;min-width:0;flex-direction:column;}
.faa-pinned-cards {display:flex;flex-direction:column;gap:16px;}
:is(.faa-card--pinned,.faa-card--editorial) > .faa-card-layout {display:grid;grid-template-columns:minmax(210px,36%) minmax(0,1fr);align-items:stretch;}
:is(.faa-card--pinned,.faa-card--editorial) .faa-card-art {height:100%;min-height:230px;aspect-ratio:auto;border-bottom:0;border-right:1px solid #2f513c;}
:is(.faa-card--pinned,.faa-card--editorial) .faa-card-art img {width:100%;height:100%;}
:is(.faa-card--pinned,.faa-card--editorial) .faa-card-body {padding:23px 24px;}
:is(.faa-card--pinned,.faa-card--editorial) .faa-card-body p {-webkit-line-clamp:4;}
:is(.faa-card--pinned,.faa-card--editorial) h3 {font-size:clamp(19px,1.5vw,24px);line-height:1.4;margin:12px 0;}
:is(.faa-card--pinned,.faa-card--editorial) .faa-card-bottom {padding:13px 24px;gap:15px;flex-wrap:wrap;}
.faa-card-meta {flex-wrap:wrap;row-gap:7px;}
.faa-pin-label {color:#adf3c7;display:inline-flex;align-items:center;gap:6px;}
.faa-source-panel h3 {font-size:16px;line-height:1.5;margin:0 0 13px;}
.faa-source-panel h3 i {color:#9ad9b3;margin-right:7px;}
.faa-source-link {display:flex;align-items:center;gap:11px;padding:13px 0;border-top:1px solid #2a4a38;font:500 14px/1.5 system-ui,sans-serif;}
.faa-source-link > span {flex:1;min-width:0;overflow-wrap:anywhere;}
.faa-source-link > i {color:#81b697;}
.faa-source-link:hover > i {color:#b5f2ce;}
.faa-side-panel .faa-action {gap:9px;}
@media(max-width:1100px) {
 body[data-faa-theme="emerald"] .node .node-body {grid-template-columns:44px minmax(0,1fr) 156px;gap:15px;padding:19px 16px;}
 body[data-faa-theme="emerald"] .node .node-extra {grid-column:2/4;margin:0;}
 body[data-faa-theme="emerald"][data-faa-terminal="1"] .structItem--thread {grid-template-columns:42px minmax(0,1fr) 100px 125px;gap:10px;}
 body[data-faa-theme="emerald"][data-faa-terminal="1"] .structItem--thread .structItem-cell--iconEnd {display:none;}
 :is(.faa-card--pinned,.faa-card--editorial) > .faa-card-layout {grid-template-columns:34% minmax(0,1fr);}
}
@media(max-width:700px) {
 body[data-faa-theme="emerald"] .node .node-body {grid-template-columns:40px minmax(0,1fr);gap:12px 14px;padding:17px 14px;}
 body[data-faa-theme="emerald"] .node .node-stats {display:none!important;}
 body[data-faa-theme="emerald"] .node .node-statsMeta {display:flex;gap:15px;flex-wrap:wrap;font-size:12px;margin-top:5px;}
 body[data-faa-theme="emerald"] .node .node-statsMeta .pairs {display:flex;gap:6px;margin:0;}
 body[data-faa-theme="emerald"] .node .node-statsMeta :is(dt,dd) {margin:0;}
 body[data-faa-theme="emerald"] .node .node-extra {grid-column:2;margin:0;}
 body[data-faa-theme="emerald"] .node .node-extra-icon {display:none;}
 body[data-faa-theme="emerald"] .memberHeader-mainContent {grid-template-columns:88px minmax(0,1fr);gap:16px;padding:20px 16px;}
 body[data-faa-theme="emerald"] .memberHeader-avatar .avatar {width:88px;height:88px;font-size:50px;border-radius:14px;}
 body[data-faa-theme="emerald"] .memberHeader-actionTop {float:none;margin:0 0 12px;}
 body[data-faa-theme="emerald"] .memberHeader-actionTop .buttonGroup {justify-content:flex-start;}
 body[data-faa-theme="emerald"] .memberHeader-actionTop .button {font-size:12px;}
 body[data-faa-theme="emerald"] .memberHeader > .memberHeader-content {padding:16px!important;}
 body[data-faa-theme="emerald"] .memberHeader-stats {gap:16px 26px;}
 body[data-faa-theme="emerald"][data-faa-terminal="1"] .structItem--thread {grid-template-columns:34px minmax(0,1fr);gap:9px 12px;padding:14px 12px;}
 body[data-faa-theme="emerald"][data-faa-terminal="1"] .structItem--thread .structItem-cell--meta {grid-column:2;display:flex;gap:18px;}
 body[data-faa-theme="emerald"][data-faa-terminal="1"] .structItem--thread .structItem-cell--latest {grid-column:2;display:flex;gap:12px;font-size:11px;}
 body[data-faa-theme="emerald"][data-faa-terminal="1"] .structItem--thread .structItem-title {font-size:14px;}
 .faa-terminal-heading code {font-size:11px;}
 :is(.faa-card--pinned,.faa-card--editorial) > .faa-card-layout {display:flex;flex-direction:column;}
 :is(.faa-card--pinned,.faa-card--editorial) .faa-card-art {min-height:0;height:auto;aspect-ratio:16/9;border-right:0;border-bottom:1px solid #2f513c;}
 :is(.faa-card--pinned,.faa-card--editorial) .faa-card-body {padding:18px;}
 :is(.faa-card--pinned,.faa-card--editorial) .faa-card-bottom {padding:12px 18px;}
 .faa-livebar--quiet {grid-template-columns:minmax(0,1fr);row-gap:5px;min-height:68px;}
 .faa-livebar--quiet > a:last-child {justify-self:start;}
 .faa-nav-icon {margin-right:.35em;}
}
@media(prefers-reduced-motion:reduce) {body[data-faa-theme="emerald"] :is(.faa-card,.node-body) {transition:none;transform:none;}}

body[data-faa-theme="emerald"] .memberHeader-stats .pairJustifier {display:flex;flex-wrap:wrap;justify-content:flex-start;gap:18px 45px;width:100%;}
body[data-faa-theme="emerald"][data-faa-terminal="1"] .structItemContainer-group {display:block;}
body[data-faa-theme="emerald"] .memberHeader-actionTop :is(.buttonGroup,.buttonGroup-buttonWrapper) {min-width:0;max-width:100%;}
body[data-faa-theme="emerald"] .memberHeader-actionTop .button {max-width:100%;white-space:normal;overflow-wrap:anywhere;}
body[data-faa-theme="emerald"] :is(.block-tabHeader.tabs,.tabs--standalone) {min-width:0;max-width:100%;}
body[data-faa-theme="emerald"] :is(.block-tabHeader.tabs,.tabs--standalone):not(.hScroller) {overflow-x:auto;scrollbar-width:thin;overscroll-behavior-x:contain;}
body[data-faa-theme="emerald"] :is(.block-tabHeader.tabs,.tabs--standalone) .tabs-tab {flex-shrink:0;}

body[data-faa-theme="emerald"] .blockMessage {padding:12px 16px;font-size:14px;line-height:1.6;}
body[data-faa-theme="emerald"][data-faa-terminal="1"] .structItem--thread.is-mod-selected {background:#234733!important;box-shadow:inset 3px 0 #96e5b7;}
body[data-faa-theme="emerald"][data-faa-terminal="1"] .structItem--thread.is-moderated {box-shadow:inset 3px 0 #749f8a;}

/* предыдущая версия: readers + typing share one reserved line. No expanding/retrying banner. */
.faa-livebar--quiet .faa-live-summary {display:flex;align-items:center;gap:10px;min-width:0;height:22px;line-height:22px;overflow:hidden;}
.faa-livebar--quiet .faa-live-summary .faa-live-roster {flex:1 1 auto;min-width:0;}
.faa-livebar--quiet .faa-live-summary .faa-live-typing:not([hidden]) {display:block!important;flex:0 1 auto;max-width:55%;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#b6f6ce;font:500 13px/22px system-ui,sans-serif;}
.faa-livebar--quiet .faa-live-summary .faa-live-typing[hidden] {display:none!important;}
/* Widget icons render through XF's native SVG system, not guessed Unicode glyphs. */
body[data-faa-theme="emerald"] .faa-widget-icon {display:inline-block;vertical-align:-.08em;min-width:1.1em;margin-inline-end:.55em;color:#8eddaf;font-size:1em;}
body[data-faa-theme="emerald"] .node--unread .node-icon {color:#acf7cd;background:#194a33;border-color:#6baf87;box-shadow:0 0 0 2px #87eeb212;}
body[data-faa-theme="emerald"] .node--read .node-icon {color:#76af91;}
/* Admin-specified preview typography. The server performs the only excerpt trim. */
.faa-preview-scope .faa-card .faa-card-body h3 {font-size:var(--faa-preview-title-size,22px);line-height:1.4;overflow-wrap:anywhere;}
.faa-preview-scope .faa-card .faa-card-body p {font-size:var(--faa-preview-font-size,16px);line-height:1.65;display:block;-webkit-line-clamp:unset;line-clamp:unset;-webkit-box-orient:initial;max-height:none;height:auto;overflow:visible;overflow-wrap:anywhere;}
.faa-section-page {max-width:1320px;margin:0 auto;padding-bottom:30px;}
.faa-section-intro {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:24px;padding:26px 0 22px;}
.faa-section-intro h1 {font-size:clamp(26px,3vw,40px);line-height:1.25;margin:14px 0 0;color:#e4f5ea;overflow-wrap:anywhere;}
.faa-section-actions {display:flex;flex-wrap:wrap;gap:10px;}
.faa-section-actions .faa-action {font-size:13px;padding:11px 14px;gap:9px;}
.faa-section-tabs {display:flex;flex-wrap:wrap;gap:10px;padding:0 0 14px;}
.faa-section-tab {display:inline-flex;align-items:center;gap:9px;padding:10px 15px;border:1px solid #315640;border-radius:10px;color:#a7c8b6;font:500 14px/1.5 system-ui,sans-serif;max-width:100%;overflow-wrap:anywhere;}
.faa-section-tab.is-active {background:#1b422e;border-color:#69ad87;color:#d0f7df;}
.faa-section-cards {display:flex;flex-direction:column;gap:20px;}
.faa-card--horizontal > .faa-card-layout {display:grid;grid-template-columns:minmax(210px,34%) minmax(0,1fr);align-items:stretch;}
.faa-card--horizontal .faa-card-art {height:100%;min-height:225px;aspect-ratio:auto;border-bottom:0;border-right:1px solid #2f513c;}
.faa-card--horizontal .faa-card-art img {width:100%;height:100%;}
.faa-card--horizontal .faa-card-body {padding:23px 26px;}
.faa-card--horizontal .faa-card-bottom {padding:13px 26px;gap:15px;flex-wrap:wrap;}
.faa-section-feed .pageNavWrapper {min-height:0;}
.faa-card--horizontal .faa-card-meta {font-size:11px;letter-spacing:.035em;}
@media(max-width:700px) {
 .faa-section-intro {padding-top:16px;gap:18px;}
 .faa-section-actions {width:100%;}
 .faa-section-actions .faa-action {flex:1;justify-content:center;}
 .faa-section-tab {font-size:13px;padding:9px 12px;}
 .faa-card--horizontal > .faa-card-layout {display:flex;flex-direction:column;}
 .faa-card--horizontal .faa-card-art {min-height:0;height:auto;aspect-ratio:16/9;border-right:0;border-bottom:1px solid #2f513c;}
 .faa-card--horizontal .faa-card-body {padding:18px;}
 .faa-card--horizontal .faa-card-bottom {padding:12px 18px;}
 .faa-livebar--quiet .faa-live-summary {width:100%;}
}

/* предыдущая версия: native article variants use a different author box than discussion posts.
   Keep standard article semantics, BBCode formatting, lightbox and edit controls. */
body[data-faa-theme="emerald"] .message--article {
 background:#0b2119;color:#e3efe8;border-color:#2c503c;min-width:0;max-width:100%;
}
body[data-faa-theme="emerald"] .message--article:not(.message--articlePreview) > .message-inner,
body[data-faa-theme="emerald"] .message--article:not(.message--articlePreview) > .message-inner > .message-cell--main {
 display:block;width:auto;min-width:0;max-width:100%;background:#0b2119;border-color:#2c503c;
}
body[data-faa-theme="emerald"] .message--article .message-body {
 font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
 font-size:clamp(16px,1.05vw,18px);line-height:1.8;color:#e3efe8;overflow-wrap:anywhere;
}
body[data-faa-theme="emerald"] .message--article:not(.message--articlePreview) .message-content {max-width:100ch;margin:20px auto;min-width:0;}
body[data-faa-theme="emerald"] .message--article :is(.bbCodeBlock,.bbCodeBlock-content,.bbWrapper) {min-width:0;max-width:100%;}
body[data-faa-theme="emerald"] .message--article pre {white-space:pre;max-width:100%;overflow-x:auto;}
body[data-faa-theme="emerald"] .message--article img {max-width:100%;height:auto;}
body[data-faa-theme="emerald"] .message--article .message-articleUserInfo {
 display:block;background:#102c20!important;color:#dceee2;border:0;border-top:1px solid #31533e;
 border-radius:0 0 12px 12px;padding:22px 24px;margin:0;min-width:0;max-width:100%;
}
body[data-faa-theme="emerald"] .message-articleUserInfo > .message-cell {display:block;padding:0;background:transparent!important;width:auto;min-width:0;}
body[data-faa-theme="emerald"] .message-articleUserInfo .contentRow {display:flex;align-items:flex-start;gap:20px;min-width:0;}
body[data-faa-theme="emerald"] .message-articleUserInfo .contentRow-figure {width:72px;flex:0 0 72px;margin:0;text-align:left;}
body[data-faa-theme="emerald"] .message-articleUserInfo .avatar {width:72px;height:72px;font-size:40px;border-radius:14px;}
body[data-faa-theme="emerald"] .message-articleUserInfo .contentRow-main {flex:1;min-width:0;width:auto;padding:0;text-align:left;}
body[data-faa-theme="emerald"] .message-articleUserFirstLine {display:flex;align-items:baseline;flex-wrap:wrap;gap:7px 12px;}
body[data-faa-theme="emerald"] .message-articleUserName {font:650 18px/1.45 ui-sans-serif,system-ui,sans-serif;margin:0;overflow-wrap:anywhere;}
body[data-faa-theme="emerald"] .message-articleUserInfo :is(.message-articleUserBlurb,.message-articleUserBlurb div,.message-articleUserStats,.message-articleUserWrittenBy) {color:#a9c8b7!important;font-size:13px;line-height:1.65;}
body[data-faa-theme="emerald"] .message-articleUserAbout {color:#d4e9dc;font-size:14px;line-height:1.65;margin:8px 0;overflow-wrap:anywhere;}
body[data-faa-theme="emerald"] .message-articleUserBanners {margin:7px 0;}
body[data-faa-theme="emerald"] .message-articleUserStats {display:block;margin-top:8px;}
body[data-faa-theme="emerald"] .message-articleUserStats .listInline {display:flex;flex-wrap:wrap;gap:5px 17px;padding:0;margin:0;list-style:none;}
body[data-faa-theme="emerald"] .message-articleUserStats .listInline > li {margin:0;padding:0;}
body[data-faa-theme="emerald"] .message-articleUserStats .listInline > li:before {content:none;}
body[data-faa-theme="emerald"] .message-articleUserStats .pairs {display:flex;gap:6px;margin:0;}
body[data-faa-theme="emerald"] .message-articleUserStats :is(dt,dd) {margin:0;float:none;}
body[data-faa-theme="emerald"] .message--article :is(.articlePreview-title,.article-title) {color:#dff5e7;line-height:1.45;overflow-wrap:anywhere;}
body[data-faa-theme="emerald"] .message--articlePreview :is(.articlePreview-text,.articlePreview-footer) {background:#0b2119;color:#deeee4;}
body[data-faa-theme="emerald"] .message--articlePreview .articlePreview-meta {color:#9cbcaa;border-color:#30553e;flex-wrap:wrap;gap:7px 14px;}
body[data-faa-theme="emerald"] .message--articlePreview .articlePreview-meta > li {margin:0;min-width:0;}
body[data-faa-theme="emerald"] .message-expandLink {background:linear-gradient(transparent,#0b2119 45%)!important;color:#b4ecc8;}
body[data-faa-theme="emerald"] .message--article .message-expandLink > a {background:#163e2b;color:#b6efcd;border:1px solid #365d44;}
/* Hide only explicitly acknowledged indicators. Receipt/inbox state is not inferred by CSS. */
.message-newIndicator[hidden],.faa-own .message-newIndicator {display:none!important;}
.faa-section-order {display:flex;align-items:center;gap:8px;color:#9fbdac;font-size:13px;margin:12px 0 20px;}
@media(max-width:600px) {
 body[data-faa-theme="emerald"] .message--article .message-articleUserInfo {padding:16px;}
 body[data-faa-theme="emerald"] .message-articleUserInfo .contentRow {gap:13px;}
 body[data-faa-theme="emerald"] .message-articleUserInfo .contentRow-figure {width:52px;flex-basis:52px;}
 body[data-faa-theme="emerald"] .message-articleUserInfo .avatar {width:52px;height:52px;font-size:29px;border-radius:11px;}
 body[data-faa-theme="emerald"] .message-articleUserName {font-size:17px;}
 body[data-faa-theme="emerald"] .message-articleUserStats .listInline {gap:3px 11px;}
 body[data-faa-theme="emerald"] .message--article:not(.message--articlePreview) .message-content {margin:15px 0;}
}

/* предыдущая версия: native XF hover cards. Cover and arrows must match the content surface. */
body[data-faa-theme="emerald"] .tooltip:is(.tooltip--preview,.tooltip--member,.tooltip--bookmark,.tooltip--share) .tooltip-content {
  background:#102b21!important;color:#e5f2ea!important;border:1px solid #3b6350!important;
  border-radius:12px!important;box-shadow:0 14px 34px #0006!important;
  font:15px/1.65 var(--faa-ui-font,system-ui,sans-serif);
}
body[data-faa-theme="emerald"] .tooltip.tooltip--preview {width:420px;max-width:min(100%,calc(100vw - 16px));}
body[data-faa-theme="emerald"] .tooltip.tooltip--preview .tooltip-content {padding:16px 18px;}
body[data-faa-theme="emerald"] .tooltip.tooltip--preview .tooltip-content-inner {max-height:240px;overflow:hidden;color:inherit;}
body[data-faa-theme="emerald"] .tooltip.tooltip--preview .tooltip-content-cover {
  background:linear-gradient(to bottom,transparent 72%,#102b21 100%)!important;pointer-events:none;
}
body[data-faa-theme="emerald"] .tooltip.tooltip--preview :is(h1,h2,h3,h4) {color:#d4f4e2;margin-block:0 10px;font-family:var(--faa-ui-font);line-height:1.4;}
body[data-faa-theme="emerald"] .tooltip.tooltip--preview :is(h1,h2) {font-size:20px;}
body[data-faa-theme="emerald"] .tooltip.tooltip--preview p {margin:0 0 10px;}
body[data-faa-theme="emerald"] .tooltip.tooltip--preview .bbImage {max-width:100%;height:auto;}
body[data-faa-theme="emerald"] .tooltip:is(.tooltip--preview,.tooltip--member,.tooltip--bookmark,.tooltip--share).tooltip--top .tooltip-arrow {border-top-color:#3b6350!important;}
body[data-faa-theme="emerald"] .tooltip:is(.tooltip--preview,.tooltip--member,.tooltip--bookmark,.tooltip--share).tooltip--top .tooltip-arrow:after {border-top-color:#102b21!important;}
body[data-faa-theme="emerald"] .tooltip:is(.tooltip--preview,.tooltip--member,.tooltip--bookmark,.tooltip--share).tooltip--bottom .tooltip-arrow {border-bottom-color:#3b6350!important;}
body[data-faa-theme="emerald"] .tooltip:is(.tooltip--preview,.tooltip--member,.tooltip--bookmark,.tooltip--share).tooltip--bottom .tooltip-arrow:after {border-bottom-color:#102b21!important;}
body[data-faa-theme="emerald"] .tooltip:is(.tooltip--preview,.tooltip--member,.tooltip--bookmark,.tooltip--share).tooltip--left .tooltip-arrow {border-left-color:#3b6350!important;}
body[data-faa-theme="emerald"] .tooltip:is(.tooltip--preview,.tooltip--member,.tooltip--bookmark,.tooltip--share).tooltip--left .tooltip-arrow:after {border-left-color:#102b21!important;}
body[data-faa-theme="emerald"] .tooltip:is(.tooltip--preview,.tooltip--member,.tooltip--bookmark,.tooltip--share).tooltip--right .tooltip-arrow {border-right-color:#3b6350!important;}
body[data-faa-theme="emerald"] .tooltip:is(.tooltip--preview,.tooltip--member,.tooltip--bookmark,.tooltip--share).tooltip--right .tooltip-arrow:after {border-right-color:#102b21!important;}
/* Small generic hints keep their compact geometry. */
body[data-faa-theme="emerald"] .tooltip.tooltip--basic .tooltip-content {background:#173b2b!important;color:#e5f2ea!important;border:1px solid #3b6350;border-radius:7px;font-family:var(--faa-ui-font);}
/* Notable members: targeted at core's actual overview/footer classes. */
body[data-faa-theme="emerald"] .memberOverviewBlocks {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:18px!important;margin:0;list-style:none;}
body[data-faa-theme="emerald"] .memberOverviewBlocks > .memberOverviewBlock {
  display:flex;flex-direction:column;width:auto!important;max-width:none;min-width:0;padding:0!important;
  background:#0d251c;border:1px solid #2e5240;border-radius:12px;overflow:hidden;
}
body[data-faa-theme="emerald"] .memberOverviewBlock > .block-textHeader {padding:14px 16px!important;margin:0!important;font:600 15px/1.5 var(--faa-ui-font);border-bottom:1px solid #2e5240;}
body[data-faa-theme="emerald"] .memberOverviewBlock-list {list-style:none;padding:8px 15px 14px;margin:0;}
body[data-faa-theme="emerald"] .memberOverviewBlock-list > li {margin:10px 0;}
body[data-faa-theme="emerald"] .memberOverviewBlock .contentRow {align-items:center;gap:10px;}
body[data-faa-theme="emerald"] .memberOverviewBlock :is(.contentRow-title,.username) {font-family:var(--faa-ui-font);font-size:15px;line-height:1.5;overflow-wrap:anywhere;}
body[data-faa-theme="emerald"] .memberOverviewBlock .contentRow-title {margin:0;}
body[data-faa-theme="emerald"] .memberOverviewBlock .contentRow-main {min-width:0;}
body[data-faa-theme="emerald"] .memberOverviewBlock .contentRow-extra {color:#b4d7c4;font:500 14px/1.5 var(--faa-mono);font-variant-numeric:tabular-nums;}
body[data-faa-theme="emerald"] .memberOverviewBlock-seeMore {padding:0!important;margin-top:auto;background:#143829!important;color:#c0f2d8!important;border-top:1px solid #345b46;}
body[data-faa-theme="emerald"] .memberOverviewBlock-seeMore > a {display:block;padding:12px 16px;color:#b6f5d1!important;font:600 14px/1.45 var(--faa-ui-font);text-align:center;text-decoration:none;}
body[data-faa-theme="emerald"] .memberOverviewBlock-seeMore > a:hover {background:#204e39;color:#e2ffed!important;text-decoration:none;}
body[data-faa-theme="emerald"] .memberOverviewBlock-seeMore > a:focus-visible {outline:2px solid #a2eac2;outline-offset:-4px;border-radius:7px;}
@media(max-width:1150px){body[data-faa-theme="emerald"] .memberOverviewBlocks {grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:14px!important;}}
@media(max-width:650px){body[data-faa-theme="emerald"] .memberOverviewBlocks {grid-template-columns:minmax(0,1fr);gap:12px;padding:12px!important;}body[data-faa-theme="emerald"] .tooltip.tooltip--preview .tooltip-content{font-size:14px;padding:13px 14px;}}

/* предыдущая версия: quick status and search must keep native labels, readable text and focus.
 * Scoped to public menus; never changes message BBCode colors or admin styles. */
body[data-faa-theme="emerald"] .menu :is(input.input,textarea.input) {
  color:#e8f7ee!important;
  -webkit-text-fill-color:#e8f7ee;
  caret-color:#bff9d6;
  font-size:16px!important;
  line-height:1.5;
  min-width:0;
  box-sizing:border-box;
}
body[data-faa-theme="emerald"] .menu input::placeholder,
body[data-faa-theme="emerald"] .menu textarea::placeholder {
  color:#adcbbc!important;
  -webkit-text-fill-color:#adcbbc!important;
  opacity:1!important;
}
body[data-faa-theme="emerald"] .menu :is(input.input,textarea.input):focus {
  outline:2px solid #83dbb0;
  outline-offset:2px;
  box-shadow:none!important;
}
body[data-faa-theme="emerald"] .menu .inputGroup {
  min-width:0;
  max-width:100%;
}
body[data-faa-theme="emerald"] .menu .inputGroup > .input:not(select) {
  min-width:0;
  flex:1 1 auto;
}
body[data-faa-theme="emerald"] .menu .inputGroup-text {
  flex:0 0 auto;
}
body[data-faa-theme="emerald"] .menu--account .menu-footer textarea.input {
  min-height:44px;
  padding:9px 12px;
}
/* Autocomplete results use native keyboard/selection states. */
body[data-faa-theme="emerald"] .autoCompleteList {
  background:#0d291e!important;
  color:#dff3e8!important;
  border-color:#3a644e!important;
}
body[data-faa-theme="emerald"] .autoCompleteList li {
  color:inherit;
}
body[data-faa-theme="emerald"] .autoCompleteList li.is-selected {
  background:#234e39!important;
  color:#edfff5!important;
}
@media (forced-colors: active) {
  body[data-faa-theme="emerald"] .menu input::placeholder,
  body[data-faa-theme="emerald"] .menu textarea::placeholder {
    color:GrayText!important;
    -webkit-text-fill-color:GrayText!important;
  }
}


/* предыдущая версия: one fixed dark public presentation. */
html#XF{color-scheme:dark!important;background:#050e0c!important;}
body[data-faa-theme="emerald"] .p-footer-linkList a[href*="misc/style"],
body[data-faa-theme="emerald"] .p-footer-linkList .js-styleVariationsLink,
body[data-faa-theme="emerald"] .p-footer-linkList .js-styleVariationsLink + .menu{display:none!important;}

/* Error/important notices: preserve XenForo iconic padding so the icon never overlaps text. */
body[data-faa-theme="emerald"] .blockMessage--iconic,
body[data-faa-theme="emerald"] .block-rowMessage--iconic{
 position:relative!important;text-align:left!important;padding:14px 18px 14px 64px!important;min-height:58px!important;box-sizing:border-box;
}
body[data-faa-theme="emerald"] .blockMessage--iconic:before,
body[data-faa-theme="emerald"] .block-rowMessage--iconic:before{
 left:18px!important;top:50%!important;transform:translateY(-50%)!important;font-size:30px!important;line-height:1!important;width:32px!important;text-align:center;
}
body[data-faa-theme="emerald"] .blockMessage--error.blockMessage--iconic{background:#321a21!important;border-color:#82505a!important;color:#f7dce2!important;}

/* Article threads: wide, calm reading surface similar to a classic XenForo article page. */
body[data-faa-theme="emerald"] .message--article:not(.message--articlePreview){
 background:#101513!important;border:1px solid #293b32!important;border-radius:10px!important;overflow:hidden!important;box-shadow:none!important;color:#f0f4f1!important;
}
body[data-faa-theme="emerald"] .message--article:not(.message--articlePreview)>.message-inner,
body[data-faa-theme="emerald"] .message--article:not(.message--articlePreview) .message-cell--main,
body[data-faa-theme="emerald"] .message--article:not(.message--articlePreview) .message-main{
 width:100%!important;max-width:none!important;min-width:0!important;background:#101513!important;border:0!important;border-radius:0!important;
}
body[data-faa-theme="emerald"] .message--article:not(.message--articlePreview) .message-cell--main{padding:0!important;}
body[data-faa-theme="emerald"] .message--article:not(.message--articlePreview) .message-attribution{
 margin:0!important;padding:11px 14px!important;border-bottom:1px solid #28352f!important;background:#121715!important;color:#a8b9b0!important;
}
body[data-faa-theme="emerald"] .message--article:not(.message--articlePreview) .message-content{
 width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:10px 18px 26px!important;box-sizing:border-box!important;background:#101513!important;
}
body[data-faa-theme="emerald"] .message--article:not(.message--articlePreview) .message-userContent,
body[data-faa-theme="emerald"] .message--article:not(.message--articlePreview) .message-body,
body[data-faa-theme="emerald"] .message--article:not(.message--articlePreview) .bbWrapper{
 width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;color:#f0f4f1!important;
 font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif!important;font-size:var(--faa-font-body)!important;line-height:1.65!important;
}
body[data-faa-theme="emerald"] .message--article:not(.message--articlePreview) .message-body p{margin:.85em 0!important;}
body[data-faa-theme="emerald"] .message--article:not(.message--articlePreview) .message-body :is(img,.bbImage){max-width:100%!important;height:auto!important;}
body[data-faa-theme="emerald"] .message--article:not(.message--articlePreview) .message-footer{padding:12px 0 0!important;margin-top:18px!important;border-top:1px solid #28352f!important;}
body[data-faa-theme="emerald"] .message--article:not(.message--articlePreview) .message-articleUserInfo{background:#0c1511!important;border-top:1px solid #293b32!important;border-radius:0!important;}
@media(max-width:650px){
 body[data-faa-theme="emerald"] .message--article:not(.message--articlePreview) .message-content{padding:8px 12px 20px!important;}
 body[data-faa-theme="emerald"] .blockMessage--iconic,body[data-faa-theme="emerald"] .block-rowMessage--iconic{padding-left:54px!important;}
 body[data-faa-theme="emerald"] .blockMessage--iconic:before,body[data-faa-theme="emerald"] .block-rowMessage--iconic:before{left:13px!important;font-size:27px!important;}
}


/* 5AA5 1.0: public appearance is fixed dark; there is no user-selectable light mode. */
html#XF[data-app="public"]{color-scheme:dark!important;background:#050e0c!important;}
html#XF[data-app="public"] body{background:#050e0c!important;color:#e3ede4!important;}
body[data-faa-theme="emerald"] :is(.p-pageWrapper,.p-body,.p-body-inner,.p-body-main,.p-body-content,.p-body-pageContent){background-color:transparent;color:#e3ede4;}
body[data-faa-theme="emerald"] :is(.block-container,.menu-content,.overlay,.offCanvasMenu-content,.formRow,.inputGroup,.fr-popup,.fr-modal-wrapper){color-scheme:dark!important;}
body[data-faa-theme="emerald"] :is(input.input,textarea.input,select.input,.input,textarea,select){background-color:#071b14!important;color:#e8f5ed!important;border-color:#355d48!important;color-scheme:dark!important;}
body[data-faa-theme="emerald"] :is(input.input,textarea.input,.input,textarea)::placeholder{color:#9fbdad!important;opacity:1!important;}
body[data-faa-theme="emerald"] :is(.fr-box.fr-basic,.fr-wrapper,.fr-element,.fr-toolbar,.fr-second-toolbar,.fr-popup,.fr-modal,.fr-dropdown-menu,.fr-dropdown-wrapper){color-scheme:dark!important;}
body[data-faa-theme="emerald"] .fr-box.fr-basic .fr-wrapper,
body[data-faa-theme="emerald"] .fr-box.fr-basic .fr-element,
body[data-faa-theme="emerald"] .faa-crypto-composer .fr-wrapper,
body[data-faa-theme="emerald"] .faa-crypto-composer .fr-element{background:#071b13!important;color:#f2f6f3!important;-webkit-text-fill-color:#f2f6f3!important;}
body[data-faa-theme="emerald"] .fr-toolbar,
body[data-faa-theme="emerald"] .faa-crypto-composer .fr-toolbar{background:#113729!important;color:#d8eee2!important;border-color:#3b674f!important;}
body[data-faa-theme="emerald"] .fr-wrapper ::selection,
body[data-faa-theme="emerald"] .fr-element::selection,
body[data-faa-theme="emerald"] .fr-element *::selection{background:#2c684b!important;color:#f8fffb!important;-webkit-text-fill-color:#f8fffb!important;}
body[data-faa-theme="emerald"] .p-footer a[href*="misc/style"],
body[data-faa-theme="emerald"] .p-footer a[href*="style-variation"],
body[data-faa-theme="emerald"] .p-footer .js-styleVariationsLink,
body[data-faa-theme="emerald"] .p-footer .js-styleVariationsMenu{display:none!important;}

/* Iconic notices use flex layout, so the icon can never overlap anonymous text in overlays/login. */
body[data-faa-theme="emerald"] .blockMessage.blockMessage--iconic,
body[data-faa-theme="emerald"] .block-rowMessage.block-rowMessage--iconic{
 display:flex!important;align-items:flex-start!important;gap:12px!important;text-align:left!important;
 padding:12px 16px!important;min-height:52px!important;box-sizing:border-box!important;overflow:hidden!important;
}
body[data-faa-theme="emerald"] .blockMessage.blockMessage--iconic:before,
body[data-faa-theme="emerald"] .block-rowMessage.block-rowMessage--iconic:before{
 position:static!important;inset:auto!important;transform:none!important;display:block!important;flex:0 0 28px!important;
 width:28px!important;margin:1px 0 0!important;font-size:24px!important;line-height:1.2!important;text-align:center!important;
}
body[data-faa-theme="emerald"] .blockMessage.blockMessage--error.blockMessage--iconic{background:#321a21!important;color:#f7dce2!important;border-color:#82505a!important;}

/* Article thread type keeps its data semantics but the handler now uses the normal post/thread layout. */
body[data-faa-theme="emerald"] .message--article:not(.message--articlePreview){max-width:none!important;}


/* 5AA5 1.0 final dark lock and notice layout. Public pages never expose a light variation. */
html#XF[data-app="public"],html#XF[data-app="public"] body{color-scheme:dark!important;background:#050e0c!important;}
html#XF[data-app="public"] body :is(.p-pageWrapper,.p-body,.p-body-inner,.p-body-main,.p-body-content,.p-body-pageContent){color-scheme:dark!important;}
body[data-faa-theme="emerald"] :is(.block-container,.block-body,.block-row,.menu-content,.overlay,.offCanvasMenu-content,.formRow,.formSubmitRow-main,.inputGroup,.fr-popup,.fr-modal-wrapper,.fr-modal-content){color-scheme:dark!important;}
body[data-faa-theme="emerald"] :is(.p-footer-linkList a[href*="misc/style"],.p-footer-linkList a[href*="style-variation"],.js-styleVariationsLink,[data-xf-click="style-variation"]){display:none!important;}
body[data-faa-theme="emerald"] .blockMessage.blockMessage--iconic,
body[data-faa-theme="emerald"] .block-rowMessage.block-rowMessage--iconic{
 display:flex!important;align-items:center!important;gap:14px!important;min-height:54px!important;
 padding:12px 16px!important;text-align:left!important;overflow:visible!important;
}
body[data-faa-theme="emerald"] .blockMessage.blockMessage--iconic::before,
body[data-faa-theme="emerald"] .block-rowMessage.block-rowMessage--iconic::before{
 position:static!important;display:block!important;flex:0 0 28px!important;width:28px!important;height:auto!important;
 margin:0!important;inset:auto!important;transform:none!important;font-size:26px!important;line-height:1!important;text-align:center!important;
}
body[data-faa-theme="emerald"] .blockMessage.blockMessage--iconic>*:not(:first-child),
body[data-faa-theme="emerald"] .block-rowMessage.block-rowMessage--iconic>*:not(:first-child){min-width:0;}

/* 1.0.6: XF-native rich usernames in thread and conversation presence bars.
   More specific than the legacy `.faa-livebar a { margin-left:auto; }` rule.
   XF supplies `.username--styleN` on a child span when the group has styling;
   do not override that span's text colour/decoration. */
.faa-livebar--quiet :is(.faa-live-roster,.faa-live-typing) a.username {
  display:inline;
  margin:0!important;
  padding:0;
  max-width:none;
  white-space:inherit;
  font:inherit;
  color:inherit;
  text-decoration:none;
  vertical-align:baseline;
}
.faa-livebar--quiet :is(.faa-live-roster,.faa-live-typing) a.username:hover {
  text-decoration:underline;
  text-underline-offset:2px;
}
.faa-livebar--quiet :is(.faa-live-roster,.faa-live-typing) a.username:focus-visible {
  outline:2px solid #93e6b5;
  outline-offset:2px;
  border-radius:2px;
}
/* A username may be long; don't force the whole conversation pane wider. */
.faa-livebar--quiet .faa-live-summary { min-width:0; max-width:100%; }
.faa-livebar--quiet .faa-live-roster { min-width:0; }
@media(max-width:700px) {
  .faa-livebar--quiet .faa-live-summary {
    height:auto;
    min-height:22px;
    overflow:visible;
    align-items:flex-start;
    flex-wrap:wrap;
    gap:3px 10px;
  }
  .faa-livebar--quiet .faa-live-summary .faa-live-roster {
    white-space:normal;
    overflow:visible;
    text-overflow:clip;
    overflow-wrap:anywhere;
    line-height:1.6;
    flex-basis:100%;
  }
  .faa-livebar--quiet .faa-live-summary .faa-live-typing:not([hidden]) {
    max-width:100%;
    white-space:normal;
    overflow:visible;
    overflow-wrap:anywhere;
    line-height:1.6;
  }
}

/* v1.0.7: stable, native XenForo profile links for live presence. */
.faa-livebar--quiet :is(.faa-live-roster,.faa-live-typing) a.faa-presence-username {
  position:relative;z-index:1;pointer-events:auto!important;cursor:pointer;
  display:inline!important;text-decoration:none!important;
  touch-action:manipulation;
}
.faa-livebar--quiet :is(.faa-live-roster,.faa-live-typing) a.faa-presence-username:hover {text-decoration:underline!important;}
.faa-key-dialog .faa-key-advanced {margin:12px 0;color:#cae5d6;}
.faa-key-dialog .faa-key-advanced summary {cursor:pointer;}
.faa-key-dialog .faa-key-advanced[open] {padding-bottom:6px;}

/* 1.0.17: regular homepage previews share the same presentation as editorial pins.
   Keep a distinct CSS class: the "pinned" badge is reserved for real pinned threads. */
.faa-layout > [data-faa-portal-feed] { min-width:0; container: faaPortalFeed / inline-size; }
.faa-layout .faa-cards { display:flex; flex-direction:column; gap:16px; }
.faa-layout .faa-card--editorial { min-width:0; }
.faa-layout .faa-card--editorial .faa-card-copy { min-width:0; }
.faa-hero-actions .faa-action-compose,
.faa-section-actions .faa-action-compose,
.faa-empty-actions .faa-action-compose { border-color:#55856a; }
.faa-action-compose:hover { border-color:#91d7ae; background:#214633; color:#effff4!important; }
.faa-action-compose:focus-visible { outline:2px solid #9beabe; outline-offset:3px; }
.faa-empty-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-top:14px; }
.faa-hero-actions .faa-action,
.faa-section-actions .faa-action,
.faa-empty-actions .faa-action { min-width:0; text-align:center; overflow-wrap:anywhere; }
/* Container query matters when the native XenForo sidebar narrows this column. */
@container faaPortalFeed (max-width:640px) {
 .faa-layout :is(.faa-card--pinned,.faa-card--editorial) > .faa-card-layout { display:flex; flex-direction:column; }
 .faa-layout :is(.faa-card--pinned,.faa-card--editorial) .faa-card-art { width:100%; min-height:0; height:auto; aspect-ratio:16/9; border-right:0; border-bottom:1px solid #2f513c; }
 .faa-layout :is(.faa-card--pinned,.faa-card--editorial) .faa-card-body { padding:18px; }
 .faa-layout :is(.faa-card--pinned,.faa-card--editorial) .faa-card-bottom { padding:12px 18px; }
}
@media (max-width:700px) {
 .faa-section-actions .faa-action { flex:1 1 170px; }
 .faa-hero-actions .faa-action-compose { justify-content:center; }
}

/* 1.0.18 — portal image framing, shared by pinned/editorial/section cards.
   Keep the entire attachment visible. A small original must not be enlarged
   to fill the card; the separate blurred backdrop occupies the remaining area.
   No canvas or JavaScript manipulation of private attachment contents. */
.faa .faa-card-art.has-cover {
  position:relative;
  overflow:hidden;
  background:radial-gradient(ellipse at 52% 40%,#1b4432,#06160f 80%);
}
.faa .faa-card-art.has-cover > img.faa-card-art-backdrop {
  display:block;
  position:absolute;
  inset:-12%;
  width:124%;
  height:124%;
  max-width:none;
  max-height:none;
  object-fit:cover;
  object-position:center;
  filter:blur(19px) brightness(.42) saturate(.75);
  transform:scale(1.03);
  opacity:.78;
  z-index:0;
  pointer-events:none;
}
.faa .faa-card-art.has-cover > img.faa-card-art-image,
.faa .faa-card-art.has-cover.faa-fit-contain > img.faa-card-art-image {
  display:block;
  position:absolute;
  inset:auto;
  top:50%;
  left:50%;
  width:auto;
  height:auto;
  max-width:calc(100% - 18px);
  max-height:calc(100% - 18px);
  object-fit:scale-down;
  object-position:center;
  transform:translate(-50%,-50%);
  background:transparent;
  border-radius:7px;
  box-shadow:0 10px 26px #0007,0 0 0 1px #e7fff216;
  image-rendering:auto;
  z-index:2;
}
/* Preserve the admin's "contain" choice as the roomier, more framed mode. */
.faa .faa-card-art.has-cover.faa-fit-contain > img.faa-card-art-image {
  max-width:calc(100% - 30px);
  max-height:calc(100% - 30px);
}
/* The legacy image rules set width/height:100% for horizontal cards.
   The image's intrinsic pixel dimensions must win even there. */
.faa :is(.faa-card--pinned,.faa-card--editorial,.faa-card--horizontal) .faa-card-art.has-cover > img.faa-card-art-image {
  width:auto;
  height:auto;
}
/* Avoid over-sharpening text screenshots; the original is displayed at
   native size or smaller. On narrow cards, preserve image aspect ratio. */
@media (max-width:700px) {
  .faa .faa-card-art.has-cover > img.faa-card-art-image {
    max-width:calc(100% - 14px);
    max-height:calc(100% - 14px);
  }
}


/* 1.0.19 — Square 1:1 thumbnail frames for homepage, pinned and section previews.
   A full non-cropped image sits within a square, with the existing low-contrast
   blurred version filling only the surrounding space. Don't upsample a small
   attachment. This affects portal cards only, not images in forum posts. */
.faa .faa-card .faa-card-art {
  box-sizing:border-box;
  aspect-ratio:1 / 1;
  min-height:0;
}
.faa :is(.faa-card--pinned,.faa-card--editorial,.faa-card--horizontal) > .faa-card-layout {
  grid-template-columns:minmax(164px,33%) minmax(0,1fr);
}
.faa :is(.faa-card--pinned,.faa-card--editorial,.faa-card--horizontal) .faa-card-art {
  width:calc(100% - 24px);
  height:auto;
  min-height:0;
  aspect-ratio:1 / 1;
  align-self:center;
  margin:12px;
  border:1px solid #345940;
  border-radius:12px;
  box-shadow:0 8px 22px #0003;
}
.faa .faa-card-art.has-cover > img.faa-card-art-image {
  object-fit:scale-down;
}
/* When the feed, not necessarily the viewport, becomes narrow, stack the
   textual section below a centered and *still square* thumbnail. */
@container faaPortalFeed (max-width:640px) {
  .faa-layout :is(.faa-card--pinned,.faa-card--editorial) > .faa-card-layout {
    display:flex;
    flex-direction:column;
  }
  .faa-layout :is(.faa-card--pinned,.faa-card--editorial) .faa-card-art {
    width:min(300px,calc(100% - 24px));
    height:auto;
    min-height:0;
    aspect-ratio:1 / 1;
    align-self:center;
    margin:12px auto 0;
    border:1px solid #345940;
    border-radius:12px;
  }
}
@media (max-width:700px) {
  .faa :is(.faa-card--pinned,.faa-card--editorial,.faa-card--horizontal) > .faa-card-layout {
    display:flex;
    flex-direction:column;
  }
  .faa :is(.faa-card--pinned,.faa-card--editorial,.faa-card--horizontal) .faa-card-art {
    width:min(300px,calc(100% - 24px));
    height:auto;
    min-height:0;
    aspect-ratio:1 / 1;
    align-self:center;
    margin:12px auto 0;
    border:1px solid #345940;
    border-radius:12px;
  }
}


/* 1.0.20 — native XenForo BBCode excerpts: preserve paragraphs, lists and links.
   Previously Portal::excerpt() collapsed all whitespace and tags into one line.
   Card links are deliberately separate, because BBCode itself can contain links. */
.faa-preview-scope .faa-card .faa-card-thread-link,
.faa-preview-scope .faa-card .faa-card-read-link {color:inherit;text-decoration:none;}
.faa-preview-scope .faa-card .faa-card-thread-link:hover,
.faa-preview-scope .faa-card .faa-card-read-link:hover {color:#a9eac5;text-decoration:underline;text-underline-offset:3px;}
.faa-preview-scope .faa-card :is(.faa-card-art-link,.faa-card-thread-link,.faa-card-read-link,.faa-card-excerpt a):focus-visible {outline:2px solid #9cf1c0;outline-offset:3px;border-radius:4px;}
.faa-preview-scope .faa-card .faa-card-excerpt {
  font-size:var(--faa-preview-font-size,16px);line-height:1.65;
  color:#bcd3c5;overflow-wrap:anywhere;min-width:0;
}
.faa-preview-scope .faa-card .faa-card-excerpt :is(p,div) {max-width:100%;}
.faa-preview-scope .faa-card .faa-card-excerpt p {font-size:inherit;line-height:inherit;margin:0 0 .85em;}
.faa-preview-scope .faa-card .faa-card-excerpt p:last-child {margin-bottom:0;}
.faa-preview-scope .faa-card .faa-card-excerpt :is(ul,ol) {
  display:block;list-style-position:outside;padding:0 0 0 1.55em;
  margin:.45em 0 .95em;white-space:normal;
}
.faa-preview-scope .faa-card .faa-card-excerpt ul {list-style-type:disc;}
.faa-preview-scope .faa-card .faa-card-excerpt ol {list-style-type:decimal;}
.faa-preview-scope .faa-card .faa-card-excerpt li {display:list-item;padding:0;margin:.23em 0;line-height:1.55;}
.faa-preview-scope .faa-card .faa-card-excerpt li::marker {color:#9fd5b3;}
.faa-preview-scope .faa-card .faa-card-excerpt a {color:#8ecff0;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere;}
.faa-preview-scope .faa-card .faa-card-excerpt a:hover {color:#b9e8ff;}
.faa-preview-scope .faa-card .faa-card-excerpt :is(.bbCodeBlock,pre,blockquote) {
  max-width:100%;max-height:160px;overflow:auto;box-sizing:border-box;
}
.faa-preview-scope .faa-card .faa-card-excerpt .bbCodeBlock {margin:.65em 0;}
.faa-preview-scope .faa-card .faa-card-excerpt .bbCodeBlock-content {overflow:auto;}
.faa-preview-scope .faa-card .faa-card-bottom {align-items:center;}
.faa-preview-scope .faa-card .faa-card-excerpt :is(table,iframe,video) {max-width:100%;}
@media(max-width:700px){
 .faa-preview-scope .faa-card .faa-card-excerpt {line-height:1.55;}
 .faa-preview-scope .faa-card .faa-card-excerpt :is(ul,ol) {padding-left:1.35em;}
}


/* 1.0.21 — Compact, predictable portal cards after the XF BBCode preview fix.
   The old full-height art and unbounded paragraphs could stretch a square
   thumbnail to the height of an entire article. Restrict both axes explicitly
   and put the art *link* (the actual grid child) in the thumbnail column.
   These rules apply only to portal/section cards, never XenForo posts. */
.faa-preview-scope .faa-section-feed {min-width:0;container:faaPortalFeed / inline-size;}
.faa-preview-scope :is(.faa-card--pinned,.faa-card--editorial,.faa-card--horizontal) > .faa-card-layout {
  display:grid!important;
  grid-template-columns:clamp(112px,28%,210px) minmax(0,1fr)!important;
  align-items:start;
  height:auto!important;
  min-height:0;
  width:100%;
}
.faa-preview-scope .faa-card .faa-card-art-link {
  display:block;
  width:100%;
  min-width:0;
  padding:13px 0 13px 13px;
  align-self:start;
  box-sizing:border-box;
  line-height:0;
}
.faa-preview-scope .faa-card .faa-card-art {
  display:flex;
  width:100%!important;
  max-width:196px!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:1 / 1!important;
  margin:0!important;
  box-sizing:border-box;
  border:1px solid #355b45;
  border-radius:11px;
  box-shadow:0 8px 20px #0004;
}
.faa-preview-scope .faa-card .faa-card-copy {
  min-width:0;
  width:100%;
  display:flex;
  flex-direction:column;
}
.faa-preview-scope .faa-card .faa-card-body {
  min-width:0;
  padding:16px 19px 12px;
}
.faa-preview-scope .faa-card .faa-card-body h3 {
  margin:10px 0 11px;
}
.faa-preview-scope .faa-card .faa-card-excerpt {
  display:block;
  min-width:0;
  /* A 1024-character snippet must not be clipped to the former 175px. */
  max-height:none!important;
  height:auto!important;
  overflow:visible!important;
  font-size:clamp(13px,var(--faa-preview-font-size,16px),18px);
  line-height:1.56;
  overflow-wrap:anywhere;
}
.faa-preview-scope .faa-card .faa-card-excerpt :is(p,ul,ol,blockquote,.bbCodeBlock,pre,table) {
  max-width:100%;
  font-size:inherit;
}
.faa-preview-scope .faa-card .faa-card-excerpt :is(h1,h2,h3,h4) {
  font-size:1em;
  margin:.4em 0;
  line-height:1.35;
}
.faa-preview-scope .faa-card .faa-card-bottom {
  padding:11px 19px;
  margin-top:auto;
  gap:8px;
  flex-wrap:wrap;
}
@container faaPortalFeed (max-width:620px) {
  .faa-preview-scope :is(.faa-card--pinned,.faa-card--editorial,.faa-card--horizontal) > .faa-card-layout {
    display:grid!important;
    grid-template-columns:clamp(100px,26%,138px) minmax(0,1fr)!important;
  }
  .faa-preview-scope .faa-card .faa-card-excerpt {line-height:1.5;}
  .faa-preview-scope .faa-card .faa-card-body {padding:13px 13px 10px;}
  .faa-preview-scope .faa-card .faa-card-bottom {padding:10px 13px;}
  .faa-preview-scope .faa-card .faa-card-art-link {padding:12px 0 12px 12px;}
  .faa-preview-scope .faa-card .faa-card-meta {gap:5px;font-size:9px;}
}
@media(max-width:700px) {
  .faa-preview-scope :is(.faa-card--pinned,.faa-card--editorial,.faa-card--horizontal) > .faa-card-layout {
    display:grid!important;
    grid-template-columns:clamp(95px,26%,128px) minmax(0,1fr)!important;
  }
  .faa-preview-scope .faa-card .faa-card-art-link {padding:12px 0 12px 12px;}
  .faa-preview-scope .faa-card .faa-card-art {max-width:120px!important;}
  .faa-preview-scope .faa-card .faa-card-excerpt {line-height:1.55;}
  .faa-preview-scope .faa-card .faa-card-body {padding:12px 12px 9px;}
  .faa-preview-scope .faa-card .faa-card-bottom {padding:10px 12px;}
  .faa-preview-scope .faa-card .faa-card-meta {font-size:9px;letter-spacing:.03em;}
  .faa-preview-scope .faa-card .faa-card-body h3 {font-size:clamp(15px,4vw,20px);margin:8px 0;}
}
/* Keep the fallback 5AA5 artwork legible inside a small square. */
.faa-preview-scope .faa-card .faa-card-art b {
  max-width:100%;
  font-size:clamp(18px,3.2vw,34px);
  letter-spacing:-.07em;
  white-space:nowrap;
}
@media(max-width:700px) {
  .faa-preview-scope .faa-card .faa-card-art b {font-size:clamp(17px,5.5vw,25px);}
}

/* 1.0.22 — Respect full configured preview length on all widths.
   The server limits content with bb_code_snippet; the square art frame stays
   fixed while the copy column grows naturally. No page/article styling changes. */
.faa-preview-scope .faa-card .faa-card-copy {height:auto;min-height:0;}
.faa-preview-scope .faa-card .faa-card-excerpt {max-height:none!important;height:auto!important;overflow:visible!important;}
/* A long, administrator-configured preview is more readable across the full
   phone width than in a 200px-wide column beside a tiny 80px thumbnail. */
@media (max-width:520px) {
  .faa-preview-scope :is(.faa-card--pinned,.faa-card--editorial,.faa-card--horizontal) > .faa-card-layout {
    grid-template-columns:minmax(0,1fr)!important;
  }
  .faa-preview-scope .faa-card .faa-card-art-link {
    width:min(158px,calc(100% - 24px));
    margin:0 auto;
    padding:12px 0 0;
  }
  .faa-preview-scope .faa-card .faa-card-art {max-width:158px!important;}
  .faa-preview-scope .faa-card .faa-card-body {padding:14px 16px 12px;}
  .faa-preview-scope .faa-card .faa-card-bottom {padding:11px 16px;}
}

/* 5AA5 1.0.28: Useful contact card and Telegram AI CTA on the portal. */
.faa .faa-side {display:flex;flex-direction:column;gap:18px;min-width:0;}
.faa .faa-side > .faa-side-panel {margin:0;min-width:0;}
.faa .faa-useful-panel {position:relative;overflow:hidden;padding:20px;background:linear-gradient(154deg,#193a27 0%,#10281b 48%,#0b2016 100%);border-color:#477452;}
.faa .faa-useful-panel:before {content:"";position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(90deg,#99e9b3,#728e5e,transparent);}
.faa .faa-useful-heading {margin-bottom:17px;}
.faa .faa-useful-heading h3 {margin:5px 0 0;font-size:23px;letter-spacing:-.5px;color:#eaf8eb;line-height:1.3;}
.faa .faa-useful-list {display:flex;flex-direction:column;}
.faa .faa-useful-row {display:flex;align-items:flex-start;gap:11px;min-width:0;padding:14px 0;border-top:1px solid #33533c;}
.faa .faa-useful-icon {display:grid;place-items:center;flex:0 0 32px;height:32px;border:1px solid #416847;background:#22422b;color:#b6edc1;border-radius:9px;font-size:14px;}
.faa .faa-useful-info {min-width:0;flex:1;}
.faa .faa-useful-label {display:block;margin:0 0 5px;color:#d4e8d6;font-size:12px;font-weight:670;line-height:1.5;}
.faa .faa-useful-link {display:inline-block;max-width:100%;color:#9eecc2;line-height:1.55;font-size:12px;text-decoration:none;overflow-wrap:anywhere;word-break:break-word;}
.faa .faa-useful-link:hover {color:#d2ffe1;text-decoration:underline;}
.faa .faa-useful-link--long {font:11px/1.65 ui-monospace,Consolas,monospace;overflow-wrap:anywhere;word-break:break-all;}
.faa .faa-useful-subline {display:block;margin:2px 0 9px;font-size:11px;line-height:1.5;color:#b0c8b3;}
.faa .faa-useful-wallet {display:flex;align-items:flex-start;gap:7px;min-width:0;}
.faa .faa-useful-wallet code {min-width:0;flex:1;display:block;margin:0;padding:10px 8px;border-radius:7px;border:1px solid #355940;background:#092015;font:11px/1.5 ui-monospace,Consolas,monospace;color:#e0f9df;overflow-wrap:anywhere;word-break:break-all;user-select:all;}
.faa .faa-useful-copy {flex:0 0 32px;width:32px;height:34px;border:1px solid #54765b;border-radius:7px;background:#23442e;color:#c5f6cf;cursor:pointer;display:grid;place-items:center;}
.faa .faa-useful-copy:hover {border-color:#a2e7b7;background:#315a3c;}
.faa .faa-useful-copy:focus-visible {outline:2px solid #a4f3bd;outline-offset:2px;}
.faa .faa-useful-copy-status {display:block;margin-top:6px;font-size:11px;line-height:1.4;color:#a4ecc0;}
.faa .faa-useful-copy-status[hidden] {display:none;}
.faa .faa-useful-channel i {margin-left:4px;font-size:10px;}
.faa .faa-hero-actions .faa-action-telegram {border-color:#4e8f72;background:#153626;color:#c4f5d7!important;gap:12px;text-align:left;}
.faa .faa-hero-actions .faa-action-telegram:hover {background:#205338;border-color:#8acda1;}
.faa .faa-hero-actions .faa-action-telegram i {flex-shrink:0;}
@media(max-width:700px) { .faa .faa-useful-panel {padding:20px;} .faa .faa-hero-actions .faa-action-telegram {justify-content:space-between;} }

/* 5AA5 Hub 1.0.29 — three clear benefit cards on the portal. */
.faa .faa-principles{gap:24px;align-items:start;}
.faa .faa-principles > .faa-principle{min-width:0;}
.faa .faa-principles .faa-principles-kicker{display:block;margin:0 0 8px;font-size:10px;font-weight:700;line-height:1.5;letter-spacing:.09em;text-transform:uppercase;color:#a9dcb6;}
.faa .faa-principles .faa-principle > b{display:block;margin:0 0 7px;color:#effaec;font-size:15px;font-weight:700;line-height:1.45;}
.faa .faa-principles .faa-principle > p{margin:0;color:#abc6b1;font-size:13px;line-height:1.7;overflow-wrap:anywhere;}
@media(min-width:701px){.faa .faa-principles > .faa-principle + .faa-principle{border-left:1px solid #355237;padding-left:22px;}}
@media(max-width:700px){.faa .faa-principles{gap:14px;}.faa .faa-principles > .faa-principle + .faa-principle{border-top:1px solid #355237;padding-top:14px;}}

/* 1.0.30: load six more public, permission-checked portal cards on request. */
.faa .faa-more-controls { margin:22px 0 12px; text-align:center; }
.faa .faa-more-controls[hidden],
.faa .faa-load-more[hidden],
.faa-section-feed [data-faa-more-fallback-nav][hidden] { display:none!important; }
.faa .faa-load-more { width:100%; min-height:52px; display:inline-flex; align-items:center;
 justify-content:center; gap:10px; padding:13px 18px; background:#183925; border:1px solid #4f8862;
 border-radius:10px; color:#d6f7e4; font:600 14px/1.4 system-ui,sans-serif;
 cursor:pointer; transition:background-color .15s,border-color .15s,color .15s; }
.faa .faa-load-more:hover { border-color:#a2efbe; background:#244c32; color:#fff; }
.faa .faa-load-more:focus-visible { outline:2px solid #a2efbe; outline-offset:3px; }
.faa .faa-load-more:disabled { opacity:.67; cursor:wait; }
.faa .faa-more-status:not(:empty) { display:block; margin:10px auto 0; font-size:13px;
 line-height:1.5; color:#b5dac3; }
@media(max-width:700px) { .faa .faa-more-controls { margin-top:16px; }
 .faa .faa-load-more { padding:14px 12px; min-height:48px; } }

/* 1.0.40: explicit per-section publication ordering; works with classic and AJAX pagination. */
.faa-section-order { flex-wrap:wrap; align-items:center; gap:10px 16px; }
.faa-section-order-label { display:inline-flex; align-items:center; gap:8px; }
.faa-section-order-choices { display:flex; flex-wrap:wrap; gap:8px; }
.faa-section-order-choice { display:inline-flex; align-items:center; justify-content:center;
    min-height:36px; padding:7px 12px; background:#102c20;
    color:#b3d6c1; border:1px solid #315e47; border-radius:9px;
    font:500 13px/1.4 system-ui,sans-serif; text-decoration:none; }
.faa-section-order-choice:hover { background:#19412d; color:#e4ffeb; border-color:#72bc8f; }
.faa-section-order-choice.is-active { background:#1d4932; border-color:#78bf92; color:#edfff3; font-weight:700; }
.faa-section-order-choice:focus-visible { outline:2px solid #9cf1c0; outline-offset:3px; }
@media(max-width:600px) {
    .faa-section-order-label { width:100%; }
    .faa-section-order-choices { width:100%; }
    .faa-section-order-choice { flex:1 1 170px; text-align:center; }
}
