.collectible-actions,
.collectible-set-filters {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.55rem;
}
.collectible-actions a,
.collectible-actions button,
.collectible-set-filters select {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto;
  min-height:44px;
  padding:.55rem .85rem;
  color:#245273;
  background:#f7fbff;
  border:1px solid #cfe1ef;
  border-radius:12px;
  font:inherit;
  font-size:.875rem;
  font-weight:700;
  box-shadow:none;
  text-decoration:none;
}
.collectible-actions a[aria-current="true"],
.collectible-actions button[aria-pressed="true"] {background:#dcebf7;color:#153b59}
.collectible-actions [hidden],
.collectible-set-filters[hidden],
.collectible-favorites[hidden],
.set-card[data-set-card][hidden] {display:none!important}
.collectible-item .item-heading h1 {font-size:clamp(1.7rem,5vw,3rem);overflow-wrap:anywhere}
.collectible-item .item-price-pair {margin-top:.75rem}
.collectible-item .item-image {object-fit:contain}
.collectible-compare {
  margin-block:1rem;
  padding:clamp(.85rem,2.4vw,1.35rem);
  border:1px solid #d5e5f1;
  border-radius:18px;
  background:#fcfdff;
  color:#173751;
  scroll-margin-top:1rem;
}
.collectible-compare h2 {margin:0 0 .65rem;font-size:1.2rem}
.collectible-compare p {margin:.6rem 0;color:#516c80;font-size:.85rem}
.collectible-variant-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:.5rem}
.collectible-variant {
  display:grid;
  gap:.2rem;
  padding:.7rem;
  border-radius:12px;
  background:#edf5fc;
  color:#173751;
  text-decoration:none;
}
.collectible-variant b {font-size:1.2rem;font-variant-numeric:tabular-nums}
.collectible-variant small,.collectible-favorites small {font-size:.77rem;color:#4f6477}
.collectible-home .market-panel-new-set,.collectible-movements {
  border:1px solid #ccdeee;
  background:linear-gradient(145deg,#f9fcff,#eaf1ff);
}
.collectible-home .market-set-logo {display:block;width:auto;max-width:min(36vw,135px);height:45px;object-fit:contain}
.collectible-home .market-panel-new-set .market-list {
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
}
.collectible-home .market-panel-new-set .market-card {
  display:flex;
  flex-direction:column;
  align-items:center;
  min-height:100%;
  text-align:center;
}
.collectible-home .market-panel-new-set .market-card-art {width:100%;height:auto;aspect-ratio:3/4}
.collectible-home .market-panel-new-set .market-card-art img {width:100%;height:100%;object-fit:contain}
.collectible-home .market-panel-new-set .market-card-copy {width:100%;text-align:center}
.collectible-home .market-panel-new-set .market-card-price {position:static;transform:none;min-width:0}
.collectible-movements {padding:1rem;border-radius:20px;text-align:left;color:#1b3e59}
.collectible-movements h2 {margin:0;font-size:1.05rem}
.collectible-movements p {margin:.3rem 0;color:#526b83;font-size:.8rem}
.collectible-movements a {color:#235577}
.collectible-movements ul,.collectible-favorites ul {list-style:none;padding:0;margin:.5rem 0}
.collectible-movements li,.collectible-favorites li {display:flex;justify-content:space-between;align-items:baseline;gap:.6rem;padding:.3rem 0}
.collectible-movements .up {color:#20634b}
.collectible-movements .down {color:#973f55}
.collectible-favorites {
  grid-column:1/-1;
  width:100%;
  padding:.8rem 1rem;
  background:#f5faff;
  border:1px solid #cfdeed;
  border-radius:14px;
  text-align:left;
}
.collectible-favorites summary {cursor:pointer;font-weight:700}
.collectible-operations {
  width:min(100%,62rem);
  margin:1rem auto;
  padding:1rem;
  border:1px solid #ccdeee;
  background:#f7fbff;
  border-radius:16px;
  color:#173751;
  text-align:left;
}
.collectible-operations summary {font-weight:750;cursor:pointer}
.collectible-operations ul {padding-inline-start:1rem}
.collectible-set .set-page-heading {
  background:linear-gradient(130deg,var(--set-accent,#edf6fe),#fff 75%);
  border:1px solid #d6e5f0;
  border-radius:20px;
}
.collectible-set .set-card img {width:100%;object-fit:contain}
.collectible-set-filters {width:min(1320px,100%);margin:0 auto 1rem}
.collectible-set-filters label {display:grid;gap:.22rem;color:#274d6a;font-weight:700;font-size:.825rem}
.collectible-set-filters output {margin-inline-start:auto;color:#274d6a}
.collectible-result-meta {display:flex;flex-wrap:wrap;gap:.2rem .38rem}

@media(max-width:600px) {
  .collectible-item .item-topbar {padding-block:.15rem;min-height:0}
  .collectible-item .item-topbar .item-brand {width:clamp(112px,38vw,148px)}
  .collectible-item .item-topbar .item-brand img {width:100%;height:auto}
  .collectible-item .item-topbar .back-link {color:#265984}
  .collectible-item .item-detail {display:grid;grid-template-columns:minmax(0,39%) minmax(0,1fr);gap:.72rem}
  .collectible-item .item-content {display:contents}
  .collectible-item .item-content > * {grid-column:1/-1}
  .collectible-item .item-heading {grid-row:1;margin:0;min-height:0}
  .collectible-item .item-content .item-set-logo {display:grid;place-items:center;flex:0 0 min(34%,104px);max-width:34%;height:50px;padding:5px}
  .collectible-item .item-content .item-set-logo img {width:100%;height:100%;min-height:0;max-height:38px;object-fit:contain}
  .collectible-item .item-visual {grid-row:2;grid-column:1;align-self:start;min-width:0}
  .collectible-item .item-media {margin:0 auto}
  .collectible-item .item-image {width:100%;height:auto;max-height:235px;max-width:100%}
  .collectible-item .item-card-meta {margin:.3rem 0 0;gap:.22rem;font-size:.73rem;overflow-wrap:anywhere}
  .collectible-item .item-facts {margin:0}
  .collectible-item .item-price-pair,
  .collectible-item .collectible-quote-empty {grid-row:2;grid-column:2;align-self:start;margin:0;min-width:0}
  .collectible-item .item-content .item-price-pair {display:grid;grid-template-columns:minmax(0,1fr);gap:.45rem;padding:0}
  .collectible-item .item-price-pair .item-value {grid-column:1;grid-template-rows:none;grid-auto-rows:auto;gap:.22rem;min-width:0;padding:.48rem .6rem;border:1px solid #c5d8ed;border-radius:.72rem;background:rgba(255,255,255,.62)}
  .collectible-item .item-price-pair .item-value > span:first-child {font-size:.64rem;letter-spacing:.04em}
  .collectible-item .item-price-pair .item-value strong {font-size:clamp(1rem,5vw,1.55rem);line-height:1.13}
  .collectible-item .item-price-pair .item-market-logo {width:min(100%,98px);height:20px}
  .collectible-item .item-price-pair .item-value small {font-size:.69rem;line-height:1.22;overflow-wrap:anywhere}
  .collectible-item .collectible-quote-empty h2 {font-size:1rem}
  .collectible-item .collectible-quote-empty p {font-size:.8rem}
  .collectible-home .market-panel-new-set .market-list {gap:.25rem}
  .collectible-home .market-panel-new-set .market-card {padding:.28rem;gap:.2rem}
  .collectible-home .market-panel-new-set .market-card-copy strong {font-size:.8rem;white-space:normal}
  .collectible-home .market-panel-new-set .market-card-price strong {font-size:.82rem}
  .collectible-set-filters label {flex:1 1 124px}
  .collectible-set-filters select {width:100%;min-width:0;justify-content:start}
}
