/* Keep the current order card footprint and render only its first thumbnail. */
.pc-history-page .thumbs.order-image-grid.order-cover-grid {
  display: block !important;
  position: relative;
  padding: 8px !important;
}
.pc-history-page .order-cover-grid .order-image-slot {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 7px;
}
.pc-history-page .order-cover-count {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: auto;
  height: auto;
  max-width: calc(100% - 32px);
  box-sizing: border-box;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .74);
  color: #fff !important;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
  pointer-events: none;
}
.pc-history-page .order-cover-count::before {
  content: "";
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='1.4' stroke-linejoin='round'%3E%3Crect x='5' y='1.5' width='9' height='10' rx='1.4'/%3E%3Cpath d='M5 5H3.3A1.3 1.3 0 0 0 2 6.3v7.4A1.3 1.3 0 0 0 3.3 15h6.4a1.3 1.3 0 0 0 1.3-1.3v-2.2M6.5 8l2-2 1.5 1.5 1-1 1.5 1.5'/%3E%3C/svg%3E");
}
.pc-history-page .batch-child-thumb-wrap .batch-child-idx {
  top: 2px;
  left: 2px;
  right: auto;
  bottom: auto;
}
.pc-history-page .batch-child-thumb-wrap .order-cover-count--compact {
  right: 2px;
  bottom: 2px;
  gap: 0;
  max-width: calc(100% - 4px);
  padding: 1px 3px;
  border-radius: 4px;
  font-size: 10px;
  line-height: 14px;
}
.pc-history-page .order-cover-count--compact::before {
  display: none;
}
