.pt-monsters { text-align: left; min-width: 0; }
.pt-monster-legend { margin: 0 0 24px; padding: 14px 16px; border: 1px solid #343c43; border-radius: 4px; background: #171d23; }
.pt-monster-legend summary { color: #d4bd80; cursor: pointer; font-weight: bold; }
.pt-monster-legend ul { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; padding: 0; margin: 14px 0 0; font-size: .88rem; }
.pt-monster-legend li { display: flex; align-items: center; gap: 8px; }
.pt-monster-legend img, .pt-monster-type img { width: 16px; height: 16px; flex: 0 0 16px; border: 0; border-radius: 0; box-shadow: none; }
.pt-monster-categories { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.pt-monster-category { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 12px; border: 1px solid #343c43; border-radius: 4px; background: #171d23; color: #b9d7ad; text-decoration: none; }
.pt-monster-category:hover, .pt-monster-category:focus-visible { background: #1c2923; border-color: #80ae77; }
.pt-monster-category img { width: 72px; height: 88px; object-fit: contain; border: 0; box-shadow: none; }
.pt-monster-category strong, .pt-monster-category small { display: block; }
.pt-monster-category small { margin-top: 8px; font-size: .8rem; color: #b2bcc5; }
.pt-monster-breadcrumb, .pt-monster-pagination { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 20px; font-size: .88rem; }
.pt-monster-pagination { justify-content: space-between; margin-top: 24px; }
.pt-monster-note { color: #b2bcc5; font-size: .88rem; margin-bottom: 24px; }
.pt-monster-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .88rem; }
.pt-monster-table caption { text-align: left; font-weight: bold; font-size: 1rem; color: #b9d7ad; margin-bottom: 14px; }
.pt-monster-table th, .pt-monster-table td { padding: 12px 10px; border: 1px solid #455047; overflow-wrap: anywhere; vertical-align: middle; }
.pt-monster-table thead th { background: #25372c; color: #d4bd80; text-align: left; }
.pt-monster-table tbody th, .pt-monster-table tbody td { background: #171d23; }
.pt-monster-table tbody tr:nth-child(even) th, .pt-monster-table tbody tr:nth-child(even) td { background: #12191e; }
.pt-monster-table tbody th { text-align: center; color: #b9d7ad; }
.pt-monster-table tr { scroll-margin-top: 100px; }
.pt-monster-table tr:target th, .pt-monster-table tr:target td { background: #243528; }
.pt-monster-col-art { width: 24%; }
.pt-monster-col-type { width: 14%; }
.pt-monster-col-level { width: 8%; }
.pt-monster-col-xp { width: 23%; }
.pt-monster-art { display: block; margin: 0 auto 12px; width: auto; height: auto; max-width: 100%; max-height: 150px; object-fit: contain; border: 0; border-radius: 0; box-shadow: none; }
.pt-monster-type { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 7px; }
.pt-monster-xp, .pt-monster-locations { margin: 0; }
.pt-monster-xp dt, .pt-monster-locations dt { font-size: .78rem; color: #d4bd80; font-weight: normal; }
.pt-monster-xp dd, .pt-monster-locations dd { margin: 3px 0 14px; }
.pt-monster-xp dd:last-child, .pt-monster-locations dd:last-child { margin-bottom: 0; }
.pt-monster-locations small { display: block; margin-top: 6px; color: #b2bcc5; }
.pt-monster-map { margin: 0; }
.pt-monster-related { margin: 14px 0 0; font-size: .82rem; }
.pt-monster-source { font-size: .88rem; }
.pt-monster-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media(max-width:700px) {
  .pt-monster-categories { grid-template-columns: 1fr; }
  .pt-monster-table, .pt-monster-table tbody, .pt-monster-table tbody tr, .pt-monster-table tbody th, .pt-monster-table td, .pt-monster-table caption { display: block; width: 100%; box-sizing: border-box; }
  .pt-monster-table colgroup { display: none; }
  .pt-monster-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .pt-monster-table tbody tr { margin-bottom: 20px; }
  .pt-monster-table tbody th, .pt-monster-table td { border-bottom: 0; padding: 14px; }
  .pt-monster-table td:last-child { border-bottom: 1px solid #455047; }
  .pt-monster-table td::before { content: attr(data-label); display: block; color: #d4bd80; font-weight: bold; margin-bottom: 8px; }
  .pt-monster-type { flex-wrap: nowrap; }
  .pt-monster-art { max-height: 180px; }
}
