/* Busted Breakdown — stats page (/stats) */
.bb-body {
    --bb-plane: #0e0e14;
    --bb-surface: #191922;
    --bb-surface-2: #22222e;
    --bb-line: rgba(255, 255, 255, 0.09);
    --bb-ink: #f0efec;
    --bb-ink-2: #c3c2b7;
    --bb-muted: #8f8d87;
    --bb-gold: #ffc107;
    --bb-red: #dc3545;
    --bb-up: #d95926;
    --bb-down: #3987e5;
    --bb-accent: #3987e5;
    background: var(--bb-plane);
    color: var(--bb-ink);
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
.bb-when { --bb-accent: #3987e5; }
.bb-charges { --bb-accent: #e36c38; }
.bb-people { --bb-accent: #199e70; }
.bb-weather { --bb-accent: #9085e9; }

.bb-preview-flag {
    background: #2a2412; color: #f3dc9a; text-align: center;
    font-size: 0.82rem; padding: 7px 12px; border-bottom: 1px solid rgba(255, 193, 7, 0.25);
}
.bb-preview-flag a { color: var(--bb-gold); }

.bb-page { max-width: 760px; margin: 0 auto; padding: 0 16px 24px; }
.bb-page h2, .bb-page h3, .bb-page p { margin: 0; }

/* Hero */
.bb-hero { padding: 30px 0 8px; }
.bb-eyebrow {
    color: var(--bb-gold); font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px !important;
}
.bb-headline {
    font-size: clamp(1.9rem, 7.4vw, 3.1rem); line-height: 1.12; font-weight: 800;
    letter-spacing: -0.015em; min-height: 4.5em; margin: 0;
    transition: opacity 0.35s ease; text-wrap: balance;
}
.bb-headline.is-out { opacity: 0; }
.bb-headline em { font-style: normal; color: var(--bb-gold); }
.bb-hero-controls { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 22px; }
.bb-dots { display: flex; gap: 6px; flex-wrap: wrap; }
.bb-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.bb-dots i.is-on { background: var(--bb-gold); }
.bb-next {
    background: none; border: 1px solid var(--bb-line); color: var(--bb-ink-2);
    border-radius: 999px; padding: 7px 14px; font-size: 0.85rem; white-space: nowrap;
}
.bb-next:hover { color: var(--bb-ink); border-color: rgba(255, 255, 255, 0.3); }
.bb-strip {
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: 14px;
}
.bb-strip div { padding: 14px 8px; text-align: center; }
.bb-strip div + div { border-left: 1px solid var(--bb-line); }
.bb-strip b { display: block; font-size: 1.35rem; font-weight: 800; }
.bb-strip span { display: block; font-size: 0.72rem; color: var(--bb-muted); margin-top: 2px; line-height: 1.25; }
.bb-updated { color: var(--bb-muted); font-size: 0.78rem; margin-top: 10px !important; }

/* Blocks and sections */
.bb-block { margin-top: 34px; }
.bb-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.bb-block-head h2 { font-size: 1.35rem; font-weight: 800; }
.bb-block-head p { color: var(--bb-muted); font-size: 0.82rem; text-align: right; }

.bb-section { margin-top: 46px; }
.bb-section-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.bb-section-head h2 { font-size: 1.4rem; font-weight: 800; line-height: 1.2; }
.bb-section-head p { color: var(--bb-ink-2); font-size: 0.88rem; margin-top: 3px; }
.bb-chip {
    flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    background: color-mix(in srgb, var(--bb-accent) 22%, transparent); color: var(--bb-accent); font-size: 1.05rem;
}

.bb-card {
    background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: 16px;
    padding: 18px 16px; margin-bottom: 12px;
}
.bb-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.bb-fine { color: var(--bb-muted); font-size: 0.78rem; line-height: 1.45; margin-top: 12px !important; }
.bb-kicker { color: var(--bb-gold); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* Did-you-know deck */
.bb-deck {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 2px 16px 14px; margin: 0 -16px; -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.bb-fact {
    flex: 0 0 78%; max-width: 300px; scroll-snap-align: center;
    background: linear-gradient(160deg, var(--bb-surface-2), var(--bb-surface));
    border: 1px solid var(--bb-line); border-radius: 18px; padding: 18px 16px 14px;
    display: flex; flex-direction: column; min-height: 268px;
}
.bb-fact-emoji { font-size: 1.9rem; line-height: 1; }
.bb-fact-big { font-size: 2.5rem; font-weight: 800; color: var(--bb-gold); line-height: 1.05; margin-top: 12px; letter-spacing: -0.02em; }
.bb-fact-text { font-size: 1rem; line-height: 1.4; margin-top: 8px !important; color: var(--bb-ink); }
.bb-fact-note { font-size: 0.74rem; color: var(--bb-muted); margin-top: 8px !important; }
.bb-fact .bb-share-btn { margin-top: auto; align-self: flex-start; }
.bb-share-btn {
    background: rgba(255, 255, 255, 0.07); border: 1px solid var(--bb-line); color: var(--bb-ink);
    border-radius: 999px; padding: 8px 14px; font-size: 0.85rem; font-weight: 600;
}
.bb-share-btn:hover { background: rgba(255, 255, 255, 0.14); }

/* Forecast */
.bb-forecast { text-align: center; border-color: rgba(220, 53, 69, 0.45); background: linear-gradient(170deg, #26171d, var(--bb-surface)); }
.bb-forecast-date { color: var(--bb-ink-2); font-size: 0.9rem; margin-top: 4px !important; }
.bb-forecast-number { font-size: 4.6rem; font-weight: 800; line-height: 1; margin-top: 10px; }
.bb-forecast-sub { color: var(--bb-ink-2); font-size: 0.9rem; }
.bb-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 16px 0 20px; }
.bb-pill { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--bb-line); border-radius: 999px; padding: 5px 12px; font-size: 0.8rem; color: var(--bb-ink-2); }
.bb-pill b { color: var(--bb-ink); margin-left: 4px; }
.bb-meter-track { position: relative; height: 10px; border-radius: 999px; background: linear-gradient(90deg, #2c6e9e, #8a8f5a, #c98500, #d03b3b); }
.bb-meter-dot {
    position: absolute; top: 50%; width: 20px; height: 20px; border-radius: 50%; background: #fff;
    border: 4px solid var(--bb-red); transform: translate(-50%, -50%); left: 50%; transition: left 0.6s ease;
}
.bb-meter-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.bb-meter-labels span { font-size: 0.68rem; line-height: 1.25; color: var(--bb-muted); text-wrap: balance; }
.bb-forecast .bb-share-btn { margin-top: 16px; }

/* Column chart (hours) */
.bb-cols { display: flex; align-items: flex-end; gap: 2px; height: 150px; border-bottom: 1px solid var(--bb-line); }
.bb-col { flex: 1; height: 100%; display: flex; align-items: flex-end; cursor: pointer; background: none; border: 0; padding: 0; }
.bb-col i { display: block; width: 100%; border-radius: 4px 4px 0 0; background: color-mix(in srgb, var(--bb-accent) 60%, var(--bb-surface)); }
.bb-col.is-peak i, .bb-col.is-on i, .bb-col:hover i { background: var(--bb-accent); }
.bb-cols-axis { display: flex; justify-content: space-between; color: var(--bb-muted); font-size: 0.7rem; margin-top: 6px; }
.bb-readout { color: var(--bb-ink-2); font-size: 0.88rem; margin-top: 12px !important; min-height: 1.3em; }
.bb-readout b { color: var(--bb-ink); }

/* Ranked bars */
.bb-row { margin-bottom: 11px; }
.bb-row:last-child { margin-bottom: 0; }
.bb-row-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 0.9rem; }
.bb-row-label { color: var(--bb-ink); min-width: 0; overflow-wrap: anywhere; }
.bb-row-value { color: var(--bb-ink); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bb-row-value small { color: var(--bb-muted); font-weight: 400; font-size: 0.78rem; margin-left: 4px; }
.bb-track { height: 8px; border-radius: 0 4px 4px 0; background: rgba(255, 255, 255, 0.05); margin-top: 5px; }
.bb-fill { height: 100%; border-radius: 0 4px 4px 0; background: color-mix(in srgb, var(--bb-accent) 66%, var(--bb-surface)); min-width: 3px; }
.bb-row.is-top .bb-fill { background: var(--bb-accent); }
.bb-row.is-hidden { display: none; }
.bb-toggle { background: none; border: 0; color: var(--bb-accent); font-weight: 600; font-size: 0.88rem; padding: 10px 0 0; }

/* Split bar (two parts) */
.bb-split { display: flex; gap: 2px; height: 14px; }
.bb-split i { display: block; height: 100%; }
.bb-split i:first-child { background: var(--bb-accent); border-radius: 4px 0 0 4px; }
.bb-split i:last-child { background: color-mix(in srgb, var(--bb-accent) 50%, var(--bb-surface)); border-radius: 0 4px 4px 0; }
.bb-split-labels { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 0.88rem; color: var(--bb-ink-2); }
.bb-split-labels b { color: var(--bb-ink); font-size: 1.15rem; display: block; }
.bb-split-labels div:last-child { text-align: right; }

/* Heatmap */
.bb-heat { display: grid; grid-template-columns: 30px repeat(24, 1fr); gap: 2px; align-items: center; }
.bb-heat span { font-size: 0.66rem; color: var(--bb-muted); }
.bb-heat button { aspect-ratio: 1; border: 0; padding: 0; border-radius: 2px; min-width: 0; }
.bb-heat button.is-on { outline: 2px solid #fff; }
.bb-heat-legend { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; color: var(--bb-muted); margin-top: 10px; }
.bb-heat-legend i { flex: none; width: 90px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #1c2434, #3987e5, #cde2fb); }

/* Tiles */
.bb-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 12px; }
.bb-card .bb-tiles { margin-bottom: 0; }
.bb-tile { background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: 16px; padding: 16px; }
.bb-card .bb-tile { background: var(--bb-surface-2); }
.bb-tile-emoji { font-size: 1.5rem; line-height: 1; }
.bb-tile-big { font-size: 1.9rem; font-weight: 800; color: var(--bb-gold); margin-top: 8px; line-height: 1.1; }
.bb-tile-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bb-muted); }
.bb-tile p { font-size: 0.88rem; color: var(--bb-ink-2); line-height: 1.4; margin-top: 6px !important; }
.bb-tile dl { margin: 8px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; font-size: 0.88rem; }
.bb-tile dt { color: var(--bb-muted); font-weight: 400; }
.bb-tile dd { margin: 0; font-weight: 700; text-align: right; }

.bb-names { display: flex; flex-wrap: wrap; gap: 8px; }
.bb-names span { background: var(--bb-surface-2); border-radius: 999px; padding: 6px 12px; font-size: 0.88rem; }
.bb-names small { color: var(--bb-muted); margin-left: 6px; }

/* Diverging bars (holidays) */
.bb-div-legend { display: flex; gap: 16px; font-size: 0.76rem; color: var(--bb-ink-2); margin-bottom: 14px; }
.bb-sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; }
.bb-sw-up { background: var(--bb-up); }
.bb-sw-down { background: var(--bb-down); }
.bb-div { margin-bottom: 13px; }
.bb-div:last-child { margin-bottom: 0; }
.bb-div-track { position: relative; height: 10px; margin-top: 6px; background: rgba(255, 255, 255, 0.04); border-radius: 4px; }
.bb-div-track::after { content: ''; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: rgba(255, 255, 255, 0.35); }
.bb-div-bar { position: absolute; top: 0; bottom: 0; min-width: 3px; }
.bb-div-bar.is-up { left: 50%; background: var(--bb-up); border-radius: 0 4px 4px 0; }
.bb-div-bar.is-down { right: 50%; background: var(--bb-down); border-radius: 4px 0 0 4px; }
.bb-div-sub { font-size: 0.74rem; color: var(--bb-muted); margin-top: 5px; }

/* Bonds table */
.bb-table { width: 100%; font-size: 0.88rem; border-collapse: collapse; }
.bb-table th { color: var(--bb-muted); font-weight: 400; font-size: 0.74rem; text-align: right; padding: 0 0 8px; }
.bb-table th:first-child, .bb-table td:first-child { text-align: left; }
.bb-table td { padding: 8px 0; border-top: 1px solid var(--bb-line); text-align: right; font-variant-numeric: tabular-nums; }

/* Show more */
.bb-more { margin-top: 2px; }
.bb-more > summary {
    list-style: none; cursor: pointer; text-align: center; color: var(--bb-ink-2);
    border: 1px dashed rgba(255, 255, 255, 0.18); border-radius: 12px; padding: 12px; font-size: 0.9rem; font-weight: 600; margin-bottom: 12px;
}
.bb-more > summary::-webkit-details-marker { display: none; }
.bb-more > summary::after { content: ' +'; color: var(--bb-accent); }
.bb-more[open] > summary::after { content: ' –'; }

.bb-method p { color: var(--bb-ink-2); font-size: 0.84rem; line-height: 1.55; }
.bb-method p + p { margin-top: 10px; }

/* Share dialog */
.bb-modal { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.78); z-index: 2000; display: grid; place-items: center; padding: 16px; }
.bb-modal[hidden] { display: none; }
.bb-modal-box { position: relative; background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: 18px; padding: 16px; width: min(420px, 100%); }
.bb-modal-box img { width: 100%; border-radius: 10px; display: block; }
.bb-modal-close { position: absolute; top: -12px; right: -8px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--bb-line); background: var(--bb-surface-2); color: var(--bb-ink); }
.bb-modal-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.bb-btn {
    flex: 1 1 auto; text-align: center; text-decoration: none; background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--bb-line); color: var(--bb-ink); border-radius: 10px; padding: 10px 12px; font-size: 0.88rem; font-weight: 600; white-space: nowrap;
}
.bb-btn:hover { background: rgba(255, 255, 255, 0.14); color: var(--bb-ink); }
.bb-btn-primary { background: var(--bb-red); border-color: var(--bb-red); }
.bb-btn-primary:hover { background: #c22a39; }

.bb-page button:focus-visible, .bb-page summary:focus-visible, .bb-modal button:focus-visible, .bb-modal a:focus-visible { outline: 2px solid var(--bb-gold); outline-offset: 2px; }

@media (min-width: 700px) {
    .bb-fact { flex-basis: 280px; }
    .bb-headline { min-height: 3.4em; }
}
@media (prefers-reduced-motion: reduce) {
    .bb-headline, .bb-meter-dot { transition: none; }
}

/* Keep the site name on one line on phones */
.bb-body .brand-title { font-size: clamp(1.15rem, 5.4vw, 1.8rem); letter-spacing: 1px; margin-right: 0; }
.bb-table th + th, .bb-table td + td { padding-left: 12px; }
.bb-method strong { color: var(--bb-ink); font-weight: 700; }
.bb-method a, .bb-updated a { color: var(--bb-gold); }
.bb-updated a { color: inherit; text-decoration: underline; }
#how { scroll-margin-top: 80px; }

/* ─── Wider screens: cards become a grid, charts sit side by side ─── */
.bb-grid > .bb-card:last-child { margin-bottom: 12px; }
@media (min-width: 700px) {
    .bb-swipe-hint { display: none; }
    .bb-deck { display: grid; grid-template-columns: repeat(2, 1fr); overflow: visible; padding: 0; margin: 0; scroll-snap-type: none; }
    .bb-fact { max-width: none; min-height: 250px; }
}
@media (min-width: 1000px) {
    .bb-page { max-width: 1120px; padding: 0 24px 24px; }
    .bb-hero { padding-top: 44px; }
    .bb-headline { max-width: 900px; min-height: 2.4em; }
    .bb-hero-controls { max-width: 900px; }
    .bb-deck { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .bb-fact-big { font-size: 2.8rem; }
    #bb-forecast-block .bb-forecast { max-width: 720px; margin-left: auto; margin-right: auto; padding: 26px 28px; }
    .bb-section, .bb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
    .bb-section > .bb-section-head, .bb-section > .bb-more, .bb-section > .bb-tiles { grid-column: 1 / -1; margin-bottom: 0; }
    .bb-section > .bb-card, .bb-grid > .bb-card, .bb-grid > .bb-card:last-child { margin-bottom: 0; }
    .bb-grid { margin-bottom: 14px; }
    .bb-grid > .bb-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .bb-more > summary { margin-bottom: 14px; }
    .bb-people > .bb-section-head + .bb-card { grid-row: span 2; }
    .bb-heat { grid-template-columns: 40px repeat(24, 1fr); gap: 3px; max-width: 820px; }
    .bb-heat button { border-radius: 4px; }
    .bb-cols { height: 190px; }
    #how .bb-method { max-width: 860px; margin: 0 auto 12px; }
}
.bb-card h3:has(+ .bb-card-sub) { margin-bottom: 4px; }
.bb-card-sub { color: var(--bb-ink-2); font-size: 0.86rem; margin-bottom: 14px !important; }
.bb-share-wide { margin-top: 14px; }
.bb-modal-box img { max-height: 68vh; object-fit: contain; }
.bb-share-wide { display: block; }
.bb-tile .bb-share-btn { font-size: 0.8rem; padding: 6px 12px; }
.bb-hero-controls { flex-wrap: wrap; gap: 12px; }
.bb-hero-btns { display: flex; gap: 8px; }
.bb-hero-share { background: rgba(255, 193, 7, 0.12); border-color: rgba(255, 193, 7, 0.4); color: var(--bb-gold); font-weight: 600; }
.bb-hero-share:hover { color: #ffd65a; border-color: var(--bb-gold); }

/* ─── Headline stat tiles ─── */
.bb-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; background: none; border: 0; border-radius: 0; }
.bb-strip .bb-stat {
    position: relative; overflow: hidden; text-align: left; padding: 14px 14px 16px;
    background: linear-gradient(160deg, var(--bb-surface-2), var(--bb-surface));
    border: 1px solid var(--bb-line); border-left: 0; border-radius: 16px;
}
.bb-strip .bb-stat + .bb-stat { border-left: 0; }
.bb-strip .bb-stat::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--bb-stat); }
.bb-stat.is-a { --bb-stat: #ffc107; }
.bb-stat.is-b { --bb-stat: #199e70; }
.bb-stat.is-c { --bb-stat: #3987e5; }
.bb-stat.is-d { --bb-stat: #dc3545; }
.bb-strip .bb-stat-icon {
    display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; margin: 0 0 10px;
    background: color-mix(in srgb, var(--bb-stat) 20%, transparent); color: var(--bb-stat); font-size: 0.95rem;
}
.bb-strip .bb-stat b { font-size: clamp(1.7rem, 7vw, 2.3rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bb-strip .bb-stat-label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bb-ink-2); margin-top: 6px; }
.bb-strip .bb-stat-trend { font-size: 0.78rem; color: var(--bb-muted); margin-top: 3px; }
.bb-strip .bb-spark { position: absolute; right: 12px; top: 14px; display: flex; align-items: flex-end; gap: 1px; width: 44%; height: 34px; margin: 0; }
.bb-spark i { flex: 1; background: var(--bb-stat); opacity: 0.55; border-radius: 1px 1px 0 0; }
@media (min-width: 1000px) {
    .bb-strip { grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .bb-strip .bb-stat { padding: 18px 18px 20px; }
}

/* Page title */
.bb-page .bb-title {
    color: var(--bb-gold); font-size: clamp(1.1rem, 5.5vw, 2.1rem); font-weight: 900; white-space: nowrap;
    letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.1; margin: 0 0 18px;
}
.bb-title i { font-size: 0.8em; margin-right: 6px; }
.bb-page p.bb-headline { margin: 0; }

/* ─── Average person: tabbed composite ─── */
.bb-tabs { display: inline-flex; background: rgba(255, 255, 255, 0.06); border-radius: 999px; padding: 3px; gap: 2px; }
.bb-tabs button { background: none; border: 0; color: var(--bb-ink-2); border-radius: 999px; padding: 6px 14px; font-size: 0.85rem; font-weight: 600; }
.bb-tabs button.is-on { background: var(--bb-accent); color: #0e0e14; }
.bb-persona-body { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.bb-persona-fig {
    flex: none; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 2.3rem;
    color: var(--bb-accent); background: color-mix(in srgb, var(--bb-accent) 16%, transparent);
    border: 2px solid color-mix(in srgb, var(--bb-accent) 55%, transparent);
}
.bb-persona-stats { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.bb-persona-stats b { display: block; font-size: clamp(1.5rem, 6.2vw, 2rem); font-weight: 800; color: var(--bb-gold); line-height: 1.05; white-space: nowrap; }
.bb-persona-stats span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--bb-muted); font-weight: 700; }
.bb-persona-facts { list-style: none; margin: 16px 0 0; padding: 0; }
.bb-persona-facts li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-top: 1px solid var(--bb-line); font-size: 0.88rem; }
.bb-persona-facts i { color: var(--bb-accent); width: 16px; text-align: center; }
.bb-persona-facts span { color: var(--bb-ink-2); }
.bb-persona-facts b { margin-left: auto; text-align: right; }

/* ─── First names leaderboard ─── */
.bb-leader-top {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; margin-bottom: 14px;
    background: linear-gradient(120deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.05)); border: 1px solid rgba(255, 193, 7, 0.4);
}
.bb-leader-crown { font-size: 2rem; line-height: 1; }
.bb-leader-top small { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bb-gold); }
.bb-leader-top div b { display: block; font-size: 2rem; font-weight: 800; line-height: 1.1; }
.bb-leader-count { margin-left: auto; text-align: center; font-size: 0.72rem; color: var(--bb-ink-2); }
.bb-leader-count b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--bb-gold); line-height: 1; }
.bb-leader-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 0.95rem; }
.bb-leader-rank { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; background: rgba(255, 255, 255, 0.08); color: var(--bb-ink-2); }
.bb-leader-name { flex: none; width: 5.5em; font-weight: 600; }
.bb-leader-bar { flex: 1; height: 8px; background: rgba(255, 255, 255, 0.05); border-radius: 0 4px 4px 0; }
.bb-leader-bar i { display: block; height: 100%; border-radius: 0 4px 4px 0; background: color-mix(in srgb, var(--bb-accent) 66%, var(--bb-surface)); }
.bb-leader-row > b { width: 1.6em; text-align: right; font-variant-numeric: tabular-nums; }
.bb-persona-stats span { white-space: nowrap; font-size: 0.66rem; letter-spacing: 0.04em; }
.bb-persona-facts span { white-space: nowrap; }
@media (max-width: 480px) { .bb-persona-fig { width: 64px; height: 64px; font-size: 1.7rem; } .bb-persona-body { gap: 12px; } }
.bb-heat-legend i { background: linear-gradient(90deg, #30222f, #6e1e2e, #dc3545, #f08a24, #ffd65a); }

/* Forecast: five levels, matching the home page */
.bb-meter-track { background: linear-gradient(90deg, #9e9e9e 0%, #ffc107 30%, #f08a24 50%, #dc3545 70%, #8a2be2 100%); }
.bb-meter-labels { grid-template-columns: repeat(5, 1fr); gap: 4px; }
.bb-meter-labels span { font-size: 0.62rem; }
.bb-meter-labels span.is-on { color: var(--bb-ink); font-weight: 700; }
.bb-forecast-level { font-size: 1.15rem; font-weight: 800; margin-top: 10px !important; }
@media (min-width: 700px) { .bb-meter-labels span { font-size: 0.72rem; } }
