:root {
  --style-border-avatar: 5px solid var(--trans-light);
  --style-border: 1px solid var(--anzhiyu-card-border);
  --anzhiyu-main: var(--anzhiyu-theme);
  --anzhiyu-shadow-main: 0 8px 12px -3px var(--anzhiyu-main-op);
  --anzhiyu-gray-op: rgba(153, 153, 153, 0.169);
}
[data-theme=light] {
  --theme-white:var(--trans-light);
  --anzhiyu-theme: #010405;
  --anzhiyu-fontcolor: #363636;
  --anzhiyu-shadow-lightblack: 0 5px 12px -5px rgba(102, 68, 68, 0);
  --anzhiyu-theme-op: rgba(75, 242, 217, 0.137);
  --anzhiyu-background: #c5efff06;
}

[data-theme=dark] {
  --theme-white:var(--trans-dark);
  --anzhiyu-theme: #b6dfda;
  --anzhiyu-shadow-lightblack: 0 5px 12px -5px rgba(102, 68, 68, 0);
  --anzhiyu-fontcolor: #f7f7fa;
  --anzhiyu-background: #18171d;
  --anzhiyu-theme-op: rgba(13, 27, 25, 0.137);
  --anzhiyu-background: #20202323;
}

#page:has(#essay_page) {
    border: 0;
    box-shadow: none !important;
    padding: 0 !important;
    background: transparent !important;
  }
  #page:has(#essay_page) .page-title {
    display: none;
  }
  #web_bg ~ .page:has(#essay_page) {
    background: var(--anzhiyu-background);
  }
  #bber .bber-container-img {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    flex-wrap: wrap;
    margin-bottom: 0.3rem;
  }
  #bber .bber-container-img .bber-content-noimg {
    width: calc(100% / 4 - 5px);
  }
  
  #bber .bber-content-img img {
    object-fit: cover;
    max-height: 100%;
    border-radius: 12px;
    width: -webkit-fill-available;
  }
  
  #bber .bber-content-img {
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    position: relative;
    width: calc(100% / 4 - 5px);
    margin-bottom: 10px;
  }
  
  #bber .bber-content .datacont {
    order: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--anzhiyu-fontcolor);
    width: 100%;
    line-height: 1.38;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
    text-align: justify;
  }
  #bber p {
    margin: 0px;
  }
  #bber div.bber-content {
    display: flex;
    flex-flow: wrap;
    border-radius: 12px;
    width: 100%;
    height: 100%;
  }
  #bber .timeline ul li.bber-item {
    position: relative;
    width: 32%;
    border: var(--style-border-always);
    border-radius: 12px;
    padding: 1rem 1rem 0.5rem;
    transition: all 0.3s ease 0s;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    align-items: flex-start;
    background: var(--trans-light);
    box-shadow: var(--anzhiyu-shadow-border);
    margin-right: 2%;
  }
  #bber .timeline #waterfall.show {
    opacity: 1;
  }
  #bber .timeline #waterfall {
    opacity: 0;
    transition: all 0.3s ease 0s;
  }
  #bber ul.list {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
  }
  #bber {
    margin-top: 1rem;
    width: 100%;
  }
  #bber > section > ul > li.bber-item {
    margin-bottom: 1rem;
  }
  
  #bber-tips {
    font-size: 14px;
    display: flex;
    justify-content: center;
    margin-top: 1rem;
  }
  
  #bber .timeline ul li.bber-item hr {
    display: flex;
    position: relative;
    margin: 8px 0px;
    border: 1px dashed var(--anzhiyu-theme-op);
    width: 100%;
  }
  
  #bber .bber-info {
    display: flex;
    align-items: center;
  }
  
  #bber > section > ul > li > div .bber-info-time,
  #bber > section > ul > li > div .bber-info-from {
    color: var(--anzhiyu-fontcolor);
    font-size: 0.7rem;
    background-color: var(--anzhiyu-gray-op);
    padding: 0px 8px;
    border-radius: 20px;
    cursor: default;
    display: flex;
    align-items: center;
  }
  
  #bber .bber-info .far.fa-clock {
    margin-right: 4px;
  }
  #bber > section > ul > li > div .bber-info-from span,
  #bber > section > ul > li > div .bber-info-from {
    margin-left: 4px;
  }
  
  #bber .bber-bottom {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
  }
  
  #bber .bber-bottom .bber-reply {
    cursor: pointer;
  }
  
  #bber .timeline ul li.bber-item:hover {
    border: var(--border-style);
  }
  
  #bber .bber-content-link {
    display: flex;
    margin-left: 0.5rem;
    font-size: 0.7rem;
    align-items: center;
    background-color: rgba(245, 108, 108, 0.13);
    color: rgb(245, 108, 108);
    padding: 0px 8px;
    border-radius: 20px;
  }
  #bber .bber-content-link i {
    margin-right: 3px;
  }
  #bber .bber-content-link:hover {
    background-color: var(--anzhiyu-main);
    color: var(--theme-white);
  }
  #bber .bber-music {
    width: 100%;
    height: 90px;
    margin: 0.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    border: var(--style-border-always);
    background: var(--anzhiyu-secondbg);
  }
  #bber .aplayer {
    margin: 0;
  }
  
  #bber .aplayer.aplayer-withlrc .aplayer-pic {
    height: 82px;
    width: 82px;
    margin: 4px;
    border-radius: 4px;
  }
  .bber-music .aplayer.aplayer-withlrc .aplayer-info {
    padding: 5px 7px 0;
  }
  #bber .aplayer .aplayer-info .aplayer-music {
    height: 23px;
  }
  #bber .aplayer .aplayer-info .aplayer-music .aplayer-title {
    font-size: 0.8rem;
    font-weight: 700;
    margin: 0;
    color: var(--anzhiyu-fontcolor);
  }
  
  #bber .aplayer .aplayer-info .aplayer-controller {
    align-items: center;
  }
  #bber .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap {
    padding: 0;
  }
  #bber .aplayer .aplayer-info .aplayer-controller .aplayer-time {
    position: initial;
  }
  #bber .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar {
    background: var(--anzhiyu-gray);
    height: 8px;
    border-radius: 12px;
    transition: 0.3s;
    overflow: hidden;
  }
  #bber .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-loaded {
    height: 100%;
    border-radius: 12px;
  }
  #bber .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played {
    height: 100%;
    border-radius: 12px;
  }
  #bber .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb {
    display: none;
  }
  #bber .aplayer .aplayer-info .aplayer-controller .aplayer-time {
    position: initial;
  }
  
  /* 顶部样式 */
  .author-content.author-content-item.essayPage {
    height: 15rem;
    background: url(https://imgs.catoi.cn/v2/Lw3bq4O.jpeg) left 28% / cover no-repeat;
    border-radius: 12px;
    color: var(–camelz-white);
    overflow: hidden;
    margin-top: 0px;
    position: relative;
    }
    .author-content-item-tips {
    font-size: 12px;
    margin-left: 10px;
    margin-top: 10px;
    }
    .author-content-item-title {
    font-size: 30px;
    margin-left: 10px;
    }
    .content-bottom {
    position: absolute;
    bottom: 10px;
    margin-bottom: 10px;
    font-size: 17px;
    margin-left: 10px;
    }
    
    .banner-button-group {
    position: absolute;
    bottom: 35px;
    right: 18px;
    display: flex;
    justify-content: flex-end;
    font-size: 20px;
    margin-right: 20px;
    }
  #page:has(#essay_page) .author-content-item .card-content .banner-button-group .banner-button:hover {
    color: var(--theme-white);
    border-radius: 20px !important;
  }
  
  /* 响应式 */
  @media screen and (max-width: 1300px) {
    #bber .timeline ul li.bber-item {
      width: 49%;
      margin-right: 1%;
    }
  }
  @media screen and (max-width: 768px) {
    #bber .timeline ul li.bber-item {
      width: 100%;
      margin-right: 0px;
    }
  }
  [data-theme="dark"] .swiper-slide{
    color: antiquewhite;
  }
  [data-theme="light"] .swiper-slide{
    color: black;
}
  [data-theme="dark"] #bber .timeline ul li.bber-item,
  [data-theme="dark"] #bber .bber-music .aplayer,
  [data-theme="dark"] #bber .aplayer .aplayer-lrc:before,
  [data-theme="dark"] #bber .aplayer .aplayer-lrc:after {
    background: var(--theme-white);
    color: var(--anzhiyu-fontcolor);
  }
  #bber .aplayer .aplayer-lrc p {
    color: var(--anzhiyu-fontcolor);
  }