/* 1级宠物图鉴页专属样式（配合 styles.css 使用） */
.pt-layout { display: flex; gap: 18px; align-items: flex-start; }
.pt-side {
  width: 210px;
  flex-shrink: 0;
  border: 1px solid #e3ddcd;
  border-radius: 12px;
  background: #faf7ec;
  padding: 10px;
  position: sticky;
  top: 74px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.pt-side-title { font-weight: 700; margin: 2px 4px 8px; color: #6d6a5e; font-size: 14px; }
.pt-cat-item {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  color: #4a4638;
}
.pt-cat-item:hover { background: #f0ead8; }
.pt-cat-row { display: flex; align-items: center; }
.pt-caret {
  cursor: pointer;
  width: 16px;
  color: #8a8577;
  font-size: 11px;
  user-select: none;
  flex-shrink: 0;
}
.pt-cat-item { flex: 1; }

.pt-cat-item.active { background: #e5f2e8; color: #2f6f4f; font-weight: 700; }
.pt-cat-root { font-weight: 600; }
.pt-cat-sub { padding-left: 24px; font-size: 13px; }

.pt-main { flex: 1; min-width: 0; }
.pt-toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.pt-toolbar input {
  flex: 1;
  max-width: 280px;
  padding: 8px 12px;
  border: 1px solid #e3ddcd;
  border-radius: 8px;
  font-size: 14px;
}
.pt-count { color: #8a8577; font-size: 13px; }

.pt-pet {
  border: 1px solid #e3ddcd;
  border-radius: 14px;
  background: #fffdf6;
  padding: 16px 18px;
  margin-bottom: 18px;
}
.pt-pet-top { display: flex; gap: 18px; align-items: flex-start; }
.pt-img {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border: 1px solid #e8e2d2;
  border-radius: 12px;
  background: #f6f1e2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pt-img img { max-width: 88px; max-height: 88px; image-rendering: pixelated; }
.pt-noimg img { display: none; }

.pt-info { flex: 1; min-width: 0; }
.pt-name-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.pt-name-row h3 { margin: 0; font-size: 21px; }
.pt-rank {
  font-weight: 700;
  color: #b34a3d;
  background: #faeee9;
  border-radius: 999px;
  padding: 1px 10px;
  font-size: 13px;
}
.pt-mult { color: #8a8577; font-size: 12px; }
.pt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 5px 18px;
  font-size: 14px;
}
.pt-kv i { color: #8a8577; font-style: normal; margin-right: 6px; }

.pt-methods { margin-top: 12px; border-top: 1px dashed #e3ddcd; padding-top: 10px; }
.pt-methods-title { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.pt-method {
  display: inline-block;
  margin: 0 8px 6px 0;
  padding: 3px 12px;
  border-radius: 999px;
  background: #eef4e8;
  color: #2f6f4f;
  font-size: 13px;
}
.pt-loading { color: #8a8577; }
.pt-more-wrap { text-align: center; margin: 14px 0; }
.pt-more {
  padding: 9px 34px;
  border: 1px solid #d9d2bd;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}
.pt-more:hover { border-color: #2f6f4f; color: #2f6f4f; }

@media (max-width: 800px) {
  .pt-layout { flex-direction: column; }
  .pt-side { width: 100%; position: static; max-height: none; }
  .pt-pet-top { flex-direction: column; }
}

