#post .detail-top {
    margin: 2rem 0 1.5rem;
    padding: 1.5rem;
    border-radius: .75rem;
    background: #343232;
    color: #eee;
}

#post .detail-top h2 {
    margin: 0;
    color: #eee;
    font-size: 1.2rem;
    line-height: 1.35;
}

#post .detail-bottom h2 {
    margin: 0;
    color: #eee;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.35;
}

#post .detail-top-list {
    margin-top: .75rem;
}

#post .detail-top-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
    padding: .5rem 0;
    border-bottom: .0625rem solid #424242;
    color: #eee;
    font-size: 1rem;
    line-height: 1.5;
}

#post .detail-top-row:last-child {
    border: none;
}

#post .detail-top-row img,
#post .detail-notice-row > img {
    display: block;
    flex: 0 0 auto;
    margin: 0;
    object-fit: contain;
}

#post .detail-top-row img {
    width: 1.8rem;
    height: 1.8rem;
}

#post .detail-row-action,
#post .detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    font-size: 0.85rem;
}

#post .detail-top-note {
    margin: 0;
    margin-top: .1rem;
    padding: 1rem;
    border-radius: .75rem;
    background: #2d3834;
    color: #20cbb1;
    font-size: 0.8rem;
    line-height: 1.5;
    text-align: center;
}

#post .detail-top a,
#post .detail-bottom a {
    border-bottom: 0;
    color: #20cbb1;
    text-decoration: none;
}

#post .detail-top a::after,
#post .detail-bottom a::after {
    display: none;
}

#post .detail-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .25rem .7rem;
    border: .0625rem solid #20cbb1 !important;
    border-radius: .3rem;
    color: #20cbb1 !important;
    font-size: .75rem;
    line-height: 1.4;
    white-space: nowrap;
}

#post .detail-button:hover {
    background: rgba(32, 203, 177, .12);
}

#post .detail-bottom {
    margin: 1.875rem 0 0;
    color: #bbb;
}

#post .detail-notice {
    padding: 1.5rem;
    background: #343232;
}

#post .detail-notice {
    margin-top: 1.5rem;
}


#post .detail-notice > h2 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

#post .detail-faq-item {
    margin-top: 1.25rem;
}

#post .detail-faq-item>div {
    margin: 0 0 .75rem;
    color: #eee;
    font-size: .9rem;
    line-height: 1.5;
}

#post .detail-faq-item p {
    margin: 0;
    color: #aaa;
    font-size: .85rem;
    line-height: 1.5;
}

#post .detail-faq-item a,
#post .detail-faq-item .detail-link {
    border-bottom: 0;
    color: #20cbb1;
    overflow-wrap: anywhere;
    text-decoration: none;
}

#post .detail-faq-item a::after {
    display: none;
}

#post .detail-notice-list {
    overflow: hidden;
    border: .0625rem solid #454545;
    border-radius: .625rem;
    background: #292929;
}

#post .detail-notice-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: .0625rem solid #454545;
    color: #aaa;
    line-height: 1.5;
    font-size: 0.85rem;
}

#post .detail-notice-row:last-child {
    border-bottom: 0;
}

#post .detail-notice-row > img {
    width: 1.625rem;
    height: 1.625rem;
}

#post .detail-share-row {
    align-items: flex-start;
}

#post .detail-share-content {
    min-width: 0;
}

#post .detail-share-content .a2a_kit {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .5rem;
    line-height: 2rem;
}

#post .detail-share-content .a2a_kit a {
    margin: 0;
}

/* 20260815 start */
.detail-float-actions {
    display: none;
}

.detail-share-toast {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    padding: .5rem .75rem;
    border-radius: .25rem;
    background: rgba(0, 0, 0, .8);
    color: #fff;
    font-size: .75rem;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity .2s;
    white-space: nowrap;
}

.detail-share-toast.show {
    display: block;
    opacity: 1;
    z-index: 999;
}
/* 20260827 活动内容 start */
.activity-ad{
    display: none;
}
.activity_ad_box{
    width: 100%;
    margin-bottom: 1.5rem;
}
/* 20260827 活动内容 end */

@media screen and (min-width: 1024px) {
    .detail-float-actions {
        position: fixed;
        top: 40%;
        left: calc(50% - 30rem);
        z-index: 20;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        transform: translateY(-50%);
    }

    .detail-float-action {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .25rem;
        padding: 0;
        border: 0;
        background: transparent;
        color: #1abc9c;
        cursor: pointer;
        font: inherit;
        font-size: .8rem;
        line-height: 1.4;
    }

    .detail-float-action img {
        width: 2.2rem;
        height: 2.2rem;
        margin: 0;
        object-fit: contain;
    }
    /* 20260827 活动内容 start */
    .activity-ad{
        position: fixed;
        top: 30%;
        right: calc(50% - 40rem);
        z-index: 20;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        transform: translateY(-50%);
    }
    .activity-ad .activity-ad-img{
        width: 6.5rem;
        height: auto;
        cursor: pointer;
    }
    .activity-ad .activity-ad-img-close{
        width: 1.2rem;
        height: auto;
        cursor: pointer;
    }
    /* 20260827 活动内容 end */
}
/* 20260815 end */

@media screen and (max-width: 640px) {
    #post .detail-top {
        margin-top: 1.5rem;
        padding: 1.25rem 1rem;
    }

    #post .detail-top h2 {
        font-size: 1.1rem;
    }

    #post .detail-top-row {
        align-items: center;
        padding: .75rem 0;
        font-size: .9rem;
    }

    #post .detail-top-row > div {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    #post .detail-top-note {
        padding: 1rem;
        font-size: .8rem;
    }

    .post-content h2 {
        font-size: 1rem;
    }

    #post .detail-notice {
        padding: 1.5rem 1.25rem;
    }

    #post .detail-notice > h2 {
        font-size: 1.125rem;
    }

    #post .detail-notice-row {
        align-items: flex-start;
        gap: .75rem;
        min-height: 0;
        padding: 1rem;
    }
}

/* 推荐模块 start */
#post .recommendation {
    margin: 1.5rem 0 0;
    padding: 1rem 0;
    border-radius: .375rem;
    background: #f7f7f7;
}

#post .recommendation-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

#post .recommendation-head h2 {
    margin: 0;
    color: #333;
    font-size: inherit;
    font-weight: 600;
    line-height: 1.5;
}

#post .recommendation-refresh {
    flex: 0 0 auto;
    padding: .2rem 0;
    border: 0;
    background: transparent;
    color: #20cbb1;
    font: inherit;
    font-size: .875rem;
    cursor: pointer;
}

#post .recommendation-refresh:hover,
#post .recommendation-refresh:focus {
    color: #1abc9c;
    outline: 0;
}

#post .recommendation-refresh:focus-visible {
    outline: .125rem solid #1abc9c;
    outline-offset: .1875rem;
}

#post .recommendation-refresh-icon {
    display: inline-block;
    width: .875rem;
    height: .875rem;
    margin: 0 0 0 .2rem;
    vertical-align: -.125rem;
}

#post .recommendation-refresh.is-refreshing .recommendation-refresh-icon {
    animation: recommendation-spin .4s linear;
}

#post .recommendation-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

#post .recommendation-card {
    display: block;
    min-width: 0;
    border-bottom: 0;
    color: inherit;
    text-decoration: none;
}

#post .recommendation-card::after {
    display: none;
}

#post .recommendation-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 247 / 114;
    border-radius: .5rem;
    background: #403e3e;
    color: #333;
    font-size: 1rem;
}

#post .recommendation-cover img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}

#post .recommendation-title {
    display: -webkit-box;
    overflow: hidden;
    height: 2.625rem;
    margin-top: .5rem;
    color: #333;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.5;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#post .recommendation-meta {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    margin-top: .35rem;
    color: #888;
    font-size: .75rem;
    line-height: 1.4;
}

#post .recommendation-meta span:last-child {
    margin-left: auto;
    white-space: nowrap;
}

body.theme-dark #post .recommendation {
    background: #242424;
}

body.theme-dark #post .recommendation-head h2,
body.theme-dark #post .recommendation-title {
    color: #f4f4f4;
}

body.theme-dark #post .recommendation-refresh {
    color: #20cbb1;
}

body.theme-dark #post .recommendation-meta {
    color: #aaa;
}

@keyframes recommendation-spin {
    to {
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 767px) {
    #post .recommendation {
        padding: .875rem 0;
    }

    #post .recommendation-head {
        margin-bottom: .875rem;
    }

    #post .recommendation-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem .875rem;
    }

    #post .recommendation-title {
        height: 2.625rem;
        margin-top: .5rem;
        font-size: .875rem;
        line-height: 1.5;
    }

    #post .recommendation-meta {
        margin-top: .375rem;
        font-size: .75rem;
    }
}
/* 推荐模块 end */

/* 上下篇封面 start（同步前端 frontend/web@0b69182） */
#body-bottom .post-near-cover {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 247 / 114;
    margin: .25rem 0;
    border-radius: .125rem;
    object-fit: cover;
}

#body-bottom .post-near .next .post-near-cover {
    margin-left: auto;
}
/* 上下篇封面 end */
