/* GSM Pro Hub — design system. Tokens match the reference design. */
:root{
  /* colour tokens (admin panel: EPC\Colors, option
     epc_theme_colors). v1.0.32-gsm-dashboard-redesign: the light
     Facebook-style dashboard palette — grey-blue page #F0F2F5,
     near-black text, grey muted text, green success. The plugin
     prints the same tokens in wp_head (stored values win over these
     stylesheet defaults); the stored palette is migrated by
     Installer::ensure_gsm_dashboard() only where a value still
     equals the old default. v1.0.36-facebook-design: tokens match
     Facebook exactly — success #31A24C, danger #E41E3F, warning
     #F1A918, primary-light #EBF5FF (the old #E7F3FF lives on as
     --epc-highlight). --epc-font-family is the admin-chosen font
     stack (EPC\Fonts, option epc_theme_fonts), defaulting to the
     Facebook system stack. v1.0.43-display-polish: the header/footer
     tokens now match the rendered Facebook design (white header, page-grey
     footer strip) — the old navy defaults are gone, the header/footer CSS
     uses the tokens again, and the stored palette is migrated by
     Installer::ensure_display_polish_colors() on the same terms.
     v1.0.67-colors-profile-leak: 12 more tokens (36 total) — link,
     heading, search background, header icon hover, sidebar
     background/link/active, primary button text, secondary button
     background/text/hover. Defaults are the current rendered
     values; the plugin prints the stored values in wp_head and
     they win over these stylesheet defaults. */
  --epc-header-bg:#FFFFFF; --epc-header-text:#050505; --epc-footer-bg:#F0F2F5; --epc-footer-text:#65676B;
  --epc-primary:#0866FF; --epc-primary-hover:#0052CC; --epc-primary-light:#EBF5FF; --epc-highlight:#E7F3FF;
  --epc-page-bg:#F0F2F5; --epc-card-bg:#FFFFFF; --epc-border:#E4E6EB; --epc-text:#050505; --epc-muted:#65676B;
  --epc-success:#31A24C; --epc-danger:#E41E3F; --epc-warning:#F1A918; --epc-verified:#1877F2; --epc-icon-color:#0866FF;
  --epc-section-home:#0866FF; --epc-section-pages:#0866FF; --epc-section-groups:#0866FF; --epc-section-ask-help:#0866FF;
  --epc-section-categories:#0866FF; --epc-section-events:#0866FF; --epc-section-jobs:#0866FF;
  --epc-link:#0866FF; --epc-heading:#050505; --epc-search-bg:#F0F2F5; --epc-header-icon-hover-bg:#D8DADF;
  --epc-sidebar-bg:#F0F2F5; --epc-sidebar-link:#050505; --epc-sidebar-active-bg:#EBF5FF; --epc-sidebar-active-text:#0866FF;
  --epc-btn-primary-text:#FFFFFF; --epc-btn-secondary-bg:#E4E6EB; --epc-btn-secondary-text:#050505; --epc-btn-secondary-hover:#D8DADF;
  /* v1.0.81-profile-dashboard: the Profile tokens (8 more, 44 total). */
  --epc-profile-detail-location:#16A765; --epc-profile-detail-experience:#0866FF; --epc-profile-detail-company:#E41E3F; --epc-profile-detail-certified:#16A765;
  --epc-profile-intro-icon:#0866FF; --epc-profile-intro-icon-hover:#16A765; --epc-profile-about-icon:#0866FF; --epc-profile-about-icon-hover:#16A765;
  /* Legacy aliases (pre-colour-token names) — kept so older overrides keep working. */
  --epc-navy:var(--epc-header-bg); --epc-blue:var(--epc-primary); --epc-blue-hover:var(--epc-primary-hover);
  --epc-blue-light:var(--epc-primary-light); --epc-bg:var(--epc-page-bg); --epc-card:var(--epc-card-bg);
  --epc-green:var(--epc-success); --epc-red:var(--epc-danger); --epc-yellow:var(--epc-warning);
  --epc-input:var(--epc-page-bg);
  --epc-shadow:0 1px 2px rgba(0,0,0,.1);
  --epc-shadow-lg:0 8px 24px rgba(0,0,0,.12); --epc-radius:8px; --epc-radius-sm:8px;
  --epc-header-h:56px; --epc-max:1400px; --epc-font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--epc-font-family,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif);background:var(--epc-page-bg);color:var(--epc-text);font-size:15px;line-height:1.33;-webkit-font-smoothing:antialiased;overflow-x:hidden;overflow-x:clip}
img{max-width:100%;height:auto}
a{color:var(--epc-link);text-decoration:none}
a:hover{text-decoration:underline}
/* v1.0.67-colors-profile-leak: headings follow the admin-editable
   heading colour (--epc-heading, default #050505). Cards with dark
   backgrounds re-assert white on their own h2 (.epc-promo h2,
   .epc-help-card h2); the muted ASK section label keeps its own
   colour (.epc-ask-section h4). */
h1,h2,h3,h4,h5,h6{color:var(--epc-heading)}
button{font-family:inherit;cursor:pointer}
input,textarea,select{font-family:inherit;font-size:1rem;color:var(--epc-text)}
:focus-visible{outline:3px solid var(--epc-primary);outline-offset:2px;border-radius:6px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip-link{position:absolute;inset-inline-start:12px;top:-60px;background:var(--epc-warning);color:#050505;padding:10px 16px;border-radius:8px;z-index:200;font-weight:700;transition:top .2s}
.skip-link:focus{top:12px;text-decoration:none}
.epc-icon{flex:none;vertical-align:-3px}
/* Buttons */
.epc-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:6px;min-height:36px;padding:0 16px;font-weight:600;font-size:15px;line-height:1.2;background:var(--epc-primary);color:var(--epc-btn-primary-text);transition:background .2s,filter .2s;text-decoration:none}
.epc-btn:hover{background:var(--epc-primary);filter:brightness(.95);text-decoration:none}
.epc-btn--sm{min-height:32px;padding:0 12px;font-size:15px}
.epc-btn--yellow{background:var(--epc-warning);color:#050505}
.epc-btn--yellow:hover{background:#eeb500}
/* v1.0.32-gsm-dashboard-redesign: white button for the gradient
   Join / Need Help cards — white pill, blue text, no lift. */
.epc-btn--white{background:var(--epc-card-bg);color:var(--epc-primary)}
.epc-btn--white:hover{background:var(--epc-page-bg);color:var(--epc-primary);box-shadow:none;transform:none}
.epc-btn--outline{background:transparent;border-color:var(--epc-border);color:var(--epc-text)}
.epc-btn--outline:hover{background:var(--epc-primary-light);color:#0064D1;box-shadow:none}
.epc-btn--ghost{background:transparent;color:var(--epc-primary)}
.epc-btn--ghost:hover{background:var(--epc-primary-light);color:#0064D1;box-shadow:none}
.epc-btn--danger{background:var(--epc-danger)}
.epc-btn:disabled{opacity:.55;cursor:not-allowed;transform:none}
/* Cards */
.epc-card{background:var(--epc-card-bg);border:1px solid var(--epc-border);border-radius:var(--epc-radius);box-shadow:var(--epc-shadow)}
.epc-card__title{font-size:17px;font-weight:700;margin:0 0 14px}
.epc-card__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.epc-card__head .epc-card__title{margin:0}
.epc-card__link{font-size:.88rem;font-weight:600;white-space:nowrap}
.epc-notice{background:var(--epc-primary-light);border:1px solid var(--epc-border);border-radius:var(--epc-radius);padding:18px 20px;margin-bottom:20px}
.epc-notice--warning{background:#FFF7E0;border-color:#F2D98A}
.epc-avatar{border-radius:50%;object-fit:cover;flex:none}
.epc-verified{display:inline-flex;vertical-align:-3px;margin-inline-start:3px}
.epc-verified:hover{cursor:help}
.epc-badge-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--epc-danger);color:#fff;font-size:12px;font-weight:700;line-height:1}
/* Header — 56px white bar, logo + name + tagline, light-grey search
   pill, labelled centre tabs (Home / Groups / Events / Messages /
   Notifications) with count badges, round grey action buttons. The bar
   uses the --epc-header-bg / --epc-header-text tokens (white header,
   dark text — the Facebook design; v1.0.43-display-polish re-wired the
   tokens after v1.0.36 hardcoded #FFFFFF). --epc-header-h
   drives every content offset (.epc-main, .epc-col--left, admin-bar
   variants), so the 56px change flows through automatically. */
.epc-header{position:fixed;inset:0 0 auto 0;height:var(--epc-header-h);background:var(--epc-header-bg);color:var(--epc-header-text);z-index:100;border-bottom:1px solid var(--epc-border);box-shadow:0 1px 4px rgba(0,0,0,.08)}
/* v1.0.45-composer-fixes: the header is already fixed in the base
   rule, but mobile browsers can lose fixed positioning when the body
   becomes a scroll container — overflow-x:clip above keeps the body
   from becoming one, and this re-asserts the fixed bar on small
   screens so it stays at the top while the feed scrolls. */
@media (max-width:768px){.epc-header{position:fixed;top:0;left:0;right:0;width:100%}}
body.admin-bar .epc-header{top:32px}
body.admin-bar .epc-main{padding-top:calc(var(--epc-header-h) + 54px)}
body.admin-bar .epc-col--left{top:calc(var(--epc-header-h) + 54px);max-height:calc(100vh - var(--epc-header-h) - 54px - 16px)}
@media (max-width:782px){body.admin-bar .epc-header{top:46px}body.admin-bar .epc-main{padding-top:calc(var(--epc-header-h) + 68px)}}
.epc-header__inner{max-width:none;height:100%;margin:0 auto;padding:0 16px;display:flex;align-items:center;gap:16px}
.epc-brand{display:flex;align-items:center;gap:10px;flex:none;text-decoration:none}
.epc-brand:hover{text-decoration:none}
.epc-brand__name{font-weight:800;font-size:1.05rem;line-height:1.05}
.epc-brand__logo{display:block;width:40px;height:40px;border-radius:50%;overflow:hidden;flex:none}
.epc-brand__logo-img{width:40px;height:40px;object-fit:cover;border-radius:50%;display:block}
.epc-header .epc-brand__name{font-weight:800;font-size:1rem;line-height:1.1;color:var(--epc-text);white-space:nowrap}
/* v1.0.32-gsm-dashboard-redesign: name + tagline stack next to the logo. */
.epc-brand__text{display:flex;flex-direction:column;line-height:1.15;min-width:0}
.epc-brand__tagline{font-size:.72rem;font-weight:600;color:var(--epc-muted);white-space:nowrap}
.epc-search{position:relative;flex:0 1 240px;max-width:240px}
.epc-search__toggle{display:none}
.epc-search__input{width:100%;height:40px;border:0;border-radius:999px;padding:0 16px 0 40px;background:var(--epc-search-bg);color:var(--epc-text);font-size:15px}
.epc-search__input::placeholder{color:var(--epc-muted)}
.epc-search__input:focus{background:var(--epc-border);outline:none}
.epc-search__icon{position:absolute;inset-inline-start:14px;top:50%;transform:translateY(-50%);color:var(--epc-muted);pointer-events:none;font-size:16px}
.epc-search__results{position:absolute;top:calc(100% + 8px);inset-inline:0;background:var(--epc-card-bg);color:var(--epc-text);border:1px solid var(--epc-border);border-radius:var(--epc-radius);box-shadow:var(--epc-shadow-lg);overflow:hidden;display:none;max-height:380px;overflow-y:auto}
.epc-search__results.is-open{display:block}
.epc-search__results a{display:flex;gap:10px;align-items:center;padding:10px 14px;color:var(--epc-text)}
.epc-search__results a:hover,.epc-search__results a:focus{background:var(--epc-page-bg);text-decoration:none}
.epc-header__nav{flex:1;display:flex;align-items:stretch;justify-content:center;gap:4px;min-width:0;height:100%}
.epc-header__nav a,.epc-header__nav-tab{flex:0 1 112px;max-width:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--epc-muted);border:0;border-bottom:3px solid transparent;border-radius:8px 8px 0 0;background:none;padding:4px 0 2px;position:relative;font:inherit}
.epc-header__nav a i,.epc-header__nav-tab i{font-size:24px}
.epc-header__nav-label{font-size:.72rem;font-weight:600;line-height:1;white-space:nowrap}
.epc-header__nav a:hover,.epc-header__nav-tab:hover{color:var(--epc-muted);text-decoration:none;background:var(--epc-page-bg)}
.epc-header__nav a.is-active,.epc-header__nav-tab.is-active{color:var(--epc-primary);border-bottom-color:var(--epc-primary)}
.epc-header__nav a.is-active:hover,.epc-header__nav-tab.is-active:hover{background:var(--epc-page-bg)}
.epc-header__nav .epc-badge-count{position:absolute;top:3px;inset-inline-start:calc(50% + 7px)}
/* The Notifications tab is a dropdown toggle: its .epc-dropdown wrapper
   takes the same flex slot as a link, and the menu drops below the bar. */
.epc-header__nav .epc-dropdown{flex:0 1 112px;max-width:112px;display:flex}
.epc-header__nav .epc-dropdown .epc-header__nav-tab{flex:1;max-width:none}
.epc-header__nav .epc-dropdown__menu{top:calc(100% + 6px)}
@media (max-width:1200px){
  .epc-header__nav-label{display:none}
  .epc-header__nav a,.epc-header__nav-tab{flex-basis:72px}
}
.epc-header__actions{display:flex;align-items:center;gap:8px;margin-inline-start:auto;flex:none}
.epc-icon-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;border:0;background:transparent;color:var(--epc-text);transition:background .2s}
.epc-icon-btn:hover{background:var(--epc-page-bg);color:var(--epc-text)}
.epc-icon-btn .epc-badge-count{position:absolute;top:2px;inset-inline-end:0}
.epc-header .epc-icon-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;border-radius:50%;border:0;background:var(--epc-border);color:var(--epc-text);transition:background .2s}
.epc-header .epc-icon-btn:hover{background:var(--epc-header-icon-hover-bg);color:var(--epc-text)}
.epc-header .epc-icon-btn i{font-size:20px}
.epc-header .epc-icon-btn .epc-badge-count{position:absolute;top:-4px;inset-inline-end:-4px}
.epc-header .epc-badge-count{background:var(--epc-danger);color:#fff}
.epc-user-chip{position:relative;display:flex;align-items:center;flex:none;background:transparent;border:0;padding:0;border-radius:50%}
.epc-user-chip:hover{background:transparent}
.epc-user-chip .epc-avatar{width:40px;height:40px}
.epc-user-chip__chevron{position:absolute;right:-2px;bottom:-2px;width:16px;height:16px;border-radius:50%;background:var(--epc-border);border:2px solid #fff;display:flex;align-items:center;justify-content:center;color:var(--epc-text)}
.epc-user-chip__chevron i{font-size:8px}
.epc-dropdown{position:relative}
.epc-dropdown__menu{position:absolute;top:calc(100% + 10px);inset-inline-end:0;min-width:230px;background:var(--epc-card-bg);color:var(--epc-text);border:1px solid var(--epc-border);border-radius:var(--epc-radius);box-shadow:var(--epc-shadow-lg);padding:8px;display:none;z-index:120;max-height:calc(100vh - 140px);overflow-y:auto}
.epc-dropdown__menu.is-open{display:block}
/* v1.0.60-chat-fixes: a long menu (Admin's post menu is ~360px) used
   to open downward with no height cap, so near the bottom of the
   viewport its lower items fell below the fold — unrendered and
   unclickable (the 'Enable comments' first click silently did
   nothing, live). The cap + scroll above is the safety net; the
   toggle handler also flips the menu upward when it would overflow
   (is-flipped, measured at open time in theme.js). */
.epc-dropdown__menu.is-flipped,.epc-post__menu-list.is-flipped{top:auto;bottom:calc(100% + 10px)}
/* v1.0.61-toast-menu-mobile: the hover lift transforms the card on
   :hover, making it a stacking context — a downward post menu then
   cannot paint above the NEXT card. While a menu is open its card
   is raised in the root stacking context (theme.js adds
   .epc-menu-open on open, removes it on every close), so the whole
   card — menu included — paints above its siblings. */
.epc-post.epc-menu-open,.epc-fb-card.epc-menu-open,.epc-fb-manage-card.epc-menu-open,.epc-listing-card.epc-menu-open,.epc-story.epc-menu-open{position:relative;z-index:130}
.epc-dropdown__menu a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;color:var(--epc-text);font-weight:500}
.epc-dropdown__menu a:hover{background:var(--epc-page-bg);color:var(--epc-text);text-decoration:none}
.epc-hamburger{display:none}
/* Layout */
.epc-main{max-width:var(--epc-max);margin:0 auto;padding:calc(var(--epc-header-h) + 16px) 16px 40px}
/* v1.0.54-mockup-match: the center feed column is wider (680px) and
   the sidebars narrower (320px) — the mockup's proportions. The
   center's 520px floor means the SIDEBARS give up width first on
   smaller laptop screens; the old 0px center floor let the center
   shrink to ~350px while the sidebars stayed at 360px. --epc-max
   grew 1374px → 1400px so the 320/680/320 grid + gaps fits exactly. */
.epc-layout{display:grid;grid-template-columns:minmax(260px,320px) minmax(520px,680px) minmax(260px,320px);gap:16px;align-items:start;justify-content:center}
/* v1.0.43-display-polish: the left rail is an independently scrollable
   column, Facebook-style — sticky under the header with its own thin
   scrollbar, so a tall nav no longer pushes the rail off the viewport.
   The drawer (mobile) is unaffected: it is position:fixed with its own
   scroll. */
.epc-col--left{position:sticky;top:calc(var(--epc-header-h) + 16px);max-height:calc(100vh - var(--epc-header-h) - 32px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#BCC0C4 transparent;background:var(--epc-sidebar-bg)}
.epc-col--left::-webkit-scrollbar{width:8px}
.epc-col--left::-webkit-scrollbar-thumb{background:#BCC0C4;border-radius:4px}
.epc-col--center{min-width:0;display:flex;flex-direction:column;gap:16px}
.epc-col--right{display:flex;flex-direction:column;gap:16px;min-width:0}
.epc-layout--single{grid-template-columns:1fr;max-width:860px;margin:0 auto}
/* v1.0.66-sidebar-header-leaks: plugin pages with the left sidebar —
   two columns (320px sidebar + flexible center), capped at 1240px so
   the center stays readable. The existing responsive rules cascade
   onto this modifier (same specificity, later in source): at
   <=1100px the center caps at 680px, at <=1024px the sidebar
   collapses to the 64px icon rail, and at <=860px the grid becomes
   one column with the sidebar hidden (the mobile drawer + bottom
   nav take over, exactly like the homepage). */
.epc-layout--with-sidebar{grid-template-columns:minmax(260px,320px) minmax(0,1fr);max-width:1240px;margin:0 auto}
.epc-page-card{padding:26px 28px}
.epc-page-card h1{margin-top:0}
/* Sidebar — v1.0.32-gsm-dashboard-redesign: Facebook-style left nav.
   Hover is a grey wash; the active item is the blue pill. */
.epc-sidebar-nav{display:flex;flex-direction:column;gap:2px;margin-bottom:20px}
.epc-sidebar-nav a,.epc-sidebar-nav__more{display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:8px;color:var(--epc-sidebar-link);font-weight:500;background:none;border:0;font:inherit;text-align:start;width:100%;cursor:pointer}
.epc-sidebar-nav a:hover,.epc-sidebar-nav__more:hover{background:var(--epc-border);color:var(--epc-text);text-decoration:none}
.epc-sidebar-nav a:hover .epc-icon,.epc-sidebar-nav__more:hover .epc-icon{color:var(--epc-icon-color)}
.epc-sidebar-nav a.is-active{background:var(--epc-sidebar-active-bg);color:var(--epc-sidebar-active-text);font-weight:700}
.epc-sidebar-nav .epc-badge-count{margin-inline-start:auto}
.epc-sidebar-nav__more i{transition:transform .2s}
.epc-sidebar-nav__more[aria-expanded="true"] i{transform:rotate(180deg)}
/* Green "New" pill on the Marketplace item (mockup). */
.epc-nav-badge-new{margin-inline-start:auto;background:var(--epc-success);color:#fff;font-size:.68rem;font-weight:700;line-height:1;padding:4px 8px;border-radius:999px;white-space:nowrap}
.epc-promo{background:linear-gradient(135deg,#0B4F3A 0%,#0A3D2C 55%,#0B5A7D 100%);color:#fff;border-radius:var(--epc-radius);padding:14px 16px;margin-bottom:16px;box-shadow:var(--epc-shadow);overflow:hidden}
.epc-promo h2{font-size:1.05rem;line-height:1.25;margin:0 0 4px;color:#fff}
.epc-promo p{color:rgba(255,255,255,.92);margin:0 0 10px;font-size:.85rem}
.epc-promo-art{display:block;width:auto;max-width:100%;height:90px;margin:4px auto 10px}
.epc-promo .epc-btn{padding:8px 14px;font-size:.85rem}
/* Need Help card (right column) — same green-blue gradient as the Join card. */
.epc-help-card{background:linear-gradient(135deg,var(--epc-success) 0%,#0866FF 100%);color:#fff;border-radius:var(--epc-radius);padding:22px;box-shadow:var(--epc-shadow)}
.epc-help-card h2{font-size:1.25rem;line-height:1.25;margin:0 0 6px;color:#fff}
.epc-help-card p{color:rgba(255,255,255,.92);margin:0 0 14px;font-size:.92rem}
.epc-trending{padding:12px 16px}
.epc-trending-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.epc-trending-list a{display:block;padding:8px 10px;border-radius:8px;color:var(--epc-link);font-weight:600}
.epc-trending-list a:hover{background:var(--epc-page-bg);text-decoration:none}
/* Trending Topics rows (right column): hashtag + real post count. */
.epc-trending-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;border-radius:8px;color:var(--epc-text);font-weight:600}
.epc-trending-row:hover{background:var(--epc-page-bg);text-decoration:none}
.epc-trending-row__tag{color:var(--epc-link);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.epc-trending-row__count{color:var(--epc-muted);font-size:.82rem;font-weight:500;flex:none}
/* Composer — v1.0.32-gsm-dashboard-redesign: grey trigger pill,
   borderless action buttons with Facebook-style coloured icons. */
.epc-composer{padding:12px 16px}
.epc-composer__top{display:flex;gap:12px;align-items:center}
.epc-composer__trigger{flex:1;text-align:start;background:var(--epc-input);border:0;border-radius:999px;padding:11px 18px;color:var(--epc-muted);font-size:17px}
.epc-composer__trigger:hover{background:var(--epc-border);color:var(--epc-text)}
/* v1.0.43-display-polish: the compact composer row — avatar + trigger
   pill + a bare green photo icon on the right (Facebook's photo
   green #45BD62), opening the modal in photo mode. The four-button
   actions row is gone from the logged-in card (the guest teaser in
   front-page.php still uses .epc-composer__actions). */
.epc-composer__photo-btn{display:inline-flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;border:0;border-radius:50%;background:transparent;cursor:pointer;color:#45BD62}
.epc-composer__photo-btn:hover{background:var(--epc-input)}
.epc-composer__actions{display:flex;margin-top:12px;border-top:1px solid var(--epc-border);padding-top:12px;gap:6px}
.epc-composer__actions button,.epc-composer__actions a{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;background:transparent;border:0;border-radius:8px;padding:9px 6px;font-weight:600;font-size:15px;color:var(--epc-text);transition:background .2s,color .2s;text-decoration:none}
.epc-composer__actions button:hover,.epc-composer__actions a:hover{background:var(--epc-input);color:var(--epc-text);text-decoration:none}
.epc-composer__actions button .epc-icon,.epc-composer__actions a .epc-icon{color:var(--epc-icon-color)}
.epc-composer__actions .epc-composer-btn--live .epc-icon{color:#F02849}
.epc-composer__actions .epc-composer-btn--photo .epc-icon{color:#45BD62}
.epc-composer__actions .epc-composer-btn--feeling .epc-icon{color:#F7B928}
.epc-composer__actions .epc-composer-btn--event .epc-icon{color:#7C3AED}
/* Live Video opens the composer with the video-link hint: the site has
   no live streaming — video is shared by link only. The hint shows
   only when the modal opened in live mode (data-mode="live"). */
.epc-composer__video-hint{display:none;background:var(--epc-highlight);border:1px solid var(--epc-border);border-radius:10px;padding:10px 12px;font-size:.88rem;color:var(--epc-text);margin:0 0 12px}
#epc-composer-modal[data-mode="live"] .epc-composer__video-hint{display:block}
/* Initials placeholder used instead of a broken <img> when no avatar URL exists. */
.epc-avatar-placeholder{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--epc-border);color:var(--epc-muted);font-weight:700;font-size:.95rem;flex:none}
/* Stories row — Facebook-style horizontal cards. v1.0.36: the section
   is BARE (no white card wrapper — Facebook stories sit on grey) with
   a slim "Stories / See all" header and a flex row of 112x200px
   cards; the first card is the "Create story" card. The story name
   sits inside the card bottom, white over a gradient. */
.epc-stories{padding:0}
.epc-stories__row{display:flex;gap:12px;overflow-x:auto;padding-bottom:10px;scrollbar-width:thin;align-items:flex-start}
.epc-story{flex:0 0 112px;text-align:center;background:none;border:0;padding:0;color:var(--epc-text)}
/* v1.0.46-features: the thumb is a <span> — without display:block its
   width/height never applied, so a caption-only story (no media)
   collapsed to a tiny dot (the avatar's blue ring). Block layout
   makes every tile a real 112x200 card. */
.epc-story__thumb{display:block;position:relative;width:112px;height:200px;border-radius:8px;overflow:hidden;background:var(--epc-page-bg)}
.epc-story__thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.epc-story:hover .epc-story__thumb img{transform:scale(1.06)}
.epc-story__avatar{position:absolute;top:8px;inset-inline-start:8px;width:40px;height:40px;border-radius:50%;object-fit:cover;border:4px solid var(--epc-primary)}
.epc-story.is-seen .epc-story__avatar{border-color:#B9C6D8}
.epc-story__name{position:absolute;left:0;right:0;bottom:0;padding:28px 8px 8px;text-align:start;color:#fff;font-size:12px;font-weight:600;line-height:1.25;background:linear-gradient(to top,rgba(0,0,0,.65),transparent);border-radius:0 0 8px 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.epc-story--create .epc-story__thumb{display:flex;align-items:flex-end;justify-content:center;background:var(--epc-page-bg)}
.epc-story--create .epc-story__plus{position:absolute;top:auto;bottom:34px;left:50%;transform:translateX(-50%);width:40px;height:40px;border-radius:50%;background:var(--epc-primary);color:#fff;display:flex;align-items:center;justify-content:center;border:4px solid #fff}
/* v1.0.46-features: caption-only stories (share-to-story from a
   text-only post) render the caption on a gradient, like Facebook's
   text stories. */
.epc-story--text .epc-story__thumb{background:linear-gradient(160deg,#8b5cf6,#ec4899)}
.epc-story__text{position:absolute;left:0;right:0;top:56px;padding:0 10px;color:#fff;font-size:14px;font-weight:600;line-height:1.3;text-align:center;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}
/* Post cards */
.epc-post{padding:12px 16px}
.epc-post__header{display:flex;gap:12px;align-items:flex-start;margin-bottom:12px}
.epc-post__author{flex:1;min-width:0;line-height:1.3}
.epc-post__author strong{font-size:15px;font-weight:600}
.epc-post__meta{color:var(--epc-muted);font-size:13px;font-weight:700}
.epc-post__menu{position:relative}
.epc-post__body{font-size:15px;word-wrap:break-word}
.epc-post__body p{margin:0 0 10px}
.epc-hashtag{color:var(--epc-link);font-weight:600}
.epc-mention-all{color:var(--epc-link);font-weight:700}
.epc-post__tagged{color:var(--epc-muted);font-size:13px;margin-top:2px}
.epc-post__tagged a{color:var(--epc-text);font-weight:600}
/* v1.0.45-composer-fixes: background posts — short text on a coloured
   card, large centred text like Facebook's. The key comes from
   Posts::BACKGROUNDS; the theme only renders it on a text-only post
   (≤150 chars, no media, no video link). */
.epc-post__body--bg{display:flex;align-items:center;justify-content:center;min-height:280px;padding:32px 24px;border-radius:8px;font-size:28px;font-weight:700;line-height:1.3;text-align:center;color:#fff}
.epc-post__body--bg a{color:#fff;text-decoration:underline}
.epc-post__body--bg-purple{background:linear-gradient(135deg,#7B2FF7,#F107A3)}
.epc-post__body--bg-red{background:linear-gradient(135deg,#EB3349,#F45C43)}
.epc-post__body--bg-black{background:#050505}
.epc-post__body--bg-pink{background:linear-gradient(135deg,#FF6A88,#FF9A8B)}
.epc-post__body--bg-orange{background:linear-gradient(135deg,#F7971E,#FFD200)}
.epc-post__body--bg-blue{background:linear-gradient(135deg,#2193B0,#6DD5ED)}
.epc-post__body--bg-green{background:linear-gradient(135deg,#11998E,#38EF7D)}
.epc-post__body--bg-sunset{background:linear-gradient(135deg,#FF512F,#DD2476)}
/* v1.0.45-composer-fixes: embedded video player for YouTube/Vimeo
   links in the post text — 16:9, responsive, full card width. No
   upload anywhere; the player loads from the video host. */
.epc-post__video{position:relative;width:100%;padding-top:56.25%;margin-top:12px;background:#000;border-radius:8px;overflow:hidden}
.epc-post__video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
/* v1.0.44-posts-privacy: post images auto-fit the card — any uploaded
   size stays inside the layout (single images cap at 560px tall with
   object-fit:contain on the black stage; grid tiles are uniform
   1:1 cover crops; nothing may exceed the card width). */
.epc-post__media{margin:12px -16px 0;border-radius:0;overflow:hidden;background:#000000;max-width:calc(100% + 32px)}
.epc-post__media img{height:auto;max-height:560px;object-fit:contain}
.epc-post__media img,.epc-post__media video{width:100%;max-width:100%;display:block}
.epc-post__media--grid{display:grid;grid-template-columns:1fr 1fr;gap:4px}
.epc-post__media--grid img{aspect-ratio:1/1;object-fit:cover;max-height:none;height:100%}
.epc-post img{max-width:100%}
/* v1.0.52-allowlist-toast-register: the stats row sits at the TOP of
   the card now, directly under the header — compact 13px, no bottom
   border (it used to sit at the bottom, above the action row, at 15px
   with a divider). */
.epc-post__stats{display:flex;justify-content:space-between;gap:10px;padding:0 2px 10px;color:var(--epc-muted);font-size:13px}
.epc-post__reactions{display:flex;align-items:center;gap:5px}
.epc-reaction-dot{width:18px;height:18px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:.7rem}
/* v1.0.44-posts-privacy: Like/Comment/Share/Save row, Facebook-style —
   10px tall buttons, 6px radius, #F0F2F5 hover, a hairline under the
   row (the comments block's own top hairline is removed so the line
   never doubles). */
.epc-post__actions{display:flex;gap:4px;padding:6px 0 8px;border-bottom:1px solid var(--epc-border)}
.epc-post__actions button{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;background:none;border:0;border-radius:6px;padding:10px 4px;font-weight:600;color:var(--epc-muted);font-size:15px;line-height:1.2}
/* v1.0.45-composer-fixes: the Get-messages action is a link (it opens
   the messages page) — it looks and behaves like the buttons. */
.epc-post__actions a{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;background:none;border:0;border-radius:6px;padding:10px 4px;font-weight:600;color:var(--epc-muted);font-size:15px;line-height:1.2;text-decoration:none}
.epc-post__actions a:hover{background:var(--epc-page-bg);color:var(--epc-text);text-decoration:none}
.epc-post__actions a i{font-size:18px}
.epc-post__actions button:hover{background:var(--epc-page-bg);color:var(--epc-text)}
.epc-post__actions button.is-active{color:var(--epc-primary)}
.epc-post__actions button i{font-size:18px}
.epc-post__actions button svg{flex:none}
.epc-reaction-picker{position:absolute;bottom:calc(100% + 6px);inset-inline-start:0;background:var(--epc-card-bg);border:1px solid var(--epc-border);border-radius:999px;box-shadow:var(--epc-shadow-lg);padding:6px;display:none;gap:4px;z-index:20}
.epc-reaction-picker.is-open{display:flex}
.epc-reaction-picker button{font-size:1.35rem;background:none;border:0;padding:4px 6px;border-radius:50%}
.epc-reaction-picker button:hover{background:var(--epc-primary-light);transform:scale(1.15)}
.epc-comments{margin-top:12px;padding-top:12px;display:flex;flex-direction:column;gap:12px}
.epc-comment{display:flex;gap:10px;flex-wrap:wrap}
.epc-comment__replies{flex-basis:100%;margin-left:42px;display:flex;flex-direction:column;gap:12px;margin-top:10px}
.epc-comment__reply-form{flex-basis:100%;margin-left:42px;display:flex;gap:8px;align-items:flex-start;margin-top:10px}
.epc-comment__bubble{background:var(--epc-input);border-radius:18px;padding:9px 13px;flex:1;min-width:0;overflow-wrap:break-word}
.epc-comment__bubble strong{font-size:15px;font-weight:600}
.epc-comment__bubble p{margin:2px 0 0;font-size:15px}
.epc-comment__meta{font-size:12px;font-weight:600;color:var(--epc-muted);margin-top:4px;display:flex;gap:12px}
.epc-comment-form{display:flex;gap:10px;align-items:flex-start}
.epc-comment-input{flex:1;min-width:0;overflow-wrap:anywhere;min-height:36px;max-height:140px;overflow-y:auto;background:var(--epc-input);border:0;border-radius:20px;padding:10px 16px;font-size:.92rem}
.epc-comment-input:empty::before{content:attr(data-placeholder);color:var(--epc-muted)}
.epc-comment-input:focus{outline:2px solid var(--epc-primary);outline-offset:1px}
/* Right column lists */
.epc-side-card{padding:12px 16px}
.epc-person,.epc-group-row,.epc-event-row,.epc-job-row{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--epc-border)}
.epc-person:last-child,.epc-group-row:last-child,.epc-event-row:last-child,.epc-job-row:last-child{border-bottom:0;padding-bottom:0}
.epc-person:first-of-type,.epc-group-row:first-of-type,.epc-event-row:first-of-type,.epc-job-row:first-of-type{padding-top:0}
.epc-person__info,.epc-group-row__info,.epc-event-row__info,.epc-job-row__info{flex:1;min-width:0;line-height:1.3}
.epc-person__info strong,.epc-group-row__info strong,.epc-event-row__info strong,.epc-job-row__info strong{font-size:.93rem;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.epc-person__info small,.epc-group-row__info small,.epc-event-row__info small,.epc-job-row__info small{color:var(--epc-muted);font-size:.82rem}
/* v1.0.47-fixes: the "Near you" label on a local group/page (the
   discovery tier flag is_local) — green pill, same green as the
   Sponsored ad label, so a nearby group/page is visible at a glance. */
.epc-local-badge{display:inline-block;background:#E7F6EC;color:#1B7A3D;border:1px solid #BFE8CC;border-radius:999px;padding:1px 8px;font-size:.72rem;font-weight:700;line-height:1.6;white-space:nowrap;vertical-align:middle}
.epc-avatar-wrap{position:relative;flex:none}
.epc-online-dot{position:absolute;bottom:1px;inset-inline-end:1px;width:12px;height:12px;border-radius:50%;background:var(--epc-success);border:2px solid var(--epc-card-bg)}
/* v1.0.30-online-dot-verify-badge-emoji: the profile picture gets a
   bigger dot (the avatar is 170px, 120px on mobile). v1.0.36 removed
   the --flash pulsing ring (Facebook has no flashing dot); the
   epc_online_flash user meta still exists but no longer animates. */
.epc-online-dot--large{width:16px;height:16px;border-width:2px;bottom:4px;inset-inline-end:4px}
.epc-event-icon,.epc-job-icon{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;flex:none;font-weight:700}
.epc-tag{display:inline-block;padding:2px 8px;border-radius:999px;font-size:.74rem;font-weight:600}
.epc-tag--blue{background:var(--epc-primary-light);color:var(--epc-primary)}
.epc-tag--green{background:#E3F6EC;color:#0E7A46}
/* Profile header */
/* v1.0.55-notifications-avatars: the cover banner has cut
   (chamfered) corners on ALL FOUR sides plus a border-type frame.
   clip-path clips borders, so the frame is the container itself:
   its background is the border colour (--epc-cover-border, admin
   editable) and a 3px padding shows it around the inner frame,
   which carries the gradient (or the photo) with a slightly
   smaller chamfer. The Edit button sits 16px inside, clear of the
   14px cut. Group/page covers reuse .epc-profile-cover with a
   direct <img> child (no frame div) — the >img rule below gives
   them the same inner chamfer. The height declaration stays first
   in the rule (harness-pinned FB parity: 350px). */
.epc-profile-cover{height:350px;background:var(--epc-cover-border,#0866FF);padding:3px;clip-path:polygon(14px 0,calc(100% - 14px) 0,100% 14px,100% calc(100% - 14px),calc(100% - 14px) 100%,14px 100%,0 calc(100% - 14px),0 14px)}
.epc-profile-cover__frame{position:relative;height:100%;background:linear-gradient(120deg,#E4E6EB,#D8DADF);clip-path:polygon(11px 0,calc(100% - 11px) 0,100% 11px,100% calc(100% - 11px),calc(100% - 11px) 100%,11px 100%,0 calc(100% - 11px),0 11px);overflow:hidden}
.epc-profile-cover__frame img,.epc-profile-cover>img{width:100%;height:100%;object-fit:cover;display:block}
.epc-profile-cover>img{clip-path:polygon(11px 0,calc(100% - 11px) 0,100% 11px,100% calc(100% - 11px),calc(100% - 11px) 100%,11px 100%,0 calc(100% - 11px),0 11px)}
.epc-profile-head{padding:0 24px 20px;display:flex;gap:18px;align-items:flex-end;flex-wrap:wrap}
.epc-profile-head .epc-avatar{width:170px;height:170px;border:4px solid var(--epc-card-bg);margin-top:-32px;background:var(--epc-card-bg)}
/* v1.0.43-display-polish: the head is align-items:flex-end, so a tall
   info column used to sink the avatar below the cover on other users'
   profiles (own profiles, with shorter info, overlapped). Pin the
   avatar wrap to the top of the flex line so the -32px margin overlaps
   the cover on EVERY profile, Facebook-style. Scoped to the profile
   head — right-suggestions.php uses .epc-avatar-wrap in another
   context. 170px avatar / 350px cover unchanged. */
.epc-profile-head .epc-avatar-wrap{align-self:flex-start}
.epc-profile-head__info{flex:1;min-width:220px;padding-bottom:6px}
.epc-profile-head__info h1{margin:0;font-size:32px;font-weight:700}
.epc-profile-tabs{display:flex;gap:4px;border-top:1px solid var(--epc-border);padding:0 16px;overflow-x:auto}
.epc-profile-tabs a{padding:14px 14px 11px;border-radius:8px 8px 0 0;border-bottom:3px solid transparent;font-weight:600;font-size:15px;color:var(--epc-muted);white-space:nowrap}
.epc-profile-tabs a:hover{background:var(--epc-page-bg);color:var(--epc-text);text-decoration:none}
.epc-profile-tabs a.is-active{color:var(--epc-primary);border-bottom-color:var(--epc-primary);background:transparent}
/* page-admin-fix: directory tabs (All / Friends / Requests /
   Sent) mirror the profile tabs; notification Accept/Deny sit in a row
   under the notification text. No colour changes. */
.epc-directory-tabs{display:flex;gap:4px;padding:0 0 16px;overflow-x:auto}
.epc-directory-tabs button{padding:12px 14px 9px;border:0;border-bottom:3px solid transparent;border-radius:8px 8px 0 0;font-weight:600;font-size:15px;color:var(--epc-muted);white-space:nowrap;background:none;cursor:pointer;font:inherit}
.epc-directory-tabs button:hover{background:var(--epc-page-bg);color:var(--epc-text)}
.epc-directory-tabs button.is-active{color:var(--epc-primary);border-bottom-color:var(--epc-primary);background:transparent}
.epc-notification-actions{display:flex;gap:8px;margin-top:10px}
/* Forms — v1.0.32-gsm-dashboard-redesign: Facebook-style grey inputs
   on white cards, borderless until focused. */
.epc-form{display:flex;flex-direction:column;gap:14px}
.epc-form label{font-weight:600;font-size:.9rem;display:block;margin-bottom:5px}
.epc-form input[type=text],.epc-form input[type=email],.epc-form input[type=password],.epc-form input[type=url],.epc-form input[type=tel],.epc-form input[type=number],.epc-form select,.epc-form textarea{width:100%;border:1px solid transparent;border-radius:9px;padding:11px 13px;background:var(--epc-input)}
.epc-form input:focus,.epc-form select:focus,.epc-form textarea:focus{outline:2px solid var(--epc-primary);outline-offset:1px;border-color:var(--epc-primary)}
.epc-form .epc-honeypot{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
/* Auth — centred-card design. Page background is
   the light grey-blue --epc-page-bg (#F0F2F5); ONE white card 396px
   wide (Facebook's login card), centred, 8px radius, soft shadow,
   32px padding. Logo mark on top, centred; large bold heading +
   muted subtitle, both centred; 48px inputs with a light #E4E6EB
   border and a blue focus ring; full-width 48px blue primary button.
   On mobile the card takes the full width with side margins. */
.epc-auth{max-width:396px;margin:40px auto;padding:0 16px}
/* v1.0.52-allowlist-toast-register: the register form is wider
   (Facebook-signup-like 480px); login / forgot / reset stay 396px.
   On mobile the 16px side padding keeps it full-width. */
.epc-auth--register{max-width:480px}
.epc-auth .epc-card{padding:32px;border-radius:8px;box-shadow:0 8px 30px rgba(0,0,0,.10);background:var(--epc-card-bg)}
.epc-auth__logo{text-align:center;margin-bottom:16px}
.epc-auth__logo img.epc-auth__logo-img{width:48px;height:48px;border-radius:50%;object-fit:cover;display:inline-block}
.epc-auth__logo svg{display:inline-block;vertical-align:middle}
.epc-auth h1{text-align:center;margin:0 0 6px;font-size:1.6rem;font-weight:800;color:var(--epc-heading)}
.epc-auth .epc-auth__sub{text-align:center;color:var(--epc-muted);margin:0 0 24px}
/* v1.0.56-profile-chat-ads: the register email rule, under the field. */
.epc-auth__hint{color:var(--epc-muted);font-size:13px;line-height:1.4;margin:6px 0 0}
.epc-auth .epc-form label{font-size:.88rem;font-weight:600;color:var(--epc-text)}
.epc-auth .epc-form input[type=text],.epc-auth .epc-form input[type=email],.epc-auth .epc-form input[type=password],.epc-auth .epc-form input[type=url],.epc-auth .epc-form input[type=number],.epc-auth .epc-form select,.epc-auth .epc-form textarea{height:48px;border:1px solid var(--epc-border);border-radius:6px;padding:0 14px;background:var(--epc-card-bg);font-size:17px}
.epc-auth .epc-form textarea{height:auto;padding:12px 14px}
.epc-auth .epc-form input:focus,.epc-auth .epc-form select:focus,.epc-auth .epc-form textarea:focus{outline:none;border-color:var(--epc-primary);box-shadow:0 0 0 3px rgba(8,102,255,.15)}
.epc-auth .epc-btn--primary{width:100%;height:48px;border-radius:6px;background:var(--epc-primary);font-weight:700;font-size:20px}
.epc-auth .epc-btn--primary:hover{background:var(--epc-primary);filter:brightness(.95)}
.epc-auth__divider{display:flex;align-items:center;gap:12px;color:var(--epc-muted);font-size:.85rem;margin:6px 0}
.epc-auth__divider::before,.epc-auth__divider::after{content:"";flex:1;height:1px;background:var(--epc-border)}
.epc-auth__links{text-align:center}
.epc-auth__links a{color:var(--epc-muted)}
.epc-auth__links a:hover{color:var(--epc-link)}
@media (max-width:520px){
  .epc-auth{margin:16px auto}
  .epc-auth .epc-card{padding:24px 20px}
}
.epc-form-error{background:#FDECEC;border:1px solid #F5B5B5;color:#8B1A1A;border-radius:9px;padding:11px 14px}
.epc-form-success{background:#E3F6EC;border:1px solid #9ADBB8;color:#0E7A46;border-radius:9px;padding:11px 14px}
/* Modal / drawer / story viewer */
.epc-modal{position:fixed;inset:0;background:rgba(244,244,244,.8);display:none;align-items:flex-start;justify-content:center;z-index:300;padding:90px 16px 16px}
.epc-modal.is-open{display:flex}
.epc-modal__box{background:var(--epc-card-bg);border-radius:12px;box-shadow:var(--epc-shadow-lg);width:100%;max-width:560px;max-height:85vh;overflow-y:auto;padding:20px 22px}
#epc-composer-modal .epc-modal__box{max-width:500px;padding:16px}
/* v1.0.43-display-polish: the Create Post modal at Facebook's size —
   500px wide, 16px padding, the title centred at 20px bold with a
   hairline under the header (the close button is absolutely centred
   on the title row — the -6px compensates the 12px bottom padding),
   the author name at 15px semibold, and the editor borderless like
   Facebook's (no box, no focus ring — the caret shows focus). The
   editor text starts large (24px) and drops to 15px once the post
   gets long — composer.js toggles .epc-modal__editor--large. */
#epc-composer-modal .epc-modal__head{position:relative;justify-content:center;border-bottom:1px solid var(--epc-border);padding-bottom:12px;margin-bottom:16px}
#epc-composer-modal .epc-modal__head h2{font-size:20px}
#epc-composer-modal .epc-modal__head .epc-icon-btn{position:absolute;right:0;top:calc(50% - 6px);transform:translateY(-50%)}
#epc-composer-modal .epc-composer__top strong{font-size:15px;font-weight:600}
#epc-composer-modal .epc-modal__editor{border:0;border-radius:0;padding:4px 0;min-height:160px;font-size:15px;line-height:1.4}
#epc-composer-modal .epc-modal__editor:focus,#epc-composer-modal .epc-modal__editor:focus-visible{outline:none}
#epc-composer-modal .epc-modal__editor--large{font-size:24px;line-height:1.33}
/* v1.0.79-post-titles: the optional title sits ABOVE the editor,
   borderless like the editor itself (Facebook's composer has no
   title field — this one reads as a headline, bolder and larger
   than the body text, with a hairline under it). The admin-chat
   link shows only on an allow-list rejection (composer.js toggles
   its hidden attribute). */
#epc-composer-modal .epc-composer__title{display:block;width:100%;border:0;border-bottom:1px solid var(--epc-border);border-radius:0;padding:4px 0 10px;margin:0 0 8px;font-size:18px;font-weight:700;line-height:1.3;color:var(--epc-text);background:transparent}
#epc-composer-modal .epc-composer__title::placeholder{color:var(--epc-muted);font-weight:600}
#epc-composer-modal .epc-composer__title:focus,#epc-composer-modal .epc-composer__title:focus-visible{outline:none;border-bottom-color:var(--epc-primary)}
.epc-composer__chat-link{font-size:.88rem;color:var(--epc-muted);margin:0 0 12px}
.epc-composer__chat-link a{color:var(--epc-primary);font-weight:600;text-decoration:none}
.epc-composer__chat-link a:hover{text-decoration:underline}
/* v1.0.79-post-titles: Comment + Share counts in the action bar —
   same weight as the Like/Dislike counts (the buttons are flex:1
   and spaced across the width since v1.0.36). */
.epc-post__actions .epc-comment-count,.epc-post__actions .epc-share-count{font-weight:600}
/* v1.0.45-composer-fixes: on mobile the Create Post modal is
   full-screen like Facebook's app — the box fills the viewport, the
   editor grows to take the free space, and the footer (publish
   button) sits at the bottom so it stays reachable with the keyboard
   up. Desktop keeps the v1.0.43 500px box above. */
@media (max-width:768px){
  #epc-composer-modal{padding:0}
  #epc-composer-modal .epc-modal__box{max-width:none;width:100%;height:100vh;height:100dvh;max-height:none;border-radius:0;padding:16px;display:flex;flex-direction:column;overflow-y:auto}
  #epc-composer-modal .epc-modal__editor{flex:1 1 auto;min-height:40vh}
  #epc-composer-modal .epc-modal__footer{margin-top:auto;padding-top:12px}
}
/* v1.0.45-composer-fixes: the composer preview of a chosen
   background — the editor itself takes the coloured card so the
   author sees the post as it will render. */
#epc-composer-modal .epc-modal__editor.epc-post__body--bg{font-size:24px;color:#fff}
/* v1.0.45-composer-fixes: composer options — the Facebook "Add to
   your post" row and its panels. Each option is an icon + label
   button; panels (tag search, location, GIF, backgrounds) open below
   the row. The swatch row is the background picker. */
.epc-composer__options{margin-top:12px;border:1px solid var(--epc-border);border-radius:8px;padding:8px 12px}
.epc-composer__options-label{font-size:14px;font-weight:600;color:var(--epc-text);margin-bottom:4px}
.epc-composer__options-row{display:flex;flex-wrap:wrap;gap:4px}
.epc-composer__option{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:var(--epc-muted);font-size:13px;font-weight:600;padding:6px 8px;border-radius:6px;text-decoration:none}
.epc-composer__option:hover{background:var(--epc-page-bg);text-decoration:none}
.epc-composer__option i{font-size:18px}
.epc-composer__option.is-active{background:var(--epc-highlight);color:#0064D1}
.epc-composer__option--photo i{color:#45BD62}
.epc-composer__option--feeling i{color:#F7B125}
.epc-composer__option--tag i{color:#1877F2}
.epc-composer__option--location i{color:#F02849}
.epc-composer__option--background i{color:#8A3FFC}
.epc-composer__option--camera i{color:#45BD62}
.epc-composer__option--gif i{color:#1877F2}
.epc-composer__option--messages i{color:#0082FB}
.epc-composer__option--event i{color:#F02849}
.epc-composer__option--group i{color:#1877F2}
.epc-composer__option--story i{color:#F7B125}
.epc-composer__panel{display:none;margin-top:10px}
.epc-composer__panel.is-open{display:block}
.epc-composer__panel input[type="text"],.epc-composer__panel input[type="url"],.epc-composer__panel select{width:100%;height:40px;border:1px solid var(--epc-border);border-radius:8px;padding:0 12px;background:var(--epc-page-bg);font-size:15px}
.epc-composer__panel input:focus,.epc-composer__panel select:focus{background:var(--epc-card-bg);outline:none;border-color:var(--epc-primary)}
.epc-composer__tag-results{margin-top:6px;border:1px solid var(--epc-border);border-radius:8px;overflow:hidden;display:none}
.epc-composer__tag-results.is-open{display:block}
.epc-composer__tag-result{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:0;background:var(--epc-card-bg);padding:8px 10px;font-size:15px;color:var(--epc-text)}
.epc-composer__tag-result:hover{background:var(--epc-page-bg)}
.epc-composer__chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.epc-composer__chip{display:inline-flex;align-items:center;gap:6px;background:var(--epc-highlight);color:#0064D1;border-radius:999px;padding:4px 6px 4px 10px;font-size:13px;font-weight:600}
.epc-composer__chip button{border:0;background:transparent;color:#0064D1;font-size:14px;line-height:1;padding:0}
.epc-composer__swatches{display:flex;flex-wrap:wrap;gap:8px}
.epc-composer__swatch{width:32px;height:32px;border-radius:8px;border:2px solid transparent;cursor:pointer;padding:0;flex:none}
.epc-composer__swatch.is-selected{border-color:#050505}
.epc-composer__swatch--none{background:var(--epc-card-bg);border-color:var(--epc-border)}
.epc-composer__gif-preview{margin-top:8px;max-height:180px;border-radius:8px;display:none}
.epc-composer__gif-preview.is-shown{display:block}
.epc-composer__hint{font-size:12px;color:var(--epc-muted);margin-top:6px}
.epc-modal__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.epc-modal__head h2{margin:0;font-size:1.15rem}
.epc-modal__editor{min-height:120px;border:1px solid var(--epc-border);border-radius:10px;padding:12px 14px}
.epc-modal__editor:empty::before{content:attr(data-placeholder);color:var(--epc-muted)}
.epc-modal__footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:16px;flex-wrap:wrap}
.epc-visibility{display:flex;gap:6px;align-items:center}
.epc-drawer{position:fixed;top:0;bottom:0;inset-inline-start:0;width:300px;max-width:85vw;background:var(--epc-card-bg);z-index:310;transform:translateX(-105%);transition:transform .28s;overflow-y:auto;padding:18px;box-shadow:var(--epc-shadow-lg)}
[dir="rtl"] .epc-drawer{transform:translateX(105%)}
.epc-drawer.is-open{transform:translateX(0)}
.epc-drawer__close{margin-inline-start:auto}
.epc-overlay{position:fixed;inset:0;background:rgba(244,244,244,.8);z-index:305;display:none}
.epc-overlay.is-open{display:block}
.epc-story-viewer{position:fixed;inset:0;background:rgba(0,0,0,.9);z-index:320;display:none;align-items:center;justify-content:center}
.epc-story-viewer.is-open{display:flex}
.epc-story-viewer img{max-height:82vh;max-width:92vw;border-radius:14px}
.epc-story-viewer__close{position:absolute;top:18px;inset-inline-end:18px;color:#fff}
/* Lists / archives */
.epc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}
.epc-list-item{padding:18px 20px}
.epc-empty{padding:34px 20px;text-align:center;color:var(--epc-muted)}
.epc-pagination{display:flex;gap:8px;justify-content:center;margin-top:26px;flex-wrap:wrap}
.epc-pagination a,.epc-pagination span{padding:8px 13px;border:1px solid var(--epc-border);border-radius:8px;background:var(--epc-card-bg);color:var(--epc-text);font-weight:600}
.epc-pagination .current{background:var(--epc-primary);color:var(--epc-btn-primary-text);border-color:var(--epc-primary)}
/* Footer — v1.0.43-display-polish: copyright only. The v1.0.36 muted
   link row (15 destinations) is gone by the user's decision — the
   footer is now just the copyright line in a small strip, on the
   --epc-footer-bg token (page grey by default) with --epc-footer-text.
   The epc-footer widget area (if active) still renders above it. */
.epc-footer{margin-top:24px;padding:0 16px 24px;background:var(--epc-footer-bg)}
.epc-footer__widgets{max-width:var(--epc-max);margin:0 auto 16px}
.epc-footer__copy{margin:0;text-align:center;font-size:12px;color:var(--epc-footer-text)}
.epc-bottom-nav{display:none}
/* Responsive: the icon-only sidebar collapse starts at 1024px so windows
   up to 1366px keep the full sidebar (nav labels + promo + trending). */
@media (max-width:1100px){
  .epc-layout{grid-template-columns:minmax(260px,320px) minmax(520px,680px);justify-content:center}
  /* v1.0.87-right-column: the right column is NOT hidden here anymore —
     it spans the full width below the two columns, centered like the
     ≤860px rule. Phones in Chrome "Desktop site" mode report ~980px,
     which fell in this band and lost the whole right column (Trending,
     Recommended Groups, Active Services, Sponsored, Need Help). */
  .epc-col--right{display:flex;grid-column:1/-1;max-width:680px;width:100%;margin-inline:auto}
}
@media (max-width:1024px){
  .epc-layout{grid-template-columns:64px minmax(0,680px);justify-content:center}
  .epc-col--left .epc-sidebar-nav a span:not(.epc-sidebar-nav__icon),.epc-col--left .epc-sidebar-nav a .epc-badge-count,.epc-col--left .epc-sidebar-nav__more span:not(.epc-sidebar-nav__icon),.epc-col--left .epc-sidebar-nav .epc-nav-badge-new{display:none}
  .epc-col--left .epc-sidebar-nav a,.epc-col--left .epc-sidebar-nav__more{justify-content:center;padding:11px 6px}
  .epc-promo,.epc-trending{display:none}
  .epc-col--left .epc-shortcuts__title,.epc-col--left .epc-shortcut__info,.epc-col--left .epc-shortcuts__more{display:none}
  .epc-col--left .epc-shortcut{justify-content:center;padding:8px 6px}
}
@media (max-width:1024px){
  .epc-header__inner{gap:12px;padding:0 12px}
  .epc-search{flex-basis:200px}
  .epc-header__nav a{flex-basis:72px}
  .epc-brand__tagline{display:none}
}
@media (max-width:860px){
  .epc-layout{grid-template-columns:1fr}
  .epc-col--left{display:none}
  .epc-col--right{display:block}
  .epc-main{padding:calc(var(--epc-header-h) + 14px) 12px 90px}
  .epc-header__inner{gap:10px;padding:0 12px}
  .epc-brand__name{font-size:.95rem}
  .epc-header__nav{display:none}
  .epc-search{max-width:none;flex:1}
  .epc-hamburger{display:inline-flex}
  .epc-bottom-nav{display:flex;position:fixed;left:0;right:0;bottom:0;height:56px;background:var(--epc-card-bg);border-top:1px solid var(--epc-border);z-index:100;align-items:stretch}
  .epc-bottom-nav a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--epc-muted);font-size:.68rem;font-weight:600;position:relative}
  .epc-bottom-nav a.is-active{color:var(--epc-primary)}
  .epc-bottom-nav .epc-badge-count{position:absolute;top:6px;inset-inline-start:calc(50% + 2px)}
  .epc-composer__actions{flex-wrap:wrap}
  .epc-composer__actions button{flex:1 1 30%}
  .epc-page-card{padding:20px 16px}
  .epc-profile-head .epc-avatar{width:120px;height:120px;margin-top:-24px}
  .epc-profile-cover{height:200px;clip-path:polygon(10px 0,calc(100% - 10px) 0,100% 10px,100% calc(100% - 10px),calc(100% - 10px) 100%,10px 100%,0 calc(100% - 10px),0 10px)}
  .epc-profile-cover__frame,.epc-profile-cover>img{clip-path:polygon(8px 0,calc(100% - 8px) 0,100% 8px,100% calc(100% - 8px),calc(100% - 8px) 100%,8px 100%,0 calc(100% - 8px),0 8px)}
}
@media (max-width:480px){
  body{font-size:14px}
  .epc-header__inner{gap:6px;padding:0 8px}
  .epc-main{padding-left:0;padding-right:0}
  .epc-col--center .epc-card,.epc-col--center .epc-post{border-radius:0;border-left-width:0;border-right-width:0}
  .epc-header .epc-icon-btn{width:36px;height:36px}
  .epc-header .epc-icon-btn i{font-size:18px}
  .epc-brand__logo{width:36px;height:36px}
  .epc-brand__logo-img{width:36px;height:36px}
  .epc-user-chip .epc-avatar{width:36px;height:36px}
  /* the search pill collapses to a round icon button;
     tapping it (theme.js [data-epc-search-toggle]) expands the pill. */
  .epc-search{flex:0 0 36px;width:36px;max-width:36px}
  .epc-search__toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;border-radius:50%;border:0;background:var(--epc-border);color:var(--epc-text);font-size:16px}
  .epc-search__icon,.epc-search__input{display:none}
  .epc-search:not(.is-expanded) .epc-search__results{display:none}
  .epc-search.is-expanded{flex:1;width:auto;max-width:none}
  .epc-search.is-expanded .epc-search__input{display:block}
  .epc-search.is-expanded .epc-search__icon{display:block}
  .epc-search.is-expanded .epc-search__toggle{display:none}
  .epc-search__input{font-size:15px}
  .epc-post{padding:12px}
  .epc-post__media{margin-inline:-12px}
  .epc-story{flex-basis:100px}
  .epc-story__thumb{width:100px;height:178px}
}
@media print{
  .epc-header,.epc-bottom-nav,.epc-col--left,.epc-col--right,.epc-footer{display:none}
  .epc-main{padding:0}
  .epc-layout{grid-template-columns:1fr}
}

/* fix5: wall tabs are <button>s (same look as the old anchor tabs), the
   hidden attribute always wins over inline display styles, the composer
   editor is taller (Facebook-style), and a disabled Post button reads
   as disabled. */
[hidden]{display:none !important}
.epc-profile-tabs button{padding:14px 14px 11px;border:0;border-bottom:3px solid transparent;border-radius:8px 8px 0 0;font-weight:600;font-size:15px;color:var(--epc-muted);white-space:nowrap;background:none;cursor:pointer;font:inherit}
.epc-profile-tabs button:hover{background:var(--epc-page-bg);color:var(--epc-text)}
.epc-profile-tabs button.is-active{color:var(--epc-primary);border-bottom-color:var(--epc-primary);background:transparent}
.epc-modal__editor{min-height:160px}
.epc-composer__add{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px;padding:10px 12px;border:1px solid var(--epc-border);border-radius:10px}
.epc-composer__add>span{font-weight:600;margin-inline-end:auto}
.epc-btn--primary:disabled{opacity:.55;cursor:not-allowed}

/* fix6: toast — bottom-center, one line, auto-dismiss. Every post action
   reports success or the real server error through it; nothing fails
   silently any more. */
.epc-toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,16px);z-index:500;max-width:min(92vw,480px);background:#333333;color:#fff;border-radius:8px;padding:11px 18px;font-size:.92rem;font-weight:600;box-shadow:0 8px 28px rgba(0,0,0,.35);opacity:0;pointer-events:none;transition:opacity .25s ease,transform .25s ease}
.epc-toast.is-visible{opacity:1;transform:translate(-50%,0)}
.epc-toast--error{background:#a61e1e}

/* help-categories: ASK Help badge, structured question sections, the
   modal Post / ASK Help toggle, the ASK Help form, and the FAQ page.
   Tokens: primary var(--epc-primary), page var(--epc-page-bg),
   radius 10-12px. */
.epc-ask-badge{display:inline-flex;align-items:center;gap:6px;background:var(--epc-primary);color:#fff;border-radius:999px;padding:4px 12px;font-size:.78rem;font-weight:700;letter-spacing:.02em;margin:12px 0 8px}
.epc-post--ask-help .epc-ask-badge{margin-top:12px}
.epc-ask-question{font-size:1.08rem;font-weight:700;line-height:1.4;margin:0 0 10px;color:var(--epc-text)}
.epc-ask-section{margin:0 0 12px}
.epc-ask-section h4{font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--epc-muted);margin:0 0 4px}
.epc-ask-section p{margin:0;font-size:.96rem;word-wrap:break-word}
.epc-ask-toggle{display:flex;gap:6px;background:var(--epc-page-bg);border:1px solid var(--epc-border);border-radius:10px;padding:4px;margin:0 0 14px}
.epc-ask-toggle__btn{flex:1;border:0;background:transparent;border-radius:8px;padding:9px 12px;font-weight:700;font-size:.92rem;color:var(--epc-muted);cursor:pointer}
.epc-ask-toggle__btn:hover{color:var(--epc-primary)}
.epc-ask-toggle__btn.is-active{background:var(--epc-primary);color:var(--epc-btn-primary-text)}
[data-epc-ask-form]{display:flex;flex-direction:column;gap:14px}
[data-epc-ask-form] label{display:block;font-weight:600;margin-bottom:6px}
[data-epc-ask-form] input[type="text"],[data-epc-ask-form] textarea{width:100%;padding:10px 12px;border:1px solid var(--epc-border);border-radius:10px;background:var(--epc-input);font:inherit}
[data-epc-ask-form] input[type="text"]:focus,[data-epc-ask-form] textarea:focus{border-color:var(--epc-primary);outline:none;box-shadow:0 0 0 3px rgba(8,102,255,.15)}
.epc-media-hint{font-size:.82rem;color:var(--epc-muted)}
/* help-categories: allowed-links hint under the composer editor and
   the comment box — same muted small style as the media hint. */
.epc-url-hint{font-size:.82rem;color:var(--epc-muted);margin:6px 0 0}
/* v1.0.45-composer-fixes: guests never see the allowlist rule text
   (belt-and-braces — the hint is also only rendered inside logged-in
   branches; WordPress adds .logged-in to <body>). */
body:not(.logged-in) .epc-url-hint{display:none}
.epc-faq-search{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.epc-faq-search input[type="search"]{flex:1;min-width:0;padding:10px 12px;border:1px solid var(--epc-border);border-radius:10px;background:var(--epc-input)}
.epc-faq-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-top:16px}
.epc-faq-tabs a{padding:8px 14px;border:1px solid var(--epc-border);border-radius:999px;font-weight:600;font-size:.88rem;color:var(--epc-text);text-decoration:none}
.epc-faq-tabs a:hover{background:var(--epc-page-bg);color:var(--epc-text);text-decoration:none}
.epc-faq-tabs a.is-active{background:var(--epc-primary);border-color:var(--epc-primary);color:var(--epc-btn-primary-text)}
.epc-faq-item__foot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding:0 4px;font-size:.88rem;color:var(--epc-muted)}
.epc-faq-item__foot a{font-weight:600}

/* help-categories: Category select (first field of the ASK Help
   form), the category chip next to the ASK Help badge, and the FAQ
   category filter next to the search box. Chip tokens follow the badge
   (header navy, radius 999px); a category colour, when the server sends
   one, tints the chip border and text via an inline style. */
[data-epc-ask-form] select{width:100%;padding:10px 12px;border:1px solid var(--epc-border);border-radius:10px;background:var(--epc-input);font:inherit}
[data-epc-ask-form] select:focus{border-color:var(--epc-primary);outline:none;box-shadow:0 0 0 3px rgba(8,102,255,.15)}
.epc-ask-category-chip{display:inline-flex;align-items:center;gap:6px;background:#eef2ff;color:#3730a3;border:1px solid #c7d2fe;border-radius:999px;padding:4px 12px;font-size:.78rem;font-weight:700;letter-spacing:.02em;margin:12px 0 8px 8px;vertical-align:middle}
/* clickable-context: the ASK Help badge, the category chip and the
   group/page context link are links now — same look, only a subtle
   hover cue (opacity + the theme's global link underline) so users
   can tell they are clickable. */
a.epc-ask-badge-link,a.epc-ask-category-link{text-decoration:none}
a.epc-ask-badge-link:hover .epc-ask-badge,a.epc-ask-category-link:hover .epc-ask-category-chip{opacity:.85;text-decoration:underline}
.epc-context-link{font-weight:600;color:inherit}
.epc-faq-search select{padding:10px 12px;border:1px solid var(--epc-border);border-radius:10px;background:var(--epc-input);font:inherit;max-width:220px}

/* Categories card on the right column. Rows use Facebook's grey-wash
   hover (no lift, no shadow, no icon scale). Each circle is tinted
   with its category's own colour (inline style from the template);
   the header icon uses the categories section accent as its fallback
   colour. */
.epc-category-card__icon{color:var(--epc-section-categories);display:inline-flex;vertical-align:-3px;margin-inline-end:6px}
.epc-category-row{display:flex;gap:12px;align-items:center;padding:10px 12px;margin:0 -12px;border-radius:8px;color:var(--epc-text);transition:background .2s}
.epc-category-row:hover{background:var(--epc-page-bg);color:var(--epc-text);text-decoration:none}
.epc-category-icon{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:none;font-size:18px}
.epc-category-row__info{flex:1;min-width:0;line-height:1.3}
.epc-category-row__info strong{font-size:.93rem;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.epc-category-row__info small{color:var(--epc-muted);font-size:.82rem}

/* section accents for the left sidebar nav icons.
   Each sectioned item tints its icon with its section token on hover and
   when active; unsectioned items use the generic icon colour. Defaults
   are the primary blue, so an unchanged install looks as before. */
.epc-sidebar-nav a.epc-nav--home:hover .epc-icon,.epc-sidebar-nav a.epc-nav--home.is-active .epc-icon{color:var(--epc-section-home)}
.epc-sidebar-nav a.epc-nav--pages:hover .epc-icon,.epc-sidebar-nav a.epc-nav--pages.is-active .epc-icon{color:var(--epc-section-pages)}
.epc-sidebar-nav a.epc-nav--groups:hover .epc-icon,.epc-sidebar-nav a.epc-nav--groups.is-active .epc-icon{color:var(--epc-section-groups)}
.epc-sidebar-nav a.epc-nav--events:hover .epc-icon,.epc-sidebar-nav a.epc-nav--events.is-active .epc-icon{color:var(--epc-section-events)}
.epc-sidebar-nav a.epc-nav--jobs:hover .epc-icon,.epc-sidebar-nav a.epc-nav--jobs.is-active .epc-icon{color:var(--epc-section-jobs)}
.epc-sidebar-nav a.epc-nav--ask-help:hover .epc-icon,.epc-sidebar-nav a.epc-nav--ask-help.is-active .epc-icon{color:var(--epc-section-ask-help)}
/* FAQ page ASK button uses the ASK Help section accent. */
.epc-btn--ask-help{background:var(--epc-section-ask-help)}
.epc-btn--ask-help:hover{background:var(--epc-section-ask-help);filter:brightness(.92)}

/* page-admin-fix: header dropdowns, left sidebar
   profile + shortcuts, live chat dock, story viewer author link.
   The dock sits bottom-right and never covers the composer: it is 328px
   wide, windows pop up to its left, and below 768px the whole dock hides
   in favour of one floating button that links to /messages. */
.epc-header-dropdown__menu{min-width:340px;max-width:min(92vw,360px);padding:0;overflow:hidden}
.epc-header-dropdown__head{padding:12px 14px;border-bottom:1px solid var(--epc-border);font-size:.95rem}
.epc-header-dropdown__menu [data-epc-header-list]{max-height:320px;overflow-y:auto;padding:6px}
.epc-header-dropdown__menu [data-epc-header-list] .epc-empty{padding:14px}
.epc-header-dropdown__row{display:flex;gap:10px;align-items:center;padding:9px 10px;border-radius:8px}
.epc-header-dropdown__row:hover{background:var(--epc-page-bg)}
.epc-header-dropdown__row.is-read{opacity:.6}
.epc-header-dropdown__row>a{display:flex;align-items:center;gap:10px;padding:0;min-width:0}
.epc-header-dropdown__row>a:hover{background:none}
.epc-header-dropdown__row strong{font-size:.92rem}
.epc-header-dropdown__row small{display:block;color:var(--epc-muted);font-size:.8rem}
.epc-header-dropdown__row .epc-header-dropdown__text{font-size:.9rem;line-height:1.35;display:block}
.epc-header-dropdown__actions{display:flex;gap:6px;margin-inline-start:auto;flex:none}
.epc-header-dropdown__see-all{display:block;text-align:center;padding:10px;border-top:1px solid var(--epc-border);font-weight:700;color:var(--epc-link)}
.epc-header__actions .fa-user-group{font-size:20px}
/* the menu-grid dropdown panel — joined-group
   shortcuts. Rows reuse the sidebar .epc-shortcut styles. */
.epc-header-shortcuts__menu{min-width:300px;max-width:min(92vw,340px);padding:8px}
.epc-header-shortcuts__list{display:flex;flex-direction:column;gap:2px;padding:4px 0}
.epc-header-shortcuts__menu .epc-empty{padding:14px}
.epc-sidebar-profile{display:flex;gap:12px;align-items:center;padding:10px 14px;border-radius:10px;color:var(--epc-text);margin-bottom:8px}
.epc-sidebar-profile:hover{background:var(--epc-border);color:var(--epc-text);text-decoration:none}
.epc-sidebar-profile__info{min-width:0;line-height:1.3}
.epc-sidebar-profile__info strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.epc-sidebar-profile__info small{color:var(--epc-muted);font-size:.82rem}
.epc-sidebar-nav__icon{width:36px;height:36px;border-radius:50%;background:var(--epc-page-bg);display:inline-flex;align-items:center;justify-content:center;flex:none}
.epc-sidebar-nav a i,.epc-sidebar-nav__more i{font-size:20px;color:var(--epc-icon-color)}
.epc-sidebar-nav a:hover i{color:var(--epc-icon-color)}
.epc-sidebar-nav a.epc-nav--home:hover i,.epc-sidebar-nav a.epc-nav--home.is-active i{color:var(--epc-section-home)}
.epc-sidebar-nav a.epc-nav--pages:hover i,.epc-sidebar-nav a.epc-nav--pages.is-active i{color:var(--epc-section-pages)}
.epc-sidebar-nav a.epc-nav--groups:hover i,.epc-sidebar-nav a.epc-nav--groups.is-active i{color:var(--epc-section-groups)}
.epc-sidebar-nav a.epc-nav--events:hover i,.epc-sidebar-nav a.epc-nav--events.is-active i{color:var(--epc-section-events)}
.epc-sidebar-nav a.epc-nav--jobs:hover i,.epc-sidebar-nav a.epc-nav--jobs.is-active i{color:var(--epc-section-jobs)}
.epc-sidebar-nav a.epc-nav--ask-help:hover i,.epc-sidebar-nav a.epc-nav--ask-help.is-active i{color:var(--epc-section-ask-help)}
.epc-shortcuts{margin-bottom:20px}
.epc-shortcuts__title{font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--epc-muted);margin:0 0 6px;padding:0 14px}
.epc-shortcut{display:flex;gap:12px;align-items:center;padding:8px 14px;border-radius:10px;color:var(--epc-text);font-weight:500}
.epc-shortcut:hover{background:var(--epc-border);color:var(--epc-text);text-decoration:none}
.epc-shortcut__info{flex:1;min-width:0;line-height:1.3}
.epc-shortcut__info strong{font-size:.93rem;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.epc-shortcut__info small{color:var(--epc-muted);font-size:.82rem}
.epc-shortcut__icon{width:36px;height:36px;border-radius:50%;background:var(--epc-primary-light);color:var(--epc-primary);display:flex;align-items:center;justify-content:center;flex:none}
.epc-shortcuts__more{background:none;border:0;color:var(--epc-link);font-weight:700;padding:8px 14px;cursor:pointer}
.epc-chat-dock{position:fixed;right:16px;bottom:0;width:328px;max-width:calc(100vw - 32px);z-index:210;background:var(--epc-card-bg);border:1px solid var(--epc-border);border-bottom:0;border-radius:8px 8px 0 0;box-shadow:0 -4px 24px rgba(0,0,0,.16)}
.epc-chat-dock__bar{display:flex;align-items:center;gap:9px;width:100%;background:none;border:0;padding:13px 14px;font-weight:700;font-size:15px;color:var(--epc-text);cursor:pointer}
.epc-chat-dock__bar .fa-message{color:var(--epc-primary)}
.epc-chat-dock__online{color:var(--epc-muted);font-weight:500;font-size:.85rem}
.epc-chat-dock__unread{margin-inline-start:auto}
.epc-chat-dock__chevron{margin-inline-start:auto;color:var(--epc-muted)}
.epc-chat-dock__unread+.epc-chat-dock__chevron{margin-inline-start:0}
.epc-chat-dock__list{border-top:1px solid var(--epc-border);max-height:min(420px,60vh);display:flex;flex-direction:column}
.epc-chat-dock__search{padding:10px 12px 4px}
.epc-chat-dock__search input{width:100%;border:1px solid var(--epc-border);border-radius:999px;padding:8px 14px;font:inherit;background:var(--epc-input)}
.epc-chat-dock__friends{list-style:none;margin:0;padding:6px 0;overflow-y:auto}
.epc-chat-dock__friend{display:flex;align-items:center;gap:10px;padding:6px 8px}
.epc-chat-dock__friend:hover{background:var(--epc-page-bg)}
.epc-chat-dock__friend-btn{background:none;border:0;padding:0;cursor:pointer;flex:none}
.epc-chat-dock__avatar{position:relative;display:block;width:36px;height:36px}
.epc-chat-dock__avatar .epc-avatar{width:36px;height:36px}
.epc-chat-dot{position:absolute;right:0;bottom:0;width:11px;height:11px;border-radius:50%;border:2px solid var(--epc-card-bg)}
.epc-chat-dot.is-online{background:var(--epc-success)}
.epc-chat-dot.is-offline{background:#bcc0c4}
.epc-chat-dock__name{font-weight:600;font-size:15px;color:var(--epc-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.epc-chat-dock__name:hover{color:var(--epc-link)}
.epc-chat-dock__friend .epc-badge-count{margin-inline-start:auto}
.epc-chat-dock__minimised{display:flex;flex-wrap:wrap;gap:6px;padding:6px 12px 10px}
.epc-chat-minimised-chip{border:1px solid var(--epc-border);background:var(--epc-page-bg);border-radius:999px;padding:5px 12px;font-weight:600;cursor:pointer}
/* v1.0.59-chat-colors: the dock lists RECENT CONVERSATIONS (friend
   or not), not online friends. A row shows the avatar + online dot,
   the name, a one-line preview of the last message, and the unread
   badge. A search also matches people (friends) under a "People"
   heading, for starting a new chat. */
.epc-chat-dock__conv-text{min-width:0;flex:1;display:flex;flex-direction:column}
.epc-chat-dock__preview{font-size:13px;color:var(--epc-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.epc-chat-dock__preview.is-unread{color:var(--epc-text);font-weight:600}
.epc-chat-dock__section{padding:10px 14px 2px;font-size:12px;font-weight:700;color:var(--epc-muted);text-transform:uppercase;letter-spacing:.04em}
/* v1.0.59-chat-colors: minimised windows fold to a bar inside the
   windows container (always visible) — the old chips lived inside
   the collapsible dock list, so a minimised window was unfindable
   while the list was closed. v1.0.60-chat-fixes: the container sets
   pointer-events:none (so it never blocks the page) and the window
   re-enables it — but the chip never did, so clicks passed straight
   through the bar and restore never fired (67 pixel clicks, live).
   The chip re-enables pointer events like the window. */
.epc-chat-windows .epc-chat-minimised-chip{width:328px;max-width:calc(100vw - 32px);border-radius:8px 8px 0 0;background:var(--epc-card-bg);box-shadow:0 -4px 24px rgba(0,0,0,.18);padding:12px 14px;text-align:start;font-size:15px;font-weight:700;color:var(--epc-text);pointer-events:auto;cursor:pointer}
.epc-chat-windows{position:fixed;right:360px;bottom:0;z-index:210;display:flex;gap:12px;align-items:flex-end;pointer-events:none}
.epc-chat-window{pointer-events:auto;width:328px;max-width:calc(100vw - 32px);background:var(--epc-card-bg);border:1px solid var(--epc-border);border-bottom:0;border-radius:8px 8px 0 0;box-shadow:0 -4px 24px rgba(0,0,0,.18);display:flex;flex-direction:column}
.epc-chat-window__head{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--epc-border)}
.epc-chat-window__who{display:flex;align-items:center;gap:8px;color:var(--epc-text);font-weight:700;min-width:0}
/* v1.0.56-profile-chat-ads: the window header shows the friend's
   avatar (32px) with the green online dot, Facebook-style. The
   static-dot rule below is only the no-avatar fallback (a bare dot
   as a direct child); a dot inside the avatar wrapper uses the
   absolute .epc-chat-dot positioning. */
.epc-chat-window__avatar{position:relative;display:block;width:32px;height:32px;flex:none}
.epc-chat-window__avatar .epc-avatar{width:32px;height:32px}
.epc-chat-window__who>.epc-chat-dot{position:static;border:0;flex:none}
.epc-chat-window__who strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15px}
.epc-chat-window__head-actions{margin-inline-start:auto;display:flex;gap:2px}
.epc-chat-window__head-actions button{background:none;border:0;font-size:16px;line-height:1;color:var(--epc-muted);cursor:pointer;padding:4px 7px;border-radius:6px}
.epc-chat-window__head-actions button:hover{background:var(--epc-page-bg);color:var(--epc-text)}
.epc-chat-window__body{flex:1;min-height:180px;max-height:300px;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:6px}
/* v1.0.56-profile-chat-ads: Facebook message bubbles — grey for
   received, Messenger blue for sent; 15px text; no per-message
   sender name in a 1:1 window (the header already names them). */
.epc-chat-window__msg{display:flex;flex-direction:column;align-items:flex-start;max-width:85%}
.epc-chat-window__msg.is-mine{align-items:flex-end;margin-inline-start:auto}
.epc-chat-window__msg p{margin:0;background:var(--epc-page-bg);border-radius:18px;padding:8px 12px;font-size:15px;line-height:1.3333;color:var(--epc-text);word-wrap:break-word}
.epc-chat-window__msg.is-mine p{background:#0084FF;color:#fff}
.epc-chat-window__msg small{color:var(--epc-muted);font-size:12px;margin-top:2px;padding:0 4px}
/* v1.0.56-profile-chat-ads: the typing indicator — a grey bubble
   with three bouncing dots plus the word "typing…". */
.epc-chat-window__typing{display:flex;align-items:center;gap:8px;margin:0}
.epc-chat-window__typing-dots{display:inline-flex;gap:3px;background:var(--epc-page-bg);border-radius:18px;padding:11px 12px}
.epc-chat-window__typing-dots i{width:7px;height:7px;border-radius:50%;background:var(--epc-muted);animation:epc-typing-bounce 1.2s infinite}
.epc-chat-window__typing-dots i:nth-child(2){animation-delay:.15s}
.epc-chat-window__typing-dots i:nth-child(3){animation-delay:.3s}
.epc-chat-window__typing-text{color:var(--epc-muted);font-size:12px}
@keyframes epc-typing-bounce{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-3px);opacity:1}}
.epc-chat-window__form{display:flex;gap:8px;padding:10px;border-top:1px solid var(--epc-border);align-items:center}
.epc-chat-window__form input{flex:1;min-width:0;border:1px solid var(--epc-border);border-radius:999px;padding:8px 14px;font:inherit;background:var(--epc-input)}
.epc-chat-window__send{flex:none;background:none;border:0;color:var(--epc-primary);font-size:18px;line-height:1;cursor:pointer;padding:6px 8px;border-radius:50%}
.epc-chat-window__send:hover{background:var(--epc-page-bg)}
/* v1.0.59-chat-colors: photo attach + emoji picker in the chat
   window. The tool buttons sit beside the input (camera + smiley);
   the emoji panel and the photo preview are rows between the body
   and the form. A photo message renders the image inside the bubble,
   auto-fit like post images. */
.epc-chat-window__tool{flex:none;background:none;border:0;color:var(--epc-muted);font-size:18px;line-height:1;cursor:pointer;padding:6px 8px;border-radius:50%}
.epc-chat-window__tool:hover{background:var(--epc-page-bg);color:var(--epc-text)}
.epc-chat-window__emoji{display:flex;flex-wrap:wrap;gap:2px;padding:8px 10px;border-top:1px solid var(--epc-border);background:var(--epc-card-bg)}
.epc-chat-window__emoji button{background:none;border:0;font-size:20px;line-height:1;cursor:pointer;padding:4px;border-radius:6px}
.epc-chat-window__emoji button:hover{background:var(--epc-page-bg)}
.epc-chat-window__photo-preview{display:flex;align-items:center;gap:8px;padding:8px 10px;border-top:1px solid var(--epc-border);background:var(--epc-card-bg)}
.epc-chat-window__photo-preview img{max-width:120px;max-height:80px;border-radius:8px;object-fit:cover}
.epc-chat-window__photo-preview button{background:none;border:0;color:var(--epc-muted);font-size:14px;cursor:pointer;padding:4px 6px;border-radius:6px}
.epc-chat-window__photo-preview button:hover{background:var(--epc-page-bg);color:var(--epc-text)}
.epc-chat-window__msg img{max-width:100%;border-radius:12px;display:block}
/* v1.0.59-chat-colors: the /messages/ archive link — at the foot of
   the chat list and of every conversation window. */
.epc-chat-dock__all{display:block;text-align:center;padding:8px 10px;border-top:1px solid var(--epc-border);color:var(--epc-link);font-size:13px;font-weight:600;text-decoration:none}
.epc-chat-dock__all:hover{text-decoration:underline}
.epc-chat-window__all{display:block;text-align:center;padding:7px 10px;border-top:1px solid var(--epc-border);color:var(--epc-link);font-size:13px;font-weight:600;text-decoration:none}
.epc-chat-window__all:hover{text-decoration:underline}
.epc-chat-fab{display:none}
.epc-story-viewer__author{display:block;color:#fff;font-weight:700;text-align:center;margin-top:8px}
.epc-story-viewer__author:hover{color:#fff;text-decoration:underline}
@media (max-width:1100px){.epc-chat-windows{right:16px;bottom:52px;flex-direction:column;align-items:flex-end}.epc-chat-window{margin-bottom:0}}
@media (max-width:767px){
  .epc-chat-dock{display:none}
  .epc-chat-windows{display:none}
  .epc-chat-fab{display:flex;position:fixed;right:16px;bottom:78px;width:52px;height:52px;border-radius:50%;background:var(--epc-primary);color:var(--epc-btn-primary-text);align-items:center;justify-content:center;font-size:20px;z-index:210;box-shadow:0 6px 20px rgba(0,0,0,.3)}
  .epc-chat-fab .epc-badge-count{position:absolute;top:-4px;inset-inline-end:-4px}
  /* v1.0.63-toast-rendered: the floating "Open messages" button
     overlaps the Credits form inputs (e.g. the Transaction
     reference/hash field) — hide it on the Credits page (the
     header icon + bottom nav still reach Messages). */
  body.epc-credits-page .epc-chat-fab{display:none}
  .epc-header-dropdown__menu{min-width:0;width:calc(100vw - 24px)}
}
.epc-story{cursor:pointer}
a.epc-story__name{color:#fff}
a.epc-story__name:hover{color:#fff}

/* shared (re-posted) cards + share dialog. */
.epc-shared__source{color:var(--epc-muted);font-size:.86rem;margin:12px 0 8px}
.epc-shared__source a{font-weight:600;color:var(--epc-text)}
.epc-shared__source a:hover{color:var(--epc-link)}
.epc-shared__original{border:1px solid var(--epc-border);background:var(--epc-page-bg);border-radius:8px;padding:12px 14px;margin:0 0 4px}
.epc-shared__original-head{display:flex;gap:10px;align-items:center}
.epc-shared__original-author{min-width:0}
.epc-shared__original-meta{color:var(--epc-muted);font-size:.83rem}
.epc-shared__original-body p{margin:8px 0 0;word-wrap:break-word}
.epc-shared__original-media{margin-top:8px;display:flex;flex-direction:column;gap:8px}
.epc-shared__original-media img,.epc-shared__original-media video{width:100%;height:auto;max-height:420px;object-fit:contain;max-width:100%;border-radius:8px;display:block}
.epc-shared__original .epc-ask-badge{margin:12px 0 8px}
.epc-shared__original .epc-ask-question{font-size:1rem}
.epc-shared__unavailable{border:1px solid var(--epc-border);background:var(--epc-page-bg);border-radius:10px;padding:14px;color:var(--epc-muted);font-style:italic;margin:12px 0 4px}
.epc-share-preview{border:1px solid var(--epc-border);background:var(--epc-page-bg);border-radius:10px;padding:10px 12px;margin-bottom:12px;font-size:.9rem}
.epc-share-preview[hidden]{display:none}
.epc-share-preview div{color:var(--epc-muted);margin-top:2px;word-wrap:break-word}
.epc-share-option{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--epc-border);border-radius:10px;margin-top:6px;cursor:pointer;font-weight:600}
.epc-share-option:hover{background:var(--epc-page-bg)}
.epc-share-group{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--epc-border);border-radius:10px;margin-top:6px;cursor:pointer;font-weight:600}
.epc-share-group:hover{background:var(--epc-page-bg)}
.epc-share-group img{width:32px;height:32px;border-radius:50%;object-fit:cover;flex:none}
.epc-share-group span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* v1.0.95-social-share: the external share grid in the share dialog
   (Facebook, WhatsApp, Telegram, X, LinkedIn, Reddit, Pinterest,
   Email, Copy link). Brand-colour icons, same card treatment as the
   in-site options above. */
.epc-share-external{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:8px}
.epc-share-ext{display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid var(--epc-border);border-radius:10px;font-weight:600;font-size:.9rem;color:var(--epc-text);text-decoration:none;background:var(--epc-card-bg);cursor:pointer;font-family:inherit}
.epc-share-ext:hover{background:var(--epc-page-bg);text-decoration:none;color:var(--epc-text)}
.epc-share-ext i{font-size:18px;width:20px;text-align:center;flex:none}
.epc-share-ext span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.epc-share-ext--facebook i{color:#1877F2}
.epc-share-ext--whatsapp i{color:#25D366}
.epc-share-ext--telegram i{color:#229ED9}
.epc-share-ext--x i{color:#000}
.epc-share-ext--linkedin i{color:#0A66C2}
.epc-share-ext--reddit i{color:#FF4500}
.epc-share-ext--pinterest i{color:#E60023}
.epc-share-ext--email i{color:var(--epc-muted)}
.epc-share-ext--copy i{color:#0866FF}
.epc-share-groups-hint{color:var(--epc-muted);font-size:.88rem;margin:8px 0 0}

/* Moderation / verification (v1.0.30-online-dot-verify-badge-emoji): badge
   chips, team-rank chips, admin badge manager, verification form. */
.epc-badge-chips{display:inline-flex;flex-wrap:wrap;gap:5px;vertical-align:middle}
.epc-badge-chip{display:inline-flex;align-items:center;gap:4px;padding:2px 9px;border-radius:999px;font-size:.75rem;font-weight:600;line-height:1.6;white-space:nowrap}
.epc-badge-chip i{font-size:.72rem}
.epc-badge-chip--sm{padding:1px 7px;font-size:.7rem}
.epc-badge-chip--sm i{font-size:.68rem}
.epc-badge-chip--icon{padding:2px 6px}
.epc-badge-chip--icon i{font-size:.72rem}
.epc-post__author .epc-badge-chips{margin-inline-start:4px}
.epc-post__author .epc-badge-chip--icon{vertical-align:1px}
.epc-profile-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.epc-profile-badges:empty{display:none}
/* v1.0.44-posts-privacy: the profile badge + rank chips are larger
   (the small chips next to the username looked lost under the 32px
   name) and the verified check next to the name grows to 20px. */
.epc-profile-badges .epc-badge-chip{font-size:.85rem;padding:4px 12px}
.epc-profile-badges .epc-badge-chip i{font-size:.9rem}
.epc-profile-badges .epc-rank-chip{font-size:.85rem;padding:4px 12px}
.epc-profile-head h1 .epc-verified svg{width:20px;height:20px}
.epc-rank-chip{display:inline-flex;align-items:center;padding:2px 10px;border-radius:999px;font-size:.75rem;font-weight:700;line-height:1.6;white-space:nowrap}
.epc-rank--hover-glow:hover{box-shadow:0 0 12px rgba(8,102,255,.55)}
.epc-rank--hover-lift:hover{transform:translateY(-2px);box-shadow:0 4px 10px rgba(0,0,0,.18)}
.epc-rank--hover-underline:hover{text-decoration:underline}
.epc-rank--hover-none:hover{transform:none;box-shadow:none;text-decoration:none}
/* v1.0.44-posts-privacy: the rank/badge flash effects (pulse, glow,
   flash, shine) are LIVE again. v1.0.36 removed their CSS ("Facebook
   never flashes anything") while the admin settings kept offering
   them — so an admin-selected effect showed nothing on the profile
   rank badge (or any badge chip). The user asked for the effects to
   work, so the keyframes + classes are restored for BOTH the badge
   chips and the rank chip. */
@keyframes epc-flash-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.07)}}
@keyframes epc-flash-glow{0%,100%{box-shadow:0 0 0 0 rgba(8,102,255,0)}50%{box-shadow:0 0 14px 2px rgba(8,102,255,.55)}}
@keyframes epc-flash-flash{0%,100%{opacity:1}50%{opacity:.45}}
@keyframes epc-flash-shine{0%{filter:brightness(1)}50%{filter:brightness(1.35)}100%{filter:brightness(1)}}
.epc-badge--flash-pulse,.epc-rank--flash-pulse{animation:epc-flash-pulse 1.6s ease-in-out infinite}
.epc-badge--flash-glow,.epc-rank--flash-glow{animation:epc-flash-glow 2s ease-in-out infinite}
.epc-badge--flash-flash,.epc-rank--flash-flash{animation:epc-flash-flash 1.2s ease-in-out infinite}
.epc-badge--flash-shine,.epc-rank--flash-shine{animation:epc-flash-shine 2.2s ease-in-out infinite}
/* One-click badge remove (×) on profile badge chips, admin only. */
.epc-badge-chip__remove{background:none;border:0;color:inherit;font:inherit;font-weight:700;line-height:1;padding:0 0 0 2px;margin:0;cursor:pointer;opacity:.75}
.epc-badge-chip__remove:hover{opacity:1}
/* v1.0.30-online-dot-verify-badge-emoji: sidebar sections (admin-set title/icon/colour/
   hover from epc_sidebar_sections) and the grouped header search
   dropdown. The section hover reuses the .epc-rank--hover-* classes
   above, applied to the section title. */
.epc-sidebar-section__icon{display:inline-flex;vertical-align:-3px;margin-inline-end:6px}
.epc-search__group-label{padding:10px 14px 4px;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--epc-muted)}
.epc-search__see-all{font-weight:700;color:var(--epc-link)!important}
.epc-search-section .epc-card__title i{margin-inline-end:2px}
.epc-profile-signature{overflow-wrap:break-word}
.epc-badge-manager__hint{color:var(--epc-muted);font-size:.9rem;margin:0 0 12px}
.epc-badge-manager__list{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}
.epc-badge-manager__list .epc-empty{margin:0}
.epc-badge-manager__item{display:flex;align-items:center;gap:9px;padding:9px 12px;border:1px solid var(--epc-border);border-radius:10px;cursor:pointer;font-weight:600;font-size:.92rem}
.epc-badge-manager__item:hover{background:var(--epc-page-bg)}
.epc-badge-manager__item input[type=checkbox]{width:17px;height:17px;accent-color:var(--epc-primary);flex:none;cursor:pointer}
.epc-badge-manager__item i{font-size:.85rem}
/* v1.0.43-display-polish: the badge manager is COLLAPSED by default —
   a header row (Badges + assigned count + chevron) expands the
   checkbox list + Save button on click and collapses on click again.
   Admin-only visibility is unchanged (the section only renders for
   site admins); the badge editor behaviour itself is untouched. */
.epc-badge-manager__toggle{display:flex;align-items:center;gap:8px;width:100%;border:0;background:none;padding:2px 0;cursor:pointer;font:inherit;text-align:left;color:var(--epc-text)}
.epc-badge-manager__toggle-title{font-size:17px;font-weight:700}
.epc-badge-manager__count{font-size:14px;font-weight:600;color:var(--epc-muted)}
.epc-badge-manager__toggle>i{margin-left:auto;color:var(--epc-muted);font-size:14px;transition:transform .2s ease}
.epc-badge-manager.is-open .epc-badge-manager__toggle>i{transform:rotate(180deg)}
.epc-badge-manager__body{margin-top:12px}
.epc-verification-status p{margin:6px 0 0}
.epc-verification-form .epc-media-hint{margin:5px 0 0}
.epc-verification-form input[type=file]{width:100%}

/* v1.0.30-online-dot-verify-badge-emoji: single-post page + permalink links.
   The single post reuses the normal post card — only the page wrapper
   and the permalink/title links get their own rules. The timestamp
   link looks like the surrounding meta text (same colour, underline
   on hover); the title link keeps the card text colour. The Badges
   fieldset in the edit-profile form reuses the badge-manager list
   styles above. */
.epc-single-post{margin-bottom:20px}
.epc-single-post .epc-post{margin-bottom:0}
.epc-post__permalink{color:inherit;text-decoration:none}
.epc-post__permalink:hover{text-decoration:underline}
.epc-post__title{font-size:1.15rem;line-height:1.35;margin:0 0 10px;overflow-wrap:break-word}
.epc-post__title-link{color:var(--epc-text);text-decoration:none}
.epc-post__title-link:hover{text-decoration:underline}
.epc-ask-question .epc-post__title-link{color:inherit}
.epc-edit-badges{border:1px solid var(--epc-border);border-radius:12px;padding:14px 16px;margin:0 0 16px}
.epc-edit-badges legend{font-weight:700;padding:0 6px}

/* v1.0.30-online-dot-verify-badge-emoji: guest "Create an account or Login" notice
   (modal + inline variant) and the locked-image overlay. The overlay
   covers the image; the image underneath is blurred so a guest cannot
   read it through the notice. Post text stays fully visible. */
.epc-guest-notice{margin:12px 0 0}
.epc-guest-notice__title{margin:0 0 6px;font-size:1rem}
.epc-guest-notice__text{margin:0 0 12px;color:var(--epc-muted);font-size:.92rem}
.epc-guest-notice__actions{display:flex;gap:10px;flex-wrap:wrap}
.epc-guest-notice__actions .epc-btn{text-decoration:none}
.epc-post__media-item{position:relative}
.epc-post__media-item--guest{cursor:pointer}
.epc-post__media-item--guest>img{filter:blur(14px);pointer-events:none}
.epc-guest-lock{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.72);padding:16px}
.epc-guest-lock .epc-guest-notice{margin:0;text-align:center;max-width:340px}
.epc-guest-lock .epc-guest-notice__actions{justify-content:center}
/* v1.0.30-online-dot-verify-badge-emoji: comment emoji picker. Emoji render in
   their native colour font (never an icon font). */
.epc-comment-emoji-btn{font-size:1.05rem;line-height:1}
.epc-emoji-picker{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px;padding:8px;border:1px solid var(--epc-border);border-radius:12px;background:var(--epc-card-bg)}
.epc-emoji-picker button{background:none;border:0;font-size:1.35rem;line-height:1;padding:6px;border-radius:8px;cursor:pointer}
.epc-emoji-picker button:hover{background:var(--epc-input)}
.epc-comment__bubble p,.epc-post__body p,.epc-ask-section p{font-family:var(--epc-font-family,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif),'Segoe UI Emoji','Apple Color Emoji','Noto Color Emoji',sans-serif}

/* v1.0.32-gsm-dashboard-redesign: Marketplace, Watch Videos, Memories.
   Listing cards follow the post-card language (white card, soft shadow,
   no hover lift — Facebook never lifts anything). No payments on this
   site — buying happens by contacting the seller through messages. */
.epc-market-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:8px}
.epc-market-head h1{margin:0}
.epc-market-head p{color:var(--epc-muted);margin:6px 0 0}
.epc-market-filters{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 20px}
.epc-market-filters input[type="search"],.epc-market-filters input[type="number"],.epc-market-filters select{border:1px solid var(--epc-border);border-radius:9px;padding:10px 12px;background:var(--epc-input);font:inherit}
.epc-market-filters input[type="search"]{flex:1;min-width:200px}
.epc-market-filters input[type="number"]{width:110px}
/* v1.0.73-marketplace: SMALL VERTICAL GRID style rows (not big grid
   cards) — thumb left, title + price + country/city + chips right. */
.epc-market-list{display:flex;flex-direction:column;gap:12px}
.epc-market-row{display:flex;gap:14px;background:var(--epc-card-bg);border:1px solid var(--epc-border);border-radius:var(--epc-radius);box-shadow:var(--epc-shadow);padding:12px;align-items:flex-start}
.epc-market-row__img{display:block;width:96px;height:96px;flex:0 0 96px;border-radius:8px;overflow:hidden;background:var(--epc-input)}
.epc-market-row__img img{width:100%;height:100%;object-fit:cover;display:block}
.epc-market-row__img--empty{display:flex;align-items:center;justify-content:center;color:var(--epc-muted);font-size:1.6rem}
.epc-market-row__body{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}
.epc-market-row__title{font-weight:600;color:var(--epc-text);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.epc-market-row__title:hover{color:var(--epc-link)}
.epc-market-row__price{font-size:1.1rem;font-weight:800;line-height:1.2}
.epc-market-row__meta{color:var(--epc-muted);font-size:.85rem;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.epc-market-row__seller{display:flex;gap:6px;align-items:center;color:var(--epc-muted);font-size:.85rem}
.epc-market-row__seller a{color:var(--epc-text);font-weight:600}
.epc-market-row__seller a:hover{color:var(--epc-link)}
.epc-market-row__seller .epc-avatar{width:24px;height:24px}
/* Right sidebar: Latest Products rows (smaller thumbs). */
.epc-market-side-list{display:flex;flex-direction:column;gap:10px}
.epc-market-side-row{display:flex;gap:10px;align-items:flex-start;color:var(--epc-text)}
.epc-market-side-row:hover .epc-market-side-row__title{color:var(--epc-link)}
.epc-market-side-row__img{display:block;width:52px;height:52px;flex:0 0 52px;border-radius:8px;overflow:hidden;background:var(--epc-input)}
.epc-market-side-row__img img{width:100%;height:100%;object-fit:cover;display:block}
.epc-market-side-row__img--empty{display:flex;align-items:center;justify-content:center;color:var(--epc-muted);font-size:1.1rem}
.epc-market-side-row__body{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}
.epc-market-side-row__title{font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.epc-market-side-row__price{font-weight:800;font-size:.95rem}
.epc-market-side-row__meta{color:var(--epc-muted);font-size:.82rem}
.epc-listing-detail{display:grid;grid-template-columns:1.15fr 1fr;gap:24px}
.epc-listing-gallery__main{border-radius:8px;overflow:hidden;background:var(--epc-input);aspect-ratio:4/3;display:flex;align-items:center;justify-content:center}
.epc-listing-gallery__main img{width:100%;height:100%;object-fit:contain;display:block}
.epc-listing-gallery__main--empty{color:var(--epc-muted);font-size:3rem}
.epc-listing-gallery__thumbs{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.epc-listing-gallery__thumb{width:72px;height:54px;border-radius:8px;overflow:hidden;border:2px solid transparent;padding:0;background:var(--epc-input);cursor:pointer}
.epc-listing-gallery__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.epc-listing-gallery__thumb.is-active{border-color:var(--epc-primary)}
.epc-listing-detail__price{font-size:1.6rem;font-weight:800;margin:8px 0 4px}
.epc-listing-detail__meta{color:var(--epc-muted);font-size:.9rem;margin:0 0 12px}
.epc-listing-detail__desc{white-space:pre-wrap;word-wrap:break-word;margin:0 0 16px}
.epc-listing-detail__table{width:100%;border-collapse:collapse;font-size:.92rem;margin:0 0 16px}
.epc-listing-detail__table th{text-align:start;color:var(--epc-muted);font-weight:600;padding:6px 12px 6px 0;vertical-align:top;white-space:nowrap}
.epc-listing-detail__table td{padding:6px 0;vertical-align:top}
.epc-listing-seller{display:flex;gap:12px;align-items:center;padding:14px 16px;background:var(--epc-page-bg);border-radius:12px;margin:0 0 16px}
.epc-listing-seller__info{flex:1;min-width:0;line-height:1.35}
.epc-listing-seller__info strong{display:block;font-size:.98rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.epc-listing-seller__info small{color:var(--epc-muted);font-size:.82rem}
.epc-listing-actions{display:flex;gap:8px;flex-wrap:wrap}
.epc-listing-note{font-size:.88rem;color:var(--epc-muted);margin:12px 0 0}
.epc-listing-form__previews{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.epc-listing-form__preview{position:relative;width:84px;height:64px;border-radius:8px;overflow:hidden;background:var(--epc-input);flex:none}
.epc-listing-form__preview img{width:100%;height:100%;object-fit:cover;display:block}
.epc-listing-form__preview button{position:absolute;top:2px;inset-inline-end:2px;width:20px;height:20px;border-radius:50%;border:0;background:rgba(0,0,0,.65);color:#fff;font-size:.7rem;line-height:1;padding:0;cursor:pointer}
.epc-listing-form__preview.is-uploading{opacity:.55}
/* v1.0.74-services: member-listed services — small vertical rows
   (mirror of .epc-market-row), the detail page (mirror of
   .epc-listing-detail), the add/edit form previews, and the
   "Active Services" category rows on the right sidebar.
   v1.0.99-free-services: the member list is now a CARD GRID —
   the class names stay (services-rebuild-harness pins
   .epc-service-row + .epc-service-row__img), only the layout
   changes: responsive cards, each image in a fixed 16/10
   aspect-ratio box with object-fit:cover (never stretched or
   overflowing), a subtle border + the house hover lift (same
   language as .epc-verify-reminder). The compact sidebar list
   and the catalog .epc-service-card section are untouched.
   v1.0.100-smart-fixes: BACK TO VERTICAL ROWS — the user asked
   for the old vertical stack (the 3-across grid read as
   horizontal). One service per row, stacked top-to-bottom:
   thumbnail on the left (fixed 200px, object-fit:cover, never
   stretched), details on the right. The border + hover lift/glow
   and the FREE badge stay exactly as v1.0.99. On narrow screens
   the row stacks (image on top, full width, 16/10). */
.epc-service-list{display:flex;flex-direction:column;gap:16px}
.epc-service-row{display:flex;flex-direction:row;gap:0;background:var(--epc-card-bg);border:1px solid var(--epc-border);border-radius:var(--epc-radius);box-shadow:var(--epc-shadow);overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.epc-service-row:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.12);border-color:var(--epc-primary)}
.epc-service-row__img{display:block;width:200px;flex:0 0 200px;align-self:stretch;min-height:125px;overflow:hidden;background:var(--epc-input)}
.epc-service-row__img img{width:100%;height:100%;object-fit:cover;display:block}
.epc-service-row__img--empty{display:flex;align-items:center;justify-content:center;color:var(--epc-muted);font-size:1.6rem}
@media (max-width:560px){.epc-service-row{flex-direction:column}.epc-service-row__img{width:100%;flex:none;align-self:auto;aspect-ratio:16/10;min-height:0}}
.epc-service-row__body{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0;padding:12px 14px 14px}
.epc-service-row__title{font-weight:600;color:var(--epc-text);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.epc-service-row__title:hover{color:var(--epc-link)}
.epc-service-row__price{font-size:1.1rem;font-weight:800;line-height:1.2}
/* v1.0.99-free-services: the FREE badge — a price of 0 renders
   the word FREE in a green pill (the house green #16A765, same
   as the verify-reminder accent), never '$0 USDT'. The detail
   page reuses the same class on its larger price line. */
.epc-service-row__price--free,.epc-service-detail__price--free{display:inline-flex;align-items:center;background:#16A765;color:#fff;border-radius:999px;padding:3px 12px;font-size:.85rem;font-weight:800;letter-spacing:.04em}
.epc-service-detail__price--free{font-size:1rem;padding:5px 16px}
.epc-service-row__meta{color:var(--epc-muted);font-size:.85rem;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.epc-service-row__provider{display:flex;gap:6px;align-items:center;color:var(--epc-muted);font-size:.85rem}
.epc-service-row__provider a{color:var(--epc-text);font-weight:600}
.epc-service-row__provider a:hover{color:var(--epc-link)}
/* v1.0.76-jobs: the job rows mirror the service rows (same small
   vertical list style) — a briefcase block instead of a photo, and
   the detail page's local/contact/applicants blocks. The job URL
   is plain text, so it wraps instead of overflowing. */
.epc-job-row{display:flex;gap:14px;background:var(--epc-card-bg);border:1px solid var(--epc-border);border-radius:var(--epc-radius);box-shadow:var(--epc-shadow);padding:12px;align-items:flex-start}
.epc-job-row__img{display:flex;width:64px;height:64px;flex:0 0 64px;border-radius:8px;overflow:hidden;background:var(--epc-primary-light);color:var(--epc-section-jobs);align-items:center;justify-content:center;font-size:1.4rem}
.epc-job-row__body{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}
.epc-job-row__title{font-weight:600;color:var(--epc-text);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.epc-job-row__title:hover{color:var(--epc-link)}
.epc-job-row__meta{color:var(--epc-muted);font-size:.85rem;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.epc-job-url{word-break:break-all;color:var(--epc-muted)}
.epc-job-local,.epc-job-contact{margin:16px 0;padding:12px 14px;border:1px solid var(--epc-border);border-radius:9px}
.epc-job-local h2,.epc-job-contact h2,.epc-job-applicants h2{font-size:1rem;margin:0 0 8px}
.epc-job-local p,.epc-job-contact p{margin:4px 0}
.epc-job-applicants{margin-top:20px;padding-top:16px;border-top:1px solid var(--epc-border)}
.epc-job-applicant{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--epc-border)}
.epc-job-applicant:last-child{border-bottom:0}
.epc-service-row__provider .epc-avatar{width:24px;height:24px}
.epc-service-detail{display:grid;grid-template-columns:1.15fr 1fr;gap:24px}
.epc-service-gallery__main{border-radius:8px;overflow:hidden;background:var(--epc-input);aspect-ratio:4/3;display:flex;align-items:center;justify-content:center}
.epc-service-gallery__main img{width:100%;height:100%;object-fit:contain;display:block}
.epc-service-gallery__main--empty{color:var(--epc-muted);font-size:3rem}
.epc-service-gallery__thumbs{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.epc-service-gallery__thumb{width:72px;height:54px;border-radius:8px;overflow:hidden;border:2px solid transparent;padding:0;background:var(--epc-input);cursor:pointer}
.epc-service-gallery__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.epc-service-gallery__thumb.is-active{border-color:var(--epc-primary)}
.epc-service-detail__price{font-size:1.6rem;font-weight:800;margin:8px 0 4px}
.epc-service-detail__meta{color:var(--epc-muted);font-size:.9rem;margin:0 0 12px}
.epc-service-detail__desc{white-space:pre-wrap;word-wrap:break-word;margin:0 0 16px}
.epc-service-detail__table{width:100%;border-collapse:collapse;font-size:.92rem;margin:0 0 16px}
.epc-service-detail__table th{text-align:start;color:var(--epc-muted);font-weight:600;padding:6px 12px 6px 0;vertical-align:top;white-space:nowrap}
.epc-service-detail__table td{padding:6px 0;vertical-align:top}
.epc-service-provider{display:flex;gap:12px;align-items:center;padding:14px 16px;background:var(--epc-page-bg);border-radius:12px;margin:0 0 16px}
.epc-service-actions{display:flex;gap:8px;flex-wrap:wrap}
.epc-service-note{font-size:.88rem;color:var(--epc-muted);margin:12px 0 0}
.epc-service-form__previews{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.epc-service-form__preview{position:relative;width:84px;height:64px;border-radius:8px;overflow:hidden;background:var(--epc-input);flex:none}
.epc-service-form__preview img{width:100%;height:100%;object-fit:cover;display:block}
.epc-service-form__preview button{position:absolute;top:2px;inset-inline-end:2px;width:20px;height:20px;border-radius:50%;border:0;background:rgba(0,0,0,.65);color:#fff;font-size:.7rem;line-height:1;padding:0;cursor:pointer}
.epc-service-form__preview.is-uploading{opacity:.55}
/* Right sidebar: Active Services category rows. The icon takes the
   category's own color inline; on hover it takes the category's
   hover color from --epc-cat-hover (set per row). */
.epc-svc-cat-list{display:flex;flex-direction:column;gap:2px}
.epc-svc-cat-row{display:flex;gap:10px;align-items:center;padding:8px 10px;border-radius:8px;color:var(--epc-text)}
.epc-svc-cat-row:hover{background:var(--epc-input)}
.epc-svc-cat-row__icon{width:36px;height:36px;flex:0 0 36px;border-radius:50%;background:var(--epc-input);display:flex;align-items:center;justify-content:center;font-size:1rem}
.epc-svc-cat-row:hover .epc-svc-cat-row__icon{color:var(--epc-cat-hover)}
.epc-svc-cat-row__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.epc-svc-cat-row__name{font-weight:600;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.epc-svc-cat-row__meta{color:var(--epc-muted);font-size:.82rem}
.epc-svc-cat-row__count{font-weight:800;font-size:1.05rem;color:var(--epc-muted)}
.epc-memory-year{font-size:1.15rem;font-weight:800;margin:8px 0 14px}
.epc-video-note{color:var(--epc-muted);margin:0 0 18px}
@media (max-width:860px){
  .epc-listing-detail{grid-template-columns:1fr}
  .epc-service-detail{grid-template-columns:1fr}
  .epc-market-filters input[type="number"]{flex:1;width:auto}
}

/* v1.0.42-profile-redesign: Facebook-style profile page — wide 940px
   content (Facebook's profile width), two-column "All" tab (Intro +
   Friends + Photos left, composer + posts right), follower/following
   counts, and a More dropdown holding Videos / Documents / Groups /
   Saved Posts. No short-form video tab: video upload is refused on
   this site. */
.epc-profile-page{max-width:1120px;margin:0 auto;display:flex;flex-direction:column;gap:16px}
.epc-profile-page .epc-card{margin:0}
.epc-profile-cover{position:relative}
.epc-profile-cover__edit{position:absolute;right:16px;bottom:16px}
.epc-profile-counts{margin:4px 0 0;color:var(--epc-muted);font-size:15px;font-weight:700}
.epc-profile-counts span{font-weight:700;color:var(--epc-stats-color, var(--epc-text))}
.epc-profile-counts a{color:inherit;text-decoration:none}
.epc-profile-counts a:hover{text-decoration:underline;color:var(--epc-stats-hover, #16A765)}
/* v1.0.60-chat-fixes: the count NUMBER lives in a span with its own
   explicit color (the stats text color), so the link hover above
   recoloured only the label — the number kept the text color. The
   whole stats link (number + label) takes the hover color. */
.epc-profile-counts a:hover span{color:var(--epc-stats-hover, #16A765)}
.epc-profile-all{display:grid;grid-template-columns:320px minmax(0,1fr);grid-template-areas:"intro posts" "friends posts" "photos posts" "groups posts" "pages posts" "ads posts";gap:16px;align-items:start}
/* v1.0.44-posts-privacy: the Personal details card is NOT full white
   any more — a soft grey panel with a hairline border — and its
   icons are 20px Facebook-style grey. */
.epc-profile-intro{grid-area:intro;background:#F5F6F7;border:1px solid var(--epc-border)}
.epc-profile-friends{grid-area:friends}
.epc-profile-photos{grid-area:photos}
/* v1.0.81-profile-dashboard: Groups and Pages are separate profile
   sections now (each with its own grid area, one under the other). */
.epc-profile-groups{grid-area:groups}
.epc-profile-pages{grid-area:pages}
/* v1.0.46-features: the Sponsored ad card in the profile's left column. */
.epc-profile-ads{grid-area:ads}
.epc-ad-card{padding:12px}
.epc-ad-card__label{color:var(--epc-muted);font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;margin-bottom:8px}
.epc-ad-card img{width:100%;height:auto;border-radius:8px;display:block}
.epc-ad-card__title{font-size:14px;font-weight:600;margin-top:8px;line-height:1.3}
.epc-ad-card__title a{color:var(--epc-text)}
.epc-ad-card--banner{padding:12px 16px}
.epc-profile-shortcuts__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.epc-profile-shortcuts__list a{display:flex;gap:10px;align-items:center;padding:6px 8px;border-radius:8px;color:var(--epc-text);font-weight:600;font-size:14px}
.epc-profile-shortcuts__list a:hover{background:var(--epc-page-bg);text-decoration:none}
.epc-profile-shortcuts__list img,.epc-profile-shortcuts__icon{width:36px;height:36px;border-radius:50%;object-fit:cover;flex:none}
.epc-profile-shortcuts__icon{display:inline-flex;align-items:center;justify-content:center;background:var(--epc-primary-light);color:var(--epc-primary)}
.epc-profile-shortcuts__list small{display:block;font-weight:400;color:var(--epc-muted);font-size:12px}
.epc-profile-all__posts{grid-area:posts;display:flex;flex-direction:column;gap:16px;min-width:0}
.epc-profile-card__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}
.epc-profile-card__head .epc-card__title{margin:0;font-size:20px}
.epc-profile-card__head a{font-size:14px;font-weight:600;white-space:nowrap}
.epc-profile-card__count{color:var(--epc-muted);font-size:15px;margin:-6px 0 12px}
.epc-profile-intro__rows{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.epc-profile-intro__rows li{display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:1.3333;min-width:0;overflow-wrap:break-word}
/* v1.0.81-profile-dashboard: Personal details icons are COLOURED now
   (admin-editable token) with a hover colour, Facebook font/sizes;
   the row also fires the Stars hover particles (hover-effects.js
   headings group). The 20px size is unchanged. */
.epc-profile-intro__rows i{color:var(--epc-profile-intro-icon);width:20px;text-align:center;flex:none;margin-top:2px;font-size:20px}
.epc-profile-intro__rows li:hover i{color:var(--epc-profile-intro-icon-hover)}
.epc-profile-intro{font-family:var(--epc-font-family)}
/* v1.0.43-display-polish: Facebook's Intro card — 20px bold card
   titles (above), and a muted pencil for the edit link (the "See
   all" links stay blue). */
/* v1.0.43-display-polish: the About tab, Facebook-style — 20px title,
   icon + label-above-value rows (muted 13px semibold label, 15px
   #050505 value), 17px section subtitles. Same fields, same values;
   presentation only. */
.epc-profile-intro .epc-profile-card__head a{color:var(--epc-muted)}
.epc-profile-intro .epc-profile-card__head a i{font-size:16px}
.epc-profile-about>.epc-card__title{font-size:20px}
.epc-profile-about__bio{font-size:15px;line-height:1.4;margin:0 0 16px}
.epc-profile-about__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.epc-profile-about__list li{display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:1.4}
/* v1.0.81-profile-dashboard: About icons are COLOURED now
   (admin-editable token) with a hover colour; the row also fires
   the Stars hover particles (hover-effects.js headings group).
   The section pins the Facebook font stack explicitly. */
.epc-profile-about__list li i{width:20px;text-align:center;color:var(--epc-profile-about-icon);font-size:16px;flex:none;margin-top:2px}
.epc-profile-about__list li:hover i{color:var(--epc-profile-about-icon-hover)}
.epc-profile-about{font-family:var(--epc-font-family)}
.epc-profile-about__nav-item i{color:var(--epc-profile-about-icon);width:20px;text-align:center}
.epc-profile-about__nav-item:hover i{color:var(--epc-profile-about-icon-hover)}
.epc-profile-about__label{display:block;font-size:13px;font-weight:600;color:var(--epc-muted)}
.epc-profile-about__value{color:var(--epc-text)}
.epc-profile-about__subtitle{font-size:17px;font-weight:700;margin:20px 0 10px}
/* v1.0.56-profile-chat-ads: Facebook-style About — a left sub-nav
   (plain text rows, the active section on light grey) and a right
   content panel per section. Sections with no data show a short
   muted empty line; the nav item stays visible. */
.epc-profile-about__layout{display:flex;gap:24px;align-items:flex-start}
.epc-profile-about__nav{display:flex;flex-direction:column;gap:2px;flex:none;width:200px}
.epc-profile-about__nav-item{background:none;border:0;text-align:left;padding:10px 12px;font:inherit;font-size:15px;font-weight:500;color:var(--epc-text);border-radius:8px;cursor:pointer}
.epc-profile-about__nav-item:hover{background:var(--epc-page-bg)}
.epc-profile-about__nav-item.is-active{background:var(--epc-page-bg);font-weight:700}
.epc-profile-about__panels{flex:1;min-width:0}
.epc-profile-about__panel{display:none}
.epc-profile-about__panel.is-active{display:block}
.epc-profile-about__panel .epc-profile-about__subtitle{margin-top:0}
.epc-profile-about__empty{color:var(--epc-muted);font-size:15px;line-height:1.4;margin:0}
@media (max-width:640px){.epc-profile-about__layout{flex-direction:column;gap:12px}.epc-profile-about__nav{width:100%;flex-direction:row;flex-wrap:wrap}.epc-profile-about__nav-item{padding:8px 12px}}
/* v1.0.44-posts-privacy: friends + photos in small size, so many
   friends fit beautifully — 4-column card grids, 12px names, and
   8/6-column full grids.
   v1.0.81-profile-dashboard: the friend avatars were still TOO BIG
   (a 4-column 1fr grid stretches two friends to ~150px each in the
   Friends tab). Fixed 100px tracks now — Facebook-style small tiles
   that never stretch, however many friends there are; the card
   shows 9 and "See all friends" opens the full tab. */
.epc-friends-grid{display:grid;grid-template-columns:repeat(auto-fill,100px);gap:6px}
.epc-friends-grid__item{display:block;min-width:0;color:var(--epc-text)}
.epc-friends-grid__item:hover{text-decoration:none}
.epc-friends-grid__item img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:8px;display:block;background:var(--epc-input)}
.epc-friends-grid__item span{display:block;font-size:12px;font-weight:600;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.epc-friends-grid--full{grid-template-columns:repeat(auto-fill,100px)}
/* v1.0.89-people-avatars: Facebook-style People rows on the group +
   page single pages — 40px round avatar + name + muted role. */
.epc-people-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--epc-border)}
.epc-people-row__avatar{flex:none;line-height:0}
.epc-people-row__avatar .epc-avatar{width:40px;height:40px}
.epc-people-row__body{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.epc-people-row__name{font-weight:600;color:var(--epc-text)}
.epc-people-row__role{color:var(--epc-muted);font-size:.9rem}
/* v1.0.91-verify-card-design: the homepage verification reminder
   (front-page.php) as a proper card — soft brand-tinted background,
   green left accent, a badge icon in a gradient circle, hover lift
   and a gentle icon pulse so members notice it at a glance. The
   icon reuses the v1.0.44 epc-flash-pulse / epc-flash-glow
   keyframes (no new keyframes); reduced-motion users get a still
   icon (see the @media block below). Light mode only. */
.epc-verify-reminder{display:flex;align-items:center;gap:12px;margin-bottom:16px;padding:14px 16px;background:linear-gradient(135deg,rgba(22,167,101,.10),rgba(8,102,255,.08));border-left:4px solid #16A765;transition:transform .2s ease,box-shadow .2s ease}
.epc-verify-reminder:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(0,0,0,.12)}
.epc-verify-reminder__icon{flex:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#16A765,#0866FF);color:#fff;font-size:22px;animation:epc-flash-pulse 2s ease-in-out infinite,epc-flash-glow 2s ease-in-out infinite}
.epc-verify-reminder__body{flex:1;min-width:0}
.epc-verify-reminder__body p{margin:4px 0 0;color:var(--epc-muted);font-size:.9rem}
/* v1.0.99-free-services: the smart-link countdown overlay. The
   overlay element is built lazily by smart-links.js (no markup on
   pages that never need it). It reuses .epc-modal for the fixed
   backdrop, but shows itself (the base .epc-modal is display:none
   until .is-open) and centers its own panel. */
.epc-smart-link-overlay{display:flex;align-items:center}
.epc-smart-link-panel{background:var(--epc-card-bg);border-radius:12px;box-shadow:var(--epc-shadow-lg);width:100%;max-width:420px;padding:24px;text-align:center}
.epc-smart-link-title{margin:0 0 10px;font-size:1.15rem}
.epc-smart-link-text{margin:0 0 16px;color:var(--epc-muted)}
.epc-smart-link-count{font-weight:800;color:var(--epc-text);font-size:1.2rem}
.epc-smart-link-fallback{display:flex;flex-direction:column;gap:8px;margin:0 0 16px}
.epc-smart-link-fallback-note{margin:0;color:var(--epc-muted);font-size:.9rem}
.epc-smart-link-fallback-btn{display:block;text-align:center}
.epc-photos-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.epc-photos-grid img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:8px;display:block;background:var(--epc-input)}
.epc-photos-grid--full{grid-template-columns:repeat(6,1fr)}
.epc-profile-tabs__more{position:relative;display:inline-flex}
.epc-profile-tabs__more button{display:inline-flex;align-items:center;gap:6px}
.epc-profile-tabs__menu{position:fixed;z-index:60;min-width:200px;background:var(--epc-card-bg);border:1px solid var(--epc-border);border-radius:8px;box-shadow:0 12px 28px rgba(0,0,0,.2);padding:8px;display:flex;flex-direction:column}
.epc-profile-tabs__menu a{padding:10px 12px;border:0;border-bottom:0;border-radius:6px;font-size:15px;font-weight:600;color:var(--epc-text);white-space:nowrap}
.epc-profile-tabs__menu a:hover{background:var(--epc-page-bg);text-decoration:none}
.epc-profile-tabs__menu a.is-active{color:var(--epc-primary)}
@media (max-width:860px){
  .epc-profile-all{grid-template-columns:1fr;grid-template-areas:"intro" "photos" "friends" "groups" "pages" "ads" "posts"}
  .epc-friends-grid--full{grid-template-columns:repeat(auto-fill,100px)}
  .epc-photos-grid--full{grid-template-columns:repeat(3,1fr)}
}

/* v1.0.81-profile-dashboard: the profile detail line (location •
   experience • company • verification) — coloured segments with a
   hover effect (underline + the Stars particles from the headings
   group in hover-effects.js). The certified tick is semibold green. */
.epc-profile-details__item:hover{text-decoration:underline;filter:brightness(.85)}
.epc-country-certified{font-weight:600}

/* v1.0.81-profile-dashboard: the cover preview inside the
   edit-profile upload flow — the chosen photo shows at once in a
   frame with the profile cover's aspect ratio and drags to
   reposition (pointer events in edit-profile.php); the dragged
   position travels with the form as cover_position ("x% y%"). */
.epc-cover-preview{position:relative;border-radius:8px;overflow:hidden;aspect-ratio:942/348;background:var(--epc-input);margin:8px 0}
.epc-cover-preview img{width:100%;height:100%;object-fit:cover;display:block;cursor:grab;touch-action:none}
.epc-cover-preview img.is-dragging{cursor:grabbing}
.epc-cover-preview__hint{position:absolute;left:8px;bottom:8px;background:rgba(0,0,0,.6);color:#fff;font-size:12px;padding:4px 8px;border-radius:999px;pointer-events:none}

/* v1.0.81-profile-dashboard: the Profile Dashboard (Facebook Creator
   Dashboard style, our light theme). A left nav (Home / Insights /
   Content / Engagement) anchors to the sections below — no script
   needed. Stat cards on top, then Insights (country table), Content
   (posts with views + engagement) and Engagement (totals + top
   posts). All figures are real data; empty states show zeros. */
.epc-dashboard{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:240px minmax(0,1fr);gap:16px;align-items:start}
.epc-dashboard__nav{position:sticky;top:72px;display:flex;flex-direction:column;gap:2px;padding:12px}
.epc-dashboard__nav a{display:flex;gap:12px;align-items:center;padding:11px 14px;border-radius:8px;color:var(--epc-text);font-weight:500;font-size:15px}
.epc-dashboard__nav a:hover{background:var(--epc-page-bg);text-decoration:none}
.epc-dashboard__nav a i{width:20px;text-align:center;color:var(--epc-primary)}
.epc-dashboard__main{display:flex;flex-direction:column;gap:16px;min-width:0}
.epc-dashboard__section{scroll-margin-top:72px}
.epc-dashboard__stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.epc-dashboard__stat{padding:16px}
.epc-dashboard__stat-num{font-size:28px;font-weight:700;line-height:1.2}
.epc-dashboard__stat-label{color:var(--epc-muted);font-size:14px;margin-top:4px}
.epc-dashboard__stat i{color:var(--epc-primary);font-size:18px;margin-bottom:8px}
.epc-dashboard__table{width:100%;border-collapse:collapse;font-size:15px}
.epc-dashboard__table th,.epc-dashboard__table td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--epc-border);vertical-align:top}
.epc-dashboard__table th{color:var(--epc-muted);font-size:13px;font-weight:600}
.epc-dashboard__table td.num,.epc-dashboard__table th.num{text-align:right;white-space:nowrap}
.epc-dashboard__bar{height:8px;border-radius:999px;background:var(--epc-page-bg);overflow:hidden;margin-top:6px}
.epc-dashboard__bar i{display:block;height:100%;background:var(--epc-primary);border-radius:999px}
@media (max-width:860px){
  .epc-dashboard{grid-template-columns:1fr}
  .epc-dashboard__nav{position:static;flex-direction:row;flex-wrap:wrap}
  .epc-dashboard__stats{grid-template-columns:repeat(2,1fr)}
}

/* v1.0.48-credits: Credits / Services / Orders pages + header chip. */
.epc-credits-chip{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 12px;border-radius:20px;background:var(--epc-page-bg);color:var(--epc-text);font-size:15px;font-weight:600;text-decoration:none;flex:none}
.epc-credits-chip:hover{background:var(--epc-border);text-decoration:none}
.epc-credits-chip i{color:#F7B928;font-size:16px}
.epc-profile-intro__credits{display:flex;align-items:center;gap:10px;margin-top:12px;padding:10px 12px;border-radius:8px;background:var(--epc-page-bg);color:var(--epc-text);font-size:15px;font-weight:600;text-decoration:none}
.epc-profile-intro__credits:hover{background:var(--epc-border);text-decoration:none}
.epc-profile-intro__credits i{color:#F7B928;font-size:18px}
.epc-credits-balance{display:flex;align-items:center;gap:10px;margin:16px 0 4px;padding:20px;border-radius:8px;background:var(--epc-page-bg)}
.epc-credits-balance__icon i{color:#F7B928;font-size:32px}
.epc-credits-balance__amount{font-size:32px;font-weight:700;line-height:1}
.epc-credits-balance__label{font-size:15px;color:var(--epc-muted)}
.epc-credits-rate{color:var(--epc-muted);font-size:14px}
.epc-credits-forms{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}
.epc-credits-form{padding:16px;border:1px solid var(--epc-border);border-radius:8px}
.epc-credits-form h2{font-size:17px;margin:0 0 8px}
.epc-credits-form form>div{margin-bottom:12px}
.epc-credits-form label{display:block;font-size:14px;font-weight:600;margin-bottom:4px}
.epc-credits-form input[type="number"],.epc-credits-form input[type="text"]{width:100%;padding:10px 12px;border:1px solid var(--epc-border);border-radius:8px;font-size:15px}
.epc-credits-form small{color:var(--epc-muted);font-size:13px}
.epc-credits-hint{color:var(--epc-muted);font-size:14px;margin:0 0 12px}
.epc-credits-referral{padding:16px;border:1px solid var(--epc-border);border-radius:8px;margin:16px 0}
.epc-credits-referral h2{font-size:17px;margin:0 0 8px}
.epc-credits-referral__row{display:flex;gap:8px}
.epc-credits-referral__row input{flex:1;padding:10px 12px;border:1px solid var(--epc-border);border-radius:8px;font-size:14px;background:var(--epc-page-bg)}
.epc-credits-referral__stats{color:var(--epc-muted);font-size:14px;margin:8px 0 0}
.epc-credits-requests,.epc-credits-ledger{margin-top:24px}
.epc-credits-requests h2,.epc-credits-ledger h2{font-size:17px;margin:0 0 8px}
.epc-credits-table{width:100%;border-collapse:collapse;font-size:14px}
.epc-credits-table th,.epc-credits-table td{padding:10px 8px;text-align:left;border-bottom:1px solid var(--epc-border);vertical-align:top}
.epc-credits-table th{color:var(--epc-muted);font-weight:600}
.epc-credits-plus{color:var(--epc-success);font-weight:600}
.epc-credits-minus{color:#F02849;font-weight:600}
.epc-status-pill{display:inline-block;padding:2px 8px;border-radius:12px;font-size:12px;font-weight:600;background:var(--epc-page-bg);color:var(--epc-muted);white-space:nowrap}
.epc-status-pill--pending{background:#FFF4E5;color:#8A5A00}
.epc-status-pill--approved,.epc-status-pill--completed{background:var(--epc-highlight);color:var(--epc-primary)}
.epc-status-pill--assigned,.epc-status-pill--done{background:var(--epc-highlight);color:var(--epc-primary)}
.epc-status-pill--rejected,.epc-status-pill--cancelled{background:#FDE8E8;color:#C81E1E}
.epc-services-balance{display:flex;align-items:center;gap:8px;padding:12px;border-radius:8px;background:var(--epc-page-bg);font-size:15px;font-weight:600}
.epc-services-balance i{color:#F7B928}
.epc-services-balance a{margin-left:auto;font-weight:600}
.epc-services-group{margin-top:24px}
.epc-services-group h2{font-size:17px;margin:0 0 12px}
.epc-service-card{padding:16px;border:1px solid var(--epc-border);border-radius:8px;margin-bottom:12px}
.epc-service-card__head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.epc-service-card h3{font-size:16px;margin:0 0 4px}
.epc-service-card p{color:var(--epc-muted);font-size:14px;margin:0 0 12px}
.epc-service-card__price{flex:none;font-size:16px;font-weight:700;white-space:nowrap}
.epc-service-card__price i{color:#F7B928}
.epc-services-hint{color:var(--epc-muted);font-size:14px;margin:0}
.epc-order-form{margin-top:12px;padding:12px;border-radius:8px;background:var(--epc-page-bg)}
.epc-order-form>div{margin-bottom:12px}
.epc-order-form label{display:block;font-size:14px;font-weight:600;margin-bottom:4px}
.epc-order-form input[type="text"],.epc-order-form input[type="password"],.epc-order-form select,.epc-order-form textarea{width:100%;padding:10px 12px;border:1px solid var(--epc-border);border-radius:8px;font-size:15px;background:var(--epc-card-bg)}
.epc-orders-section{margin-top:24px}
.epc-orders-section h2{font-size:17px;margin:0 0 12px}
.epc-order-card{padding:16px;border:1px solid var(--epc-border);border-radius:8px;margin-bottom:12px}
.epc-order-card__head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.epc-order-card h3{font-size:16px;margin:0 0 4px}
.epc-order-card p{color:var(--epc-muted);font-size:14px;margin:0}
.epc-order-card__actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.epc-order-card__detail{margin-top:12px;padding:12px;border-radius:8px;background:var(--epc-page-bg)}
.epc-order-card__detail p{color:var(--epc-text);font-size:15px;margin:0 0 6px}
.epc-order-card__detail p:last-child{margin-bottom:0}
/* v1.0.75-services-payments: pay-at-order summary + Buy Credits box
   in the service order modal; service reviews on the service page
   and under delivered orders; the Verified Purchase badge (5 yellow
   stars, #FFC928 — the VIP yellow) on profiles. */
.epc-order-payment{border:1px solid var(--epc-border);border-radius:8px;padding:12px 14px;margin:0 0 12px;background:var(--epc-page-bg)}
.epc-order-payment__row{display:flex;justify-content:space-between;gap:12px;font-size:15px;padding:3px 0}
.epc-order-payment__row span{color:var(--epc-muted)}
.epc-order-buy-credits{border:1px solid #FFC928;border-radius:8px;padding:12px 14px;margin:0 0 12px;background:#FFFBEB}
.epc-order-buy-credits p{margin:0 0 10px;font-size:14px;color:var(--epc-text)}
.epc-review{border-top:1px solid var(--epc-border);padding:12px 0}
.epc-review:first-of-type{border-top:0;padding-top:0}
.epc-order-card .epc-review{margin-top:12px}
.epc-review__head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:6px}
.epc-review__head strong{font-size:15px}
.epc-review-stars{color:#FFC928;font-size:14px;letter-spacing:1px}
.epc-review__text{margin:0;font-size:15px;color:var(--epc-text)}
.epc-review-form{margin-top:12px;border-top:1px solid var(--epc-border);padding-top:12px}
.epc-review-form div{margin-bottom:10px}
.epc-review-form label{display:block;font-size:14px;font-weight:600;margin-bottom:4px}
.epc-review-form select,.epc-review-form textarea{width:100%;padding:10px 12px;border:1px solid var(--epc-border);border-radius:8px;font-size:15px;background:var(--epc-card-bg)}
.epc-verified-purchase{display:inline-flex;align-items:center;gap:6px;border:1px solid #FFC928;border-radius:999px;padding:2px 10px;background:#FFFBEB;font-size:13px;font-weight:600;color:#7A5B00}
.epc-verified-purchase__stars{color:#FFC928;font-size:12px;letter-spacing:1px}
@media (max-width:860px){
  .epc-credits-forms{grid-template-columns:1fr}
  .epc-credits-chip{height:36px;padding:0 10px;font-size:14px}
  .epc-credits-referral__row{flex-direction:column}
}
/* v1.0.50-groups-pages: Facebook-layout Groups/Pages listing pages.
   The layouts are page-local (.epc-fb2/.epc-fb3), NOT the global
   .epc-layout — the global breakpoints collapse the left column to a
   64px icon rail at <=1024px and hide it at <=860px, which would
   destroy the page-local sidebar. FB tokens: --epc-highlight (#E7F3FF)
   light-blue buttons, #E4E6EB grey buttons, 8px card radius, FB system
   font stack (inherited). */
/* Light-blue + grey FB buttons (new variants of .epc-btn). */
.epc-btn--light{background:var(--epc-highlight);color:var(--epc-verified)}
.epc-btn--light:hover{background:#DBEAFE;color:var(--epc-verified);box-shadow:none}
.epc-btn--grey{background:var(--epc-btn-secondary-bg);color:var(--epc-btn-secondary-text)}
.epc-btn--grey:hover{background:var(--epc-btn-secondary-hover);color:var(--epc-btn-secondary-text);box-shadow:none}
/* Two-column (Groups) and three-column (Pages) page layouts. The
   parent .epc-main already constrains the width (1374px). */
.epc-fb2{display:grid;grid-template-columns:360px minmax(0,1fr);gap:16px;align-items:start}
.epc-fb3{display:grid;grid-template-columns:360px minmax(0,1fr) 360px;gap:16px;align-items:start}
/* Left sidebar: white panel, sticky under the fixed header with its
   own scroll (same offsets as the global .epc-col--left). */
.epc-fb-side{background:var(--epc-card-bg);border:1px solid var(--epc-border);border-radius:var(--epc-radius);box-shadow:var(--epc-shadow);padding:16px;position:sticky;top:calc(var(--epc-header-h) + 16px);max-height:calc(100vh - var(--epc-header-h) - 32px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#BCC0C4 transparent}
.epc-fb-side::-webkit-scrollbar{width:8px}
.epc-fb-side::-webkit-scrollbar-thumb{background:#BCC0C4;border-radius:4px}
.epc-fb-side__title{font-size:24px;font-weight:700;margin:0 0 12px}
.epc-fb-search{position:relative;margin-bottom:12px}
.epc-fb-search input{width:100%;height:40px;border:0;border-radius:999px;padding:0 16px 0 40px;background:var(--epc-search-bg);color:var(--epc-text);font-size:15px}
.epc-fb-search input::placeholder{color:var(--epc-muted)}
.epc-fb-search input:focus{background:var(--epc-border);outline:none}
.epc-fb-search__icon{position:absolute;inset-inline-start:14px;top:50%;transform:translateY(-50%);color:var(--epc-muted);pointer-events:none;display:flex}
.epc-fb-nav{display:flex;flex-direction:column;gap:2px;margin-bottom:12px}
.epc-fb-nav__item{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:8px;color:var(--epc-text);font-weight:600;font-size:15px}
.epc-fb-nav__item:hover{background:var(--epc-page-bg);text-decoration:none;color:var(--epc-text)}
.epc-fb-nav__item.is-active{background:var(--epc-highlight);color:var(--epc-verified)}
.epc-fb-nav__icon{display:flex;color:inherit}
.epc-fb-nav__icon svg{width:20px;height:20px}
.epc-fb-side__create{width:100%;margin-bottom:16px}
.epc-fb-side__section{margin-bottom:16px}
.epc-fb-side__heading{font-size:17px;font-weight:700;margin:0 0 8px}
.epc-fb-side__list{display:flex;flex-direction:column;gap:2px}
.epc-fb-side__row{display:flex;align-items:center;gap:10px;padding:8px;border-radius:8px;color:var(--epc-text)}
.epc-fb-side__row:hover{background:var(--epc-page-bg);text-decoration:none;color:var(--epc-text)}
.epc-fb-side__avatar{width:36px;height:36px;border-radius:50%;object-fit:cover;flex:none}
.epc-fb-side__row-text{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}
.epc-fb-side__row-name{font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.epc-fb-side__row-meta{font-size:13px;color:var(--epc-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.epc-fb-side__pin{display:flex;color:var(--epc-muted);flex:none}
.epc-fb-side__pin svg{width:16px;height:16px}
.epc-fb-side__more{display:block;background:none;border:0;color:var(--epc-link);font-weight:600;font-size:15px;padding:8px;cursor:pointer;text-align:left}
.epc-fb-side__more:hover{text-decoration:underline}
/* Rows past the first five hide until See More expands the list. */
.epc-fb-side__extra{display:none}
.is-expanded .epc-fb-side__extra{display:block}
/* Main column + sections. */
.epc-fb-main{min-width:0}
.epc-fb-main>.epc-form-error,.epc-fb-main>.epc-form-success{margin-bottom:16px}
.epc-fb-section{margin-bottom:28px}
.epc-fb-section__head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.epc-fb-section__title{font-size:20px;font-weight:700;margin:0 0 12px}
.epc-fb-section__head .epc-fb-section__title{margin:0}
.epc-fb-section__desc{font-size:15px;color:var(--epc-muted);margin:-4px 0 12px}
.epc-fb-sort{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;color:var(--epc-muted)}
.epc-fb-sort select{border:1px solid var(--epc-border);border-radius:6px;padding:6px 8px;background:var(--epc-card-bg);color:var(--epc-text);font-size:15px;font-weight:600}
/* Card grid: auto-fill at 260px — 3 columns on the Groups page's wide
   main column, 2 on the Pages page's narrower one, 1 on mobile. */
.epc-fb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
/* One group/page card: 80px cover slot left, text right, actions below. */
.epc-fb-card{padding:16px;display:flex;flex-direction:column;gap:12px}
.epc-fb-card__top{display:flex;gap:12px;align-items:flex-start;min-width:0}
.epc-fb-card__cover{width:80px;height:80px;flex:none;border-radius:8px;overflow:hidden;display:block;background:var(--epc-page-bg)}
.epc-fb-card__cover img{width:100%;height:100%;object-fit:cover;display:block}
.epc-fb-card__cover .epc-avatar-placeholder{border-radius:8px;font-size:1.6rem}
.epc-fb-card__body{flex:1;min-width:0}
.epc-fb-card__name{font-size:17px;font-weight:700;margin:0 0 4px;line-height:1.3}
.epc-fb-card__name a{color:var(--epc-text)}
.epc-fb-card__meta{font-size:13px;color:var(--epc-muted);margin:0 0 2px;line-height:1.4}
.epc-fb-card__actions{display:flex;gap:8px}
.epc-fb-card__action{flex:1}
.epc-fb-card__dots{flex:none;padding:0 10px;min-height:36px}
.epc-fb-card__dots svg{width:20px;height:20px}
/* "Pages you manage" wide cards. */
.epc-fb-manage-list{display:flex;flex-direction:column;gap:16px}
.epc-fb-manage-card{padding:16px;display:flex;gap:12px;align-items:center}
.epc-fb-manage-card__avatar{width:56px;height:56px;flex:none;border-radius:50%;overflow:hidden;display:block;background:var(--epc-page-bg)}
.epc-fb-manage-card__avatar img{width:100%;height:100%;object-fit:cover;display:block}
.epc-fb-manage-card__body{flex:1;min-width:0}
.epc-fb-manage-card__name{font-size:17px;font-weight:700;margin:0 0 4px;line-height:1.3}
.epc-fb-manage-card__name a{color:var(--epc-text)}
.epc-fb-manage-card__meta{font-size:13px;color:var(--epc-muted);margin:0 0 4px}
.epc-fb-manage-card__notif{font-size:14px;color:var(--epc-text);margin:0;display:flex;align-items:center;gap:6px}
.epc-fb-manage-card__bell{display:flex;color:var(--epc-muted)}
.epc-fb-manage-card__bell svg{width:16px;height:16px}
.epc-fb-manage-card__actions{display:flex;gap:8px;flex:none;align-items:center}
/* The blue unread dot (FB shows it beside the notification count). */
.epc-fb-count{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--epc-primary);flex:none}
/* Right column: Deactivated and deleted Pages. */
.epc-fb-right{position:sticky;top:calc(var(--epc-header-h) + 16px)}
.epc-fb-deleted{padding:16px}
.epc-fb-deleted__title{font-size:17px;font-weight:700;margin:0 0 8px}
.epc-fb-deleted__desc{font-size:14px;color:var(--epc-muted);margin:0 0 12px}
.epc-fb-deleted__list{display:flex;flex-direction:column}
.epc-fb-deleted__row{display:flex;align-items:center;gap:10px;padding:8px 0}
.epc-fb-deleted__avatar{width:40px;height:40px;flex:none;border-radius:50%;overflow:hidden;display:block;background:var(--epc-page-bg)}
.epc-fb-deleted__avatar img{width:100%;height:100%;object-fit:cover;display:block}
.epc-fb-deleted__name{flex:1;min-width:0;font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.epc-fb-deleted__seeall{width:100%;margin-top:8px}
/* Hidden by the client-side search filter. */
.epc-fb-is-hidden{display:none!important}
@media (max-width:1200px){
  /* The Pages right column stacks below the main content. */
  .epc-fb3{grid-template-columns:360px minmax(0,1fr)}
  .epc-fb-right{grid-column:1/-1;position:static}
}
@media (max-width:1024px){
  .epc-fb2,.epc-fb3{grid-template-columns:300px minmax(0,1fr)}
}
@media (max-width:860px){
  /* Single column: sidebar first, then main, then right. The sidebar
     stops being sticky — a sticky full-height panel would trap the
     page scroll on mobile. */
  .epc-fb2,.epc-fb3{grid-template-columns:1fr}
  .epc-fb-side{position:static;max-height:none;overflow:visible}
  .epc-fb-manage-card{flex-wrap:wrap}
  .epc-fb-manage-card__actions{flex:1 1 100%}
  .epc-fb-manage-card__actions .epc-btn--light{flex:1}
}

/* v1.0.51-pin-video-guest: masked URLs for guests (non-clickable text,
   muted like the surrounding meta) */
.epc-url-masked{color:var(--epc-muted)}
/* v1.0.51-pin-video-guest: the short source label shown where a video
   URL used to print (the player sits below it) */
.epc-video-source{display:block;margin-top:4px;font-size:12px;color:var(--epc-muted)}
/* v1.0.51-pin-video-guest: like/dislike counts on the action buttons
   (the is-active colour comes from .epc-post__actions button.is-active) */
.epc-like-count,.epc-dislike-count{font-weight:600}
/* v1.0.51-pin-video-guest: an active comment reaction — the buttons
   carry an inline muted colour, so !important is needed here. */
.epc-comment__meta [data-epc-comment-reaction].is-active{color:var(--epc-primary)!important}
/* v1.0.51-search-fix: comment photo attach — the photo renders inside
   the comment bubble below the text, fitting the bubble width; the
   pre-send preview shows a small thumbnail with a remove link. */
.epc-comment__photo{display:block;max-width:100%;height:auto;border-radius:8px;margin-top:6px}
.epc-comment-photo-preview{margin-top:8px}
.epc-comment-photo-preview img{max-width:120px;max-height:120px;border-radius:8px;display:block}
.epc-comment-photo-preview button{background:none;border:0;color:var(--epc-muted);font-size:.85rem;font-weight:600;padding:4px 0 0;cursor:pointer}
/* v1.0.52-allowlist-toast-register: Facebook-style "New notification"
   toast, bottom-left, 3 seconds (chat-dock.js). White card, 8px
   radius, subtle shadow; hidden until .is-visible. On small screens
   it stretches to the edges. */
.epc-notif-toast{position:fixed;left:16px;bottom:16px;z-index:400;display:none;align-items:center;gap:10px;max-width:360px;width:calc(100vw - 32px);background:var(--epc-card-bg);border-radius:8px;box-shadow:0 8px 30px rgba(0,0,0,.18);padding:12px 14px;cursor:pointer}
.epc-notif-toast.is-visible{display:flex}
.epc-notif-toast__avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;flex:0 0 auto}
.epc-notif-toast__body{min-width:0}
.epc-notif-toast__title{font-size:.8rem;font-weight:700;color:var(--epc-muted)}
.epc-notif-toast__text{font-size:.92rem;color:var(--epc-text);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.epc-notif-toast__close{position:absolute;top:6px;right:8px;background:none;border:0;color:var(--epc-muted);font-size:18px;line-height:1;cursor:pointer;padding:2px}
@media (max-width:520px){
  .epc-notif-toast{left:12px;bottom:12px;max-width:none}
}

/* ============ v1.0.53-hover-link-preview: animated hover effects ============
   Ported from Universal Daily v2.1.0-hover-fx (the FRP bypass theme's
   Hover Effects). Particles are CSS-only spans inside an
   absolutely-positioned layer clipped to the hovered element
   (assets/js/hover-effects.js spawns them). Colours come from
   --epc-fx-c1/--epc-fx-c2 (the ACTIVE effect's colours), the count
   from --epc-fx-density — all printed by epc_theme_colors_css().
   Card lift + shadow work in EVERY mode, including plain colour
   change. Nothing runs for prefers-reduced-motion. */

/* Particle layer clipped to the hovered element. Targets become
   positioned while an effect is active so the layer anchors to them. */
body.epc-fx-active .epc-post,
body.epc-fx-active .epc-fb-card,
body.epc-fx-active .epc-fb-manage-card,
body.epc-fx-active .epc-listing-card,
body.epc-fx-active .epc-story,
body.epc-fx-active .epc-btn,
body.epc-fx-active .epc-post__actions button,
body.epc-fx-active .epc-post__actions a,
body.epc-fx-active .epc-sidebar-nav a,
body.epc-fx-active .epc-header__nav a,
body.epc-fx-active .epc-fb-nav__item,
body.epc-fx-active .epc-card__title,
body.epc-fx-active .epc-post__title,
body.epc-fx-active .epc-ask-question,
body.epc-fx-active .epc-post__body a,
body.epc-fx-active .epc-profile-counts a,
body.epc-fx-active .epc-trending-row,
body.epc-fx-active .epc-trending-list a,
body.epc-fx-active .epc-card__head,
body.epc-fx-active .epc-header-dropdown__see-all,
body.epc-fx-active .epc-fb-side__more,
body.epc-fx-active .epc-fb-deleted__seeall{position:relative}
.epc-fx-layer{
  position:absolute;inset:0;overflow:hidden;pointer-events:none;
  z-index:5;border-radius:inherit;
}
.epc-fx-p{position:absolute;pointer-events:none;will-change:transform,opacity}

/* Fire: small glowing circles rising with a flicker. */
.epc-fx-fire-p{
  border-radius:50%;
  background:radial-gradient(circle at 50% 40%,var(--epc-fx-c2),var(--epc-fx-c1) 70%,transparent 76%);
  animation-name:epc-fx-rise;animation-timing-function:ease-out;animation-fill-mode:forwards;
}
@keyframes epc-fx-rise{
  0%{transform:translateY(0) scale(1);opacity:1}
  30%{transform:translateY(-32%) scale(1.15);opacity:1}
  60%{transform:translateY(-70%) scale(.9);opacity:.85}
  100%{transform:translateY(-130%) scale(.4);opacity:0}
}

/* Stars: glowing star characters, twinkling in place. Default green
   like the FRP demo (--epc-fx-c1 #28BA2B, --epc-fx-c2 #A7F3D0). */
.epc-fx-stars-p{
  color:var(--epc-fx-c1);text-shadow:0 0 8px var(--epc-fx-c2),0 0 2px var(--epc-fx-c2);
  line-height:1;
  animation-name:epc-fx-twinkle;animation-timing-function:ease-in-out;animation-fill-mode:forwards;
}
@keyframes epc-fx-twinkle{
  0%{transform:scale(.4) rotate(0deg);opacity:0}
  25%{transform:scale(1.15) rotate(12deg);opacity:1}
  55%{transform:scale(.85) rotate(-8deg) translateY(-6px);opacity:.75}
  100%{transform:scale(1.1) rotate(10deg) translateY(-14px);opacity:0}
}

/* Rocket: CSS clip-path silhouette flying up diagonally with a flame.
   The shape lives on ::before (clip-path on the particle itself would
   clip the flame), the flame on ::after. Drift comes from
   --epc-fx-drift. */
.epc-fx-rocket-p{
  animation-name:epc-fx-fly;animation-timing-function:ease-in;animation-fill-mode:forwards;
}
.epc-fx-rocket-p::before{
  content:"";position:absolute;inset:0;background:var(--epc-fx-c1);
  clip-path:polygon(50% 0,78% 22%,80% 58%,64% 78%,64% 100%,36% 100%,36% 78%,20% 58%,22% 22%);
}
.epc-fx-rocket-p::after{
  content:"";position:absolute;left:50%;top:100%;transform:translateX(-50%);
  width:45%;height:45%;border-radius:50% 50% 50% 50%/60% 60% 40% 40%;
  background:radial-gradient(ellipse at 50% 0%,var(--epc-fx-c2),var(--epc-fx-c1) 70%,transparent 75%);
  animation:epc-fx-flick .18s infinite alternate;
}
@keyframes epc-fx-fly{
  0%{transform:translate(0,0) rotate(-4deg);opacity:1}
  35%{transform:translate(calc(var(--epc-fx-drift,0px) * .4),-55%) rotate(3deg);opacity:1}
  70%{transform:translate(calc(var(--epc-fx-drift,0px) * .8),-110%) rotate(-3deg);opacity:.9}
  100%{transform:translate(var(--epc-fx-drift,0px),-160%) rotate(2deg);opacity:0}
}
@keyframes epc-fx-flick{
  from{transform:translateX(-50%) scaleY(1)}
  to{transform:translateX(-50%) scaleY(1.45)}
}

/* Smoke: soft blurred circles rising slowly, expanding and fading. */
.epc-fx-smoke-p{
  border-radius:50%;
  background:radial-gradient(circle,var(--epc-fx-c2) 0%,var(--epc-fx-c1) 65%,transparent 72%);
  filter:blur(3px);opacity:.55;
  animation-name:epc-fx-smoke;animation-timing-function:ease-out;animation-fill-mode:forwards;
}
@keyframes epc-fx-smoke{
  0%{transform:translateY(0) scale(.7);opacity:.55}
  40%{transform:translateY(-45%) scale(1.2);opacity:.4}
  100%{transform:translateY(-120%) scale(2.1);opacity:0}
}

/* Card lift + shadow — works in EVERY mode (including plain colour
   change). Lift amount (--epc-card-lift), shadow
   (--epc-card-shadow-hover) and speed (--epc-fx-transition) are all
   admin-editable. transform does not reflow the feed. */
.epc-post,.epc-fb-card,.epc-fb-manage-card,.epc-listing-card,.epc-story{transition:transform var(--epc-fx-transition,.2s),box-shadow var(--epc-fx-transition,.2s)}
.epc-post:hover,.epc-fb-card:hover,.epc-fb-manage-card:hover,.epc-listing-card:hover,.epc-story:hover{transform:translateY(var(--epc-card-lift,-4px));box-shadow:var(--epc-card-shadow-hover,0 8px 26px rgba(0,0,0,.14))}

/* Button hover background — admin-editable (single colour or a
   two-colour gradient via --epc-btn-hover-bg). Appended after the
   base .epc-btn:hover rule, so it wins at equal specificity; the
   variant hovers (.epc-btn--yellow:hover etc.) are more specific and
   keep winning. filter:none so an admin gradient shows clean. */
.epc-btn:hover{background:var(--epc-btn-hover-bg,#0052CC);filter:none}

/* Navigation hover background — admin-editable (single colour or a
   two-colour gradient via --epc-nav-hover-bg). Same specificity as
   the base rules, appended later, so these win. */
.epc-sidebar-nav a:hover,.epc-sidebar-nav__more:hover{background:var(--epc-nav-hover-bg,#E4E6EB)}
.epc-header__nav a:hover,.epc-header__nav-tab:hover{background:var(--epc-nav-hover-bg,#E4E6EB)}
.epc-fb-nav__item:hover{background:var(--epc-nav-hover-bg,#E4E6EB)}

/* While an animated effect is active, hovering shows particles
   INSTEAD of the background-colour swap. Card lift/shadow keep
   working. The resting backgrounds are restored: .epc-btn rests on
   var(--epc-primary); the nav links rest on no background. */
body.epc-fx-active .epc-btn:hover{background:var(--epc-primary);filter:none}
body.epc-fx-active .epc-sidebar-nav a:hover,body.epc-fx-active .epc-sidebar-nav__more:hover{background:none}
body.epc-fx-active .epc-header__nav a:hover,body.epc-fx-active .epc-header__nav-tab:hover{background:none}
body.epc-fx-active .epc-fb-nav__item:hover{background:none}

@media (prefers-reduced-motion:reduce){
  .epc-fx-layer{display:none}
  /* v1.0.91-verify-card-design: the reminder icon stays still. */
  .epc-verify-reminder__icon{animation:none}
  .epc-verify-reminder{transition:none}
}

/* ============ v1.0.53-hover-link-preview: link preview card ============
   Facebook-style: bordered card under the post text, image on top,
   title, description, domain. Logged-in: a clickable <a> (new tab).
   Guests: a non-clickable text-only <div> (domain + title, no image,
   no URL) — the guest shape carries no URL at all. */
.epc-link-preview{display:block;margin:12px 0 0;border:1px solid #CED0D4;border-radius:8px;overflow:hidden;background:var(--epc-card-bg);color:var(--epc-text);text-decoration:none}
a.epc-link-preview:hover{text-decoration:none;border-color:#BCC0C4}
.epc-link-preview__image{max-height:300px;overflow:hidden;background:var(--epc-page-bg)}
.epc-link-preview__image img{display:block;width:100%;height:auto;max-height:300px;object-fit:cover}
.epc-link-preview__body{padding:12px 16px}
.epc-link-preview__domain{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.02em;color:var(--epc-muted)}
.epc-link-preview__title{font-size:1rem;font-weight:700;line-height:1.3;margin-top:2px}
.epc-link-preview__desc{font-size:.9rem;color:var(--epc-muted);line-height:1.4;margin-top:4px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.epc-link-preview--guest{cursor:default}

/* ============ v1.0.54-mockup-match: mockup styling ============
   Trending Topics rows (coloured hashtag tiles + trend arrow),
   the Join Our Community + Need Help? cards (mockup gradients,
   icons, pill buttons), the Facebook-style reaction cluster +
   Like button icon, and the wider center column (see .epc-layout
   above). Real data only — no counts are hardcoded anywhere. */

/* Trending Topics — the row is icon tile + text column + arrow. The
   base .epc-trending-row rule (flex, space-between) still applies;
   these rules add the tile, the stacked text and the arrow. */
.epc-trending-row{gap:12px;padding:10px}
.epc-trending-row__icon{flex:none;width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:800;line-height:1}
.epc-trending-row__icon--1{background:#E7F3FF;color:#0866FF}
.epc-trending-row__icon--2{background:#E6F7ED;color:#16A765}
.epc-trending-row__icon--3{background:#FEF3E2;color:#E9710F}
.epc-trending-row__icon--4{background:#F3E8FF;color:#7C3AED}
.epc-trending-row__text{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.epc-trending-row__tag{font-weight:700;font-size:.95rem}
.epc-trending-row__arrow{flex:none;color:#16A765;font-size:15px}

/* Join Our Community — rocket icon beside the text, green pill
   button below. The h2/p sizes stay exactly as the v1.0.44 pins
   expect (.epc-promo h2 1.05rem, .epc-promo p .85rem); only the
   inner margins tighten so the icon row stays compact. */
.epc-promo__inner{display:flex;gap:12px;align-items:center;margin-bottom:12px}
.epc-promo__icon{flex:none;width:40px;height:40px;display:flex;align-items:center;justify-content:center;font-size:30px;line-height:1;color:#fff}
.epc-promo__text{min-width:0}
.epc-promo__text p{margin-bottom:0}
.epc-promo__btn{background:var(--epc-success);color:#fff;border-radius:999px;font-weight:700}

/* Need Help? — white headset icon beside the text, white pill
   button below. The green→blue gradient is the existing
   .epc-help-card background (unchanged). */
.epc-help-card__inner{display:flex;gap:14px;align-items:center;margin-bottom:14px}
.epc-help-card__icon{flex:none;font-size:44px;line-height:1;color:#fff}
.epc-help-card__text{min-width:0}
.epc-help-card__text p{margin-bottom:0}
.epc-help-card__btn{border-radius:999px;font-weight:700}

/* Reaction cluster — overlapping emoji faces (top 3 types by count)
   + the total positive count, in the stats row under the header. */
.epc-post__reactions{display:inline-flex;align-items:center;gap:4px}
.epc-reaction-cluster{display:inline-flex;align-items:center}
.epc-reaction-face{width:18px;height:18px;border-radius:50%;background:var(--epc-card-bg);border:1px solid var(--epc-border);display:inline-flex;align-items:center;justify-content:center;font-size:11px;line-height:1;margin-left:-4px}
.epc-reaction-face:first-child{margin-left:0}

/* Like button — the icon is the viewer's own reaction emoji (or the
   plain thumbs-up); 18px matches the FA icons in the action row. */
.epc-like-icon{display:inline-flex;align-items:center;justify-content:center;font-size:18px;line-height:1}

/* v1.0.55-notifications-avatars: notification deep links + cover
   repositioning. */
/* A header-dropdown notification row with a target URL is clickable
   (the whole row opens the target; the actor name keeps its own
   profile link). */
.epc-header-dropdown__row[data-epc-notif-url]{cursor:pointer}
/* The owner's cover photo can be dragged to reposition it
   (theme.js cover-reposition); the grab cursor signals it. */
.epc-profile-cover__frame img[data-epc-cover-drag]{cursor:grab;touch-action:none}
.epc-profile-cover__frame img[data-epc-cover-drag].is-dragging{cursor:grabbing}
.epc-profile-cover__drag-hint{position:absolute;left:16px;bottom:16px;background:rgba(0,0,0,.55);color:#fff;font-size:.8rem;padding:5px 10px;border-radius:999px;pointer-events:none}

/* ============ v1.0.62-mobile-seo: full mobile optimization ============
   Audit of every front-end surface at 360/390/430/768px. The desktop
   layout is untouched — every rule below is inside a max-width media
   query (or a narrow-screen-only selector), and the v1.0.45 composer
   full-screen rules, the v1.0.61 narrow-navigation behavior and the
   v1.0.59/60 chat rules are all left intact. Issues found + fixed:

   M1  Header overflows at 360px: hamburger + logo + brand name
       (nowrap) + search toggle + 4 action controls ≈ 397px.
       The brand name text hides (logo stays); at ≤380px the
       credits chip hides too (credits stay reachable from the
       profile Intro card + the sidebar).
   M2  /messages/ is a fixed 280px + 1fr grid (inline style) — at
       360px the thread gets ~48px. It stacks below 768px (the
       grid + border overrides need !important to beat the inline
       styles) and the conversation list caps at 220px.
   M3  Credits tables (5 columns, ~450px min) break the card at
       360px. They scroll horizontally inside their section.
   M4  iOS zooms into any focused input under 16px: the header
       search (15px), comment box (.92rem), composer panels,
       FAQ/market/directory/search inputs all go to 16px ≤768px.
   M5  FAQ search row squeezes at 360px (no wrap, select 220px).
       It wraps, and stacks at ≤520px.
   M6  The post action row (4–5 buttons at 15px + 18px icons)
       squeezes at 360px. Smaller type/icons at ≤480px.
   M7  Long unbroken text (URLs) overflows comment bubbles, the
       comment input and profile Intro rows (flex:1 with no
       min-width:0). Fixed in place above (min-width:0 +
       overflow-wrap).
   M8  At 481–860px the feed + right column stretch full-width
       (~800px); Facebook caps the feed at ~680px. Capped +
       centered (home layout only — single pages keep 860px).
   M9  Generic modals (confirm/share/report) keep a 90px top
       offset on phones. 16px padding + a dvh cap ≤768px (the
       composer keeps its own full-screen rules — ID selectors).
   M10 Touch targets: content buttons were 32–40px tall. ~44px
       ≤768px (buttons, action row, drawer nav, dropdown items,
       Groups nav, composer options, emoji picker). The 56px
       header keeps its 36–40px icon buttons, like Facebook's
       own mobile bar — a deliberate exception.
   M11 Profile head: 32px name + 24px side padding at 360px.
       26px name + 16px padding at ≤480px.
   M13 Header dropdowns (menu grid, friend requests, account)
       are anchored to their button's right edge with a
       100vw-24px width ≤767px — so they overflow the LEFT edge
       of the screen. They become a full-width sheet under the
       bar (the flip-up rule is neutralised for them: a fixed
       menu's flip would push it off the top of the viewport).
   M14 The expanded header search only gets the ~60px left after
       the hamburger, logo and actions at 360px — input and
       results unusable. While expanded, the bar's other items
       hide (:has) and the search takes the whole row. Escape
       closes it (theme.js) — the toggle is hidden while
       expanded. Without :has() support the old squeeze returns,
       nothing breaks.
   M29 Toasts sit at bottom:12–24px — behind/over the 56px
       bottom nav. They sit above it (68px) ≤860px.
   M38 Order-card action buttons had no wrap. Fixed in place
       above.
   M45 Nested reply indent (42px/level) squeezes bubbles at
       360px. 28px at ≤520px.

   Verified already-good, no change: viewport meta (header.php),
   composer full-screen ≤768px, cover 200px + avatar 120px
   ≤860px, chat dock/windows hidden ≤767px + FAB, bottom nav +
   90px main padding, drawer 85vw, stories row scroll, grids
   (240/260px floors → 1 column), profile-about column ≤640px,
   listing detail 1 column ≤860px, credits forms 1 column ≤860px,
   fb2/fb3 single column ≤860px, auth cards, notif-toast width. */

@media (max-width:860px){
  .epc-layout:not(.epc-layout--single)>.epc-col--center{max-width:680px;width:100%;margin-inline:auto}
  .epc-layout:not(.epc-layout--single)>.epc-col--right{max-width:680px;width:100%;margin-inline:auto}
  .epc-toast{bottom:68px}
  .epc-notif-toast{bottom:68px}
  .epc-credits-requests,.epc-credits-ledger{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .epc-credits-table{min-width:480px}
  .epc-header .epc-dropdown__menu{position:fixed;top:calc(var(--epc-header-h) + 8px);left:12px;right:12px;width:auto;min-width:0;max-width:none}
  .epc-header .epc-dropdown__menu.is-flipped{top:calc(var(--epc-header-h) + 8px);bottom:auto}
}
@media (max-width:768px){
  .epc-messages-wrap{grid-template-columns:1fr!important;min-height:0!important}
  .epc-messages-wrap__list{border-inline-end:0!important;border-bottom:1px solid var(--epc-border)}
  #epc-conversations{max-height:220px!important}
  .epc-modal{padding:16px}
  .epc-modal__box{max-height:calc(100dvh - 32px)}
  .epc-search__input,.epc-comment-input,#epc-chat-input,.epc-composer__panel input[type="text"],.epc-composer__panel input[type="url"],.epc-composer__panel select,.epc-faq-search input[type="search"],.epc-faq-search select,.epc-market-filters input[type="search"],.epc-market-filters input[type="number"],.epc-market-filters select,.epc-fb-search input,#epc-directory-filter input,#epc-directory-filter select,[data-epc-ask-form] input[type="text"],[data-epc-ask-form] textarea,[data-epc-ask-form] select{font-size:16px}
  .epc-btn{min-height:44px}
  .epc-header .epc-btn{min-height:32px}
  .epc-post__actions button,.epc-post__actions a{padding:13px 4px}
  .epc-sidebar-nav a,.epc-sidebar-nav__more{padding-top:13px;padding-bottom:13px}
  .epc-dropdown__menu a{padding:12px}
  .epc-fb-nav__item{padding-top:12px;padding-bottom:12px}
  .epc-composer__option{padding:12px 8px}
  .epc-emoji-picker button{padding:10px}
}
@media (max-width:520px){
  .epc-faq-search input[type="search"]{flex:1 1 100%}
  .epc-faq-search select{flex:1 1 100%;max-width:none}
  .epc-comment__replies,.epc-comment__reply-form{margin-left:28px}
}
@media (max-width:480px){
  .epc-brand__text{display:none}
  .epc-post__actions button,.epc-post__actions a{font-size:13px;gap:4px;padding:13px 2px}
  .epc-post__actions button i,.epc-post__actions a i,.epc-like-icon{font-size:16px}
  .epc-profile-head{padding:0 16px 16px}
  .epc-profile-head__info h1{font-size:26px}
  .epc-header__inner:has(> .epc-search.is-expanded) > .epc-hamburger,
  .epc-header__inner:has(> .epc-search.is-expanded) > .epc-brand,
  .epc-header__inner:has(> .epc-search.is-expanded) > .epc-header__nav,
  .epc-header__inner:has(> .epc-search.is-expanded) > .epc-header__actions{display:none}
}
/* v1.0.66-sidebar-header-leaks: the top-right actions gained the
   Messages + Notifications icons (5 round controls + avatar), so
   the credits chip hides earlier (<=640px instead of <=380px) and
   the menu-grid button hides at <=480px (its group shortcuts are
   already in the hamburger drawer on mobile) — the header must
   still fit a 360px screen. */
@media (max-width:640px){
  .epc-credits-chip{display:none}
}
@media (max-width:480px){
  #epc-header-menu{display:none}
}

/* ============ v1.0.62-mobile-seo: homepage SEO section ============
   The visible GSM/unlocking topic content (template-parts/home-seo.php)
   — below the feed, never touching the feed UX. The H1 is the
   page's only H1 (verified: no other homepage-rendered template
   emits one); the H2s are the topic clusters + the FAQ heading.
   Topic links are pill buttons (the FAQ tab style, reused). At
   ≤480px the section is a full-bleed card like every other center-
   column card (the existing radius-0 rule covers it). */
.epc-home-seo{padding:24px 28px}
.epc-home-seo h1{font-size:26px;line-height:1.3;margin:0 0 12px}
.epc-home-seo h2{font-size:20px;line-height:1.3;margin:24px 0 8px}
.epc-home-seo p{font-size:15px;line-height:1.55;color:var(--epc-text);margin:0 0 10px}
.epc-home-seo__links{list-style:none;margin:0 0 4px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.epc-home-seo__links a{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border:1px solid var(--epc-border);border-radius:999px;font-weight:600;font-size:.9rem;color:var(--epc-text);background:var(--epc-page-bg)}
.epc-home-seo__links a:hover{background:var(--epc-primary-light);color:var(--epc-link);text-decoration:none}
.epc-home-seo__faq{margin:0;padding:0}
.epc-home-seo__faq dt{font-weight:700;font-size:15px;line-height:1.4;margin:14px 0 4px}
.epc-home-seo__faq dd{margin:0 0 4px;color:var(--epc-text);font-size:15px;line-height:1.55}
/* v1.0.85-seo: the shared archive-page SEO intro (template-parts/
   seo-intro.php) — same type scale as .epc-home-seo, but it sits
   INSIDE the page card (or the FB main column), so it carries no
   card padding of its own: a bottom border + spacing separates it
   from the listing below. */
.epc-seo-intro{margin:4px 0 20px;padding-bottom:16px;border-bottom:1px solid var(--epc-border)}
.epc-seo-intro h2{font-size:19px;line-height:1.3;margin:18px 0 6px}
.epc-seo-intro p{font-size:15px;line-height:1.55;color:var(--epc-text);margin:0 0 10px}
.epc-seo-intro p:last-child{margin-bottom:0}
/* v1.0.86-comment-fix: styled content-list markers. A content list
   never prints a plain-text dot, tick or number as its marker —
   the marker is a styled element instead. Base = styled brand-green
   dot; --check = Font Awesome circle-check in brand green #16A765;
   --numbered (on an <ol>) = CSS-counter number badges. Content
   lists only (SEO pages, Help Center, Contact) — UI chrome
   (menus, buttons, tabs, form controls) is untouched. */
.epc-styled-list{list-style:none;margin:0 0 14px;padding:0}
.epc-styled-list li{position:relative;padding-left:26px;margin:0 0 8px;font-size:15px;line-height:1.55;color:var(--epc-text)}
.epc-styled-list li::before{content:'';position:absolute;left:3px;top:8px;width:8px;height:8px;border-radius:50%;background:#16A765}
.epc-styled-list--check li::before{content:'\f058';font-family:'Font Awesome 6 Free';font-weight:900;left:0;top:2px;width:auto;height:auto;background:none;color:#16A765;font-size:15px}
.epc-styled-list--numbered{counter-reset:epc-styled}
.epc-styled-list--numbered li{counter-increment:epc-styled;padding-left:32px}
.epc-styled-list--numbered li::before{content:counter(epc-styled);left:0;top:1px;width:20px;height:20px;border-radius:50%;background:#16A765;color:#fff;font-size:12px;font-weight:700;line-height:20px;text-align:center}
@media (max-width:480px){
  .epc-home-seo{padding:20px 16px}
  .epc-home-seo h1{font-size:22px}
  .epc-home-seo h2{font-size:18px}
}

/* v1.0.69-group-page-settings: Facebook-style Settings rows (label +
   current value + pencil icon; the pencil swaps the value for an
   inline editor). The wall wrapper sets --epc-group-accent inline
   (server-rendered, never cached-CSS dependent — the v1.0.57
   lesson): active tab underline, primary buttons and links on that
   group/page wall take the group's colour. */
.epc-settings-section{border:1px solid var(--epc-border);border-radius:8px;margin-bottom:20px;overflow:hidden}
.epc-settings-section__title{margin:24px 0 10px;font-size:17px}
.epc-settings-row{display:flex;justify-content:space-between;gap:12px;padding:12px 16px;border-top:1px solid var(--epc-border)}
.epc-settings-row:first-child{border-top:0}
.epc-settings-row__main{flex:1;min-width:0}
.epc-settings-row__label{font-weight:600;font-size:15px}
.epc-settings-row__value{color:var(--epc-muted);font-size:14px;margin-top:2px;overflow-wrap:anywhere}
.epc-settings-row__hint{color:var(--epc-muted);font-size:13px;margin-top:2px}
.epc-settings-row__editor{margin-top:10px}
.epc-settings-row__editor input[type="text"],.epc-settings-row__editor textarea,.epc-settings-row__editor select{width:100%;max-width:520px;padding:8px 10px;border:1px solid var(--epc-border);border-radius:8px;font:inherit;background:var(--epc-surface);color:var(--epc-text)}
.epc-settings-row__editor textarea{resize:vertical}
.epc-settings-row__editor input[type="color"]{width:48px;height:36px;padding:2px;border:1px solid var(--epc-border);border-radius:8px;background:var(--epc-surface);cursor:pointer}
.epc-settings-row__actions{display:flex;gap:8px;margin-top:10px}
.epc-settings-row__edit{flex:none;width:36px;height:36px;border:0;border-radius:50%;background:var(--epc-page-bg);color:var(--epc-muted);cursor:pointer;display:flex;align-items:center;justify-content:center}
.epc-settings-row__edit:hover{background:var(--epc-border);color:var(--epc-text)}
.epc-wall--accent .epc-profile-tabs button.is-active{color:var(--epc-group-accent,var(--epc-primary));border-bottom-color:var(--epc-group-accent,var(--epc-primary))}
.epc-wall--accent .epc-profile-tabs a.is-active{color:var(--epc-group-accent,var(--epc-primary));border-bottom-color:var(--epc-group-accent,var(--epc-primary))}
.epc-wall--accent .epc-btn--primary{background:var(--epc-group-accent,var(--epc-primary))}
.epc-wall--accent a{color:var(--epc-group-accent,var(--epc-primary))}
.epc-avatar--anon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--epc-page-bg);color:var(--epc-muted);flex:none}
.epc-avatar--anon.epc-avatar--sm{width:36px;height:36px}
.epc-anon-label{display:inline-block;font-size:12px;font-weight:600;color:var(--epc-muted);background:var(--epc-page-bg);border-radius:4px;padding:1px 6px;margin-left:4px;vertical-align:1px}
.epc-welcome-banner{padding:12px 16px;border-radius:8px;background:var(--epc-page-bg);border:1px solid var(--epc-border)}
.epc-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.epc-tag{padding:4px 10px;border-radius:999px;background:var(--epc-page-bg);font-size:13px;color:var(--epc-muted)}

/* v1.0.70-moderation: the Media-tab photo grid (group + page walls).
   Three columns on desktop, two on narrow screens; square thumbs. */
.epc-media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
@media (max-width:640px){.epc-media-grid{grid-template-columns:repeat(2,1fr)}}
.epc-media-grid__item{display:block;border-radius:8px;overflow:hidden;background:var(--epc-page-bg);aspect-ratio:1}
.epc-media-grid__item img{width:100%;height:100%;object-fit:cover;display:block}
/* v1.0.70-moderation: group rules — the public card below the header
   and the Manage editor list (numbered, with per-rule actions). */
.epc-rules-card{margin-top:0}
.epc-rules-display{margin:0;padding-left:22px}
.epc-rules-display li{margin:0 0 10px}
.epc-rules-display li span{display:block;color:var(--epc-muted);font-size:14px;margin-top:2px}
.epc-rules-display__legacy{color:var(--epc-text)}
.epc-rules-list{margin:0 0 14px;padding-left:22px}
.epc-rules-list__item{margin:0 0 12px}
.epc-rules-list__text strong{display:block}
.epc-rules-list__text span{display:block;color:var(--epc-muted);font-size:14px;margin-top:2px;overflow-wrap:anywhere}
.epc-rules-list__actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.epc-rules-add{display:flex;flex-direction:column;gap:8px}
.epc-rules-add input[type="text"],.epc-rules-add textarea{width:100%;max-width:520px;padding:8px 10px;border:1px solid var(--epc-border);border-radius:8px;font:inherit;background:var(--epc-surface);color:var(--epc-text)}
.epc-rules-add textarea{resize:vertical}

/* v1.0.80-mentions-funds: @mention autocomplete — the dropdown under
   the composer editor (avatar + name + @handle + kind badge) and the
   mention link inside post bodies (same blue as hashtag links). */
.epc-mention-dropdown{position:relative;margin-top:8px;border:1px solid var(--epc-border);border-radius:10px;background:var(--epc-card-bg);box-shadow:var(--epc-shadow);overflow:hidden;z-index:5}
.epc-mention-dropdown[hidden]{display:none}
.epc-mention-item{display:flex;align-items:center;gap:10px;width:100%;padding:8px 12px;border:0;background:none;text-align:left;cursor:pointer;font:inherit;color:var(--epc-text)}
.epc-mention-item.is-active,.epc-mention-item:hover{background:var(--epc-surface)}
.epc-mention-item__text{display:flex;flex-direction:column;min-width:0;flex:1}
.epc-mention-item__name{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.epc-mention-item__handle{color:var(--epc-muted);font-size:13px}
.epc-mention-item__kind{font-size:12px;color:var(--epc-muted);border:1px solid var(--epc-border);border-radius:999px;padding:2px 8px}
a.epc-mention{color:var(--epc-link);font-weight:600;text-decoration:none}
a.epc-mention:hover{text-decoration:underline}
/* v1.0.80-mentions-funds: the sidebar Wallet card — balance + Add
   Funds button, between the nav and the promo card. */
.epc-wallet-card{background:var(--epc-card-bg);border:1px solid var(--epc-border);border-radius:12px;padding:14px;margin:12px 0}
.epc-wallet-card__row{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.epc-wallet-card__icon{width:36px;height:36px;border-radius:50%;background:#e7f3ff;color:#0866ff;display:flex;align-items:center;justify-content:center;font-size:18px}
.epc-wallet-card__text{display:flex;flex-direction:column}
.epc-wallet-card__label{font-size:13px;color:var(--epc-muted)}
.epc-wallet-card__balance{font-weight:700;font-size:16px}
.epc-wallet-card__btn{display:block;text-align:center;width:100%}
/* v1.0.80-mentions-funds: the Add Funds modal — Quick Select row and
   the single payment-method card (USDT on the configured network). */
.epc-fund__quick{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.epc-fund__method-label{display:block;font-weight:600;margin:14px 0 6px}
.epc-fund__method{display:flex;align-items:center;gap:12px;border:1px solid var(--epc-border);border-radius:10px;padding:12px;background:var(--epc-surface)}
.epc-fund__method-icon{width:36px;height:36px;border-radius:50%;background:#26a17b;color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700}
.epc-fund__method-text{display:flex;flex-direction:column;flex:1}
.epc-fund__method-text small{color:var(--epc-muted)}
.epc-fund__method-check{color:#16a765;font-weight:700;font-size:18px}
/* v1.0.80-mentions-funds: the payment page (/funds/{id}/) — status
   badge, progress steps, amount, details, QR, wallet + tx form. */
.epc-fund__status-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.epc-fund__status{font-weight:700;border-radius:999px;padding:4px 14px;font-size:14px}
.epc-fund__status.is-pending{background:#fef3c7;color:#92400e}
.epc-fund__status.is-confirmed{background:#d1fae5;color:#065f46}
.epc-fund__status.is-rejected{background:#fee2e2;color:#991b1b}
.epc-fund__countdown{color:var(--epc-muted);font-size:14px}
.epc-fund__steps{display:flex;gap:0;list-style:none;margin:0 0 18px;padding:0;counter-reset:epc-fund-step}
.epc-fund__steps li{flex:1;text-align:center;font-size:13px;color:var(--epc-muted);border-top:3px solid var(--epc-border);padding-top:8px;position:relative}
.epc-fund__steps li.is-done{color:#16a765;border-top-color:#16a765;font-weight:600}
.epc-fund__steps li.is-rejected{color:#dc2626;border-top-color:#dc2626;font-weight:600}
.epc-fund__amount{font-size:20px;font-weight:700;margin:0 0 4px}
.epc-fund__credits{color:var(--epc-muted);margin:0 0 16px}
.epc-fund__details{margin:0 0 16px}
.epc-fund__details div{display:flex;gap:12px;padding:6px 0;border-bottom:1px solid var(--epc-border)}
.epc-fund__details dt{width:130px;color:var(--epc-muted);flex:none}
.epc-fund__details dd{margin:0;overflow-wrap:anywhere}
.epc-fund__qr{text-align:center;margin:16px 0}
.epc-fund__qr img{max-width:220px;width:100%;height:auto;border:1px solid var(--epc-border);border-radius:12px;padding:8px;background:var(--epc-card-bg)}
.epc-fund__wallet{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border:1px solid var(--epc-border);border-radius:10px;padding:12px;background:var(--epc-surface);margin-bottom:12px}
.epc-fund__wallet-label{font-weight:600}
.epc-fund__wallet code{flex:1;overflow-wrap:anywhere;font-size:13px}
.epc-fund__warn{margin:14px 0}
.epc-fund__tx-form{margin-top:18px;border-top:1px solid var(--epc-border);padding-top:16px}
.epc-fund__tx-form label{display:block;font-weight:600;margin-bottom:6px}
.epc-fund__tx-form input[type="text"]{width:100%;padding:10px 12px;border:1px solid var(--epc-border);border-radius:8px;font:inherit;background:var(--epc-surface);color:var(--epc-text);margin-bottom:10px}
.epc-fund__tx-saved{margin-top:16px}
.epc-fund__tx-saved code{overflow-wrap:anywhere;font-size:13px}
@media (max-width:640px){.epc-fund__details div{flex-direction:column;gap:2px}.epc-fund__details dt{width:auto}}

/* v1.0.103-rich-editor: rich composer rendering — post-body
   headings, log blocks, the floating formatting toolbar, the
   right-click menu, and the editor preview styles (so what the
   user formats in the composer looks like the published post).
   Lists reuse the v1.0.86 .epc-styled-list classes (styled-effect
   markers — green dot, green check, green numbered circle) — no
   extra list rules needed here. */
.epc-post__body h2{font-size:20px;line-height:1.35;margin:14px 0 8px;color:var(--epc-heading)}
.epc-post__body h3{font-size:17px;line-height:1.4;margin:12px 0 6px;color:var(--epc-heading)}
.epc-log-block{margin:12px 0;border:1px solid #3A3B3C;border-radius:10px;overflow:hidden;background:#1C1E21}
.epc-log-block__head{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-bottom:1px solid #3A3B3C}
.epc-log-block__label{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#16A765}
.epc-log-block__copy{border:1px solid #4E4F50;border-radius:6px;background:transparent;color:#E4E6EB;font-size:12px;font-weight:600;padding:4px 10px;cursor:pointer}
.epc-log-block__copy:hover{background:#3A3B3C}
.epc-log-block__pre{margin:0;padding:12px;overflow-x:hidden;overflow-y:auto;max-height:480px;background:#1C1E21}
.epc-log-block__pre code{display:block;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1.6;color:#E4E6EB;white-space:pre-wrap;overflow-wrap:anywhere}
#epc-composer-modal .epc-modal__editor h2{font-size:20px;line-height:1.35;margin:10px 0 6px;color:var(--epc-heading)}
#epc-composer-modal .epc-modal__editor h3{font-size:17px;line-height:1.4;margin:10px 0 6px;color:var(--epc-heading)}
#epc-composer-modal .epc-modal__editor pre{margin:10px 0;padding:12px;border-radius:10px;background:#1C1E21;color:#E4E6EB;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
#epc-composer-modal .epc-modal__editor ul.epc-styled-list,#epc-composer-modal .epc-modal__editor ol.epc-styled-list{margin:8px 0 12px}
.epc-rich-toolbar{position:fixed;z-index:400;display:none;align-items:center;gap:2px;padding:6px;background:var(--epc-card-bg);border:1px solid var(--epc-border);border-radius:10px;box-shadow:var(--epc-shadow-lg)}
.epc-rich-toolbar button{border:0;background:transparent;color:var(--epc-text);font-size:13px;font-weight:600;padding:6px 8px;border-radius:6px;cursor:pointer;white-space:nowrap}
.epc-rich-toolbar button:hover{background:var(--epc-search-bg)}
.epc-rich-toolbar__sep{width:1px;align-self:stretch;background:var(--epc-border);margin:0 4px}
.epc-rich-linkrow{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.epc-rich-linkrow input[type="text"]{width:220px;max-width:60vw;padding:6px 8px;border:1px solid var(--epc-border);border-radius:6px;font-size:13px;background:var(--epc-card-bg);color:var(--epc-text)}
.epc-rich-linkerror{flex-basis:100%;font-size:12px;line-height:1.45;color:var(--epc-danger)}
.epc-rich-linkerror a{color:var(--epc-link)}
.epc-rich-menu{position:fixed;z-index:400;display:none;min-width:200px;padding:6px;background:var(--epc-card-bg);border:1px solid var(--epc-border);border-radius:10px;box-shadow:var(--epc-shadow-lg)}
.epc-rich-menu button{display:flex;align-items:center;gap:8px;width:100%;border:0;background:transparent;color:var(--epc-text);font-size:14px;text-align:left;padding:8px 10px;border-radius:6px;cursor:pointer}
.epc-rich-menu button:hover{background:var(--epc-search-bg)}
.epc-rich-menu button i{width:18px;text-align:center;color:var(--epc-muted)}
