[x-cloak] { display: none !important; }
html,
body {
    max-width: 100%;
    overflow-x: clip;
}
body { font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif; }
main {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}
.nav-blur { background: #0d1b3e; }
.hero-gradient { background: linear-gradient(135deg, #0a1628 0%, #0d1b3e 40%, #1a3a6b 100%); }
.section-divider { width: 60px; height: 3px; background: #2563eb; margin: 12px auto 0; }
.footer-dark { background: #0a1628; }
.card-img-zoom:hover img { transform: scale(1.05); }
.nav-link-hover:hover { color: #60a5fa !important; }
.mobile-bottom-nav {
    display: block !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 50;
    background: #0d1b3e;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.1);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}
.mobile-bottom-nav__inner {
    display: flex;
    align-items: stretch;
    max-width: 32rem;
    margin: 0 auto;
}
.mobile-bottom-nav__item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}
.mobile-bottom-nav__icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-bottom: 0.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (min-width: 1024px) {
    .mobile-bottom-nav { display: none !important; }
}
.top-nav-fixed { position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; }
.mobile-bottom-spacer { display: block !important; height: 3.5rem; }
@media (min-width: 1024px) {
    .mobile-bottom-spacer { display: none !important; }
}
@media (max-width: 1023px) {
    main > section,
    main > div {
        max-width: 100%;
        overflow-x: clip;
    }

    .top-nav-fixed,
    .mobile-bottom-nav {
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        overflow-x: clip;
    }
}
.nav-active-bar { position: absolute; bottom: 18px; left: 0; right: 0; height: 2.5px; border-radius: 2px 2px 0 0; background: #3b82f6; }
.nav-item-wrap { position: relative; display: inline-flex; align-items: center; height: 72px; padding: 0; }
.nav-dropdown-group { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown-group > .nav-dropdown-trigger { display: inline-flex; align-items: center; gap: 3px; cursor: pointer; }
.nav-dropdown-group > .nav-dropdown-trigger .chevron-icon { transition: transform 0.25s ease; }
.nav-dropdown-group:hover > .nav-dropdown-trigger .chevron-icon { transform: rotate(180deg); }
.nav-dropdown-group > .nav-dropdown-menu { visibility: hidden; opacity: 0; position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px); z-index: 50; padding-top: 18px; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; }
.nav-dropdown-group:hover > .nav-dropdown-menu { visibility: visible; opacity: 1; transform: translateX(-50%) translateY(0); }
.nav-dropdown-panel { background: #fff; border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06); border: 1px solid #e8ecf2; overflow: hidden; }
.nav-dropdown-panel a { display: block; padding: 10px 18px; transition: background 0.15s; }
.nav-dropdown-panel a:hover { background: #f0f5ff; }
.nav-dropdown-panel .dd-title { font-size: 16px; font-weight: 500; color: #1a3a6b; line-height: 1.4; }
.nav-dropdown-panel .dd-desc { font-size: 11px; color: #8c96a6; margin-top: 2px; line-height: 1.3; }
.nav-dropdown-panel-grid { display: grid; grid-template-columns: 1fr 1fr; min-width: 380px; }
.nav-dropdown-panel-list { min-width: 200px; }
.lg-next::before { content: "\e095"; }
.lg-prev::after { content: "\e094"; }
.lg-toolbar .lg-close::after { content: "\e070"; }
.lg-toolbar .lg-maximize::after { content: "\e90a"; }
.lg-toolbar .lg-download::after { content: "\e0f2"; }
.lg-icon.lg-zoom-in::after { content: "\e311"; }
.lg-icon.lg-zoom-out::after { content: "\e312"; }
.lg-icon.lg-actual-size::after { content: "\e033"; }
.lg-outer .lg-toggle-thumb::after { content: "\e1ff"; }
.site-back-to-top {
    position: fixed;
    right: 24px;
    bottom: 32px;
    z-index: 45;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1d4ed8;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #dbeafe;
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.site-back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.site-back-to-top:hover,
.site-back-to-top:focus-visible {
    color: #fff;
    background: #2563eb;
    outline: none;
}
.site-back-to-top svg {
    width: 20px;
    height: 20px;
}
@media (max-width: 1023px) {
    .site-back-to-top {
        top: auto;
        right: 16px;
        bottom: 76px;
        width: 42px;
        height: 42px;
        border-right: 1px solid #dbeafe;
        border-radius: 8px;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .site-back-to-top.is-visible {
        transform: none;
    }
}

@supports (width: 100svw) {
    @media (max-width: 1023px) {
        .top-nav-fixed,
        .mobile-bottom-nav {
            width: 100svw !important;
            max-width: 100svw !important;
        }

        .site-back-to-top {
            right: auto;
            left: calc(100svw - 58px);
        }
    }
}

@supports not (overflow: clip) {
    html,
    body,
    main {
        overflow-x: hidden;
    }

    @media (max-width: 1023px) {
        main > section,
        main > div {
            overflow-x: hidden;
        }
    }
}
