/* Every builder, under the four at the top (top-builders-all.js, founder 2026-11-06). */

.tba { margin: 56px auto 0; display: flex; flex-direction: column; gap: 18px; }
.tba-head { text-align: center; }
.tba-eyebrow { display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold, #f5b82e); }
.tba-head h2 { margin: 8px 0 8px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
/* one line, and the width of the container (founder 2026-11-06: "Put this in one line") */
.tba-sub { margin: 0 auto; max-width: none; color: var(--text-muted); line-height: 1.6; }

.tba-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tba-find { flex: 1 1 280px; min-width: 0; padding: 11px 14px; font: inherit; font-size: .92rem; color: var(--text);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--border); }
.tba-find:focus-visible { outline: 2px solid #38b6ff; outline-offset: 2px; }
.tba-count { margin: 0; font-size: .86rem; color: var(--text-muted); }

.tba-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; perspective: 1000px; }
.tba-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 12px 16px; border: 1px solid var(--border); background: linear-gradient(140deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s; }
.tba-row:hover { transform: translateY(-2px); border-color: rgba(125, 184, 255, .5); box-shadow: 0 18px 38px -24px rgba(4, 11, 31, .95); }
.tba-rank { display: grid; place-items: center; width: 38px; height: 38px; font-size: .86rem; font-weight: 800; color: #fff;
  background: rgba(56, 182, 255, .3); }
.tba-row.is-top .tba-rank { background: linear-gradient(135deg, #f5b82e, #ec4899); }

.tba-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tba-photo, .tba-av { width: 40px; height: 40px; flex: none; border-radius: 50% !important; object-fit: cover; }
.tba-av { display: grid; place-items: center; font-size: .82rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, #38b6ff, #8b5cf6); }
.tba-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tba-id strong { font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tba-place { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--text-muted); }
.tba-flag { width: 18px; height: 13.5px; flex: none; }

.tba-stats { display: flex; align-items: center; gap: 22px; }
.tba-stat { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.tba-stat b { font-size: 1rem; }
.tba-stat span { font-size: .72rem; color: var(--text-muted); letter-spacing: .04em; }

.tba-more { align-self: center; padding: 11px 24px; font: inherit; font-size: .9rem; font-weight: 700; color: var(--text);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--border); cursor: pointer; transition: background .25s, border-color .25s; }
.tba-more:hover { background: rgba(255, 255, 255, .1); border-color: rgba(125, 184, 255, .6); }
.tba-more[disabled] { opacity: .55; cursor: default; }

@media (max-width: 760px) {
  .tba-row { grid-template-columns: 38px minmax(0, 1fr); row-gap: 10px; padding: 12px; }
  .tba-stats { grid-column: 1 / -1; justify-content: space-between; gap: 10px; }
  .tba-stat { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .tba-row { transition: none; } }

/* Climbed since last week: one arrow on the rank, drawn once. */
.tba-rank { position: relative; }
.tba-up { position: absolute; top: -8px; right: -10px; display: inline-flex; align-items: center; gap: 1px;
  padding: 1px 4px; font-size: .64rem; font-weight: 800; color: #04120a; background: #4ade80; }
.tba-up svg { width: 9px; height: 9px; }
/* and while a row is sliding to its new place */
.tba-moved { border-color: rgba(74, 222, 128, .6) !important; }
