/* Culthan 3.10.133: never enlarge a protected 64px raster to 128px in Wiki.
   Details and quality swatches render at the true server-delivered resolution.
   The 128px source stays private; no blur, fractional sizing or dark tile. */
.wiki-body .wiki-detail-image.wiki-item-quality-preview{
  width:96px!important;height:96px!important;
  display:grid!important;place-items:center!important;
  background:transparent!important;background-image:none!important;
  border:0!important;box-shadow:none!important;overflow:visible!important;
}
.wiki-body .wiki-detail-image.wiki-item-quality-preview img.culthan-item-img{
  box-sizing:border-box!important;display:block!important;
  width:64px!important;height:64px!important;
  min-width:64px!important;min-height:64px!important;
  max-width:64px!important;max-height:64px!important;
  padding:0!important;object-fit:contain!important;
  background:transparent!important;background-image:none!important;
  border:0!important;box-shadow:none!important;
  image-rendering:pixelated!important;
}
.wiki-body .wiki-detail-hero:has(.wiki-item-quality-preview){grid-template-columns:100px minmax(0,1fr)!important}
.wiki-body .culthan-enhancement-tile img{
  width:64px!important;height:64px!important;max-width:64px!important;
  padding:0!important;object-fit:contain!important;
  background:transparent!important;border:0!important;
}
@media(max-width:620px){
  .wiki-body .wiki-detail-image.wiki-item-quality-preview{width:76px!important;height:76px!important}
  .wiki-body .wiki-detail-hero:has(.wiki-item-quality-preview){grid-template-columns:80px minmax(0,1fr)!important}
  .wiki-body .culthan-enhancement-tile img{width:64px!important;height:64px!important}
}
/* Admin: render protected item previews at actual returned pixel dimensions. */
.admin-almost-official #wikiItemList .table-preview-cell img.culthan-item-img,
.admin-almost-official #assetList .table-preview-cell img.culthan-item-img {
 width:32px!important;height:32px!important;padding:4px!important;
 box-sizing:content-box!important;object-fit:none!important;
 image-rendering:pixelated!important;filter:none!important;
}
.admin-almost-official #wikiItemPreview,
.admin-almost-official #assetEditPreview[src*="protected-item"] {
 width:64px!important;height:64px!important;max-width:64px!important;
 padding:0!important;object-fit:contain!important;
 background:transparent!important;filter:none!important;
 image-rendering:pixelated!important;
}
