/* ============================================================
   BLINDSPOT REDESIGN — Phase 3: Lobby (Vein theme)
   Two-column layout: fighter card on left, sections stacked on right.
   Vein accent: red is the primary accent for data viz, bars, stars,
   icons. Gold is reserved for the brand wordmark only (legacy chrome).
   ============================================================ */

/* ---------- BODY BACKGROUND ----------
   Override legacy `.bs-page { background: var(--bs-bg); }` so the page
   gets the redesign's warm-dark + layered red/gold radial pattern.
   `body.bs-page` (specificity 0,0,1,1) beats `.bs-page` (0,0,1,0). */
body.bs-page {
  background-color: var(--blindspot-bg);
  background-image: var(--blindspot-bg-pattern);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--blindspot-text);
}

/* ---------- SHELL ----------
   ID + class selector beats legacy `#bs-screen-lobby { max-width: 900px }` */
#bs-screen-lobby.blindspot-lobby {
  font-family: var(--blindspot-font-body);
  color: var(--blindspot-text);
  padding: 2.5rem 1.5rem 5rem;
  max-width: 1280px;
  margin: 0 auto;
  background: transparent;
}

/* ---------- HEAD ---------- */
.blindspot-lobby__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.blindspot-lobby__head-meta {
  flex: 1 1 auto;
  min-width: 0;
}
.blindspot-lobby__title {
  font-family: var(--blindspot-font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  margin: 0.4rem 0;
  color: var(--blindspot-text);
}
.blindspot-lobby__sub {
  font-size: 1rem;
  color: var(--blindspot-text-dim);
  margin: 0;
}
.blindspot-lobby__sub strong {
  color: var(--blindspot-accent);
  font-weight: 600;
  margin: 0 0.15em;
}

/* ---------- GRID ---------- */
.blindspot-lobby__grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .blindspot-lobby__grid { grid-template-columns: minmax(0, 1fr); }
  .blindspot-lobby__col--card { max-width: 360px; margin: 0 auto; width: 100%; }
}

/* ---------- FIGHTER CARD (static designed) ---------- */
.blindspot-fighter-card {
  background: linear-gradient(180deg, var(--blindspot-surface), var(--blindspot-bg-2));
  border: 1px solid var(--blindspot-border-2);
  border-radius: var(--blindspot-radius-card);
  overflow: hidden;
  box-shadow: var(--blindspot-shadow-card);
}
.blindspot-fighter-card__art {
  position: relative;
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center top;
  background-color: var(--blindspot-bg-2);
  filter: contrast(1.05) saturate(1.05);
}
.blindspot-fighter-card__chip {
  position: absolute;
  font-family: var(--blindspot-font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.3em 0.6em;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--blindspot-accent-dim);
  color: var(--blindspot-accent);
  border-radius: 2px;
}
.blindspot-fighter-card__chip--rarity { top: 12px; left: 12px; }
.blindspot-fighter-card__chip--title  { top: 12px; right: 12px; }

.blindspot-fighter-card__name-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(13, 8, 7, 0.9));
}
.blindspot-fighter-card__name {
  font-family: var(--blindspot-font-display);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.05;
  color: var(--blindspot-text);
  margin: 0 0 0.25rem;
}
.blindspot-fighter-card__class {
  font-family: var(--blindspot-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blindspot-text-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}
.blindspot-fighter-card__class i {
  color: var(--blindspot-success);
}

.blindspot-fighter-card__stats {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--blindspot-border);
  background: var(--blindspot-surface-2);
}
.blindspot-stat-row {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.85rem;
}
.blindspot-stat-row__label {
  font-family: var(--blindspot-font-mono);
  color: var(--blindspot-text-muted);
  letter-spacing: 0.12em;
  font-size: 0.65rem;
  text-transform: uppercase;
}
.blindspot-stat-row__num {
  font-family: var(--blindspot-font-numeric);
  color: var(--blindspot-text);
  text-align: right;
  font-weight: 600;
}
.blindspot-stat-row__track {
  height: 6px;
  background: var(--blindspot-bg-2);
  border: 1px solid var(--blindspot-border);
  border-radius: 2px;
  overflow: hidden;
}
.blindspot-stat-row__fill {
  height: 100%;
  background: var(--blindspot-accent);
  border-radius: inherit;
}

.blindspot-fighter-card__foot {
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  border-top: 1px solid var(--blindspot-border);
  font-size: 0.8rem;
  text-align: center;
}
.blindspot-fighter-card__foot-cell {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.blindspot-fighter-card__foot-label {
  font-family: var(--blindspot-font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blindspot-text-muted);
}
.blindspot-fighter-card__foot-value {
  font-family: var(--blindspot-font-numeric);
  color: var(--blindspot-accent);
  font-weight: 600;
  font-size: 0.95rem;
}

.blindspot-lobby__card-actions {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ---------- RANK STRIP ----------
   Single horizontal pill: shield icon, "Bronze → SILVER", XP number,
   then a tall red gradient progress bar underneath. */
.blindspot-rank-strip {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  background: var(--blindspot-surface);
  border: 1px solid var(--blindspot-border);
  border-radius: var(--blindspot-radius-tile);
  margin-bottom: 1.5rem;
}
.blindspot-rank-strip__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blindspot-accent);
  color: #FFF6E8;
  border-radius: 4px;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.blindspot-rank-strip__body { min-width: 0; }
.blindspot-rank-strip__row {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  flex-wrap: wrap;
}
.blindspot-rank-strip__row .blindspot-display {
  color: var(--blindspot-accent);
  font-family: var(--blindspot-font-display);
  font-weight: 600;
  font-size: 1.2rem;
}
.blindspot-rank-strip__arrow {
  font-family: var(--blindspot-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blindspot-text-muted);
}
.blindspot-rank-strip__xp {
  margin-left: auto;
  font-family: var(--blindspot-font-numeric);
  font-feature-settings: "tnum" on, "lnum" on;
  font-variant-numeric: tabular-nums;
  color: var(--blindspot-text-dim);
  font-size: 0.95rem;
}

/* ---------- LEVEL HUD ----------
   New lobby HUD: shield icon, level + tier, XP progress. Cloned from
   rank-strip structure but with dedicated child styling. */
.blindspot-level-hud {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  background: var(--blindspot-surface);
  border: 1px solid var(--blindspot-border);
  border-radius: var(--blindspot-radius-tile);
  margin-bottom: 1.5rem;
}
.blindspot-level-hud__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blindspot-accent);
  color: #FFF6E8;
  border-radius: 4px;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.blindspot-level-hud__body { min-width: 0; }
.blindspot-level-hud__row {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  flex-wrap: wrap;
}
.blindspot-level-hud__level {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blindspot-accent, #f5c078);
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}
.blindspot-level-hud__tier {
  font-family: 'Inter', 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bs-text-muted, #a09888);
  margin-left: 0.6rem;
}
.blindspot-level-hud__xp {
  margin-left: auto;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  color: var(--bs-text-muted, #a09888);
  font-variant-numeric: tabular-nums;
}

/* ---------- BAR (XP, bounty) ---------- */
.blindspot-bar {
  height: 12px;
  background: var(--blindspot-bg-2);
  border: 1px solid var(--blindspot-border);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.blindspot-bar__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blindspot-accent-dim), var(--blindspot-accent));
  transition: width 0.4s ease;
}
.blindspot-bar--thin {
  height: 6px;
}

/* ---------- SECTION ---------- */
.blindspot-lobby-section { margin-bottom: 1.6rem; }
.blindspot-lobby-section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.7rem;
  gap: 1rem;
}
.blindspot-lobby-section__head h2 {
  font-family: var(--blindspot-font-display);
  font-weight: 600;
  font-size: 1.3rem;
  margin: 0;
  color: var(--blindspot-text);
  letter-spacing: 0.01em;
}
.blindspot-lobby-section__head-meta {
  font-family: var(--blindspot-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blindspot-accent);
}

/* Lobby stats strip — borderless ledger row. Was four boxed tiles in a
   grid; that read as a third "panel grid" on the right column alongside
   Challenges and Quick Links. Now a single inline strip with hairline
   separators between siblings so the eye reads it as one piece, not four.
   Each segment is still a button (clicks the whole stats screen open).
   Wraps to two rows of 2 on narrow lobbies. */
.blindspot-stats-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  background: transparent;
  border: 0;
}
.blindspot-stat-tile {
  flex: 1 1 0;
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0.5rem 0.85rem 0.55rem;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  transition: color 160ms;
  font: inherit;
  color: inherit;
}
.blindspot-stat-tile + .blindspot-stat-tile {
  border-left: 1px solid var(--blindspot-border, #3A1F1A);
}

/* Header chips: rank + power inline at the top of the lobby so the
   player's identity numbers sit in the highest-attention location. */
.blindspot-lobby__sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}
.blindspot-lobby__sub-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(245, 192, 120, 0.08);
  border: 1px solid rgba(245, 192, 120, 0.22);
  font-family: var(--blindspot-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--blindspot-accent-gold);
}
.blindspot-lobby__sub-chip strong {
  font-weight: 700;
  color: inherit;
}
.blindspot-lobby__sub-divider {
  color: var(--blindspot-text-muted);
  margin: 0 0.05rem;
}

/* Equipped Loadout panel — fills the dead vertical space below the card
   actions in the left column with the player's current cosmetic loadout.
   Six rows: charm / frame / back / plate / victory / title. */
.blindspot-loadout {
  margin-top: 1rem;
  padding: 0.85rem 0.85rem 0.95rem;
  background: rgba(28, 16, 13, 0.55);
  border: 1px solid var(--blindspot-border, #3A1F1A);
  border-radius: var(--blindspot-radius-tile, 4px);
}
.blindspot-loadout__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--blindspot-border, #3A1F1A);
}
.blindspot-loadout__head h3 {
  margin: 0;
  font-family: var(--blindspot-font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blindspot-accent-gold);
  font-weight: 700;
}
.blindspot-loadout__rows {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.blindspot-loadout__row {
  display: grid;
  grid-template-columns: 60px 36px 1fr;
  align-items: center;
  gap: 0.6rem;
}
.blindspot-loadout__label {
  font-family: var(--blindspot-font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blindspot-text-muted);
}
.blindspot-loadout__tile {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 8, 7, 0.6);
  border: 1px solid var(--blindspot-border, #3A1F1A);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.blindspot-loadout__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blindspot-loadout__tile .bs-victory-preview,
.blindspot-loadout__tile .bs-cos-preview {
  width: 100%;
  height: 100%;
}
.blindspot-loadout__tile i.fas {
  font-size: 1rem;
  color: var(--blindspot-accent-gold);
}
.blindspot-loadout__tile--empty {
  border-style: dashed;
  border-color: rgba(245, 192, 120, 0.18);
  background: transparent;
}
.blindspot-loadout__tile--empty i.fas {
  color: var(--blindspot-text-muted);
  opacity: 0.35;
}
.blindspot-loadout__name {
  font-family: var(--blindspot-font-body);
  font-size: 0.78rem;
  color: var(--blindspot-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.blindspot-loadout__name--empty {
  color: var(--blindspot-text-muted);
  font-style: italic;
}
/* Subtle warm pulse behind each tile so the row reads as "earned
   accomplishments" instead of plain text on a flat row. */
.blindspot-stat-tile {
  position: relative;
  transition: transform 160ms ease, background 200ms;
}
.blindspot-stat-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(245, 192, 120, 0.06), transparent 70%);
  opacity: 0.7;
  pointer-events: none;
}
.blindspot-stat-tile:hover,
.blindspot-stat-tile:focus-visible {
  outline: none;
  transform: translateY(-2px);
}
.blindspot-stat-tile:hover .blindspot-stat-tile__value,
.blindspot-stat-tile:focus-visible .blindspot-stat-tile__value {
  color: var(--blindspot-accent-gold-2, #FFD89A);
}
.blindspot-stat-tile:hover::before,
.blindspot-stat-tile:focus-visible::before {
  opacity: 1;
  background: radial-gradient(ellipse at center, rgba(245, 192, 120, 0.14), transparent 70%);
}
.blindspot-stat-tile__label {
  font-family: var(--blindspot-font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blindspot-text-muted);
}
.blindspot-stat-tile__value {
  font-family: var(--blindspot-font-display, 'Cinzel', serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--blindspot-accent-gold, #F5C078);
  line-height: 1;
  letter-spacing: 0.01em;
  transition: color 160ms;
  text-shadow: 0 0 18px rgba(245, 192, 120, 0.18);
  position: relative;
  padding-bottom: 0.25rem;
}
/* Thin gold underline accent — anchors each value visually. */
.blindspot-stat-tile__value::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blindspot-accent-gold-dim, #B8893B), transparent);
}
@media (max-width: 600px) {
  .blindspot-stat-tile { flex: 1 1 50%; }
  /* Reset per-row separators so the wrap looks tidy at 2-up. */
  .blindspot-stat-tile + .blindspot-stat-tile { border-left: 0; }
  .blindspot-stat-tile:nth-child(2n) { border-left: 1px solid var(--blindspot-border, #3A1F1A); }
}

/* Inline "View all →" link in section headers — pinned to the right of
   the count meta. Mono-caps to match the meta, gold to match the
   campaign call-to-action. Background-less button so it reads as a
   text link, not a primary CTA. */
.blindspot-section-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  background: transparent;
  border: 0;
  padding: 0.2rem 0.4rem;
  cursor: pointer;
  font-family: var(--blindspot-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blindspot-accent-gold, #F5C078);
  transition: color 160ms ease, transform 160ms ease;
}
.blindspot-section-link:hover,
.blindspot-section-link:focus-visible {
  color: var(--blindspot-text);
  transform: translateX(2px);
}
.blindspot-section-link i {
  font-size: 0.8em;
  opacity: 0.85;
}

/* ---------- BOUNTIES ---------- */
.blindspot-bounties {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.blindspot-bounty {
  display: grid;
  grid-template-columns: 36px max-content 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.65rem 0.9rem;
  background: var(--blindspot-surface);
  border: 1px solid var(--blindspot-border);
  border-radius: var(--blindspot-radius-tile);
  font-size: 0.95rem;
}
.blindspot-bounty.is-done {
  border-color: var(--blindspot-success);
  opacity: 0.8;
}
.blindspot-bounty__check {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--blindspot-font-mono);
  font-size: 0.75rem;
  color: var(--blindspot-text-dim);
}
.blindspot-bounty.is-done .blindspot-bounty__check { color: var(--blindspot-success); }
.blindspot-bounty__name { color: var(--blindspot-text); }
.blindspot-bounty__bar { width: 100%; min-width: 120px; }
.blindspot-bounty__reward {
  font-family: var(--blindspot-font-mono);
  color: var(--blindspot-accent);
  font-size: 0.7rem;
  text-align: right;
  letter-spacing: 0.05em;
}
@media (max-width: 600px) {
  .blindspot-bounty {
    grid-template-columns: 36px 1fr;
    grid-row-gap: 0.4rem;
  }
  .blindspot-bounty__bar { grid-column: 1 / -1; width: 100%; }
  .blindspot-bounty__reward { grid-column: 2 / -1; text-align: left; }
}

/* ---------- BOSS RAIL ---------- */
.blindspot-boss-rail {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.4rem 0 0.8rem;
  scrollbar-width: thin;
}
.blindspot-boss-pip {
  flex-shrink: 0;
  width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.blindspot-boss-pip__img {
  width: 64px;
  height: 155px;
  background-size: cover;
  background-position: center top;
  border: 1px solid var(--blindspot-border-2);
  border-radius: var(--blindspot-radius-tile);
  position: relative;
  filter: grayscale(0.6) brightness(0.6);
  transition: transform 200ms,
              border-color 200ms,
              filter 200ms;
}
.blindspot-boss-pip.is-done .blindspot-boss-pip__img {
  filter: none;
  border-color: var(--blindspot-success);
}
.blindspot-boss-pip:hover .blindspot-boss-pip__img,
.blindspot-boss-pip:focus-visible .blindspot-boss-pip__img {
  transform: translateY(-2px);
  border-color: var(--blindspot-accent);
  filter: none;
}
.blindspot-boss-pip__check {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  background: var(--blindspot-success);
  color: #0E0A06;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
}
.blindspot-boss-pip.is-done .blindspot-boss-pip__check { display: flex; }

/* Current — your next-up boss, the call-to-action.
   Bright + amber border + soft glow so the player reads it as
   "click here next" without confusion. Outranks the default dim
   filter via a more specific selector. */
.blindspot-boss-pip--current .blindspot-boss-pip__img {
  filter: none;
  border-color: var(--blindspot-accent-gold, #F5C078);
  box-shadow: 0 0 12px rgba(245, 192, 120, 0.45);
}
.blindspot-boss-pip--current .blindspot-boss-pip__num {
  color: var(--blindspot-accent-gold, #F5C078);
}

/* Locked — beyond your progression. Dimmed past the default state +
   small lock badge mirroring the green check slot. Critically: hover
   does NOT clear the filter, so the visual matches the click result
   (which now toasts instead of navigating). */
.blindspot-boss-pip--locked {
  cursor: not-allowed;
}
.blindspot-boss-pip--locked .blindspot-boss-pip__img {
  filter: grayscale(0.95) brightness(0.45);
}
.blindspot-boss-pip--locked:hover .blindspot-boss-pip__img,
.blindspot-boss-pip--locked:focus-visible .blindspot-boss-pip__img {
  filter: grayscale(0.95) brightness(0.45);
  transform: none;
  border-color: var(--blindspot-border-2);
}
/* Lock icon overlay — same slot as the green check (top-right corner). */
.blindspot-boss-pip--locked .blindspot-boss-pip__img::after {
  content: '\f023'; /* fa-lock */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--blindspot-text-muted, #7A5E4C);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
}
.blindspot-boss-pip__num {
  font-family: var(--blindspot-font-mono);
  font-size: 0.6rem;
  color: var(--blindspot-text-muted);
}
.blindspot-boss-pip--asc .blindspot-boss-pip__img {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blindspot-accent);
  background: var(--blindspot-surface);
  border-color: var(--blindspot-accent-dim);
  filter: none;
  font-size: 1.2rem;
}

/* ---------- CHALLENGES ---------- */
.blindspot-challenges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
@media (max-width: 600px) {
  .blindspot-challenges { grid-template-columns: 1fr; }
}
.blindspot-chal {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.7rem 0.9rem;
  background: var(--blindspot-surface);
  border: 1px solid var(--blindspot-border);
  border-radius: var(--blindspot-radius-tile);
}
.blindspot-chal__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--blindspot-surface-2);
  border: 1px solid var(--blindspot-border-2);
  border-radius: var(--blindspot-radius-tile);
  color: var(--blindspot-accent);
}
.blindspot-chal__name {
  font-family: var(--blindspot-font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
  color: var(--blindspot-text);
}
.blindspot-chal__desc {
  font-size: 0.8rem;
  color: var(--blindspot-text-dim);
}
.blindspot-chal__stars {
  display: flex;
  gap: 0.15rem;
}
.blindspot-chal__stars .star {
  color: var(--blindspot-text-muted);
  font-size: 0.95rem;
  line-height: 1;
}
.blindspot-chal__stars .star.is-on { color: var(--blindspot-accent); }

/* ---------- QUICK LINKS ---------- */
.blindspot-quick-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: 1.5rem;
}
@media (max-width: 600px) {
  .blindspot-quick-links { grid-template-columns: 1fr; }
}
/* Quick Links are navigation, not panels. Stripped the surface bg and
   per-tile rounded border so they read as a list of destinations rather
   than another grid of cards alongside Stats and Challenges. Kept a
   1px hairline bottom-border so the rows have visual separation; columns
   stay aligned because the grid forces equal row heights. */
.blindspot-ql {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.5rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--blindspot-border);
  border-radius: 0;
  text-align: left;
  cursor: pointer;
  color: var(--blindspot-text);
  font: inherit;
  transition: background-color var(--blindspot-transition-fast),
              color var(--blindspot-transition-fast);
}
.blindspot-ql:hover:not(:disabled),
.blindspot-ql:focus-visible {
  background-color: rgba(245, 192, 120, 0.04);
  outline: none;
}
.blindspot-ql:hover:not(:disabled) .blindspot-ql__title,
.blindspot-ql:focus-visible .blindspot-ql__title {
  color: var(--blindspot-accent-gold, #F5C078);
}
.blindspot-ql:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.blindspot-ql > i:first-child,
.blindspot-ql > svg:first-child {
  color: var(--blindspot-accent);
  font-size: 0.9rem;
  justify-self: center;
}
.blindspot-ql__body { min-width: 0; }
.blindspot-ql__title {
  font-family: var(--blindspot-font-display);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--blindspot-transition-fast);
}
.blindspot-ql__desc {
  font-size: 0.78rem;
  color: var(--blindspot-text-dim);
  line-height: 1.3;
}
.blindspot-ql__lock {
  font-family: var(--blindspot-font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blindspot-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}
.blindspot-ql__chev {
  color: var(--blindspot-text-muted);
  font-size: 0.7rem;
}

/* ============================================================
   SCOPE-RESTYLE — legacy bs-rendered-card / bs-rc-* markup
   bs-card-renderer.js writes the player's card into #bs-player-card.
   Recolor its parts within .blindspot-lobby scope to match the Vein
   palette. Selectors at 0,0,2,0+ to beat legacy `.bs-rc-*` rules.
   ============================================================ */
.blindspot-lobby .bs-rendered-card {
  background: linear-gradient(180deg, var(--blindspot-surface), var(--blindspot-bg-2));
  border: 1px solid var(--blindspot-border-2);
  border-radius: var(--blindspot-radius-card);
  box-shadow: var(--blindspot-shadow-card);
  color: var(--blindspot-text);
}
.blindspot-lobby .bs-rc__name {
  font-family: var(--blindspot-font-display);
  font-weight: 600;
  color: var(--blindspot-text);
  letter-spacing: 0.01em;
}
.blindspot-lobby .bs-rc__class {
  font-family: var(--blindspot-font-mono);
  color: var(--blindspot-text-dim);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.65rem;
}
.blindspot-lobby .bs-rc__title-badge {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--blindspot-accent-dim);
  color: var(--blindspot-accent);
  font-family: var(--blindspot-font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.blindspot-lobby .bs-rc__power {
  color: var(--blindspot-accent);
  font-family: var(--blindspot-font-numeric);
  font-feature-settings: "tnum" on, "lnum" on;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.blindspot-lobby .bs-rc__element {
  font-family: var(--blindspot-font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.blindspot-lobby .bs-rc-stat__bar {
  background: var(--blindspot-bg-2);
  border: 1px solid var(--blindspot-border);
  border-radius: 2px;
}
.blindspot-lobby .bs-rc-stat__fill {
  border-radius: inherit;
}
.blindspot-lobby .bs-rc-stat__label {
  font-family: var(--blindspot-font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.65rem;
}
.blindspot-lobby .bs-rc-stat__val {
  font-family: var(--blindspot-font-numeric);
  font-feature-settings: "tnum" on, "lnum" on;
  font-variant-numeric: tabular-nums;
  color: var(--blindspot-text);
  font-weight: 600;
}

/* Forge progress meter — anvil backdrop, text right-justified into the dark side of the image */
.blindspot-lobby #bs-forge-progress {
  background:
    linear-gradient(90deg, rgba(13, 8, 7, 0.0) 45%, rgba(13, 8, 7, 0.55) 100%),
    var(--blindspot-surface) url('../img/card-forge.webp') left center / cover no-repeat;
  border: 1px solid var(--blindspot-border);
  border-radius: var(--blindspot-radius-tile);
  min-height: 96px;
  padding: 0.7rem 0.9rem 0.75rem 50%;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}
.blindspot-lobby .bs-forge-progress__label,
.blindspot-lobby #bs-forge-label {
  font-family: var(--blindspot-font-mono);
  letter-spacing: 0.18em;
  color: var(--blindspot-accent-gold);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}
.blindspot-lobby .bs-forge-progress__hint,
.blindspot-lobby #bs-forge-hint {
  font-family: var(--blindspot-font-body);
  color: var(--blindspot-text);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}
.blindspot-lobby .bs-forge-progress__bar {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.45);
  border-radius: 2px;
}
.blindspot-lobby .bs-forge-progress__bar-fill,
.blindspot-lobby #bs-forge-fill {
  background: linear-gradient(90deg, var(--blindspot-accent-gold-dim), var(--blindspot-accent-gold));
}

/* Card switcher arrows */
.blindspot-lobby .bs-card-switcher {
  background: var(--blindspot-surface);
  border: 1px solid var(--blindspot-border);
  border-radius: var(--blindspot-radius-pill);
  color: var(--blindspot-text-dim);
}
.blindspot-lobby .bs-card-switcher__btn {
  background: transparent;
  border: 0;
  color: var(--blindspot-text-dim);
  cursor: pointer;
  transition: color var(--blindspot-transition-fast);
}
.blindspot-lobby .bs-card-switcher__btn:hover {
  color: var(--blindspot-accent);
}
.blindspot-lobby .bs-card-switcher__count {
  font-family: var(--blindspot-font-mono);
  color: var(--blindspot-text);
}

/* ---------- LOOT ZONE ---------- */
.blindspot-lobby #bs-loot-zone {
  background: var(--blindspot-surface);
  border: 1px solid var(--blindspot-border);
  border-radius: var(--blindspot-radius-tile);
  padding: 0.85rem 1rem;
  margin: 1.5rem 0;
}
.blindspot-lobby #bs-loot-zone .bs-loot-zone__header {
  font-family: var(--blindspot-font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--blindspot-text);
  background: transparent;
  padding: 0;
  margin: 0;
  border: 0;
}
.blindspot-lobby #bs-loot-zone .bs-loot-zone__header i {
  color: var(--blindspot-accent);
  margin-right: 0.4em;
}

/* ============================================================
   JS-OUTPUT OVERRIDES — restyle legacy markup that bs-rewards.js
   injects into #bs-bounties and #bs-challenges.
   ============================================================ */

/* Hide JS-rendered duplicate inner headers */
.blindspot-lobby #bs-bounties .bs-bounties__header,
.blindspot-lobby #bs-challenges .bs-challenges__header {
  display: none;
}

/* JS-rendered .bs-bounty rows */
.blindspot-lobby #bs-bounties {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: transparent;
  border: 0;
  padding: 0;
}
.blindspot-lobby #bs-bounties .bs-bounty {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.65rem 0.9rem;
  background: var(--blindspot-surface);
  border: 1px solid var(--blindspot-border);
  border-radius: var(--blindspot-radius-tile);
  font-family: var(--blindspot-font-body);
  font-size: 0.95rem;
  color: var(--blindspot-text);
  box-shadow: none;
  /* Anchor + clip the in-row progress strip rendered by ::before. */
  position: relative;
  overflow: hidden;
}
/* In-row progress fill — width is set per-row via the --bounty-pct
   custom property written by renderBounties (bs-rewards.js). Sits on
   the bottom edge so it reads as a row "filling up" rather than a
   separate bar. Single-target bounties (target=1, no chip shown)
   render at 0% or 100% so the toggle still visually completes. */
.blindspot-lobby #bs-bounties .bs-bounty::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: var(--bounty-pct, 0%);
  background: linear-gradient(90deg, var(--blindspot-accent-dim, #8E2220), var(--blindspot-accent-gold, #F5C078));
  transition: width 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
.blindspot-lobby #bs-bounties .bs-bounty--done::before {
  /* Animated shimmer on the completed-bounty progress bar so the row
     reads as "just claimed" instead of "passively done." Loops slowly. */
  background: linear-gradient(90deg,
    var(--blindspot-success) 0%,
    rgba(140, 230, 170, 1) 50%,
    var(--blindspot-success) 100%);
  background-size: 200% 100%;
  box-shadow: 0 0 10px rgba(72, 187, 120, 0.5);
  animation: bs-bounty-shimmer 3s linear infinite;
}
@keyframes bs-bounty-shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}
.blindspot-lobby #bs-bounties .bs-bounty--done {
  border-color: var(--blindspot-success);
  opacity: 1;
  box-shadow: inset 0 0 12px rgba(72, 187, 120, 0.08);
  background: linear-gradient(180deg, rgba(72, 187, 120, 0.06), transparent 60%);
}
.blindspot-lobby #bs-bounties .bs-bounty i {
  color: var(--blindspot-text-dim);
  font-size: 0.95rem;
  transition: color 200ms, transform 240ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.blindspot-lobby #bs-bounties .bs-bounty--done i {
  color: var(--blindspot-success);
  transform: scale(1.18);
  text-shadow: 0 0 8px rgba(72, 187, 120, 0.6);
}
/* Reward chip on completed bounties pops with success color + gold halo */
.blindspot-lobby #bs-bounties .bs-bounty--done .bs-bounty__reward {
  color: var(--blindspot-success);
  text-shadow: 0 0 6px rgba(72, 187, 120, 0.4);
  font-weight: 700;
}
.blindspot-lobby #bs-bounties .bs-bounty__reward {
  font-family: var(--blindspot-font-mono);
  color: var(--blindspot-accent);
  font-size: 0.7rem;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: right;
  letter-spacing: 0.05em;
}

/* JS-rendered .bs-challenge — 2-col grid */
.blindspot-lobby #bs-challenges {
  display: block;
  background: transparent;
  border: 0;
  padding: 0;
}
.blindspot-lobby #bs-challenges .bs-challenges__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  background: transparent;
  border: 0;
  padding: 0;
}
@media (max-width: 600px) {
  .blindspot-lobby #bs-challenges .bs-challenges__list { grid-template-columns: 1fr; }
}
.blindspot-lobby #bs-challenges .bs-challenge {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.7rem 0.9rem;
  background: var(--blindspot-surface);
  border: 1px solid var(--blindspot-border);
  border-radius: var(--blindspot-radius-tile);
  box-shadow: none;
  margin: 0;
}
.blindspot-lobby #bs-challenges .bs-challenge:hover {
  border-color: var(--blindspot-accent-dim);
}
.blindspot-lobby #bs-challenges .bs-challenge__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: var(--blindspot-surface-2);
  border: 1px solid var(--blindspot-border-2);
  border-radius: var(--blindspot-radius-tile);
  color: var(--blindspot-accent);
}
.blindspot-lobby #bs-challenges .bs-challenge__info { min-width: 0; }
.blindspot-lobby #bs-challenges .bs-challenge__name {
  font-family: var(--blindspot-font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blindspot-text);
  margin-bottom: 0.1rem;
}
.blindspot-lobby #bs-challenges .bs-challenge__desc {
  font-size: 0.8rem;
  color: var(--blindspot-text-dim);
}
/* Per-row progress bar — was `display: none` in the lobby, so the row
   only signalled progress via the trailing star icons. Reveal it as a
   thin gold-accent fill that sits under the description so the eye can
   read in-flight progress without parsing the stars. JS already writes
   the correct width (renderChallenges in bs-rewards.js). */
.blindspot-lobby #bs-challenges .bs-challenge__bar {
  display: block;
  height: 3px;
  margin-top: 0.4rem;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 2px;
  overflow: hidden;
}
.blindspot-lobby #bs-challenges .bs-challenge__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blindspot-accent-dim, #8E2220), var(--blindspot-accent-gold, #F5C078));
  border-radius: 2px;
  transition: width 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.blindspot-lobby #bs-challenges .bs-challenge--maxed .bs-challenge__fill {
  background: var(--blindspot-accent-gold, #F5C078);
  box-shadow: 0 0 6px rgba(245, 192, 120, 0.45);
}
.blindspot-lobby #bs-challenges .bs-challenge__stars {
  display: flex;
  gap: 0.15rem;
  color: var(--blindspot-text-muted);
  font-size: 0.95rem;
}
.blindspot-lobby #bs-challenges .bs-challenge__stars .is-on,
.blindspot-lobby #bs-challenges .bs-challenge__stars i.fa-star,
.blindspot-lobby #bs-challenges .bs-challenge__stars i.fas.fa-star {
  color: var(--blindspot-accent);
}

/* ============================================================
   POST-REVIEW POLISH
   - Demote red to CTA + active progress only; warm tan for chips, meta,
     ascension, lock states.
   - Wire up new selectors (ROSTER label, bounty progress chip, reset
     timer, MASTERED chip).
   - Vertical-center the left card column on desktop.
   - Lobby-scoped stat-bar desaturation so card stat colors don't fight
     the moody serif aesthetic.
   ============================================================ */

/* #4 Red palette demotion (lobby-scoped). The headline streak/best/
   xp-remaining values keep the red accent on the CEO's request — they
   read as live data points, not chrome. */
.blindspot-lobby__sub strong { color: var(--blindspot-accent); }
/* Zero-state demotion — red on a `0` reads as "this is bad" when it's
   actually just "you haven't got any yet." JS toggles .is-zero on
   #bs-streak / #bs-best when their value === 0. */
.blindspot-lobby__sub strong.is-zero { color: var(--blindspot-text-muted); }
.blindspot-lobby-section__head-meta { color: var(--blindspot-accent-gold); }
.blindspot-lobby #bs-bounties .bs-bounty__reward { color: var(--blindspot-accent-gold); }
.blindspot-lobby .blindspot-boss-pip--asc .blindspot-boss-pip__img {
  color: var(--blindspot-accent-gold);
  border-color: var(--blindspot-accent-gold-dim);
}
.blindspot-lobby .blindspot-ql__lock { color: var(--blindspot-text-muted); }
.blindspot-lobby .blindspot-ql__lock i { color: var(--blindspot-accent-gold); }

/* State chip on directory rows (Boss Codex progress, Sparks balance,
   Gallery count). Same shape as .blindspot-ql__lock but neutral gold. */
.blindspot-ql__chip {
  font-family: var(--blindspot-font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blindspot-accent-gold);
  background: rgba(245, 192, 120, 0.08);
  border: 1px solid rgba(245, 192, 120, 0.22);
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  white-space: nowrap;
}
.blindspot-ql__chip i { color: var(--blindspot-accent-gold); font-size: 0.7em; }
.blindspot-ql__chip--sparks { color: var(--bs-accent, var(--blindspot-accent)); border-color: rgba(239, 159, 39, 0.35); background: rgba(239, 159, 39, 0.1); }
.blindspot-ql__chip--sparks i { color: var(--bs-accent, var(--blindspot-accent)); }

/* #14 NOTE: vertical centering tried, reverted — the right column stacks
   tall (rank, bounties, campaign, challenges, loot, quick links) so
   centering the left column dropped the card well below the header,
   leaving a worse gap above than the original gap below. Keeping the
   default `align-items: start` from the grid parent. Pinning a small
   module below the action buttons is the right follow-up, but out of
   scope for this targeted-fix pass.
   Killing the wrapper's 12px top padding in lobby scope so the card
   tops align with the rank strip on the right. */
.blindspot-lobby .bs-lobby__card-wrapper { padding-top: 0; }

/* #7 Roster label above the card pager */
.bs-card-switcher__label {
  display: block;
  font-family: var(--blindspot-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blindspot-text-muted);
  text-align: center;
  margin-bottom: 0.25rem;
}

/* #9 Bounty progress chip + reset countdown.
   Widen the JS-rendered grid to 4 cols so the progress chip has its own
   slot. Reward stays last. */
.blindspot-lobby #bs-bounties .bs-bounty {
  grid-template-columns: 36px 1fr auto auto;
  column-gap: 0.7rem;
}
.blindspot-lobby #bs-bounties .bs-bounty__text { color: var(--blindspot-text); }
.blindspot-lobby #bs-bounties .bs-bounty__progress {
  font-family: var(--blindspot-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--blindspot-text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--blindspot-border);
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}
.blindspot-lobby #bs-bounties .bs-bounty--done .bs-bounty__progress {
  color: var(--blindspot-success);
  border-color: var(--blindspot-success);
}
.blindspot-lobby-section__head .blindspot-lobby-section__head-meta {
  /* Section meta already styled; let the bounty meta render its full string
     (e.g. "1/3 · Resets in 4h 22m") without truncation. */
  white-space: nowrap;
}

/* #10 Maxed challenge — subtle gold treatment + MASTERED chip */
.blindspot-lobby #bs-challenges .bs-challenge--maxed {
  border-color: var(--blindspot-accent-gold-dim);
  background: linear-gradient(180deg, var(--blindspot-surface), rgba(245, 192, 120, 0.06));
}
.bs-challenge__mastered {
  display: inline-block;
  font-family: var(--blindspot-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blindspot-accent-gold);
  border: 1px solid var(--blindspot-accent-gold-dim);
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: rgba(245, 192, 120, 0.06);
}

/* #5 Stat-bar desaturation (lobby-scoped). The shared card renderer writes
   stat colors inline on .bs-rc-stat__label and .bs-rc-stat__fill, so we
   filter the bar container only. Avatar art, element badge, and border
   tier glow stay at full saturation. PvP + share-modal cards untouched. */
.blindspot-lobby #bs-player-card .bs-rc-stats { filter: saturate(0.6); }

/* #12 Boss Codex modal — list of bosses with locked/defeated state */
.bs-codex-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 60vh;
  overflow-y: auto;
}
.bs-codex-row {
  background: var(--blindspot-bg-2);
  border: 1px solid var(--blindspot-border);
  border-radius: var(--blindspot-radius-card, 4px);
  padding: 0.75rem 0.9rem;
}
.bs-codex-row--defeated { border-color: var(--blindspot-success); }
.bs-codex-row--locked { opacity: 0.7; }
.bs-codex-row__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}
.bs-codex-row__num {
  font-family: var(--blindspot-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--blindspot-text-muted);
}
.bs-codex-row__name {
  font-family: var(--blindspot-font-display);
  font-size: 1rem;
  margin: 0;
  flex: 1;
  color: var(--blindspot-text);
}
.bs-codex-row__status {
  font-family: var(--blindspot-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blindspot-success);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.bs-codex-row__status--locked { color: var(--blindspot-text-muted); }
.bs-codex-row__flavor {
  font-size: 0.85rem;
  color: var(--blindspot-text-dim);
  margin: 0 0 0.5rem;
  font-style: italic;
}
.bs-codex-row__flavor--locked { font-style: normal; }
.bs-codex-row__intel {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.2rem 0.7rem;
  margin: 0;
  font-size: 0.8rem;
}
.bs-codex-row__intel dt {
  font-family: var(--blindspot-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blindspot-text-muted);
}
.bs-codex-row__intel dd { margin: 0; color: var(--blindspot-text); }
.bs-codex-empty {
  text-align: center;
  color: var(--blindspot-text-muted);
  padding: 1rem;
  font-size: 0.85rem;
}

/* #11 Collection thumbnails — up to 3 mini icons inline in the row */
.bs-collection-panel__previews {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: auto;
}
.bs-collection-panel__thumb {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--blindspot-border);
  border-radius: 50%;
  font-size: 0.7rem;
}
.bs-collection-panel__previews + .bs-collection-panel__count { margin-left: 0.4rem; }
