::-webkit-scrollbar {width: 8px;height: 8px;}
::-webkit-scrollbar-track {background: 0 0;}
::-webkit-scrollbar-thumb {background: #94a3b866; border-radius: 6px;}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(90deg, #188AF1 0%, #1565F1 100%);}


.np7-seo-extra::before{
    content:"";
    position:absolute;
    top:120px;
    right:-40px;
    width:8px;height:8px;
    background:#a5b4fc;
    border-radius:50%;
    box-shadow:0 0 0 4px rgba(165,180,252,.12);
}
.np7-seo-extra::after{
    content:"";
    position:absolute;
    bottom:180px;
    left:-36px;
    width:10px;height:10px;
    background:#fff;
    border:2px solid #c7d2fe;
    border-radius:50%;
}

/* 标题：H2字体19px */
.np7-seo-extra h2{
    font-size:19px;
    color:#0f172a;
    margin:5px 0 22px;
    font-weight:700;
    position:relative;
    padding-left:0px;
    line-height:1.35;
}
.np7-seo-extra h2::before{
   content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 5px;
    box-shadow: 0 10px 24px rgba(20, 184, 166, .28);
}
.np7-seo-extra h2::after{
    content:"";
    position:absolute;
    left:0px;
    bottom:-6px;
    width:42px;
    height:3px;
    background:linear-gradient(90deg,#14b8a6,#06b6d4);
    border-radius:2px;
}

.np7-seo-extra p{
    font-size:14px;
    color:#475569;
    line-height:1.8;
    margin-bottom:16px;
}
.np7-richtext p{font-size:14px;}
/* 列表左右两栏，精致留白 */
.np7-seo-extra ul{
    list-style:none;
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:24px 36px;
    padding:0;
    background:transparent;
    box-shadow:none;
    margin-bottom:40px;
}

.np7-seo-extra li{
    font-size:14px;
    line-height:1.75;
    color:#475569;
    padding-left:32px;
    position:relative;
    margin-bottom:0;
    transition:color .35s ease, transform .35s ease;
    cursor:default;overflow: hidden;
}

/* LI图标缩小，渐变 #14b8a6,#06b6d4 */
.np7-seo-extra li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #14b8a6, #06b6d4);
    box-shadow: 0 8px 18px rgba(20, 184, 166, .24);
    transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}
.np7-seo-extra li::after{
   content: "";
    position: absolute;
    left: 5.4px;
    top: 11px;
    width: 3px;
    height: 6px;
    border: solid #fff;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
    transition: transform .35s ease;
}

/* hover 精致动效 */
.np7-seo-extra li:hover{
    color:#0f172a;
    transform:translateX(6px);
}
.np7-seo-extra li:hover::before{
    transform:scale(1.12);
    box-shadow:0 12px 24px rgba(20,184,166,.36);
    background:linear-gradient(135deg,#0d9488,#0891b2);
}
.np7-seo-extra li:hover::after{
    transform:rotate(45deg) scale(1.08);
}

.np7-seo-extra li strong{
    display:inline-block;
    color:#0f172a;
    font-weight:700;
    font-size:15px;
    margin-right:6px;
    transition:color .35s ease;
}
.np7-seo-extra li:hover strong{
    color:#0d9488;
}

/* 移动端单列 */
@media(max-width:768px){
    .np7-seo-extra h2{font-size:19px;}
    .np7-seo-extra ul{grid-template-columns:1fr;gap:20px;}
}


/* =========================================
   精选推荐 - 现代简约风 (每排12个)
   ========================================= */

/* 网格布局：桌面端默认每排12个 */
.np7-featured-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px;
    padding: 10px 0;
    transition: all 0.3s ease;
}

/* 平板适配：每排 6 个 */
@media (max-width: 1200px) and (min-width: 769px) {
    .np7-featured-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

/* 手机端适配：每排 4 个 */
@media (max-width: 768px) {
    .np7-featured-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }
}

/* =========================================
   精选推荐 - 浅蓝轻悬浮风 (每排12个)
   ========================================= */

/* 网格布局：桌面端默认每排12个 */
.np7-featured-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px;
    padding: 10px 0;
}
/* 平板适配：每排 6 个 */
@media (max-width: 1200px) and (min-width: 769px) {
    .np7-featured-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
/* 手机端适配：每排 4 个 */
@media (max-width: 768px) {
    .np7-featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
}

.np7-sidebar-card-1 {
margin: 20px auto 20px;
width: 100%;
text-align: center;}

.np7-sidebar-card-1 a{display:block;margin: 0px auto;
padding: 8px 16px;
border: 1px solid #bae6fd;
border-radius: 999px;
background: #ecfeff;
color: #0369a1;
font-size: 13px;
font-weight: 900;
width: 80%;
text-align: center;}
.np7-sidebar-card-1 p{color: #64748b;padding-top:10px;
line-height: 1.75;
font-size: 13px;}


.ym-submit-page .np7-footer,
.ym-about-page .np7-footer,
.ym-standards-page .np7-footer,
.ym-advertise-page .np7-footer,
.ym-friendlink-page .np7-footer,
.ym-help-page .np7-footer,
.ym-intro-page .np7-footer,
.ym-contact-page .np7-footer{max-width: 95%;margin: 10px auto;}

body.site-style-navprostyle7.ym-submit-page>.navbar,
body.site-style-navprostyle7.ym-about-page>.navbar,
body.site-style-navprostyle7.ym-standards-page>.navbar,
body.site-style-navprostyle7.ym-advertise-page>.navbar,
body.site-style-navprostyle7.ym-friendlink-page>.navbar,
body.site-style-navprostyle7.ym-help-page>.navbar,
body.site-style-navprostyle7.ym-intro-page>.navbar,
body.site-style-navprostyle7.ym-contact-page>.navbar{display: block !important;}


body.site-style-navprostyle7.ym-submit-page .navbar-actions,
body.site-style-navprostyle7.ym-about-page .navbar-actions,
body.site-style-navprostyle7.ym-standards-page .navbar-actions,
body.site-style-navprostyle7.ym-advertise-page .navbar-actions,
body.site-style-navprostyle7.ym-friendlink-page .navbar-actions,
body.site-style-navprostyle7.ym-help-page .navbar-actions,
body.site-style-navprostyle7.ym-intro-page .navbar-actions,
body.site-style-navprostyle7.ym-contact-page .navbar-actions{justify-content: flex-start;display: flex;}

body.site-style-navprostyle7.ym-submit-page .navbar-actions .theme-btn,
body.site-style-navprostyle7.ym-about-page .navbar-actions .theme-btn,
body.site-style-navprostyle7.ym-standards-page .navbar-actions .theme-btn,
body.site-style-navprostyle7.ym-advertise-page .navbar-actions .theme-btn,
body.site-style-navprostyle7.ym-friendlink-page .navbar-actions .theme-btn,
body.site-style-navprostyle7.ym-help-page .navbar-actions .theme-btn,
body.site-style-navprostyle7.ym-intro-page .navbar-actions .theme-btn,
body.site-style-navprostyle7.ym-contact-page .navbar-actions .theme-btn{margin-left: auto;}

.ym-about-page .ym-card a.ym-btn-primary{color:#fff;}
.ym-content-rich figure{text-align: center;}
.ym-content-rich figure img{width:75%}


.ym-content-richh2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 5px;
    box-shadow: 0 10px 24px rgba(20, 184, 166, .28);
}

.ym-content-rich h2::after {
    content: "";
    position: absolute;
    left: 0px;
    bottom: -6px;
    width: 42px;
    height: 3px;
    background: linear-gradient(90deg, #14b8a6, #06b6d4);
    border-radius: 2px;
}
.ym-content-rich h2 {
    font-size: 19px;
    color: #0f172a;
    margin: 5px 0 22px;
    font-weight: 700;
    position: relative;
    padding-left: 0px !important;
    line-height: 1.35;
}




/* =========================================
   精选推荐 - 浅蓝轻悬浮风 (每排12个)
   ========================================= */
.np7-featured-grid {
    display: grid;
    grid-template-columns: repeat(16, minmax(0, 1fr));
    gap: 12px;
    padding: 10px 0;
}
@media (max-width: 1200px) and (min-width: 769px) { .np7-featured-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 768px) { .np7-featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } }

.np7-featured-item {
   display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 8px 15px 8px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #eef2f6;
    text-decoration: none;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    gap: 10px;
}
.np7-featured-item span.np7-featured-logo{width:40px; height:40px;}
.np7-featured-item span.np7-featured-info{width: 100%;
    text-align: center;}
.np7-featured-item span.np7-featured-info strong{    font-weight: normal;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    width: 100%;}
.np7-featured-item:hover {
    transform: translateY(-5px);
    border-color: #cce5ff;
    box-shadow: 0 10px 24px rgba(64, 158, 255, 0.12), 0 4px 10px rgba(0, 0, 0, 0.04);
}
.np7-featured-item::after { /* 悬浮时的底部蓝色微光条 */
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%) scaleX(0);
    width: 60%; height: 3px; background: linear-gradient(90deg, transparent, #409eff, transparent);
    transition: transform 0.4s ease; border-radius: 3px 3px 0 0;
}
.np7-featured-item:hover::after { transform: translateX(-50%) scaleX(1); }

.np7-featured-icon {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 10px; border-radius: 12px; background: #f8f9fa;
    font-size: 18px; font-weight: 700; color: #555; overflow: hidden; flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, background 0.4s ease;
}
.np7-featured-item:hover .np7-featured-icon {
    transform: scale(1.1); background: #ffffff; box-shadow: 0 4px 12px rgba(64, 158, 255, 0.15);
}
.np7-featured-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.np7-featured-title {
    font-size: 13px; color: #444; font-weight: 500; text-align: center; line-height: 1.4; width: 100%;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.3s ease;
}
.np7-featured-item:hover .np7-featured-title { color: #409eff; font-weight: 600; }


.np7-richtext a{color:#0369a1}
.np7-richtext a:hover{color:#004c76}

.np7-subcat-bar.n-paihangbang-nav{}
.np7-subcat-bar.n-paihangbang-nav a{font-size: 16px;font-weight: bold; width:auto !important}

/* ========== 导航栏主菜单横向排版 ========== */
.navbar-menu.xwme-ql-wrap {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px; /* 一级菜单之间的间距 */
}

.navbar-menu.xwme-ql-wrap > .menu-item {
    position: relative; /* 为下拉菜单定位做基准 */
}

/* 一级菜单链接样式 */
.navbar-menu.xwme-ql-wrap > .menu-item > a {
        display: block;
    padding: 10px 5px;
    color: #475569;
    text-decoration: none;
    font-size: 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: bold;
    font-style: italic;
}

/* 鼠标悬浮一级菜单时的效果 */
.navbar-menu.xwme-ql-wrap > .menu-item:hover > a {
    background-color: #f0f7ff; /* 浅蓝色背景 */
}

/* ========== 下拉菜单 (竖排布局) ========== */
.navbar-menu.xwme-ql-wrap .sub-menu {
    position: absolute;
    top: 100%; /* 贴在父级菜单正下方 */
    left: 50%;
    transform: translateX(-50%) translateY(10px); /* 水平居中，并稍微向下偏移一点做动画 */
    
    background: #ffffff;
    min-width: 100px; /* 下拉菜单最小宽度 */
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* 柔和的立体阴影 */
    padding: 8px 0;
    list-style: none;
    margin: 0;
    z-index: 999;
    
    /* 默认隐藏状态 */
    opacity: 0;
    visibility: hidden;
    /* 平滑过渡动画 */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 鼠标悬浮时显示下拉菜单 */
.navbar-menu.xwme-ql-wrap > .menu-item:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0); /* 动画滑入 */
}

/* 下拉菜单内的项 (竖排) */
.navbar-menu.xwme-ql-wrap .sub-menu .menu-item-z {
    display: block;
    width: 100%;
}

/* 下拉菜单内的链接 */
.navbar-menu.xwme-ql-wrap .sub-menu .menu-item-z > a {
    display: block;
    padding: 8px 10px;
    color: #555;
    text-decoration: none;
    font-size: 12px;
    white-space: nowrap;
    transition: all 0.2s ease;
    font-style: italic;text-align: center;
}

/* 鼠标悬浮下拉菜单项时的效果 */
.navbar-menu.xwme-ql-wrap .sub-menu .menu-item-z > a:hover {
    background: #ecfeff;
    color: #0369a1; /* 悬浮变蓝 */
    padding-left: 15px; /* 鼠标移上去时文字微微向右移动，增加交互感 */
}

/* 可选：在一级菜单文字右侧加一个小箭头 */
.navbar-menu.xwme-ql-wrap > .menu-item > a::after {
    content: "▾";
    font-size: 12px;
    margin-left: 4px;
    color: #999;
    transition: transform 0.3s ease;
    display: inline-block;
}
.navbar-menu.xwme-ql-wrap > .menu-item:hover > a::after {
    color: #409eff;
    transform: rotate(180deg); /* 箭头反转 */
}



.np7-top-links.n_topmenu{overflow: inherit;}
/* ===== 顶部导航容器 ===== */
/* =========================================================
   顶部导航：全部分类 + 直接展示的内容导航
   ========================================================= */

/* 顶部导航容器 */
.np7-top-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* 直接展示的内容导航：首页、软件下载、文章资讯等 */
.np7-top-links > a {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;font-size:15px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .15s ease;
}

.np7-top-links > a.active,
.np7-top-links > a:hover,
.np7-top-links > a:focus-visible {
    background: rgba(0, 0, 0, .06);
    outline: none;
}

/* “全部分类”外层 */
.np7-top-all {
    position: relative;
}

/* 透明桥接区：填补按钮与下拉之间的空隙，避免 hover 中断 */
.np7-top-all::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
    background: transparent;
    z-index: 49;
}

/* “全部分类”A 标签触发器 */
.np7-top-all-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 8px;
    color: inherit;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease;
}

.np7-top-all-toggle:hover,
.np7-top-all-toggle.active,
.np7-top-all-toggle:focus,
.np7-top-all-toggle:focus-visible {
    background: rgba(0, 0, 0, .06);
    outline: none;
}

.np7-top-all-toggle i {
    font-style: normal;
    font-size: 10px;
    opacity: .65;
    transition: transform .2s ease;
}

/* 下拉面板：只放网址导航一级分类 */
.np7-top-sub-all {
        position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 50;
    width: min(180px, 86vw);
    max-height: 420px;
    overflow: auto;
    padding: 10px;
    border-radius: 12px;
    background: #fffffff0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity .10s ease, transform .10s ease, visibility .10s ease;
}

.np7-top-sub-all a {
    display: block;
    padding: 9px 10px;
    border-radius: 7px;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color .15s ease;
}

.np7-top-sub-all a:hover,
.np7-top-sub-all a.active,
.np7-top-sub-all a:focus-visible {
    background: rgba(0, 0, 0, .06);
    outline: none;
}

/* 桌面端：鼠标经过显示 */
@media (hover: hover) and (pointer: fine) {
    .np7-top-all:hover .np7-top-sub-all {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .np7-top-all:hover .np7-top-all-toggle i {
        transform: rotate(180deg);
    }
}

/* 触屏端：点击 A 标签获得焦点后展开，点击外部自动收起 */
.np7-top-all:focus-within .np7-top-sub-all {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.np7-top-all:focus-within .np7-top-all-toggle i {
    transform: rotate(180deg);
}

/* =========================================================
   移动端
   ========================================================= */
@media (max-width: 768px) {
    .np7-top-links.n_topmenu {
        gap: 4px; display: none;
    }
    .n-x-tool{display: none;}
    .np7-top-links > a,
    .np7-top-all-toggle {
        padding: 6px 10px;
        font-size: 14px;
    }

    .np7-top-sub-all {
        width: 92vw;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: 60vh;
    }

    /* 移动端不需要 hover 桥接 */
    .np7-top-all::before {
        display: none;
    }
}






@media (max-width: 768px) {
    body.ym-content-template .ym-content-rich :is(img,video) {
        height: auto !important;
        width:100%;
    }
    body.ym-content-detail-template .ym-content-rich{padding: 24px 0px;}
     .np7-detail-hero-card{padding: 24px 15px;}
     .np7-subcat-bar a{width:48% !important}
}

@media (max-width: 1366px) and (min-width: 1199px) {
    .np7-featured-grid {
        grid-template-columns: repeat(9, minmax(0, 1fr));
    }
}
@media (max-width: 1800px) and (min-width: 1365px) {
    .np7-featured-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
}