/* ============================================================
   BLVCKMETA · WEB DESIGN SYSTEM
   ============================================================ */

:root {
  --bm-bg: #000000;
  --bm-card: #121212;
  --bm-card-hover: #1a1a1a;
  --bm-accent: #FF8C00;
  --bm-accent-soft: rgba(255, 140, 0, 0.12);
  --bm-accent-glow: rgba(255, 140, 0, 0.3);
  --bm-founder-gold: #D4AF37;
  --bm-text-primary: #FFFFFF;
  --bm-text-secondary: rgba(255, 255, 255, 0.6);
  --bm-text-muted: rgba(255, 255, 255, 0.4);
  --bm-divider: rgba(255, 255, 255, 0.07);
  --bm-divider-strong: rgba(255, 255, 255, 0.12);

  --bm-radius-card: 12px;
  --bm-radius-pill: 18px;
  --bm-radius-button: 14px;

  --bm-left-rail-w: 280px;
  --bm-right-rail-w: 360px;
  --bm-max-w: 1600px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bm-bg);
  color: var(--bm-text-primary);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button { font-family: inherit; cursor: pointer; }
a { text-decoration: none; color: inherit; }
.hidden { display: none !important; }

/* ============================================================
   AUTH DOOR
   ============================================================ */
.bm-auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(ellipse at center, rgba(255, 140, 0, 0.04), transparent 60%), #000;
}

.bm-auth-card {
  width: 100%;
  max-width: 400px;
}

.bm-auth-wordmark {
  text-align: center;
  margin-bottom: 48px;
}

.bm-auth-wordmark h1 {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 2px;
  margin: 0;
  background: linear-gradient(180deg, #fff 0%, #ccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bm-auth-wordmark p {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--bm-accent);
  margin-top: 8px;
}

.bm-input {
  width: 100%;
  background: var(--bm-card);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--bm-text-primary);
  font-size: 14px;
  outline: none;
  transition: border-color 200ms ease, background 200ms ease;
}

.bm-input::placeholder {
  color: var(--bm-text-muted);
}

.bm-input:focus {
  border-color: var(--bm-accent);
  background: var(--bm-card-hover);
}

.bm-button-primary {
  width: 100%;
  background: var(--bm-accent);
  color: #000;
  border: none;
  border-radius: 14px;
  padding: 16px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.bm-button-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--bm-accent-glow);
}

.bm-button-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.bm-button-ghost {
  background: transparent;
  border: 1px solid var(--bm-divider-strong);
  color: var(--bm-text-primary);
  border-radius: 14px;
  padding: 12px 20px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background 200ms ease, border-color 200ms ease;
}

.bm-button-ghost:hover {
  background: var(--bm-card);
  border-color: var(--bm-accent);
}

.bm-auth-error {
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
  color: #ff8888;
  font-size: 12px;
  text-align: center;
  margin: 12px 0;
}

.bm-teaira-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
  color: var(--bm-text-muted);
  font-size: 12px;
  font-style: italic;
}

.bm-teaira-mini-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8E2DE2 0%, #4A00E0 50%, #00F0FF 100%);
  /* hue-shift killed per RIXX */
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes teairaHueShift {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* ============================================================
   APP SHELL — THREE-COLUMN LAYOUT
   ============================================================ */
.bm-layout {
  display: grid;
  grid-template-columns: var(--bm-left-rail-w) 1fr var(--bm-right-rail-w);
  max-width: var(--bm-max-w);
  margin: 0 auto;
  min-height: 100vh;
}

/* ============================================================
   LEFT RAIL
   ============================================================ */
.bm-left-rail {
  background: var(--bm-bg);
  border-right: 0.5px solid var(--bm-divider);
  padding: 24px 20px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.bm-left-rail::-webkit-scrollbar { width: 0; }

.bm-logo-block {
  margin-bottom: 32px;
}

.bm-wordmark-stack {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bm-wordmark-shield {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.bm-wordmark-shield img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.bm-wordmark-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.bm-wordmark-text .top { font-size: 14px; font-weight: 900; letter-spacing: 1px; }
.bm-wordmark-text .bot { font-size: 14px; font-weight: 900; letter-spacing: 1px; }

.bm-logo-tag {
  margin-top: 8px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bm-text-muted);
}

.bm-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bm-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--bm-text-secondary);
  position: relative;
  transition: background 200ms ease, color 200ms ease;
  cursor: pointer;
}

.bm-nav-item:hover {
  background: rgba(255, 140, 0, 0.06);
  color: var(--bm-text-primary);
}

.bm-nav-item.active {
  background: var(--bm-accent-soft);
  color: var(--bm-accent);
}

.bm-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: var(--bm-accent);
  border-radius: 0 3px 3px 0;
}

.bm-nav-icon { font-size: 20px; flex-shrink: 0; }
.bm-nav-label { font-size: 14px; font-weight: 700; flex: 1; }

.bm-nav-badge {
  background: var(--bm-accent);
  color: #000;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}

.bm-rail-divider {
  height: 0.5px;
  background: var(--bm-divider);
  margin: 24px 0;
}

.bm-teaira-quick {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(142, 45, 226, 0.1), rgba(0, 240, 255, 0.05));
  border: 0.5px solid rgba(142, 45, 226, 0.3);
  border-radius: 12px;
  transition: transform 200ms ease;
  cursor: pointer;
}

.bm-teaira-quick:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(142, 45, 226, 0.15), rgba(0, 240, 255, 0.08));
}

.bm-teaira-quick-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8E2DE2 0%, #4A00E0 50%, #00F0FF 100%);
  /* hue-shift killed per RIXX */
  flex-shrink: 0;
  overflow: hidden;
}

.bm-teaira-quick-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.bm-teaira-quick-text { display: flex; flex-direction: column; }
.bm-teaira-quick-text .title { font-size: 11px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; }
.bm-teaira-quick-text .sub { font-size: 10px; color: var(--bm-text-secondary); font-style: italic; }

.bm-online-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  margin-top: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bm-text-secondary);
}

.bm-online-dot {
  width: 6px;
  height: 6px;
  background: #00d97e;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 217, 126, 0.5);
  animation: bmPulse 2s ease-in-out infinite;
}

@keyframes bmPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.bm-mini-profile {
  margin-top: auto;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 200ms ease;
}

.bm-mini-profile:hover {
  background: rgba(255, 255, 255, 0.05);
}

.bm-mini-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--bm-accent);
  background-size: cover;
  background-position: center;
  background-color: var(--bm-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.bm-mini-profile-text { flex: 1; min-width: 0; }
.bm-mini-profile-name { font-size: 12px; font-weight: 900; letter-spacing: 0.5px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-mini-profile-handle { font-size: 10px; font-weight: 700; color: var(--bm-accent); }
.bm-mini-profile-pill { font-size: 8px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; color: var(--bm-text-muted); margin-top: 2px; }

/* ============================================================
   CENTER COLUMN
   ============================================================ */
.bm-center-column {
  background: var(--bm-bg);
  border-right: 0.5px solid var(--bm-divider);
  min-height: 100vh;
  overflow-x: hidden;
}

.bm-tab-header {
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 0.5px solid var(--bm-divider);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  height: 64px;
}

.bm-tab-header-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.bm-view-container {
  padding: 0;
  padding-bottom: 80px; /* clear the always-visible bottom nav */
}

/* ============================================================
   RIGHT RAIL
   ============================================================ */
.bm-right-rail {
  background: var(--bm-bg);
  padding: 24px 20px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bm-right-rail::-webkit-scrollbar { width: 0; }

.bm-rail-top-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.bm-search-input {
  flex: 1;
  background: var(--bm-card);
  border: none;
  border-radius: 12px;
  padding: 9px 14px;
  color: var(--bm-text-primary);
  font-size: 13px;
  outline: none;
}

.bm-search-input:focus {
  background: var(--bm-card-hover);
}

.bm-bell-button {
  width: 36px;
  height: 36px;
  background: var(--bm-card);
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  position: relative;
  transition: background 200ms ease;
}

.bm-bell-button:hover { background: var(--bm-card-hover); }

.bm-bell-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: var(--bm-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--bm-accent-glow);
}

/* Cards (used in right rail widgets) */
.bm-card {
  background: var(--bm-card);
  border-radius: var(--bm-radius-card);
  padding: 16px;
  border: 0.5px solid transparent;
  transition: border-color 200ms ease, transform 200ms ease;
}

.bm-card-hover:hover {
  border-color: rgba(255, 140, 0, 0.2);
  transform: translateY(-1px);
}

.bm-card-header {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bm-accent);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bm-card-subheader {
  font-size: 11px;
  color: var(--bm-text-secondary);
  margin-bottom: 12px;
}

.bm-card-footer {
  margin-top: 12px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bm-accent);
  cursor: pointer;
}

.bm-card-footer:hover { text-decoration: underline; }

/* TEAIRA Says card (right rail) */
.bm-teaira-says {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.bm-teaira-says-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8E2DE2 0%, #4A00E0 50%, #00F0FF 100%);
  flex-shrink: 0;
  overflow: hidden;
}

.bm-teaira-says-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.bm-teaira-says-body {
  flex: 1;
}

.bm-teaira-says-greeting {
  font-size: 13px;
  color: var(--bm-text-primary);
  line-height: 1.5;
  margin-top: 6px;
}

/* Weather widget */
.bm-weather-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.bm-weather-temp {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.bm-weather-icon { font-size: 40px; }
.bm-weather-temp-num { font-size: 36px; font-weight: 900; color: var(--bm-text-primary); }
.bm-weather-temp-unit { font-size: 14px; color: var(--bm-text-secondary); }

.bm-weather-meta {
  font-size: 11px;
  color: var(--bm-text-secondary);
  text-align: right;
}

.bm-weather-meta-label {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bm-text-muted);
}

.bm-weather-condition {
  font-size: 12px;
  color: var(--bm-text-secondary);
  margin-top: 4px;
}

/* On the Block widget */
.bm-on-block-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.bm-on-block-avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid var(--bm-accent);
  background-size: cover;
  background-position: center;
  background-color: var(--bm-card-hover);
  position: relative;
  cursor: pointer;
  transition: transform 200ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.bm-on-block-avatar:hover {
  transform: scale(1.08);
}

.bm-on-block-avatar::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #00d97e;
  border-radius: 50%;
  border: 2px solid var(--bm-bg);
}

/* Signals widget */
.bm-signal-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 0.5px solid var(--bm-divider);
}

.bm-signal-row:last-child { border-bottom: none; }

.bm-signal-icon { font-size: 22px; flex-shrink: 0; }

.bm-signal-body { flex: 1; min-width: 0; }
.bm-signal-title { font-size: 12px; font-weight: 700; }
.bm-signal-meta { font-size: 10px; color: var(--bm-text-muted); margin-top: 2px; }

.bm-signal-action {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bm-accent);
  cursor: pointer;
}

/* Activity widget */
.bm-activity-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 0.5px solid var(--bm-divider);
}

.bm-activity-row:last-child { border-bottom: none; }

.bm-activity-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: var(--bm-card-hover);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.bm-activity-text { font-size: 12px; line-height: 1.4; flex: 1; }
.bm-activity-time { font-size: 10px; color: var(--bm-text-muted); margin-top: 2px; }

/* Right rail footer */
.bm-rail-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 10px;
  color: var(--bm-text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.bm-rail-footer-links { margin-bottom: 12px; }
.bm-rail-footer-links a { margin: 0 4px; }
.bm-rail-footer-links a:hover { color: var(--bm-accent); }

/* ============================================================
   ME PROFILE
   ============================================================ */
.bm-profile-cover {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: linear-gradient(180deg, #1a0e22 0%, #000 100%);
}

.bm-profile-cover-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.bm-profile-cover-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, transparent 0%, #000 100%);
  z-index: 2;
}

.bm-profile-cover-scanlines {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 4px);
  pointer-events: none;
}

.bm-profile-identity-row {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  padding: 0 32px;
  margin-top: -100px;
  position: relative;
  z-index: 5;
}

.bm-trinity-stack {
  position: relative;
  width: 200px;
  height: 200px;
  flex-shrink: 0;
}

.bm-trinity-outer-ring {
  position: absolute;
  inset: 0;
  border: 2px solid var(--bm-accent);
  border-radius: 50%;
  animation: trinityRotate 60s linear infinite;
}

.bm-trinity-outer-ring.gold { border-color: var(--bm-founder-gold); }

@keyframes trinityRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.bm-trinity-middle-ring {
  position: absolute;
  inset: 13px;
  border: 2px solid var(--bm-accent);
  border-radius: 50%;
}

.bm-trinity-middle-ring.gold { border-color: var(--bm-founder-gold); }

.bm-trinity-inner {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: var(--bm-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  overflow: hidden;
}

.bm-trinity-live-dot {
  position: absolute;
  top: 30px;
  right: 20px;
  width: 18px;
  height: 18px;
  background: #00d97e;
  border-radius: 50%;
  border: 3px solid var(--bm-bg);
  z-index: 10;
  animation: bmPulse 2s ease-in-out infinite;
}

.bm-trinity-verified {
  position: absolute;
  bottom: 18px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: #0095F6;
  border-radius: 50%;
  border: 3px solid var(--bm-bg);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.bm-profile-identity-text { flex: 1; padding-bottom: 20px; }

.bm-profile-name {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0;
}

.bm-profile-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.bm-profile-handle {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bm-accent);
}

.bm-profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: var(--bm-radius-pill);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.bm-profile-pill.founder { background: rgba(212, 175, 55, 0.15); color: var(--bm-founder-gold); border: 0.5px solid rgba(212, 175, 55, 0.4); }
.bm-profile-pill.admin { background: rgba(0, 217, 126, 0.15); color: #00d97e; border: 0.5px solid rgba(0, 217, 126, 0.4); }
.bm-profile-pill.moderator { background: rgba(255, 255, 255, 0.08); color: #fff; border: 0.5px solid rgba(255, 255, 255, 0.2); }
.bm-profile-pill.trustee { background: rgba(255, 255, 255, 0.08); color: #fff; border: 0.5px solid rgba(255, 255, 255, 0.2); }
.bm-profile-pill.resident { background: rgba(255, 255, 255, 0.05); color: var(--bm-text-secondary); border: 0.5px solid var(--bm-divider); }

.bm-profile-block-number {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--bm-text-muted);
}

.bm-profile-edit-button {
  align-self: center;
  margin-bottom: 20px;
}

/* Anthem player */
.bm-anthem-bar {
  margin: 24px 32px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: linear-gradient(90deg, rgba(255, 140, 0, 0.08), transparent);
  border-top: 0.5px solid var(--bm-divider);
  border-bottom: 0.5px solid var(--bm-divider);
}

.bm-anthem-art {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bm-card-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.bm-anthem-info { flex: 1; min-width: 0; }
.bm-anthem-label { font-size: 9px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; color: var(--bm-accent); }
.bm-anthem-title { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }

.bm-anthem-play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bm-accent);
  color: #000;
  border: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Counter strip */
.bm-counter-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 24px 32px 0;
  border-top: 0.5px solid var(--bm-divider);
  border-bottom: 0.5px solid var(--bm-divider);
  padding: 16px 0;
}

.bm-counter {
  text-align: center;
  border-right: 0.5px solid var(--bm-divider);
  padding: 4px 0;
}

.bm-counter:last-child { border-right: none; }

.bm-counter-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--bm-accent);
  line-height: 1.1;
}

.bm-counter-num.empty {
  color: var(--bm-text-muted);
}

.bm-counter-label {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bm-text-secondary);
  margin-top: 6px;
}

/* Sub-tab nav */
.bm-subtab-nav {
  display: flex;
  gap: 0;
  margin: 24px 32px 0;
  border-bottom: 0.5px solid var(--bm-divider);
  overflow-x: auto;
}

.bm-subtab-nav::-webkit-scrollbar { height: 0; }

.bm-subtab {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 16px;
  color: var(--bm-text-secondary);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 200ms ease, border-color 200ms ease;
}

.bm-subtab:hover { color: var(--bm-text-primary); }
.bm-subtab.active { color: var(--bm-accent); border-bottom-color: var(--bm-accent); }

/* Sub-tab content */
.bm-subtab-content {
  padding: 32px;
}

.bm-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bm-info-card {
  background: var(--bm-card);
  border-radius: var(--bm-radius-card);
  padding: 16px;
}

.bm-info-card-label {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bm-accent);
  margin-bottom: 6px;
}

.bm-info-card-body {
  font-size: 13px;
  color: var(--bm-text-primary);
  line-height: 1.5;
}

.bm-info-card-body.empty {
  color: var(--bm-text-muted);
  font-style: italic;
}

.bm-info-card-big {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Empty states */
.bm-empty-state {
  text-align: center;
  padding: 60px 24px;
  background: var(--bm-card);
  border-radius: var(--bm-radius-card);
  margin: 12px 0;
}

.bm-empty-icon { font-size: 56px; margin-bottom: 16px; opacity: 0.5; }
.bm-empty-title { font-size: 16px; font-weight: 900; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 8px; }
.bm-empty-body { font-size: 13px; color: var(--bm-text-secondary); max-width: 320px; margin: 0 auto 20px; line-height: 1.5; }

/* Sign out link */
.bm-signout {
  text-align: center;
  margin: 60px 0 40px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bm-text-muted);
  cursor: pointer;
  transition: color 200ms ease;
}

.bm-signout:hover { color: var(--bm-text-secondary); }

/* ============================================================
   PORCH FEED
   ============================================================ */
.bm-feed { padding: 24px 32px; max-width: 720px; margin: 0 auto; }

.bm-post-card {
  background: var(--bm-card);
  border-radius: var(--bm-radius-card);
  margin-bottom: 16px;
  overflow: hidden;
}

.bm-post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.bm-post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: var(--bm-card-hover);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bm-post-author-info { flex: 1; }
.bm-post-author-name { font-size: 13px; font-weight: 900; letter-spacing: 0.5px; text-transform: uppercase; }
.bm-post-author-meta { font-size: 11px; color: var(--bm-text-secondary); }

.bm-post-caption { padding: 0 16px 14px; font-size: 14px; line-height: 1.5; }

.bm-post-media {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  display: block;
  background: #000;
}

.bm-post-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-top: 0.5px solid var(--bm-divider);
}

.bm-post-action {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--bm-text-secondary);
  font-size: 12px;
  font-weight: 700;
  transition: color 200ms ease;
}

.bm-post-action:hover { color: var(--bm-accent); }
.bm-post-action.active { color: var(--bm-accent); }

/* ============================================================
   FIND
   ============================================================ */
.bm-find-container { padding: 24px 32px; max-width: 1100px; margin: 0 auto; }

.bm-find-search {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 32px;
  display: block;
  background: var(--bm-card);
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 16px 20px;
  color: var(--bm-text-primary);
  font-size: 15px;
  outline: none;
}

.bm-find-search:focus {
  border-color: var(--bm-accent);
  background: var(--bm-card-hover);
}

.bm-find-section-title {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bm-accent);
  margin: 32px 0 16px;
}

.bm-user-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.bm-user-card {
  background: var(--bm-card);
  border-radius: var(--bm-radius-card);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
  border: 0.5px solid transparent;
}

.bm-user-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 140, 0, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 140, 0, 0.1);
}

.bm-user-card-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--bm-accent);
  background-size: cover;
  background-position: center;
  background-color: var(--bm-card-hover);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.bm-user-card-name { font-size: 13px; font-weight: 900; letter-spacing: 0.5px; text-transform: uppercase; }
.bm-user-card-handle { font-size: 11px; color: var(--bm-accent); font-weight: 700; margin-top: 4px; }
.bm-user-card-role { margin-top: 8px; }

/* ============================================================
   PULSE — RBAC card grid
   ============================================================ */
.bm-pulse-container { padding: 24px 32px; }

.bm-pulse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.bm-pulse-card {
  background: var(--bm-card);
  border: 0.5px solid var(--bm-divider);
  border-radius: 14px;
  padding: 18px;
  cursor: pointer;
  position: relative;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.bm-pulse-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 140, 0, 0.4);
  background: var(--bm-card-hover);
}

.bm-pulse-card.founder {
  background: linear-gradient(135deg, rgba(40, 16, 8, 1) 0%, rgba(20, 12, 4, 1) 100%);
  border-color: rgba(212, 175, 55, 0.4);
}

.bm-pulse-card.founder:hover {
  border-color: var(--bm-founder-gold);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.2);
}

.bm-pulse-card.danger {
  border-color: rgba(255, 68, 68, 0.3);
}

.bm-pulse-card.full-width { grid-column: 1 / -1; }

.bm-pulse-icon { font-size: 26px; margin-bottom: 10px; }

.bm-pulse-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.bm-pulse-sub {
  font-size: 10px;
  color: var(--bm-text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

.bm-pulse-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 8px;
  background: var(--bm-accent);
  color: #000;
}

.bm-pulse-badge.gold { background: var(--bm-founder-gold); }
.bm-pulse-badge.red { background: #ff4444; color: #fff; }

/* ============================================================
   MAIL
   ============================================================ */
.bm-mail-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  height: calc(100vh - 64px);
}

.bm-thread-list {
  border-right: 0.5px solid var(--bm-divider);
  overflow-y: auto;
}

.bm-thread-row {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 0.5px solid var(--bm-divider);
  cursor: pointer;
  transition: background 200ms ease;
}

.bm-thread-row:hover { background: var(--bm-card); }
.bm-thread-row.active { background: var(--bm-card-hover); }

.bm-thread-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: var(--bm-card-hover);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.bm-thread-info { flex: 1; min-width: 0; }
.bm-thread-name { font-size: 13px; font-weight: 900; letter-spacing: 0.3px; text-transform: uppercase; }
.bm-thread-preview { font-size: 11px; color: var(--bm-text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.bm-thread-time { font-size: 10px; color: var(--bm-text-muted); text-align: right; flex-shrink: 0; }
.bm-thread-unread-dot { width: 8px; height: 8px; background: var(--bm-accent); border-radius: 50%; margin-top: 6px; align-self: flex-start; }

.bm-thread-pane {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bm-thread-pane-header {
  padding: 14px 20px;
  border-bottom: 0.5px solid var(--bm-divider);
  display: flex;
  align-items: center;
  gap: 12px;
}

.bm-thread-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bm-message-bubble {
  max-width: 70%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
}

.bm-message-bubble.sent {
  align-self: flex-end;
  background: var(--bm-accent);
  color: #000;
}

.bm-message-bubble.received {
  align-self: flex-start;
  background: var(--bm-card);
  color: var(--bm-text-primary);
}

.bm-message-time {
  font-size: 10px;
  color: var(--bm-text-muted);
  margin-top: 2px;
}

.bm-message-composer {
  border-top: 0.5px solid var(--bm-divider);
  padding: 14px 20px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.bm-message-input {
  flex: 1;
  background: var(--bm-card);
  border: none;
  border-radius: 20px;
  padding: 12px 16px;
  color: var(--bm-text-primary);
  font-size: 14px;
  outline: none;
  resize: none;
}

.bm-send-button {
  width: 40px;
  height: 40px;
  background: var(--bm-accent);
  color: #000;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bm-send-button:disabled { background: var(--bm-card); color: var(--bm-text-muted); }

/* ============================================================
   VIBES
   ============================================================ */
.bm-vibes-container { padding: 24px 32px; }

.bm-vibes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 4px;
}

.bm-vibe-tile {
  aspect-ratio: 9 / 16;
  background: var(--bm-card);
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.bm-vibe-tile:hover { transform: scale(1.02); }

.bm-vibe-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.8) 100%);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bm-vibe-tile-author { font-size: 11px; font-weight: 900; letter-spacing: 0.3px; color: #fff; }
.bm-vibe-tile-caption { font-size: 11px; color: rgba(255, 255, 255, 0.8); margin-top: 2px; }

/* Vibe player modal */
.bm-vibe-player-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.bm-vibe-player {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.bm-vibe-player video,
.bm-vibe-player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bm-vibe-player-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  z-index: 10;
}

/* ============================================================
   HALLWAY
   ============================================================ */
.bm-hallway-container { padding: 24px 32px; }

.bm-hallway-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.bm-hallway-card {
  background: var(--bm-card);
  border-radius: var(--bm-radius-card);
  padding: 20px;
  cursor: pointer;
  transition: transform 200ms ease, border-color 200ms ease;
  border: 0.5px solid transparent;
}

.bm-hallway-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 140, 0, 0.3);
}

.bm-hallway-name { font-size: 14px; font-weight: 900; letter-spacing: 0.5px; text-transform: uppercase; }
.bm-hallway-meta { font-size: 11px; color: var(--bm-text-secondary); margin-top: 4px; }
.bm-hallway-preview { font-size: 12px; color: var(--bm-text-secondary); margin-top: 10px; line-height: 1.4; }
.bm-hallway-avatars { display: flex; margin-top: 12px; }

.bm-hallway-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: var(--bm-card-hover);
  border: 2px solid var(--bm-card);
  margin-left: -8px;
  flex-shrink: 0;
}

.bm-hallway-avatar:first-child { margin-left: 0; }

/* ============================================================
   COMPOSE FAB + MODALS
   ============================================================ */
.bm-compose-fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: var(--bm-accent);
  color: #000;
  border: none;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 8px 24px var(--bm-accent-glow);
  z-index: 100;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.bm-compose-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px var(--bm-accent-glow);
}

.bm-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: bmFadeIn 200ms ease;
}

@keyframes bmFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.bm-modal {
  background: var(--bm-card);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  border: 0.5px solid var(--bm-divider-strong);
}

.bm-modal-header {
  padding: 20px;
  border-bottom: 0.5px solid var(--bm-divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bm-modal-title {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.bm-modal-close {
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: var(--bm-text-secondary);
  font-size: 18px;
  border-radius: 50%;
}

.bm-modal-close:hover { background: var(--bm-card-hover); color: var(--bm-text-primary); }

.bm-modal-body { padding: 20px; }
.bm-modal-footer { padding: 16px 20px; border-top: 0.5px solid var(--bm-divider); }

.bm-compose-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bm-compose-menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: transparent;
  border: none;
  border-radius: 12px;
  color: var(--bm-text-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: left;
  transition: background 200ms ease;
}

.bm-compose-menu-item:hover { background: var(--bm-card-hover); }
.bm-compose-menu-icon { font-size: 22px; }

.bm-textarea {
  width: 100%;
  background: var(--bm-bg);
  border: 1px solid var(--bm-divider);
  border-radius: 12px;
  padding: 14px;
  color: var(--bm-text-primary);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  outline: none;
  min-height: 120px;
}

.bm-textarea:focus { border-color: var(--bm-accent); }

.bm-select {
  width: 100%;
  background: var(--bm-bg);
  border: 1px solid var(--bm-divider);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--bm-text-primary);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8C00' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

.bm-select:focus { border-color: var(--bm-accent); }

.bm-form-label {
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bm-accent);
  margin-bottom: 6px;
}

.bm-form-group { margin-bottom: 16px; }

/* ============================================================
   ALERTS MODAL
   ============================================================ */
.bm-alerts-list {
  display: flex;
  flex-direction: column;
}

.bm-alert-row {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 0.5px solid var(--bm-divider);
  align-items: flex-start;
}

.bm-alert-row:last-child { border-bottom: none; }

.bm-alert-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bm-card-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.bm-alert-body { flex: 1; }
.bm-alert-text { font-size: 13px; line-height: 1.4; }
.bm-alert-time { font-size: 10px; color: var(--bm-text-muted); margin-top: 4px; }

/* ============================================================
   MOBILE BOTTOM NAV
   ============================================================ */
.bm-mobile-bottom-nav {
  display: grid;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-top: 0.5px solid var(--bm-divider);
  padding: 8px 4px;
  z-index: 50;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.bm-mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 4px;
  background: transparent;
  border: none;
  color: var(--bm-text-secondary);
  cursor: pointer;
}

.bm-mobile-nav-item.active { color: var(--bm-accent); }
.bm-mobile-nav-icon { font-size: 18px; }
.bm-mobile-nav-label { font-size: 8px; font-weight: 900; letter-spacing: 0.5px; text-transform: uppercase; }

/* ============================================================
   SKELETON LOADERS
   ============================================================ */
.bm-skeleton {
  background: linear-gradient(90deg, var(--bm-card) 0%, var(--bm-card-hover) 50%, var(--bm-card) 100%);
  background-size: 200% 100%;
  animation: bmSkeleton 1.5s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes bmSkeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1280px) {
  :root { --bm-left-rail-w: 80px; --bm-right-rail-w: 320px; }
  .bm-nav-label { display: none; }
  .bm-nav-badge { display: none; }
  .bm-nav-item { justify-content: center; padding: 12px 8px; }
  .bm-logo-tag { display: none; }
  .bm-wordmark-text { display: none; }
  .bm-teaira-quick-text { display: none; }
  .bm-teaira-quick { justify-content: center; padding: 10px; }
  .bm-online-indicator { display: none; }
  .bm-mini-profile-text { display: none; }
  .bm-mini-profile { justify-content: center; padding: 8px; }
}

@media (max-width: 1024px) {
  .bm-layout { grid-template-columns: 80px 1fr; }
  .bm-right-rail { display: none; }
}

@media (max-width: 768px) {
  :root { --bm-left-rail-w: 0; }
  .bm-layout { grid-template-columns: 1fr; }
  .bm-left-rail { display: none; }
  .bm-mobile-bottom-nav { display: grid; }
  .bm-view-container { padding-bottom: 80px; }
  .bm-tab-header { padding: 14px 20px; height: 56px; }
  
  .bm-profile-cover { height: 200px; }
  .bm-profile-identity-row { flex-direction: column; align-items: center; text-align: center; padding: 0 20px; margin-top: -80px; }
  .bm-trinity-stack { width: 140px; height: 140px; }
  .bm-trinity-middle-ring { inset: 11px; }
  .bm-trinity-inner { inset: 18px; font-size: 36px; }
  .bm-profile-name { font-size: 22px; }
  .bm-profile-meta-row { justify-content: center; }
  .bm-profile-edit-button { align-self: center; margin-top: 8px; margin-bottom: 0; }
  
  .bm-anthem-bar { margin: 24px 16px 0; }
  
  .bm-counter-strip { grid-template-columns: repeat(2, 1fr); margin: 24px 16px 0; }
  .bm-counter:nth-child(3),
  .bm-counter:nth-child(4),
  .bm-counter:nth-child(5) { display: none; }
  .bm-counter:nth-child(2) { border-right: none; }
  
  .bm-subtab-nav { margin: 24px 16px 0; }
  .bm-subtab-content { padding: 16px; }
  .bm-info-grid { grid-template-columns: 1fr; }
  
  .bm-feed, .bm-find-container, .bm-pulse-container, .bm-vibes-container, .bm-hallway-container { padding: 16px; }
  
  .bm-mail-layout { grid-template-columns: 1fr; height: auto; }
  .bm-thread-pane { display: none; }
  .bm-mail-layout.thread-open .bm-thread-list { display: none; }
  .bm-mail-layout.thread-open .bm-thread-pane { display: flex; height: calc(100vh - 64px - 60px); }
  
  .bm-compose-fab { bottom: 90px; right: 20px; }
}

/* ════════════════════════════════════════════════════════════════
   TRINITY STACK — 3-circle profile avatar (left + main + right)
   Each side circle supports image OR video media.
   Main circle has dual rings + live dot + verified ✓.
   ════════════════════════════════════════════════════════════════ */
.bm-trinity-stack-3 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 140px;
  flex-shrink: 0;
}

.bm-trinity-side {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background-color: var(--bm-card-hover);
  border: 2px solid var(--bm-bg);
  box-shadow: 0 0 0 1px var(--bm-accent);
  flex-shrink: 0;
}

.bm-trinity-side.bm-trinity-left {
  margin-right: -22px;
  z-index: 1;
}
.bm-trinity-side.bm-trinity-right {
  margin-left: -22px;
  z-index: 1;
}

.bm-trinity-side.bm-trinity-empty {
  background: linear-gradient(135deg, var(--bm-accent-soft), transparent);
  border-style: dashed;
  opacity: 0.4;
}

.bm-trinity-side video,
.bm-trinity-side-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  display: block;
}

.bm-trinity-main {
  position: relative;
  width: 130px;
  height: 130px;
  z-index: 2;
}


/* ════════════════════════════════════════════════════════════════
   DESKTOP HERO REBUILD — Wave 17
   Cover tall, trinity huge, single ring, name stacked below, slim
   counters. Mirrors iOS MeProfileView / UserProfileView structure.
   ════════════════════════════════════════════════════════════════ */

/* ── WALLPAPER LAYER (sits behind profile, fades into bg) ────── */
.bm-profile-wallpaper {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 95vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.55;
}
.bm-profile-wallpaper-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-size: cover;
  background-position: center;
}
.bm-profile-wallpaper video {
  width: 100%; height: 100%; object-fit: cover;
}
.bm-profile-wallpaper-fade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.2) 35%,
    rgba(0,0,0,0.65) 70%,
    #000 100%);
}

/* ── COVER (tall — overrides 320px default) ──────────────────── */
.bm-profile-cover.bm-profile-cover-tall {
  height: 520px;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .bm-profile-cover.bm-profile-cover-tall { height: 380px; }
}

/* Edit button parked over the cover, top-right */
.bm-profile-cover .bm-profile-edit-button {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 10;
  background: var(--bm-accent);
  color: #000;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.bm-profile-cover .bm-profile-edit-button:hover {
  filter: brightness(1.08);
}

/* ── TRINITY STACK (desktop scale — overrides old 130/64 sizes) */
.bm-trinity-stack-3.bm-trinity-stack-desktop {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 280px;
  gap: 0;
  margin-top: -140px;
  margin-bottom: 12px;
  z-index: 5;
}

.bm-trinity-stack-desktop .bm-trinity-side {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bm-card-hover);
  border: 3px solid var(--bm-accent);
  box-shadow: 0 0 0 1px #000, 0 8px 24px rgba(0,0,0,0.5);
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
  transition: transform 0.18s ease;
  position: relative;
  margin: 0;
}
.bm-trinity-stack-desktop .bm-trinity-side:hover {
  transform: scale(1.03);
}
.bm-trinity-stack-desktop .bm-trinity-side.bm-trinity-left {
  margin-right: -50px;
  z-index: 1;
}
.bm-trinity-stack-desktop .bm-trinity-side.bm-trinity-right {
  margin-left: -50px;
  z-index: 1;
}
.bm-trinity-stack-desktop .bm-trinity-side video,
.bm-trinity-stack-desktop .bm-trinity-side-img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  display: block;
}
.bm-trinity-stack-desktop .bm-trinity-side.bm-trinity-empty {
  background: linear-gradient(135deg, rgba(255,140,0,0.08), transparent);
  border-style: dashed;
  border-color: rgba(255,140,0,0.3);
  opacity: 0.7;
}
.bm-trinity-empty-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bm-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* MAIN avatar — SINGLE ring + glow (NOT double) */
.bm-trinity-stack-desktop .bm-trinity-main {
  position: relative;
  width: 280px;
  height: 280px;
  z-index: 2;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: transform 0.18s ease;
}
.bm-trinity-stack-desktop .bm-trinity-main:hover {
  transform: scale(1.02);
}
.bm-trinity-main-glow {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: var(--bm-accent);
  opacity: 0.18;
  filter: blur(14px);
  pointer-events: none;
}
.bm-trinity-main-glow.gold {
  background: #FFD700;
  opacity: 0.22;
}
.bm-trinity-main-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid var(--bm-accent);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.6);
  pointer-events: none;
}
.bm-trinity-main-ring.gold {
  border-color: #FFD700;
}
.bm-trinity-main-bg {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #000;
  pointer-events: none;
}
.bm-trinity-main-inner {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bm-card-hover);
}
.bm-trinity-main-inner video,
.bm-trinity-main-img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  display: block;
}
.bm-trinity-main-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 64px;
  color: var(--bm-accent);
}
.bm-trinity-stack-desktop .bm-trinity-live-dot {
  position: absolute;
  bottom: 14px; right: 14px;
  width: 22px; height: 22px;
  background: #2ecc71;
  border: 3px solid #000;
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0 0 10px rgba(46,204,113,0.6);
}

/* ── NAME BLOCK (stacked centered under trinity) ─────────────── */
.bm-profile-name-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 20px 0;
  position: relative;
  z-index: 5;
}
.bm-profile-name-block .bm-profile-name {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #fff;
  margin: 0;
  text-align: center;
  line-height: 1.15;
}
.bm-profile-handle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.bm-verified-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #3399ff;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}
.bm-verified-seal.founder {
  background: var(--bm-accent);
  color: #000;
}
.bm-profile-name-block .bm-profile-handle {
  font-size: 16px;
  font-weight: 800;
  color: var(--bm-accent);
  letter-spacing: 0.3px;
}
.bm-profile-role-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255,140,0,0.15);
  color: var(--bm-accent);
  border: 1px solid rgba(255,140,0,0.4);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ── SLIM COUNTERS (2 columns only) ──────────────────────────── */
.bm-counter-strip.bm-counter-strip-slim {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 24px 32px;
  margin: 20px 16px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: transparent;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.bm-counter-strip.bm-counter-strip-slim .bm-counter {
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.bm-counter-strip.bm-counter-strip-slim .bm-counter:last-child {
  border-right: none;
}
.bm-counter-strip.bm-counter-strip-slim .bm-counter-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--bm-accent);
}
.bm-counter-strip.bm-counter-strip-slim .bm-counter-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ── KILL old cover-scanlines (element removed) ──────────────── */
.bm-profile-cover-scanlines { display: none; }

/* ── LIGHTBOX (trinity click viewer) ─────────────────────────── */
.bm-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.bm-lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 28px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
}
.bm-lightbox-close:hover { background: rgba(255,255,255,0.18); }
.bm-lightbox-stage {
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bm-lightbox-stage img,
.bm-lightbox-stage video {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}
.bm-lightbox-footer {
  margin-top: 18px;
  padding: 8px 16px;
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
}
.bm-lightbox-coming {
  font-weight: 700;
}

/* ── Responsive: shrink trinity on narrow desktop ────────────── */
@media (max-width: 1100px) {
  .bm-trinity-stack-desktop { height: 240px; margin-top: -120px; }
  .bm-trinity-stack-desktop .bm-trinity-main { width: 240px; height: 240px; }
  .bm-trinity-stack-desktop .bm-trinity-side { width: 150px; height: 150px; }
  .bm-trinity-stack-desktop .bm-trinity-side.bm-trinity-left { margin-right: -40px; }
  .bm-trinity-stack-desktop .bm-trinity-side.bm-trinity-right { margin-left: -40px; }
  .bm-profile-name-block .bm-profile-name { font-size: 26px; }
}
@media (max-width: 900px) {
  .bm-trinity-stack-desktop { height: 200px; margin-top: -100px; }
  .bm-trinity-stack-desktop .bm-trinity-main { width: 200px; height: 200px; }
  .bm-trinity-stack-desktop .bm-trinity-side { width: 120px; height: 120px; }
  .bm-trinity-stack-desktop .bm-trinity-side.bm-trinity-left { margin-right: -34px; }
  .bm-trinity-stack-desktop .bm-trinity-side.bm-trinity-right { margin-left: -34px; }
}

/* ════════════════════════════════════════════════════════════════
   LOTTIE REACTION TILES + STRIP — Wave 18 foundation
   ════════════════════════════════════════════════════════════════ */
.bm-reaction-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 6px;
  min-width: 56px;
  background: transparent;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  color: inherit;
  transition: background 0.15s ease, transform 0.18s ease;
}
.bm-reaction-tile:hover {
  background: rgba(255, 140, 0, 0.07);
  transform: translateY(-1px);
}
.bm-reaction-tile.is-selected {
  background: rgba(255, 140, 0, 0.14);
  transform: scale(1.06);
}
.bm-reaction-tile-anim {
  width: 40px;
  height: 40px;
  pointer-events: none;
}
.bm-reaction-tile-label {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.55);
}
.bm-reaction-tile.is-selected .bm-reaction-tile-label {
  color: var(--bm-accent);
}

.bm-reaction-badge {
  vertical-align: middle;
  pointer-events: none;
}

/* Horizontal picker strip (used in photo viewer footer in Wave 18) */
.bm-reaction-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: nowrap;
  gap: 4px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.bm-reaction-strip::-webkit-scrollbar { display: none; }

/* ════════════════════════════════════════════════════════════════
   PHOTO VIEWER — Wave 18 (replaces stub .bm-lightbox)
   Full-bleed media, reaction counts, 9-tile strip, weigh-in drawer.
   ════════════════════════════════════════════════════════════════ */
.bm-photo-viewer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  animation: bmPvFadeIn 0.18s ease-out;
}
@keyframes bmPvFadeIn { from { opacity: 0; } to { opacity: 1; } }

.bm-pv-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 26px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  z-index: 10;
}
.bm-pv-close:hover { background: rgba(255,255,255,0.18); }

.bm-pv-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px 20px;
  overflow: hidden;
  position: relative;
}
.bm-pv-context {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
}
.bm-pv-media-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 70vh;
  width: 100%;
}
.bm-pv-media {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}
img.bm-pv-media, video.bm-pv-media { display: block; }

.bm-pv-count-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
  min-height: 24px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.bm-pv-count-row.is-empty {
  font-style: italic;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.4);
}
.bm-pv-count-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.bm-pv-count-num {
  font-weight: 900;
  color: #fff;
}

.bm-pv-footer {
  padding: 14px 16px 24px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.bm-pv-action-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 12px;
}
.bm-pv-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}
.bm-pv-action:hover { background: rgba(255,140,0,0.18); }
.bm-pv-action.is-open {
  background: var(--bm-accent);
  color: #000;
  border-color: var(--bm-accent);
}
.bm-pv-action-icon { font-size: 14px; line-height: 1; }
.bm-pv-action-label { letter-spacing: 0.5px; }

.bm-pv-weighin-panel {
  margin-top: 14px;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 12px;
  max-height: 320px;
  display: flex;
  flex-direction: column;
}
.bm-pv-weighin-thread {
  flex: 1;
  overflow-y: auto;
  max-height: 220px;
  margin-bottom: 10px;
  padding-right: 4px;
}
.bm-pv-weighin-empty {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  padding: 18px 0;
  font-style: italic;
}
.bm-pv-weighin-row {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.bm-pv-weighin-row:last-child { border-bottom: none; }
.bm-pv-weighin-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background-color: var(--bm-card-hover);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.bm-pv-weighin-avatar-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: var(--bm-accent);
}
.bm-pv-weighin-body { flex: 1; min-width: 0; }
.bm-pv-weighin-head {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 11px;
  margin-bottom: 2px;
}
.bm-pv-weighin-name { color: #fff; font-weight: 700; }
.bm-pv-weighin-handle { color: var(--bm-accent); font-weight: 600; }
.bm-pv-weighin-time {
  color: rgba(255, 255, 255, 0.4);
  margin-left: auto;
  font-size: 10px;
}
.bm-pv-weighin-delete {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0 4px;
  margin-left: 4px;
}
.bm-pv-weighin-delete:hover { color: #ff6b6b; }
.bm-pv-weighin-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  word-wrap: break-word;
}
.bm-pv-weighin-reply {
  display: flex;
  gap: 8px;
}
.bm-pv-weighin-reply input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  font-size: 13px;
  padding: 9px 12px;
  border-radius: 10px;
  outline: none;
}
.bm-pv-weighin-reply input:focus {
  border-color: var(--bm-accent);
  background: rgba(255,255,255,0.1);
}
.bm-pv-weighin-reply input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.bm-pv-weighin-send {
  background: var(--bm-accent);
  color: #000;
  border: none;
  padding: 0 16px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}
.bm-pv-weighin-send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ════════════════════════════════════════════════════════════════
   GALLERY ALBUM GRID + ALBUM DETAIL SHEET — Wave 18
   ════════════════════════════════════════════════════════════════ */
.bm-gallery-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  padding: 16px;
}
.bm-album-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  text-align: left;
  transition: transform 0.15s ease;
}
.bm-album-card:hover { transform: translateY(-2px); }
.bm-album-card.is-vault .bm-album-thumb {
  border-color: rgba(255, 140, 0, 0.4);
  background: linear-gradient(135deg, rgba(255,140,0,0.08), rgba(0,0,0,0));
}
.bm-album-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background-color: var(--bm-card);
  background-size: cover;
  background-position: center;
  border: 0.5px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.bm-album-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bm-album-icon {
  font-size: 32px;
  opacity: 0.4;
  pointer-events: none;
}
.bm-album-thumb.has-thumb .bm-album-icon { display: none; }
.bm-album-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}
.bm-album-lock {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 14px;
  background: rgba(0,0,0,0.6);
  padding: 4px 6px;
  border-radius: 8px;
}

.bm-album-detail {
  padding: 8px 16px 24px;
  max-height: 80vh;
  overflow-y: auto;
}
.bm-album-detail-meta {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bm-accent);
  margin-bottom: 12px;
}
.bm-album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.bm-album-item {
  padding: 0;
  border: none;
  background: var(--bm-card);
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.bm-album-item:hover { transform: scale(0.97); }
.bm-album-item-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  display: block;
}
.bm-album-item-video-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 700px) {
  .bm-album-grid { grid-template-columns: repeat(3, 1fr); }
  .bm-gallery-album-grid { grid-template-columns: repeat(2, 1fr); }
  .bm-pv-stage { padding: 60px 16px 16px; }
}

/* ════════════════════════════════════════════════════════════════
   TEAIRA CHAT — Wave 19a
   Side-sliding chat panel from the right. Backdrop dim, message bubbles,
   typing indicator, send box that grows.
   ════════════════════════════════════════════════════════════════ */

.bm-teaira-chat {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
}

.bm-teaira-chat-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.24s ease;
  pointer-events: auto;
}
.bm-teaira-chat-panel.is-open ~ .bm-teaira-chat-backdrop,
.bm-teaira-chat:has(.bm-teaira-chat-panel.is-open) .bm-teaira-chat-backdrop {
  opacity: 1;
}

.bm-teaira-chat-panel {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: min(440px, 100vw);
  background: linear-gradient(180deg, #0c0a0f 0%, #000 100%);
  border-left: 1px solid rgba(255, 140, 0, 0.18);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.24s cubic-bezier(0.2, 0.7, 0.3, 1);
  pointer-events: auto;
}
.bm-teaira-chat-panel.is-open {
  transform: translateX(0);
}

/* Header */
.bm-teaira-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.bm-teaira-chat-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: url('assets/TEAIRAvatar.png') center/cover no-repeat, var(--bm-accent);
  border: 2px solid var(--bm-accent);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.35);
}
.bm-teaira-chat-title { flex: 1; min-width: 0; }
.bm-teaira-chat-name {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
}
.bm-teaira-chat-status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--bm-accent);
  margin-top: 2px;
}
.bm-teaira-chat-close {
  width: 36px; height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 22px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
}
.bm-teaira-chat-close:hover { background: rgba(255, 255, 255, 0.12); }

/* Thread */
.bm-teaira-chat-thread {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bm-teaira-chat-thread::-webkit-scrollbar { width: 6px; }
.bm-teaira-chat-thread::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}
.bm-teaira-chat-loading {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  padding: 40px 0;
  font-style: italic;
}

/* Welcome state */
.bm-teaira-chat-welcome {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 8px;
}
.bm-teaira-chat-welcome-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: url('assets/TEAIRAvatar.png') center/cover no-repeat;
  border: 2px solid var(--bm-accent);
  flex-shrink: 0;
}
.bm-teaira-chat-welcome-text { flex: 1; }
.bm-teaira-chat-welcome-title {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}
.bm-teaira-chat-welcome-body {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

/* Message bubbles */
.bm-teaira-msg {
  display: flex;
  gap: 8px;
  max-width: 88%;
}
.bm-teaira-msg-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.bm-teaira-msg-teaira {
  align-self: flex-start;
}
.bm-teaira-msg-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: url('assets/TEAIRAvatar.png') center/cover no-repeat;
  border: 1px solid var(--bm-accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.bm-teaira-msg-bubble {
  padding: 9px 13px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
  color: #fff;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.bm-teaira-msg-user .bm-teaira-msg-bubble {
  background: var(--bm-accent);
  color: #000;
  font-weight: 600;
  border-bottom-right-radius: 5px;
}
.bm-teaira-msg-teaira .bm-teaira-msg-bubble {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 5px;
}
.bm-teaira-msg-bubble a {
  color: inherit;
  text-decoration: underline;
}
.bm-teaira-msg-error {
  align-self: center;
  padding: 8px 14px;
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: #ff9b9b;
  font-size: 12px;
  border-radius: 10px;
  max-width: 80%;
  text-align: center;
}

/* Footer */
.bm-teaira-chat-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 14px 16px;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.4);
}
.bm-teaira-chat-typing {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.bm-dots {
  display: inline-flex;
  margin-left: 2px;
}
.bm-dots span {
  animation: bmDot 1.2s infinite ease-in-out both;
  display: inline-block;
}
.bm-dots span:nth-child(2) { animation-delay: 0.15s; }
.bm-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes bmDot {
  0%, 60%, 100% { opacity: 0.2; }
  30% { opacity: 1; }
}

.bm-teaira-chat-input-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
#bm-teaira-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  padding: 10px 14px;
  border-radius: 14px;
  outline: none;
  resize: none;
  min-height: 40px;
  max-height: 140px;
  overflow-y: auto;
}
#bm-teaira-input:focus {
  border-color: var(--bm-accent);
  background: rgba(255, 255, 255, 0.09);
}
#bm-teaira-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.bm-teaira-chat-send {
  width: 40px; height: 40px;
  background: var(--bm-accent);
  color: #000;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  flex-shrink: 0;
  transition: filter 0.15s ease, transform 0.12s ease;
}
.bm-teaira-chat-send:hover:not(:disabled) {
  filter: brightness(1.1);
  transform: scale(1.05);
}
.bm-teaira-chat-send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.bm-teaira-chat-error {
  text-align: center;
  padding: 24px 16px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

/* Narrow viewport — full screen */
@media (max-width: 540px) {
  .bm-teaira-chat-panel { width: 100vw; border-left: none; }
}

/* ════════════════════════════════════════════════════════════════
   WAVE 19b — SCHEMA V3 PROFILE BODY
   Account-type pill, Details tab v3 cards, anthem card.
   ════════════════════════════════════════════════════════════════ */

/* ── Pill row beneath the name (role + account type) ─── */
.bm-profile-pill-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.bm-profile-acct-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
/* Account-type accent tweaks */
.bm-profile-acct-pill[data-type="creator"] {
  background: rgba(255, 140, 0, 0.13);
  border-color: rgba(255, 140, 0, 0.32);
  color: var(--bm-accent);
}
.bm-profile-acct-pill[data-type="business"] {
  background: rgba(51, 153, 255, 0.13);
  border-color: rgba(51, 153, 255, 0.32);
  color: #66b3ff;
}
.bm-profile-acct-pill[data-type="public_figure"] {
  background: rgba(255, 215, 0, 0.13);
  border-color: rgba(255, 215, 0, 0.32);
  color: #ffd24d;
}
.bm-profile-acct-pill[data-type="brand"] {
  background: rgba(176, 132, 255, 0.13);
  border-color: rgba(176, 132, 255, 0.32);
  color: #c8a3ff;
}

/* ── Details Tab v3 layout ──── */
.bm-details-v3 {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bm-info-card-wide {
  grid-column: 1 / -1;
}
.bm-info-card-sub {
  display: block;
  font-size: 11px;
  color: var(--bm-text-muted);
  margin-top: 4px;
  letter-spacing: 0.3px;
}
.bm-about-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 0;
  font-size: 13px;
  line-height: 1.4;
}
.bm-about-row + .bm-about-row {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 6px;
  margin-top: 2px;
}
.bm-about-key {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  min-width: 88px;
}
.bm-about-val {
  color: rgba(255, 255, 255, 0.92);
  flex: 1;
}

/* ── Anthem card in Details tab ─── */
.bm-info-card-anthem {
  grid-column: 1 / -1;
}
.bm-anthem-card {
  display: flex;
  align-items: center;
  gap: 14px;
}
.bm-anthem-card-art {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bm-accent), rgba(255, 140, 0, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #000;
  flex-shrink: 0;
}
.bm-anthem-card-meta { flex: 1; min-width: 0; }
.bm-anthem-card-title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bm-anthem-card-sublink {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--bm-accent);
  text-decoration: none;
}
.bm-anthem-card-sublink:hover { text-decoration: underline; }
.bm-anthem-card-play {
  background: var(--bm-accent);
  color: #000;
  border: none;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}
.bm-anthem-card-play:hover { filter: brightness(1.08); }

/* Form input theming (Edit Block uses these heavily for Schema v3) */
.bm-input,
select.bm-input,
textarea.bm-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  padding: 9px 12px;
  border-radius: 10px;
  outline: none;
  appearance: none;
}
select.bm-input {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'><path fill='%23ff8c00' d='M0 0l5 6 5-6z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px 6px;
  padding-right: 30px;
}
.bm-input:focus,
select.bm-input:focus,
textarea.bm-input:focus {
  border-color: var(--bm-accent);
  background-color: rgba(255, 255, 255, 0.09);
}

/* ════════════════════════════════════════════════════════════════
   WAVE 20 — TAGGED PARTNERS + TOP 12 NEIGHBORS
   ════════════════════════════════════════════════════════════════ */

/* ── Partner chips (hex / circle_heart / text styles) ─── */
.bm-partners-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 0;
}
.bm-partner-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 140, 0, 0.07);
  border: 1px solid rgba(255, 140, 0, 0.25);
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  min-width: 92px;
}
.bm-partner-chip:hover {
  transform: translateY(-1px);
  background: rgba(255, 140, 0, 0.13);
}
.bm-partner-chip-avatar {
  width: 44px;
  height: 44px;
  background-size: cover;
  background-position: center;
  background-color: var(--bm-card-hover);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bm-accent);
  font-weight: 900;
  font-size: 18px;
}
.bm-partner-chip-letter { color: var(--bm-accent); }

/* Hex style — clip avatar into a hexagon */
.bm-partner-chip-hex .bm-partner-chip-avatar {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border-radius: 0;
}
/* Circle + heart accent style */
.bm-partner-chip-circle-heart .bm-partner-chip-avatar {
  border-radius: 50%;
  position: relative;
}
.bm-partner-chip-heart {
  font-size: 14px;
  color: #ff6b9b;
  margin-top: -8px;
  margin-bottom: 4px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
/* Text-only chip */
.bm-partner-chip-text {
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
  min-width: auto;
  padding: 10px 16px;
}
.bm-partner-chip-name {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}
.bm-partner-chip-label {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bm-accent);
}

/* ── Top 12 cells ────────────────────────────────────── */
.bm-top-twelve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 10px;
  padding: 4px 0;
}
.bm-top-twelve-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px 4px;
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.bm-top-twelve-cell:hover { transform: translateY(-2px); }
.bm-top-twelve-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--bm-card-hover);
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(255, 140, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bm-accent);
  font-size: 22px;
  font-weight: 900;
}
.bm-top-twelve-letter { color: var(--bm-accent); }
.bm-top-twelve-name {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  letter-spacing: 0.2px;
  max-width: 76px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Top 12 picker star on Neighbors cards ─── */
.bm-top-pick-btn {
  transition: color 0.15s ease, transform 0.12s ease;
}
.bm-top-pick-btn:hover { transform: scale(1.18); }
.bm-top-pick-btn.is-picked {
  color: var(--bm-accent) !important;
  filter: drop-shadow(0 0 4px rgba(255, 140, 0, 0.6));
}

/* ── Relationship request alert action buttons inherit existing styles ─── */
.bm-alert-actions button { font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }

/* ════════════════════════════════════════════════════════════════
   WAVE 21 — BOOSTS + BUY CREDITS
   ════════════════════════════════════════════════════════════════ */

/* ── BOOST ribbon on porch cards ─── */
.bm-post-card.is-boosted {
  position: relative;
  border: 1px solid rgba(255, 140, 0, 0.35);
  box-shadow: 0 0 24px rgba(255, 140, 0, 0.08);
}
.bm-post-boost-ribbon {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(90deg, var(--bm-accent), rgba(255, 140, 0, 0.6));
  color: #000;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0;
  border-radius: 14px 14px 0 0;
}
.bm-post-boost-ribbon[data-boost-type="spotlight"] {
  background: linear-gradient(90deg, #FFD700, var(--bm-accent));
}
.bm-post-boost-time {
  font-weight: 700;
  opacity: 0.7;
  letter-spacing: 0.5px;
  text-transform: none;
}

/* ── Boost button (top-right of own posts) ─── */
.bm-post-boost-btn {
  background: rgba(255, 140, 0, 0.12);
  border: 1px solid rgba(255, 140, 0, 0.3);
  color: var(--bm-accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
  align-self: flex-start;
  transition: background 0.15s ease, transform 0.12s ease;
}
.bm-post-boost-btn:hover {
  background: rgba(255, 140, 0, 0.22);
  transform: translateY(-1px);
}

/* ── Boost option rows (Local vs Spotlight) ─── */
.bm-boost-option { transition: background 0.15s ease; }
.bm-boost-option:hover { background: rgba(255, 140, 0, 0.05); }
.bm-boost-pick-btn { transition: filter 0.15s ease, transform 0.12s ease; }
.bm-boost-pick-btn:hover:not(:disabled) { filter: brightness(1.08); transform: scale(1.03); }
.bm-boost-pick-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Buy Credits pack cards ─── */
.bm-credit-pack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  color: #fff;
  position: relative;
  margin-bottom: 10px;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.bm-credit-pack:hover:not(:disabled) {
  transform: translateY(-2px);
  background: rgba(255, 140, 0, 0.08);
  border-color: rgba(255, 140, 0, 0.4);
}
.bm-credit-pack:disabled { opacity: 0.5; cursor: not-allowed; }
.bm-credit-pack.is-best {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.12), rgba(255, 140, 0, 0.04));
  border-color: rgba(255, 140, 0, 0.45);
}
.bm-credit-pack-best {
  position: absolute;
  top: -8px;
  right: 14px;
  background: var(--bm-accent);
  color: #000;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.bm-credit-pack-credits {
  font-size: 24px;
  font-weight: 900;
  color: var(--bm-accent);
  line-height: 1;
}
.bm-credit-pack-label {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #fff;
}
.bm-credit-pack-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}
.bm-credit-pack-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.bm-credit-pack-price-big {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}
.bm-credit-pack-price-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--bm-text-muted);
}

/* ════════════════════════════════════════════════════════════════
   WAVE 22 — [ME] PORCH FEED + AD SLOT PLACEHOLDER
   ════════════════════════════════════════════════════════════════ */

.bm-me-porch-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
}
.bm-me-porch-feed .bm-post-card {
  background: var(--bm-card);
  border: 0.5px solid var(--bm-divider);
  border-radius: 14px;
  padding: 14px;
  overflow: hidden;
}
.bm-me-porch-feed .bm-post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.bm-me-porch-feed .bm-post-caption {
  font-size: 14px;
  line-height: 1.5;
  color: var(--bm-text);
  margin-bottom: 10px;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.bm-me-porch-feed .bm-post-media {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}
.bm-me-porch-feed .bm-post-actions {
  display: flex;
  gap: 16px;
  padding-top: 8px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.06);
}
.bm-me-porch-feed .bm-post-action {
  font-size: 12px;
  color: var(--bm-text-muted);
  font-weight: 700;
}

/* ── Advertiser placeholder slot ──── */
.bm-ad-slot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 20px;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 140, 0, 0.04),
      rgba(255, 140, 0, 0.04) 12px,
      transparent 12px,
      transparent 24px
    ),
    rgba(255, 140, 0, 0.03);
  border: 1.5px dashed rgba(255, 140, 0, 0.35);
  border-radius: 14px;
  text-align: center;
  transition: background 0.15s ease;
}
.bm-ad-slot-placeholder:hover {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 140, 0, 0.07),
      rgba(255, 140, 0, 0.07) 12px,
      transparent 12px,
      transparent 24px
    ),
    rgba(255, 140, 0, 0.06);
}
.bm-ad-slot-tag {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--bm-accent);
  background: rgba(255, 140, 0, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 140, 0, 0.3);
}
.bm-ad-slot-body { max-width: 360px; }
.bm-ad-slot-headline {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.3px;
  color: #fff;
  margin-bottom: 6px;
}
.bm-ad-slot-sub {
  font-size: 12px;
  color: var(--bm-text-secondary);
  line-height: 1.5;
}
.bm-ad-slot-cta {
  margin-top: 4px;
  background: var(--bm-accent);
  color: #000;
  border: none;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.12s ease;
}
.bm-ad-slot-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
