/*by:kashangyun.com*/

:root {
    --text-1: #18191c;
    --text-2: #61666d;
    --text-3: #9499a0;
    --text-4: #c9ccd0;
    --bg-1: #fff;
    --bg-2: #f6f7f8;
    --bg-3: #f1f2f3;
    --bg-black: #242933;
    --border-1: #e3e5e7;
    --border-2: #f0f2f4;
    --link: #06f;
    --link-hover: #59f;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    min-width: 280px;
}

input,botton,select,div {
    outline: none;
}

a {
    text-decoration: none!important;
    font-size: 13px;
    color: var(--text-1);
}

i,em {
    font-style: normal;
}

ul,li {
    list-style: none;
    padding: 0;
    margin: 0;
}

p {
    padding: 0;
    margin: 0;
}

.container {
    width: 1280px;
    margin: 0 auto;
    min-width: 280px;
}

.container-xxl {
    width: 992px;
    margin: 0 auto;
    min-width: 280px;
}

.container-xl {
    width: 768px;
    margin: 0 auto;
    min-width: 280px;
}

.container-sl {
    width: 100%;
    margin: 0 auto;
    min-width: 280px;
}

@media screen and (max-width: 992px) {
    .container, .container-xxl {
        width: 768px;
    }
}

@media screen and (max-width: 768px) {
    .container, .container-xxl, .container-xl {
        width: 100%;
    }
}

.m-1 {
    margin: 5px;
}

.m-2 {
    margin: 10px;
}

.m-3 {
    margin: 15px;
}

.m-4 {
    margin: 20px;
}

.mt-1 {
    margin-top: 5px;
}

.mt-2 {
    margin-top: 10px;
}

.mt-3 {
    margin-top: 15px;
}

.mt-4 {
    margin-top: 20px;
}

.mb-1 {
    margin-bottom: 5px;
}

.mb-2 {
    margin-bottom: 10px;
}

.mb-3 {
    margin-bottom: 15px;
}

.mb-4 {
    margin-bottom: 20px;
}

.ml-1 {
    margin-left: 5px;
}

.ml-2 {
    margin-left: 10px;
}

.ml-3 {
    margin-left: 15px;
}

.ml-4 {
    margin-left: 20px;
}

.mr-1 {
    margin-right: 5px;
}

.mr-2 {
    margin-right: 10px;
}

.mr-3 {
    margin-right: 15px;
}

.mr-4 {
    margin-right: 20px;
}

.col-1 {
    width: 8.333333%;
}

.col-2 {
    width: 16.666667%;
}

.col-3 {
    width: 25%;
}

.col-4 {
    width: 33.333333%;
}

.col-5 {
    width: 41.666666%;
}

.col-6 {
    width: 50%;
}

.col-7 {
    width: 58.333333%;
}

.col-8 {
    width: 66.666666%;
}

.col-9 {
    width: 75%;
}

.col-10 {
    width: 83.333333%;
}

.col-11 {
    width: 91.666666%;
}

.col-12 {
    width: 100%;
}

@media screen and (max-width: 1280px) {
    .col-xxl-1 {
        width: 8.333333%;
    }

    .col-xxl-2 {
        width: 16.666667%;
    }

    .col-xxl-3 {
        width: 25%;
    }

    .col-xxl-4 {
        width: 33.333333%;
    }

    .col-xxl-5 {
        width: 41.666666%;
    }

    .col-xxl-6 {
        width: 50%;
    }

    .col-xxl-7 {
        width: 58.333333%;
    }

    .col-xxl-8 {
        width: 66.666666%;
    }

    .col-xxl-9 {
        width: 75%;
    }

    .col-xxl-10 {
        width: 83.333333%;
    }

    .col-xxl-11 {
        width: 91.666666%;
    }

    .col-xxl-12 {
        width: 100%;
    }
}

@media screen and (max-width: 992px) {
    .col-xl-1 {
        width: 8.333333%;
    }

    .col-xl-2 {
        width: 16.666667%;
    }

    .col-xl-3 {
        width: 25%;
    }

    .col-xl-4 {
        width: 33.333333%;
    }

    .col-xl-5 {
        width: 41.666666%;
    }

    .col-xl-6 {
        width: 50%;
    }

    .col-xl-7 {
        width: 58.333333%;
    }

    .col-xl-8 {
        width: 66.666666%;
    }

    .col-xl-9 {
        width: 75%;
    }

    .col-xl-10 {
        width: 83.333333%;
    }

    .col-xl-11 {
        width: 91.666666%;
    }

    .col-xl-12 {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .col-sl-1 {
        width: 8.333333%;
    }

    .col-sl-2 {
        width: 16.666667%;
    }

    .col-sl-3 {
        width: 25%;
    }

    .col-sl-4 {
        width: 33.333333%;
    }

    .col-sl-5 {
        width: 41.666666%;
    }

    .col-sl-6 {
        width: 50%;
    }

    .col-sl-7 {
        width: 58.333333%;
    }

    .col-sl-8 {
        width: 66.666666%;
    }

    .col-sl-9 {
        width: 75%;
    }

    .col-sl-10 {
        width: 83.333333%;
    }

    .col-sl-11 {
        width: 91.666666%;
    }

    .col-sl-12 {
        width: 100%;
    }
}

/* 页脚样式 */
.footer {
    margin-top: 0;
    background-color: #1a1a1a;
    color: #fff;
}

.footer .row {
    justify-content: flex-start;
}

.footer .row .col-lg-2, .footer .row .col-md-3, .footer .row .col-sm-6 {
    padding-left: 0;
    padding-right: 0;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.footer-links {
    margin-bottom: 0;
    text-align: center;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #c9ccd0 !important;
    transition: color 0.3s ease;
    font-size: 14px;
    line-height: 1.5;
}

.footer-links a:hover {
    color: #30ABFF !important;
    text-decoration: none;
}

.footer-links .footer-label {
    color: #999;
    font-size: 14px;
    margin-right: 5px;
}

.footer-links a + a {
    margin-left: 15px;
}

.footer-logo img {
    filter: brightness(0) invert(1);
    margin: 0 auto;
    display: block;
}

.footer-company {
    color: #c9ccd0;
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
}

.footer-hotline {
    font-size: 16px;
    margin-bottom: 10px;
    text-align: center;
}

.footer-hotline .footer-label {
    color: #999;
    margin-right: 5px;
}

.footer-hotline a {
    color: #30ABFF !important;
    font-weight: 600;
    font-size: 18px;
}

.footer-record {
    color: #999;
    font-size: 13px;
    margin-bottom: 5px;
}



.footer-record span {
    color: #666;
}

.footer-copyright {
    color: #666;
    font-size: 12px;
    margin-bottom: 0;
}

.footer-friendly-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 16px 0 0;
    color: #8f98a8;
    font-size: 13px;
}

.footer-friendly-links > span {
    color: #c9ccd0;
    font-weight: 600;
}

.footer-friendly-links a {
    color: #8f98a8;
}

.footer-friendly-links a:hover {
    color: #fff;
}

body.announcement-center-open {
    overflow: hidden;
}

.announcement-center-modal[hidden] {
    display: none;
}

.announcement-center-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    transition: opacity .18s ease;
}

.announcement-center-modal.is-visible {
    opacity: 1;
}

.announcement-center-backdrop {
    position: absolute;
    inset: 0;
    background: rgb(15 23 42 / 58%);
    backdrop-filter: blur(2px);
}

.announcement-center-dialog {
    position: relative;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    width: min(920px, calc(100vw - 48px));
    height: min(620px, calc(100vh - 48px));
    overflow: hidden;
    background: #fff;
    border: 1px solid #e4e8ef;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgb(15 23 42 / 28%);
    transform: translateY(10px);
    transition: transform .18s ease;
}

.announcement-center-modal.is-visible .announcement-center-dialog {
    transform: translateY(0);
}

.announcement-center-sidebar {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
    color: #344054;
    background: #f7f8fa;
    border-right: 1px solid #e4e8ef;
}

.announcement-center-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 68px;
    padding: 0 20px;
    color: #111827;
    background: #fff;
    border-bottom: 1px solid #e4e8ef;
    font-size: 16px;
    font-weight: 600;
}

.announcement-center-brand i {
    color: var(--link);
}

.announcement-center-list {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px;
    scrollbar-width: thin;
}

.announcement-center-list-item {
    display: flex;
    width: 100%;
    min-height: 64px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    margin: 0 0 4px;
    padding: 10px 12px;
    color: #475467;
    text-align: left;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}

.announcement-center-list-item:hover {
    color: #1d2939;
    background: #fff;
}

.announcement-center-list-item.is-active {
    color: #155eef;
    background: #fff;
    border-color: #d6e4ff;
    box-shadow: 0 2px 8px rgb(16 24 40 / 5%);
}

.announcement-center-list-title {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.announcement-center-list-date {
    color: #98a2b3;
    font-size: 12px;
}

.announcement-center-main {
    display: grid;
    min-width: 0;
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
}

.announcement-center-header {
    min-height: 94px;
    padding: 22px 28px 17px;
    border-bottom: 1px solid #eef1f5;
}

.announcement-center-header h2 {
    margin: 0 0 8px;
    color: #101828;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.announcement-center-meta {
    color: #98a2b3;
    font-size: 12px;
}

.announcement-center-content {
    min-height: 0;
    overflow: auto;
    padding: 12px 28px 20px;
    color: #475467;
    font-size: 14px;
    line-height: 1.8;
}

.announcement-center-content img {
    max-width: 100%;
    height: auto;
}

.announcement-center-content p:first-child {
    margin-top: 0 !important;
}

.announcement-center-content p:last-child {
    margin-bottom: 0 !important;
}

.announcement-center-loading {
    display: flex;
    min-height: 180px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #98a2b3;
}

.announcement-center-error {
    margin: 60px 0 0;
    color: #667085;
    text-align: center;
}

.announcement-center-error a {
    display: inline-block;
    margin-top: 8px;
    color: var(--link);
}

.announcement-center-footer {
    position: relative;
    z-index: 2;
    display: flex;
    height: 72px;
    min-height: 72px;
    align-items: center;
    justify-content: flex-end;
    padding: 14px 28px;
    background: #fff;
    border-top: 1px solid #eef1f5;
}

.announcement-center-confirm {
    display: inline-flex;
    min-width: 112px;
    height: 40px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 18px;
    color: #fff;
    background: var(--link);
    border: 1px solid var(--link);
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color .16s ease, border-color .16s ease;
}

.announcement-center-confirm:hover:not(:disabled) {
    background: #0052cc;
    border-color: #0052cc;
}

.announcement-center-confirm:disabled {
    cursor: not-allowed;
    opacity: .48;
}

@media (max-width: 768px) {
    .announcement-center-modal {
        align-items: end;
        padding: 12px;
    }

    .announcement-center-dialog {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
        width: 100%;
        height: min(720px, calc(100vh - 24px));
    }

    .announcement-center-sidebar {
        border-right: 0;
        border-bottom: 1px solid #e4e8ef;
    }

    .announcement-center-brand {
        height: 52px;
        padding: 0 16px;
        font-size: 15px;
    }

    .announcement-center-list {
        display: flex;
        flex: 0 0 auto;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        padding: 9px 12px;
        -webkit-overflow-scrolling: touch;
    }

    .announcement-center-list-item {
        width: 190px;
        min-width: 190px;
        min-height: 58px;
        margin: 0;
        padding: 8px 10px;
    }

    .announcement-center-main {
        min-height: 0;
    }

    .announcement-center-header {
        min-height: 80px;
        padding: 16px 18px 13px;
    }

    .announcement-center-header h2 {
        font-size: 17px;
    }

    .announcement-center-content {
        padding: 10px 18px 16px;
        font-size: 13px;
    }

    .announcement-center-footer {
        height: 64px;
        min-height: 64px;
        padding: 12px 18px;
    }

    .announcement-center-confirm {
        width: 100%;
    }
}

/* 主题控制器侧边浮窗 */
.theme-side-tools {
    position: fixed;
    top: 50%;
    right: 18px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transform: translateY(-50%);
}

.theme-side-tool {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgb(24 32 56 / 9%);
    cursor: pointer;
    outline: 0;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.theme-side-tool:hover,
.theme-side-tool:focus,
.theme-side-tool:focus-within {
    background: #f7faff;
    border-color: color-mix(in srgb, var(--link) 38%, #e5e9f0);
    transform: translateX(-3px);
}

.theme-side-tool-icon {
    display: block;
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.theme-side-tool-panel {
    position: absolute;
    top: 50%;
    right: 52px;
    width: max-content;
    max-width: min(320px, calc(100vw - 100px));
    padding-right: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(8px, -50%);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.theme-side-tool:hover .theme-side-tool-panel,
.theme-side-tool:focus .theme-side-tool-panel,
.theme-side-tool:focus-within .theme-side-tool-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(0, -50%);
}

.theme-side-tool-panel-inner {
    position: relative;
    min-width: 210px;
    padding: 15px 16px;
    color: #485169;
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgb(24 32 56 / 13%);
}

.theme-side-tool-panel-inner::after {
    position: absolute;
    top: 50%;
    right: -6px;
    width: 10px;
    height: 10px;
    content: "";
    background: #fff;
    border-top: 1px solid #e5e9f0;
    border-right: 1px solid #e5e9f0;
    transform: translateY(-50%) rotate(45deg);
}

.theme-side-tool-title {
    margin-bottom: 7px;
    color: #202938;
    font-size: 14px;
    font-weight: 600;
}

.theme-side-tool-content {
    overflow-wrap: anywhere;
    font-size: 13px;
    line-height: 1.65;
}

.theme-side-tool-content > :last-child {
    margin-bottom: 0;
}

.theme-side-tool-content img {
    display: block;
    max-width: 180px;
    height: auto;
    margin: 8px auto 0;
}

.theme-side-tool-content a {
    color: var(--link);
}

.theme-side-tool-content .button,
.theme-side-tool-content button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    margin-top: 10px;
    padding: 0 12px;
    color: #fff;
    background: var(--link);
    border: 0;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .theme-side-tools {
        right: 8px;
    }

    .theme-side-tool {
        width: 42px;
        height: 42px;
    }

    .theme-side-tool-icon {
        width: 24px;
        height: 24px;
    }

    .theme-side-tool-panel {
        right: 46px;
        max-width: calc(100vw - 70px);
    }

    .theme-side-tool-panel-inner {
        min-width: min(210px, calc(100vw - 90px));
    }
}

/* 回到顶部按钮样式 */
.back-to-top {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 45px;
    height: 45px;
    background-color: #06f;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 99999 !important;
    transform: translateZ(0); /* 启用硬件加速 */
    will-change: transform; /* 告诉浏览器该元素将要变换，优化性能 */
}

/* 移动端回到顶部按钮样式调整 */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px !important;
        right: 20px !important;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* 联系方式悬浮按钮样式 */
.contact-float-buttons {
    position: fixed !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 99999 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: translateZ(0); /* 启用硬件加速 */
    will-change: transform; /* 告诉浏览器该元素将要变换，优化性能 */
}

/* 移动端联系方式悬浮按钮样式调整 */
@media (max-width: 768px) {
    .contact-float-buttons {
        right: 10px !important;
        gap: 8px;
    }
}

.back-to-top:hover {
    background-color: #06f;
    transform: translateY(-5px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .footer .col-lg-2, .footer .col-md-3, .footer .col-sm-6 {
        margin-bottom: 30px;
    }
    
    /* 移动端隐藏指定的导航项 */
    .footer .row > div:not(:first-child) {
        display: none;
    }
    
    .footer .col-md-6.text-right {
        text-align: left !important;
        margin-top: 20px;
    }
    
    .footer-links a + a {
        margin-left: 10px;
    }
    
    /* 移动端回到顶部按钮样式调整 */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    /* 移动端备案信息样式优化 */
    .footer-record {
        font-size: 12px;
        line-height: 1.8;
    }
    
    .record-separator {
        display: none;
    }
    
    .record-item {
        display: block;
        margin: 2px 0;
    }
    
    .footer-record .record-item:first-of-type {
        display: inline-block;
    }
    
    .footer-copyright {
        font-size: 11px;
        line-height: 1.5;
    }
}

/* 联系方式悬浮按钮样式 */
.contact-float-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-button {
    position: relative;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-size: 20px;
    color: #333;
}

.contact-button:hover {
    background-color: #0066ff;
    color: #fff;
    transform: translateX(-5px);
}

.contact-popup {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    min-width: 150px;
    color: #333;
}

.contact-button:hover .contact-popup {
    opacity: 1;
    visibility: visible;
    right: 55px;
}

/* 在线客服弹出样式 */
.online-service .contact-popup {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 220px;
}

.contact-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 2px;
}

.contact-role {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.contact-action {
    font-size: 12px;
    color: #0066ff;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.contact-action:hover {
    color: #0052cc;
}

/* 提交工单弹出样式 */
.submit-ticket .contact-popup {
    width: 200px;
    text-align: center;
}

.ticket-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.ticket-icon {
    color: #0066ff;
    font-size: 16px;
}

.ticket-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.ticket-description {
    font-size: 12px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.4;
}

.contact-ticket-button {
    padding: 10px;
    background-color: #0066ff;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.contact-ticket-button:hover {
    background-color: #0052cc;
}

/* 客服微信弹出样式 */
.wechat-service .contact-popup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 130px;
}

.wechat-qrcode img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.wechat-tips {
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* 联系方式悬浮按钮移动端适配 */
@media (max-width: 768px) {
    .contact-float-buttons {
        right: 10px;
        gap: 8px;
    }
    
    .contact-button {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .contact-popup {
        right: 55px;
        padding: 10px;
        min-width: 130px;
    }
    
    .online-service .contact-popup {
        width: 200px;
    }
    
    .contact-avatar img {
        width: 40px;
        height: 40px;
    }
    
    .contact-name {
        font-size: 14px;
    }
    
    .contact-role {
        font-size: 12px;
    }
    
    .wechat-qrcode img {
        width: 80px;
        height: 80px;
    }
    
    .submit-ticket .contact-popup {
        width: 180px;
    }
    
    .ticket-title {
        font-size: 14px;
    }
    
    .ticket-description {
        font-size: 11px;
        margin-bottom: 10px;
    }
    
    .contact-ticket-button {
        padding: 8px;
        font-size: 13px;
    }
    
    .wechat-tips {
        font-size: 12px;
    }
}
