/* Satta Matka - players board (forum) pages. Loaded after mrl.css. */
.bd-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin-top: 10px; }
.bd-actions .msg { flex: 1 1 240px; margin: 0; }

.bd-cats { display: grid; gap: 8px; margin-top: 8px; }
.bd-cat { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 12px 14px; text-decoration: none; color: var(--ink); border-top-width: 3px; border-top-style: solid; }
.bd-cat.c1 { border-top-color: var(--maroon); }
.bd-cat.c2 { border-top-color: var(--gold); }
.bd-cat.c3 { border-top-color: var(--title-2); }
.bd-cat.c4 { border-top-color: var(--purple); }
.bd-cat:hover, .bd-cat:focus-visible { background: var(--tint); }
.bd-cat-name { font-weight: 700; font-size: 14.5px; color: var(--maroon); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bd-cat-desc { font-size: 12px; color: #333; }
.bd-cat-meta { font-size: 11px; color: var(--muted); }
.bd-cat-meta b { color: var(--hero-2); }
@media (min-width: 560px) { .bd-cats { grid-template-columns: 1fr 1fr; } }

.bd-badge { display: inline-block; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; vertical-align: middle; }
.bd-badge.pin { background: var(--amber-bg); color: var(--orange); }
.bd-badge.lock { background: var(--line-2); color: var(--muted); }
.bd-badges { display: flex; gap: 4px; }

.bd-topics { margin-top: 8px; }
.bd-topic { padding: 10px 12px; border-bottom: 1px solid var(--line-2); }
.bd-topic:last-child { border-bottom: 0; }
.bd-topic.pinned { background: #fffdf5; }
.bd-topic-title { display: block; font-weight: 700; font-size: 13.5px; color: var(--maroon); text-decoration: none; line-height: 1.3; overflow-wrap: anywhere; }
.bd-topic-title:hover { text-decoration: underline; }
.bd-topic-meta { margin-top: 3px; font-size: 11px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.bd-author { font-weight: 700; color: var(--hero-2); }
.bd-empty { margin: 0; padding: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }
.bd-count { font-weight: 600; color: rgba(255, 255, 255, .8); font-size: 12.5px; }
.bd-rules { font-size: 12.5px; }
.bd-locked { text-align: center; }

.bd-form { margin-top: 10px; border-top: 3px solid var(--maroon); }
.bd-form-title { margin: 0 0 4px; font-size: 15.5px; color: var(--maroon); }
.bd-errors ul { margin: 4px 0 0; padding-left: 18px; }

.bd-post { padding: 0; overflow: hidden; margin-top: 8px; }
.bd-post.bd-op { border-top: 3px solid var(--maroon); }
.bd-post-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #f9f7fc; border-bottom: 1px solid var(--line-2); }
.bd-avatar { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--maroon); color: #fff; font-weight: 800; font-size: 15.5px; }
.bd-post-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bd-post-who b { color: var(--hero-2); font-size: 12.5px; }
.bd-post-who .byline a { color: var(--maroon); }
.bd-title { margin: 0; padding: 12px 12px 0; font-size: clamp(17px, 4.9vw, 21.5px); line-height: 1.25; color: var(--hero-2); overflow-wrap: anywhere; }
.bd-post-body { padding: 10px 12px 12px; font-size: 13.5px; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.bd-post-foot { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 8px 12px; border-top: 1px solid var(--line-2); }
.bd-num { font-size: 11px; font-weight: 800; color: var(--muted); text-decoration: none; }
.bd-pending .msg { text-align: left; }
.bd-pending-note { font-size: 11.5px; color: var(--muted); }
