/* Compact version of KAZ.HOLIDAY Social Club cards. */
#dating .home-social-v2.compact-person{padding:0;gap:0;min-height:0;text-align:left;border:1px solid #303338;border-radius:14px;background:#202227;overflow:visible;display:flex;flex-direction:column}
#dating .home-person-photo{height:138px;position:relative;width:100%;border-radius:13px 13px 0 0;background:#202227}
#dating .home-person-open{display:block;width:100%;height:100%;overflow:hidden;border-radius:13px 13px 0 0}
#dating .home-person-photo img{width:100%;height:100%;object-fit:cover;object-position:center 30%;display:block}
#dating .home-person-photo:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#000b);pointer-events:none}
#dating .home-person-presence{position:absolute;right:9px;top:9px;width:9px;height:9px;border:2px solid #1c1f23;border-radius:50%;z-index:1}
#dating .home-person-presence.online{background:#38c878}#dating .home-person-presence.offline{background:#e54d59}
#dating .home-person-caption{position:absolute;bottom:9px;left:10px;right:8px;z-index:2}
#dating .home-person-caption>div{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
#dating .home-person-caption a{font-size:15px;line-height:1.3;font-weight:700;color:#fff;text-decoration:none}
#dating .home-person-caption small{font-size:12px;color:#d2d4d8;margin:3px 0 0;display:block}
#dating .home-person-mood{border:0;background:none;padding:0;font-size:18px;line-height:1.3;cursor:pointer;color:inherit}
#dating .home-person-mood>span{display:none;position:absolute;bottom:calc(100% + 8px);left:0;width:225px;max-width:65vw;font-size:13px;line-height:1.5;font-weight:400;color:#edf0f4;background:#202227;border:1px solid #6c5a35;padding:10px;border-radius:10px;box-shadow:0 5px 20px #0008;z-index:5;text-align:left}
#dating .home-person-mood:hover>span,#dating .home-person-mood:focus>span{display:block}
#dating .home-person-content{padding:10px 8px 8px;width:100%;box-sizing:border-box}
#dating .home-person-tags{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:9px}
#dating .home-person-tags span{font-size:12px;line-height:1.3;background:#202227;color:#c1c5ca;border:1px solid #363a40;border-radius:7px;padding:4px}
#dating .home-person-actions{display:flex;gap:4px;padding-top:8px;border-top:1px solid #303338;justify-content:center}
#dating .home-person-actions a,#dating .home-person-actions button{display:grid;place-items:center;width:26px;height:28px;min-width:0;padding:4px;box-sizing:border-box;border:1px solid #41454c;border-radius:7px;background:#202227;color:#dce0e5;cursor:pointer}
#dating .home-person-actions svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#dating .home-person-actions .home-person-travel{color:#f7c95d;border-color:#7c6437}
#dating .home-person-actions button:disabled{opacity:.3;cursor:default}
#dating .home-person-actions button[aria-pressed=true]{color:#ed8aa8;background:#202227}#dating .home-person-actions button[aria-pressed=true] svg{fill:currentColor}
#dating a:focus-visible,#dating button:focus-visible{outline:2px solid #f7c95d;outline-offset:2px}
@media(max-width:400px){#dating .home-person-actions{gap:3px}#dating .home-person-actions a,#dating .home-person-actions button{width:24px}}

/* One shared height for baths and both community groups. */
body.premium-home .home-baths-social > #home-baths {
  height: auto;
  max-height: none;
  overflow: visible;
}
body.premium-home .home-baths-social > #dating.home-social-aside {
  height: auto;
  align-self: stretch;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}
body.premium-home .home-baths-social #dating .home-social-group {
  height: auto;
  min-height: 0;
}
body.premium-home .home-baths-social #dating .home-social-pair {
  flex: 1;
  align-items: stretch;
}
#dating .home-social-v2 .home-person-photo { flex-shrink: 0; }
#dating .home-social-v2 .home-person-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
#dating .home-person-tags { min-height: 36px; align-content: flex-start; }
#dating .home-person-actions { margin-top: auto; }
@media (max-width: 1100px) {
  body.premium-home .home-baths-social > #dating.home-social-aside { grid-template-rows: auto; }
}

/* Embedded cards own their content height rather than stretching to baths. */
body.premium-home .home-baths-social > #dating.home-social-aside{align-self:start;grid-template-rows:auto auto;height:auto}
body.premium-home .home-baths-social #dating .home-social-group{height:auto;min-width:0;overflow:visible}
#dating kaz-social-cards{display:block;width:100%;min-width:0}
