/* Bulletin Board (Lee design, 2026-11-02) — styles for the bolt-on
   surfaces added by bulletin-board.js: the Member Bulletin Board view
   (post-login landing), the Public Bulletin Board section on the public
   homepage, the "Bulletin Board" nav entry, and the designated-editors
   panel in Admin Console → Club settings. Prefixed bb- so nothing
   collides with the compiled bundle; cards mirror the nominations /
   claim-code panels. */

[data-bb-hidden="1"] {
  display: none !important;
}

.bb-nav-btn.bb-active {
  color: var(--accent, #c81420);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bb-panel {
  background: #fff;
  border: 1px solid #e3ddcf;
  border-radius: 12px;
  padding: 18px;
  margin: 16px 0 24px;
}

.bb-panel h2,
.bb-panel h3 {
  margin: 0 0 6px;
}

.bb-head .eyebrow,
.bb-editors-panel .eyebrow {
  margin: 0 0 2px;
}

.bb-sub {
  margin: 0 0 10px;
  color: #55534a;
  font-size: 15px;
}

.bb-msg {
  margin: 10px 0;
  padding: 10px 12px;
  border: 1px solid #cfc9b8;
  border-radius: 8px;
  background: #faf7ee;
  font-weight: 600;
}

.bb-empty {
  color: #6b675c;
  font-style: italic;
  margin: 10px 0;
}

.bb-quicklinks {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 6px 0 14px;
}

.bb-quicklink {
  font-size: 15px;
  font-weight: 700;
}

.bb-composer {
  border-top: 1px dashed #d8d2c0;
  margin-top: 14px;
  padding-top: 12px;
}

.bb-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
}

.bb-field span {
  font-size: 13px;
  font-weight: 700;
  color: #6b675c;
}

.bb-field input,
.bb-field textarea,
.bb-field select {
  padding: 10px 12px;
  border: 1px solid #cfc9b8;
  border-radius: 8px;
  font-size: 16px;
  background: #fff;
  font-family: inherit;
}

.bb-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-top: 12px;
}

.bb-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.bb-post {
  border: 1px solid #e3ddcf;
  border-radius: 10px;
  padding: 14px 16px;
  background: #fffdf8;
}

.bb-post.bb-pinned {
  border-color: var(--accent, #c81420);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.bb-post-head {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.bb-post-head h3 {
  margin: 0;
  font-size: 19px;
}

.bb-post-body {
  margin: 8px 0 6px;
  font-size: 16px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.bb-post-meta {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #6b675c;
}

.bb-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: #efe9d8;
  color: #55534a;
}

.bb-badge-pin {
  background: var(--accent, #c81420);
  color: #fff;
}

.bb-badge-event {
  background: #dcefe0;
  color: #1e5b3f;
}

.bb-badge-meeting {
  background: #dfe8f5;
  color: #1f3a5f;
}

.bb-badge-demo {
  background: #f3e2e2;
  color: #8e2f35;
}

.bb-controls {
  margin-top: 10px;
}

.bb-controls .ghost-button {
  font-size: 14px;
}

.bb-danger {
  color: #a3121c !important;
  border-color: #a3121c !important;
  font-weight: 800;
}

.bb-swatches {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.bb-swatch-label {
  font-size: 13px;
  font-weight: 700;
  color: #6b675c;
}

.bb-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #cfc9b8;
  cursor: pointer;
  padding: 0;
  font-size: 13px;
  line-height: 1;
  background: #fff;
}

.bb-swatch-none {
  color: #8a8574;
}

.bb-swatch-on {
  border-color: #222;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #222;
}

.bb-designee-list {
  list-style: none;
  margin: 10px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bb-designee-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid #e3ddcf;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 700;
}

.bb-designate-row .bb-field {
  flex: 1 1 220px;
  margin-top: 0;
}

.bb-public {
  width: 100%;
}

@media (max-width: 640px) {
  .bb-post-head h3 {
    font-size: 17px;
  }

  .bb-quicklinks {
    gap: 8px;
  }
}
