/* Monoberu Plus dark mode: dark outer shell + light reading surface */
@media (prefers-color-scheme: dark){
  html,body,#container,#content{background:#111715!important;color:#e8efec!important}
  #header-container,#header-container-in,#header,#header-in,#navi,#navi-in{background:#151c19!important}
  #header-container{border-bottom-color:#2d3934!important}

  /* Keep the actual article surface light for maximum readability */
  .article-page #main,body.single #main,.page:not(.home) #main{background:#fff!important;color:#18312b!important;border-color:#2d3934!important}
  .article,.entry-content,.article p,.article li,.article td,.article th,.entry-content p,.entry-content li{color:#18312b!important}
  .entry-title,.entry-title a,#main .entry-title,#main .entry-title a,body.single h1.entry-title,body.article-page h1.entry-title,.article h1,.article h3{color:#17362f!important;text-shadow:none!important}
  .article h2{background:#f0f8f6!important;color:#17362f!important;border-left-color:#0a9b83!important}
  .article h3{border-color:#0a9b83!important}
  .article a,.entry-content a{color:#078b70!important}

  /* Light cards and boxes stay light with dark text */
  .article blockquote,.article .information-box,.article .question-box,.article .alert-box,.article .memo-box,.article .comment-box,
  .article .blank-box,.article .toc,.entry-content .toc,.article .related-entry-card,.entry-content .related-entry-card,
  .article [style*="background"],.entry-content [style*="background"]{color:#18312b!important}
  .article blockquote p,.article .information-box p,.article .question-box p,.article .alert-box p,.article .memo-box p,.article .comment-box p,
  .article .blank-box p,.entry-content .blank-box p,.article .toc,.article .toc a,.entry-content .toc,.entry-content .toc a,
  .related-entry-card-title,.related-entry-card-snippet,
  .article [style*="background"] p,.article [style*="background"] li,.article [style*="background"] strong,
  .entry-content [style*="background"] p,.entry-content [style*="background"] li,.entry-content [style*="background"] strong{color:#18312b!important}

  /* Metadata remains subdued but readable */
  .breadcrumb,.breadcrumb a,.date-tags,.post-date,.post-update,.author-info,.entry-categories-tags{color:#6d7b75!important}

  .logo-header .site-name-text-link,.logo-header .site-name-text:before{color:#f2f6f4!important}
  .logo-header .site-name-text-link:before,.logo-header .site-name-text:after,.logo-header:before{color:#35c7aa!important}

  .footer{background:#151c19!important;color:#bdc9c3!important}
  .footer a{color:#d7e2dd!important}
}
