/* 新闻站点公共样式 */
/* 首屏即锁定宽度：滚动条闪断时页面不再左右抽 */
    html {
        width: 100vw;
        overflow-x: hidden;
        overflow-y: scroll !important;
        scrollbar-gutter: stable;
    }

    body {
        overflow-x: hidden;
    }

    @media screen and (max-width: 768px) {
        html {
            width: auto;
            overflow-x: auto;
        }
    }

/* 必须放在 layui.css 之后，避免 .layui-fluid 的 padding 覆盖导致 header 首屏位移 */
    .site-header {
        background: #fff;
        height: 85px;
        position: relative;
        overflow: visible;
        border-bottom: 1px solid #f0f0f0;
        z-index: 100;
        font-family: "Source Han Sans CN", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    }

    .layui-container.header-mobile {
        padding-left: 15px;
        padding-right: 15px;
    }

    .header-pc {
        height: 100%;
    }

    .header-pc-bar {
        display: flex;
        align-items: center;
        height: 85px;
        box-sizing: border-box;
    }

    .header-pc .brand {
        text-decoration: none;
        display: block;
        line-height: 1.15;
        font-family: inherit;
        flex-shrink: 0;
        margin-right: 16px;
    }

    .header-pc .brand-logo {
        display: block;
        height: 40px;
        width: auto;
        max-width: 100%;
    }

    .header-pc-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        min-width: 0;
        gap: 8px;
        margin-right: 16px;
    }

    .header-nav-item {
        position: relative;
        height: 40px;
        display: flex;
        align-items: center;
    }

    .header-nav-arrow {
        display: inline-block;
        width: 6px;
        height: 6px;
        margin: -3px 0 0 7px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(45deg);
        transition: transform .18s ease;
        vertical-align: middle;
    }

    .header-sub-nav {
        display: block;
        position: absolute;
        top: calc(100% - 2px);
        left: 50%;
        min-width: 152px;
        padding: 6px;
        background: #fff;
        border: 1px solid #eee;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
        z-index: 20;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate(-50%, -4px);
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    .header-nav-item:hover .header-sub-nav,
    .header-nav-item:focus-within .header-sub-nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }

    .header-nav-item:hover .header-nav-arrow,
    .header-nav-item:focus-within .header-nav-arrow {
        transform: rotate(225deg) translate(-1px, -1px);
    }

    .header-sub-nav-link {
        display: block;
        padding: 9px 12px;
        border-radius: 3px;
        color: #666;
        font-size: 14px;
        line-height: 20px;
        text-decoration: none;
        white-space: nowrap;
    }

    .header-sub-nav-link:hover,
    .header-sub-nav-link.is-active {
        color: #0066ff;
        background: #f7faff;
    }

    .header-pc .nav-link {
        display: block;
        padding: 0 12px;
        font-family: inherit;
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        text-align: center;
        font-style: normal;
        text-transform: none;
        text-decoration: none;
        color: #666666;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .header-pc .nav-link.is-active,
    .header-pc .nav-link:hover {
        color: #0066FF;
    }

    .header-pc .btn-login {
        display: inline-block;
        width: auto;
        height: 38px;
        line-height: 38px;
        padding: 0 26px;
        margin-left: 8px;
        background: #000000;
        border-radius: 19px 19px 19px 19px;
        border: none;
        color: #fff;
        font-family: inherit;
        font-size: 14px;
        font-weight: 400;
        text-align: center;
        text-decoration: none;
        box-sizing: border-box;
        flex-shrink: 0;
    }

    .header-pc .btn-login:hover {
        opacity: 0.88;
        color: #fff;
    }

    .header-pc-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
    }

    .header-pc-search {
        display: flex;
        align-items: center;
        width: 36px;
        height: 36px;
        margin-right: 8px;
        padding-left: 0;
        position: relative;
        overflow: visible;
        border: 1px solid transparent;
        border-radius: 18px;
        box-sizing: border-box;
        transition: border-color .2s ease, background-color .2s ease;
    }

    .header-pc-search.is-open {
        border-color: transparent;
        background: transparent;
    }

    .header-pc-search input {
        position: absolute;
        top: 0;
        right: 28px;
        width: 0;
        height: 36px;
        min-width: 0;
        padding: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: #333;
        font: inherit;
        opacity: 0;
        box-sizing: border-box;
        transition: width .2s ease, padding .2s ease, opacity .2s ease;
    }

    .header-pc-search.is-open input {
        width: 156px;
        padding: 0 10px 0 12px;
        border: 1px solid #e5e7eb;
        border-right: 0;
        border-radius: 18px 0 0 18px;
        background: #fff;
        opacity: 1;
    }

    .header-pc-search button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        margin-left: auto;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: transparent;
        color: #333;
        cursor: pointer;
        position: relative;
        z-index: 1;
    }

    .header-pc-search.is-open button {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        border: 1px solid #e5e7eb;
        border-left: 0;
        border-radius: 0 18px 18px 0;
        background: #fff;
        box-sizing: border-box;
    }

    .header-pc-search button:hover {
        color: #0066ff;
    }

    .header-pc-search .layui-icon {
        font-size: 20px;
    }

    .header-pc-contact {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-right: 17px;
        color: #333;
        font-size: 15px;
        font-weight: 600;
        line-height: 38px;
        text-decoration: none;
        white-space: nowrap;
    }

    .header-pc-contact-icon {
        color: #0066ff;
        flex: none;
        fill: currentColor;
    }

    .header-pc-contact:hover {
        color: #0066ff;
    }

    .member-menu {
        position: relative;
    }

    .member-menu-trigger {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        height: 38px;
        cursor: pointer;
        color: #666;
        font-size: 14px;
        line-height: 38px;
        text-decoration: none;
        white-space: nowrap;
    }

    .member-menu-avatar {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        object-fit: cover;
    }

    .member-menu-trigger .layui-icon-down {
        font-size: 12px;
        transition: transform .2s ease;
    }

    .member-menu:hover .member-menu-trigger .layui-icon-down,
    .member-menu:focus-within .member-menu-trigger .layui-icon-down {
        transform: rotate(180deg);
    }

    .member-menu-trigger:hover,
    .member-menu:hover .member-menu-trigger,
    .member-menu:focus-within .member-menu-trigger {
        color: #0066ff;
    }

    .member-menu::after {
        position: absolute;
        top: 100%;
        right: 0;
        width: 116px;
        height: 8px;
        content: '';
    }

    .member-menu-dropdown {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        z-index: 20;
        width: 116px;
        padding: 6px 0;
        border: 1px solid #edf0f5;
        border-radius: 4px;
        background: #fff;
        box-shadow: 0 8px 20px rgba(20, 43, 78, .12);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-4px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
        visibility: hidden;
    }

    .member-menu:hover .member-menu-dropdown,
    .member-menu:focus-within .member-menu-dropdown {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        visibility: visible;
    }

    .member-menu-dropdown a {
        display: block;
        padding: 0 16px;
        color: #4d5b70;
        font-size: 14px;
        line-height: 36px;
        text-decoration: none;
    }

    .member-menu-dropdown a:hover {
        background: #f3f8ff;
        color: #0066ff;
    }

    .site-auth-modal[hidden] {
        display: none;
    }

    .site-auth-modal {
        position: fixed;
        z-index: 1200;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        background: rgba(15, 23, 42, .48);
        box-sizing: border-box;
    }

    .site-auth-card {
        position: relative;
        width: min(400px, 100%);
        max-height: calc(100vh - 40px);
        padding: 28px 36px 30px;
        overflow-y: auto;
        border: 1px solid rgba(255, 255, 255, .85);
        border-radius: 8px;
        background: #f7faff url('/app/index/index-login-background.png') center / cover no-repeat;
        box-shadow: 0 20px 50px rgba(15, 23, 42, .22);
        box-sizing: border-box;
    }

    .site-auth-close {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 30px;
        height: 30px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, .8);
        color: #64748b;
        cursor: pointer;
    }

    .site-auth-brand {
        display: block;
        width: 114px;
        height: 47px;
        margin: 0 auto 18px;
        object-fit: contain;
    }

    .site-auth-form {
        display: none;
    }

    .site-auth-form.is-active {
        display: block;
    }

    .site-auth-login-mode {
        display: flex;
        margin: 0 0 14px;
        border-bottom: 1px solid #e8edf5;
    }

    .site-auth-login-mode button {
        flex: 1;
        height: 34px;
        padding: 0;
        border: 0;
        border-bottom: 2px solid transparent;
        background: transparent;
        color: #64748b;
        cursor: pointer;
        font: inherit;
        font-size: 14px;
    }

    .site-auth-login-mode button.is-active {
        border-bottom-color: #0066ff;
        color: #0066ff;
    }

    .site-auth-form > input,
    .site-auth-form [data-auth-login-panel] > input,
    .site-auth-inline input {
        width: 100%;
        height: 44px;
        margin: 0 0 12px;
        padding: 0 18px;
        border: 1px solid #e3e9f2;
        border-radius: 22px;
        outline: 0;
        background: #fff;
        color: #333;
        box-sizing: border-box;
        font: 14px/44px inherit;
    }

    .site-auth-form > input:focus,
    .site-auth-form [data-auth-login-panel] > input:focus,
    .site-auth-inline input:focus {
        border-color: #0066ff;
        box-shadow: 0 0 0 3px rgba(0, 102, 255, .12);
    }

    .site-auth-inline {
        position: relative;
    }

    .site-auth-inline input {
        margin-bottom: 12px;
        padding-right: 128px;
    }

    .site-auth-inline img {
        position: absolute;
        top: 3px;
        right: 8px;
        width: 110px;
        height: 38px;
        border: 0;
        background: transparent;
        cursor: pointer;
        object-fit: cover;
    }

    .site-auth-sms {
        position: absolute;
        top: 8px;
        right: 10px;
        width: 86px;
        height: 28px;
        border: 0;
        background: transparent;
        cursor: pointer;
        color: #0066ff;
        font-family: inherit;
        font-size: 13px;
        line-height: 28px;
    }

    .site-auth-links {
        display: flex;
        justify-content: center;
        gap: 24px;
        margin-top: 14px;
    }

    .site-auth-view-link,
    .site-auth-back {
        padding: 0;
        border: 0;
        background: transparent;
        color: #64748b;
        cursor: pointer;
        font-family: inherit;
        font-size: 13px;
    }

    .site-auth-view-link:hover,
    .site-auth-back:hover {
        color: #0066ff;
    }

    .site-auth-back {
        display: block;
        width: 100%;
        margin-top: 14px;
        line-height: 22px;
    }

    .site-auth-sms:disabled {
        color: #94a3b8;
        cursor: default;
    }

    .site-auth-remember,
    .site-auth-agreement {
        display: block;
        margin: 0 0 14px;
        color: #64748b;
        font-size: 13px;
        line-height: 20px;
    }

    .site-auth-agreement a {
        color: #0066ff;
        text-decoration: none;
    }

    .site-auth-submit {
        width: 100%;
        height: 44px;
        border: 0;
        border-radius: 22px;
        background: #0066ff;
        color: #fff;
        cursor: pointer;
        font-family: inherit;
        font-size: 15px;
    }

    .site-auth-submit:disabled {
        cursor: default;
        opacity: .7;
    }

    .header-mobile {
        display: none;
        height: 100%;
        align-items: center;
        justify-content: space-between;
    }

    .header-mobile .brand {
        text-decoration: none;
        display: block;
        font-family: inherit;
    }

    .header-mobile .brand-logo {
        display: block;
        height: 40px;
        width: auto;
        max-width: 100%;
    }

    .mobile-menu-btn {
        display: none;
        padding: 10px;
        cursor: pointer;
    }

    .mobile-menu-btn .layui-icon {
        color: #1e9fff;
        font-size: 24px;
    }

    #news-mobile-nav-template {
        display: none;
    }

    .news-mobile-nav-content {
        padding: 15px 25px;
        white-space: nowrap;
    }

    .news-mobile-nav-link {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
        color: #333;
        font-size: 15px;
    }

    .news-mobile-nav-link.is-active {
        color: #0066ff;
        font-weight: 600;
    }

    .news-mobile-nav-link-child {
        padding: 10px 0 10px 18px;
        color: #666;
        font-size: 14px;
    }

    .news-mobile-nav-link-child.is-active {
        color: #0066ff;
        font-weight: 600;
    }

    .news-mobile-nav-actions {
        margin-top: 15px;
    }

    .news-mobile-nav-login {
        height: 38px;
        border-radius: 20px;
        background-color: #1e9fff;
        font-size: 14px;
        line-height: 38px;
    }

    @media screen and (max-width: 768px) {
        .header-pc {
            display: none;
        }

        .header-mobile {
            display: flex;
        }

        .mobile-menu-btn {
            display: block;
        }
    }

.site-footer {
        background: #0b1a2e;
        color: #fff;
    }


    .footer-pc {
        display: block;
        padding: 40px 0 0;
    }

    .footer-pc .foot-main {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding-bottom: 24px;
        box-sizing: border-box;
        max-width: 2120px;
    }

    .footer-pc .brand-block {
        flex: 0 1 280px;
        min-width: 0;
        max-width: 300px;
        padding-top: 25px;
        padding-right: 0;
        box-sizing: border-box;
    }

    .footer-pc .foot-link-groups {
        display: flex;
        gap: 64px;
        justify-content: space-between;
        align-items: flex-start;
        flex: 1;
        min-width: 0;
        padding-left: 80px;
        box-sizing: border-box;
    }

    .footer-pc .foot-col {
        min-width: 72px;
    }

    .footer-contact {
        flex: 0 0 252px;
    }

    .footer-contact-label {
        margin-top: 28px;
        color: #fff;
        font-size: 14px;
        line-height: 20px;
    }

    .footer-contact-phone {
        display: block;
        margin-top: 6px;
        color: #fff;
        font-size: 18px;
        font-weight: 600;
        line-height: 26px;
        text-decoration: none;
        white-space: nowrap;
    }

    .footer-contact-phone:hover {
        color: #5eb8ff;
    }

    .footer-qr-list {
        display: flex;
        gap: 10px;
        margin-top: 22px;
    }

    .footer-qr-item {
        min-width: 0;
        color: #c1cad7;
        font-size: 12px;
        line-height: 20px;
        text-align: center;
    }

    .footer-qr-item img {
        display: block;
        width: 108px;
        height: 108px;
        margin-bottom: 6px;
        background: #fff;
        object-fit: cover;
    }

    .footer-pc .brand-name {
        font-size: 28px;
        font-weight: 700;
        color: #5eb8ff;
        line-height: 1.2;
    }

    .footer-brand-logo {
        display: block;
        width: auto;
        max-width: 180px;
        height: 42px;
        margin-bottom: 12px;
        object-fit: contain;
    }

    .footer-pc .brand-desc {
        margin-top: 4px;
        font-size: 13px;
        color: #FFFFFF;
        line-height: 20px;
    }

    .footer-pc .brand-intro {
        margin-top: 8px;
        margin-right: 12px;
        font-family: "Source Han Sans CN", "Source Han Sans CN", "Noto Sans SC", "Microsoft YaHei", sans-serif;
        font-weight: 400;
        font-size: 14px;
        color: #999999;
        line-height: 32px;
        text-align: left;
        font-style: normal;
        text-transform: none;
    }

    .footer-pc .foot-title {
        font-family: "Source Han Sans CN", "Source Han Sans CN", "Noto Sans SC", "Microsoft YaHei", sans-serif;
        font-weight: 400;
        font-size: 18px;
        color: #999999;
        line-height: 25px;
        text-align: left;
        font-style: normal;
        text-transform: none;
        margin: 0;
        padding: 0;
    }

    .footer-pc .foot-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .footer-pc .foot-list li {
        margin: 0;
        padding: 0;
    }

    .footer-pc .foot-list a {
        display: block;
        font-family: "Source Han Sans CN", "Source Han Sans CN", "Noto Sans SC", "Microsoft YaHei", sans-serif;
        font-weight: 400;
        font-size: 14px;
        color: #FFFFFF;
        line-height: 32px;
        text-align: left;
        font-style: normal;
        text-transform: none;
        text-decoration: none;
    }

    .footer-pc .foot-list a:hover {
        color: #5eb8ff;
    }

    .footer-friend-links-bottom {
        display: flex;
        align-items: center;
        gap: 24px;
        padding: 0 0 20px;
    }

    .footer-friend-links-label {
        flex: 0 0 auto;
        color: #999;
        font-size: 14px;
        line-height: 24px;
    }

    .footer-friend-links-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 20px;
        min-width: 0;
    }

    .footer-friend-links-list a {
        color: #fff;
        font-size: 14px;
        line-height: 24px;
        text-decoration: none;
    }

    .footer-friend-links-list a:hover {
        color: #5eb8ff;
    }

    .footer-pc .foot-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 0;
        margin: 0;
        text-align: center;
    }

    .footer-pc .foot-copy {
        font-family: "Source Han Sans CN", "Source Han Sans CN", "Noto Sans SC", "Microsoft YaHei", sans-serif;
        font-weight: 400;
        font-size: 12px;
        color: #FFFFFF;
        line-height: 32px;
        text-align: center;
        font-style: normal;
        text-transform: none;
        white-space: nowrap;
        padding: 10px 0;
    }

    .footer-pc .foot-copy a {
        color: #FFFFFF;
        text-decoration: none;
        margin-left: 2px;
    }

    .footer-pc .foot-copy a:hover {
        color: #5eb8ff;
    }

    .footer-pc .foot-copy .beian-icon,
    .footer-mobile .foot-bottom .beian-icon {
        display: inline-block;
        width: 15px;
        height: 15px;
        margin-left: 10px;
        margin-right: 4px;
        vertical-align: -4px;
    }


    .footer-mobile {
        display: none;
        padding: 40px 15px;
    }

    .footer-mobile .foot-title {
        color: #5eb8ff;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .footer-mobile .foot-list {
        list-style: none;
        padding: 0;
    }

    .footer-mobile .foot-list li {
        margin: 5px 0;
    }

    .footer-mobile .foot-list a {
        color: #ccc;
        font-size: 13px;
    }

    .footer-mobile .footer-contact-mobile .foot-title {
        margin-bottom: 10px;
    }

    .footer-mobile .footer-contact-phone {
        color: #fff;
        font-size: 15px;
    }

    .footer-mobile .footer-qr-list {
        margin-top: 14px;
    }

    .footer-mobile .footer-qr-item img {
        width: 92px;
        height: 92px;
    }

    .footer-mobile .footer-friend-links-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-top: 20px;
        padding-bottom: 20px;
    }

    .footer-mobile .footer-friend-links-label {
        color: #5eb8ff;
        font-weight: bold;
    }

    .footer-mobile .foot-bottom {
        border-top: 1px solid #1a2a40;
        margin-top: 30px;
        padding-top: 20px;
        text-align: center;
        font-size: 12px;
        line-height: 24px;
    }

    .footer-mobile .foot-bottom a {
        display: block;
        color: #999;
    }

    @media screen and (max-width: 768px) {
        .footer-pc {
            display: none;
        }

        .footer-mobile {
            display: block;
        }

        .footer-mobile .footer-col {
            width: 50%;
            float: left;
            margin-bottom: 20px;
        }

        .footer-mobile .brand-col {
            width: 100%;
            margin-bottom: 20px;
        }

        .footer-mobile .footer-contact-mobile {
            width: 100%;
        }
    }

    @media screen and (max-width: 1100px) and (min-width: 769px) {
        .footer-pc .brand-block {
            flex-basis: 220px;
            max-width: 240px;
        }

        .footer-pc .foot-link-groups {
            gap: 32px;
            padding-left: 16px;
        }

        .footer-contact {
            flex-basis: 220px;
        }

        .header-pc .nav-link {
            padding: 0 8px;
        }

        .header-pc-contact {
            margin-right: 9px;
            font-size: 13px;
        }
    }
