#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(--june-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;
}

#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(--june-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(--june-card-bg);
    box-shadow: var(--june-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(--june-theme-op);
    width: 100%;
    content: linear-gradient(to right, var(--june-theme), var(--june-theme));
}

#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(--june-fontcolor);
    font-size: 0.7rem;
    background-color: var(--june-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(--style-border-hover);
}

#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(--june-main);
    color: var(--june-white);
}
#bber .bber-music {
    width: 100%;
    height: 90px;
    margin: 0.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    border: var(--style-border-always);
    background: var(--june-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(--june-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(--june-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: 19rem;
    background: url(https://img.june-pj.cn/img/cover.webp) left 28% / cover no-repeat;
    color: var(--june-white);
    overflow: hidden;
    margin-top: 0px;
}
#page:has(#essay_page) .author-content-item .card-content .banner-button-group .banner-button:hover {
    color: var(--june-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"] #bber .bber-music .aplayer,
[data-theme="dark"] #bber .aplayer .aplayer-lrc:before,
[data-theme="dark"] #bber .aplayer .aplayer-lrc:after {
    background: var(--june-card-bg);
    color: var(--june-fontcolor);
}
#bber .aplayer .aplayer-lrc p {
    color: var(--june-fontcolor);
}

/*哔哩哔哩视频适配*/
.aspect-ratio {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    margin: 3% auto;
    text-align: center;
}
.aspect-ratio iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 12px;
}