/* biomiv.com feature leaderboard (biomiv_features.html). Theme tokens only, so light and dark are one sheet. */
.bfb-submit { border: 1px solid var(--bm-line, var(--hairline)); border-radius: 16px; padding: 4px 20px 20px; margin: 0 0 8px; background: var(--surface); }
.bfb-label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin: 16px 0 6px; }
.bfb-input { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; color: var(--text); background: var(--bg);
  border: 1px solid var(--bm-line, var(--hairline)); border-radius: 10px; padding: 11px 12px; }
.bfb-area { resize: vertical; min-height: 120px; line-height: 1.5; }
.bfb-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.bfb-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font: inherit;
  font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid var(--accent); color: var(--accent); background: transparent; }
.bfb .bfb-btn:hover { text-decoration: none; }
.bfb-main { background: var(--accent); color: var(--bg); }
.bfb-btn:disabled { opacity: .55; cursor: default; }
.bfb-msg { margin: 12px 0 0; font-size: 15px; color: var(--text-2); }
.bfb-msg.is-bad { color: var(--negative, var(--text)); }
.bfb-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.bfb-tab { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--bm-line, var(--hairline));
  background: transparent; color: var(--text); font: inherit; font-size: 15px; cursor: pointer; }
.bfb-tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.bfb-list { list-style: none; padding: 0; margin: 0; max-width: none; }
.bmp .bfb-item { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: start; padding: 16px;
  margin: 0 0 12px; border: 1px solid var(--bm-line, var(--hairline)); border-radius: 14px; background: var(--bg); }
.bfb-rank { font-size: 20px; font-weight: 600; color: var(--text-2); text-align: center; padding-top: 2px; }
.bfb-body { min-width: 0; }
.bfb-title { font-size: 17px; font-weight: 600; color: var(--text); margin: 0 0 4px; overflow-wrap: anywhere; }
.bmp .bfb-desc { font-size: 15px; color: var(--text-2); margin: 0 0 8px; white-space: pre-line; overflow-wrap: anywhere; }
.bfb-desc.is-short { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bfb-more { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--accent); cursor: pointer; }
.bfb-meta { font-size: 13px; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 6px; }
.bfb-status { font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--bm-line, var(--hairline)); color: var(--text-2); }
.bfb-status-building, .bfb-status-reviewing { border-color: var(--accent); color: var(--accent); }
.bfb-status-shipped { border-color: var(--positive, var(--accent)); color: var(--positive, var(--accent)); }
.bfb-vote { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 58px; min-height: 58px;
  border-radius: 12px; border: 1px solid var(--bm-line, var(--hairline)); background: transparent; color: var(--text); font: inherit; cursor: pointer; }
.bfb-vote svg { width: 18px; height: 18px; }
.bfb-vote-n { font-size: 16px; font-weight: 600; }
.bfb-vote[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.bfb-vote:disabled { cursor: default; opacity: .7; }
.bfb-empty { color: var(--text-2); }
@media (max-width: 560px) {
  .bmp .bfb-item { grid-template-columns: 1fr auto; padding: 14px; }
  .bfb-rank { display: none; }
}
