.ph-finder {
  margin-block: 36px 44px;
  padding: clamp(18px, 3.4vw, 38px);
  border: 1px solid #e9e4f2;
  border-radius: 24px;
  background: #f8f6fc;
  scroll-margin-top: 20px;
  color: #251c36;
}
.ph-finder-heading, .ph-finder-form, .ph-finder-pages {
  display: flex;
  align-items: end;
  gap: 12px;
}
.ph-finder-heading { justify-content: space-between; align-items: center; margin-bottom: 16px; }
.ph-finder-heading h2 { margin: 0; font-size: clamp(23px, 3vw, 32px); letter-spacing: -.045em; }
.ph-finder-heading a, .ph-finder-prices a { color: #4c3b82; text-underline-offset: 3px; font-size: 14px; }
.ph-catalog-intro { margin: 26px 0 18px; }
.ph-catalog-home { display: inline-flex; color: #4c3b82; text-underline-offset: 4px; font-size: 14px; font-weight: 700; }
.ph-catalog-intro h1 { margin: 12px 0 0; font-size: clamp(30px, 5vw, 56px); line-height: 1.13; letter-spacing: -.05em; }
.ph-catalog-intro p { margin: 8px 0 0; color: #5b526b; }
body[data-catalog] .ph-finder { margin-top: 0; }
.ph-finder-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.65fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 12px;
}
.ph-finder-form label, .ph-finder-filters label, .ph-finder-ownership label { display: grid; min-width: 0; gap: 6px; font-size: 14px; font-weight: 700; }
.ph-finder-query { flex: 1; min-width: 0; }
.ph-finder-form input, .ph-finder-form select, .ph-finder-form button, .ph-finder-pages button,
.ph-finder-filters select, .ph-finder-reset, .ph-finder-binder, .ph-finder-ownership input, .ph-finder-ownership button {
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid #dcd4e7;
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  color: inherit;
  background: white;
}
.ph-finder-filters select { width: 100%; }
.ph-finder-reset, .ph-finder-binder, .ph-finder-ownership button { color: #4c3b82; font-weight: 700; cursor: pointer; }
.ph-finder-binder[aria-pressed="true"] { color: white; background: #51418e; }
.ph-finder-detail-media { display: grid; align-items: start; gap: 8px; }
.ph-finder-ownership { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; padding: 0; margin: 12px 0; }
.ph-finder-ownership input { width: 90px; }
.ph-finder-record-status { align-self: center; font-size: 13px; color: #605673; }
.ph-finder-form input { width: 100%; }
.ph-finder-form button, .ph-finder-open {
  border: 0;
  background: #51418e;
  color: white;
  font-weight: 700;
  text-decoration: none;
}
.ph-finder-status { margin: 20px 0 8px; font-size: 14px; color: #5b526b; }
.ph-finder-results {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ph-finder-tile {
  display: grid;
  gap: 5px;
  width: 100%;
  height: 100%;
  padding: 9px;
  text-align: start;
  font: inherit;
  font-size: 13px;
  color: inherit;
  background: #fff;
  border: 1px solid #e9e4f2;
  border-radius: 12px;
  cursor: pointer;
}
.ph-finder-tile:hover { border-color: #9d8cbf; }
.ph-finder-tile strong, .ph-finder-facts { overflow-wrap: anywhere; }
.ph-finder-art {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  background: #f2eef8;
  color: #685f77;
  font-size: 12px;
}
.ph-finder-art img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: contain; }
.ph-finder-game { color: #51418e; font-size: 12px; font-weight: 700; }
.ph-finder-facts { font-size: 12px; color: #605673; }
.ph-finder-pages { align-items: center; justify-content: center; margin-top: 18px; }
.ph-finder-pages[hidden], .ph-finder-status[hidden] { display: none; }
.ph-finder-pages button:disabled { opacity: .45; }
.ph-finder-dialog { width: min(660px, calc(100% - 28px)); padding: 0; border: 1px solid #e9e4f2; border-radius: 20px; color: #251c36; }
.ph-finder-dialog::backdrop { background: #20193199; }
.ph-finder-dialog > form { display: flex; justify-content: flex-end; padding: 8px 10px 0; }
.ph-finder-dialog > form button { padding: 2px 10px; background: #f2eef8; border: 0; border-radius: 6px; font-size: 24px; color: inherit; }
#finder-card { display: grid; align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 20px; padding: 12px 20px 20px; }
.ph-finder-detail-copy h2, .ph-finder-detail-copy p { margin: 0 0 6px; overflow-wrap: anywhere; }
.ph-finder-prices { margin-block: 16px; }
.ph-finder-prices h3 { margin: 0 0 8px; font-size: 15px; }
.ph-finder-prices p { font-size: 13px; }
.ph-finder-quote { background: #f8f6fc; padding: 9px; margin-block: 6px; border-radius: 8px; }
.ph-finder-open { display: inline-block; padding: 9px 13px; border-radius: 9px; }
.ph-new-cover { background: radial-gradient(ellipse at 70% 45%, #f0e7fb, #c6b8dd); }
.ph-new-cover .catalog-art { object-fit: contain; object-position: center; }
@media (max-width: 850px) {
  .ph-finder-results { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ph-finder-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ph-finder { margin-block: 24px 32px; }
  .ph-finder-form { flex-wrap: wrap; }
  .ph-finder-query { flex-basis: 100%; }
  .ph-finder-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ph-finder-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #finder-card { grid-template-columns: minmax(85px, .7fr) minmax(0, 1fr); gap: 10px; padding-inline: 12px; }
}
