/* NoversX Photos DESIGN 3.6 — larger SQUARE photo tiles, desktop 5/5 and 6/6.
   CSS-only atop accepted DESIGN 3.5-F2, never change gallery media/viewer/selection JS.
   Target only the real chronology and Screenshots chronology, not album/search/favorites.
   Column count depends on viewport (not Sidebar state); available cards resize, never distort. */
body.nx-design2 .nx-chronology .library-grid,
body.nx-design2 .nx35-screenshots .nx35-chronology .library-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
/* Cards keep existing accepted square media box, cover crop, 12–13px rounding. */
@media (min-width: 1600px) {
  body.nx-design2 .nx-chronology .library-grid,
  body.nx-design2 .nx35-screenshots .nx35-chronology .library-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
/* These thresholds only apply when a browser is smaller than the target MacBook view. */
@media (min-width: 861px) and (max-width: 1099px) {
  body.nx-design2 .nx-chronology .library-grid,
  body.nx-design2 .nx35-screenshots .nx35-chronology .library-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 661px) and (max-width: 860px) {
  body.nx-design2 .nx-chronology .library-grid,
  body.nx-design2 .nx35-screenshots .nx35-chronology .library-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 660px) {
  body.nx-design2 .nx-chronology .library-grid,
  body.nx-design2 .nx35-screenshots .nx35-chronology .library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}
