/* ==========================================================================
   Bitchat UI (bc-ui.css) — unified design layer
   Every rule is scoped to html.bcx:not(#_bcx1):not(#_bcx2) so the site is unchanged unless the new
   design is switched on (?newui=1 cookie, or Wo_Config bc_new_ui = 1).
   Loaded last, after custom/css/style.css. Selectors start with
   html.bcx:not(#_bcx1):not(#_bcx2): the two :not(#id) terms give ID-level
   specificity so these rules beat the older html:has(link#night-mode-css) …
   dark-mode overrides in style.css.
   Brand: logo gradient #ff7a2f → #e8336e → #8b3fd9, accent pink #e8336e.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
html.bcx:not(#_bcx1):not(#_bcx2) {
  --bcx-grad: linear-gradient(135deg, #ff7a2f 0%, #e8336e 52%, #8b3fd9 100%);
  --bcx-grad-soft: linear-gradient(135deg, rgba(255,122,47,.12), rgba(232,51,110,.12) 52%, rgba(139,63,217,.12));
  --bcx-accent: #e8336e;
  --bcx-accent-strong: #d81b60;
  --bcx-accent-2: #8b3fd9;
  --bcx-accent-soft: rgba(232, 51, 110, .10);
  --bcx-ring: 0 0 0 4px rgba(232, 51, 110, .16);
  --bcx-success: #16a34a;
  --bcx-warning: #f59e0b;
  --bcx-danger: #ef4444;
  --bcx-verified: #1d9bf0;

  --bcx-page: #f6f7fb;
  --bcx-card: #ffffff;
  --bcx-raised: #ffffff;
  --bcx-sunken: #f1f3f8;
  --bcx-line: rgba(15, 23, 42, .08);
  --bcx-line-strong: rgba(15, 23, 42, .14);
  --bcx-text: #0f172a;
  --bcx-text-2: #475569;
  --bcx-text-3: #8a94a6;
  --bcx-glass: rgba(255, 255, 255, .94);

  --bcx-r-sm: 10px;
  --bcx-r-md: 14px;
  --bcx-r-lg: 18px;
  --bcx-r-xl: 24px;
  --bcx-r-pill: 999px;
  --bcx-sh-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 1px rgba(15, 23, 42, .03);
  --bcx-sh-md: 0 6px 18px rgba(15, 23, 42, .07), 0 2px 4px rgba(15, 23, 42, .04);
  --bcx-sh-lg: 0 18px 48px rgba(15, 23, 42, .14), 0 4px 10px rgba(15, 23, 42, .06);
  --bcx-sh-brand: 0 10px 24px rgba(232, 51, 110, .28);
  --bcx-ease: cubic-bezier(.2, .8, .2, 1);

  /* Legacy variables follow the new tokens so older CSS recolours itself */
  --main: #e8336e;
  --main-hover: #d81b60;
  --main-color: #ffffff;
  --main-hover-color: #ffffff;
  --body-bg: var(--bcx-page);
  --bc-primary: #e8336e;
  --bc-primary-hover: #d81b60;
  --bc-primary-light: #f25c8c;
  --bc-accent: #8b3fd9;
  --bc-bg: var(--bcx-page);
  --bc-card: var(--bcx-card);
  --bc-surface-primary: var(--bcx-card);
  --bc-surface-secondary: var(--bcx-sunken);
  --bc-surface-hover: var(--bcx-sunken);
  --bc-text-primary: var(--bcx-text);
  --bc-text-secondary: var(--bcx-text-2);
  --bc-text-tertiary: var(--bcx-text-3);
  --bc-border-color: var(--bcx-line);
  --header-background: var(--bcx-glass);
  --header-color: var(--bcx-text);
  --header-hover-color: var(--bcx-accent);
  --header-search-color: var(--bcx-sunken);
  --plyr-color-main: #e8336e;
}
html.bcx:not(#_bcx1):not(#_bcx2).bc-dark-mode {
  --bcx-page: #0f1115;
  --bcx-card: #171a21;
  --bcx-raised: #1e222b;
  --bcx-sunken: #1b1f27;
  --bcx-line: rgba(255, 255, 255, .08);
  --bcx-line-strong: rgba(255, 255, 255, .14);
  --bcx-text: #e8eaf0;
  --bcx-text-2: #a3a9b7;
  --bcx-text-3: #6f7686;
  --bcx-glass: rgba(18, 20, 26, .94);
  --bcx-accent-soft: rgba(232, 51, 110, .16);
  --bcx-sh-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --bcx-sh-md: 0 8px 22px rgba(0, 0, 0, .35);
  --bcx-sh-lg: 0 20px 50px rgba(0, 0, 0, .55);
}

/* --------------------------------------------------------------------------
   2. Foundations
   -------------------------------------------------------------------------- */
html.bcx:not(#_bcx1):not(#_bcx2),
html.bcx:not(#_bcx1):not(#_bcx2) body {
  background: var(--bcx-page) !important;
  color: var(--bcx-text);
}
html.bcx:not(#_bcx1):not(#_bcx2) body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html.bcx:not(#_bcx1):not(#_bcx2) a { color: inherit; }
html.bcx:not(#_bcx1):not(#_bcx2) a:hover { color: var(--bcx-accent); }
html.bcx:not(#_bcx1):not(#_bcx2) ::selection { background: rgba(232, 51, 110, .22); }
html.bcx:not(#_bcx1):not(#_bcx2) :focus-visible { outline: 2px solid var(--bcx-accent) !important; outline-offset: 2px; }

/* Primary buttons: gradient pill */
html.bcx:not(#_bcx1):not(#_bcx2) .btn-main,
html.bcx:not(#_bcx1):not(#_bcx2) .btn.btn-main,
html.bcx:not(#_bcx1):not(#_bcx2) .bc-btn-primary,
html.bcx:not(#_bcx1):not(#_bcx2) .bc-hero-cta {
  background: var(--bcx-grad) !important;
  background-size: 140% 140% !important;
  background-position: 0% 50% !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: var(--bcx-r-pill) !important;
  font-weight: 600 !important;
  letter-spacing: .01em;
  box-shadow: var(--bcx-sh-brand) !important;
  transition: background-position .35s var(--bcx-ease), transform .15s var(--bcx-ease), box-shadow .2s var(--bcx-ease) !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .btn-main:hover,
html.bcx:not(#_bcx1):not(#_bcx2) .bc-btn-primary:hover {
  background-position: 100% 50% !important;
  color: #fff !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .btn-main:active,
html.bcx:not(#_bcx1):not(#_bcx2) .bc-btn-primary:active { transform: scale(.97); }
html.bcx:not(#_bcx1):not(#_bcx2) .btn-main[disabled],
html.bcx:not(#_bcx1):not(#_bcx2) .btn-main.disabled {
  opacity: .55 !important;
  box-shadow: none !important;
}
/* Secondary buttons: quiet tonal pill */
html.bcx:not(#_bcx1):not(#_bcx2) .btn-default,
html.bcx:not(#_bcx1):not(#_bcx2) .btn.btn-default {
  background: var(--bcx-sunken) !important;
  color: var(--bcx-text) !important;
  border: 1px solid var(--bcx-line) !important;
  border-radius: var(--bcx-r-pill) !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .btn-light,
html.bcx:not(#_bcx1):not(#_bcx2) .btn.btn-light {
  background: var(--bcx-sunken) !important;
  color: var(--bcx-text-2) !important;
  border: 1px solid var(--bcx-line) !important;
  border-radius: var(--bcx-r-pill) !important;
  box-shadow: none !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .btn-default:hover { background: var(--bcx-accent-soft) !important; color: var(--bcx-accent) !important; }

/* Inputs */
html.bcx:not(#_bcx1):not(#_bcx2) .form-control,
html.bcx:not(#_bcx1):not(#_bcx2) input[type="text"],
html.bcx:not(#_bcx1):not(#_bcx2) input[type="email"],
html.bcx:not(#_bcx1):not(#_bcx2) input[type="password"],
html.bcx:not(#_bcx1):not(#_bcx2) input[type="search"],
html.bcx:not(#_bcx1):not(#_bcx2) input[type="tel"],
html.bcx:not(#_bcx1):not(#_bcx2) input[type="number"],
html.bcx:not(#_bcx1):not(#_bcx2) input[type="url"],
html.bcx:not(#_bcx1):not(#_bcx2) select,
html.bcx:not(#_bcx1):not(#_bcx2) textarea:not(.postText) {
  background-color: var(--bcx-sunken) !important;
  color: var(--bcx-text) !important;
  border: 1.5px solid transparent !important;
  border-radius: var(--bcx-r-md) !important;
  box-shadow: none !important;
  transition: border-color .15s, box-shadow .15s, background-color .15s !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .form-control:focus,
html.bcx:not(#_bcx1):not(#_bcx2) input:focus,
html.bcx:not(#_bcx1):not(#_bcx2) select:focus,
html.bcx:not(#_bcx1):not(#_bcx2) textarea:focus {
  border-color: var(--bcx-accent) !important;
  background-color: var(--bcx-card) !important;
  box-shadow: var(--bcx-ring) !important;
  outline: none !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) ::placeholder { color: var(--bcx-text-3) !important; opacity: 1; }

/* Cards: one surface, no double outlines */
html.bcx:not(#_bcx1):not(#_bcx2) .wow_content,
html.bcx:not(#_bcx1):not(#_bcx2) .post .panel,
html.bcx:not(#_bcx1):not(#_bcx2) .post-container .panel,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_sidebar_widget,
html.bcx:not(#_bcx1):not(#_bcx2) .wow_sett_content {
  background: var(--bcx-card) !important;
  border: 1px solid var(--bcx-line) !important;
  border-radius: var(--bcx-r-lg) !important;
  box-shadow: var(--bcx-sh-sm) !important;
}
html.bcx:not(#_bcx1):not(#_bcx2).bc-dark-mode .wow_content,
html.bcx:not(#_bcx1):not(#_bcx2).bc-dark-mode .post .panel,
html.bcx:not(#_bcx1):not(#_bcx2).bc-dark-mode .post-container .panel,
html.bcx:not(#_bcx1):not(#_bcx2).bc-dark-mode .tag_sidebar_widget,
html.bcx:not(#_bcx1):not(#_bcx2).bc-dark-mode .wow_sett_content {
  border-color: transparent !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .wow_content .wow_content { box-shadow: none !important; border-color: var(--bcx-line) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .post .panel:hover { transform: none !important; box-shadow: var(--bcx-sh-md) !important; }

/* Dropdowns & modals */
html.bcx:not(#_bcx1):not(#_bcx2) .dropdown-menu {
  background: var(--bcx-raised) !important;
  border: 1px solid var(--bcx-line) !important;
  border-radius: var(--bcx-r-lg) !important;
  box-shadow: var(--bcx-sh-lg) !important;
  padding: 6px !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .dropdown-menu > li > a,
html.bcx:not(#_bcx1):not(#_bcx2) .dropdown-menu .dropdown-item {
  border-radius: var(--bcx-r-sm) !important;
  color: var(--bcx-text) !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .dropdown-menu > li > a:hover,
html.bcx:not(#_bcx1):not(#_bcx2) .dropdown-menu .dropdown-item:hover {
  background: var(--bcx-accent-soft) !important;
  color: var(--bcx-accent) !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .modal-content {
  background: var(--bcx-raised) !important;
  color: var(--bcx-text);
  border: 0 !important;
  border-radius: var(--bcx-r-xl) !important;
  box-shadow: var(--bcx-sh-lg) !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .modal-backdrop.in,
html.bcx:not(#_bcx1):not(#_bcx2) .modal-backdrop.show { opacity: .55 !important; background: #0b0d12 !important; }
@media (max-width: 540px) {
  /* style.css forces min-height:100vh on these at <=480px, which defeated the bottom sheet */
  html.bcx:not(#_bcx1):not(#_bcx2) .modal:not(#tagPostBox) .modal-dialog.wow_mat_mdl .modal-content {
    min-height: 0 !important;
    border-radius: 22px 22px 0 0 !important;
  }
  html.bcx:not(#_bcx1):not(#_bcx2) .modal:not(#tagPostBox) .modal-dialog.wow_mat_mdl .modal-content::before {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    border-radius: 4px;
    background: var(--bcx-line-strong);
    margin: 8px auto 0;
  }
}

/* Verified badge stays blue everywhere */
html.bcx:not(#_bcx1):not(#_bcx2) .verified-color { color: var(--bcx-verified) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .verified-color svg path:first-child { fill: var(--bcx-verified) !important; }

/* Skeleton loaders */
html.bcx:not(#_bcx1):not(#_bcx2) .bc-skel-card { background: var(--bcx-card) !important; border-radius: var(--bcx-r-lg) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .bc-skel-line,
html.bcx:not(#_bcx1):not(#_bcx2) .bc-skel-avatar,
html.bcx:not(#_bcx1):not(#_bcx2) .bc-skel-image,
html.bcx:not(#_bcx1):not(#_bcx2) .bc-skel-action { background: var(--bcx-sunken) !important; }

@media (prefers-reduced-motion: reduce) {
  html.bcx:not(#_bcx1):not(#_bcx2) *, html.bcx:not(#_bcx1):not(#_bcx2) *::before, html.bcx:not(#_bcx1):not(#_bcx2) *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* --------------------------------------------------------------------------
   3. Logged-out pages (login, register, forgot/reset, SMS confirm)
   Brand gradient band behind the header + hero; the auth card floats over it.
   -------------------------------------------------------------------------- */
html.bcx:not(#_bcx1):not(#_bcx2) body.bc-welcome { background: var(--bcx-page) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome {
  position: relative;
  min-height: 100vh !important;
  height: auto !important;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(139, 63, 217, .55) 0%, rgba(139, 63, 217, 0) 60%),
    radial-gradient(90% 70% at 0% 0%, rgba(255, 122, 47, .55) 0%, rgba(255, 122, 47, 0) 55%),
    linear-gradient(160deg, #ff6a3d 0%, #e8336e 45%, #8b3fd9 100%) top / 100% 380px no-repeat,
    var(--bcx-page) !important;
  overflow: hidden;
}
/* Soft fade at the bottom of the gradient band (phones) */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 300px;
  height: 80px;
  background: linear-gradient(to bottom, rgba(246, 247, 251, 0), var(--bcx-page));
  pointer-events: none;
  z-index: 1;
}
@media (min-width: 992px) { html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome::before { display: none; } }
html.bcx:not(#_bcx1):not(#_bcx2).bc-dark-mode .tag_welcome {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(139, 63, 217, .45) 0%, rgba(139, 63, 217, 0) 60%),
    linear-gradient(160deg, #b8452a 0%, #a82457 45%, #5c2a96 100%) top / 100% 380px no-repeat,
    var(--bcx-page) !important;
}
/* Old decorative blobs and the compact hero line are replaced by .bcx-hero */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_auth_effect,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_auth_effect_bottom,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .tag_wel_row > div:first-child { display: none !important; }

/* Header on the gradient: white logo pill + glass buttons */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_wel_upper { position: relative; z-index: 3; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_wel_upper .navbar-default,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .navbar-default {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .navbar-default .logo img,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_wel_upper .logo img {
  content: url("../../img/email-logo.png");
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  padding: 6px 10px;
  height: 46px !important;
  width: auto !important;
  max-height: 46px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_wel_upper .btn,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_wel_upper .btn-main {
  background: rgba(255, 255, 255, .18) !important;
  border: 1px solid rgba(255, 255, 255, .45) !important;
  color: #fff !important;
  box-shadow: none !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_wel_upper .bc-theme-toggle {
  color: #fff !important;
  background: rgba(255, 255, 255, .18) !important;
  border-radius: 50%;
}

/* Hero */
html.bcx:not(#_bcx1):not(#_bcx2) .bcx-hero {
  position: relative;
  color: #fff;
  padding: 6px 4px 22px;
  z-index: 2;
}
html.bcx:not(#_bcx1):not(#_bcx2) .bcx-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .45;
  pointer-events: none;
}
html.bcx:not(#_bcx1):not(#_bcx2) .bcx-hero-glow-1 { width: 220px; height: 220px; background: #ffd166; top: -60px; right: -40px; }
html.bcx:not(#_bcx1):not(#_bcx2) .bcx-hero-glow-2 { width: 180px; height: 180px; background: #7c3aed; bottom: -40px; left: -60px; }
html.bcx:not(#_bcx1):not(#_bcx2) .bcx-hero-inner { position: relative; }
html.bcx:not(#_bcx1):not(#_bcx2) .bcx-hero-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--bcx-r-pill);
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .35);
}
html.bcx:not(#_bcx1):not(#_bcx2) .bcx-hero-title {
  font-size: 34px !important;
  line-height: 1.08 !important;
  font-weight: 800 !important;
  letter-spacing: -.03em !important;
  margin: 14px 0 8px !important;
  color: #fff !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .bcx-hero-title span {
  background: linear-gradient(90deg, #fff3c4, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
html.bcx:not(#_bcx1):not(#_bcx2) .bcx-hero-sub {
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, .92) !important;
  margin: 0 0 14px !important;
  max-width: 460px;
}
html.bcx:not(#_bcx1):not(#_bcx2) .bcx-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
html.bcx:not(#_bcx1):not(#_bcx2) .bcx-hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: var(--bcx-r-pill);
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Layout of the middle area */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .tag_wel_middle { position: relative; z-index: 2; padding-bottom: 28px; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .tag_wel_middle > .container {
  max-width: 480px !important;
  width: 100% !important;
  padding: 0 16px !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .tag_wel_row {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .tag_wel_row > div:last-child {
  max-width: 100% !important;
  width: 100% !important;
  flex: none !important;
  padding: 0 !important;
}

/* Auth card */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .tag_auth_box {
  position: relative;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 26px 22px 22px !important;
  background: var(--bcx-card) !important;
  border: 1px solid var(--bcx-line) !important;
  border-radius: var(--bcx-r-xl) !important;
  box-shadow: var(--bcx-sh-lg) !important;
}
html.bcx:not(#_bcx1):not(#_bcx2).bc-dark-mode .tag_welcome .tag_auth_box { border-color: rgba(255, 255, 255, .06) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .tag_auth_box .title {
  font-size: 24px !important;
  font-weight: 800 !important;
  letter-spacing: -.02em;
  color: var(--bcx-text) !important;
  margin: 0 0 16px !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .tag_field { margin-bottom: 14px !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .tag_field input,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .tag_field select {
  height: 54px !important;
  padding: 22px 14px 6px !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .tag_field span { color: var(--bcx-text-3) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .tag_wel_btn,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome form .btn-main {
  width: 100% !important;
  height: 52px !important;
  font-size: 16px !important;
  margin-top: 4px;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .remember-forgot-wrap { margin: 2px 0 16px !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .forgot-link {
  color: var(--bcx-accent) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .remember-label { color: var(--bcx-text-2) !important; }

/* Divider + social */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .bc-or-divider,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .tag_auth_box .or { color: var(--bcx-text-3) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .social_btns { gap: 10px !important; justify-content: center; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .social_btns .btn {
  width: 46px !important;
  height: 46px !important;
  border-radius: var(--bcx-r-md) !important;
  background: var(--bcx-sunken) !important;
  border: 1px solid var(--bcx-line) !important;
  box-shadow: none !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .bc-google-fallback-btn,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .bc-google-signup {
  min-height: 50px !important;
  border-radius: var(--bcx-r-pill) !important;
  background: var(--bcx-card) !important;
  color: var(--bcx-text) !important;
  border: 1.5px solid var(--bcx-line-strong) !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome #bc-wallet-btn {
  min-height: 48px;
  border-radius: var(--bcx-r-pill) !important;
  background: var(--bcx-sunken) !important;
  color: var(--bcx-text) !important;
  border: 1px solid var(--bcx-line) !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .bc-wallet-hint { color: var(--bcx-text-3) !important; }
/* Sign-up method tabs (inline <style> in register.phtml) */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .bc-signup-tabs {
  border: 0 !important;
  background: var(--bcx-sunken) !important;
  border-radius: var(--bcx-r-pill) !important;
  padding: 4px !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .bc-signup-tab { border-radius: var(--bcx-r-pill) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .bc-signup-tab.active { background: var(--bcx-card) !important; color: var(--bcx-text) !important; box-shadow: var(--bcx-sh-sm); }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .bc-signup-tab:not(.active) { color: var(--bcx-text-2) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome #country_code { background: var(--bcx-sunken) !important; color: var(--bcx-text) !important; border: 0 !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .tag_wel_register {
  color: var(--bcx-text-2) !important;
  text-align: center !important;
  margin: 18px auto 0 !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .tag_wel_register a.btn-main {
  height: auto !important;
  width: auto !important;
  padding: 9px 22px !important;
  font-size: 15px !important;
}
/* Footer */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .tag_wel_bottom { position: relative; z-index: 2; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .welcome-footer,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .welcome-footer a { color: var(--bcx-text-3) !important; font-size: 13px !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .welcome-footer a:hover { color: var(--bcx-accent) !important; }

/* Desktop: hero left, card right on a full gradient background */
@media (min-width: 992px) {
  html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome {
    background:
      radial-gradient(60% 70% at 85% 10%, rgba(139, 63, 217, .6) 0%, rgba(139, 63, 217, 0) 60%),
      radial-gradient(50% 60% at 10% 90%, rgba(255, 122, 47, .5) 0%, rgba(255, 122, 47, 0) 60%),
      linear-gradient(135deg, #ff6a3d 0%, #e8336e 48%, #8b3fd9 100%) !important;
  }
  html.bcx:not(#_bcx1):not(#_bcx2).bc-dark-mode .tag_welcome {
    background:
      radial-gradient(60% 70% at 85% 10%, rgba(92, 42, 150, .7) 0%, rgba(92, 42, 150, 0) 60%),
      linear-gradient(135deg, #7d2f1f 0%, #7a1c41 48%, #3f1f6b 100%) !important;
  }
  html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .tag_wel_middle > .container {
    max-width: 1120px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 64px;
    align-items: center;
    min-height: calc(100vh - 170px);
  }
  html.bcx:not(#_bcx1):not(#_bcx2) .bcx-hero { padding: 0; }
  html.bcx:not(#_bcx1):not(#_bcx2) .bcx-hero-title { font-size: 58px !important; }
  html.bcx:not(#_bcx1):not(#_bcx2) .bcx-hero-sub { font-size: 18px !important; max-width: 520px; }
  html.bcx:not(#_bcx1):not(#_bcx2) .bcx-hero-chips li { font-size: 14px; padding: 9px 14px; }
  html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .welcome-footer,
  html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .welcome-footer a { color: rgba(255, 255, 255, .82) !important; }
}

/* Google's button is an iframe: give it a pill frame so no white corners show */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome #buttonDiv {
  display: flex !important;
  justify-content: center;
  border-radius: var(--bcx-r-pill);
  overflow: hidden;
  margin: 4px 0 10px;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .tag_wel_middle > .container { overflow: visible !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .bcx-hero { overflow: visible; }
@media (min-width: 992px) {
  html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .tag_wel_register { color: rgba(255, 255, 255, .9) !important; }
  html.bcx:not(#_bcx1):not(#_bcx2) .tag_welcome .tag_wel_register a.btn-main { background: #fff !important; color: var(--bcx-accent) !important; box-shadow: 0 8px 22px rgba(0,0,0,.16) !important; }
}
html.bcx:not(#_bcx1):not(#_bcx2).bc-dark-mode .tag_welcome::before { background: linear-gradient(to bottom, rgba(15, 17, 21, 0), var(--bcx-page)); }

/* --------------------------------------------------------------------------
   4. App chrome: header, ticker, banner, bottom nav, Me panel, drawer
   -------------------------------------------------------------------------- */
html.bcx:not(#_bcx1):not(#_bcx2) header nav.navbar,
html.bcx:not(#_bcx1):not(#_bcx2) header .tag_header,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_header_main {
  background: var(--bcx-glass) !important;
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  color: var(--bcx-text) !important;
  border: 0 !important;
  box-shadow: none !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) header .tag_header { border-bottom: 1px solid var(--bcx-line) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_toggle_sidebar { color: var(--bcx-text) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_toggle_sidebar svg { width: 24px; height: 24px; }
html.bcx:not(#_bcx1):not(#_bcx2) .header-brand img,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_logo_mobi { max-height: 30px !important; width: auto !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .search-container .search-input,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_header .search-input {
  background: var(--bcx-sunken) !important;
  border: 1px solid transparent !important;
  border-radius: var(--bcx-r-pill) !important;
  color: var(--bcx-text) !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_hdr_droptoggle {
  color: var(--bcx-text-2) !important;
  border-radius: 50% !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_hdr_droptoggle:hover { background: var(--bcx-accent-soft) !important; color: var(--bcx-accent) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .new-update-alert,
html.bcx:not(#_bcx1):not(#_bcx2) .bc-mob-nav-badge {
  background: var(--bcx-grad) !important;
  color: #fff !important;
  border: 2px solid var(--bcx-card) !important;
  font-weight: 700 !important;
}

/* Price ticker: slim and quiet */
html.bcx:not(#_bcx1):not(#_bcx2) #bc-market-strip {
  background: var(--bcx-card) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--bcx-line) !important;
  box-shadow: none !important;
  min-height: 34px !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) #bc-market-strip .bc-ticker-label {
  background: var(--bcx-sunken) !important;
  color: var(--bcx-text-2) !important;
  border-radius: var(--bcx-r-pill) !important;
  font-weight: 700 !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) #bc-market-strip .bc-ticker-price { color: var(--bcx-text) !important; font-weight: 600 !important; }
html.bcx:not(#_bcx1):not(#_bcx2) #bc-market-strip .bc-ticker-sep { opacity: .25 !important; }

/* Announcement: a slim line with gradient text */
html.bcx:not(#_bcx1):not(#_bcx2) .bc-announce-banner {
  background: var(--bcx-card) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--bcx-line) !important;
  padding: 7px 40px 7px 14px !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .bc-announce-banner span,
html.bcx:not(#_bcx1):not(#_bcx2) .bc-announce-banner .bc-announce-link {
  background: var(--bcx-grad) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .bc-announce-banner .bc-announce-close { color: var(--bcx-text-3) !important; }

/* Bottom nav: frosted bar, one icon colour, gradient Create button */
html.bcx:not(#_bcx1):not(#_bcx2) #bc-mobile-nav {
  background: var(--bcx-glass) !important;
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid var(--bcx-line) !important;
  box-shadow: 0 -6px 20px rgba(15, 23, 42, .05) !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) #bc-mobile-nav .bc-mob-nav-item,
html.bcx:not(#_bcx1):not(#_bcx2) #bc-mobile-nav .bc-mob-nav-item svg { color: var(--bcx-text-3) !important; stroke: currentColor; }
html.bcx:not(#_bcx1):not(#_bcx2) #bc-mobile-nav .bc-mob-nav-item span { font-weight: 600 !important; letter-spacing: .01em; }
html.bcx:not(#_bcx1):not(#_bcx2) #bc-mobile-nav .bc-mob-nav-item.active,
html.bcx:not(#_bcx1):not(#_bcx2) #bc-mobile-nav .bc-mob-nav-item.active svg { color: var(--bcx-accent) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) #bc-mobile-nav .bc-mob-nav-item.active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 18px;
  height: 3px;
  margin-left: -9px;
  border-radius: 3px;
  background: var(--bcx-grad);
}
html.bcx:not(#_bcx1):not(#_bcx2) #bc-mobile-nav .bc-mob-nav-item { position: relative; }
html.bcx:not(#_bcx1):not(#_bcx2) #bc-mobile-nav .bc-mob-create-icon {
  background: var(--bcx-grad) !important;
  color: #fff !important;
  box-shadow: var(--bcx-sh-brand) !important;
  border: 3px solid var(--bcx-card) !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) #bc-mobile-nav .bc-mob-create-icon svg { color: #fff !important; stroke: #fff !important; }
html.bcx:not(#_bcx1):not(#_bcx2) #bc-mobile-nav .bc-mob-nav-avatar { box-shadow: 0 0 0 2px var(--bcx-card), 0 0 0 3.5px var(--bcx-accent) !important; }

/* Me panel */
html.bcx:not(#_bcx1):not(#_bcx2) .bc-mobile-profile-panel {
  background: var(--bcx-raised) !important;
  color: var(--bcx-text) !important;
  border-radius: 24px 24px 0 0 !important;
  box-shadow: var(--bcx-sh-lg) !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .bc-mob-profile-header {
  background: var(--bcx-raised) !important;
  border-bottom: 1px solid var(--bcx-line) !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .bc-mob-profile-item {
  border-radius: var(--bcx-r-md) !important;
  color: var(--bcx-text) !important;
  margin: 2px 8px !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .bc-mob-profile-item:hover,
html.bcx:not(#_bcx1):not(#_bcx2) .bc-mob-profile-item:active { background: var(--bcx-accent-soft) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .bc-mob-profile-item svg { color: var(--bcx-accent) !important; stroke: currentColor; }
html.bcx:not(#_bcx1):not(#_bcx2) .bc-mob-profile-item small { color: var(--bcx-text-3) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .bc-mob-profile-divider { background: var(--bcx-line) !important; }

/* Left drawer / sidebar menu */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_sidebar .sidebar_innr,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_sidebar_mobi {
  background: var(--bcx-card) !important;
  color: var(--bcx-text) !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_sidebar_head {
  color: var(--bcx-text-3) !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700 !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_sidebar_section > a {
  border-radius: var(--bcx-r-md) !important;
  color: var(--bcx-text) !important;
  font-weight: 500 !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_sidebar_section > a:hover,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_sidebar_section > a.active { background: var(--bcx-accent-soft) !important; color: var(--bcx-accent) !important; }

/* --------------------------------------------------------------------------
   5. Feed
   -------------------------------------------------------------------------- */
/* Hero banner on the feed */
html.bcx:not(#_bcx1):not(#_bcx2) #bc-hero-banner.bc-hero,
html.bcx:not(#_bcx1):not(#_bcx2) #bc-hero-banner {
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(139, 63, 217, .65) 0%, rgba(139, 63, 217, 0) 60%),
    linear-gradient(135deg, #ff6a3d 0%, #e8336e 55%, #8b3fd9 100%) !important;
  border: 0 !important;
  border-radius: var(--bcx-r-lg) !important;
  margin: 10px 12px !important;
  box-shadow: var(--bcx-sh-brand) !important;
  overflow: hidden;
}
html.bcx:not(#_bcx1):not(#_bcx2) #bc-hero-banner .bc-btn-primary {
  background: #fff !important;
  color: var(--bcx-accent) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12) !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) #bc-hero-banner .bc-btn-primary svg { color: var(--bcx-accent) !important; stroke: currentColor; }
html.bcx:not(#_bcx1):not(#_bcx2) #bc-hero-banner .bc-btn-ghost {
  background: rgba(255, 255, 255, .16) !important;
  border: 1px solid rgba(255, 255, 255, .4) !important;
  color: #fff !important;
  border-radius: var(--bcx-r-pill) !important;
}
/* Top creators */
html.bcx:not(#_bcx1):not(#_bcx2) .bc-creator-strip {
  background: var(--bcx-card) !important;
  border: 1px solid var(--bcx-line) !important;
  border-radius: var(--bcx-r-lg) !important;
  margin: 10px 12px !important;
  box-shadow: var(--bcx-sh-sm) !important;
}
html.bcx:not(#_bcx1):not(#_bcx2).bc-dark-mode .bc-creator-strip { border-color: transparent !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .bc-creator-strip-title { color: var(--bcx-text) !important; font-weight: 700 !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .bc-creator-strip-more { color: var(--bcx-accent) !important; font-weight: 600 !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .bc-creator-avatar { box-shadow: 0 0 0 2px var(--bcx-card), 0 0 0 4px #e8336e !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .bc-creator-name { color: var(--bcx-text) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .bc-creator-trdc { color: var(--bcx-accent) !important; font-weight: 700 !important; }
/* Stories */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_stories_mobi .status-list li a,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_stories_mobi .status-list li > div {
  border-radius: 16px !important;
  overflow: hidden;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_stories_mobi .status-list li.create_new a { background: var(--bcx-sunken) !important; }
/* Story prompt: quiet tinted card */
html.bcx:not(#_bcx1):not(#_bcx2) .bc-story-prompt {
  background: var(--bcx-grad-soft) !important;
  border: 1px solid rgba(232, 51, 110, .18) !important;
  border-radius: var(--bcx-r-lg) !important;
  color: var(--bcx-text) !important;
  margin: 10px 12px !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .bc-story-prompt-inner,
html.bcx:not(#_bcx1):not(#_bcx2) .bc-story-prompt-inner span { color: var(--bcx-text) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .bc-story-prompt-inner svg { color: var(--bcx-accent) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .bc-story-prompt-btn {
  background: var(--bcx-grad) !important;
  color: #fff !important;
  border-radius: var(--bcx-r-pill) !important;
  box-shadow: none !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .bc-story-prompt-close { color: var(--bcx-text-3) !important; }
/* Filters and feed tabs: segmented pills */
html.bcx:not(#_bcx1):not(#_bcx2) #filterby-post li a,
html.bcx:not(#_bcx1):not(#_bcx2) .bc-feed-tab {
  background: var(--bcx-card) !important;
  color: var(--bcx-text-2) !important;
  border: 1px solid var(--bcx-line) !important;
  border-radius: var(--bcx-r-pill) !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) #filterby-post li.active a,
html.bcx:not(#_bcx1):not(#_bcx2) .bc-feed-tab.active {
  background: var(--bcx-grad) !important;
  color: #fff !important;
  border-color: transparent !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) #filterby-post li.active a svg { color: #fff !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_home_post_order > a {
  background: var(--bcx-card) !important;
  border: 1px solid var(--bcx-line) !important;
  border-radius: 50% !important;
}
/* "New posts" pill */
html.bcx:not(#_bcx1):not(#_bcx2) .posts-count:not(:empty) {
  background: var(--bcx-grad) !important;
  color: #fff !important;
  box-shadow: var(--bcx-sh-brand) !important;
  border-radius: var(--bcx-r-pill) !important;
}
/* Composer trigger */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_pub_box_bg_text {
  background: var(--bcx-sunken) !important;
  color: var(--bcx-text-3) !important;
  border: 0 !important;
  border-radius: var(--bcx-r-pill) !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_pub_box_bg_camlve {
  background: var(--bcx-accent-soft) !important;
  color: var(--bcx-accent) !important;
  border: 0 !important;
}

/* --------------------------------------------------------------------------
   6. Post card
   -------------------------------------------------------------------------- */
html.bcx:not(#_bcx1):not(#_bcx2) .post .panel { overflow: hidden; }
html.bcx:not(#_bcx1):not(#_bcx2) .post-heading .meta a,
html.bcx:not(#_bcx1):not(#_bcx2) .post-heading .user-popover { color: var(--bcx-text) !important; font-weight: 700 !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .post-heading .time,
html.bcx:not(#_bcx1):not(#_bcx2) .post-heading .tag_post_hdr_sub,
html.bcx:not(#_bcx1):not(#_bcx2) .post-heading .tag_post_hdr_sub a { color: var(--bcx-text-3) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .post-heading img.avatar { box-shadow: 0 0 0 2px var(--bcx-card), 0 0 0 3px var(--bcx-line-strong) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .post-description p,
html.bcx:not(#_bcx1):not(#_bcx2) .post-description .edited_text {
  font-size: 15.5px !important;
  line-height: 1.55 !important;
  color: var(--bcx-text) !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .post-description a[href] { color: var(--bcx-accent) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_post_full_img img,
html.bcx:not(#_bcx1):not(#_bcx2) .post-description .tag_post_full_img img,
html.bcx:not(#_bcx1):not(#_bcx2) .post .wo_shared_doc_file,
html.bcx:not(#_bcx1):not(#_bcx2) .post video { border-radius: var(--bcx-r-md) !important; }
/* Action bar: even, quiet icon buttons */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_post_actions .stat-item,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_post_foot_acticon,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_post_react_btn {
  background: transparent !important;
  color: var(--bcx-text-2) !important;
  border-radius: var(--bcx-r-pill) !important;
  transition: background-color .15s, color .15s !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_post_actions .stat-item:hover,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_post_foot_acticon:hover,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_post_react_btn:hover { background: var(--bcx-accent-soft) !important; color: var(--bcx-accent) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_post_actions { border-top: 1px solid var(--bcx-line) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_post_foot_stats,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_post_foot_stats a { color: var(--bcx-text-3) !important; }
/* Comments */
html.bcx:not(#_bcx1):not(#_bcx2) .comment-textarea,
html.bcx:not(#_bcx1):not(#_bcx2) .post-commet-textarea textarea {
  background: var(--bcx-sunken) !important;
  border: 1px solid transparent !important;
  border-radius: var(--bcx-r-pill) !important;
  color: var(--bcx-text) !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .comments-list .comment-text,
html.bcx:not(#_bcx1):not(#_bcx2) .comments-list .comment-text-inner {
  background: var(--bcx-sunken) !important;
  border-radius: 16px !important;
  color: var(--bcx-text) !important;
}
/* Reactions popover */
html.bcx:not(#_bcx1):not(#_bcx2) .reactions-box {
  background: var(--bcx-raised) !important;
  border: 1px solid var(--bcx-line) !important;
  border-radius: var(--bcx-r-pill) !important;
  box-shadow: var(--bcx-sh-lg) !important;
}
/* "Starter" rank chip */
html.bcx:not(#_bcx1):not(#_bcx2) .bc-rank-badge,
html.bcx:not(#_bcx1):not(#_bcx2) .bc-creator-badge { border-radius: var(--bcx-r-pill) !important; }

/* Story prompt: the inner element carried the old brown gradient image */
html.bcx:not(#_bcx1):not(#_bcx2) .bc-story-prompt-inner { background: transparent !important; background-image: none !important; border: 0 !important; }
/* Header logo a little larger on phones */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_header .tag_logo_mobi,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_header .header-brand img { height: 30px !important; max-height: 30px !important; width: auto !important; }

/* --------------------------------------------------------------------------
   7. Profile
   -------------------------------------------------------------------------- */
html.bcx:not(#_bcx1):not(#_bcx2) .user-cover,
html.bcx:not(#_bcx1):not(#_bcx2) .cardheader.user-cover {
  border-radius: 0 0 var(--bcx-r-xl) var(--bcx-r-xl) !important;
  border: 0 !important;
  overflow: hidden;
}
@media (max-width: 768px) {
  html.bcx:not(#_bcx1):not(#_bcx2) .user-cover { min-height: 150px !important; }
}
html.bcx:not(#_bcx1):not(#_bcx2) .user-avatar img,
html.bcx:not(#_bcx1):not(#_bcx2) .user-avatar .avatar {
  box-shadow: 0 0 0 4px var(--bcx-card), 0 0 0 6px #e8336e !important;
  border: 0 !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .profile-container .user-name,
html.bcx:not(#_bcx1):not(#_bcx2) .profile-container h1,
html.bcx:not(#_bcx1):not(#_bcx2) .profile-container h2 { color: var(--bcx-text) !important; letter-spacing: -.02em; }
html.bcx:not(#_bcx1):not(#_bcx2) .user-bottom-nav {
  background: var(--bcx-card) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--bcx-line) !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .user-bottom-nav ul li a {
  color: var(--bcx-text-2) !important;
  font-weight: 600 !important;
  border: 0 !important;
  position: relative;
}
html.bcx:not(#_bcx1):not(#_bcx2) .user-bottom-nav ul li.active a,
html.bcx:not(#_bcx1):not(#_bcx2) .user-bottom-nav ul li a.active { color: var(--bcx-accent) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .user-bottom-nav ul li.active a::after,
html.bcx:not(#_bcx1):not(#_bcx2) .user-bottom-nav ul li a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--bcx-grad);
}
html.bcx:not(#_bcx1):not(#_bcx2) .user-bottom-nav ul li a span { background: var(--bcx-sunken) !important; color: var(--bcx-text-2) !important; border-radius: var(--bcx-r-pill) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .profile-completion-bar .hdr h3 { color: var(--bcx-text) !important; }

/* --------------------------------------------------------------------------
   8. Messages
   -------------------------------------------------------------------------- */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_messages .wow_content { border-radius: 0 !important; border: 0 !important; box-shadow: none !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_msg_user_list .messages-recipients-list,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_msg_user_list li { border-radius: var(--bcx-r-md) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_msg_user_list li:hover,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_msg_user_list li.active { background: var(--bcx-accent-soft) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .messages-container .incoming .message-text,
html.bcx:not(#_bcx1):not(#_bcx2) .messages-container .incoming .message {
  background: var(--bcx-sunken) !important;
  color: var(--bcx-text) !important;
  border-radius: 18px 18px 18px 6px !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .messages-container .outgoing .message-text:not([style*="background"]) {
  background: var(--bcx-grad) !important;
  color: #fff !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .messages-container .outgoing .message-text { border-radius: 18px 18px 6px 18px !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_msg_write_tarea,
html.bcx:not(#_bcx1):not(#_bcx2) .text-sender-container textarea {
  background: var(--bcx-sunken) !important;
  border-radius: 22px !important;
  border: 1px solid transparent !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .send-button:not([style*="background"]) { background: var(--bcx-grad) !important; border: 0 !important; color: #fff !important; }

/* --------------------------------------------------------------------------
   9. Notifications dropdown
   -------------------------------------------------------------------------- */
html.bcx:not(#_bcx1):not(#_bcx2) .notification-container .dropdown-menu .notification-list,
html.bcx:not(#_bcx1):not(#_bcx2) .notification-container .dropdown-menu li a { border-radius: var(--bcx-r-md) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .notification-container .unread,
html.bcx:not(#_bcx1):not(#_bcx2) .notification-container li.unread a { background: var(--bcx-accent-soft) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_switch_noti a,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_switch_noti button {
  border-radius: var(--bcx-r-pill) !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_switch_noti .active { background: var(--bcx-grad) !important; color: #fff !important; }

/* --------------------------------------------------------------------------
   10. Wallet, staking, points, settings, search
   -------------------------------------------------------------------------- */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_page_title,
html.bcx:not(#_bcx1):not(#_bcx2) .container > h2.tag_page_title {
  font-size: 26px !important;
  font-weight: 800 !important;
  letter-spacing: -.03em !important;
  color: var(--bcx-text) !important;
}
/* Balance cards: the existing navy gradients become the brand gradient */
html.bcx:not(#_bcx1):not(#_bcx2) .bc-fixdark [style*="linear-gradient(135deg, #1a1a2e"],
html.bcx:not(#_bcx1):not(#_bcx2) .bc-fixdark [style*="linear-gradient(135deg, #0f172a"],
html.bcx:not(#_bcx1):not(#_bcx2) .bc-fixdark [style*="background:#1e293b"],
html.bcx:not(#_bcx1):not(#_bcx2) .bc-fixdark [style*="background: #1e293b"] {
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(139, 63, 217, .6) 0%, rgba(139, 63, 217, 0) 60%),
    linear-gradient(135deg, #ff6a3d 0%, #e8336e 55%, #8b3fd9 100%) !important;
  border: 0 !important;
  box-shadow: var(--bcx-sh-brand) !important;
  color: #fff !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .bc-fixdark [style*="linear-gradient(135deg, #1a1a2e"] *,
html.bcx:not(#_bcx1):not(#_bcx2) .bc-fixdark [style*="linear-gradient(135deg, #0f172a"] * { color: #fff !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .wow_mini_wallets_btns a,
html.bcx:not(#_bcx1):not(#_bcx2) .wow_mini_wallets_btns .btn {
  background: var(--bcx-sunken) !important;
  border: 1px solid var(--bcx-line) !important;
  border-radius: var(--bcx-r-lg) !important;
  color: var(--bcx-text) !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .bc-fixdark table th { color: var(--bcx-text-3) !important; text-transform: uppercase; font-size: 11.5px !important; letter-spacing: .06em; }
html.bcx:not(#_bcx1):not(#_bcx2) .bc-fixdark table td { border-color: var(--bcx-line) !important; color: var(--bcx-text) !important; }
/* Settings */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_sett_sidebar li a { border-radius: var(--bcx-r-md) !important; color: var(--bcx-text) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_sett_sidebar li.active a,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_sett_sidebar li a:hover { background: var(--bcx-accent-soft) !important; color: var(--bcx-accent) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_sett_sidebar p.bold { color: var(--bcx-text-3) !important; text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_sett_sidebar hr { border-color: var(--bcx-line) !important; }
/* Generic page navs / tabs */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_page_nav li a {
  border-radius: var(--bcx-r-pill) !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_page_nav li.active a { background: var(--bcx-grad) !important; color: #fff !important; }
/* Right sidebar headings (desktop) */
html.bcx:not(#_bcx1):not(#_bcx2) .wo_page_hdng,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_sidebar_widget .wo_page_hdng { color: var(--bcx-text) !important; font-weight: 700 !important; }
/* People you may know cards */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_pymk_list .tag_pymk_item,
html.bcx:not(#_bcx1):not(#_bcx2) .bc-pymk-card { border-radius: var(--bcx-r-lg) !important; }
/* Fixed header must paint above the scrolling content */
html.bcx:not(#_bcx1):not(#_bcx2) header,
html.bcx:not(#_bcx1):not(#_bcx2) header nav.navbar { z-index: 1030 !important; }
@media (max-width: 1350px) { html.bcx:not(#_bcx1):not(#_bcx2) header .tag_header { position: relative; z-index: 2; } }
/* Filter rows elsewhere (profile, groups) stay inside the screen too */
@media (max-width: 768px) {
  html.bcx:not(#_bcx1):not(#_bcx2) .tag_home_filters {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}
/* The fixed nav is 0px tall in the side layout; only the inner bar paints */
html.bcx:not(#_bcx1):not(#_bcx2) header nav.navbar {
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
/* Header bar edge to edge (top-bar layouts only; >=1351px uses the left column) */
@media (max-width: 1350px) {
  html.bcx:not(#_bcx1):not(#_bcx2) header nav.navbar > .container { padding-left: 0 !important; padding-right: 0 !important; max-width: 100% !important; width: 100% !important; }
  html.bcx:not(#_bcx1):not(#_bcx2) header .tag_header { padding-left: 14px !important; padding-right: 14px !important; width: 100% !important; margin: 0 !important; }
}
html.bcx:not(#_bcx1):not(#_bcx2) header .tag_logo_mobi {
  content: url("../../img/email-logo.png");
  height: 28px !important;
  max-height: 28px !important;
  width: auto !important;
  object-fit: contain;
}
html.bcx:not(#_bcx1):not(#_bcx2) header .tag_logo_pc {
  content: url("../../img/email-logo.png");
  height: 34px !important;
  max-height: 34px !important;
  width: auto !important;
  object-fit: contain;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_sidebar_head { background: transparent !important; border: 0 !important; }

/* --------------------------------------------------------------------------
   11. Larger screens (tablet landscape, laptop, desktop)
   -------------------------------------------------------------------------- */
/* 992-1350px top bar: search stops before the icon group; icons centred in the bar */
@media (min-width: 992px) and (max-width: 1350px) {
  html.bcx:not(#_bcx1):not(#_bcx2) .tag_header > .search-container { max-width: calc(100vw - 560px) !important; }
  html.bcx:not(#_bcx1):not(#_bcx2) .tag_hdr_right { top: 0 !important; height: 56px !important; align-items: center !important; padding-top: 0 !important; padding-bottom: 0 !important; }
  html.bcx:not(#_bcx1):not(#_bcx2) header .tag_header { min-height: 56px !important; align-items: center !important; }
}
/* >=1351px left column: logo, icons and search stacked without overlap */
@media (min-width: 1351px) {
  html.bcx:not(#_bcx1):not(#_bcx2) .tag_hdr_right { top: 62px !important; height: 46px !important; align-items: center !important; }
  html.bcx:not(#_bcx1):not(#_bcx2) .tag_header > .search-container { top: 118px !important; }
  html.bcx:not(#_bcx1):not(#_bcx2) .tag_header > .search-container .dropdown-menu { top: 166px !important; }
  html.bcx:not(#_bcx1):not(#_bcx2) .tag_hdr_right > .dropdown .dropdown-menu { top: 118px !important; }
  html.bcx:not(#_bcx1):not(#_bcx2) .tag_sidebar { padding-top: 176px !important; }
  html.bcx:not(#_bcx1):not(#_bcx2) .tag_sidebar .sidebar_innr { border-top: 1px solid var(--bcx-line); }
}
/* Avatar button stays round */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_hdr_user_droptoggle,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_hdr_user_droptoggle img { border-radius: 50% !important; aspect-ratio: 1 / 1; object-fit: cover; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_hdr_droptoggle { width: 40px !important; height: 40px !important; min-width: 40px; padding: 0 !important; display: inline-flex !important; align-items: center; justify-content: center; }
/* Feed hero: buttons keep a comfortable width on wide screens */
@media (min-width: 600px) {
  html.bcx:not(#_bcx1):not(#_bcx2) #bc-hero-banner .bc-hero-ctas { flex-direction: row !important; flex-wrap: wrap; gap: 10px !important; }
  html.bcx:not(#_bcx1):not(#_bcx2) #bc-hero-banner .bc-btn-primary,
  html.bcx:not(#_bcx1):not(#_bcx2) #bc-hero-banner .bc-btn-ghost { width: auto !important; flex: 0 0 auto !important; padding-left: 22px !important; padding-right: 22px !important; }
}
/* Ticker and announcement must not slide under the right icon rail */
@media (min-width: 992px) and (max-width: 1150px) {
  html.bcx:not(#_bcx1):not(#_bcx2) #bc-market-strip,
  html.bcx:not(#_bcx1):not(#_bcx2) .bc-announce-banner { margin-right: 70px !important; }
}
/* Sidebar footer links: no overlapping lines */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_footer_pc,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_footer_pc a { line-height: 1.9 !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_footer_pc { color: var(--bcx-text-3) !important; font-size: 12.5px !important; }
/* >=1351px: the header bar is invisible and its pieces are fixed in the left column.
   A backdrop-filter would turn it into the containing block for those fixed pieces,
   dragging the logo and search into the feed, so drop it there. */
@media (min-width: 1351px) {
  html.bcx:not(#_bcx1):not(#_bcx2) header .tag_header,
  html.bcx:not(#_bcx1):not(#_bcx2) header nav.navbar {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: transparent !important;
    border: 0 !important;
  }
}
/* Sidebar footer: tidy wrapped links (the text bullets were colliding on narrow columns) */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_footer_links {
  font-size: 0 !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 4px 14px;
  line-height: 1.5 !important;
  padding: 6px 0 14px !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_footer_links > a,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_footer_links > span {
  font-size: 12.5px !important;
  line-height: 1.5 !important;
  color: var(--bcx-text-3) !important;
  text-decoration: none !important;
}
html.bcx:not(#_bcx1):not(#_bcx2) .tag_footer_links > a:hover { color: var(--bcx-accent) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_footer_cright { color: var(--bcx-text-3) !important; font-size: 12.5px !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_footer,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_footer_pc { border: 0 !important; background: transparent !important; }
/* Section headings: no grey box (base hover pseudo-element / legacy tint) */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_sidebar_section_prnt,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_sidebar_head { background: transparent !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_sidebar_head:before { opacity: 0 !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_sidebar_section_prnt { border-color: var(--bcx-line) !important; }
/* Widget header links (e.g. "Want To Be Here ?") */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_sidebar_widget a,
html.bcx:not(#_bcx1):not(#_bcx2) .wo_page_hdng a { color: var(--bcx-accent) !important; text-decoration: none !important; font-weight: 600 !important; }
/* Empty notification popup was a 2px card = a stray line across the page */
html.bcx:not(#_bcx1):not(#_bcx2) #notification-popup:not(:has(*)),
html.bcx:not(#_bcx1):not(#_bcx2) .tag_pop_noti:not(:has(*)) { display: none !important; }
/* Narrow right column (992-1199px): keep the Pro widget readable */
@media (max-width: 1199px) {
  html.bcx:not(#_bcx1):not(#_bcx2) .tag_go_pro_user img { display: none !important; }
  html.bcx:not(#_bcx1):not(#_bcx2) .tag_go_pro_user p { padding-right: 0 !important; max-width: 100% !important; }
  html.bcx:not(#_bcx1):not(#_bcx2) .featured-users-hdr,
  html.bcx:not(#_bcx1):not(#_bcx2) .rightcol .wo_page_hdng { font-size: 14px !important; }
}
/* Page titles keep a gutter on phones (Groups, Pages, etc.) */
@media (max-width: 768px) {
  html.bcx:not(#_bcx1):not(#_bcx2) .tag_page_title,
  html.bcx:not(#_bcx1):not(#_bcx2) .page-margin > h2,
  html.bcx:not(#_bcx1):not(#_bcx2) .container > h2 { padding-left: 16px !important; padding-right: 16px !important; }
}
/* Messages page matches the rest of the app */
html.bcx:not(#_bcx1):not(#_bcx2) .tag_messages,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_messages .wow_content,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_message_innr { background: var(--bcx-page) !important; }
html.bcx:not(#_bcx1):not(#_bcx2) .tag_messages .tag_msg_user_list,
html.bcx:not(#_bcx1):not(#_bcx2) .tag_messages .tag_msg_user_chat { background: var(--bcx-card) !important; }
/* Welcome footer lines never collide */
html.bcx:not(#_bcx1):not(#_bcx2) .welcome-footer { line-height: 1.9 !important; }
/* Tab rows (Groups, Pages, ...) scroll sideways on phones instead of being cut off */
@media (max-width: 768px) {
  html.bcx:not(#_bcx1):not(#_bcx2) ul.tag_page_nav:not(#filterby-post) {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 16px 6px !important;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  html.bcx:not(#_bcx1):not(#_bcx2) ul.tag_page_nav:not(#filterby-post)::-webkit-scrollbar { display: none; }
  html.bcx:not(#_bcx1):not(#_bcx2) ul.tag_page_nav:not(#filterby-post) > li { flex: 0 0 auto !important; }
}
