/* Fans254 V1409: smaller Dating landing tabs with pink inactive borders,
   responsive overflow protection, and no right-rail about card.
   Scope: Dating landing/joined navigation and profile rail spacing only. */

/* Keep Dating pages from creating horizontal shake on mobile/tablet. */
.social-shell[data-social-section="dating"],
.social-shell[data-social-section="dating"] .social-layout,
.social-shell[data-social-section="dating"] .social-column,
.social-shell[data-social-section="dating"] .social-main{
  max-width:100%;
}
@media (max-width:760px){
  .social-shell[data-social-section="dating"],
  .social-shell[data-social-section="dating"] .social-layout,
  .social-shell[data-social-section="dating"] .social-column,
  .social-shell[data-social-section="dating"] .social-main,
  .social-shell[data-social-section="dating"] .f254-dating-start.f1395-dating-polish,
  .social-shell[data-social-section="dating"] .f254-date-app.f1395-dating-polish{
    overflow-x:hidden !important;
  }
}

/* Landing top three tabs: smaller pills and pink borders for inactive tabs. */
.social-shell[data-social-section="dating"] .f254-dating-start.f1395-dating-polish .f732-landing-tabs{
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  margin:0 0 14px;
  padding:4px;
  gap:6px;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(236,35,145,.16);
  background:linear-gradient(180deg,#fff,#fff8fd);
}
.social-shell[data-social-section="dating"] .f254-dating-start.f1395-dating-polish .f732-landing-tabs > span{
  flex:1 1 0;
  width:0;
  min-width:0;
  min-height:40px;
  padding:0 8px;
  gap:6px;
  border-radius:15px;
  border:1.5px solid #f2a9ce;
  background:#fff;
  color:#6f5370;
  font-size:12px;
  font-weight:760;
  line-height:1.1;
  white-space:nowrap;
  text-align:center;
}
.social-shell[data-social-section="dating"] .f254-dating-start.f1395-dating-polish .f732-landing-tabs > span.is-active{
  border-color:#eb2b97;
  background:linear-gradient(108deg,#fa3e9b 0%,#e5009a 48%,#902dff 100%);
  color:#fff;
  box-shadow:0 6px 17px rgba(236,36,179,.22);
}
.social-shell[data-social-section="dating"] .f254-dating-start.f1395-dating-polish .f732-landing-tabs .social-icon{
  width:16px;
  height:16px;
  flex:none;
}

/* Override older full-bleed mobile tab rule so the page does not slide horizontally. */
@media (max-width:760px){
  .social-shell[data-social-section="dating"] .f254-dating-start.f732-landing.f1395-dating-polish .f732-landing-tabs,
  .social-shell[data-social-section="dating"] .f254-date-app.f1395-dating-polish .f732-dating-tabs.f1368-dating-icons{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }
  .social-shell[data-social-section="dating"] .f254-dating-start.f732-landing.f1395-dating-polish .f732-landing-tabs{
    margin-bottom:12px !important;
    padding:4px !important;
    border-radius:18px !important;
    background:linear-gradient(180deg,#fff,#fff8fd) !important;
    overflow:hidden !important;
  }
  .social-shell[data-social-section="dating"] .f254-dating-start.f1395-dating-polish .f732-landing-tabs > span{
    min-height:38px !important;
    font-size:clamp(10px,2.9vw,12px) !important;
    padding:0 6px !important;
    gap:5px !important;
  }
  .social-shell[data-social-section="dating"] .f254-dating-start.f1395-dating-polish .f732-landing-tabs .social-icon{
    width:15px !important;
    height:15px !important;
  }

  /* Joined Dating top strip: keep responsive width and prevent side-shift. */
  .social-shell[data-social-section="dating"] .f254-date-app.f1395-dating-polish .f732-dating-tabs.f1368-dating-icons{
    padding:5px 4px !important;
    gap:2px !important;
    overflow-x:hidden !important;
    border-radius:0 !important;
    background:var(--social-surface,#fff) !important;
  }
}

@media (max-width:380px){
  .social-shell[data-social-section="dating"] .f254-dating-start.f1395-dating-polish .f732-landing-tabs > span{
    font-size:10px !important;
    gap:4px !important;
    padding:0 4px !important;
  }
  .social-shell[data-social-section="dating"] .f254-dating-start.f1395-dating-polish .f732-landing-tabs .social-icon{
    width:14px !important;
    height:14px !important;
  }
}

html[data-theme="dark"] .social-shell[data-social-section="dating"] .f254-dating-start.f1395-dating-polish .f732-landing-tabs{
  background:linear-gradient(180deg,#23192d,#281e33) !important;
  border-color:rgba(255,124,202,.18);
}
html[data-theme="dark"] .social-shell[data-social-section="dating"] .f254-dating-start.f1395-dating-polish .f732-landing-tabs > span{
  background:#21182a;
  border-color:#9b4f85;
  color:#efdaf0;
}
html[data-theme="dark"] .social-shell[data-social-section="dating"] .f254-dating-start.f1395-dating-polish .f732-landing-tabs > span.is-active{
  border-color:#f35ab1;
  color:#fff;
}

/* V1410 verification: V1388 used !important on landing pill styling.
   These are the winning overrides that make the pink outlines genuinely visible. */
.social-shell[data-f1387-dating-landing="1"][data-social-section="dating"]
  .f254-dating-start.f1395-dating-polish .f732-landing-tabs > span:not(.is-active){
  border:1.5px solid #f18cbe !important;
  color:#674b67 !important;
  background:var(--social-surface,#fff) !important;
  min-height:39px !important;
  border-radius:50px !important;
}
.social-shell[data-f1387-dating-landing="1"][data-social-section="dating"]
  .f254-dating-start.f1395-dating-polish .f732-landing-tabs > span.is-active{
  min-height:39px !important;
  border:1.5px solid #eb2b97 !important;
  border-radius:50px !important;
  background:#e72391 !important;
  color:#fff !important;
}
html[data-theme="dark"] .social-shell[data-f1387-dating-landing="1"][data-social-section="dating"]
  .f254-dating-start.f1395-dating-polish .f732-landing-tabs > span:not(.is-active){
  border-color:#d46aa8 !important;
  background:#241a2e !important;
  color:#f5dff0 !important;
}
html[data-theme="dark"] .social-shell[data-f1387-dating-landing="1"][data-social-section="dating"]
  .f254-dating-start.f1395-dating-polish .f732-landing-tabs > span.is-active{
  background:#e72391 !important;
  color:#fff !important;
}
