/* CelebIsland "Obsidian and Emerald" redesign -- Phase 3: news feed centre column.
   Retargets the design package's ci-card / ci-post / ci-composer / ci-tabs look
   (docs/redesign-2026-09-23/pages/home.html) onto the REAL Wondertag feed markup:
   greeting (.greetalert), story tray (.tag_stories_on_home), filter chips
   (.tag_home_filters), inline composer (.tag_pub_box_bg) + full publisher modal
   (#tagPostBox), post cards (.post > .panel, used on home, profile, group, page,
   hashtag and single-post timelines), comments, post dropdown and load-more.

   Every Wondertag class, id, onclick and data-* hook is untouched -- this file
   is paint only. Colors use var(--ci-*) so tokens.css repaints both themes.

   HARD CLIENT CONSTRAINT: the story tray's first tile (#radioStoryBtn, the live
   RadioBanger100 tile) must render pixel-for-pixel as before. So:
     - nothing here changes .tag_stories_on_home's background, padding, width
       or the status-list geometry (tile widths are % of that list), and
     - every story-tile rule is written with li:not(#radioStoryBtn).
   Loaded after ci-shell.css (see container.phtml). */

/* =========================================================
   GREETING  (eyebrow weekday + Fraunces display line)
   ========================================================= */
.greetalert { margin: 0 0 22px !important; padding: 0 !important; background: transparent !important; border: 0 !important; display: flex; align-items: flex-end; }
.greetalert #daynightmsg { flex: 1; min-width: 0; order: 0; }
.greetalert .ci-greet__day {
  font: 700 11px/1 var(--ci-font-body); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ci-green-text); margin: 0 0 8px;
}
.greetalert .small-texts, .greetalert.morning .small-texts, .greetalert.noon .small-texts, .greetalert.evening .small-texts {
  font: 500 38px/1.06 var(--ci-font-display) !important; letter-spacing: -0.02em;
  color: var(--ci-bone) !important; background: none !important; -webkit-text-fill-color: currentColor !important;
  margin: 0 !important; padding: 0 !important; text-transform: none !important;
}
.greetalert .small-texts em { font-style: italic; font-weight: 600; color: var(--ci-green-text); }
.greetalert #daynightmsg p { display: none; }
.greetalert > .close, .greetalert > .btn {
  order: 1; position: static !important; float: none !important; flex-shrink: 0;
  width: 38px; height: 38px; margin: 0 0 0 8px !important; padding: 0 !important; opacity: 1 !important;
  display: inline-grid !important; place-items: center; border-radius: var(--ci-r-md) !important;
  border: 1px solid var(--ci-line) !important; background: var(--ci-surface) !important;
  color: var(--ci-text-4) !important; text-shadow: none !important; box-shadow: none !important;
}
.greetalert > .close:hover, .greetalert > .btn:hover { color: var(--ci-bone) !important; background: var(--ci-surface-2) !important; }
.greetalert > .close svg, .greetalert > .btn svg { width: 18px; height: 18px; }
.greetalert .skel_home_greet { height: 38px; max-width: 420px; border-radius: 10px; }
@media (max-width: 768px) {
  .greetalert { margin-bottom: 18px !important; }
  .greetalert .small-texts, .greetalert.morning .small-texts, .greetalert.noon .small-texts, .greetalert.evening .small-texts { font-size: 34px !important; }
  .greetalert .ci-greet__day { letter-spacing: 0.16em; }
  .greetalert .small-texts em { display: block; }
}

/* =========================================================
   STORY TRAY  -- #radioStoryBtn deliberately excluded everywhere
   ========================================================= */
/* Panel frame only (border + radius). Background/padding/geometry untouched. */
.tag_stories_on_home { border: 1px solid var(--ci-line); border-radius: var(--ci-r-lg) !important; box-shadow: none !important; }
@media (max-width: 768px) { .tag_stories_on_home { border: 0; } }

.tag_stories_on_home .status-list li:not(#radioStoryBtn) > a { border-radius: 12px !important; overflow: hidden; }
.tag_stories_on_home .status-list li:not(#radioStoryBtn) > a > img { border-radius: 12px; }
/* Name under each tile */
.tag_stories_on_home .status-list li:not(#radioStoryBtn) > p {
  font: 700 12.5px/1.3 var(--ci-font-body) !important; color: var(--ci-bone) !important; letter-spacing: 0;
}
/* Friend avatar chip: green ring = unseen, quiet ring = seen */
.tag_stories_on_home .status-list li:not(#radioStoryBtn):not(.create_new) > a > span {
  border: 2px solid var(--ci-line-strong2) !important; background: var(--ci-ink) !important; padding: 2px !important;
}
.tag_stories_on_home .status-list li.not_seen_story:not(#radioStoryBtn) > a > span { border-color: var(--ci-green) !important; }
.tag_stories_on_home .status-list li:not(#radioStoryBtn):not(.create_new) > a > span img { border-radius: 50%; }
/* Keep the unseen-story ring structure: green inset ring on the tile itself. */
.tag_stories_on_home .status-list li.not_seen_story:not(#radioStoryBtn) > a { box-shadow: inset 0 0 0 2px var(--ci-green) !important; }
/* "Create new story": brand-green plus */
.tag_stories_on_home .status-list li.create_new:not(#radioStoryBtn) > a > span {
  background: var(--ci-green) !important; color: var(--ci-on-green) !important;
  border: 3px solid var(--ci-surface) !important; box-shadow: var(--ci-shadow-cta);
}
.tag_stories_on_home .status-list li.create_new:not(#radioStoryBtn) > a > span svg { color: var(--ci-on-green) !important; fill: currentColor; }
.tag_stories_on_home .status-list li.create_new:not(#radioStoryBtn):hover > a > span { background: var(--ci-green-hover) !important; }
.tag_stories_on_home .view-more-stories {
  background: var(--ci-surface) !important; border: 1px solid var(--ci-line-strong) !important;
  color: var(--ci-bone) !important; box-shadow: 0 8px 24px -10px rgba(0,0,0,.6) !important;
}
.tag_stories_on_home .view-more-stories:hover { border-color: rgba(81,194,60,.55) !important; color: var(--ci-green-text) !important; }

/* =========================================================
   FILTER CHIPS  (All / Text / Photos / ...)
   ========================================================= */
/* 2026-09-27: client screenshot showed the filter row (All/Text/Photos/...)
   visually overlapping a post's header underneath it. Root cause:
   .tag_home_filters.home is position:sticky (style.css) with z-index:90,
   so it stays pinned over scrolled-under content -- but this rule made its
   background transparent, so whatever scrolled underneath showed straight
   through instead of being hidden behind it. Needs to stay opaque; using
   the real page-background token instead of the old var(--body-bg) so it
   still matches the new theme. */
.tag_home_filters { background: transparent !important; box-shadow: none !important; }
.tag_home_filters.home { background: var(--ci-ink) !important; box-shadow: none !important; }
.tag_home_filters .filterby, .tag_home_filters .tag_page_nav { gap: 6px; }
.tag_home_filters .filterby > li { margin: 0 !important; padding: 0 !important; }
.tag_home_filters .filterby > li > a.btn-mat {
  height: 38px !important; padding: 0 15px !important; margin: 0 !important;
  display: inline-flex !important; align-items: center; gap: 7px; white-space: nowrap;
  border-radius: var(--ci-r-pill) !important; border: 1px solid var(--ci-line) !important;
  background: transparent !important; color: var(--ci-text-3) !important; box-shadow: none !important;
  font: 700 13px/1 var(--ci-font-body) !important; transition: background var(--ci-dur), color var(--ci-dur), border-color var(--ci-dur);
}
.tag_home_filters .filterby > li > a.btn-mat svg { width: 15px !important; height: 15px !important; margin: 0 !important; color: inherit !important; }
.tag_home_filters .filterby > li > a.btn-mat svg path { fill: currentColor; }
.tag_home_filters .filterby > li > a.btn-mat:hover { background: var(--ci-surface-2) !important; color: var(--ci-bone) !important; border-color: var(--ci-line-strong2) !important; }
.tag_home_filters .filterby > li.active > a.btn-mat,
.tag_home_filters .filterby > li.active > a.btn-mat:hover { background: var(--ci-bone) !important; color: var(--ci-ink) !important; border-color: var(--ci-bone) !important; }
/* Sort-order (All / People I follow) toggle */
.tag_home_filters .tag_home_post_order > a.btn-mat {
  width: 38px !important; height: 38px !important; padding: 0 !important; margin: 0 6px 0 0 !important;
  display: inline-grid !important; place-items: center; border-radius: 50% !important;
  border: 1px solid var(--ci-line) !important; background: transparent !important; color: var(--ci-text-3) !important; box-shadow: none !important;
}
.tag_home_filters .tag_home_post_order > a.btn-mat:hover, .tag_home_filters .tag_home_post_order.open > a.btn-mat { background: var(--ci-surface-2) !important; color: var(--ci-bone) !important; }
.tag_home_filters .tag_home_post_order > a.btn-mat svg { width: 18px; height: 18px; }
.tag_home_filters .tag_home_goup { background: var(--ci-green) !important; color: var(--ci-on-green) !important; border-radius: var(--ci-r-pill) !important; font: 800 13px var(--ci-font-body) !important; box-shadow: var(--ci-shadow-cta) !important; }

/* =========================================================
   SHARED DROPDOWN MENUS in the feed (post options, sort order, privacy)
   ========================================================= */
.post .tag_post_hdr_menu > .dropdown-menu,
.tag_home_filters .tag_home_post_order > .dropdown-menu,
.post .load-more-comments .dropdown-menu {
  background: var(--ci-surface) !important; border: 1px solid var(--ci-line-strong) !important;
  border-radius: 14px !important; padding: 6px !important;
  box-shadow: 0 24px 60px -18px rgba(0,0,0,.75) !important;
}
.post .tag_post_hdr_menu > .dropdown-menu > li > a,
.tag_home_filters .tag_home_post_order > .dropdown-menu > li > a {
  border-radius: 10px !important; color: var(--ci-text-2) !important; font-family: var(--ci-font-body) !important;
}
.post .tag_post_hdr_menu > .dropdown-menu > li > a b,
.tag_home_filters .tag_home_post_order > .dropdown-menu > li > a { font-weight: 700; color: var(--ci-bone); }
.post .tag_post_hdr_menu > .dropdown-menu > li > a p { color: var(--ci-text-5) !important; font-size: 12px; }
.post .tag_post_hdr_menu > .dropdown-menu > li > a svg { color: var(--ci-text-4) !important; }
.post .tag_post_hdr_menu > .dropdown-menu > li > a:hover,
.tag_home_filters .tag_home_post_order > .dropdown-menu > li > a:hover,
.tag_home_filters .tag_home_post_order > .dropdown-menu > li.active > a { background: var(--ci-surface-2) !important; }
.post .tag_post_hdr_menu > .dropdown-menu > li > a:hover svg { color: var(--ci-green-text) !important; }
.post .tag_post_hdr_menu > .dropdown-menu hr { border-color: var(--ci-line) !important; margin: 4px 6px !important; opacity: 1; }

/* =========================================================
   INLINE COMPOSER BAR  (.tag_pub_box_bg) + tools row
   ========================================================= */
.wow_content.tag_pub_box_bg {
  background: var(--ci-surface) !important; border: 1px solid var(--ci-line) !important;
  border-radius: var(--ci-r-lg) !important; box-shadow: none !important;
  padding: 20px 22px 16px !important; margin-bottom: 20px !important; flex-wrap: wrap; gap: 14px;
}
.tag_pub_box_bg .tag_pub_box_avatar { margin: 0 !important; flex-shrink: 0; }
.tag_pub_box_bg .tag_pub_box_avatar img { width: 46px !important; height: 46px !important; border-radius: 50% !important; border: 2px solid var(--ci-green); object-fit: cover; }
.tag_pub_box_bg .tag_pub_box_bg_text {
  flex: 1 1 0 !important; min-width: 0; height: 50px !important; margin: 0 !important; padding: 0 18px !important;
  border-radius: 14px !important; border: 1px solid var(--ci-line-strong) !important;
  background: var(--ci-panel) !important; color: var(--ci-text-5) !important; box-shadow: none !important;
  font: 500 15px/48px var(--ci-font-body) !important; text-align: left !important;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tag_pub_box_bg .tag_pub_box_bg_text:hover { border-color: rgba(81,194,60,.45) !important; color: var(--ci-text-3) !important; }
/* The old round live/camera buttons are replaced by the labelled tools row
   (same actions, same targets). Hidden only when that row is present. */
.tag_pub_box_bg:has(.ci-pub-tools) > .tag_pub_box_bg_camlve { display: none !important; }
.tag_pub_box_bg .ci-pub-tools {
  flex: 1 0 100%; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px;
  border-top: 1px solid var(--ci-line); padding-top: 12px; margin: 0;
}
.ci-pub-tool {
  height: 38px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px;
  border-radius: 10px; border: 0; background: transparent; color: var(--ci-text-3) !important;
  font: 700 13px/1 var(--ci-font-body); cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: background var(--ci-dur), color var(--ci-dur);
}
.ci-pub-tool:hover, .ci-pub-tool:focus-visible { background: var(--ci-surface-2); color: var(--ci-bone) !important; outline: none; }
.ci-pub-tool svg { width: 18px; height: 18px; color: var(--ci-green-text); flex-shrink: 0; }
.ci-pub-tool--live svg { color: var(--ci-danger); }
.ci-pub-post {
  margin-left: auto; height: 38px; padding: 0 20px; border: 0; border-radius: 10px;
  background: var(--ci-green); color: var(--ci-on-green); font: 800 13.5px/1 var(--ci-font-body);
  cursor: pointer; box-shadow: var(--ci-shadow-cta); transition: background var(--ci-dur), transform var(--ci-dur);
}
.ci-pub-post:hover { background: var(--ci-green-hover); }
.ci-pub-post:active { transform: scale(.97); }
@media (max-width: 480px) {
  .wow_content.tag_pub_box_bg { padding: 16px 16px 12px !important; gap: 12px; }
  .tag_pub_box_bg .tag_pub_box_avatar img { width: 42px !important; height: 42px !important; }
  .tag_pub_box_bg .tag_pub_box_bg_text { height: 46px !important; line-height: 44px !important; font-size: 14.5px !important; }
  .ci-pub-tool { padding: 0 9px; gap: 7px; }
}

/* =========================================================
   FULL PUBLISHER (modal #tagPostBox)
   ========================================================= */
.tag_main_pub_box .modal-content.tag_pub_box {
  background: var(--ci-surface) !important; border: 1px solid var(--ci-line-strong) !important;
  border-radius: 20px !important; box-shadow: 0 40px 100px -30px rgba(0,0,0,.9) !important; color: var(--ci-text-body);
}
.tag_pub_box .modal-header { border-bottom: 1px solid var(--ci-line) !important; }
.tag_pub_box .modal-header .btn-default { background: var(--ci-surface-2) !important; color: var(--ci-text-2) !important; border-radius: 10px !important; box-shadow: none !important; }
.tag_pub_box #publisher-button, .tag_pub_box .btn-main {
  background: var(--ci-green) !important; color: var(--ci-on-green) !important; border: 0 !important;
  border-radius: 10px !important; font: 800 14px var(--ci-font-body) !important; box-shadow: var(--ci-shadow-cta) !important;
}
.tag_pub_box #publisher-button:hover, .tag_pub_box .btn-main:hover { background: var(--ci-green-hover) !important; }
.tag_pub_box .charsLeft-post { color: var(--ci-text-5) !important; font-family: var(--ci-font-body); }
.tag_pub_box #post-textarea textarea, .tag_pub_box .videoTitle {
  color: var(--ci-bone) !important; font: 500 17px/1.5 var(--ci-font-body) !important; background: transparent !important;
}
.tag_pub_box #post-textarea textarea::placeholder, .tag_pub_box .videoTitle::placeholder { color: var(--ci-text-5) !important; opacity: 1; }
.tag_pub_box .publisher-box-footer { border-top: 1px solid var(--ci-line) !important; }
.tag_pub_box .pub-footer-upper .tag_pub_box_btns {
  border-radius: 10px !important; border: 1px solid var(--ci-line) !important; background: var(--ci-panel) !important;
  color: var(--ci-text-2) !important; font: 700 12.5px var(--ci-font-body) !important; box-shadow: none !important;
}
.tag_pub_box .pub-footer-upper .tag_pub_box_btns:hover { border-color: rgba(81,194,60,.45) !important; background: var(--ci-surface-2) !important; color: var(--ci-bone) !important; }
.tag_pub_box .pub-footer-upper .tag_pub_box_btns svg { color: var(--ci-green-text); }
.tag_pub_box .tag_pub_btn_color, .tag_pub_box .tag_pub_btn_hasat, .tag_pub_box .add-emoticons > .dropdown-toggle { color: var(--ci-text-3) !important; }
.tag_pub_box .wow_pub_privacy_dropdown {
  border-radius: var(--ci-r-pill) !important; border: 1px solid var(--ci-line-strong) !important;
  background: var(--ci-panel) !important; color: var(--ci-text-2) !important; font-family: var(--ci-font-body);
}
.tag_pub_box .wow_pub_privacy_menu {
  background: var(--ci-surface) !important; border: 1px solid var(--ci-line-strong) !important;
  border-radius: 14px !important; box-shadow: 0 24px 60px -18px rgba(0,0,0,.75) !important;
}
.tag_pub_box .wow_pub_privacy_menu label, .tag_pub_box .wow_pub_privacy_menu span { color: var(--ci-text-2) !important; }
.tag_pub_box .tag_pub_feels, .tag_pub_box .map-form input, .tag_pub_box .gif-form input, .tag_pub_box .album-form input,
.tag_pub_box .poll-form input {
  background: var(--ci-panel) !important; border: 1px solid var(--ci-line-strong) !important; border-radius: 12px !important;
  color: var(--ci-bone) !important; box-shadow: none !important;
}
.tag_pub_box .feeling-type { background: var(--ci-surface) !important; border: 1px solid var(--ci-line-strong) !important; border-radius: 14px !important; }
.tag_pub_box .feeling-type li a { color: var(--ci-text-2) !important; border-radius: 10px; }
.tag_pub_box .feeling-type li a:hover { background: var(--ci-surface-2) !important; color: var(--ci-bone) !important; }

/* =========================================================
   POST CARD
   ========================================================= */
.post > .panel, .post .panel.panel-white {
  background: var(--ci-surface) !important; border: 1px solid var(--ci-line) !important;
  border-radius: var(--ci-r-lg) !important; box-shadow: none !important; color: var(--ci-text-body);
  font-family: var(--ci-font-body); margin-bottom: 20px;
}
[data-theme="light"] .post > .panel { box-shadow: 0 1px 2px rgba(17,19,24,.04), 0 8px 24px -16px rgba(17,19,24,.12) !important; }
/* Promoted */
.post.boosted > .panel { border-color: rgba(240,180,76,.30) !important; }
[data-theme="light"] .post.boosted > .panel { border-color: rgba(233,165,46,.45) !important; }
.post.boosted { position: relative; }
.post.boosted > .promoted-icon {
  position: absolute !important; top: 16px !important; left: 22px !important; right: auto !important; z-index: 2;
  display: inline-flex; margin: 0 !important;
  font: 800 10.5px/1 var(--ci-font-body) !important; letter-spacing: .16em !important; text-transform: uppercase;
  color: var(--ci-warn-text) !important; background: rgba(240,180,76,.1) !important;
  border: 1px solid rgba(240,180,76,.28); padding: 5px 10px !important; border-radius: 6px !important;
}
[data-theme="light"] .post.boosted > .promoted-icon { background: rgba(233,165,46,.14) !important; border-color: rgba(233,165,46,.4); color: #8a5a00 !important; }
.post.boosted > .promoted-icon ~ .panel { padding-top: 34px !important; box-shadow: none !important; }
.post .pin-icon { color: var(--ci-green-text) !important; }

/* Header */
.post .panel > .post-heading, .post .wow_shared_posts > .post-heading { padding: 20px 22px 14px !important; }
.post .post-heading .image .avatar, .post .post-heading .image img.avatar {
  width: 46px !important; height: 46px !important; border-radius: 50% !important; object-fit: cover;
  box-shadow: 0 0 0 2px var(--ci-green); border: 2px solid var(--ci-surface);
}
.post .post-heading .tag_post_status { border-color: var(--ci-surface) !important; }
.post .post-heading .tag_post_status.online { background: var(--ci-green) !important; }
.post .post-heading .meta .title { font: 500 14px/1.35 var(--ci-font-body) !important; color: var(--ci-text-4) !important; }
.post .post-heading .meta .title a.name, .post .post-heading .meta .title .user-popover a {
  font: 800 15.5px var(--ci-font-body) !important; color: var(--ci-bone) !important; letter-spacing: -0.005em;
}
.post .post-heading .meta .title a:not(.name) { color: var(--ci-text-2) !important; font-weight: 700; }
.post .post-heading .verified-color, .post .post-heading .verified-color svg { color: var(--ci-green-text) !important; fill: currentColor; }
.post .post-heading .pro-badge a { color: #07080C !important; background: linear-gradient(135deg, #f7d98b, #d9a441) !important; border-radius: 6px !important; font-weight: 800; }
.post .post-heading .tag_post_hdr_sub, .post .post-heading .tag_post_hdr_sub a, .post .post-heading .ajax-time { color: var(--ci-text-5) !important; font: 500 12.5px var(--ci-font-body) !important; }
.post .post-heading .tag_post_hdr_sub svg { color: var(--ci-text-5) !important; }
.post .tag_post_hdr_menu > .dropdown-toggle {
  width: 38px !important; height: 38px !important; display: grid !important; place-items: center;
  border-radius: 10px; color: var(--ci-text-4) !important; cursor: pointer; transition: background var(--ci-dur), color var(--ci-dur);
}
.post .tag_post_hdr_menu > .dropdown-toggle:hover, .post .tag_post_hdr_menu.open > .dropdown-toggle { background: var(--ci-surface-2); color: var(--ci-bone) !important; }

/* Body text */
.post .panel > .post-description { padding: 0 22px !important; }
.post .post-description > p, .post .post-description > div > p.edited_text, .post .post-description .wow_shared_posts_p {
  font: 400 15px/1.6 var(--ci-font-body) !important; color: var(--ci-text-body) !important;
}
.post .post-description a.hash, .post .post-description .hash { color: var(--ci-green-text) !important; font-weight: 700; }
.post .post-description > a.main { color: var(--ci-green-text) !important; font: 700 13.5px var(--ci-font-body); }

/* Media: edge-to-edge inside the card, like the design's .ci-post__media */
.post .panel > .post-description > .tag_post_full_img,
.post .panel > .post-description > .post-map,
.post .panel > .post-description > .tag_post_full_albm:not(:empty) { margin-left: -22px !important; margin-right: -22px !important; }
.post .panel > .post-description > .tag_post_full_img { background: var(--ci-panel); }
.post .tag_post_full_albm img, .post .tag_post_full_img img { border-radius: 0; }
.post .post-description video, .post .post-description .plyr { border-radius: 0; }

/* Link preview */
.post .post-fetched-url { border: 1px solid var(--ci-line) !important; border-radius: 14px !important; overflow: hidden; background: var(--ci-panel) !important; margin: 4px 0 12px !important; }
.post .post-fetched-url a { color: inherit !important; }
.post .post-fetched-url .fetched-url-text { padding: 12px 16px 14px !important; }
.post .post-fetched-url .fetched-url-text .url, .post .post-fetched-url .fetched-url-text .url .main { color: var(--ci-text-5) !important; font: 700 11px var(--ci-font-body) !important; letter-spacing: .08em; text-transform: uppercase; }
.post .post-fetched-url h4 { color: var(--ci-bone) !important; font: 800 15px/1.35 var(--ci-font-body) !important; margin: 6px 0 4px !important; }
.post .post-fetched-url .description { color: var(--ci-text-4) !important; font: 500 13px/1.5 var(--ci-font-body) !important; }

/* Shared post (quoted card) */
.post .wow_shared_posts {
  border: 1px solid var(--ci-line) !important; border-left-width: 1px !important; border-radius: 14px !important;
  background: var(--ci-panel) !important; margin: 4px 0 12px !important; padding: 0 0 4px !important; overflow: hidden;
}
.post .wow_shared_posts > .post-heading { padding: 14px 16px 10px !important; }
.post .wow_shared_posts > .post-description { padding: 0 16px !important; }
.post .wow_shared_posts > .post-description > .tag_post_full_img,
.post .wow_shared_posts > .post-description > .tag_post_full_albm:not(:empty) { margin-left: -16px !important; margin-right: -16px !important; }

/* Poll */
.post .options .wo_votes {
  border: 1px solid var(--ci-line-strong) !important; border-radius: 12px !important; background: var(--ci-panel) !important;
  overflow: hidden; position: relative; transition: border-color var(--ci-dur);
}
.post .options .wo_votes:hover { border-color: rgba(81,194,60,.55) !important; }
.post .options .poll-option { font: 700 14px var(--ci-font-body) !important; color: var(--ci-bone) !important; height: 42px; line-height: 42px !important; padding: 0 14px !important; }
.post .options .result-bar-parent { background: transparent !important; }
.post .options .result-bar { background: var(--ci-green-soft) !important; border-radius: 0 !important; }
.post .options .answer-vote { color: var(--ci-green-text) !important; font: 800 13px var(--ci-font-body) !important; }
.post .options .total-votes { color: var(--ci-text-5) !important; font: 600 12.5px var(--ci-font-body) !important; }

/* Stats row above the action bar (flex re-order only; DOM untouched) */
.post .post-description:has(> .tag_post_actions) { display: flex; flex-direction: column; }
.post .post-description:has(> .tag_post_actions) > * { min-width: 0; }
.post .post-description:has(> .tag_post_actions) > a.main { align-self: flex-start; }
.post .post-description > .tag_post_foot_stats { order: 8; padding: 12px 0 !important; margin: 0 !important; color: var(--ci-text-5) !important; font: 500 13px var(--ci-font-body); }
.post .post-description > .tag_post_foot_stats:not(:has(.how_reacted)):not(:has(.tag_hid_e_com:not(.d-none))) { padding: 6px 0 !important; }
.post .post-description > .tag_post_actions { order: 9; }
.post .post-description > .tag_post_foot_stats ~ .clear { order: 10; }
.post .tag_post_foot_stats .how_many_reacts, .post .tag_post_foot_stats .stat-item, .post .tag_post_foot_stats #comments { color: var(--ci-text-5) !important; font: 600 13px var(--ci-font-body) !important; }
.post .tag_post_foot_stats .stat-item:hover, .post .tag_post_foot_stats .stat-item:hover * { color: var(--ci-bone) !important; }

/* Action bar: Like/react, Comment, Share */
.post .post-description > .tag_post_actions {
  margin: 0 -22px !important; padding: 6px 12px !important; border-top: 1px solid var(--ci-line) !important;
}
.post .tag_post_actions .tag_post_foot_acticon,
.post .tag_post_actions .tag_post_react_btn {
  height: 42px !important; padding: 0 14px !important; margin: 0 2px !important; border-radius: 10px;
  color: var(--ci-text-3) !important; font: 700 14px var(--ci-font-body) !important; gap: 8px;
  transition: background var(--ci-dur), color var(--ci-dur);
}
.post .tag_post_actions .tag_post_foot_acticon:hover,
.post .tag_post_actions .like-btn:hover .tag_post_react_btn { background: var(--ci-surface-2) !important; color: var(--ci-bone) !important; }
.post .tag_post_actions .tag_post_foot_acticon svg,
.post .tag_post_actions .tag_post_react_btn svg { width: 20px; height: 20px; margin: 0 !important; }
.post .tag_post_actions .tag_post_foot_acticon span, .post .tag_post_actions .tag_post_react_btn span { color: inherit; }
/* reaction picker */
.post .reactions-box, .post .tag_post_actions .reactions-box {
  background: var(--ci-surface) !important; border: 1px solid var(--ci-line-strong) !important;
  border-radius: var(--ci-r-pill) !important; box-shadow: 0 18px 48px -14px rgba(0,0,0,.75) !important;
}

/* =========================================================
   COMMENTS
   ========================================================= */
.post .post-footer.post-comments { padding: 14px 22px 18px !important; border-top: 1px solid var(--ci-line) !important; background: transparent !important; }
.post .comment { margin-bottom: 12px; }
.post .comment > a.pull-left img.avatar, .post .comment-reply img.avatar, .post .wo_comment_combo > img.avatar, .post .wo_commreply_combo > img.avatar { border-radius: 50% !important; object-fit: cover; }
.post .comment .tag_comm_body {
  background: var(--ci-surface-2) !important; border: 1px solid var(--ci-line) !important; border-radius: 14px !important;
  color: var(--ci-text-body) !important;
}
.post .comment .tag_comm_body h4.user, .post .comment .tag_comm_body_top a { color: var(--ci-bone) !important; font: 800 13.5px var(--ci-font-body) !important; }
.post .comment .comment-text { color: var(--ci-text-body) !important; font: 500 14px/1.5 var(--ci-font-body) !important; }
.post .comment .comment-text a { color: var(--ci-green-text) !important; }
.post .comment .comment_edele_options svg { color: var(--ci-text-5) !important; }
.post .comment .comment-options, .post .comment .comment-options .time, .post .comment .comment-options .middot { color: var(--ci-text-5) !important; font: 600 12px var(--ci-font-body) !important; }
.post .comment .comment-options .like-btn-comment, .post .comment .comment-options span[onclick], .post .comment .comment-options .pointer { color: var(--ci-text-4) !important; font-weight: 700; }
.post .comment .comment-options .like-btn-comment:hover, .post .comment .comment-options .pointer:hover { color: var(--ci-green-text) !important; }
.post .view-more-replies, .post .load-more-comments { color: var(--ci-green-text) !important; font-family: var(--ci-font-body); font-weight: 700; }
.post .wo_comment_combo .remove_combo_on_click, .post .wo_commreply_combo > .valign {
  background: var(--ci-panel) !important; border: 1px solid var(--ci-line-strong) !important; border-radius: 14px !important;
  transition: border-color var(--ci-dur), box-shadow var(--ci-dur);
}
.post .wo_comment_combo .remove_combo_on_click:focus-within, .post .wo_commreply_combo > .valign:focus-within { border-color: rgba(81,194,60,.55) !important; box-shadow: 0 0 0 3px var(--ci-green-ring); }
.post .comment-textarea, .post .reply-box, .post .comment-reply-textarea {
  background: transparent !important; color: var(--ci-bone) !important; font: 500 14px/1.45 var(--ci-font-body) !important; box-shadow: none !important; border: 0 !important;
}
.post .comment-textarea::placeholder, .post .reply-box::placeholder { color: var(--ci-text-5) !important; opacity: 1; }
.post .comment_combo_footer svg, .post .image-comment svg, .post .wo_comment_combo svg { color: var(--ci-text-4); }
.post .comment_combo_footer > svg:last-child, .post .image-comment > svg:last-child { color: var(--ci-green-text) !important; }
.post .charsLeft-post { color: var(--ci-text-5) !important; }

/* =========================================================
   SKELETONS, BIRTHDAYS, NEW-POSTS PILL, LOAD MORE
   ========================================================= */
.wow_content.tag_post_skel, .wow_content.tag_bdays {
  background: var(--ci-surface) !important; border: 1px solid var(--ci-line) !important; border-radius: var(--ci-r-lg) !important; box-shadow: none !important;
}
.middlecol .posts-count:not(:empty) {
  background: var(--ci-green) !important; color: var(--ci-on-green) !important; border-radius: var(--ci-r-pill) !important;
  font: 800 13.5px var(--ci-font-body) !important; box-shadow: var(--ci-shadow-cta) !important; border: 0 !important;
}
.load-more#load-more-posts { margin: 6px 0 24px; }
.load-more#load-more-posts .btn {
  display: inline-flex !important; align-items: center; gap: 8px; height: 44px; padding: 0 22px 0 8px !important;
  border-radius: var(--ci-r-pill) !important; border: 1px solid var(--ci-line-strong) !important;
  background: var(--ci-surface) !important; color: var(--ci-bone) !important; font: 700 14px var(--ci-font-body) !important;
  transition: border-color var(--ci-dur), background var(--ci-dur);
}
.load-more#load-more-posts .btn:hover { border-color: rgba(81,194,60,.55) !important; background: var(--ci-surface-2) !important; }
.load-more#load-more-posts .btn span:not(.no_load_more_btn_span) {
  width: 30px; height: 30px; line-height: 30px; margin: 0 !important; display: inline-grid !important; place-items: center;
  background: var(--ci-green) !important; color: var(--ci-on-green) !important; box-shadow: none !important; border-radius: 50%;
}
.load-more#load-more-posts .btn span:not(.no_load_more_btn_span) svg { width: 20px; height: 20px; }
.load-more#load-more-posts .no_load_more_btn_span, .load-more#load-more-posts .btn span.no_load_more_btn_span { color: var(--ci-text-5) !important; }

/* =========================================================
   MOBILE (<=768px): cards run edge to edge like the design's phone frame
   ========================================================= */
@media (max-width: 768px) {
  .post .panel > .post-heading { padding: 16px 16px 12px !important; }
  .post .panel > .post-description { padding: 0 16px !important; }
  .post .panel > .post-description > .tag_post_full_img,
  .post .panel > .post-description > .post-map,
  .post .panel > .post-description > .tag_post_full_albm:not(:empty) { margin-left: -16px !important; margin-right: -16px !important; }
  .post .post-description > .tag_post_actions { margin: 0 -16px !important; padding: 4px 6px !important; }
  .post .tag_post_actions .tag_post_foot_acticon, .post .tag_post_actions .tag_post_react_btn { padding: 0 10px !important; }
  .post .post-footer.post-comments { padding: 12px 16px 14px !important; }
  .post.boosted > .promoted-icon { left: 16px !important; top: 14px !important; }
}
