/* ─── BrickBreakdown Theme — brickbreakdown.css ─────────────────────── */

/* ── Variables ───────────────────────────────────────────────────────── */
:root {
  --bb-bg:      #F8F6F1;
  --bb-surface: #FFFFFF;
  --bb-text:    #1A1714;
  --bb-muted:   #79726A;
  --bb-faint:   #EDE9E2;
  --bb-border:  #DDD9D2;
  --bb-yellow:  #F5C400;
  --bb-red:     #C4202E;
  --bb-blue:    #0060A9;
  --bb-nav:     #1A1714;
  --bb-font-h:  'Space Grotesk', sans-serif;
  --bb-font-b:  'Space Grotesk', sans-serif;
  --bb-radius:  10px;
  --bb-max: 1400px;

}
[data-theme="dark"] {
  --bb-bg:      #141210;
  --bb-surface: #1E1B18;
  --bb-text:    #F0EDE8;
  --bb-muted:   #8B8480;
  --bb-faint:   #242018;
  --bb-border:  #2E2A26;
}

/* ── Reset & base ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bb-bg);
  color: var(--bb-text);
  font-family: var(--bb-font-b);
  line-height: 1.75;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  transition: background 0.2s, color 0.2s;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ── Stud dot background (used on hero + nav areas) ──────────────────── */
.bb-studs {
  background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1.8px, transparent 1.8px);
  background-size: 20px 20px;
}

/* ── Nav ─────────────────────────────────────────────────────────────── */
.bb-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bb-nav);
  height: 56px;
  display: flex; align-items: center;
  padding: 0 clamp(16px, 4vw, 48px);
  gap: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.bb-nav__logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: #fff;
  font-family: var(--bb-font-h); font-weight: 700; font-size: 17px;
  letter-spacing: -0.02em; flex-shrink: 0;
}
.bb-nav__stud {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--bb-yellow); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.25), 0 0 0 2px rgba(255,255,255,0.08);
}
.bb-nav__stud-inner {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.28);
}
.bb-nav__links { display: flex; gap: 4px; align-items: center; margin-left: auto; }
.bb-nav__link {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.55); font-family: var(--bb-font-h);
  font-size: 14px; font-weight: 500; padding: 6px 10px;
  border-radius: 6px; text-decoration: none;
  transition: color 0.15s, background 0.15s;
  letter-spacing: 0.01em;
}
.bb-nav__link:hover { color: #fff; background: rgba(255,255,255,0.07); }
.bb-nav__theme {
  width: 36px; height: 36px; border-radius: 8px;
  background: none; border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 16px;
  transition: background 0.15s, color 0.15s; margin-left: 8px;
}
.bb-nav__theme:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ── Tags ────────────────────────────────────────────────────────────── */
.bb-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.bb-tag {
  font-family: var(--bb-font-h); font-size: 11.5px; font-weight: 600;
  padding: 3px 10px; border-radius: 4px; letter-spacing: 0.03em;
}
.bb-tag--theme  { background: var(--bb-blue);   color: #fff; }
.bb-tag--year   { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
.bb-tag--retired{ background: var(--bb-red);    color: #fff; }
.bb-tag--active { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }

/* ── Homepage: featured hero ─────────────────────────────────────────── */
.bb-featured {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 440px; cursor: pointer;
  background: #1A1714; overflow: hidden;
  text-decoration: none;
}
.bb-featured__img {
  position: relative; overflow: hidden; background: #0E0D0B;
  border-radius: 16px;
  margin: clamp(16px, 3vw, 32px) clamp(16px, 4vw, 48px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}
.bb-featured__img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.82;
  transition: transform 0.5s ease, opacity 0.3s;
}
.bb-featured:hover .bb-featured__img img { transform: scale(1.04); opacity: 0.9; }
/* no right-edge blend — clean hard edge between image and text panels */
.bb-featured__img-overlay { display: none; }
.bb-featured__img-overlay-b { display: none; }
.bb-featured__img-placeholder {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg,#1E1B18 0,#1E1B18 6px,#161412 6px,#161412 12px);
  display: flex; align-items: center; justify-content: center;
}
.bb-featured__content {
  position: relative; z-index: 1;
  padding: clamp(36px,5vw,60px) clamp(32px,4vw,56px);
  display: flex; flex-direction: column; justify-content: center;
}
.bb-featured__eyebrow {
  display: flex; align-items: center; gap: 7px; margin-bottom: 18px;
  font-family: var(--bb-font-h); font-size: 11.5px; font-weight: 600;
  color: var(--bb-yellow); letter-spacing: 0.1em; text-transform: uppercase;
}
.bb-featured__eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--bb-yellow);
}
.bb-featured__title {
  font-family: var(--bb-font-h); font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  color: #fff; line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 14px;
}
.bb-featured__summary {
  color: rgba(255,255,255,0.5); font-size: 0.93rem;
  line-height: 1.65; margin-bottom: 28px; max-width: 380px;
}
.bb-featured__stats {
  display: flex; gap: 24px; margin-bottom: 30px; padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.bb-featured__stat-label {
  font-family: var(--bb-font-h); font-size: 10px;
  color: rgba(255,255,255,0.35); letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 4px;
}
.bb-featured__stat-value {
  font-family: var(--bb-font-h); font-weight: 700; font-size: 18px; color: #fff;
}
.bb-featured__stat-value--score { color: var(--bb-yellow); }
.bb-featured__cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bb-yellow); color: #1A1714;
  font-family: var(--bb-font-h); font-weight: 700; font-size: 14px;
  padding: 11px 22px; border-radius: 8px; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s; width: fit-content;
}
.bb-featured:hover .bb-featured__cta { transform: translateX(4px); }

/* ── Homepage: section wrapper ───────────────────────────────────────── */
.bb-home-content {
  max-width: var(--bb-max); margin: 0 auto;
  padding: clamp(36px,6vw,52px) clamp(16px,4vw,48px) 0;
}
.bb-section-header {
  display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px;
}
.bb-section-title {
  font-family: var(--bb-font-h); font-weight: 700;
  font-size: 1.1rem; letter-spacing: -0.02em;
}
.bb-section-link {
  font-family: var(--bb-font-h); font-size: 13px;
  color: var(--bb-muted); text-decoration: none;
}
.bb-section-link:hover { color: var(--bb-text); }
.bb-divider { height: 1px; background: var(--bb-border); margin: 40px 0 30px; }
.bb-section-title--sub {
  font-family: var(--bb-font-h); font-weight: 700;
  font-size: 0.92rem; color: var(--bb-muted);
  letter-spacing: -0.01em; margin-bottom: 12px;
}

/* ── Card grid ───────────────────────────────────────────────────────── */
.bb-card-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 44px;
}
.bb-card {repeat(4,1fr)
  background: var(--bb-surface); border-radius: var(--bb-radius);
  overflow: hidden; border: 1px solid var(--bb-border);
  cursor: pointer; text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.bb-card:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(0,0,0,0.1); }
.bb-card__img {
  height: 190px; position: relative; overflow: hidden; background: #E3DFD8;
}
.bb-card__img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.bb-card:hover .bb-card__img img { transform: scale(1.04); }
.bb-card__retired-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--bb-red); color: #fff;
  font-family: var(--bb-font-h); font-size: 10.5px; font-weight: 700;
  padding: 2px 8px; border-radius: 4px;
}
.bb-card__body { padding: 15px 17px 18px; flex: 1; }
.bb-card__meta {
  display: flex; gap: 8px; align-items: center; margin-bottom: 9px;
}
.bb-card__theme { font-family: var(--bb-font-h); font-size: 11.5px; color: var(--bb-blue); font-weight: 600; }
.bb-card__pieces { font-family: var(--bb-font-h); font-size: 11.5px; color: var(--bb-muted); }
.bb-card__dot { color: var(--bb-border); }
.bb-card__title {
  font-family: var(--bb-font-h); font-weight: 700;
  font-size: 0.97rem; line-height: 1.32; letter-spacing: -0.01em;
}

/* ── List card ───────────────────────────────────────────────────────── */
.bb-list-cards { display: flex; flex-direction: column; gap: 10px; margin-bottom: 60px; }
.bb-list-card {
  background: var(--bb-surface); border-radius: var(--bb-radius);
  overflow: hidden; border: 1px solid var(--bb-border);
  cursor: pointer; text-decoration: none; color: inherit;
  display: grid; grid-template-columns: 88px 1fr;
  transition: transform 0.2s, box-shadow 0.2s;
}
.bb-list-card:hover { transform: translateY(-1px); box-shadow: 0 4px 18px rgba(0,0,0,0.09); }
.bb-list-card__img {
  position: relative; overflow: hidden; background: #E3DFD8; min-height: 72px;
}
.bb-list-card__img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.bb-list-card__body { padding: 12px 16px; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.bb-list-card__title { font-family: var(--bb-font-h); font-weight: 600; font-size: 0.9rem; line-height: 1.35; }
.bb-list-card__meta { display: flex; gap: 12px; flex-wrap: wrap; }
.bb-list-card__theme { font-family: var(--bb-font-h); font-size: 12px; color: var(--bb-blue); font-weight: 600; }
.bb-list-card__pieces { font-family: var(--bb-font-h); font-size: 12px; color: var(--bb-muted); }
.bb-list-card__msrp  { font-family: var(--bb-font-h); font-size: 12px; color: var(--bb-muted); }
.bb-list-card__retired-badge {
  background: var(--bb-red); color: #fff;
  font-family: var(--bb-font-h); font-size: 10.5px; font-weight: 700;
  padding: 2px 8px; border-radius: 4px;
}

/* ── Review hero ─────────────────────────────────────────────────────── */
.bb-review-hero {
  background: #1A1714; position: relative; overflow: hidden;
  padding: clamp(36px,6vw,60px) clamp(16px,4vw,48px) clamp(32px,5vw,52px);
}
.bb-review-hero__inner { position: relative; max-width: var(--bb-max); margin: 0 auto; }
.bb-breadcrumb {
  font-family: var(--bb-font-h); font-size: 12px; color: rgba(255,255,255,0.4);
  display: flex; gap: 8px; align-items: center; margin-bottom: 14px;
}
.bb-breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.bb-breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.bb-review-hero__title {
  font-family: var(--bb-font-h); font-weight: 700;
  font-size: clamp(1.7rem, 4.5vw, 3rem);
  color: #fff; line-height: 1.1; letter-spacing: -0.03em;
  max-width: 700px; margin: 18px 0 16px;
}
.bb-review-hero__summary {
  color: rgba(255,255,255,0.5); font-size: 0.94rem;
  max-width: 540px; line-height: 1.65;
}

/* ── Review 3-col layout ─────────────────────────────────────────────── */
.bb-review-layout {
  max-width: var(--bb-max); margin: 0 auto;
  padding: clamp(28px,5vw,48px) clamp(16px,4vw,48px);
  display: grid;
  grid-template-columns: 190px 1fr 260px;
  gap: clamp(24px,4vw,52px);
  align-items: start;
}

/* ── TOC sidebar ─────────────────────────────────────────────────────── */
.bb-toc { position: sticky; top: 72px; }
.bb-toc__title {
  font-family: var(--bb-font-h); font-weight: 700; font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bb-muted); margin-bottom: 14px;
}
.bb-toc nav ul { list-style: none; }
.bb-toc nav ul ul { padding-left: 10px; margin-top: 2px; }
.bb-toc nav li { margin-bottom: 2px; }
.bb-toc nav a {
  display: block; padding: 4px 0 4px 12px;
  border-left: 2px solid transparent;
  font-family: var(--bb-font-h); font-size: 12.5px;
  color: var(--bb-muted); text-decoration: none;
  line-height: 1.45; transition: color 0.15s, border-color 0.2s;
}
.bb-toc nav a:hover { color: var(--bb-text); }
.bb-toc nav a.active {
  color: var(--bb-text); font-weight: 600;
  border-left-color: var(--bb-yellow);
}

/* ── Article content ─────────────────────────────────────────────────── */
.bb-article { width: 100%; }
.bb-article h2 {
  font-family: var(--bb-font-h); font-weight: 700;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  letter-spacing: -0.025em; line-height: 1.25;
  margin: 52px 0 20px; scroll-margin-top: 72px;
}
.bb-article h3 {
  font-family: var(--bb-font-h); font-weight: 600; font-size: 1.05rem;
  margin: 28px 0 10px;
}
.bb-article p { margin-bottom: 20px; line-height: 1.78; }
.bb-article ul, .bb-article ol { padding-left: 1.4em; margin-bottom: 20px; }
.bb-article li { margin-bottom: 6px; }
.bb-article strong { font-weight: 600; }
.bb-article em { font-style: italic; }
.bb-article hr { border: none; border-top: 1px solid var(--bb-border); margin: 36px 0; }

/* ── Set details sidebar ─────────────────────────────────────────────── */
.bb-sidebar { position: sticky; top: 72px; display: flex; flex-direction: column; gap: 14px; }
.bb-sidebar__back {
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  color: var(--bb-muted); font-family: var(--bb-font-h); font-size: 12.5px;
  padding: 0; margin-bottom: 2px; text-decoration: none;
}
.bb-sidebar__back:hover { color: var(--bb-text); }
.bb-card-panel {
  background: var(--bb-surface); border-radius: 12px;
  border: 1px solid var(--bb-border); overflow: hidden;
}
.bb-card-panel__header {
  padding: 13px 18px; border-bottom: 1px solid var(--bb-border);
  font-family: var(--bb-font-h); font-weight: 700; font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--bb-muted);
}
.bb-detail-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 18px; border-bottom: 1px solid var(--bb-faint);
}
.bb-detail-row:last-child { border-bottom: none; }
.bb-detail-label { font-family: var(--bb-font-h); font-size: 12.5px; font-weight: 600; color: var(--bb-muted); }
.bb-detail-value { font-family: var(--bb-font-h); font-size: 13px; font-weight: 600; }
.bb-detail-value--theme   { color: var(--bb-blue); }
.bb-detail-value--retired { color: var(--bb-red); }
.bb-detail-value--active  { color: #2A7A4B; }
.bb-panel-actions { padding: 14px; display: flex; gap: 8px; }
.bb-btn {
  flex: 1; padding: 9px 0; text-align: center;
  font-family: var(--bb-font-h); font-size: 12.5px; font-weight: 600;
  border-radius: 7px; text-decoration: none; border: none; cursor: pointer;
  transition: opacity 0.15s;
}
.bb-btn:hover { opacity: 0.85; }
.bb-btn--secondary { background: var(--bb-faint); color: var(--bb-text); }
.bb-btn--primary   { background: var(--bb-text); color: #fff; }

/* ── Score bars ──────────────────────────────────────────────────────── */
.bb-scores { padding: 18px; }
.bb-scores__title {
  font-family: var(--bb-font-h); font-weight: 700; font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--bb-muted);
  margin-bottom: 18px;
}
.bb-score { margin-bottom: 18px; }
.bb-score__header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.bb-score__label { font-family: var(--bb-font-h); font-weight: 500; font-size: 13.5px; }
.bb-score__value { font-family: var(--bb-font-h); font-weight: 800; font-size: 24px; color: var(--bb-red); line-height: 1; }
.bb-score__max  { font-family: var(--bb-font-h); font-size: 13px; color: var(--bb-muted); font-weight: 400; }
.bb-score__track { height: 5px; background: var(--bb-faint); border-radius: 3px; overflow: hidden; }
.bb-score__fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--bb-yellow), var(--bb-red));
  width: 0; transition: width 0.9s cubic-bezier(0.4,0,0.2,1);
}
.bb-score__fill.animated { /* width set by JS */ }
.bb-scores__overall {
  margin-top: 18px; padding-top: 18px; border-top: 2px solid var(--bb-faint);
  display: flex; justify-content: space-between; align-items: center;
}
.bb-scores__overall-label { font-family: var(--bb-font-h); font-weight: 700; font-size: 14px; }
.bb-scores__overall-value { font-family: var(--bb-font-h); font-weight: 800; font-size: 36px; line-height: 1; color: var(--bb-red); }
.bb-scores__overall-max   { font-family: var(--bb-font-h); font-size: 15px; color: var(--bb-muted); font-weight: 400; }

/* ── Shortcode: partcolor chip ───────────────────────────────────────── */
.part-chip { position: relative; display: inline; margin-right: 0.22em; }
.part-chip__label {
  display: inline-flex; align-items: baseline; gap: 0;
  border-radius: 5px; padding: 0px 4px 0px 4px;
  font-family: var(--bb-font-h); font-size: 0.85em;
  vertical-align: center; cursor: default; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.1);
}
.part-chip__name   { font-weight: 400; }
.part-chip__suffix { opacity: 0.55; font-size: 0.88em; margin-left: 3px; }
.part-chip__color  { font-weight: 700; margin-left: 5px; }
.part-chip__preview {
  display: flex;
  visibility: hidden; opacity: 0;
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%); z-index: 200;
  background: var(--bb-surface); border-radius: 10px; padding: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18), 0 0 0 1px var(--bb-border);
  flex-direction: column; align-items: center; gap: 8px; min-width: 130px;
  pointer-events: none;
}
.part-chip:hover .part-chip__preview { visibility: visible; opacity: 1; }
.part-chip__preview img {
  width: 150px; height: 150px; object-fit: contain; border-radius: 6px;
  background: var(--bb-faint);
}
.part-chip__preview-label {
  font-family: var(--bb-font-h); font-size: 10px;
  color: var(--bb-muted); text-align: center; line-height: 1.4; max-width: 120px;
}
.part-chip__caret {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 6px solid transparent; border-right: 6px solid transparent;
  border-top: 6px solid var(--bb-border);
}

/* ── Shortcode: color chip ───────────────────────────────────────────── */
.color-chip { position: relative; display: inline; margin-right: 0.22em; }
.color-chip__label {
  display: inline-flex; align-items: baseline; gap: 0;
  border-radius: 5px; padding: 0px 4px 0px 4px;
  font-family: var(--bb-font-h); font-size: 0.85em;
  vertical-align: center; cursor: default; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.1);
}
.color-chip__name { font-weight: 700; }

/* ── Shortcode: set reference ────────────────────────────────────────── */
.set-ref { position: relative; display: inline; }
.set-ref__link {
  display: inline-flex; align-items: baseline; gap: 4px;
  color: var(--bb-red); font-family: var(--bb-font-h);
  font-size: 1em; font-weight: 600; text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.15s; vertical-align: baseline;
}
.set-ref__link:hover { border-bottom-color: var(--bb-red); }
.set-ref__num { font-weight: 400; opacity: 0.6; font-size: 0.92em; }
.set-ref__preview {
  display: none;
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%); z-index: 200;
  background: var(--bb-surface); border-radius: 10px; padding: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18), 0 0 0 1px var(--bb-border);
  flex-direction: column; align-items: center; gap: 8px; min-width: 210px;
  pointer-events: none;
}
.set-ref:hover .set-ref__preview { display: flex; }
.set-ref__preview img {
  width: 190px; height: 130px; object-fit: contain; border-radius: 6px;
  background: var(--bb-faint);
}
.set-ref__preview-label {
  font-family: var(--bb-font-h); font-size: 10px;
  color: var(--bb-muted); text-align: center; line-height: 1.4;
}
.set-ref__preview-num { color: var(--bb-red); font-weight: 600; }
.set-ref__caret {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 6px solid transparent; border-right: 6px solid transparent;
  border-top: 6px solid var(--bb-border);
}

/* ── color.alt ───────────────────────────────────────────────────────── */
.color-chip__alt { opacity: 0.6; font-size: 0.9em; }
.part-chip__alt  { opacity: 0.55; font-size: 0.85em; margin-left: 2px; }

/* ── Post tags ───────────────────────────────────────────────────────── */
.bb-post-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--bb-border);
}
.bb-post-tag {
  font-family: var(--bb-font-h); font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 100px;
  background: var(--bb-faint); color: var(--bb-muted);
  text-decoration: none; transition: background 0.15s, color 0.15s;
  border: 1px solid var(--bb-border);
}
.bb-post-tag:hover { background: var(--bb-text); color: var(--bb-bg); }

/* ── Prev / next nav ─────────────────────────────────────────────────── */
.bb-post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--bb-border);
}
.bb-post-nav__item { display: flex; flex-direction: column; gap: 6px; }
.bb-post-nav__item--next { text-align: right; }
.bb-post-nav__label {
  font-family: var(--bb-font-h); font-size: 11px; font-weight: 600;
  color: var(--bb-muted); letter-spacing: 0.06em; text-transform: uppercase;
}
.bb-post-nav__link {
  font-family: var(--bb-font-h); font-size: 14px; font-weight: 600;
  color: var(--bb-text); text-decoration: none;
  transition: color 0.15s;
}
.bb-post-nav__link:hover { color: var(--bb-red); }

/* ── Shortcode: image ────────────────────────────────────────────────── */
.bb-img-block { margin: 36px 0; }
.bb-img-block img { width: 100%; border-radius: 10px; }
.bb-img-block figcaption {
  margin-top: 12px; font-size: 0.84em; color: var(--bb-muted);
  font-style: italic; text-align: center; line-height: 1.5;
}

/* ── Shortcode: side by side ─────────────────────────────────────────── */
.bb-sidebyside { margin: 36px 0; }
.bb-sidebyside__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bb-sidebyside img { width: 100%; border-radius: 8px; }
.bb-sidebyside figcaption {
  margin-top: 9px; font-size: 0.82em; color: var(--bb-muted);
  font-style: italic; text-align: center; line-height: 1.4;
}

/* ── Lightbox ───────────────────────────────────────────────────────── */
.lightbox-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.93); z-index: 9999;
  align-items: center; justify-content: center;
  cursor: zoom-out;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
  max-width: 92vw; max-height: 92vh;
  object-fit: contain; border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.bb-footer {
  border-top: 1px solid var(--bb-border);
  padding: 24px clamp(16px,4vw,48px);
  text-align: center;
  font-family: var(--bb-font-h); font-size: 12px; color: var(--bb-muted);
}
.bb-footer a { color: var(--bb-muted); text-decoration: none; }
.bb-footer a:hover { color: var(--bb-text); }

/* ── Sets list page ──────────────────────────────────────────────────── */
.bb-list-hero {
  background: #1A1714; position: relative; overflow: hidden;
  padding: clamp(40px,6vw,64px) clamp(16px,4vw,48px);
}
.bb-list-hero__inner { position: relative; max-width: var(--bb-max); margin: 0 auto; }
.bb-list-hero__title {
  font-family: var(--bb-font-h); font-weight: 700;
  font-size: clamp(1.8rem,4vw,2.8rem);
  color: #fff; letter-spacing: -0.03em; margin-bottom: 8px;
}
.bb-list-hero__count { font-family: var(--bb-font-h); font-size: 14px; color: rgba(255,255,255,0.4); }
.bb-list-content { max-width: var(--bb-max); margin: 0 auto; padding: 40px clamp(16px,4vw,48px) 60px; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .bb-review-layout { grid-template-columns: 1fr; }
  .bb-toc { display: none; }
  .bb-sidebar { position: static; }
  .bb-card-grid { grid-template-columns: repeat(2,1fr); }
  .bb-featured { grid-template-columns: 1fr; min-height: auto; }
  .bb-featured__img { height: 260px; }
  .bb-featured__img-overlay { background: linear-gradient(to bottom, transparent 50%, #1A1714 100%); }
}
@media (max-width: 600px) {
  .bb-card-grid { grid-template-columns: 1fr; }
  .bb-nav__links .bb-nav__link { display: none; }
  .bb-nav__links .bb-nav__link:last-of-type { display: block; }
}

.part-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.part-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.part-card__image {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.part-card__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.part-card__bottom {
  margin-bottom: auto;
}

.part-card__info {
  padding: 0.4rem 0.6rem;
  font-size: 0.8rem;
  line-height: 1.3;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 7px;
}

.part-card__name {
  font-weight: 400;
}

.part-card__sep {
  opacity: 0.4;
}

.part-card__color {
  font-weight: 700;
}

.part-card__note {
  margin-bottom: auto;
  font-size: 0.75rem;
  color: #555;
  padding: 0.4rem 0.6rem 0.6rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  line-height: 1.4;
}