:root {
  --keeps-green: #98CA22;
  --black: #1A1A1A;
  --mist-white: #F5F5F0;
  --benguet-earth: #6B3F2A;
  --cold-concrete: #AAAAAA;
  --moss-green: #1f3b08;
  --border: #e8e8e4;
  --card-bg: #ffffff;
  --max-width: 1000px;
  --sidebar-width: 180px;

  --bg: var(--mist-white);
  --text: var(--black);
  --text-secondary: #444444;
  --input-bg: var(--mist-white);
  --hover-border: var(--cold-concrete);
  --reward: green;
  --accent: var(--keeps-green);
}

[data-theme="dark"] {
  --bg: #141413;
  --text: #F5F5F0;
  --inverted: #b8b8b0;
  --black: var(--inverted);
  --text-secondary: #b8b8b0;
  --border: #2e2e2c;
  --card-bg: #1e1e1c;
  --input-bg: #1a1a18;
  --cold-concrete: #888880;
  --moss-green: #4a7a28;
  --benguet-earth: #c49a6c;
  --hover-border: #555550;
  --accent: var(--keeps-green);
}

[data-theme="dark"] .bp-sidebar-logo img {
  filter: brightness(0.92);
}

[data-theme="dark"] .offcanvas {
  background-color: var(--card-bg);
  color: var(--text);
}

[data-theme="dark"] .btn-close {
  filter: invert(1) grayscale(1);
}

[data-theme="dark"] .text-muted {
  color: var(--cold-concrete) !important;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  margin: 0;
  line-height: 1.6;
  font-size: 15px;
}

h1, h2, h3, h4, .display-font {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  color: var(--text);
}

a {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

/* Navbar */
.bp-navbar {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.bp-navbar .container-bp {
  display: block;
}

.bp-navbar-layout {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.bp-navbar-brand-col {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Desktop: align search with main content / Wall title */
@media (min-width: 992px) {
  .bp-navbar-brand-col {
    width: auto;
    min-width: var(--sidebar-width);
  }
}

.bp-navbar-main-col {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bp-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.bp-brand .bp-brand-logo {
  height: 48px;
  width: auto;
  max-width: 100%;
}

.bp-brand .bp-brand-logo--light {
  display: block;
}

.bp-brand .bp-brand-logo--dark {
  display: none;
}

[data-theme="dark"] .bp-brand .bp-brand-logo--light {
  display: none;
}

[data-theme="dark"] .bp-brand .bp-brand-logo--dark {
  display: block;
}

.bp-search {
  flex: 1;
  min-width: 0;
}

.bp-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
}

.bp-nav-auth {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  height: 36px;
}

.bp-nav-auth .btn-bp-outline,
.bp-nav-auth .bp-nav-user,
.bp-nav-actions .btn-bp-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding-top: 0;
  padding-bottom: 0;
  white-space: nowrap;
  line-height: 1;
  box-sizing: border-box;
}

.bp-search input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  background: var(--input-bg);
  color: var(--text);
}

.bp-search input::placeholder {
  color: var(--cold-concrete);
}

.bp-search input:focus {
  outline: none;
  border-color: var(--cold-concrete);
}

.bp-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--text);
  flex-shrink: 0;
}

.bp-theme-toggle:hover {
  border-color: var(--hover-border);
  color: var(--accent);
}

.bp-theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.bp-theme-toggle .bp-icon-sun {
  display: none;
}

[data-theme="dark"] .bp-theme-toggle .bp-icon-moon {
  display: none;
}

[data-theme="dark"] .bp-theme-toggle .bp-icon-sun {
  display: block;
}

.btn-bp-primary {
  background: var(--keeps-green);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-bp-primary:hover {
  background: #7aab1b;
  color: #fff;
}

.btn-bp-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-bp-outline:hover {
  border-color: var(--hover-border);
}

.btn-bp-sm {
  padding: 0.25rem 0.6rem;
  font-size: 0.8rem;
}

.bp-nav-user {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 140px;
}

.bp-nav-user span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bp-nav-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* Layout */
.container-bp {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.bp-layout {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0 3rem;
}

.bp-sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
}

.bp-sidebar-logo {
  display: block;
  text-align: center;
  margin-bottom: 1.25rem;
}

.bp-sidebar-logo img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

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

/* Sidebar */
.bp-sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bp-sidebar-nav li a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text);
}

.bp-sidebar-nav li a:hover,
.bp-sidebar-nav li a.active {
  background: var(--card-bg);
  color: var(--accent);
  border: 1px solid var(--border);
}

.bp-sidebar-title {
  font-family: "Outfit", sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cold-concrete);
  margin-bottom: 0.5rem;
  padding-left: 0.75rem;
}

.bp-sidebar-divider {
  border-top: 1px solid var(--border);
  margin: 1rem 0;
}

.bp-sidebar-account-mobile {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.bp-sidebar-account-mobile.bp-nav-auth {
  flex-direction: column;
  align-items: stretch;
  height: auto;
}

.bp-sidebar-account-mobile .btn-bp-outline,
.bp-sidebar-account-mobile .bp-nav-user {
  width: 100%;
  justify-content: center;
}

.bp-sidebar-account-mobile .bp-nav-user {
  display: inline-flex;
}

.bp-sidebar-nav .bp-sidebar-icon-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
}

.bp-sidebar-nav .bp-sidebar-icon-link:hover,
.bp-sidebar-nav .bp-sidebar-icon-link.active {
  background: var(--card-bg);
  color: var(--accent);
  border: 1px solid var(--border);
}

.bp-sidebar-nav .bp-sidebar-icon-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.bp-jma-credit {
  display: block;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, opacity 0.15s ease;
}

.bp-jma-credit:hover {
  border-color: var(--hover-border);
  opacity: 0.92;
}

.bp-jma-credit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.bp-jma-credit--sidebar {
  margin-top: 1.5rem;
  padding: 0.75rem 0.65rem 0.85rem;
}

.bp-jma-credit--sidebar .bp-jma-credit-label {
  display: block;
  margin-bottom: 0.5rem;
  text-align: left;
}

.bp-jma-credit--sidebar .bp-jma-credit-logo {
  display: flex;
  justify-content: center;
  width: 100%;
}

.bp-jma-credit--footer {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

.bp-jma-credit-label {
  font-family: "Outfit", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cold-concrete);
  white-space: nowrap;
}

.bp-jma-credit-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.bp-jma-credit-logo img {
  display: block;
  height: 18px;
  width: auto;
  max-width: 100%;
  filter: invert(1);
}

.bp-jma-credit--footer .bp-jma-credit-logo img {
  height: 20px;
}

.bp-jma-credit--sidebar .bp-jma-credit-logo img {
  height: 32px;
  max-width: 100%;
}

[data-theme="dark"] .bp-jma-credit-logo img {
  filter: none;
}

.bp-sidebar-ads {
  margin-top: 1.5rem;
}

.bp-sidebar-ad {
  display: block;
  margin-bottom: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--card-bg);
  transition: border-color 0.15s ease;
}

.bp-sidebar-ad:hover {
  border-color: var(--accent);
}

.bp-sidebar-ad-media {
  position: relative;
  width: 100%;
  aspect-ratio: 6 / 5;
  background: var(--input-bg);
  border-bottom: 1px solid var(--border);
}

.bp-sidebar-ad-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bp-sidebar-ad-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cold-concrete);
}

.bp-sidebar-ad-body {
  padding: 0.6rem 0.65rem 0.7rem;
}

.bp-sidebar-ad-brand {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.bp-sidebar-ad-text {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

/* Cards */
.bp-card {
  background: var(--card-bg);
  padding: 1.25rem;
  margin-bottom: 0.75rem;
}

.bp-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.15s ease;
}

.bp-card-link:hover {
  border-color: var(--accent);
}

.bp-card-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  transition: color 0.15s ease;
}

.bp-card-preview {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bp-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--cold-concrete);
}

.bp-card-stats {
  display: flex;
  gap: 1rem;
}

.bp-card-stats span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Wall — Pinterest-style masonry grid */
.bp-wall-header {
  margin-bottom: 1.25rem;
}

.bp-wall-tagline {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: -0.25rem 0 0;
}

.bp-wall-grid {
  column-count: 2;
  column-gap: 1rem;
}

@media (min-width: 768px) {
  .bp-wall-grid {
    column-count: 3;
  }
}

@media (min-width: 1100px) {
  .bp-wall-grid {
    column-count: 4;
  }
}

.bp-wall-grid--profile {
  column-count: 2;
}

.bp-wall-card {
  display: block;
  break-inside: avoid;
  margin-bottom: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.bp-wall-card:hover {
  transform: translateY(-2px);
  border-color: var(--keeps-green);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  color: var(--text);
}

.bp-wall-card-image-wrap {
  position: relative;
  width: 100%;
  background: var(--input-bg);
  overflow: hidden;
}

.bp-wall-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.bp-wall-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--keeps-green);
  background: linear-gradient(145deg, var(--input-bg) 0%, var(--border) 100%);
  z-index: 0;
}

.bp-item-hero {
  position: relative;
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 220px;
  background: var(--input-bg);
}

.bp-item-hero-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--keeps-green);
  background: linear-gradient(145deg, var(--input-bg) 0%, var(--border) 100%);
}

.bp-item-hero-image {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 220px;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.bp-wall-card-badge {
  position: absolute;
  top: 0.5rem;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: rgba(26, 26, 26, 0.75);
  color: #fff;
}

.bp-wall-card-badge--kind {
  left: 0.5rem;
}

.bp-wall-card-badge--free {
  right: 0.5rem;
  background: var(--keeps-green);
  color: #1A1A1A;
}

.bp-wall-card-badge--limited {
  right: 0.5rem;
  background: var(--benguet-earth);
  color: #fff;
}

.bp-wall-card-body {
  padding: 0.75rem 0.85rem 0.85rem;
}

.bp-wall-card-title {
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0.35rem 0 0.25rem;
}

.bp-wall-card-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--keeps-green);
  margin: 0;
}

.bp-wall-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--cold-concrete);
  margin-top: 0.35rem;
}

.bp-wall-card-saves {
  color: var(--accent);
}

.bp-sidebar-blurb {
  font-size: 0.8rem;
  color: var(--cold-concrete);
  line-height: 1.5;
  margin: 0 0 0.75rem;
  padding-right: 0.5rem;
}

/* Item detail */
.bp-item-detail {
  margin-bottom: 1.5rem;
}

.bp-item-content {
  white-space: pre-wrap;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.bp-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.bp-availability-badge {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.bp-availability-free {
  background: rgba(152, 202, 34, 0.15);
  color: var(--keeps-green);
  border: 1px solid var(--keeps-green);
}

.bp-availability-limited {
  background: rgba(107, 63, 42, 0.12);
  color: var(--benguet-earth);
  border: 1px solid var(--benguet-earth);
}

.bp-availability-paid {
  background: var(--input-bg);
  border: 1px solid var(--border);
  color: var(--text);
}

.bp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 576px) {
  .bp-form-row {
    grid-template-columns: 1fr;
  }
}

.bp-feed-item {
  margin-bottom: 0.75rem;
}

.bp-feed-byline {
  margin-bottom: 0.35rem;
  padding-left: 0.15rem;
}

.bp-author-link {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.bp-author-link:hover {
  color: var(--accent);
}

/* Tags */
.bp-tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--cold-concrete);
  margin-right: 0.35rem;
  margin-bottom: 0.25rem;
}

.bp-tag::before {
  content: '#';
}

.bp-tag-tech { color: var(--keeps-green); font-weight: 600; }
.bp-tag-gear { color: var(--benguet-earth); font-weight: 600; }
.bp-tag-drops { color: var(--moss-green); font-weight: 600; }

/* Badges */
.bp-type-badge {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  text-transform: capitalize;
  margin-right: 0.5rem;
}

.bp-status-open { color: var(--moss-green); }
.bp-status-closed { color: var(--cold-concrete); }
.bp-status-completed { color: var(--accent); border-color: var(--accent); }

/* Post detail */
.bp-post-header {
  margin-bottom: 1.5rem;
}

.bp-post-content {
  white-space: pre-wrap;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.bp-vote-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bp-vote-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--cold-concrete);
}

.bp-vote-btn:hover,
.bp-vote-btn.active-up {
  border-color: var(--accent);
  color: var(--accent);
}

.bp-vote-btn.active-down {
  border-color: var(--text);
  color: var(--text);
}

/* Comments */
.bp-comments-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.bp-comment {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.bp-comment:last-child {
  border-bottom: none;
}

.bp-comment-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
}

.bp-comment-author {
  font-weight: 600;
}

.bp-comment-time {
  color: var(--cold-concrete);
}

.bp-comment-body {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.bp-comment-actions {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.bp-comment-actions button {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  color: var(--cold-concrete);
  cursor: pointer;
  font-size: 0.8rem;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.bp-comment-actions button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.bp-comment-replies {
  margin-left: 24px;
  border-left: 2px solid var(--border);
  padding-left: 1rem;
}

.bp-comment-replies .bp-comment-replies {
  margin-left: 20px;
}

.bp-reply-form {
  margin-top: 0.5rem;
}

.bp-reply-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem;
  font-size: 0.9rem;
  resize: vertical;
  min-height: 60px;
  background: var(--input-bg);
  color: var(--text);
}

/* Forms */
.bp-form-group {
  margin-bottom: 1rem;
}

.bp-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.bp-form-group input,
.bp-form-group select,
.bp-form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
  background: var(--input-bg);
  color: var(--text);
}

.bp-form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.bp-form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

/* Bounties */
.bp-reward {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  color: var(--reward);
  font-size: 1.1rem;
}

/* Profile */
.bp-profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.bp-profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--input-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.bp-profile-name {
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  margin: 0;
}

.bp-reputation {
  font-family: "Outfit", sans-serif;
  font-size: 1.25rem;
  color: var(--accent);
}

.bp-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.bp-badge-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
}

.bp-badge-type {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  text-transform: capitalize;
  margin-bottom: 0.25rem;
}

.bp-badge-reason {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.bp-badge-date {
  font-size: 0.75rem;
  color: var(--cold-concrete);
  margin-top: 0.35rem;
}

/* Page titles */
.bp-page-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.bp-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--cold-concrete);
}

.bp-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  padding: 2rem;
  color: var(--cold-concrete);
}

.bp-loading::before {
  content: '';
  width: 28px;
  height: 28px;
  border: 3px solid var(--border);
  border-top-color: var(--keeps-green);
  border-radius: 50%;
  animation: bp-spin 0.8s linear infinite;
}

@keyframes bp-spin {
  to {
    transform: rotate(360deg);
  }
}

.bp-loading-more {
  padding: 1.5rem 2rem 2.5rem;
  min-height: 88px;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
}

#feed-sentinel {
  height: 1px;
  width: 100%;
  pointer-events: none;
}

.bp-error {
  color: var(--accent);
  font-size: 0.9rem;
}

.bp-not-found {
  padding: 3rem 1.5rem;
}

.bp-not-found-code {
  font-family: "Outfit", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.5rem;
  line-height: 1;
}

.bp-not-found-text {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.bp-coming-soon {
  padding: 3rem 1.5rem;
}

.bp-coming-soon-label {
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
}

.bp-toast-container {
  position: fixed;
  top: 4.75rem;
  right: 1rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  pointer-events: none;
  width: min(90vw, 360px);
}

.bp-toast {
  background: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.bp-toast-show {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile menu toggle */
.bp-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text);
}

/* Mobile responsive */
@media (max-width: 991.98px) {
  .bp-sidebar-desktop {
    display: none;
  }

  .bp-menu-toggle {
    display: block;
  }

  .bp-layout {
    flex-direction: column;
    padding-top: 1rem;
  }

  /* Mobile/tablet: compact header row — search not aligned with Feed title */
  .bp-navbar-layout {
    flex-wrap: nowrap;
    gap: 0.75rem;
  }

  .bp-navbar-brand-col {
    width: auto;
    flex: 0 0 auto;
  }

  .bp-navbar-main-col {
    flex: 1;
    min-width: 0;
    order: 0;
  }

  .bp-search {
    flex: 1;
    min-width: 0;
  }

  .bp-card {
    padding: 1rem;
  }

  .bp-comment-replies {
    margin-left: 12px;
    padding-left: 0.75rem;
  }

  .bp-comment-replies .bp-comment-replies {
    margin-left: 10px;
  }

  .bp-profile-header {
    flex-direction: column;
    text-align: center;
  }

  .bp-sidebar-logo img {
    width: 120px;
    height: 120px;
    margin: 0 auto;
  }
}

@media (max-width: 575.98px) {
  .bp-brand .bp-brand-logo {
    height: 40px;
  }

  .bp-nav-actions .btn-bp-outline {
    display: none;
  }

  .bp-sidebar-profile-link {
    display: none;
  }

  .bp-sidebar-account-mobile {
    display: flex;
  }
}

/* Footer */
.bp-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
  margin-top: 1rem;
}

.bp-footer-inner {
  text-align: center;
}

.bp-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.bp-footer-copy {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.bp-footer-tagline {
  margin: 0;
  font-size: 0.75rem;
  color: var(--cold-concrete);
}

.bp-footer-credit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 0.85rem;
}
