/* 颜色 */
:root {
    --anzhiyu-theme-op: #4259ef23;
    --anzhiyu-card-bg-none: rgba(255, 255, 255, 0);
    --anzhiyu-main-op-deep: var(--anzhiyu-theme-op-deep) !important;
    --anzhiyu-gray-op: #9999992b;
    --anzhiyu-theme-top: var(--anzhiyu-theme);
    --anzhiyu-white: #fff;
    --anzhiyu-white-op: rgba(255, 255, 255, 0.2);
    --anzhiyu-black: #000;
    --anzhiyu-black-op: rgba(0, 0, 0, 0.2);
    --anzhiyu-none: rgba(0, 0, 0, 0);
    --anzhiyu-gray: #999999;
    --anzhiyu-yellow: #ffc93e;
    --anzhiyu-orange: #e38100;
    --anzhiyu-border-radius: 8px;
    --anzhiyu-main: var(--anzhiyu-theme);
    --anzhiyu-main-op: var(--anzhiyu-theme-op);
    --anzhiyu-shadow-theme: 0 8px 12px -3px var(--anzhiyu-theme-op);
    --anzhiyu-shadow-main: 0 8px 12px -3px var(--anzhiyu-main-op);
    --anzhiyu-shadow-blue: 0 8px 12px -3px rgba(40, 109, 234, 0.2);
    --anzhiyu-shadow-white: 0 8px 12px -3px rgba(255, 255, 255, 0.2);
    --anzhiyu-shadow-black: 0 0 12px 4px rgba(0, 0, 0, 0.05);
    --anzhiyu-shadow-yellow: 0px 38px 77px -26px rgba(255, 201, 62, 0.12);
    --anzhiyu-shadow-red: 0 8px 12px -3px #ee7d7936;
    --anzhiyu-shadow-green: 0 8px 12px -3px #87ee7936;
    --anzhiyu-shadow-border: 0 8px 16px -4px #2c2d300c;
    --anzhiyu-shadow-blackdeep: 0 2px 16px -3px rgba(0, 0, 0, 0.15);
    --anzhiyu-logo-color: linear-gradient(215deg, #4584ff 30%, #ff7676 70%);
    --style-border: 1px solid var(--anzhiyu-card-border);
    --anzhiyu-blue-main: #3b70fc;
    --style-border-hover: 1px solid var(--anzhiyu-main);
    --style-border-dashed: 1px dashed var(--anzhiyu-theme-op);
    --style-border-avatar: 4px solid var(--anzhiyu-background);
    --style-border-always: 1px solid var(--anzhiyu-card-border);
    --style-border-none: 1px solid transparent;
    --anzhiyu-white-acrylic1: #fefeff !important;
    --anzhiyu-white-acrylic2: #fcfdff !important;
    --anzhiyu-black-acrylic2: #08080a !important;
    --anzhiyu-black-acrylic1: #0b0b0e !important;
    --anzhiyu-main-none: #b8b8b800 !important;
  }
  
  [data-theme="light"] {
    --anzhiyu-theme-op-deep: #4259efdd;
    --global-bg: #f7f9fe;
    --anzhiyu-theme: #3b70fc;
    --anzhiyu-theme-deep: #1856fb;
    --anzhiyu-theme-op: #4259ef23;
    --anzhiyu-blue: #3b70fc;
    --anzhiyu-red: #d8213c;
    --anzhiyu-pink: #ff7c7c;
    --anzhiyu-green: #57bd6a;
    --anzhiyu-fontcolor: #363636;
    --anzhiyu-background: #f7f9fe;
    --anzhiyu-reverse: #000;
    --anzhiyu-maskbg: rgba(255, 255, 255, 0.6);
    --anzhiyu-maskbgdeep: rgba(255, 255, 255, 0.85);
    --anzhiyu-hovertext: var(--anzhiyu-theme);
    --anzhiyu-ahoverbg: #f7f7fa;
    --anzhiyu-lighttext: var(--anzhiyu-main);
    --anzhiyu-secondtext: rgba(60, 60, 67, 0.6);
    --anzhiyu-scrollbar: rgba(60, 60, 67, 0.4);
    --anzhiyu-card-btn-bg: #edf0f7;
    --anzhiyu-post-blockquote-bg: #fafcff;
    --anzhiyu-post-tabs-bg: #f2f5f8;
    --anzhiyu-secondbg: #f1f3f8;
    --anzhiyu-shadow-nav: 0 5px 12px -5px rgba(102, 68, 68, 0.05);
    --anzhiyu-card-bg: #fff;
    --anzhiyu-shadow-lightblack: 0 5px 12px -5px rgba(102, 68, 68, 0);
    --anzhiyu-shadow-light2black: 0 5px 12px -5px rgba(102, 68, 68, 0);
    --anzhiyu-card-border: #e3e8f7;
  }
  
  [data-theme="dark"] {
    --anzhiyu-theme-op-deep: #0084ffdd;
    --global-bg: #18171d;
    --anzhiyu-theme: #0084ff;
    --anzhiyu-theme-deep: #0076e5;
    --anzhiyu-theme-op: #0084ff23;
    --anzhiyu-blue: #0084ff;
    --anzhiyu-red: #ff3842;
    --anzhiyu-pink: #ff7c7c;
    --anzhiyu-green: #57bd6a;
    --anzhiyu-fontcolor: #f7f7fa;
    --anzhiyu-background: #18171d;
    --anzhiyu-reverse: #fff;
    --anzhiyu-maskbg: rgba(0, 0, 0, 0.6);
    --anzhiyu-maskbgdeep: rgba(0, 0, 0, 0.85);
    --anzhiyu-hovertext: #0a84ff;
    --anzhiyu-ahoverbg: #fff;
    --anzhiyu-lighttext: #f2b94b;
    --anzhiyu-secondtext: #a1a2b8;
    --anzhiyu-scrollbar: rgba(200, 200, 223, 0.4);
    --anzhiyu-card-btn-bg: #30343f;
    --anzhiyu-post-blockquote-bg: #000;
    --anzhiyu-post-tabs-bg: #121212;
    --anzhiyu-secondbg: #30343f;
    --anzhiyu-shadow-nav: 0 5px 20px 0px rgba(28, 28, 28, 0.4);
    --anzhiyu-card-bg: #1d1b26;
    --anzhiyu-shadow-lightblack: 0 5px 12px -5px rgba(102, 68, 68, 0);
    --anzhiyu-shadow-light2black: 0 5px 12px -5px rgba(102, 68, 68, 0);
    --anzhiyu-card-border: #42444a;

    --trans-light: rgba(255, 255, 255, 0.88); 
    --trans-dark: rgba(25, 25, 25, 0.88);
    --border-style: 1px solid rgb(169, 169, 169);
    --backdrop-filter: blur(5px) saturate(150%);
  }
  
  
  /* 页脚与头图透明 */
  #footer {
      background: transparent !important;
  }
  
  #page-header {
      background: transparent !important;
  }
  
  /* 白天模式遮罩透明 */
  #footer::before {
      background: transparent !important;
  }
  
  #page-header::before {
      background: transparent !important;
  }
  
  /* 夜间模式遮罩透明 */
  [data-theme="dark"] #footer::before {
      background: transparent !important;
  }
  
  [data-theme="dark"] #page-header::before {
      background: transparent !important;
  }
  
  /* 小冰分类分类磁铁黑夜模式适配 */
  /* 一般状态 */
  [data-theme="dark"] .magnet_link_context {
      background: #1e1e1e;
      color: antiquewhite;
    }
    /* 鼠标悬浮状态 */
    [data-theme="dark"] .magnet_link_context:hover {
      background: #3ecdf1;
      color: #f2f2f2;
    }
  
  
  /* 翻页按钮居中 */
  #pagination {
      width: 100%;
      margin: auto;
    }
  
  /* 一级菜单居中 */
  #nav .menus_items {
      position: absolute !important;
      width: fit-content !important;
      left: 50% !important;
      transform: translateX(-50%) !important;
    }
    /* 子菜单横向展示 */
    #nav .menus_items .menus_item:hover .menus_item_child {
      display: flex !important;
    }
    /* 这里的2是代表导航栏的第2个元素，即有子菜单的元素，可以按自己需求修改 */
    .menus_items .menus_item:nth-child(2) .menus_item_child {
      left: -125px;
    }
  
    /* 夜间模式菜单栏发光字 */
  [data-theme="dark"] #nav .site-page,
  [data-theme="dark"] #nav .menus_items .menus_item .menus_item_child li a {
    text-shadow: 0 0 2px var(--theme-color) !important;
  }
  
  /* 手机端适配 */
  [data-theme="dark"] #sidebar #sidebar-menus .menus_items .site-page {
    text-shadow: 0 0 2px var(--theme-color) !important;
  }
  
  
  /* 日间模式不生效 */
  [data-theme="light"] #site-name,
  [data-theme="light"] #site-title,
  [data-theme="light"] #site-subtitle,
  [data-theme="light"] #post-info {
    animation: none;
  }
  /* 夜间模式生效 */
  [data-theme="dark"] #site-name,
  [data-theme="dark"] #site-title {
    animation: light_15px 10s linear infinite;
  }
  [data-theme="dark"] #site-subtitle {
    animation: light_10px 10s linear infinite;
  }
  [data-theme="dark"] #post-info {
    animation: light_5px 10s linear infinite;
  }
  /* 关键帧描述 */
  @keyframes light_15px {
    0% {
      text-shadow: #5636ed 0 0 15px;
    }
    12.5% {
      text-shadow: #11ee5e 0 0 15px;
    }
    25% {
      text-shadow: #f14747 0 0 15px;
    }
    37.5% {
      text-shadow: #f1a247 0 0 15px;
    }
    50% {
      text-shadow: #f1ee47 0 0 15px;
    }
    50% {
      text-shadow: #b347f1 0 0 15px;
    }
    62.5% {
      text-shadow: #002afa 0 0 15px;
    }
    75% {
      text-shadow: #ed709b 0 0 15px;
    }
    87.5% {
      text-shadow: #39c5bb 0 0 15px;
    }
    100% {
      text-shadow: #5636ed 0 0 15px;
    }
  }
  
  @keyframes light_10px {
    0% {
      text-shadow: #5636ed 0 0 10px;
    }
    12.5% {
      text-shadow: #11ee5e 0 0 10px;
    }
    25% {
      text-shadow: #f14747 0 0 10px;
    }
    37.5% {
      text-shadow: #f1a247 0 0 10px;
    }
    50% {
      text-shadow: #f1ee47 0 0 10px;
    }
    50% {
      text-shadow: #b347f1 0 0 10px;
    }
    62.5% {
      text-shadow: #002afa 0 0 10px;
    }
    75% {
      text-shadow: #ed709b 0 0 10px;
    }
    87.5% {
      text-shadow: #39c5bb 0 0 10px;
    }
    100% {
      text-shadow: #5636ed 0 0 10px;
    }
  }
  
  @keyframes light_5px {
    0% {
      text-shadow: #5636ed 0 0 5px;
    }
    12.5% {
      text-shadow: #11ee5e 0 0 5px;
    }
    25% {
      text-shadow: #f14747 0 0 5px;
    }
    37.5% {
      text-shadow: #f1a247 0 0 15px;
    }
    50% {
      text-shadow: #f1ee47 0 0 5px;
    }
    50% {
      text-shadow: #b347f1 0 0 5px;
    }
    62.5% {
      text-shadow: #002afa 0 0 5px;
    }
    75% {
      text-shadow: #ed709b 0 0 5px;
    }
    87.5% {
      text-shadow: #39c5bb 0 0 5px;
    }
    100% {
      text-shadow: #5636ed 0 0 5px;
    }
  }
  
  
  /* 侧边栏个人信息卡片动态渐变色 */
  #aside-content > .card-widget.card-info {
      background: linear-gradient(
        -45deg,
        #e8d8b9,
        #eccec5,
        #a3e9eb,
        #bdbdf0,
        #eec1ea
      );
      box-shadow: 0 0 5px rgb(66, 68, 68);
      position: relative;
      background-size: 400% 400%;
      -webkit-animation: Gradient 10s ease infinite;
      -moz-animation: Gradient 10s ease infinite;
      animation: Gradient 10s ease infinite !important;
    }
    @-webkit-keyframes Gradient {
      0% {
        background-position: 0% 50%;
      }
      50% {
        background-position: 100% 50%;
      }
      100% {
        background-position: 0% 50%;
      }
    }
    @-moz-keyframes Gradient {
      0% {
        background-position: 0% 50%;
      }
      50% {
        background-position: 100% 50%;
      }
      100% {
        background-position: 0% 50%;
      }
    }
    @keyframes Gradient {
      0% {
        background-position: 0% 50%;
      }
      50% {
        background-position: 100% 50%;
      }
      100% {
        background-position: 0% 50%;
      }
    }
    
    /* 黑夜模式适配 */
    [data-theme="dark"] #aside-content > .card-widget.card-info {
      background: #191919ee;
    }
    
    /* 个人信息Follow me按钮 */
    #aside-content > .card-widget.card-info > #card-info-btn {
      background-color: #3eb8be;
      border-radius: 8px;
    }
  
  /* 鼠标样式 */
  #cursor {
      position: fixed;
      width: 16px;
      height: 16px;
    /* 这里改变跟随的底色 */
      background: rgba(253, 126, 232, 0.979);
      border-radius: 8px;
      opacity: 0.25;
      z-index: 10086;
      pointer-events: none;
      transition: 0.2s ease-in-out;
      transition-property: background, opacity, transform;
    }
    
    #cursor.hidden {
      opacity: 0;
    }
    
    #cursor.hover {
      opacity: 0.1;
      transform: scale(2.5);
      -webkit-transform: scale(2.5);
      -moz-transform: scale(2.5);
      -ms-transform: scale(2.5);
      -o-transform: scale(2.5);
    }
    
    #cursor.active {
      opacity: 0.5;
      transform: scale(0.5);
      -webkit-transform: scale(0.5);
      -moz-transform: scale(0.5);
      -ms-transform: scale(0.5);
      -o-transform: scale(0.5);
    }
  
  
    
    /* 首页文章卡片 */
    #recent-posts > .recent-post-item {
      background: var(--trans-light);
      backdrop-filter: var(--backdrop-filter);
      border-radius: 25px;
      border: var(--border-style);
    }
    
    /* 首页侧栏卡片 */
    #aside-content .card-widget {
      background: var(--trans-light);
      backdrop-filter: var(--backdrop-filter);
      border-radius: 18px;
      border: var(--border-style);
    }
    
    /* 文章页、归档页、普通页面 */
    div#post,
    div#page,
    div#archive {
      background: var(--trans-light);
      backdrop-filter: var(--backdrop-filter);
      border: var(--border-style);
      border-radius: 20px;
    }
    
    /* 导航栏 */
    #page-header.nav-fixed #nav {
      background: rgba(255, 255, 255, 0.75);
      backdrop-filter: var(--backdrop-filter);
    }
    
    [data-theme="dark"] #page-header.nav-fixed #nav {
      background: rgba(0, 0, 0, 0.7) !important;
    }
    
    /* 夜间模式遮罩 */
    [data-theme="dark"] #recent-posts > .recent-post-item,
    [data-theme="dark"] #aside-content .card-widget,
    [data-theme="dark"] div#post,
    [data-theme="dark"] div#archive,
    [data-theme="dark"] div#page {
      background: var(--trans-dark);
    }
    
    
    /* 夜间模式页脚页头遮罩透明 */
    [data-theme="dark"] #footer::before {
      background: transparent !important;
    }
    [data-theme="dark"] #page-header::before {
      background: transparent !important;
    }
    
    /* 阅读模式 */
    .read-mode #aside-content .card-widget {
      background: rgba(158, 204, 171, 0.5) !important;
    }
    .read-mode div#post {
      background: rgba(158, 204, 171, 0.5) !important;
    }
    
    /* 夜间模式下的阅读模式 */
    [data-theme="dark"] .read-mode #aside-content .card-widget {
      background: rgba(25, 25, 25, 0.9) !important;
      color: #ffffff;
    }
    [data-theme="dark"] .read-mode div#post {
      background: rgba(25, 25, 25, 0.9) !important;
      color: #ffffff;
    }
  
    .pace {
      -webkit-pointer-events: none;
      pointer-events: none;
      -webkit-user-select: none;
      -moz-user-select: none;
      user-select: none;
      z-index: 2000;
      position: fixed;
      margin: auto;
      top: 4px;
      left: 0;
      right: 0;
      height: 8px;
      border-radius: 8px;
      width: 7rem;
      background: #eaecf2;
      border: 1px #e3e8f7;
      overflow: hidden
  }
  
  .pace-inactive .pace-progress {
      opacity: 0;
      transition: .3s ease-in
  }
  
  .pace .pace-progress {
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      -ms-box-sizing: border-box;
      -o-box-sizing: border-box;
      box-sizing: border-box;
      -webkit-transform: translate3d(0, 0, 0);
      -moz-transform: translate3d(0, 0, 0);
      -ms-transform: translate3d(0, 0, 0);
      -o-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
      max-width: 200px;
      position: absolute;
      z-index: 2000;
      display: block;
      top: 0;
      right: 100%;
      height: 100%;
      width: 100%;
      /* linear-gradient(to right, #3494e6, #ec6ead) */
      background: linear-gradient(to right, #43cea2, #3866ca);
      animation: gradient 2s ease infinite;
      background-size: 200%
  }
  
  .pace.pace-inactive {
      opacity: 0;
      transition: .3s;
      top: -8px
  }
  
  
  /* 文章页H1-H6图标样式效果 */
  /* 控制风车转动速度 4s那里可以自己调节快慢 */
  h1::before,
  h2::before,
  h3::before,
  h4::before,
  h5::before,
  h6::before {
    -webkit-animation: ccc 4s linear infinite;
    animation: ccc 4s linear infinite;
  }
  /* 控制风车转动方向 -1turn 为逆时针转动，1turn 为顺时针转动，相同数字部分记得统一修改 */
  @-webkit-keyframes ccc {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    to {
      -webkit-transform: rotate(-1turn);
      transform: rotate(-1turn);
    }
  }
  @keyframes ccc {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    to {
      -webkit-transform: rotate(-1turn);
      transform: rotate(-1turn);
    }
  }
  /* 设置风车颜色 */
  #content-inner.layout h1::before {
    color: #ef50a8;
    margin-left: -1.55rem;
    font-size: 1.3rem;
    margin-top: -0.23rem;
  }
  #content-inner.layout h2::before {
    color: #fb7061;
    margin-left: -1.35rem;
    font-size: 1.1rem;
    margin-top: -0.12rem;
  }
  #content-inner.layout h3::before {
    color: #ffbf00;
    margin-left: -1.22rem;
    font-size: 0.95rem;
    margin-top: -0.09rem;
  }
  #content-inner.layout h4::before {
    color: #a9e000;
    margin-left: -1.05rem;
    font-size: 0.8rem;
    margin-top: -0.09rem;
  }
  #content-inner.layout h5::before {
    color: #57c850;
    margin-left: -0.9rem;
    font-size: 0.7rem;
    margin-top: 0rem;
  }
  #content-inner.layout h6::before {
    color: #5ec1e0;
    margin-left: -0.9rem;
    font-size: 0.66rem;
    margin-top: 0rem;
  }
  /* s设置风车hover动效 6s那里可以自己调节快慢*/
  #content-inner.layout h1:hover,
  #content-inner.layout h2:hover,
  #content-inner.layout h3:hover,
  #content-inner.layout h4:hover,
  #content-inner.layout h5:hover,
  #content-inner.layout h6:hover {
    color: var(--theme-color);
  }
  #content-inner.layout h1:hover::before,
  #content-inner.layout h2:hover::before,
  #content-inner.layout h3:hover::before,
  #content-inner.layout h4:hover::before,
  #content-inner.layout h5:hover::before,
  #content-inner.layout h6:hover::before {
    color: var(--theme-color);
    -webkit-animation: ccc 6s linear infinite;
    animation: ccc 6s linear infinite;
  }
  
  
  
  body::-webkit-scrollbar {
    width: 0;
  }
  
  .neko {
    width: 64px;
    height: 64px;
    background-image: url("https://bu.dusays.com/2022/07/20/62d812db74be9.png");
    position: absolute;
    right: 32px;
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateX(50%);
    cursor: pointer;
    font-family: tzy;
    font-weight: 600;
    font-size: 16px;
    color: #6f42c1;
    display: none;
  }
  
  .neko::after {
    display: none;
    width: 100px;
    height: 100px;
    background-image: url("https://bu.dusays.com/2022/07/20/62d812d95e6f5.png");
    background-size: contain;
    z-index: 9999;
    position: absolute;
    right: 50%;
    text-align: center;
    line-height: 100px;
    top: -115%;
  
  }
  
  .neko.showMsg::after {
    content: attr(data-msg);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .neko:hover::after {
    content: attr(data-msg);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .neko.fontColor::after {
    color: #333;
  }
  
  /**
  * @description: 滚动条样式  跟猫二选一
  */
  @media screen and (max-width:992px) {
    ::-webkit-scrollbar {
        width: 8px !important;
        height: 8px !important
    }
  
    ::-webkit-scrollbar-track {
        border-radius: 2em;
    }
  
    ::-webkit-scrollbar-thumb {
        background-color: rgb(255 255 255 / .3);
        background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.1) 75%, transparent 75%, transparent);
        border-radius: 2em
    }
  
    ::-webkit-scrollbar-corner {
        background-color: transparent
    }
  }
  
  /* 返回顶部 */
  
  button#go-up #percent {
    display: none;
    font-weight: bold;
    font-size: 15px !important;
  }
  
  button#go-up span {
    font-size: 12px!important;
    margin-right: -1px;
  }
  
  /* 鼠标滑动到按钮上时显示返回顶部图标 */
  button#go-up:hover i {
    display: block !important;
  }
  
  button#go-up:hover #percent {
    display: none !important;
  }
  
  
  #owo-big {
    position: fixed;
    align-items: center;
    background-color: rgb(255, 255, 255);
    border: 1px #aaa solid;
    border-radius: 10px;
    z-index: 9999;
    display: none;
    transform: translate(0, -105%);
    overflow: hidden;
    animation: owoIn 0.3s cubic-bezier(0.42, 0, 0.3, 1.11);
  }
  
  [data-theme=dark] #owo-big {
    background-color: #4a4a4a
  }
  
  #owo-big img {
    width: 100%;
  }
  
  /* 动画效果代码由 Heo：https://blog.zhheo.com/ 提供 */
  @keyframes owoIn {
    0% {
        transform: translate(0, -95%);
        opacity: 0;
    }
    100% {
        transform: translate(0, -105%);
        opacity: 1;
    }
  }
  
  
  /* 设置文字内容 :nth-child(1)的作用是选择第几个 */
  .el-input.el-input--small.el-input-group.el-input-group--prepend:nth-child(1):before {
    content: '输入QQ号会自动获取昵称和头像🐧';
  }
  
  .el-input.el-input--small.el-input-group.el-input-group--prepend:nth-child(2):before {
    content: '收到回复将会发送到您的邮箱📧';
  }
  
  .el-input.el-input--small.el-input-group.el-input-group--prepend:nth-child(3):before {
    content: '可以通过昵称访问您的网站🔗';
  }
  
  /* 当用户点击输入框时显示 */
  .el-input.el-input--small.el-input-group.el-input-group--prepend:focus-within::before,
  .el-input.el-input--small.el-input-group.el-input-group--prepend:focus-within::after {
    display: block;
  }
  
  /* 主内容区 */
  .el-input.el-input--small.el-input-group.el-input-group--prepend::before {
    /* 先隐藏起来 */
    display: none;
    /* 绝对定位 */
    position: absolute;
    /* 向上移动60像素 */
    top: -60px;
    /* 文字强制不换行，防止left:50%导致的文字换行 */
    white-space: nowrap;
    /* 圆角 */
    border-radius: 10px;
    /* 距离左边50% */
    left: 50%;
    /* 然后再向左边挪动自身的一半，即可实现居中 */
    transform: translate(-50%);
    /* 填充 */
    padding: 14px 18px;
    background: #444;
    color: #fff;
  }
  
  /* 小角标 */
  .el-input.el-input--small.el-input-group.el-input-group--prepend::after {
    display: none;
    content: '';
    position: absolute;
    /* 内容大小（宽高）为0且边框大小不为0的情况下，每一条边（4个边）都是一个三角形，组成一个正方形。
    我们先将所有边框透明，再给其中的一条边添加颜色就可以实现小三角图标 */
    border: 12px solid transparent;
    border-top-color: #444;
    left: 50%;
    transform: translate(-50%, -48px);
  }
  
  /* 欢迎信息 */
  #welcome-info {
    background: linear-gradient(45deg, #b9f4f3, #e3fbf9);
    border-radius: 18px;
    padding: 8px;
  }
  [data-theme="dark"] #welcome-info {
    background: #212121;
  }
  
  /* 右键菜单 */
  #rightMenu {
    display: none;
    position: fixed;
    width: 160px;
    height: fit-content;
    top: 10%;
    left: 10%;
      /* 菜单面板背景色 */
    background-color: var(--card-bg);
      /* 菜单面板文字颜色 */
    border: 1px solid var(--font-color);
    border-radius: 8px;
    z-index: 100;
  }
  #rightMenu .rightMenu-group {
    padding: 7px 6px;
  }
  #rightMenu .rightMenu-group:not(:nth-last-child(1)) {
    border-bottom: 1px solid var(--font-color);
  }
  #rightMenu .rightMenu-group.rightMenu-small {
    display: flex;
    justify-content: space-between;
  }
  #rightMenu .rightMenu-group .rightMenu-item {
    height: 30px;
    line-height: 30px;
    border-radius: 8px;
    transition: 0.3s;
    color: var(--font-color);
  }
  #rightMenu .rightMenu-group.rightMenu-line .rightMenu-item {
    display: flex;
    height: 40px;
    line-height: 40px;
    padding: 0 4px;
  }
  #rightMenu .rightMenu-group .rightMenu-item:hover {
      /* 鼠标悬浮选项颜色 */
    background-color: var(--text-bg-hover);
  }
  #rightMenu .rightMenu-group .rightMenu-item i {
    display: inline-block;
    text-align: center;
    line-height: 30px;
    width: 30px;
    height: 30px;
    padding: 0 5px;
  }
  #rightMenu .rightMenu-group .rightMenu-item span {
    line-height: 30px;
  }
  
  #rightMenu .rightMenu-group.rightMenu-line .rightMenu-item * {
    height: 40px;
    line-height: 40px;
  }
  .rightMenu-group.hide {
    display: none;
  }
  
  /* 全局宽度 */
  .layout {
    max-width: 1400px;
  }
  
  /* 侧边卡片栏宽度 */
  .aside-content {
    max-width: 318px;
    min-width: 300px;
  }
  
  /* 平板尺寸自适应(不启用侧边栏宽度限制) */
  @media screen and (max-width: 900px) {
    .aside-content {
      max-width: none !important;
      padding: 0 5px 0 5px;
    }
  }
  
  /* 除了首页以外其他页面隐藏卡片，并采用宽屏显示 */
  #archive,
  #page,
  #category,
  #tag {
    width: 100%;
  }
  .page:not(.page.home) .aside-content {
    display: none;
  }
  
  
  .card-info-avatar .author-status-box {
    position: absolute;
    bottom: 0;
    left: calc(100% - 28px);
    width: 28px;
    height: 28px;
    border: 1px solid #d0d7de;
    border-radius: 2em;
    background-color: #f8f8f8f8;
    transition: 0.4s;
    overflow: hidden;
  }
  
  [data-theme="dark"] .card-info-avatar .author-status-box {
    background-color: #222222f2;
    border: 1px solid #5c6060;
  }
  
  .card-info-avatar .author-status-box .author-status {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 5px;
  }
  
  .card-info-avatar .author-status-box:hover {
    width: 105px;
  }
  
  .card-info-avatar .author-status-box:hover .author-status span {
    width: 105px;
    margin-left: 4px;
  }
  
  .card-info-avatar .author-status-box .author-status span {
    width: 0;
    font-size: 12px;
    height: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: 0.4s;
  }
  
  .card-widget .card-info-avatar {
    display: inline-block;
    position: relative;
  }
  
  
  /* 帧率检测 */
  #fps {
    position: fixed;
    /* 指定位置 */
    left: 10px;
    bottom: 10px;
    z-index: 1919810;
  }
  [data-theme="light"] #fps {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: var(--backdrop-filter);
    padding: 4px;
    border-radius: 4px;
  }
  [data-theme="dark"] #fps {
    background-color: rgba(0, 0, 0, 0.72);
    backdrop-filter: var(--backdrop-filter);
    padding: 4px;
    border-radius: 4px;
  }
  
  /* 标题增强 */
  #site-name::before {
    opacity: 0;
    background-color: var(--theme-color) !important;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    position: absolute;
    top: 0 !important;
    right: 0 !important;
    width: 100%;
    height: 100%;
    content: "\f015";
    box-shadow: 0 0 5px var(--theme-color);
    font-family: "Font Awesome 6 Free";
    text-align: center;
    color: white;
    line-height: 34px; /*如果有溢出或者垂直不居中的现象微调一下这个参数*/
    font-size: 18px; /*根据个人喜好*/
  }
  #site-name:hover::before {
    opacity: 1;
    scale: 1.03;
  }
  #site-name {
    position: relative;
    font-size: 24px; /*一定要把字体调大点，否则效果惨不忍睹！*/
  }
  
  .nav-fixed #nav{
    transform: translateY(58px)!important;
    -webkit-transform: translateY(58px)!important;
    -moz-transform: translateY(58px)!important;
    -ms-transform: translateY(58px)!important;
    -o-transform: translateY(58px)!important;
  }
  #nav{
    transition: none!important;
    -webkit-transition: none!important;
    -moz-transition: none!important;
    -ms-transition: none!important;
    -o-transition: none!important;
  }
  
  /* 导航栏显示标题 */
  #page-name::before {
    font-size: 18px;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    color: white !important;
    top: 0;
    left: 0;
    content: "回到顶部";
    background-color: var(--theme-color);
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    opacity: 0;
    box-shadow: 0 0 3px var(--theme-color);
    line-height: 45px; /*如果垂直位置不居中可以微调此值，也可以删了*/
  }
  #page-name:hover:before {
    opacity: 1;
  }
  #name-container {
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
  }
  #name-container:hover {
    scale: 1.03;
  }
  #page-name {
    position: relative;
    padding: 10px 30px; /*如果文字间隔不合理可以微调修改，第二个是水平方向的padding，第一个是垂直的*/
  }
  #nav{
      padding: 0 20px;
  }
  
  /* 修复滚动显示标题居中 */
  center#name-container {
    position: absolute !important;
    width: fit-content !important;
    left: 42% !important;
  }
  @media screen and (max-width: 768px) {
    center#name-container {
      display: none;
    }
  }
  
  
  /* 滚动条样式 */
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  
  ::-webkit-scrollbar-track {
    background-color: rgba(73, 177, 245, 0.2);
    border-radius: 2em;
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: var(--theme-color);
    background-image: -webkit-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.4) 25%,
      transparent 25%,
      transparent 50%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0.4) 75%,
      transparent 75%,
      transparent
    );
    border-radius: 2em;
  }
  
  ::-webkit-scrollbar-corner {
    background-color: transparent;
  }
  
  ::-moz-selection {
    color: #fff;
    background-color: var(--theme-color);
  }


  /* 雪花特效 */
[data-theme="light"] #snow{
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
  }
  
  /* 雪花黑夜模式不显示 */
  [data-theme="dark"] #snow{
    display: none;
  }
  

/* Twikoo 评论样式 */

.tk-input .el-textarea__inner {
    min-height: 120px !important;
}

#twikoo .OwO-body {
    max-width: 100% !important;
}

#twikoo .OwO .OwO-body .OwO-items:nth-child(1),
#twikoo .OwO .OwO-body .OwO-items:nth-child(4) {
    max-height: 360px !important;
}

#twikoo .OwO-items li[title|=menhera] img {
    width: 100% !important;
    margin: 5px 10px;
}

.tk-comment .tk-owo-emotion[alt*=menhera] {
    width: 300px !important;
}

.tk-comment .vemoji[alt|=menhera],
.tk-comment .tk-owo-emotion[alt*=menhera] {
    max-width: 300px !important;
    max-height: 300px !important;
    margin: 8px 1px;
    display: block !important;
}

@media screen and (max-width: 768px) {
    .tk-comment .vemoji[alt|=menhera], .tk-comment .tk-owo-emotion[alt*=menhera] {
        max-width: calc(100% - 30px) !important;
        max-height: calc(100% - 30px) !important;
    }
    .OwO .OwO-body .OwO-items-image .OwO-item[title*=menhera] {
        max-width: calc(50% - 10px);
        box-sizing: border-box;
    }
}
