/* ASMR521 /guide: follow Zibll's body.dark-theme toggle, never OS media.
 * The guide body currently has fixed dark inline colors; these scoped !important
 * overrides are required for day mode. Accent colors remain untouched. */
body:not(.dark-theme) .asmr521-guide-source-layout {
  background:#fff !important;
  color:#444a52 !important;
  border:1px solid rgba(30,35,45,.09) !important;
  box-shadow:0 3px 16px rgba(35,42,65,.04);
}
body:not(.dark-theme) .asmr521-guide-source-layout h2,
body:not(.dark-theme) .asmr521-guide-source-layout h2 > span,
body:not(.dark-theme) .asmr521-guide-source-layout h3,
body:not(.dark-theme) .asmr521-guide-source-layout > p,
body:not(.dark-theme) .asmr521-guide-source-layout li > a,
body:not(.dark-theme) .asmr521-guide-source-layout li > a > span,
body:not(.dark-theme) .asmr521-guide-source-layout li > time {
  color:#464b53 !important;
}
body:not(.dark-theme) .asmr521-guide-source-layout .wp-block-table,
body:not(.dark-theme) .asmr521-guide-source-layout .wp-block-table table {
  background:transparent !important;
  color:#464b53 !important;
}
body:not(.dark-theme) .asmr521-guide-source-layout .wp-block-table td {
  background:transparent !important;
  border-color:#e7e8eb !important;
}
body:not(.dark-theme) .asmr521-guide-source-layout .wp-block-table td:not([style*="#ff4040"]) {
  color:#464b53 !important;
}
body:not(.dark-theme) .asmr521-guide-source-layout .wp-block-table td[style*="#ff4040"] {
  color:#e83a3a !important;
}
body:not(.dark-theme) .asmr521-guide-source-layout a:hover,
body:not(.dark-theme) .asmr521-guide-source-layout a:focus-visible {
  color:#168ac3 !important;
}
body.dark-theme .asmr521-guide-source-layout {
  background:#303032 !important;
  color:#ededed !important;
  border:1px solid rgba(255,255,255,.055) !important;
  box-shadow:none !important;
}
body.dark-theme .asmr521-guide-source-layout .wp-block-table td {
  background:transparent !important;
  border-color:#434348 !important;
}
body.dark-theme .asmr521-guide-source-layout .wp-block-table td:not([style*="#ff4040"]) {
  color:#ececee !important;
}
/* Maintain the existing cyan heading accents and orange/purple content spans. */
.asmr521-guide-source-layout h2 > span {
  border-bottom-color:#1ac4ae !important;
}
.asmr521-guide-source-layout {
  transition:background-color .18s ease,color .18s ease;
}
@media (max-width:640px) {
  .asmr521-guide-source-layout {
    padding:24px 17px 30px !important;
  }
  .asmr521-guide-source-layout .wp-block-table {
    overflow-x:auto;
  }
}
