.bdtabs {
  display: flex;
  gap: 4px;
  margin: 4px 0 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.bdtabs button {
  flex: 0 1 auto;
  min-width: 0;
  border: 1.5px solid var(--line-strong,var(--line));
  background: none;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12.5px;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
  font-weight: 900;
  color: var(--ink-sub);
}
.bdtabs button[aria-pressed=true] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.bdl {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bdl li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border-bottom: 1px dashed var(--line);
}
.bdl li.me {
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  border-radius: 8px;
  padding: 0 6px;
  margin: 0 -6px;
}
.bdl .av {
  width: 30px;
  height: 30px;
  font-size: 13px;
  flex: none;
}
.bdanon {
  background: hsl(var(--h) 45% 48%) !important;
  color: #fff !important;
}
.bdr {
  width: 22px;
  text-align: center;
  font-weight: 900;
  font-size: 15px;
}
.bdl li:nth-child(1) .bdr {
  color: #c99a12;
}
.bdl li:nth-child(2) .bdr {
  color: #8f959b;
}
.bdl li:nth-child(3) .bdr {
  color: #a8662b;
}
.bdl li.bloc .bdr {
  color: var(--brand);
}
.bdl b {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}
.bdl b small {
  margin-left: 6px;
  font-size: 10.5px;
  color: var(--brand);
}
.bdv {
  font-weight: 900;
  font-size: 16px;
  white-space: nowrap;
}
.bdv small {
  font-size: 11px;
  margin-left: 2px;
  color: var(--ink-sub);
}
.bdgap {
  justify-content: center;
  min-height: 20px !important;
  color: var(--ink-faint);
  border: 0 !important;
}
.bdsk {
  background:
    linear-gradient(
      90deg,
      var(--line) 0 30%,
      transparent 30%);
  opacity: .5;
}
.bdnone {
  font-size: 13px;
  color: var(--ink-sub);
  margin: 6px 0;
}
.bdtot {
  display: block;
  text-align: right;
  font-size: 11px;
  color: var(--ink-faint);
  margin-top: 4px;
}
.bdjoin {
  width: 100%;
  margin-top: 10px;
}
.bdall {
  padding: 8px 16px 40px;
}
.bdact {
  margin-top: 10px;
  text-align: center;
}
.bdnf {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.bdnf input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 1.5px solid var(--line-strong,var(--line));
  border-radius: 10px;
  padding: 0 10px;
  font: inherit;
  background: var(--surface);
  color: var(--ink);
}
.bdnf button {
  flex: none;
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: var(--fixed-light);
  font-weight: 700;
  padding: 0 16px;
  cursor: pointer;
}
.bdmode {
  display: flex;
  gap: 6px;
}
.bdmode button {
  flex: 1;
  border: 1.5px solid var(--line-strong,var(--line));
  background: none;
  border-radius: 10px;
  padding: 9px 4px;
  font-weight: 900;
  font-size: 13px;
}
.bdmode button[aria-pressed=true] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
[data-board] .bdbody {
  min-height: 240px;
  display: flex;
  flex-direction: column;
}
[data-board] .bdbody .bdnone {
  margin: auto 0;
  text-align: center;
}
.bdl li.me {
  cursor: pointer;
}
