:root {
    --default-screen-max-width: 20rem;
    --default-screen-min-width: 0;
    --default-content-max-width: 20rem;
    --van-font-size-md: 0.8rem;
    --van-toast-font-size: 1.5rem;
    --van-nav-bar-title-text-color: #ffffff;
    --van-nav-bar-title-font-size: 0.7815rem;
    --van-nav-bar-height: 3.4375rem;
    --van-nav-bar-background: #303030;
    --van-border-width: 0;
    --van-padding-md: 1.2rem;
    --van-nav-bar-z-index: 100;
    --van-line-height-lg: 2.2rem;
    --van-font-bold: 400;
    --van-tabbar-height: 3.265625rem;
    --van-tabbar-item-font-size: 0.9rem;
    --van-tabbar-item-text-color: #4970f5;
    --van-tabbar-background: #272727;
}

.is-mobile {
    display: block;
}

.is-desktop {
    display: none;
}

.no-menu {
    display: none !important;
}

[class^="xqbj-icon-"] {
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.text-line-ellipsis-1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-all;
}

.xqbj-icon-back {
    width: 1.625rem;
    height: 1.625rem;
    background-image: url(/usr/themes/Mirages/css/7.10.0/icon-back@3x.png);
}

.xqbj-icon-search {
    width: 1.625rem;
    height: 1.625rem;
    background-image: url(/usr/themes/Mirages/css/7.10.0/search@3x.png);
}

.xqbj-icon-search1 {
    width: 1.25rem;
    height: 1.25rem;
    background-image: url(/usr/themes/Mirages/css/7.10.0/search@3x.png);
}

.nav-link .xqbj-icon-toggle {
    width: 0.9375rem;
    height: 0.9375rem;
    background-image: url(/usr/themes/Mirages/css/7.10.0/icon-down@3x.png);
}

.nav-link.show .xqbj-icon-toggle,
.nav-link .xqbj-icon-up {
    width: 0.9375rem;
    height: 0.9375rem;
    background-image: url(/usr/themes/Mirages/css/7.10.0/icon-up@3x.png);
}

.nav-search-container {
    display: flex;
    align-items: center;
    background-color: #222222;
    border-radius: 1.1rem;
    padding: 0;
    margin: 0;
    box-shadow: 0 0 0.05rem 0 rgba(0, 0, 0, 0.2);
}

nav.xqbj-header .nav-search-container {
    display: flex;
    align-items: center;
    background-color: #222222;
    border-radius: 1.1rem;
    padding: 0 0.25rem;
    margin: 0;
    position: relative;
    box-shadow: 0 0 0.05rem 0 rgba(0, 0, 0, 0.2);
    height: 2.1875rem;
}

.nav-search-container .input-control {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.875rem;
    color: #ffffff;
    width: calc(100% - 1.875rem);
}

.nav-search-container .nav-search-list {
    display: block;
}

.nav-search-container .container-hot-search,
.nav-search-container .container-list-search {
    background-color: #222222;
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 0;
    top: 1rem;
    left: 0;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 0 0.25rem 0 rgba(0, 0, 0, 0.2);
}

nav .nav-search-container .container-hot-search,
#xqbj-container .nav-search-container .container-hot-search {
    height: initial;
    overflow: hidden;
}

nav .nav-search-container.expand .input-control:placeholder-shown + .nav-search-list .container-list-search {
    height: 0;
    overflow: hidden;
}

nav .nav-search-container.expand .input-control:not(:placeholder-shown) + .nav-search-list .container-list-search {
    height: initial;
    width: 100%;
    overflow: auto;
    border-radius: 0.5rem;
}

.nav-search-container .container-hot-search .container-search-context,
.nav-search-container .container-list-search .container-search-context {
    max-width: 100%;
    margin: 1rem auto;
    padding: 1rem;
    max-height: 80vh;
    overflow-y: auto;
}

.nav-search-container .container-search-context .search-container {
    padding-top: 0.8rem;
    min-width: 100%;
}

.nav-search-container .search-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0.975rem;
    font-size: 0.9375rem;
    color: #888888;
    border-bottom: 0.05rem solid #ffffff19;
    font-weight: 500;
}

.nav-search-container .search-title span,
.nav-search-container .search-title .r-text {
    display: flex;
    align-items: center;
}

.nav-search-container .search-title .r-text {
    font-size: 0.75rem;
    cursor: pointer;
}

.nav-search-container .container-search-tags {
    margin: 0.975rem 0 0.35rem;
    min-height: 3rem;
}

.nav-search-container .history-record {
    display: flex;
    flex-wrap: wrap;
}

.nav-search-container .history-record a {
    background: rgba(50, 118, 255, 0.05);
    width: fit-content;
    min-width: 4rem;
    max-width: 100%;
    height: 1.5625rem;
    line-height: 1.5625rem;
    padding: 0 0.9rem;
    text-align: center;
    margin: 0 0.935rem 0.625rem 0;
    border: 0.05rem solid #bababa;
    font-size: 0.8125rem;
    color: #bababa;
    border-radius: 0.31rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-search-container .rank-list {
    margin-top: 1rem;
    min-height: 8rem;
}

.nav-search-container .rank-card {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    color: #ffba00;
    padding: 0 0 0.665625rem;
    line-height: 0.75rem;
}

.nav-search-container .rank-card .rank-card-icon {
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #888888;
    font-size: 0.9375rem;
    font-weight: 500;
}

.nav-search-container .rank-card .rank-card-title {
    flex: 1;
    font-size: 0.875rem;
    line-height: 1rem;
    color: #c9c9c9;
}

nav.xqbj-header {
    height: var(--van-nav-bar-height);
    display: flex;
}

nav.xqbj-header .van-nav-bar {
    max-width: 100vw;
    z-index: var(--van-nav-bar-z-index);
    background: var(--van-nav-bar-background);
    user-select: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

nav.xqbj-header .van-nav-bar .van-nav-bar__content {
    position: relative;
    display: flex;
    align-items: center;
    height: var(--van-nav-bar-height);
}

nav.xqbj-header .backbtn {
    padding: 0 0.9625rem 0 0.915625rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    font-size: var(--van-font-size-md);
    z-index: var(--van-nav-bar-z-index);
    line-height: var(--van-line-height-lg);
    text-align: center;
    background: var(--van-nav-bar-background);
    user-select: none;
    left: 0.5rem;
}

nav.xqbj-header .nav-bar-title {
    width: 85%;
    max-width: 100%;
    margin: 0 auto;
    color: var(--van-nav-bar-title-text-color);
    font-weight: var(--van-font-bold);
    font-size: var(--van-nav-bar-title-font-size);
    border-radius: 6rem;
}

nav.xqbj-header .van-haptics-feedback {
    position: inherit;
    padding: 0;
    display: block;
    top: inherit;
    bottom: inherit;
}

nav.xqbj-header .search-btn-m {
    width: 3.5rem;
    height: 1.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: #fff;
    cursor: pointer;
    background: #414141;
    border-radius: 1.875rem;
}

#footer .protocol {
    padding: 0 0 1.875rem;
}

#footer .protocol a {
    color: #939292;
    font-weight: 500;
    font-size: 0.875rem;
}

.navbar-nav {
    width: 100%;
}

.navbar-expand-md .navbar-nav {
    width: auto;
}

.navbar-expand-md .navbar-collapse {
    width: 100%;
}

.navbar-brand.text-brand {
    width: auto;
    height: 2.25rem;
    padding: 0;
}

.navbar-brand.text-brand > img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

.navbar > .container-fluid {
    width: 92rem;
}

header {
    height: var(--van-tabbar-height);
}

.navbar-sidebar {
    position: fixed;
    width: 100%;
    height: var(--van-tabbar-height);
    z-index: 11;
    top: 0;
    left: 0;
    right: 0;
    background-color: #303030;
    display: flex;
    align-items: center;
}

.navbar-sidebar img,
.sidebar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#wrap.display-nav .navbar-sidebar {
    transform: translateX(17.5rem);
}

.navbar-sidebar .navbar-sidebar-item {
    height: 3rem;
    display: flex !important;
    justify-content: space-evenly;
    align-items: center;
}

.navbar-sidebar .navbar-sidebar-item.black {
    margin: 0 0 0 0.6rem;
    width: 4rem;
}

.navbar-sidebar .navbar-sidebar-item.black > div {
    display: flex !important;
    align-items: center;
    background-color: #ffffff14;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    width: 4.28125rem;
    height: 1.625rem;
    justify-content: center;
    font-size: 0.78125rem;
    white-space: nowrap;
}

.navbar-sidebar .navbar-sidebar-item.black .img-black {
    width: 1rem;
    height: 1rem;
}

.navbar-sidebar .navbar-sidebar-item.logo {
    flex: 1;
}

.navbar-sidebar .navbar-sidebar-item.logo .img {
    width: auto;
    height: 2rem;
    display: block;
}

.navbar-sidebar .navbar-sidebar-item.btns {
    padding-right: 0.6rem;
}

.navbar-sidebar .navbar-sidebar-item .search {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 0.6rem 0 0;
}

.navbar-sidebar .navbar-sidebar-item .search .img {
    width: 1.625rem;
    height: 1.625rem;
}

.navbar-header.author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 1.405625rem;
}

.navbar-header .logo {
    width: 5.525rem;
    height: 1.625rem;
    display: block;
}

.navbar-header .close {
    width: 1.59375rem;
    height: 1.59375rem;
}

#nav .author img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: initial;
}

#nav .search-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

#nav .search-box .search {
    width: 14.0625rem;
    height: 2.1125rem;
    padding: 0 0.8rem;
    display: flex;
    align-items: center;
    background-color: #222222;
    color: #888888;
    font-size: 0.875rem;
    border-radius: 0.5rem;
}

#nav .search-box .search .img {
    width: 1.625rem;
    height: 1.625rem;
}

#nav .menu {
    width: 14.0625rem;
    margin: 0 auto;
}

#nav .menu li {
    background-color: #222222;
    margin: 0 0 0.625rem;
    border-radius: 0.6875rem;
}

#nav .menu li.dropdown-item {
    background-color: #1b1b1b;
    margin: 0 0 0.625rem;
    border-radius: 0.5rem;
}

#nav .menu li.dropdown-item:last-child {
    margin: 0;
}

#nav #menu-menu-1 li a {
    text-align: left;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1.03125rem;
    text-transform: none;
    padding: 0 0.75rem 0 1.25rem;
    height: 2.5rem;
    line-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#nav #menu-menu-1 .dropdown-menu.show li a {
    color: #c9c9c9 !important;
    font-size: 0.9375rem;
    font-weight: 500;
}

body.theme-dark .dropdown-menu {
    padding: 0.5rem 0 0;
    background-color: #191919;
}

body.theme-dark .dropdown-menu.show,
body.theme-dark .dropdown-menu.show .dropdown-item {
    background-color: #1b1b1b;
}

body.desktop #nav .menu li a:hover,
body.mobile #nav .menu li a:active {
    border-radius: 0.5rem;
}

.dropdown-toggle::after,
.mr-auto .dropdown-toggle::after {
    content: none;
}

body.theme-dark .mr-auto .dropdown-menu.show {
    background-color: #222222;
    border-radius: 0.5rem;
    overflow: auto;
    left: 50%;
    transform: translateX(-50%);
}

body.theme-dark .navbar-color .navbar-nav .nav-link {
    width: 100%;
    min-width: 4rem;
    max-width: 6.5rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    font-size: 0.9375rem;
    color: #ffffff;
}

body.theme-dark .mr-auto .dropdown-menu.show .dropdown-item {
    background-color: #222222;
    height: 3.125rem;
}

body.use-navbar .mr-auto .dropdown-menu {
    padding: 0;
}

body.use-navbar .mr-auto .dropdown-item > a {
    width: 100%;
    height: 100%;
    padding: 0.25rem 1.5rem;
    clear: both;
    color: #c9c9c9;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#nav-toolbar .side-toolbar {
    background: #161616;
}

#nav-toolbar .side-toolbar .side-toolbar-list li a {
    height: initial;
    width: initial;
    line-height: initial;
    border-radius: initial;
    font-size: 0.625rem;
    background: initial;
    color: #ccc;
    vertical-align: middle;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#nav-toolbar .side-toolbar .side-toolbar-list li a:hover {
    background: #161616;
}

#nav-toolbar .side-toolbar .side-toolbar-list li a .icon {
    width: 1.5625rem;
    height: 1.5625rem;
}

#nav-toolbar .side-toolbar .side-toolbar-list li a .text {
    color: #ffffff;
    margin: 0.3125rem 0 0;
}

#navbar .navbar-nav.side-toolbar-list li img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#navbar .navbar-nav.side-toolbar-list li button img {
    border-radius: 50%;
}

#navbar .navbar-nav.side-toolbar-list li .user_target img,
#navbar .navbar-nav.side-toolbar-list li .user_menu img {
    width: auto;
    height: auto;
    object-fit: contain;
}

#navbar .navbar-nav.side-toolbar-list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: initial;
}

#navbar .navbar-nav.side-toolbar-list li > button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    width: 2.5rem;
    line-height: 2.5rem;
    border-radius: 100%;
    font-size: .75rem;
    background: #2c2a2a;
    color: #ccc;
    border: none;
    vertical-align: middle;
}

#navbar .navbar-nav.side-toolbar-list li > a:hover {
    background: #1f1e1e;
    color: #333;
}

#navbar .navbar-nav.side-toolbar-list li a .icon {
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .is-mobile {
        display: none;
    }

    .is-desktop {
        display: block;
    }

    #xqbj-container > .is-mobile {
        display: none !important;
    }

    #xqbj-container > .is-desktop {
        display: block !important;
    }

    header {
        height: 0;
    }

    .xqbj-icon-search {
        width: 1.25rem;
        height: 1.25rem;
    }

    .xqbj-icon-search1 {
        width: 1.875rem;
        height: 1.875rem;
    }

    .container {
        background-color: initial;
        padding-left: 0.625rem;
        padding-right: 0.625rem;
    }

    .nav-search-container {
        display: flex;
        align-items: center;
        background-color: #2c2a2a;
        height: 100%;
        border-radius: 1.1rem;
        padding: 0 0.25rem 0 1rem;
        margin: 0;
        box-shadow: 0 0 0.05rem 0 rgba(0, 0, 0, 0.2);
        width: 100%;
    }

    .nav-search-container .nav-search-list {
        display: none;
    }

    nav .nav-search-container {
        display: flex;
        align-items: center;
        background-color: #222222;
        height: 2.5rem;
        width: 2.5rem;
        border-radius: 100%;
        padding: 0 0.65rem;
        margin: 0;
        box-shadow: 0 0 0.05rem 0 rgba(0, 0, 0, 0.2);
        max-width: 30rem;
        position: relative;
    }

    nav .nav-search-container:hover {
        background-color: #1f1e1e;
    }

    nav .nav-search-container.expand {
        display: flex;
        align-items: center;
        background-color: #222222;
        height: 2.5rem;
        width: 100%;
        border-radius: 1.1rem;
        padding: 0 0.25rem 0 1rem;
        margin: 0;
        box-shadow: 0 0 0.05rem 0 rgba(0, 0, 0, 0.2);
        max-width: 30rem;
        position: relative;
        z-index: 1000;
    }

    nav .nav-search-container.expand .xqbj-icon-search {
        width: 1.875rem;
        height: 1.875rem;
    }

    .nav-search-container .input-control {
        flex: 1;
        background: transparent;
        border: none;
        outline: none;
        font-size: 0.9375rem;
        color: #ffffff;
        width: 100%;
    }

    .nav-search-container.expand .nav-search-list {
        position: absolute;
        top: 1.5rem;
        left: 0;
        display: block;
        z-index: -1;
        height: 100vh;
        width: 100%;
    }

    nav .nav-search-container .container-hot-search {
        background-color: #222222;
        position: absolute;
        z-index: -1;
        width: 100%;
        height: 0;
        top: 0;
        left: 0;
        overflow: hidden;
        border-radius: 0.5rem;
    }

    .nav-search-container.expand .container-hot-search {
        height: initial;
        overflow: auto;
    }

    .nav-search-container.expand .input-control:placeholder-shown + .nav-search-list .container-hot-search {
        height: initial;
        overflow: auto;
    }

    .nav-search-container.expand .input-control:placeholder-shown + .nav-search-list .container-list-search {
        height: 0;
        overflow: hidden;
    }

    .nav-search-container.expand .input-control:not(:placeholder-shown) + .nav-search-list .container-hot-search {
        height: 0;
        overflow: hidden;
    }

    .nav-search-container.expand .input-control:not(:placeholder-shown) + .nav-search-list .container-list-search {
        height: initial;
        overflow: auto;
    }

    .navbar-brand.text-brand {
        width: 7.9rem;
        padding: 0;
    }

    .navbar > .container-fluid {
        width: 92rem;
    }

    body.theme-dark #body {
        background-color: #262626 !important;
    }

    body.use-navbar #masthead .inner {
        background-color: #303030;
    }
}
