@font-face {
    font-family: 'nbb';
    src: url("/static/font/JetBrainsMono-Medium.woff2") format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* 在字体下载过程中使用系统字体，提升用户体验 */
}
::marker {
    font-family: Inter, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif !important;
}
:root {
    --header-text-color: #3a3f4a;
    --header-text-color-rgb: 58, 63, 74;
    --underline-hover-color: #3a3f4a
}
header {
    min-width: 137px;
    width: fit-content;
}
header.transparent {
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: inline-block;
    width: 100%;
    z-index: 6;
    border-bottom: none;
}
footer {
    color: #383838cc;
    padding: 38px 0;
    border-top: 1px solid #f8f8f8;
    margin-top: 64px;
}
footer h1,h2,h3,h4,h6,h6{
    margin: 0;
}
.footer-grid {
    display: flex;
    justify-content: space-around;
    gap: 3rem;
    align-items: start;
    grid-template-columns: 1fr 2fr 1fr;
}
.footer-grid > * {
    flex: 1;
}
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 16px 0;
}
.footer-nav-tree {
    display: flex;
    gap: 3rem;
}
.footer-nav-tree a[href] {
    position: relative;
    display: inline-block;
}
.footer-nav-tree a:not([href]) {
    opacity: 0.8;
    font-size: 0.95em;
}
.footer-nav-tree a[href]:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px; /* 下划线高度 */
    width: 0;
    background-color: var(--underline-hover-color, #3a3f4a); /* 下划线颜色 */
    transition: width 0.3s ease; /* 动画时长及效果 */
}
.footer-nav-tree a[href]:hover:after {
    width: 100%; /* 鼠标经过时扩展到100%宽度 */
}
.footer-nav-tree > * {
    white-space: nowrap;
}
.footer-nav-tree .first {
    font-weight: 400;
}
.footer-nav-tree a {
    padding: 3px 0;
    display: inline-block;
}
.footer-nav-tree a:hover {
    opacity: 0.8;
}
.footer-nav-tree > li > ul {
    margin-left: 0;
}
.footer-nav-tree ul {
    margin-left: 6px;
}
.footer-grid .footer-right {
    display: flex;
    justify-content: flex-end;
}
.footer-grid .footer-left {
    display: flex;
    justify-content: left;
}
.footer-grid .edi > * {
    /*display: flex;
    align-items: center;*/
}
.footer-copyright {
    text-align: center;
    padding: 16px 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}
.brand h1 {
    position: absolute;
    left: -9999999px;
}
.brand a {
    padding: 0;
}
.logo {
    --scale: 100;
    max-height: 42px;
    max-width: 120px;
    margin: 0;
    vertical-align: middle;
    transform-origin: 0 50%;
    transform: scale(calc(var(--scale, 1) / 100.0));
}
.n-nav-bar .logo {
    max-height: 1.6em;
    max-width: 120px;
    margin: 0;
    vertical-align: middle;
}
.n-nav-bar .menu {
    background-color: var(--header-text-color);
    opacity: .9;
    width: 1.6em;
    height: 1.6em;
}
.logo:after {
    --logo: url("/static/svg/logo.svg");
    content: ''; /* 伪元素内容为空 */
    display: inline-block;
    width: 100%;
    height: 100%;
    background-color: currentColor;
    background-image: var(--logo);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.auto-mode > *:not(.hidden):nth-child(1) {
    margin-top: 0;
}
.auto-mode > *:not(.hidden):nth-child(2) {
    margin-top: 4em;
}
.auto-mode > *:not(.hidden):nth-child(3) {
    margin-top: 5em;
}

.n-nav {
    align-items: center;
    gap: 1rem;
    position: relative;
    justify-content: space-between;
}
.n-nav-bar {
    display: none;
    min-height: 32px;
    align-items: center;
    gap: 1em;
    padding: 0.6em 0;
}
.n-nav-bar .img {
    /*width: 100%;
    height: 100%;
    max-height: 32px;*/
    /*display: none;*/
}
.n-nav-menu {
    align-items: center;
    gap: 3rem;
    margin-top: 3em;
    font-size: 1.1em;
}
.n-nav-menu .n-nav-menu {
    margin-top: 0;
    margin-left: 0.5em;
    font-size: 0.9em;
    opacity: 0.8;
}
.n-nav-menu a {
    padding: 10px 0;
    color: var(--header-text-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.66em;
    white-space: nowrap;
}
.n-nav-menu a.ico:before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    opacity: 0.8;
}
.n-nav-menu a:hover {
    color: var(--header-text-color);
    opacity: .8;
}
.n-nav-menu .son-menus > *:first-child {
    padding-top: 12px;
}
.n-nav-menu .son-menus > * {
    padding-left: 12px;
    padding-right: 12px;
}
.n-nav-menu .son-menus > *:last-child {
    padding-bottom: 12px;
}
.n-nav-menu .son-menus a {
    padding: 6px;
    display: inline-block;
}
.son-menus ul {
    margin-left: 12px;
}
.n-main {
    margin-top: 3em;
    display: flex;
    justify-content: center;
    gap: 1em;
}
.n-blog-box > .right-side {
    float: right;
}
.right-width {
    width: 260px;
    height: fit-content;
}
.n-blog-box {
    position: relative;
}
.n-blog {
    max-width: 676px;
    min-width: 1px;
    width: 100%;
    margin: auto;
    display: inline-block;
    vertical-align: top;
}
.n-blog-title {
    margin: 0 auto 32px auto;
}
.n-blog-source {
    color: #8c8c8c; display: flex; align-items: center; gap: 2em;
}
.n-blog-content {

}
.n-panel {
    color: #3a3f4a;
}
.n-panel .n-list {
    margin-top: 6px;
}
.n-panel-title {
    font-size: 1.1em;
    font-weight: normal;
    margin: 0;
}
.n-panel-title.underline {
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 12px;
}
.n-page {
    margin: auto;
}

.col-8 {
    flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;
}

.blog-cover {
    height: 300px;
}
.blog-cover h2 {
    font-size: 3em;
}

.blog-list {

}
.blog-list .title {
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.2em;
    font-weight: 400;
}
.blog-list .digest {
    font-size: 0.85em;
    margin-top: 0.6em;
    opacity: 0.8;
}

.blog-list .n-list-item {
    padding: 32px 0;
}
.blog-item {
    display: flex;
    gap: 1.6em;
}
.blog-item .n-cover {
    width: 100px;
    padding-top: 100px;
}
.blog-item .n-cover.sm {
    width: 66px;
    padding-top: 66px;
}
.blog-item .n-cover .pic {
    border-radius: 6px;
}
.blog-item .info {
    margin-top: 12px;
    color: #8c8c8c;
}
.n-list .n-list-item {
    margin: 16px 0;
}

.n-list-item {
    display: flex;
    position: relative;
}
.n-list-item:hover {
    color: #111111;
}
.n-list-item .cover {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    min-width: 96px;
    width: 96px;
    height: 72px;
    margin-right: 12px;
    border-radius: 4px;
}
.n-list-item .cover .pic {
    background-color: #f1f1f1;
    display: block;
    width: inherit;
    height: 100%;
    border-radius: 4px;
    background-size: cover;
    background-position: 50%;
    -webkit-transition: all .5s ease-out .1s;
    -moz-transition: all .5s ease-out .1s;
    transition: all .5s ease-out .1s;
}
.n-list-item .title {
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
}
.n-list-item .info {
    margin-top: 12px;
    color: #8c8c8c;
}

.nav-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: hwb(0deg 100% 0% / 95%);
    border-bottom: 1px solid #f8f8f8;
    font-size: 14px;
    z-index: 9;
}
.nav-list {
    display: flex;
    gap: 12px;
    align-items: center;
}
.nav-list::-webkit-scrollbar {
    height: 0px;
}
.nav-list a {
    padding: 8px;
    white-space: nowrap;
    display: block;
    margin-bottom: -1px;
}
.nav-list a.selected {
    padding: 8px;
    font-weight: 600;
}
.nav-set {
    display: flex;
    gap: 24px;
    align-items: center;
    padding: 6px 0;
}
.nav-set .icon {
    cursor: pointer;
    color: #3a3f4a;
}
.nav-set .icon.selected {
    color: #ccc;
}

.n-dropdown {

}
.n-dropdown .first {
    display: flex;
    align-items: center;
    gap: 4px;
}
.n-dropdown .first:after {
    content: ''; /* 伪元素内容为空 */
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='black' d='M4.5 6L8 9.5L11.5 6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='black' d='M4.5 6L8 9.5L11.5 6'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    vertical-align: middle;
}
.n-dropdown-menu {
    position: absolute;
    white-space: nowrap;
    gap: 12px;
    border-top: none;
    border-radius: 0 0 4px 4px;
    background-color: #ffffff;
    top: 28px;
    height: 0; /* 初始高度为0 */
    opacity: 0; /* 初始透明 */
    overflow: hidden; /* 隐藏内容 */
    padding: 0;
    transition: height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    z-index: 99999;
}
.n-dropdown.show .n-dropdown-menu {
    height: var(--height, 200px);
    opacity: 1; /* 完全显示 */
    box-shadow: rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px;
}
.n-dropdown-menu .item {
    padding: 6px 12px !important;
    display: inline-block;
}
.n-dropdown-menu .item:hover {
    font-weight: 500;
}
.n-dropdown-menu a {
    color: #3a3f4a;
}
.n-dropdown-menu a:hover {
    color: #3a3f4a99;
}

.sticky-panel {
    position: sticky;
    top: 10px;
    overflow: auto;
}

.page-cover {
    display: flex;
    background-size: cover !important;
    background: #f1f2f154 no-repeat 50% 50%;
    -webkit-transition: all .5s ease-out .1s;
    -moz-transition: all .5s ease-out .1s;
    transition: all .5s ease-out .1s;
    align-items: center;
    justify-content: center;
    color: var(--header-text-color);
    padding: 1em 0;
    border-radius: 0.2em;
}
.page-cover.theme1 {
    background: linear-gradient(36deg, #C1E9FF, #F4F5F6, #E1FCFF, #BDE7FF) no-repeat 50% 50%;
    background-size: 400% 400% !important;
    animation: gradient 8s ease infinite;
}
.page-cover h1,h2,h3,h4 {
    margin-bottom: 0.3em;
}

.index-cover {
    padding: 0;
    font-size: 24px;
    height: 80vh;
}

.product-cover {
    padding: 120px 0;
    /**mix-blend-mode: color;**/
}
.product-cover h2 {
    font-size: 3em;
}

.product-list .title {
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    color: #3a3f4a;
    font-weight: normal;
}
.product-list .n-grid-item {

}
.n-grid-item {
    position: relative;
}
.n-grid-item a:hover {
    color: #222;
}
.n-grid-item .cover {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    min-width: 96px;
    margin: auto;
    border-radius: 4px;
    display: block;
}
.n-grid-item .cover .pic {
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 320px;
    border-radius: 4px;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    background-color: #f1f2f154;
    -webkit-transition: all .5s ease-out .1s;
    -moz-transition: all .5s ease-out .1s;
    transition: all .5s ease-out .1s;
    font-weight: 200;
    font-size: 16px;
    color: #CCC;
}
.n-grid-item .title {
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    color: #3a3f4a;
    font-weight: normal;
}
.n-grid-item .title a {
    color: #666;
}
.n-grid-item .info {
    display: flex;
    align-items: center;
}

.n-product-detail {
    display: flex;
    gap: 50px;
}
.n-pictures {
    max-width: 460px;
    min-width: 120px;
}
.n-pictures .album {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    grid-auto-flow: column;
    gap: 12px;
    overflow-x: hidden;
    transition: overflow 0.3s ease;
    max-width: 100%;
    margin: 12px auto auto auto;
}
.album .item {
    --cover-w: 64px;
}
.n-pictures .album .bg-cover {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}
.n-pictures .album .bg-cover.selected {
    border-bottom: 2px solid #3a3f4a !important;
}
.n-pictures .album .bg-cover.selected::after {
    content: " ";
    background: #33333345 linear-gradient(1deg, #33333336, #ffffffc7);
    width: 100%;
    height: 100%;
}
.n-content .pd {
    margin-top: 12px;
}
.n-content .title {
    margin: 0;
    font-size: 20px;
    font-weight: normal;
    color: #3a3f4a;
    max-width: 660px;
}
.n-content .digest {
    max-width: 660px;
    border: 1px solid #f1f1f1;
    border-radius: 4px;
    padding: 6px 12px;
}
.n-content .price {
    font-size: 24px;
    font-weight: 500;
}
.n-content .spec-list .n-style-item {
    margin: 24px auto;
}

.main-content {
    display: flex;
}

.n-style-item .name {
    display: block;
    color: #8c8c8c;
    font-size: 14px;
    font-weight: 300;
}
.n-style-item .style {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}
.n-style-item .style .i {
    border: 1px solid #eee;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}
.n-style-item .style .i:hover {
    border-color: #3a3f4a;
    color: #333;
}
.n-style-item .style .i.selected {
    background-color: #3a3f4a;
    border-color: #3a3f4a;
    color: #FFF;
}
.n-style-item .style .i.disable {
    background-color: #f1f1f1;
}
.n-style-item .style .i.selected:hover {
    background-color: #3a3f4a;
    border-color: #3a3f4a;
    color: #FFF;
}
.n-html {
    width: 676px;
    max-width: 100%;
    margin: 32px auto;
}
.n-to-buy {
    padding: 6px 18px;
    background: #333;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-weight: 200;
    width: fit-content;
}
.n-to-buy::before {
    content: ''; /* 伪元素内容为空 */
    width: 20px; /* 图标宽度 */
    height: 20px; /* 图标高度 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1.2rem' height='1.2rem' viewBox='0 0 48 48'%3E%3Cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' d='m5.815 15.64l2.056 20.267a8.445 8.445 0 0 0 8.402 7.593h15.454a8.445 8.445 0 0 0 8.402-7.593l2.056-20.268Z'/%3E%3Cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' d='M15.633 15.64v-2.816a8.366 8.366 0 0 1 16.732 0v2.815M20.398 34.394c.8.672 1.663.98 3.602.98h.983a2.9 2.9 0 0 0 2.895-2.902h0a2.9 2.9 0 0 0-2.895-2.902h-1.966a2.9 2.9 0 0 1-2.895-2.902h0a2.9 2.9 0 0 1 2.895-2.901H24c1.94 0 2.803.307 3.602.979'/%3E%3C/svg%3E"); /* SVG 背景 */
    background-size: cover; /* 背景尺寸适应元素 */
    background-repeat: no-repeat;
}
.n-to-buy:hover {
    background: #111;
}

.price {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: math,-apple-system;
    font-size: medium;
}
.price > .unit {
    font-weight: 300;
    font-size: small;
}
.price > .num {
    font-weight: 500;
}

.cover.min-height {
    height: 160px;
}
.cover.full-width {
    width: 100%;
}
.bg-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    background-color: #f1f2f154;
    -webkit-transition: all .5s ease-out .1s;
    -moz-transition: all .5s ease-out .1s;
    transition: all .5s ease-out .1s;
    font-weight: 200;
    font-size: 16px;
    color: #CCC;
}
.n-grid-padding > * {
    padding-right: 32px;
}
.n-grid-padding > *:last-child {
    padding-right: 0;
}

.n-grid-8-padding > * {
    padding-right: 32px !important;
    padding-left: 0;
}
.n-grid-8-padding > *:nth-child(3n+3) {
    padding-right: 0;
}

/*.min-bar {
    scrollbar-width: thin; !* 滚动条宽度 (auto, thin, none) *!
    scrollbar-color: #888 transparent; !* 滑块颜色 和 轨道颜色 *!
}*/

.select-filter {
    border: none;
    /*很关键：将默认的select选择框样式清除*/
    appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
    /*在选择框的最右侧中间显示小箭头图片*/
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1rem' height='1rem' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.1' d='M8 20V10m0 10l-3-3m3 3l3-3m5-13v10m0-10l3 3m-3-3l-3 3'/%3E%3C/svg%3E") no-repeat scroll right center transparent;
    /*为下拉小箭头留出一点位置，避免被文字覆盖*/
    padding-right: 20px;
    padding-left:5px;
    font-size: 12px;
}
.select-filter option {
    padding: 3px;
}

.n-loading {
    width: 3rem !important;
    height: 3rem !important;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #888;
}
.n-title {
    margin: 0;
    font-weight: 400;
    font-size: 1.4em;
    color: #3a3f4a;
}
.n-more {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: #f1f1f1cc;
    padding: 6px 16px;
    color: #888;
    font-size: 14px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border-radius: 4px;
}
.n-more.left {
    margin-left: 0;
}
.n-more:after {
    content: "→";
}
.n-more:hover {
    background: #3a3f4a;
    color: #FFF;
}
.n-more:hover:after {
    transform: rotate(90deg);
}
.n-lang {
    color: #888;
    font-size: smaller;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 14px 0;
}
.n-lang:before {
    content: ''; /* 伪元素内容为空 */
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background-color: var(--header-text-color);
    opacity: .6;
    -webkit-mask-image: url("/static/svg/language.svg");
    mask-image: url("/static/svg/language.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    vertical-align: middle;
}
.n-lang .current-lang {
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--header-text-color);
    opacity: .7;
}
.n-lang .current-lang:after {
    content: ''; /* 伪元素内容为空 */
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='black' d='M4.5 6L8 9.5L11.5 6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='black' d='M4.5 6L8 9.5L11.5 6'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    vertical-align: middle;
}
.n-lang .n-dropdown-menu {
    min-width: 100%;
    z-index: 9;
}
.n-lang .item {
    display: block;
}
.flex-right {
    display: flex;
    justify-content: flex-end;
}
.n-search{
    --search-border: 1px solid var(--header-text-color);
    border: var(--search-border);
    border-radius: 6px;
    display: flex;
    align-items: center;
}
.n-search input{
    border: none;
    background: transparent;
    outline: none; /* 去除点击input时产生的轮廓 */
    padding-left: 8px; /* 根据需要调整内边距 */
    margin: 0; /* 根据需要调整外边距 */
    width: 160px;
    max-width: 100%;
    position: relative;
    transition: width 0.3s ease;
    color: var(--header-text-color);
}
.n-search input:focus{
    outline: none; /* 去除点击input时产生的轮廓 */
    width: 300px;
}
.n-search button{
    outline: none;
    border: none;
    background: none;
    height: 100%;
    padding: 6px;
    color: var(--header-text-color);
}
.n-search .icon.search{
    cursor: pointer;
    width: 1.2rem;
    height: 1.2rem;
}

.no-content {
    text-align: center;
    min-height: 160px;
    color: #3a3f4a;
    font-size: large;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f1f2f154 no-repeat 50%;
    border-radius: 4px;
    gap: 6px;
}
.no-content a {
    font-size: small;
    padding: 3px 0;
}
.no-content .icon {
    width: 1.3rem;
    height: 1.3rem;
    color: #888;
}
.underline-hover {
    position: relative;
    display: inline-block;
}
.underline-hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px; /* 下划线高度 */
    width: 0;
    background-color: var(--underline-hover-color, #3a3f4a); /* 下划线颜色 */
    transition: width 0.3s ease; /* 动画时长及效果 */
}

.underline-hover:hover::after {
    width: 100%; /* 鼠标经过时扩展到100%宽度 */
}

.n-form-title {
    color: #555;
    text-align: center;
    margin: 0 0 30px 0;
}
.n-form-control {
    margin-bottom: 30px;
    position: relative;
}
.n-form > .n-form-control:last-of-type {
    margin-bottom: 0 !important;
}
.n-form-control .n-label {
    font-size: 14px;
    font-weight: bold;
    color: #555;
    margin-bottom: 8px;
    display: block;
}
.n-form-control .n-input {
    width: 100%;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    box-sizing: border-box;
    background: transparent;
    transition: all 0.3s ease;
}
.n-form-control .n-input:focus {
    border-color: #1976d2;
}
/** --- Checkbox 和 Radio 样式 --- **/
.n-form-control .n-checkbox-group,.n-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}
.n-form-control .n-checkbox-item,.n-radio-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.n-form-control .n-checkbox-item,.n-radio-item input {
    margin: 0;
}
.n-form-control .n-button {
    display: inline-block;
    background-color: #3a3f4a;
    color: #fff;
    padding: 6px 12px;
    font-weight: bold;
    text-align: center;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
    margin-top: 10px;
}
.n-form-control .n-button:hover {
    background-color: #3a3f4a99;
}
.n-form-control.validate .tips {
    font-size: xx-small;
    color: crimson;
    margin-top: 5px;
    display: block;
    font-weight: 300;
}
.n-form-control.validate .n-input {
    border-color: red;
}
.grid-stack-item-content > * {
    max-width: 100%;
}
.n-lazy.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f1f155;
}
.n-lazy.loading:after {
    content: "";
    display: inline-block;
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='18' cy='12' r='0' fill='%23aaa'%3E%3Canimate attributeName='r' begin='.67' calcMode='spline' dur='1.5s' keySplines='0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8' repeatCount='indefinite' values='0;2;0;0'/%3E%3C/circle%3E%3Ccircle cx='12' cy='12' r='0' fill='%23888'%3E%3Canimate attributeName='r' begin='.33' calcMode='spline' dur='1.5s' keySplines='0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8' repeatCount='indefinite' values='0;2;0;0'/%3E%3C/circle%3E%3Ccircle cx='6' cy='12' r='0' fill='%23aaa'%3E%3Canimate attributeName='r' begin='0' calcMode='spline' dur='1.5s' keySplines='0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8' repeatCount='indefinite' values='0;2;0;0'/%3E%3C/circle%3E%3C/svg%3E");
}
.powered-by {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-weight: 300;
    color: #38383888;
    font-size: 0.75em;
    margin-top: 1.6em;
}
.powered-by i {}
.powered-by .icon {
    width: 1em;
    height: 1em;
}
.powered-by a {
    font-weight: 500;
    font-family: nbb;
}
.n-tl-item {
    display: flex;
    gap: 1.5em;
}
.n-tl-item .n-cover {
    --cover-w: 120px;
}
.n-tl-item .n-cover.md {
    --cover-w: 88px;
}
.n-tl-item .n-cover > * {
    border-radius: 1em;
}
.n-tl-item .info {
    max-width: 520px;
}
.n-tl-item .info .title {
    display: flex;
    gap: 1em;
    align-items: center;
}
.n-tl-item .info .title h3 {
    font-size: 1.8em;
    margin: 0;
}
.n-tl-item .info .title .at {
    font-size: 1em;
    opacity: 0.6;
}
.n-tl-item .info .pre-line {
    opacity: 0.8;
    margin-top: 0.8em;
}

.timeline {
    position: relative;
    max-width: fit-content;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: rgba(0, 0, 0, 0.08);
    top: 0;
    bottom: 0;
    left: 57px;
}

.timeline-item {
    position: relative;
    margin: 2rem 0;
    padding-left: 120px;
}
.timeline-item:hover::before {
    border-color: #3a3f4a;
}

.timeline-item::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    left: 48px;
    top: 0;
}

.timeline-content {
    background-color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: inset 0px 0px 1px 1px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-top: 1.2em;
}
.timeline-content .link {
    position: absolute;
    top: 1em;
    right: 1em;
    color: #88888888;
}
.timeline-content .link:hover {
    color: #3a3f4a;
}

.timeline-time {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.3rem;
}
.timeline-text {
    margin-top: 0.5em;
    max-width: 520px;
    word-break: break-all;       /* 任意位置都能断开 */
    overflow-wrap: break-word;   /* 让长词折行 */
    white-space: normal;         /* 允许换行 */
}
.timeline-text .pre-line {
    white-space: pre-line;
}
.timeline-media {
    margin-top: 1em;
}
.timeline-media:has(img:nth-child(2)) {
    column-count: 2;
    column-gap: 1em;
}
.timeline-media.one {}
.timeline-media.d {
    column-count: 1 !important;
}
.timeline-media img {
    width: 100%;
    margin-bottom: 1em;
    break-inside: avoid;
    border-radius: 6px;
    display: block;

}
.pre-line {
    white-space: pre-line;
}
.pre-line p {
    margin: 0;
}

.ellipsis-lines {
    --line: 1;
    display: -webkit-box;
    -webkit-line-clamp: var(--line);       /* 最多显示 3 行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.line-3 {
    --line: 3;
}
.line-2 {
    --line: 2;
}

.gap-1\.6 {
    gap: 1.6em;
}

@media (max-width: 576px) {
    .n-sidebar {
        padding: 1.8em;
        width: var(--sidebar-width);
        background: #fffffffa;
        left: calc((var(--sidebar-width)) * -1 - 10px);
        position: fixed;
        z-index: 9999;
        top: 0;
        bottom: 0;
        transition: left 0.1s ease-out;
        box-shadow: 0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;
    }
    .n-sidebar > * {
        margin-top: 0;
    }
    /*.n-sidebar .title {
        font-weight: 300;
        margin: 0;
        padding: 12px 0;
        font-size: 14px;
        color: #888888;
    }
    .n-sidebar .nav {
        font-size: larger;
        font-weight: 300;
        margin-top: 16px;
    }
    .n-sidebar .nav .item {
        display: block;
        padding: 16px 0;
    }*/
    .n-tl-item .n-cover {
        --cover-w: 60px;
    }
    .timeline {
        padding-left: 1rem;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item {
        padding-left: 30px;
    }

    .timeline-item::before {
        left: -14px;
    }
    .mt-1 {margin-top: 0.5em}
    .mt-2 {margin-top: 1em}
    .mt-3 {margin-top: 1.5em}
    .mt-4 {margin-top: 2em}
    .mt-5 {margin-top: 2.5em}
    .mt-6 {margin-top: 3em}
    .mt-7 {margin-top: 3.5em}
    .mt-8 {margin-top: 4em}
    .mt-9 {margin-top: 4.5em}
    .mt-10 {margin-top: 5em}

    .mmt-1 {margin-top: 0.5em}
    .mmt-2 {margin-top: 1em}
    .mmt-3 {margin-top: 1.5em}
    .mmt-4 {margin-top: 2em}
    .mmt-5 {margin-top: 2.5em}
    .mmt-6 {margin-top: 3em}
    .mmt-7 {margin-top: 3.5em}
    .mmt-8 {margin-top: 4em}
    .mmt-9 {margin-top: 4.5em}
    .mmt-10 {margin-top: 5em}
    .auto-mode > *:not(.hidden):nth-child(1) {
        margin-top: 0;
    }
    .auto-mode > *:not(.hidden):nth-child(2) {
        margin-top: 3em;
    }
    .auto-mode > *:not(.hidden):nth-child(3) {
        margin-top: 3.5em;
    }
    .n-main {
        display: block;
        margin-top: 0;
    }
    .n-main > header + *  {
        margin-top: 2em;
    }
    .n-nav.sticky-panel {
      position: initial;
    }
    .main-content {
        display: block;
    }
    .n-blog-box.mobile {
        width: auto;
        min-width: auto;
    }
    .n-blog {
        width: auto;
        display: block;
    }
    .n-main > .right-side {
        width: auto;
        margin-top: 20px;
    }
    .n-list-item.mobile {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .n-grid-item.mobile {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .n-row.mobile {
        margin-left: auto;
        margin-right: auto;
    }
    .n-row.mobile .n-col {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    .nav-list {
        max-width: 100%;
    }
    .pic.sm-pic {
        height: 160px !important;
    }
    .mobile-none {
        display: none;
    }
    .sm-none {
        display: none;
    }
    .sm-flex {
        display: flex;
    }
    .n-product-detail {
        display: block;
    }
    .m-mt-32px {
        margin-top: 32px;
    }
    .m-mb-32px {
        margin-bottom: 32px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        display: block;
    }
    .footer-grid > * {
        margin: 1em 0;
    }
    .footer-grid > .footer-right {
        justify-content: left;
    }
    .n-search input {
        font-size: 16px;
    }
    .n-blog-box {
        margin-top: 2em;
    }
    .n-blog-box > .right-side {
        float: initial;
        margin-top: 2em;
        width: auto;
    }
}

@media (max-width: 768px) {
    .pic.md-pic {
        height: 160px !important;
    }
}
@media (max-width: 992px) {
    .pic.md-pic {
        height: 160px !important;
    }
}