.bars-beta {
  width: min(1200px, calc(100% - 2rem));
  margin: 2rem auto 4rem;
  color: #191919;
}
.bars-beta [hidden] { display: none !important; }
.bars-beta h1 { margin: 0; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.05; }
.bars-beta h1 small { font-size: .34em; font-weight: 500; vertical-align: middle; }
.bars-beta h2 { margin: 0 0 .85rem; font-size: clamp(1.35rem, 3vw, 1.85rem); }
.bars-beta p { color: #505050; }
.bars-beta:has(.beta-intro:not([hidden])) { margin-top: .75rem; }
.beta-intro { padding-bottom: 1rem; border-bottom: 1px solid #e5e5e5; }
.beta-filter-panel { padding: clamp(.85rem, 2vw, 1.25rem); background: #f1f1f1; border-radius: .75rem; }
.beta-controls, .beta-section-head { display: flex; align-items: end; gap: .75rem; flex-wrap: wrap; }
.beta-controls label { flex: 1; min-width: 8rem; }
.beta-controls label:first-child { flex: 3; min-width: min(100%, 16rem); }
.bars-beta label { display: grid; gap: .25rem; font-size: .875rem; font-weight: 600; }
.bars-beta input, .bars-beta select, .bars-beta button {
  min-height: 44px;
  max-width: 100%;
  padding: .5rem .75rem;
  border: 1px solid #aaa;
  border-radius: .45rem;
  background: #fff;
  color: #181818;
  font: inherit;
}
.bars-beta button { cursor: pointer; }
.bars-beta :focus-visible { outline: 2px solid #222; outline-offset: 3px; }
#betaBrowse > section, #betaResults { margin-top: 2rem; }
.beta-section-head { justify-content: space-between; margin-bottom: .85rem; }
.beta-section-head h2 { margin: 0; }
.beta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: .75rem; }
.beta-card {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: .4rem;
  padding: .6rem;
  border: 1px solid #d6d6d6;
  border-radius: .65rem;
  background: #fff;
  color: #191919;
  text-decoration: none;
}
.beta-card:hover { border-color: #222; }
.beta-photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: #f4f4f4;
  color: #555;
  border-radius: .35rem;
  overflow: hidden;
}
.beta-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #f4f4f4; }
.beta-name, .beta-detail { overflow-wrap: anywhere; }
.beta-detail { font-size: .85rem; color: #505050; }

@media (min-width: 760px) {
  .beta-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1050px) {
  .beta-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .beta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.beta-metal-controls { margin-top: .85rem; }
#betaMetalLabel { display: block; margin-bottom: .25rem; font-size: .875rem; font-weight: 600; }
#betaMetal { display: flex; flex-wrap: wrap; gap: .45rem; }
.bars-beta .beta-metal-button { border-radius: 2rem; }
.bars-beta .beta-metal-button[aria-pressed="true"] { background: #191919; border-color: #191919; color: #fff; }
.beta-series-row { margin-bottom: 1rem; padding: 1rem; border: 1px solid #d6d6d6; border-radius: .75rem; }
.beta-series-row h3 { margin: 0; }
.beta-series-row .beta-section-head { align-items: baseline; margin-bottom: 0; }
.beta-series-row > p { margin: .3rem 0 .75rem; }
#betaSeriesPage h1 { margin-top: 1rem; }
.beta-series-description { white-space: pre-line; }

.beta-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.beta-breadcrumbs li + li::before { content: "›" / ""; margin-right: .35rem; color: #555; }
.beta-series-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem .85rem;
  border: 1px solid #191919;
  border-radius: .45rem;
  color: #191919;
  background: #fff;
  text-decoration: none;
}
.beta-series-button:hover { background: #f1f1f1; }

.beta-catalogue-intro { margin: .5rem 0 1rem; }
#betaRelatedSection { margin-top: 2rem; }
@media (min-width: 760px) {
  #betaRelatedGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.beta-series-guest {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem 1.25rem;
  margin: 1.25rem 0;
  padding: 1rem;
  border: 1px solid #d6d6d6;
  border-radius: .75rem;
  background: #f4f4f4;
}
.beta-series-guest h2 { margin: 0 0 .25rem; }
.beta-series-guest p { margin: 0; }
.beta-series-guest-actions { display: flex; flex-wrap: wrap; gap: .5rem; }

.beta-metal-row + .beta-metal-row { margin-top: 1.25rem; }
.beta-metal-row h3 { margin: 0 0 .5rem; }
.beta-card-pills { display: flex; flex-wrap: wrap; gap: .3rem; }
.beta-card-pills:empty { display: none; }
.beta-card-pill {
  padding: .15rem .5rem;
  border: 1px solid #d6d6d6;
  border-radius: 999px;
  background: #f4f4f4;
  color: #191919;
  font-size: .8rem;
  line-height: 1.4;
}

.beta-card-mint { font-size: .875rem; overflow-wrap: anywhere; }
#betaMatchedSeries { margin-top: 2rem; }
.beta-pagination { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; color: #505050; font-size: .875rem; }

.beta-bar-badges { display: flex; flex-wrap: wrap; gap: .3rem; }
.beta-bar-badges:empty { display: none; }
.beta-bar-badge {
  padding: .15rem .5rem;
  border: 1px solid #191919;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.4;
}
.beta-bar-owned { color: #fff; background: #191919; }
.beta-bar-wishlisted { color: #191919; background: #fff; }

.beta-filter-pills { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
#betaSameSizeSection { margin-top: 2rem; }
