/* Big Board Builder — mockup-matched live board */

.bbb-page,
.bbb-capture-host,
.bbb-board--capture {
  --bbb-blue: var(--fh-accent, #00a3ff);
  --bbb-navy: #0a1e3d;
  --bbb-muted: var(--ff-text-muted, #64748b);
  --bbb-surface: var(--ff-surface, #e8f1fd);
  --bbb-card: var(--ff-surface-raised, #ffffff);
  --bbb-tier-s: #12be73;
  --bbb-tier-a: #1d7bf4;
  --bbb-tier-b: #78b7ff;
  --bbb-tier-c: #7a90b3;
  --bbb-fit: #12be73;
  --bbb-fit-soft: #ecfdf5;
  --bbb-line: rgba(10, 30, 61, 0.1);
  --bbb-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --bbb-body: Inter, system-ui, sans-serif;
}

.bbb-page {
  margin: 0 auto;
  max-width: 1280px;
  font-family: var(--bbb-body);
  color: var(--bbb-navy);
}

.bbb-page .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bbb-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 270px) minmax(0, 1fr) minmax(220px, 260px);
  gap: 1.15rem 1.35rem;
  padding: 1.4rem 1.3rem 1.15rem;
  border-radius: 8px;
  background: var(--ff-surface, #eef5fd);
  border: 1px solid #d3e2f5;
  box-shadow: none;
  overflow: hidden;
}

.bbb-board__playbook {
  display: none;
}

.bbb-brand,
.bbb-main,
.bbb-side {
  position: relative;
  z-index: 1;
}

.bbb-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.2rem 0.1rem;
}

.bbb-brand__lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--bbb-navy);
  max-width: 100%;
}

.bbb-brand__icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  object-position: center;
}

.bbb-brand__wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.18rem;
  min-width: 0;
}

.bbb-brand__wordmark-title {
  font-family: var(--bbb-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.bbb-brand__wordmark-hq {
  color: var(--bbb-blue);
}

.bbb-brand__wordmark-tag {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--bbb-muted);
  line-height: 1.3;
  max-width: 12rem;
}

.bbb-brand__domain {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--bbb-blue);
  line-height: 1;
}

.bbb-brand__title {
  margin: 0.15rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 0.95;
}

.bbb-brand__title-big {
  font-family: var(--bbb-display);
  font-size: clamp(2rem, 3.4vw, 2.55rem);
  font-weight: 800;
  color: var(--bbb-navy);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.bbb-brand__title-builder {
  font-family: var(--bbb-display);
  font-size: clamp(2rem, 3.4vw, 2.55rem);
  font-weight: 800;
  color: var(--bbb-blue);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.bbb-brand__sub {
  margin: 0;
  color: var(--bbb-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.bbb-creator-credit {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid rgba(10, 30, 61, 0.1);
  box-shadow: 0 8px 20px rgba(10, 30, 61, 0.04);
  max-width: 100%;
  min-width: 0;
}

.bbb-creator-credit[hidden] {
  display: none !important;
}

.bbb-creator-credit__mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #0a1e3d;
  color: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(10, 30, 61, 0.12);
}

.bbb-creator-credit__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #0a1e3d;
  padding: 0;
  display: block;
}

.bbb-creator-credit__initials {
  font-family: var(--bbb-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

.bbb-creator-credit__copy {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
}

.bbb-creator-credit__copy strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--bbb-navy);
  letter-spacing: -0.015em;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bbb-creator-credit__with {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--bbb-muted);
}

.bbb-creator-credit__hq {
  color: var(--bbb-blue);
  font-weight: 800;
}

.bbb-team {
  display: grid;
  gap: 0.55rem;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid var(--bbb-line);
  box-shadow: none;
}

.bbb-team__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.bbb-team__label {
  font-family: var(--bbb-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bbb-blue);
}

.bbb-team__clear {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--bbb-muted);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bbb-team__hero {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: #0a1e3d;
  color: #fff;
  min-height: 72px;
  border: none;
  box-shadow: 0 10px 24px rgba(10, 30, 61, 0.22);
}

.bbb-page.has-team .bbb-team__hero {
  background: #0a1e3d;
}

.bbb-team__hero-logo-wrap {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--ff-surface-raised, #fff);
  border: none;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}

.bbb-team__hero-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.bbb-team__hero-fallback {
  font-family: var(--bbb-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--bbb-muted);
}

.bbb-team__hero-copy {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
}

.bbb-team__hero-copy strong {
  font-family: var(--bbb-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bbb-team__hero-copy span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.25;
}

.bbb-team__select {
  display: none;
}

.bbb-team__logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  max-height: 168px;
  overflow: auto;
  padding-right: 0.15rem;
}

/* Once a franchise is picked, only the hero shows that team — hide the full picker */
.bbb-page.has-team .bbb-team__logos {
  display: none;
}

.bbb-team__chip {
  appearance: none;
  border: 1px solid rgba(10, 30, 61, 0.08);
  border-radius: 12px;
  background: var(--ff-surface-raised, #fff);
  padding: 0.35rem 0.2rem 0.3rem;
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.bbb-team__chip img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.bbb-team__chip span {
  font-family: var(--bbb-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--bbb-muted);
}

.bbb-team__chip:hover {
  border-color: rgba(0, 163, 255, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 163, 255, 0.12);
}

.bbb-team__chip.is-active {
  border-color: var(--bbb-blue);
  background: rgba(0, 163, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(0, 163, 255, 0.25);
}

.bbb-team__chip.is-active span {
  color: var(--bbb-blue);
}

.bbb-team__needs-label {
  margin: 0.15rem 0 0.35rem;
  font-family: var(--bbb-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bbb-muted);
}

.bbb-team__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.bbb-need-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: var(--ff-surface-raised, #fff);
  color: var(--bbb-navy);
  border: 1px solid var(--bbb-line);
  font-family: var(--bbb-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.bbb-need-chip--priority {
  background: var(--bbb-navy);
  border-color: var(--bbb-navy);
  color: #fff;
}

.bbb-fit {
  display: inline-flex;
  margin-left: 0.35rem;
  padding: 0.08rem 0.32rem;
  border-radius: 4px;
  background: rgba(10, 30, 61, 0.06);
  color: var(--bbb-navy);
  border: 1px solid rgba(10, 30, 61, 0.12);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  vertical-align: middle;
}

.bbb-table tbody tr.is-need-fit {
  background: var(--bbb-fit-soft);
  box-shadow: none;
  border-left: 3px solid var(--bbb-fit);
}

.bbb-table tbody tr.is-need-fit:not(.is-selected):hover {
  background: #e8f1fd;
}

.bbb-avail__row.is-need-fit,
.bbb-pool li.is-need-fit {
  background: var(--bbb-fit-soft);
  border-radius: 8px;
}

.bbb-toggle input:disabled + .bbb-toggle__ui {
  opacity: 0.45;
}

.bbb-features {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.bbb-features li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.55rem;
  align-items: start;
}

.bbb-features__icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #e8f1fd;
  color: var(--bbb-navy);
  border: 1px solid var(--bbb-line);
}

.bbb-features__icon svg {
  width: 16px;
  height: 16px;
}

.bbb-features__copy strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--bbb-navy);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.bbb-features__copy span {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.72rem;
  color: var(--bbb-muted);
  line-height: 1.3;
}

.bbb-brand__actions {
  display: grid;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.bbb-btn {
  appearance: none;
  border: none;
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.bbb-btn--primary {
  background: var(--bbb-blue);
  color: #fff;
}

.bbb-btn--ghost {
  background: var(--ff-surface-raised, #fff);
  color: var(--bbb-navy);
  border: 1px solid rgba(10, 30, 61, 0.12);
}

.bbb-main {
  background: var(--bbb-card);
  border-radius: 12px;
  border: 1px solid var(--bbb-line);
  box-shadow: none;
  padding: 1rem 1rem 0.85rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 520px;
}

.bbb-main__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.bbb-main__title {
  margin: 0;
  font-family: var(--bbb-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bbb-navy);
}

.bbb-main__edit {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--bbb-blue);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

.bbb-table-wrap {
  flex: 1;
  overflow: auto;
  min-height: 0;
}

.bbb-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.35rem;
}

.bbb-table thead th {
  text-align: left;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bbb-muted);
  padding: 0 0.55rem 0.35rem;
  position: sticky;
  top: 0;
  background: var(--ff-surface-raised, #fff);
  z-index: 1;
}

.bbb-table tbody tr {
  background: #f7fbff;
  box-shadow: inset 0 0 0 1px rgba(10, 30, 61, 0.04);
  cursor: grab;
  transition: background 0.15s ease;
}

.bbb-table tbody tr td:first-child {
  border-radius: 8px 0 0 8px;
}

.bbb-table tbody tr td:last-child {
  border-radius: 0 8px 8px 0;
}

.bbb-table tbody tr.is-dragging {
  opacity: 0.55;
  cursor: grabbing;
}

.bbb-table tbody tr.is-drop-target {
  outline: 1px solid rgba(0, 163, 255, 0.55);
  outline-offset: -1px;
}

.bbb-table tbody tr:hover {
  background: #e8f1fd;
  box-shadow: inset 0 0 0 1px rgba(10, 30, 61, 0.08);
  transform: none;
}

.bbb-table tbody tr.is-selected {
  background: #e8f1fd;
  box-shadow: inset 0 0 0 1px rgba(0, 163, 255, 0.2);
  border-left: 2px solid var(--bbb-blue);
  transform: none;
  z-index: 2;
  position: relative;
  color: var(--bbb-navy);
}

.bbb-table tbody tr.is-selected:hover {
  background: #e5f1ff;
  box-shadow: inset 0 0 0 1px rgba(0, 163, 255, 0.25);
}

.bbb-table tbody tr.is-selected.is-need-fit {
  background: #e8f1fd;
  box-shadow: inset 0 0 0 1px rgba(0, 163, 255, 0.2);
  border-left: 2px solid var(--bbb-blue);
  color: var(--bbb-navy);
}

.bbb-table tbody tr.is-selected .bbb-rank {
  color: var(--bbb-blue);
  font-weight: 900;
}

.bbb-table tbody tr.is-selected .bbb-player__name {
  color: var(--bbb-navy);
}

.bbb-table td {
  padding: 0.55rem 0.55rem;
  font-size: 0.82rem;
  color: var(--bbb-navy);
  vertical-align: middle;
}

.bbb-rank {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  width: 2.2rem;
  color: var(--bbb-muted);
}

.bbb-th-remove {
  width: 2rem;
}

.bbb-remove-cell {
  width: 2rem;
  text-align: center;
  padding-right: 0.35rem !important;
}

.bbb-remove {
  appearance: none;
  border: none;
  background: transparent;
  color: #7a90b3;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.bbb-remove:hover {
  background: rgba(255, 59, 77, 0.12);
  color: #ff3b4d;
}

.bbb-remove:focus-visible {
  outline: 2px solid var(--bbb-blue);
  outline-offset: 1px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bbb-player {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.bbb-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--bbb-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: #5a7394;
  flex-shrink: 0;
  background: transparent;
  overflow: hidden;
}

.bbb-avatar--fallback {
  background: #e8f1fd;
}

.bbb-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: transparent;
}

.bbb-player__name {
  font-family: var(--bbb-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bbb-player__name button {
  appearance: none;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.bbb-player__name button:hover {
  color: var(--bbb-blue);
}

.bbb-pos,
.bbb-school {
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--bbb-muted);
}

.bbb-tier {
  appearance: none;
  border: none;
  width: 28px;
  height: 32px;
  clip-path: polygon(50% 0%, 100% 18%, 100% 72%, 50% 100%, 0% 72%, 0% 18%);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 900;
  color: #fff;
  cursor: pointer;
}

.bbb-tier--s { background: var(--bbb-tier-s); }
.bbb-tier--a { background: var(--bbb-tier-a); }
.bbb-tier--b { background: var(--bbb-tier-b); color: var(--ff-heading, #0a1e3d); }
.bbb-tier--c { background: var(--bbb-tier-c); }

.bbb-board:not(.show-tiers) .bbb-tier {
  background: #c7dcf2;
  color: var(--bbb-navy);
}

.bbb-hint {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.7rem;
  color: var(--bbb-muted);
}

.bbb-share {
  margin-top: 0.85rem;
  padding: 0.75rem 0.8rem;
  border-radius: 14px;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid rgba(10, 30, 61, 0.08);
}

.bbb-share--exports {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
}

.bbb-share--exports .bbb-share__label {
  margin: 0;
  flex: 1 1 auto;
}

.bbb-share--exports .bbb-share__status {
  flex: 1 0 100%;
  margin: 0;
}

.bbb-share__demo-link {
  flex: 1 0 100%;
  margin: 0.15rem 0 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bbb-accent, #00a3ff);
  cursor: pointer;
  text-align: left;
}

.bbb-share__demo-link:hover {
  text-decoration: underline;
}

.bbb-share__preview {
  flex: 1 0 100%;
  margin: 0.15rem 0 0.35rem;
}

.bbb-share__preview-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(17, 153, 255, 0.18), transparent 42%),
    linear-gradient(160deg, #07182f 0%, #0d2f56 55%, #0a2344 100%);
  border: 1px solid rgba(10, 30, 61, 0.12);
}

.bbb-share__preview-frame[data-ratio="1:1"] { aspect-ratio: 1 / 1; }
.bbb-share__preview-frame[data-ratio="7:8"] { aspect-ratio: 7 / 8; max-height: 300px; width: auto; margin: 0 auto; }
.bbb-share__preview-frame[data-ratio="4:5"] { aspect-ratio: 4 / 5; max-height: 280px; width: auto; margin: 0 auto; }
.bbb-share__preview-frame[data-ratio="9:16"] { aspect-ratio: 9 / 16; max-height: 240px; width: auto; margin: 0 auto; }

.bbb-share__preview-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bbb-share__preview-img[hidden] {
  display: none !important;
}

.bbb-share__preview-skeleton {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  color: #b7d9ff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.bbb-share__preview-skeleton::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(17, 153, 255, 0.16) 50%,
    rgba(255, 255, 255, 0.08) 55%,
    transparent 70%
  );
  background-size: 220% 100%;
  animation: bbb-share-shimmer 1.4s ease-in-out infinite;
}

.bbb-share__preview-spinner {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2.5px solid rgba(156, 201, 255, 0.28);
  border-top-color: #7ec4ff;
  border-right-color: #1199ff;
  animation: bbb-share-spin 0.75s linear infinite;
}

.bbb-share__preview-skel-label {
  position: relative;
  z-index: 1;
  animation: bbb-share-pulse 1.2s ease-in-out infinite;
}

.bbb-share__preview-frame.is-ready .bbb-share__preview-skeleton {
  display: none;
}

.bbb-share__preview-frame.is-ready {
  background: #0a1e3d;
}

@keyframes bbb-share-spin {
  to { transform: rotate(360deg); }
}

@keyframes bbb-share-shimmer {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

@keyframes bbb-share-pulse {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .bbb-share__preview-skeleton::before,
  .bbb-share__preview-spinner,
  .bbb-share__preview-skel-label {
    animation: none;
  }

  .bbb-share__preview-skel-label {
    opacity: 1;
  }
}

.bbb-share__preview-caption {
  margin: 0.35rem 0 0;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--bbb-muted, #64748b);
  text-align: center;
}

.bbb-share--social {
  margin-top: 0;
  padding: 0.75rem 0.8rem;
}

.bbb-share--social .bbb-card__head {
  margin-bottom: 0.55rem;
}

.bbb-share--social .bbb-share__row {
  margin-top: 0;
}

.bbb-share__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
}

.bbb-share__label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bbb-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.bbb-share__exports {
  display: inline-flex;
  gap: 0.35rem;
}

.bbb-share__export {
  appearance: none;
  border: 1px solid rgba(10, 30, 61, 0.14);
  background: var(--ff-surface, #eef5fd);
  color: var(--bbb-navy);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.bbb-share__export:hover {
  background: #e5f1ff;
  border-color: rgba(0, 163, 255, 0.45);
  color: var(--bbb-blue);
}

.bbb-share__export:disabled {
  opacity: 0.55;
  cursor: wait;
}

.bbb-share__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.bbb-share__btn {
  appearance: none;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.bbb-share__btn svg {
  width: 16px;
  height: 16px;
}

.bbb-share__btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.bbb-share__btn:focus-visible {
  outline: 2px solid var(--bbb-blue);
  outline-offset: 2px;
}

.bbb-share__btn:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.bbb-share__btn--x { background: #0a1e3d; }
.bbb-share__btn--facebook { background: #1877f2; }
.bbb-share__btn--reddit { background: #ff4500; }
.bbb-share__btn--linkedin { background: #0a66c2; }
.bbb-share__btn--whatsapp { background: #25d366; }
.bbb-share__btn--instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.bbb-share__btn--native { background: var(--fh-accent, #00a3ff); }

.bbb-share__status {
  margin: 0.5rem 0 0;
  min-height: 1.1em;
  font-size: 0.72rem;
  color: var(--bbb-muted);
}

/* Off-DOM export — mirrors live My Big Board + Left Off arguments */
.bbb-capture-host {
  position: fixed;
  left: -16000px;
  top: 0;
  z-index: -1;
  pointer-events: none;
}

.bbb-board--capture {
  box-shadow: none !important;
  font-family: var(--bbb-body);
  color: var(--bbb-navy);
}

/* Hardcoded brand split — html2canvas clone is outside .bbb-page */
.bbb-board--capture .bbb-brand__wordmark-title,
.bbb-board--capture .bbb-brand__title-big {
  color: var(--ff-heading, #0a1e3d) !important;
}

.bbb-board--capture .bbb-brand__wordmark-hq,
.bbb-board--capture .bbb-brand__domain,
.bbb-board--capture .bbb-brand__title-builder {
  color: var(--fh-accent, #00a3ff) !important;
}

.bbb-board--capture .bbb-brand__wordmark-tag,
.bbb-board--capture .bbb-brand__sub {
  color: var(--ff-text-muted, #64748b) !important;
}

.bbb-board--capture .bbb-footer {
  margin-top: 0.5rem;
}

/* Light board-studio exports — match live Big Board Builder look */
.bbb-presentation {
  --bbb-accent: var(--fh-accent, #00a3ff);
  box-sizing: border-box;
  padding: 28px 28px 22px;
  background: var(--ff-surface, #eef5fd);
  color: var(--ff-heading, #0a1e3d);
  font-family: Inter, system-ui, sans-serif;
  display: flex;
  flex-direction: column;
}

.bbb-presentation__masthead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid rgba(10, 30, 61, 0.1);
}

.bbb-presentation__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.bbb-presentation__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  display: block;
  transform: translateY(1px);
}

.bbb-presentation__fhq-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0a1e3d;
  border: 1px solid rgba(0, 163, 255, 0.3);
  box-sizing: border-box;
  display: grid;
  place-items: center;
}

.bbb-presentation__fhq-mark .bbb-presentation__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 1px;
  transform: none;
}

.bbb-presentation__brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.12rem;
  min-width: 0;
  line-height: 1;
}

.bbb-presentation__wordmark {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ff-heading, #0a1e3d);
  margin: 0;
}

.bbb-presentation__wordmark span {
  color: var(--bbb-blue, #00a3ff);
}

.bbb-presentation__product {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ff-text-muted, #64748b);
  margin: 0;
  line-height: 1;
}

.bbb-presentation__edition {
  text-align: right;
  flex-shrink: 0;
}

.bbb-presentation__edition-kicker {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ff-text-muted, #64748b);
  margin-bottom: 0.2rem;
}

.bbb-presentation__edition-title {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--ff-heading, #0a1e3d);
}

.bbb-presentation__edition-title em {
  font-style: normal;
  color: var(--bbb-accent, #00a3ff);
}

.bbb-presentation__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ff-text-muted, #64748b);
}

.bbb-presentation__meta strong {
  color: var(--ff-heading, #0a1e3d);
  font-weight: 700;
}

.bbb-presentation__stage {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  flex: 1;
  min-height: 0;
}

.bbb-presentation__stage .bbb-board--capture {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 32px rgba(10, 30, 61, 0.06) !important;
}

.bbb-presentation__stage .bbb-brand__sub,
.bbb-presentation__stage .bbb-features,
.bbb-presentation__stage .bbb-footer {
  display: none !important;
}

.bbb-presentation__watermark .bbb-presentation__brand,
.bbb-presentation__watermark .bbb-presentation__cobrand {
  margin-bottom: 0.2rem;
}

.bbb-presentation__watermark .bbb-presentation__logo,
.bbb-presentation__watermark .bbb-presentation__creator-logo,
.bbb-presentation__watermark .bbb-presentation__fhq-mark,
.bbb-presentation__watermark .bbb-presentation__preview-fhq {
  width: 36px;
  height: 36px;
}

.bbb-presentation__watermark .bbb-presentation__wordmark {
  font-size: 1.05rem;
}

.bbb-presentation__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  margin-top: 0.95rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid rgba(10, 30, 61, 0.1);
}

.bbb-presentation__watermark {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.bbb-presentation__watermark-mark {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ff-heading, #0a1e3d);
}

.bbb-presentation__watermark-mark span {
  color: var(--bbb-accent, #00a3ff);
}

.bbb-presentation__watermark-line {
  font-size: 0.7rem;
  color: var(--ff-text-muted, #64748b);
  line-height: 1.35;
}

.bbb-presentation__qr {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.bbb-presentation__qr-frame {
  width: 64px;
  height: 64px;
  padding: 4px;
  border-radius: 8px;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid rgba(10, 30, 61, 0.1);
  box-sizing: border-box;
}

.bbb-presentation__qr--lg .bbb-presentation__qr-frame {
  width: var(--bbb-qr-size, 132px);
  height: var(--bbb-qr-size, 132px);
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(10, 30, 61, 0.12);
  box-shadow: 0 8px 20px rgba(10, 30, 61, 0.08);
}

.bbb-presentation__foot--qr {
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
}

.bbb-presentation__qr--lg {
  gap: 0.75rem;
}

.bbb-presentation__qr--lg .bbb-presentation__qr-copy {
  max-width: 160px;
  font-size: 0.78rem;
}

.bbb-presentation__qr--lg .bbb-presentation__qr-copy strong {
  font-size: 0.9rem;
}

/* Mini-board compact exports — stacked live UI */
.bbb-presentation--mini {
  gap: 0.75rem;
  padding: 22px 22px 18px;
}

.bbb-mini__top {
  display: grid;
  gap: 0.7rem;
}

.bbb-mini__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 0.15rem 0 0.7rem;
  min-height: 40px;
}

.bbb-mini__brand-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  display: block;
  /* Optical vertical balance — shield SVGs sit high in their viewBox */
  transform: translateY(1px);
}

.bbb-mini__brand > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.12rem;
  min-width: 0;
  line-height: 1;
}

.bbb-mini__brand-word {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ff-heading, #0a1e3d);
  line-height: 1;
  margin: 0;
}

.bbb-mini__brand-word span {
  color: var(--bbb-blue, #00a3ff);
}

.bbb-mini__brand-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ff-text-muted, #64748b);
  margin: 0;
  line-height: 1;
}

.bbb-presentation--mini .bbb-presentation__credit {
  margin: 0;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(10, 30, 61, 0.1);
  border-radius: 12px;
  background: var(--ff-surface-raised, #fff);
  border-bottom: 1px solid rgba(10, 30, 61, 0.1);
}

.bbb-mini__label {
  margin: 0 0 0.4rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bbb-blue, #00a3ff);
}

.bbb-mini__drafting {
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid rgba(10, 30, 61, 0.1);
}

.bbb-mini__team {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: #0a1e3d;
  color: #fff;
  box-shadow: 0 10px 24px rgba(10, 30, 61, 0.22);
}

.bbb-mini__team--open {
  background: #f7fbff;
  color: var(--ff-heading, #0a1e3d);
  border: 1px solid rgba(10, 30, 61, 0.1);
  box-shadow: none;
  display: grid;
  gap: 0.15rem;
}

.bbb-mini__team--open strong {
  color: var(--ff-heading, #0a1e3d);
}

.bbb-mini__team--open span {
  color: var(--ff-text-muted, #64748b);
  font-size: 0.72rem;
}

.bbb-mini__team-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--ff-surface-raised, #fff);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  font-weight: 800;
  color: var(--ff-heading, #0a1e3d);
}

.bbb-mini__team-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.bbb-mini__team-copy {
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.bbb-mini__team-copy strong {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
}

.bbb-mini__team-copy span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.25;
}

.bbb-mini__board {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0.7rem 0.75rem 0.55rem;
  border-radius: 14px;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid rgba(10, 30, 61, 0.1);
  box-shadow: 0 8px 20px rgba(10, 30, 61, 0.04);
  overflow: hidden;
}

.bbb-mini__board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.bbb-mini__board-head h3 {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ff-heading, #0a1e3d);
}

.bbb-mini__board-head span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bbb-accent, #00a3ff);
}

.bbb-presentation--mini .bbb-pack {
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  background: transparent;
  flex: 1;
}

.bbb-presentation--mini .bbb-pack--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 0.55rem;
  align-content: start;
}

.bbb-presentation--mini .bbb-pack--grid .bbb-pack__row {
  grid-template-columns: 28px 36px minmax(0, 1fr) 28px;
  gap: 0.35rem;
  padding: 0.4rem 0.4rem;
  border: 1px solid rgba(10, 30, 61, 0.08);
  border-radius: 10px;
  border-bottom: 1px solid rgba(10, 30, 61, 0.08);
  background: var(--ff-surface-raised, #fff);
  min-width: 0;
}

.bbb-presentation--mini .bbb-pack--grid .bbb-pack__row:last-child {
  border-bottom: 1px solid rgba(10, 30, 61, 0.08);
}

.bbb-presentation--mini .bbb-pack--grid .bbb-pack__rank {
  font-size: 0.95rem;
}

.bbb-presentation--mini .bbb-pack--grid .bbb-pack__avatar {
  width: 36px;
  height: 36px;
}

.bbb-presentation--mini .bbb-pack--grid .bbb-pack__meta strong {
  font-size: 0.78rem;
}

.bbb-presentation--mini .bbb-pack--grid .bbb-pack__meta span {
  font-size: 0.6rem;
}

.bbb-presentation--mini .bbb-pack--grid .bbb-pack__tier {
  width: 28px;
  height: 28px;
}

.bbb-presentation--mini .bbb-pack--grid .bbb-pack__tier .bbb-capture-hex {
  transform: scale(0.85);
  transform-origin: center;
}

.bbb-presentation--story .bbb-pack--grid {
  gap: 0.5rem 0.65rem;
}

.bbb-presentation--story .bbb-pack--grid .bbb-pack__row {
  grid-template-columns: 32px 40px minmax(0, 1fr) 32px;
  padding: 0.5rem 0.45rem;
}

.bbb-presentation--story .bbb-pack--grid .bbb-pack__avatar {
  width: 40px;
  height: 40px;
}

.bbb-presentation--story .bbb-pack--grid .bbb-pack__meta strong {
  font-size: 0.88rem;
}

.bbb-mini__tiers {
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid rgba(10, 30, 61, 0.1);
}

.bbb-mini__tiers-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.bbb-mini__tier {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  text-align: center;
}

.bbb-mini__tier-hex {
  display: grid;
  place-items: center;
}

.bbb-mini__tier strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ff-heading, #0a1e3d);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.bbb-mini__tier span {
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ff-text-muted, #64748b);
  line-height: 1.2;
}

.bbb-presentation--square .bbb-pack__row,
.bbb-presentation--feed .bbb-pack__row {
  padding: 0.42rem 0.35rem;
}

.bbb-presentation--story .bbb-mini__top {
  gap: 0.85rem;
}

.bbb-presentation--story .bbb-mini__board-head h3 {
  font-size: 1.35rem;
}

.bbb-presentation--story .bbb-presentation__qr--lg .bbb-presentation__qr-copy {
  max-width: 180px;
  font-size: 0.85rem;
}

.bbb-presentation--story .bbb-pack__row {
  grid-template-columns: 40px 52px minmax(0, 1fr) 40px;
  padding: 0.55rem 0.4rem;
}

.bbb-presentation--story .bbb-pack__avatar {
  width: 52px;
  height: 52px;
}

.bbb-presentation--story .bbb-pack__meta strong {
  font-size: 1.02rem;
}

.bbb-presentation--square,
.bbb-presentation--feed,
.bbb-presentation--story {
  padding: 22px 22px 18px;
  background: var(--ff-surface, #eef5fd);
}

.bbb-presentation__qr-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.bbb-presentation__qr-copy {
  display: grid;
  gap: 0.1rem;
  font-size: 0.68rem;
  line-height: 1.3;
  color: var(--ff-text-muted, #64748b);
  max-width: 140px;
}

.bbb-presentation__qr-copy strong {
  color: var(--ff-heading, #0a1e3d);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.bbb-export-id {
  margin-top: 0.85rem;
  padding: 0.85rem 0.8rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(10, 30, 61, 0.1);
  background: linear-gradient(180deg, var(--ff-surface-raised, #ffffff) 0%, var(--ff-surface, #f7fbff) 100%);
  display: grid;
  gap: 0.7rem;
}

.bbb-export-id__head {
  display: grid;
  gap: 0.2rem;
}

.bbb-export-id__kicker {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bbb-blue);
}

.bbb-export-id__lede {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--bbb-muted);
  line-height: 1.35;
}

.bbb-export-id__fields {
  display: grid;
  gap: 0.55rem;
}

.bbb-export-id__preview {
  display: grid;
  gap: 0.28rem;
}

.bbb-export-id__preview-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a90b3;
}

.bbb-export-id__hint {
  margin: 0;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  background: #0a1e3d;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
}

.bbb-creator-field {
  display: grid;
  gap: 0.28rem;
  margin: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bbb-muted);
}

.bbb-creator-field input[type="text"] {
  appearance: none;
  border: 1px solid var(--bbb-line);
  border-radius: 9px;
  padding: 0.58rem 0.7rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--bbb-navy);
  background: var(--ff-surface-raised, #fff);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bbb-creator-field input[type="text"]:focus {
  outline: none;
  border-color: rgba(0, 163, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.12);
}

.bbb-creator-field input[type="text"]::placeholder {
  color: #7a90b3;
  font-weight: 500;
}

.bbb-pro-brand {
  margin-top: 0.15rem;
  padding: 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(10, 30, 61, 0.1);
  background:
    linear-gradient(165deg, rgba(0, 163, 255, 0.06) 0%, transparent 42%),
    linear-gradient(180deg, var(--ff-surface-raised, #ffffff) 0%, var(--ff-surface, #f7f9fc) 100%);
  display: grid;
  gap: 0.75rem;
}

.bbb-pro-brand.is-locked {
  position: relative;
}

.bbb-pro-brand.is-locked .bbb-pro-brand__controls,
.bbb-pro-brand.is-locked .bbb-pro-brand__preview {
  opacity: 0.58;
  pointer-events: none;
}

.bbb-pro-brand__head {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.bbb-pro-brand__titles {
  min-width: 0;
}

.bbb-pro-brand__title {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bbb-navy);
}

.bbb-pro-brand__sub {
  margin: 0.2rem 0 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--bbb-muted);
  line-height: 1.35;
}

.bbb-pro-brand__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.35rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--bbb-navy);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
  line-height: 1;
  text-align: center;
}

.bbb-pro-brand__badge--on {
  background: #0d7a4f;
}

.bbb-pro-brand__preview {
  display: grid;
  grid-template-columns: auto auto auto minmax(0, 1fr);
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  background: #0a1e3d;
}

.bbb-pro-brand__preview.is-uploading .bbb-pro-brand__preview-mark {
  background: #dbe6f4;
}

.bbb-pro-brand__preview-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--ff-surface-raised, #fff);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.bbb-pro-brand__preview-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  display: block;
}

.bbb-pro-brand__preview-mark--fhq {
  background: #0a1e3d;
  border-color: rgba(0, 163, 255, 0.4);
  box-shadow: 0 0 12px rgba(0, 163, 255, 0.18);
}

.bbb-pro-brand__preview-mark--fhq img,
.bbb-pro-brand__preview-fhq {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 2px;
  display: block;
}

.bbb-pro-brand__preview-placeholder {
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7a90b3;
  text-align: center;
  line-height: 1.15;
  padding: 0 2px;
}

.bbb-pro-brand__preview-progress {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--bbb-navy);
  letter-spacing: 0.02em;
  background:
    linear-gradient(
      90deg,
      rgba(0, 163, 255, 0.35) 0%,
      rgba(0, 163, 255, 0.35) var(--bbb-upload-pct, 0%),
      transparent var(--bbb-upload-pct, 0%)
    );
}

.bbb-pro-brand__preview-x {
  color: var(--bbb-blue, #00a3ff);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.bbb-pro-brand__preview-caption {
  justify-self: end;
  font-size: 0.58rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-align: right;
}

.bbb-pro-brand__preview.is-ready .bbb-pro-brand__preview-caption {
  color: rgba(255, 255, 255, 0.78);
}

.bbb-pro-brand__controls {
  display: grid;
  gap: 0.7rem;
}

.bbb-logo-upload {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.4rem;
  align-items: center;
}

.bbb-logo-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}

.bbb-logo-upload__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(10, 30, 61, 0.14);
  background: var(--ff-surface-raised, #fff);
  color: var(--bbb-navy);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  cursor: pointer;
  white-space: nowrap;
}

.bbb-logo-upload__btn:hover {
  border-color: rgba(0, 163, 255, 0.45);
  color: #075ce5;
}

.bbb-logo-upload__name {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--bbb-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bbb-logo-upload__clear {
  appearance: none;
  border: none;
  background: transparent;
  color: #7a90b3;
  font: inherit;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0;
}

.bbb-logo-upload__clear:hover {
  color: #ff3b4d;
}

.bbb-accent-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.bbb-accent-row input[type="color"] {
  appearance: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(10, 30, 61, 0.14);
  border-radius: 8px;
  background: var(--ff-surface-raised, #fff);
  cursor: pointer;
  overflow: hidden;
}

.bbb-accent-row input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 3px;
}

.bbb-accent-row input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 5px;
}

.bbb-accent-row__hex {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bbb-navy);
  font-variant-numeric: tabular-nums;
}

.bbb-pro-brand__note {
  margin: 0;
  font-size: 0.68rem;
  color: var(--bbb-muted);
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.bbb-share__presets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}

.bbb-share__preset {
  appearance: none;
  border: 1px solid var(--bbb-line);
  border-radius: 8px;
  background: var(--ff-surface-raised, #fff);
  color: var(--bbb-navy);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.45rem 0.3rem;
  cursor: pointer;
}

.bbb-share__preset.is-active {
  background: var(--bbb-navy);
  border-color: var(--bbb-navy);
  color: #fff;
}

.bbb-share__export--link {
  grid-column: 1 / -1;
  background: rgba(0, 163, 255, 0.1);
  color: #075ce5;
  border-color: rgba(0, 163, 255, 0.28);
}

.bbb-presentation__ownership {
  margin: 0 0 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid rgba(10, 30, 61, 0.1);
  box-shadow: 0 8px 20px rgba(10, 30, 61, 0.04);
}

.bbb-presentation__credit {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.75rem;
  padding: 0 0 0.7rem;
  border-bottom: 1px solid rgba(10, 30, 61, 0.08);
}

.bbb-presentation__credit-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #0a1e3d;
  color: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--bbb-accent, #00a3ff);
}

.bbb-presentation__credit-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #0a1e3d;
  padding: 0;
}

.bbb-presentation__credit-initials {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.bbb-presentation__credit-copy {
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.bbb-presentation__credit-copy strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ff-heading, #0a1e3d);
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.bbb-presentation__credit-with {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ff-text-muted, #64748b);
}

.bbb-presentation__ownership h3 {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--ff-heading, #0a1e3d);
  text-transform: none;
}

.bbb-presentation__ownership p {
  margin: 0.3rem 0 0;
  font-size: 0.78rem;
  color: var(--ff-text-muted, #64748b);
}

.bbb-presentation__built {
  color: var(--ff-heading, #0a1e3d) !important;
  font-weight: 700;
}

.bbb-presentation__cobrand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.bbb-presentation__creator-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  background: #0a1e3d;
  border: 1px solid rgba(10, 30, 61, 0.1);
  padding: 0;
  flex-shrink: 0;
  display: block;
}

.bbb-presentation__cobrand-x {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--bbb-accent, #00a3ff);
  line-height: 1;
  flex-shrink: 0;
}

.bbb-pack {
  list-style: none;
  margin: 0;
  padding: 0.55rem 0.65rem;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: grid;
  gap: 0;
  align-content: start;
  background: var(--ff-surface-raised, #fff);
  border-radius: 14px;
  border: 1px solid rgba(10, 30, 61, 0.1);
  box-shadow: 0 8px 20px rgba(10, 30, 61, 0.04);
}

.bbb-pack__row {
  display: grid;
  grid-template-columns: 36px 44px minmax(0, 1fr) 36px;
  gap: 0.55rem;
  align-items: center;
  padding: 0.5rem 0.45rem;
  border-radius: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(10, 30, 61, 0.06);
  border-left: 3px solid transparent;
}

.bbb-pack__row:last-child {
  border-bottom: none;
}

.bbb-pack__row.is-need-fit {
  background: #ecfdf5;
  border-left-color: var(--bbb-fit, #12be73);
}

.bbb-pack__rank {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--ff-heading, #0a1e3d);
  text-align: center;
}

.bbb-pack__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: #dbe6f4;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--ff-heading, #0a1e3d);
  border: 1px solid rgba(10, 30, 61, 0.08);
}

.bbb-pack__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bbb-pack__meta {
  min-width: 0;
  display: grid;
  gap: 0.08rem;
}

.bbb-pack__meta strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ff-heading, #0a1e3d);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bbb-pack__meta span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ff-text-muted, #64748b);
}

.bbb-pack__tier {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: transparent;
  border-radius: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.bbb-pack__tier .bbb-capture-hex {
  display: block;
}

.bbb-presentation--story .bbb-presentation__masthead {
  flex-direction: column;
  align-items: flex-start;
}

.bbb-presentation--story .bbb-presentation__edition {
  text-align: left;
}

.bbb-presentation--story .bbb-pack {
  padding: 0.65rem 0.75rem;
}

.bbb-presentation--story .bbb-pack__row {
  grid-template-columns: 40px 52px minmax(0, 1fr) 40px;
  padding: 0.62rem 0.5rem;
}

.bbb-presentation--story .bbb-pack__avatar {
  width: 52px;
  height: 52px;
}

.bbb-presentation--story .bbb-pack__meta strong {
  font-size: 1.05rem;
}

.bbb-presentation--story .bbb-presentation__ownership h3 {
  font-size: 1.65rem;
}

.bbb-presentation--story .bbb-presentation__credit {
  margin-bottom: 0.85rem;
  padding-bottom: 0.8rem;
}

.bbb-presentation--square,
.bbb-presentation--feed,
.bbb-presentation--story {
  padding: 28px 28px 22px;
  background: var(--ff-surface, #eef5fd);
}

.bbb-share-landing {
  max-width: 880px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2.5rem;
}

.bbb-share-landing__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.bbb-share-landing__back {
  color: var(--bbb-muted, #64748b);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
}

.bbb-share-landing__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.bbb-share-landing__wordmark {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ff-heading, #0a1e3d);
}

.bbb-share-landing__wordmark span {
  color: var(--fh-accent, #00a3ff);
}

.bbb-share-landing__product {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ff-text-muted, #64748b);
}

.bbb-share-landing__card {
  background: var(--ff-surface-raised, #fff);
  border: 1px solid rgba(10, 30, 61, 0.1);
  border-radius: 16px;
  padding: 1.25rem 1.15rem 1.4rem;
  box-shadow: 0 16px 40px rgba(10, 30, 61, 0.06);
}

.bbb-share-landing__title {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--ff-heading, #0a1e3d);
  line-height: 1.05;
}

.bbb-share-landing__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin: 0.55rem 0 1rem;
  font-size: 0.8rem;
  color: var(--ff-text-muted, #64748b);
}

.bbb-share-landing__hero {
  margin: 0 0 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(10, 30, 61, 0.08);
}

.bbb-share-landing__hero img {
  display: block;
  width: 100%;
  height: auto;
}

.bbb-share-landing__board {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.bbb-share-landing__board li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  background: #f7fbff;
}

.bbb-share-landing__rank {
  font-weight: 800;
  color: #5a7394;
  text-align: center;
}

.bbb-share-landing__player {
  min-width: 0;
  display: grid;
  gap: 0.1rem;
}

.bbb-share-landing__player strong {
  color: var(--ff-heading, #0a1e3d);
}

.bbb-share-landing__player span {
  font-size: 0.75rem;
  color: var(--ff-text-muted, #64748b);
}

.bbb-share-landing__tier {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #0d7a4f;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
}

.bbb-share-landing__leftoff {
  margin-top: 1.1rem;
}

.bbb-share-landing__leftoff h2 {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ff-heading, #0a1e3d);
}

.bbb-share-landing__leftoff ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.bbb-share-landing__leftoff li {
  display: grid;
  gap: 0.15rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  background: #f7fbff;
  font-size: 0.85rem;
}

.bbb-share-landing__leftoff span {
  color: var(--ff-text-muted, #64748b);
  font-size: 0.78rem;
}

.bbb-share-landing__stats {
  display: flex;
  gap: 1rem;
  margin: 1rem 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ff-text-muted, #64748b);
}

.bbb-share-landing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.bbb-share-landing__status {
  min-height: 1.2em;
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: var(--ff-text-muted, #64748b);
}

.bbb-capture-shell {
  width: 740px;
  box-sizing: border-box;
  padding: 18px;
  background: var(--ff-surface, #eef5fd);
  border-radius: 28px;
  border: 1px solid rgba(10, 30, 61, 0.08);
  font-family: Inter, system-ui, sans-serif;
  color: var(--ff-heading, #0a1e3d);
}

.bbb-capture-brandbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  padding: 0 0.15rem;
}

.bbb-capture-frame__mark {
  display: block;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fh-accent, #00a3ff);
  line-height: 1;
}

.bbb-capture-frame__kicker {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5a7394;
}

.bbb-capture-board {
  background: var(--ff-surface-raised, #fff);
  border-radius: 18px;
  border: 1px solid rgba(10, 30, 61, 0.07);
  box-shadow: 0 8px 20px rgba(10, 30, 61, 0.04);
  padding: 0.9rem 0.95rem 1rem;
}

.bbb-capture-board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.bbb-capture-board__head h2 {
  margin: 0;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ff-heading, #0a1e3d);
}

.bbb-capture-board__head span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fh-accent, #00a3ff);
}

.bbb-capture-team {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-align: right;
}

.bbb-capture-team__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.bbb-capture-team__logo--fallback {
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #e8f1fd;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ff-heading, #0a1e3d);
}

.bbb-capture-team__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
}

.bbb-capture-team__meta strong {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.15;
}

.bbb-capture-team__meta span,
.bbb-capture-team--open span {
  font-size: 0.72rem;
  color: #5a7394;
  font-weight: 600;
}

.bbb-capture-team--open {
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
}

.bbb-capture-team--open strong {
  font-size: 0.95rem;
  font-weight: 800;
}

.bbb-capture-needs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.bbb-capture-needs__label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a7394;
  margin-right: 0.2rem;
}

.bbb-capture-need {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: #e8eef6;
  color: var(--ff-heading, #0a1e3d);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.bbb-capture-need.is-priority {
  background: var(--fh-accent, #00a3ff);
  color: #fff;
}

.bbb-capture-cols {
  display: grid;
  grid-template-columns: 42px minmax(0, 1.5fr) 64px minmax(0, 1fr) 42px;
  gap: 0.55rem;
  padding: 0 0.55rem 0.35rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a7394;
}

.bbb-capture-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.bbb-capture-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1.5fr) 64px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.55rem;
  border-radius: 12px;
  background: #f7fbff;
}

.bbb-capture-row.is-need-fit {
  background: #eef8ff;
  box-shadow: inset 3px 0 0 var(--fh-accent, #00a3ff);
}

.bbb-capture-rank {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #5a7394;
  text-align: center;
}

.bbb-capture-player {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.bbb-capture-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: transparent;
}

.bbb-capture-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.bbb-capture-avatar--fallback {
  background: #e8f1fd;
  color: #5a7394;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
}

.bbb-capture-player__text {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.bbb-capture-player__text strong {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bbb-capture-fit {
  flex-shrink: 0;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fh-accent, #00a3ff);
  background: rgba(0, 163, 255, 0.12);
  padding: 0.15rem 0.35rem;
  border-radius: 6px;
}

.bbb-capture-pos,
.bbb-capture-school {
  font-size: 0.75rem;
  font-weight: 700;
  color: #5a7394;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bbb-capture-tier {
  display: grid;
  place-items: center;
}

.bbb-capture-tier.is-muted .bbb-capture-hex polygon {
  fill: #c7dcf2;
}

.bbb-capture-tier.is-muted .bbb-capture-hex text {
  fill: #0a1e3d;
}

.bbb-capture-hex {
  display: block;
}

.bbb-capture-leftoff {
  margin-top: 0.75rem;
  background: var(--ff-surface-raised, #fff);
  border-radius: 16px;
  border: 1px solid rgba(10, 30, 61, 0.07);
  padding: 0.8rem 0.9rem;
}

.bbb-capture-leftoff__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(10, 30, 61, 0.08);
}

.bbb-capture-leftoff__head strong {
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bbb-capture-leftoff__head span {
  font-size: 0.68rem;
  color: #5a7394;
  font-weight: 600;
}

.bbb-capture-leftoff__row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(10, 30, 61, 0.05);
}

.bbb-capture-leftoff__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bbb-capture-leftoff__copy {
  min-width: 0;
}

.bbb-capture-leftoff__copy strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
}

.bbb-capture-leftoff__copy em {
  font-style: normal;
  color: #5a7394;
  font-weight: 700;
  font-size: 0.72rem;
}

.bbb-capture-leftoff__copy p {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  color: #3d4a63;
  line-height: 1.35;
}

.bbb-capture-frame__foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  padding: 0 0.15rem;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a7394;
}

/* Live editor — Left off arguments */
.bbb-leftoff {
  margin-top: 0.85rem;
  padding: 0.75rem 0.8rem;
  border-radius: 10px;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid var(--bbb-line);
}

.bbb-leftoff__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
}

.bbb-leftoff__title {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bbb-navy);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.bbb-leftoff__sub {
  margin: 0.2rem 0 0;
  font-size: 0.68rem;
  color: var(--bbb-muted);
}

.bbb-leftoff__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.bbb-leftoff__empty {
  margin: 0;
  padding: 0.55rem 0.2rem;
  font-size: 0.72rem;
  color: var(--bbb-muted);
}

.bbb-leftoff__row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 28px;
  gap: 0.5rem;
  align-items: center;
}

.bbb-leftoff__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.bbb-leftoff__meta strong {
  font-size: 0.78rem;
  font-weight: 800;
}

.bbb-leftoff__meta strong span {
  font-weight: 600;
  color: var(--bbb-muted);
  font-size: 0.68rem;
}

.bbb-leftoff__reason {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(10, 30, 61, 0.12);
  border-radius: 8px;
  padding: 0.4rem 0.5rem;
  font: inherit;
  font-size: 0.72rem;
  color: var(--bbb-navy);
  background: #f7fbff;
}

.bbb-leftoff__reason:focus {
  outline: 2px solid rgba(0, 163, 255, 0.35);
  border-color: var(--fh-accent, #00a3ff);
  background: var(--ff-surface-raised, #fff);
}

.bbb-leftoff__drop {
  appearance: none;
  border: none;
  background: transparent;
  color: #7a90b3;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
}

.bbb-leftoff__drop:hover {
  background: rgba(255, 59, 77, 0.12);
  color: #ff3b4d;
}

/* Legacy unused share card */
.bbb-share-card {
  position: fixed;
  left: -12000px;
  top: 0;
  width: 720px;
  box-sizing: border-box;
  padding: 28px 28px 22px;
  background: linear-gradient(160deg, #0a1e3d 0%, #12305e 55%, #0a1e3d 100%);
  color: #fff;
  border-radius: 20px;
  font-family: Inter, system-ui, sans-serif;
  z-index: -1;
  pointer-events: none;
}

.bbb-share-card.is-capturing {
  z-index: 0;
}

.bbb-share-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.bbb-share-card__brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.bbb-share-card__mark {
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fh-accent, #00a3ff);
  line-height: 1;
}

.bbb-share-card__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.bbb-share-card__meta {
  text-align: right;
  min-width: 0;
}

.bbb-share-card__meta strong {
  display: block;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.1;
}

.bbb-share-card__meta span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
}

.bbb-share-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.bbb-share-card__row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 48px 42px;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.bbb-share-card__rank {
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--fh-accent, #00a3ff);
  text-align: center;
}

.bbb-share-card__player {
  min-width: 0;
}

.bbb-share-card__player strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bbb-share-card__player span {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bbb-share-card__pos {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

.bbb-share-card__tier {
  justify-self: end;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ff-heading, #0a1e3d);
  background: #c7dcf2;
}

.bbb-share-card__tier--s { background: #f5b942; }
.bbb-share-card__tier--a { background: var(--fh-accent, #00a3ff); color: #fff; }
.bbb-share-card__tier--b { background: #7dd3a0; }
.bbb-share-card__tier--c { background: #7a90b3; color: #fff; }

.bbb-share-card__foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.bbb-side {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bbb-card {
  background: var(--ff-surface-raised, #fff);
  border-radius: 10px;
  border: 1px solid var(--bbb-line);
  box-shadow: none;
  padding: 0.75rem 0.8rem;
}

.bbb-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.bbb-card__head h3 {
  margin: 0;
  font-family: var(--bbb-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bbb-navy);
}

.bbb-card__link {
  appearance: none;
  border: none;
  background: none;
  color: var(--bbb-blue);
  font: inherit;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.bbb-avail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.bbb-avail__row {
  display: grid;
  grid-template-columns: 40px 1fr auto auto;
  gap: 0.5rem;
  align-items: center;
}

.bbb-avail__meta {
  min-width: 0;
}

.bbb-avail__meta strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--bbb-navy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bbb-avail__meta span {
  font-size: 0.62rem;
  color: var(--bbb-muted);
  font-weight: 600;
}

.bbb-avail__add {
  appearance: none;
  border: none;
  background: rgba(0, 163, 255, 0.12);
  color: var(--bbb-blue);
  width: 24px;
  height: 24px;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  line-height: 1;
}

.bbb-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  text-align: center;
}

.bbb-tiers__item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--bbb-navy);
  margin-top: 0.2rem;
}

.bbb-tiers__item span {
  display: block;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bbb-muted);
  line-height: 1.2;
}

.bbb-tiers__badge {
  width: 30px;
  height: 34px;
  margin: 0 auto;
  clip-path: polygon(50% 0%, 100% 18%, 100% 72%, 50% 100%, 0% 72%, 0% 18%);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 0.75rem;
}

.bbb-tiers__badge--s { background: var(--bbb-tier-s); }
.bbb-tiers__badge--a { background: var(--bbb-tier-a); }
.bbb-tiers__badge--b { background: var(--bbb-tier-b); color: var(--ff-heading, #0a1e3d); }
.bbb-tiers__badge--c { background: var(--bbb-tier-c); }

.bbb-settings {
  display: grid;
  gap: 0.55rem;
}

.bbb-toggle {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bbb-navy);
  cursor: pointer;
  position: relative;
}

.bbb-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
  opacity: 1;
  /* Must receive activation from <label> — pointer-events:none breaks toggles in Chromium */
  pointer-events: auto;
}

.bbb-toggle__ui {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #c7dcf2;
  position: relative;
  transition: background 0.2s ease;
  flex-shrink: 0;
  pointer-events: none;
}

.bbb-toggle__ui::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ff-surface-raised, #fff);
  box-shadow: 0 1px 3px rgba(10, 30, 61, 0.2);
  transition: transform 0.2s ease;
}

.bbb-toggle input:checked + .bbb-toggle__ui {
  background: var(--bbb-navy);
}

.bbb-toggle input:checked + .bbb-toggle__ui::after {
  transform: translateX(16px);
}

.bbb-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem;
  padding: 0.18rem;
  border-radius: 8px;
  background: #e8f1fd;
  border: 1px solid var(--bbb-line);
  margin-top: 0.15rem;
}

.bbb-seg__btn {
  appearance: none;
  border: none;
  border-radius: 6px;
  padding: 0.45rem 0.5rem;
  background: transparent;
  color: var(--bbb-muted);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
}

.bbb-seg__btn.is-active {
  background: var(--bbb-navy);
  color: #fff;
  box-shadow: none;
}

.bbb-last {
  min-height: 52px;
}

.bbb-last__empty {
  margin: 0;
  font-size: 0.72rem;
  color: var(--bbb-muted);
}

.bbb-last__row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
}

.bbb-last__row .bbb-avatar--last,
.bbb-last__row .bbb-avatar {
  width: 40px !important;
  height: 40px !important;
  border-radius: 8px;
}

.bbb-last__copy {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
  align-content: center;
}

.bbb-last__copy strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--bbb-navy);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bbb-last__detail {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: #4a5a6c;
  line-height: 1.35;
}

.bbb-last__when {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--bbb-muted);
  line-height: 1.3;
}

.bbb-footer {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--bbb-muted);
  padding-top: 0.15rem;
}

.bbb-dialog {
  border: none;
  border-radius: 18px;
  padding: 0;
  margin: 0;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 420px);
  max-width: min(92vw, 420px);
  max-height: min(88vh, 720px);
  height: fit-content;
  background: transparent;
  overflow: visible;
}

.bbb-dialog[open] {
  display: block;
}

#bbbPoolDialog {
  width: min(94vw, 640px);
  max-width: min(94vw, 640px);
  max-height: min(86vh, 760px);
}

.bbb-dialog::backdrop {
  background: rgba(10, 30, 61, 0.5);
  backdrop-filter: blur(2px);
}

.bbb-dialog__panel {
  background: var(--ff-surface-raised, #fff);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  box-shadow: 0 24px 60px rgba(10, 30, 61, 0.25);
  max-height: inherit;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.bbb-dialog__panel--wide {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.bbb-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}

.bbb-dialog__head h3 {
  margin: 0;
  font-family: var(--bbb-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--bbb-navy);
}

.bbb-dialog__close {
  appearance: none;
  border: none;
  background: #e8f1fd;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--bbb-navy);
}

.bbb-dialog textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid rgba(10, 30, 61, 0.12);
  padding: 0.75rem;
  font: inherit;
  resize: vertical;
  min-height: 110px;
}

.bbb-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.bbb-pool-toolbar {
  margin-bottom: 0.65rem;
  flex-shrink: 0;
}

.bbb-pool-toolbar input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(10, 30, 61, 0.12);
  font: inherit;
}

.bbb-pool {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: none;
  overflow: auto;
  flex: 1;
  min-height: 0;
  display: grid;
  gap: 0.35rem;
}

.bbb-pool li {
  display: grid;
  grid-template-columns: 44px 1fr auto auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.5rem 0.55rem;
  border-radius: 12px;
  background: #f7fbff;
}

.bbb-scout {
  margin-top: 1.15rem;
  padding: 1rem 1rem 1.05rem;
  border-radius: 6px;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid rgba(10, 30, 61, 0.12);
  box-shadow: none;
}

.bbb-scout__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(10, 30, 61, 0.1);
}

.bbb-scout__eyebrow {
  margin: 0 0 0.15rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bbb-muted);
}

.bbb-scout__title {
  margin: 0;
  font-family: var(--bbb-display);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--bbb-navy);
}

.bbb-scout__sub {
  margin: 0.28rem 0 0;
  max-width: 36rem;
  color: var(--bbb-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.bbb-scout__tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.bbb-scout__search {
  min-width: min(240px, 70vw);
  appearance: none;
  border: 1px solid rgba(10, 30, 61, 0.14);
  border-radius: 4px;
  background: var(--ff-surface-raised, #fff);
  padding: 0.45rem 0.6rem;
  font: inherit;
  font-size: 0.8rem;
  color: var(--bbb-navy);
}

.bbb-scout__search:focus {
  outline: none;
  border-color: rgba(10, 30, 61, 0.35);
  box-shadow: none;
}

.bbb-scout__count {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--bbb-muted);
  white-space: nowrap;
}

.bbb-scout__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 0.55rem;
}

.bbb-scout-card {
  position: relative;
  display: grid;
  gap: 0.55rem;
  padding: 0.65rem;
  border-radius: 4px;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid rgba(10, 30, 61, 0.12);
  box-shadow: none;
  transition: border-color 0.12s ease;
}

.bbb-scout-card.is-openable {
  cursor: pointer;
}

.bbb-scout-card:hover {
  border-color: rgba(10, 30, 61, 0.28);
}

.bbb-scout-card.is-need-fit {
  border-left: 2px solid var(--bbb-navy);
  background: var(--ff-surface-raised, #fff);
  box-shadow: none;
}

.bbb-scout-card__open {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 3px;
  border: 1px solid rgba(10, 30, 61, 0.14);
  background: var(--ff-surface-raised, #fff);
  color: var(--bbb-muted);
  text-decoration: none;
  transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.bbb-scout-card__open:hover,
.bbb-scout-card__open:focus-visible {
  color: var(--bbb-navy);
  border-color: rgba(10, 30, 61, 0.35);
  background: var(--ff-surface, #eef5fd);
  outline: none;
}

.bbb-scout-card__open svg {
  width: 0.85rem;
  height: 0.85rem;
  display: block;
}

.bbb-scout-card__top {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.6rem;
  align-items: start;
}

.bbb-scout-card__photo {
  width: 64px;
  height: 64px;
  border-radius: 2px;
  overflow: hidden;
  background: #dbe6f4;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(10, 30, 61, 0.1);
}

.bbb-scout-card__photo--fallback {
  background: #dbe6f4;
}

.bbb-scout-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: #dbe6f4;
}

.bbb-scout-card__photo-fallback {
  font-family: var(--bbb-display);
  font-size: 1rem;
  font-weight: 800;
  color: #5a7394;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: #dbe6f4;
}

.bbb-scout-card__photo-fallback[hidden] {
  display: none !important;
}

.bbb-scout-card__identity {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
  align-content: start;
  padding-right: 1.7rem;
}

.bbb-scout-card__rank {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bbb-muted);
}

.bbb-scout-card__name {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  line-height: 1.15;
  color: var(--bbb-navy);
}

.bbb-scout-card__meta {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--bbb-muted);
  line-height: 1.3;
}

.bbb-scout-card__attrs {
  margin-top: 0.15rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--bbb-navy);
  line-height: 1.35;
}

.bbb-scout-card.is-need-fit .bbb-scout-card__attrs {
  color: var(--bbb-navy);
}

.bbb-scout-card__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(10, 30, 61, 0.1);
  border-bottom: 1px solid rgba(10, 30, 61, 0.1);
}

.bbb-scout-stat {
  display: grid;
  gap: 0.1rem;
  padding: 0.4rem 0.25rem;
  border-radius: 0;
  background: transparent;
  text-align: center;
  border-right: 1px solid rgba(10, 30, 61, 0.1);
}

.bbb-scout-stat:last-child {
  border-right: none;
}

.bbb-scout-stat span {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bbb-muted);
}

.bbb-scout-stat strong {
  font-family: var(--bbb-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bbb-navy);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.bbb-scout-card__blurb {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--ff-text-muted, #64748b);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bbb-scout-card__actions {
  display: flex;
  gap: 0.35rem;
}

.bbb-scout-card__actions .bbb-btn {
  flex: 1;
  padding: 0.42rem 0.5rem;
  font-family: var(--bbb-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  border-radius: 4px;
}

.bbb-scout-card__add--primary {
  background: var(--bbb-blue);
  color: #fff;
  border: 1px solid var(--bbb-blue);
}

.bbb-scout-card__add--primary:hover {
  background: var(--fh-accent, #00a3ff);
  border-color: var(--fh-accent, #00a3ff);
}

.bbb-scout-card__add--remove {
  background: var(--ff-surface-raised, #fff);
  color: #ff3b4d;
  border: 1px solid rgba(255, 59, 77, 0.35);
}

.bbb-scout-card__add--remove:hover {
  background: #fff5f5;
  border-color: rgba(255, 59, 77, 0.55);
  color: #b71c1c;
}

.bbb-scout-card.is-on-board .bbb-scout-card__add {
  opacity: 1;
  pointer-events: auto;
}

.bbb-scout__empty {
  grid-column: 1 / -1;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--bbb-muted);
  font-size: 0.88rem;
}

.bbb-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(10, 30, 61, 0.1);
}

.bbb-pager[hidden] {
  display: none !important;
}

.bbb-pager__meta {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--bbb-muted, #5a7394);
}

.bbb-pager__meta strong {
  color: var(--bbb-navy, #0a1e3d);
  font-weight: 800;
}

.bbb-pager__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
}

.bbb-pager__btn {
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.28rem 0.6rem;
  border: 1px solid rgba(10, 30, 61, 0.14);
  border-radius: 8px;
  background: var(--ff-surface-raised, #fff);
  color: var(--bbb-navy, #0a1e3d);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.bbb-pager__btn:hover:not(:disabled):not(.is-active) {
  border-color: #00a3ff;
  background: #eef7ff;
}

.bbb-pager__btn.is-active {
  background: #0a1e3d;
  border-color: #0a1e3d;
  color: #fff;
  cursor: default;
}

.bbb-pager__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.bbb-pager__ellipsis {
  padding: 0 0.15rem;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 700;
}

.bbb-pager--dialog {
  margin-top: 0.65rem;
  padding-top: 0.7rem;
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .bbb-board {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
  }

  .bbb-brand {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem 1rem;
    align-items: center;
  }

  .bbb-brand__title,
  .bbb-brand__sub,
  .bbb-features,
  .bbb-brand__actions,
  .bbb-team {
    grid-column: 1 / -1;
  }

  .bbb-team__logos {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    max-height: 120px;
  }

  .bbb-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .bbb-board {
    grid-template-columns: 1fr;
    padding: 1rem 0.85rem;
  }

  .bbb-features {
    grid-template-columns: 1fr;
  }

  .bbb-main {
    min-height: 380px;
  }

  .bbb-table th:nth-child(4),
  .bbb-table td:nth-child(4) {
    display: none;
  }

  .bbb-team__logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .bbb-scout {
    padding: 0.85rem 0.75rem 0.95rem;
    border-radius: 6px;
  }

  .bbb-scout-card__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bbb-pager {
    flex-direction: column;
    align-items: stretch;
  }

  .bbb-pager__controls {
    justify-content: center;
  }

  .bbb-pager__btn {
    min-width: 2.75rem;
    min-height: 2.75rem;
  }
}

/* —— Draft simulation + 2D field —— */
.bbb-sim {
  margin-top: 1.25rem;
  padding: 1.25rem 1.15rem 1.35rem;
  border-radius: 28px;
  background: linear-gradient(180deg, #0a1e3d 0%, #0c2450 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(10, 30, 61, 0.18);
}

.bbb-sim__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.bbb-sim__eyebrow {
  margin: 0 0 0.2rem;
  font-family: var(--bbb-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4da3ff;
}

.bbb-sim__title {
  margin: 0;
  font-family: var(--bbb-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.bbb-sim__sub {
  margin: 0.35rem 0 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  line-height: 1.4;
}

.bbb-sim__controls {
  display: flex;
  align-items: end;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.bbb-sim__field {
  display: grid;
  gap: 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.bbb-sim__field input,
.bbb-sim__field select {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0.55rem 0.7rem;
  font: inherit;
  font-size: 0.9rem;
  min-width: 4.5rem;
}

.bbb-sim__status {
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(0, 163, 255, 0.16);
  color: #bfe8ff;
  font-size: 0.85rem;
}

.bbb-sim__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.6fr);
  gap: 0.85rem;
  margin-bottom: 1rem;
}

@media (max-width: 800px) {
  .bbb-sim__layout {
    grid-template-columns: 1fr;
  }
}

.bbb-sim__insights {
  display: grid;
  gap: 0.55rem;
}

.bbb-sim__idle {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.45;
}

.bbb-insight {
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border-left: 4px solid var(--fh-accent, #00a3ff);
  font-size: 0.88rem;
  line-height: 1.4;
}

.bbb-insight--good { border-left-color: #12be73; }
.bbb-insight--warn { border-left-color: #ffc928; }
.bbb-insight--hot { border-left-color: #ff3b4d; }
.bbb-insight--info { border-left-color: #7dd3fc; }

.bbb-sim__grade {
  padding: 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.bbb-sim__grade-letter {
  font-family: var(--bbb-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: #4da3ff;
}

.bbb-sim__grade-meta {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.bbb-sim__grade-subs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 0.75rem;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.75);
}

.bbb-sim__grade-subs strong {
  color: #fff;
  font-family: var(--bbb-display);
  font-size: 0.95rem;
}

.bbb-field-panel {
  margin-top: 0.35rem;
  padding: 0.85rem;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.18);
}

.bbb-field-panel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.bbb-field-panel__title {
  margin: 0;
  font-family: var(--bbb-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bbb-field-panel__hint {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}

.bbb-field-toolbar {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.bbb-field-toggle {
  appearance: none;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--bbb-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
}

.bbb-field-toggle.is-active {
  background: var(--fh-accent, #00a3ff);
  color: #fff;
}

.bbb-field-stage-wrap {
  position: relative;
  width: 100%;
}

.bbb-field-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 120 / 53.3;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  background: #0a2818;
}

.bbb-field-stage.is-portrait {
  aspect-ratio: 53.3 / 120;
  width: 100%;
  max-width: 22.5rem;
  margin-inline: auto;
}

.bbb-field-turf,
.bbb-field-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bbb-field-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bbb-field-slot {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  cursor: pointer;
  max-width: 4.5rem;
}

.bbb-field-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  background: transparent;
  display: grid;
  place-items: center;
}

.bbb-field-avatar--ph,
.bbb-field-avatar--empty {
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  font-family: var(--bbb-display);
  font-size: 0.72rem;
  font-weight: 800;
}

.bbb-field-slot.is-need .bbb-field-avatar--empty {
  box-shadow: 0 0 0 2px #ffc928, 0 6px 14px rgba(0, 0, 0, 0.35);
}

.bbb-field-slot.is-need--high .bbb-field-avatar--empty {
  box-shadow: 0 0 0 2px #ff3b4d, 0 6px 14px rgba(0, 0, 0, 0.35);
}

.bbb-field-name,
.bbb-field-need,
.bbb-field-odds,
.bbb-field-pick {
  font-size: 0.58rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 4.2rem;
}

.bbb-field-odds {
  padding: 0.08rem 0.3rem;
  border-radius: 999px;
  background: rgba(0, 163, 255, 0.9);
}

.bbb-field-need {
  padding: 0.08rem 0.3rem;
  border-radius: 999px;
  background: rgba(255, 201, 40, 0.95);
  color: var(--ff-heading, #0a1e3d);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bbb-field-detail {
  margin-top: 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  min-height: 3rem;
}

.bbb-field-detail__empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
}

.bbb-field-detail__row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.bbb-field-detail__row img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.bbb-field-detail__row strong {
  display: block;
  font-family: var(--bbb-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.bbb-field-detail__row span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.bbb-field-bench {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
}

.bbb-field-bench__chip {
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
}

.bbb-odds {
  margin-top: 1rem;
  padding: 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.bbb-odds__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.bbb-odds__head h3 {
  margin: 0;
  font-family: var(--bbb-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bbb-odds__head span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

.bbb-odds__scroll {
  overflow: auto;
}

.bbb-odds__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.bbb-odds__table th,
.bbb-odds__table td {
  padding: 0.45rem 0.4rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.bbb-odds__table th {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.bbb-odds__pct {
  font-family: var(--bbb-display);
  font-weight: 800;
  font-size: 0.95rem;
}

.bbb-odds__pct--good { color: #12be73; }
.bbb-odds__pct--mid { color: #ffc928; }
.bbb-odds__pct--low { color: #ff3b4d; }

.bbb-table tbody tr .bbb-avail-odds {
  display: inline-flex;
  margin-left: 0.35rem;
  padding: 0.08rem 0.35rem;
  border-radius: 999px;
  background: rgba(0, 163, 255, 0.14);
  color: #075ce5;
  font-size: 0.58rem;
  font-weight: 800;
}

/* —— Tooltips —— */
.bbb-tip,
.bbb-explain {
  position: relative;
}

.bbb-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  padding: 0;
  margin-left: 0.25rem;
  vertical-align: middle;
  border: none;
  border-radius: 50%;
  background: #dbe6f4;
  color: #5a7394;
  cursor: help;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.bbb-tip svg {
  width: 0.8rem;
  height: 0.8rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.bbb-tip:hover,
.bbb-tip:focus-visible,
.bbb-tip.is-open {
  background: var(--bbb-blue);
  color: #fff;
  outline: none;
}

.bbb-tip--sm {
  width: 0.95rem;
  height: 0.95rem;
}

.bbb-tip--sm svg {
  width: 0.7rem;
  height: 0.7rem;
}

.bbb-tip--on-dark {
  background: rgba(255, 255, 255, 0.18);
  color: #dbe6f4;
}

.bbb-tip--on-dark:hover,
.bbb-tip--on-dark:focus-visible,
.bbb-tip--on-dark.is-open {
  background: var(--ff-surface-raised, #fff);
  color: var(--bbb-navy);
}

.bbb-explain {
  cursor: help;
  border-bottom: 1px dotted rgba(10, 30, 61, 0.35);
}

.bbb-explain--on-dark {
  border-bottom-color: rgba(255, 255, 255, 0.45);
  color: inherit;
}

.bbb-explain:focus-visible {
  outline: 2px solid var(--bbb-blue);
  outline-offset: 2px;
}

.bbb-tip::after,
.bbb-explain::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  width: max-content;
  max-width: min(300px, 78vw);
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: var(--bbb-navy);
  color: #fff;
  font-family: var(--bbb-body);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: normal;
  text-align: left;
  white-space: normal;
  box-shadow: 0 8px 24px rgba(10, 30, 61, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 90;
}

.bbb-tip::before,
.bbb-explain::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--bbb-navy);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 90;
}

.bbb-tip:hover::after,
.bbb-tip:hover::before,
.bbb-tip:focus-visible::after,
.bbb-tip:focus-visible::before,
.bbb-tip.is-open::after,
.bbb-tip.is-open::before,
.bbb-explain:hover::after,
.bbb-explain:hover::before,
.bbb-explain:focus-visible::after,
.bbb-explain:focus-visible::before,
.bbb-explain.is-open::after,
.bbb-explain.is-open::before {
  opacity: 1;
  visibility: visible;
}

.bbb-tip--below::after,
.bbb-explain--below::after {
  bottom: auto;
  top: calc(100% + 8px);
}

.bbb-tip--below::before,
.bbb-explain--below::before {
  bottom: auto;
  top: calc(100% + 2px);
  border-top-color: transparent;
  border-bottom-color: var(--bbb-navy);
}

.bbb-main__title,
.bbb-card__head h3,
.bbb-sim__title,
.bbb-field-panel__title,
.bbb-odds__head h3,
.bbb-scout__title,
.bbb-team__label,
.bbb-team__needs-label,
.bbb-toggle span {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem;
}

.bbb-settings__tip {
  margin: 0.35rem 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  color: var(--bbb-muted);
}

.bbb-sim__title .bbb-tip,
.bbb-field-panel__title .bbb-tip,
.bbb-odds__head h3 .bbb-tip {
  margin-left: 0.35rem;
}

@media (max-width: 780px) {
  .bbb-tip::after,
  .bbb-explain::after {
    left: 0;
    transform: none;
    max-width: min(260px, 84vw);
  }

  .bbb-tip::before,
  .bbb-explain::before {
    left: 12px;
    transform: none;
  }

  .bbb-field-panel {
    padding: 0.75rem 0.65rem 0.9rem;
  }

  .bbb-field-panel__head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }

  .bbb-field-toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    gap: 0.2rem;
    padding: 0.2rem;
    border-radius: 12px;
  }

  .bbb-field-toggle {
    min-height: 44px;
    padding: 0.5rem 0.4rem;
    font-size: 0.72rem;
    border-radius: 10px;
  }

  .bbb-field-stage,
  .bbb-field-stage.is-portrait {
    aspect-ratio: 53.3 / 120;
    width: 100%;
    max-width: 22.5rem;
    margin-inline: auto;
  }

  .bbb-field-slot {
    max-width: 5.2rem;
    gap: 0.1rem;
  }

  .bbb-field-avatar {
    width: 44px;
    height: 44px;
  }

  .bbb-field-name,
  .bbb-field-need,
  .bbb-field-odds,
  .bbb-field-pick {
    font-size: 0.62rem;
    max-width: 5rem;
  }
}

.bbb-team--pulse {
  animation: bbb-team-pulse 0.9s ease;
  box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.45);
}

@keyframes bbb-team-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

#bbbSimRunBtn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Email list capture — Schedule navy + cyan */
.bbb-email {
  margin: 1.25rem 0 0.35rem;
}

.bbb-email__card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 1rem 1.5rem;
  align-items: start;
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  background:
    radial-gradient(420px 260px at 110% 0%, rgba(37, 116, 235, 0.45), transparent 65%),
    linear-gradient(165deg, #0c2450 0%, #0a1e3d 55%, #081831 100%);
  color: #eaf2ff;
  border: 1px solid rgba(158, 201, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 34px -20px rgba(8, 24, 49, 0.75);
}

.bbb-email__kicker {
  margin: 0 0 0.3rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4da3ff;
}

.bbb-email__title {
  margin: 0;
  font-family: var(--bbb-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
  color: #f4f8ff;
}

.bbb-email__sub {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #a9c2e6;
}

.bbb-email__form {
  display: grid;
  gap: 0.65rem;
}

.bbb-email__email input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.72rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--ff-surface-raised, rgba(255, 255, 255, 0.96));
  color: var(--ff-heading, #0a1e3d);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
}

.bbb-email__email input:focus {
  outline: 2px solid var(--fh-accent, #00a3ff);
  outline-offset: 1px;
}

.bbb-email__consent {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(234, 242, 255, 0.78);
}

.bbb-email__consent input {
  margin-top: 0.15rem;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--fh-accent, #00a3ff);
}

.bbb-email__form button {
  appearance: none;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  color: #fff;
  background: var(--fh-accent, #00a3ff);
  transition: background 0.15s ease, transform 0.12s ease;
}

.bbb-email__form button:hover {
  background: #4da3ff;
  transform: translateY(-1px);
}

.bbb-email__form button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.bbb-email__status {
  margin: 0;
  min-height: 1.15rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(234, 242, 255, 0.75);
}

.bbb-email__status.is-success {
  color: #86efac;
}

.bbb-email__status.is-error {
  color: #fecaca;
}

@media (max-width: 800px) {
  .bbb-email__card {
    grid-template-columns: minmax(0, 1fr);
  }

  .bbb-email__form button {
    min-height: 44px;
  }
}
