/* StarLifee Home Premium v2 — mobile-first visual layer, scoped to index only */
body.starlifee-home{
  --sl-bg:#f6f7fb;--sl-card:#fff;--sl-card-2:#fbfcff;--sl-text:#10172d;--sl-muted:#70778d;
  --sl-line:#e9ecf4;--sl-orange:#ff5b12;--sl-orange-soft:#fff2eb;--sl-blue:#5a67f2;
  --sl-purple:#7b2ff2;--sl-shadow:0 10px 32px rgba(28,39,74,.075);--sl-shadow-strong:0 18px 44px rgba(31,35,72,.12);
  background:linear-gradient(180deg,#fbfcff 0,#f4f6fb 38%,#f7f8fc 100%);color:var(--sl-text)
}
body.starlifee-home.night-mode{--sl-bg:#090b13;--sl-card:#121521;--sl-card-2:#171b29;--sl-text:#f7f8fd;--sl-muted:#a2a8b8;--sl-line:rgba(255,255,255,.08);--sl-shadow:0 12px 34px rgba(0,0,0,.24);--sl-shadow-strong:0 18px 48px rgba(0,0,0,.36);background:#090b13}
.starlifee-home .starlifee-home-feed{max-width:720px;margin-inline:auto}
.starlifee-home .starlifee-home-feed>.card,.starlifee-home .publisher,.starlifee-home .post,.starlifee-home .posts-filter{background:var(--sl-card);border:1px solid var(--sl-line);box-shadow:var(--sl-shadow)}

/* PREMIUM HEADER */
.starlifee-home .main-header{border:0;border-bottom:1px solid rgba(225,229,239,.82);box-shadow:0 7px 24px rgba(25,34,65,.055)}
.starlifee-home .main-header .logo{display:flex;align-items:center;min-width:0}
.starlifee-home .main-header .logo img{object-fit:contain;object-position:left center}
.starlifee-home .menu-icon,.starlifee-home .navbar-wrapper>ul>li>a{transition:transform .16s ease,background .16s ease,box-shadow .16s ease}
.starlifee-home .menu-icon:active,.starlifee-home .navbar-wrapper>ul>li>a:active{transform:scale(.92)}
.starlifee-home .navbar-wrapper>ul>li>a{position:relative;color:#15203b!important}
.starlifee-home .navbar-wrapper .header-icon{fill:currentColor!important}
.starlifee-home .navbar-wrapper .counter{min-width:17px;height:17px;line-height:17px;font-size:9px;top:-3px!important;right:-2px!important;border:2px solid #fff;background:var(--sl-orange)!important}
.starlifee-home.night-mode .navbar-wrapper .counter{border-color:#121521}

/* STORIES */
.starlifee-home .sl-stories-card{overflow:hidden}
.starlifee-home .sl-stories-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px 8px!important}
.starlifee-home .sl-section-title{font-size:20px;line-height:1.2;font-weight:700;color:var(--sl-text)}
.starlifee-home .sl-create-story{border:0;background:transparent;color:var(--sl-orange);font-size:13px;font-weight:600;padding:6px 0;cursor:pointer}
.starlifee-home .sl-create-story span{display:inline-flex;width:20px;height:20px;border:1.5px solid currentColor;border-radius:50%;align-items:center;justify-content:center;margin-left:5px;font-size:16px;line-height:1}
.starlifee-home .stories-wrapper{padding:6px 14px 16px;overflow:hidden}
.starlifee-home #stories{scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;gap:10px}
.starlifee-home #stories>*{scroll-snap-align:start}
.starlifee-home .add-story,.starlifee-home .story{border-radius:22px}
.starlifee-home .add-story .img,.starlifee-home .story .img{box-shadow:0 0 0 3px var(--sl-card),0 0 0 5px transparent;background-clip:padding-box;position:relative}
.starlifee-home .add-story .img:after,.starlifee-home .story .img:after{content:"";position:absolute;inset:-5px;border-radius:inherit;padding:2px;background:linear-gradient(145deg,#536cff,#e133ef 58%,#ff5b12);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.starlifee-home .add-story .add{background:#fff!important;color:var(--sl-orange)!important;border:1px solid #edf0f5;box-shadow:0 5px 15px rgba(21,31,58,.14)}

/* PUBLISHER / COMPOSER */
.starlifee-home .publisher{border-radius:20px!important;overflow:hidden}
.starlifee-home .publisher-message{min-height:82px;background:linear-gradient(180deg,#fff,#fefeff)}
.starlifee-home.night-mode .publisher-message{background:var(--sl-card)}
.starlifee-home .publisher-avatar{box-shadow:0 0 0 3px #fff,0 4px 14px rgba(23,31,54,.12)}
.starlifee-home .publisher textarea:not(.form-control){font-weight:500;color:var(--sl-text)}
.starlifee-home .publisher textarea::placeholder{color:#858b9c;opacity:1}
.starlifee-home .publisher-tools-tabs{border-top:1px solid var(--sl-line)}
.starlifee-home .publisher-tools-tab{border-radius:12px;transition:transform .16s ease,background .16s ease}
.starlifee-home .publisher-tools-tab:active{transform:scale(.96)}

/* WORKER PREMIUM BANNER */
.starlifee-home .worker-hiring-entry{border:0!important;border-radius:22px!important;box-shadow:0 17px 36px rgba(40,30,109,.21)!important}
.starlifee-home .worker-hiring-entry>.card-body>a{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(circle at 90% 10%,rgba(239,70,255,.5),transparent 32%),radial-gradient(circle at 5% 100%,rgba(50,116,255,.35),transparent 32%),linear-gradient(125deg,#18216f 0,#282075 42%,#72239c 100%)!important}
.starlifee-home .worker-hiring-entry>.card-body>a:after{content:"";position:absolute;width:150px;height:150px;right:-55px;top:-70px;border:1px solid rgba(255,255,255,.13);border-radius:50%;box-shadow:0 0 0 28px rgba(255,255,255,.035);z-index:-1}
.starlifee-home .worker-hiring-entry .btn{font-weight:700;color:#222850;border:0;box-shadow:0 6px 18px rgba(13,11,45,.15)}

/* GREETING / ANNOUNCEMENT CARDS */
.starlifee-home .alert,.starlifee-home .announcement{border-radius:20px!important;border:1px solid var(--sl-line);box-shadow:var(--sl-shadow);background:var(--sl-card)}

/* FILTERS */
.starlifee-home .posts-filter{border-radius:17px;padding:7px 10px;min-height:52px;box-shadow:0 6px 20px rgba(28,35,64,.045)}
.starlifee-home .posts-filter .btn,.starlifee-home .posts-filter .countries-filter{border:0!important;border-radius:12px!important;background:#f8f9fd!important;color:#27304b!important;font-weight:600}
.starlifee-home.night-mode .posts-filter .btn,.starlifee-home.night-mode .posts-filter .countries-filter{background:var(--sl-card-2)!important;color:var(--sl-text)!important}

/* FEED POSTS */
.starlifee-home .post{border-radius:21px!important;overflow:hidden;box-shadow:var(--sl-shadow)}
.starlifee-home .post-header{color:var(--sl-text)}
.starlifee-home .post-header .post-avatar-picture{box-shadow:0 0 0 2px #fff,0 4px 12px rgba(31,38,64,.12)}
.starlifee-home .post-text{font-size:15px;line-height:1.65;color:var(--sl-text)}
.starlifee-home .post-stats{color:var(--sl-muted)}
.starlifee-home .post-actions{border-color:var(--sl-line)}
.starlifee-home .post-actions .action-btn{border-radius:12px;transition:transform .14s ease,background .14s ease}
.starlifee-home .post-actions .action-btn:active{transform:scale(.96);background:var(--sl-card-2)}
.starlifee-home .post img,.starlifee-home .post video{max-width:100%}
.starlifee-home input,.starlifee-home textarea,.starlifee-home select{font-size:16px}
.starlifee-home button,.starlifee-home .btn,.starlifee-home .pointer{-webkit-tap-highlight-color:transparent}

@media(max-width:991.98px){.starlifee-home .starlifee-home-rail{display:none!important}.starlifee-home .starlifee-home-feed{max-width:760px}}

@media(max-width:767.98px){
 body.starlifee-home{overflow-x:hidden;padding-bottom:72px}
 .starlifee-home .main-header{position:sticky;top:0;z-index:1035;min-height:66px;background:rgba(255,255,255,.965);-webkit-backdrop-filter:blur(18px) saturate(1.35);backdrop-filter:blur(18px) saturate(1.35)}
 .starlifee-home.night-mode .main-header{background:rgba(15,18,29,.965)}
 .starlifee-home .main-header>.container,.starlifee-home .main-header>.container-fluid{padding-inline:14px!important}
 .starlifee-home .main-header .row{min-height:66px;align-items:center;flex-wrap:nowrap}
 .starlifee-home .main-header .col-7{flex:1 1 auto!important;max-width:none!important;width:auto!important;padding-right:5px}
 .starlifee-home .main-header .col-5{flex:0 0 auto!important;max-width:none!important;width:auto!important;padding-left:3px}
 .starlifee-home .main-header .col-5>.row,.starlifee-home .main-header .col-md-5,.starlifee-home .main-header .col-lg-4{width:auto!important;max-width:none!important;flex:0 0 auto!important;margin:0;padding:0}
 .starlifee-home .main-header .col-md-7,.starlifee-home .main-header .col-lg-8{display:none!important}
 .starlifee-home .logo-wrapper{display:flex;align-items:center;gap:10px;min-width:0}
 .starlifee-home .menu-icon{flex:0 0 42px;width:42px;height:42px;display:inline-flex!important;align-items:center;justify-content:center;border-radius:13px;background:#fff4ee;color:var(--sl-orange)!important;box-shadow:0 5px 14px rgba(255,91,18,.09)}
 .starlifee-home.night-mode .menu-icon{background:rgba(255,91,18,.12)}
 .starlifee-home .main-header .logo{min-width:0;max-width:170px}
 .starlifee-home .main-header .logo img{width:auto!important;max-width:154px!important;max-height:36px!important}
 .starlifee-home .search-wrapper{display:none!important}
 .starlifee-home .navbar-wrapper{display:flex;align-items:center}
 .starlifee-home .navbar-wrapper>ul{display:flex!important;align-items:center;justify-content:flex-end;gap:7px;margin:0!important;padding:0!important;white-space:nowrap}
 .starlifee-home .navbar-wrapper>ul>li{margin:0!important}
 .starlifee-home .navbar-wrapper>ul>li>a{width:40px!important;height:40px!important;min-width:40px;border-radius:13px;display:flex!important;align-items:center;justify-content:center;background:#fff;border:1px solid #edf0f6;box-shadow:0 5px 15px rgba(29,37,66,.045);color:#12213b!important;padding:0!important}
 .starlifee-home .navbar-wrapper>ul>li.js_live-requests>a{color:#1f3157!important}
 .starlifee-home .navbar-wrapper>ul>li.js_live-messages>a{color:#ff5b12!important;background:#fff7f2;border-color:#ffe6d8}
 .starlifee-home .navbar-wrapper>ul>li.js_live-notifications>a{color:#ff5b12!important;background:#fff7f2;border-color:#ffe6d8}
 .starlifee-home .navbar-wrapper .header-icon{width:22px!important;height:22px!important}
 .starlifee-home .navbar-wrapper .dropdown-menu{position:fixed!important;left:10px!important;right:10px!important;top:67px!important;width:auto!important;max-width:none!important;transform:none!important;border-radius:18px!important;box-shadow:0 18px 50px rgba(20,27,52,.18)!important}

 .starlifee-home .starlifee-home-shell{width:100%;max-width:none;padding:0;margin-top:10px!important}
 .starlifee-home .starlifee-home-shell>.row,.starlifee-home .sg-offcanvas-mainbar>.row{margin:0}
 .starlifee-home .sg-offcanvas-mainbar,.starlifee-home .starlifee-home-feed{width:100%;max-width:100%;padding:0}
 .starlifee-home .starlifee-home-feed>.card,.starlifee-home .starlifee-home-feed>.publisher,.starlifee-home .starlifee-home-feed>.alert,.starlifee-home .starlifee-home-feed>.page-header,.starlifee-home .starlifee-home-feed .post,.starlifee-home .starlifee-home-feed .posts-filter{margin-left:10px;margin-right:10px;margin-bottom:14px}

 .starlifee-home .sl-stories-card{border-radius:22px!important}
 .starlifee-home .sl-stories-head{padding:15px 16px 7px!important}
 .starlifee-home .sl-section-title{font-size:19px}
 .starlifee-home .stories-wrapper{padding:6px 10px 15px}
 .starlifee-home .add-story,.starlifee-home .story{min-width:86px}
 .starlifee-home .add-story .img,.starlifee-home .story .img{border-radius:19px!important}
 .starlifee-home .add-story .add{width:31px!important;height:31px!important;display:flex!important;align-items:center;justify-content:center}

 .starlifee-home .publisher{border-radius:21px!important}
 .starlifee-home .publisher-message{padding:15px 14px 15px 66px;min-height:78px}
 .starlifee-home .publisher-avatar{left:15px;top:15px;width:41px;height:41px}
 .starlifee-home .publisher-tools-tabs{margin:0;padding:8px 11px 4px;display:flex;gap:5px}
 .starlifee-home .publisher-tools-tab{flex:1;justify-content:center;padding:9px 5px;margin:0 0 5px;font-size:11px}
 .starlifee-home .publisher-footer{padding:10px 12px 13px}

 .starlifee-home .worker-hiring-entry>.card-body>a{padding:16px!important;min-height:104px}
 .starlifee-home .worker-hiring-entry>.card-body>a>div:first-child{width:56px!important;height:56px!important;border-radius:17px!important;background:rgba(255,255,255,.12)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
 .starlifee-home .worker-hiring-entry .mx15{margin-left:13px!important;margin-right:10px!important}
 .starlifee-home .worker-hiring-entry .fw-bold{font-size:16px!important;line-height:1.2}
 .starlifee-home .worker-hiring-entry .btn{min-width:76px;padding:9px 14px;border-radius:18px!important}

 .starlifee-home .alert,.starlifee-home .announcement{margin-left:10px!important;margin-right:10px!important;padding:16px!important}
 .starlifee-home .posts-filter{display:flex;align-items:center;min-height:52px;padding:7px 8px;white-space:nowrap;overflow:visible}
 .starlifee-home .posts-filter>.float-end{max-width:68%;display:flex;gap:4px}
 .starlifee-home .posts-filter .btn,.starlifee-home .posts-filter .countries-filter{min-height:37px;padding:7px 9px!important;font-size:11px!important}

 .starlifee-home .post{border-radius:22px!important}
 .starlifee-home .post-header{padding:14px 14px 9px}
 .starlifee-home .post-body .post-text{padding-left:14px;padding-right:14px}
 .starlifee-home .post-stats{padding-left:14px;padding-right:14px;font-size:12px}
 .starlifee-home .post-stats .float-end{display:flex;gap:9px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
 .starlifee-home .post-actions{display:flex;padding:6px 8px;gap:5px}
 .starlifee-home .post-actions .action-btn{flex:1 1 0;display:flex;align-items:center;justify-content:center;min-height:43px;padding:8px 4px;margin:0}
 .starlifee-home .post-actions .action-icon{margin-right:0!important}
 .starlifee-home .post-footer textarea,.starlifee-home .post-footer input{min-height:42px;border-radius:14px}
}

@media(max-width:430px){
 .starlifee-home .main-header>.container,.starlifee-home .main-header>.container-fluid{padding-inline:10px!important}
 .starlifee-home .logo-wrapper{gap:7px}
 .starlifee-home .menu-icon{flex-basis:38px;width:38px;height:38px;border-radius:12px}
 .starlifee-home .main-header .logo{max-width:137px}
 .starlifee-home .main-header .logo img{max-width:133px!important;max-height:32px!important}
 .starlifee-home .navbar-wrapper>ul{gap:4px}
 .starlifee-home .navbar-wrapper>ul>li>a{width:37px!important;height:37px!important;min-width:37px;border-radius:12px}
 .starlifee-home .navbar-wrapper .header-icon{width:20px!important;height:20px!important}
 .starlifee-home .starlifee-home-feed>.card,.starlifee-home .starlifee-home-feed>.publisher,.starlifee-home .starlifee-home-feed .post,.starlifee-home .starlifee-home-feed .posts-filter{margin-left:7px;margin-right:7px}
 .starlifee-home .worker-hiring-entry>.card-body>a{padding:14px!important}
 .starlifee-home .worker-hiring-entry .btn{min-width:66px;padding:8px 11px}
}
@media(max-width:380px){
 .starlifee-home .main-header .logo{max-width:116px}.starlifee-home .main-header .logo img{max-width:112px!important}
 .starlifee-home .navbar-wrapper>ul{gap:2px}.starlifee-home .navbar-wrapper>ul>li>a{width:35px!important;height:35px!important;min-width:35px}
 .starlifee-home .worker-hiring-entry .mx15{margin-left:10px!important}.starlifee-home .worker-hiring-entry .fw-bold{font-size:14px!important}.starlifee-home .worker-hiring-entry .btn{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.starlifee-home *,.starlifee-home *::before,.starlifee-home *::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}


/* =========================================================
   StarLifee Home Premium v3
   HARD-LOCKED MOBILE HEADER + FINAL ALIGNMENT POLISH
   ========================================================= */
@media (max-width: 767.98px) {
  body.starlifee-home {
    padding-top: 72px !important;
  }

  /* The header never moves with document flow */
  .starlifee-home .main-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 9998 !important;
    display: block !important;
    overflow: visible !important;
    background: rgba(255,255,255,.985) !important;
    border-bottom: 1px solid rgba(226,230,240,.92) !important;
    box-shadow: 0 8px 26px rgba(24,34,64,.075) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    backdrop-filter: blur(20px) saturate(1.4);
  }

  .starlifee-home.night-mode .main-header {
    background: rgba(13,16,27,.985) !important;
    border-bottom-color: rgba(255,255,255,.07) !important;
  }

  .starlifee-home .main-header > .container,
  .starlifee-home .main-header > .container-fluid {
    width: 100% !important;
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
    margin: 0 auto !important;
    padding: 0 12px !important;
    display: flex !important;
    align-items: center !important;
  }

  .starlifee-home .main-header > .container > .row,
  .starlifee-home .main-header > .container-fluid > .row {
    width: 100% !important;
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .starlifee-home .main-header .col-7,
  .starlifee-home .main-header .col-5 {
    height: 72px !important;
    min-height: 72px !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  .starlifee-home .main-header .col-7 {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 8px !important;
  }

  .starlifee-home .main-header .col-5 {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    justify-content: flex-end !important;
  }

  .starlifee-home .main-header .col-5 > .row,
  .starlifee-home .main-header .col-md-5,
  .starlifee-home .main-header .col-lg-4,
  .starlifee-home .navbar-wrapper {
    width: auto !important;
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  /* Brand side */
  .starlifee-home .logo-wrapper {
    width: 100% !important;
    height: 72px !important;
    min-height: 72px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    line-height: 1 !important;
  }

  .starlifee-home .menu-icon {
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 13px !important;
    background: linear-gradient(145deg,#fff8f4,#fff1e9) !important;
    border: 1px solid #ffe7da !important;
    box-shadow: 0 6px 16px rgba(255,91,18,.08) !important;
  }

  .starlifee-home .main-header .logo {
    height: 44px !important;
    max-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    overflow: hidden !important;
  }

  .starlifee-home .main-header .logo img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-height: 34px !important;
    max-width: 148px !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: left center !important;
  }

  /* Action side: one exact baseline for every item */
  .starlifee-home .navbar-wrapper > ul {
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    list-style: none !important;
    line-height: 1 !important;
  }

  .starlifee-home .navbar-wrapper > ul > li {
    position: relative !important;
    float: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 72px !important;
    min-width: 40px !important;
    min-height: 72px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
  }

  .starlifee-home .navbar-wrapper > ul > li > a {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    float: none !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 0 !important;
    vertical-align: middle !important;
    border-radius: 13px !important;
    background: linear-gradient(180deg,#ffffff,#fbfcff) !important;
    border: 1px solid #e8ebf3 !important;
    box-shadow: 0 5px 16px rgba(28,38,69,.06) !important;
  }

  .starlifee-home .navbar-wrapper > ul > li.js_live-messages > a,
  .starlifee-home .navbar-wrapper > ul > li.js_live-notifications > a {
    color: #ff5b12 !important;
    border-color: #ffe5d7 !important;
    background: linear-gradient(180deg,#fffaf7,#fff4ed) !important;
  }

  .starlifee-home .navbar-wrapper > ul > li.js_live-requests > a {
    color: #15213c !important;
  }

  .starlifee-home .navbar-wrapper .header-icon,
  .starlifee-home .navbar-wrapper > ul > li > a svg {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    display: block !important;
    flex: 0 0 21px !important;
    width: 21px !important;
    height: 21px !important;
    min-width: 21px !important;
    min-height: 21px !important;
    max-width: 21px !important;
    max-height: 21px !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
  }

  .starlifee-home .navbar-wrapper .counter {
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    z-index: 3 !important;
    min-width: 17px !important;
    height: 17px !important;
    line-height: 13px !important;
    margin: 0 !important;
    padding: 0 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #fff !important;
    border-radius: 999px !important;
    font-size: 9px !important;
    font-weight: 800 !important;
  }

  /* Dropdowns start exactly under fixed header */
  .starlifee-home .navbar-wrapper .dropdown-menu {
    top: 74px !important;
  }

  /* Content starts cleanly below the fixed header */
  .starlifee-home .starlifee-home-shell {
    margin-top: 10px !important;
  }

  /* Premium micro-polish */
  .starlifee-home .sl-stories-card,
  .starlifee-home .publisher,
  .starlifee-home .worker-hiring-entry,
  .starlifee-home .alert,
  .starlifee-home .announcement,
  .starlifee-home .posts-filter,
  .starlifee-home .post {
    box-shadow: 0 10px 30px rgba(29,38,68,.065) !important;
  }

  .starlifee-home .sl-stories-card {
    border-color: #e9edf5 !important;
  }

  .starlifee-home .publisher {
    border-color: #e9edf5 !important;
  }

  .starlifee-home .worker-hiring-entry {
    box-shadow: 0 16px 34px rgba(62,39,140,.19) !important;
  }
}

@media (max-width: 430px) {
  .starlifee-home .main-header > .container,
  .starlifee-home .main-header > .container-fluid {
    padding-left: 9px !important;
    padding-right: 9px !important;
  }

  .starlifee-home .logo-wrapper {
    gap: 7px !important;
  }

  .starlifee-home .menu-icon {
    flex-basis: 38px !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }

  .starlifee-home .main-header .logo img {
    max-width: 132px !important;
    max-height: 32px !important;
  }

  .starlifee-home .navbar-wrapper > ul {
    gap: 4px !important;
  }

  .starlifee-home .navbar-wrapper > ul > li {
    width: 37px !important;
    min-width: 37px !important;
  }

  .starlifee-home .navbar-wrapper > ul > li > a {
    width: 37px !important;
    height: 37px !important;
    min-width: 37px !important;
    min-height: 37px !important;
    max-width: 37px !important;
    max-height: 37px !important;
    border-radius: 12px !important;
  }

  .starlifee-home .navbar-wrapper .header-icon,
  .starlifee-home .navbar-wrapper > ul > li > a svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
  }
}

@media (max-width: 380px) {
  .starlifee-home .main-header .logo img {
    max-width: 112px !important;
  }

  .starlifee-home .navbar-wrapper > ul {
    gap: 2px !important;
  }

  .starlifee-home .navbar-wrapper > ul > li {
    width: 35px !important;
    min-width: 35px !important;
  }

  .starlifee-home .navbar-wrapper > ul > li > a {
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    min-height: 35px !important;
    max-width: 35px !important;
    max-height: 35px !important;
  }
}


/* STARLIFEE HEADER HARD FIX V4 — final override */
@media (max-width: 767.98px) {
  html, body { scroll-padding-top: 68px !important; }

  body.starlifee-home { padding-top: 68px !important; }

  body.starlifee-home .main-header {
    position: fixed !important;
    inset: 0 0 auto 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: translate3d(0,0,0) !important;
    -webkit-transform: translate3d(0,0,0) !important;
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
    z-index: 2147483000 !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  body.starlifee-home .main-header *,
  body.starlifee-home .main-header *::before,
  body.starlifee-home .main-header *::after {
    box-sizing: border-box !important;
  }

  body.starlifee-home .main-header > .container,
  body.starlifee-home .main-header > .container-fluid,
  body.starlifee-home .main-header > .container > .row,
  body.starlifee-home .main-header > .container-fluid > .row,
  body.starlifee-home .main-header .col-7,
  body.starlifee-home .main-header .col-5,
  body.starlifee-home .main-header .navbar-wrapper,
  body.starlifee-home .main-header .navbar-wrapper > ul {
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    align-items: center !important;
  }

  body.starlifee-home .main-header .navbar-wrapper > ul > li {
    position: relative !important;
    top: 0 !important;
    bottom: auto !important;
    transform: none !important;
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
  }

  body.starlifee-home .main-header .navbar-wrapper > ul > li > a {
    position: relative !important;
    top: 0 !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    line-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
  }

  body.starlifee-home .main-header .navbar-wrapper > ul > li > a > svg,
  body.starlifee-home .main-header .navbar-wrapper .header-icon,
  body.starlifee-home .main-header .navbar-wrapper i {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 auto !important;
    line-height: 1 !important;
    vertical-align: middle !important;
  }

  body.starlifee-home .main-header .logo-wrapper,
  body.starlifee-home .main-header .logo,
  body.starlifee-home .main-header .menu-icon {
    top: 0 !important;
    bottom: auto !important;
    transform: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-self: center !important;
  }

  /* Prevent theme scroll classes from moving/hiding the header */
  body.starlifee-home .main-header.fixed,
  body.starlifee-home .main-header.sticky,
  body.starlifee-home .main-header.header-up,
  body.starlifee-home .main-header.header-down,
  body.starlifee-home .main-header.hide,
  body.starlifee-home .main-header.show {
    position: fixed !important;
    top: 0 !important;
    transform: translate3d(0,0,0) !important;
    margin-top: 0 !important;
  }
}
