/* FIX112: only actual Site-2 IMDb/Name/Year pair and screenshot gallery.
   No image cropping, src rewriting, player changes, new colors or unrelated post CSS. */
body.mp-pc-imported-post.mp-pc-site2-contained-single-v26 main.page-body
 .mp-pc-imported-body-lock.mp-site2-reference-content > p.nx-fix112-name-row,
body.mp-pc-imported-post.mp-pc-site2-contained-single-v26 main.page-body
 .mp-pc-imported-body-lock.mp-site2-reference-content > p.nx-fix112-year-row {
  margin:0!important;padding:0!important;line-height:1.85!important;
}
body.mp-pc-imported-post.mp-pc-site2-contained-single-v26 main.page-body
 .mp-pc-imported-body-lock.mp-site2-reference-content > .nx-fix112-empty {
  display:none!important;margin:0!important;padding:0!important;height:0!important;
}
/* Preserve the old truly flush gallery: no artificial 18px gaps, no cropping. */
body.mp-pc-imported-post.mp-pc-site2-contained-single-v26 main.page-body
 .mp-pc-imported-body-lock.mp-site2-reference-content > .nx-fix112-gallery {
   margin-top:0!important;margin-bottom:0!important;padding:0!important;
   line-height:0!important;background:transparent!important;
}
body.mp-pc-imported-post.mp-pc-site2-contained-single-v26 main.page-body
 .mp-pc-imported-body-lock.mp-site2-reference-content > .nx-fix112-gallery :is(p,figure) {
  margin:0!important;padding:0!important;line-height:0!important;
}
body.mp-pc-imported-post.mp-pc-site2-contained-single-v26 main.page-body
 .mp-pc-imported-body-lock.mp-site2-reference-content > .nx-fix112-gallery br {
  display:none!important;
}
body.mp-pc-imported-post.mp-pc-site2-contained-single-v26 main.page-body
 .mp-pc-imported-body-lock.mp-site2-reference-content > .nx-fix112-gallery img.nx-fix112-image {
  display:block!important;position:static!important;width:auto!important;height:auto!important;
  max-width:100%!important;margin:0!important;padding:0!important;
  object-fit:contain!important;
}

/* FIX113: exact earlier reference has left-aligned Movie/Year body content;
 * keep its original horizontal position and do not center the movie details. */
body.mp-pc-imported-post.mp-pc-site2-contained-single-v26 main.page-body
 .mp-pc-imported-body-lock.mp-site2-reference-content > p.nx-fix112-name-row,
body.mp-pc-imported-post.mp-pc-site2-contained-single-v26 main.page-body
 .mp-pc-imported-body-lock.mp-site2-reference-content > p.nx-fix112-year-row {
  text-align:left!important;padding-left:0!important;padding-right:0!important;
}
/* Screenshot media should keep its own natural dimensions until the
 * column gets narrower. FIX112 had stretched EVERY screenshot to 100%.
 * This overrides existing FIX155/160 and FIX112 competing width rules. */
body.mp-pc-imported-post.mp-pc-site2-contained-single-v26 main.page-body
 .mp-pc-imported-body-lock.mp-site2-reference-content > .nx-fix112-gallery img.nx-fix112-image {
  box-sizing:border-box!important;width:auto!important;max-width:100%!important;
  height:auto!important;margin:0 auto!important;padding:0!important;
  object-fit:contain!important;object-position:center!important;
}
/* Only images whose pixel rows have been VERIFIED to contain symmetric
 * black letterbox bands are visually cropped. Never crop unverified media. */
body.mp-pc-imported-post.mp-pc-site2-contained-single-v26 main.page-body
 .mp-pc-imported-body-lock.mp-site2-reference-content > .nx-fix112-gallery img.nx-fix113-verified-bars {
   width:min(100%,var(--nx-fix113-native-width,100%))!important;
   height:auto!important;aspect-ratio:var(--nx-fix113-clean-ratio)!important;
   object-fit:cover!important;object-position:center!important;
}

/* FIX114: only imported Site-2 screenshot pictures. Their actual files are
   sometimes 16:9 with cinema-content at ~2.38:1 and black stripes inside.
   Keeping height:auto on an unmodified image is the visible "gap".
   This changes *display aspect ratio* only for verified or narrow-scope
   source-cinema screenshots. Original image bytes and href/src are retained. */
body.mp-pc-imported-post.mp-pc-site2-contained-single-v26 main.page-body
 .mp-pc-imported-body-lock.mp-site2-reference-content > .nx-fix112-gallery img.nx-fix114-letterbox-clean {
   display:block!important;
   box-sizing:border-box!important;
   width:min(100%,var(--nx-fix114-native-width,100%))!important;
   max-width:100%!important;
   height:auto!important;
   aspect-ratio:var(--nx-fix114-crop-ratio,2.38)!important;
   object-fit:cover!important;
   object-position:center center!important;
   margin:0 auto!important;
   padding:0!important;
   border:0!important;
}
