/* Shared uploader identity geometry for Event-connected detail media. */
body.profile-subpage-shell .profile-page
:is(.profile-detail-shell, .detail-page-shell)
.detail-media-card > .detail-media-card__uploader > .event-connected-uploader-row {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 10px !important;
  row-gap: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 9px 18px !important;
  border: 0 !important;
  background: #fff !important;
}

body.profile-subpage-shell .profile-page
:is(.profile-detail-shell, .detail-page-shell)
.event-connected-uploader-row > .detail-uploader-row__avatar {
  align-self: center !important;
}

body.profile-subpage-shell .profile-page
:is(.profile-detail-shell, .detail-page-shell)
.event-connected-uploader-row > .detail-uploader-row__copy {
  display: flex !important;
  flex-direction: column !important;
  align-self: center !important;
  justify-content: center !important;
  gap: 1px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

body.profile-subpage-shell .profile-page
:is(.profile-detail-shell, .detail-page-shell)
.event-connected-uploader-row > .detail-uploader-row__copy > :is(
  .detail-uploader-row__name,
  .detail-uploader-row__type
) {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.15 !important;
}

body.profile-subpage-shell .profile-page
:is(.profile-detail-shell, .detail-page-shell)
.event-connected-uploader-row > .detail-uploader-row__actions {
  align-self: center !important;
  justify-self: end !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.profile-subpage-shell .profile-page
:is(.profile-detail-shell, .detail-page-shell)
.event-connected-uploader-row .detail-uploader-row__time {
  display: flex !important;
  align-self: center !important;
  align-items: center !important;
  justify-content: flex-end !important;
  min-width: max-content !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.15 !important;
}

body.profile-subpage-shell .profile-page
:is(.profile-detail-shell, .detail-page-shell)
.detail-media-card--flush-uploader > .detail-media-card__uploader + * {
  margin-top: 0 !important;
}

@media (max-width: 640px) {
  body.profile-subpage-shell .profile-page
  :is(.profile-detail-shell, .detail-page-shell)
  .detail-media-card > .detail-media-card__uploader > .event-connected-uploader-row {
    column-gap: 8px !important;
    padding-right: 14px !important;
    padding-left: 14px !important;
  }
}
