/* Monkeybear only. The scoped selectors also win over Vite's injected defaults. */
html[data-website="monkeybear"] {
  --bg-primary: #27282b;
  --bg-secondary: #323336;
  --text-primary: #f1efe9;
  --text-secondary: #bdbbb5;
  --border-color: #4b4c4f;
  --accent-color: #d5b76b;
  --accent-light: #e1c788;
  background: var(--bg-primary);
}
html[data-website="monkeybear"] body {
  background: var(--bg-primary);
  color: var(--text-primary);
}
html[data-website="monkeybear"] .site-header {
  background: #232427;
  border-top: 3px solid var(--accent-color);
  border-bottom: 1px solid var(--border-color);
}
html[data-website="monkeybear"] .header-container { min-height: 98px; }
html[data-website="monkeybear"] .logo-placeholder {
  color: var(--accent-light);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.8rem;
  letter-spacing: -.045em;
  font-weight: 400;
}
html[data-website="monkeybear"] .nav-link { color: var(--text-secondary); }
html[data-website="monkeybear"] .nav-link:hover,
html[data-website="monkeybear"] .nav-link:focus-visible {
  background: #3b3b36;
  color: var(--accent-light);
  text-decoration: none;
}
html[data-website="monkeybear"] .search-form-container {
  background: var(--bg-secondary);
  border-color: var(--border-color);
}
html[data-website="monkeybear"] .search-form-container button { color: var(--accent-light); }
html[data-website="monkeybear"] .menu-toggle span { background: var(--accent-light); }
html[data-website="monkeybear"] #content { padding-top: 0; min-height: 65vh; }
html[data-website="monkeybear"] h1,
html[data-website="monkeybear"] h2,
html[data-website="monkeybear"] h3 { color: var(--text-primary); }
html[data-website="monkeybear"] h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -.045em;
}
html[data-website="monkeybear"] .mb-hero { padding: 80px 0 64px; max-width: 760px; }
html[data-website="monkeybear"] .mb-hero h1 { font-size: clamp(3.5rem, 8vw, 6.25rem); margin: 0 0 24px; }
html[data-website="monkeybear"] .mb-intro { color: var(--text-secondary); font-size: 1.15rem; max-width: 52ch; }
html[data-website="monkeybear"] .mb-button,
html[data-website="monkeybear"] .btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: var(--accent-color);
  color: #242527;
  border: 1px solid var(--accent-color);
  border-radius: 4px;
  padding: 12px 20px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
html[data-website="monkeybear"] .mb-button { margin-top: 20px; }
html[data-website="monkeybear"] .mb-button:hover,
html[data-website="monkeybear"] .btn-submit:hover { background: var(--accent-light); }
html[data-website="monkeybear"] .mb-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 18px;
}
html[data-website="monkeybear"] .mb-section-heading h2 { font-size: 1rem; font-weight: 500; letter-spacing: 0; margin: 0; }
html[data-website="monkeybear"] .mb-section-heading > span { color: var(--text-secondary); font-size: .8rem; }
html[data-website="monkeybear"] .mb-empty { display: flex; gap: 22px; align-items: center; padding: 36px 0 24px; }
html[data-website="monkeybear"] .mb-empty-mark { color: var(--accent-color); font-size: 2.4rem; }
html[data-website="monkeybear"] .mb-empty h3 { font-size: 1.1rem; font-weight: 500; margin: 0 0 6px; }
html[data-website="monkeybear"] .mb-empty p { color: var(--text-secondary); font-size: .9rem; margin: 0; }
html[data-website="monkeybear"] .mb-article { padding: 26px 0; border-bottom: 1px solid var(--border-color); }
html[data-website="monkeybear"] .container { padding-top: 40px; }
html[data-website="monkeybear"] .post-item:first-child,
html[data-website="monkeybear"] .site-banner--info,
html[data-website="monkeybear"] .hljs { background: var(--bg-secondary); }
html[data-website="monkeybear"] .site-banner--info { color: var(--accent-light); border-color: var(--accent-color); }
html[data-website="monkeybear"] .site-footer { background: #232427; color: var(--text-secondary); }
html[data-website="monkeybear"] .skip-link { background: var(--accent-light); color: #242527; }
html[data-website="monkeybear"] ::selection { background: #d5b76b; color: #242527; }
@media (max-width: 959px) {
  html[data-website="monkeybear"] .nav-wrapper { background: #232427; border-color: var(--border-color); }
}
@media (max-width: 600px) {
  html[data-website="monkeybear"] .mb-hero { padding: 52px 0 44px; }
  html[data-website="monkeybear"] .mb-section-heading > span { display: none; }
}
