/* ==========================================================================
   同轴连接器 · 7/16 DIN 大功率与低PIM 专线
   style.css —— 明亮工业科技风
   ========================================================================== */
:root {
  --ink: #071426;
  --ink2: #0d2440;
  --steel: #16345c;
  --brand: #1266d6;
  --brand-d: #0d4ea8;
  --cyan: #15b8c9;
  --amber: #e08e1e;
  --bg: #f4f7fb;
  --card: #ffffff;
  --line: #e1e8f2;
  --line-d: #cfdae9;
  --txt: #17263b;
  --muted: #5a6b83;
  --radius: 14px;
  --radius-s: 10px;
  --shadow: 0 1px 2px rgba(13, 36, 64, .04), 0 8px 24px -12px rgba(13, 36, 64, .18);
  --shadow-l: 0 24px 60px -24px rgba(7, 20, 38, .45);
  --wrap: 1240px;
  --doc: 780px;
  --fs: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --fm: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--fs);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-d); }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 40px, 900px); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); flex: 0 0 auto; }
.brand-mark { color: var(--brand); display: grid; place-items: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text b { font-size: 17px; letter-spacing: .3px; }
.brand-text i { font-style: normal; font-size: 11.5px; color: var(--muted); letter-spacing: .2px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: #2a3c55; font-weight: 500;
  transition: background .18s, color .18s;
}
.nav a:hover { background: #eef3fa; color: var(--brand-d); }
.nav a.nav-card {
  background: linear-gradient(135deg, var(--brand), var(--cyan)); color: #fff; box-shadow: 0 6px 16px -8px rgba(18, 102, 214, .8);
}
.nav a.nav-card:hover { filter: brightness(1.06); color: #fff; }
.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line-d);
  background: #fff; border-radius: 10px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: transform .16s, box-shadow .16s, background .16s;
  font-family: inherit;
}
.btn.primary { background: linear-gradient(135deg, var(--brand), #2b86f0); color: #fff; box-shadow: 0 10px 24px -12px rgba(18, 102, 214, .9); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(18, 102, 214, .95); color: #fff; }
.btn.ghost { background: #fff; border-color: var(--line-d); color: var(--ink2); }
.btn.ghost:hover { border-color: var(--brand); color: var(--brand-d); }
.btn.minimal { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn.minimal:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.link-btn {
  background: none; border: 0; padding: 0 2px; font: inherit; color: var(--brand); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #eaf2ff;
  background: radial-gradient(1200px 520px at 78% -10%, rgba(21, 184, 201, .35), transparent 62%),
              radial-gradient(900px 480px at 8% 8%, rgba(18, 102, 214, .42), transparent 60%),
              linear-gradient(165deg, #071426 0%, #0b2039 48%, #0d2a49 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 100%);
}
.hero-inner { position: relative; padding: 84px 0 76px; max-width: 980px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
  padding: 6px 14px; border-radius: 999px; font-size: 12.5px; letter-spacing: .6px;
  background: rgba(21, 184, 201, .14); border: 1px solid rgba(21, 184, 201, .4); color: #8fe6f0;
}
.hero h1 { margin: 0 0 18px; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.22; font-weight: 700; letter-spacing: -.4px; color: #fff; }
.hero-lead { margin: 0 0 30px; font-size: 16.5px; line-height: 1.85; color: #bfd3ec; max-width: 760px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 32px; }
.stat {
  padding: 16px 18px; border-radius: var(--radius-s); background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .1);
}
.stat b { display: block; font-family: var(--fm); font-size: 22px; color: #fff; line-height: 1.3; }
.stat span { font-size: 12.5px; color: #9db5d4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
.sec { padding: 72px 0; }
.sec.alt { background: linear-gradient(180deg, #eef3fa, #f4f7fb); border-block: 1px solid var(--line); }
.sec-h { margin: 0 0 10px; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.2px; color: var(--ink); }
.sec-sub, .page-lead { margin: 0 0 28px; color: var(--muted); font-size: 15.5px; max-width: 760px; }
.sec-h3 { margin: 44px 0 16px; font-size: 21px; color: var(--ink); }

.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.split3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 20px; box-shadow: var(--shadow); }
.panel.ok { border-top: 3px solid var(--brand); }
.panel.warn { border-top: 3px solid var(--amber); }
.panel-tag { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .6px; color: var(--brand-d); text-transform: uppercase; }
.panel.warn .panel-tag { color: #a5650c; }
.panel ul, .content ul { margin: 0; padding-left: 20px; }
.panel li, .content li { margin-bottom: 8px; }

.card {
  display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s, border-color .18s;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-l); border-color: #c9d8ec; color: inherit; }
.card.hot { border-color: rgba(21, 184, 201, .55); box-shadow: 0 0 0 1px rgba(21, 184, 201, .18), var(--shadow); }
.card-tag { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--cyan); }
.card-t { margin: 0 0 8px; font-size: 17.5px; font-weight: 650; color: var(--ink); line-height: 1.45; }
.card-d { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.72; }
.card-meta { margin: 0 0 8px; font-size: 12.5px; color: var(--cyan); font-weight: 600; letter-spacing: .4px; }
.card.s { padding: 24px; }

.wrap-cat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cat-pill {
  display: block; padding: 16px 18px; border-radius: var(--radius-s); background: #fff; border: 1px solid var(--line);
  transition: border-color .18s, transform .18s;
}
.cat-pill:hover { border-color: var(--brand); transform: translateY(-2px); }
.cat-pill b { display: block; font-size: 16px; color: var(--ink); }
.cat-pill span { font-size: 13.5px; color: var(--muted); }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
table.spec { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
table.spec th, table.spec td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec thead th {
  background: linear-gradient(180deg, #f3f7fc, #e9f0f9); color: var(--ink2); font-weight: 650; font-size: 13px;
  white-space: nowrap; border-bottom: 1px solid var(--line-d);
}
table.spec tbody tr:nth-child(even) { background: #fafcff; }
table.spec tbody tr:last-child td { border-bottom: 0; }
table.spec td:first-child { font-weight: 600; color: var(--ink2); white-space: nowrap; }

/* ---------- Callout ---------- */
blockquote.callout {
  margin: 22px 0; padding: 16px 20px; border-radius: var(--radius-s);
  background: #f2f7fd; border-left: 3px solid var(--brand); color: #24384f; font-size: 15px;
}
blockquote.callout strong { color: var(--brand-d); }
blockquote.callout.conclusion { background: #eefaf7; border-left-color: var(--cyan); }
blockquote.callout.conclusion strong { color: #0d7a74; }
blockquote.callout.exp { background: #fff8ec; border-left-color: var(--amber); }
blockquote.callout.exp strong { color: #a5650c; }
blockquote.callout.warn { background: #fdf3f2; border-left-color: #c0493f; }
blockquote.callout.warn strong { color: #b3382f; }

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, #0b2039, #123462 55%, #0e4570);
  color: #dbe8f8; border-block: 1px solid rgba(255, 255, 255, .08);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 8px; font-size: clamp(21px, 2.4vw, 27px); color: #fff; }
.cta-band p { margin: 0; color: #a9c2e0; font-size: 15px; max-width: 620px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page top ---------- */
.page-top {
  background: linear-gradient(170deg, #f8fbff, #eaf1fa);
  border-bottom: 1px solid var(--line); padding: 26px 0 34px;
}
.page-top.product-top { background: linear-gradient(170deg, #f7fbff, #e9f2fc); }
.page-top h1 { margin: 18px 0 10px; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.35; color: var(--ink); letter-spacing: -.3px; }
.page-top .page-lead { margin-bottom: 16px; color: #45586f; }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.chip {
  display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: var(--brand); color: #fff;
}
.chip.soft { background: #e6eef8; color: #35506f; }
.tag-text { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 12.5px; background: #f0f4fa; color: #4a5f7c; border: 1px solid var(--line); }

/* ---------- Breadcrumb ---------- */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #a9b8cc; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span[aria-current] { color: var(--ink2); font-weight: 600; }

/* ---------- Detail layout ---------- */
.wrap.detail { width: min(100% - 40px, 1180px); padding: 40px 0 76px; }
.doc { display: grid; grid-template-columns: minmax(0, var(--doc)) 260px; gap: 44px; align-items: start; }
.doc-main { min-width: 0; }
.toc-aside { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow-y: auto; }
.toc-inner {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; box-shadow: var(--shadow);
}
.toc-title { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: 1px; color: var(--cyan); }
.toc-inner ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.toc-inner li { counter-increment: t; margin-bottom: 2px; }
.toc-inner a {
  display: block; padding: 7px 10px; border-radius: 8px; font-size: 13.5px; line-height: 1.55; color: #43587a;
  border-left: 2px solid transparent;
}
.toc-inner a:hover { background: #f1f6fc; color: var(--brand-d); border-left-color: var(--brand); }
.toc-inner a.now { background: #f1f6fc; color: var(--brand-d); border-left-color: var(--brand); font-weight: 600; }

/* ---------- Content typography ---------- */
.content { font-size: 16.5px; line-height: 1.9; color: #22344c; }
.content h2 {
  margin: 44px 0 14px; padding-bottom: 10px; font-size: 23px; line-height: 1.45; color: var(--ink);
  border-bottom: 1px solid var(--line); scroll-margin-top: 88px;
}
.content h3 { margin: 30px 0 10px; font-size: 18.5px; color: var(--ink2); scroll-margin-top: 88px; }
.content p { margin: 0 0 15px; }
.content > p:first-of-type { font-size: 17px; color: #1e3251; }
.content ul, .content ol { margin: 0 0 16px; padding-left: 22px; }
.content li { margin-bottom: 7px; }
.content ul.check { list-style: none; padding-left: 4px; }
.content ul.check li { padding-left: 24px; position: relative; }
.content ul.check li::before { content: "✔"; position: absolute; left: 0; top: 0; color: var(--cyan); font-size: 14px; }
.content code { font-family: var(--fm); font-size: .92em; background: #eef3fa; padding: 2px 6px; border-radius: 5px; color: #0f4b8a; }
.content hr { border: 0; border-top: 1px dashed var(--line-d); margin: 34px 0; }
.content .table-wrap { margin: 20px 0 26px; }
.content .faq-list { margin-top: 14px; }
.doc-end {
  margin-top: 46px; padding: 22px 24px; border-radius: var(--radius); background: linear-gradient(135deg, #f3f8ff, #eaf2fc);
  border: 1px dashed var(--line-d);
}
.end-h { margin: 0 0 6px; font-weight: 700; color: var(--ink); }
.end-p { margin: 0; color: var(--muted); font-size: 15px; }
.page-body { padding: 30px 0 40px; }

/* ---------- FAQ ---------- */
.faq-list details {
  border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; margin-bottom: 10px;
  box-shadow: var(--shadow); overflow: hidden;
}
.faq-list details[open] { border-color: #c6d8ee; }
.faq-list summary {
  cursor: pointer; padding: 15px 44px 15px 18px; font-weight: 600; font-size: 15.5px; color: var(--ink2);
  position: relative; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--brand); font-size: 20px; line-height: 1; transition: transform .2s;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-a { padding: 0 18px 16px; color: #3c5470; font-size: 15px; }
.faq-a p { margin: 0; }

/* ---------- Sidebar layout ---------- */
.layout-side { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 40px; padding: 44px 0 76px; align-items: start; }
.cat-side { position: sticky; top: 88px; }
.side-h { margin: 0 0 12px; font-size: 12.5px; font-weight: 700; letter-spacing: 1px; color: var(--cyan); }
ul.category-list { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
ul.category-list li { margin: 0; }
ul.category-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 10px 12px; margin-left: -2px; font-size: 14.5px; color: #40557a;
  border-left: 2px solid transparent; transition: color .16s, background .16s;
}
ul.category-list a:hover { color: var(--brand-d); background: #f3f7fd; }
ul.category-list a em { font-style: normal; font-size: 12px; color: #93a5bd; font-family: var(--fm); }
ul.category-list li.active a { border-left-color: var(--brand); color: var(--brand-d); font-weight: 700; background: #f1f6fc; }
.list-count { margin: 0 0 16px; font-size: 13.5px; color: var(--muted); }

.entry-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.entry-list li { margin: 0; }
.entry-list > li > a {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow); transition: transform .18s, border-color .18s, box-shadow .18s;
}
.entry-list > li > a:hover { transform: translateY(-2px); border-color: #c9d8ec; box-shadow: var(--shadow-l); }
.e-tag { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .5px; color: var(--cyan); }
.e-t { margin: 0 0 8px; font-size: 18px; font-weight: 650; color: var(--ink); line-height: 1.45; }
.e-d { margin: 0 0 10px; font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.e-m { display: flex; gap: 14px; margin: 0; font-size: 12.5px; color: #8a9cb5; font-family: var(--fm); }
.entry-list.tight > li > a { padding: 15px 18px; }
.entry-list.tight .e-t { margin-bottom: 6px; font-size: 16px; }

/* ---------- Pager ---------- */
.pager { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 26px; }
.page-btn, .page-num {
  display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 14px;
  border-radius: 9px; border: 1px solid var(--line-d); background: #fff; font-size: 14px; color: #3d5372;
}
a.page-btn:hover, a.page-num:hover { border-color: var(--brand); color: var(--brand-d); }
.page-num.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.page-btn.off { opacity: .45; cursor: not-allowed; }

/* ---------- Floating capsules ---------- */
.float-bar {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 60;
  display: flex; flex-direction: column; gap: 10px;
}
.cap {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 62px; height: 68px; border-radius: 999px; cursor: pointer; border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); color: #1b3a63; font-family: inherit;
  box-shadow: 0 10px 28px -12px rgba(7, 20, 38, .45); transition: transform .18s, box-shadow .18s, background .18s, color .18s;
}
.cap:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(7, 20, 38, .55); color: var(--brand-d); }
.cap-cap-txt, .cap-txt { font-size: 11.5px; font-weight: 600; letter-spacing: .2px; line-height: 1.2; }
.cap-wechat { background: linear-gradient(160deg, #16b3a0, #0d8dd8); color: #fff; border-color: transparent; }
.cap-wechat:hover { color: #fff; }
.cap-top { background: rgba(11, 32, 57, .92); color: #cfe2f8; border-color: transparent; }
.cap-top:hover { color: #fff; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox-mask { position: absolute; inset: 0; background: rgba(5, 16, 32, .78); backdrop-filter: blur(4px); }
.lightbox-box {
  position: relative; z-index: 2; padding: 22px; border-radius: 18px; background: #fff;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); display: grid; justify-items: center; gap: 12px;
}
.lightbox-x {
  position: absolute; right: 8px; top: 4px; width: 34px; height: 34px; border: 0; background: none;
  font-size: 24px; line-height: 1; color: #7b8ca5; cursor: pointer; border-radius: 50%;
}
.lightbox-x:hover { background: #f1f5fb; color: var(--ink); }
.card-stage { margin: 0; width: 300px; }
.card-stage img {
  width: 300px; height: 500px; object-fit: contain; display: block; border-radius: 12px; background: #f7fafd;
}
.card-stage figcaption { margin-top: 10px; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- Card page ---------- */
.card-hero { min-height: 640px; display: grid; align-items: center; }
.card-stage-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: center; padding: 70px 0; position: relative; }
.card-side-info { color: #d7e5f7; }
.card-side-info h1 { color: #fff; }
.rfq-list { margin: 0 0 18px; padding-left: 20px; font-size: 15px; color: #c3d6ee; }
.rfq-list li { margin-bottom: 7px; }
.rfq-list b { color: #fff; }
.tip { margin: 0; font-size: 13.5px; color: #8fb6dd; border-left: 2px solid var(--cyan); padding-left: 12px; }
.card-main { justify-self: end; width: 100%; max-width: 380px; }
.card-frame {
  border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8);
}
.card-frame-top { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: rgba(255, 255, 255, .07); }
.card-frame-top .dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.card-frame-top b { margin-left: 8px; font-size: 13px; letter-spacing: .6px; color: #cfe2f8; font-weight: 600; }
.card-frame-body { padding: 26px; display: grid; place-items: center; }
.qr-lock { text-align: center; display: grid; gap: 6px; justify-items: center; padding: 26px 0 8px; }
.lock-badge {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #9fe7f0;
  background: rgba(21, 184, 201, .12); border: 1px solid rgba(21, 184, 201, .35);
}
.lock-t { margin: 6px 0 0; font-size: 17px; font-weight: 650; color: #fff; }
.lock-s { margin: 0 0 14px; font-size: 13px; color: #93b0d3; }
.card-frame-note { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: #93b0d3; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, #0a1c33, #071426); color: #9db3ce; padding: 54px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-h { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: 1px; color: #dbe8f8; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #9db3ce; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-brand { margin: 0 0 10px; font-size: 17px; font-weight: 700; color: #fff; }
.footer-desc { margin: 0 0 12px; font-size: 14px; line-height: 1.8; max-width: 420px; }
.footer-meta { margin: 0; font-size: 13px; color: #7f96b3; }
.ascii-url { font-family: var(--fm); font-size: 12.5px; color: #8fd4dd; word-break: break-all; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding-top: 20px; font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #9db3ce; }
.footer-bottom a:hover { color: #fff; }
.police { display: inline-flex; align-items: center; gap: 6px; }
.police img { width: 16px; height: 18px; display: block; }
.copy { color: #6d829e; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .toc-aside { position: static; max-height: none; order: -1; }
  .toc-inner ol { columns: 2; column-gap: 18px; }
  .card-stage-wrap { grid-template-columns: 1fr; gap: 36px; }
  .card-main { justify-self: start; max-width: 420px; }
}
@media (max-width: 900px) {
  .nav {
    position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 16px; display: none;
    box-shadow: var(--shadow);
  }
  .site-header.open .nav { display: flex; }
  .nav-toggle { display: flex; }
  .split2, .split3, .grid3, .wrap-cat { grid-template-columns: 1fr; }
  .layout-side { grid-template-columns: 1fr; gap: 24px; }
  .cat-side { position: static; }
  ul.category-list { display: flex; flex-wrap: wrap; gap: 8px; border-left: 0; padding: 0; }
  ul.category-list li { margin: 0; }
  ul.category-list a { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; margin: 0; background: #fff; }
  ul.category-list li.active a { border-left-color: var(--brand); }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-bar { right: 10px; gap: 8px; }
  .cap { width: 54px; height: 60px; }
  .cap-txt { font-size: 10.5px; }
}
@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .wrap, .wrap.detail, .wrap.narrow { width: calc(100% - 28px); }
  .hero-inner { padding: 58px 0 52px; }
  .sec { padding: 48px 0; }
  .content { font-size: 16px; }
  .content h2 { font-size: 20.5px; margin-top: 34px; }
  .toc-inner ol { columns: 1; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .card-stage { width: 260px; }
  .card-stage img { width: 260px; height: 440px; }
  .float-bar { top: auto; bottom: 78px; right: 10px; transform: none; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-footer, .float-bar, .toc-aside, .lightbox { display: none !important; }
}
