.community-photos-dialog{width:min(1240px,calc(100vw - 24px));max-width:1240px}
#community-photo-form{grid-template-columns:auto minmax(180px,1fr) minmax(190px,240px) auto}
.community-photo-privacy{display:grid;gap:4px;color:#8fa7b6;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.community-photo-privacy select{height:42px;padding:7px 10px;border:1px solid #365b72;border-radius:11px;background:#0b2536;color:#edf6fb;font:inherit;font-size:12px;text-transform:none}
.community-photo-filters{display:flex;gap:7px;margin:14px 0;padding:5px;border:1px solid #29495c;border-radius:14px;background:#071824}
.community-photo-filters button{flex:0 0 auto;min-height:38px;border:0;border-radius:10px;color:#9cb2bf}
.community-photo-filters button.active{background:#1b435a;color:#fff;box-shadow:0 4px 14px #0005}
.community-photo-visibility{display:inline-flex;align-items:center;gap:5px;width:max-content;margin-top:4px;padding:4px 7px;border-radius:9px;background:#17384b;color:#afd3e7;font-size:9px;font-weight:800}
.community-photo-visibility.friends{background:#382c54;color:#d8c5ff}
@media(max-width:850px){
  #community-photo-form{grid-template-columns:1fr 1fr}
  #community-photo-form input[name="caption"]{grid-column:1/-1}
  #community-photo-form small{grid-column:1/-1}
}
@media(max-width:560px){
  #community-photo-form{grid-template-columns:1fr}
  #community-photo-form input[name="caption"],#community-photo-form small{grid-column:auto}
  .community-photo-filters{overflow-x:auto}
}
