/* 基础通用样式 - 无嵌套，保持独立 */
.n_empty {
    visibility: hidden;
}

.n_flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.n_flex-col {
    display: flex;
    flex-direction: column;
}

.n_flex-jcsa {
    justify-content: space-around;
}

.n_flex-jcsb {
    justify-content: space-between;
}

.n_flex-jcc {
    justify-content: center;
}

.n_flex-1 {
    flex: 1;
}

/* 根节点样式 - 无嵌套，保持独立 */
html,
body {
    width: fit-content !important;
    /* 核心：让根节点宽度适配页面内容总宽度（被px盒子撑宽的宽度） */
    min-width: 100vw !important;
    /* 兜底：无缩放时，根节点至少占满设备视口 */
    margin: 0 !important;
    padding: 0 !important;
}

/* 所有嵌套结构已完全转换为后代选择器 */
.n_header {
    width: 100%;
    height: 50vh;
    position: relative;
}

.n_header .n_logo-search {
    width: 100%;
    box-sizing: border-box;
    height: 7vh;
    background: rgb(240, 252, 252);
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.n_header .n_logo-search .n_empty {
    width: 20%;
}

.n_header .n_logo-search .n_logo {
    width: 33%;
    height: 100%;
}

.n_header .n_logo-search .n_logo .n_logo_s {
    width: 80px;
    height: 61px;
    background: url(../images/top-logo_zh.png) no-repeat;
}

.n_header .n_logo-search .n_logo .n_logo_text {
    height: 6vh;
    font-size: 30px;
    padding-left: 10px;
}

.n_header .n_logo-search .n_date-search {
    width: 50%;
    height: 3vh;
}

.n_header .n_logo-search .n_date-search .n_date {
    font-size: 18px;
}

.n_header .n_logo-search .n_date-search .n_search {
    margin-left: 20px;
    padding-left: 10px;
    padding-right: 10px;
    width: 25vw;
    height: 38px;
    background: #FFFFFF;
    border-radius: 5px;
    border: 1px solid #DCDFE6;
}

.n_header .n_logo-search .n_date-search .n_search input {
    height: 100%;
    border: none;
}

.n_header .n_logo-search .n_date-search .n_search input::placeholder {
    font-weight: bold;
    color: #909399;
}

.n_header .n_logo-search .n_date-search .n_search img {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.n_header .n_banner-menu {
    background: url(../images/banner.png) no-repeat;
    background-size: 100% 100%;
    width: 100%;
    height: 30vh;
    position: relative;
}

.n_header .n_banner-menu .n_buttons {
    width: 78%;
    height: 50px;
    position: absolute;
    bottom: 0;
    left: 10.5%;
    border-radius: 10px 10px 0 0;
}

.n_header .n_banner-menu .n_buttons .n_button {
    height: 100%;
    background: #3e79f1;
    cursor: pointer;
    font-size: 20px;
}

.n_header .n_banner-menu .n_buttons .n_button:hover {
    background: #0245b8;
    font-size: 22px;
}

.n_header .n_banner-menu .n_buttons .n_button a {
    font-weight: bold;
    color: #FFFFFF;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.n_header .n_banner-menu .n_buttons .n_button-active {
    background: #0245b8;
    font-size: 24px;
}

.n_server {
    width: 160px;
    height: 370px;
    padding: 0 10px;
}

.n_server img {
    width: 100%;
    height: 70px;
    cursor: pointer;
    border-radius: 10px;
}

.n_tradeCenter {
    width: 100%;
    padding: 20px;
    cursor: pointer;
}

.n_tradeCenter .img {
    border-radius: 15px;
}

.n_tradeCenter .img:hover {
    transform: scale(1.05)
}

.n_tradeCenter .active {
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(91, 167, 251), 0 0 6px rgba(91, 167, 251, .04)
}

.n_footer {
    width: 100%;
    overflow: hidden;
    height: 10vh;
    background: #025394;
    align-items: center;
    white-space: nowrap;
}

.n_footer .n_empty {
    width: 30vw;
}

.n_footer .phone {
    width: 20vw;
    margin-right: 50px;
    white-space: nowrap;
}
@media print {
    /* 隐藏包含 Logo 的父容器 */
    #nLogoSearch {
        display: none !important;
    }
}
