/* ==========================================================================
   NBfloor — /products/ + /blog/ 页面样式层（assets/product.css）
   独立于 Tailwind，只由 products/blog 页面加载。
   色彩：现站酒红系 primary #a82646 / deep #6b1326 / secondary #7b1c33。
   ========================================================================== */

:root {
    --brand: #a82646;
    --brand-d: #6b1326;
    --brand2: #7b1c33;
    --ink: #1a1a1a;
    --body: #4b5563;
    --muted: #6b7280;
    --line: #e8eaee;
    --wash: #faf7f8;
    --wood: #f7efe7;
    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --head: 'Montserrat', 'Inter', system-ui, sans-serif;
    --r: 16px;
    --sh: 0 1px 2px rgba(26, 26, 26, .04), 0 12px 32px -12px rgba(26, 26, 26, .16);
    --sh-lg: 0 2px 6px rgba(26, 26, 26, .06), 0 28px 56px -20px rgba(26, 26, 26, .26);
}

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 110px; }
::selection { background: rgba(168, 38, 70, .16); color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px;
}
h1, h2, h3 { text-wrap: balance; }
/* 移动端防溢出：长词/粘连词允许断行（sp-br-lg 空格修复的兜底） */
.sp-hero h1, .sp-pbanner h1, .sp-post-hero h1 { overflow-wrap: break-word; }
br.sp-br-lg { display: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important; animation-iteration-count: 1 !important;
        transition-duration: .001ms !important; scroll-behavior: auto !important;
    }
    .sp-pcard:hover, .sp-bcard:hover, .sp-app:hover, .sp-btn:hover { transform: none; }
}

/* ---------- 按钮 ---------- */
.sp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 14px 26px; border-radius: 10px; font-weight: 600; font-size: 15px;
    text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    background: var(--brand); color: #fff;
    box-shadow: 0 10px 24px -12px rgba(168, 38, 70, .75);
}
.sp-btn:hover { background: var(--brand-d); transform: translateY(-2px); color: #fff; }
.sp-btn i { font-size: 13px; }
.sp-btn-light { background: #fff; color: var(--brand2); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .55); }
.sp-btn-light:hover { background: #fff; color: var(--brand-d); }
.sp-btn-outline { background: transparent; color: var(--brand); border: 1px solid rgba(168, 38, 70, .4); box-shadow: none; }
.sp-btn-outline:hover { background: rgba(168, 38, 70, .07); color: var(--brand-d); }
.sp-btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .5); box-shadow: none; }
.sp-btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.sp-btn-sm { padding: 11px 20px; font-size: 14px; }
.sp-btn-full { width: 100%; }
.sp-btn-block { display: inline-flex; margin-top: 18px; }

/* ---------- 文字部件 ---------- */
.sp-kicker {
    font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--brand); display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px;
}
.sp-kicker::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.sp-kicker-dark { color: var(--brand2); }
.sp-kicker-on-dark { color: rgba(255, 255, 255, .8); }
.sp-kicker-on-dark::before { background: rgba(255, 255, 255, .55); }
.sp-more {
    display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600;
    color: var(--brand); text-decoration: none; margin-top: 14px;
}
.sp-more:hover { text-decoration: underline; }
.sp-more i { font-size: 12px; transition: transform .2s ease; }
.sp-more:hover i { transform: translateX(3px); }

/* ---------- 面包屑 ---------- */
.sp-bc { padding: 0 0 18px; font-size: 13.5px; }
.sp-bc a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.sp-bc a:hover { text-decoration: underline; }
.sp-bc .sp-bc-cur { color: rgba(255, 255, 255, .6); }
.sp-bc .sp-bc-sep { color: rgba(255, 255, 255, .35); margin: 0 8px; }
.sp-bc:not(.sp-bc-dark) a { color: var(--brand); }
.sp-bc:not(.sp-bc-dark) .sp-bc-cur { color: var(--muted); }
.sp-bc:not(.sp-bc-dark) .sp-bc-sep { color: #c3c7ce; }

/* ---------- Hero（大图版） ---------- */
.sp-hero {
    position: relative; color: #fff; padding: 130px 0 72px;
    background: linear-gradient(100deg, rgba(61, 9, 22, .93) 8%, rgba(107, 19, 38, .82) 42%, rgba(77, 13, 28, .55) 100%),
        url('/images/nbfloor-1280.avif') center 38% / cover no-repeat, var(--brand2);
}
.sp-hero-blog { padding-bottom: 84px; }
.sp-hero h1 {
    font-family: var(--head); font-weight: 800; color: #fff;
    font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -.015em;
    margin: 14px 0 18px;
}
.sp-hero-sub { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.7; color: rgba(255, 255, 255, .88); max-width: 58ch; margin: 0 0 30px; }
.sp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 信任条 ---------- */
.sp-trustbar { border-bottom: 1px solid var(--line); background: #fff; }
.sp-trustbar .wrap { display: grid; grid-template-columns: 1fr; gap: 18px; padding-top: 26px; padding-bottom: 26px; }
.sp-trust { display: flex; align-items: center; gap: 13px; }
.sp-trust-ico {
    flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: rgba(168, 38, 70, .08); color: var(--brand); font-size: 18px;
}
.sp-trust strong { display: block; font-family: var(--head); font-size: 14.5px; color: var(--ink); }
.sp-trust span span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ---------- 区块 ---------- */
.sp-sec { padding: 72px 0; }
.sp-sec-tight { padding: 48px 0; }
.sp-sec-wash { background: var(--wash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sp-sec-head { display: flex; flex-wrap: wrap; gap: 16px 56px; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.sp-sec-head h2 { margin: 0; }
.sp-sec-lede { color: var(--body); font-size: 15.5px; line-height: 1.7; max-width: 52ch; margin: 0; }
.sp-sidesec-title {
    font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
    color: var(--muted); margin: 0 0 14px;
}
h2 { font-family: var(--head); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; font-size: clamp(26px, 2.9vw, 38px); color: var(--ink); margin: 0 0 16px; }

/* ---------- 带侧栏布局 ---------- */
.sp-withside { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
.sp-withside-tight { gap: 44px; }

/* ---------- 侧栏 ---------- */
.sp-side { display: grid; gap: 18px; }
.sp-side-link {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 13px 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff;
    font-weight: 600; font-size: 14.5px; color: var(--ink); text-decoration: none;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.sp-side-link i { font-size: 11px; color: #b3b9c2; transition: color .18s ease; }
.sp-side-link:hover { border-color: rgba(168, 38, 70, .4); }
.sp-side-link.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.sp-side-link.on i { color: rgba(255, 255, 255, .8); }
.sp-side-promo {
    background: var(--wood); border-radius: var(--r); padding: 26px 24px;
    background-image: linear-gradient(160deg, rgba(168, 38, 70, .06), transparent 55%);
}
.sp-side-promo h3 { font-family: var(--head); font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--brand2); margin: 0 0 10px; }
.sp-side-promo p { font-size: 13.5px; line-height: 1.65; color: var(--body); margin: 0; }
.sp-side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--sh); }
.sp-side-card h3 { font-family: var(--head); font-weight: 700; font-size: 17.5px; color: var(--ink); margin: 0 0 10px; line-height: 1.35; }
.sp-side-card p { font-size: 14px; line-height: 1.65; color: var(--body); margin: 0 0 16px; }
.sp-side-card .sp-btn + .sp-btn { margin-top: 10px; }
.sp-side-cta { background: linear-gradient(155deg, #6b1326 0%, #a82646 100%); border: 0; }
.sp-side-cta h3 { color: #fff; }
.sp-side-cta p { color: rgba(255, 255, 255, .85); }
.sp-side-list { border: 1px solid var(--line); border-radius: var(--r); padding: 8px 20px; background: #fff; }
.sp-side-list > div { display: flex; align-items: center; gap: 12px; padding: 12px 0; font-size: 14px; font-weight: 500; color: #2d3238; border-bottom: 1px solid #f2f3f5; }
.sp-side-list > div:last-child { border-bottom: 0; }
.sp-side-list i { color: var(--brand); width: 18px; text-align: center; }
.sp-toc a { display: block; padding: 8px 0 8px 12px; font-size: 13.5px; color: var(--body); text-decoration: none; border-bottom: 1px solid #f2f3f5; border-left: 2px solid transparent; line-height: 1.5; transition: color .15s ease, border-color .15s ease; }
.sp-toc a:last-child { border-bottom: 0; }
.sp-toc a:hover { color: var(--brand); }
.sp-toc a.on { color: var(--brand); font-weight: 600; border-left-color: var(--brand); background: linear-gradient(90deg, rgba(168, 38, 70, .05), transparent 70%); }

/* ---------- 产品卡 ---------- */
.sp-pgrid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.sp-pcard {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
    box-shadow: var(--sh); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    display: flex; flex-direction: column; position: relative;
}
.sp-pcard-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sp-pcard .sp-more { position: relative; z-index: 2; }
.sp-pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: rgba(168, 38, 70, .3); }
.sp-pcard-media { display: block; padding-bottom: 64%; position: relative; overflow: hidden; background: #fff; }
.sp-pcard-media picture, .sp-pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-pcard:hover .sp-pcard-media img { transform: scale(1.04); }
.sp-pcard-media img { transition: transform .5s ease; }
.sp-pcard-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.sp-pcard-body h3 { font-family: var(--head); font-weight: 700; font-size: 18px; margin: 0 0 10px; }
.sp-pcard-body h3 a { color: var(--ink); text-decoration: none; }
.sp-pcard-body h3 a:hover { color: var(--brand); }
.sp-pcard-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.sp-chip {
    font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--brand2);
    background: rgba(168, 38, 70, .07); border: 1px solid rgba(168, 38, 70, .16);
    padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.sp-pcard-body p { font-size: 14px; line-height: 1.65; color: var(--body); margin: 0; flex: 1; }
.sp-pcard .sp-more { margin-top: 14px; }

/* ---------- 采购支持 band ---------- */
.sp-band { padding: 0; }
.sp-band-inner {
    display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between;
    background: var(--wood); border-radius: var(--r); padding: 36px 38px; margin: 0 auto 72px;
    background-image: linear-gradient(120deg, rgba(168, 38, 70, .07), transparent 60%);
}
.sp-band h2 { margin: 0 0 8px; font-size: clamp(21px, 2vw, 27px); }
.sp-band p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.65; }

/* ---------- 详情页顶部 ---------- */
/* ---------- 产品详情顶部 banner ---------- */
.sp-pbanner { position: relative; overflow: hidden; background: #14161a; }
.sp-pbanner-media { position: absolute; inset: 0; }
.sp-pbanner-media picture, .sp-pbanner-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.sp-pbanner::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(16, 18, 22, .84) 0%, rgba(16, 18, 22, .56) 45%, rgba(16, 18, 22, .24) 100%);
}
.sp-pbanner-inner {
    position: relative; z-index: 2; padding: 100px 24px 62px;
    display: flex; flex-direction: column; align-items: flex-start;
}
.sp-pbanner .sp-bc-plain { font-size: 13.5px; margin: 0 0 18px; }
.sp-bc-plain a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.sp-bc-plain a:hover { text-decoration: underline; }
.sp-bc-plain .sp-bc-sep { color: rgba(255, 255, 255, .38); margin: 0 8px; }
.sp-bc-plain .sp-bc-cur { color: rgba(255, 255, 255, .62); }
.sp-pbanner h1 {
    font-family: var(--head); font-weight: 800; color: #fff; margin: 0 0 20px;
    font-size: clamp(30px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -.02em; max-width: 20ch;
}
.sp-pbanner-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .84); }
.sp-pbanner-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.sp-pbanner-meta i { color: #e8b23a; }
.sp-pbanner-tag {
    background: var(--brand); color: #fff; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    font-size: 11px; padding: 6px 12px; border-radius: 999px;
}

.sp-top { padding: 64px 0 76px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fdfaf7 0%, #ffffff 62%); }
.sp-top-grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: start; }
.sp-gal-main {
    border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line);
    box-shadow: 0 26px 50px -28px rgba(26, 26, 26, .35); position: relative;
}
.sp-gal-main img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.sp-gal-thumbs { display: grid; gap: 16px; margin-top: 16px; }
.sp-gal-group { min-width: 0; }
.sp-gal-label {
    display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted); margin: 0 0 9px; padding-left: 2px;
}
.sp-gal-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sp-thumb {
    padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden;
    background: #fff; cursor: pointer; height: 100%; transition: border-color .18s ease;
}
.sp-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.sp-thumb.on, .sp-thumb:hover { border-color: var(--brand); }
.sp-info-title { font-family: var(--head); font-weight: 700; color: var(--ink); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.35; letter-spacing: -.01em; margin: 10px 0 20px; }
.sp-info-facts { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 0 0 6px; }
.sp-info-facts span {
    display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #3f4652;
    background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
}
.sp-info-facts i { color: var(--brand); }
.sp-feats { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 26px 0; border-top: 1px solid var(--line); }
.sp-feat { display: flex; align-items: flex-start; gap: 12px; }
.sp-feat-ico {
    flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    background: rgba(168, 38, 70, .08); color: var(--brand); font-size: 15px;
}
.sp-feat strong { display: block; font-family: var(--head); font-size: 14px; color: var(--ink); }
.sp-feat span span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.sp-info-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.sp-info-note { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 12.5px; color: var(--muted); }
.sp-info-note i { color: var(--brand); }

/* ---------- 双栏 ---------- */
.sp-split2 { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.sp-split2.sp-ratio-text { gap: 32px; }
.sp-split2.sp-ratio-spec { gap: 32px; }
.sp-prose p { color: var(--body); font-size: 15.5px; line-height: 1.78; margin: 0 0 16px; }
.sp-prose p:last-child { margin-bottom: 0; }
.sp-detail { min-width: 0; }
.sp-detail-h { font-family: var(--head); font-weight: 700; font-size: 18px; color: var(--ink); margin: 0 0 14px; letter-spacing: -.005em; }
.sp-detail .sp-prose { margin: 0 0 26px; }
.sp-spec-side { min-width: 0; }
.sp-spec-side .sp-btn-block { margin-top: 18px; }

.sp-checks { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.sp-checks > div { display: flex; align-items: flex-start; gap: 14px; }
.sp-checks > div > i { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(168, 38, 70, .08); color: var(--brand); font-size: 15px; }
.sp-checks > div > span { flex: 1; min-width: 0; }
.sp-checks strong { display: block; font-family: var(--head); font-size: 14.5px; color: var(--ink); }
.sp-checks span span { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }

/* ---------- 规格表 ---------- */
.sp-spec-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); }
.sp-spec-table { width: 100%; border-collapse: collapse; }
.sp-spec-table th, .sp-spec-table td {
    text-align: left; padding: 12px 18px; font-size: 13.5px; line-height: 1.55;
    border-bottom: 1px solid #f2f3f5; vertical-align: top;
}
.sp-spec-table th { width: 38%; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #8a9099; background: #fdfafa; }
.sp-spec-table td { color: #2d3238; }
.sp-spec-table tr:last-child th, .sp-spec-table tr:last-child td { border-bottom: 0; }
.sp-callout {
    margin-top: 0; padding: 20px 22px; border-radius: 14px; background: #fff;
    border: 1px solid var(--line); border-left: 3px solid var(--brand);
}
.sp-callout p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--body); }
.sp-callout-brand { display: grid; gap: 14px; margin-top: 34px; border-left-width: 3px; }
.sp-callout-brand p i { color: var(--brand); margin-right: 6px; }

/* ---------- 结构分层 ---------- */
.sp-structure {
    display: grid; grid-template-columns: 1fr; gap: 26px;
    background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px;
    box-shadow: 0 24px 44px -30px rgba(26, 26, 26, .38);
}
.sp-struct-tag {
    display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
    font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.sp-struct-tag i { color: var(--brand); font-size: 13px; }
.sp-struct-img { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.sp-struct-img img { display: block; width: 100%; height: auto; }
.sp-struct-side { min-width: 0; }
.sp-layers { list-style: none; margin: 0 0 4px; padding: 0; }
.sp-layers li { display: flex; align-items: flex-start; gap: 14px; padding: 13px 0; border-bottom: 1px dashed #edeff2; }
.sp-layers li:first-child { padding-top: 0; }
.sp-layers li:last-child { border-bottom: 0; }
.sp-layer-n {
    flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--brand); color: #fff; font-family: var(--head); font-weight: 700; font-size: 13px; margin-top: 1px;
}
.sp-layers strong { display: block; font-family: var(--head); font-size: 14.5px; color: var(--ink); }
.sp-layers span span { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.55; }
.sp-fine { margin: 16px 0 0; font-size: 12px; color: var(--muted); font-style: italic; }

/* ---------- FIBA 徽章 ---------- */
.sp-fiba {
    display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 7px 13px;
    border: 1px solid #e9d9b8; background: #fdf8ec; border-radius: 999px;
    font-family: var(--head); font-size: 12.5px; font-weight: 700; color: #7a5b16;
}
.sp-fiba i { color: #c99a2e; }

/* ---------- 应用场景 ---------- */
.sp-apps { display: grid; grid-template-columns: 1fr; gap: 20px; }
.sp-app {
    display: block; text-decoration: none; background: #fff; border: 1px solid var(--line);
    border-radius: var(--r); overflow: hidden; box-shadow: var(--sh);
    transition: transform .22s ease, box-shadow .22s ease;
}
.sp-app:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.sp-app-media { display: block; padding-bottom: 75%; position: relative; overflow: hidden; }
.sp-app-media picture, .sp-app-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-app-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(26, 26, 26, .45)); }
.sp-app-media img { transition: transform .5s ease; }
.sp-app:hover .sp-app-media img { transform: scale(1.05); }
.sp-app-body { display: block; padding: 16px 18px 18px; }
.sp-app-body strong { display: block; font-family: var(--head); font-size: 15.5px; color: var(--ink); }
.sp-app-body span { display: block; font-size: 13px; color: var(--body); margin-top: 4px; line-height: 1.55; }

/* ---------- 真实项目 ---------- */
.sp-projs { display: grid; grid-template-columns: 1fr; gap: 20px; }
.sp-proj { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); }
.sp-proj-media { display: block; padding-bottom: 75%; position: relative; overflow: hidden; }
.sp-proj-media picture, .sp-proj-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-proj figcaption { padding: 14px 18px 16px; }
.sp-proj figcaption strong { display: block; font-family: var(--head); font-size: 14.5px; color: var(--ink); }
.sp-proj figcaption span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* ---------- FAQ ---------- */
.sp-faqs { display: grid; gap: 12px; margin-bottom: 6px; }
.sp-faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.sp-faq[open] { border-color: rgba(168, 38, 70, .3); box-shadow: var(--sh); }
.sp-faq summary {
    list-style: none; cursor: pointer; position: relative; padding: 16px 48px 16px 18px;
    font-family: var(--head); font-weight: 600; font-size: 14.5px; color: var(--ink); line-height: 1.5;
}
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary::marker { content: ""; }
.sp-faq summary:hover { color: var(--brand-d); }
.sp-faq-arrow {
    position: absolute; right: 16px; top: 19px; width: 22px; height: 22px; border-radius: 50%;
    background: rgba(168, 38, 70, .09); color: var(--brand); display: flex; align-items: center; justify-content: center;
    font-size: 11px; transition: transform .2s ease;
}
.sp-faq[open] .sp-faq-arrow { transform: rotate(180deg); }
.sp-faq-a { padding: 0 18px 17px; margin: 0; font-size: 14px; line-height: 1.75; color: var(--body); }

/* ---------- 相关产品 mini ---------- */
.sp-minis { display: grid; gap: 12px; }
.sp-mini {
    display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line);
    border-radius: 12px; padding: 10px; text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease;
}
.sp-mini:hover { border-color: rgba(168, 38, 70, .35); box-shadow: var(--sh); }
.sp-mini-media { flex: 0 0 96px; border-radius: 8px; overflow: hidden; }
.sp-mini-media img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.sp-mini-body strong { display: block; font-family: var(--head); font-size: 14px; color: var(--ink); line-height: 1.4; }
.sp-mini-body span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--brand); margin-top: 4px; }
.sp-mini-body i { font-size: 10px; }

/* ---------- 底部 CTA ---------- */
.sp-cta {
    position: relative; color: #fff; padding: 56px 0;
    background: radial-gradient(700px 300px at 12% 8%, rgba(255, 255, 255, .12), transparent 60%),
        linear-gradient(135deg, #4d0d1c 0%, #7b1c33 55%, #5d1122 100%);
}
.sp-cta-inner { display: flex; flex-wrap: wrap; gap: 24px 44px; align-items: center; justify-content: space-between; }
.sp-cta-k { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .66); margin: 0 0 10px; }
.sp-cta h2 { font-family: var(--head); font-weight: 800; color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 8px; }
.sp-cta-inner > div > p { margin: 0; color: rgba(255, 255, 255, .84); font-size: 15.5px; line-height: 1.65; max-width: 58ch; }
.sp-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Blog 列表 ---------- */
.sp-featured { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); }
.sp-featured-media { display: block; padding-bottom: 60%; position: relative; overflow: hidden; }
.sp-featured-media picture, .sp-featured-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-featured-body { padding: 8px 28px 28px; }
.sp-featured-body h2 { font-size: clamp(22px, 2.2vw, 30px); margin: 10px 0 12px; }
.sp-featured-body h2 a { color: var(--ink); text-decoration: none; }
.sp-featured-body h2 a:hover { color: var(--brand); }
.sp-featured-body > p { color: var(--body); font-size: 15px; line-height: 1.7; margin: 0 0 20px; }
.sp-cat {
    display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--brand2); background: rgba(168, 38, 70, .08); border: 1px solid rgba(168, 38, 70, .18);
    padding: 4px 10px; border-radius: 6px;
}
.sp-tabs { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sp-tabs .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.sp-tabs .wrap::-webkit-scrollbar { display: none; }
.sp-tab {
    padding: 15px 18px; font-size: 14px; font-weight: 600; color: var(--body); text-decoration: none;
    border-bottom: 2.5px solid transparent; white-space: nowrap;
}
.sp-tab:hover { color: var(--ink); }
.sp-tab.on { color: var(--brand); border-bottom-color: var(--brand); }
.sp-bgrid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.sp-bcard {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
    box-shadow: var(--sh); transition: transform .22s ease, box-shadow .22s ease;
    display: flex; flex-direction: column; position: relative;
}
.sp-bcard-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sp-bcard:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.sp-bcard-media { display: block; padding-bottom: 60%; position: relative; overflow: hidden; }
.sp-bcard-media picture, .sp-bcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sp-bcard:hover .sp-bcard-media img { transform: scale(1.05); }
.sp-bcard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.sp-bcard-body h3 { font-family: var(--head); font-weight: 700; font-size: 16.5px; line-height: 1.4; margin: 10px 0 8px; }
.sp-bcard-body h3 a { color: var(--ink); text-decoration: none; }
.sp-bcard-body h3 a:hover { color: var(--brand); }
.sp-bcard-body p { font-size: 13.5px; line-height: 1.65; color: var(--body); margin: 0; flex: 1; }
.sp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.sp-meta i { color: var(--brand); opacity: .75; margin-right: 6px; }
.sp-meta .sp-avatar {
    display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%;
    background: var(--brand2); color: #fff; font-size: 9.5px; font-weight: 700; margin-right: 2px;
}

/* ---------- Blog 详情 ---------- */
.sp-post-hero { padding: 118px 0 50px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--wash)); }
.sp-post-hero-grid { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; }
.sp-post-hero h1 { font-family: var(--head); font-weight: 800; color: var(--ink); font-size: clamp(27px, 3.4vw, 42px); line-height: 1.15; margin: 10px 0 14px; }
.sp-post-hero-media { border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-lg); border: 1px solid var(--line); }
.sp-post-hero-media img { display: block; width: 100%; height: auto; }
.sp-article h2 {
    font-size: clamp(20px, 1.9vw, 25px); margin: 38px 0 14px; padding-top: 8px;
}
.sp-article > h2:first-child { margin-top: 0; }
.sp-twrap { overflow-x: auto; margin: 6px 0 18px; }
.sp-table-article { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sp-table-article thead th { background: var(--brand2); color: #fff; text-transform: none; font-size: 13px; letter-spacing: 0; }
.sp-steps { display: grid; gap: 12px; margin: 6px 0 18px; counter-reset: spstep; }
.sp-step { display: flex; gap: 13px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.sp-step-n {
    flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--brand); color: #fff; font-family: var(--head); font-weight: 700; font-size: 13.5px;
}
.sp-step strong { display: block; font-family: var(--head); font-size: 14.5px; color: var(--ink); }
.sp-step span span { display: block; font-size: 13px; color: var(--body); margin-top: 2px; line-height: 1.6; }

/* ---------- 悬浮 / 移动端条 ---------- */
.sp-float-wa { transition: transform .2s ease; }
.sp-mbar { display: none; }
.sp-mbar-space { display: none; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (min-width: 640px) {
    .sp-trustbar .wrap { grid-template-columns: repeat(2, 1fr); }
    .sp-feats { grid-template-columns: repeat(2, 1fr); }
    .sp-pgrid { grid-template-columns: repeat(2, 1fr); }
    .sp-bgrid { grid-template-columns: repeat(2, 1fr); }
    .sp-apps { grid-template-columns: repeat(2, 1fr); }
    .sp-projs { grid-template-columns: repeat(2, 1fr); }
    .sp-checks { grid-template-columns: 1fr; }
    .sp-gal-row { grid-template-columns: repeat(4, 1fr); }
    .sp-gal-row-5 { grid-template-columns: repeat(5, 1fr); }
    .sp-gal-row-7 { grid-template-columns: repeat(7, 1fr); }
}
@media (min-width: 900px) {
    .sp-split2 { grid-template-columns: 1.08fr .92fr; gap: 56px; }
    .sp-top-grid { grid-template-columns: 1.04fr .96fr; gap: 52px; align-items: center; }
    .sp-post-hero-grid { grid-template-columns: 1.05fr .95fr; gap: 52px; }
    .sp-withside { grid-template-columns: 250px 1fr; gap: 34px; }
    .sp-withside.sp-side-right { grid-template-columns: 1fr 300px; }
    .sp-withside.sp-withside-tight { grid-template-columns: 1fr 330px; gap: 52px; }
    .sp-featured { grid-template-columns: 1.02fr .98fr; }
    .sp-featured-media { padding-bottom: 0; min-height: 340px; }
    .sp-featured-body { padding: 36px 40px 36px 8px; }
    .sp-hub-side { position: sticky; top: 88px; }
    br.sp-br-lg { display: inline; }
}
@media (min-width: 1024px) {
    .sp-sec { padding: 96px 0; }
    .sp-hero { padding: 150px 0 92px; }
    .sp-top { padding: 124px 0 84px; }
    .sp-top-grid { grid-template-columns: 1.12fr .88fr; gap: 60px; }
    .sp-split2.sp-ratio-text { grid-template-columns: 1.1fr .9fr; gap: 56px; }
    .sp-split2.sp-ratio-spec { grid-template-columns: 1fr 1.02fr; gap: 48px; align-items: start; }
    .sp-structure { grid-template-columns: 1.26fr 1fr; gap: 48px; padding: 32px; align-items: center; }
    .sp-projs { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
    .sp-post-hero { padding: 128px 0 56px; }
    .sp-trustbar .wrap { grid-template-columns: repeat(4, 1fr); }
    .sp-pgrid { grid-template-columns: repeat(3, 1fr); }
    .sp-bgrid-3 { grid-template-columns: repeat(3, 1fr); }
    .sp-apps { grid-template-columns: repeat(3, 1fr); }
    .sp-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width:767px) {
    /* v2 修复：底部唯一悬浮层为 #nb-sticky-contact（nb-mobile-fix v2），
       旧版 sp-mbar / sp-float-wa 已在全站隐藏，此处不再生效 */
    .sp-cta { padding-bottom: 84px; }
}
@media (max-width: 639px) {
    .sp-hero { padding: 110px 0 56px; }
    .sp-top { padding: 108px 0 44px; }
    .sp-post-hero { padding: 108px 0 42px; }
    .sp-info-actions .sp-btn { width: 100%; }
    .sp-gal-thumbs { gap: 12px; }
    .sp-gal-row { grid-template-columns: repeat(4, 1fr); gap: 7px; }
    .sp-gal-row-5 { grid-template-columns: repeat(5, 1fr); gap: 7px; }
    .sp-gal-row-7 { grid-template-columns: repeat(7, 1fr); gap: 6px; }
    .sp-pbanner-inner { padding: 84px 24px 40px; }
    .sp-pbanner-media img { object-position: center 38%; }
    .sp-pbanner .sp-bc-plain { display: none; }
    .sp-pbanner h1 { font-size: clamp(27px, 7.4vw, 34px); margin-bottom: 16px; }
    .sp-pbanner-meta .sp-pbanner-fiba { display: none; }
    .sp-featured-body { padding: 6px 20px 22px; }
}

/* --- Related articles (blog internal linking) --- */
.nb-related { margin: 34px 0 8px; padding: 22px 24px; border: 1px solid #e5e0d8; border-radius: 10px; background: #faf8f4; }
.nb-related h2 { font-size: 17px; font-weight: 700; color: #7b1c33; margin: 0 0 12px; letter-spacing: .01em; }
.nb-related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nb-related li { margin: 0; padding-left: 18px; position: relative; line-height: 1.55; }
.nb-related li::before { content: "→"; position: absolute; left: 0; color: #b3854a; font-weight: 600; }
.nb-related a { color: #1f2937; text-decoration: underline; text-decoration-color: #d8c9a8; text-underline-offset: 3px; }
.nb-related a:hover { color: #7b1c33; text-decoration-color: #7b1c33; }

/* 防横向溢出（平板 768-1024 装饰元素外挂导致 4px 溢出） */
html, body { overflow-x: hidden; overflow-x: clip; }
