/* Haitian Corner Community Feed — v1 */

.hc-feed-home{
  min-height:100%;
  padding-bottom:76px;
  background:#eef2f7;
  color:#091f44;
}

.hc-feed-hero{
  position:relative;
  padding:
    max(13px,env(safe-area-inset-top))
    15px 22px;
  overflow:visible;
  color:#fff;
  background:
    radial-gradient(
      circle at 86% 50%,
      rgba(255,255,255,.10),
      transparent 28%
    ),
    linear-gradient(
      145deg,
      #032458,
      #0758c8
    );
  box-shadow:0 12px 30px rgba(3,36,88,.18);
}

.hc-feed-brand-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.hc-feed-brand{
  min-width:0;
  border:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:9px;
  color:#fff;
  background:transparent;
  font:inherit;
  cursor:pointer;
}

.hc-feed-brand img{
  width:34px;
  height:34px;
  border-radius:11px;
  object-fit:cover;
  box-shadow:0 6px 15px rgba(0,0,0,.18);
}

.hc-feed-brand span{
  overflow:hidden;
  font-size:18px;
  line-height:1;
  font-weight:900;
  letter-spacing:-.4px;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.hc-feed-header-actions{
  display:flex;
  align-items:center;
  gap:8px;
}

.hc-feed-header-button{
  position:relative;
  width:38px;
  height:38px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#fff;
  background:rgba(255,255,255,.10);
  font-size:16px;
  cursor:pointer;
  backdrop-filter:blur(8px);
}

.hc-feed-notification-badge{
  position:absolute;
  top:-3px;
  right:-3px;
  min-width:17px;
  height:17px;
  padding:0 4px;
  border:2px solid #0758c8;
  border-radius:9px;
  display:none;
  align-items:center;
  justify-content:center;
  color:#fff;
  background:#e31d3b;
  font-size:9px;
  font-weight:900;
  line-height:1;
}

.hc-feed-welcome{
  margin-top:20px;
  display:flex;
  align-items:center;
  gap:12px;
}

.hc-feed-welcome-avatar{
  position:relative;
  width:52px;
  height:52px;
  flex:0 0 52px;
  border:3px solid rgba(255,255,255,.75);
  border-radius:50%;
  display:grid;
  place-items:center;
  overflow:hidden;
  color:#fff;
  background:#d7193f;
  box-shadow:0 8px 20px rgba(0,0,0,.18);
  font-size:18px;
  font-weight:900;
}

.hc-feed-welcome-avatar img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.hc-feed-welcome-copy{
  min-width:0;
}

.hc-feed-welcome-copy h1{
  margin:0;
  color:#fff;
  font-size:22px;
  line-height:1.15;
  font-weight:900;
  letter-spacing:-.55px;
}

.hc-feed-welcome-copy p{
  margin:4px 0 0;
  color:rgba(255,255,255,.76);
  font-size:12px;
  line-height:1.35;
}

.hc-feed-search-host{
  position:relative;
}

#home #searchInputInline{
  width:100% !important;
  margin-top:12px;
  box-sizing:border-box;
  border:0 !important;
  border-radius:13px !important;
  padding:11px 38px !important;
  background:rgba(255,255,255,.98) !important;
  color:#10284c !important;
  font-size:14px !important;
  box-shadow:0 8px 24px rgba(0,0,0,.16) !important;
}

#home #searchIconInline{
  left:13px !important;
  top:25px !important;
}

#home #searchCloseInline{
  top:21px !important;
  right:10px !important;
}

#home #searchDropdown{
  top:58px !important;
  left:0 !important;
  right:0 !important;
  z-index:1800 !important;
  max-height:58vh !important;
  overflow-y:auto !important;
  border-radius:14px !important;
  background:#fff !important;
  box-shadow:0 18px 45px rgba(3,25,58,.22) !important;
}

.hc-feed-main{
  position:relative;
  z-index:2;
  margin-top:-1px;
}

.hc-feed-composer{
  margin:12px 10px 0;
  border:1px solid #e0e6ef;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 8px 24px rgba(18,42,78,.08);
}

.hc-feed-composer-row{
  padding:13px;
  display:flex;
  align-items:center;
  gap:10px;
}

.hc-feed-composer-avatar{
  width:43px !important;
  height:43px !important;
  flex:0 0 43px !important;
  border-radius:50% !important;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  color:#fff;
  background:#d7193f;
  font-size:15px;
  font-weight:900;
}

.hc-feed-composer-avatar img{
  width:100% !important;
  height:100% !important;
  display:block;
  border-radius:50% !important;
  object-fit:cover !important;
}

.hc-feed-composer-trigger{
  min-width:0;
  flex:1;
  border:1px solid #e0e6ee;
  border-radius:999px;
  padding:11px 15px;
  overflow:hidden;
  color:#70819a;
  background:#f4f7fb;
  font:inherit;
  font-size:13px;
  text-align:left;
  white-space:nowrap;
  text-overflow:ellipsis;
  cursor:pointer;
}

.hc-feed-create-actions{
  border-top:1px solid #edf0f4;
  padding:2px 5px 5px;
  display:flex;
  align-items:center;
  overflow-x:auto;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}

.hc-feed-create-actions::-webkit-scrollbar{
  display:none;
}

.hc-feed-create-actions button{
  min-width:70px;
  flex:1 0 auto;
  border:0;
  padding:9px 8px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  color:#53657f;
  background:transparent;
  font:inherit;
  font-size:11px;
  font-weight:800;
  white-space:nowrap;
  cursor:pointer;
}

.hc-feed-create-actions i{
  font-size:15px;
}

.hc-action-photo{color:#1265dc;}
.hc-action-video{color:#e31d3b;}
.hc-action-location{color:#d99a08;}
.hc-action-reels{color:#8d2dd0;}
.hc-action-live{color:#e31d3b;font-size:11px!important;}
.hc-action-article{color:#0758c8;}

.hc-feed-stories-section{
  margin:10px 0 0;
  padding:13px 0 11px;
  border-top:1px solid #e1e6ee;
  border-bottom:1px solid #e1e6ee;
  background:#fff;
}

.hc-feed-section-heading{
  padding:0 14px 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.hc-feed-section-heading strong{
  color:#10284c;
  font-size:14px;
  font-weight:900;
}

.hc-feed-section-heading button{
  border:0;
  padding:5px 8px;
  display:flex;
  align-items:center;
  gap:5px;
  color:#0758c8;
  background:transparent;
  font:inherit;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
}

#home .stories{
  margin:0 !important;
  padding:0 13px 3px !important;
  display:flex !important;
  gap:12px !important;
  overflow-x:auto !important;
  background:#fff !important;
  border:0 !important;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}

#home .stories::-webkit-scrollbar{
  display:none;
}

#home .story{
  width:70px;
  min-width:70px;
  flex:0 0 70px;
  cursor:pointer;
}

#home .story-ring{
  width:62px !important;
  height:62px !important;
  margin:0 auto;
  box-sizing:border-box;
  padding:3px !important;
  border-radius:50% !important;
  background:linear-gradient(
    145deg,
    #0758c8,
    #d7193f
  ) !important;
}

#home .story-ring.no-new{
  background:#dce3ed !important;
}

#home .story-av{
  width:100% !important;
  height:100% !important;
  box-sizing:border-box;
  border:3px solid #fff !important;
  border-radius:50% !important;
  overflow:hidden;
}

#home .story-av img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}

#home .story-name{
  margin-top:6px;
  overflow:hidden;
  color:#354967 !important;
  font-size:10px !important;
  font-weight:750 !important;
  text-align:center;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.hc-feed-shortcuts{
  padding:12px 10px 11px;
  display:flex;
  gap:9px;
  overflow-x:auto;
  background:#f5f7fb;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}

.hc-feed-shortcuts::-webkit-scrollbar{
  display:none;
}

.hc-feed-shortcuts button{
  min-width:79px;
  flex:1 0 79px;
  border:1px solid #e0e6ef;
  border-radius:15px;
  padding:10px 5px 9px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
  color:#10284c;
  background:#fff;
  font:inherit;
  cursor:pointer;
  box-shadow:0 5px 15px rgba(20,46,82,.06);
}

.hc-feed-shortcuts small{
  width:100%;
  overflow:hidden;
  font-size:10px;
  font-weight:850;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.hc-shortcut-icon{
  width:35px;
  height:35px;
  border-radius:11px;
  display:grid;
  place-items:center;
  font-size:16px;
}

.hc-shortcut-loop{
  color:#0758c8;
  background:#e5f0ff;
}

.hc-shortcut-events{
  color:#d7193f;
  background:#ffe9ed;
}

.hc-shortcut-people{
  color:#ad7500;
  background:#fff1cf;
}

.hc-shortcut-business{
  color:#0758c8;
  background:#e5f0ff;
}

.hc-shortcut-games{
  color:#d7193f;
  background:#ffe7ed;
}

.hc-feed-modes{
  position:sticky;
  top:0;
  z-index:40;
  padding:8px 10px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:6px;
  border-top:1px solid #e0e6ee;
  border-bottom:1px solid #dde4ed;
  background:rgba(245,247,251,.94);
  backdrop-filter:blur(15px);
}

.hc-feed-modes button{
  min-width:0;
  border:0;
  border-radius:999px;
  padding:9px 4px;
  overflow:hidden;
  color:#53657f;
  background:#e7ebf1;
  font:inherit;
  font-size:11px;
  font-weight:850;
  white-space:nowrap;
  text-overflow:ellipsis;
  cursor:pointer;
}

.hc-feed-modes button.active{
  color:#fff;
  background:#0758c8;
  box-shadow:0 6px 15px rgba(7,88,200,.23);
}

#home #feedContainer{
  padding:10px !important;
  background:#eef2f7 !important;
}

.hc-feed-loading{
  padding:48px 20px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  color:#7c899c;
  font-size:12px;
}

.hc-feed-loading i{
  color:#d7193f;
  font-size:23px;
}

#feedContainer > [id^="postWrap_"]{
  margin:0 0 11px !important;
  border:1px solid #e0e6ed !important;
  border-radius:18px !important;
  overflow:hidden !important;
  background:#fff !important;
  box-shadow:0 7px 24px rgba(21,44,78,.07) !important;
}

#feedContainer > [id^="postWrap_"] > div:first-child{
  padding-top:13px !important;
}

#feedContainer [id^="comments_"]{
  background:#fbfcfe;
}

#feedContainer [id^="commentsList_"]{
  background:#fbfcfe !important;
}

#feedContainer img{
  max-width:100%;
}

#feedContainer .hc-discover-feed-card,
#feedContainer [id$="SpotlightSlot"],
#feedContainer #hcPwaPeopleYouMayKnow,
#feedContainer #hcPwaLiveReplaysSlot,
#feedContainer #hcFeedReelsPreview{
  margin-bottom:11px;
  border-radius:18px;
  overflow:hidden;
}

#feedContainer #hcQuestionOfDayCard,
#feedContainer [id*="Question"]{
  border-radius:18px !important;
  box-shadow:0 7px 22px rgba(20,44,78,.07);
}

#feedContainer #feedSentinel{
  margin-bottom:10px;
}

@media (min-width:700px){
  .hc-feed-home{
    max-width:680px;
    margin:0 auto;
    box-shadow:0 0 0 1px #e2e7ef;
  }
}

@media (max-width:370px){
  .hc-feed-brand span{
    font-size:16px;
  }

  .hc-feed-welcome-copy h1{
    font-size:20px;
  }

  .hc-feed-shortcuts button{
    min-width:73px;
    flex-basis:73px;
  }
}

@media (prefers-reduced-motion:reduce){
  .hc-feed-modes,
  .hc-feed-home *{
    scroll-behavior:auto !important;
  }
}


/* Feed cleanup: no Hub selector + large Stories — v2 */

/*
 * hubs-v1.js inserts its selector between the Stories heading
 * and storiesRow. Hide only those injected siblings here.
 * Hub services elsewhere in the application remain available.
 */
#home .hc-feed-stories-section
  > :not(.hc-feed-section-heading):not(#storiesRow){
  display:none !important;
}

/* Keep the actual Stories row visible. */
#home .hc-feed-stories-section > #storiesRow{
  display:flex !important;
}

/* Authenticated greeting photograph and safe initial fallback. */
#home .hc-feed-welcome-avatar{
  position:relative;
  overflow:hidden;
  flex:0 0 auto;
}

#home #hcFeedWelcomePhoto,
#home #hcFeedWelcomeInitial{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

#home #hcFeedWelcomePhoto{
  z-index:2;
  display:none;
  object-fit:cover;
  object-position:center;
  border-radius:50%;
}

#home #hcFeedWelcomeInitial{
  z-index:1;
  display:grid;
  place-items:center;
}

/* Larger, clearer Stories. */
#home .stories{
  gap:16px !important;
  padding:2px 14px 10px !important;
}

#home .story{
  width:112px !important;
  min-width:112px !important;
  flex:0 0 112px !important;
}

#home .story-ring{
  width:100px !important;
  height:100px !important;
  padding:4px !important;
}

#home .story-name{
  margin-top:8px !important;
  padding:0 3px;
  font-size:12px !important;
  line-height:1.25 !important;
}


/* Full-width community post stream — v3 */

/*
 * Posts and recommendation cards should use the complete screen
 * width. The redesigned header, composer, Stories and shortcuts
 * retain their own spacing.
 */
#home #feedContainer{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
  box-sizing:border-box !important;
}

/* Remove inherited horizontal gutters from feed entries. */
#home #feedContainer > *{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  box-sizing:border-box !important;
}

/* Standard post containers generated by renderFeed(). */
#home #feedContainer > [id^="postWrap_"],
#home #feedContainer > .post,
#home #feedContainer > .feed-card,
#home #feedContainer > .hc-feed-card{
  border-left:0 !important;
  border-right:0 !important;
  border-radius:0 !important;
}

/*
 * Prevent a parent feed-stream wrapper from reintroducing
 * side padding around feedContainer.
 */
#home .hc-feed-stream,
#home .hc-feed-results,
#home .feed-stream{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
  box-sizing:border-box !important;
}


/* Full-width feed composer — v4 */

/*
 * Remove only the composer's exterior gutters.
 * Its input row and action controls retain internal padding.
 */
#home .hc-feed-composer,
#home .hc-feed-composer-card,
#home .hc-feed-composer-shell,
#home .hc-feed-compose-section,
#home .composer-card,
#home section:has(#homeComposerTrigger){
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  box-sizing:border-box !important;
}

/* Match the edge-to-edge post stream. */
#home .hc-feed-composer,
#home .hc-feed-composer-card,
#home section:has(#homeComposerTrigger){
  border-left:0 !important;
  border-right:0 !important;
  border-radius:0 !important;
}

/*
 * Remove padding from an exterior composer host while preserving
 * the intentional spacing inside the composer itself.
 */
#home .hc-feed-composer-shell,
#home .hc-feed-compose-section{
  padding-left:0 !important;
  padding-right:0 !important;
}


/* Feed header drawer interaction — v5 */
#home .hc-feed-header,
#home .hc-feed-topbar,
#home .hc-feed-brandbar{
  position:relative;
  z-index:20;
}

#home #hcFeedDrawerButton{
  position:relative;
  z-index:30;
  pointer-events:auto !important;
  cursor:pointer !important;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}

#home #hcFeedDrawerButton *{
  pointer-events:none;
}


/* Left-opening application drawer — v6 */

/*
 * The primary menu button is on the left, so its drawer enters
 * and exits from that same edge.
 */
#hcDrawer{
  left:0 !important;
  right:auto !important;
  transform:translate3d(-105%,0,0) !important;
  border-radius:0 22px 22px 0 !important;
  box-shadow:
    16px 0 44px rgba(5,25,58,.22) !important;
  transition:
    transform .32s cubic-bezier(.22,.78,.28,1) !important;
  will-change:transform;
}

#hcDrawer.show{
  transform:translate3d(0,0,0) !important;
}

/* Keep the drawer anchored correctly during safe-area layouts. */
@supports (padding-left:env(safe-area-inset-left)){
  #hcDrawer{
    padding-left:env(safe-area-inset-left);
  }
}

/* Haitian Corner feed action bar — v7 */
.hc-feed-action-row{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:stretch;
  min-height:54px;
  margin:0 14px;
  border-top:1px solid #e4e9f0;
  border-bottom:1px solid #edf0f4;
}

.hc-feed-action{
  position:relative;
  min-width:0;
  min-height:54px;
  padding:8px 3px;
  border:0;
  background:transparent;
  color:#12213a;
  font:inherit;
  font-size:13px;
  font-weight:750;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  -webkit-tap-highlight-color:transparent;
  -webkit-user-select:none;
  user-select:none;
  transition:
    color .18s ease,
    background .18s ease,
    transform .12s ease;
}

.hc-feed-action + .hc-feed-action::before{
  content:"";
  position:absolute;
  left:0;
  top:14px;
  bottom:14px;
  width:1px;
  background:#e3e8ef;
}

.hc-feed-action i{
  width:21px;
  color:#10213c;
  font-size:21px;
  line-height:1;
  text-align:center;
}

.hc-feed-action span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.hc-feed-action strong{
  color:#075fc6;
  font-size:11px;
  font-weight:850;
}

.hc-feed-action:active{
  background:#f1f5fb;
  transform:scale(.97);
}

.hc-feed-like-action.is-active,
.hc-feed-like-action.is-active i{
  color:#d7193f;
}

.hc-feed-save-action.is-saved,
.hc-feed-save-action.is-saved i{
  color:#075fc6;
}

.hc-feed-action:disabled{
  opacity:.58;
}

@media (max-width:360px){
  .hc-feed-action-row{
    margin:0 8px;
  }

  .hc-feed-action{
    gap:4px;
    font-size:11px;
  }

  .hc-feed-action i{
    width:18px;
    font-size:18px;
  }
}

/* Reliable action SVG icons — v8 */
.hc-feed-action-svg{
  width:23px;
  height:23px;
  flex:0 0 23px;
  display:block;
  fill:none;
  stroke:#10213c;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:
    fill .18s ease,
    stroke .18s ease,
    transform .18s ease;
}

.hc-feed-action:active .hc-feed-action-svg{
  transform:scale(.92);
}

.hc-feed-save-action.is-saved
.hc-feed-save-svg{
  fill:#075fc6;
  stroke:#075fc6;
}

/* Clean reaction summary — v9 */
.hc-feed-reaction-summary{
  min-height:47px;
  padding:8px 15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  box-sizing:border-box;
}

.hc-feed-reaction-count,
.hc-feed-comment-count{
  min-width:0;
  padding:4px 0;
  border:0;
  background:transparent;
  color:#53627a;
  font:inherit;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}

.hc-feed-reaction-count{
  display:flex;
  align-items:center;
  justify-content:flex-start;
}

.hc-feed-reaction-cluster{
  display:inline-flex;
  align-items:center;
  min-height:28px;
}

.hc-reaction-bubbles{
  display:inline-flex;
  align-items:center;
  padding-left:1px;
}

.hc-reaction-bubble{
  position:relative;
  width:27px;
  height:27px;
  margin-left:-6px;
  border:2px solid #fff;
  border-radius:50%;
  background:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  font-size:18px;
  line-height:1;
  filter:drop-shadow(0 1px 1px rgba(8,31,69,.10));
}

.hc-reaction-bubble:first-child{
  margin-left:0;
}

.hc-reaction-total{
  margin-left:9px;
  color:#17243a;
  font-size:14px;
  line-height:1;
  font-weight:700;
}

.hc-feed-comment-count{
  flex:0 0 auto;
  color:#59677c;
  font-size:13px;
  font-weight:500;
  white-space:nowrap;
}

.hc-feed-reaction-count:active,
.hc-feed-comment-count:active{
  opacity:.65;
}

.hc-feed-reactor-data{
  display:none !important;
}

/* Haitian Corner blue Like icon — v10 */
.hc-feed-like-svg{
  width:24px;
  height:24px;
  flex:0 0 24px;
  display:block;
  overflow:visible;
  fill:none;
  stroke:#10213c;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:
    fill .18s ease,
    stroke .18s ease,
    transform .15s ease;
}

.hc-feed-like-svg.is-selected{
  fill:#0967d8;
  stroke:#0967d8;
}

.hc-feed-like-action.is-active{
  color:#0967d8;
}

.hc-feed-like-action.is-active
.hc-feed-like-svg{
  fill:#0967d8;
  stroke:#0967d8;
}

.hc-feed-like-action:active
.hc-feed-like-svg{
  transform:scale(.9);
}

/* Blue Like icon in reaction totals — v11 */
.hc-reaction-bubble.hc-reaction-like{
  background:#0967d8;
  border-color:#fff;
}

.hc-reaction-like-svg{
  width:17px;
  height:17px;
  display:block;
  fill:#fff;
  stroke:#fff;
  stroke-width:1.55;
  stroke-linecap:round;
  stroke-linejoin:round;
}



/* Blue Like icon in reaction submenu — v12 */
.hc-reaction-picker-like{
  width:32px;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  color:#fff;
  background:#0967d8;
  box-shadow:0 2px 7px rgba(9,103,216,.28);
}

.hc-reaction-picker-like svg{
  width:20px;
  height:20px;
  display:block;
  fill:#fff;
  stroke:#fff;
  stroke-width:1.55;
  stroke-linecap:round;
  stroke-linejoin:round;
}
