.bb-wrap {
  width: 100%;
}

.bb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.bb-title {
  font-size: 22px;
  font-weight: 700;
  color: #00AEEF;
}

.bb-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bb-btn {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.12);
  color: #e4e4e7;
  background: #141414;
}

.bb-btn-primary {
  background: linear-gradient(135deg, #00AEEF, #0077cc);
  color: #fff;
  border: none;
}

.bb-table {
  width: 100%;
  border-collapse: collapse;
}

.bb-table th,
.bb-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
}

.bb-table th {
  color: #a1a1aa;
  font-weight: 600;
  text-align: left;
}

.bb-table td.title a {
  color: #fff;
}

.bb-table td.title a:hover {
  color: #00AEEF;
}

.bb-table .date {
  color: #a1a1aa;
  white-space: nowrap;
  width: 100px;
}

.bb-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  background: rgba(212,175,55,0.15);
  color: #5ec8ff;
}

.bb-view-box {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
}

.bb-view-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.bb-view-meta {
  font-size: 12px;
  color: #a1a1aa;
  margin-bottom: 16px;
}

.bb-view-content {
  line-height: 1.7;
  white-space: pre-wrap;
}

.bb-view-content-html {
  white-space: normal;
  color: #d4d4d8;
}

.bb-view-content-html p {
  margin: 0 0 0.85em;
}

.bb-view-content-html p:last-child {
  margin-bottom: 0;
}

.bb-view-content-html img {
  max-width: 100%;
  height: auto;
}

.bb-view-content-html ul,
.bb-view-content-html ol {
  margin: 0 0 0.85em 1.2em;
  padding: 0;
}

.bb-view-foot {
  display: flex;
  justify-content: center;
  padding: 4px 0 24px;
}

.bb-view-foot .bb-btn {
  min-width: 120px;
  justify-content: center;
}

.bb-reply {
  margin-top: 16px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.2);
}

.bb-form input,
.bb-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #2a2a2a;
  background: #0a0a0a;
  color: #fff;
}

.bb-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}

.bb-pagination a,
.bb-pagination span {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.1);
  color: #a1a1aa;
  font-size: 13px;
}

.bb-pagination a:hover,
.bb-pagination .active {
  color: #00AEEF;
  border-color: rgba(212,175,55,0.4);
}
