/* 像素工坊：生图记录移到右侧栏（与全能生图一致） */
.pixel-preview-panel {
  grid-template-rows: minmax(0, 1fr) !important;
}

.pixel-result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  min-height: 0;
  height: 100%;
}

.pixel-result-col {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
  min-height: 0;
}

.pixel-records-panel {
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.pixel-records-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.pixel-records-title strong {
  font-size: 15px;
}

.pixel-records-title span {
  color: var(--muted);
  font-size: 12px;
}

.pixel-record-grid {
  max-height: none !important;
  height: 100%;
  min-height: 0;
  align-content: start;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  scrollbar-gutter: stable;
}

@media (max-width: 1300px) {
  .pixel-result-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
}

@media (max-width: 1200px) {
  .pixel-result-layout {
    grid-template-columns: 1fr;
  }
  .pixel-records-panel {
    max-height: 340px;
  }
}
