/* Project previews use the approved property slider dimensions and spacing.
   Scope is deliberately limited to the gallery, not the project page width. */
body[data-ji-page="project"] .ji-gallery{--ji-preview-width:104px}
/* detail-review writes an inline width based on the painted image. Keep the
   strip aligned with the fixed gallery frame, including portrait selection. */
body[data-ji-page="project"] .ji-gallery .ji-thumbnail-slider{width:100% !important;max-width:100%;margin-inline:0}
body[data-ji-page="project"] .ji-thumbnails{gap:6px;padding-top:4px;padding-bottom:12px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
body[data-ji-page="project"] .ji-thumbnail{border:0;width:var(--ji-preview-width);flex-basis:var(--ji-preview-width)}
body[data-ji-page="project"] .ji-thumb-image{height:calc(var(--ji-preview-width) * .7)}
body[data-ji-page="project"] .ji-thumbnails::-webkit-scrollbar{display:block;height:10px}
body[data-ji-page="project"] .ji-thumbnails::-webkit-scrollbar-thumb{background:#999;border:2px solid #fff;border-radius:6px}
body[data-ji-page="project"] .ji-thumbnails::-webkit-scrollbar-track{background:#fff}
body[data-ji-page="project"] .ji-strip-arrow{top:4px;bottom:8px}
body[data-ji-page="project"] .ji-gallery-swipe-cue{top:calc(var(--ji-preview-width) * .35 + 4px)}
/* The main frame already has the shared stable 3:2 ratio and fixed arrows.
   Keep its current width/height rules; preserve the complete photo inside it. */
body[data-ji-page="project"] .ji-gallery-image img{object-fit:contain;object-position:center center}
