/* ==========================================================================
   FSN — the binder panel on a GM page.

   The card faces are 514x706 pieces of art and they live in the rip. What
   belongs on a GM page is the RECORD: what the club was dealt, what is still
   sealed, and how much of Series One that adds up to. So this is a ledger in
   the site's own voice, not a shrunken shop window.
   ========================================================================== */

/* -------------------------------- the sixth cell in the This-season bar */
.nowbar.has-binder { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.nowcell.is-binder { position: relative; }
.nowcell.is-binder .value small {
  font-size: 15px; color: var(--gray-text); font-family: var(--mono);
  font-weight: 500; margin-left: 2px;
}
.nowcell.is-binder .stack {
  position: absolute; right: 13px; top: 13px; width: 30px; height: 40px;
}
.nowcell.is-binder .stack i {
  position: absolute; inset: 0; border-radius: 2px;
  background: linear-gradient(160deg, #3a4658 0%, #1c2430 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.nowcell.is-binder .stack i:nth-child(1) { transform: rotate(-8deg) translateX(-4px); }
.nowcell.is-binder .stack i:nth-child(2) { transform: rotate(4deg) translateX(3px); }
@media (max-width: 1100px) { .nowbar.has-binder { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 900px) {
  .nowbar.has-binder { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nowcell.is-binder .stack { display: none; }
}

/* ========================================================== the panel, v2
   The cards are the point. Real faces, scaled from their authored 514x706
   into whatever box they land in — the same trick the rip uses, because
   re-authoring a card at a second size is how two versions of a card start
   disagreeing. */
.bd { display: flex; flex-direction: column; gap: 22px; }

/* ---------------------------------------------------------- a card face */
.bcard {
  position: relative; width: 100%; aspect-ratio: 514 / 706;
  perspective: 1200px; cursor: pointer; overflow: visible;
  transition: transform .18s ease;
}
.bcard:hover { transform: translateY(-4px); }
.bcard-flip {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.18,.86,.22,1);
}
.bcard.flip .bcard-flip { transform: rotateY(180deg); }
.bcard-s {
  position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden;
  background: #0B0F14; border-radius: 13px;
  box-shadow: 0 10px 26px -12px rgba(10,14,20,.6);
}
.bcard-s.b { transform: rotateY(180deg); }
.bcard-in {
  position: absolute; left: 0; top: 0; width: 514px; height: 706px; transform-origin: 0 0;
  /* the tile sets --fsn-fit; the face is drawn at 514x706 and scaled into it */
  transform: scale(var(--fsn-fit, 1));
  /* a face off the screen is not drawn: the browser keeps the box and skips
     the gradients, the shadows and the colour filter inside it */
  content-visibility: auto; contain-intrinsic-size: 514px 706px;
}
.bcard-wait {
  position: absolute; inset: 0; border-radius: 13px; display: grid;
  place-content: center; text-align: center; gap: 5px; padding: 12px;
  background: linear-gradient(160deg, #1a2130, #0d1219);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.bcard-wait span { font: 700 13px/1.2 var(--cond); letter-spacing: .06em;
  text-transform: uppercase; color: #cfd6df; }
.bcard-wait i { font-style: normal; font-size: 10px; color: #6E7E90; }

.bcard-fav {
  position: absolute; top: 7px; right: 7px; z-index: 3;
  width: 27px; height: 27px; border-radius: 999px; cursor: pointer;
  display: grid; place-items: center; padding: 0;
  border: 1px solid rgba(255,255,255,.25); background: rgba(8,12,18,.6);
  color: rgba(255,255,255,.55); font-size: 13px; line-height: 1;
  transition: transform .14s ease, background .14s ease, color .14s ease;
}
.bcard-fav:hover { transform: scale(1.12); color: #fff; }
.bcard-fav.on { background: #C8A24B; border-color: #C8A24B; color: #12161d; }
.bcard-fav.is-full { animation: bd-nope .4s ease; border-color: var(--fsn-red); }
@keyframes bd-nope { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.bcard-tag {
  position: absolute; left: 0; right: 0; bottom: -17px; text-align: center;
  font: 500 9.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase;
  color: var(--gray-text); pointer-events: none;
}
.bcard-tag b { color: var(--ink-2); }
/* a copy that came by trade says so on the copy; its card files under its
   own set and series like any other */
.bcard-via {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%); z-index: 3;
  pointer-events: none; white-space: nowrap;
  font: 700 8px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 6px 2px; border-radius: 3px;
  background: #1D2836; color: #E8C878; border: 1px solid rgba(200,162,75,.55);
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
}
@media (prefers-reduced-motion: reduce) {
  .bcard, .bcard-flip { transition: none; }
  .bcard:hover { transform: none; }
}

/* ---------------------------------------------------------- the showcase */
.bd-show {
  position: relative; overflow: hidden;
  padding: 18px 20px 30px; border-radius: var(--radius);
  background: radial-gradient(120% 180% at 12% -40%, var(--case-hi) 0%, var(--case) 60%, var(--case-lo) 100%);
  border: 1px solid #23262d;
}
.bd-show > * { position: relative; z-index: 1; }
.bd-show-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.bd-show-h h3 {
  margin: 0; font: 700 12px/1 var(--cond); letter-spacing: .16em;
  text-transform: uppercase; color: var(--case-ink);
}
/* ---------------------------------------------------------- the display case
   The GM's own look for the showcase, on the binder and in miniature on
   the landing: a case colour from six, the lights on or off and their
   colour, and one card in the SPOTLIGHT — centre, larger, lit. Everyone
   sees it; only the GM sets it. No style at all is the first line: ink,
   warm lights on. */
.bd-show, .bshelf-fan.bd-case, .bd-rack {
  --case: #0C121B; --case-hi: #1D2836; --case-lo: #07090E; --case-ink: #FFF3CC; --case-sub: #7E8EA0;
  --lamp: rgba(255, 214, 150, .55); --lamp-soft: rgba(255, 214, 150, .18);
}
[data-bg="oak"]   { --case: #4A2E1B; --case-hi: #6E4729; --case-lo: #2A190D; }
[data-bg="felt"]  { --case: #16402E; --case-hi: #245A40; --case-lo: #0B2018; }
[data-bg="slate"] { --case: #2B3038; --case-hi: #434A55; --case-lo: #171A1F; }
[data-bg="wine"]  { --case: #4C1322; --case-hi: #6E1E33; --case-lo: #2A0A12; }
[data-bg="cream"] { --case: #EDE3CE; --case-hi: #FBF6EA; --case-lo: #D6C8A8; --case-ink: #3A2E1A; --case-sub: #7A6A50; }
[data-light="cool"] { --lamp: rgba(200, 225, 255, .55); --lamp-soft: rgba(200, 225, 255, .18); }
[data-light="gold"] { --lamp: rgba(232, 200, 120, .62); --lamp-soft: rgba(232, 200, 120, .2); }
[data-light="red"]  { --lamp: rgba(255, 90, 110, .5);  --lamp-soft: rgba(255, 90, 110, .16); }
/* the lamps: a cone from above, brightest where the spotlight card sits */
.bd-show[data-lights="on"]::before, .bshelf-fan.bd-case[data-lights="on"]::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(55% 80% at 50% -8%, var(--lamp) 0%, var(--lamp-soft) 45%, transparent 75%);
}
.bd-show[data-lights="off"] .bd-loader, .bshelf-fan.bd-case[data-lights="off"] .bcard { filter: brightness(.6) saturate(.85); }
.bd-show[data-lights="off"] .bd-loader::after { opacity: .3; }
.bd-show[data-lights="off"] .bd-loader.is-spot, .bshelf-fan.bd-case[data-lights="off"] .bcard.is-spot { filter: brightness(.74); }
.bd-show[data-bg="cream"] .bd-loader .bcard-tag { color: #6B4A12; }
.bd-show[data-bg="cream"] .bd-loader { border-color: rgba(120,90,40,.35); }
/* the spotlight: centre of the row, the same size as the rest (Alex,
   2026-09-04), lifted a touch and lit from above */
.bd-showrow { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 34px 18px; }
.bd-showrow .bd-loader { flex: 1 1 0; min-width: 0; max-width: 250px; }
.bd-showrow .bd-loader.is-spot { transform: translateY(-6px); }
.bd-show[data-lights="on"] .bd-loader.is-spot { box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 0 0 1px var(--lamp-soft), 0 0 70px -6px var(--lamp), 0 24px 40px -16px rgba(0,0,0,.9); }
.bd-show[data-lights="on"] .bd-loader.is-spot:hover { transform: translateY(-10px) rotateX(2deg); }
.bd-loader.is-spot .bcard-tag { color: var(--case-ink); font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.bd-show[data-bg="cream"] .bd-loader.is-spot .bcard-tag { text-shadow: none; }
@media (max-width: 700px) {
  .bd-showrow .bd-loader { flex: 0 0 calc(50% - 9px); max-width: none; }
}
/* the controls fold away; the summary is a quiet line under the heading */
.bd-case-set { margin: -4px 0 14px; }
.bd-case-set > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; font: 700 10px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--case-sub); padding: 4px 0; }
.bd-case-set > summary::-webkit-details-marker { display: none; }
.bd-case-set > summary::before { content: "\25B8"; font-size: 11px; transition: transform .15s ease; }
.bd-case-set[open] > summary::before { transform: rotate(90deg); }
.bd-case-set > summary:hover { color: var(--case-ink); }
.bd-case-set > summary i { font: 500 9px/1 var(--mono); font-style: normal; letter-spacing: .1em; color: #C8A24B; }
.bd-case-set[open] > summary { margin-bottom: 8px; }
.bd-case-ctl .bd-case-reset { border-style: dashed; }
.bcard-spot {
  position: absolute; right: 13px; bottom: 12px; z-index: 3; appearance: none; cursor: pointer;
  width: 27px; height: 27px; border-radius: 999px; padding: 0; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.3); background: rgba(8,12,18,.66); color: rgba(255,255,255,.7); font-size: 14px; line-height: 1;
  transition: transform .14s ease, background .14s ease, color .14s ease;
}
.bcard-spot:hover { transform: scale(1.12); color: #fff; }
.bcard-spot.on { background: #FFF3CC; border-color: #FFF3CC; color: #12161d; box-shadow: 0 0 16px var(--lamp, rgba(255,214,150,.6)); }
.bd-case-ctl {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: -2px 0 16px;
  font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--case-sub);
}
.bd-case-ctl .g { display: inline-flex; align-items: center; gap: 6px; }
.bd-case-ctl .g > span:first-child { margin-right: 2px; }
.bd-case-ctl .bd-chip { background: transparent; color: var(--case-ink); border-color: rgba(128,128,128,.4); }
.bd-case-ctl .bd-chip.on { background: rgba(255,255,255,.12); border-color: #C8A24B; color: var(--case-ink); }
.bd-case-hint { text-transform: none; letter-spacing: .02em; font: 400 11px/1.3 var(--sans); }
.bd-case-hint b { color: var(--case-ink); font-weight: 600; }
.bd-sw {
  appearance: none; cursor: pointer; padding: 0; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.28); box-shadow: 0 1px 3px rgba(0,0,0,.4); background: #0C121B;
}
.bd-sw.on { border-color: #fff; box-shadow: 0 0 0 2px var(--case), 0 0 0 3px #fff; }
.bd-sw[data-sw="oak"] { background: #5A3820; } .bd-sw[data-sw="felt"] { background: #1D4D38; }
.bd-sw[data-sw="slate"] { background: #3A414B; } .bd-sw[data-sw="wine"] { background: #5C1729; }
.bd-sw[data-sw="cream"] { background: #EDE3CE; }
.bd-sw[data-sw="warm"] { background: #FFD696; } .bd-sw[data-sw="cool"] { background: #C8E1FF; }
.bd-sw[data-sw="gold"] { background: #E8C878; } .bd-sw[data-sw="red"] { background: #FF5A6E; }
.bd-show[data-bg="cream"] .bd-sw { border-color: rgba(0,0,0,.2); }
.bd-show[data-bg="cream"] .bd-sw.on { border-color: #3A2E1A; box-shadow: 0 0 0 2px var(--case), 0 0 0 3px #3A2E1A; }
.bd-show[data-bg="cream"] .bd-case-ctl .bd-chip.on { background: rgba(0,0,0,.06); }
/* the case in miniature, on the landing */
.bshelf-fan.bd-case {
  position: relative; overflow: hidden; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end;
  gap: 24px 8px; padding: 16px 12px 12px; border-radius: 10px;
  background: radial-gradient(120% 180% at 12% -40%, var(--case-hi) 0%, var(--case) 60%, var(--case-lo) 100%);
}
.bshelf-fan.bd-case > * { position: relative; z-index: 1; }
.bshelf-fan.bd-case .bcard { flex: 1 1 0; min-width: 0; max-width: 104px; }
.bshelf-fan.bd-case .bcard.is-spot { transform: translateY(-4px); }
/* the feature card: the spotlight seat, first and larger, on display */
.bshelf-fan.bd-case.has-feature { align-items: center; }
.bshelf-fan.bd-case .bcard.is-feature { flex: 0 0 auto; width: 150px; max-width: 150px; margin-right: 6px; transform: none; }
.bshelf-fan.bd-case .bcard.is-feature .bcard-s { box-shadow: 0 0 0 1px var(--lamp-soft), 0 0 60px -6px var(--lamp), 0 18px 34px -14px rgba(10,14,20,.7); }
.bshelf-fan.bd-case.has-feature .bcard:not(.is-feature) { max-width: 84px; }
.bshelf-fan.bd-case .bshelf-cap b { color: var(--case-ink, #FFF3CC); font-weight: 600; }
@media (max-width: 620px) { .bshelf-fan.bd-case .bcard.is-feature { width: 120px; max-width: 120px; } }
.bshelf-fan.bd-case[data-lights="on"] .bcard.is-spot .bcard-s { box-shadow: 0 0 0 1px var(--lamp-soft), 0 0 40px -4px var(--lamp), 0 10px 26px -12px rgba(10,14,20,.6); }
.bshelf-fan.bd-case .bcard-tag { color: var(--case-sub); }
.bshelf-fan.bd-case .bcard.is-spot .bcard-tag { color: var(--case-ink); }
.bshelf-fan.bd-case .bshelf-cap { flex: 0 0 100%; color: var(--case-sub); margin-top: 0; }
.bd-show-h span { font: 400 11px/1 var(--mono); color: #7E8EA0; }
.bd-show.is-empty { padding-bottom: 18px; }
.bd-show.is-empty p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--case-sub); max-width: 60ch; }

/* ------------------------------------------------------------ the fifteen */
.bd-grid-h { display: flex; align-items: baseline; gap: 12px; }
.bd-grid-h h3 {
  margin: 0; font: 700 12px/1 var(--cond); letter-spacing: .14em;
  text-transform: uppercase;
}
.bd-grid-h span { font: 400 11.5px/1 var(--mono); color: var(--gray-text); }
.bd-grid {
  display: grid; gap: calc(28px * var(--bd-zoom, 1)) calc(14px * var(--bd-zoom, 1));
  /* the tiles' minimum width is the viewer's: a pinch or − / + sets --bd-zoom on the panel */
  grid-template-columns: repeat(auto-fill, minmax(calc(132px * var(--bd-zoom, 1)), 1fr));
}
/* on the grid the pinch is the binder's own (the tiles' size); the page still pans */
.bd-main { touch-action: pan-x pan-y; }
.bd-zoom { margin-left: auto; display: inline-flex; gap: 4px; }
.bd-zoom button {
  appearance: none; cursor: pointer; width: 32px; height: 32px; padding: 0; border-radius: var(--radius-sm);
  border: 1px solid var(--gray-rule); background: var(--paper); color: var(--ink-2); font: 500 17px/1 var(--sans);
}
.bd-zoom button:hover { border-color: #C8A24B; color: var(--ink); }
/* zoomed well out, a tile is too small for its buttons: the star shrinks; the card still opens */
#binder-body.is-small .bd-main .bcard-fav { transform: scale(.78); transform-origin: top right; }
#binder-body.is-small .bd-main .bcard-tag { font-size: 8.5px; }

/* ------------------------------------------------------------ still sealed */
.bd-seal {
  display: grid; gap: 8px 18px; align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 16px 20px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--gray-rule);
  border-left: 3px solid #C8A24B; box-shadow: var(--sh-1);
}
.bd-seal b { font-size: 14px; }
.bd-seal p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--gray-text); }
.bd-seal-packs { display: flex; gap: 5px; }
.bd-foil {
  width: 26px; height: 36px; border-radius: 3px; display: block;
  background: linear-gradient(150deg, #2b3442 0%, #46536a 38%, #cfd8e6 50%, #46536a 62%, #1c2430 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
@media (max-width: 720px) { .bd-seal { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------- the ledger */
.bd-ledger {
  background: var(--paper); border: 1px solid var(--gray-rule);
  border-radius: var(--radius); box-shadow: var(--sh-1);
}
.bd-ledger > summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; font: 700 11px/1 var(--cond); letter-spacing: .13em;
  text-transform: uppercase;
}
.bd-ledger > summary::-webkit-details-marker { display: none; }
.bd-ledger > summary::after { content: "▸"; margin-left: auto; color: var(--fsn-red); transition: transform .15s; }
.bd-ledger[open] > summary::after { transform: rotate(90deg); }
.bd-ledger[open] > summary { border-bottom: 1px solid var(--gray-rule); }
.bd-ledger > summary .count {
  background: var(--paper-3); color: var(--ink-2); border-radius: 999px;
  padding: 2px 9px; font: 600 10px/1.6 var(--sans); letter-spacing: .04em;
}
.bd-ledger-in { padding: 14px 18px 16px; }
.bd-meter { display: flex; height: 9px; border-radius: 99px; overflow: hidden;
  background: var(--track); margin-bottom: 10px; }
.bd-meter i { display: block; height: 100%; }
.bd-pips { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 12px;
  font: 500 11px/1.6 var(--mono); color: var(--gray-text); }
.bd-pips span { display: inline-flex; align-items: center; gap: 6px; }
.bd-pips i { width: 8px; height: 8px; border-radius: 2px; flex: 0 0 auto; }
.bd-pips em { font-style: normal; opacity: .6; }
.bd-setrow {
  display: grid; gap: 12px; align-items: center;
  grid-template-columns: minmax(120px, 200px) minmax(0, 1fr) 56px;
  padding: 4px 0; font-size: 12.5px;
}
.bd-setrow .n { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bd-setrow .n em { font-style: normal; opacity: .8; }
.bd-setrow .bar { height: 7px; border-radius: 99px; background: var(--track); overflow: hidden; }
.bd-setrow .bar i { display: block; height: 100%; background: var(--seq-5); }
.bd-setrow .bar i.done { background: #1a7f4b; }
.bd-setrow .c { justify-self: end; font: 500 11.5px/1 var(--mono); color: var(--gray-text); }
.bd-setrow .c b { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- the foot */
.bd-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.bd-cta {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 11px 17px; border-radius: var(--radius-sm);
  background: radial-gradient(120% 180% at 12% -40%, #1D2836 0%, #0C121B 100%);
  border: 1px solid #C8A24B; color: #FFF3CC; white-space: nowrap;
  font: 700 11px/1 var(--cond); letter-spacing: .15em; text-transform: uppercase;
}
.bd-cta:hover { background: #16202c; }
.bd-cta .pk {
  width: 13px; height: 18px; border-radius: 2px; flex: 0 0 auto;
  background: linear-gradient(160deg, #C8A24B 0%, #8a6c25 100%);
}
.bd-more {
  font: 700 10.5px/1 var(--cond); letter-spacing: .11em; text-transform: uppercase;
  color: var(--fsn-red-ink); text-decoration: none;
}
.bd-more:hover { text-decoration: underline; }

/* ------------------------------------- the shelf on the Overview board */
.glance-card--binder { order: -1; }
.glance-card--binder .bshelf {
  display: grid; gap: 20px 26px; padding: 16px 18px;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr) auto;
  align-items: start;
}
.glance-card--binder .bshelf .k {
  font: 700 10px/1 var(--cond); letter-spacing: .13em; text-transform: uppercase;
  color: var(--gray-text); margin-bottom: 8px;
}
.glance-card--binder .bshelf .big { display: flex; align-items: baseline; gap: 9px; margin-bottom: 10px; }
.glance-card--binder .bshelf .big b { font-family: var(--cond); font-weight: 700; font-size: 34px; line-height: .96; }
.glance-card--binder .bshelf .big span { font-size: 12px; color: var(--gray-text); }
.bshelf-fan {
  position: relative; display: grid; gap: 22px 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr)); min-width: 0;
}
.bshelf-fan .bcard { cursor: default; }
.bshelf-fan .bcard:hover { transform: none; }
/* the miniature says "a stack" with one card's edge behind the top copy */
.bshelf-fan .bcard.is-stack::before {
  content: ""; position: absolute; inset: 0; border-radius: 13px; z-index: 0;
  background: #222B38; border: 1px solid rgba(255,255,255,.28);
  transform: translate(5px, -5px) rotate(2.5deg); transform-origin: 50% 100%;
}
.bshelf-fan .bcard.is-stack .bcard-flip { z-index: 1; }
/* the tag under a fan card never wraps and never runs into the caption,
   even at "legendary 14/14" on a narrow tile */
.bshelf-fan .bcard-tag { white-space: nowrap; font-size: 8.5px; letter-spacing: .05em; bottom: -15px; }
.bshelf-cap {
  grid-column: 1 / -1; text-align: center; margin-top: 0;
  font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--gray-text);
}
.bshelf-sealed {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--mono); color: var(--gray-text);
}
.glance-card--binder .bshelf .cta { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
@media (max-width: 1060px) {
  .glance-card--binder .bshelf { grid-template-columns: minmax(0, 1fr); }
  .bshelf-fan { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* the nowbar cell became a link in v2 */
a.nowcell.is-binder { text-decoration: none; color: inherit; transition: background .12s ease; }
a.nowcell.is-binder:hover { background: var(--paper-2); }

.bd-elsewhere {
  margin: 0; padding: 11px 15px; border-radius: var(--radius);
  background: var(--paper-2); border: 1px solid var(--gray-rule);
  font-size: 12.5px; line-height: 1.5; color: var(--gray-text);
}
.bd-elsewhere a { color: var(--fsn-red-ink); }

/* share-as-a-picture, on the showcase and on the fifteen */
.bd-shot {
  margin-left: auto; cursor: pointer; white-space: nowrap;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(200,162,75,.5); background: rgba(200,162,75,.12);
  color: #E8C878; font: 700 9.5px/1 var(--cond); letter-spacing: .14em;
  text-transform: uppercase;
}
.bd-shot:hover { background: rgba(200,162,75,.26); color: #FFF3CC; }
/* the Edit/Done switch beside it: quiet until it is on */
.bd-edit {
  margin-left: auto; cursor: pointer; white-space: nowrap; padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(128,128,128,.45); background: transparent; color: var(--case-sub);
  font: 700 9.5px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase;
}
.bd-edit:hover { border-color: #C8A24B; color: var(--case-ink); }
.bd-edit.on { background: #C8A24B; border-color: #C8A24B; color: #12161d; }
.bd-edit + .bd-shot { margin-left: 0; }
.bd-shot[disabled] { opacity: .6; cursor: default; }
.bd-grid-h .bd-shot {
  border-color: var(--gray-rule-2); background: var(--paper-2); color: var(--fsn-red-ink);
}
.bd-grid-h .bd-shot:hover { background: var(--paper-3); color: var(--fsn-red-ink); }

/* ---------------------------------------------------- v3: the account line
   Who is looking at this binder and what they can do about it. */
.bd-account {
  margin: 0; padding: 10px 15px; border-radius: var(--radius);
  background: var(--paper-2); border: 1px solid var(--gray-rule);
  font-size: 12.5px; line-height: 1.55; color: var(--gray-text);
}
.bd-account b { color: var(--ink); font-weight: 600; }
.bd-account a { color: var(--fsn-red-ink); }
.bd-account.is-mine { border-left: 3px solid #C8A24B; }
.bd-account.is-offline { border-left: 3px solid var(--gray-rule-2); font-style: italic; }
.bd-note { opacity: .75; }

/* ======================================================== the league binder
   /cards/ — fourteen binders on one page, from the ledger. */
.lg-totals {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  background: var(--gray-rule); border: 1px solid var(--gray-rule);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--sh-1); margin-bottom: 26px;
}
.lg-cell { background: var(--paper); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.lg-cell .label { font: 700 10px/1 var(--cond); letter-spacing: .13em; text-transform: uppercase; color: var(--gray-text); }
.lg-cell .value { font: 700 30px/1 var(--cond); }
.lg-cell .context { font: 400 11.5px/1.3 var(--mono); color: var(--gray-text); }
@media (max-width: 720px) { .lg-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.lg-grid {
  display: grid; gap: 16px; margin-bottom: 34px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.lg-club {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--paper); border: 1px solid var(--gray-rule);
  border-radius: var(--radius); box-shadow: var(--sh-1); overflow: hidden;
}
.lg-club.is-mine { border-color: #C8A24B; }
.lg-id {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  text-decoration: none; color: inherit; border-bottom: 1px solid var(--gray-rule);
  background: linear-gradient(90deg, var(--club-wash, var(--paper-2)) 0%, var(--paper) 70%);
}
.lg-id:hover .lg-name b { text-decoration: underline; }
.lg-name { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lg-name b { font: 700 15px/1.1 var(--cond); letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-name span { font: 400 11px/1 var(--mono); color: var(--gray-text); }
.lg-n { margin-left: auto; display: flex; align-items: baseline; gap: 5px; flex: 0 0 auto; }
.lg-n i { font: 700 30px/1 var(--cond); font-style: normal; }
.lg-n span { font: 400 10.5px/1 var(--mono); color: var(--gray-text); }
.lg-body { padding: 14px 16px 6px; display: flex; flex-direction: column; gap: 12px; }
.lg-body .bd-pips { margin-bottom: 0; }
.lg-fan { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 8px; }
.lg-sealed { margin: 0; font: 400 11.5px/1.4 var(--mono); color: var(--gray-text); }
.lg-more {
  display: block; padding: 10px 16px 13px; margin-top: auto;
  font: 700 10.5px/1 var(--cond); letter-spacing: .11em; text-transform: uppercase;
  color: var(--fsn-red-ink); text-decoration: none;
}
.lg-more:hover { text-decoration: underline; }

.lg-set { margin-bottom: 30px; }
.lg-set h3 {
  margin: 0 0 14px; font: 700 12px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase;
  display: flex; align-items: baseline; gap: 8px;
}
.lg-set h3 em { font: 400 11px/1 var(--mono); color: var(--gray-text); font-style: normal; }
.lg-cards {
  display: grid; gap: 30px 14px;
  grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
}
.lg-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.lg-holder {
  display: flex; align-items: center; gap: 6px; text-decoration: none; color: var(--gray-text);
  font: 500 10.5px/1.2 var(--mono); min-width: 0;
}
.lg-holder .crest { --size: 18px; margin: 0; }
.lg-holder span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-holder:hover span { color: var(--ink); text-decoration: underline; }
.lg-fan .bshelf-cap { margin-top: 6px; }

/* ============================================================== the desk
   Offers, counters and the market, beneath the binder. Same paper, same
   rules, same voice: a ledger, not a shop window. */
.td { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--gray-rule); }
.td-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.td-head h3 { margin: 0; font: 700 12px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; }
.td-head span, .td-sec h4 span { font: 400 11.5px/1 var(--mono); color: var(--gray-text); }
.td-sec { display: flex; flex-direction: column; gap: 10px; }
.td-sec h4 { margin: 0; font: 700 10.5px/1 var(--cond); letter-spacing: .13em; text-transform: uppercase; color: var(--gray-text); }
.td-p, .td-fine { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--gray-text); max-width: 70ch; }
.td-fine { font-size: 11.5px; }
.td-trade, .td-lot {
  display: flex; flex-direction: column; gap: 10px; padding: 14px 16px;
  background: var(--paper); border: 1px solid var(--gray-rule); border-radius: var(--radius);
  border-left: 3px solid #C8A24B; box-shadow: var(--sh-1);
}
.td-trade.is-accepted { border-left-color: #2e8b57; }
.td-trade.is-declined, .td-trade.is-cancelled, .td-trade.is-expired, .td-trade.is-countered, .td-trade.is-failed { border-left-color: var(--gray-rule); opacity: .8; }
.td-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.td-h b { font: 700 13px/1.2 var(--cond); letter-spacing: .06em; text-transform: uppercase; }
.td-h span { font: 400 11px/1 var(--mono); color: var(--gray-text); }
.td-sides { display: grid; gap: 10px 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.td-k { display: block; font: 700 10px/1 var(--cond); letter-spacing: .13em; text-transform: uppercase; color: var(--gray-text); margin-bottom: 6px; }
.td-none { font: 400 12px/1 var(--mono); color: var(--gray-text); }
.td-chip {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 6px 6px 0; padding: 5px 9px 5px 7px;
  border-radius: 999px; border: 1px solid var(--gray-rule); background: var(--paper-2); font-size: 12px; line-height: 1;
}
.td-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--t); flex: 0 0 auto; }
.td-chip b { font-weight: 600; }
.td-chip span { font: 400 11px/1 var(--mono); color: var(--gray-text); }
.td-chip em { font: 400 10px/1 var(--mono); color: var(--gray-text); font-style: normal; letter-spacing: .06em; text-transform: uppercase; }
.td-chip.gone { text-decoration: line-through; opacity: .6; }
.td-chip.pick { cursor: pointer; user-select: none; }
.td-chip.pick:hover { border-color: #C8A24B; }
.td-chip.pick.on { background: #1D2836; border-color: #C8A24B; color: #FFF3CC; }
.td-chip.pick.on span, .td-chip.pick.on em { color: #C8A24B; }
.td-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); font-style: italic; }
.td-note-in { font-size: 12px; color: var(--gray-text); font-style: italic; }
.td-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.td-btn {
  appearance: none; cursor: pointer; font: 700 10.5px/1 var(--cond); letter-spacing: .13em; text-transform: uppercase;
  padding: 9px 13px; border-radius: var(--radius-sm); border: 1px solid var(--gray-rule); background: var(--paper); color: var(--ink);
  text-decoration: none; display: inline-flex; align-items: center;
}
.td-btn:hover { border-color: var(--fsn-red); color: var(--fsn-red); }
.td-btn.key { background: radial-gradient(120% 180% at 12% -40%, #1D2836 0%, #0C121B 100%); border-color: #C8A24B; color: #FFF3CC; }
.td-btn.key:hover { background: #16202c; color: #fff; }
/* signed out on a club's Offers (UX audit 2026-09-27): the way in is a button */
.td-signin { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; font-size: 13px; }
.td-hint { margin-top: 8px; }
.td-hint b { color: var(--ink-2); }
.td-btn.quiet { border-color: transparent; color: var(--fsn-red-ink); padding-left: 6px; padding-right: 6px; }
.td-btn:disabled { opacity: .45; cursor: default; }
.td-build { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px; background: var(--paper); border: 1px dashed var(--gray-rule); border-radius: var(--radius); }
.td-counter { margin-top: 4px; }
.td-picks { display: flex; flex-wrap: wrap; }
.td-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.td-in { flex: 1 1 240px; font: 400 13px/1.3 var(--sans); padding: 9px 11px; border: 1px solid var(--gray-rule); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); }
.td-in:focus { outline: none; border-color: #C8A24B; }
.td-say { font: 400 11.5px/1 var(--mono); color: var(--gray-text); }
.td-warn { margin: 0; flex-basis: 100%; font: 500 11.5px/1.4 var(--mono); color: #8a6a12; }
.td-say.bad { color: var(--fsn-red); }
.td-fold summary { cursor: pointer; font: 700 10.5px/1 var(--cond); letter-spacing: .13em; text-transform: uppercase; color: var(--fsn-red-ink); padding: 6px 0; }
.td-fold .td-picks { margin-top: 8px; }
.td-list { display: flex; flex-direction: column; gap: 6px; }
.td-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--gray-rule); }
.td-row-r { margin-left: auto; font: 400 11.5px/1 var(--mono); color: var(--gray-text); display: inline-flex; align-items: center; gap: 6px; }
.td-sent { padding: 10px 14px; border-radius: var(--radius-sm); background: #f2f8f4; border: 1px solid #bfe0cc; font-size: 13px; }
.td-market { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-bottom: 26px; }
.td-lot-h { display: flex; flex-direction: column; gap: 4px; }
.td-lot-who { font: 400 11px/1 var(--mono); color: var(--gray-text); }
.td-feed { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
#desk-body .section-head { margin-top: 30px; }

/* ---------------------------------------------------- the builder, visual */
.td-thumbs { display: flex; flex-wrap: wrap; gap: 14px 10px; align-items: flex-start; }
.td-thumb {
  position: relative; width: 84px; aspect-ratio: 514 / 706; border-radius: 6px; overflow: visible;
  background: #0B0F14; cursor: zoom-in; flex: 0 0 auto; margin-bottom: 16px;
}
.td-thumb.gone { opacity: .45; }
.tb-in {
  position: absolute; left: 0; top: 0; width: 514px; height: 706px; transform-origin: 0 0;
  pointer-events: none;
  transform: scale(var(--fsn-fit, 1));
  content-visibility: auto; contain-intrinsic-size: 514px 706px;
}
.td-thumb > .tb-in, .tb-card > .tb-in { border-radius: 6px; overflow: hidden; clip-path: inset(0 round 6px); }
.tb-wait {
  position: absolute; inset: 0; border-radius: 6px; display: grid; place-items: center; padding: 6px; text-align: center;
  background: radial-gradient(120% 90% at 50% 12%, #16202E, #080C12 70%); color: #e8eff5; font: 600 10px/1.2 var(--cond);
}
.td-thumb-tag, .tb-tag {
  position: absolute; left: 0; right: 0; bottom: -15px; display: flex; align-items: center; justify-content: center; gap: 4px;
  font: 500 9px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gray-text); white-space: nowrap; overflow: hidden;
}
.td-thumb-tag i, .tb-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--t); flex: 0 0 auto; }
.tb-tag b { color: var(--ink-2); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.td-sides { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; }
.td-arrow { align-self: center; font-size: 20px; color: var(--gray-text); padding: 0 4px; }
@media (max-width: 600px) { .td-sides { grid-template-columns: 1fr; } .td-arrow { display: none; } }

.tb { display: flex; flex-direction: column; gap: 14px; }
.tb-sides { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.tb-side {
  display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--gray-rule); box-shadow: var(--sh-1);
}
.tb-side-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tb-side-h .td-k { margin: 0; }
.tb-n { font: 400 11px/1 var(--mono); color: var(--gray-text); }
.tb-tools { display: flex; flex-direction: column; gap: 8px; }
.tb-q { flex: 1 1 auto; width: 100%; box-sizing: border-box; }
.tb-runs { display: flex; flex-wrap: wrap; gap: 6px; }
.td-chip-f {
  appearance: none; cursor: pointer; font: 700 10px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; border: 1px solid var(--gray-rule); background: var(--paper); color: var(--gray-text);
}
.td-chip-f:hover { border-color: var(--fsn-red); color: var(--fsn-red); }
.td-chip-f.on { background: #1D2836; border-color: #C8A24B; color: #FFF3CC; }
.tb-grid {
  display: grid; gap: 22px 10px; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  max-height: 420px; overflow: auto; padding: 4px 2px 8px;
}
.tb-card {
  position: relative; width: 100%; aspect-ratio: 514 / 706; border-radius: 6px; cursor: pointer; background: #0B0F14;
  transition: transform .15s ease; outline: 0; margin-bottom: 14px;
}
.tb-card:hover, .tb-card:focus-visible { transform: translateY(-3px); }
.tb-card::after { content: ""; position: absolute; inset: 0; border-radius: 6px; box-shadow: inset 0 0 0 0 #C8A24B; transition: box-shadow .15s; pointer-events: none; }
.tb-card.on::after { box-shadow: inset 0 0 0 3px #C8A24B, 0 0 0 2px rgba(200,162,75,.35); }
.tb-check {
  position: absolute; top: 6px; right: 6px; z-index: 3; width: 22px; height: 22px; border-radius: 50%; display: none;
  place-items: center; background: #C8A24B; color: #12161d; font-size: 13px; font-weight: 700; box-shadow: 0 2px 6px rgba(0,0,0,.4);
}
.tb-card.on .tb-check { display: grid; }
.tb-card[hidden] { display: none; }
.tb-tray {
  position: sticky; bottom: 0; z-index: 5; display: grid; gap: 10px 16px; align-items: start;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding: 14px 16px 12px;
  background: var(--paper); border: 1px solid var(--gray-rule); border-top: 3px solid #C8A24B; border-radius: var(--radius);
  box-shadow: 0 -8px 24px -12px rgba(16,20,28,.25);
}
.tb-tray .td-thumb { width: 62px; margin-bottom: 14px; }
.tb-tray .td-arrow { padding-top: 22px; }
.tb-form { grid-column: 1 / -1; }
@media (max-width: 600px) { .tb-tray { grid-template-columns: 1fr; } .tb-tray .td-arrow { display: none; } }
.td-counter { margin-top: 8px; padding-top: 12px; border-top: 1px dashed var(--gray-rule); display: flex; flex-direction: column; gap: 10px; }

/* ------------------------------------------------------ the cards section */
.cards-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.cards-nav a {
  font: 700 10.5px/1 var(--cond); letter-spacing: .13em; text-transform: uppercase; text-decoration: none;
  padding: 9px 13px; border-radius: 999px; border: 1px solid var(--gray-rule); color: var(--ink); background: var(--paper);
}
.cards-nav a:hover { border-color: var(--fsn-red); color: var(--fsn-red); }
.cards-nav a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cards-nav a:last-child { margin-left: auto; border-color: #C8A24B; }
/* a deep link into a section the ledger draws lands under the sticky bar
   otherwise (the Cards menu's vault row; the wire and the binders too) */
#league-body .section-head[id], .wr .section-head[id] { scroll-margin-top: calc(var(--nav-h, 56px) + 14px); }

/* ------------------------------------------------- offers, as compact rows */
.td-trade--row { gap: 8px; padding: 10px 14px; }
.td-trade--row .td-h { align-items: center; }
.td-trade--row .td-h b { font-size: 12px; }
.td-more {
  appearance: none; cursor: pointer; margin-left: auto; font: 700 9.5px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase;
  color: var(--fsn-red-ink); background: none; border: 0; padding: 4px 0;
}
.td-more[aria-expanded="true"]::after { content: " \25B4"; }
.td-more[aria-expanded="false"]::after { content: " \25BE"; }
.td-body { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.td-body .td-sides { flex: 1 1 360px; gap: 6px 12px; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.td-body .td-acts { flex: 0 0 auto; margin-left: auto; }
.td-side .td-k { margin-bottom: 4px; font-size: 9px; }
.td-thumbs--sm { gap: 8px 6px; }
.td-thumbs--sm .td-thumb { width: 52px; margin-bottom: 12px; }
.td-thumbs--sm .td-thumb-tag { bottom: -12px; font-size: 8px; }
.td-detail { padding-top: 8px; border-top: 1px dashed var(--gray-rule); display: flex; flex-direction: column; gap: 8px; }
.td-detail .td-note { font-size: 12.5px; }
.td-fold--hist summary { padding: 8px 0; }
.td-fold--hist .td-sec { margin-top: 6px; }
@media (max-width: 600px) { .td-body .td-acts { margin-left: 0; } }

/* ---------------------------------------------- the builder, one grid at a time */
.tb-tabs { display: flex; gap: 0; border: 1px solid var(--gray-rule); border-radius: 999px; overflow: hidden; width: max-content; max-width: 100%; }
.tb-tab {
  appearance: none; cursor: pointer; font: 700 11px/1 var(--cond); letter-spacing: .13em; text-transform: uppercase;
  padding: 11px 18px; background: var(--paper); color: var(--gray-text); border: 0; display: inline-flex; align-items: center; gap: 6px;
}
.tb-tab.on { background: var(--ink); color: #fff; }
.tb-tab b { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #C8A24B; color: #12161d; font: 700 10px/1 var(--sans); }
.tb-tools--row { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; }
.tb-tools--row .tb-q { flex: 1 1 220px; width: auto; }
.tb-tools--row .tb-n { margin-left: auto; }
.tb-grid--wide { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); max-height: 480px; }
.tb-drop { position: relative; display: inline-block; }
.tb-drop i {
  position: absolute; top: -6px; right: -6px; z-index: 5; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; font: 700 12px/1 var(--sans); font-style: normal; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.tb-drop:hover i { background: var(--fsn-red); }
.tb-tray .td-k { margin-bottom: 8px; }

/* ------------------------------------------------------- the filter bar */
.bd-filter { display: flex; flex-direction: column; gap: 8px; margin: -8px 0 4px; }
.bd-filter-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bd-q { flex: 1 1 240px; font: 400 13px/1.3 var(--sans); padding: 9px 11px; border: 1px solid var(--gray-rule); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); }
.bd-q:focus { outline: none; border-color: #C8A24B; }
.bd-sort { font: 600 11px/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; padding: 9px 10px; border: 1px solid var(--gray-rule); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); }
.bd-chip {
  appearance: none; cursor: pointer; font: 700 10px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 11px; border-radius: 999px; border: 1px solid var(--gray-rule); background: var(--paper); color: var(--gray-text);
}
.bd-chip:hover { border-color: var(--fsn-red); color: var(--fsn-red); }
.bd-chip.on { background: #1D2836; border-color: #C8A24B; color: #FFF3CC; }
.bd-filter-gap { width: 10px; }
.bd-filter-fold { margin: 0; }
.bd-filter-fold > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; font: 700 10.5px/1 var(--cond); letter-spacing: .13em; text-transform: uppercase; color: var(--gray-text); padding: 4px 0; }
.bd-filter-fold > summary::-webkit-details-marker { display: none; }
.bd-filter-fold > summary::before { content: ''; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; transform: rotate(-90deg); transition: transform .15s; }
.bd-filter-fold[open] > summary::before { transform: none; }
.bd-filter-fold > summary .count { font: 600 9.5px/1 var(--mono); padding: 3px 6px; border-radius: 3px; background: var(--fsn-red-wash, #fdf0f2); color: var(--fsn-red); letter-spacing: .08em; }
.bd-filter-fold > .bd-filter-row { margin-top: 8px; }
.bd-filter-sets .bd-chip { text-transform: none; letter-spacing: .02em; font: 600 11px/1 var(--sans); }
.bd-nomatch { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--gray-text); }
.bcard[hidden] { display: none; }

/* ------------------------------------------------------------ the top loader
   The showcase is the GM's own pick, so those cards get the sleeve a real
   pick gets: clear rigid plastic with a lip at the top, a gloss across the
   face, and the card sitting a hair inside it. */
.bd-loader {
  --lip: 10px;
  position: relative; padding: calc(var(--lip) + 6px) 7px 9px; border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.34) 0, rgba(255,255,255,.12) var(--lip), rgba(255,255,255,.06) calc(var(--lip) + 1px), rgba(255,255,255,.10) 60%, rgba(255,255,255,.18) 100%);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.75), inset 0 -1px 0 rgba(255,255,255,.25),
    inset 1px 0 0 rgba(255,255,255,.35), inset -1px 0 0 rgba(255,255,255,.35),
    0 18px 34px -16px rgba(0,0,0,.85), 0 2px 6px rgba(0,0,0,.35);
  transform-style: preserve-3d; transition: transform .25s ease, box-shadow .25s ease;
}
/* the open top: a lighter band with a thin edge line, like the cut of the sleeve */
.bd-loader::before {
  content: ""; position: absolute; left: 4px; right: 4px; top: var(--lip); height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.7) 20%, rgba(255,255,255,.7) 80%, rgba(255,255,255,0));
  z-index: 3; pointer-events: none;
}
/* the gloss: a diagonal sheen across the plastic, drifting on hover */
.bd-loader::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 3; pointer-events: none;
  background:
    linear-gradient(112deg, rgba(255,255,255,0) 28%, rgba(255,255,255,.22) 40%, rgba(255,255,255,.05) 47%, rgba(255,255,255,0) 56%),
    linear-gradient(295deg, rgba(255,255,255,0) 70%, rgba(255,255,255,.10) 86%, rgba(255,255,255,0) 100%);
  background-size: 220% 100%, 100% 100%; background-position: 70% 0, 0 0;
  transition: background-position .8s ease;
}
.bd-loader:hover { transform: translateY(-4px) rotateX(2deg); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 26px 40px -16px rgba(0,0,0,.9), 0 3px 8px rgba(0,0,0,.4); }
.bd-loader:hover::after { background-position: 20% 0, 0 0; }
.bd-loader .bcard { margin: 0; }
.bd-loader .bcard:hover { transform: none; }
.bd-loader .bcard-s { border-radius: 9px; box-shadow: 0 4px 14px -6px rgba(0,0,0,.8); }
.bd-loader .bcard-tag { bottom: -22px; color: #C8A24B; }
.bd-loader .bcard-fav { top: calc(var(--lip) + 12px); right: 13px; }
.bd-showrow { gap: 34px 18px; }
/* a stack: a card starred twice sits in one seat, the rarest copy on top
   and the rest peeking out behind it (Alex, 2026-09-05) */
.bd-loader.is-stack > .bcard { z-index: 1; }
.bd-under {
  position: absolute; left: 7px; right: 7px; top: calc(var(--lip) + 6px); bottom: 9px; z-index: 0; pointer-events: none;
  transform: translate(calc(var(--k) * 6px), calc(var(--k) * -6px)) rotate(calc(var(--k) * 2.5deg)); transform-origin: 50% 100%;
  filter: brightness(.72);
}
.bd-under .bcard { position: absolute; inset: 0; width: auto; height: auto; }
.bd-under .bcard-tag, .bd-under .bcard-via { display: none; }
.bd-stack-n {
  position: absolute; left: 13px; top: calc(var(--lip) + 12px); z-index: 4; pointer-events: none;
  font: 700 10px/1 var(--mono); letter-spacing: .08em; padding: 6px 7px 5px; border-radius: 999px;
  background: #C8A24B; color: #12161d; box-shadow: 0 2px 6px rgba(0,0,0,.4);
}
/* the small version on the league page's shelf */
.bd-loader--sm { --lip: 7px; padding: calc(var(--lip) + 4px) 5px 6px; border-radius: 7px; }
.bd-loader--sm .bcard-tag { bottom: -18px; }
.lg-fan.is-showcase { gap: 18px 12px; padding-top: 4px; }
@media (prefers-reduced-motion: reduce) { .bd-loader, .bd-loader::after { transition: none; } .bd-loader:hover { transform: none; } }

/* faces are scaled by script, watched by a ResizeObserver so a face drawn on
   a hidden tab is sized the moment the tab opens */
.td-thumb, .tb-card { overflow: hidden; }

/* the shelf sleeve on the light page: smoked plastic, not clear — clear
   plastic on white paper is just a white box — and the label below it */
.bd-loader--sm {
  --lip: 7px; padding: calc(var(--lip) + 4px) 5px 6px; border-radius: 7px; margin-bottom: 26px;
  background:
    linear-gradient(180deg, rgba(40,48,60,.55) 0, rgba(40,48,60,.35) var(--lip), rgba(28,34,44,.42) calc(var(--lip) + 1px), rgba(28,34,44,.34) 60%, rgba(40,48,60,.48) 100%);
  border: 1px solid rgba(60,70,84,.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(255,255,255,.12),
    inset 1px 0 0 rgba(255,255,255,.18), inset -1px 0 0 rgba(255,255,255,.18),
    0 12px 22px -12px rgba(16,20,28,.55), 0 1px 3px rgba(16,20,28,.18);
}
.bd-loader--sm::before { background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.55) 20%, rgba(255,255,255,.55) 80%, rgba(255,255,255,0)); }
.bd-loader--sm::after {
  background:
    linear-gradient(112deg, rgba(255,255,255,0) 28%, rgba(255,255,255,.16) 40%, rgba(255,255,255,.04) 47%, rgba(255,255,255,0) 56%),
    linear-gradient(295deg, rgba(255,255,255,0) 70%, rgba(255,255,255,.08) 86%, rgba(255,255,255,0) 100%);
  background-size: 220% 100%, 100% 100%; background-position: 70% 0, 0 0;
}
.bd-loader--sm:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 18px 28px -12px rgba(16,20,28,.6), 0 2px 5px rgba(16,20,28,.2); }
.bd-loader--sm .bcard-s { border-radius: 7px; box-shadow: 0 3px 10px -4px rgba(0,0,0,.7); }
.bd-loader--sm .bcard-tag { bottom: -24px; color: var(--gray-text); font-size: 9px; }
.bd-loader--sm .bcard-tag b { color: var(--ink-2); }
.lg-fan.is-showcase { gap: 22px 10px; padding-top: 4px; }
.lg-fan.is-showcase .bshelf-cap { margin-top: 0; }

.td-again { padding: 14px 16px; border-radius: var(--radius); background: var(--paper); border: 1px solid #C8A24B; box-shadow: var(--sh-1); }
.td-again h4 span { font: 400 11px/1 var(--mono); color: var(--gray-text); text-transform: none; letter-spacing: 0; margin-left: 6px; }

/* the shelf sleeve, refined: thinner, cooler, less of a box — a sliver of
   plastic around the card rather than a frame, with the gloss kept */
.bd-loader--sm {
  --lip: 6px; padding: calc(var(--lip) + 3px) 4px 5px; border-radius: 8px; margin-bottom: 24px;
  background:
    linear-gradient(180deg, rgba(120,136,156,.30) 0, rgba(120,136,156,.18) var(--lip), rgba(96,110,128,.20) calc(var(--lip) + 1px), rgba(96,110,128,.14) 55%, rgba(120,136,156,.26) 100%);
  border: 1px solid rgba(90,104,122,.32);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7), inset 0 -1px 0 rgba(255,255,255,.35),
    inset 1px 0 0 rgba(255,255,255,.4), inset -1px 0 0 rgba(255,255,255,.4),
    0 10px 20px -12px rgba(16,20,28,.45), 0 1px 2px rgba(16,20,28,.12);
}
.bd-loader--sm::before { top: var(--lip); background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.85) 20%, rgba(255,255,255,.85) 80%, rgba(255,255,255,0)); }
.bd-loader--sm .bcard-s { border-radius: 7px; box-shadow: 0 2px 8px -3px rgba(0,0,0,.55); }
.bd-loader--sm .bcard-tag { bottom: -22px; }

/* ================================================================ phones
   The shelves, the club tiles and the labels at 375px wide. */
@media (max-width: 600px) {
  .lg-fan { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 10px; }
  .lg-fan .bcard:nth-child(n+4) { display: none; }          /* three of the showcase; the binder has the rest */
  .lg-fan.is-showcase .bd-loader:nth-child(n+4) { display: none; }
  .lg-name b { white-space: normal; line-height: 1.15; }
  .lg-id { flex-wrap: wrap; gap: 8px 12px; }
  .lg-n { margin-left: 0; flex-basis: 100%; }
  .lg-n i { font-size: 24px; }
  .bcard-tag { font-size: 8.5px; letter-spacing: .05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bd-loader--sm .bcard-tag { bottom: -20px; }
  .lg-totals .value { font-size: 24px; }
  .section-head .sub { display: block; }
}
@media (max-width: 600px) {
  .bd-showrow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
  .bd-show { padding: 14px 14px 22px; }
  .bd-show-h { flex-wrap: wrap; gap: 6px 10px; }
  .bd-show-h .bd-shot { flex-basis: 100%; }
  .bd-grid { gap: 26px 12px; }
  .bd-grid-h { flex-wrap: wrap; gap: 6px 10px; }
  .bd-grid-h .bd-shot { flex-basis: 100%; }
  .bd-filter-row .bd-sort { flex: 1 1 auto; }
  .bd-seal { grid-template-columns: 1fr; }
  .bd-seal-packs { display: none; }
  .bd-foot { flex-direction: column; align-items: stretch; }
  .bd-foot .bd-cta { justify-content: center; }
}
@media (max-width: 600px) {
  .tb-grid--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 8px; max-height: 360px; }
  .tb-tag { font-size: 8px; }
  .tb-tabs { width: 100%; }
  .tb-tab { flex: 1 1 50%; justify-content: center; padding: 10px 8px; font-size: 10px; }
  .tb-tools--row .tb-n { flex-basis: 100%; margin-left: 0; text-align: right; }
  .tb-tray { grid-template-columns: 1fr 1fr; gap: 8px 10px; padding: 10px 12px 10px; }
  .tb-tray .td-arrow { display: none; }
  .tb-tray .td-thumb { width: 44px; margin-bottom: 10px; }
  .tb-tray .td-thumb-tag { display: none; }
  .tb-tray-side .td-k { margin-bottom: 4px; }
  .tb-form { gap: 6px; }
  .tb-form .td-in { flex-basis: 100%; }
  .td-sides { gap: 8px 12px; }
  .td-thumbs--sm .td-thumb { width: 44px; }
}

/* ------------------------------------------------------ drag to arrange
   The grip: a six-dot handle on a seat, a set's header and a card on the shelves.
   touch-action: none on the grip alone, so a thumb on it drags and a thumb
   on the card still scrolls. */
.bd-grip {
  position: absolute; z-index: 3; width: 27px; height: 27px; border-radius: 999px; padding: 0; appearance: none;
  display: grid; place-items: center; cursor: grab; touch-action: none;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  border: 1px solid rgba(255,255,255,.3); background: rgba(8,12,18,.66); color: rgba(255,255,255,.7);
  transition: transform .14s ease, background .14s ease, color .14s ease;
}
.bd-grip i { display: block; width: 10px; height: 16px; background: radial-gradient(circle, currentColor 1.3px, transparent 1.9px) 0 0 / 5px 5.4px; }
.bd-grip:hover { color: #fff; transform: scale(1.08); }
.bd-grip:active, html.bd-dragging .bd-grip { cursor: grabbing; }
.bd-loader > .bd-grip { left: 20px; bottom: 21px; }
.bcard > .bd-grip { left: 7px; bottom: 7px; width: 24px; height: 24px; }
.bd-grip--set { position: static; width: 30px; height: 26px; border-radius: var(--radius-sm); border: 1px solid var(--gray-rule); background: var(--paper); color: var(--ink-2); }
.bd-grip--set:hover { border-color: #C8A24B; color: var(--ink); transform: none; }
.is-lift { opacity: .35; }
.bd-ghost { position: fixed !important; margin: 0; transition: none !important; z-index: 9999; pointer-events: none; opacity: .94; box-sizing: border-box; box-shadow: 0 28px 50px -14px rgba(0,0,0,.75); will-change: transform; }
.bd-ghost.bd-setsec-h { background: var(--paper); padding: 6px 10px; border-radius: var(--radius-sm); }
.bd-ghost .bd-grip, .bd-ghost .bcard-fav, .bd-ghost .bcard-spot, .bd-ghost .bcard-act, .bd-ghost .bd-spot-x { visibility: hidden; }
html.bd-dragging, html.bd-dragging * { user-select: none !important; -webkit-user-select: none !important; }
html.bd-dragging body { cursor: grabbing; }
@media (prefers-reduced-motion: reduce) { .bd-grip { transition: none; } }

/* --------------------------------------------- by set, in the GM's order */
.bd-main { display: flex; flex-direction: column; gap: 22px; }
.bd-setsec { display: flex; flex-direction: column; gap: 14px; }
.bd-setsec[hidden] { display: none; }
.bd-setsec-h { display: flex; align-items: baseline; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--gray-rule); }
.bd-setsec-h h4 { margin: 0; font: 700 12px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; }
.bd-setsec-h h4 em { font: 400 11px/1 var(--mono); color: var(--gray-text); font-style: normal; margin-left: 4px; }
.bd-mv-row { margin-left: auto; display: inline-flex; gap: 4px; }
.bd-mv {
  appearance: none; cursor: pointer; width: 30px; height: 26px; border-radius: var(--radius-sm);
  border: 1px solid var(--gray-rule); background: var(--paper); color: var(--ink-2); font: 700 12px/1 var(--sans);
}
.bd-mv:hover { border-color: #C8A24B; color: var(--ink); }
.bd-mv[disabled] { opacity: .35; cursor: default; }

/* ------------------------------------------------------------- the folds */
.bd-ledger-sub { margin-left: 10px; font: 400 11px/1.3 var(--mono); color: var(--gray-text); text-transform: none; letter-spacing: 0; }
.bd-ledger .bd-grid { padding-top: 4px; }

/* ---------------------------------------- still to find: the GM's own list */
.bd-find > summary { border-left: 3px solid #C8A24B; }
.bd-find-note { margin: 0 0 12px; font-size: 12.5px; line-height: 1.5; color: var(--gray-text); max-width: 66ch; }
.bd-find-list { display: flex; flex-wrap: wrap; gap: 5px; margin: 2px 0 12px; }
.bd-find-card {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px;
  border: 1px solid var(--gray-rule); background: var(--paper-2); color: var(--ink);
  font: 600 11px/1 var(--sans); text-decoration: none;
}
.bd-find-card em { font: 500 10px/1 var(--mono); font-style: normal; color: var(--gray-text); }
.bd-find-card.is-have { background: var(--paper); border-color: #1a7f4b; }
.bd-find-card.is-have::after { content: "✓"; color: #1a7f4b; font: 700 10px/1 var(--sans); }
.bd-find-card.is-miss { opacity: .55; }
/* fog of war: a card somebody has turned over is solid and tappable; one
   nobody has pulled is fogged — dashed, faint, still tappable for its name */
button.bd-find-card { appearance: none; cursor: pointer; font-family: var(--sans); }
button.bd-find-card:hover, button.bd-find-card:focus-visible { border-color: var(--ink); background: var(--paper); opacity: 1; }
.bd-find-card.is-open { opacity: .95; border-color: #C8A24B; }
.bd-find-card.is-fog { opacity: .38; border-style: dashed; }
.bd-find-card.is-fog em { color: inherit; }
.bd-find-card::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: #8b929c; flex: 0 0 auto; }
.bd-find-card[data-tier="RARE"]::before { background: #4cc4d6; }
.bd-find-card[data-tier="EPIC"]::before { background: #8b5cc9; }
.bd-find-card[data-tier="LEGENDARY"]::before { background: #e6b95c; }
.bd-find-card[data-tier="SAR"]::before { background: linear-gradient(135deg, #e6b95c, #8b5cc9); }

/* ------------------------------------- where to find them: the finder
   The checklist's continuation, in the other club's colour. Gold is what
   this binder is missing; blue is who has it. */
.bd-swap > summary { border-left: 3px solid var(--seq-5); }
.bd-sw-wait { font-style: italic; }
.bd-sw-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; }
.bd-sw-pill {
  appearance: none; cursor: pointer; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--gray-rule); background: var(--paper-2); color: var(--ink-2);
  font: 700 10.5px/1 var(--cond); letter-spacing: .11em; text-transform: uppercase;
}
.bd-sw-pill:hover { border-color: var(--seq-5); color: var(--ink); }
.bd-sw-pill.on { background: var(--seq-5); border-color: var(--seq-5); color: #fff; }
.bd-sw-hint { margin-left: 4px; font: 400 11px/1.3 var(--mono); color: var(--gray-text); }

/* a spare: the club holds two copies, so this is the one that trades */
.bd-find-card .sp {
  font: 700 9.5px/1 var(--mono); font-style: normal; letter-spacing: .04em;
  padding: 2px 4px; border-radius: 3px; background: var(--seq-5); color: #fff;
}
.bd-find-card.is-spare { border-color: var(--seq-5); opacity: 1; }

/* by club: one fold a partner, the two lists inside */
.bd-sw-club { border-top: 1px solid var(--gray-rule); }
.bd-sw-club:first-of-type { border-top: 0; }
.bd-sw-club > summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px;
  padding: 9px 2px; font-size: 13px;
}
.bd-sw-club > summary::-webkit-details-marker { display: none; }
.bd-sw-club > summary::after { content: "▸"; margin-left: 2px; color: var(--seq-5); transition: transform .15s; }
.bd-sw-club[open] > summary::after { transform: rotate(90deg); }
.bd-sw-club > summary:hover .nm { text-decoration: underline; }
.bd-sw-club .nm { font-weight: 600; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd-sw-club .tally {
  margin-left: auto; flex: 0 0 auto; padding: 2px 8px; border-radius: 999px;
  background: var(--paper-2); color: var(--gray-text); font: 500 11px/1.5 var(--mono);
}
.bd-sw-club .tally b { color: var(--seq-5); font-weight: 700; }
.bd-sw-club .tally.alt { margin-left: 0; }
.bd-sw-club .tally.alt b { color: #1a7f4b; }
.bd-sw-club .tally.nil { opacity: .5; }
.bd-sw-club .tally.nil b { color: var(--gray-text); }
.bd-sw-in { padding: 2px 0 14px; }
.bd-sw-lab {
  margin: 6px 0 6px; font: 700 10px/1.2 var(--cond); letter-spacing: .11em;
  text-transform: uppercase; color: var(--gray-text);
}

/* by set: a missing card and the clubs holding a copy, on one line */
.bd-sw-set { margin-bottom: 16px; }
.bd-sw-set .bd-setrow { grid-template-columns: minmax(120px, 200px) minmax(0, 1fr) 132px; }
.bd-sw-set .bd-setrow .c { font-size: 11px; }
.bd-sw-rest { align-self: center; font: 400 11px/1 var(--mono); color: var(--gray-text); }
.bd-sw-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 4px 0 4px 4px; border-top: 1px solid var(--gray-rule);
}
.bd-sw-who { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: 12px; }
.bd-sw-who a { color: var(--seq-5); text-decoration: none; border-bottom: 1px solid transparent; }
.bd-sw-who a:hover { border-bottom-color: currentColor; }
.bd-sw-who b { color: var(--gray-text); opacity: .45; font-weight: 400; }
.bd-sw-who .sp {
  font: 700 9.5px/1 var(--mono); font-style: normal; padding: 2px 4px; border-radius: 3px;
  background: var(--seq-5); color: #fff; margin-left: 3px;
}
@media (max-width: 600px) {
  .bd-sw-club > summary { flex-wrap: wrap; }
  .bd-sw-club .nm { flex-basis: 100%; }
  .bd-sw-club .tally { margin-left: 0; }
  .bd-sw-club > summary::after { margin-left: auto; }
}

/* ------------------------------------------- the vault on the league page */
.lg-vault { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.lg-tablewrap { overflow-x: auto; margin-bottom: 12px; }
.lg-table {
  width: 100%; border-collapse: collapse; background: var(--paper);
  border: 1px solid var(--gray-rule); box-shadow: var(--sh-1); font-size: 13px;
}
.lg-table th, .lg-table td { padding: 9px 12px; border-bottom: 1px solid var(--gray-rule); text-align: right; white-space: nowrap; }
.lg-table th:first-child, .lg-table td:first-child { text-align: left; }
.lg-table thead th { font: 700 10px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--gray-text); }
.lg-table tbody th { font-weight: 600; }
.lg-table tr:last-child td, .lg-table tr:last-child th { border-bottom: 0; }
/* the by-wave lines under Series One: the commissioner's, quieter */
.lg-table tr.lg-bywave th, .lg-table tr.lg-bywave td { color: var(--gray-text); font-weight: 400; font-size: 12px; padding-top: 6px; padding-bottom: 6px; }
.lg-wave { display: inline-block; min-width: 3.2em; font: 500 10px/1 var(--mono); letter-spacing: .08em; color: #C8A24B; }
.lg-fine { margin: 0 0 34px; font-size: 12.5px; line-height: 1.5; color: var(--gray-text); max-width: 72ch; }
@media (max-width: 600px) {
  .bd-setsec-h { flex-wrap: wrap; }
  .bd-ledger-sub { display: block; margin: 4px 0 0; flex-basis: 100%; }
  .bd-ledger > summary { flex-wrap: wrap; }
}

/* ------------------------------------------------ the GM page, quieter
   The stamp script marks GM pages gm-quiet. fsn.js still builds the tab
   strip after the cockpit; here it is ordered up under the hero, above the
   ruling and the three panels, and every vertical gap on the way down is
   the same one. */
main.gm-quiet > .wrap { display: flex; flex-direction: column; gap: 18px; }
main.gm-quiet > .wrap > .franchise-hero { order: -2; margin-bottom: 0; }
main.gm-quiet > .wrap > .pagetabs { order: -1; margin: 0; }
main.gm-quiet > .wrap > .cockpit { gap: 18px; }
main.gm-quiet > .wrap > .cockpit > .ck-action { margin: 0; }
/* On a phone the three panels above are the Overview's; any other tab brings
   its own section straight under the strip instead of a screen of the same
   three boxes (UX audit 2026-09-27, F02). Show all keeps them. */
@media (max-width: 760px) {
  main.gm-quiet > .wrap:has(> .pagetabs .pagetab[aria-selected="true"]:not(:first-child)) > .cockpit { display: none; }
}
/* the binder's shortcuts row */
.bd-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.bd-jump button { appearance: none; cursor: pointer; font: 600 12.5px/1 var(--sans); padding: 0 14px; min-height: 40px; border-radius: 999px;
  border: 1px solid var(--gray-rule-2, #c9ced6); background: var(--paper, #fff); color: var(--ink, #14161a); }
.bd-jump button:hover, .bd-jump button:focus-visible { border-color: var(--fsn-red, #d40026); color: var(--fsn-red-ink, #8d001b); }
/* phones: thumb-sized targets for the star, Edit and Share (F15) */
@media (max-width: 760px) {
  .bcard-fav::after { content: ""; position: absolute; inset: -9px; }
  .bd-edit, .bd-shot { min-height: 40px; }
  .bd-grid-h .bd-shot { min-height: 40px; }
}

/* ------------------------------------------------ the pack master's desk */
.is-form { display: flex; flex-direction: column; gap: 16px; margin: 18px 0 26px; padding: 18px 20px 20px; background: var(--paper); border: 1px solid var(--gray-rule); border-radius: var(--radius); box-shadow: var(--sh-1); }
.is-row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; }
.is-field { display: flex; flex-direction: column; gap: 6px; }
.is-field > span { font: 700 10px/1 var(--cond); letter-spacing: .13em; text-transform: uppercase; color: var(--gray-text); }
.is-field.is-grow { flex: 1 1 260px; }
.is-field .bd-q { flex: 0 0 auto; width: 100%; box-sizing: border-box; }
/* Series Two's size is the series', not the desk's: a line where the select was */
.is-field.is-shape { margin: 0; }
.is-field.is-shape b { font-weight: 700; line-height: 36px; white-space: nowrap; }
.is-clubs-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.is-clubs-h > span:first-child { font: 700 10px/1 var(--cond); letter-spacing: .13em; text-transform: uppercase; color: var(--gray-text); }
.is-links { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.is-clubs { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.is-club { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; align-items: center; padding: 9px 12px; border: 1px solid var(--gray-rule); border-radius: var(--radius-sm); background: var(--paper-2); cursor: pointer; }
.is-club.on { border-color: #C8A24B; background: var(--paper); }
.is-club input { grid-row: span 2; margin: 0; }
.is-club b { font-size: 13px; }
.is-club span { font: 400 11px/1.3 var(--mono); color: var(--gray-text); }
.is-sum { font: 500 11.5px/1 var(--mono); color: var(--gray-text); }
/* the idea pile on the desk */
.is-pile { margin: 4px 0 26px; }
.is-pile .bd-grid-h span b { color: var(--fsn-red-ink, var(--fsn-red)); }
.is-ideas { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.is-ideas li { display: grid; gap: 3px; padding: 12px 16px; background: var(--paper); border: 1px solid var(--gray-rule); border-radius: var(--radius-sm); }
.is-idea-when { font: 400 11px/1.3 var(--mono); color: var(--gray-text); }
.is-idea-when i { font-style: normal; color: var(--fsn-red-ink, var(--fsn-red)); }
.is-ideas li b { font-size: 15px; }
.is-idea-text { font-size: 13.5px; line-height: 1.5; color: var(--ink); white-space: pre-line; }
.is-idea-set { font: 700 10px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--gray-text); margin-top: 3px; }
.is-error { margin: 0; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--fsn-red-wash); border: 1px solid var(--fsn-red); color: var(--ink); font-size: 13.5px; line-height: 1.5; }
.is-error a { color: var(--fsn-red-ink); }
.is-dry { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--paper-2); border-left: 3px solid #C8A24B; font-size: 13.5px; line-height: 1.5; }
.is-dry .bd-foot { margin-top: 12px; }

/* ------------------------------------------------- keyboard focus, visible */
.td-btn:focus-visible, .bd-chip:focus-visible, .td-chip-f:focus-visible, .tb-tab:focus-visible, .tb-card:focus-visible,
.bd-shot:focus-visible, .td-more:focus-visible, .cards-nav a:focus-visible, .bcard-fav:focus-visible, .bd-q:focus-visible, .bd-sort:focus-visible,
.bd-mv:focus-visible, .bd-find-card:focus-visible {
  outline: 3px solid #C8A24B; outline-offset: 2px;
}

/* ---------------------------------------------------------- set bonuses
   Five cards in the case that belong together (sets.js) change the case:
   a look per set, keyed by data-set on the case (and on the case in
   miniature on the landing), the set's name and line under the row. The
   looks are CSS and a little inline SVG only — no image assets. A straight
   set at three or four of five leaks its look through data-tell, and
   nothing else. The lamps, the GM's colour and the spotlight all still
   apply; a set only sets the room. */
.bd-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.bd-fx i { position: absolute; inset: 0; display: block; }
/* two layers: --back behind the row (the room), --front over it (fog,
   flashes). What stands at the cards' feet — a rope, jugs, a pile — goes on
   the row itself (.bd-showrow::before under the cards, ::after over them). */
.bd-show > .bd-fx--front { z-index: 2; }
.bd-showrow::before, .bd-showrow::after { content: none; position: absolute; left: -20px; right: -20px; pointer-events: none; }
.bd-set { margin-top: 28px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); }
.bd-show[data-bg="cream"] .bd-set { border-top-color: rgba(0,0,0,.14); }
.bd-set-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.bd-set-name { font: 700 21px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--case-ink); }
.bd-set-first { font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--case-sub); }
.bd-set-first a { color: inherit; }
.bd-set-line { margin: 8px 0 0; font: italic 400 14px/1.5 var(--sans); color: var(--case-ink); opacity: .86; max-width: 64ch; }
.bd-set--tell { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 22px; }
.bd-set-note { font: 400 12px/1.4 var(--sans); color: var(--case-sub); }
.bd-set--tell .bd-chip, .bd-set-pick .bd-chip { background: transparent; color: var(--case-ink); border-color: rgba(128,128,128,.4); }
.bd-set-pick { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font: 400 11px/1.3 var(--sans); color: var(--case-sub); }
.bd-set-pick .bd-chip { background: transparent; color: var(--case-ink); border-color: rgba(128,128,128,.4); }
.bd-set-pick .bd-chip.on { border-color: #C8A24B; background: rgba(255,255,255,.12); }
/* every look is a treatment, not a prop (Alex, 2026-09-04): the cards take
   the room's GRADE (a CSS filter; the spotlight card keeps its light, so it
   gets --grade-spot or none), the case takes a light, a texture, film GRAIN
   and a VIGNETTE by variable; anything drawn is typographic or atmospheric,
   never an object. */
.bd-show[data-set] .bd-loader:not(.is-spot) .bcard, .bshelf-fan.bd-case[data-set] .bcard:not(.is-spot) { filter: var(--grade, none); transition: filter .4s ease; }
.bd-show[data-set] .bd-loader.is-spot .bcard, .bshelf-fan.bd-case[data-set] .bcard.is-spot { filter: var(--grade-spot, none); }
.bd-show[data-tell] .bd-loader .bcard { filter: var(--grade-tell, none); }
.bd-fx--front i:nth-child(2) {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>") repeat;
  opacity: var(--grain, 0); mix-blend-mode: overlay;
}
.bd-fx--front i:nth-child(3) { background: radial-gradient(120% 90% at 50% 40%, transparent 50%, var(--vignette, transparent) 100%); }
/* the badge: next to the club's name on the landing and on the league page */
.bd-setmark {
  display: inline-block; vertical-align: 1px; margin-left: 8px; padding: 3px 7px 2px; border-radius: 999px;
  border: 1px solid #C8A24B; color: #8a6a12; font: 700 9px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.lg-name b .bd-setmark { vertical-align: 2px; }
/* the sets the league has found, under the case */
/* the case in miniature wears the set too (Alex, 2026-09-05): the room,
   the grade, the decor scaled down, and the name and line in the room's
   own type where the caption was */
.bshelf-fan.bd-case .bd-fx { zoom: .5; }
.bshelf-fan.bd-case .bshelf-cap--set { display: grid; gap: 4px; justify-items: center; text-transform: none; letter-spacing: 0; margin-top: 4px; zoom: .68; }
.bshelf-fan.bd-case .bshelf-cap--set .bd-set-name { font-size: 20px; }
.bshelf-fan.bd-case .bshelf-cap--set .bd-set-line { display: block; margin: 0; text-align: center; font-size: 13px; color: var(--case-ink); opacity: .85; }
.bd-setlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bd-setlist li { padding: 10px 14px 11px; border: 1px solid var(--gray-rule); border-left: 3px solid #C8A24B; border-radius: var(--radius); display: grid; gap: 4px; background: var(--paper); }
.bd-setlist b { font: 700 14px/1.1 var(--cond); letter-spacing: .1em; text-transform: uppercase; }
.bd-setlist b .t { display: inline-block; vertical-align: 2px; margin-left: 8px; padding: 2px 6px 1px; border: 1px solid var(--gray-rule); border-radius: 3px; font: 600 9px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gray-text); }
.bd-setlist li[data-tier="hard"] b .t { border-color: #C8A24B; color: #8a6a1e; }
.bd-setlist li[data-tier="legend"] b .t { border-color: var(--fsn-red, #d40026); color: var(--fsn-red, #d40026); }
.bd-setlist .w { font-size: 12.5px; line-height: 1.45; color: var(--gray-text); }
.bd-setlist .f { font: 500 10px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gray-text); }
.bd-setlist .f a { color: inherit; }
.bd-setlist q { quotes: none; font-style: italic; font-size: 13px; line-height: 1.45; }
@media (prefers-reduced-motion: reduce) { .bd-fx i { animation: none !important; } }

/* ---- Gravedigger: a churchyard at night. Cold moonlight, the colour gone
   out of the cards, fog along the ground, headstone stands. Three of five:
   the fog and a little of the cold, nothing else. */
.bd-show[data-set="graveyard"], .bshelf-fan.bd-case[data-set="graveyard"], .bd-show[data-tell="graveyard"] {
  --case: #0D1512; --case-hi: #1C2A22; --case-lo: #05080A; --case-ink: #DDE6DA; --case-sub: #7F9284;
  --lamp: rgba(196, 220, 236, .5); --lamp-soft: rgba(196, 220, 236, .14);
  --grade: grayscale(.6) sepia(.22) hue-rotate(150deg) saturate(.75) brightness(.8) contrast(1.08);
  --grade-spot: grayscale(.15) brightness(.96) contrast(1.04);
  --grade-tell: grayscale(.3) brightness(.92);
  --grain: .16; --vignette: rgba(0, 4, 8, .7);
}
.bd-show[data-set="graveyard"] .bd-set { border-top-color: rgba(200, 220, 210, .14); }
[data-set="graveyard"] .bd-fx--back i:nth-child(1), [data-tell="graveyard"] .bd-fx--back i:nth-child(1) {
  top: auto; height: 70%; width: 160%; left: -30%;
  background: radial-gradient(60% 70% at 30% 100%, rgba(220,232,228,.30) 0%, rgba(220,232,228,.10) 40%, transparent 70%),
              radial-gradient(45% 60% at 75% 100%, rgba(220,232,228,.22) 0%, rgba(220,232,228,.07) 45%, transparent 72%);
  animation: bd-fog 38s linear infinite alternate;
}
[data-set="graveyard"] .bd-fx--front i:nth-child(1), [data-tell="graveyard"] .bd-fx--front i:nth-child(1) {
  top: auto; height: 46%; width: 170%; left: -35%;
  background: radial-gradient(40% 55% at 22% 100%, rgba(226,236,232,.42) 0%, rgba(226,236,232,.14) 45%, transparent 72%),
              radial-gradient(34% 50% at 58% 100%, rgba(226,236,232,.36) 0%, rgba(226,236,232,.12) 45%, transparent 72%),
              radial-gradient(38% 45% at 88% 100%, rgba(226,236,232,.32) 0%, rgba(226,236,232,.1) 45%, transparent 72%);
  animation: bd-fog 47s linear infinite alternate-reverse;
}
[data-tell="graveyard"] .bd-fx--back i, [data-tell="graveyard"] .bd-fx--front i:nth-child(1) { opacity: .45; }
[data-tell="graveyard"][data-tell-n="4"] .bd-fx--back i, [data-tell="graveyard"][data-tell-n="4"] .bd-fx--front i:nth-child(1) { opacity: .75; }
@keyframes bd-fog { from { transform: translateX(0); } to { transform: translateX(20%); } }
/* the moon: a low light behind the row, clear of the heading and the button */
[data-set="graveyard"] .bd-fx--back i:nth-child(3) {
  inset: auto auto auto 34%; top: 10px; width: 44px; height: 44px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #F2F4E8 0%, #D9DFCF 55%, rgba(217,223,207,.0) 72%);
  box-shadow: 0 0 44px 14px rgba(230,236,220,.16); opacity: .92;
}
.bshelf-fan.bd-case[data-set="graveyard"] .bd-fx--back i:nth-child(3) { width: 20px; height: 20px; top: 6px; left: 50%; box-shadow: 0 0 20px 6px rgba(230,236,220,.16); }
.bd-show[data-set="graveyard"] .bd-loader {
  --lip: 34px; border-radius: 46% 46% 6px 6px / 30% 30% 6px 6px;
  background: linear-gradient(180deg, #7A8079 0%, #5C635C 38%, #474D47 78%, #363B36 100%);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -2px 0 rgba(0,0,0,.35), 0 18px 30px -14px rgba(0,0,0,.9);
}
.bd-show[data-set="graveyard"] .bd-loader::before { display: none; }
.bd-show[data-set="graveyard"] .bd-loader::after {
  background:
    radial-gradient(1.5px 1.5px at 22% 30%, rgba(0,0,0,.35) 0, transparent 100%), radial-gradient(1px 1px at 68% 62%, rgba(255,255,255,.25) 0, transparent 100%),
    radial-gradient(2px 2px at 82% 18%, rgba(0,0,0,.28) 0, transparent 100%), radial-gradient(1px 1px at 40% 84%, rgba(255,255,255,.2) 0, transparent 100%),
    linear-gradient(100deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.06) 50%, rgba(255,255,255,0) 60%);
  background-size: 100% 100%; background-position: 0 0;
}
.bd-show[data-set="graveyard"] .bd-loader:hover::after { background-position: 0 0; }
.bd-show[data-set="graveyard"] .bd-loader .bcard-tag { color: #B9C3B6; }
.bd-show[data-set="graveyard"] .bd-loader.is-spot .bcard-tag { color: var(--case-ink); }
.bshelf-fan.bd-case[data-set="graveyard"] .bcard-tag { color: #9FAA9C; }

/* ---- The Cabinet: under glass. Walnut, a warm lamp, a reflection across
   every card, brass plaques. Three of five: the reflection. */
.bd-show[data-set="cabinet"], .bshelf-fan.bd-case[data-set="cabinet"], .bd-show[data-tell="cabinet"] {
  --case: #2B1A10; --case-hi: #503422; --case-lo: #150B06; --case-ink: #F3E6C8; --case-sub: #A58A62;
  --lamp: rgba(255, 220, 160, .6); --lamp-soft: rgba(255, 220, 160, .18);
  --grade: contrast(1.06) saturate(1.04) brightness(.94); --grade-spot: contrast(1.06) saturate(1.08) brightness(1.02);
  --grade-tell: brightness(.96); --vignette: rgba(10, 4, 0, .55);
}
[data-set="cabinet"] .bd-fx--back i:nth-child(1), [data-tell="cabinet"] .bd-fx--back i:nth-child(1) {
  background: linear-gradient(112deg, transparent 22%, rgba(255,255,255,.075) 36%, rgba(255,255,255,.02) 44%, transparent 52%),
              linear-gradient(112deg, transparent 58%, rgba(255,255,255,.05) 70%, transparent 78%);
}
[data-set="cabinet"] .bd-fx--back i:nth-child(2) { background: repeating-linear-gradient(180deg, rgba(255,255,255,.025) 0 2px, transparent 2px 9px); opacity: .5; }
/* the pane in front: one long reflection across the whole row, drifting */
[data-set="cabinet"] .bd-fx--front i:nth-child(1), [data-tell="cabinet"] .bd-fx--front i:nth-child(1) {
  background: linear-gradient(104deg, transparent 30%, rgba(255,255,255,.14) 41%, rgba(255,255,255,.04) 47%, transparent 56%),
              linear-gradient(104deg, transparent 62%, rgba(255,255,255,.07) 70%, transparent 76%);
  background-size: 240% 100%; background-position: 70% 0; animation: bd-glass 14s ease-in-out infinite alternate;
}
[data-tell="cabinet"] .bd-fx--front i:nth-child(1) { opacity: .6; }
@keyframes bd-glass { from { background-position: 80% 0; } to { background-position: 20% 0; } }
.bd-show[data-set="cabinet"] .bd-loader {
  --lip: 8px; border-radius: 4px;
  background: linear-gradient(180deg, rgba(190,226,255,.16) 0%, rgba(190,226,255,.06) 30%, rgba(190,226,255,.10) 100%);
  border: 1px solid rgba(205,232,255,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 0 0 1px rgba(255,255,255,.06), 0 0 28px rgba(160,210,255,.12), 0 22px 30px -18px rgba(0,0,0,.95), 0 3px 0 -1px rgba(205,232,255,.35);
}
.bd-show[data-set="cabinet"] .bd-loader::before { display: none; }
.bd-show[data-set="cabinet"] .bd-loader .bcard-tag {
  left: 50%; right: auto; transform: translateX(-50%); width: max-content; bottom: -26px;
  padding: 4px 9px 3px; border-radius: 2px; color: #3A2A08; font-weight: 700; letter-spacing: .14em;
  background: linear-gradient(180deg, #F0D48A 0%, #C9A045 55%, #A67F2C 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 1px 3px rgba(0,0,0,.6); text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
.bd-show[data-set="cabinet"] .bd-loader .bcard-tag b { color: inherit; }
.bshelf-fan.bd-case[data-set="cabinet"] .bcard-tag { color: #E2C46E; }

/* ---- Mount Rushmore: carved. The cards go to stone — grey, hard, grained —
   and the spotlight card alone keeps its colour. Hewn blocks to stand on. */
.bd-show[data-set="granite"], .bshelf-fan.bd-case[data-set="granite"], .bd-show[data-tell="granite"] {
  --case: #55585C; --case-hi: #797C80; --case-lo: #303236; --case-ink: #F2F0EA; --case-sub: #C3C1BA;
  --lamp: rgba(255, 250, 240, .5); --lamp-soft: rgba(255, 250, 240, .14);
  --grade: grayscale(1) contrast(1.28) brightness(.94); --grade-spot: contrast(1.06) saturate(1.05);
  --grade-tell: grayscale(.45) contrast(1.08); --grain: .2; --vignette: rgba(0, 0, 0, .45);
}
[data-set="granite"] .bd-fx--back i:nth-child(1), [data-tell="granite"] .bd-fx--back i:nth-child(1) {
  background:
    radial-gradient(1.2px 1.2px at 12% 18%, rgba(0,0,0,.5) 0, transparent 100%), radial-gradient(1.5px 1.5px at 33% 62%, rgba(255,255,255,.35) 0, transparent 100%),
    radial-gradient(1px 1px at 58% 28%, rgba(0,0,0,.45) 0, transparent 100%), radial-gradient(1.8px 1.8px at 77% 74%, rgba(0,0,0,.4) 0, transparent 100%),
    radial-gradient(1.2px 1.2px at 88% 12%, rgba(255,255,255,.3) 0, transparent 100%), radial-gradient(1px 1px at 45% 88%, rgba(255,255,255,.28) 0, transparent 100%),
    radial-gradient(1.4px 1.4px at 22% 44%, rgba(0,0,0,.35) 0, transparent 100%), radial-gradient(1px 1px at 66% 50%, rgba(255,255,255,.3) 0, transparent 100%);
  background-size: 97px 83px, 131px 109px, 79px 71px, 151px 127px, 113px 97px, 89px 101px, 143px 89px, 107px 121px;
}
[data-tell="granite"] .bd-fx--back i:nth-child(1) { opacity: .6; }
[data-set="granite"] .bd-fx--back i:nth-child(2) {
  background: linear-gradient(171deg, transparent 38%, rgba(0,0,0,.14) 39%, rgba(255,255,255,.08) 40%, transparent 41%),
              linear-gradient(176deg, transparent 68%, rgba(0,0,0,.12) 69%, rgba(255,255,255,.06) 70%, transparent 71%);
}
.bd-show[data-set="granite"] .bd-loader {
  --lip: 24px; border-radius: 3px;
  background: linear-gradient(180deg, #8F9296 0%, #6E7175 46%, #5A5D61 100%);
  border: 1px solid rgba(0,0,0,.45);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.4), inset 0 -3px 0 rgba(0,0,0,.35), inset 3px 0 0 rgba(255,255,255,.14), inset -3px 0 0 rgba(0,0,0,.18), 0 18px 28px -12px rgba(0,0,0,.85);
}
.bd-show[data-set="granite"] .bd-loader::before { display: none; }
/* the chisel: over the block and over the card, so the face reads as cut into it */
.bd-show[data-set="granite"] .bd-loader:not(.is-spot)::after {
  background: repeating-linear-gradient(135deg, transparent 0 7px, rgba(0,0,0,.09) 7px 8px), repeating-linear-gradient(45deg, transparent 0 11px, rgba(255,255,255,.06) 11px 12px),
              radial-gradient(1.5px 1.5px at 22% 30%, rgba(0,0,0,.4) 0, transparent 100%), radial-gradient(1px 1px at 68% 62%, rgba(255,255,255,.3) 0, transparent 100%);
  background-size: 100% 100%, 100% 100%, 53px 41px, 67px 59px; background-position: 0 0; opacity: .9;
}
.bd-show[data-set="granite"] .bd-loader:hover::after { background-position: 0 0; }
.bd-show[data-set="granite"] .bd-loader .bcard-tag { color: #F2F0EA; font-weight: 700; text-shadow: 0 1px 1px rgba(0,0,0,.7); }
.bd-show[data-set="granite"] .bd-loader .bcard-tag b { color: #FFF; }
.bd-show[data-set="granite"] .bd-show-h span { color: #DAD8D0; }
.bd-show[data-set="granite"] .bd-set { border-top-color: rgba(0,0,0,.25); }
.bshelf-fan.bd-case[data-set="granite"] .bcard-tag { color: #34363A; text-shadow: 0 1px 0 rgba(255,255,255,.4); }

/* ---- The Boardroom: fluorescent light, a long mahogany table under the
   cards, the standings half wiped off the whiteboard behind. */
.bd-show[data-set="boardroom"], .bshelf-fan.bd-case[data-set="boardroom"], .bd-show[data-tell="boardroom"] {
  --case: #1B212B; --case-hi: #2C3542; --case-lo: #0D1015; --case-ink: #EFEADF; --case-sub: #96A0AE;
  --lamp: rgba(220, 235, 255, .55); --lamp-soft: rgba(220, 235, 255, .14);
  --grade: saturate(.82) brightness(1.02) contrast(1.02) hue-rotate(-4deg); --grade-spot: saturate(1.02) brightness(1.04);
  --grade-tell: saturate(.9); --vignette: rgba(5, 8, 12, .5);
}
[data-set="boardroom"] .bd-fx--back i:nth-child(1), [data-tell="boardroom"] .bd-fx--back i:nth-child(1) {
  inset: 44px 6% auto auto; width: 30%; max-width: 300px; height: 150px; border-radius: 3px;
  border: 5px solid #C9CCC7; background: #E6E8E4 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 140'><g font-family='Arial Narrow,Arial,sans-serif' font-size='13' fill='%232B4A8F' opacity='.85'><text x='12' y='26' font-weight='700' text-decoration='underline'>STANDINGS</text><text x='12' y='48'>1. HOBGOBLIN</text><text x='150' y='48'>14-2</text><text x='12' y='68'>2. BEACHES</text><text x='150' y='68'>12-4</text><text x='12' y='88'>3. LEGIA</text><text x='150' y='88'>11-5</text><text x='12' y='108'>4. ROSWELL</text><text x='150' y='108'>10-6</text><text x='12' y='128'>5. THE BUDS</text><text x='150' y='128'>9-7</text></g><rect x='120' y='56' width='200' height='40' fill='%23E6E8E4' opacity='.75'/><rect x='60' y='96' width='250' height='30' fill='%23E6E8E4' opacity='.6'/><rect x='40' y='30' width='260' height='16' fill='%23E6E8E4' opacity='.45'/></svg>") no-repeat left top / cover;
  box-shadow: 0 8px 22px -8px rgba(0,0,0,.8); opacity: .92;
}
[data-tell="boardroom"] .bd-fx--back i:nth-child(1) { opacity: .45; }
/* the tube: a bar of white light across the top */
[data-set="boardroom"] .bd-fx--back i:nth-child(2), [data-tell="boardroom"] .bd-fx--back i:nth-child(2) { top: 0; height: 60px; background: linear-gradient(180deg, rgba(225,238,255,.26), transparent); animation: bd-buzz 7s steps(1) infinite; }
@keyframes bd-buzz { 0%, 100% { opacity: 1; } 23% { opacity: 1; } 24% { opacity: .5; } 25% { opacity: 1; } 26% { opacity: .7; } 27% { opacity: 1; } 71% { opacity: 1; } 72% { opacity: .6; } 73% { opacity: 1; } }
.bd-show[data-set="boardroom"] .bd-showrow::before {
  content: ""; top: auto; bottom: -44px; height: 320px;
  background: linear-gradient(180deg, #7A4726 0%, #5A3119 5%, #4A2814 30%, #33190C 100%),
              repeating-linear-gradient(94deg, transparent 0 18px, rgba(0,0,0,.08) 18px 20px, transparent 20px 41px, rgba(255,255,255,.03) 41px 43px);
  background-blend-mode: normal, overlay;
  box-shadow: inset 0 3px 0 rgba(255,255,255,.22), inset 0 8px 18px -6px rgba(255,255,255,.12);
}
.bd-show[data-set="boardroom"] .bd-loader {
  --lip: 9px; border-radius: 6px;
  background: linear-gradient(180deg, #3D322B 0%, #2A211C 50%, #1E1613 100%);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 4px rgba(0,0,0,.18), 0 20px 30px -16px rgba(0,0,0,.95);
}
.bd-show[data-set="boardroom"] .bd-loader::before { background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 3px, transparent 3px 7px); height: 1px; opacity: .5; }
.bd-show[data-set="boardroom"] .bd-loader .bcard-tag { color: #D9C8A8; }
.bd-show[data-set="boardroom"] .bd-set { border-top-color: rgba(255,230,200,.18); }

/* light rooms (the gallery, the print shop, the bin): dark ink on the controls */
.bd-show[data-set="gallery"] .bd-set, .bd-show[data-set="press"] .bd-set, .bd-show[data-set="bin"] .bd-set { border-top-color: rgba(0,0,0,.14); }
.bd-show[data-set="gallery"] .bd-sw, .bd-show[data-set="press"] .bd-sw, .bd-show[data-set="bin"] .bd-sw { border-color: rgba(0,0,0,.2); }
.bd-show[data-set="gallery"] .bd-sw.on, .bd-show[data-set="press"] .bd-sw.on, .bd-show[data-set="bin"] .bd-sw.on { border-color: #1C1B19; box-shadow: 0 0 0 2px var(--case), 0 0 0 3px #1C1B19; }
.bd-show[data-set="gallery"] .bd-case-ctl .bd-chip.on, .bd-show[data-set="gallery"] .bd-set-pick .bd-chip.on,
.bd-show[data-set="press"] .bd-case-ctl .bd-chip.on, .bd-show[data-set="press"] .bd-set-pick .bd-chip.on,
.bd-show[data-set="bin"] .bd-case-ctl .bd-chip.on, .bd-show[data-set="bin"] .bd-set-pick .bd-chip.on { background: rgba(0,0,0,.06); }
.bd-show[data-set="gallery"] .bd-show-h span, .bd-show[data-set="bin"] .bd-show-h span { color: var(--case-sub); }
.bd-show[data-set="gallery"] .bd-shot, .bd-show[data-set="bin"] .bd-shot { color: #3A2E1A; border-color: #3A2E1A; }

/* ---- The Gallery: white wall, five museum spots, black frames, placards. */
.bd-show[data-set="gallery"], .bshelf-fan.bd-case[data-set="gallery"], .bd-show[data-tell="gallery"] {
  --case: #EEEAE1; --case-hi: #FBF9F4; --case-lo: #DAD3C5; --case-ink: #1C1B19; --case-sub: #6E6A62;
  --lamp: rgba(255, 250, 235, .9); --lamp-soft: rgba(255, 250, 235, .35);
  --grade: contrast(1.06) saturate(1.06) brightness(1.02); --grade-spot: contrast(1.08) saturate(1.1) brightness(1.05);
  --grade-tell: contrast(1.03);
}
[data-set="gallery"] .bd-fx--back i:nth-child(1), [data-tell="gallery"] .bd-fx--back i:nth-child(1) {
  background:
    radial-gradient(16% 70% at 12% -12%, rgba(255,250,225,.95) 0%, rgba(255,250,225,.35) 45%, transparent 75%),
    radial-gradient(16% 70% at 31% -12%, rgba(255,250,225,.95) 0%, rgba(255,250,225,.35) 45%, transparent 75%),
    radial-gradient(16% 70% at 50% -12%, rgba(255,250,225,.95) 0%, rgba(255,250,225,.35) 45%, transparent 75%),
    radial-gradient(16% 70% at 69% -12%, rgba(255,250,225,.95) 0%, rgba(255,250,225,.35) 45%, transparent 75%),
    radial-gradient(16% 70% at 88% -12%, rgba(255,250,225,.95) 0%, rgba(255,250,225,.35) 45%, transparent 75%);
}
[data-tell="gallery"] .bd-fx--back i:nth-child(1) { opacity: .55; }
[data-set="gallery"] .bd-fx--back i:nth-child(2) { top: auto; height: 12px; background: linear-gradient(180deg, #D6CFC1, #C6BEAE); box-shadow: 0 -1px 0 rgba(255,255,255,.7), 0 -4px 8px -4px rgba(0,0,0,.2); }
.bd-show[data-set="gallery"] .bd-loader {
  --lip: 0px; padding: 16px; border-radius: 0; border: 9px solid #151413;
  background: #FBFAF6;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), inset 0 2px 6px rgba(0,0,0,.12), 0 18px 30px -14px rgba(0,0,0,.5), 0 2px 5px rgba(0,0,0,.2);
}
.bd-show[data-set="gallery"] .bd-loader .bcard-fav { top: 26px; right: 24px; }
.bd-show[data-set="gallery"] .bd-loader .bcard-spot { right: 24px; bottom: 24px; }
.bd-show[data-set="gallery"] .bd-loader::before, .bd-show[data-set="gallery"] .bd-loader::after { display: none; }
.bd-show[data-set="gallery"] .bd-loader .bcard-tag {
  left: 50%; right: auto; transform: translateX(-50%); width: max-content; bottom: -28px;
  padding: 5px 9px 4px; background: #FFFFFF; color: #222; border: 1px solid #CFCAC0; box-shadow: 0 1px 2px rgba(0,0,0,.18);
  font-weight: 500; letter-spacing: .12em; text-shadow: none;
}
.bd-show[data-set="gallery"] .bd-loader .bcard-tag b { color: #111; }
.bd-show[data-set="gallery"] .bd-loader.is-spot .bcard-tag { color: #222; text-shadow: none; }
.bd-show[data-set="gallery"] .bd-loader .bcard-fav { border-color: rgba(0,0,0,.2); }
.bshelf-fan.bd-case[data-set="gallery"] .bcard-tag { color: #4A463E; }
.bshelf-fan.bd-case[data-set="gallery"] .bshelf-cap { color: #6E6A62; }

/* ---- The Draft Lottery: inside the drum. Blue-white light, the glass, and
   the balls as bokeh — soft discs of light drifting up past the cards. */
.bd-show[data-set="lottery"], .bshelf-fan.bd-case[data-set="lottery"], .bd-show[data-tell="lottery"] {
  --case: #0F1E3C; --case-hi: #1E3B70; --case-lo: #060C1A; --case-ink: #EAF0FF; --case-sub: #8FA3C8;
  --lamp: rgba(220, 235, 255, .6); --lamp-soft: rgba(220, 235, 255, .16);
  --grade: brightness(1.04) contrast(1.05) saturate(1.05) hue-rotate(-3deg); --grade-spot: brightness(1.08) contrast(1.06) saturate(1.1);
  --grade-tell: brightness(1.02); --vignette: rgba(3, 8, 20, .55);
}
[data-set="lottery"] .bd-fx--back i:nth-child(1) {
  inset: 8% auto auto 50%; width: 46%; aspect-ratio: 1; max-width: 460px; transform: translateX(-50%); border-radius: 50%;
  border: 3px dashed rgba(190,215,255,.26);
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.14) 0%, rgba(255,255,255,.03) 40%, transparent 70%);
  box-shadow: inset 0 0 40px rgba(190,215,255,.12), 0 0 30px rgba(190,215,255,.06);
  animation: bd-spin 90s linear infinite;
}
@keyframes bd-spin { from { transform: translateX(-50%) rotate(0deg); } to { transform: translateX(-50%) rotate(360deg); } }
[data-set="lottery"] .bd-fx--front i:nth-child(1), [data-tell="lottery"] .bd-fx--front i:nth-child(1) {
  --b: radial-gradient(circle, rgba(255,255,255,.9) 0%, rgba(255,255,255,.5) 40%, transparent 70%);
  background: var(--b) 6% 90% / 34px 34px no-repeat, var(--b) 18% 70% / 22px 22px no-repeat, var(--b) 27% 96% / 40px 40px no-repeat, var(--b) 39% 84% / 26px 26px no-repeat,
              var(--b) 52% 98% / 30px 30px no-repeat, var(--b) 63% 76% / 20px 20px no-repeat, var(--b) 72% 92% / 36px 36px no-repeat, var(--b) 84% 82% / 24px 24px no-repeat, var(--b) 94% 96% / 32px 32px no-repeat;
  filter: blur(5px); opacity: .55; animation: bd-rise 26s linear infinite;
}
[data-tell="lottery"] .bd-fx--front i:nth-child(1) { opacity: .3; }
@keyframes bd-rise { from { transform: translateY(6%); } to { transform: translateY(-60%); } }
.bd-show[data-set="lottery"] .bd-loader { border-color: rgba(200,225,255,.5); }
.bd-show[data-set="lottery"] .bd-loader .bcard-tag { color: #C9D6F0; }

/* ---- Platinum Status: the lounge. Low light, leather, the departures
   board with the club's trades on it, a boarding pass under each card. */
.bd-show[data-set="lounge"], .bshelf-fan.bd-case[data-set="lounge"] {
  --case: #15181D; --case-hi: #2A2F38; --case-lo: #0A0C0F; --case-ink: #EDEFF3; --case-sub: #8C94A3;
  --lamp: rgba(200, 220, 255, .5); --lamp-soft: rgba(200, 220, 255, .14);
  --grade: saturate(.88) sepia(.08) brightness(.94) contrast(1.02); --grade-spot: saturate(1) brightness(1.02);
  --vignette: rgba(0, 0, 0, .6);
}
[data-set="lounge"] .bd-fx--back i:nth-child(1) {
  inset: auto 16px 14px auto; width: 34%; max-width: 360px; height: 156px; border-radius: 4px;
  background: #0B0C0E url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 156'><g font-family='Roboto Mono,Menlo,monospace' font-size='12' fill='%23F3B233'><text x='14' y='24' font-weight='700' letter-spacing='3'>DEPARTURES</text><text x='300' y='24' text-anchor='end'>19:07</text><text x='14' y='52'>T001  HOBGOBLIN</text><text x='346' y='52' text-anchor='end'>ON TIME</text><text x='14' y='76'>T002  BEACHES</text><text x='346' y='76' text-anchor='end' fill='%23E5534B'>DELAYED</text><text x='14' y='100'>T003  ROSWELL</text><text x='346' y='100' text-anchor='end'>BOARDING</text><text x='14' y='124'>T004  LEGIA</text><text x='346' y='124' text-anchor='end'>GATE 7</text><text x='14' y='148'>T005  THE BUDS</text><text x='346' y='148' text-anchor='end' fill='%23E5534B'>CANCELLED</text></g></svg>") no-repeat left top / cover;
  border: 3px solid #23262C; box-shadow: 0 10px 26px -8px rgba(0,0,0,.9), inset 0 0 30px rgba(243,178,51,.06);
  animation: bd-flicker 7s steps(1) infinite;
}
@keyframes bd-flicker { 0%, 100% { opacity: 1; } 41% { opacity: 1; } 42% { opacity: .55; } 43% { opacity: 1; } 47% { opacity: .8; } 48% { opacity: 1; } 83% { opacity: 1; } 84% { opacity: .6; } 85% { opacity: 1; } }
.bd-show[data-set="lounge"] .bd-set { min-height: 150px; padding-right: 36%; }
.bd-show[data-set="lounge"] .bd-showrow::before {
  content: ""; top: auto; bottom: -44px; height: 320px;
  background: #1B2236 repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,.035) 14px 16px), repeating-linear-gradient(-45deg, transparent 0 14px, rgba(255,255,255,.035) 14px 16px);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.08);
}
.bd-show[data-set="lounge"] .bd-loader {
  background: linear-gradient(180deg, #5A2A2C 0%, #3E1C1E 55%, #2A1213 100%);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -2px 0 rgba(0,0,0,.4), 0 20px 30px -16px rgba(0,0,0,.95);
}
.bd-show[data-set="lounge"] .bd-loader::before { display: none; }
.bd-show[data-set="lounge"] .bd-loader .bcard-tag {
  left: 50%; right: auto; transform: translateX(-50%); width: max-content; bottom: -26px;
  padding: 4px 10px 3px 12px; background: #F4EFE4; color: #2B2B2B; border-left: 2px dashed #B8AE9C; border-radius: 0 3px 3px 0;
  text-shadow: none; box-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.bd-show[data-set="lounge"] .bd-loader .bcard-tag b { color: #111; }

/* ---- The Buffet: sodium light, a checked cloth, grease on it. */
.bd-show[data-set="buffet"], .bshelf-fan.bd-case[data-set="buffet"] {
  --case: #3A2A1C; --case-hi: #5C4432; --case-lo: #1E140C; --case-ink: #F6E9D6; --case-sub: #B79E80;
  --lamp: rgba(255, 200, 80, .6); --lamp-soft: rgba(255, 200, 80, .16);
  --grade: sepia(.22) saturate(1.28) contrast(1.05) brightness(1.02); --grade-spot: sepia(.1) saturate(1.3) brightness(1.06);
  --grain: .1; --vignette: rgba(20, 8, 0, .55);
}
.bd-show[data-set="buffet"] .bd-showrow::before {
  content: ""; top: auto; bottom: -46px; height: 320px;
  background:
    radial-gradient(60px 26px at 22% 30px, rgba(60,30,0,.35) 0%, transparent 70%), radial-gradient(90px 34px at 61% 22px, rgba(60,30,0,.3) 0%, transparent 70%), radial-gradient(40px 20px at 84% 48px, rgba(60,30,0,.28) 0%, transparent 70%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0) 0 14px, rgba(196,44,44,.55) 14px 28px),
    repeating-linear-gradient(90deg, #F2E9DC 0 14px, rgba(196,44,44,.75) 14px 28px);
  box-shadow: inset 0 3px 0 rgba(255,255,255,.35), inset 0 -80px 60px -40px rgba(0,0,0,.5);
}
.bd-show[data-set="buffet"] .bd-loader { background: linear-gradient(180deg, rgba(255,255,255,.28) 0, rgba(255,255,255,.1) 40%, rgba(255,255,255,.14) 100%); }
.bd-show[data-set="buffet"] .bd-loader .bcard-tag {
  left: 50%; right: auto; transform: translateX(-50%); width: max-content; bottom: -26px;
  padding: 4px 9px 3px; background: #FBF7EE; color: #3A2A1C; text-shadow: none; border-radius: 2px; box-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.bd-show[data-set="buffet"] .bd-loader .bcard-tag b { color: #C42C2C; }

/* ---- Hall of Shame: the height chart, the flash bulbs, the cards in black
   and white under a light chosen to be unflattering. */
.bd-show[data-set="mugshot"], .bshelf-fan.bd-case[data-set="mugshot"] {
  --case: #5E6C64; --case-hi: #7E8C84; --case-lo: #3C4741; --case-ink: #F3F5F1; --case-sub: #D1D8D2;
  --lamp: rgba(255, 255, 255, .6); --lamp-soft: rgba(255, 255, 255, .18);
  --grade: grayscale(.92) contrast(1.22) brightness(1.06); --grade-spot: grayscale(.5) contrast(1.12) brightness(1.06);
  --grain: .22; --vignette: rgba(0, 0, 0, .35);
}
[data-set="mugshot"] .bd-fx--back i:nth-child(1) {
  background: repeating-linear-gradient(180deg, rgba(0,0,0,.28) 0 2px, transparent 2px 36px), repeating-linear-gradient(180deg, rgba(0,0,0,.12) 0 1px, transparent 1px 12px);
  background-position: 0 30px, 0 30px;
}
[data-set="mugshot"] .bd-fx--back i:nth-child(2) {
  inset: 30px auto auto 10px; width: 46px; height: 100%;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 216'><g font-family='Archivo Narrow,Arial Narrow,Arial,sans-serif' font-size='13' font-weight='700' fill='rgba(0,0,0,.55)'><text x='4' y='14'>6ft 6</text><text x='4' y='50'>6ft 3</text><text x='4' y='86'>6ft 0</text><text x='4' y='122'>5ft 9</text><text x='4' y='158'>5ft 6</text><text x='4' y='194'>5ft 3</text></g></svg>") repeat-y left top / 46px 216px;
  opacity: .9;
}
[data-set="mugshot"] .bd-fx--front i:nth-child(1) {
  background: radial-gradient(40% 55% at 18% 8%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.4) 30%, transparent 62%), radial-gradient(40% 55% at 82% 6%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.4) 30%, transparent 62%);
  background-size: 100% 100%; opacity: 0; animation: bd-flash 6.5s linear infinite;
}
@keyframes bd-flash { 0%, 91%, 100% { opacity: 0; } 92% { opacity: 1; } 93.5% { opacity: .25; } 95% { opacity: .6; } 96% { opacity: 0; } }
.bd-show[data-set="mugshot"] .bd-loader {
  border-radius: 2px; background: linear-gradient(180deg, #C9CFC8 0%, #A9B1AA 100%); border: 1px solid rgba(0,0,0,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 12px 14px 0 rgba(0,0,0,.3);
}
.bd-show[data-set="mugshot"] .bd-loader::before { display: none; }
.bd-show[data-set="mugshot"] .bd-loader .bcard-tag {
  left: 50%; right: auto; transform: translateX(-50%); width: max-content; bottom: -26px;
  padding: 4px 9px 3px; background: #101211; color: #F3F5F1; letter-spacing: .18em; text-shadow: none; border-radius: 1px;
}
.bd-show[data-set="mugshot"] .bd-loader .bcard-tag b { color: #FFF; }
.bd-show[data-set="mugshot"] .bd-show-h span { color: #E4E8E2; }
.bd-show[data-set="mugshot"] .bd-set { border-top-color: rgba(0,0,0,.25); }

/* ---- Unsolved: UV light and VHS. Scanlines, a tracking band, the colour
   fringing off a worn tape, the counter in the corner. */
.bd-show[data-set="unsolved"], .bshelf-fan.bd-case[data-set="unsolved"] {
  --case: #160D24; --case-hi: #2C1A4A; --case-lo: #08040F; --case-ink: #EADFFF; --case-sub: #A08CC9;
  --lamp: rgba(170, 110, 255, .55); --lamp-soft: rgba(170, 110, 255, .16);
  --grade: saturate(.72) contrast(1.18) hue-rotate(-14deg) brightness(.96) drop-shadow(1.5px 0 0 rgba(255,0,90,.4)) drop-shadow(-1.5px 0 0 rgba(0,220,255,.4));
  --grade-spot: saturate(.9) contrast(1.1) drop-shadow(1px 0 0 rgba(255,0,90,.3)) drop-shadow(-1px 0 0 rgba(0,220,255,.3));
  --grain: .28; --vignette: rgba(4, 0, 12, .6);
}
[data-set="unsolved"] .bd-fx--back i:nth-child(1) {
  inset: auto 22px 18px auto; width: 150px; height: 44px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 44'><g font-family='Roboto Mono,Menlo,monospace' font-size='13' fill='%23FFFFFF' opacity='.9'><text x='0' y='16' font-weight='700'>PLAY %E2%96%B6</text><text x='0' y='38'>SP 0:13:37</text><circle cx='140' cy='11' r='5' fill='%23FF3B3B'/></g></svg>") no-repeat left top / contain;
  filter: drop-shadow(0 0 3px rgba(255,255,255,.6)); opacity: .85;
}
[data-set="unsolved"] .bd-fx--front i:nth-child(1) {
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.06) 0 1px, transparent 1px 3px), linear-gradient(180deg, transparent 0, transparent 40%, rgba(255,255,255,.16) 43%, rgba(255,255,255,.04) 46%, transparent 49%);
  background-size: 100% 100%, 100% 600px; background-repeat: repeat, no-repeat; animation: bd-tracking 7s linear infinite;
}
@keyframes bd-tracking { from { background-position: 0 0, 0 -300px; } to { background-position: 0 0, 0 700px; } }
.bd-show[data-set="unsolved"] .bd-loader {
  background: linear-gradient(180deg, rgba(190,140,255,.22) 0, rgba(190,140,255,.08) 40%, rgba(190,140,255,.12) 100%);
  border: 1px solid rgba(200,160,255,.6); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 0 26px rgba(150,90,255,.35), 0 20px 30px -16px rgba(0,0,0,.95);
}
.bd-show[data-set="unsolved"] .bd-loader .bcard-tag { color: #C9B3F5; }

/* ---- The Dealer: showroom light. Everything waxed and saturated, a sheen
   sweeping the lot, price stickers on the cards. */
.bd-show[data-set="dealer"], .bshelf-fan.bd-case[data-set="dealer"] {
  --case: #1C2E45; --case-hi: #2E4D72; --case-lo: #0D1621; --case-ink: #FFF6DA; --case-sub: #A3B7CE;
  --lamp: rgba(255, 255, 255, .6); --lamp-soft: rgba(255, 255, 255, .16);
  --grade: saturate(1.32) contrast(1.08) brightness(1.04); --grade-spot: saturate(1.4) contrast(1.1) brightness(1.08);
  --vignette: rgba(4, 10, 20, .4);
}
[data-set="dealer"] .bd-fx--back i:nth-child(1) { top: 0; height: 90px; background: linear-gradient(180deg, rgba(255,255,255,.18), transparent); }
.bd-show[data-set="dealer"] .bd-showrow::before {
  content: ""; top: auto; bottom: -46px; height: 320px;
  background: repeating-linear-gradient(112deg, transparent 0 128px, rgba(255,255,255,.22) 128px 132px), linear-gradient(180deg, #223447 0%, #16232F 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.1);
}
[data-set="dealer"] .bd-fx--front i:nth-child(1) {
  background: linear-gradient(100deg, transparent 38%, rgba(255,255,255,.16) 46%, rgba(255,255,255,.03) 52%, transparent 60%);
  background-size: 300% 100%; animation: bd-sheen 9s ease-in-out infinite;
}
@keyframes bd-sheen { 0% { background-position: 110% 0; } 60%, 100% { background-position: -10% 0; } }
.bd-show[data-set="dealer"] .bd-loader { border-color: rgba(255,255,255,.7); }
.bd-show[data-set="dealer"] .bd-loader .bcard-tag {
  left: 50%; right: auto; transform: translateX(-50%) rotate(-3deg); width: max-content; bottom: -27px;
  padding: 4px 9px 3px; background: #FFE14A; color: #C62828; font-weight: 700; border-radius: 3px; text-shadow: none; box-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.bd-show[data-set="dealer"] .bd-loader .bcard-tag b { color: #222; }

/* ---- The Motor Pool: the gravel lot, dust in the air, the cards gone dusty,
   the spotlight one up on blocks. */
.bd-show[data-set="motorpool"], .bshelf-fan.bd-case[data-set="motorpool"] {
  --case: #5A554C; --case-hi: #7C766A; --case-lo: #3A3630; --case-ink: #F1EDE4; --case-sub: #C2BAAB;
  --lamp: rgba(255, 250, 235, .5); --lamp-soft: rgba(255, 250, 235, .14);
  --grade: sepia(.32) saturate(.78) contrast(.96) brightness(.95); --grade-spot: sepia(.08) saturate(1) contrast(1.02) brightness(1.02);
  --grain: .14; --vignette: rgba(20, 16, 10, .5);
}
.bd-show[data-set="motorpool"] .bd-showrow::before {
  content: ""; top: auto; bottom: -46px; height: 320px;
  background:
    radial-gradient(2px 1.5px at 8% 12%, rgba(0,0,0,.35) 0, transparent 100%), radial-gradient(1.5px 1.5px at 23% 40%, rgba(255,255,255,.22) 0, transparent 100%),
    radial-gradient(2px 2px at 41% 22%, rgba(0,0,0,.3) 0, transparent 100%), radial-gradient(1.5px 1px at 58% 62%, rgba(255,255,255,.2) 0, transparent 100%),
    radial-gradient(2.5px 2px at 74% 30%, rgba(0,0,0,.32) 0, transparent 100%), radial-gradient(1.5px 1.5px at 90% 70%, rgba(255,255,255,.18) 0, transparent 100%),
    radial-gradient(2px 1.5px at 33% 80%, rgba(0,0,0,.3) 0, transparent 100%), radial-gradient(1.5px 1.5px at 66% 90%, rgba(0,0,0,.25) 0, transparent 100%),
    linear-gradient(180deg, #8A8274 0%, #6E675B 100%);
  background-size: 53px 41px, 67px 59px, 47px 37px, 71px 43px, 61px 53px, 79px 47px, 43px 61px, 57px 49px, 100% 100%;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.2);
}
[data-set="motorpool"] .bd-fx--front i:nth-child(1) {
  top: auto; height: 55%; width: 160%; left: -30%;
  background: radial-gradient(50% 60% at 30% 100%, rgba(214,196,160,.28) 0%, rgba(214,196,160,.08) 45%, transparent 72%), radial-gradient(40% 50% at 78% 100%, rgba(214,196,160,.22) 0%, transparent 70%);
  animation: bd-fog 44s linear infinite alternate;
}
.bd-show[data-set="motorpool"] .bd-loader.is-spot { transform: translateY(-16px); box-shadow: 0 30px 24px -14px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.7); }
.bd-show[data-set="motorpool"] .bd-loader .bcard-tag { color: #E6DFD0; }
.bd-show[data-set="motorpool"] .bd-loader .bcard-tag b { color: #FFF; }
.bd-show[data-set="motorpool"] .bd-show-h span { color: #DDD6C8; }
.bd-show[data-set="motorpool"] .bd-set { border-top-color: rgba(0,0,0,.25); }

/* ---- One of One: velvet, one spot per card. */
.bd-show[data-set="velvet"], .bshelf-fan.bd-case[data-set="velvet"] {
  --case: #3B0A14; --case-hi: #611426; --case-lo: #1C040A; --case-ink: #FFE9C4; --case-sub: #CD9A86;
  --lamp: rgba(255, 220, 150, .6); --lamp-soft: rgba(255, 220, 150, .18);
  --grade: contrast(1.06) saturate(1.1) brightness(1.02); --grade-spot: contrast(1.08) saturate(1.14) brightness(1.06);
  --vignette: rgba(20, 0, 6, .6);
}
[data-set="velvet"] .bd-fx--back i:nth-child(1) {
  background: linear-gradient(118deg, rgba(255,255,255,.07) 0%, transparent 38%, rgba(0,0,0,.18) 100%),
              repeating-linear-gradient(0deg, rgba(0,0,0,.07) 0 2px, transparent 2px 5px), repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0 1px, transparent 1px 4px);
}
.bd-show[data-set="velvet"] .bd-showrow { margin-top: 44px; }
.bd-show[data-set="velvet"] .bd-loader {
  background: linear-gradient(180deg, #5A1224 0%, #3E0C19 60%, #2C0812 100%);
  border: 1px solid rgba(232,196,128,.55);
  box-shadow: inset 0 1px 0 rgba(255,225,170,.35), inset 0 0 0 3px rgba(0,0,0,.2), 0 22px 30px -16px rgba(0,0,0,.95);
}
.bd-show[data-set="velvet"] .bd-loader::before {
  left: 8%; right: 8%; top: -78px; height: 96px; z-index: 0;
  background: radial-gradient(52% 100% at 50% 100%, rgba(255,228,170,.6) 0%, rgba(255,228,170,.16) 48%, transparent 78%),
              radial-gradient(3px 3px at 50% 4px, #FFF6E0 0%, rgba(255,246,224,.9) 40%, transparent 100%);
}
.bd-show[data-set="velvet"] .bd-loader::after { background: linear-gradient(112deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.08) 48%, rgba(255,255,255,0) 56%); }
.bd-show[data-set="velvet"] .bd-loader .bcard-tag { color: #E8C480; }
.bd-show[data-set="velvet"] .bd-loader .bcard-tag b { color: #FFE9C4; }

/* ---- The Heist: steel, the alarm going, a red beam sweeping the room. */
.bd-show[data-set="heist"], .bshelf-fan.bd-case[data-set="heist"] {
  --case: #2A2E33; --case-hi: #474C53; --case-lo: #141618; --case-ink: #F2F4F6; --case-sub: #AEB5BD;
  --lamp: rgba(255, 70, 70, .5); --lamp-soft: rgba(255, 70, 70, .14);
  --grade: contrast(1.1) saturate(.9) brightness(.96); --grade-spot: contrast(1.12) saturate(1.05) brightness(1.04);
  --grain: .08; --vignette: rgba(0, 0, 0, .6);
}
[data-set="heist"] .bd-fx--back i:nth-child(1) { background: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 4px), linear-gradient(180deg, rgba(255,255,255,.06), transparent 40%); }
[data-set="heist"] .bd-fx--back i:nth-child(3) {
  inset: -20%;
  background: repeating-linear-gradient(26deg, transparent 0 150px, rgba(255,40,40,.45) 150px 151px), repeating-linear-gradient(-38deg, transparent 0 190px, rgba(255,40,40,.35) 190px 191px);
  filter: drop-shadow(0 0 3px rgba(255,40,40,.6)); animation: bd-lasers 16s ease-in-out infinite alternate;
}
@keyframes bd-lasers { from { transform: translate(0, 0); } to { transform: translate(40px, 26px); } }
[data-set="heist"] .bd-fx--front i:nth-child(1) {
  background: radial-gradient(60% 70% at 50% -10%, rgba(255,50,50,.55) 0%, rgba(255,50,50,.18) 40%, transparent 72%);
  animation: bd-alarm 1.4s ease-in-out infinite alternate;
}
@keyframes bd-alarm { from { opacity: .15; } to { opacity: 1; } }
[data-set="heist"] .bd-fx--back i:nth-child(2) {
  inset: -50% -50%; background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(255,60,60,.28) 18deg, transparent 40deg, transparent 180deg, rgba(255,60,60,.18) 198deg, transparent 220deg);
  animation: bd-beam 5s linear infinite;
}
@keyframes bd-beam { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.bd-show[data-set="heist"] .bd-loader {
  border-radius: 3px;
  background: linear-gradient(180deg, #A8AEB6 0%, #7F858D 45%, #6A7078 100%), repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 3px);
  border: 1px solid #2B2F35;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 0 rgba(0,0,0,.4), inset 0 0 0 5px rgba(0,0,0,.08), 0 20px 30px -16px rgba(0,0,0,.95);
}
.bd-show[data-set="heist"] .bd-loader::before { display: none; }
.bd-show[data-set="heist"] .bd-loader .bcard-tag { color: #D5DAE0; font-weight: 700; text-shadow: 0 1px 1px rgba(0,0,0,.6); }
.bd-show[data-set="heist"] .bd-loader .bcard-tag b { color: #FFF; }

/* ---- First Off The Press: newsprint, ink still wet at the top, the cards
   as proofs — black and white, halftoned — with a PROOF stamp; the
   spotlight card is the one already in colour. */
.bd-show[data-set="press"], .bshelf-fan.bd-case[data-set="press"] {
  --case: #E8E4DA; --case-hi: #F7F4ED; --case-lo: #CDC7BA; --case-ink: #1B1B1B; --case-sub: #6B675F;
  --lamp: rgba(255, 255, 255, .7); --lamp-soft: rgba(255, 255, 255, .25);
  --grade: grayscale(1) contrast(1.35) brightness(1.04); --grade-spot: contrast(1.06) saturate(1.1);
}
[data-set="press"] .bd-fx--back i:nth-child(1) {
  background: repeating-linear-gradient(180deg, rgba(0,0,0,.09) 0 2px, transparent 2px 7px);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 21%, transparent 21% 25%); mask: repeating-linear-gradient(90deg, #000 0 21%, transparent 21% 25%);
  opacity: .8;
}
[data-set="press"] .bd-fx--back i:nth-child(3) {
  --m: linear-gradient(#222, #222);
  background: var(--m) 14px 22px / 22px 1px no-repeat, var(--m) 24px 12px / 1px 22px no-repeat, var(--m) right 14px top 22px / 22px 1px no-repeat, var(--m) right 24px top 12px / 1px 22px no-repeat,
              var(--m) 14px bottom 22px / 22px 1px no-repeat, var(--m) 24px bottom 12px / 1px 22px no-repeat, var(--m) right 14px bottom 22px / 22px 1px no-repeat, var(--m) right 24px bottom 12px / 1px 22px no-repeat;
  opacity: .7;
}
[data-set="press"] .bd-fx--back i:nth-child(2) {
  top: 0; height: 120px;
  background: linear-gradient(180deg, #111 0%, #151515 26%, rgba(20,20,20,.9) 34%, transparent 62%),
              radial-gradient(18px 60px at 12% 40px, rgba(0,0,0,.9) 0%, rgba(0,0,0,.5) 50%, transparent 100%), radial-gradient(10px 44px at 37% 44px, rgba(0,0,0,.85) 0%, transparent 100%),
              radial-gradient(22px 36px at 63% 36px, rgba(0,0,0,.85) 0%, transparent 100%), radial-gradient(9px 74px at 86% 50px, rgba(0,0,0,.85) 0%, transparent 100%);
}
.bd-show[data-set="press"] .bd-showrow { margin-top: 30px; }
.bd-show[data-set="press"] .bd-show-h h3, .bd-show[data-set="press"] .bd-show-h span { color: #F3F0E8; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.bd-show[data-set="press"] .bd-shot { color: #F3F0E8; border-color: rgba(255,255,255,.6); }
.bd-show[data-set="press"] .bd-loader {
  --lip: 6px; border-radius: 1px; background: #FFFFFF; border: 1px solid #C9C4B8;
  box-shadow: 0 1px 0 #fff, 0 8px 16px -8px rgba(0,0,0,.35), 2px 2px 0 #E6E2D8, 3px 3px 0 #C9C4B8;
}
.bd-show[data-set="press"] .bd-loader::before { display: none; }
.bd-show[data-set="press"] .bd-loader:not(.is-spot)::after { background: radial-gradient(circle, rgba(0,0,0,.45) 0 .7px, transparent .8px) 0 0 / 3px 3px; background-position: 0 0; opacity: .35; mix-blend-mode: multiply; }
.bd-show[data-set="press"] .bd-loader.is-spot::after { display: none; }
.bd-show[data-set="press"] .bd-loader:hover::after { background-position: 0 0; }
.bd-show[data-set="press"] .bd-loader .bcard-tag {
  left: 50%; right: auto; transform: translateX(-50%) rotate(-5deg); width: max-content; bottom: -28px;
  padding: 3px 8px 2px; border: 2px solid #C62828; color: #C62828; font-weight: 700; letter-spacing: .18em; border-radius: 3px; text-shadow: none; opacity: .9;
}
.bd-show[data-set="press"] .bd-loader .bcard-tag b { color: #C62828; }
.bd-show[data-set="press"] .bd-loader .bcard-fav { border-color: rgba(0,0,0,.2); }
.bshelf-fan.bd-case[data-set="press"] .bcard-tag, .bshelf-fan.bd-case[data-set="press"] .bshelf-cap { color: #6B675F; }

/* ---- Last Call: the bar at closing. The lights down, the cards in the
   amber, the neon off but for a flicker, the brass rail. */
.bd-show[data-set="lastcall"], .bshelf-fan.bd-case[data-set="lastcall"] {
  --case: #1F150E; --case-hi: #3C2919; --case-lo: #0E0806; --case-ink: #F1E3CB; --case-sub: #AB8F6E;
  --lamp: rgba(255, 180, 90, .38); --lamp-soft: rgba(255, 180, 90, .1);
  --grade: brightness(.7) sepia(.35) saturate(.85) contrast(1.04); --grade-spot: brightness(.92) sepia(.12) saturate(1);
  --grain: .12; --vignette: rgba(8, 3, 0, .7);
}
[data-set="lastcall"] .bd-fx--back i:nth-child(1) { background: radial-gradient(40% 50% at 85% 100%, rgba(255,79,163,.16) 0%, transparent 70%); }
.bd-show[data-set="lastcall"] .bd-showrow::before {
  content: ""; top: auto; bottom: -50px; height: 16px;
  background: linear-gradient(180deg, #6A4322 0%, #4A2C15 5%, #33200F 30%, #1E1209 100%), repeating-linear-gradient(92deg, transparent 0 26px, rgba(0,0,0,.1) 26px 28px);
  box-shadow: inset 0 5px 0 #B8862B, inset 0 7px 0 rgba(0,0,0,.4);
}
.bd-show[data-set="lastcall"] .bd-loader { background: linear-gradient(180deg, rgba(255,255,255,.2) 0, rgba(255,255,255,.06) 40%, rgba(255,255,255,.1) 100%); }
.bd-show[data-set="lastcall"] .bd-loader .bcard-tag { color: #D9B77A; }

/* ---- Full Spectrum: the rim cycles the tier colours, each card its own. */
.bd-show[data-set="spectrum"] { border-width: 2px; animation: bd-rim 10s linear infinite; }
.bshelf-fan.bd-case[data-set="spectrum"] { box-shadow: inset 0 0 0 2px #8b929c; animation: bd-rim-mini 10s linear infinite; }
.bd-show[data-set="spectrum"] .bd-loader { border-width: 2px; animation: bd-rim 10s linear infinite; }
.bd-show[data-set="spectrum"] .bd-loader:nth-child(1) { animation-delay: 0s; }
.bd-show[data-set="spectrum"] .bd-loader:nth-child(2) { animation-delay: -2s; }
.bd-show[data-set="spectrum"] .bd-loader:nth-child(3) { animation-delay: -4s; }
.bd-show[data-set="spectrum"] .bd-loader:nth-child(4) { animation-delay: -6s; }
.bd-show[data-set="spectrum"] .bd-loader:nth-child(5) { animation-delay: -8s; }
@keyframes bd-rim {
  0%, 100% { border-color: #8b929c; box-shadow: 0 0 22px -4px #8b929c; }
  20% { border-color: #4cc4d6; box-shadow: 0 0 22px -4px #4cc4d6; }
  40% { border-color: #8b5cc9; box-shadow: 0 0 22px -4px #8b5cc9; }
  60% { border-color: #e6b95c; box-shadow: 0 0 22px -4px #e6b95c; }
  80% { border-color: #ff7ad9; box-shadow: 0 0 22px -4px #ff7ad9; }
}
@keyframes bd-rim-mini {
  0%, 100% { box-shadow: inset 0 0 0 2px #8b929c; } 20% { box-shadow: inset 0 0 0 2px #4cc4d6; } 40% { box-shadow: inset 0 0 0 2px #8b5cc9; } 60% { box-shadow: inset 0 0 0 2px #e6b95c; } 80% { box-shadow: inset 0 0 0 2px #ff7ad9; }
}
@media (prefers-reduced-motion: reduce) { .bd-show[data-set="spectrum"], .bd-show[data-set="spectrum"] .bd-loader, .bshelf-fan.bd-case[data-set="spectrum"] { animation: none; border-color: #e6b95c; } }

/* ---- The Bargain Bin: cardboard, packing tape, the cards sun-faded, the
   tags in marker. */
.bd-show[data-set="bin"], .bshelf-fan.bd-case[data-set="bin"] {
  --case: #B08655; --case-hi: #CFA46E; --case-lo: #7E5C36; --case-ink: #2B1D0E; --case-sub: #5E4626;
  --lamp: rgba(255, 255, 255, .45); --lamp-soft: rgba(255, 255, 255, .14);
  --grade: saturate(.62) brightness(1.02) contrast(.92) sepia(.14); --grade-spot: saturate(.9) contrast(1) sepia(.04);
  --grain: .1;
}
[data-set="bin"] .bd-fx--back i:nth-child(1) {
  background: repeating-linear-gradient(180deg, rgba(0,0,0,.06) 0 1px, transparent 1px 4px), repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 2px, transparent 2px 9px);
}
[data-set="bin"] .bd-fx--back i:nth-child(2) {
  inset: 40px 0 auto 0; height: 26px;
  background: linear-gradient(180deg, rgba(120,88,48,.55) 0%, rgba(150,112,64,.5) 50%, rgba(120,88,48,.55) 100%), linear-gradient(100deg, transparent 30%, rgba(255,255,255,.18) 42%, transparent 50%);
  box-shadow: 0 1px 0 rgba(0,0,0,.15), 0 -1px 0 rgba(0,0,0,.15);
}
[data-set="bin"] .bd-fx--front i:nth-child(1) { background: linear-gradient(200deg, rgba(255,250,235,.22) 0%, transparent 45%); }
.bd-show[data-set="bin"] .bd-loader {
  --lip: 12px; border-radius: 2px; background: linear-gradient(180deg, #C89F69 0%, #B9905B 100%); border: 1px solid rgba(0,0,0,.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -2px 0 rgba(0,0,0,.15), 0 10px 18px -10px rgba(0,0,0,.6);
}
.bd-show[data-set="bin"] .bd-loader::before, .bd-show[data-set="bin"] .bd-loader::after { display: none; }
.bd-show[data-set="bin"] .bd-loader .bcard-tag { color: #1B1208; font-weight: 700; letter-spacing: .12em; text-shadow: none; }
.bd-show[data-set="bin"] .bd-loader .bcard-tag b { color: #000; }
.bd-show[data-set="bin"] .bd-loader.is-spot .bcard-tag { text-shadow: none; }
.bd-show[data-set="bin"] .bd-loader .bcard-fav { border-color: rgba(0,0,0,.2); }
.bshelf-fan.bd-case[data-set="bin"] .bcard-tag, .bshelf-fan.bd-case[data-set="bin"] .bshelf-cap { color: #5E4626; }

/* ---- The Homer: your own colours, your crest as wallpaper. The case
   carries data-team, so --club is the site's own colour, and --crest (the
   crest image, set on the case by binder.js) is the same file the crests
   everywhere else use — nothing new is shipped. */
.bd-show[data-set="homer"], .bshelf-fan.bd-case[data-set="homer"] {
  --case: var(--club); --case-hi: color-mix(in srgb, var(--club) 72%, white); --case-lo: color-mix(in srgb, var(--club) 55%, black);
  --case-ink: #FFFFFF; --case-sub: rgba(255,255,255,.78);
  --lamp: rgba(255, 255, 255, .5); --lamp-soft: rgba(255, 255, 255, .16);
  --grade: saturate(1.1) contrast(1.04); --grade-spot: saturate(1.15) contrast(1.06) brightness(1.04);
}
[data-set="homer"] .bd-fx--back i:nth-child(1) { background: var(--crest) 0 0 / 110px 110px repeat; opacity: .16; }
[data-set="homer"] .bd-fx--back i:nth-child(2) { background: var(--crest) 55px 55px / 110px 110px repeat; opacity: .16; }
.bd-show[data-set="homer"] .bd-loader { background: linear-gradient(180deg, rgba(255,255,255,.38) 0, rgba(255,255,255,.14) 40%, rgba(255,255,255,.2) 100%); border-color: rgba(255,255,255,.7); }
.bd-show[data-set="homer"] .bd-loader .bcard-tag { color: #FFFFFF; }
.bd-show[data-set="homer"] .bd-loader .bcard-tag b { color: #FFFFFF; }
.bd-show[data-set="homer"] .bd-show-h span { color: rgba(255,255,255,.75); }
.bd-show[data-set="homer"] .bd-set { border-top-color: rgba(255,255,255,.3); }
.bshelf-fan.bd-case[data-set="homer"] .bcard-tag, .bshelf-fan.bd-case[data-set="homer"] .bshelf-cap { color: rgba(255,255,255,.85); }

/* ---- The Stalker: one other club's crest, too large, and its colour on
   everything. */
.bd-show[data-set="stalker"], .bshelf-fan.bd-case[data-set="stalker"] {
  --case: color-mix(in srgb, var(--club) 42%, #0B0E13); --case-hi: color-mix(in srgb, var(--club) 60%, #0B0E13); --case-lo: #06080B;
  --case-ink: #FFFFFF; --case-sub: rgba(255,255,255,.7);
  --lamp: rgba(255, 255, 255, .45); --lamp-soft: rgba(255, 255, 255, .14);
  --grade: saturate(.85) contrast(1.06) brightness(.94); --grade-spot: saturate(1) contrast(1.06);
  --vignette: rgba(0, 0, 0, .55);
}
[data-set="stalker"] .bd-fx--back i:nth-child(1) { background: var(--crest) center 58% / 560px no-repeat; opacity: .3; filter: blur(.6px); animation: bd-creep 40s ease-in-out infinite alternate; }
@keyframes bd-creep { from { transform: scale(1); } to { transform: scale(1.09); } }
.bshelf-fan.bd-case[data-set="stalker"] .bd-fx--back i:nth-child(1) { background-size: 220px; }
[data-set="stalker"] .bd-fx--back i:nth-child(2) { background: var(--crest) right -40px top -40px / 160px no-repeat; opacity: .35; }
.bd-show[data-set="stalker"] .bd-loader .bcard-tag { color: #FFFFFF; }
.bd-show[data-set="stalker"] .bd-loader .bcard-tag b { color: #FFFFFF; }
.bd-show[data-set="stalker"] .bd-show-h span { color: rgba(255,255,255,.7); }
.bd-show[data-set="stalker"] .bd-set { border-top-color: rgba(255,255,255,.25); }

/* ---------------------------------------------------------- the typography
   A design pass (Alex, 2026-09-04): each room sets its own name the way
   that room would — engraved, brass, chiselled, split-flap, neon, foil,
   letterpress, stencil, marker — and nothing is drawn as an object. */
.bd-set-name { display: inline-block; }
[data-set="graveyard"] .bd-set-name { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 25px; letter-spacing: .24em; color: #C9D2C4; text-shadow: 0 -1px 0 rgba(0,0,0,.85), 0 1px 0 rgba(255,255,255,.16); }
[data-set="graveyard"] .bd-set-line { font-family: Georgia, 'Times New Roman', serif; }
.bd-show[data-set="graveyard"] .bd-loader .bcard-tag { font-family: Georgia, 'Times New Roman', serif; text-transform: none; font-variant: small-caps; letter-spacing: .14em; font-size: 11px; }
[data-set="cabinet"] .bd-set-name { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: .2em; background: linear-gradient(180deg, #F7E1A0 0%, #D4AC4E 50%, #8E6A1E 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px 0 rgba(255,240,200,.25)) drop-shadow(0 2px 2px rgba(0,0,0,.7)); }
[data-set="cabinet"] .bd-fx--back i:nth-child(3) { top: 0; height: 2px; background: rgba(255,232,190,.75); box-shadow: 0 0 26px 8px rgba(255,220,160,.3); }
[data-set="granite"] .bd-set-name { color: #26282C; font-size: 24px; text-shadow: 0 2px 0 rgba(255,255,255,.55), 0 -1px 0 rgba(0,0,0,.8); letter-spacing: .22em; }
[data-set="boardroom"] .bd-set-name { background: #17191D; color: #E8E0C8; padding: 7px 14px 5px; border: 1px solid #B8862B; box-shadow: inset 0 0 0 2px #17191D, inset 0 0 0 3px rgba(184,134,43,.5); letter-spacing: .2em; font-size: 17px; }
.bd-show[data-set="gallery"] .bd-set { border-top: 2px solid #1C1B19; }
[data-set="gallery"] .bd-set-name { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 27px; letter-spacing: .12em; }
[data-set="gallery"] .bd-set-line { font-family: Georgia, 'Times New Roman', serif; font-size: 15px; }
[data-set="lottery"] .bd-set-name { font-family: var(--mono); font-weight: 700; letter-spacing: .32em; color: #FFFFFF; text-shadow: 0 0 12px rgba(190,215,255,.9), 0 0 30px rgba(120,170,255,.5); }
[data-set="lounge"] .bd-set-name { position: relative; background: #0B0C0E; color: #F3F3F0; padding: 9px 16px 7px; letter-spacing: .34em; box-shadow: inset 0 0 0 1px #2A2E36, 0 2px 4px rgba(0,0,0,.6); }
[data-set="lounge"] .bd-set-name::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.95); }
[data-set="buffet"] .bd-set-name { background: #C42C2C; color: #FBF3E4; padding: 7px 14px 5px; letter-spacing: .2em; transform: rotate(-1.2deg); box-shadow: 0 2px 4px rgba(0,0,0,.5); }
[data-set="mugshot"] .bd-set-name { font-family: var(--mono); font-weight: 500; font-size: 17px; background: #101211; color: #F3F5F1; padding: 8px 16px 6px; letter-spacing: .3em; }
[data-set="unsolved"] .bd-set-name { font-family: var(--mono); font-weight: 700; color: #FFFFFF; text-shadow: -2px 0 rgba(255,0,90,.75), 2px 0 rgba(0,220,255,.75); animation: bd-jitter 5s steps(1) infinite; }
@keyframes bd-jitter { 0%, 100% { transform: translate(0, 0); } 37% { transform: translate(0, 0); } 38% { transform: translate(-2px, 1px); } 39% { transform: translate(1px, 0); } 40% { transform: translate(0, 0); } 78% { transform: translate(0, 0); } 79% { transform: translate(2px, -1px); } 80% { transform: translate(0, 0); } }
[data-set="dealer"] .bd-set-name { font-style: italic; letter-spacing: .16em; padding: 6px 14px 4px; background: #FFE14A; color: #14213A; transform: skewX(-8deg); box-shadow: 4px 4px 0 #C62828; }
[data-set="motorpool"] .bd-set-name { letter-spacing: .28em; background: linear-gradient(180deg, var(--case-ink) 0 44%, transparent 44% 55%, var(--case-ink) 55%); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-set="velvet"] .bd-set-name { background: linear-gradient(100deg, #8E6A1E 0%, #F7E1A0 30%, #C9A045 50%, #F7E1A0 70%, #8E6A1E 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: .24em; animation: bd-foil 6s ease-in-out infinite alternate; filter: drop-shadow(0 1px 1px rgba(0,0,0,.6)); }
@keyframes bd-foil { from { background-position: 0% 0; } to { background-position: 100% 0; } }
[data-set="heist"] .bd-set-name { color: #CDD2D8; letter-spacing: .24em; text-shadow: 0 1px 0 rgba(255,255,255,.35), 0 -1px 0 rgba(0,0,0,.8); }
[data-set="press"] .bd-set-name { color: #2A2826; letter-spacing: .2em; text-shadow: 0 1px 0 rgba(255,255,255,.9), -1.5px 0 0 rgba(0,160,220,.35), 1.5px 0 0 rgba(220,0,120,.35); }
[data-set="lastcall"] .bd-set-name { font-weight: 400; font-size: 26px; letter-spacing: .3em; color: #FFE1EF; text-shadow: 0 0 3px #FFFFFF, 0 0 8px #FF4FA3, 0 0 18px #FF4FA3, 0 0 36px rgba(255,79,163,.85), 0 0 60px rgba(255,79,163,.5); animation: bd-neon 9s steps(1) infinite; }
@keyframes bd-neon { 0%, 100% { opacity: 1; } 61% { opacity: 1; } 62% { opacity: .35; } 63% { opacity: 1; } 64% { opacity: .5; } 66% { opacity: 1; } }
[data-set="spectrum"] .bd-set-name { background: linear-gradient(90deg, #8b929c, #4cc4d6, #8b5cc9, #e6b95c, #ff7ad9, #8b929c); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: .22em; animation: bd-hue 10s linear infinite; }
@keyframes bd-hue { from { background-position: 0% 0; } to { background-position: 300% 0; } }
[data-set="bin"] .bd-set-name { color: #111; letter-spacing: .06em; font-size: 24px; transform: rotate(-1.6deg); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; text-decoration-skip-ink: none; }
[data-set="homer"] .bd-set-name { background: #FFFFFF; color: var(--club); padding: 7px 14px 5px; letter-spacing: .2em; }
[data-set="stalker"] .bd-set-name { color: #FFFFFF; letter-spacing: .3em; text-shadow: 0 0 18px var(--club), 0 0 2px rgba(0,0,0,.8); }
@media (prefers-reduced-motion: reduce) { .bd-set-name { animation: none !important; } }

/* ------------------------------------------------------------ the shelves
   Five spots a shelf, as many shelves as the GM keeps (Alex, 2026-09-05:
   thirty-two showcase-style spots, then "down to 5"): a wall the GM fills
   and arranges. It wears the case's colour and lights; each shelf is a
   plank with a name the GM taps to change (the pencil says so); an empty
   spot is a sleeve with a + for the owner and nothing for a visitor. Five
   across fit a phone whole, no sideways scrolling. */
.bd-rack {
  position: relative; overflow: hidden; margin-top: 18px;
  padding: 14px 16px 8px; border-radius: var(--radius);
  background: radial-gradient(120% 180% at 12% -40%, var(--case-hi) 0%, var(--case) 60%, var(--case-lo) 100%);
  border: 1px solid #23262d;
}
.bd-rack > * { position: relative; z-index: 1; }
.bd-rack[data-lights="on"]::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(70% 50% at 50% -6%, var(--lamp) 0%, var(--lamp-soft) 40%, transparent 70%);
}
.bd-rack[data-lights="off"] .bcard { filter: brightness(.6) saturate(.85); }
.bd-rack .bd-show-h { margin-bottom: 4px; }
.bd-rack .bd-chip { background: transparent; color: var(--case-ink); border-color: rgba(128,128,128,.45); }
.bd-rack .bd-chip:hover { border-color: #C8A24B; color: var(--case-ink); }
/* a shelf sits centred in the wall, as the seats do in the case, no wider than 860px */
.bd-rack-shelf { position: relative; padding-top: 6px; max-width: 860px; margin: 0 auto; }
.bd-rack-label { display: flex; align-items: center; gap: 12px; margin: 0 0 2px; font: 700 11px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--case-sub); }
.bd-rack-label > span { padding: 4px 0; }
/* the name is a button: a dashed line under it and a pencil after it say "tap to change" */
.bd-rack-label [data-rack-name] {
  appearance: none; background: none; border: 0; padding: 4px 0; cursor: text; display: inline-flex; align-items: center; gap: 7px;
  color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; border-bottom: 1px dashed rgba(128,128,128,.55);
}
.bd-rack-label [data-rack-name]:hover, .bd-rack-label [data-rack-name]:focus-visible { color: var(--case-ink); border-bottom-color: currentColor; outline: none; }
.bd-rack-label [data-rack-name] i { font-style: normal; font-size: 12px; letter-spacing: 0; opacity: .6; }
.bd-rack-label [data-rack-name]:hover i { opacity: 1; }
.bd-rack-drop {
  appearance: none; background: none; cursor: pointer; padding: 3px 8px; border-radius: 999px;
  border: 1px solid rgba(128,128,128,.4); color: var(--case-sub); font: 500 9px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase;
}
.bd-rack-drop:hover, .bd-rack-drop:focus-visible { border-color: var(--fsn-red); color: var(--fsn-red); outline: none; }
.bd-rack-name {
  font: 700 12px/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; width: 20ch; max-width: 100%;
  padding: 5px 7px; border-radius: 4px; border: 1px solid #C8A24B; background: rgba(0,0,0,.35); color: var(--case-ink);
}
.bd-rack[data-bg="cream"] .bd-rack-name { background: rgba(255,255,255,.6); }
.bd-rack-row {
  /* five across, spread along the plank; a spot a good deal smaller than a seat in the case (Alex, 2026-09-05: "a bit too big") */
  display: grid; grid-template-columns: repeat(5, minmax(0, 132px)); justify-content: space-between; gap: 16px; align-items: end;
  padding: 4px 8px 42px; position: relative;   /* room under the cards for the serial, then the plank (Alex: "too tight") */
}
.bd-rack-shelf + .bd-rack-shelf { margin-top: 10px; }
/* the plank each shelf stands on */
.bd-rack-shelf::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 6px; border-radius: 2px;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(0,0,0,.35)), var(--case-lo);
  box-shadow: 0 3px 6px rgba(0,0,0,.45), 0 12px 20px -8px rgba(0,0,0,.7);
}
.bd-rack[data-bg="cream"] .bd-rack-shelf::after { background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(0,0,0,.12)), var(--case-lo); box-shadow: 0 2px 4px rgba(0,0,0,.2); }
.bd-spot { position: relative; z-index: 1; min-width: 0; }
.bd-spot .bcard-tag { bottom: -20px; font-size: 9px; color: var(--case-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-spot .bcard-tag b { color: var(--case-ink); }
.bd-spot .bcard-via { font-size: 8px; }
.bd-spot.is-empty { aspect-ratio: 514 / 706; border: 1px dashed rgba(255,255,255,.16); border-radius: 8px; display: grid; place-items: center; background: rgba(0,0,0,.14); }
.bd-rack[data-bg="cream"] .bd-spot.is-empty { border-color: rgba(0,0,0,.2); background: rgba(0,0,0,.04); }
.bd-spot-add {
  appearance: none; cursor: pointer; width: 34px; height: 34px; border-radius: 999px; padding: 0;
  border: 1px solid rgba(255,255,255,.22); background: rgba(8,12,18,.5); color: rgba(255,255,255,.6);
  font: 400 22px/1 var(--sans); display: grid; place-items: center;
  transition: transform .14s ease, color .14s ease, border-color .14s ease;
}
.bd-spot-add:hover, .bd-spot-add:focus-visible { color: #fff; border-color: #C8A24B; transform: scale(1.08); }
.bd-rack[data-bg="cream"] .bd-spot-add { color: #3A2E1A; background: rgba(255,255,255,.5); border-color: rgba(0,0,0,.25); }
.bd-spot-x {
  position: absolute; z-index: 3; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 999px; padding: 0;
  appearance: none; cursor: pointer; border: 1px solid rgba(255,255,255,.3); background: rgba(8,12,18,.72); color: #D5DDE6;
  font: 400 16px/1 var(--sans); display: grid; place-items: center; transition: opacity .15s ease, background .14s ease;
}
.bd-spot-x:hover { background: var(--fsn-red); border-color: var(--fsn-red); color: #fff; }
.bd-spot > .bd-grip { left: 5px; bottom: 5px; }
/* the controls are drawn only in Edit mode (the Edit/Done switch in the header) */
.bd-rack-ctl { margin: 2px 0 10px; }
.bd-spot.is-lift { opacity: .35; }
.bd-spot.is-target { outline: 2px solid #C8A24B; outline-offset: 3px; border-radius: 9px; }
.bd-spot.is-target .bcard { transform: scale(.96); }
/* under the wall: add a shelf, and a line on how it works */
.bd-rack-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 2px 0 4px; font: 400 11px/1.4 var(--mono); color: var(--case-sub); }
@media (max-width: 860px) {
  .bd-rack { padding: 14px 10px 8px; }
  .bd-rack-row { grid-template-columns: repeat(5, minmax(0, 1fr)); justify-content: stretch; gap: 6px; padding: 4px 2px 36px; }
  .bd-spot .bcard-tag { font-size: 7.5px; letter-spacing: .04em; bottom: -16px; }
  .bd-spot-add { width: 28px; height: 28px; font-size: 18px; }
  .bd-spot-x { width: 20px; height: 20px; font-size: 13px; top: 3px; right: 3px; }
  .bd-spot > .bd-grip { width: 22px; height: 22px; left: 3px; bottom: 3px; }
  .bd-rack-shelf::after { bottom: 12px; height: 5px; }
}

/* the picker: an empty spot asks which card; a list over the page */
.bd-picker { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(5,8,12,.7); backdrop-filter: blur(2px); }
.bd-picker-box {
  width: min(480px, 100%); max-height: min(78vh, 640px); display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); color: var(--ink); border-radius: var(--radius); border: 1px solid var(--gray-rule);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
}
.bd-picker-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--gray-rule); }
.bd-picker-h b { font: 700 11px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; }
.bd-picker-x { margin-left: auto; appearance: none; background: none; border: 0; cursor: pointer; font: 400 22px/1 var(--sans); color: var(--gray-text); padding: 0 2px; }
.bd-picker-x:hover { color: var(--fsn-red); }
.bd-picker-q { margin: 10px 14px 6px; padding: 8px 10px; border-radius: var(--radius-sm); border: 1px solid var(--gray-rule); background: var(--paper); color: var(--ink); font: 400 13px/1.2 var(--sans); }
.bd-picker-list { overflow-y: auto; padding: 4px 8px 10px; }
.bd-picker-it {
  display: flex; flex-direction: column; gap: 3px; width: 100%; text-align: left; appearance: none; cursor: pointer;
  padding: 8px 10px 8px 18px; border: 0; border-radius: var(--radius-sm); background: none; color: var(--ink); position: relative;
}
.bd-picker-it::before { content: ""; position: absolute; left: 7px; top: 11px; bottom: 11px; width: 3px; border-radius: 2px; background: #8b929c; }
.bd-picker-it[data-tier="RARE"]::before { background: #4cc4d6; }
.bd-picker-it[data-tier="EPIC"]::before { background: #8b5cc9; }
.bd-picker-it[data-tier="LEGENDARY"]::before { background: #e6b95c; }
.bd-picker-it[data-tier="SAR"]::before { background: linear-gradient(#e6b95c, #8b5cc9); }
.bd-picker-it:hover, .bd-picker-it:focus-visible { background: var(--paper-3); }
.bd-picker-it b { font: 700 13px/1.2 var(--cond); letter-spacing: .02em; }
.bd-picker-it span { font: 400 10.5px/1.2 var(--mono); color: var(--gray-text); }
.bd-picker-none { margin: 8px 10px; font-size: 12.5px; color: var(--gray-text); }

/* the place prompt: the star asks where the card goes — the showcase or a
   shelf. A small card over the page: the card's name and tier, the
   question, one row per place with the room it has; the row it is
   already in offers the way out. */
.bd-place { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(5,8,12,.62); backdrop-filter: blur(2px); }
.bd-place-box {
  width: min(340px, 100%); max-height: min(80vh, 620px); display: flex; flex-direction: column; overflow: hidden; position: relative;
  background: var(--paper); color: var(--ink); border-radius: var(--radius); border: 1px solid var(--gray-rule);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
  animation: bd-place-in .18s ease-out;
}
@keyframes bd-place-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .bd-place-box { animation: none; } }
/* a tier-coloured edge along the top, as on the card */
.bd-place-box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: #8b929c; }
.bd-place-box[data-tier="RARE"]::before { background: #4cc4d6; }
.bd-place-box[data-tier="EPIC"]::before { background: #8b5cc9; }
.bd-place-box[data-tier="LEGENDARY"]::before { background: #e6b95c; }
.bd-place-box[data-tier="SAR"]::before { background: linear-gradient(90deg, #e6b95c, #8b5cc9); }
.bd-place-h { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 16px 14px 10px; }
.bd-place-h b { grid-column: 1; grid-row: 1; font: 700 17px/1.1 var(--cond); letter-spacing: .02em; text-transform: uppercase; }
.bd-place-h span { grid-column: 1; grid-row: 2; font: 400 10.5px/1.3 var(--mono); color: var(--gray-text); }
.bd-place-x { grid-column: 2; grid-row: 1 / 3; align-self: start; appearance: none; background: none; border: 0; cursor: pointer; font: 400 22px/1 var(--sans); color: var(--gray-text); padding: 0 2px; }
.bd-place-x:hover { color: var(--fsn-red); }
.bd-place-q { margin: 0; padding: 0 14px 6px; font: 700 10px/1 var(--cond); letter-spacing: .16em; text-transform: uppercase; color: var(--gray-text); }
.bd-place-list { overflow-y: auto; padding: 0 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.bd-place-it {
  display: grid; grid-template-columns: 26px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; text-align: left;
  appearance: none; cursor: pointer; width: 100%; padding: 9px 10px; border: 1px solid transparent; border-radius: var(--radius-sm); background: none; color: var(--ink);
  transition: background .12s ease, border-color .12s ease;
}
.bd-place-it i { grid-row: 1 / 3; font-style: normal; font-size: 15px; line-height: 1; text-align: center; color: #C8A24B; }
.bd-place-it b { font: 700 13px/1.2 var(--cond); letter-spacing: .04em; text-transform: uppercase; }
.bd-place-it span { font: 400 10.5px/1.2 var(--mono); color: var(--gray-text); }
.bd-place-it:focus-visible { background: var(--paper-3); border-color: #C8A24B; outline: none; }
@media (hover: hover) { .bd-place-it:hover { background: var(--paper-3); border-color: #C8A24B; } }
.bd-place-it.is-here { background: rgba(200,162,75,.12); }
.bd-place-it.is-here b::after { content: " · here"; font-weight: 500; color: #C8A24B; }
.bd-place-it[disabled] { opacity: .4; cursor: default; }
.bd-place-it[disabled]:hover { background: none !important; border-color: transparent !important; }

/* ================================================== the Assembled reward card
   A set's first is issued a one-card pack (Alex, 2026-09-05); once torn the
   card is a copy in the binder like any other, drawn by assembled.js. The
   tier colour for its tag: bone, the plaque's own. */
.bcard[data-tier="ASSEMBLED"] .bcard-s { box-shadow: 0 12px 32px rgba(20,22,26,.25); }

/* the franchise hero, tightened (Alex, 2026-09-06): the top card where the
   rank block was; on a phone the crest sits beside the name, not above it */
.franchise-hero .inner { flex-wrap: nowrap; }
.franchise-hero .who { flex: 1 1 0; min-width: 0; }
.franchise-hero .fh-card { margin-left: auto; flex: 0 0 auto; width: 118px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: #fff; }
.franchise-hero .fh-card .bcard { width: 118px; }
.franchise-hero .fh-card .bcard-s { box-shadow: 0 18px 40px -14px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.28); }
.franchise-hero .fh-card .bcard-tag { display: none; }
.franchise-hero .fh-cap { font: 700 10px/1 var(--cond); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.85); }
@media (max-width: 900px) {
  .franchise-hero .inner { padding: 14px 16px; gap: 12px; align-items: center; }
  .franchise-hero .crest.xl { --size: 58px; }
  .franchise-hero .kicker { font-size: 9.5px; letter-spacing: .1em; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .franchise-hero h1 { font-size: clamp(20px, 6vw, 28px); }
  .franchise-hero .line { margin-top: 6px; font-size: 12px; }
  .franchise-hero .fh-card, .franchise-hero .fh-card .bcard { width: 88px; }
}

/* The front page's "start here" card (UX audit 2026-09-27, batch C): the draft
   desk's place, for a visitor; wire.js hides it once a GM is signed in. */
.hi { background: var(--paper, #fff); border: 1px solid var(--gray-rule, #e4e6ea); border-top: 4px solid var(--fsn-red, #d40026);
  border-radius: var(--radius, 6px); padding: 20px 22px 18px; margin: 0 0 22px; box-shadow: var(--sh-1); }
.hi-k { font: 700 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--fsn-red, #d40026); margin-bottom: 8px; }
.hi h2 { font: 700 26px/1.1 var(--cond, "Archivo Narrow", sans-serif); text-transform: uppercase; letter-spacing: .01em; margin: 0 0 8px; text-wrap: balance; }
.hi p { margin: 0; font: 400 16px/1.5 var(--serif, Georgia, serif); color: var(--ink-2, #3c4148); max-width: 62ch; }
.hi-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 14px 0 10px; }
.hi-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--fsn-red, #d40026);
  color: #fff; font: 700 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.hi-btn:hover, .hi-btn:focus-visible { background: var(--fsn-red-dark, #a80020); color: #fff; }
.hi-link { font: 600 14px/1.2 var(--sans); color: var(--fsn-red-ink, #8d001b); text-decoration: underline; text-underline-offset: 3px; min-height: 32px; display: inline-flex; align-items: center; }
.hi .hi-note { font: 400 12.5px/1.45 var(--sans); color: var(--gray-text, #626873); }

/* How the cards work (/cards/how/, UX audit 2026-09-27, F11) */
.how { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 8px 0 28px; }
.how-sec { min-width: 0; background: var(--paper, #fff); border: 1px solid var(--gray-rule, #e4e6ea); border-radius: var(--radius, 6px); padding: 18px 20px; }
.how-sec h2 { font: 700 22px/1.15 var(--cond, "Archivo Narrow", sans-serif); text-transform: uppercase; letter-spacing: .01em; margin: 0 0 8px; }
.how-sec p, .how-sec li, .how-words dd { font: 400 16px/1.55 var(--serif, Georgia, serif); color: var(--ink-2, #3c4148); max-width: 66ch; }
.how-sec p { margin: 0 0 10px; }
.how-sec ul { margin: 0 0 10px; padding-left: 20px; }
.how-sec li { margin: 4px 0; }
.how-sec a { color: var(--fsn-red-ink, #8d001b); }
.how-table { overflow-x: auto; margin-top: 6px; }
.how-table table { min-width: 320px; }
.how-words { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 12px; }
.how-words dt { font: 700 13px/1.6 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--ink, #14161a); }
.how-words dd { margin: 0; }
@media (max-width: 520px) { .how-words { grid-template-columns: 1fr; } .how-words dd { margin-bottom: 6px; } }
