.wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    top: -8px;
    left: 8px;
    overflow: hidden;
    font-size: 17px;
    font-weight: 400;
    color: #fff;
    opacity: 0.6;
    -webkit-transition: .3s ease all;
    -moz-transition: .3s ease all;
    -ms-transition: .3s ease all;
    -o-transition: .3s ease all;
    transition: .3s ease all;
}

.wrap:hover {
    opacity: 0.9;
}

.wraps {
    display: inline-block;
    text-align: center;
    width: 200px;
    height: 30px;
    line-height: 27px;
    position: absolute;
    top: 30px;
    right: -50px;
    z-index: 2;
    overflow: hidden;
    transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    border: 1px dashed;
    box-shadow: 0 0 0 1px #000, 0px 21px 5px -18px rgba(0, 0, 0, 0.6);
    background: rgb(1, 132, 127);
}

/* 20260828-web帖子标题位置优化 start */
body.card #index article .post-card-mask,
body.card #archive article .post-card-mask {
    background: rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 10;
    display: table;
    vertical-align: middle;
    width: 100%;
    height: 15.5rem;
}

body.card #index article .post-card-container,
body.card #archive article .post-card-container {
    padding: 2rem 2rem;
    text-align: center;
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

body.card #index article .post-card-bottom,
body.card #archive article .post-card-bottom {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

body.card #index article .post-card-info,
body.card #archive article .post-card-info {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
    line-height: 1.33;
    padding: 0 0.6rem;
    margin-bottom: 0.5rem;
}

body.card #index article .post-card-title,
body.card #archive article .post-card-title {
    text-align: left;
    line-height: 1.8rem;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.2px;
    color: #fff;
    color: #fff;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

body.card #index article .post-card-t-box,
body.card #archive article .post-card-t-box {
    padding: 0.6rem 0.6rem;
    background-color: rgba(0, 0, 0, 0.5);
}

@media screen and (max-width:700px) {
    body.card #index article .post-card-title,
    body.card #archive article .post-card-title {
        font-size: 1rem !important;
        line-height: 1.5rem;
    }
}
/* 20260828-web帖子标题位置优化 end */

.flash {
    font-weight: bold;
    font-size: calc(10px + 4vh);
    line-height: calc(10px + 6.6vh);
    text-shadow: 0 0 5px #ffa500, 0 0 15px #ffa500, 0 0 20px #ffa500, 0 0 40px #ffa500, 0 0 60px #ff0000, 0 0 10px #ff8d00, 0 0 98px #ff0000;
    color: #fff6a9;
    font-family: "Sacramento", cursive;
    text-align: center;
    animation: blink 1s infinite;
    -webkit-animation: blink 1s infinite;
    margin: 1rem 0;
}
.bling{text-align:center;margin: 2rem 0;}
.bling1 {
    margin: 0;
    padding: 0;
    color: white;
    display: inline-block;
    font-size: 2.3rem;;
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073;
}

/* 劫持兼容 start */
.defaultimg, .dx-tag-div:has(> img:not([src])), .dx-tag-div:has(> img.loading), a:has(> img:not([src])), a:has(> img.loading) {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-nav.side-toolbar-list .dx-tag-li {
    position: relative;
    display: inline-block;
    margin: 0 .25rem;
}

.navbar-nav.side-toolbar-list .dx-tag-li a {
    display: inline-block;
    height: 2.5rem;
    width: 2.5rem;
    line-height: 2.5rem;
    border-radius: 100%;
    font-size: .75rem;
    background: #2c2a2a;
    color: #ccc;
    vertical-align: middle;
    -webkit-transition: 0.3s ease all;
    -moz-transition: 0.3s ease all;
    -ms-transition: 0.3s ease all;
    -o-transition: 0.3s ease all;
    transition: 0.3s ease all;
}

.navbar-nav.side-toolbar-list .dx-tag-li a i {
    font-size: .9rem;
    line-height: 2.5rem;
}

.page-navigator > .dx-tag-li {
    display: none;
}

.page-navigator > .next {
    display: inline-block;
    float: right;
}

/* Keep pagination stable when total page text is very long, e.g. 1/222222222 */
.page-jump #pageForm {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    gap: .4rem;
}

.page-jump .page-info {
    display: inline-block;
    max-width: 8.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 0 1 auto;
}

.page-jump input {
    flex: 0 0 4rem;
}

.page-jump button {
    flex: 0 0 auto;
}

@media (max-width: 767px) {
    .page-jump {
        max-width: calc(100% - 7rem);
    }

    .page-jump .page-info {
        max-width: 5.5rem;
    }
}

@media (max-width: 767px) {
    :where(.dx-tag-div, .dx-tag-p, .dx-tag-ol, .dx-tag-ul, .dx-tag-li) {
        /* all: unset; */
        margin: 0;
        padding: 0;
        -webkit-text-size-adjust: 100%;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    body.not-safari #nav .menu .dx-tag-li a, body.not-safari .blog-title {
        font-weight: 400;
    }

    #nav .menu .dx-tag-li a {
        padding: 0.375rem 1.75rem;
        position: relative;
        line-height: 2.25rem;
        color: #9ba3ad;
        display: block;
        font-size: 1.25rem;
        text-align: center;
        font-weight: 400;
        -webkit-transition: color 0.2s linear;
        -moz-transition: color 0.2s linear;
        -ms-transition: color 0.2s linear;
        -o-transition: color 0.2s linear;
        transition: color 0.2s linear;
    }

    body.theme-dark #nav .menu .dx-tag-li a {
        color: #ccc !important;
    }

    body.not-safari #nav .menu .dx-tag-li a {
        font-size: 1.125rem;
        line-height: 2rem;
    }

    #nav-toolbar .side-toolbar .side-toolbar-list .dx-tag-li {
        display: inline-block;
        margin: 0 .25rem;
        line-height: 3.625rem;
    }

    #nav-toolbar .side-toolbar .side-toolbar-list .dx-tag-li a {
        display: inline-block;
        height: 2.5rem;
        width: 2.5rem;
        line-height: 2.5rem;
        border-radius: 100%;
        font-size: .75rem;
        background: #2c2a2a;
        color: #ccc;
        vertical-align: middle;
        -webkit-transition: 0.3s ease all;
        -moz-transition: 0.3s ease all;
        -ms-transition: 0.3s ease all;
        -o-transition: 0.3s ease all;
        transition: 0.3s ease all;
    }
}
/* 劫持兼容 end */

/* 广告位样式 */
.txt-apps { display: flex; flex-wrap: wrap; row-gap: 1rem; margin-bottom: 1rem; justify-content: flex-start; }
.txt-apps a { box-sizing: border-box; overflow: hidden; text-align: center; text-overflow: ellipsis; vertical-align: top; white-space: nowrap; margin-left: 0; width: calc(25% - .6rem); margin-right: .75rem; color: #bcbcbc !important; border: 1px solid #5e5c5c; border-radius: 4px; padding: .5rem 0; }
.txt-apps a:nth-child(4n) { margin-right: 0; }
.txt-apps a:hover { color: #1abc9c !important; border-color: #1abc9c; border-bottom-color: #1abc9c !important; }
@media (max-width: 767px) { .article-ads-btn a, .txt-apps a{ font-size: .9rem; } }
@media (max-width: 414px) { .article-ads-btn a, .txt-apps a { font-size: .75rem; } }
@media (max-width: 390px) { .article-ads-btn a, .txt-apps a { font-size: .75rem; } }
@media (max-width: 375px) { .article-ads-btn a, .txt-apps a { font-size: .65rem; } }

.article-bottom-apps { display: flex; flex-wrap: wrap; }
.article-bottom-apps .btn-app { width: 10%; display: flex; flex-direction: column; justify-content: center; border-bottom-color: transparent !important; margin-bottom: 1rem; align-items: center; }
.article-bottom-apps .btn-app:after { border-bottom: none !important; }
.article-bottom-apps .btn-app img { margin-top: 0 !important; margin-bottom: .3rem !important; border-radius: .625rem; max-width: 55%; }
.article-bottom-apps .btn-app span { font-size: .65rem; color: #bcbcbc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; width: 100% }
@media (max-width: 767px) { .article-bottom-apps .btn-app { width: 20%; } .article-bottom-apps .btn-app img { width: 70%; } }
@media (max-width: 414px) { .article-bottom-apps .btn-app span { font-size: 0.725rem; } }
@media (max-width: 390px) { .article-bottom-apps .btn-app span { font-size: 0.625rem; } }

.line { width: 100%; height: 1px; background-color: #444444; margin: 1rem 0; }
@media (max-width: 767px) { .line { margin: .5rem 0; } }

.horizontal-banner { display: flex; flex-direction: column; padding: .5rem 0; }
.horizontal-banner a { flex: 1; margin-bottom: .5rem; }
@media (max-width: 767px) { .horizontal-banner a { margin-bottom: .2rem; } }
.horizontal-banner a:last-child { margin-bottom: 0; }
.horizontal-banner a img { width: 100%; }

@media (min-width: 768px) {
    #navbar .navbar-nav.mr-auto #more-menu-dropdown.dropdown-toggle::after {
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: 6px;
        vertical-align: middle;
        content: "";
        border-top: 6px solid #eaeaea;
        border-right: 6px solid transparent;
        border-bottom: 0;
        border-left: 6px solid transparent;
    }
}

/* Breadcrumb fix: keep link style consistent on archive/category pages */
.xqbj-breadcrumb {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.xqbj-breadcrumb .xqbj-breadcrumb-item,
.xqbj-breadcrumb .xqbj-breadcrumb-splitter {
    display: inline-flex;
    width: auto;
    flex: 0 0 auto;
}

.xqbj-breadcrumb .xqbj-breadcrumb-item > a {
    color: var(--color);
    text-decoration: none;
}

/* H5: avoid category description being covered at top on archive pages */
@media (max-width: 767.98px) {
    h2.archive-title.archive-title-category {
        display: block !important;
    }
    .archive-description.blog-description {
        margin: .65rem auto 1rem !important;
        padding-top: .25rem !important;
    }
    .xqbj-breadcrumb-container {
        margin-top: 0 !important;
        padding-top: .25rem !important;
    }
}

/* Official badge: authenticated accounts have a non-zero comment authorId. */
#comments .comment-body.comment-official > .comment-author cite.fn {
    display: inline-flex;
    align-items: center;
}

#comments .comment-body.comment-official > .comment-author cite.fn::after {
    content: none;
}

#comments .comment-body.comment-official > .comment-author .comment-official-badge {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    flex-shrink: 0;
    object-fit: contain;
    vertical-align: middle;
}

@media (min-width: 768px) {
    #comments .comment-body.comment-official > .comment-author cite.fn {
        gap: 7px;
    }

    #comments .comment-body.comment-official > .comment-author .comment-official-badge {
        width: 76px;
        height: 28px;
    }
}

@media (max-width: 767.98px) {
    #comments .comment-body.comment-official > .comment-author cite.fn {
        gap: 6px;
    }

    #comments .comment-body.comment-official > .comment-author .comment-official-badge {
        width: 38px;
        height: 14px;
    }
}
