.board-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 12px 0 24px;
}

.board-stats h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--bs-purple, #522d80);
}

.bs-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 12px 14px;
    min-width: 0;
}

.bs-your-week {
    background: #fff2e8;
    border-color: #f6d3b8;
}

.bs-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.bs-sub,
.bs-muted,
.bs-week-label,
.bs-rate-l,
.bs-meta {
    color: #666;
}

.bs-sub {
    font-size: 12px;
}

.bs-more {
    font-size: 12px;
    font-weight: 600;
    color: var(--bs-orange);
    text-decoration: none;
}

.bs-more:hover,
.bs-more:visited {
    color: var(--bs-orange);
}

.bs-muted {
    margin: 0;
    font-size: 13px;
}

.bs-login {
    margin: 0;
    font-size: 14px;
}

.bs-week-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.bs-week-stat {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 8px;
}

.bs-week-value {
    font-size: 20px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.bs-week-label {
    font-size: 11px;
}

.bs-next,
.bs-cta {
    margin: 10px 0 0;
    font-size: 13px;
}

.bs-cta-sep {
    margin: 0 6px;
}

.bs-rows {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bs-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    min-width: 0;
}

.bs-rows > .bs-row:first-child {
    border-top: none;
    padding-top: 0;
}

.bs-idx,
.bs-rank {
    width: 42px;
    flex: none;
    font-weight: 700;
    color: #7c858f;
    font-variant-numeric: tabular-nums;
}

.bs-rank {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: auto;
    min-width: 42px;
}

.bs-row-main {
    flex: 1;
    min-width: 0;
}

.bs-subject {
    display: block;
    font-weight: 600;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.bs-excerpt {
    margin: 4px 0;
    font-size: 13px;
    color: #555;
}

.bs-meta {
    display: block;
    font-size: 12px;
}

.bs-rate {
    flex: none;
    text-align: right;
}

.bs-rate-n {
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.bs-rate-l {
    font-size: 11px;
}

.bs-reply-btn,
.bs-tab.is-active {
    background: var(--bs-orange);
    color: #fff;
}

.bs-reply-btn {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
}

.bs-reply-btn:hover,
.bs-reply-btn:visited {
    color: #fff;
}

.bs-tabs {
    display: inline-flex;
    gap: 6px;
}

.bs-tab {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: #444;
    background: rgba(0, 0, 0, 0.06);
}

.bs-tab.is-active,
.bs-tab.is-active:visited,
.bs-tab.is-active:hover {
    background: var(--bs-orange);
    color: #fff;
}

.bs-avatar {
    flex: none;
    line-height: 0;
}

.bs-avatar img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    vertical-align: middle;
}

.bs-award-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.bs-award-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
}

.bs-award-chip img {
    vertical-align: middle;
    line-height: 1;
}

.bs-delta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.bs-delta .material-icons {
    font-size: 18px;
    vertical-align: middle;
    line-height: 1;
}

.bs-delta-up {
    color: #1f7a3a;
}

.bs-delta-down {
    color: #b3261e;
}

.bs-delta-flat {
    color: #7c858f;
    font-weight: 500;
}

.bs-starter-you {
    background: #fff2e8;
    margin: 0 -8px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 6px;
}

@media (min-width: 768px) {
    .bs-week-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

html.dark-mode .board-stats h2 {
    color: var(--dm-text-primary, #f1f5f9);
}

html.dark-mode .bs-card {
    background: var(--dm-bg-elevated, #1e293b);
    border-color: rgba(255, 255, 255, 0.12);
}

html.dark-mode .bs-your-week {
    background: var(--dm-bg-elevated, #1e293b);
    border-color: #5a3a22;
}

html.dark-mode .bs-week-stat {
    background: var(--dm-bg-elevated, #1e293b);
    border-color: rgba(255, 255, 255, 0.12);
}

html.dark-mode .bs-week-value,
html.dark-mode .bs-rate-n,
html.dark-mode .bs-next {
    color: var(--dm-text-primary, #f1f5f9);
}

html.dark-mode .bs-sub,
html.dark-mode .bs-muted,
html.dark-mode .bs-week-label,
html.dark-mode .bs-rate-l,
html.dark-mode .bs-meta,
html.dark-mode .bs-excerpt,
html.dark-mode .bs-delta-flat,
html.dark-mode .bs-idx,
html.dark-mode .bs-rank,
html.dark-mode .bs-tab {
    color: var(--dm-text-secondary, #bbb);
}

html.dark-mode .bs-tab {
    background: rgba(255, 255, 255, 0.08);
}

html.dark-mode .bs-more,
html.dark-mode .bs-more:hover,
html.dark-mode .bs-more:visited {
    color: var(--bs-orange);
}

html.dark-mode .bs-tab.is-active,
html.dark-mode .bs-tab.is-active:visited,
html.dark-mode .bs-tab.is-active:hover,
html.dark-mode .bs-reply-btn,
html.dark-mode .bs-reply-btn:hover,
html.dark-mode .bs-reply-btn:visited {
    background: var(--bs-orange);
    color: #fff;
}

html.dark-mode .bs-row {
    border-top-color: rgba(255, 255, 255, 0.12);
}

html.dark-mode .bs-delta-down {
    color: #f87171;
}

html.dark-mode .bs-delta-up {
    color: #6fd394;
}

html.dark-mode .bs-starter-you {
    background: var(--dm-bg-elevated, #1e293b);
    color: var(--dm-text-primary, #f1f5f9);
}
