.profile-gallery { width: min(1280px, calc(100vw - 44px)); }
.profile-gallery-header { top: calc(-1 * var(--profile-dialog-padding)); }
.profile-gallery-content { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, 1.05fr); gap: 24px; align-items: start; }
.profile-gallery-comments { min-width: 0; }
.profile-link-notice { margin: 0 0 18px; padding: 13px 15px; border-radius: 12px; color: var(--hub-muted); background: var(--pill); font-size: 13px; line-height: 1.6; }
@media (max-width: 1100px) {
  .profile-gallery-content { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .profile-gallery-comments { grid-column: 1/-1; }
}
@media (max-width: 650px) {
  .profile-gallery { width: calc(100vw - 24px); }
  .profile-gallery-content { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
