/* common.css · 深色化（保留原布局与 !important，仅映射配色） */
@charset "utf-8";

:root {
    --dialog-z-index: 1000;
    --success-color: #4caf50;
    --error-color: #F44336;
    --animation-duration: 0.3s;
    --border-radius: 8px;
    --shadow-base: 0 4px 12px rgba(0, 0, 0, 0.15);
}

html {
    font-family: "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

address,
applet,
article,
aside,
audio,
blockquote,
body,
canvas,
caption,
dd,
details,
div,
dl,
dt,
embed,
figcaption,
figure,
footer,
h1,
h2,
h3,
h4,
h5,
h6,
header,
html,
iframe,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
progress,
ruby,
section,
summary,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
ul,
video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline
}

li {
    list-style: none
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block
}

audio,
canvas,
progress,
video {
    display: inline-block
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden],
template {
    display: none
}

a {
    background-color: transparent;
    text-decoration: none
}

a:active,
a:hover {
    outline: 0
}

abbr[title] {
    border-bottom: 1px dotted
}

b,
strong {
    font-weight: 700
}

dfn {
    font-style: italic
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400
}

mark {
    background: var(--nc-surface);
    color: var(--nc-text-2)
}

small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -.5em
}

sub {
    bottom: -.25em
}

img {
    border: 0
}

svg:not(:root) {
    overflow: hidden
}

figure {
    margin: 1em 40px
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box
}

pre {
    overflow: auto
}


code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
    outline: 0;
    line-height: normal
}

button {
    overflow: visible
}

button,
select {
    text-transform: none
}

button,
html input[type=button],
input[type=submit],
input[type=reset] {
    -webkit-appearance: button;
    cursor: pointer
}

button[disabled],
html input[disabled] {
    cursor: default
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0
}

input {
    line-height: normal
}

input[type=checkbox],
input[type=radio] {
    box-sizing: border-box;
    padding: 0
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    height: auto
}

input[type=search] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

fieldset {
    border: 1px solid silver;
    margin: 0 2px;
    padding: .35em .625em .75em
}

legend {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto
}

optgroup {
    font-weight: 700
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

td,
th {
    padding: 0
}

em {
    font-style: normal
}

html {
    min-width: 990px
}

body {
    background: var(--nc-surface);
    color: var(--nc-text-2);
    font-size: 16px
}

img {
    width: 100%;
    display: block;
    border-radius: 2px
}

input::input-placeholder {
    color: var(--nc-text)
}

::-webkit-input-placeholder {
    color: var(--nc-text)
}

:-moz-placeholder {
    color: var(--nc-text)
}

::-moz-placeholder {
    color: var(--nc-text)
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: var(--nc-text) !important
}

.header input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff inset
}

.headFix input:-webkit-autofill,
.navSecond input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px rgba(68, 68, 68, .96) inset
}

.headFix .text,
.navSecond .text {
    -webkit-text-fill-color: var(--nc-text)
}

.hidden {
    display: none !important
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ".";
    clear: both;
    height: 0
}

.boxCenter,
.sectionBox {
    width: 1200px;
    margin: auto
}

hr {
    width: 1px;
    height: 10px;
    border: none;
    float: left
}

.bookImg {
    float: left;
    overflow: hidden
}

.bookImg img {
    width: 100%;
    height: 100%;
    transition: transform .3s ease-out
}

.bookImg img:hover {
    transform: scale(1.1)
}

.aboutBox a:hover,
.authorZone:hover,
.friendLink a:hover,
.isLogged a:hover,
.suspend a:hover {
    color: var(--nc-gold) !important
}

.logoWrap {
    height: 68px;
    line-height: 68px !important
}

.logoWrap .logo {
    display: block;
    float: left;
    margin: 5px 0 0 2px
}

.logoWrap .logo img {
    height: 60px;
}

.logoWrap .loginBtn {
    margin-right: 13px
}

.logoWrap form {
    border-radius: 15px;
    margin: 19px 30px 0 0;
    background: var(--nc-surface);
    float: left;
    position: relative
}

.logoWrap .text {
    width: 251px;
    line-height: 30px;
    height: 30px;
    border: 1px solid var(--nc-line);
    border-right: 1px solid var(--nc-line-2);
    font-size: 14px;
    padding: 0 11px 0 14px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    float: left;
    outline: 0
}

.logoWrap .submit {
    position: absolute;
    clip: rect(0 0 0 0);
    right: 0;
    width: 39px;
    height: 32px
}

.logoWrap .searchBtn {
    width: 38px;
    border: 1px solid var(--nc-line);
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    cursor: pointer;
    float: left;
    height: 30px;
    border-left: none;
    background: var(--nc-gold)
}

.logoWrap .searchBtn em {
    display: block;
    background: url(../images/icon.png) 0 -71px no-repeat;
    background-size: 100px 100px;
    width: 20px;
    height: 22px;
    margin: 3px auto auto
}

.logoWrap .searchBtn:hover {
    background: var(--nc-gold)
}

.logoWrap .dlBox {
    position: relative;
    float: left
}

.logoWrap .downLoad {
    color: var(--nc-muted);
    line-height: 24px;
    margin-top: 18px;
    cursor: pointer;
    font-size: 14px
}

.logoWrap .downLoad i {
    display: inline-block;
    background: url(../images/icon.png) 0 -41px no-repeat;
    background-size: 100px 100px;
    width: 21px;
    height: 21px;
    margin-right: 9px;
    position: relative;
    top: 5px
}

.logoWrap .dlCon {
    top: 67px;
    left: -253px
}

.logoWrap hr {
    border-left: 1px solid var(--nc-line-2);
    margin: 29px 20px 0
}

.logoWrap .login {
    float: left;
    font-size: 14px;
    line-height: 68px
}

.logoWrap .login a {
    color: var(--nc-muted);
    padding: 0
}

.logoWrap .login a:hover {
    color: var(--nc-gold)
}

.isLogged {
    float: left
}

.isLogged a {
    font-size: 14px;
    color: var(--nc-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 130px;
    float: left
}

.isLogged img {
    display: inline-block;
    width: 35px;
    height: 35px;
    border-radius: 50px;
    position: relative;
    top: 13px;
    margin-left: 6px
}

.suspend {
    border-radius: 4px;
    background: var(--nc-surface);
    width: 94px;
    padding: 25px 15px;
    position: absolute;
    right: 0;
    top: 66px;
    z-index: 2;
    border: 1px solid var(--nc-line-2)
}
.suspend span {
    display: block;
    line-height: 22px !important;
    font-size: 16px;
    margin-bottom: 17px;
}
.suspend span em {
    color: var(--nc-gold);
    margin-right: 5px;
}
.suspend a {
    font-size: 16px;
    color: var(--nc-text-2) !important;
    line-height: 22px;
    margin-bottom: 17px;
    display: block
}

.suspend .exit {
    margin-bottom: 0
}

.suspend i {
    background: url(../images/iconSm.png) -34px 0 no-repeat;
    background-size: 50px 50px;
    width: 17px;
    height: 9px;
    position: absolute;
    top: -7px;
    right: 8px
}

.logoWrapRt {
    float: right;
    position: relative
}

.dlCon {
    position: absolute;
    width: 339px;
    height: 238px;
    text-align: center;
    background: var(--nc-surface);
    border-radius: 4px;
    z-index: 1000;
    border: 1px solid var(--nc-line-2)
}

.dlCon span {
    font-size: 18px;
    font-weight: 700;
    display: block;
    line-height: 24px;
    margin: 31px 0 21px
}

.dlCon img {
    width: 134.4px;
    margin: auto
}

.dlCon em {
    background: url(../images/icon.png) -77px -89px no-repeat;
    background-size: 100px 100px;
    width: 21px;
    height: 11px;
    position: absolute;
    top: -10px;
    right: 19px
}

.nav {
    background: #2F2F2F
}

.navLi a,
.navList a {
    position: relative
}

.navLi .current,
.navLi a:hover,
.navList .current,
.navList a:hover {
    background: rgba(0, 0, 0, .35)
}

.navLi .current span,
.navList .current span {
    height: 4px;
    position: absolute;
    background: var(--nc-gold);
    border-radius: 2px;
    bottom: 0;
    width: 100%;
    left: 0
}

.navList {
    line-height: 44px
}

.navList a {
    font-size: 16px;
    padding: 0 13px;
    text-align: center;
    color: var(--nc-text);
    float: left;
    margin-right: 20px
}

.navList a:last-child {
    margin-right: 0;
}

.navList .authorZone {
    float: right;
    background: var(--nc-surface);
    color: var(--nc-gold);
    border-radius: 4px;
    padding: 0 13px 0 10px;
    line-height: 30px;
    margin-top: 7px
}

.navList .authorZone i {
    display: inline-block;
    background: url(../images/icon.png) -32px -46px no-repeat;
    background-size: 100px 100px;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    position: relative;
    top: 2.5px
}

.navList .authorZone:hover {
    background: var(--nc-surface)
}

.headFix {
    position: fixed;
    width: 100%;
    z-index: 999;
    transition: .5s all;
    transform: translateZ(10px);
    top: -153px;
    visibility: hidden
}

.headFix .login {
    line-height: inherit
}

.headFix .login a {
    padding: 0
}

.headFix,
.navSecond {
    height: 44px;
    line-height: 44px;
    background: rgba(68, 68, 68, .96);
    box-shadow: 0 3px 7px 0 rgba(0, 0, 0, .35);
    font-size: 14px
}

.headFix .downLoad,
.headFix a,
.navSecond .downLoad,
.navSecond a {
    color: var(--nc-text)
}

.headFix .logo,
.navSecond .logo {
    display: block;
    width: 103px;
    height: 24px;
    float: left;
    margin: 8px 19px 0 0
}

.headFix .logo img,
.navSecond .logo img {
    height: 24px;
    width:auto;
}

.headFix .navLi,
.navSecond .navLi {
    float: left
}

.headFix .navLi a,
.navSecond .navLi a {
    float: left;
    padding: 0 10px;
    line-height: 44px
}

.headFix form,
.navSecond form {
    float: left;
    font-size: 12px;
    border-bottom: 1px solid var(--nc-line-2);
    line-height: 24px;
    width: 183px;
    position: relative;
    margin-top: 10px
}

.headFix form input::input-placeholder,
.navSecond form input::input-placeholder {
    color: var(--nc-text)
}

.headFix form ::-webkit-input-placeholder,
.navSecond form ::-webkit-input-placeholder {
    color: var(--nc-text)
}

.headFix form :-moz-placeholder,
.navSecond form :-moz-placeholder {
    color: var(--nc-text)
}

.headFix form ::-moz-placeholder,
.navSecond form ::-moz-placeholder {
    color: var(--nc-text)
}

.headFix form input:-ms-input-placeholder,
.headFix form textarea:-ms-input-placeholder,
.navSecond form input:-ms-input-placeholder,
.navSecond form textarea:-ms-input-placeholder {
    color: var(--nc-text) !important
}

.headFix form .text,
.navSecond form .text {
    padding: 5px 0;
    background: rgba(68, 68, 68, .1);
    border: none;
    width: 160px;
    outline: 0
}

.headFix form .submit,
.navSecond form .submit {
    position: absolute;
    clip: rect(0 0 0 0);
    right: 0
}

.headFix form .searchBtn,
.navSecond form .searchBtn {
    cursor: pointer;
    float: right
}

.headFix form .searchBtn em,
.navSecond form .searchBtn em {
    display: block;
    background: url(../images/icon.png) -29px -71px no-repeat;
    background-size: 100px 100px;
    width: 18px;
    height: 22px;
    margin: 3px auto auto
}

.headFix .authorZone,
.navSecond .authorZone {
    float: left
}

.headFix .authorZone i,
.navSecond .authorZone i {
    display: inline-block;
    background: url(../images/icon.png) -79px -67px no-repeat;
    background-size: 100px 100px;
    width: 15px;
    height: 15px;
    margin-right: 6px;
    position: relative;
    top: 2.5px
}

.headFix hr,
.navSecond hr {
    border-left: 1px solid var(--nc-line-2);
    margin: 17px 20px 0
}

.headFix .dlBox,
.navSecond .dlBox {
    position: relative;
    float: left
}

.headFix .dlCon,
.navSecond .dlCon {
    top: 44px;
    left: -280px
}

.headFix .login,
.navSecond .login {
    float: left
}

.headFix .loginBtn,
.navSecond .loginBtn {
    margin-right: 13px
}

.headFix .isLogged img,
.navSecond .isLogged img {
    top: 7px;
    width: 24px;
    height: 24px
}

.headFix .suspend,
.navSecond .suspend {
    top: 44px
}

.headFix .suspend i,
.navSecond .suspend i {
    top: -8px
}

.show {
    visibility: visible;
    top: 0
}


.footer {
    background: var(--nc-surface)
}

.foot {
    padding: 30px 0 33px;
    font-size: 12px;
    color: var(--nc-muted);
    line-height: 24px;
    position: relative
}

.foot .aboutBox,
.foot .friendLink {
    margin-bottom: 30px
}

.foot .friendLink a,
.foot .friendLink span {
    color: var(--nc-muted);
    float: left
}

.foot .friendLink a {
    margin-right: 10px
}

.foot .aboutTd {
    color: var(--nc-muted)
}

.foot .aboutTd span {
    display: block
}

.foot .aboutTd i {
    display: inline-block;
    background: url(../images/icon.png) -86px -25px no-repeat;
    background-size: 100px 100px;
    width: 15px;
    height: 16px;
    position: relative;
    top: 3.5px
}

.foot .aboutTd a {
    color: var(--nc-muted)
}

.foot .aboutBox a {
    float: left;
    color: var(--nc-muted)
}

.foot .aboutBox hr {
    margin: 0 8px;
    float: left;
    border-left: 1px solid var(--nc-line);
    position: relative;
    top: 6px
}

.foot .service a {
    float: inherit;
    color: var(--nc-blue)
}

.foot .service a:hover {
    color: var(--nc-blue) !important
}

.foot .service span {
    margin-right: 45px
}

.foot .codeBox {
    font-size: 12px;
    color: var(--nc-muted);
    text-align: center;
    position: absolute;
    right: 0;
    top: 60px
}

.foot .codeBox div {
    float: left;
    margin-left: 20px
}

.foot .codeBox img {
    width: 120px;
    height: 120px
}

.headerSecondary {
    line-height: 67px;
    height: 67px
}

.headerSecondary .rt {
    float: right
}

.headerSecondary .login {
    color: var(--nc-blue);
    font-size: 14px
}

.headerSecondary .logo {
    display: block;
    background: url(../images/logo01.png) no-repeat;
    width: 204px;
    height: 43px;
    float: left;
    margin-top: 13px
}

.headerSecondary .back {
    font-size: 14px;
    color: var(--nc-muted)
}

.headerSecondary .back i {
    display: inline-block;
    background: url(../images/iconSm.png) no-repeat;
    background-size: 50px 50px;
    width: 7px;
    height: 12px;
    margin-left: 5px
}

.headerSecondary .czmm {
    margin: 19px 0 0 10px;
    font-size: 20px;
    float: left;
    line-height: 31px;
    border-left: 1px solid var(--nc-line);
    padding-left: 10px
}

.headerSecondary hr {
    float: none;
    margin: 0 10px;
    display: inline-block;
    background: 1px rgba(0, 0, 0, .15)
}

@media (max-width: 1200px) {

    .boxCenter,
    .sectionBox {
        width: 990px
    }

    .headFix hr {
        margin: 17px 10px 0
    }

    .isLogged a {
        max-width: 75px
    }
}

.loginBtn {
    cursor: pointer
}

.box_shadow_bg {
    width: 100%;
    height: 100%;
    background-color: #000;
    background-color: rgba(0, 0, 0, .6);
    filter: alpha(opacity=60);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1001
}

img {
    border-radius: 0
}

input::input-placeholder {
    color: var(--nc-muted)
}

::-webkit-input-placeholder {
    color: var(--nc-muted)
}

:-moz-placeholder {
    color: var(--nc-muted)
}

pswdTab ::-moz-placeholder {
    color: var(--nc-muted)
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: var(--nc-muted) !important
}


.dialog-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: var(--dialog-z-index);
    opacity: 0;
    
    transition: opacity var(--animation-duration) cubic-bezier(0.4, 0, 0.2, 1), transform translateZ(0);
}


.dialog-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    
    background: var(--nc-surface);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-base);
    z-index: calc(var(--dialog-z-index) + 1);
    opacity: 0;
    animation: modalIn var(--animation-duration) ease-out forwards;
    transition: opacity var(--animation-duration) ease-out, transform var(--animation-duration) cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate3d(-50%, -60%, 0) scale(0.98);
}


.dialog-close {
    position: absolute;
    top: 16px;
    right: 16px;
    cursor: pointer;
    font-size: 24px;
    color: var(--nc-muted);
    
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}


.dialog-modal div[style*="text-align: center"] {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--nc-text-2);
    font-weight: 500;
}

.dialog-modal p[style*="text-align: center"] {
    font-size: 16px;
    color: var(--nc-muted);
    line-height: 1.6;
    margin: 25px 0;
}


.dialog-modal div[style*="text-align: center; margin-top: 20px;"] {
    display: flex;
    gap: 12px;
    justify-content: center;
}


.dialog-modal button {
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    min-width: 80px;

    &:first-child {
        background: var(--nc-gold);
        color: var(--nc-text);

        &:hover {
            background: var(--nc-gold);
        }
    }

    &:last-child {
        background: var(--nc-surface);
        border: 1px solid var(--nc-line-2);
        color: var(--nc-text-2);

        &:hover {
            border-color: var(--nc-line-2);
            background: var(--nc-surface);
        }
    }
}


.dialog-toast {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 8px;
    z-index: 9999;
    pointer-events: none; 
    animation: toastFloat 3s ease-in-out;
}


.dialog-toast-icon {
    animation: iconPulse 0.6s ease-in-out both;
}

@keyframes toastFloat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -55%) scale(1.02); }
}

@keyframes iconPulse {
    0% { transform: scale(0.9); opacity: 0; }
    70% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}


@keyframes modalIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}




@media (hover: none) and (pointer: coarse) {
    .dialog-modal {
        width: 90vw;
        
        max-width: 400px;
        padding: 18px;
    }

    .dialog-close {
        top: 12px;
        right: 12px;
        font-size: 20px;
    }

    
    .dialog-modal * {
        -webkit-touch-callout: none;
        user-select: none;
    }
}


.dialog-modal.active {
    opacity: 1;
    transform:
        translate3d(-50%, -50%, 0) scale(1);
}

.dialog-toast.active {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0);
}

.pagination, .pager {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
    gap: 5px;
}


.pagination li, .pager li {
    margin: 0 2px;
    border-radius: 4px;
    transition: all 0.3s ease;
}


.pagination li a, 
.pagination li span,
.pager li a, 
.pager li span {
    display: block;
    min-width: 36px;
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
    color: var(--nc-muted);
    border: 1px solid var(--nc-line-2);
    background: var(--nc-surface);
    border-radius: 4px;
}


.pagination li.active span, .pager li.active span {
    background: var(--nc-blue);
    border-color: var(--nc-blue);
    color: var(--nc-text);
    font-weight: 500;
}


.pagination li:not(.disabled):not(.active):hover, .pager li:not(.disabled):not(.active):hover {
    transform: translateY(-2px);
}
.pagination li:not(.disabled):not(.active) a:hover, .pager li:not(.disabled):not(.active) a:hover {
    background: var(--nc-surface);
    border-color: var(--nc-blue);
    color: var(--nc-blue);
}


.pagination li.disabled span, .pager li.disabled span {
    background: var(--nc-surface);
    color: var(--nc-text);
    cursor: not-allowed;
}


.pagination li:first-child a,
.pagination li:last-child a,
.pager li:first-child a,
.pager li:last-child a {
    font-weight: bold;
    font-size: 1.1em;
}


.pagination li.disabled span[aria-hidden="true"], .pager li.disabled span[aria-hidden="true"] {
    border: none;
    background: transparent;
    min-width: auto;
}