/* Shared project-detail cover geometry (catalog cards remain unchanged).
 * Every detail page uses the same square art frame and 16px inner inset,
 * regardless of the original image's proportions or device width.
 */
figure.detail-cover {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
  min-height: 0;
  width: min(100%, 360px);
  height: auto;
  aspect-ratio: 1 / 1;
  align-self: center;
  margin: 0 auto;
  padding: 16px !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 15px;
  background: rgba(16, 24, 37, .72);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
}
figure.detail-cover > img {
  box-sizing: border-box;
  display: block;
  flex: 1 1 auto;
  width: 100% !important;
  height: 100% !important;
  min-width: 0;
  min-height: 0;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
