/* Fans254 V1089 — compact, readable interest cards, limited to onboarding.
   One column on mobile, two on tablet, three on desktop.
   V1088 database-backed member totals, real avatars and picker behavior stay unchanged. */
.f823-ob.f977-onboard.f1086-interests-page .f1086-onboard-picker .f823-interest-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:8px!important;
  align-items:stretch!important;
  padding:3px 0 7px!important;
  max-height:none!important;
  overflow:visible!important;
}
.f823-ob.f977-onboard.f1086-interests-page .f1088-interest-card{
  display:block!important;
  min-width:0!important;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  cursor:pointer;
  user-select:none;
}
.f823-ob.f977-onboard.f1086-interests-page .f1088-interest-card[hidden]{display:none!important}
.f823-ob.f977-onboard.f1086-interests-page .f1088-interest-card>.f1088-card-body{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  height:100%!important;
  min-height:70px!important;
  padding:11px 14px!important;
  border-radius:14px!important;
  white-space:normal!important;
  text-align:left!important;
  border:1px solid #d9e1ed!important;
  background:#fff!important;
  color:#172033!important;
  box-shadow:0 1px 4px rgba(18,43,76,.05)!important;
  transition:background-color .15s,border-color .15s,box-shadow .15s,transform .15s;
}
.f823-ob.f977-onboard.f1086-interests-page .f1088-card-heading{
  display:grid!important;
  grid-template-columns:25px minmax(0,1fr)!important;
  align-items:center!important;
  flex:1 1 auto!important;
  position:relative;
  width:auto!important;
  gap:11px!important;
  min-width:0!important;
}
/* Pure monochrome outline icons: no colored fill, tile or gradient. */
.f823-ob.f977-onboard.f1086-interests-page .f1088-icon-wrap{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:25px!important;
  height:25px!important;
  min-width:25px!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:inherit!important;
  padding:0!important;
}
.f823-ob.f977-onboard.f1086-interests-page .f1088-icon-wrap .f1086-interest-icon{
  width:23px!important;
  height:23px!important;
  flex:none!important;
  display:block!important;
  fill:none!important;
  stroke:currentColor!important;
}
.f823-ob.f977-onboard.f1086-interests-page .f1088-interest-copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:3px!important;
  min-width:0!important;
}
.f823-ob.f977-onboard.f1086-interests-page .f1088-interest-copy .f1086-interest-name{
  display:block!important;
  max-width:100%;
  color:inherit!important;
  font-size:clamp(12px,var(--f254-size-medium,14px),16px)!important;
  font-weight:700!important;
  line-height:1.2!important;
  letter-spacing:-.012em;
  overflow-wrap:break-word;
  white-space:normal!important;
}
.f823-ob.f977-onboard.f1086-interests-page .f1088-member-count{
  display:block!important;
  font-size:clamp(10px,calc(var(--f254-size-regular,14px) - 2px),13px)!important;
  font-weight:400;
  line-height:1.2!important;
  color:#68768b!important;
  white-space:nowrap!important;
  font-variant-numeric:tabular-nums;
}
/* A selected card changes border/background; the check stays adjacent to its icon,
   rather than covering any of the real member photos. */
.f823-ob.f977-onboard.f1086-interests-page .f1088-check{
  position:absolute!important;
  left:17px!important;
  top:-7px!important;
  right:auto!important;
  width:12px!important;
  height:12px!important;
  color:#1877f2!important;
  opacity:0;
  pointer-events:none;
}
/* Four separate photos in a neat line. Never overlap or cluster them. */
.f823-ob.f977-onboard.f1086-interests-page .f1088-avatar-line{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex:0 0 auto!important;
  gap:5px!important;
  padding:0!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
}
.f823-ob.f977-onboard.f1086-interests-page .f1088-avatar{
  display:block!important;
  width:25px!important;
  height:25px!important;
  flex:0 0 25px!important;
  overflow:hidden!important;
  border-radius:50%!important;
  background:#e5e9f0;
  border:1px solid #fff!important;
  box-shadow:0 0 0 1px #d9e2ec!important;
  margin:0!important;
}
.f823-ob.f977-onboard.f1086-interests-page .f1088-avatar+.f1088-avatar{
  margin-left:0!important;
}
.f823-ob.f977-onboard.f1086-interests-page .f1088-avatar img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  border:0!important;
}
.f823-ob.f977-onboard.f1086-interests-page .f1088-no-photos{
  display:block;
  max-width:112px;
  color:#7b8797;
  font-size:10px;
  font-weight:400;
  line-height:1.3;
  text-align:right;
}
.f823-ob.f977-onboard.f1086-interests-page .f1088-interest-card:hover>.f1088-card-body{
  border-color:#aac1dd!important;
  box-shadow:0 2px 7px rgba(18,43,76,.075)!important;
}
.f823-ob.f977-onboard.f1086-interests-page .f1088-interest-card:has(input:checked)>.f1088-card-body{
  color:#172033!important;
  background:#edf5ff!important;
  border-color:#1877f2!important;
  box-shadow:0 0 0 1px rgba(24,119,242,.15)!important;
}
.f823-ob.f977-onboard.f1086-interests-page .f1088-interest-card:has(input:checked) .f1088-check{
  opacity:1;
}
.f823-ob.f977-onboard.f1086-interests-page .f1088-interest-card:has(input:checked) .f1088-member-count{
  color:#536d8a!important;
}
.f823-ob.f977-onboard.f1086-interests-page .f1088-interest-card:has(input:focus-visible)>.f1088-card-body{
  outline:3px solid #91bbff!important;
  outline-offset:2px;
}
/* Fewer columns allow clean spacing and readable full names even on long labels. */
@media(min-width:700px) and (max-width:1099px){
  .f823-ob.f977-onboard.f1086-interests-page .f1086-onboard-picker .f823-interest-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:11px!important;
  }
}
@media(min-width:1100px){
  .f823-ob.f977-onboard.f1086-interests-page .f1086-onboard-picker .f823-interest-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:11px!important;
  }
  .f823-ob.f977-onboard.f1086-interests-page .f1088-interest-card>.f1088-card-body{
    padding:12px 13px!important;
    min-height:76px!important;
  }
  .f823-ob.f977-onboard.f1086-interests-page .f1088-avatar-line{gap:4px!important}
  .f823-ob.f977-onboard.f1086-interests-page .f1088-avatar{
    width:23px!important;height:23px!important;flex-basis:23px!important;
  }
}
@media(max-width:359px){
  .f823-ob.f977-onboard.f1086-interests-page .f1086-onboard-picker{padding:12px 9px!important}
  .f823-ob.f977-onboard.f1086-interests-page .f1088-interest-card>.f1088-card-body{
    gap:6px!important;
    padding:10px 9px!important;
    min-height:66px!important;
  }
  .f823-ob.f977-onboard.f1086-interests-page .f1088-card-heading{
    grid-template-columns:20px minmax(0,1fr)!important;
    gap:8px!important;
  }
  .f823-ob.f977-onboard.f1086-interests-page .f1088-icon-wrap{
    width:20px!important;height:20px!important;min-width:20px!important;
  }
  .f823-ob.f977-onboard.f1086-interests-page .f1088-icon-wrap .f1086-interest-icon{
    width:19px!important;height:19px!important;
  }
  .f823-ob.f977-onboard.f1086-interests-page .f1088-interest-copy .f1086-interest-name{
    font-size:12px!important;
  }
  .f823-ob.f977-onboard.f1086-interests-page .f1088-member-count{font-size:10px!important}
  .f823-ob.f977-onboard.f1086-interests-page .f1088-avatar-line{gap:3px!important}
  .f823-ob.f977-onboard.f1086-interests-page .f1088-avatar{
    width:20px!important;height:20px!important;flex-basis:20px!important;
  }
  .f823-ob.f977-onboard.f1086-interests-page .f1088-check{left:13px!important;top:-6px!important}
  .f823-ob.f977-onboard.f1086-interests-page .f1088-no-photos{max-width:70px;font-size:9px}
}
/* Monochrome icons adapt to the page's own dark theme setting. */
html[data-theme="dark"] .f823-ob.f977-onboard.f1086-interests-page .f1088-interest-card>.f1088-card-body{
  color:#ecf2fa!important;
  background:#253143!important;
  border-color:#445269!important;
  box-shadow:none!important;
}
html[data-theme="dark"] .f823-ob.f977-onboard.f1086-interests-page .f1088-icon-wrap{
  color:inherit!important;
  background:transparent!important;
}
html[data-theme="dark"] .f823-ob.f977-onboard.f1086-interests-page .f1088-member-count{color:#b6c3d6!important}
html[data-theme="dark"] .f823-ob.f977-onboard.f1086-interests-page .f1088-avatar{
  border-color:#253143!important;
  box-shadow:0 0 0 1px #5a6a81!important;
}
html[data-theme="dark"] .f823-ob.f977-onboard.f1086-interests-page .f1088-no-photos{color:#a9b8cc}
html[data-theme="dark"] .f823-ob.f977-onboard.f1086-interests-page .f1088-interest-card:has(input:checked)>.f1088-card-body{
  background:#1c3858!important;
  border-color:#79aeff!important;
  color:#f5faff!important;
  box-shadow:0 0 0 1px rgba(121,174,255,.2)!important;
}
html[data-theme="dark"] .f823-ob.f977-onboard.f1086-interests-page .f1088-interest-card:has(input:checked) .f1088-member-count{color:#c1d4ef!important}
html[data-theme="dark"] .f823-ob.f977-onboard.f1086-interests-page .f1088-check{color:#a7ceff!important}
@media(prefers-reduced-motion:reduce){
  .f823-ob.f977-onboard.f1086-interests-page .f1088-interest-card>.f1088-card-body{
    transition:none!important;
    animation:none!important;
  }
}
