/* V1265: compact international preferences; no page-height expanding town cloud. */
.social-shell[data-social-section="dating"] .f1265-local-primary{
  max-height:none;overflow:visible;display:flex;flex-wrap:wrap;gap:7px;
}
.social-shell[data-social-section="dating"] .f1265-location-tools{
  display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:12px;position:relative;z-index:12;
}
.social-shell[data-social-section="dating"] .f1265-more-wrap{position:relative;flex:none;max-width:100%}
.social-shell[data-social-section="dating"] .f1265-location-popover{
  position:absolute;left:0;top:calc(100% + 8px);width:min(310px,calc(100vw - 72px));
  z-index:50;padding:12px;background:var(--date-panel,#fff);border:1px solid var(--date-line,#dec7f0);
  border-radius:17px;box-shadow:0 14px 35px rgba(40,14,52,.16);box-sizing:border-box;
}
.social-shell[data-social-section="dating"] .f1265-location-popover[hidden]{display:none!important}
.social-shell[data-social-section="dating"] .f1265-popover-title{
  color:var(--date-ink,#302151);font-weight:760;font-size:12px;line-height:1.5;padding:0 3px 9px;
}
.social-shell[data-social-section="dating"] .f1265-local-scroll{
  max-height:236px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;
  display:flex;flex-wrap:wrap;align-content:flex-start;gap:7px;
}
.social-shell[data-social-section="dating"] .f1265-local-scroll .f254-date-city>span{
  padding:7px 10px;font-size:11px;
}
.social-shell[data-social-section="dating"] .f1265-country-picker{
  min-width:0;max-width:100%;position:relative;display:flex;align-items:center;
  border:1px solid var(--date-line,#dec7f0);border-radius:999px;background:var(--date-panel,#fff);
  color:var(--date-ink,#302151);font-size:12px;font-weight:720;
}
.social-shell[data-social-section="dating"] .f1265-country-picker select{
  display:block;appearance:none;-webkit-appearance:none;background:transparent;color:inherit;
  padding:9px 33px 9px 14px;border:0;border-radius:999px;min-height:39px;max-width:min(220px,70vw);
  font:inherit;line-height:1.25;cursor:pointer;outline-offset:2px;
}
.social-shell[data-social-section="dating"] .f1265-country-picker .social-icon{
  position:absolute;width:14px;height:14px;right:10px;pointer-events:none;
}
.social-shell[data-social-section="dating"] .f1265-country-picker select:focus-visible{outline:2px solid #ca27ca}
.social-shell[data-social-section="dating"] .f1265-country-picker option{color:#211a2b;background:#fff}
.social-shell[data-social-section="dating"] .f1265-local-scroll .f254-date-city[hidden],
.social-shell[data-social-section="dating"] .f1265-local-primary .f254-date-city[hidden]{display:none!important}
html[data-theme="dark"] .social-shell[data-social-section="dating"] .f1265-location-popover,
html[data-theme="dark"] .social-shell[data-social-section="dating"] .f1265-country-picker{
  background:var(--date-panel,#30273e);border-color:var(--date-line,#664a72);color:var(--date-ink,#f7effd);
}
html[data-theme="dark"] .social-shell[data-social-section="dating"] .f1265-popover-title{color:var(--date-ink,#f7effd)}
html[data-theme="dark"] .social-shell[data-social-section="dating"] .f1265-country-picker option{background:#30273e;color:#fff}
@media(max-width:420px){
  .social-shell[data-social-section="dating"] .f1265-location-tools{gap:8px}
  .social-shell[data-social-section="dating"] .f1265-country-picker select{max-width:160px}
}
