/* ============================================================
   Hustlers Crib – Community Feed (Skool-style)
   community-feed.css
   ============================================================ */

/* ── Reset ── */
.cf-body *, .cf-body *::before, .cf-body *::after { box-sizing: border-box; }
.cf-body { background: #f8f4ee !important; }

/* Hide default Sngine main-header & sidebar so our nav takes over */
.cf-body .main-header,
.cf-body .sg-offcanvas-sidebar { display: none !important; }

/* ================================================================
   TOP NAV
   ================================================================ */
.cf-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #ffffff;
  border-bottom: 1px solid #e0dedd;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

/* Earnlee compact feed cards: text left, cropped media thumbnail right */
.cf-view-feed .cf-post-stream > ul,
.cf-view-feed .cf-post-stream .js_posts_stream > ul,
.cf-feed-shell-simple .cf-post-stream > ul,
.cf-feed-shell-simple .cf-post-stream .js_posts_stream > ul {
  list-style: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.cf-view-feed .cf-post-stream > ul > li,
.cf-view-feed .cf-post-stream .js_posts_stream > ul > li,
.cf-view-feed .cf-post-stream > li,
.cf-feed-shell-simple .cf-post-stream > ul > li,
.cf-feed-shell-simple .cf-post-stream .js_posts_stream > ul > li,
.cf-feed-shell-simple .cf-post-stream > li {
  list-style: none !important;
}

.cf-view-feed .cf-post-stream > ul > li::marker,
.cf-view-feed .cf-post-stream .js_posts_stream > ul > li::marker,
.cf-view-feed .cf-post-stream > li::marker,
.cf-feed-shell-simple .cf-post-stream > ul > li::marker,
.cf-feed-shell-simple .cf-post-stream .js_posts_stream > ul > li::marker,
.cf-feed-shell-simple .cf-post-stream > li::marker {
  content: "" !important;
}

.cf-feed-shell-simple .cf-post-stream .post,
.cf-view-feed .cf-post-stream .post {
  border: 2px solid #050505;
  border-radius: 8px;
  box-shadow: none;
}

.cf-feed-shell-simple .cf-post-stream .post:hover,
.cf-view-feed .cf-post-stream .post:hover {
  border-color: #050505;
  box-shadow: none;
  transform: none;
}

.cf-feed-shell-simple .cf-post-stream .post.cf-feed-card .post-author,
.cf-view-feed .cf-post-stream .post.cf-feed-card .post-author {
  font-size: 14px !important;
}

.cf-feed-shell-simple .cf-post-stream .post.cf-feed-card .post-text,
.cf-view-feed .cf-post-stream .post.cf-feed-card .post-text {
  font-size: 16px !important;
}

:root[data-theme="dark"] .cf-feed-shell-simple .cf-post-stream .post,
:root[data-theme="dark"] .cf-view-feed .cf-post-stream .post,
body.night-mode .cf-feed-shell-simple .cf-post-stream .post,
body.night-mode .cf-view-feed .cf-post-stream .post {
  border-color: #050505;
  box-shadow: none;
}

:root[data-theme="dark"] .cf-feed-shell-simple .cf-post-stream .post:hover,
:root[data-theme="dark"] .cf-view-feed .cf-post-stream .post:hover,
body.night-mode .cf-feed-shell-simple .cf-post-stream .post:hover,
body.night-mode .cf-view-feed .cf-post-stream .post:hover {
  border-color: #050505;
  box-shadow: none;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) clamp(92px, 16vw, 132px) !important;
  grid-template-areas:
    "header media"
    "content media"
    "stats media" !important;
  column-gap: 18px;
  row-gap: 6px;
  align-items: start;
  padding: 16px 16px 12px;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .post-header,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .post-header {
  grid-area: header;
  margin: 0;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .post-replace,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .post-replace {
  grid-area: content;
  min-width: 0;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media > .mt10,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) > .mt10 {
  grid-area: media !important;
  grid-column: 2 !important;
  grid-row: 1 / span 3 !important;
  align-self: center;
  justify-self: end;
  width: clamp(92px, 16vw, 132px) !important;
  max-width: 132px;
  margin: 0 !important;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .post-stats,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .post-stats {
  grid-area: stats;
  margin: 4px 0 0;
  padding: 0;
  border-top: 0;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .post-actions,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .post-actions {
  grid-area: stats;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_wrapper,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_wrapper,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_1x,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_1x,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_2x,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_2x,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_3x,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_3x,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_4x,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_4x {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_1x a,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_1x a,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_2x a,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_2x a,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_3x a,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_3x a,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_4x a,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_4x a {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  padding-bottom: 0 !important;
  border: 1px solid #ebe3d8;
  border-radius: 8px !important;
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_1x img,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_1x img,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_2x img,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_2x img,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_3x img,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_3x img,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_4x img,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_4x img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_2o3,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_2o3,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_1o3,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_1o3,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_2o3_in,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_2o3_in,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_1o3_in,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_1o3_in {
  width: 100% !important;
  height: auto !important;
  padding: 0 !important;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_wrapper .pg_2x:nth-child(n+2),
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_wrapper .pg_2x:nth-child(n+2),
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_1o3,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_1o3 {
  display: none !important;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .post-text,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .post-text {
  margin-top: 4px;
  color: #28231f;
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
}

@media (max-width: 640px) {
  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media,
  .cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "header"
      "content"
      "media"
      "stats" !important;
    row-gap: 10px;
    padding: 14px;
  }

  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media > .mt10,
  .cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) > .mt10 {
    grid-column: 1 !important;
    grid-row: auto !important;
    justify-self: start;
    width: min(46vw, 160px) !important;
    max-width: 160px;
  }

  .cf-feed-shell-simple .cf-post-stream .cf-post-actions-left,
  .cf-view-feed .cf-post-stream .cf-post-actions-left {
    flex-wrap: wrap;
  }

  .cf-feed-shell-simple .cf-post-stream .cf-comment-preview,
  .cf-view-feed .cf-post-stream .cf-comment-preview {
    flex: 1 1 100%;
    gap: 10px;
    margin-top: 2px;
    font-size: 12px;
  }
}

/* HC Classroom Refresh */
body.hc-modal-open {
  overflow: hidden;
}

.hc-classroom,
.hc-course-view,
.hc-builder-page {
  --hc-classroom-text: #171717;
  --hc-classroom-muted: #6e6f76;
  --hc-classroom-border: #e8e2d6;
  --hc-classroom-panel: #fffdf8;
  --hc-classroom-soft: #f7f2e8;
  --hc-classroom-yellow: #f1c86d;
  --hc-classroom-yellow-dark: #d9ad49;
  --hc-classroom-green: #18a957;
  --hc-classroom-shadow: 0 24px 60px rgba(20, 15, 4, 0.08);
  color: var(--hc-classroom-text);
}

.hc-classroom {
  display: grid;
  gap: 28px;
}

.hc-classroom-top {
  position: sticky;
  top: 72px;
  z-index: 6;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(232, 226, 214, 0.8);
  border-radius: 24px;
  padding: 12px 16px 16px;
  box-shadow: 0 12px 34px rgba(24, 18, 4, 0.05);
}

.hc-classroom-nav {
  gap: 20px;
}

.hc-classroom-nav-link {
  font-weight: 600;
}

.hc-classroom-hero-skoool {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 0;
  padding: 28px;
  border: 1px solid rgba(232, 226, 214, 0.9);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(241, 200, 109, 0.28), transparent 38%),
    linear-gradient(135deg, #fffef9 0%, #fbf4e4 100%);
}

.hc-classroom-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #8e6923;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hc-classroom-hero-skoool h1 {
  margin: 0 0 12px;
  font-size: 42px;
  line-height: 1.06;
}

.hc-classroom-hero-skoool p {
  margin: 0;
  max-width: 720px;
  color: var(--hc-classroom-muted);
  font-size: 16px;
  line-height: 1.7;
}

.hc-classroom-hero-side {
  display: grid;
  gap: 18px;
  align-content: space-between;
}

.hc-classroom-hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hc-classroom-hero-metrics div {
  min-width: 0;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(232, 226, 214, 0.9);
}

.hc-classroom-hero-metrics strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.hc-classroom-hero-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--hc-classroom-muted);
  font-size: 13px;
}

.hc-classroom-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hc-classroom-section {
  border: 1px solid rgba(232, 226, 214, 0.9);
  border-radius: 28px;
  padding: 26px;
  background: var(--hc-classroom-panel);
  box-shadow: var(--hc-classroom-shadow);
}

.hc-section-heading {
  margin-bottom: 20px;
}

.hc-section-heading h2 {
  margin: 0 0 6px;
  font-size: 28px;
}

.hc-section-heading p {
  margin: 0;
  color: var(--hc-classroom-muted);
}

.hc-classroom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.hc-course-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(232, 226, 214, 0.95);
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(25, 18, 4, 0.06);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.hc-course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 46px rgba(25, 18, 4, 0.1);
  border-color: rgba(217, 173, 73, 0.65);
}

.hc-course-card.is-draft {
  background: linear-gradient(180deg, #fffdfa 0%, #faf5ea 100%);
}

.hc-course-card-head {
  position: relative;
}

.hc-course-cover {
  display: block;
  aspect-ratio: 1.8 / 1;
  background: #f2ecdf;
}

.hc-course-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hc-course-card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hc-course-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.76);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hc-course-menu-wrap {
  position: absolute;
  top: 14px;
  right: 14px;
}

.hc-course-menu-toggle {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #1c1b18;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(24, 17, 3, 0.12);
}

.hc-course-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 4;
  display: none;
  min-width: 210px;
  padding: 10px;
  border: 1px solid rgba(232, 226, 214, 0.95);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 40px rgba(20, 15, 4, 0.14);
}

.hc-course-menu-wrap.is-open .hc-course-menu {
  display: grid;
  gap: 4px;
}

.hc-course-menu a,
.hc-course-menu button {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--hc-classroom-text);
  text-align: left;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.hc-course-menu a:hover,
.hc-course-menu button:hover {
  background: #f7f2e8;
}

.hc-course-menu button.is-danger {
  color: #d4432f;
}

.hc-course-body {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.hc-course-copy {
  display: grid;
  gap: 10px;
}

.hc-course-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.18;
}

.hc-course-title,
.hc-course-title:hover {
  color: var(--hc-classroom-text);
  text-decoration: none;
}

.hc-course-desc {
  margin: 0;
  color: var(--hc-classroom-muted);
  line-height: 1.65;
}

.hc-course-progress-meta {
  display: grid;
  gap: 10px;
}

.hc-course-progress-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 13px;
}

.hc-course-progress-row strong {
  font-size: 14px;
}

.hc-course-progress-row span {
  color: var(--hc-classroom-muted);
}

.hc-course-progress-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: #ece8de;
  overflow: hidden;
}

.hc-course-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f2c766 0%, #df9a2f 100%);
}

.hc-course-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.hc-course-meta-item {
  padding: 12px;
  border-radius: 16px;
  background: #fcf8ef;
}

.hc-course-meta-item dt {
  margin: 0 0 4px;
  color: var(--hc-classroom-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hc-course-meta-item dd {
  margin: 0;
  font-weight: 700;
}

.hc-course-price-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.hc-course-level {
  padding: 7px 12px;
  border-radius: 999px;
  background: #f4efe4;
  color: #74581f;
  font-size: 12px;
  font-weight: 700;
}

.hc-course-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hc-course-card-create {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 260px;
  padding: 24px;
  border: 1px dashed #d7cba9;
  border-radius: 24px;
  background: linear-gradient(180deg, #fffefb 0%, #fbf5e7 100%);
  color: #6f6757;
  text-align: center;
  cursor: pointer;
}

.hc-course-card-create-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #fff;
  color: #c48f23;
  font-size: 34px;
  box-shadow: 0 16px 24px rgba(30, 22, 5, 0.08);
}

.hc-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(18, 16, 12, 0.55);
  backdrop-filter: blur(6px);
}

.hc-modal.open {
  display: flex;
}

.hc-modal-card,
.hc-modal-card-course {
  position: relative;
  width: min(860px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 40px 90px rgba(16, 13, 6, 0.24);
}

.hc-modal-head {
  margin-bottom: 18px;
}

.hc-modal-head h2 {
  margin: 0 0 8px;
  font-size: 32px;
}

.hc-modal-head p {
  margin: 0;
  color: var(--hc-classroom-muted);
  line-height: 1.65;
}

.hc-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #f6f0e5;
  color: var(--hc-classroom-text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.hc-course-setup-form,
.hc-builder-form {
  display: grid;
  gap: 22px;
}

.hc-course-setup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hc-field {
  display: grid;
  gap: 8px;
}

.hc-field-full {
  grid-column: 1 / -1;
}

.hc-field span {
  font-size: 13px;
  font-weight: 700;
}

.hc-field input,
.hc-field select,
.hc-field textarea,
.hc-payment-settings-form input,
.hc-payment-settings-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd3bf;
  border-radius: 16px;
  background: #fffefb;
  color: var(--hc-classroom-text);
}

.hc-field textarea {
  resize: vertical;
}

.hc-access-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hc-access-card {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #e2dac8;
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
}

.hc-access-card.is-active {
  border-color: #dca63c;
  background: #fff7e7;
  box-shadow: inset 0 0 0 1px rgba(220, 166, 60, 0.25);
}

.hc-access-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.hc-access-card strong {
  font-size: 17px;
}

.hc-access-card span {
  color: var(--hc-classroom-muted);
  line-height: 1.55;
}

.hc-switch-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 20px;
  background: #fbf5e7;
}

.hc-switch-row strong,
.hc-switch-row small {
  display: block;
}

.hc-switch-row small {
  margin-top: 4px;
  color: var(--hc-classroom-muted);
  line-height: 1.55;
}

.hc-switch-row input[type='checkbox'] {
  width: 52px;
  height: 30px;
  accent-color: var(--hc-classroom-green);
}

.hc-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.hc-course-workspace {
  display: grid;
  grid-template-columns: minmax(310px, 0.88fr) minmax(0, 1.42fr);
  gap: 24px;
}

.hc-course-sidebar,
.hc-course-stage {
  min-width: 0;
}

.hc-course-sidebar-card,
.hc-course-stage-panel,
.hc-builder-card {
  border: 1px solid rgba(232, 226, 214, 0.95);
  border-radius: 28px;
  background: #fffef9;
  box-shadow: var(--hc-classroom-shadow);
}

.hc-course-sidebar-card {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.hc-course-sidebar-cover {
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f2ecdf;
}

.hc-course-sidebar-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hc-course-sidebar-copy {
  display: grid;
  gap: 12px;
}

.hc-course-sidebar-copy p {
  margin: 0;
  color: var(--hc-classroom-muted);
  line-height: 1.7;
}

.hc-course-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.hc-course-detail-grid div {
  padding: 14px;
  border-radius: 18px;
  background: #fcf8ef;
}

.hc-course-detail-grid dt {
  margin: 0 0 6px;
  color: var(--hc-classroom-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hc-course-detail-grid dd {
  margin: 0;
  font-weight: 700;
}

.hc-course-access-box,
.hc-course-stage-banner,
.hc-course-resource-card,
.hc-builder-empty,
.hc-classroom-empty {
  padding: 18px;
  border-radius: 22px;
  background: #fcf6ea;
}

.hc-course-outline {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(232, 226, 214, 0.95);
  border-radius: 28px;
  background: #fff;
}

.hc-course-outline-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.hc-course-outline-head h2 {
  margin: 0;
  font-size: 22px;
}

.hc-course-outline-head span {
  color: var(--hc-classroom-muted);
  font-size: 13px;
}

.hc-course-outline-section {
  margin: 18px 0 10px;
  color: #8a6a2b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hc-course-lesson-link {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.hc-course-lesson-link:hover {
  background: #fbf5e9;
}

.hc-course-lesson-link.is-active {
  border-color: rgba(220, 166, 60, 0.6);
  background: #fff4d8;
}

.hc-course-lesson-link.is-complete {
  background: #effaf3;
}

.hc-course-lesson-link-main {
  display: grid;
  gap: 4px;
}

.hc-course-lesson-link-main strong {
  font-size: 15px;
}

.hc-course-lesson-link-main small,
.hc-course-lesson-link-state {
  color: var(--hc-classroom-muted);
  font-size: 12px;
}

.hc-course-stage {
  display: grid;
  gap: 18px;
}

.hc-course-stage-banner strong,
.hc-course-resource-card strong,
.hc-classroom-empty h3 {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}

.hc-course-stage-banner span,
.hc-course-resource-card p,
.hc-classroom-empty p {
  margin: 0;
  color: var(--hc-classroom-muted);
  line-height: 1.65;
}

.hc-course-stage-panel {
  display: none;
  gap: 18px;
  padding: 24px;
}

.hc-course-stage-panel.is-active {
  display: grid;
}

.hc-course-stage-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.hc-course-stage-top h2 {
  margin: 10px 0 0;
  font-size: 34px;
  line-height: 1.1;
}

.hc-course-media-frame {
  overflow: hidden;
  border-radius: 24px;
  background: #111;
}

.hc-course-media-frame video {
  display: block;
  width: 100%;
  max-height: 520px;
  background: #111;
}

.hc-course-text-block {
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(232, 226, 214, 0.95);
  color: #1d1d1d;
  line-height: 1.8;
  white-space: normal;
}

.hc-course-text-block > :first-child {
  margin-top: 0;
}

.hc-course-text-block > :last-child {
  margin-bottom: 0;
}

.hc-course-text-block-preview {
  color: #4c5567;
}

.hc-course-resource-card-locked {
  border: 1px dashed rgba(232, 226, 214, 0.95);
  background: #f8f9fb;
}

.hc-course-stage-actions,
.hc-builder-header-actions,
.hc-curriculum-row-foot {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hc-builder-page {
  display: grid;
  gap: 24px;
}

.hc-builder-header,
.hc-course-view-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 26px;
  border-radius: 28px;
  border: 1px solid rgba(232, 226, 214, 0.95);
  background: linear-gradient(135deg, #fffef8 0%, #fbf4e5 100%);
  box-shadow: var(--hc-classroom-shadow);
}

.hc-course-view-header h1,
.hc-builder-header h2 {
  margin: 8px 0 0;
}

.hc-course-header-progress {
  display: grid;
  gap: 4px;
  min-width: 160px;
  text-align: right;
}

.hc-course-header-progress strong {
  font-size: 28px;
  line-height: 1;
}

.hc-course-header-progress span {
  color: var(--hc-classroom-muted);
  font-size: 13px;
}

.hc-builder-card {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.hc-builder-title-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.hc-builder-title-row h2,
.hc-builder-title-row h3 {
  margin: 0 0 6px;
}

.hc-builder-title-row p,
.hc-builder-empty p {
  margin: 0;
  color: var(--hc-classroom-muted);
  line-height: 1.65;
}

.hc-builder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hc-curriculum-rows {
  display: grid;
  gap: 18px;
}

.hc-curriculum-row {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(232, 226, 214, 0.95);
  background: #fff;
}

.hc-curriculum-remove {
  border: 0;
  background: transparent;
  color: #ce4a34;
  font-weight: 700;
  cursor: pointer;
}

.hc-builder-empty {
  text-align: center;
}

.hc-builder-empty-icon {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 18px;
  background: #fff;
  color: #cb9526;
  font-size: 30px;
  box-shadow: 0 12px 24px rgba(31, 20, 4, 0.08);
}

.hc-check-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.hc-course-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.hc-course-btn-dark {
  background: #151515;
  color: #fff;
}

.hc-course-btn-dark:hover {
  color: #fff;
  background: #292929;
}

.hc-course-btn-light {
  background: #f7f2e8;
  border-color: #e5dac2;
  color: #252525;
}

.hc-course-btn-yellow {
  background: var(--hc-classroom-yellow);
  border-color: var(--hc-classroom-yellow);
  color: #251700;
}

.hc-course-btn-yellow:hover {
  background: var(--hc-classroom-yellow-dark);
  border-color: var(--hc-classroom-yellow-dark);
  color: #251700;
}

.hc-course-btn-danger {
  background: #fff1ee;
  border-color: #f2c0b7;
  color: #c83d28;
}

.hc-course-proof-link,
.hc-course-back {
  color: #70521c;
  font-weight: 700;
  text-decoration: none;
}

.hc-classroom-payment .hc-payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hc-payment-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(232, 226, 214, 0.95);
  background: #fff;
}

.hc-payment-card-head h3 {
  margin: 0 0 8px;
}

.hc-payment-card-head p,
.hc-payment-course-summary span,
.hc-payment-form-empty span {
  color: var(--hc-classroom-muted);
  line-height: 1.65;
}

.hc-bank-details,
.hc-payment-course-summary,
.hc-payment-form-empty {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: #fcf7eb;
}

.hc-payment-admin-hint {
  margin-top: 16px;
}

.hc-approvals-list {
  display: grid;
  gap: 16px;
}

.hc-approval-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(232, 226, 214, 0.95);
  background: #fff;
}

.hc-approval-card-main {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.hc-approval-user {
  display: flex;
  gap: 12px;
  align-items: center;
}

.hc-approval-user img {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
}

.hc-approval-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hc-approval-meta label {
  display: block;
  margin-bottom: 4px;
  color: var(--hc-classroom-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hc-approval-meta span,
.hc-approval-meta a {
  color: var(--hc-classroom-text);
  line-height: 1.55;
}

.hc-approval-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 1199.98px) {
  .hc-classroom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hc-course-workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .hc-classroom-hero-skoool,
  .hc-classroom-payment .hc-payment-grid,
  .hc-course-setup-grid,
  .hc-builder-grid,
  .hc-access-picker,
  .hc-approval-meta,
  .hc-course-detail-grid {
    grid-template-columns: 1fr;
  }

  .hc-builder-header,
  .hc-course-view-header,
  .hc-course-stage-top,
  .hc-approval-card {
    flex-direction: column;
    align-items: stretch;
  }

  .hc-course-header-progress {
    text-align: left;
  }
}

@media (max-width: 767.98px) {
  .hc-classroom-shell {
    padding: 16px;
  }

  .hc-classroom-section,
  .hc-builder-card,
  .hc-course-stage-panel,
  .hc-modal-card,
  .hc-modal-card-course {
    padding: 18px;
  }

  .hc-classroom-grid {
    grid-template-columns: 1fr;
  }

  .hc-classroom-hero-skoool h1,
  .hc-course-stage-top h2 {
    font-size: 28px;
  }

  .hc-course-meta {
    grid-template-columns: 1fr;
  }
}
.cf-nav-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 16px;
}

/* Left: community brand */
.cf-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  cursor: pointer;
}
.cf-nav-brand-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e0dedd;
  flex-shrink: 0;
}
.cf-nav-brand-name {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cf-nav-brand-chevron {
  width: 16px;
  height: 16px;
  color: #888;
  flex-shrink: 0;
  transition: transform .2s;
}
.cf-nav-brand-chevron.open { transform: rotate(180deg); }

/* Center: search */
.cf-nav-search {
  flex: 1;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
}
.cf-nav-search-input {
  width: 100%;
  height: 38px;
  border: 1.5px solid #e0dedd;
  border-radius: 20px;
  padding: 0 16px 0 40px;
  font-size: 14px;
  color: #1a1a1a;
  background: #f8f7f5;
  outline: none;
  transition: border-color .2s;
}
.cf-nav-search-input:focus { border-color: #ffcc00; background: #fff; }
.cf-nav-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #aaa;
  pointer-events: none;
}

/* Right: icons + avatar */
.cf-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}
.cf-icon-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #444;
  transition: background .15s;
  text-decoration: none;
}
.cf-icon-btn:hover { background: #f5f5f5; }
.cf-icon-btn svg { width: 20px; height: 20px; }

.cf-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  background: #ffcc00;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
}
.cf-badge-red { background: #e53e3e; }

.cf-user-menu { position: relative; }
.cf-avatar-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: #f5f5f5;
}
.cf-avatar-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Nav Dropdown */
.cf-dd-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid #e0dedd;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  min-width: 220px;
  z-index: 300;
  display: none;
  padding: 6px 0;
  animation: cfDdIn .15s ease;
}
.cf-dd-menu.open { display: block; }
@keyframes cfDdIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cf-dd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 14px;
  color: #1a1a1a;
  text-decoration: none;
  cursor: pointer;
  transition: background .12s;
  white-space: nowrap;
}
.cf-dd-item:hover { background: #f8f7f5; color: #1a1a1a; }
.cf-dd-divider { height: 1px; background: #f5f5f5; margin: 6px 0; }
.cf-dd-user-header { padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.cf-dd-user-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.cf-dd-user-name { font-weight: 600; font-size: 14px; color: #1a1a1a; }
.cf-dd-user-email { font-size: 12px; color: #888; }

/* Brand dropdown */
.cf-brand-dd {
  left: 0;
  right: auto;
  min-width: 200px;
}

/* ================================================================
   TABS
   ================================================================ */
.cf-tabs {
  background: #ffffff;
  border-bottom: 1px solid #e0dedd;
  position: sticky;
  top: 60px;
  z-index: 190;
}
.cf-tabs-inner {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.cf-tabs-inner::-webkit-scrollbar { display: none; }
.cf-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color .15s, border-color .15s;
  flex-shrink: 0;
}
.cf-tab:hover { color: #1a1a1a; }
.cf-tab.active {
  color: #1a1a1a;
  font-weight: 700;
  border-bottom-color: #1a1a1a;
}
.cf-tab svg { width: 15px; height: 15px; }
.cf-tab-dim { opacity: .45; cursor: default; }
.cf-tab-dim:hover { color: #666; }

/* ================================================================
   MAIN LAYOUT
   ================================================================ */
.cf-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
}

/* Two-column feed layout */
.cf-layout {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.cf-feed { flex: 1; min-width: 0; }
.cf-sidebar {
  width: 300px;
  flex-shrink: 0;
  position: sticky;
  top: 120px;
}

/* Generic card */
.cf-card {
  background: #ffffff;
  border: 1px solid #e0dedd;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

/* ================================================================
   WRITE POST BAR
   ================================================================ */
.cf-write-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e0dedd;
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  margin-bottom: 16px;
  transition: border-color .15s, box-shadow .15s;
}
.cf-write-bar:hover {
  border-color: #ffcc00;
  box-shadow: 0 2px 8px rgba(230,181,65,.15);
}
.cf-write-bar-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #e0dedd;
}
.cf-write-bar-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffcc00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.cf-write-bar-prompt {
  flex: 1;
  height: 38px;
  display: flex;
  align-items: center;
  background: #f8f7f5;
  border: 1.5px solid #e0dedd;
  border-radius: 20px;
  padding: 0 16px;
  font-size: 14px;
  color: #aaa;
  pointer-events: none;
}

/* ================================================================
   FILTER PILLS
   ================================================================ */
.cf-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.cf-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #444;
  background: #fff;
  border: 1.5px solid #e0dedd;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  white-space: nowrap;
}
.cf-pill:hover { border-color: #1a1a1a; color: #1a1a1a; }
.cf-pill.active {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}
.cf-pill svg { width: 13px; height: 13px; }

/* ================================================================
   SIDEBAR CARDS
   ================================================================ */
.cf-sidebar-cover {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}
.cf-sidebar-cover-placeholder {
  width: 100%;
  height: 100px;
  background: linear-gradient(135deg, #ffcc00 0%, #c49330 100%);
}
.cf-sidebar-body { padding: 16px; }
.cf-sidebar-avatar-wrap {
  margin-top: -28px;
  margin-bottom: 12px;
}
.cf-sidebar-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.cf-sidebar-group-name {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
  text-decoration: none;
  display: block;
}
.cf-sidebar-group-name:hover { color: #ffcc00; }
.cf-sidebar-url {
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
}
.cf-sidebar-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cf-sidebar-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
}
.cf-stat { text-align: center; }
.cf-stat-val {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  display: block;
}
.cf-stat-label { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: .5px; }

.cf-member-avatars {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}
.cf-member-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-right: -8px;
  flex-shrink: 0;
}
.cf-member-more {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f5f5f5;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #555;
  margin-right: -8px;
  flex-shrink: 0;
}

.cf-invite-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: #ffcc00;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background .15s;
}
.cf-invite-btn:hover { background: #c49330; color: #fff; }

/* Join button */
.cf-join-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s;
}
.cf-join-btn:hover { background: #333; color: #fff; }
.cf-joined-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: #f5f5f5;
  color: #1a1a1a;
  border: 1.5px solid #e0dedd;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s;
}
.cf-joined-btn:hover { background: #e0dedd; }

/* Privacy badge */
.cf-privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #888;
  padding: 2px 8px;
  background: #f5f5f5;
  border-radius: 10px;
  margin-bottom: 12px;
}
.cf-privacy-badge svg { width: 11px; height: 11px; }

/* Status card */
.cf-status-card { padding: 16px; }
.cf-status-title {
  font-size: 12px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 12px;
}
.cf-status-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  color: #444;
}
.cf-status-emoji { font-size: 18px; width: 28px; text-align: center; }
.cf-status-user { font-weight: 500; color: #1a1a1a; }
.cf-status-text { color: #666; font-size: 12px; }

/* Powered by footer */
.cf-powered {
  text-align: center;
  font-size: 11px;
  color: #aaa;
  padding: 12px 0 0;
}
.cf-powered a { color: #ffcc00; text-decoration: none; font-weight: 600; }
.cf-powered a:hover { text-decoration: underline; }

/* ================================================================
   POSTS WRAPPER  (keep Sngine's post cards, just tweak spacing)
   ================================================================ */
.cf-feed .alert-post,
.cf-feed .post-wrapper {
  border-radius: 12px !important;
  border: 1px solid #e0dedd !important;
  margin-bottom: 16px !important;
}

/* ================================================================
   ADMIN QUICK ACTIONS (small strip above sidebar)
   ================================================================ */
.cf-admin-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e0dedd;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.cf-admin-bar a, .cf-admin-bar button {
  font-size: 12px;
  color: #555;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #e0dedd;
  background: #fff;
  cursor: pointer;
  transition: background .12s;
}
.cf-admin-bar a:hover, .cf-admin-bar button:hover { background: #f5f5f5; }
.cf-admin-bar svg { width: 13px; height: 13px; }

/* ================================================================
   PENDING POSTS ALERT
   ================================================================ */
.cf-pending-alert {
  background: #fff8e6;
  border: 1px solid #ffcc00;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #7a5a00;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.cf-pending-alert:hover { background: #fff3cc; }
.cf-pending-alert svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ================================================================
   OTHER VIEWS (members, settings, photos, etc.) — full-width
   ================================================================ */
.cf-full-content {
  background: #fff;
  border: 1px solid #e0dedd;
  border-radius: 12px;
  overflow: hidden;
}

/* ================================================================
   COMMUNITY FEED REDESIGN
   ================================================================ */
.cf-feed-shell {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cf-discovery-hero {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border: 1px solid #ece7da;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(230, 181, 65, 0.2), transparent 28%),
    linear-gradient(180deg, #fffdfa 0%, #ffffff 62%);
  box-shadow: 0 22px 44px rgba(17, 17, 17, 0.05);
}

.cf-discovery-eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff4cd;
  color: #7a5a00;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cf-discovery-hero h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #111111;
}

.cf-discovery-hero p {
  margin: 8px 0 0;
  max-width: 620px;
  color: #5e5a53;
  font-size: 18px;
  line-height: 1.6;
}

.cf-discovery-search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.cf-discovery-search-field {
  flex: 1;
  position: relative;
}

.cf-discovery-search-field svg {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 18px;
  height: 18px;
  color: #9a9389;
  transform: translateY(-50%);
  pointer-events: none;
}

.cf-discovery-search-field input {
  width: 100%;
  height: 56px;
  border: 1px solid #dfd7ca;
  border-radius: 999px;
  background: #ffffff;
  padding: 0 22px 0 50px;
  color: #111111;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cf-discovery-search-field input:focus {
  border-color: #ffcc00;
  box-shadow: 0 0 0 4px rgba(230, 181, 65, 0.15);
}

.cf-discovery-search-btn {
  height: 56px;
  padding: 0 28px;
  border: none;
  border-radius: 999px;
  background: #ffcc00;
  color: #111111;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.cf-discovery-search-btn:hover {
  background: #d7a437;
  transform: translateY(-1px);
}

.cf-discovery-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.cf-discovery-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid #dfd7ca;
  border-radius: 999px;
  background: #ffffff;
  color: #413c35;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.cf-discovery-chip:hover {
  color: #111111;
  border-color: #111111;
  transform: translateY(-1px);
}

.cf-discovery-chip.active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.cf-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: 24px;
  align-items: start;
}

.cf-content-grid.has-left-rail {
  grid-template-columns: 270px minmax(0, 1fr) 316px;
}

.cf-content-main,
.cf-content-left,
.cf-content-sidebar {
  min-width: 0;
}

.cf-side-panel {
  display: block;
}

.cf-side-panel > summary {
  display: none;
}

.cf-content-left .cf-side-panel,
.cf-content-sidebar .cf-side-panel {
  position: sticky;
  top: 132px;
}

.cf-checklist-card,
.cf-auth-card,
.cf-composer,
.cf-community-card,
.cf-suggested-card,
.cf-build-card {
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(17, 17, 17, 0.06);
}

.cf-checklist-card {
  padding: 22px;
  background: #ffffff;
  border: 1px solid #ece7da;
}

.cf-checklist-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.cf-checklist-kicker {
  display: block;
  margin-bottom: 6px;
  color: #84796a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cf-checklist-head h2 {
  margin: 0;
  color: #111111;
  font-size: 24px;
  line-height: 1.1;
}

.cf-checklist-progress-copy {
  color: #111111;
  font-size: 13px;
  font-weight: 800;
}

.cf-checklist-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.cf-checklist-progress-step {
  height: 10px;
  border-radius: 999px;
  background: #eee9df;
}

.cf-checklist-progress-step.is-complete {
  background: linear-gradient(90deg, #ffcc00 0%, #f1cd68 100%);
}

.cf-checklist-subtext {
  margin: 0 0 18px;
  color: #6b645b;
  font-size: 14px;
  line-height: 1.65;
}

.cf-checklist-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cf-checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1b1b1b;
}

.cf-checklist-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #d9d2c6;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: transparent;
}

.cf-checklist-item.is-complete .cf-checklist-mark {
  background: #179d49;
  border-color: #179d49;
  color: #ffffff;
}

.cf-checklist-mark svg {
  width: 12px;
  height: 12px;
}

.cf-checklist-link,
.cf-checklist-text {
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.cf-checklist-link:hover {
  color: #ffcc00;
}

.cf-composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #ece7da;
}

.cf-composer-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.cf-composer-avatar,
.cf-composer-avatar-placeholder {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cf-composer-avatar {
  object-fit: cover;
}

.cf-composer-avatar-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111111;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
}

.cf-composer-input {
  width: 100%;
  height: 46px;
  border: 1px solid #ece7da;
  border-radius: 999px;
  background: #faf7f0;
  padding: 0 18px;
  color: #8a857d;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.cf-composer-live {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 118px;
  height: 46px;
  padding: 0 18px;
  border: 1px solid #ece7da;
  border-radius: 999px;
  background: #ffffff;
  color: #5d5750;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.cf-composer-live:hover {
  color: #111111;
  border-color: #111111;
  transform: translateY(-1px);
}

.cf-composer-live svg {
  width: 16px;
  height: 16px;
}

.cf-auth-card {
  padding: 24px;
  background: #ffffff;
  border: 1px solid #ece7da;
  text-align: center;
}

.cf-auth-card h2,
.cf-suggested-card h2,
.cf-build-card h2,
.cf-upload-card h2,
.cf-community-card h2 {
  margin: 0;
  color: #111111;
  font-size: 24px;
  line-height: 1.1;
}

.cf-auth-card p,
.cf-suggested-empty,
.cf-build-card p,
.cf-upload-card p,
.cf-community-card p {
  color: #645d54;
  font-size: 14px;
  line-height: 1.7;
}

.cf-auth-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.cf-feed-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 16px;
}

.cf-feed-toolbar-link {
  color: #7a6d5b;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.cf-feed-toolbar-link:hover {
  color: #111111;
}

.cf-post-stream .alert-post,
.cf-post-stream .post-wrapper {
  border-radius: 16px !important;
  border: 1px solid #e8e1d6 !important;
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.05);
  margin-bottom: 18px !important;
}

.cf-side-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cf-side-stack > .cf-card,
.cf-side-stack > .cf-upload-card {
  margin-bottom: 0;
}

.cf-upload-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, #b35be4 0%, #8f49e0 100%);
  min-height: 182px;
  color: #ffffff;
}

.cf-upload-card-ribbon {
  position: absolute;
  top: 14px;
  right: -42px;
  transform: rotate(42deg);
  background: #ffd875;
  color: #7a4c00;
  padding: 7px 48px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.cf-upload-card-body {
  height: 100%;
  padding: 30px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
}

.cf-upload-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.85);
}

.cf-upload-card-action,
.cf-sidebar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.cf-upload-card-action:hover,
.cf-sidebar-cta:hover {
  transform: translateY(-1px);
}

.cf-upload-card-action {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
}

.cf-upload-card-action:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.cf-community-card {
  overflow: hidden;
}

.cf-community-card-cover img,
.cf-community-card-cover-placeholder {
  width: 100%;
  height: 132px;
  display: block;
}

.cf-community-card-cover img {
  object-fit: cover;
}

.cf-community-card-cover-placeholder {
  background: linear-gradient(135deg, #111111 0%, #3f3f3f 100%);
}

.cf-community-card-body,
.cf-suggested-card,
.cf-build-card {
  padding: 22px;
}

.cf-community-card-url {
  margin: 8px 0 12px;
  color: #8d857a;
  font-size: 12px;
}

.cf-community-card p {
  margin: 0 0 18px;
}

.cf-community-card-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 0 18px;
  border-top: 1px solid #f0ebe3;
  border-bottom: 1px solid #f0ebe3;
  margin-bottom: 18px;
}

.cf-community-card-stats strong {
  display: block;
  color: #111111;
  font-size: 20px;
  line-height: 1;
}

.cf-community-card-stats span {
  display: block;
  margin-top: 6px;
  color: #8a8177;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cf-sidebar-cta-dark {
  background: #111111;
  color: #ffffff;
}

.cf-sidebar-cta-dark:hover {
  background: #272727;
  color: #ffffff;
}

.cf-sidebar-cta-muted {
  background: #ffffff;
  border-color: #ddd4c8;
  color: #4d473f;
}

.cf-sidebar-cta-muted:hover {
  background: #faf7f1;
  color: #111111;
}

.cf-suggested-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cf-suggested-card-head h2 {
  font-size: 22px;
}

.cf-suggested-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cf-suggested-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #111111;
  text-decoration: none;
  padding: 8px 0;
}

.cf-suggested-link:hover strong {
  color: #ffcc00;
}

.cf-suggested-link img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.cf-suggested-link strong {
  display: block;
  color: inherit;
  font-size: 14px;
  line-height: 1.3;
  transition: color 0.18s ease;
}

.cf-suggested-link span {
  display: block;
  margin-top: 4px;
  color: #867d71;
  font-size: 12px;
}

.cf-suggested-empty,
.cf-build-card p {
  margin: 12px 0 0;
}

.cf-build-card .cf-sidebar-cta {
  margin-top: 18px;
}

.cf-feed-shell-simple {
  gap: 18px;
}

.cf-content-grid-simple {
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 22px;
}

.cf-feed-shell-simple .cf-composer {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #ddd8cf;
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.05);
  margin-bottom: 18px;
}

.cf-feed-shell-simple .cf-composer-input {
  background: #ffffff;
  border-color: transparent;
  color: #7e7a73;
  font-size: 15px;
  font-weight: 400;
}

.cf-feed-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 0 2px;
  color: #4e4a43;
  font-size: 15px;
  font-weight: 600;
}

.cf-feed-note svg {
  width: 17px;
  height: 17px;
  color: #111111;
  flex-shrink: 0;
}

.cf-feed-shell-simple .cf-feed-toolbar {
  margin: 10px 0 18px;
  align-items: center;
}

.cf-feed-shell-simple .cf-pill {
  background: #ffffff;
  border-color: #ddd8cf;
  color: #787168;
  min-height: 34px;
  padding: 6px 14px;
  font-size: 13px;
}

.cf-feed-shell-simple .cf-pill.active {
  background: #9a9893;
  border-color: #9a9893;
  color: #ffffff;
}

.cf-feed-shell-simple .cf-feed-toolbar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid #ddd8cf;
  border-radius: 999px;
  background: #ffffff;
  color: #6a645c;
  font-size: 13px;
  font-weight: 700;
}

.cf-feed-shell-simple .cf-feed-toolbar-link:hover {
  background: #f5f2ed;
}

.cf-feed-shell-simple .cf-post-stream .post-wrapper,
.cf-feed-shell-simple .cf-post-stream .alert-post {
  border-radius: 14px !important;
  border: 1px solid #ddd8cf !important;
  box-shadow: none;
}

.cf-feed-shell-simple .cf-post-stream .post-wrapper:hover {
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.05);
}

.cf-feed-shell-simple .cf-post-stream .js_posts_stream > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cf-feed-shell-simple .cf-post-stream .js_posts_stream > ul > li {
  margin: 0;
  padding: 0;
}

.cf-feed-shell-simple .cf-post-stream .post {
  margin-bottom: 18px;
  border: 1px solid rgba(92, 214, 153, .30);
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(92, 214, 153, .10),
    0 0 8px rgba(92, 214, 153, .12),
    0 6px 18px rgba(46, 160, 100, .06);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.cf-feed-shell-simple .cf-post-stream .post:hover {
  border-color: rgba(92, 214, 153, .42);
  box-shadow:
    0 0 0 1px rgba(92, 214, 153, .14),
    0 0 10px rgba(92, 214, 153, .16),
    0 8px 20px rgba(46, 160, 100, .08);
  transform: translateY(-1px);
}

:root[data-theme="dark"] .cf-feed-shell-simple .cf-post-stream .post,
body.night-mode .cf-feed-shell-simple .cf-post-stream .post {
  border-color: rgba(125, 255, 184, .26);
  box-shadow:
    0 0 0 1px rgba(125, 255, 184, .16),
    0 0 10px rgba(89, 255, 169, .14),
    0 8px 20px rgba(46, 204, 113, .07);
}

:root[data-theme="dark"] .cf-feed-shell-simple .cf-post-stream .post:hover,
body.night-mode .cf-feed-shell-simple .cf-post-stream .post:hover {
  border-color: rgba(125, 255, 184, .34);
  box-shadow:
    0 0 0 1px rgba(125, 255, 184, .20),
    0 0 12px rgba(89, 255, 169, .18),
    0 10px 22px rgba(46, 204, 113, .09);
}

.cf-feed-shell-simple .cf-post-stream .post-body {
  padding: 18px 18px 16px;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0px;
  grid-template-areas:
    "header media"
    "content media"
    "stats media"
    "actions media";
  column-gap: 18px;
  row-gap: 0;
  align-items: start;
}

.cf-feed-shell-simple .cf-post-stream .post-header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 12px;
  row-gap: 0;
  margin-bottom: 10px;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .post-header,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .post-header {
  grid-area: header;
  margin-bottom: 0;
}

.cf-feed-shell-simple .cf-post-stream .post-avatar {
  width: 44px;
  min-width: 44px;
  height: 44px;
}

.cf-feed-shell-simple .cf-post-stream .post-avatar-picture {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  display: block;
}

.cf-feed-shell-simple .cf-post-stream .post-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: center;
}

.cf-feed-shell-simple .cf-post-stream .post-author {
  color: #111111;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.cf-feed-shell-simple .cf-post-stream .post-author:hover {
  color: #111111;
}

.cf-feed-shell-simple .cf-post-stream .post-title {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #7f786d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
}

.cf-feed-shell-simple .cf-post-stream .post-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3e6cf4;
  margin-right: 6px;
  flex-shrink: 0;
}

.cf-feed-shell-simple .cf-post-stream .post-time {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: #80776d;
  font-size: 12px;
  font-weight: 600;
}

.cf-feed-shell-simple .cf-post-stream .post-time a {
  color: inherit;
  text-decoration: none;
}

.cf-feed-shell-simple .cf-post-stream .post-time a:hover {
  color: #111111;
}

.cf-feed-shell-simple .cf-post-stream .post-time .post-title {
  order: 3;
}

.cf-feed-shell-simple .cf-post-stream .post-replace {
  margin: 0;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .post-replace,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .post-replace {
  grid-area: content;
}

.cf-feed-shell-simple .cf-post-stream .post-text,
.cf-feed-shell-simple .cf-post-stream .post-text-translation {
  color: #2e2a24;
  font-size: 15px;
  line-height: 1.65;
}

.cf-feed-shell-simple .cf-post-stream .post-text.cf-feed-excerpt,
.cf-feed-shell-simple .cf-post-stream .post-text-translation.cf-feed-excerpt {
  display: block;
  text-align: left;
}

.cf-feed-shell-simple .cf-post-stream .post-replace .see-more,
.cf-feed-shell-simple .cf-post-stream .post-replace .js_readmore + a,
.cf-feed-shell-simple .cf-post-stream .post-replace .js_readmore + span {
  display: none !important;
}

.cf-feed-shell-simple .cf-post-stream .post-body > .mt10 {
  margin-top: 14px !important;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media > .mt10,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media > .mt10,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) > .mt10 {
  grid-area: media;
  width: 132px;
  margin-top: 0 !important;
}

.cf-feed-shell-simple .cf-post-stream .pg_wrapper,
.cf-feed-shell-simple .cf-post-stream .pg_1x {
  width: 100%;
}

.cf-feed-shell-simple .cf-post-stream .pg_1x a {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #f4efe6;
}

.cf-feed-shell-simple .cf-post-stream .pg_1x img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cf-feed-shell-simple .cf-post-stream .post-stats {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f0ebe3;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .post-stats,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .post-stats {
  grid-area: stats;
  margin-top: 0;
}

.cf-feed-shell-simple .cf-post-stream .post-stats .float-end {
  float: none !important;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.cf-feed-shell-simple .cf-post-stream .post-stats .pointer,
.cf-feed-shell-simple .cf-post-stream .post-stats span {
  color: #6f665b;
  font-size: 13px;
  font-weight: 600;
}

.cf-feed-shell-simple .cf-post-stream .post-stats .pointer:hover {
  color: #111111;
}

.cf-feed-shell-simple .cf-post-stream .post-stats i {
  color: #ffcc00;
  margin-right: 6px;
}

.cf-feed-shell-simple .cf-post-stream .post-stats span:has(.fa-share),
.cf-feed-shell-simple .cf-post-stream .post-stats span:has(.fa-eye),
.cf-feed-shell-simple .cf-post-stream .post-stats span:has(.fa-star) {
  display: none !important;
}

.cf-feed-shell-simple .cf-post-stream .post-actions {
  margin-top: 12px;
}

.cf-feed-shell-simple .cf-post-stream .cf-comment-preview,
.cf-view-feed .cf-post-stream .cf-comment-preview {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-left: 0;
  color: #5c6375;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.cf-feed-shell-simple .cf-post-stream .cf-comment-preview-avatars,
.cf-view-feed .cf-post-stream .cf-comment-preview-avatars {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.cf-feed-shell-simple .cf-post-stream .cf-comment-preview-avatar,
.cf-view-feed .cf-post-stream .cf-comment-preview-avatar {
  display: block;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #121c33;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(18, 28, 51, 0.08);
}

.cf-feed-shell-simple .cf-post-stream .cf-comment-preview-avatar + .cf-comment-preview-avatar,
.cf-view-feed .cf-post-stream .cf-comment-preview-avatar + .cf-comment-preview-avatar {
  margin-left: -7px;
}

.cf-feed-shell-simple .cf-post-stream .cf-comment-preview-time,
.cf-view-feed .cf-post-stream .cf-comment-preview-time {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
  color: #5c6375;
}

.cf-feed-shell-simple .cf-post-stream .cf-comment-preview-time .js_moment,
.cf-view-feed .cf-post-stream .cf-comment-preview-time .js_moment {
  color: inherit;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .post-actions,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .post-actions {
  grid-area: actions;
  margin-top: 0;
}

.cf-feed-shell-simple .cf-post-stream .posts-filter {
  margin-bottom: 16px;
  padding: 0 4px;
  color: #6e655b;
  font-size: 13px;
  font-weight: 700;
}

.cf-feed-shell-simple .cf-post-stream .posts-filter span {
  color: #111111;
}

.cf-side-stack-simple {
  gap: 14px;
}

.cf-community-card-simple {
  border-radius: 14px;
  box-shadow: none;
  border: 1px solid #ddd8cf;
}

.cf-community-card-simple .cf-community-card-cover img,
.cf-community-card-simple .cf-community-card-cover-placeholder {
  height: 116px;
}

.cf-community-card-simple .cf-community-card-body {
  padding: 16px;
}

.cf-community-card-simple h2 {
  font-size: 16px;
}

.cf-community-card-simple .cf-community-card-url {
  margin: 6px 0 10px;
}

.cf-community-card-simple p {
  margin: 0 0 14px;
  font-size: 13px;
}

.cf-community-card-simple .cf-community-card-stats {
  margin-bottom: 14px;
  padding: 12px 0 14px;
}

.cf-member-preview {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.cf-member-preview img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  margin-right: -7px;
  box-shadow: 0 1px 3px rgba(17, 17, 17, 0.08);
}

.cf-sidebar-cta-soft {
  background: #ffffff;
  border-color: #f1c9b4;
  color: #8d5f43;
}

.cf-sidebar-cta-soft:hover {
  background: #fff8f3;
  color: #774f36;
}

.cf-status-panel {
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid #ddd8cf;
  box-shadow: none;
}

.cf-status-panel h3 {
  margin: 0 0 14px;
  color: #111111;
  font-size: 18px;
  line-height: 1.1;
}

.cf-status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cf-status-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #5c554d;
  font-size: 13px;
}

.cf-status-list strong {
  color: #111111;
  font-size: 13px;
}

.cf-status-list span,
.cf-status-list a {
  color: #6d665d;
  text-decoration: none;
  text-align: right;
}

.cf-status-list a:hover {
  color: #111111;
}

.cf-compose-open {
  overflow: hidden;
}

.cf-compose-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
}

.cf-compose-overlay.is-open {
  display: block;
}

.cf-compose-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.48);
  backdrop-filter: blur(4px);
}

.cf-compose-modal {
  position: relative;
  z-index: 1;
  width: min(770px, calc(100vw - 32px));
  max-height: calc(100vh - 56px);
  margin: 28px auto;
  overflow-y: auto;
  border-radius: 16px;
  border: 1px solid #ddd8cf;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(17, 17, 17, 0.24);
}

.cf-compose-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 16px 8px;
}

.cf-compose-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cf-compose-author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: #f4f1eb;
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}

.cf-compose-author-name {
  color: #111111;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.cf-compose-author-meta {
  color: #756d63;
  font-size: 13px;
  line-height: 1.4;
}

.cf-compose-close,
.cf-compose-panel-close {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #f5f2ed;
  color: #6b655d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.cf-compose-close:hover,
.cf-compose-panel-close:hover {
  background: #ece6dd;
  color: #111111;
}

.cf-compose-form {
  padding: 0 16px 8px;
}

.cf-compose-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #f1df9d;
  background: #fff8db;
  color: #6d5200;
  font-size: 14px;
  line-height: 1.5;
}

.cf-compose-alert.is-warning {
  border-color: #f4d0bc;
  background: #fff5ef;
  color: #8d5f43;
}

.cf-compose-field + .cf-compose-field {
  margin-top: 12px;
}

.cf-compose-label {
  display: block;
  margin-bottom: 6px;
  color: #90867a;
  font-size: 14px;
  font-weight: 700;
}

.cf-compose-title-input,
.cf-compose-textarea,
.cf-compose-inline-input,
.cf-compose-select {
  width: 100%;
  border: 1px solid #ddd8cf;
  border-radius: 16px;
  background: #ffffff;
  color: #111111;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.cf-compose-title-input:focus,
.cf-compose-textarea:focus,
.cf-compose-inline-input:focus,
.cf-compose-select:focus {
  outline: none;
  border-color: #ffcc00;
  box-shadow: 0 0 0 4px rgba(230, 181, 65, 0.16);
}

.cf-compose-title-input {
  padding: 10px 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.cf-compose-title-input::placeholder {
  color: #a89f94;
}

.cf-compose-textarea {
  min-height: 116px;
  resize: vertical;
  padding: 8px 0 0;
  font-size: 15px;
  line-height: 1.6;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.cf-compose-panel {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #ece6dd;
  border-radius: 14px;
  background: #faf8f4;
}

.cf-compose-panel.is-hidden {
  display: none;
}

.cf-compose-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.cf-compose-panel-head h3 {
  margin: 0;
  color: #111111;
  font-size: 16px;
  font-weight: 700;
}

.cf-compose-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.cf-compose-inline-input {
  min-height: 46px;
  padding: 0 15px;
  font-size: 14px;
}

.cf-compose-inline-button {
  min-height: 46px;
  border: none;
  border-radius: 14px;
  padding: 0 18px;
  background: #111111;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cf-compose-inline-button:hover {
  background: #222222;
  transform: translateY(-1px);
}

.cf-compose-inline-button-light {
  margin-top: 12px;
  background: #ffffff;
  color: #111111;
  border: 1px solid #ddd8cf;
}

.cf-compose-inline-button-light:hover {
  background: #f6f2ec;
}

.cf-compose-link-preview {
  margin-top: 14px;
}

.cf-compose-link-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid #ddd8cf;
  background: #ffffff;
}

.cf-compose-link-thumb img {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  object-fit: cover;
}

.cf-compose-link-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cf-compose-link-copy strong {
  color: #111111;
  font-size: 15px;
  line-height: 1.4;
}

.cf-compose-link-copy span,
.cf-compose-link-copy small {
  color: #7c746b;
  font-size: 13px;
  line-height: 1.5;
}

.cf-compose-poll-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cf-compose-emoji-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.cf-compose-emoji {
  min-height: 48px;
  border: 1px solid #ddd8cf;
  border-radius: 14px;
  background: #ffffff;
  font-size: 24px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.cf-compose-emoji:hover {
  transform: translateY(-1px);
  border-color: #ffcc00;
}

.cf-compose-upload-note {
  color: #6f675e;
  font-size: 14px;
  line-height: 1.6;
}

.cf-compose-media {
  display: none;
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #ece6dd;
  background: #faf8f4;
}

.cf-compose-media.is-active {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cf-compose-media-title {
  margin-bottom: 10px;
  color: #5f584f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cf-compose-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cf-compose-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 8px 6px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #ddd8cf;
  color: #111111;
  font-size: 13px;
  line-height: 1.3;
}

.cf-compose-chip button {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: #f1ede7;
  color: #6b655d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cf-compose-empty-inline {
  color: #958b7e;
  font-size: 13px;
  line-height: 1.5;
}

.cf-compose-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #ece6dd;
}

.cf-compose-tools,
.cf-compose-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cf-compose-tool {
  min-width: 42px;
  height: 42px;
  border: 1px solid #ddd8cf;
  border-radius: 999px;
  background: #ffffff;
  color: #6f675e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 700;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.cf-compose-tool:hover {
  border-color: #ffcc00;
  color: #111111;
  transform: translateY(-1px);
}

.cf-compose-tool span {
  font-size: 13px;
  letter-spacing: 0.03em;
}

.cf-compose-select-wrap {
  position: relative;
  min-width: 194px;
}

.cf-compose-select {
  min-height: 42px;
  padding: 0 42px 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: #5f584f;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #6f675e 50%),
    linear-gradient(135deg, #6f675e 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 2px),
    calc(100% - 14px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.cf-compose-action {
  min-width: 108px;
  min-height: 42px;
  border: none;
  border-radius: 14px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.cf-compose-action:hover {
  transform: translateY(-1px);
}

.cf-compose-action-muted {
  background: transparent;
  color: #8a8176;
}

.cf-compose-action-primary {
  background: #111111;
  color: #ffffff;
}

.cf-compose-action-primary:hover {
  background: #242424;
}

.cf-compose-action:disabled,
.cf-compose-inline-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.cf-compose-email-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 8px;
}

.cf-compose-email-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7b7268;
  font-size: 13px;
  font-weight: 600;
}

.cf-compose-switch {
  position: relative;
  width: 52px;
  height: 30px;
  flex-shrink: 0;
}

.cf-compose-switch input {
  position: absolute;
  opacity: 0;
  inset: 0;
}

.cf-compose-switch-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #ddd8cf;
  transition: background 0.18s ease;
}

.cf-compose-switch-slider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(17, 17, 17, 0.18);
  transition: transform 0.18s ease;
}

.cf-compose-switch input:checked + .cf-compose-switch-slider {
  background: #ffcc00;
}

.cf-compose-switch input:checked + .cf-compose-switch-slider::before {
  transform: translateX(22px);
}

@media (max-width: 820px) {
  .cf-compose-modal {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    margin: 10px auto;
    border-radius: 14px;
  }

  .cf-compose-header,
  .cf-compose-form {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cf-compose-title-input {
    font-size: 18px;
  }

  .cf-compose-media.is-active,
  .cf-compose-toolbar,
  .cf-compose-link-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cf-compose-toolbar {
    gap: 14px;
  }

  .cf-compose-tools,
  .cf-compose-actions {
    width: 100%;
  }

  .cf-compose-action,
  .cf-compose-select-wrap {
    flex: 1 1 100%;
    width: 100%;
  }

  .cf-compose-email-row {
    justify-content: space-between;
  }
}

@media (max-width: 560px) {
  .cf-compose-emoji-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cf-compose-textarea {
    min-height: 108px;
  }
}

/* ================================================================
   CLASSROOM (Course Creation + Feed)
   ================================================================ */
.hc-classroom,
.hc-community-settings,
.hc-course-view,
.hc-builder-page {
  --hc-classroom-text: #111111;
  --hc-classroom-muted: #69707d;
  --hc-classroom-border: #e8e8e8;
  --hc-classroom-panel: #fbfaf7;
  --hc-classroom-yellow: #ffcc00;
  --hc-classroom-yellow-dark: #cd9c2f;
  --hc-classroom-green: #1f9d41;
}

.hc-classroom {
  display: flex;
  flex-direction: column;
  gap: 28px;
  color: var(--hc-classroom-text);
}

.hc-classroom-shell {
  padding: 18px 28px 28px;
  background: #ffffff;
}

.hc-classroom-top {
  position: sticky;
  top: 60px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  padding-bottom: 6px;
}

.hc-classroom-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid var(--hc-classroom-border);
  padding-bottom: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.hc-classroom-nav::-webkit-scrollbar {
  display: none;
}

.hc-classroom-nav-link {
  color: var(--hc-classroom-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 0 12px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hc-classroom-nav-link.active {
  color: var(--hc-classroom-text);
  border-color: var(--hc-classroom-text);
  font-weight: 800;
}

.hc-classroom-nav-link.muted {
  color: #a1a6b0;
  cursor: not-allowed;
}

.hc-classroom-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
}

.hc-classroom-hero-copy {
  max-width: 620px;
}

.hc-classroom-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--hc-classroom-text);
}

.hc-classroom-hero p {
  margin: 8px 0 0;
  color: var(--hc-classroom-muted);
  font-size: 17px;
  line-height: 1.6;
}

.hc-classroom-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hc-classroom-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hc-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.hc-section-heading h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--hc-classroom-text);
}

.hc-section-heading p {
  margin: 6px 0 0;
  max-width: 720px;
  color: var(--hc-classroom-muted);
  font-size: 15px;
  line-height: 1.6;
}

.hc-classroom-empty-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.hc-admin-panel {
  border: 1px solid var(--hc-classroom-border);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, var(--hc-classroom-panel) 100%);
  padding: 24px;
  display: none;
  box-shadow: 0 20px 44px rgba(17, 17, 17, 0.06);
}

.hc-admin-panel.open {
  display: block;
}

.hc-admin-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.hc-admin-panel-head h2 {
  margin: 0 0 6px;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--hc-classroom-text);
}

.hc-admin-panel-head p {
  margin: 0;
  max-width: 720px;
  color: var(--hc-classroom-muted);
  font-size: 14px;
  line-height: 1.6;
}

.hc-admin-close {
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #ffffff;
  color: #7f8593;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.08);
}

.hc-builder-form,
.hc-payment-settings-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hc-builder-card {
  border: 1px solid var(--hc-classroom-border);
  border-radius: 18px;
  padding: 20px;
  background: #ffffff;
}

.hc-builder-card h2,
.hc-builder-card h3 {
  margin: 0 0 8px;
  color: var(--hc-classroom-text);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hc-builder-card p {
  margin: 0 0 14px;
  color: var(--hc-classroom-muted);
  font-size: 14px;
  line-height: 1.6;
}

.hc-builder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hc-builder-form label,
.hc-payment-settings-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #303744;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hc-builder-form input,
.hc-builder-form select,
.hc-builder-form textarea,
.hc-payment-settings-form input,
.hc-payment-settings-form textarea {
  min-height: 50px;
  border: 1px solid #d8dde6;
  border-radius: 14px;
  font-size: 14px;
  color: var(--hc-classroom-text);
  padding: 12px 14px;
  outline: none;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hc-builder-form textarea,
.hc-payment-settings-form textarea {
  min-height: 120px;
  resize: vertical;
}

.hc-builder-form input:focus,
.hc-builder-form select:focus,
.hc-builder-form textarea:focus,
.hc-payment-settings-form input:focus,
.hc-payment-settings-form textarea:focus {
  border-color: var(--hc-classroom-yellow);
  box-shadow: 0 0 0 4px rgba(230, 181, 65, 0.16);
}

.hc-builder-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.hc-curriculum-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hc-curriculum-row {
  border: 1px solid #eceef3;
  border-radius: 16px;
  padding: 16px;
  background: #fafbfc;
}

.hc-rte {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  min-height: 180px;
  border: 1px solid #ddd3bf;
  border-radius: 16px;
  overflow: hidden;
  background: #fffefb;
}

.hc-rte:focus-within {
  border-color: #c5b89e;
  box-shadow: 0 0 0 3px rgba(221, 211, 191, 0.25);
}

.hc-rte-toolbar {
  display: flex;
  flex-shrink: 0;
  gap: 2px;
  padding: 6px 10px;
  border-bottom: 1px solid #e8dfd0;
  background: transparent;
}

.hc-rte-button {
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #7a6e5f;
  min-width: 30px;
  min-height: 28px;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  outline: none;
}

.hc-rte-button:hover {
  background: #ede8df;
  color: #3a2f1e;
}

.hc-rte-button.is-active {
  background: #e6ddd0;
  color: #3a2f1e;
}

.hc-rte-editor {
  flex: 1;
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 130px;
  border: none;
  font-size: 14px;
  color: var(--hc-classroom-text);
  padding: 14px 16px;
  outline: none;
  background: transparent;
  line-height: 1.65;
  cursor: text;
  word-break: break-word;
  overflow-y: auto;
}

.hc-rte-editor[data-empty="1"]::before {
  content: attr(data-placeholder);
  color: #b8ae9e;
  pointer-events: none;
  display: block;
}

.hc-rte-input {
  flex: 1;
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 130px;
  border: none;
  border-top: 1px solid #e8dfd0;
  border-radius: 0;
  padding: 14px 16px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  background: transparent;
}

.hc-rte-footer {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-end;
  min-height: 24px;
  padding: 2px 12px;
  border-top: 1px solid #e8dfd0;
}

.hc-rte-button.is-active {
  background: #edf0f8;
  color: #1a2035;
}

.hc-rte-color-wrap {
  position: relative;
  display: inline-flex;
  align-items: stretch;
}

.hc-rte-color-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0 10px;
}

.hc-rte-color-bar {
  display: block;
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: #000;
}

.js-hc-rte-color-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  border: 0;
  padding: 0;
}

.hc-rte-autosave {
  font-size: 11px;
  font-weight: 500;
  color: #99a1b2;
  transition: color 0.2s ease;
}

.hc-rte-autosave.is-saving {
  color: #99a1b2;
}

.hc-rte-autosave.is-saved {
  color: #34a853;
}

.hc-rte-autosave.is-error {
  color: #d93025;
}

@media (max-width: 640px) {
  .hc-rte-toolbar {
    gap: 0;
  }
  .hc-rte-button {
    min-width: 36px;
    min-height: 38px;
    padding: 0 8px;
    font-size: 13px;
  }
  .hc-rte-color-btn {
    padding: 0 8px;
  }
}

.hc-check-inline {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
  color: #596070 !important;
  font-size: 13px !important;
  margin-top: 8px;
}

.hc-check-inline input {
  width: auto;
  margin: 0;
}

.hc-curriculum-remove {
  border: none;
  background: transparent;
  color: #ce2f2f;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 12px;
  padding: 0;
}

.hc-builder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hc-builder-empty {
  border: 1px dashed #d7dbe4;
  border-radius: 18px;
  padding: 34px 24px;
  text-align: center;
  background: #ffffff;
}

.hc-builder-empty.is-hidden {
  display: none;
}

.hc-builder-empty-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #eef0f4;
  color: #5d6472;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 12px;
}

.hc-classroom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.hc-course-card {
  border: 1px solid var(--hc-classroom-border);
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.hc-course-card:hover {
  transform: translateY(-4px);
  border-color: #dcdcdc;
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.1);
}

.hc-course-cover {
  display: block;
  position: relative;
  height: 188px;
  background: #f2f2f2;
}

.hc-course-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hc-course-level {
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(17, 17, 17, 0.08);
  color: #1a1d24;
  font-size: 11px;
  padding: 6px 10px;
  font-weight: 800;
}

.hc-course-status {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 800;
  border-radius: 99px;
  padding: 6px 10px;
}

.hc-course-status-purchased {
  background: #e9f9ef;
  color: var(--hc-classroom-green);
}

.hc-course-status-pending {
  background: #fff7e6;
  color: #a26b00;
}

.hc-course-status-unpaid {
  background: rgba(16, 18, 24, 0.78);
  color: #ffffff;
}

.hc-course-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.hc-course-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hc-classroom-text);
  text-decoration: none;
}

.hc-course-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--hc-classroom-muted);
  min-height: 72px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hc-course-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.hc-course-meta-item {
  padding: 10px 12px;
  border-radius: 14px;
  background: #f6f7f9;
}

.hc-course-meta-item dt {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #858c98;
}

.hc-course-meta-item dd {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #232833;
  font-weight: 700;
}

.hc-course-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.hc-course-price {
  color: var(--hc-classroom-text);
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
}

.hc-course-price-free {
  color: var(--hc-classroom-green);
  font-weight: 800;
}

.hc-course-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.hc-course-actions .hc-course-btn {
  width: 100%;
  justify-content: center;
}

.hc-classroom-payment,
.hc-classroom-approvals {
  scroll-margin-top: 132px;
}

.hc-payment-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 20px;
}

.hc-payment-grid-admin {
  grid-template-columns: minmax(0, 1fr);
}

.hc-payment-card {
  border: 1px solid var(--hc-classroom-border);
  border-radius: 22px;
  background: #ffffff;
  padding: 22px;
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.04);
}

.hc-payment-card-head {
  margin-bottom: 16px;
}

.hc-payment-card-head h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--hc-classroom-text);
}

.hc-payment-card-head p,
.hc-payment-admin-hint p,
.hc-payment-form-empty span {
  margin: 0;
  color: var(--hc-classroom-muted);
  font-size: 14px;
  line-height: 1.7;
}

.hc-payment-admin-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}

.hc-payment-course-summary,
.hc-payment-form-empty {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid #eceef3;
  border-radius: 16px;
  background: #f8f9fb;
  margin-bottom: 16px;
}

.hc-payment-course-summary strong,
.hc-payment-form-empty strong {
  font-size: 15px;
  color: var(--hc-classroom-text);
}

.hc-payment-course-summary span {
  color: var(--hc-classroom-muted);
  font-size: 14px;
  line-height: 1.7;
}

.hc-approvals-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hc-approval-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--hc-classroom-border);
  border-radius: 22px;
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.04);
}

.hc-approval-card-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  flex: 1;
}

.hc-approval-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hc-approval-user img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.hc-approval-user strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
  color: var(--hc-classroom-text);
}

.hc-approval-user span {
  display: block;
  margin-top: 4px;
  color: var(--hc-classroom-muted);
  font-size: 13px;
}

.hc-approval-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hc-approval-meta div {
  padding: 14px;
  border-radius: 16px;
  background: #f7f8fa;
}

.hc-approval-meta label {
  display: block;
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #848c98;
}

.hc-approval-meta span,
.hc-approval-meta a {
  font-size: 14px;
  line-height: 1.7;
  color: #1f2530;
  text-decoration: none;
  word-break: break-word;
}

.hc-approval-meta a {
  color: #2754db;
  font-weight: 700;
}

.hc-approval-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.hc-approvals-empty {
  padding-top: 34px;
  padding-bottom: 34px;
}

.hc-course-btn {
  border: 1px solid #e0dedd;
  background: #fff;
  color: #1a1a1a;
  border-radius: 999px;
  min-height: 42px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hc-course-btn:disabled {
  opacity: .65;
  cursor: not-allowed;
}

.hc-course-btn-dark {
  background: #111111;
  border-color: #111111;
  color: #fff;
}

.hc-course-btn-dark:hover {
  background: #222222;
  color: #fff;
  transform: translateY(-1px);
}

.hc-course-btn-light {
  background: #f5f6f8;
  border-color: #dfe2ea;
  color: #202531;
}

.hc-course-btn-yellow {
  background: var(--hc-classroom-yellow);
  border-color: var(--hc-classroom-yellow);
  color: #111111;
}

.hc-course-btn-yellow:hover {
  background: var(--hc-classroom-yellow-dark);
  border-color: var(--hc-classroom-yellow-dark);
}

.hc-course-btn-danger {
  border-color: #e53e3e;
  color: #e53e3e;
}

.hc-course-btn-danger:hover {
  background: #fff5f5;
}

.hc-classroom-empty {
  border: 1px solid var(--hc-classroom-border);
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #fcfbf9 100%);
}

.hc-classroom-empty h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--hc-classroom-text);
}

.hc-classroom-empty p {
  margin: 0;
  font-size: 14px;
  color: var(--hc-classroom-muted);
  line-height: 1.7;
}

.hc-modal {
  position: fixed;
  inset: 0;
  z-index: 650;
  background: rgba(0,0,0,.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.hc-modal.open {
  display: flex;
}

.hc-modal-card {
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow: auto;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--hc-classroom-border);
  padding: 24px;
  position: relative;
  box-shadow: 0 26px 60px rgba(17, 17, 17, 0.2);
}

.hc-modal-card h3 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--hc-classroom-text);
}

.hc-modal-note {
  margin: 0 0 12px;
  color: var(--hc-classroom-muted);
  font-size: 14px;
  line-height: 1.7;
}

.hc-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: #888;
  cursor: pointer;
}

.hc-bank-details {
  border: 1px dashed #d4d8e2;
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: #2f3545;
  font-size: 14px;
  background: #fafbfc;
}

.hc-enroll-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hc-enroll-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #3b4250;
  font-weight: 700;
}

.hc-enroll-form input,
.hc-enroll-form textarea {
  min-height: 50px;
  border: 1px solid #dfe2ea;
  border-radius: 14px;
  padding: 12px 14px;
}

.hc-enroll-form textarea {
  min-height: 120px;
  resize: vertical;
}

.hc-pending-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hc-pending-item {
  border: 1px solid #f0eeeb;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
}

.hc-pending-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hc-pending-user img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.hc-pending-user strong {
  display: block;
  font-size: 14px;
  color: #1a1a1a;
}

.hc-pending-user span,
.hc-pending-user small {
  font-size: 12px;
  color: #6b7280;
  display: block;
}

.hc-pending-user a {
  font-size: 12px;
  color: #1e4ddb;
  text-decoration: none;
  font-weight: 700;
}

.hc-pending-empty {
  margin: 0;
  font-size: 14px;
  color: var(--hc-classroom-muted);
}

.hc-course-view,
.hc-builder-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hc-course-view-header,
.hc-builder-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.hc-course-back {
  color: #202531;
  text-decoration: none;
  font-weight: 700;
}

.hc-course-view-header .hc-course-btn,
.hc-builder-header .hc-course-btn {
  white-space: nowrap;
}

.hc-builder-header p {
  margin: 4px 0 0;
  color: var(--hc-classroom-muted);
  font-size: 14px;
}

.hc-builder-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hc-course-hero-card {
  border: 1px solid var(--hc-classroom-border);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.05);
}

.hc-course-hero-cover {
  height: 320px;
}

.hc-course-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hc-course-hero-content {
  padding: 28px;
}

.hc-course-hero-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.hc-course-hero-tags span {
  background: #f1f3f7;
  color: #353c4d;
  font-size: 12px;
  border-radius: 999px;
  padding: 6px 11px;
  font-weight: 700;
}

.hc-course-hero-content h1 {
  margin: 0 0 10px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--hc-classroom-text);
}

.hc-course-hero-content p {
  margin: 0;
  color: #5e6575;
  font-size: 18px;
  line-height: 1.55;
}

.hc-course-hero-meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 22px;
}

.hc-course-hero-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--hc-classroom-text);
}

.hc-course-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.hc-course-detail-grid div {
  padding: 14px;
  border-radius: 16px;
  background: #f7f8fa;
}

.hc-course-detail-grid dt {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #848c98;
}

.hc-course-detail-grid dd {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: #1f2530;
  font-weight: 700;
}

.hc-course-curriculum-view,
.hc-course-enroll-box {
  border: 1px solid var(--hc-classroom-border);
  border-radius: 24px;
  background: #fff;
  padding: 24px;
}

.hc-course-curriculum-view h2,
.hc-course-enroll-box h2 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--hc-classroom-text);
}

.hc-course-curriculum-view h3 {
  margin: 18px 0 10px;
  font-size: 18px;
  line-height: 1.2;
  color: var(--hc-classroom-text);
}

.hc-course-curriculum-item {
  border: 1px solid #eceff3;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 10px;
  background: #fff;
}

.hc-course-curriculum-item strong {
  color: #14181f;
  font-size: 15px;
}

.hc-course-curriculum-item span {
  display: inline-block;
  margin-left: 8px;
  background: #fff7e6;
  color: #a26b00;
  border-radius: 999px;
  font-size: 11px;
  padding: 2px 7px;
}

.hc-course-curriculum-item p {
  margin: 8px 0 0;
  color: #61697a;
  line-height: 1.7;
}

.hc-course-curriculum-item a,
.hc-course-proof-link {
  color: #2754db;
  text-decoration: none;
  font-weight: 700;
}

.hc-course-enroll-box p {
  margin: 0 0 12px;
  color: var(--hc-classroom-muted);
  font-size: 15px;
  line-height: 1.7;
}

.hc-course-inline-note {
  color: #6d7482;
  margin: 0;
}

.hc-course-pending-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 260px;
  text-align: center;
  padding: 12px;
}

.hc-course-pending-state h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--hc-classroom-text);
}

.hc-course-pending-state p {
  max-width: 460px;
  margin: 0;
}

.hc-course-pending-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f1f3f7;
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
}

.hc-community-settings {
  margin-top: 28px;
}

.hc-settings-card {
  border: 1px solid var(--hc-classroom-border);
  border-radius: 22px;
  padding: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
  box-shadow: 0 18px 38px rgba(17, 17, 17, 0.05);
}

.hc-settings-card-head {
  margin-bottom: 18px;
}

.hc-settings-card-head h3 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--hc-classroom-text);
}

.hc-settings-card-head p,
.hc-settings-card-foot p {
  margin: 0;
  color: var(--hc-classroom-muted);
  font-size: 14px;
  line-height: 1.7;
}

.hc-settings-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .cf-content-grid,
  .cf-content-grid.has-left-rail {
    grid-template-columns: minmax(0, 1fr);
  }

  .cf-content-left .cf-side-panel,
  .cf-content-sidebar .cf-side-panel {
    position: static;
  }

  .cf-side-panel {
    border: 1px solid #ece7da;
    border-radius: 18px;
    background: #ffffff;
    overflow: hidden;
  }

  .cf-side-panel > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    color: #111111;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
  }

  .cf-side-panel > summary::-webkit-details-marker {
    display: none;
  }

  .cf-side-panel > summary::after {
    content: "+";
    color: #7d756b;
    font-size: 18px;
    line-height: 1;
  }

  .cf-side-panel[open] > summary::after {
    content: "-";
  }

  .cf-side-panel:not([open]) > :not(summary) {
    display: none;
  }
}

@media (max-width: 900px) {
  .cf-layout { flex-direction: column; }
  .cf-sidebar { width: 100%; position: static; }
  .cf-nav-search { max-width: 200px; }
  .cf-nav-brand-name { max-width: 120px; }
  .cf-content-grid-simple { grid-template-columns: 1fr; }
  .cf-content-grid-simple .cf-content-sidebar { display: none; }
  .cf-feed-note { justify-content: flex-start; }
  .cf-feed-shell-simple .cf-post-stream .post-body,
  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media,
  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media,
  .cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .cf-feed-shell-simple .cf-post-stream .post-body > .mt10,
  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media > .mt10,
  .cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) > .mt10 {
    width: 100%;
    margin-top: 0 !important;
  }
  .cf-feed-shell-simple .cf-post-stream .pg_1x a {
    width: min(180px, 100%);
  }
  .cf-discovery-hero { padding: 24px 20px; }
  .cf-discovery-hero h1 { font-size: 42px; }
  .cf-discovery-search { max-width: none; }
  .cf-composer,
  .cf-feed-toolbar,
  .cf-auth-actions { flex-direction: column; align-items: stretch; }
  .cf-composer-live,
  .cf-auth-actions .cf-sidebar-cta { width: 100%; }
  .hc-classroom-shell { padding: 18px 16px; }
  .hc-classroom-hero { flex-direction: column; }
  .hc-classroom-hero h1 { font-size: 34px; }
  .hc-admin-panel,
  .hc-settings-card { padding: 20px; }
  .hc-payment-grid,
  .hc-approval-meta { grid-template-columns: 1fr; }
  .hc-approval-card { flex-direction: column; }
  .hc-approval-actions { flex-direction: row; flex-wrap: wrap; }
  .hc-classroom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hc-course-title { font-size: 22px; }
  .hc-course-hero-content h1 { font-size: 38px; }
  .hc-course-hero-cover { height: 250px; }
  .hc-course-detail-grid { grid-template-columns: 1fr; }
  .hc-settings-card-foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .cf-nav { padding: 0 12px; }
  .cf-page { padding: 16px 12px; }
  .cf-tabs-inner { padding: 0 12px; }
  .cf-tab { padding: 12px 12px 10px; }
  .cf-nav-search { display: none; }
  .cf-feed-note { font-size: 14px; }
  .cf-feed-shell-simple .cf-feed-toolbar-link { width: 100%; }
  .cf-feed-shell-simple .cf-post-stream .post { border-radius: 16px; }
  .cf-feed-shell-simple .cf-post-stream .post-body,
  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media,
  .cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) { padding: 16px; }
  .cf-feed-shell-simple .cf-post-stream .post-author { font-size: 16px; }
  .cf-feed-shell-simple .cf-post-stream .post-text,
  .cf-feed-shell-simple .cf-post-stream .post-text-translation { font-size: 14px; line-height: 1.7; }
  .cf-feed-shell-simple .cf-post-stream .post-stats { margin-top: 0; padding-top: 12px; }
  .cf-feed-shell-simple .cf-post-stream .post-stats .float-end { gap: 12px; }
  .cf-member-preview img { width: 26px; height: 26px; }
  .cf-discovery-hero { padding: 22px 18px; border-radius: 18px; }
  .cf-discovery-hero h1 { font-size: 34px; }
  .cf-discovery-hero p { font-size: 16px; }
  .cf-discovery-search { flex-direction: column; }
  .cf-discovery-search-btn { width: 100%; }
  .cf-discovery-categories { justify-content: flex-start; }
  .cf-checklist-card,
  .cf-auth-card,
  .cf-community-card-body,
  .cf-suggested-card,
  .cf-build-card { padding: 18px; }
  .cf-upload-card-body { padding: 24px 18px 18px; }
  .cf-community-card-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .cf-pending-alert { padding: 12px 14px; }
  .hc-classroom-shell { padding: 16px; }
  .hc-classroom-grid { grid-template-columns: 1fr; }
  .hc-builder-grid { grid-template-columns: 1fr; }
  .hc-classroom-nav { gap: 14px; }
  .hc-section-heading,
  .hc-builder-title-row,
  .hc-admin-panel-head { flex-direction: column; align-items: flex-start; }
  .hc-classroom-hero-actions,
  .hc-builder-header-actions,
  .hc-approval-actions { width: 100%; }
  .hc-classroom-hero-actions .hc-course-btn,
  .hc-builder-actions .hc-course-btn,
  .hc-builder-header-actions .hc-course-btn,
  .hc-course-actions .hc-course-btn,
  .hc-settings-card-foot .hc-course-btn,
  .hc-approval-actions .hc-course-btn { width: 100%; }
  .hc-classroom-hero h1 { font-size: 30px; }
  .hc-classroom-hero-metrics strong {
    font-size: clamp(18px, 5.7vw, 28px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    white-space: nowrap;
  }
  .hc-classroom-hero-metrics span {
    font-size: 12px;
  }
  .hc-course-hero-cover { height: 190px; }
  .hc-course-hero-content h1 { font-size: 30px; }
  .hc-course-hero-content p { font-size: 16px; }
  .hc-builder-header,
  .hc-course-view-header,
  .hc-pending-item { flex-direction: column; align-items: flex-start; }
  .hc-payment-card,
  .hc-approval-card { padding: 18px; }
  .hc-course-meta { grid-template-columns: 1fr; }
  .hc-course-title { font-size: 20px; }
  .hc-course-hero-content { padding: 20px; }
  .hc-course-curriculum-view,
  .hc-course-enroll-box,
  .hc-modal-card { padding: 18px; }
  .hc-course-pending-state { min-height: 220px; }
}

/* ================================================================
   SINGLE POST FEED + OVERLAY
   ================================================================ */
.cf-feed-shell-simple .cf-post-stream .post.cf-feed-card {
  position: relative;
  overflow: visible;
}

.cf-feed-shell-simple .cf-post-stream .post-header {
  align-items: start;
  gap: 0;
}

.cf-feed-card-actions,
.cf-overlay-post-actions {
  position: relative;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cf-feed-card-menu-button {
  width: 38px;
  height: 38px;
  border: 1px solid #ebe4d3;
  border-radius: 50%;
  background: #ffffff;
  color: #5d5547;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cf-feed-card-menu-button:hover {
  border-color: #e0b63b;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.08);
  color: #111111;
  transform: translateY(-1px);
}

.cf-feed-card-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  border: 1px solid #ece4d6;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 44px rgba(17, 17, 17, 0.14);
  padding: 10px;
  z-index: 30;
}

.cf-feed-card-menu button {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #151515;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 12px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.cf-feed-card-menu button:hover {
  background: #fff7dd;
  color: #111111;
}

.cf-feed-card-menu button.is-danger {
  color: #e03a2f;
}

.cf-feed-card-menu button.is-danger:hover {
  background: #fff1ef;
  color: #d12d21;
}

.cf-feed-shell-simple .cf-post-stream .post.is-pinned {
  border-color: rgba(228, 181, 55, 0.82);
  box-shadow: 0 18px 38px rgba(228, 181, 55, 0.18);
}

.cf-feed-shell-simple .cf-post-stream .post.is-pinned::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  pointer-events: none;
  border: 1px solid rgba(228, 181, 55, 0.35);
}

.cf-feed-shell-simple .cf-post-stream .post-author,
.cf-overlay-post-author-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cf-feed-shell-simple .cf-post-stream .post-author::after,
.cf-overlay-post-author-name::after {
  content: "★";
  font-size: 14px;
  line-height: 1;
  color: #d39c00;
}

.cf-feed-shell-simple .cf-post-stream .post-header .post-time {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cf-feed-shell-simple .cf-post-stream .post-header .post-time a,
.cf-feed-shell-simple .cf-post-stream .post-header .post-time .js_moment {
  color: #8d8373;
  font-size: 13px;
  font-weight: 600;
}

.cf-feed-shell-simple .cf-post-stream .post-header .post-time::after,
.cf-overlay-post-meta-row span:first-child::after {
  content: "";
}

.cf-feed-shell-simple .cf-post-stream .post-header .post-time {
  color: #8d8373;
}

.cf-feed-shell-simple .cf-post-stream .post-header .post-time i {
  color: #b59022;
}

.cf-feed-shell-simple .cf-post-stream .post-header .post-time,
.cf-overlay-post-meta-row {
  font-size: 13px;
}

.cf-feed-shell-simple .cf-post-stream .post-title {
  margin: 0;
}

.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) {
  grid-template-columns: minmax(0, 1fr) 0px;
  align-items: start;
}

.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) > .mt10 {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media > :not(.mt10),
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) > :not(.mt10) {
  grid-column: 1;
}

.cf-feed-shell-simple .cf-post-stream .pg_1x a,
.cf-feed-shell-simple .cf-post-stream .pg_2x a,
.cf-feed-shell-simple .cf-post-stream .pg_3x a {
  width: 132px;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #ece4d6;
  background: #f5f2ea;
}

.cf-feed-shell-simple .cf-post-stream .pg_1x img,
.cf-feed-shell-simple .cf-post-stream .pg_2x img,
.cf-feed-shell-simple .cf-post-stream .pg_3x img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cf-feed-shell-simple .cf-post-stream .post-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.cf-feed-shell-simple .cf-post-stream .post-stats .float-start,
.cf-feed-shell-simple .cf-post-stream .post-stats .float-end {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  float: none !important;
  margin: 0 !important;
}

.cf-feed-shell-simple .cf-post-stream .post-stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #776d5f;
  font-size: 13px;
  font-weight: 700;
}

.cf-feed-shell-simple .cf-post-stream .post-stats img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  margin-left: -8px;
  box-shadow: 0 3px 8px rgba(17, 17, 17, 0.12);
}

.cf-feed-shell-simple .cf-post-stream .post-stats img:first-child {
  margin-left: 0;
}

.cf-feed-hidden-control {
  display: none !important;
}

.cf-feed-shell-simple .cf-post-stream .post-header .dropdown-toggle:not(.cf-feed-card-menu-button):not(.js_moment),
.cf-feed-shell-simple .cf-post-stream .post-header .post-menu,
.cf-feed-shell-simple .cf-post-stream .post-header .dropdown:not(.cf-feed-card-actions) {
  display: none !important;
}

.cf-feed-shell-simple .cf-post-stream .post-meta > .js_user-popover {
  display: inline-flex;
  align-items: center;
}

.cf-feed-shell-simple .cf-post-stream .post-header .post-time {
  margin-top: 0;
}

.cf-feed-card-heading {
  margin: 2px 0 12px;
  color: #121212;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .cf-feed-card-heading,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .cf-feed-card-heading {
  grid-column: 1;
  margin-top: 4px;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .post-replace,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .post-replace {
  grid-column: 1;
}

.cf-post-overlay-open {
  overflow: hidden;
}

.cf-post-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: none;
  padding: 24px 12px;
}

.cf-post-overlay.is-open {
  display: block;
}

.cf-post-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 16, 0.58);
  backdrop-filter: blur(2px);
}

.cf-post-overlay-modal {
  position: relative;
  width: min(860px, 100%);
  margin: 0 auto;
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(231, 222, 208, 0.95);
  background: #ffffff;
  box-shadow: 0 28px 72px rgba(17, 17, 17, 0.28);
  display: flex;
  flex-direction: column;
}

.cf-post-overlay-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 1px solid #ece5d8;
  border-radius: 50%;
  background: #ffffff;
  color: #544d42;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.cf-post-overlay-close:hover {
  border-color: #d8cdb8;
  transform: scale(1.03);
}

.cf-community-settings-modal-open {
  overflow: hidden;
}

.cf-community-settings-modal {
  position: fixed;
  inset: 0;
  z-index: 3200;
  display: none;
  padding: 18px;
}

.cf-community-settings-modal.is-open {
  display: block;
}

.cf-community-settings-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 16, 14, 0.56);
  backdrop-filter: blur(3px);
}

.cf-community-settings-modal__dialog {
  position: relative;
  width: min(1240px, 100%);
  height: min(720px, calc(100vh - 36px));
  margin: 0 auto;
  border: 1px solid #dfd8cf;
  border-radius: 20px;
  background: #fcfbf9;
  box-shadow: 0 34px 90px rgba(16, 16, 16, 0.28);
  overflow: hidden;
}

.cf-community-settings-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #8a847a;
  font-size: 20px;
}

.cf-community-settings-modal__shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  height: 100%;
}

.cf-community-settings-modal__sidebar {
  border-right: 1px solid #e4ddd3;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.cf-community-settings-modal__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px 22px 20px;
  border-bottom: 1px solid #efe8dc;
}

.cf-community-settings-modal__brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #b169ff 0%, #db8cff 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.cf-community-settings-modal__brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cf-community-settings-modal__brand-copy strong {
  color: #191714;
  font-size: 16px;
  font-weight: 800;
}

.cf-community-settings-modal__brand-copy span {
  color: #8e867b;
  font-size: 12px;
  font-weight: 600;
}

.cf-community-settings-modal__nav {
  display: grid;
  gap: 4px;
  padding: 18px 14px 22px;
  overflow-y: auto;
}

.cf-community-settings-modal__nav button {
  width: 100%;
  padding: 11px 14px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: #23211d;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.cf-community-settings-modal__nav button.is-active {
  background: #f8dd95;
}

.cf-community-settings-modal__content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fcfbf9;
}

.cf-community-settings-modal__topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 32px 18px;
  border-bottom: 1px solid #efe8dc;
}

.cf-community-settings-modal__headline {
  margin: 0;
  color: #1f1c18;
  font-size: 33px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.cf-community-settings-modal__subline {
  margin: 8px 0 0;
  color: #8d8477;
  font-size: 14px;
  font-weight: 600;
}

.cf-community-settings-modal__share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  color: #8f877a;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.cf-community-settings-modal__panel {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 26px 32px 32px;
}

.cf-community-settings-modal__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.cf-community-settings-modal__metric {
  min-height: 96px;
  padding: 18px 14px;
  border: 1px solid #e2dbd1;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f3 100%);
  display: grid;
  place-items: center;
  text-align: center;
}

.cf-community-settings-modal__metric strong {
  color: #23201c;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.cf-community-settings-modal__metric span {
  color: #8c8578;
  font-size: 13px;
  font-weight: 700;
}

.cf-csm-dashboard {
  display: grid;
  gap: 28px;
}

.cf-csm-dashboard__hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.cf-csm-dashboard__eyebrow {
  margin: 0 0 6px;
  color: #a28f6c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cf-csm-dashboard__hero h4 {
  margin: 0;
  color: #1f1c18;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cf-csm-dashboard__hero span {
  display: block;
  margin-top: 8px;
  color: #8d8477;
  font-size: 13px;
  font-weight: 600;
}

.cf-csm-dashboard__copy-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid #e5ddcf;
  border-radius: 999px;
  background: #ffffff;
  color: #766d63;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.cf-csm-dashboard__copy-link:hover {
  border-color: #d8c9b1;
  color: #1f1c18;
}

.cf-csm-block {
  display: grid;
  gap: 16px;
}

.cf-csm-block__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.cf-csm-block__head h5 {
  margin: 0;
  color: #1f1c18;
  font-size: 18px;
  font-weight: 800;
}

.cf-csm-block__head p {
  margin: 6px 0 0;
  color: #8d8477;
  font-size: 13px;
  line-height: 1.6;
}

.cf-csm-block__meta {
  color: #8d8477;
  font-size: 13px;
  font-weight: 700;
}

.cf-csm-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cf-csm-stat-grid--growth {
  margin-bottom: 4px;
}

.cf-csm-stat-card {
  min-height: 96px;
  padding: 18px 16px;
  border: 1px solid #e2dbd1;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f3 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  display: grid;
  place-items: center;
  text-align: center;
}

.cf-csm-stat-card--toggle {
  width: 100%;
  cursor: pointer;
  appearance: none;
  font: inherit;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cf-csm-stat-card--toggle:hover {
  border-color: #d8c9b1;
  transform: translateY(-1px);
}

.cf-csm-stat-card--toggle:focus-visible {
  outline: 2px solid #1f1c18;
  outline-offset: 2px;
}

.cf-csm-stat-card.is-active {
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.08);
}

.cf-csm-detail-block[hidden] {
  display: none !important;
}

.cf-csm-stat-card strong {
  color: #23201c;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.05;
}

.cf-csm-stat-card span {
  color: #8c8578;
  font-size: 13px;
  font-weight: 700;
}

.cf-csm-pill-tabs {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e4ddd3;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.cf-csm-pill-tabs span {
  padding: 9px 14px;
  color: #8d8477;
  font-size: 13px;
  font-weight: 700;
  border-right: 1px solid #ece5d9;
}

.cf-csm-pill-tabs span:last-child {
  border-right: none;
}

.cf-csm-pill-tabs .is-active {
  background: #f1efec;
  color: #1f1c18;
}

.cf-csm-chart-card,
.cf-csm-heatmap-card,
.cf-csm-info-card,
.cf-csm-share-card {
  border: 1px solid #e2dbd1;
  border-radius: 18px;
  background: #ffffff;
  padding: 18px;
}

.cf-csm-line-chart {
  width: 100%;
  height: 300px;
  display: block;
}

.cf-csm-line-chart__area {
  fill: rgba(57, 167, 112, 0.12);
}

.cf-csm-line-chart__path {
  fill: none;
  stroke: #39a770;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cf-csm-line-chart__dot {
  fill: #1f1c18;
  stroke: #ffffff;
  stroke-width: 0.9;
}

.cf-csm-line-chart.is-money .cf-csm-line-chart__area {
  fill: rgba(116, 196, 181, 0.14);
}

.cf-csm-line-chart.is-money .cf-csm-line-chart__path {
  stroke: #49b5a0;
}

.cf-csm-line-chart.is-blue .cf-csm-line-chart__area {
  fill: rgba(49, 130, 246, 0.12);
}

.cf-csm-line-chart.is-blue .cf-csm-line-chart__path {
  stroke: #3182f6;
}

.cf-csm-line-chart.is-retention .cf-csm-line-chart__area {
  fill: rgba(254, 193, 107, 0.13);
}

.cf-csm-line-chart.is-retention .cf-csm-line-chart__path {
  stroke: #e7a73c;
}

.cf-csm-chart-axis {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.cf-csm-chart-axis span {
  color: #938a7d;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.cf-csm-chart-axis span.is-muted {
  opacity: 0.5;
}

.cf-csm-breakdown {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.cf-csm-breakdown div {
  border: 1px solid #ece4d8;
  border-radius: 14px;
  background: #fcfbf9;
  padding: 14px;
  display: grid;
  gap: 6px;
}

.cf-csm-breakdown span {
  color: #8d8477;
  font-size: 12px;
  font-weight: 700;
}

.cf-csm-breakdown strong {
  color: #1f1c18;
  font-size: 16px;
  font-weight: 800;
}

.cf-csm-heatmap-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.cf-csm-heatmap-head h6 {
  margin: 0;
  color: #1f1c18;
  font-size: 16px;
  font-weight: 800;
}

.cf-csm-heatmap-head span {
  color: #8d8477;
  font-size: 12px;
  font-weight: 600;
}

.cf-csm-heatmap {
  display: flex;
  gap: 4px;
}

.cf-csm-heatmap__week {
  display: grid;
  gap: 4px;
}

.cf-csm-heatmap__cell {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #eef0f3;
}

.cf-csm-heatmap__cell.level-1 {
  background: #d5eee0;
}

.cf-csm-heatmap__cell.level-2 {
  background: #a7dcc1;
}

.cf-csm-heatmap__cell.level-3 {
  background: #63be8c;
}

.cf-csm-heatmap__cell.level-4 {
  background: #238955;
}

.cf-csm-heatmap__cell.is-future {
  opacity: 0.22;
}

.cf-csm-heatmap-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
  color: #8d8477;
  font-size: 12px;
  font-weight: 700;
}

.cf-csm-heatmap-legend div {
  display: inline-flex;
  gap: 4px;
}

.cf-csm-heatmap-legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: #eef0f3;
}

.cf-csm-heatmap-legend .level-1 {
  background: #d5eee0;
}

.cf-csm-heatmap-legend .level-2 {
  background: #a7dcc1;
}

.cf-csm-heatmap-legend .level-3 {
  background: #63be8c;
}

.cf-csm-heatmap-legend .level-4 {
  background: #238955;
}

.cf-csm-growth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 14px;
}

.cf-csm-info-card__head {
  margin-bottom: 14px;
}

.cf-csm-info-card__head h6,
.cf-csm-share-card strong {
  margin: 0;
  color: #1f1c18;
  font-size: 18px;
  font-weight: 800;
}

.cf-csm-info-card__head span,
.cf-csm-share-card p,
.cf-csm-empty-state p {
  color: #8d8477;
  font-size: 13px;
  line-height: 1.7;
}

.cf-csm-share-card p {
  margin: 10px 0 18px;
}

.cf-csm-source-list {
  display: grid;
  gap: 10px;
}

.cf-csm-source-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #efe8dc;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fcfbf9;
}

.cf-csm-source-list span {
  color: #4b443b;
  font-size: 13px;
  font-weight: 700;
}

.cf-csm-source-list strong {
  color: #1f1c18;
  font-size: 15px;
  font-weight: 800;
}

.cf-csm-empty-state {
  display: grid;
  gap: 8px;
  min-height: 180px;
  align-content: center;
  text-align: center;
}

.cf-csm-empty-state strong {
  color: #1f1c18;
  font-size: 18px;
  font-weight: 800;
}

.cf-csm-empty-state p {
  margin: 0;
}

.cf-csm-share-card__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.cf-csm-share-card__row input {
  min-width: 0;
  height: 44px;
  border: 1px solid #e6dfd5;
  border-radius: 12px;
  padding: 0 14px;
  background: #ffffff;
  color: #2754db;
  font-size: 14px;
  font-weight: 700;
}

.cf-csm-share-card__row button {
  min-width: 98px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: #f6d473;
  color: #2a2111;
  font-size: 13px;
  font-weight: 800;
}

/* ── Nav badge (e.g. UNLISTED on Discovery) ── */
.cf-csm-nav-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 5px;
  background: #e53e3e;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  vertical-align: middle;
  line-height: 1.6;
}

/* ── Section panels ── */
.cf-csm-section-panel {
  display: block;
}

.cf-csm-section-panel[hidden] {
  display: none;
}

/* ── Coming Soon placeholder ── */
.cf-csm-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  text-align: center;
  gap: 14px;
  padding: 40px 24px;
}

.cf-csm-coming-soon__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f4efe6;
  color: #c9ab6e;
}

.cf-csm-coming-soon__icon svg {
  width: 30px;
  height: 30px;
}

.cf-csm-coming-soon h4 {
  margin: 0;
  color: #1f1c18;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cf-csm-coming-soon p {
  margin: 0;
  color: #8d8477;
  font-size: 14px;
  font-weight: 500;
  max-width: 340px;
  line-height: 1.6;
}

.cf-csg {
  display: grid;
  gap: 16px;
}

.cf-csg__status {
  color: #8f877a;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.cf-csg__status.is-error {
  color: #c2410c;
}

.cf-csg__status.is-saving {
  color: #8f877a;
}

.cf-csg__status.is-success {
  color: #166534;
}

.cf-csg-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 18px;
}

.cf-csg-media-card {
  border: 1px solid #e3dccf;
  border-radius: 18px;
  background: #ffffff;
  padding: 18px;
  display: grid;
  gap: 14px;
}

.cf-csg-media-card__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.cf-csg-media-card__head h5 {
  margin: 0;
  color: #1f1c18;
  font-size: 16px;
  font-weight: 800;
}

.cf-csg-media-card__head p {
  margin: 4px 0 0;
  color: #8d8477;
  font-size: 12px;
  line-height: 1.5;
}

.cf-csg-media-card__preview {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #f2f0ec;
  border: 1px solid #ede7dc;
}

.cf-csg-media-card__preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cf-csg-media-card__preview--logo {
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
}

.cf-csg-media-card__preview--cover {
  width: 100%;
  aspect-ratio: 1084 / 576;
}

.cf-csg-media-card__fallback,
.cf-csg-media-card__cover-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #2754db;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.cf-csg-media-card__fallback {
  background: linear-gradient(135deg, #b169ff 0%, #db8cff 100%);
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
}

.cf-csg-media-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cf-csg-upload-btn,
.cf-csg-change-btn {
  min-width: 100px;
  height: 42px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
}

.cf-csg-upload-btn {
  border: none;
  background: #f1f1f3;
  color: #2754db;
}

.cf-csg-change-btn {
  border: 1px solid #ddd6cb;
  background: #ffffff;
  color: #7a7267;
}

.cf-csg-field {
  position: relative;
  display: grid;
  gap: 8px;
}

.cf-csg-field > span:first-child {
  color: #7f776b;
  font-size: 12px;
  font-weight: 700;
}

.cf-csg-field__counter {
  position: absolute;
  right: 0;
  top: 0;
  color: #a0988b;
  font-size: 11px;
  font-weight: 700;
}

.cf-csg-field input,
.cf-csg-field textarea {
  width: 100%;
  border: 1px solid #dfd8cf;
  border-radius: 14px;
  background: #ffffff;
  color: #1f1c18;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 16px;
}

.cf-csg-field textarea {
  min-height: 96px;
  resize: vertical;
}

.cf-csg-field input:focus,
.cf-csg-field textarea:focus,
.cf-csm-dialog__field input:focus,
.cf-csm-dialog__url-input input:focus {
  outline: 2px solid rgba(246, 212, 115, 0.55);
  outline-offset: 1px;
  border-color: #e6c778;
}

.cf-csg-url-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #efd8a4;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff3cf 0%, #ffe8ab 100%);
  padding: 16px 18px;
}

.cf-csg-url-card__copy {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.cf-csg-url-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2f2718;
}

.cf-csg-url-card__icon svg {
  width: 24px;
  height: 24px;
}

.cf-csg-url-card__copy strong {
  display: block;
  color: #2f2718;
  font-size: 20px;
  font-weight: 800;
}

.cf-csg-url-card__copy span {
  display: block;
  margin-top: 6px;
  color: #2754db;
  font-size: 14px;
  font-weight: 700;
  word-break: break-all;
}

.cf-csg-url-card__button,
.cf-csm-dialog__cta,
.cf-csm-dialog__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: #f4c85a;
  color: #2a2111;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.cf-csg-visibility {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #e2dbd1;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
}

.cf-csg-visibility__option {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 18px 16px 16px;
  cursor: pointer;
  border-right: 1px solid #eae3d8;
}

.cf-csg-visibility__option:last-child {
  border-right: none;
}

.cf-csg-visibility__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cf-csg-visibility__option.is-active {
  background: #fffaf0;
}

.cf-csg-visibility__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1f1c18;
}

.cf-csg-visibility__label strong {
  font-size: 14px;
  font-weight: 800;
}

.cf-csg-visibility__label i {
  color: #6b7280;
}

.cf-csg-visibility__option.is-active .cf-csg-visibility__label i {
  color: #2754db;
}

.cf-csg-visibility__option p {
  margin: 0;
  color: #8d8477;
  font-size: 12px;
  line-height: 1.6;
}

.cf-csg-support {
  color: #1f1c18;
  font-size: 15px;
  font-weight: 700;
}

.cf-csg-support span {
  color: #5b5448;
  font-weight: 600;
}

.cf-csg-support button {
  border: none;
  background: transparent;
  color: #2754db;
  font-size: 14px;
  font-weight: 700;
}

.cf-cspo {
  display: grid;
  gap: 18px;
}

.cf-cspo__status {
  color: #8f877a;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.cf-cspo__status.is-error {
  color: #c2410c;
}

.cf-cspo__status.is-saving {
  color: #8f877a;
}

.cf-cspo__status.is-success {
  color: #166534;
}

.cf-cspo__hero,
.cf-cspo__form-card,
.cf-cspo__summary-card {
  border: 1px solid #e3dccf;
  border-radius: 18px;
  background: #ffffff;
}

.cf-cspo__hero {
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.cf-cspo__hero-copy h4,
.cf-cspo__summary-head h5 {
  margin: 0;
  color: #1f1c18;
  font-size: 18px;
  font-weight: 800;
}

.cf-cspo__hero-copy p,
.cf-cspo__summary-head p {
  margin: 8px 0 0;
  color: #8d8477;
  font-size: 13px;
  line-height: 1.6;
}

.cf-cspo__eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: #b45309;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cf-cspo__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #faf4e3;
  color: #7c5a10;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.cf-cspo__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.cf-cspo__form-card {
  padding: 20px 22px;
  display: grid;
  gap: 16px;
}

.cf-cspo__field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.cf-cspo__field > span:first-child {
  display: block;
  color: #4f463d;
  font-size: 12px;
  font-weight: 700;
}

.cf-cspo__field input,
.cf-cspo__field textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #ddd3c4;
  border-radius: 14px;
  background: #fffdf9;
  color: #1f1c18;
  font-size: 14px;
  padding: 12px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cf-cspo__field textarea {
  min-height: 112px;
  resize: vertical;
}

.cf-cspo__field--full {
  grid-column: 1 / -1;
}

.cf-cspo__field input:focus,
.cf-cspo__field textarea:focus {
  border-color: #c89b2c;
  box-shadow: 0 0 0 3px rgba(230, 181, 65, 0.18);
  background: #ffffff;
  outline: none;
}

.cf-cspo__summary-card {
  padding: 18px 20px;
  display: grid;
  gap: 16px;
}

.cf-cspo__summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.cf-cspo__copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #d7c9ae;
  border-radius: 999px;
  background: #fff8ea;
  color: #6a4d0f;
  font-size: 12px;
  font-weight: 800;
  padding: 10px 14px;
  cursor: pointer;
}

.cf-cspo__copy-btn:disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.cf-cspo__summary {
  margin: 0;
  padding: 16px;
  border-radius: 16px;
  background: #15120d;
  color: #f8efe1;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.cf-csm-overlay-layer {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cf-csm-overlay-layer.is-open {
  display: flex;
}

.cf-csm-overlay-layer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 16, 14, 0.5);
}

.cf-csm-dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(15, 15, 15, 0.24);
  padding: 26px 22px 22px;
  display: grid;
  gap: 16px;
}

.cf-csm-dialog--compact {
  width: min(360px, 100%);
}

.cf-csm-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #8a847a;
}

.cf-csm-dialog__icon {
  width: 34px;
  height: 34px;
  margin: 0 auto;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8f877a;
  background: #f4f1eb;
}

.cf-csm-dialog h4 {
  margin: 0;
  color: #1f1c18;
  font-size: 30px;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.03em;
}

.cf-csm-dialog p {
  margin: 0;
  color: #6f675c;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.cf-csm-plan-compare {
  border-top: 1px solid #ece5d9;
  border-bottom: 1px solid #ece5d9;
  padding: 14px 0;
  display: grid;
  gap: 10px;
}

.cf-csm-plan-compare__head,
.cf-csm-plan-compare__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px 48px;
  align-items: center;
  gap: 12px;
}

.cf-csm-plan-compare__head strong,
.cf-csm-plan-compare__row em,
.cf-csm-plan-compare__row i {
  text-align: center;
  font-style: normal;
}

.cf-csm-plan-compare__head strong {
  color: #1f1c18;
  font-size: 13px;
  font-weight: 800;
}

.cf-csm-plan-compare__row span {
  color: #2e2a25;
  font-size: 13px;
  font-weight: 700;
}

.cf-csm-plan-compare__row em,
.cf-csm-plan-compare__row i {
  color: #8d8477;
  font-size: 13px;
  font-weight: 700;
}

.cf-csm-plan-compare__row .is-on {
  color: #16a34a;
}

.cf-csm-plan-compare__row .is-off {
  color: #c5bfb5;
}

.cf-csm-dialog__field {
  display: grid;
  gap: 8px;
}

.cf-csm-dialog__field span {
  color: #7f776b;
  font-size: 12px;
  font-weight: 700;
}

.cf-csm-dialog__field input {
  width: 100%;
  height: 44px;
  border: 1px solid #dfd8cf;
  border-radius: 12px;
  padding: 0 14px;
  color: #1f1c18;
  font-size: 14px;
  font-weight: 600;
}

.cf-csm-dialog__url-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  border: 1px solid #dfd8cf;
  border-radius: 12px;
  overflow: hidden;
}

.cf-csm-dialog__url-input span {
  padding: 0 14px;
  color: #8d8477;
  font-size: 13px;
  font-weight: 700;
  background: #faf8f4;
  height: 44px;
  display: inline-flex;
  align-items: center;
}

.cf-csm-dialog__url-input input {
  border: none;
  border-radius: 0;
}

.cf-csm-dialog__actions,
.cf-csm-dialog__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.cf-csm-dialog__foot {
  justify-content: stretch;
}

.cf-csm-dialog__foot .cf-csm-dialog__cta {
  width: 100%;
}

.cf-csm-dialog__ghost {
  border: none;
  background: transparent;
  color: #7d7569;
  font-size: 13px;
  font-weight: 800;
}

/* Hidden on desktop, shown on mobile header */
.cf-csm-mobile-title {
  display: none;
}

/* ── Mobile modal (≤ 980px): bottom-sheet layout ── */
@media (max-width: 980px) {
  .cf-community-settings-modal {
    padding: 0;
  }

  .cf-community-settings-modal.is-open {
    display: flex;
    align-items: flex-end;
  }

  .cf-community-settings-modal__dialog {
    width: 100%;
    max-width: 100%;
    height: 92vh;
    border-radius: 20px 20px 0 0;
    margin: 0;
  }

  /* Pull-to-dismiss handle */
  .cf-community-settings-modal__dialog::before {
    content: '';
    display: block;
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: #d4cfc9;
    margin: 10px auto 0;
    flex-shrink: 0;
  }

  /* Close button → top-left */
  .cf-community-settings-modal__close {
    top: 12px;
    right: auto;
    left: 12px;
  }

  /* Shell: single column, sidebar auto-height + content fills rest */
  .cf-community-settings-modal__shell {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    height: 100%;
  }

  /* Sidebar → compact header + scrollable tab strip */
  .cf-community-settings-modal__sidebar {
    border-right: none;
    border-bottom: 1px solid #e8e2d6;
    display: block;
    overflow: hidden;
  }

  /* Brand → centred pill with WF mark + "Settings" label */
  .cf-community-settings-modal__brand {
    padding: 14px 52px 10px;
    border-bottom: none;
    justify-content: center;
  }

  .cf-community-settings-modal__brand-copy {
    display: none;
  }

  .cf-csm-mobile-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #1f1c18;
  }

  /* Nav → horizontal scrollable tab strip */
  .cf-community-settings-modal__nav {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 6px;
    gap: 0;
    grid-template-columns: unset;
  }

  .cf-community-settings-modal__nav::-webkit-scrollbar {
    display: none;
  }

  .cf-community-settings-modal__nav button {
    flex-shrink: 0;
    width: auto;
    padding: 10px 14px 9px;
    border-radius: 0;
    background: transparent;
    border-bottom: 2px solid transparent;
    font-size: 13px;
    font-weight: 600;
    color: #8c8478;
    white-space: nowrap;
    text-align: center;
  }

  .cf-community-settings-modal__nav button.is-active {
    background: transparent;
    color: #1f1c18;
    border-bottom-color: #1f1c18;
  }

  /* Discovery badge → replace UNLISTED text with ⚠ warning icon */
  .cf-csm-nav-badge {
    font-size: 0;
    background: transparent;
    padding: 0;
    margin-left: 2px;
    vertical-align: middle;
  }

  .cf-csm-nav-badge::after {
    content: '\26A0';
    font-size: 11px;
    color: #d97706;
    display: inline;
  }

  /* Content area */
  .cf-community-settings-modal__content {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }

  /* Topbar hidden on mobile — tab strip already indicates current section */
  .cf-community-settings-modal__topbar {
    display: none;
  }

  .cf-community-settings-modal__panel {
    padding: 22px 18px 32px;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
  }

  .cf-community-settings-modal__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cf-csm-dashboard__hero,
  .cf-csm-block__head,
  .cf-csm-heatmap-head,
  .cf-csg-url-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .cf-csm-stat-grid,
  .cf-csm-breakdown,
  .cf-csm-growth-grid,
  .cf-csg-media-grid,
  .cf-cspo__grid,
  .cf-csg-visibility {
    grid-template-columns: 1fr;
  }

  .cf-csm-chart-axis {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .cf-csm-dashboard__copy-link {
    width: 100%;
    justify-content: center;
  }

  .cf-csm-line-chart {
    height: 220px;
  }

  .cf-csm-heatmap {
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .cf-csg-url-card__button,
  .cf-csm-dialog__primary,
  .cf-csm-dialog__cta {
    width: 100%;
  }

  .cf-csm-dialog {
    padding: 24px 18px 18px;
  }
}

/* ── Small mobile (≤ 640px) ── */
@media (max-width: 640px) {
  .cf-community-settings-modal__dialog {
    height: 94vh;
    border-radius: 16px 16px 0 0;
  }

  .cf-community-settings-modal__nav button {
    padding: 10px 12px 9px;
    font-size: 12.5px;
  }

  .cf-community-settings-modal__brand {
    padding: 12px 48px 8px;
  }

  .cf-community-settings-modal__metrics {
    grid-template-columns: 1fr;
  }

  .cf-csm-dashboard {
    gap: 22px;
  }

  .cf-csm-stat-grid,
  .cf-csm-breakdown,
  .cf-csm-growth-grid,
  .cf-csg-media-grid,
  .cf-cspo__grid,
  .cf-csg-visibility {
    grid-template-columns: 1fr;
  }

  .cf-csg-media-card__actions,
  .cf-cspo__summary-head,
  .cf-csm-dialog__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cf-csm-dialog__url-input {
    grid-template-columns: 1fr;
  }

  .cf-csm-dialog__url-input span {
    justify-content: flex-start;
  }

  .cf-csm-chart-card,
  .cf-csm-heatmap-card,
  .cf-csm-info-card,
  .cf-csm-share-card {
    padding: 16px;
  }

  .cf-csm-chart-axis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cf-csm-line-chart {
    height: 190px;
  }

  .cf-csm-stat-card strong {
    font-size: 28px;
  }

  .cf-csm-coming-soon {
    min-height: 240px;
    padding: 28px 14px;
  }

  .cf-csm-coming-soon h4 {
    font-size: 19px;
  }
}

.cf-post-overlay-shell {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
}

.cf-post-overlay-primary {
  min-height: 0;
  padding: 24px 24px 18px;
  overflow-y: auto;
  border-bottom: 1px solid #ece5d8;
}

.cf-post-overlay-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cf-overlay-post-card {
  border: 0;
  border-radius: 0;
  background: #ffffff;
  padding: 0;
  box-shadow: none;
}

.cf-overlay-post-card.is-pinned {
  box-shadow: none;
}

.cf-overlay-post-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-right: 44px;
}

.cf-overlay-post-author {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cf-overlay-post-avatar,
.cf-post-comment-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  background: #efeae0;
  flex: 0 0 auto;
}

.cf-overlay-post-avatar img,
.cf-post-comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cf-post-card-avatar-fallback,
.cf-post-comment-avatar-fallback {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.cf-overlay-post-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cf-overlay-post-meta-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: #8a8276;
  font-size: 13px;
  font-weight: 700;
}

.cf-overlay-post-author-name {
  color: #1b1b1b;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.cf-overlay-post-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #8a8276;
  font-size: 13px;
  font-weight: 700;
}

.cf-overlay-post-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8a6611;
  font-size: 13px;
  font-weight: 800;
}

.cf-overlay-post-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cf-overlay-post-utility,
.cf-overlay-post-actions .cf-feed-card-menu-button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5f584d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cf-overlay-post-title {
  margin: 18px 0 14px;
  color: #111111;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.cf-overlay-post-body {
  color: #302c25;
  font-size: 16px;
  line-height: 1.7;
}

.cf-overlay-post-body ul,
.cf-overlay-post-body ol {
  padding-left: 20px;
  margin: 10px 0;
}

.cf-overlay-post-body a {
  color: #2754db;
  text-decoration: none;
  font-weight: 700;
}

.cf-overlay-post-media {
  margin-top: 18px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #eee2c6;
  background: #f7f2e8;
}

.cf-overlay-post-media img {
  width: 100%;
  height: auto;
  display: block;
}

.cf-overlay-post-engagement {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #ece5d8;
}

.cf-overlay-post-stat-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cf-overlay-post-stat-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #e1d9cb;
  border-radius: 6px;
  background: #ffffff;
  color: #7a7366;
  font-size: 14px;
  font-weight: 700;
}

.cf-overlay-post-stat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #e1d9cb;
  border-radius: 6px;
  color: #8a8276;
  font-size: 13px;
  font-weight: 700;
}

.cf-overlay-post-comment-link {
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7a7366;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.cf-overlay-post-comment-link:hover {
  color: #2e2a23;
}

.cf-post-comments-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #ffffff;
}

.cf-post-comments-head {
  padding: 0;
  border: 0;
}

.cf-post-comments-head h3 {
  margin: 0 0 6px;
  color: #111111;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.cf-post-comments-head p {
  margin: 0;
  color: #7f7668;
  font-size: 14px;
}

.cf-post-comments-typing {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 12px 24px 0;
  color: #6f6657;
  font-size: 13px;
  font-weight: 700;
}

.cf-post-comments-typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cf-post-comments-typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d0a62e;
  animation: cfTypingBounce 0.9s infinite ease-in-out;
}

.cf-post-comments-typing-dots span:nth-child(2) {
  animation-delay: 0.1s;
}

.cf-post-comments-typing-dots span:nth-child(3) {
  animation-delay: 0.2s;
}

@keyframes cfTypingBounce {
  0%,
  80%,
  100% { transform: translateY(0); opacity: 0.55; }
  40% { transform: translateY(-4px); opacity: 1; }
}

.cf-post-comments-stream {
  max-height: 220px;
  overflow-y: auto;
  padding: 0 24px 8px;
}

.cf-post-comments-empty,
.cf-post-comments-state {
  padding: 10px 0 4px;
  color: #8c8579;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}

.cf-post-comments-stream .comment,
.cf-overlay-comment-item {
  position: relative;
  margin-bottom: 12px;
  border: 1px solid #eee6da;
  border-radius: 16px;
  background: #fbfaf8;
  padding: 14px 14px 12px 54px;
  box-shadow: none;
}

.cf-post-comments-stream .comment .comment-avatar {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
}

.cf-post-comments-stream .comment .comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cf-post-comments-stream .comment .comment-name,
.cf-post-comments-stream .comment .comment-author {
  color: #111111;
  font-size: 15px;
  font-weight: 800;
}

.cf-post-comments-stream .comment .comment-time,
.cf-post-comments-stream .comment time {
  color: #918775;
  font-size: 12px;
  font-weight: 600;
}

.cf-post-comments-stream .comment .comment-text,
.cf-post-comments-stream .comment p {
  margin-top: 6px;
  color: #2f2a23;
  font-size: 14px;
  line-height: 1.6;
}

.cf-post-comments-stream .comment .comment-image img,
.cf-post-comments-stream .comment .comment-attachments img,
.cf-post-comments-stream .comment img:not(.comment-avatar img) {
  max-width: 160px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  margin-top: 10px;
}

.cf-post-comments-stream .comment .comment-actions,
.cf-post-comments-stream .comment .x-form-tools,
.cf-post-comments-stream .comment .comment-footer {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
  color: #857b6c;
  font-size: 13px;
  font-weight: 700;
}

.cf-post-comments-stream .comment .comment-actions a,
.cf-post-comments-stream .comment .comment-footer a {
  color: inherit;
  text-decoration: none;
}

.cf-post-comment-composer {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px 24px 24px;
  border-top: 1px solid #ece5d8;
  background: #ffffff;
}

.cf-post-comment-editor {
  min-width: 0;
}

.cf-post-comment-box {
  border: 1px solid #cfc8ba;
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
  position: relative;
}

.cf-post-comment-attachments {
  padding: 10px 14px 0;
}

.cf-post-comment-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  border: 1px solid #eadfca;
  border-radius: 999px;
  background: #fff9ed;
  padding: 8px 10px;
  color: #5f5549;
  font-size: 12px;
  font-weight: 700;
}

.cf-post-comment-chip button {
  border: 0;
  background: transparent;
  color: #5f5549;
  cursor: pointer;
}

.cf-post-comment-input-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 0 12px 0 14px;
}

.cf-post-comment-input {
  flex: 1 1 auto;
  border: 0;
  resize: none;
  outline: 0;
  min-height: 46px;
  max-height: 120px;
  padding: 12px 0 10px;
  color: #151515;
  font-size: 15px;
  line-height: 1.5;
  background: transparent;
}

.cf-post-comment-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 12px;
}

.cf-post-comment-tools {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding-bottom: 8px;
}

.cf-post-comment-tool {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #8d877c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.cf-post-comment-tool span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.cf-post-comment-tool:hover {
  background: #f4f1eb;
  color: #111111;
}

.cf-post-comment-tool-gif {
  width: auto;
  padding: 0 6px;
  border-radius: 8px;
}

.cf-post-comment-cancel {
  border: 0;
  background: transparent;
  color: #8d877c;
  padding: 10px 8px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.cf-post-comment-submit {
  border: 0;
  border-radius: 8px;
  background: #f3cd6a;
  color: #231d11;
  min-width: 140px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cf-post-comment-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(243, 205, 106, 0.36);
}

.cf-post-comment-submit:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.cf-post-comment-emoji-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 14px 14px;
}

.cf-post-comment-emoji-panel button {
  border: 1px solid #eadfca;
  border-radius: 12px;
  background: #fffdf8;
  font-size: 20px;
  padding: 10px 0;
  cursor: pointer;
}

.cf-post-comment-auth {
  padding: 18px 24px 24px;
  border-top: 1px solid #ece5d8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cf-post-comment-auth p {
  margin: 0;
  color: #746b5d;
  font-size: 14px;
}

@media (max-width: 900px) {
  .cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) {
    grid-template-columns: 1fr;
  }

  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media > .mt10,
  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media > :not(.mt10),
  .cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) > .mt10,
  .cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) > :not(.mt10) {
    grid-column: auto;
    grid-row: auto;
  }

  .cf-feed-shell-simple .cf-post-stream .pg_1x a,
  .cf-feed-shell-simple .cf-post-stream .pg_2x a,
  .cf-feed-shell-simple .cf-post-stream .pg_3x a {
    width: min(100%, 220px);
  }

  .cf-post-overlay-modal {
    width: 100%;
    max-height: calc(100vh - 32px);
    border-radius: 22px;
  }
}

@media (max-width: 600px) {
  .cf-feed-card-actions,
  .cf-overlay-post-actions {
    gap: 8px;
  }

  .cf-feed-card-menu {
    min-width: 170px;
    z-index: 120;
  }

  .cf-post-overlay {
    padding: 14px 18px;
  }

  .cf-post-overlay-modal {
    width: min(390px, calc(100% - 12px));
    max-height: calc(100vh - 28px);
    border-radius: 20px;
  }

  .cf-post-comment-composer,
  .cf-post-comment-auth {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cf-post-overlay-primary {
    padding: 16px;
  }

  .cf-post-comments-stream {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cf-overlay-post-title {
    font-size: 28px;
  }

  .cf-overlay-post-body {
    font-size: 16px;
  }

  .cf-post-comment-composer {
    grid-template-columns: 1fr;
  }

  .cf-post-comment-avatar {
    width: 42px;
    height: 42px;
  }

  .cf-post-comment-input-row {
    flex-direction: column;
    align-items: stretch;
    padding-right: 14px;
  }

  .cf-post-comment-toolbar {
    justify-content: space-between;
  }

  .cf-post-comment-tools {
    justify-content: space-between;
    width: 100%;
  }

  .cf-post-comment-submit {
    min-width: 126px;
  }

  .cf-feed-shell-simple .cf-feed-toolbar {
    align-items: stretch;
  }

  .cf-feed-shell-simple .cf-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .cf-feed-shell-simple .cf-filters::-webkit-scrollbar {
    display: none;
  }

  .cf-feed-shell-simple .cf-pill {
    flex: 0 0 auto;
  }
}

@media (max-width: 600px) {
  .cf-feed-shell-simple .cf-post-stream .post {
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: visible;
  }

  .cf-feed-shell-simple .cf-post-stream .post-body,
  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media,
  .cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) {
    padding: 14px 14px 12px;
    gap: 10px;
  }

  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media,
  .cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px;
    grid-template-areas:
      "header header"
      "heading media"
      "content media"
      "actions media"
      "stats stats";
    column-gap: 14px;
    row-gap: 6px;
    align-items: start;
  }

  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media.cf-feed-no-copy,
  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-no-copy:has(.pg_wrapper img) {
    grid-template-areas:
      "header header"
      "heading media"
      "actions media"
      "stats stats";
  }

  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .post-header,
  .cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .post-header {
    grid-area: header;
    margin-bottom: 0;
  }

  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .cf-feed-card-heading,
  .cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .cf-feed-card-heading {
    grid-area: heading;
    margin: 2px 0 0;
    font-size: 15px;
    line-height: 1.35;
  }

  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .post-replace,
  .cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .post-replace {
    grid-area: content;
    min-width: 0;
  }

  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media > .mt10,
  .cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) > .mt10 {
    grid-area: media;
    grid-column: auto;
    grid-row: auto;
    width: 84px;
    margin-top: 0 !important;
    align-self: center;
  }

  .cf-feed-shell-simple .cf-post-stream .pg_1x a,
  .cf-feed-shell-simple .cf-post-stream .pg_2x a,
  .cf-feed-shell-simple .cf-post-stream .pg_3x a {
    width: 84px;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
  }

  .cf-feed-shell-simple .cf-post-stream .post-header {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    column-gap: 10px;
    align-items: center;
    margin-bottom: 0;
  }

  .cf-feed-shell-simple .cf-post-stream .post-avatar {
    width: 36px;
    min-width: 36px;
    height: 36px;
  }

  .cf-feed-shell-simple .cf-post-stream .post-avatar-picture {
    width: 36px;
    height: 36px;
  }

  .cf-feed-shell-simple .cf-post-stream .online-dot {
    font-size: 10px;
  }

  .cf-feed-shell-simple .cf-post-stream .post-meta {
    gap: 2px;
    align-self: center;
  }

  .cf-feed-shell-simple .cf-post-stream .post-author {
    font-size: 15px;
    line-height: 1.12;
  }

  .cf-feed-shell-simple .cf-post-stream .post-time,
  .cf-feed-shell-simple .cf-post-stream .post-header .post-time {
    gap: 4px 6px;
    font-size: 11px;
    line-height: 1.2;
  }

  .cf-feed-shell-simple .cf-post-stream .post-header .post-time a,
  .cf-feed-shell-simple .cf-post-stream .post-header .post-time .js_moment {
    font-size: 11px;
  }

  .cf-feed-shell-simple .cf-post-stream .post-header .post-time i.fa-cog {
    display: none;
  }

  .cf-feed-shell-simple .cf-post-stream .post-title {
    font-size: 11px;
    line-height: 1.2;
  }

  .cf-feed-shell-simple .cf-post-stream .post-title::before {
    width: 7px;
    height: 7px;
    margin-right: 5px;
  }

  .cf-feed-card-heading {
    font-size: 15px;
    line-height: 1.35;
    margin: 2px 0 6px;
  }

  .cf-feed-shell-simple .cf-post-stream .post-replace.cf-feed-empty-copy {
    display: none;
  }

  .cf-feed-shell-simple .cf-post-stream .post-text,
  .cf-feed-shell-simple .cf-post-stream .post-text-translation {
    font-size: 13px;
    line-height: 1.55;
  }

  .cf-feed-shell-simple .cf-post-stream .post-actions {
    grid-area: actions;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin-top: 2px;
    padding-top: 0;
    border-top: 0;
  }

  .cf-feed-shell-simple .cf-post-stream .post-actions > * {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .cf-feed-shell-simple .cf-post-stream .post-actions a,
  .cf-feed-shell-simple .cf-post-stream .post-actions button,
  .cf-feed-shell-simple .cf-post-stream .post-actions .btn,
  .cf-feed-shell-simple .cf-post-stream .post-actions span {
    width: auto !important;
    min-width: 0 !important;
  }

  .cf-feed-shell-simple .cf-post-stream .post-stats {
    grid-area: stats;
    border-top: 0;
    margin-top: 0;
    padding-top: 8px;
    gap: 12px;
    justify-content: flex-start;
  }

  .cf-feed-shell-simple .cf-post-stream .post-stats .float-start,
  .cf-feed-shell-simple .cf-post-stream .post-stats .float-end {
    gap: 12px;
    justify-content: flex-start;
  }

  .cf-feed-shell-simple .cf-post-stream .post-stats span {
    font-size: 12px;
    font-weight: 700;
  }

  .cf-feed-card-menu-button {
    width: 34px;
    height: 34px;
  }
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed {
  display: block;
  padding: 22px 22px 18px;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .cf-feed-card-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 22px;
  align-items: start;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media) .cf-feed-card-layout {
  grid-template-columns: minmax(0, 1fr);
}

.cf-feed-shell-simple .cf-post-stream .cf-feed-card-main {
  min-width: 0;
}

.cf-feed-shell-simple .cf-post-stream .cf-feed-card-media {
  width: 150px;
  align-self: start;
}

.cf-feed-shell-simple .cf-post-stream .cf-feed-card-media-thumb {
  width: 150px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #ece4d6;
  background: #f5f2ea;
}

.cf-feed-shell-simple .cf-post-stream .cf-feed-card-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cf-feed-shell-simple .cf-post-stream .cf-feed-card-media[hidden] {
  display: none !important;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .cf-feed-native-media,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed > .mt10 {
  display: none !important;
}

.cf-feed-shell-simple .cf-post-stream .cf-feed-card-media > .mt10 {
  margin: 0 !important;
}

.cf-feed-shell-simple .cf-post-stream .cf-feed-card-media .pg_wrapper,
.cf-feed-shell-simple .cf-post-stream .cf-feed-card-media .pg_1x,
.cf-feed-shell-simple .cf-post-stream .cf-feed-card-media .pg_2x,
.cf-feed-shell-simple .cf-post-stream .cf-feed-card-media .pg_3x {
  width: 100%;
}

.cf-feed-shell-simple .cf-post-stream .cf-feed-card-media .pg_1x a,
.cf-feed-shell-simple .cf-post-stream .cf-feed-card-media .pg_2x a,
.cf-feed-shell-simple .cf-post-stream .cf-feed-card-media .pg_3x a {
  display: block;
  width: 150px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #ece4d6;
  background: #f5f2ea;
}

.cf-feed-shell-simple .cf-post-stream .cf-feed-card-media .pg_1x img,
.cf-feed-shell-simple .cf-post-stream .cf-feed-card-media .pg_2x img,
.cf-feed-shell-simple .cf-post-stream .cf-feed-card-media .pg_3x img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-header {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  column-gap: 14px;
  align-items: start;
  margin: 0 0 12px;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-avatar {
  width: 48px;
  min-width: 48px;
  height: 48px;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-avatar-picture {
  width: 48px;
  height: 48px;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .cf-feed-card-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  min-width: 0;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .cf-feed-card-meta-line .js_user-popover {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-author {
  color: #141414;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-author:hover {
  color: #141414;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-time,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-header .post-time {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0;
  color: #7b7268;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-header .post-time a,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-header .post-time .js_moment {
  color: inherit;
  font-size: 13px;
  text-decoration: none;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-header .post-time i.fa-cog {
  color: #c39222;
  font-size: 12px;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-title {
  display: inline-flex;
  align-items: center;
  color: #6c655b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-title::before {
  width: 8px;
  height: 8px;
  margin-right: 6px;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .cf-feed-card-heading {
  padding-left: 62px;
  margin: 0 0 12px;
  color: #141414;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.22;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-replace {
  padding-left: 62px;
  margin: 0;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-text,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-text-translation {
  margin: 0;
  color: #55504a;
  font-size: 14px;
  line-height: 1.65;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .cf-feed-card-action-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #ece4d6;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .cf-feed-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 28px;
  padding: 0 8px;
  color: #403b35;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .cf-feed-card-action i {
  color: #1d1c1a;
  font-size: 20px;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .cf-feed-native-stats,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .cf-feed-native-actions,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-stats,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-actions {
  display: none !important;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .cf-feed-card-actions {
  align-self: start;
}

@media (max-width: 600px) {
  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed {
    padding: 16px 16px 14px;
  }

  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .cf-feed-card-layout {
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 14px;
  }

  .cf-feed-shell-simple .cf-post-stream .cf-feed-card-media {
    width: 96px;
  }

  .cf-feed-shell-simple .cf-post-stream .cf-feed-card-media-thumb {
    width: 96px;
    border-radius: 14px;
  }

  .cf-feed-shell-simple .cf-post-stream .cf-feed-card-media .pg_1x a,
  .cf-feed-shell-simple .cf-post-stream .cf-feed-card-media .pg_2x a,
  .cf-feed-shell-simple .cf-post-stream .cf-feed-card-media .pg_3x a {
    width: 96px;
    border-radius: 14px;
  }

  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-header {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    column-gap: 10px;
    margin-bottom: 10px;
  }

  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-avatar,
  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-avatar-picture {
    width: 40px;
    min-width: 40px;
    height: 40px;
  }

  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-meta {
    gap: 6px;
  }

  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .cf-feed-card-meta-line {
    gap: 4px 8px;
  }

  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-author {
    font-size: 15px;
  }

  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-time,
  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-header .post-time,
  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-header .post-time a,
  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-header .post-time .js_moment,
  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-title {
    font-size: 11px;
  }

  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .cf-feed-card-heading {
    padding-left: 0;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.3;
  }

  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-replace {
    padding-left: 0;
  }

  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-text,
  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .post-text-translation {
    font-size: 13px;
    line-height: 1.55;
  }

  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .cf-feed-card-action-bar {
    margin-top: 14px;
    padding-top: 12px;
    gap: 4px;
  }

  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .cf-feed-card-action {
    gap: 8px;
    min-height: 24px;
    padding: 0 4px;
    font-size: 13px;
  }

  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-card-composed .cf-feed-card-action i {
    font-size: 18px;
  }
}

.cf-mobile-post-page-shell {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 24px 0 144px;
}

.cf-mobile-post-page-header {
  display: none;
}

.cf-mobile-post-card {
  border: 1px solid #ece3d5;
  border-radius: 24px;
  background: #fffdfa;
  padding: 24px 24px 18px;
  box-shadow: 0 20px 46px rgba(36, 25, 8, 0.08);
}

.cf-mobile-post-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.cf-mobile-post-author {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cf-mobile-post-avatar-wrap {
  position: relative;
  width: 44px;
  min-width: 44px;
  height: 44px;
}

.cf-mobile-post-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ddd1c1;
}

.cf-mobile-post-avatar-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #3f5dbb;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  border: 2px solid #fffdfa;
}

.cf-mobile-post-meta {
  min-width: 0;
}

.cf-mobile-post-author-name {
  color: #151515;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.cf-mobile-post-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: #847867;
  font-size: 14px;
  font-weight: 600;
}

.cf-mobile-post-title {
  margin: 18px 0 12px;
  color: #171513;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.18;
}

.cf-mobile-post-copy {
  color: #1f1b17;
  font-size: 17px;
  line-height: 1.68;
}

.cf-mobile-post-copy > :first-child {
  margin-top: 0;
}

.cf-mobile-post-copy > :last-child {
  margin-bottom: 0;
}

.cf-mobile-post-copy p,
.cf-mobile-post-copy ul,
.cf-mobile-post-copy ol {
  margin-bottom: 12px;
}

.cf-mobile-post-copy ul,
.cf-mobile-post-copy ol {
  padding-left: 22px;
}

.cf-mobile-post-copy a {
  color: #2f67f5;
  font-weight: 700;
  text-decoration: none;
}

.cf-mobile-post-media {
  margin-top: 18px;
  border: 1px solid #ece3d5;
  border-radius: 18px;
  overflow: hidden;
  background: #f4efe6;
}

.cf-mobile-post-media img {
  width: 100%;
  max-height: 420px;
  display: block;
  object-fit: cover;
}

.cf-mobile-post-link-cta-wrap {
  margin-top: 14px;
}

.cf-mobile-post-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.14);
}

.cf-mobile-post-link-cta:hover,
.cf-mobile-post-link-cta:focus {
  color: #ffffff;
  text-decoration: none;
}

.cf-mobile-post-actions-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #ece3d5;
}

.cf-mobile-post-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #e7dccd;
  border-radius: 10px;
  background: #fff;
  color: #857765;
  font-size: 16px;
  font-weight: 700;
}

.cf-mobile-post-action.is-active {
  color: #2c61ef;
  border-color: #cfdcff;
  background: #f4f7ff;
}

.cf-mobile-post-action:disabled {
  opacity: 0.65;
}

.cf-mobile-post-action-count,
.cf-mobile-post-comments-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8a7d6b;
  font-size: 16px;
  font-weight: 700;
}

.cf-mobile-post-comments-count {
  border: none;
  padding: 0;
  background: transparent;
}

.cf-mobile-post-comments-panel {
  min-height: 320px;
  padding: 18px 0 0;
}

.cf-mobile-post-comments-list {
  display: grid;
  gap: 14px;
}

.cf-mobile-post-comments-list .comment {
  margin-bottom: 0;
}

.cf-mobile-post-comments-empty {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #e6dccc;
  border-radius: 18px;
  background: #fffdfa;
  color: #a2927e;
  font-size: 15px;
  font-weight: 600;
}

.cf-mobile-post-composer {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 32;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  width: min(100%, 760px);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  border-top: 1px solid #ebe1d4;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 -10px 32px rgba(33, 24, 10, 0.08);
  backdrop-filter: blur(10px);
}

.cf-mobile-post-input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 15px;
  border: 1px solid #ddd1c1;
  border-radius: 999px;
  outline: none;
  background: #fff;
  color: #171513;
  font-size: 16px;
}

.cf-mobile-post-input:focus {
  border-color: #c7b79d;
  box-shadow: 0 0 0 4px rgba(236, 220, 196, 0.42);
}

.cf-mobile-post-composer-tools {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.cf-mobile-post-tool,
.cf-mobile-post-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #918371;
  font-size: 20px;
}

.cf-mobile-post-tool-gif {
  width: auto;
  min-width: 0;
  padding: 0 4px;
  border-radius: 0;
  color: #95887a;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.cf-mobile-post-send {
  color: #3d73f6;
  font-size: 22px;
}

.cf-mobile-post-tool:disabled,
.cf-mobile-post-send:disabled {
  opacity: 0.45;
}

.cf-mobile-post-attachments {
  grid-column: 1 / -1;
}

.cf-mobile-post-attachment-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f3ede4;
  color: #5f5447;
  font-size: 13px;
  font-weight: 700;
}

.cf-mobile-post-attachment-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cf-mobile-post-attachment-chip button {
  border: none;
  background: transparent;
  color: inherit;
}

.cf-mobile-post-auth {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 32;
  width: min(100%, 760px);
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  border-top: 1px solid #ebe1d4;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 -10px 32px rgba(33, 24, 10, 0.08);
  text-align: center;
}

@media (max-width: 600px) {
  .cf-mobile-post-page .hc-hb,
  .cf-mobile-post-page .cf-tabs {
    display: none;
  }

  .cf-mobile-post-page .cf-page {
    max-width: none;
    padding: 0;
  }

  .cf-mobile-post-page-shell {
    width: min(100%, 420px);
    min-height: 100vh;
    padding: 0 0 212px;
    background: #fff;
  }

  .cf-mobile-post-page-header {
    position: sticky;
    top: 0;
    z-index: 18;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 46px;
    padding: 0 10px;
    border-bottom: 1px solid #ece5d8;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
  }

  .cf-mobile-post-page-back,
  .cf-mobile-post-page-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    min-width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #625b52;
    font-size: 16px;
    text-decoration: none;
  }

  .cf-mobile-post-page-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-right: auto;
    color: #151515;
    text-decoration: none;
  }

  .cf-mobile-post-page-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: linear-gradient(135deg, #d56cff 0%, #8f61ff 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
  }

  .cf-mobile-post-page-brand-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
  }

  .cf-mobile-post-page-tools {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
  }

  .cf-mobile-post-page-menu-wrap {
    position: relative;
  }

  .cf-mobile-post-page-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 150px;
    border: 1px solid #ece5d8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(23, 18, 12, 0.12);
    overflow: hidden;
  }

  .cf-mobile-post-page-menu button,
  .cf-mobile-post-page-menu a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: none;
    background: #fff;
    color: #1c1a17;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
  }

  .cf-mobile-post-page-menu button + a,
  .cf-mobile-post-page-menu a + button,
  .cf-mobile-post-page-menu a + a,
  .cf-mobile-post-page-menu button + button {
    border-top: 1px solid #f2ece1;
  }

  .cf-mobile-post-page-menu button.is-danger {
    color: #c53b2f;
  }

  .cf-mobile-post-card {
    border: 1px solid #ece3d5;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    background: #fff;
    padding: 14px 10px 16px;
    box-shadow: none;
  }

  .cf-mobile-post-author {
    gap: 10px;
  }

  .cf-mobile-post-avatar-wrap,
  .cf-mobile-post-avatar {
    width: 36px;
    min-width: 36px;
    height: 36px;
  }

  .cf-mobile-post-avatar-badge {
    min-width: 17px;
    height: 17px;
    font-size: 10px;
  }

  .cf-mobile-post-author-name {
    font-size: 16px;
  }

  .cf-mobile-post-meta-line {
    margin-top: 2px;
    gap: 4px;
    font-size: 12px;
  }

  .cf-mobile-post-title {
    margin: 14px 0 10px;
    font-size: 17px;
    line-height: 1.34;
  }

  .cf-mobile-post-copy {
    font-size: 15px;
    line-height: 1.56;
  }

  .cf-mobile-post-media {
    margin-top: 14px;
    border-radius: 14px;
  }

  .cf-mobile-post-media img {
    max-height: 320px;
  }

  .cf-mobile-post-link-cta-wrap {
    margin-top: 12px;
  }

  .cf-mobile-post-link-cta {
    min-height: 42px;
    padding: 0 16px;
    font-size: 13px;
  }

  .cf-mobile-post-copy p,
  .cf-mobile-post-copy ul,
  .cf-mobile-post-copy ol {
    margin-bottom: 8px;
  }

  .cf-mobile-post-actions-bar {
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
  }

  .cf-mobile-post-action {
    min-height: 34px;
    padding: 0 12px;
    font-size: 14px;
  }

  .cf-mobile-post-action-count,
  .cf-mobile-post-comments-count {
    font-size: 14px;
  }

  .cf-mobile-post-comments-panel {
    min-height: calc(100vh - 332px);
    padding: 0 8px 148px;
  }

  .cf-mobile-post-comments-list {
    gap: 10px;
    padding-top: 10px;
  }

  .cf-mobile-post-comments-empty {
    min-height: 220px;
    border: none;
    border-radius: 0;
    background: transparent;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 16px;
  }

  .cf-mobile-post-composer,
  .cf-mobile-post-auth {
    bottom: var(--hc-mobile-nav-safe);
    width: min(100%, 420px);
    padding-left: 8px;
    padding-right: 8px;
  }

  .cf-mobile-post-composer {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .cf-mobile-post-input {
    height: 40px;
    font-size: 15px;
  }

  .cf-mobile-post-composer-tools {
    gap: 8px;
  }

  .cf-mobile-post-tool,
  .cf-mobile-post-send {
    width: 32px;
    min-width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .cf-mobile-post-tool-gif {
    font-size: 16px;
    letter-spacing: 0;
  }

  .cf-mobile-post-send {
    font-size: 20px;
  }
}

@media (min-width: 901px) {
  .cf-body {
    background: #f8f4ee !important;
  }

  .cf-tabs {
    background: #fbfaf8;
    border-bottom-color: #e7e0d5;
  }

  .cf-tabs-inner {
    max-width: 1140px;
    padding: 0 22px;
    gap: 10px;
  }

  .cf-tab {
    padding: 15px 4px 13px;
    color: #726c64;
    font-size: 15px;
    font-weight: 500;
  }

  .cf-tab svg {
    display: none;
  }

  .cf-tab.active {
    border-bottom-width: 1.5px;
    font-weight: 600;
  }

  .cf-page {
    max-width: 1240px;
    padding: 26px 22px 28px;
  }

  .cf-feed-shell-simple {
    gap: 0;
  }

  .cf-content-grid-simple {
    grid-template-columns: minmax(0, 1fr) 276px;
    gap: 26px;
    align-items: start;
  }

  .cf-feed-shell-simple .cf-feed-toolbar {
    margin: 0 0 24px;
    justify-content: flex-start;
    align-items: center;
  }

  .cf-feed-shell-simple .cf-filters {
    gap: 10px;
    margin-bottom: 0;
  }

  .cf-feed-shell-simple .cf-pill {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5ddd0;
    color: #666057;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 1px 1px rgba(17, 17, 17, 0.02);
  }

  .cf-feed-shell-simple .cf-pill.active {
    min-width: 40px;
    justify-content: center;
    padding: 0 12px;
    background: #19181d;
    border-color: #19181d;
    color: #fff;
    font-weight: 700;
  }

  .cf-feed-shell-simple .cf-post-stream .post {
    margin-bottom: 22px;
    border: 1px solid #ded7ca;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(23, 19, 14, 0.05);
  }

  .cf-feed-shell-simple .cf-post-stream .post:hover {
    border-color: #d9d0c2;
    box-shadow: 0 8px 22px rgba(23, 19, 14, 0.06);
    transform: none;
  }

  .cf-feed-shell-simple .cf-post-stream .post.is-pinned::before {
    display: none;
  }

  .cf-side-stack-simple {
    gap: 18px;
  }

  .cf-community-card-showcase,
  .cf-community-builder-card {
    border: 1px solid #e1d9cc;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(23, 19, 14, 0.05);
    overflow: hidden;
  }

  .cf-community-card-showcase .cf-community-card-cover img,
  .cf-community-card-showcase .cf-community-card-cover-placeholder {
    width: 100%;
    height: 110px;
  }

  .cf-community-card-showcase .cf-community-card-cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 18px;
    background: linear-gradient(135deg, #10292c 0%, #0f5564 42%, #071316 100%);
    color: #61fff5;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  .cf-community-card-showcase .cf-community-card-body {
    padding: 18px 18px 16px;
    text-align: center;
  }

  .cf-community-card-showcase h2 {
    margin: 0;
    color: #19171a;
    font-size: 17px;
    font-weight: 700;
  }

  .cf-community-card-showcase .cf-community-card-url {
    margin: 8px 0 10px;
    color: #8f8679;
    font-size: 12px;
    line-height: 1.3;
  }

  .cf-community-card-showcase p {
    margin: 0 auto 12px;
    max-width: 210px;
    color: #7e7468;
    font-size: 13px;
    line-height: 1.55;
  }

  .cf-community-card-inline-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    color: #6e665c;
    font-size: 12px;
    line-height: 1.4;
  }

  .cf-community-card-inline-stats span + span::before {
    content: "|";
    margin: 0 6px;
    color: #b1a898;
  }

  .cf-community-card-showcase .cf-sidebar-cta,
  .cf-community-builder-card .cf-sidebar-cta {
    width: 100%;
    margin-top: 16px;
    min-height: 36px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
  }

  .cf-community-builder-card {
    padding: 18px;
    text-align: center;
  }

  .cf-community-builder-card h3 {
    margin: 0;
    color: #19171a;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
  }

  .cf-community-builder-card p {
    margin: 10px auto 0;
    max-width: 206px;
    color: #84796d;
    font-size: 14px;
    line-height: 1.5;
  }

  .cf-powered {
    margin-top: -2px;
    text-align: center;
    color: #b0a79a;
    font-size: 11px;
  }
}

/* Admin setup checklist */
.cf-setup-card {
  position: relative;
  margin: 0 0 22px;
  border: 1px solid #e6e7ec;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.06);
  overflow: hidden;
}

.cf-setup-card[open] {
  padding-bottom: 8px;
}

.cf-setup-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
}

.cf-setup-summary::-webkit-details-marker {
  display: none;
}

.cf-setup-summary-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, #e4f9ec 0%, #c7f0d7 100%);
  color: #0f8c4f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
}

.cf-setup-summary-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cf-setup-summary-title {
  color: #111111;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.cf-setup-summary-subtitle {
  color: #6f7280;
  font-size: 13px;
  line-height: 1.45;
}

.cf-setup-summary-chevron {
  margin-left: auto;
  width: 26px;
  height: 26px;
  color: #7f8491;
  transition: transform 0.2s ease;
}

.cf-setup-card:not([open]) .cf-setup-summary-chevron {
  transform: rotate(180deg);
}

.cf-setup-body {
  padding: 0 22px 18px;
  border-top: 1px solid #eff0f4;
}

.cf-setup-feedback {
  margin: 16px 0 6px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
}

.cf-setup-feedback.is-info {
  background: #f6f7fb;
  color: #4a4f5c;
}

.cf-setup-feedback.is-success {
  background: #edf9f1;
  color: #0f8c4f;
}

.cf-setup-feedback.is-error {
  background: #fff1f1;
  color: #cf3d3d;
}

.cf-setup-list {
  margin: 0;
  padding: 12px 0 0;
  list-style: none;
}

.cf-setup-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
}

.cf-setup-item + .cf-setup-item {
  border-top: 1px solid #f2f3f6;
}

.cf-setup-item-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1.6px solid #b8bcc8;
  border-radius: 50%;
  color: transparent;
  flex: 0 0 auto;
  transition: all 0.2s ease;
}

.cf-setup-item-mark svg {
  width: 14px;
  height: 14px;
}

.cf-setup-item.is-complete .cf-setup-item-mark {
  border-color: #18a05f;
  background: #18a05f;
  color: #ffffff;
}

.cf-setup-item-trigger {
  padding: 0;
  border: 0;
  background: transparent;
  color: #2563eb;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
}

.cf-setup-item.is-complete .cf-setup-item-trigger {
  color: #1d2433;
}

.cf-setup-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.cf-setup-modal-layer.is-open {
  display: flex;
}

.cf-setup-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 18, 29, 0.55);
  backdrop-filter: blur(3px);
}

.cf-setup-modal {
  position: relative;
  width: min(100%, 720px);
  max-height: calc(100vh - 44px);
  overflow: auto;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(12, 18, 28, 0.24);
  z-index: 1;
}

.cf-setup-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 24px 18px;
}

.cf-setup-modal-head h3 {
  margin: 0 0 6px;
  color: #111111;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.cf-setup-modal-head p {
  margin: 0;
  color: #69707d;
  font-size: 14px;
  line-height: 1.5;
}

.cf-setup-modal-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #f3f5f8;
  color: #1d2433;
  font-size: 15px;
  flex: 0 0 auto;
}

.cf-setup-video-frame {
  position: relative;
  margin: 0 24px;
  border-radius: 20px;
  overflow: hidden;
  background: #0f172a;
}

.cf-setup-video {
  display: block;
  width: 100%;
  max-height: 410px;
  background: #0f172a;
}

.cf-setup-video-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.cf-setup-video-pill,
.cf-setup-video-overlay strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.48);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cf-setup-progress-rail {
  height: 8px;
  margin: 18px 24px 24px;
  border-radius: 999px;
  background: #eff1f5;
  overflow: hidden;
}

.cf-setup-progress-rail span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f4c74f 0%, #edae1e 100%);
  transition: width 0.2s linear;
}

.cf-setup-invite-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 0 24px;
}

.cf-setup-invite-box + .cf-setup-invite-box {
  margin-top: 18px;
  padding-bottom: 24px;
}

.cf-setup-muted {
  margin: 20px 24px 14px;
  color: #5f6572;
  font-size: 14px;
  line-height: 1.5;
}

.cf-setup-input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid #dedfe5;
  border-radius: 14px;
  background: #ffffff;
  color: #111111;
  font-size: 15px;
  outline: none;
}

.cf-setup-input:focus {
  border-color: #ffcc00;
  box-shadow: 0 0 0 4px rgba(230, 181, 65, 0.12);
}

.cf-setup-primary-button,
.cf-setup-secondary-button,
.cf-setup-text-button {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.cf-setup-primary-button {
  border: 0;
  background: #ffcc00;
  color: #111111;
}

.cf-setup-secondary-button {
  border: 0;
  background: #eff1f5;
  color: #6a707c;
}

.cf-setup-editor-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px 14px;
}

.cf-setup-editor-button {
  width: 38px;
  height: 38px;
  border: 1px solid #dcdee5;
  border-radius: 10px;
  background: #ffffff;
  color: #1f2937;
  font-size: 14px;
}

.cf-setup-editor {
  min-height: 172px;
  margin: 0 24px;
  padding: 18px 18px 24px;
  border: 1px solid #ebb53f;
  border-radius: 16px;
  color: #111111;
  font-size: 16px;
  line-height: 1.65;
  outline: none;
}

.cf-setup-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px 24px 24px;
}

.cf-setup-text-button {
  border: 1px solid #dcdee5;
  background: #ffffff;
  color: #636976;
}

.cf-setup-confetti {
  position: fixed;
  inset: 0;
  z-index: 1400;
  pointer-events: none;
  overflow: hidden;
  display: none;
}

.cf-setup-confetti.is-active {
  display: block;
}

.cf-setup-confetti-piece {
  position: absolute;
  width: 9px;
  height: 15px;
  border-radius: 2px;
  opacity: 0.92;
  animation-name: cf-setup-confetti-drop;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

body.cf-setup-modal-open {
  overflow: hidden;
}

@keyframes cf-setup-confetti-drop {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translate3d(0, calc(100vh + 40px), 0) rotate(540deg);
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .cf-setup-summary-title {
    font-size: 19px;
  }

  .cf-setup-item-trigger {
    font-size: 15px;
  }

  .cf-setup-modal-head h3 {
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  .cf-feed-shell-simple .cf-composer {
    margin-bottom: 14px;
  }

  .cf-setup-card {
    margin-bottom: 18px;
    border-radius: 18px;
  }

  .cf-setup-summary {
    gap: 12px;
    padding: 15px 16px;
  }

  .cf-setup-summary-badge {
    width: 38px;
    height: 38px;
  }

  .cf-setup-summary-subtitle {
    display: none;
  }

  .cf-setup-body {
    padding: 0 16px 14px;
  }

  .cf-setup-item {
    padding: 10px 0;
  }

  .cf-setup-item-trigger {
    font-size: 14px;
  }

  .cf-setup-modal-layer {
    padding: 12px;
    align-items: flex-end;
  }

  .cf-setup-modal {
    width: 100%;
    max-height: calc(100vh - 24px);
    border-radius: 20px 20px 16px 16px;
  }

  .cf-setup-modal-head {
    padding: 18px 16px 14px;
  }

  .cf-setup-modal-head h3 {
    font-size: 21px;
  }

  .cf-setup-video-frame,
  .cf-setup-progress-rail,
  .cf-setup-invite-box,
  .cf-setup-editor {
    margin-left: 16px;
    margin-right: 16px;
  }

  .cf-setup-progress-rail {
    margin-bottom: 18px;
  }

  .cf-setup-invite-box {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .cf-setup-invite-box + .cf-setup-invite-box {
    padding-bottom: 18px;
  }

  .cf-setup-muted,
  .cf-setup-editor-toolbar,
  .cf-setup-modal-actions {
    margin-left: 16px;
    margin-right: 16px;
    padding-left: 0;
    padding-right: 0;
  }

  .cf-setup-editor {
    min-height: 150px;
    padding: 16px;
    font-size: 15px;
  }

  .cf-setup-modal-actions {
    justify-content: stretch;
  }

  .cf-setup-modal-actions .cf-setup-text-button,
  .cf-setup-modal-actions .cf-setup-primary-button {
    flex: 1 1 0;
  }
}

/* ================================================================
   Community Settings — Pricing Panel (cf-csp)
   ================================================================ */

.cf-csp {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cf-csp__topbar {
  display: flex;
  justify-content: flex-end;
  min-height: 24px;
}

.cf-csp__save-state {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #5f6368;
  transition: color 0.2s;
}
.cf-csp__save-state.is-saved { color: #1a73e8; }
.cf-csp__save-state.is-saving { color: #9b9b9b; }
.cf-csp__save-state.is-error { color: #d93025; }

/* ── Model selector grid ── */
.cf-csp-model-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
@media (max-width: 780px) {
  .cf-csp-model-grid { grid-template-columns: repeat(3, 1fr); }
}

.cf-csp-model-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 14px 14px;
  border: 1.5px solid #e0dedd;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: #fff;
  position: relative;
  user-select: none;
}
.cf-csp-model-card input[type="radio"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  margin: 0;
}
.cf-csp-model-card:hover { border-color: #bbb; background: #fafafa; }
.cf-csp-model-card.is-active { border-color: #1a73e8; background: #f0f5ff; }

/* radio ring indicator */
.cf-csp-model-card::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background: #fff;
  flex-shrink: 0;
  transition: border-color 0.15s;
}
.cf-csp-model-card.is-active::before {
  border-color: #1a73e8;
  background: #1a73e8;
  box-shadow: inset 0 0 0 3px #fff;
}

.cf-csp-model-card__label {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.2;
  pointer-events: none;
}
.cf-csp-model-card__desc {
  font-size: 12px;
  color: #6e6f76;
  line-height: 1.35;
  pointer-events: none;
}

/* ── Body area ── */
.cf-csp-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Tiers grid ── */
.cf-csp-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: start;
}
@media (max-width: 680px) {
  .cf-csp-tiers-grid { grid-template-columns: 1fr; }
}

/* ── Tier card ── */
.cf-csp-tier-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1.5px solid #e0dedd;
  border-radius: 10px;
  background: #fafafa;
  min-height: 120px;
  transition: opacity 0.2s;
}
.cf-csp-tier-card.is-disabled { opacity: 0.45; pointer-events: none; }
.cf-csp-tier-card.is-disabled:not(.cf-csp-tier-card--optional) { pointer-events: auto; }

.cf-csp-tier-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cf-csp-tier-card h6 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cf-csp-tier-name--premium { color: #7c3aed; }

.cf-csp-tier-price--free {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #1a73e8;
}
.cf-csp-tier-price--free svg { width: 15px; height: 15px; }

/* ── Set price button ── */
.cf-csp-set-price-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: #1a73e8;
  cursor: pointer;
  text-align: left;
  line-height: 1.3;
}
.cf-csp-set-price-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.cf-csp-set-price-btn:hover { color: #1558b0; }
.cf-csp-set-price-btn:disabled { color: #aaa; cursor: default; }

/* ── Add benefit button ── */
.cf-csp-add-benefit {
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  color: #6e6f76;
  cursor: pointer;
  text-align: left;
  margin-top: auto;
}
.cf-csp-add-benefit:hover { color: #1a73e8; }
.cf-csp-add-benefit:disabled { color: #ccc; cursor: default; }

/* ── Trial toggle ── */
.cf-csp-trial-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  color: #3c3c3c;
}

.cf-csp-toggle-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  flex-shrink: 0;
}
.cf-csp-toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }

.cf-csp-toggle-slider {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: #ccc;
  cursor: pointer;
  transition: background 0.2s;
}
.cf-csp-toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
}
.cf-csp-toggle-switch input:checked + .cf-csp-toggle-slider { background: #1a73e8; }
.cf-csp-toggle-switch input:checked + .cf-csp-toggle-slider::before { transform: translateX(16px); }

/* mini toggle for VIP */
.cf-csp-toggle-mini {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 18px;
  flex-shrink: 0;
}
.cf-csp-toggle-mini input { opacity: 0; width: 0; height: 0; position: absolute; }
.cf-csp-toggle-mini .cf-csp-toggle-slider::before {
  width: 12px;
  height: 12px;
  left: 3px;
  top: 3px;
}
.cf-csp-toggle-mini input:checked + .cf-csp-toggle-slider::before { transform: translateX(14px); }

/* ── Price-set dialog: price input ── */
.cf-csm-dialog__price-input {
  display: flex;
  align-items: center;
  border: 1.5px solid #e0dedd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.cf-csm-dialog__price-input span {
  padding: 0 10px;
  font-size: 14px;
  color: #6e6f76;
  background: #f7f7f7;
  border-right: 1px solid #e0dedd;
  line-height: 40px;
  flex-shrink: 0;
}
.cf-csm-dialog__price-input span:last-child {
  border-right: none;
  border-left: 1px solid #e0dedd;
}
.cf-csm-dialog__price-input input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 500;
  height: 40px;
  background: transparent;
  width: 100%;
}
.cf-csm-dialog__field small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #9b9b9b;
}

/* ── Billing options ── */
.cf-csp-billing-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.cf-csp-billing-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #3c3c3c;
  user-select: none;
}
.cf-csp-billing-opt input[type="radio"] { cursor: pointer; accent-color: #1a73e8; }

/* ================================================================
   Community Settings — Plugins Panel (cf-csp-plug)
   ================================================================ */

/* ── Plugin list rows ── */
.cf-csp-plug-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background 0.12s;
  border-radius: 6px;
  padding-left: 6px;
  padding-right: 6px;
}
.cf-csp-plug-row:first-child { padding-top: 0; }
.cf-csp-plug-row:last-child { border-bottom: none; }
.cf-csp-plug-row:hover { background: #fafafa; }
.cf-csp-plug-row:focus { outline: 2px solid #1a73e8; outline-offset: 2px; }

.cf-csp-plug-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cf-csp-plug-icon svg { width: 20px; height: 20px; }

.cf-csp-plug-info { flex: 1; min-width: 0; }
.cf-csp-plug-name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
}
.cf-csp-plug-status {
  font-weight: 500;
  color: #9b9b9b;
  font-size: 13px;
}
.cf-csp-plug-status.is-on { color: #16a34a; }
.cf-csp-plug-desc {
  font-size: 12px;
  color: #6e6f76;
  margin-top: 2px;
  line-height: 1.4;
}
.cf-csp-plug-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #ccc;
}
.cf-csp-plug-pro-badge {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 3px 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Plugin detail view ── */
.cf-csp-plug-back {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  color: #1a73e8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cf-csp-plug-back:hover { text-decoration: underline; }

.cf-csp-plug-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cf-csp-plug-detail-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.cf-csp-plug-toggle-label {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  min-width: 22px;
  text-align: right;
}

.cf-csp-plug-detail-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cf-csp-plug-detail-desc {
  font-size: 14px;
  color: #4b4f5a;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* ── ADD QUESTION button in detail ── */
.cf-csp-plug-add-btn {
  background: #f5c842;
  color: #1a1a1a;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}
.cf-csp-plug-add-btn:hover { background: #eab308; }

/* ── Question list ── */
.cf-csp-plug-q-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.cf-csp-plug-q-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.cf-csp-plug-q-item-left { flex: 1; min-width: 0; }
.cf-csp-plug-q-rtype {
  font-size: 11px;
  font-weight: 600;
  color: #9b9b9b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 2px;
}
.cf-csp-plug-q-text {
  font-size: 13px;
  color: #1a1a1a;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cf-csp-plug-q-del {
  background: none;
  border: none;
  font-size: 18px;
  color: #ccc;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.12s;
  flex-shrink: 0;
}
.cf-csp-plug-q-del:hover { color: #ef4444; }

/* ── Add question form ── */
.cf-csp-plug-addq-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 14px 0 18px;
}
.cf-csp-plug-addq-field {
  position: relative;
  margin-bottom: 16px;
}
.cf-csp-plug-addq-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px 14px 22px;
  font-size: 14px;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.15s;
}
.cf-csp-plug-addq-input:focus { border-color: #1a73e8; }
.cf-csp-plug-addq-counter {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 11px;
  color: #9b9b9b;
}
.cf-csp-plug-addq-select-wrap { margin-bottom: 16px; }
.cf-csp-plug-addq-select-label {
  font-size: 11px;
  font-weight: 600;
  color: #9b9b9b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}
.cf-csp-plug-addq-select-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  color: #1a1a1a;
  background: #fff;
  cursor: pointer;
}
.cf-csp-plug-addq-select-box svg { width: 16px; height: 16px; color: #6b7280; pointer-events: none; }
.cf-csp-plug-addq-select-box select {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  font-size: 14px;
}
.cf-csp-plug-addq-error {
  font-size: 13px;
  color: #ef4444;
  margin-bottom: 10px;
}
.cf-csp-plug-addq-actions { margin-top: 4px; }
.cf-csp-plug-addq-save {
  background: #1a73e8;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.15s;
}
.cf-csp-plug-addq-save:hover { background: #1558b0; }

/* ── Pro upgrade dialog ── */
.cf-csp-pro-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px 20px;
  text-align: center;
}
.cf-csp-pro-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.cf-csp-pro-icon svg { width: 24px; height: 24px; color: #6b7280; }
.cf-csp-pro-title { font-size: 18px; font-weight: 700; color: #1a1a1a; margin: 0 0 4px; }
.cf-csp-pro-sub { font-size: 13px; color: #6b7280; margin: 0 0 18px; }
.cf-csp-pro-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 16px;
}
.cf-csp-pro-table th {
  font-weight: 700;
  color: #9b9b9b;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  text-align: center;
}
.cf-csp-pro-table th:first-child { text-align: left; }
.cf-csp-pro-table td {
  padding: 7px 8px;
  color: #1a1a1a;
  text-align: center;
  border-top: 1px solid #f0f0f0;
}
.cf-csp-pro-table td:first-child { text-align: left; font-weight: 500; }
.cf-csp-pro-x { color: #d1d5db; font-size: 16px; }
.cf-csp-pro-check {
  color: #fff;
  background: #16a34a;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.cf-csp-pro-dim { color: #9b9b9b; }
.cf-csp-pro-pct { color: #16a34a; font-weight: 700; }
.cf-csp-pro-cta {
  display: block;
  width: 100%;
  background: #f5c842;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}
.cf-csp-pro-cta:hover { background: #eab308; }

/* Billing */
.cf-csb {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 860px;
}
.cf-csb__view {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cf-csb__summary h4,
.cf-csb__subhead h4 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  color: #171717;
}
.cf-csb__summary-copy,
.cf-csb__subhead p,
.cf-csb__footnote,
.cf-csb__delete-note,
.cf-csb__empty {
  margin: 0;
  color: #52525b;
  font-size: 15px;
  line-height: 1.65;
}
.cf-csb__action-row,
.cf-csb__actions,
.cf-csb__plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cf-csb__link-btn,
.cf-csb__menu-link,
.cf-csb__back,
.cf-csb__danger-link {
  border: none;
  background: none;
  padding: 0;
  color: #71717a;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cf-csb__link-btn:hover,
.cf-csb__menu-link:hover,
.cf-csb__back:hover {
  color: #1f2937;
}
.cf-csb__danger-link,
.cf-csb__menu-link.is-danger {
  color: #dc2626;
}
.cf-csb__danger-zone {
  padding-top: 4px;
}
.cf-csb__card {
  background: #fffdf7;
  border: 1px solid #f1e3b2;
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cf-csb__status {
  font-size: 13px;
  font-weight: 600;
  color: #71717a;
}
.cf-csb__status.is-error {
  color: #dc2626;
}
.cf-csb__status.is-saving {
  color: #a16207;
}
.cf-csb__status.is-success {
  color: #15803d;
}
.cf-csb__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.cf-csb__field {
  display: block;
}
.cf-csb__field span {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #27272a;
}
.cf-csb__field input,
.cf-csb__field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d4d4d8;
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
  font-size: 14px;
  color: #18181b;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cf-csb__field input:focus,
.cf-csb__field textarea:focus {
  border-color: #f5c842;
  box-shadow: 0 0 0 3px rgba(245, 200, 66, 0.2);
}
.cf-csb__field--full {
  grid-column: 1 / -1;
}
.cf-csb__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.cf-csb__btn--primary {
  background: #f5c842;
  color: #18181b;
}
.cf-csb__btn--primary:hover {
  background: #eab308;
}
.cf-csb__btn--muted {
  background: #fff;
  color: #71717a;
  border-color: #d4d4d8;
}
.cf-csb__btn--danger {
  background: #dc2626;
  color: #fff;
}
.cf-csb__btn[disabled] {
  opacity: 0.65;
  cursor: default;
}
.cf-csb__menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.cf-csb__plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.cf-csb__plan-card {
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  padding: 22px;
  background: #fff;
}
.cf-csb__plan-card.is-current {
  border-color: #f5c842;
  box-shadow: 0 0 0 3px rgba(245, 200, 66, 0.18);
}
.cf-csb__plan-price {
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
  color: #18181b;
  margin-bottom: 12px;
}
.cf-csb__plan-price span {
  font-size: 20px;
  font-weight: 700;
}
.cf-csb__plan-card h5 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: #18181b;
}
.cf-csb__plan-card p {
  margin: 0 0 20px;
  color: #52525b;
  font-size: 14px;
  line-height: 1.6;
}
.cf-csb__history {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cf-csb__history-item {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
}
.cf-csb__history-date {
  color: #2563eb;
  font-size: 15px;
}
.cf-csb__history-meta {
  color: #3f3f46;
  font-size: 15px;
}
.cf-csb__checklist {
  margin: 0;
  padding-left: 20px;
  color: #3f3f46;
  font-size: 15px;
  line-height: 1.7;
}
.cf-csb__delete-state {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cf-csb__delete-state span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f4f4f5;
  color: #52525b;
  font-size: 13px;
  font-weight: 600;
}
.cf-csb__delete-state.is-ready span {
  background: #ecfdf5;
  color: #166534;
}

@media (max-width: 767px) {
  .cf-csb__summary h4,
  .cf-csb__subhead h4 {
    font-size: 24px;
  }
  .cf-csb__grid {
    grid-template-columns: 1fr;
  }
  .cf-csb__card {
    padding: 18px;
  }
  .cf-csb__btn {
    width: 100%;
  }
}

/* ================================================================
   FEED ALERT
   ================================================================ */
.cf-feed-alert-list {
  display: grid;
  gap: 18px;
  margin-bottom: 20px;
}

.cf-feed-alert {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 14px;
  background: #18140f;
  border: 1px solid rgba(244, 170, 28, 0.12);
  border-radius: 14px;
  padding: 16px 18px;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(17, 12, 8, 0.12);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.cf-feed-alert-bell {
  position: relative;
  width: 48px;
  min-width: 48px;
  max-width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.cf-feed-alert-bell-icon {
  display: block;
  width: 34px !important;
  min-width: 34px;
  max-width: 34px;
  height: 34px !important;
  min-height: 34px;
  max-height: 34px;
  flex: 0 0 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'%3E%3Cpath d='M32 10c-3.6 0-6.5 2.9-6.5 6.5v2.1C17.2 21.4 11 29.3 11 38.6v10.1c0 1.7-.7 3.3-1.9 4.5L6 56.4h20.1c.3 6.2 2.6 10.1 5.9 10.1 3.3 0 5.6-3.9 5.9-10.1H58l-3.1-3.2c-1.2-1.2-1.9-2.8-1.9-4.5V38.6c0-9.3-6.2-17.2-14.5-20V16.5C38.5 12.9 35.6 10 32 10Z' stroke='%23FFFFFF' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 34px 34px;
}

.cf-feed-alert-badge {
  position: absolute;
  top: 1px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ffcc00;
  color: #211c16;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  border: 2px solid #18140f;
}

.cf-feed-alert-body {
  display: block;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.cf-feed-alert-title {
  display: block;
  margin: 0 0 2px;
  color: #ffcc00;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cf-feed-alert-text {
  display: block;
  margin: 0;
  color: #ffffff;
  font-size: clamp(12px, 0.88vw, 14px);
  line-height: 1.35;
  font-weight: 700;
}

.cf-feed-alert-text-main,
.cf-feed-alert-meta,
.cf-feed-alert-link,
.cf-feed-alert-separator {
  display: inline;
}

.cf-feed-alert-link {
  color: #ffcc00;
  text-decoration: none;
  white-space: nowrap;
}

.cf-feed-alert-link:hover {
  color: #ffcc00;
  text-decoration: none;
}

.cf-feed-alert-close {
  flex: 0 0 34px;
  width: 34px;
  min-width: 34px;
  max-width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-size: 0;
}

.cf-feed-alert-close span {
  display: block;
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.06em;
}

.cf-feed-alert-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.cf-feed-alert[hidden] {
  display: none !important;
}

@media (max-width: 767.98px) {
  .cf-feed-alert {
    grid-template-columns: 44px minmax(0, 1fr) 28px;
    gap: 10px;
    padding: 14px 14px;
    border-radius: 14px;
  }

  .cf-feed-alert-bell {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    height: 40px;
  }

  .cf-feed-alert-bell-icon {
    width: 28px !important;
    min-width: 28px;
    max-width: 28px;
    height: 28px !important;
    min-height: 28px;
    max-height: 28px;
    flex-basis: 28px;
    background-size: 28px 28px;
  }

  .cf-feed-alert-badge {
    top: 0;
    right: 0;
    min-width: 16px;
    height: 16px;
    font-size: 9px;
  }

  .cf-feed-alert-title {
    font-size: 15px;
  }

  .cf-feed-alert-text {
    font-size: 12px;
    line-height: 1.35;
  }

  .cf-feed-alert-close {
    flex-basis: 28px;
    width: 28px;
    min-width: 28px;
    max-width: 28px;
    height: 28px;
    align-self: start;
  }

  .cf-feed-alert-close span {
    font-size: 20px;
  }
}

.cf-overlay-post-poll,
.cf-mobile-post-poll {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.cf-overlay-post-poll-head,
.cf-mobile-post-poll-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #6b7280;
}

.cf-overlay-post-poll-options,
.cf-mobile-post-poll-options {
  display: grid;
  gap: 10px;
}

.cf-overlay-post-poll-option,
.cf-mobile-post-poll-option {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
  border-radius: 16px;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
}

.cf-overlay-post-poll-option-fill,
.cf-mobile-post-poll-option-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: rgba(244, 170, 28, 0.2);
  pointer-events: none;
}

.cf-overlay-post-poll-option-copy,
.cf-mobile-post-poll-option-copy {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cf-overlay-post-poll-option-copy strong,
.cf-mobile-post-poll-option-copy strong {
  font-size: 14px;
  color: #111827;
}

.cf-overlay-post-poll-option-copy small,
.cf-mobile-post-poll-option-copy small {
  font-size: 12px;
  color: #4b5563;
  white-space: nowrap;
}

.cf-overlay-post-poll-option.is-selected,
.cf-mobile-post-poll-option.is-selected {
  border-color: rgba(244, 170, 28, 0.7);
  background: #fffaf0;
}

/* ================================================================
   Community Feed Redesign
   ================================================================ */
.cf-view-feed {
  background:
    radial-gradient(circle at top center, rgba(231, 193, 117, 0.18), transparent 30%),
    linear-gradient(180deg, #faf7f1 0%, #f8f4ed 100%) !important;
}

.cf-view-feed .cf-tabs {
  display: none;
}

.cf-view-feed .cf-page {
  max-width: 1280px;
  padding: 30px 24px 56px;
}

.cf-view-feed .cf-content-grid-simple {
  grid-template-columns: 1fr;
  gap: 24px;
}

.cf-view-feed .cf-content-main {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
}

.cf-view-feed .cf-content-sidebar {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
}

.cf-view-feed .cf-community-hero {
  margin-bottom: 28px;
}

.cf-community-hero-cover {
  position: relative;
  min-height: 320px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(38, 28, 19, 0.28), rgba(38, 28, 19, 0.06)),
    linear-gradient(135deg, #dfd3bd 0%, #baa184 46%, #7c634b 100%);
  box-shadow: 0 22px 48px rgba(53, 37, 16, 0.12);
}

.cf-community-hero-cover-image,
.cf-community-hero-cover-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cf-community-hero-cover-image {
  object-fit: cover;
}

.cf-community-hero-cover-placeholder {
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.5), transparent 20%),
    linear-gradient(135deg, #ddd0b9 0%, #c9b498 44%, #8d7358 100%);
}

.cf-community-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(25, 19, 15, 0.08) 0%, rgba(25, 19, 15, 0.58) 100%),
    linear-gradient(90deg, rgba(15, 11, 9, 0.5) 0%, rgba(15, 11, 9, 0.16) 58%, rgba(15, 11, 9, 0) 100%);
}

.cf-community-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: 28px 34px 40px;
}

.cf-community-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.cf-community-hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff8ee;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.cf-community-hero-brand {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.cf-community-hero-logo {
  width: 90px;
  height: 90px;
  border-radius: 22px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #191816 0%, #2b1f12 100%);
  box-shadow: 0 14px 36px rgba(14, 10, 8, 0.28);
}

.cf-community-hero-logo img,
.cf-community-hero-logo span {
  display: block;
  width: 100%;
  height: 100%;
}

.cf-community-hero-logo img {
  object-fit: cover;
}

.cf-community-hero-logo span {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #efc157;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.cf-community-hero-copy {
  min-width: 0;
  max-width: 720px;
}

.cf-community-hero-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(40px, 4.8vw, 62px);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-family: Georgia, "Times New Roman", serif;
}

.cf-community-hero-copy p {
  margin: 14px 0 0;
  color: rgba(255, 250, 243, 0.92);
  font-size: 22px;
  line-height: 1.45;
  font-weight: 500;
}

.cf-community-summary-card {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: calc(100% - 140px);
  margin: -34px auto 0;
  padding: 22px 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(221, 208, 186, 0.9);
  box-shadow: 0 18px 40px rgba(57, 41, 17, 0.12);
}

.cf-community-summary-stats,
.cf-community-summary-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.cf-community-summary-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6f665d;
  font-size: 18px;
  line-height: 1.2;
}

.cf-community-summary-stat svg {
  width: 18px;
  height: 18px;
  color: #211d18;
  flex-shrink: 0;
}

.cf-community-summary-stat strong {
  color: #171412;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
}

.cf-community-summary-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #29bf74;
  box-shadow: 0 0 0 4px rgba(41, 191, 116, 0.14);
  flex-shrink: 0;
}

.cf-community-summary-avatars {
  display: flex;
  align-items: center;
  padding-left: 8px;
}

.cf-community-summary-avatars img,
.cf-community-summary-avatar-placeholder {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 4px 14px rgba(23, 16, 10, 0.08);
}

.cf-community-summary-avatars img + img,
.cf-community-summary-avatar-placeholder + img,
.cf-community-summary-avatars img + .cf-community-summary-avatar-placeholder {
  margin-left: -10px;
}

.cf-community-summary-avatar-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d5a850 0%, #8f76b5 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.cf-community-summary-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cf-community-summary-chip,
.cf-community-summary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cf-community-summary-chip {
  background: #f8f1df;
  border-color: #ead9ad;
  color: #bf9540;
  text-transform: uppercase;
}

.cf-community-summary-btn {
  cursor: pointer;
}

.cf-community-summary-btn-primary {
  background: linear-gradient(135deg, #f1c458 0%, #e6ab30 100%);
  border-color: #e6ab30;
  color: #2a1c08;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.cf-community-summary-btn-secondary {
  background: #f6f2ea;
  border-color: #e5d9c7;
  color: #5f564d;
}

.cf-community-section-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 28px;
  padding: 8px;
  border: 1px solid #ddd1c0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(48, 35, 17, 0.06);
}

.cf-community-section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  color: #70675e;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.cf-community-section-link.active {
  background: #21234f;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cf-view-feed .cf-composer {
  display: block;
  padding: 20px 20px 16px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #ddd1c0;
  box-shadow: 0 12px 30px rgba(45, 33, 17, 0.07);
}

.cf-view-feed .cf-composer-main {
  gap: 14px;
}

.cf-view-feed .cf-composer-avatar,
.cf-view-feed .cf-composer-avatar-placeholder {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #d7a945 0%, #8f76b5 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.cf-view-feed .cf-composer-input {
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #d9cfbf;
  background: #ffffff;
  color: #82796e;
  font-size: 15px;
  font-weight: 400;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.cf-composer-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid #ece3d4;
}

.cf-composer-tool {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #70675f;
  font-size: 15px;
  font-weight: 500;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.cf-composer-tool svg {
  width: 18px;
  height: 18px;
  color: #595149;
}

.cf-composer-tools-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.cf-composer-submit {
  margin-left: auto;
  min-width: 74px;
  min-height: 42px;
  padding: 0 20px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0c356 0%, #e7ad33 100%);
  color: #2a1c08;
  font-size: 16px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.cf-view-feed .cf-pending-alert,
.cf-view-feed .cf-feed-alert-list {
  margin-top: 18px;
}

.cf-view-feed .cf-feed-toolbar {
  display: flex;
  justify-content: flex-start;
  margin: 14px 0 18px;
}

.cf-view-feed .cf-filters {
  gap: 10px;
  margin-bottom: 0;
}

.cf-view-feed .cf-pill {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #ddd1c0;
  background: rgba(255, 255, 255, 0.92);
  color: #756b61;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(44, 32, 18, 0.04);
}

.cf-view-feed .cf-pill.active {
  background: #1e244f;
  border-color: #1e244f;
  color: #fff;
}

.cf-view-feed .cf-post-stream .post,
.cf-view-feed .cf-post-stream .post-wrapper,
.cf-view-feed .cf-post-stream .alert-post {
  border: 1px solid #ddd1c0 !important;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(42, 31, 18, 0.06);
  overflow: hidden;
}

.cf-view-feed .cf-post-stream .post {
  margin-bottom: 22px;
}

.cf-view-feed .cf-post-stream .post:hover {
  border-color: #d7c6ad !important;
  box-shadow: 0 16px 32px rgba(42, 31, 18, 0.08);
  transform: none;
}

.cf-view-feed .cf-post-stream .post-body {
  padding: 24px 24px 18px;
}

.cf-view-feed .cf-post-stream .post-header {
  margin-bottom: 14px;
}

.cf-view-feed .cf-post-stream .post-author {
  color: #171412;
  font-size: 18px;
  font-weight: 700;
}

.cf-view-feed .cf-post-stream .post-time,
.cf-view-feed .cf-post-stream .post-time a {
  color: #93897d;
  font-size: 14px;
}

.cf-view-feed .cf-post-stream .post-text,
.cf-view-feed .cf-post-stream .post-text-translation {
  color: #2b2621;
  font-size: 17px;
  line-height: 1.75;
}

.cf-view-feed .cf-post-stream .post-stats {
  border-top: 1px solid #eee4d6;
  margin-top: 18px;
  padding-top: 14px;
}

.cf-view-feed .cf-post-stream .post-stats .pointer,
.cf-view-feed .cf-post-stream .post-actions .btn,
.cf-view-feed .cf-post-stream .post-footer-action {
  color: #696058;
}

.cf-view-feed .cf-content-sidebar .cf-side-stack-simple {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.85fr);
  gap: 20px;
}

.cf-view-feed .cf-side-stack-simple .cf-community-card-showcase,
.cf-view-feed .cf-side-stack-simple .cf-community-builder-card {
  min-width: 0;
  border-radius: 28px;
  border: 1px solid #ddd1c0;
  box-shadow: 0 12px 28px rgba(42, 31, 18, 0.06);
}

.cf-view-feed .cf-side-stack-simple .cf-community-card-showcase .cf-community-card-cover img,
.cf-view-feed .cf-side-stack-simple .cf-community-card-showcase .cf-community-card-cover-placeholder {
  height: 168px;
}

.cf-view-feed .cf-side-stack-simple .cf-community-card-showcase .cf-community-card-body {
  padding: 24px;
  text-align: left;
}

.cf-view-feed .cf-side-stack-simple .cf-community-card-showcase h2 {
  font-size: 26px;
  line-height: 1.1;
}

.cf-view-feed .cf-side-stack-simple .cf-community-card-showcase p {
  max-width: none;
  margin: 0 0 14px;
  font-size: 15px;
}

.cf-view-feed .cf-side-stack-simple .cf-community-card-inline-stats {
  justify-content: flex-start;
  font-size: 13px;
}

.cf-view-feed .cf-side-stack-simple .cf-community-card-showcase .cf-sidebar-cta,
.cf-view-feed .cf-side-stack-simple .cf-community-builder-card .cf-sidebar-cta {
  width: auto;
  min-width: 180px;
  padding: 0 20px;
}

.cf-view-feed .cf-side-stack-simple .cf-community-builder-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  text-align: left;
  background:
    radial-gradient(circle at top left, rgba(240, 195, 86, 0.24), transparent 34%),
    #fffdf9;
}

.cf-view-feed .cf-side-stack-simple .cf-community-builder-card h3 {
  font-size: 28px;
  line-height: 1.08;
}

.cf-view-feed .cf-side-stack-simple .cf-community-builder-card p {
  max-width: 280px;
  margin: 12px 0 0;
  font-size: 15px;
}

.cf-view-feed .cf-powered {
  grid-column: 1 / -1;
  text-align: center;
  color: #897e71;
}

.cf-view-feed .cf-tab:focus-visible,
.cf-community-section-link:focus-visible,
.cf-view-feed .cf-composer-input:focus-visible,
.cf-view-feed .cf-pill:focus-visible,
.cf-view-feed .cf-community-summary-btn:focus-visible,
.cf-view-feed .cf-sidebar-cta:focus-visible,
.cf-view-feed .cf-feed-alert-close:focus-visible,
.cf-view-feed .cf-feed-alert-link:focus-visible {
  outline: 2px solid #1e244f;
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .cf-view-feed .cf-page {
    padding: 0px 18px 42px;
  }

  .cf-community-summary-card {
    width: calc(100% - 48px);
    padding: 18px 20px;
  }

  .cf-community-summary-stats,
  .cf-community-summary-actions {
    gap: 12px;
  }

  .cf-view-feed .cf-content-sidebar .cf-side-stack-simple {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .cf-view-feed .cf-page {
    padding: 18px 14px 34px;
  }

  .cf-community-hero-cover {
    min-height: 270px;
    border-radius: 26px;
  }

  .cf-community-hero-content {
    min-height: 270px;
    padding: 20px 20px 28px;
  }

  .cf-community-hero-brand {
    align-items: center;
  }

  .cf-community-hero-logo {
    width: 70px;
    height: 70px;
    border-radius: 18px;
  }

  .cf-community-hero-copy h1 {
    font-size: clamp(30px, 7vw, 42px);
  }

  .cf-community-hero-copy p {
    font-size: 16px;
  }

  .cf-community-summary-card {
    width: calc(100% - 28px);
    margin-top: -24px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 22px;
  }

  .cf-community-summary-stats,
  .cf-community-summary-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .cf-community-summary-actions {
    justify-content: flex-start;
  }

  .cf-community-summary-stat {
    font-size: 15px;
  }

  .cf-community-summary-stat strong {
    font-size: 22px;
  }

  .cf-community-section-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .cf-community-section-nav::-webkit-scrollbar {
    display: none;
  }

  .cf-community-section-link {
    white-space: nowrap;
  }

  .cf-view-feed .cf-composer {
    padding: 16px;
    border-radius: 22px;
  }

  .cf-view-feed .cf-composer-input {
    font-size: 16px;
    height: 48px;
  }

  .cf-composer-tools {
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
  }

  .cf-composer-tools-left {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .cf-composer-submit {
    width: auto;
    margin-left: 0;
    flex-shrink: 0;
    align-self: flex-start;
  }

  .cf-view-feed .cf-post-stream .post,
  .cf-view-feed .cf-post-stream .post-wrapper,
  .cf-view-feed .cf-post-stream .alert-post {
    border-radius: 22px !important;
  }

  .cf-view-feed .cf-post-stream .post-body {
    padding: 18px 18px 14px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   COMMUNITY MEMBERS PAGE
   ═══════════════════════════════════════════════════════════════ */

.cf-members-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.cf-members-header {
  text-align: center;
  margin-bottom: 32px;
}

.cf-members-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #171412;
  margin: 0 0 8px;
  letter-spacing: -0.025em;
}

.cf-members-subtitle {
  font-size: 16px;
  color: #7a7066;
  margin: 0;
  font-weight: 500;
}

.cf-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.cf-member-card {
  background: #ffffff;
  border: 1px solid #e8e0d5;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.cf-member-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: #d4c4b5;
}

.cf-member-avatar {
  position: relative;
  margin-bottom: 16px;
}

.cf-member-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.cf-member-online-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background: #22c55e;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.2);
}

.cf-member-last-seen {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 8px;
  font-weight: 600;
  white-space: nowrap;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cf-member-info {
  flex: 1;
  margin-bottom: 16px;
}

.cf-member-name {
  font-size: 18px;
  font-weight: 700;
  color: #171412;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

.cf-member-username {
  font-size: 14px;
  color: #7a7066;
  margin: 0 0 12px;
  font-weight: 500;
}

.cf-member-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.cf-member-role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #f0ede8;
  color: #7a7066;
}

.cf-member-role--admin {
  background: #ffcc00;
  color: #ffffff;
}

.cf-member-role svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.cf-member-plan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cf-member-plan svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.cf-member-level {
  font-size: 12px;
  color: #9a9088;
  font-weight: 500;
}

.cf-member-actions {
  width: 100%;
}

.cf-member-message-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid #e8e0d5;
  border-radius: 12px;
  background: #ffffff;
  color: #3d3730;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.cf-member-message-btn:hover {
  background: #f8f4ee;
  border-color: #d4c4b5;
  color: #171412;
}

.cf-member-message-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.cf-members-empty {
  text-align: center;
  padding: 80px 24px;
  max-width: 400px;
  margin: 0 auto;
}

.cf-members-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.cf-members-empty h3 {
  font-size: 20px;
  font-weight: 700;
  color: #171412;
  margin: 0 0 8px;
}

.cf-members-empty p {
  font-size: 16px;
  color: #7a7066;
  margin: 0;
  line-height: 1.5;
}

/* ── Tablet and Mobile ── */
@media (max-width: 768px) {
  .cf-members-shell {
    padding: 16px;
  }

  .cf-members-header h2 {
    font-size: 24px;
  }

  .cf-members-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cf-member-card {
    padding: 16px;
    flex-direction: row;
    text-align: left;
  }

  .cf-member-avatar {
    margin-bottom: 0;
    margin-right: 16px;
    flex-shrink: 0;
  }

  .cf-member-avatar img {
    width: 60px;
    height: 60px;
  }

  .cf-member-info {
    flex: 1;
    margin-bottom: 0;
  }

  .cf-member-meta {
    align-items: flex-start;
    margin-top: 8px;
  }

  .cf-member-actions {
    margin-top: 16px;
  }
}

/* Final compact feed-card override: description left, cropped thumbnail right. */
.cf-feed-shell-simple .cf-post-stream .post {
  border: 1px solid #ded8cf !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.cf-feed-shell-simple .cf-post-stream .post:hover {
  border-color: #d6cec2 !important;
  box-shadow: 0 8px 20px rgba(17,17,17,.05) !important;
  transform: none !important;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) clamp(92px, 16vw, 132px) !important;
  grid-template-areas:
    "header media"
    "content media"
    "stats media" !important;
  column-gap: 18px !important;
  row-gap: 6px !important;
  align-items: start !important;
  padding: 16px 16px 12px !important;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .post-header,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .post-header {
  grid-area: header !important;
  grid-column: 1 !important;
  grid-row: auto !important;
  margin: 0 !important;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .post-replace,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .post-replace {
  grid-area: content !important;
  grid-column: 1 !important;
  grid-row: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media > .mt10,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) > .mt10 {
  grid-area: media !important;
  grid-column: 2 !important;
  grid-row: 1 / span 3 !important;
  align-self: center !important;
  justify-self: end !important;
  width: clamp(92px, 16vw, 132px) !important;
  max-width: 132px !important;
  margin: 0 !important;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .post-stats,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .post-stats {
  grid-area: stats !important;
  grid-column: 1 !important;
  grid-row: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  margin: 4px 0 0 !important;
  padding: 0 !important;
  border-top: 0 !important;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .post-actions,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .post-actions {
  display: none !important;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .post-text,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .post-text {
  margin-top: 4px !important;
  color: #28231f !important;
  font-size: 21px !important;
  line-height: 1.45 !important;
  text-align: left !important;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_wrapper,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_wrapper,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_1x,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_1x,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_2x,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_2x,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_3x,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_3x,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_4x,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_4x {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_1x a,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_1x a,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_2x a,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_2x a,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_3x a,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_3x a,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_4x a,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_4x a {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  padding-bottom: 0 !important;
  border: 1px solid #ebe3d8 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center !important;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_1x img,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_1x img,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_2x img,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_2x img,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_3x img,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_3x img,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_4x img,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_4x img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_2o3,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_2o3,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_1o3,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_1o3,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_2o3_in,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_2o3_in,
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_1o3_in,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_1o3_in {
  width: 100% !important;
  height: auto !important;
  padding: 0 !important;
}

.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_wrapper .pg_2x:nth-child(n+2),
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_wrapper .pg_2x:nth-child(n+2),
.cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_1o3,
.cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_1o3 {
  display: none !important;
}

@media (max-width: 640px) {
  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media,
  .cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "header"
      "content"
      "media"
      "stats" !important;
    row-gap: 10px !important;
    padding: 14px !important;
  }

  .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media > .mt10,
  .cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) > .mt10 {
    grid-column: 1 !important;
    grid-row: auto !important;
    justify-self: start !important;
    width: min(46vw, 160px) !important;
    max-width: 160px !important;
  }
}

:root[data-theme="dark"] .cf-feed-shell-simple .cf-post-stream .post {
  background: #181b21 !important;
  border-color: #2c313b !important;
}

:root[data-theme="dark"] .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .post-text,
:root[data-theme="dark"] .cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .post-text {
  color: #e7e9ee !important;
}

:root[data-theme="dark"] .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_1x a,
:root[data-theme="dark"] .cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_1x a,
:root[data-theme="dark"] .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_2x a,
:root[data-theme="dark"] .cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_2x a,
:root[data-theme="dark"] .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_3x a,
:root[data-theme="dark"] .cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_3x a,
:root[data-theme="dark"] .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .pg_4x a,
:root[data-theme="dark"] .cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .pg_4x a {
  border-color: #3a414d !important;
  background-color: #20242c !important;
}

:root[data-theme="dark"] .cf-feed-shell-simple .cf-post-stream .post-body.cf-feed-has-media .post-stats span,
:root[data-theme="dark"] .cf-feed-shell-simple .cf-post-stream .post-body:has(.pg_wrapper img) .post-stats span {
  color: #aeb4bf !important;
}

/* Live group feed compact cards: description left, cropped media thumbnail right. */
.cf-feed.cf-post-stream .post {
  border: 1px solid #ded8cf !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.cf-feed.cf-post-stream .post:hover {
  border-color: #d6cec2 !important;
  box-shadow: 0 8px 20px rgba(17, 17, 17, .05) !important;
  transform: none !important;
}

.cf-feed.cf-post-stream .post-body.cf-feed-has-media,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) clamp(92px, 16vw, 132px) !important;
  grid-template-areas:
    "header media"
    "content media"
    "stats media"
    "actions media" !important;
  column-gap: 18px !important;
  row-gap: 6px !important;
  align-items: start !important;
  padding: 16px 16px 12px !important;
}

.cf-feed.cf-post-stream .post-body.cf-feed-has-media .post-header,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .post-header {
  grid-area: header !important;
  grid-column: 1 !important;
  margin: 0 !important;
}

.cf-feed.cf-post-stream .post-body.cf-feed-has-media .post-replace,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .post-replace {
  grid-area: content !important;
  grid-column: 1 !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.cf-feed.cf-post-stream .post-body.cf-feed-has-media > .mt10,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) > .mt10 {
  grid-area: media !important;
  grid-column: 2 !important;
  grid-row: 1 / span 4 !important;
  align-self: center !important;
  justify-self: end !important;
  width: clamp(92px, 16vw, 132px) !important;
  max-width: 132px !important;
  margin: 0 !important;
}

.cf-feed.cf-post-stream .post-body.cf-feed-has-media .post-stats,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .post-stats {
  grid-area: stats !important;
  grid-column: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  margin: 4px 0 0 !important;
  padding: 0 !important;
  border-top: 0 !important;
}

.cf-feed.cf-post-stream .post-body.cf-feed-has-media .post-actions,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .post-actions {
  grid-area: actions !important;
  grid-column: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  border-top: 0 !important;
  justify-content: flex-start !important;
}

.cf-feed.cf-post-stream .post-body.cf-feed-has-media .post-actions .cf-post-actions-right,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .post-actions .cf-post-actions-right {
  margin-left: auto !important;
}

.cf-feed.cf-post-stream .post-body.cf-feed-has-media .post-text,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .post-text {
  margin-top: 4px !important;
  color: #28231f !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  text-align: left !important;
}

.cf-feed.cf-post-stream .post-body.cf-feed-has-media .pg_wrapper,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .pg_wrapper,
.cf-feed.cf-post-stream .post-body.cf-feed-has-media .pg_1x,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .pg_1x,
.cf-feed.cf-post-stream .post-body.cf-feed-has-media .pg_2x,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .pg_2x,
.cf-feed.cf-post-stream .post-body.cf-feed-has-media .pg_3x,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .pg_3x,
.cf-feed.cf-post-stream .post-body.cf-feed-has-media .pg_4x,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .pg_4x {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

.cf-feed.cf-post-stream .post-body.cf-feed-has-media .pg_1x a,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .pg_1x a,
.cf-feed.cf-post-stream .post-body.cf-feed-has-media .pg_2x a,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .pg_2x a,
.cf-feed.cf-post-stream .post-body.cf-feed-has-media .pg_3x a,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .pg_3x a,
.cf-feed.cf-post-stream .post-body.cf-feed-has-media .pg_4x a,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .pg_4x a {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  padding-bottom: 0 !important;
  border: 1px solid #ebe3d8 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center !important;
}

.cf-feed.cf-post-stream .post-body.cf-feed-has-media .pg_1x img,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .pg_1x img,
.cf-feed.cf-post-stream .post-body.cf-feed-has-media .pg_2x img,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .pg_2x img,
.cf-feed.cf-post-stream .post-body.cf-feed-has-media .pg_3x img,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .pg_3x img,
.cf-feed.cf-post-stream .post-body.cf-feed-has-media .pg_4x img,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .pg_4x img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
}

.cf-feed.cf-post-stream .post-body.cf-feed-has-media .pg_2o3,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .pg_2o3,
.cf-feed.cf-post-stream .post-body.cf-feed-has-media .pg_1o3,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .pg_1o3,
.cf-feed.cf-post-stream .post-body.cf-feed-has-media .pg_2o3_in,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .pg_2o3_in,
.cf-feed.cf-post-stream .post-body.cf-feed-has-media .pg_1o3_in,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .pg_1o3_in {
  width: 100% !important;
  height: auto !important;
  padding: 0 !important;
}

.cf-feed.cf-post-stream .post-body.cf-feed-has-media .pg_wrapper .pg_2x:nth-child(n+2),
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .pg_wrapper .pg_2x:nth-child(n+2),
.cf-feed.cf-post-stream .post-body.cf-feed-has-media .pg_1o3,
.cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .pg_1o3 {
  display: none !important;
}

@media (max-width: 640px) {
  .cf-feed.cf-post-stream .post-body.cf-feed-has-media,
  .cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "header"
      "content"
      "media"
      "stats"
      "actions" !important;
    row-gap: 10px !important;
    padding: 14px !important;
  }

  .cf-feed.cf-post-stream .post-body.cf-feed-has-media > .mt10,
  .cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) > .mt10 {
    grid-column: 1 !important;
    grid-row: auto !important;
    justify-self: start !important;
    width: min(46vw, 160px) !important;
    max-width: 160px !important;
  }
}

:root[data-theme="dark"] .cf-feed.cf-post-stream .post {
  background: #181b21 !important;
  border-color: #2c313b !important;
}

:root[data-theme="dark"] .cf-feed.cf-post-stream .post-body.cf-feed-has-media .post-text,
:root[data-theme="dark"] .cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .post-text {
  color: #e7e9ee !important;
}

:root[data-theme="dark"] .cf-feed.cf-post-stream .post-body.cf-feed-has-media .pg_1x a,
:root[data-theme="dark"] .cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .pg_1x a,
:root[data-theme="dark"] .cf-feed.cf-post-stream .post-body.cf-feed-has-media .pg_2x a,
:root[data-theme="dark"] .cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .pg_2x a,
:root[data-theme="dark"] .cf-feed.cf-post-stream .post-body.cf-feed-has-media .pg_3x a,
:root[data-theme="dark"] .cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .pg_3x a,
:root[data-theme="dark"] .cf-feed.cf-post-stream .post-body.cf-feed-has-media .pg_4x a,
:root[data-theme="dark"] .cf-feed.cf-post-stream .post-body:has(.pg_wrapper img) .pg_4x a {
  background-color: #20242c !important;
  border-color: #3a414d !important;
}

/* Compact feed card final ordering: title, description, then valid counts. */
.cf-feed.cf-post-stream .post-body.cf-feed-card-composed.cf-feed-has-media,
.cf-feed.cf-post-stream .post-body.cf-feed-card-composed:has(.pg_wrapper img) {
  grid-template-areas:
    "header media"
    "title media"
    "content media"
    "poll media"
    "actions media" !important;
}


.cf-feed.cf-post-stream .post-body.cf-feed-card-composed .cf-feed-card-heading {
  grid-area: title !important;
  grid-column: 1 !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 0 4px !important;
  color: #0f172a !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

.cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-replace {
  grid-area: content !important;
}

.cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-text,
.cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-text-translation {
  padding: 0 !important;
  margin: 0 !important;
}

.cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-stats {
  display: none !important;
}

.cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-actions {
  grid-area: actions !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  width: 100% !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.cf-feed.cf-post-stream .post-body.cf-feed-card-composed .cf-post-actions-left,
.cf-feed.cf-post-stream .post-body.cf-feed-card-composed .cf-post-actions-right {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  min-width: 0 !important;
}

.cf-feed.cf-post-stream .post-body.cf-feed-card-composed .cf-post-actions-left .action-btn:not(.cf-post-like-action):not(.js_comment),
.cf-feed.cf-post-stream .post-body.cf-feed-card-composed .cf-post-actions-left .action-btn[data-url*="posts/share.php"],
.cf-feed.cf-post-stream .post-body.cf-feed-card-composed .cf-post-actions-left .action-btn[data-url*="modules/review"],
.cf-feed.cf-post-stream .post-body.cf-feed-card-composed .cf-post-actions-left .action-btn[data-url="#send-tip"] {
  display: none !important;
}

.cf-feed.cf-post-stream .post-body.cf-feed-card-composed .cf-post-like-action,
.cf-feed.cf-post-stream .post-body.cf-feed-card-composed .js_comment,
.cf-feed.cf-post-stream .post-body.cf-feed-card-composed .cf-post-save-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
  min-height: 22px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #24314a !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

.cf-feed.cf-post-stream .post-body.cf-feed-card-composed .action-icon,
.cf-feed.cf-post-stream .post-body.cf-feed-card-composed i.action-icon {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  color: #0f2748 !important;
  font-size: 18px !important;
}

:root[data-theme="dark"] .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .cf-feed-card-heading {
  color: #f3f5f8 !important;
}

:root[data-theme="dark"] .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .cf-post-like-action,
:root[data-theme="dark"] .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .js_comment,
:root[data-theme="dark"] .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .cf-post-save-btn,
:root[data-theme="dark"] .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .action-icon,
:root[data-theme="dark"] .cf-feed.cf-post-stream .post-body.cf-feed-card-composed i.action-icon {
  color: #d9dee8 !important;
}

@media (max-width: 640px) {
  .cf-feed.cf-post-stream .post-body.cf-feed-card-composed.cf-feed-has-media,
  .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:has(.pg_wrapper img) {
    grid-template-areas:
      "header"
      "title"
      "content"
      "poll"
      "media"
      "actions" !important;
  }
}

/* Final alignment override for live community cards. */
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .cf-feed-card-heading,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-replace,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-text,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-text-translation,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-actions {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-text,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-text-translation {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-actions {
  margin-top: 0px !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-stats,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-stats.clearfix {
  display: none !important;
}

/* Reference post-card layout: left copy/actions, right media, menu above media. */
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed.cf-feed-has-media,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:has(.pg_wrapper img),
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:has(.cf-feed-video-media) {
  position: relative !important;
  grid-template-columns: minmax(0, 1fr) 120px !important;
  grid-template-areas:
    "header media"
    "title media"
    "content media"
    "poll media"
    "actions media" !important;
  column-gap: 42px !important;
  row-gap: 4px !important;
  padding: 38px 38px 18px !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-header {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  padding: 0 !important;
  margin: 0 0 6px !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-avatar,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-avatar-picture,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-avatar-anonymous {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-meta {
  display: block !important;
  min-width: 0 !important;
  padding-right: 0 !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-meta > .dropdown,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-meta > .float-end.dropdown {
  position: absolute !important;
  top: 28px !important;
  right: 50px !important;
  z-index: 5 !important;
  float: none !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-meta > .dropdown .dropdown-toggle,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-meta > .float-end.dropdown .dropdown-toggle {
  width: 26px !important;
  height: 24px !important;
  min-width: 26px !important;
  min-height: 24px !important;
  padding: 0 !important;
  background: transparent !important;
  color: #0f2748 !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-meta > .dropdown .dropdown-toggle i,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-meta > .float-end.dropdown .dropdown-toggle i {
  color: #0f2748 !important;
  font-size: 15px !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .cf-feed-card-heading {
  margin: 0 0 3px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-text,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-text-translation {
  color: #050b18 !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed > .mt10,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:has(.pg_wrapper img) > .mt10,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed > .cf-feed-video-media {
  grid-column: 2 !important;
  grid-row: 1 / span 4 !important;
  align-self: start !important;
  justify-self: end !important;
  width: 120px !important;
  max-width: 120px !important;
  height: 120px !important;
  margin: 0 !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed > .cf-feed-video-media {
  aspect-ratio: 1 / 1 !important;
  height: 120px !important;
  max-height: 120px !important;
  border: 1px solid #ebe3d8 !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  background: #050505 !important;
  cursor: pointer !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media video,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media .plyr,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media .plyr__video-wrapper {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  pointer-events: none !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media video {
  border: 0 !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media .plyr__controls,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media .plyr__control,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media .plyr__control--overlaid,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media .plyr__progress,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media .plyr__volume,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media .plyr__menu {
  display: none !important;
}

.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed:has(.cf-feed-video-media) {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 120px !important;
  grid-template-areas:
    "header media"
    "title media"
    "content media"
    "poll media"
    "actions media" !important;
  column-gap: 42px !important;
  row-gap: 4px !important;
  align-items: start !important;
  min-height: 0 !important;
  padding: 38px 38px 18px !important;
}

.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed > .cf-feed-video-media {
  grid-column: 2 !important;
  grid-row: 1 / span 4 !important;
  align-self: start !important;
  justify-self: end !important;
  width: 120px !important;
  max-width: 120px !important;
  height: 120px !important;
  max-height: 120px !important;
  margin: 0 !important;
  aspect-ratio: 1 / 1 !important;
  border: 1px solid #ebe3d8 !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  background: #050505 !important;
  cursor: pointer !important;
}

.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media video,
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media .plyr,
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media .plyr__video-wrapper,
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media .plyr__poster {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  pointer-events: none !important;
}

.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media .plyr__controls,
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media .plyr__control,
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media .plyr__control--overlaid,
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media .plyr__progress,
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media .plyr__volume,
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media .plyr__menu {
  display: none !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .pg_1x a,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .pg_2x a,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .pg_3x a,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .pg_4x a {
  border-radius: 6px !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-actions {
  justify-content: flex-start !important;
  gap: 17px !important;
  margin-top: 0px !important;
  width: auto !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .cf-post-actions-left,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .cf-post-actions-right {
  gap: 17px !important;
  margin: 0 !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .cf-post-actions-right {
  margin-left: 0 !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .cf-post-like-action,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .js_comment,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .cf-post-save-btn {
  color: #062348 !important;
  font-size: 13px !important;
  gap: 8px !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .cf-post-save-btn {
  order: 3 !important;
}

:root[data-theme="dark"] .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-text,
:root[data-theme="dark"] .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-text-translation,
:root[data-theme="dark"] .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-meta > .dropdown .dropdown-toggle,
:root[data-theme="dark"] .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-meta > .dropdown .dropdown-toggle i {
  color: #e7e9ee !important;
}

@media (max-width: 720px) {
  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed.cf-feed-has-media,
  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:has(.pg_wrapper img),
  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:has(.cf-feed-video-media) {
    grid-template-columns: minmax(0, 1fr) 96px !important;
    grid-template-areas:
      "header media"
      "title media"
      "content media"
      "poll media"
      "actions media" !important;
    column-gap: 18px !important;
    padding: 20px 18px 16px !important;
  }

  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-avatar,
  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-avatar-picture,
  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-avatar-anonymous {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
  }

  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed > .mt10,
  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:has(.pg_wrapper img) > .mt10,
  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed > .cf-feed-video-media {
    width: 96px !important;
    max-width: 96px !important;
    height: 96px !important;
    max-height: 96px !important;
    margin-top: 8px !important;
  }

  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-meta > .dropdown,
  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-meta > .float-end.dropdown {
    top: 14px !important;
    right: 28px !important;
  }
}

@media (max-width: 460px) {
  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed.cf-feed-has-media,
  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:has(.pg_wrapper img),
  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:has(.cf-feed-video-media) {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "header"
      "title"
      "content"
      "poll"
      "media"
      "actions" !important;
  }

  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed > .mt10,
  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:has(.pg_wrapper img) > .mt10,
  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed > .cf-feed-video-media {
    grid-column: 1 !important;
    grid-row: auto !important;
    justify-self: start !important;
    width: 112px !important;
    max-width: 112px !important;
    height: 112px !important;
    max-height: 112px !important;
  }

  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-meta > .dropdown,
  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-meta > .float-end.dropdown {
    right: 18px !important;
  }
}

/* Text-only composed feed cards: keep fresh posts inside the card container. */
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas:
    "header"
    "title"
    "content"
    "poll"
    "actions" !important;
  row-gap: 4px !important;
  align-items: start !important;
  overflow: visible !important;
  padding: 28px 36px 18px !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) .post-header {
  grid-area: header !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  min-width: 0 !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) .post-avatar,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) .post-avatar-picture,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) .post-avatar-anonymous {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) .post-meta {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  padding: 0 42px 0 0 !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) .post-meta > .dropdown,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) .post-meta > .float-end.dropdown {
  position: absolute !important;
  top: 26px !important;
  right: 34px !important;
  z-index: 5 !important;
  float: none !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) .cf-feed-card-heading {
  grid-area: title !important;
  grid-column: 1 !important;
  max-width: 100% !important;
  margin: 0 0 3px !important;
  padding: 0 !important;
  color: #0f172a !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere !important;
  text-align: left !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) .post-replace {
  grid-area: content !important;
  grid-column: 1 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) .post-text,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) .post-text-translation {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #050b18 !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
  overflow: visible !important;
  overflow-wrap: anywhere !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) .post-actions {
  grid-area: actions !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 17px !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) .cf-post-actions-left,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) .cf-post-actions-right {
  display: flex !important;
  align-items: center !important;
  gap: 17px !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) .cf-post-actions-right {
  margin-left: 0 !important;
}

.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-actions > .action-btn:not(.cf-post-save-btn),
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-actions > .action-btn[data-url*="modules/review"],
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .post-actions > .action-btn[data-url="#send-tip"] {
  display: none !important;
}

:root[data-theme="dark"] .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) .cf-feed-card-heading,
:root[data-theme="dark"] .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) .post-text,
:root[data-theme="dark"] .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) .post-text-translation {
  color: #e7e9ee !important;
}

@media (max-width: 720px) {
  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) {
    padding: 20px 18px 16px !important;
  }

  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) .post-avatar,
  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) .post-avatar-picture,
  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) .post-avatar-anonymous {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
  }

  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) .post-meta > .dropdown,
  .cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)) .post-meta > .float-end.dropdown {
    top: 14px !important;
    right: 18px !important;
  }
}

/* Feed cards no longer show the post menu or save action; the menu appears in the single-post popup header. */
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-meta > .dropdown,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-meta > .float-end.dropdown,
.cf-view-feed .cf-feed.cf-post-stream .post-body.cf-feed-card-composed .cf-post-save-btn {
  display: none !important;
}

#cfSinglePostModal .cf-post-modal-slot .post-meta > .dropdown.cf-post-modal-header-menu,
#cfSinglePostModal .cf-post-modal-slot .post-meta > .float-end.dropdown.cf-post-modal-header-menu {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

#cfSinglePostModal .cf-post-modal-slot .post-meta > .dropdown.cf-post-modal-header-menu .dropdown-toggle,
#cfSinglePostModal .cf-post-modal-slot .post-meta > .float-end.dropdown.cf-post-modal-header-menu .dropdown-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 30px !important;
  min-width: 32px !important;
  min-height: 30px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #24314a !important;
  cursor: pointer !important;
}

#cfSinglePostModal .cf-post-modal-slot .post-meta > .dropdown.cf-post-modal-header-menu .dropdown-toggle:hover,
#cfSinglePostModal .cf-post-modal-slot .post-meta > .float-end.dropdown.cf-post-modal-header-menu .dropdown-toggle:hover {
  background: #f7f1e8 !important;
}

#cfSinglePostModal .cf-post-modal-slot .post-meta > .dropdown.cf-post-modal-header-menu .dropdown-toggle::after,
#cfSinglePostModal .cf-post-modal-slot .post-meta > .float-end.dropdown.cf-post-modal-header-menu .dropdown-toggle::after {
  display: none !important;
}

#cfSinglePostModal .cf-post-modal-slot .post-meta > .dropdown.cf-post-modal-header-menu .dropdown-toggle i,
#cfSinglePostModal .cf-post-modal-slot .post-meta > .float-end.dropdown.cf-post-modal-header-menu .dropdown-toggle i {
  color: #24314a !important;
  font-size: 15px !important;
  line-height: 1 !important;
}

#cfSinglePostModal .cf-post-modal-slot .post-meta > .dropdown.cf-post-modal-header-menu .dropdown-menu,
#cfSinglePostModal .cf-post-modal-slot .post-meta > .float-end.dropdown.cf-post-modal-header-menu .dropdown-menu {
  z-index: 2110 !important;
}

#cfSinglePostModal .cf-post-modal-slot .post-header {
  display: block !important;
}

#cfSinglePostModal .cf-post-modal-slot .post-avatar,
#cfSinglePostModal .cf-post-modal-slot .post-avatar-picture,
#cfSinglePostModal .cf-post-modal-slot .post-avatar-anonymous {
  display: none !important;
}

#cfSinglePostModal .cf-post-modal-slot .cf-comment-preview {
  display: none !important;
}

:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-meta > .dropdown.cf-post-modal-header-menu .dropdown-toggle,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-meta > .float-end.dropdown.cf-post-modal-header-menu .dropdown-toggle,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-meta > .dropdown.cf-post-modal-header-menu .dropdown-toggle i,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-meta > .float-end.dropdown.cf-post-modal-header-menu .dropdown-toggle i {
  color: #e7e9ee !important;
}

:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-meta > .dropdown.cf-post-modal-header-menu .dropdown-toggle:hover,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-meta > .float-end.dropdown.cf-post-modal-header-menu .dropdown-toggle:hover {
  background: rgba(255,255,255,.08) !important;
}

/* Single-post popup must show the full description; excerpts are feed-card only. */
#cfSinglePostModal .cf-post-modal-slot .post-text,
#cfSinglePostModal .cf-post-modal-slot .post-text-translation,
#cfSinglePostModal .cf-post-modal-slot .cf-modal-full-text {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
}

.cf-feed-shell-simple .cf-feed-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  gap: 18px;
  width: 100%;
  margin: 20px 0 0;
  padding: 8px 150px 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cf-feed-shell-simple .cf-feed-pagination__meta {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #8f8f8f;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.cf-feed-shell-simple .cf-feed-pagination__controls,
.cf-feed-shell-simple .cf-feed-pagination__pages,
.cf-feed-shell-simple .cf-feed-pagination__arrow,
.cf-feed-shell-simple .cf-feed-pagination__page,
.cf-feed-shell-simple .cf-feed-pagination__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cf-feed-shell-simple .cf-feed-pagination__controls {
  gap: 18px;
  min-width: 0;
}

.cf-feed-shell-simple .cf-feed-pagination__pages {
  gap: 18px;
}

.cf-feed-shell-simple .cf-feed-pagination__arrow,
.cf-feed-shell-simple .cf-feed-pagination__page,
.cf-feed-shell-simple .cf-feed-pagination__ellipsis {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #868686;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}

.cf-feed-shell-simple .cf-feed-pagination__arrow {
  gap: 8px;
  width: auto;
  min-width: 0;
  height: 42px;
  padding: 0;
  border-radius: 0;
  color: #8c8c8c;
  font-size: 12px;
}

.cf-feed-shell-simple .cf-feed-pagination__arrow i {
  font-size: 12px;
  line-height: 1;
}

.cf-feed-shell-simple .cf-feed-pagination__page:hover,
.cf-feed-shell-simple .cf-feed-pagination__arrow:hover {
  background: transparent;
  color: #050505;
}

.cf-feed-shell-simple .cf-feed-pagination__page.is-active {
  background: #ffe4a6;
  color: #050505;
}

.cf-feed-shell-simple .cf-feed-pagination__ellipsis {
  cursor: default;
  color: #8f8f8f;
}

.cf-feed-shell-simple .cf-feed-pagination__arrow.is-disabled {
  cursor: not-allowed;
  color: #d8d8d8;
  opacity: 1;
}

@media (max-width: 640px) {
  .cf-feed-shell-simple .cf-feed-pagination {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 8px 0;
  }

  .cf-feed-shell-simple .cf-feed-pagination__meta {
    position: static;
    transform: none;
    text-align: center;
  }

  .cf-feed-shell-simple .cf-feed-pagination__controls {
    justify-content: center;
    width: 100%;
    gap: 10px;
  }

  .cf-feed-shell-simple .cf-feed-pagination__arrow {
    flex: 0 0 auto;
  }

  .cf-feed-shell-simple .cf-feed-pagination__pages {
    flex: 0 1 auto;
    gap: 8px;
  }

  .cf-feed-shell-simple .cf-feed-pagination__page,
  .cf-feed-shell-simple .cf-feed-pagination__ellipsis {
    width: 36px;
    height: 36px;
  }
}

:root[data-theme="dark"] .cf-feed-shell-simple .cf-feed-pagination {
  background: transparent;
  box-shadow: none;
}

:root[data-theme="dark"] .cf-feed-shell-simple .cf-feed-pagination__meta {
  color: #9ba0aa;
}

:root[data-theme="dark"] .cf-feed-shell-simple .cf-feed-pagination__arrow,
:root[data-theme="dark"] .cf-feed-shell-simple .cf-feed-pagination__page,
:root[data-theme="dark"] .cf-feed-shell-simple .cf-feed-pagination__ellipsis {
  background: transparent;
  color: #b7bcc7;
}

:root[data-theme="dark"] .cf-feed-shell-simple .cf-feed-pagination__page:hover,
:root[data-theme="dark"] .cf-feed-shell-simple .cf-feed-pagination__arrow:hover {
  background: transparent;
  color: #fff;
}

:root[data-theme="dark"] .cf-feed-shell-simple .cf-feed-pagination__page.is-active {
  background: #ffe4a6;
  color: #050505;
}

:root[data-theme="dark"] .cf-feed-shell-simple .cf-feed-pagination__arrow.is-disabled {
  color: #555b66;
}

.cf-body #modal .hc-community-publisher-modal .publisher-scraper {
  display: none !important;
}

.cf-view-feed .cf-feed .post.post-type-link .post-body .post-media,
#cfSinglePostModal .post.post-type-link .post-body .post-media {
  display: none !important;
}

.cf-view-feed .cf-post-stream .post.post-type-poll:not(.cf-post-modal-active) .poll-options {
  display: none !important;
}

.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active):has(.poll-options) .poll-options {
  display: none !important;
}

.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active):has(.poll-options) .post-body > .cf-poll-vote-cta-wrap {
  grid-area: poll !important;
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 10px 0 15px !important;
  padding: 0 !important;
}

.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .pin-icon {
  position: absolute !important;
  top: 25px !important;
  right: 46px !important;
  z-index: 4 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #111827 !important;
  font-family: "Plus Jakarta Sans", Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .pin-icon .cf-pin-svg {
  display: block !important;
  width: 13px !important;
  height: 13px !important;
  color: #d99a00 !important;
  flex: 0 0 13px !important;
}

.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .pin-icon i {
  color: #d99a00 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  transform: none !important;
}

.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .pin-icon span {
  display: inline !important;
  color: #111827 !important;
}

body:not(.cf-feed-decorated) .cf-view-feed .cf-post-stream .post {
  visibility: hidden !important;
}

.cf-view-feed .cf-post-stream .cf-post-share-action {
  display: none !important;
}

.cf-view-feed .cf-post-stream .cf-comment-preview-time .js_moment:not([title]) {
  color: transparent !important;
}

.cf-view-feed .cf-post-stream .cf-post-role-badge {
  border-radius: 0 !important;
}

.cf-view-feed .cf-post-stream .cf-post-role-owner {
  background: #f4b63f !important;
  border-color: #f4b63f !important;
  box-shadow: none !important;
  color: #17120a !important;
}

.cf-view-feed .cf-post-stream .cf-post-role-admin {
  background: #d84343 !important;
  border-color: #d84343 !important;
  color: #fff !important;
}

.cf-view-feed .cf-post-stream .cf-post-role-moderator {
  background: #7c61c7 !important;
  border-color: #7c61c7 !important;
  color: #fff !important;
}

.cf-view-feed .cf-post-stream .cf-post-role-secretary {
  background: #4f86dc !important;
  border-color: #4f86dc !important;
  color: #fff !important;
}

.cf-view-feed .cf-post-stream .cf-post-role-support {
  background: #2f9fa1 !important;
  border-color: #2f9fa1 !important;
  color: #fff !important;
}

.cf-view-feed .cf-post-stream .cf-post-role-tutor {
  background: #39a86b !important;
  border-color: #39a86b !important;
  color: #fff !important;
}

.cf-view-feed .cf-post-stream .cf-post-role-member {
  background: #f4efe8 !important;
  border-color: #e2d8cc !important;
  color: #57505f !important;
}

@media (max-width: 767.98px) {
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .pin-icon {
    top: 20px !important;
    right: 22px !important;
    font-size: 13px !important;
  }
}

#cfSinglePostModal .cf-post-modal-slot .cf-poll-vote-cta-inline,
.post.cf-post-modal-active .cf-poll-vote-cta-inline {
  display: none !important;
}

.cf-poll-vote-cta-wrap {
  margin: 12px 0 14px;
  padding: 0;
}

.cf-poll-vote-cta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  max-width: 100%;
  min-height: 34px;
  border: 1px solid #dde3e8;
  border-radius: 6px;
  background: #fff;
  color: #006b6b;
  padding: 5px 11px;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: color .16s ease;
}

.cf-poll-vote-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 43px;
  height: 22px;
  padding: 0 8px;
  border: 0;
  border-radius: 4px;
  background: #f4f7fb;
  color: #17233a;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.cf-poll-vote-label {
  display: inline-block;
  min-width: 0;
  color: #006b6b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cf-feed-shell-simple .cf-post-stream .cf-comment-preview.js_comments-toggle,
.cf-view-feed .cf-post-stream .cf-comment-preview.js_comments-toggle {
  pointer-events: auto;
}

.cf-poll-vote-cta:hover {
  color: #005a5a;
  border-color: #cfd8df;
  background: #fff;
  transform: none;
}

.cf-poll-vote-cta:hover .cf-poll-vote-tag {
  background: #eef3f8;
}

.cf-poll-vote-cta:hover .cf-poll-vote-label {
  color: #005a5a;
}

#cfSinglePostModal .cf-poll-vote-cta-wrap,
.cf-post-modal-slot .cf-poll-vote-cta-wrap,
.post.cf-post-modal-active .cf-poll-vote-cta-wrap {
  display: none !important;
}

#cfSinglePostModal .cf-post-modal-slot .post.post-type-poll .cf-feed-card-heading,
#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .cf-feed-card-heading {
  display: block !important;
}

#cfSinglePostModal .cf-post-modal-slot .post.post-type-poll .poll-options {
  display: block !important;
  max-width: calc(100% - 56px) !important;
  margin: 10px 28px 22px !important;
  padding: 16px !important;
  border: 1px solid #ddd9d3 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #283241 !important;
}

#cfSinglePostModal .cf-post-modal-slot .post.post-type-poll .cf-modal-poll-question {
  display: block !important;
  margin: 0 0 12px !important;
  color: #111827 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

#cfSinglePostModal .cf-post-modal-slot .post.post-type-poll .poll-options > .mb5 {
  position: relative !important;
  display: block !important;
  margin: 0 0 8px !important;
}

#cfSinglePostModal .cf-post-modal-slot .post.post-type-poll .poll-option {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 36px !important;
  padding: 0 76px 0 12px !important;
  border: 1px solid #ddd9d3 !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

#cfSinglePostModal .cf-post-modal-slot .post.post-type-poll .poll-option:hover {
  background: #fff !important;
}

#cfSinglePostModal .cf-post-modal-slot .post.post-type-poll .poll-option .percentage-bg,
#cfSinglePostModal .cf-post-modal-slot .post.post-type-poll .poll-option .form-check-input {
  display: none !important;
}

#cfSinglePostModal .cf-post-modal-slot .post.post-type-poll .poll-option .form-check,
#cfSinglePostModal .cf-post-modal-slot .post.post-type-poll .poll-option .form-check-inline {
  display: block !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#cfSinglePostModal .cf-post-modal-slot .post.post-type-poll .poll-option .form-check-label {
  margin: 0 !important;
  padding: 0 !important;
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

#cfSinglePostModal .cf-post-modal-slot .post.post-type-poll .poll-voters {
  position: absolute !important;
  top: 0 !important;
  right: 12px !important;
  display: flex !important;
  align-items: center !important;
  height: 36px !important;
  padding: 0 !important;
  pointer-events: auto !important;
}

#cfSinglePostModal .cf-post-modal-slot .post.post-type-poll .poll-voters .more {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #111827 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
}

#cfSinglePostModal .cf-post-modal-slot .post.post-type-poll .cf-modal-poll-votes {
  display: block !important;
  margin-top: 2px !important;
  color: #647084 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

@media (max-width: 767.98px) {
  #cfSinglePostModal .cf-post-modal-slot .post.post-type-poll .poll-options {
    max-width: calc(100% - 36px) !important;
    margin-left: 18px !important;
    margin-right: 18px !important;
  }
}

#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-options {
  display: block !important;
  max-width: calc(100% - 56px) !important;
  margin: 10px 28px 22px !important;
  padding: 16px !important;
  border: 1px solid #ddd9d3 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #283241 !important;
}

#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .cf-modal-poll-question {
  display: block !important;
  margin: 0 0 12px !important;
  color: #111827 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-options > .mb5 {
  position: relative !important;
  display: block !important;
  margin: 0 0 8px !important;
}

#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 36px !important;
  padding: 0 76px 0 12px !important;
  border: 1px solid #ddd9d3 !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option .percentage-bg,
#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option .form-check-input {
  display: none !important;
}

#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option .form-check,
#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option .form-check-inline {
  display: block !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option .form-check-label {
  margin: 0 !important;
  padding: 0 !important;
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-voters {
  position: absolute !important;
  top: 0 !important;
  right: 12px !important;
  display: flex !important;
  align-items: center !important;
  height: 36px !important;
  padding: 0 !important;
}

#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-voters .more {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #111827 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
}

#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .cf-modal-poll-votes {
  display: block !important;
  margin-top: 2px !important;
  color: #647084 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

@media (max-width: 767.98px) {
  #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-options {
    max-width: calc(100% - 36px) !important;
    margin-left: 18px !important;
    margin-right: 18px !important;
  }
}

/* Pagination fallback: keep the component horizontal even if the feed wrapper class changes. */
.cf-feed-pagination {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  position: relative !important;
  width: 100% !important;
  margin: 20px 0 0 !important;
  padding: 8px 150px 8px 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.cf-feed-pagination__meta {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #8f8f8f !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.cf-feed-pagination__controls,
.cf-feed-pagination__pages {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.cf-feed-pagination__controls {
  gap: 18px !important;
}

.cf-feed-pagination__pages {
  gap: 18px !important;
}

.cf-feed-pagination__arrow,
.cf-feed-pagination__page,
.cf-feed-pagination__ellipsis {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #868686 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.cf-feed-pagination__arrow {
  gap: 8px !important;
  width: auto !important;
  height: 42px !important;
  border-radius: 0 !important;
  color: #8c8c8c !important;
  font-size: 12px !important;
}

.cf-feed-pagination__page.is-active {
  background: #ffe4a6 !important;
  color: #050505 !important;
}

.cf-feed-pagination__arrow.is-disabled {
  color: #d8d8d8 !important;
}

@media (max-width: 640px) {
  .cf-feed-pagination {
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 8px 0 !important;
  }

  .cf-feed-pagination__meta {
    position: static !important;
    transform: none !important;
    text-align: center !important;
  }

  .cf-feed-pagination__controls {
    width: 100% !important;
    gap: 10px !important;
  }

  .cf-feed-pagination__pages {
    gap: 8px !important;
  }

  .cf-feed-pagination__page,
  .cf-feed-pagination__ellipsis {
    width: 36px !important;
    height: 36px !important;
  }
}

/* Reference-style post detail modal */
#cfSinglePostModal.cf-post-modal-overlay{padding:24px 16px;background:rgba(0,0,0,.72)}
#cfSinglePostModal .cf-post-modal-dialog{position:relative;width:min(824px,calc(100vw - 32px));max-height:min(860px,calc(100vh - 50px));border:1px solid #e2ded8;border-radius:15px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.32);overflow:hidden;color:#293241}
#cfSinglePostModal .cf-post-modal-head{position:absolute;top:0;right:0;z-index:2090;width:190px;height:84px;padding:0;border:0;background:transparent;display:block;pointer-events:none}
#cfSinglePostModal .cf-post-modal-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#cfSinglePostModal .cf-post-modal-bell{position:absolute;top:24px;right:118px;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;margin:0;padding:0;border:0;border-radius:999px;background:transparent;color:#b98512;font-size:14px;line-height:1;pointer-events:auto;cursor:pointer;transition:background .15s ease,color .15s ease,box-shadow .15s ease}
#cfSinglePostModal .cf-post-modal-close{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;padding:0;border:0;border-radius:999px;background:transparent;color:#4e5561;font-family:Arial,sans-serif;font-size:22px;font-weight:400;line-height:1;pointer-events:auto}
#cfSinglePostModal .cf-post-modal-close:hover{background:transparent;color:#111827}
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .dropdown-toggle,
#cfSinglePostModal .cf-post-modal-slot .post-meta>.float-end.dropdown.cf-post-modal-header-menu .dropdown-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:0!important;border:0!important;border-radius:999px!important;background:#f3f4f6!important;color:#4b5563!important}
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .dropdown-toggle:hover,
#cfSinglePostModal .cf-post-modal-slot .post-meta>.float-end.dropdown.cf-post-modal-header-menu .dropdown-toggle:hover{background:#eceff3!important;color:#111827!important}
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu,
#cfSinglePostModal .cf-post-modal-slot .post-meta>.float-end.dropdown.cf-post-modal-header-menu .action-dropdown-menu{min-width:214px!important;padding:8px 0!important;border:1px solid #dedede!important;border-radius:12px!important;background:#fff!important;box-shadow:0 12px 28px rgba(15,23,42,.14)!important;overflow:hidden!important}
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .dropdown-item{display:none!important;height:45px!important;margin:0!important;padding:0 12px!important;border-radius:0!important;background:#fff!important;color:#111827!important;font-size:14px!important;font-weight:500!important;line-height:1!important}
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .js_edit-post,
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .js_pin-post,
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .js_unpin-post,
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .js_disable-post-comments,
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .js_enable-post-comments,
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .js_delete-post{display:flex!important;align-items:center!important}
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .dropdown-item:hover{background:#ffd400!important;color:#111827!important}
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .action{display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;min-width:0!important;color:inherit!important}
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .main-icon{display:none!important}
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .js_edit-post .main-icon,
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .dropdown-item[data-url*="do=edit"] .main-icon,
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu a[href*="/blogs/edit/"] .main-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:16px!important;min-width:16px!important;margin-right:0!important;color:currentColor!important;font-size:14px!important;line-height:1!important}
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .action:before{display:inline-flex!important;align-items:center!important;justify-content:center;width:16px!important;min-width:16px!important;color:currentColor!important;font-family:"Font Awesome 7 Free","Font Awesome 6 Free","Font Awesome 5 Free"!important;font-size:14px!important;font-weight:400!important;line-height:1!important}
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .js_edit-post .action:before,
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .dropdown-item[data-url*="do=edit"] .action:before,
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu a[href*="/blogs/edit/"] .action:before{display:none!important;content:none!important}
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .js_pin-post .action:before,
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .js_unpin-post .action:before{content:"\f08d";font-weight:900!important}
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .js_disable-post-comments .action:before,
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .js_enable-post-comments .action:before{content:"\f075"}
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .js_delete-post{height:48px!important;margin-top:7px!important;border-top:1px solid #f0f0f0!important;color:#e23b1a!important}
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .js_delete-post:hover{background:#fff4ee!important;color:#e23b1a!important}
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .js_delete-post .action:before{content:"\f2ed";color:#e23b1a!important}
#cfSinglePostModal .cf-post-modal-body{max-height:inherit;overflow-y:auto;overflow-x:hidden;background:#fff;scrollbar-gutter:stable}
#cfSinglePostModal .cf-post-modal-slot .post{background:#fff!important;overflow:visible!important}
#cfSinglePostModal .cf-post-modal-slot .post-body{display:block!important;padding:0!important;background:#fff!important}
#cfSinglePostModal .cf-post-modal-slot .post-header{position:sticky!important;top:0!important;z-index:2085!important;display:flex!important;align-items:flex-start!important;gap:10px!important;padding:24px 190px 24px 32px!important;margin:0!important;border-bottom:1px solid #ece8e3!important;background:#fff!important}
#cfSinglePostModal .cf-post-modal-slot .post-avatar{display:block!important;width:40px!important;min-width:40px!important;height:40px!important;padding:0!important}
#cfSinglePostModal .cf-post-modal-slot .post-avatar-picture,#cfSinglePostModal .cf-post-modal-slot .post-avatar-anonymous{display:block!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:0!important;border-radius:999px!important;background-size:cover!important;background-position:center!important;box-shadow:none!important}
#cfSinglePostModal .cf-post-modal-slot .post-avatar .online-dot{display:none!important}
#cfSinglePostModal .cf-post-modal-slot .post-meta{display:block!important;min-width:0!important;padding:0!important;line-height:1.15!important}
#cfSinglePostModal .cf-post-modal-slot .post-author{display:block!important;color:#111827!important;font-size:15px!important;font-weight:800!important;line-height:1.15!important;text-decoration:none!important}
#cfSinglePostModal .cf-post-modal-slot .cf-post-role-badge,
#cfSinglePostModal .cf-post-modal-slot .cf-comment-role-badge{display:none!important}
#cfSinglePostModal .cf-post-modal-slot .post-time{display:inline-flex!important;align-items:center!important;gap:5px!important;margin-top:3px!important;color:#6b7280!important;font-size:0!important;font-weight:500!important;line-height:1.1!important;text-decoration:none!important}
#cfSinglePostModal .cf-post-modal-slot .post-time a,#cfSinglePostModal .cf-post-modal-slot .post-time .js_moment,#cfSinglePostModal .cf-post-modal-slot .post-time .cf_compact_moment{display:inline-flex!important;align-items:center!important;gap:5px!important;color:#6b7280!important;font-size:12px!important;font-weight:500!important;line-height:1.1!important;text-decoration:none!important}
#cfSinglePostModal .cf-post-modal-slot .post-time:after{content:"";display:inline-block;width:3px;height:3px;margin-left:6px;border-radius:999px;background:#7b8190}
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown,#cfSinglePostModal .cf-post-modal-slot .post-time .btn-group,#cfSinglePostModal .cf-post-modal-slot .post-time .dropdown,#cfSinglePostModal .cf-post-modal-slot .post-time .dropdown-toggle,#cfSinglePostModal .cf-post-modal-slot .post-time i{display:none!important}
#cfSinglePostModal .cf-post-modal-slot .cf-feed-card-heading{display:block!important;padding:20px 28px 0!important;margin:0 0 16px!important;color:#283241!important;font-size:24px!important;font-weight:800!important;line-height:1.23!important;letter-spacing:0!important}
#cfSinglePostModal .cf-post-modal-slot .post-replace{display:block!important;min-width:0!important}
#cfSinglePostModal .cf-post-modal-slot .post-text,#cfSinglePostModal .cf-post-modal-slot .post-text *,#cfSinglePostModal .cf-post-modal-slot .post-text-translation,#cfSinglePostModal .cf-post-modal-slot .post-text-translation *{padding:0!important;margin:0!important;color:#485466!important;font-size:14px!important;font-weight:400!important;line-height:1.9!important;letter-spacing:0!important}
#cfSinglePostModal .cf-post-modal-slot .post-text,#cfSinglePostModal .cf-post-modal-slot .post-text-translation{padding:0 28px 22px!important;margin:0!important}
#cfSinglePostModal .cf-post-modal-slot .post-text{display:block!important;height:auto!important;max-height:none!important;overflow:visible!important}
#cfSinglePostModal .cf-post-modal-slot .post-text-translation{height:auto!important;max-height:none!important;overflow:visible!important}
#cfSinglePostModal .cf-post-modal-slot .post-body>.mt10,#cfSinglePostModal .cf-post-modal-slot .pg_wrapper,#cfSinglePostModal .cf-post-modal-slot .cf-feed-video-media{display:block!important;width:auto!important;max-width:calc(100% - 56px)!important;margin:0 28px 22px!important;overflow:hidden!important}
#cfSinglePostModal .cf-post-modal-slot .cf-feed-video-media{border-radius:10px!important;background:#050505!important}
#cfSinglePostModal .cf-post-modal-slot .cf-feed-video-media video,#cfSinglePostModal .cf-post-modal-slot .cf-feed-video-media .plyr,#cfSinglePostModal .cf-post-modal-slot .cf-feed-video-media .plyr__video-wrapper{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:520px!important}
#cfSinglePostModal .cf-post-modal-slot .pg_wrapper *,#cfSinglePostModal .cf-post-modal-slot .pg_1x,#cfSinglePostModal .cf-post-modal-slot .pg_2x,#cfSinglePostModal .cf-post-modal-slot .pg_3x,#cfSinglePostModal .cf-post-modal-slot .pg_4x{max-width:100%!important}
#cfSinglePostModal .cf-post-modal-slot .pg_1x a,#cfSinglePostModal .cf-post-modal-slot .pg_2x a,#cfSinglePostModal .cf-post-modal-slot .pg_3x a,#cfSinglePostModal .cf-post-modal-slot .pg_4x a{display:block!important;max-width:100%!important;max-height:420px!important;padding-bottom:0!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;overflow:hidden!important}
#cfSinglePostModal .cf-post-modal-slot .pg_1x img,#cfSinglePostModal .cf-post-modal-slot .pg_2x img,#cfSinglePostModal .cf-post-modal-slot .pg_3x img,#cfSinglePostModal .cf-post-modal-slot .pg_4x img{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:420px!important;object-fit:contain!important;margin:0 auto!important}
#cfSinglePostModal .cf-post-modal-slot .post-stats,#cfSinglePostModal .cf-post-modal-slot .cf-comment-preview{display:none!important}
#cfSinglePostModal .cf-post-modal-slot .post-actions{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:18px!important;margin:0 28px!important;padding:12px 0 35px!important;border-top:1px solid #e5e1dc!important;border-bottom:0!important;background:#fff!important}
#cfSinglePostModal .cf-post-modal-slot .cf-post-actions-left,#cfSinglePostModal .cf-post-modal-slot .cf-post-actions-right{display:flex!important;align-items:center!important;gap:18px!important;margin:0!important;min-width:0!important}
#cfSinglePostModal .cf-post-modal-slot .post-actions .action-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:36px!important;min-height:36px!important;padding:0!important;border:0!important;background:transparent!important;color:#344054!important;font-size:14px!important;font-weight:700!important;line-height:1!important}
#cfSinglePostModal .cf-post-modal-slot .cf-post-like-action{height:36px!important;border:1px solid #dedede!important;border-radius:6px 0 0 6px!important;overflow:visible!important}
#cfSinglePostModal .cf-post-modal-slot .cf-post-like-action .reaction-btn{display:grid!important;grid-template-columns:auto 40px!important;align-items:center!important;height:34px!important}
#cfSinglePostModal .cf-post-modal-slot .cf-post-like-action .reaction-btn-icon{display:inline-flex!important;align-items:center!important;gap:8px!important;height:34px!important;padding:0 12px!important}
#cfSinglePostModal .cf-post-modal-slot .cf-post-like-action .reaction-btn-icon:after{content:"Like";font-size:14px;font-weight:700;color:#344054}
#cfSinglePostModal .cf-post-modal-slot .cf-post-like-action .reaction-btn-name{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:34px!important;min-width:40px!important;padding:0 10px!important;border-left:1px solid #dedede!important;color:#344054!important;font-size:14px!important;font-weight:700!important}
#cfSinglePostModal .cf-post-modal-slot .js_comment{gap:9px!important;color:#344054!important}
#cfSinglePostModal .cf-post-modal-slot .js_comment span:after{content:" comments"}
#cfSinglePostModal .cf-post-modal-slot .cf-post-share-action,#cfSinglePostModal .cf-post-modal-slot .cf-post-save-btn,#cfSinglePostModal .cf-post-modal-slot .post-actions>.action-btn:not(.cf-post-like-action):not(.js_comment),#cfSinglePostModal .cf-post-modal-slot .cf-post-actions-left .action-btn[data-url*="posts/share.php"]{display:none!important}
#cfSinglePostModal .cf-post-modal-slot .post-footer{display:block!important;margin:0!important;padding:0!important;border-top:1px solid #ece8e3!important;background:#fffdfa!important}
#cfSinglePostModal .cf-post-modal-slot .post-footer.x-hidden{display:block!important}
#cfSinglePostModal .cf-post-modal-slot .post-comments{display:flex!important;flex-direction:column!important;padding:14px 28px 16px!important;background:#fffdfa!important}
#cfSinglePostModal .cf-post-modal-slot .post-comments:before,#cfSinglePostModal .cf-post-modal-slot .comments-filter,#cfSinglePostModal .cf-post-modal-slot .cf-post-no-comments{display:none!important}
#cfSinglePostModal .cf-post-modal-slot .post-comments ul{order:1!important;list-style:none!important;margin:0!important;padding:0!important}
#cfSinglePostModal .cf-post-modal-slot .js_comment-form{order:4!important;position:static!important;display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;gap:0 12px!important;align-items:start!important;margin:0!important;padding:0!important;background:#fffdfa!important;border:0!important}
#cfSinglePostModal .cf-post-modal-slot .js_comment.x-hidden,#cfSinglePostModal .cf-post-modal-slot .js_comment-form.x-hidden{display:none!important}
#cfSinglePostModal .cf-post-modal-slot .js_comment-disabled-msg:not(.x-hidden){display:block!important;order:4!important;margin:0 0 4px!important;padding:12px 14px!important;border:1px solid #ece8e3!important;border-radius:6px!important;background:#fff!important;color:#4f586e!important;font-size:14px!important;font-weight:700!important;text-align:center!important}
#cfSinglePostModal .cf-post-modal-slot .js_comment-form .comment-avatar{display:block!important;grid-column:1!important;width:40px!important;padding:0!important}
#cfSinglePostModal .cf-post-modal-slot .js_comment-form .comment-avatar-picture{display:block!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;border-radius:999px!important;background-size:cover!important;background-position:center!important}
#cfSinglePostModal .cf-post-modal-slot .js_comment-form .comment-data{grid-column:2!important;min-width:0!important}
#cfSinglePostModal .cf-post-modal-slot .comment-form{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;min-height:47px!important;width:100%!important;border:1px solid #a99d90!important;border-radius:0!important;background:#fff!important;padding:0 13px!important;box-shadow:none!important;overflow:visible!important}
#cfSinglePostModal .cf-post-modal-slot .comment-form textarea{min-height:45px!important;max-height:100px!important;padding:12px 0!important;border:0!important;background:transparent!important;color:#485466!important;font-size:16px!important;font-weight:600!important;line-height:1.25!important;resize:none!important;outline:0!important}
#cfSinglePostModal .cf-post-modal-slot .comment-form textarea::placeholder{color:#8b94a3!important;font-size:16px!important;font-weight:600!important}
#cfSinglePostModal .cf-post-modal-slot .cf-cmt-toolbar{grid-column:2!important;grid-row:1!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:14px!important}
#cfSinglePostModal .cf-post-modal-slot .cf-cmt-tool{width:20px!important;height:28px!important;color:#8e96a3!important;background:transparent!important}
#cfSinglePostModal .cf-post-modal-slot .cf-cmt-tool:hover{background:transparent!important;color:#525b6a!important}
#cfSinglePostModal .cf-post-modal-slot .cf-cmt-tool-gif{width:auto!important;font-size:14px!important;font-weight:800!important}
#cfSinglePostModal .cf-post-modal-slot .cf-cmt-actions{grid-column:2!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:24px!important;margin:16px 0 0!important}
#cfSinglePostModal .cf-post-modal-slot .cf-cmt-cancel{height:48px!important;padding:0 4px!important;border:0!important;background:transparent!important;color:#6e7480!important;font-size:14px!important;font-weight:800!important}
#cfSinglePostModal .cf-post-modal-slot .cf-cmt-submit{height:48px!important;min-width:143px!important;padding:0 28px!important;border:0!important;border-radius:5px!important;background:#ffd679!important;color:#060606!important;font-size:14px!important;font-weight:900!important;box-shadow:none!important}
#cfSinglePostModal .cf-post-modal-slot .comment-form.cf-cmt-expanded,#cfSinglePostModal .cf-post-modal-slot .comment-form:focus-within{grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto!important;min-height:47px!important;padding:0 13px!important}
#cfSinglePostModal .cf-post-modal-slot .comment-form.cf-cmt-expanded textarea,#cfSinglePostModal .cf-post-modal-slot .comment-form:focus-within textarea{grid-column:1!important;grid-row:1!important;min-height:45px!important;padding:12px 0!important}
#cfSinglePostModal .cf-post-modal-slot .comment-form.cf-cmt-expanded .cf-cmt-toolbar,#cfSinglePostModal .cf-post-modal-slot .comment-form:focus-within .cf-cmt-toolbar{grid-column:2!important;grid-row:1!important;margin:0!important}
#cfSinglePostModal .cf-post-modal-slot .comment,#cfSinglePostModal .cf-post-modal-slot .comment.reply{margin-bottom:12px!important}
#cfSinglePostModal .cf-post-modal-slot .post.cf-post-editing .cf-feed-card-heading,#cfSinglePostModal .cf-post-modal-slot .post.cf-post-editing .post-replace,#cfSinglePostModal .cf-post-modal-slot .post.cf-post-editing .post-text,#cfSinglePostModal .cf-post-modal-slot .post.cf-post-editing .post-text-translation,#cfSinglePostModal .cf-post-modal-slot .post.cf-post-editing .cf-modal-full-text,#cfSinglePostModal .cf-post-modal-slot .post.cf-post-editing .post-body>.mt10,#cfSinglePostModal .cf-post-modal-slot .post.cf-post-editing .cf-feed-video-media,#cfSinglePostModal .cf-post-modal-slot .post.cf-post-editing .pg_wrapper{display:none!important}
#cfSinglePostModal .cf-post-modal-slot .post.cf-post-editing .post-actions{margin-top:22px!important}
#cfSinglePostModal .cf-post-modal-slot .cf-post-edit{position:relative;margin:20px 28px 22px!important;border:0!important}
#cfSinglePostModal .cf-post-modal-slot .cf-post-edit .post-form{position:relative;display:block!important;min-height:462px!important;border:1px solid #ddd9d3!important;border-radius:13px!important;background:#fff!important;padding:16px 16px 62px!important;overflow:hidden!important}
#cfSinglePostModal .cf-post-modal-slot .cf-edit-title-input{display:block!important;width:100%!important;height:auto!important;margin:0 0 14px!important;padding:0!important;border:0!important;background:transparent!important;color:#283241!important;font-size:24px!important;font-weight:800!important;line-height:1.23!important;letter-spacing:0!important;outline:0!important;box-shadow:none!important}
#cfSinglePostModal .cf-post-modal-slot .cf-edit-body-input{display:block!important;width:100%!important;min-height:310px!important;max-height:360px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#485466!important;font-size:14px!important;font-weight:400!important;line-height:1.9!important;resize:none!important;outline:0!important;box-shadow:none!important;overflow-y:auto!important}
#cfSinglePostModal .cf-post-modal-slot .cf-edit-title-input::placeholder,#cfSinglePostModal .cf-post-modal-slot .cf-edit-body-input::placeholder{color:#8b94a3!important}
#cfSinglePostModal .cf-post-modal-slot .cf-edit-divider{position:absolute!important;left:16px!important;right:16px!important;bottom:62px!important;height:1px!important;background:#ece8e3!important}
#cfSinglePostModal .cf-post-modal-slot .cf-edit-tools{position:absolute!important;left:16px!important;bottom:15px!important;display:flex!important;align-items:center!important;gap:16px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;list-style:none!important}
#cfSinglePostModal .cf-post-modal-slot .cf-edit-tool{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:18px!important;height:28px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#647084!important;cursor:pointer!important}
#cfSinglePostModal .cf-post-modal-slot .cf-edit-tool i{font-size:14px!important;line-height:1!important;color:currentColor!important}
#cfSinglePostModal .cf-post-modal-slot .cf-edit-tool span{font-family:var(--cf-post-font)!important;font-size:11px!important;font-weight:900!important;letter-spacing:0!important;color:currentColor!important}
#cfSinglePostModal .cf-post-modal-slot .cf-edit-tool:hover,#cfSinglePostModal .cf-post-modal-slot .cf-edit-tool.is-active{color:#111827!important;background:transparent!important}
#cfSinglePostModal .cf-post-modal-slot .cf-edit-actions{position:absolute!important;right:16px!important;bottom:15px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:20px!important;margin:0!important}
#cfSinglePostModal .cf-post-modal-slot .cf-edit-cancel,#cfSinglePostModal .cf-post-modal-slot .cf-edit-save{height:34px!important;border:0!important;border-radius:7px!important;font-family:var(--cf-post-font)!important;font-size:13px!important;font-weight:900!important;text-transform:uppercase!important;cursor:pointer!important}
#cfSinglePostModal .cf-post-modal-slot .cf-edit-cancel{padding:0 2px!important;background:transparent!important;color:#111827!important}
#cfSinglePostModal .cf-post-modal-slot .cf-edit-save{min-width:64px!important;padding:0 18px!important;background:#050505!important;color:#fff!important;box-shadow:none!important}
#cfSinglePostModal .cf-post-modal-slot .cf-edit-save:hover{background:#111!important;filter:none!important}
#cfSinglePostModal .cf-post-modal-slot .cf-edit-preview{margin:12px 0 0!important;padding:10px 12px!important;border:1px solid #e5e1dc!important;border-radius:8px!important;background:#fafafa!important;color:#344054!important;font-family:var(--cf-post-font)!important;font-size:13px!important;font-weight:700!important}
#cfSinglePostModal .cf-post-modal-slot .cf-edit-preview img{display:block!important;width:78px!important;height:78px!important;object-fit:cover!important;border-radius:8px!important;margin-top:8px!important}
#cfSinglePostModal .cf-post-modal-slot .cf-edit-poll{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin:12px 0 0!important;padding:10px!important;border:1px solid #e5e1dc!important;border-radius:8px!important;background:#fafafa!important}
#cfSinglePostModal .cf-post-modal-slot .cf-edit-poll.x-hidden{display:none!important}
#cfSinglePostModal .cf-post-modal-slot .cf-edit-poll input{height:36px!important;border:1px solid #ddd9d3!important;border-radius:6px!important;padding:0 10px!important;background:#fff!important;color:#283241!important;font-size:13px!important}
#cfSinglePostModal .cf-post-modal-slot .cf-edit-poll-add{justify-self:start!important;height:32px!important;border:1px solid #ddd9d3!important;border-radius:6px!important;background:#fff!important;color:#283241!important;font-size:12px!important;font-weight:800!important;padding:0 12px!important}
@media(max-width:767.98px){#cfSinglePostModal.cf-post-modal-overlay{padding:0;align-items:stretch}#cfSinglePostModal .cf-post-modal-dialog{width:100vw;max-height:none;height:100vh;border:0;border-radius:0}#cfSinglePostModal .cf-post-modal-head{height:76px;padding-right:12px}#cfSinglePostModal .cf-post-modal-slot .post-header{padding:20px 154px 20px 18px!important}#cfSinglePostModal .cf-post-modal-slot .cf-feed-card-heading{padding:18px 18px 0!important;font-size:21px!important}#cfSinglePostModal .cf-post-modal-slot .post-text,#cfSinglePostModal .cf-post-modal-slot .post-text-translation{padding:0 18px 20px!important}#cfSinglePostModal .cf-post-modal-slot .post-body>.mt10,#cfSinglePostModal .cf-post-modal-slot .cf-feed-video-media,#cfSinglePostModal .cf-post-modal-slot .pg_wrapper{max-width:calc(100% - 36px)!important;margin-left:18px!important;margin-right:18px!important}#cfSinglePostModal .cf-post-modal-slot .post-actions{margin:0 18px!important;flex-wrap:wrap!important}#cfSinglePostModal .cf-post-modal-slot .post-comments{padding:14px 18px 16px!important}#cfSinglePostModal .cf-post-modal-slot .js_comment-form{grid-template-columns:36px minmax(0,1fr)!important;gap:0 10px!important}#cfSinglePostModal .cf-post-modal-slot .js_comment-form .comment-avatar,#cfSinglePostModal .cf-post-modal-slot .js_comment-form .comment-avatar-picture{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important}#cfSinglePostModal .cf-post-modal-slot .cf-cmt-toolbar{gap:9px!important}#cfSinglePostModal .cf-post-modal-slot .cf-cmt-submit{min-width:116px!important;padding:0 20px!important}}

/* Keep the feed poll CTA directly below the description, never under the media column. */
.cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active):has(.poll-options) .post-body.cf-feed-card-composed,
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active):has(.poll-options) .post-body.cf-feed-card-composed {
  grid-template-areas:
    "header media"
    "title media"
    "content media"
    "poll media"
    "actions media" !important;
}

.cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active):has(.poll-options) .post-body.cf-feed-card-composed > .cf-poll-vote-cta-wrap,
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active):has(.poll-options) .post-body.cf-feed-card-composed > .cf-poll-vote-cta-wrap {
  grid-area: poll !important;
  grid-column: 1 !important;
  grid-row: auto !important;
  justify-self: start !important;
  align-self: start !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 10px 0 14px !important;
  padding: 0 !important;
}

@media (max-width: 460px) {
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active):has(.poll-options) .post-body.cf-feed-card-composed,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active):has(.poll-options) .post-body.cf-feed-card-composed {
    grid-template-areas:
      "header"
      "title"
      "content"
      "poll"
      "media"
      "actions" !important;
  }
}

/* Feed video thumbnails: add the play indicator on desktop and mobile cards. */
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media,
.cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media {
  position: relative !important;
}

.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media::before,
.cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media::before {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  z-index: 3 !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: rgba(15, 23, 42, .78) !important;
  transform: translate(-50%, -50%) !important;
  pointer-events: none !important;
}

.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media::after,
.cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  z-index: 4 !important;
  width: 0 !important;
  height: 0 !important;
  margin-left: 2px !important;
  border-top: 8px solid transparent !important;
  border-bottom: 8px solid transparent !important;
  border-left: 12px solid #fff !important;
  transform: translate(-50%, -50%) !important;
  pointer-events: none !important;
}

/* MVP mobile feed cards: compact text-left/media-right cards matching the reference. */
@media (max-width: 767.98px) {
  .cf-view-feed .cf-post-stream,
  .cf-feed-shell-simple .cf-post-stream {
    margin: 0 !important;
  }

  .cf-view-feed .cf-post-stream > li,
  .cf-feed-shell-simple .cf-post-stream > li {
    margin: 0 !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active),
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) {
    margin: 0 !important;
    border-width: 0 0 1px !important;
    border-color: #e5ded5 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 72px !important;
    grid-template-areas:
      "header header"
      "title media"
      "content media"
      "poll media"
      "actions actions" !important;
    column-gap: 14px !important;
    row-gap: 4px !important;
    align-items: start !important;
    min-height: 0 !important;
    padding: 22px 22px 18px !important;
    overflow: visible !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)):not(:has(.cf-feed-video-media)),
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)):not(:has(.cf-feed-video-media)) {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "header"
      "title"
      "content"
      "poll"
      "actions" !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-header,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-header {
    grid-area: header !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    min-width: 0 !important;
    margin: 0 0 6px !important;
    padding: 0 102px 0 0 !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-avatar,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-avatar-picture,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-avatar-anonymous,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-avatar,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-avatar-picture,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-avatar-anonymous {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-meta,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-meta {
    display: block !important;
    min-width: 0 !important;
    padding: 0 !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-author,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-author {
    color: #1f2937 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-time,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-time a,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-time .js_moment,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-time,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-time a,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-time .js_moment {
    color: #667085 !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-time,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-time,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-time,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-time {
    font-size: 0 !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-time a,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-time .js_moment,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-time > span,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-time .badge,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-time a,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-time .js_moment,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-time > span,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-time .badge,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-time a,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-time .js_moment,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-time > span,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-time .badge,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-time a,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-time .js_moment,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-time > span,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-time .badge {
    font-size: 13px !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-time > .btn-group,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-time > i.fa-lock,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-time > i.fa-users,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-time > i.fa-globe,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-time > i.fa-cog,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-time > .btn-group,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-time > i.fa-lock,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-time > i.fa-users,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-time > i.fa-globe,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-time > i.fa-cog,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-time > .btn-group,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-time > i.fa-lock,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-time > i.fa-users,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-time > i.fa-globe,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-time > i.fa-cog,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-time > .btn-group,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-time > i.fa-lock,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-time > i.fa-users,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-time > i.fa-globe,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-time > i.fa-cog {
    display: none !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-post-role-badge,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-post-role-badge {
    height: 18px !important;
    min-height: 18px !important;
    padding: 0 10px !important;
    margin-left: 8px !important;
    border-radius: 0 !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 18px !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .pin-icon,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .pin-icon {
    top: 29px !important;
    right: 22px !important;
    gap: 7px !important;
    color: #111827 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .pin-icon .cf-pin-svg,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .pin-icon .cf-pin-svg {
    width: 12px !important;
    height: 12px !important;
    color: #d89b00 !important;
    flex-basis: 12px !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-card-heading,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-card-heading {
    grid-area: title !important;
    grid-column: 1 !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    color: #101828 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-align: left !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-replace,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-replace {
    grid-area: content !important;
    grid-column: 1 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-text,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-text-translation,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-text,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-text-translation {
    margin: 0 !important;
    padding: 0 !important;
    color: #101828 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    text-align: left !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed > .mt10,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed > .cf-feed-video-media,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed > .mt10,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed > .cf-feed-video-media {
    grid-area: media !important;
    grid-column: 2 !important;
    grid-row: 2 / span 3 !important;
    align-self: start !important;
    justify-self: end !important;
    width: 72px !important;
    max-width: 72px !important;
    height: 72px !important;
    max-height: 72px !important;
    margin: 0 !important;
    border-radius: 5px !important;
    overflow: hidden !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .pg_wrapper,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .pg_1x,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .pg_2x,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .pg_3x,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .pg_4x,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .pg_wrapper,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .pg_1x,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .pg_2x,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .pg_3x,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .pg_4x {
    width: 72px !important;
    height: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
    margin: 0 !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .pg_1x a,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .pg_2x a,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .pg_3x a,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .pg_4x a,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .pg_1x a,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .pg_2x a,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .pg_3x a,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .pg_4x a {
    width: 72px !important;
    height: 72px !important;
    border-radius: 5px !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .pg_1x img,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .pg_2x img,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .pg_3x img,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .pg_4x img,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .pg_1x img,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .pg_2x img,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .pg_3x img,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .pg_4x img {
    width: 72px !important;
    height: 72px !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active):has(.poll-options) .post-body.cf-feed-card-composed > .cf-poll-vote-cta-wrap,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active):has(.poll-options) .post-body.cf-feed-card-composed > .cf-poll-vote-cta-wrap {
    grid-area: poll !important;
    grid-column: 1 !important;
    grid-row: auto !important;
    justify-self: start !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 9px 0 4px !important;
    padding: 0 !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-cta,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-cta {
    gap: 10px !important;
    min-height: 34px !important;
    max-width: 100% !important;
    white-space: nowrap !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-tag,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-tag {
    min-width: 43px !important;
    height: 22px !important;
    padding: 0 8px !important;
    border-radius: 4px !important;
    color: #17233a !important;
    font-size: 11px !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-label,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-label {
    color: #006b6b !important;
    font-size: 12px !important;
    font-weight: 800 !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-actions,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-actions {
    grid-area: actions !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 5px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-post-actions-left,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-post-actions-right,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-post-actions-left,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-post-actions-right {
    display: flex !important;
    align-items: center !important;
    gap: 13px !important;
    min-width: 0 !important;
    margin: 0 !important;
    flex-wrap: nowrap !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-post-like-action,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .js_comment,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-post-like-action,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .js_comment {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-height: 20px !important;
    color: #0f2748 !important;
    font-size: 13px !important;
    line-height: 1 !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-actions .action-icon,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-actions .action-icon {
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    font-size: 18px !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-comment-preview,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-comment-preview {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    min-width: 0 !important;
    max-width: 156px !important;
    margin: 0 !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-comment-preview-avatars,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-comment-preview-avatars {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: 36px !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-comment-preview-avatar,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-comment-preview-avatar {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    border: 1px solid #fff !important;
  }

  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-comment-preview-time,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-comment-preview-time {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: #667085 !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}

/* Strong mobile feed correction: override the older .cf-feed.cf-post-stream media rules. */
@media (max-width: 767.98px) {
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active),
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) {
    margin: 0 !important;
    border-width: 0 0 1px !important;
    border-color: #e5ded5 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 72px !important;
    grid-template-areas:
      "header header"
      "title media"
      "content media"
      "poll media"
      "actions actions" !important;
    column-gap: 14px !important;
    row-gap: 4px !important;
    align-items: start !important;
    padding: 18px 22px 16px !important;
  }

  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)):not(:has(.cf-feed-video-media)),
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed:not(.cf-feed-has-media):not(:has(.pg_wrapper img)):not(:has(.cf-feed-video-media)) {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "header"
      "title"
      "content"
      "poll"
      "actions" !important;
  }

  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-header,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-header {
    grid-area: header !important;
    grid-column: 1 / -1 !important;
    margin: 0 0 6px !important;
    padding: 0 112px 0 0 !important;
  }

  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pin-icon,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pin-icon {
    top: 28px !important;
    right: 22px !important;
    z-index: 6 !important;
  }

  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-card-heading,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-card-heading {
    grid-area: title !important;
    grid-column: 1 !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
  }

  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-replace,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-replace {
    grid-area: content !important;
    grid-column: 1 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed > .mt10,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed:has(.pg_wrapper img) > .mt10,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed > .cf-feed-video-media,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed > .mt10,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed:has(.pg_wrapper img) > .mt10,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed > .cf-feed-video-media {
    grid-area: media !important;
    grid-column: 2 !important;
    grid-row: 2 / span 3 !important;
    align-self: start !important;
    justify-self: end !important;
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
    margin: 0 !important;
    border-radius: 5px !important;
    overflow: hidden !important;
  }

  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_wrapper,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_1x,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_2x,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_3x,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_4x,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_wrapper,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_1x,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_2x,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_3x,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_4x,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_1x a,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_2x a,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_3x a,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_4x a,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_1x a,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_2x a,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_3x a,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_4x a {
    width: 72px !important;
    max-width: 72px !important;
    height: 72px !important;
    max-height: 72px !important;
    margin: 0 !important;
    border-radius: 5px !important;
  }

  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_wrapper img,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_1x img,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_2x img,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_3x img,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_4x img,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_wrapper img,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_1x img,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_2x img,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_3x img,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pg_4x img,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media video,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media .plyr,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media .plyr__video-wrapper,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media video,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media .plyr,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-video-media .plyr__video-wrapper {
    width: 72px !important;
    max-width: 72px !important;
    height: 72px !important;
    max-height: 72px !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.poll-options) .post-body.cf-feed-card-composed > .cf-poll-vote-cta-wrap,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.poll-options) .post-body.cf-feed-card-composed > .cf-poll-vote-cta-wrap {
    grid-area: poll !important;
    grid-column: 1 !important;
    margin: 9px 0 4px !important;
  }

  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-actions,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-actions {
    grid-area: actions !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin: 5px 0 0 !important;
    padding: 0 !important;
  }
}

/* Final single-post modal typography and shape overrides. */
#cfSinglePostModal .cf-post-modal-dialog{border-radius:3px!important}
#cfSinglePostModal .cf-post-modal-slot .post-author{font-size:17px!important}
#cfSinglePostModal .cf-post-modal-slot .cf-feed-card-heading{font-size:26px!important}
#cfSinglePostModal .cf-post-modal-slot .post-text,
#cfSinglePostModal .cf-post-modal-slot .post-text *,
#cfSinglePostModal .cf-post-modal-slot .post-text-translation,
#cfSinglePostModal .cf-post-modal-slot .post-text-translation *{font-size:16px!important}
#cfSinglePostModal .cf-post-modal-slot .cf-modal-poll-question,
#cfSinglePostModal .cf-post-modal-slot .poll-option,
#cfSinglePostModal .cf-post-modal-slot .poll-option .form-check-label,
#cfSinglePostModal .cf-post-modal-slot .poll-voters .more,
#cfSinglePostModal .cf-post-modal-slot .cf-modal-poll-votes{font-size:16px!important}
#cfSinglePostModal .cf-post-modal-slot .post-actions .action-btn,
#cfSinglePostModal .cf-post-modal-slot .cf-post-like-action .reaction-btn-icon:after,
#cfSinglePostModal .cf-post-modal-slot .cf-post-like-action .reaction-btn-name,
#cfSinglePostModal .cf-post-modal-slot .js_comment,
#cfSinglePostModal .cf-post-modal-slot .js_comment span,
#cfSinglePostModal .cf-post-modal-slot .comment-author,
#cfSinglePostModal .cf-post-modal-slot .comment-author a,
#cfSinglePostModal .cf-post-modal-slot .comment-name,
#cfSinglePostModal .cf-post-modal-slot .comment-name a,
#cfSinglePostModal .cf-post-modal-slot .comment-text,
#cfSinglePostModal .cf-post-modal-slot .comment-text *,
#cfSinglePostModal .cf-post-modal-slot .cf-comment-like-count{font-size:16px!important}

/* Final feed card typography and mobile spacing overrides. */
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-author,
.cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-author,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-author,
.cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-author{font-size:20px!important}
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-card-heading,
.cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-card-heading,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-card-heading,
.cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-card-heading{font-size:20px!important}
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-text,
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-text *,
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-text-translation,
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-text-translation *,
.cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-text,
.cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-text *,
.cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-text-translation,
.cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-text-translation *,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-text,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-text *,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-text-translation,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-text-translation *,
.cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-text,
.cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-text *,
.cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-text-translation,
.cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-text-translation *{font-size:18px!important}
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-tag,
.cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-tag,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-tag,
.cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-tag{font-size:11px!important}
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-label,
.cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-label,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-label,
.cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-label{font-size:12px!important}
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-cta,
.cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-cta,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-cta,
.cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-cta{gap:10px!important;min-height:34px!important;border:1px solid #dde3e8!important;border-radius:6px!important;background:#fff!important;color:#006b6b!important;padding:5px 11px!important}
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-tag,
.cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-tag,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-tag,
.cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-tag{min-width:43px!important;height:22px!important;padding:0 8px!important;border:0!important;border-radius:4px!important;background:#f4f7fb!important;color:#17233a!important;font-weight:800!important;letter-spacing:.02em!important;text-transform:uppercase!important}
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-label,
.cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-label,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-label,
.cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-label{color:#006b6b!important;font-weight:800!important}

.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon,
.cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon,
.cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon{font-size:18px!important;line-height:1!important}
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon span,
.cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon span,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon span,
.cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon span{font-size:18px!important;font-weight:800!important;line-height:1!important}
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon .cf-pin-svg,
.cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon .cf-pin-svg,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon .cf-pin-svg,
.cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon .cf-pin-svg{width:30px!important;height:30px!important;flex-basis:30px!important}
:root[data-theme="dark"] .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon,
:root[data-theme="dark"] .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon,
:root[data-theme="dark"] .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon,
:root[data-theme="dark"] .cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon,
body.night-mode .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon,
body.night-mode .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon,
body.night-mode .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon,
body.night-mode .cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon{color:#f8fafc!important}
:root[data-theme="dark"] .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon span,
:root[data-theme="dark"] .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon span,
:root[data-theme="dark"] .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon span,
:root[data-theme="dark"] .cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon span,
body.night-mode .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon span,
body.night-mode .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon span,
body.night-mode .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon span,
body.night-mode .cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon span{color:#f8fafc!important;text-shadow:0 1px 8px rgba(0,0,0,.35)!important}
:root[data-theme="dark"] .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon .cf-pin-svg,
:root[data-theme="dark"] .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon .cf-pin-svg,
:root[data-theme="dark"] .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon .cf-pin-svg,
:root[data-theme="dark"] .cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon .cf-pin-svg,
body.night-mode .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon .cf-pin-svg,
body.night-mode .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon .cf-pin-svg,
body.night-mode .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon .cf-pin-svg,
body.night-mode .cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .pin-icon .cf-pin-svg{color:#f6b900!important}
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .post-body.cf-feed-card-composed > .mt10,
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .post-body.cf-feed-card-composed:has(.pg_wrapper img) > .mt10,
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .post-body.cf-feed-card-composed > .cf-feed-video-media,
.cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .post-body.cf-feed-card-composed > .mt10,
.cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .post-body.cf-feed-card-composed:has(.pg_wrapper img) > .mt10,
.cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .post-body.cf-feed-card-composed > .cf-feed-video-media,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .post-body.cf-feed-card-composed > .mt10,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .post-body.cf-feed-card-composed:has(.pg_wrapper img) > .mt10,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .post-body.cf-feed-card-composed > .cf-feed-video-media,
.cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .post-body.cf-feed-card-composed > .mt10,
.cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .post-body.cf-feed-card-composed:has(.pg_wrapper img) > .mt10,
.cf-feed.cf-post-stream .post:not(.cf-post-modal-active):has(.pin-icon) .post-body.cf-feed-card-composed > .cf-feed-video-media{margin-top:16px!important}
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-cta,
.cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-cta,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-cta,
.cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-cta{box-shadow:none!important}
:root[data-theme="dark"] .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-cta,
:root[data-theme="dark"] .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-cta,
:root[data-theme="dark"] .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-cta,
:root[data-theme="dark"] .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-cta,
body.night-mode .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-cta,
body.night-mode .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-cta,
body.night-mode .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-cta,
body.night-mode .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-poll-vote-cta{box-shadow:none!important}

#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-options{max-width:calc(100% - 56px)!important;margin:12px 28px 24px!important;padding:24px 22px 22px!important;border:1px solid #dedede!important;border-radius:6px!important;background:#fff!important;color:#0f172a!important;box-shadow:none!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-options,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-options{box-shadow:none!important}
#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .cf-modal-poll-question{display:block!important;margin:0 0 18px!important;color:#0f172a!important;font-size:15px!important;font-weight:800!important;line-height:1.25!important}
#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-options>.mb5{position:relative!important;display:flex!important;align-items:stretch!important;margin:0 0 12px!important}
#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option{position:relative!important;display:flex!important;align-items:center!important;flex:1 1 auto!important;min-width:0!important;min-height:53px!important;padding:0 188px 0 20px!important;border:1px solid #dedede!important;border-radius:6px!important;background:#fff!important;color:#0f172a!important;overflow:hidden!important}
#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option:hover{background:#fff!important}
#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option.is-leading{border-color:#e7b84b!important}
#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option .percentage-bg{position:absolute!important;inset:0 auto 0 0!important;display:block!important;height:100%!important;max-width:100%!important;border-radius:0!important;background:#fff1b6!important;opacity:1!important;z-index:0!important}
#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option:not(.has-votes) .percentage-bg{width:0!important}
#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option .form-check{position:relative!important;z-index:1!important;display:flex!important;align-items:center!important;min-width:0!important;margin:0!important;padding:0!important}
#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option .form-check-input{display:inline-block!important;flex:0 0 17px!important;width:17px!important;height:17px!important;margin:0 10px 0 0!important;border:1px solid #b9c3cf!important;border-radius:50%!important;background:#fff!important;opacity:1!important;appearance:none!important;-webkit-appearance:none!important;cursor:pointer!important}
#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option .form-check-input:checked{border-color:#d8a43a!important;background:radial-gradient(circle at center,#d8a43a 0 4px,transparent 5px)!important}
#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option .form-check-label{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;margin:0!important;padding:0!important;color:#071223!important;font-size:15px!important;font-weight:800!important;line-height:1.2!important;white-space:nowrap!important}
#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .cf-modal-poll-leading{display:none!important;align-items:center!important;height:22px!important;padding:0 10px!important;border-radius:999px!important;background:#fff7da!important;color:#9b6a00!important;font-size:10px!important;font-weight:900!important;letter-spacing:.05em!important;text-transform:uppercase!important}
#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option.is-leading .cf-modal-poll-leading{display:inline-flex!important}
#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-voters{position:absolute!important;top:1px!important;right:1px!important;z-index:2!important;display:flex!important;align-items:center!important;width:184px!important;min-width:184px!important;max-width:184px!important;height:calc(100% - 2px)!important;padding:0 16px!important;box-sizing:border-box!important;border-left:1px solid #dedede!important;background:#fff!important}
#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option.is-leading+.poll-voters{border-color:#e7b84b!important}
#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-voters .more{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;width:100%!important;height:auto!important;min-width:0!important;padding:0!important;border-radius:0!important;background:transparent!important;color:#172033!important;font-size:13px!important;font-weight:700!important;line-height:1!important;white-space:nowrap!important}
#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .cf-modal-poll-avatars{display:inline-flex!important;align-items:center!important;flex:0 0 auto!important}
#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .cf-modal-poll-avatar{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:24px!important;height:24px!important;margin-left:-7px!important;border:2px solid #fff!important;border-radius:999px!important;background-color:#101a33!important;background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important;color:#fff!important;font-size:10px!important;font-weight:900!important;line-height:1!important;box-shadow:0 0 0 1px rgba(15,23,42,.08)!important}
#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .cf-modal-poll-avatar:first-child{margin-left:0!important}
#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .cf-modal-poll-stat{display:inline-block!important;color:#172033!important;font-size:13px!important;font-weight:700!important;line-height:1!important}
#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .cf-modal-poll-votes{display:block!important;margin:14px 0 0!important;color:#d59a28!important;font-size:13px!important;font-weight:800!important;line-height:1.2!important}
@media(max-width:767.98px){#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-options{max-width:calc(100% - 36px)!important;margin:12px 18px 22px!important;padding:20px 16px!important}#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option{min-height:52px!important;padding:0 128px 0 14px!important}#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-voters{width:128px!important;min-width:128px!important;max-width:128px!important;padding:0 10px!important}#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .cf-modal-poll-avatars{display:none!important}#cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option .form-check-label{font-size:14px!important}}

:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-dialog,
body.night-mode #cfSinglePostModal .cf-post-modal-dialog,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-body,
body.night-mode #cfSinglePostModal .cf-post-modal-body,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-body,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-body{background:#151922!important;color:#e7edf7!important;border-color:#2a3240!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-header,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-header{background:#151922!important;border-bottom-color:#2a3240!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-author,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-author,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .cf-feed-card-heading,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .cf-feed-card-heading{color:#f7c800!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-time,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-time,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-time a,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-time a,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-time .js_moment,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-time .js_moment,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-time .cf_compact_moment,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-time .cf_compact_moment{color:#aeb8c8!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-time:after,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-time:after{background:#7f8aa0!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-text,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-text,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-text *,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-text *,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-text-translation,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-text-translation,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-text-translation *,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-text-translation *{color:#c9d4e4!important;background:transparent!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-footer,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-footer,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-comments,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-comments,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .js_comment-form,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .js_comment-form{background:#151922!important;border-color:#2a3240!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-actions,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-actions{background:#151922!important;border-top-color:#333b49!important;border-bottom-color:#2a3240!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-actions .action-btn,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-actions .action-btn,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .js_comment,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .js_comment,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .js_comment span,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .js_comment span{color:#d8e0ec!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .comment-inner,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .comment-inner{background:#1c222c!important;border-color:#3a4352!important;color:#e7edf7!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .comment-text,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .comment-text,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .comment-text *,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .comment-text *{background:transparent!important;color:#f1f5fb!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .comment-author a,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .comment-author a{color:#f7c800!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .comment-actions,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .comment-actions,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .comment-actions .text-link,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .comment-actions .text-link,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .cf-comment-like-count,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .cf-comment-like-count{color:#8fa0ba!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .comment-form,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .comment-form{background:#1c222c!important;border-color:#4a5568!important;color:#e7edf7!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .comment-form textarea,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .comment-form textarea{background:transparent!important;color:#f1f5fb!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .comment-form textarea::placeholder,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .comment-form textarea::placeholder{color:#9aa7bb!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .cf-cmt-tool,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .cf-cmt-tool,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .cf-cmt-cancel,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .cf-cmt-cancel{color:#9aa7bb!important;background:transparent!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .js_comment-disabled-msg:not(.x-hidden),
body.night-mode #cfSinglePostModal .cf-post-modal-slot .js_comment-disabled-msg:not(.x-hidden){background:#1c222c!important;border-color:#3a4352!important;color:#c9d4e4!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .dropdown-toggle,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .dropdown-toggle,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-meta>.float-end.dropdown.cf-post-modal-header-menu .dropdown-toggle,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-meta>.float-end.dropdown.cf-post-modal-header-menu .dropdown-toggle{background:#222936!important;color:#e7edf7!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-meta>.float-end.dropdown.cf-post-modal-header-menu .action-dropdown-menu,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-meta>.float-end.dropdown.cf-post-modal-header-menu .action-dropdown-menu{background:#1c222c!important;border-color:#3a4352!important;box-shadow:0 16px 36px rgba(0,0,0,.45)!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .dropdown-item,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .dropdown-item{background:#1c222c!important;color:#e7edf7!important;border-color:#3a4352!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .dropdown-item:hover,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .action-dropdown-menu .dropdown-item:hover{background:#2a3342!important;color:#fff!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-close,
body.night-mode #cfSinglePostModal .cf-post-modal-close,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-bell,
body.night-mode #cfSinglePostModal .cf-post-modal-bell{color:#f1f5fb!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .cf-post-edit .post-form,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .cf-post-edit .post-form,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .cf-edit-preview,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .cf-edit-preview,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .cf-edit-poll,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .cf-edit-poll,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .cf-edit-poll-preview,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .cf-edit-poll-preview,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .cf-edit-poll-choice,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .cf-edit-poll-choice{background:#1c222c!important;border-color:#3a4352!important;color:#e7edf7!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .cf-edit-title-input,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .cf-edit-title-input,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .cf-edit-body-input,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .cf-edit-body-input,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .cf-edit-poll input,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .cf-edit-poll input,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .cf-edit-poll-choice-input,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .cf-edit-poll-choice-input{background:transparent!important;color:#f1f5fb!important;border-color:#4a5568!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-options,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-options,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-voters,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-voters{background:#1c222c!important;border-color:#3a4352!important;color:#e7edf7!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option .percentage-bg,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option .percentage-bg{background:rgba(247,200,0,.18)!important}

/* Mobile feed card final lock: visible black outline, right-side media, one-line header. */
@media (max-width: 767.98px) {
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active),
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active),
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active),
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active),
  :root[data-theme="dark"] .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active),
  :root[data-theme="dark"] .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active),
  :root[data-theme="dark"] .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active),
  :root[data-theme="dark"] .cf-feed.cf-post-stream .post:not(.cf-post-modal-active),
  body.night-mode .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active),
  body.night-mode .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active),
  body.night-mode .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active),
  body.night-mode .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) {
    margin: 0 8px 18px !important;
    border: 2px solid #050505 !important;
    outline: 2px solid #050505 !important;
    outline-offset: -2px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed:has(.pg_wrapper img),
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed:has(.pg_wrapper img),
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed:has(.pg_wrapper img),
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed:has(.pg_wrapper img),
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed:has(.cf-feed-video-media),
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed:has(.cf-feed-video-media),
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed:has(.cf-feed-video-media),
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed:has(.cf-feed-video-media) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 76px !important;
    grid-template-areas:
      "header header"
      "title media"
      "content media"
      "poll media"
      "actions actions" !important;
    column-gap: 12px !important;
    row-gap: 4px !important;
    padding: 18px 18px 14px !important;
  }

  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-header,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-header,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-header,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-header {
    grid-area: header !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
    margin: 0 0 7px !important;
    padding: 0 96px 0 0 !important;
    white-space: nowrap !important;
  }

  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-meta,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-meta,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-meta,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-meta {
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }

  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-meta > .js_user-popover,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-meta > .js_user-popover,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-meta > .js_user-popover,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-meta > .js_user-popover {
    display: inline-flex !important;
    max-width: calc(100% - 70px) !important;
    min-width: 0 !important;
    vertical-align: middle !important;
  }

  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-author,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-author,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-author,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-author {
    display: inline-block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
  }

  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-post-role-badge,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-post-role-badge,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-post-role-badge,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-post-role-badge {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    margin-left: 7px !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
  }

  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .pin-icon,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .pin-icon,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pin-icon,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .pin-icon {
    top: 22px !important;
    right: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    white-space: nowrap !important;
    line-height: 1 !important;
  }

  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed > .mt10,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed > .mt10,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed > .mt10,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed > .mt10,
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed > .cf-feed-video-media,
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed > .cf-feed-video-media,
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed > .cf-feed-video-media,
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .post-body.cf-feed-card-composed > .cf-feed-video-media {
    grid-area: media !important;
    grid-column: 2 !important;
    grid-row: 2 / span 3 !important;
    justify-self: end !important;
    align-self: start !important;
    width: 76px !important;
    max-width: 76px !important;
    height: 76px !important;
    max-height: 76px !important;
    margin: 0 !important;
  }
}

/* Feed cards: black outline only, no green glow on desktop or mobile. */
.cf-feed-shell-simple .cf-post-stream .post,
.cf-view-feed .cf-post-stream .post,
.cf-feed.cf-post-stream .post:not(.cf-post-modal-active),
:root[data-theme="dark"] .cf-feed-shell-simple .cf-post-stream .post,
:root[data-theme="dark"] .cf-view-feed .cf-post-stream .post,
:root[data-theme="dark"] .cf-feed.cf-post-stream .post:not(.cf-post-modal-active),
body.night-mode .cf-feed-shell-simple .cf-post-stream .post,
body.night-mode .cf-view-feed .cf-post-stream .post,
body.night-mode .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) {
  border: 2px solid #050505 !important;
  box-shadow: none !important;
}

.cf-feed-shell-simple .cf-post-stream .post:hover,
.cf-view-feed .cf-post-stream .post:hover,
.cf-feed.cf-post-stream .post:not(.cf-post-modal-active):hover,
:root[data-theme="dark"] .cf-feed-shell-simple .cf-post-stream .post:hover,
:root[data-theme="dark"] .cf-view-feed .cf-post-stream .post:hover,
:root[data-theme="dark"] .cf-feed.cf-post-stream .post:not(.cf-post-modal-active):hover,
body.night-mode .cf-feed-shell-simple .cf-post-stream .post:hover,
body.night-mode .cf-view-feed .cf-post-stream .post:hover,
body.night-mode .cf-feed.cf-post-stream .post:not(.cf-post-modal-active):hover {
  border-color: #050505 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Single post modal action counts */
#cfSinglePostModal .cf-post-modal-slot .post-actions{gap:0!important}
#cfSinglePostModal .cf-post-modal-slot .cf-post-actions-left{gap:0!important}
#cfSinglePostModal .cf-post-modal-slot .cf-post-like-action{height:32px!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important}
#cfSinglePostModal .cf-post-modal-slot .cf-post-like-action .reaction-btn{display:inline-flex!important;align-items:center!important;gap:4px!important;height:32px!important}
#cfSinglePostModal .cf-post-modal-slot .cf-post-like-action .reaction-btn-icon{display:inline-flex!important;align-items:center!important;gap:0!important;height:32px!important;padding:0!important}
#cfSinglePostModal .cf-post-modal-slot .cf-post-like-action .reaction-btn-icon:after{display:none!important;content:none!important}
#cfSinglePostModal .cf-post-modal-slot .cf-post-like-action .reaction-btn-name{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;height:32px!important;min-width:0!important;padding:0!important;border:0!important;color:inherit!important}
#cfSinglePostModal .cf-post-modal-slot .cf-post-like-action .cf-post-like-word,
#cfSinglePostModal .cf-post-modal-slot .js_comment .cf-post-comment-word{display:inline-flex!important;align-items:center!important;margin-left:2px!important;color:inherit!important}
#cfSinglePostModal .cf-post-modal-slot .js_comment{height:32px!important;gap:4px!important;margin-left:20px!important;padding-left:20px!important;border-left:1px solid #d6d6d6!important;color:#344054!important}
#cfSinglePostModal .cf-post-modal-slot .js_comment span:after{display:none!important;content:none!important}
#cfSinglePostModal .cf-post-modal-slot .js_comment .cf-post-comment-count{display:inline-flex!important;align-items:center!important;color:inherit!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .js_comment,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .js_comment{border-left-color:#d9dde6!important;color:#f1f5fb!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option .form-check-input,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option .form-check-input{background:#151922!important;border-color:#7c8798!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option .form-check-label,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option .form-check-label,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-voters .more,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-voters .more,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .cf-modal-poll-stat,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .cf-modal-poll-stat{color:#e7edf7!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .comment-replies .js_reply-form .comment-form,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .comment-replies .js_reply-form .comment-form,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .cf-cmt-add-tile button,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .cf-cmt-add-tile button,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .cf-edit-tools,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .cf-edit-tools{background:#1c222c!important;border-color:#3a4352!important;color:#9aa7bb!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .cf-edit-poll-add,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .cf-edit-poll-add,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .cf-edit-poll-add-option,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .cf-edit-poll-add-option{background:#222936!important;border-color:#4a5568!important;color:#e7edf7!important}
@media (max-width:767.98px){
  .cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active),
  .cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active),
  .cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active),
  .cf-feed.cf-post-stream .post:not(.cf-post-modal-active){margin:0 0 18px!important}
}

/* Single post modal header action alignment */
#cfSinglePostModal .cf-post-modal-head{width:190px!important;height:84px!important}
#cfSinglePostModal .cf-post-modal-bell{top:21px!important;right:130px!important;width:39px!important;height:39px!important;min-width:39px!important;min-height:39px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important}
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu,
#cfSinglePostModal .cf-post-modal-slot .post-meta>.float-end.dropdown.cf-post-modal-header-menu{width:39px!important;height:39px!important;margin:0!important;display:block!important;line-height:1!important}
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .dropdown-toggle,
#cfSinglePostModal .cf-post-modal-slot .post-meta>.float-end.dropdown.cf-post-modal-header-menu .dropdown-toggle{width:39px!important;height:39px!important;min-width:39px!important;min-height:39px!important;margin:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;vertical-align:top!important}
/* Single post modal dark-mode polish */
#cfSinglePostModal .cf-post-modal-bell{top:21px!important;right:130px!important;width:39px!important;height:39px!important}
#cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .dropdown-toggle,
#cfSinglePostModal .cf-post-modal-slot .post-meta>.float-end.dropdown.cf-post-modal-header-menu .dropdown-toggle{width:39px!important;height:39px!important;min-width:39px!important;min-height:39px!important}
#cfSinglePostModal .cf-post-modal-slot .post-time:after{display:none!important;content:none!important}

:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-dialog,
body.night-mode #cfSinglePostModal .cf-post-modal-dialog,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-body,
body.night-mode #cfSinglePostModal .cf-post-modal-body{background:#181b21e3!important;color:#e7edf7!important;border-color:#303844!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-body,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-body{background:transparent!important;color:#e7edf7!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-header,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-header,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-footer,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-footer,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-comments,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-comments,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .js_comment-form,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .js_comment-form{background:transparent!important;border-color:#303844!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-actions,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-actions{background:transparent!important;border-top-color:#303844!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-author,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-author,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .cf-feed-card-heading,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .cf-feed-card-heading{color:#fff!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-text,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-text,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-text *,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-text *,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-text-translation,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-text-translation,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-text-translation *,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-text-translation *{background:transparent!important;color:#cdd6e3!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-close,
body.night-mode #cfSinglePostModal .cf-post-modal-close,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-bell,
body.night-mode #cfSinglePostModal .cf-post-modal-bell{color:#f8fafc!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .dropdown-toggle,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .dropdown-toggle,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-meta>.float-end.dropdown.cf-post-modal-header-menu .dropdown-toggle,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-meta>.float-end.dropdown.cf-post-modal-header-menu .dropdown-toggle{background:rgba(255,255,255,.04)!important;color:#f8fafc!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .dropdown-toggle i,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .dropdown-toggle i,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-meta>.float-end.dropdown.cf-post-modal-header-menu .dropdown-toggle i,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-meta>.float-end.dropdown.cf-post-modal-header-menu .dropdown-toggle i{color:#f8fafc!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .dropdown-toggle:hover,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-meta>.dropdown.cf-post-modal-header-menu .dropdown-toggle:hover,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post-meta>.float-end.dropdown.cf-post-modal-header-menu .dropdown-toggle:hover,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post-meta>.float-end.dropdown.cf-post-modal-header-menu .dropdown-toggle:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .comment-inner,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .comment-inner{background:transparent!important;border-color:#46515f!important;color:#e7edf7!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .comment-form,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .comment-form{background:transparent!important;border-color:#6b7280!important;color:#e7edf7!important}

:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-options,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-options{background:#181b2100!important;border-color:#3a4352!important;color:#e7edf7!important;box-shadow:none!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .cf-modal-poll-question,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .cf-modal-poll-question{color:#fff!important;background:transparent!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option,
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-voters,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-voters{background:#181b2100!important;border-color:#3a4352!important;color:#e7edf7!important}
:root[data-theme="dark"] #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option .percentage-bg,
body.night-mode #cfSinglePostModal .cf-post-modal-slot .post:has(.poll-options) .poll-option .percentage-bg{background:rgba(247,200,0,.18)!important}

/* Feed card text sizing only; the modal uses standalone post markup. */
.cf-view-feed .cf-post-stream .post.cf-feed-card:not(.cf-post-modal-active) .post-author,
.cf-feed-shell-simple .cf-post-stream .post.cf-feed-card:not(.cf-post-modal-active) .post-author,
.cf-view-feed .cf-feed.cf-post-stream .post.cf-feed-card:not(.cf-post-modal-active) .post-author,
.cf-feed.cf-post-stream .post.cf-feed-card:not(.cf-post-modal-active) .post-author{font-size:14px!important}
.cf-view-feed .cf-post-stream .post.cf-feed-card:not(.cf-post-modal-active) .post-text,
.cf-feed-shell-simple .cf-post-stream .post.cf-feed-card:not(.cf-post-modal-active) .post-text,
.cf-view-feed .cf-feed.cf-post-stream .post.cf-feed-card:not(.cf-post-modal-active) .post-text,
.cf-feed.cf-post-stream .post.cf-feed-card:not(.cf-post-modal-active) .post-text{font-size:16px!important}
.cf-view-feed .cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-card-heading,
.cf-feed-shell-simple .cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-card-heading,
.cf-view-feed .cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-card-heading,
.cf-feed.cf-post-stream .post:not(.cf-post-modal-active) .cf-feed-card-heading,
#cfSinglePostModal .cf-post-modal-slot .cf-feed-card-heading{font-weight:800!important}
.cf-view-feed .cf-post-stream .post.cf-feed-card:not(.cf-post-modal-active) .cf-feed-card-heading,
.cf-feed-shell-simple .cf-post-stream .post.cf-feed-card:not(.cf-post-modal-active) .cf-feed-card-heading,
.cf-view-feed .cf-feed.cf-post-stream .post.cf-feed-card:not(.cf-post-modal-active) .cf-feed-card-heading,
.cf-feed.cf-post-stream .post.cf-feed-card:not(.cf-post-modal-active) .cf-feed-card-heading{font-size:21px!important}
#cfSinglePostModal .cf-post-modal-slot .post-text a{color:#15803d!important}
