/*! 全局修饰 */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
::-webkit-scrollbar {
  width: 8px;
  height: 5px;
}
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-color);
  background-image: -webkit-linear-gradient(45deg, hsla(0, 0%, 100%, 0.4) 25%, transparent 0, transparent 50%, hsla(0, 0%, 100%, 0.4) 0, hsla(0, 0%, 100%, 0.4) 75%, transparent 0, transparent);
  border-radius: 2em;
}
::-webkit-scrollbar-track {
  background-color: rgba(73, 177, 245, 0.2);
  border-radius: 2em;
}
::selection {
  background: #00c4b6;
  color: #f7f7f7;
}
body {
  position: relative;
  min-height: 100%;
  color: var(--font-color);
  font-size: var(--global-font-size);
  font-family: var(--global-font-family);
  line-height: 2;
  -webkit-tap-highlight-color: transparent;
  background: var(--global-bg);
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}
a {
  color: #99a9bf;
  text-decoration: none;
  word-wrap: break-word;
  transition: all 0.2s;
  overflow-wrap: break-word;
}
img {
  max-width: 100%;
  transition: all 0.2s;
}
svg {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
  font-size: 20px;
}
ol {
  list-style: none;
}
hr {
  position: relative;
  margin: 40px auto;
  border: 2px dashed var(--hr-border);
  width: calc(100% - 4px);
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
hr:before {
  font-family: "by-font";
  position: absolute;
  top: -10px;
  left: 5%;
  z-index: 1;
  color: var(--hr-before-color);
  content: "\e622";
  font-size: 20px;
  line-height: 1;
  transition: all 1s ease-in-out;
  display: inline-block;
  font-weight: 600;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
.by-font {
  display: inline-block;
  font-size: initial;
}
.by_card_widget {
  border-radius: 25px;
  background: var(--card-bg);
  box-shadow: var(--card-box-shadow);
  transition: all 0.3s;
}
.by_card_widget:hover {
  box-shadow: var(--card-hover-box-shadow);
}
.by_empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px 0;
  margin: 0 0 20px;
  color: #888;
}
.by_empty .by_empty_icon {
  width: 90px;
  height: 90px;
  margin-bottom: 20px;
  fill: #888;
}
.by_btn {
  display: block;
  margin-top: 0.7rem;
  background-color: var(--btn-bg);
  color: var(--btn-color);
  text-align: center;
  line-height: 2.4;
  border-radius: 25px;
  overflow: hidden;
  transition: color 1s;
  position: relative;
  z-index: 1;
}
.by_btn:before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: var(--btn-hover-color);
  content: '';
  transition: transform 0.5s ease-out;
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.by_btn:hover:before {
  transition-timing-function: cubic-bezier(0.45, 1.64, 0.47, 0.66);
  transform: scaleX(1);
}
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.webkit_box {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.center {
  text-align: center;
}
.by_main,
.by_footer {
  animation: bottom-top 1s;
}
.img_cover {
  width: 100%;
  height: 100%;
  transition: filter 375ms ease-in 0.2s, transform 0.6s;
  object-fit: cover;
}
/*！ 小部件*/
.by_rightside {
  position: fixed;
  right: -48px;
  bottom: 40px;
  z-index: 200;
  transition: all 0.5s;
}
.by_rightside_config_show > button,
.by_rightside_config_hide > button {
  display: block;
  margin-bottom: 5px;
  width: 35px;
  height: 35px;
  border-radius: 5px;
  background-color: var(--btn-bg);
  color: var(--btn-color);
  text-align: center;
  font-size: 16px;
  line-height: 35px;
  border: none;
  cursor: pointer;
}
.by_rightside_config_show .rightside_config i,
.by_rightside_config_hide .rightside_config i {
  animation: fa-spin 2s linear infinite;
}
.by_rightside_show {
  opacity: 0.8;
  transform: translateX(-58px);
}
/*！ 小部件结束*/
.by {
  /*! 头部 */
  /*! 头部结束 */
  /*! 内容 */
  /*! 侧边栏 */
  /*! 侧边栏 结束*/
  /*！ 尾部*/
  /*！ 尾部结束*/
  /*！ 翻页*/
  /*！ 翻页结束*/
  /*! 首页 */
}
.by_header {
  position: relative;
  width: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: all 0.5s;
  z-index: 99;
  height: 400px;
  animation: header-effect 1s;
  /*！ 移动端 sidebar*/
}
.by_header:before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  content: '';
}
.by_header_sidebar {
  display: none;
}
.by_header_sidebar_menus {
  position: fixed;
  top: 0;
  right: -300px;
  z-index: 103;
  overflow-x: hidden;
  overflow-y: auto;
  width: 300px;
  height: 100%;
  background: var(--sidebar-bg);
  transition: all 0.5s;
}
.by_header_sidebar_menus ul,
.by_header_sidebar_menus li {
  list-style: none;
}
.by_header_sidebar_menus .by_user_avatar {
  margin: 20px auto;
  overflow: hidden;
  width: 110px;
  height: 110px;
  border-radius: 70px;
}
.by_header_sidebar_menus .by_user_data {
  display: table;
  padding: 0 8px;
  width: 100%;
  table-layout: fixed;
}
.by_header_sidebar_menus .by_user_data_item {
  display: table-cell;
}
.by_header_sidebar_menus .by_user_data_item .headline {
  color: var(--font-color);
}
.by_header_sidebar_menus .by_user_data_item .length_num {
  color: var(--text-highlight-color);
  font-size: 1.2rem;
}
.by_header_sidebar_menus hr {
  margin: 20px auto;
}
.by_header_sidebar_menus_items {
  padding: 0 10px 40px;
  margin: 0;
  list-style: none;
}
.by_header_sidebar_menus_item {
  position: relative;
  display: block;
  padding: 8px 30px 8px 22px;
  list-style: none;
}
.by_header_sidebar_menus_item a,
.by_header_sidebar_menus_item i {
  color: var(--font-color);
  font-size: 1rem;
}
.by_header_sidebar_menus_item a {
  width: 100%;
  height: auto;
  display: inline-block;
}
.by_header_sidebar_menus_item .first {
  width: 10%;
  text-align: left;
  display: inline-block;
}
.by_header_sidebar_menus_item .last {
  position: absolute;
  top: 0.4rem;
  right: 18px;
  transition: transform 0.3s;
}
.by_header_sidebar_menus_item_child {
  margin: 0;
  padding: 0;
  list-style: none;
  display: none;
}
.by_header_sidebar_menus_item_child a {
  position: relative;
  display: block;
  padding: 6px 30px 6px 28px;
  color: var(--font-color);
  font-size: 1rem;
}
.by_header_sidebar_open .by_header_sidebar_mask {
  display: block;
  animation: 0.5s ease 0s 1 normal none running to_show;
}
.by_header_sidebar_open .by_header_sidebar_menus {
  transform: translate3d(-100%, 0, 0);
}
.by_header_sidebar_open .by_header_sidebar_menus .by_user_avatar {
  animation: sidebarItem 0.2s;
}
.by_header_sidebar_open .by_header_sidebar_menus .by_user_data {
  animation: sidebarItem 0.4s;
}
.by_header_sidebar_open .by_header_sidebar_menus hr {
  animation: sidebarItem 0.6s;
}
.by_header_sidebar_open .by_header_sidebar_menus_items {
  animation: sidebarItem 0.8s;
}
.by_header_sidebar_open .by_header_sidebar_menus .by_child_show i.last {
  transform: rotate(-90deg);
}
.by_header_sidebar_mask {
  position: fixed;
  z-index: 102;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.8);
  animation: 0.5s ease 0s 1 normal none running to_hide;
}
.by_nav {
  position: absolute;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  padding: 0 36px;
  width: 100%;
  height: 60px;
  font-size: 1.3em;
  transition: all 0.5s;
  animation: headerNoOpacity 1s;
}
.by_nav a {
  color: var(--light-grey);
}
.by_blog_title {
  flex: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
  font-weight: bold;
}
.by_site {
  position: relative;
  padding-bottom: 0.3rem;
  text-shadow: 0.05rem 0.05rem 0.1rem rgba(0, 0, 0, 0.3);
  font-size: 0.78em;
  cursor: pointer;
}
.by_site i {
  font-weight: 900;
}
.by_site:not(.child):after {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 0;
  height: 3px;
  background-color: #80c8f8;
  content: '';
  transition: all 0.3s ease-in-out;
}
.by_site:hover:after {
  width: 100%;
}
.by_site_info {
  position: absolute;
  top: 43%;
  padding: 0 10px;
  width: 100%;
}
.by_site_title {
  font-size: 2.85em;
  color: var(--white);
}
.by_site_subtitle {
  font-size: 1.72em;
  color: var(--light-grey);
}
.by_site_social_icons {
  margin: 0 auto;
  width: 300px;
  display: none;
}
.by_site_social_icons a {
  margin: 0 3px;
  color: var(--light-grey);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
}
.by_site_social_icons a i {
  font-size: 1.8em;
}
.by_search,
.by_toggle_menu {
  display: inline;
}
.by_toggle_menu {
  padding: 2px 0 0 6px;
  vertical-align: top;
  display: none;
}
.by_menus {
  display: inline;
}
.by_menus,
.by_menus li {
  list-style: none;
}
.by_menu_item {
  position: relative;
  display: inline-block;
  padding: 0 0 0 0.7rem;
}
.by_menu_item:hover .by_menu_item_child {
  display: block;
}
.by_menu_item_child {
  position: absolute;
  right: 0;
  display: none;
  margin-top: 8px;
  width: max-content;
  background-color: var(--sidebar-bg);
  animation: sub_menus 0.3s 0.1s ease both;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}
.by_menu_item_child:before {
  position: absolute;
  top: -8px;
  left: 0;
  width: 100%;
  height: 20px;
  content: '';
}
.by_menu_item_child li:first-child {
  border-radius: 12px 12px 0 0;
}
.by_menu_item_child li:last-child {
  border-radius: 0 0 12px 12px;
}
.by_menu_item_child li:hover {
  background: var(--text-bg-hover);
}
.by_menu_item_child .child {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  width: 100%;
  color: var(--font-color);
  text-shadow: none;
}
.by_main {
  display: flex;
  margin: 0 auto;
  padding: 2rem 15px;
  max-width: 1200px;
  position: relative;
  z-index: 88;
}
.by_container {
  width: 75%;
  transition: all 0.3s;
  align-self: flex-start;
  padding: 50px 40px;
  border-radius: 25px;
  background: var(--card-bg);
  box-shadow: var(--card-box-shadow);
}
.by_container a:hover {
  color: #49b1f5 !important;
}
.by_container p {
  line-height: 2rem;
  margin-bottom: 1rem;
}
.by_container .by_posts_item {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 20em;
}
.by_container .by_posts_item:not(:first-child) {
  margin-top: 1rem;
}
.by_container .by_posts_cover {
  overflow: hidden;
  width: 45%;
  height: 100%;
  border-radius: 25px 0 0 25px;
}
.by_container .by_posts_cover img {
  width: 100%;
  height: 100%;
  transition: all 0.6s;
  object-fit: cover;
}
.by_container .by_posts_cover img:hover {
  transform: scale(1.1);
}
.by_container .by_posts_info {
  display: inline-block;
  overflow: hidden;
  padding: 0 35px;
  width: 55%;
}
.by_container .by_posts_title {
  margin-bottom: 0.3rem;
  color: var(--text-highlight-color);
  font-size: 1.72em;
  line-height: 1.4;
  transition: all 0.2s ease-in-out;
  -webkit-line-clamp: 2;
}
.by_container .by_posts_meta {
  color: #858585;
  font-size: 90%;
}
.by_container .by_posts_meta a {
  color: #858585;
}
.by_container .by_posts_meta a:hover {
  color: #49b1f5;
}
.by_container .by_posts_wrap > div {
  display: inline-flex;
  align-items: center;
}
.by_container .by_posts_wrap .separator {
  margin: 0 0.3rem;
}
.by_container .by_posts_wrap .ato a {
  margin-right: 5px;
}
.by_container .by_posts_wrap svg {
  width: auto;
  height: 16px;
  margin-right: 5px;
}
.by_container .by_posts_wrap .sticky span:not(.separator) {
  color: #ff7242;
}
.by_container .by_posts_content {
  margin-top: 0.3rem;
  -webkit-line-clamp: 3;
}
.by_aside {
  width: 25%;
  padding-left: 15px;
}
.by_aside .by_card_widget {
  padding: 1rem 1.2rem;
  margin-top: 1rem;
}
.by_aside .by_card_widget:not(.by_catalogue):first-child {
  margin-top: 0;
}
.by_aside .by_user_avatar {
  overflow: hidden;
  margin: 0 auto;
  width: 110px;
  height: 110px;
  border-radius: 70px;
}
.by_aside .by_user_name {
  font-weight: 500;
  font-size: 1.57em;
}
.by_aside .by_user_desc {
  margin-top: -0.3rem;
}
.by_aside .by_user_data {
  display: table;
  margin: 14px 0 4px;
  width: 100%;
  table-layout: fixed;
}
.by_aside .by_user_data_item {
  display: table-cell;
}
.by_aside .by_user_data_item .headline {
  color: var(--font-color);
  font-size: 1rem;
}
.by_aside .by_user_data_item .length-num {
  margin-top: -0.42em;
  color: var(--text-highlight-color);
  font-size: 1.2rem;
}
.by_aside .by_user_social_icons {
  margin: 0.3rem 0 -0.3rem;
}
.by_aside .by_user_social_icons a {
  margin: 0 0.5rem;
  color: var(--font-color);
  font-size: 1.4em;
  cursor: pointer;
}
.by_aside .by_user_social_icons a svg {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
  font-size: 20px;
}
.by_aside .by_btn i {
  margin-right: 5px;
}
.by_aside .by_card_icon_title {
  padding-bottom: 6px;
  font-size: 1rem;
}
.by_aside .by_card_icon_title i {
  font-size: 1.3rem;
}
.by_aside .by_card_icon_title span {
  margin-left: 3px;
}
.by_aside .by_card_icon_title .by_card_title_announcement_animation {
  display: inline-block;
  color: red;
  animation: announ_animation 0.8s linear infinite;
}
.by_aside .by_catalogue .toc {
  padding: 0 1rem;
}
.by_aside .by_catalogue .toc .toc-link {
  display: block;
  padding-left: 0.3rem;
  border-left: 3px solid transparent;
  color: var(--toc-link-color);
  transition: all 0.2s ease-in-out;
  border-radius: 8px;
}
.by_aside .by_catalogue .toc .toc-link.is-active-link {
  border-left-color: #69b469;
  background: #9c9;
  color: #fff;
}
.by_aside .by_post_sticky {
  position: sticky;
  top: 20px;
  transition: top 0.5s;
}
.by_aside .by_latest_list_item {
  display: flex;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px dashed #f5f5f5;
}
.by_aside .by_latest_list_item .thumbnail {
  overflow: hidden;
  width: 4rem;
  height: 4rem;
  border-radius: 5px;
}
.by_aside .by_latest_list_item .thumbnail img {
  width: 100%;
  height: 100%;
  transition: all 0.6s;
  object-fit: cover;
}
.by_aside .by_latest_list_item .content {
  flex: 1;
  padding-left: 10px;
  word-break: break-all;
}
.by_aside .by_latest_list_item .content_title {
  color: var(--font-color);
  font-size: 95%;
  line-height: 1.5;
  -webkit-line-clamp: 1;
}
.by_aside .by_latest_list_item .content_title:hover {
  color: #49b1f5;
}
.by_aside .by_latest_list_item .content time {
  display: block;
  color: #858585;
  font-size: 85%;
}
.by_aside .by_aside_categories_item {
  position: relative;
  display: flex;
  flex-direction: row;
  padding: 3px 10px 3px 25px;
  color: var(--font-color);
  transition: all 0.4s;
}
.by_aside .by_aside_categories_item:not(:last-child) {
  margin-bottom: 0.5rem;
}
.by_aside .by_aside_categories_item:before {
  position: absolute;
  top: 0.6rem;
  left: 0;
  width: 0.43rem;
  height: 0.43rem;
  border: 0.215rem solid #49b1f5;
  border-radius: 0.43rem;
  background: 0 0;
  content: '';
  cursor: pointer;
  transition: all 0.3s ease-out;
}
.by_aside .by_aside_categories_item:hover:before {
  border-color: #fc4b4b;
}
.by_aside .by_aside_categories_item span:first-child {
  flex: 1;
}
.by_aside .by_aside_categories_item:hover {
  padding: 3px 15px 3px 30px;
  color: #49b1f5;
}
.by_aside .by_aside_tags_list a {
  display: inline-block;
  padding: 0 0.2rem;
}
.by_footer {
  width: 100%;
  margin: 0 auto;
  padding: 1.3rem 2rem;
  color: #909399;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(3px);
  transition: all 0.3s;
}
.by_footer p {
  margin: 0;
}
.by_footer a {
  margin: 0 5px;
}
.by_footer .by_a_powered {
  font-weight: 600;
  color: #007cff;
}
.by_footer .by_a_theme {
  font-weight: 600;
  color: #fc4b4b;
}
.by_pagination {
  margin: 20px 0;
  text-align: center;
}
.by_pagination_item {
  display: inline-block;
  margin: 0 6px;
  width: 2.5em;
  height: 2.5em;
  line-height: 2.5em;
  border-radius: 8px;
  background: var(--card-bg);
  box-shadow: var(--card-box-shadow);
  transition: all 0.3s;
}
.by_pagination_item a {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
}
.by_pagination_item:not(.active) a:hover {
  background: var(--btn-hover-color);
  color: var(--btn-color);
}
.by_pagination .active a {
  background: #00c4b6;
  color: var(--white);
}
/*! 覆盖样式 */
/*！ 设置*/
html #Butterfly .w-100 {
  width: 100%;
}
html #Butterfly .h-100 {
  height: 100%;
}
html #Butterfly .nav_font_color_dark:before {
  display: none;
}
html #Butterfly .nav_font_color_dark a {
  color: var(--font-color);
  text-shadow: none;
}
html #Butterfly .by_nav_fixed .by_nav {
  position: fixed;
  top: -60px;
  z-index: 91;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 5px 6px -5px rgba(133, 133, 133, 0.6);
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}
html #Butterfly .by_nav_fixed .by_nav a {
  color: var(--font-color);
  text-shadow: none;
}
html #Butterfly .by_nav_visible .by_nav {
  transform: translate3d(0, 100%, 0);
  transition: all 0.5s;
}
html #Butterfly .none-card {
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
html #Butterfly code,
html #Butterfly pre {
  font-family: "Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace;
}
html #Butterfly code:not([class]) {
  padding: 2px 4px;
  background: rgba(27, 31, 35, 0.05);
  color: #f47466;
  font-family: consolas, Menlo, "PingFang SC", "Microsoft JhengHei", "Microsoft YaHei", sans-serif;
}
html #Butterfly .code-toolbar .toolbar {
  pointer-events: none;
  opacity: 1;
  left: 0;
  right: 0;
  top: 0;
  z-index: unset;
  height: 30px;
  line-height: 30px;
  text-align: center;
}
html #Butterfly .code-toolbar .toolbar-item {
  opacity: 1;
  pointer-events: none;
}
html #Butterfly .code-toolbar .toolbar-item span {
  font-weight: bold;
  font-size: 14px;
  color: #999;
  background: none;
  border: none;
  box-shadow: none;
}
html #Butterfly .code-toolbar .toolbar-item:last-child {
  display: none;
}
html #Butterfly .code-toolbar pre[class*="language-"] code[class*="language-"] .token.operator {
  background: none;
}
html #Butterfly .code-toolbar pre[class*="language-"] {
  position: relative;
  margin: 0;
  padding: 30px 0 0;
  user-select: auto;
  font-size: 16px;
  overflow: hidden;
  white-space: pre;
  text-shadow: none;
  border-radius: 8px;
}
html #Butterfly .code-toolbar pre[class*="language-"]:before {
  content: "";
  position: absolute;
  top: 9px;
  left: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fc625d;
  box-shadow: 20px 0 #fdbc40, 40px 0 #35cd4b;
  z-index: 1;
}
html #Butterfly .code-toolbar pre[class*="language-"]:after {
  position: absolute;
  top: 30px;
  z-index: 1;
  content: "";
  width: 100%;
  height: 1px;
  background: #d8d8d8;
  mix-blend-mode: overlay;
}
html #Butterfly .code-toolbar pre[class*="language-"] code[class*="language-"] {
  display: block;
  margin-bottom: 0;
  overflow-x: auto;
  padding: 0 12px 12px 18px;
  border-radius: 0 0 8px 8px;
  text-shadow: none;
}
html #Butterfly .code-toolbar pre[class*="language-"].line-numbers code {
  padding: 12px 12px 12px 54px;
}
html #Butterfly .code-toolbar pre[class*="language-"] .line-numbers-rows {
  left: 0;
  top: 0;
  bottom: 0;
  padding-top: 12px;
  border: none;
}
html #Butterfly .code-toolbar .by_code_copy,
html #Butterfly .code-toolbar .by_code_expander {
  position: absolute;
  top: 5px;
  right: 10px;
  z-index: 5;
  font-weight: bold;
  font-size: 14px;
  color: #999;
  cursor: pointer;
}
html #Butterfly .code-toolbar .by_code_expander {
  right: 40px;
  transition: transform 0.2s;
}
html #Butterfly .code-toolbar .by_code_expander_close {
  transform: rotate(90deg);
}
html #Butterfly .code-toolbar .by_code_close .by_code_expander {
  transform: rotate(90deg);
}
html #Butterfly .code-toolbar .by_code_close code[class*="language-"] {
  display: none !important;
}
