/* ============================================================
   筑光·智能图鉴 — 夜间施工图纸 (blueprint at night)
   色彩语义：青 = 结构/房 (blueprint line)；琥珀 = 电/光 (tungsten)
   ============================================================ */
:root {
  color-scheme: dark;
  --bg: #100f0d;
  --surface: #161512;
  --surface-raised: #1c1a16;
  --surface-soft: #232019;
  --text: #f2ecdf;
  --muted: #a8a294;
  --faint: #6e695d;
  --line: rgba(231, 220, 198, .15);
  --line-strong: rgba(231, 220, 198, .3);
  --amber: #e2a24a;
  --amber-pale: #f5c87e;
  --amber-dim: rgba(226, 162, 74, .14);
  --cyan: #8fbdb6;
  --cyan-dim: rgba(143, 189, 182, .38);
  --red: #e58370;
  --mono: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --serif: "Songti SC", "Noto Serif CJK SC", "SimSun", Georgia, serif;
  --max: 1340px;
  --nav-h: 68px;
  --frame: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); letter-spacing: -.01em; }
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }

/* ---- 图纸质感：噪点 / 图框 / 侧栏卷名 ---- */
.grain { position: fixed; z-index: 55; pointer-events: none; inset: 0; opacity: .14; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.page-frame { position: fixed; z-index: 54; pointer-events: none; inset: var(--frame); border: 1px solid rgba(231, 220, 198, .12); }
.page-frame::before { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(231, 220, 198, .05); }
.side-rail { position: fixed; z-index: 54; pointer-events: none; right: calc(var(--frame) + 9px); top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; color: var(--faint); font: 9px var(--mono); letter-spacing: .42em; opacity: .8; }

/* ---- 顶栏 ---- */
.topbar { height: var(--nav-h); position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 26px; padding: 0 max(34px, calc((100vw - var(--max)) / 2)); background: color-mix(in srgb, var(--bg) 88%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.wordmark { display: flex; align-items: center; gap: 9px; white-space: nowrap; font-family: var(--serif); font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.wordmark-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--amber); box-shadow: 0 0 0 3px var(--amber-dim), 0 0 12px rgba(226,162,74,.55); }
.nav-toggle { display: none; }
nav { display: flex; align-items: center; gap: 24px; margin-right: auto; }
nav a { position: relative; color: var(--muted); font-size: 13px; transition: color .2s; }
nav a:hover, nav a.active { color: var(--text); }
nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: var(--amber); }
.search { width: min(268px, 21vw); height: 36px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 2px; padding: 0 11px; background: var(--surface); color: var(--faint); transition: border-color .2s, background .2s; }
.search:focus-within { border-color: var(--amber); background: var(--surface-raised); }
.search span { font-size: 19px; line-height: 1; transform: translateY(-1px); }
.search input { min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 12px; }
.search input::placeholder { color: var(--faint); }
.icon-button { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 2px; background: var(--surface); cursor: pointer; }
.quiz-link { border: 0; padding: 0; background: none; cursor: pointer; color: var(--amber-pale); white-space: nowrap; font-size: 13px; }
.quiz-link span { display: inline-block; margin-left: 4px; transition: transform .2s; }
.quiz-link:hover span { transform: translate(2px, -2px); }

.section-shell { max-width: var(--max); margin: 0 auto; padding-left: 34px; padding-right: 34px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--amber); font: 11px/1 var(--mono); letter-spacing: .12em; }
.eyebrow span { width: 21px; height: 1px; background: currentColor; }

/* ============ HERO ============ */
.hero { min-height: 640px; display: grid; grid-template-columns: minmax(0, 41fr) minmax(0, 59fr); align-items: center; gap: 3vw; padding-top: 64px; padding-bottom: 92px; }
h1 { margin-bottom: 22px; font: 700 clamp(42px, 4.4vw, 74px)/1.14 var(--serif); letter-spacing: -.045em; }
.hero h1 em { font-style: normal; color: var(--amber-pale); text-shadow: 0 0 34px rgba(226,162,74,.35); }
.hero-text { color: var(--muted); font-size: 15px; line-height: 1.9; }
.hero-notes { display: flex; gap: 8px; margin-top: 44px; color: var(--faint); font: 10px var(--mono); letter-spacing: .1em; }

/* ---- 剖面图容器 ---- */
.house-wrap { position: relative; min-height: 480px; border: 1px solid var(--line); overflow: hidden; background: radial-gradient(circle at 68% 26%, rgba(226,162,74,.09), transparent 34%), linear-gradient(150deg, #171612, #100f0d 64%); }
.house-wrap::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-size: 30px 30px; background-image: linear-gradient(rgba(196, 214, 205, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(196, 214, 205, .04) 1px, transparent 1px); }
.layer-switch { position: absolute; z-index: 6; top: 18px; right: 18px; display: flex; padding: 3px; gap: 3px; border: 1px solid var(--line); background: rgba(13, 12, 10, .82); }
.layer-tab { border: 0; padding: 7px 13px; background: none; color: var(--faint); cursor: pointer; font: 10px var(--mono); letter-spacing: .06em; }
.layer-tab.is-active { background: var(--amber); color: #191307; }
.blueprint-label { position: absolute; z-index: 4; left: 24px; top: 22px; color: var(--faint); font: 9px var(--mono); letter-spacing: .14em; transition: opacity .5s; }
.blueprint-caption { position: absolute; z-index: 4; left: 25px; bottom: 22px; display: flex; flex-direction: column; gap: 4px; transition: opacity .5s; }
.blueprint-caption strong { color: var(--text); font: 700 17px var(--serif); }
.blueprint-caption span { color: var(--muted); font-size: 11px; }

/* SVG 剖面 */
.house-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.h-struct .slab { fill: rgba(143, 189, 182, .05); stroke: var(--cyan-dim); stroke-width: 1.1; transition: opacity .55s; }
.h-struct .post { stroke: var(--cyan-dim); stroke-width: 1.1; fill: none; }
.h-struct .post.cut { stroke-dasharray: 5 6; opacity: .7; }
.h-struct .floor-tag { fill: var(--cyan); font: 10px var(--mono); letter-spacing: .08em; opacity: .75; }
.h-struct .datum-line { stroke: var(--faint); stroke-width: 1; }
.h-struct .datum { fill: var(--faint); font: 9px var(--mono); }
.h-struct { transition: opacity .55s; }
.h-bus path { fill: none; stroke: var(--amber); stroke-width: 1.9; stroke-linecap: round; stroke-dasharray: 7 9; animation: dash 7s linear infinite; filter: drop-shadow(0 0 5px rgba(226,162,74,.7)); }
.h-bus text { fill: var(--amber-pale); font: 9px var(--mono); letter-spacing: .1em; }
.h-bus, .h-nodes { transition: opacity .55s; }
@keyframes dash { to { stroke-dashoffset: -160; } }
.hn .halo { fill: rgba(226,162,74,.12); stroke: none; animation: halo 2.8s ease-in-out infinite; }
.hn .dot { fill: var(--amber); stroke: var(--amber-pale); stroke-width: 1.4; filter: drop-shadow(0 0 7px rgba(226,162,74,.85)); }
.hn text { fill: var(--amber-pale); font: 9px var(--mono); letter-spacing: .06em; }
.hn text.end { text-anchor: end; }
.hn:nth-child(2) .halo { animation-delay: .4s; }
.hn:nth-child(3) .halo { animation-delay: .8s; }
.hn:nth-child(4) .halo { animation-delay: 1.2s; }
.hn:nth-child(5) .halo { animation-delay: 1.6s; }
.hn:nth-child(6) .halo { animation-delay: 2s; }
@keyframes halo { 50% { transform: scale(1.5); opacity: .4; } }

/* 应用层悬浮 */
.app-overlay { position: absolute; inset: 0; z-index: 5; transition: opacity .55s, transform .55s; }
.app-orbit { position: absolute; border: 1px solid rgba(143,189,182,.25); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(-25deg); }
.orbit-1 { width: 62%; height: 30%; }
.orbit-2 { width: 43%; height: 20%; border-color: rgba(226,162,74,.3); }
.app-card { position: absolute; border: 1px solid rgba(143,189,182,.4); background: rgba(20, 22, 20, .8); box-shadow: 0 18px 35px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.05); backdrop-filter: blur(8px); }
.app-card small { color: var(--cyan); font: 8px var(--mono); letter-spacing: .12em; }
.scene-card { width: 132px; padding: 14px; }
.scene-card strong { display: block; margin-top: 12px; font: 700 23px var(--serif); letter-spacing: .12em; }
.scene-card span { display: block; margin-top: 7px; color: var(--muted); font-size: 9px; }
.c1 { top: 26%; left: 19%; transform: rotate(-6deg); }
.c2 { top: 17%; right: 15%; transform: rotate(5deg); border-color: rgba(226,162,74,.42); }
.c2 small { color: var(--amber); }
.phone-card { right: 27%; bottom: 17%; width: 156px; padding: 13px 12px; transform: rotate(-2deg); }
.phone-title { margin: 8px 0; font-size: 18px; font-family: var(--serif); }
.phone-row { display: grid; grid-template-columns: 7px 1fr auto; align-items: center; gap: 6px; padding: 7px 0; border-top: 1px solid rgba(143,189,182,.15); color: var(--muted); font-size: 9px; }
.phone-row i { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
.phone-row b { font: 9px var(--mono); color: var(--cyan); }

/* 模式切换 */
.house-wrap[data-mode="device"] .app-overlay { opacity: 0; visibility: hidden; transform: translateY(16px); }
.house-wrap[data-mode="device"] .label-app, .house-wrap[data-mode="device"] .caption-app { opacity: 0; visibility: hidden; }
.house-wrap[data-mode="app"] .h-struct { opacity: .3; }
.house-wrap[data-mode="app"] .h-bus, .house-wrap[data-mode="app"] .h-nodes { opacity: .14; }
.house-wrap[data-mode="app"] .label-device, .house-wrap[data-mode="app"] .caption-device { opacity: 0; visibility: hidden; }

/* ============ 图签式区块头 (title block) ============ */
.brand-map, .decision-guide, .infra, .atlas, .combos, .shelves, .glossary { padding-top: 104px; padding-bottom: 26px; }
.tblock { display: grid; grid-template-columns: 96px 1fr auto; align-items: stretch; margin-bottom: 34px; border: 1px solid var(--line); background: var(--surface); }
.tb-no { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 18px; border-right: 1px solid var(--line); }
.tb-no small { color: var(--faint); font: 9px var(--mono); letter-spacing: .16em; }
.tb-no b { color: var(--amber-pale); font: 500 22px var(--mono); letter-spacing: -.02em; }
.tb-main { padding: 20px 24px; }
.tb-main h2 { margin-bottom: 6px; font: 700 clamp(27px, 2.6vw, 40px)/1.15 var(--serif); letter-spacing: -.04em; }
.tb-main p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.75; }
.tb-meta { display: flex; margin: 0; border-left: 1px solid var(--line); }
.tb-meta > div { display: flex; flex-direction: column; justify-content: center; gap: 7px; min-width: 86px; padding: 14px 18px; }
.tb-meta > div + div { border-left: 1px solid var(--line); }
.tb-meta dt { color: var(--faint); font: 9px var(--mono); letter-spacing: .14em; }
.tb-meta dd { margin: 0; color: var(--text); font: 12px var(--mono); }
.tb-meta dd b { color: var(--amber); font-weight: 500; }
.tb-meta dd.hot { color: var(--amber-pale); }

/* ============ 品牌地图 ============ */
.map-grid { display: grid; grid-template-columns: 1.35fr 1fr 218px; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.map-zone { min-height: 400px; padding: 26px; background: var(--surface); position: relative; overflow: hidden; }
.zone-kicker { color: var(--faint); font: 9px var(--mono); letter-spacing: .14em; }
.map-zone h3 { margin: 20px 0 5px; font: 700 27px var(--serif); }
.map-zone > p { color: var(--muted); font-size: 12px; margin-bottom: 20px; }
.brand-nodes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.map-node { min-height: 56px; padding: 10px 12px; text-align: left; cursor: pointer; border: 1px solid var(--line); background: rgba(16, 15, 13, .6); transition: transform .2s, border-color .2s, background .2s; }
.map-node:hover { transform: translateY(-2px); border-color: var(--amber); background: var(--surface-soft); }
.map-node b, .map-node span { display: block; }
.map-node b { font: 500 12px var(--mono); }
.map-node span { margin-top: 4px; color: var(--faint); font-size: 10px; line-height: 1.5; }
.map-node-wide { grid-column: span 2; }
.combo-layers { position: relative; }
.combo-layer { position: relative; border: 1px dashed var(--line-strong); padding: 14px; }
.combo-layer:last-child { border-color: var(--cyan-dim); }
.combo-tag { position: absolute; top: -8px; left: 12px; padding: 1px 8px; background: var(--surface); color: var(--faint); font: 9px var(--mono); letter-spacing: .1em; }
.combo-layer:last-child .combo-tag { color: var(--cyan); }
.combo-link { display: flex; align-items: center; gap: 10px; margin: 10px 0; color: var(--faint); font: 9px var(--mono); letter-spacing: .1em; }
.combo-link i { flex: 1; height: 0; border-top: 1px dashed rgba(226,162,74,.4); }
.stack-zone { background: linear-gradient(135deg, var(--surface), #1b1813); }
.stack-nodes { display: grid; gap: 9px; }
.stack-node { border-left: 3px solid var(--amber); }
.map-note { padding: 26px; background: #1c1710; }
.note-number { display: block; color: var(--amber-pale); font: 700 74px/.9 var(--serif); }
.map-note > span + span { display: block; margin-top: 8px; color: var(--amber-pale); font: 10px var(--mono); letter-spacing: .12em; }
.map-note hr { border: 0; border-top: 1px solid rgba(226,162,74,.3); margin: 30px 0 18px; }
.map-note p { color: #cfc2a8; font-size: 12px; line-height: 1.8; margin: 0; }

/* ============ 选型判断 ============ */
.decision-guide { padding-top: 122px; }
.decision-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.decision-grid article { min-height: 246px; display: flex; flex-direction: column; padding: 22px; background: var(--surface); }
.decision-grid article:nth-child(2), .decision-grid article:nth-child(4) { background: var(--surface-raised); }
.decision-grid span { color: var(--amber); font: 9px var(--mono); letter-spacing: .12em; }
.decision-grid h3 { margin: 34px 0 12px; font: 700 21px var(--serif); }
.decision-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.decision-grid b { margin-top: auto; padding-top: 24px; color: var(--cyan); font-size: 10px; font-weight: 500; }

/* ============ 柜内基础设施 ============ */
.infra { padding-top: 128px; }
.infra-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.infra-grid article { min-height: 220px; padding: 22px; background: linear-gradient(155deg, var(--surface), #121818); position: relative; overflow: hidden; }
.infra-grid article::after { content: ""; position: absolute; right: 18px; bottom: 18px; width: 52px; height: 88px; opacity: .16; border: 1px solid var(--cyan); background: repeating-linear-gradient(180deg, transparent 0 11px, rgba(143,189,182,.45) 12px 13px); }
.infra-grid article:nth-child(even) { background: linear-gradient(155deg, var(--surface-raised), #17130f); }
.infra-grid span { color: var(--cyan); font: 9px var(--mono); letter-spacing: .14em; }
.infra-grid h3 { margin: 36px 0 13px; font: 700 22px var(--serif); }
.infra-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.85; }

/* ============ 产品图鉴 ============ */
.atlas { padding-top: 128px; }
.filters { padding: 16px 0 21px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-row { display: flex; align-items: start; gap: 22px; padding: 6px 0; }
.filter-label { width: 36px; padding-top: 7px; flex: none; color: var(--faint); font-size: 10px; }
.chip-set { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-chip { padding: 6px 10px; cursor: pointer; border: 1px solid var(--line); border-radius: 100px; background: transparent; color: var(--muted); font-size: 11px; transition: .2s; }
.filter-chip b { margin-left: 4px; color: var(--faint); font: 9px var(--mono); font-weight: 400; }
.filter-chip:hover, .filter-chip.is-active { border-color: var(--amber); color: var(--amber-pale); }
.filter-chip.is-active { background: var(--amber-dim); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-top: 24px; }
.product-card { min-height: 216px; position: relative; overflow: hidden; display: grid; grid-template-columns: 120px 1fr; gap: 13px; padding: 18px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: transform .2s, border-color .2s, background .2s; }
.product-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--amber) 55%, transparent); background: var(--surface-raised); }
.product-card:focus-within { border-color: var(--amber); }
.card-open { position: absolute; inset: 0; z-index: 2; border: 0; background: transparent; cursor: pointer; }
.card-open:focus-visible { outline: 2px solid var(--amber); outline-offset: -3px; }
.product-visual { position: relative; align-self: center; width: 120px; height: 145px; margin: 0; overflow: hidden; display: grid; place-items: center; background: #e8e5dc; box-shadow: inset 0 0 0 1px rgba(30,26,20,.08); }
.product-visual::after { content: "OFFICIAL"; position: absolute; left: 7px; bottom: 6px; color: rgba(32,29,24,.42); font: 7px var(--mono); letter-spacing: .12em; }
.product-visual img { display: block; width: 100%; height: 100%; padding: 8px; object-fit: contain; mix-blend-mode: normal; transition: transform .35s ease; }
.product-card:hover .product-visual img { transform: scale(1.035); }
.product-visual[data-image-mode="cover"] img { padding: 0; object-fit: cover; mix-blend-mode: normal; }
.product-visual[data-image-mode="wide"] img { padding: 5px; object-fit: contain; mix-blend-mode: normal; }
.panel-body { position: relative; width: 76px; height: 104px; border: 2px solid color-mix(in srgb, var(--panel) 78%, white); border-radius: var(--radius, 4px); background: linear-gradient(135deg, color-mix(in srgb, var(--panel) 80%, #fff), var(--panel) 55%, color-mix(in srgb, var(--panel) 86%, #000)); box-shadow: 8px 12px 18px rgba(0,0,0,.4), inset 1px 1px rgba(255,255,255,.3); }
.panel-body::before { content: ""; position: absolute; inset: 10px; border: 1px solid color-mix(in srgb, var(--panel) 58%, #fff); opacity: .5; }
.panel-body::after { content: ""; position: absolute; inset: 24px 12px; background: var(--panel-lines); opacity: .66; }
.panel-dots { position: absolute; z-index: 2; display: grid; grid-template-columns: repeat(2, 6px); gap: 14px 23px; }
.panel-dots i { width: 5px; height: 5px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; box-shadow: 0 0 8px var(--amber); }
.product-card[data-keytype="touch"] .panel-dots { grid-template-columns: repeat(3, 6px); gap: 8px 12px; }
.product-card[data-keytype="rocker"] .panel-body::after { inset: 16px 12px; background: linear-gradient(90deg, transparent 48%, rgba(0,0,0,.35) 49%, rgba(255,255,255,.6) 51%, transparent 52%); }
.product-card[data-keytype="rocker"] .panel-dots { display: none; }
.product-card[data-keytype="dial"] .panel-dots { grid-template-columns: 1fr; }
.product-card[data-keytype="dial"] .panel-dots i { width: 29px; height: 29px; border: 2px solid rgba(255,255,255,.7); box-shadow: inset 0 0 0 9px rgba(0,0,0,.17), 0 0 12px var(--amber); }
.product-info { display: flex; min-width: 0; flex-direction: column; }
.product-brand { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; }
.brand-dot { width: 5px; height: 5px; flex: none; border-radius: 50%; background: var(--brand-color); }
.product-info h3 { display: -webkit-box; overflow: hidden; margin: 11px 0 3px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font: 700 18px/1.25 var(--serif); letter-spacing: -.03em; }
.product-category { color: var(--faint); font-size: 10px; }
.product-bottom { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 15px; }
.micro-specs { display: flex; flex-wrap: wrap; gap: 5px; }
.micro-specs span { padding: 3px 5px; border: 1px solid var(--line); color: var(--muted); font: 8px var(--mono); line-height: 1; }
.updated { color: var(--faint); font: 9px var(--mono); }
.source-tag { position: absolute; z-index: 3; left: 0; bottom: 0; pointer-events: none; padding: 3px 8px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); background: rgba(16,15,13,.78); color: var(--faint); font: 8px var(--mono); letter-spacing: .12em; }
.compare-add { position: absolute; z-index: 4; top: 11px; right: 11px; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(16,15,13,.65); color: var(--muted); cursor: pointer; transition: .2s; }
.compare-add:hover, .compare-add.is-added { border-color: var(--amber); color: var(--amber); }
.compare-add.is-added { background: var(--amber-dim); }
.empty-state { margin: 55px 0; color: var(--muted); text-align: center; }
.atlas-footnote { display: grid; grid-template-columns: 110px 1fr; gap: 22px; margin-top: 22px; padding: 18px 20px; border: 1px solid var(--line); background: linear-gradient(90deg, rgba(226,162,74,.08), transparent 72%); }
.atlas-footnote span { color: var(--amber-pale); font: 9px var(--mono); letter-spacing: .14em; }
.atlas-footnote p { max-width: 900px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }

/* ============ 经典搭配 ============ */
.combos { padding-top: 128px; }
.combo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.combo-cards > article { position: relative; min-height: 260px; padding: 21px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.combo-cards > article::after { content: ""; position: absolute; right: -34px; top: -34px; width: 110px; height: 110px; border: 1px solid var(--line); border-radius: 50%; }
.combo-cards > article:hover { border-color: rgba(226,162,74,.48); background: var(--surface-raised); }
.combo-no { color: var(--faint); font: 10px var(--mono); }
.combo-title { margin: 28px 0 24px; }
.combo-title h3 { margin: 0 0 7px; font: 700 21px var(--serif); }
.combo-title small { color: var(--amber-pale); font-size: 10px; }
.combo-cards dl { margin: 0; }
.combo-cards dl > div { display: grid; grid-template-columns: 58px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 10px; }
.combo-cards dt { color: var(--faint); }
.combo-cards dd { margin: 0; color: var(--muted); }

/* ============ 货架 ============ */
.shelf-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.shelf-card { position: relative; min-height: 226px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; transition: background .2s; }
.shelf-card:hover { background: var(--surface); }
.shelf-index { color: var(--faint); font: 10px var(--mono); letter-spacing: .1em; }
.shelf-card h3 { margin: 0 0 10px; font: 700 22px var(--serif); }
.shelf-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.shelf-card > b { color: var(--amber); font: 500 30px var(--mono); }
.shelf-card > b small { margin-left: 5px; color: var(--faint); font-size: 8px; letter-spacing: .1em; }
.shelf-glossary { background: linear-gradient(140deg, rgba(226,162,74,.15), transparent 65%); }
.shelf-combo { background: linear-gradient(140deg, rgba(143,189,182,.11), transparent 65%); }
.shelf-coming > b { color: var(--faint); font-size: 11px; letter-spacing: .06em; }

/* ============ 速查 ============ */
.glossary { padding-bottom: 104px; }
.glossary-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.term-card { min-height: 176px; padding: 17px; background: var(--surface); transition: background .2s; }
.term-card:hover { background: var(--surface-raised); }
.term-card .term-index { color: var(--faint); font: 9px var(--mono); }
.term-card h3 { margin: 28px 0 8px; color: var(--amber-pale); font: 500 19px var(--mono); letter-spacing: -.01em; }
.term-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.75; }

/* ============ 更新日志 ============ */
.updates { padding-top: 100px; padding-bottom: 112px; }
.updates-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; margin-bottom: 28px; }
.updates-head .eyebrow { margin: 0; }
.updates-head h2 { margin: 0; font: 700 clamp(27px,2.6vw,40px)/1.15 var(--serif); letter-spacing: -.04em; }
.update-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.update-list li { display: grid; grid-template-columns: 105px 1fr 70px; gap: 20px; align-items: start; padding: 19px 0; border-bottom: 1px solid var(--line); }
.update-list time { color: var(--amber); font: 10px var(--mono); }
.update-list b { font-size: 12px; font-weight: 600; }
.update-list p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.update-list li > span { justify-self: end; padding: 3px 6px; border: 1px solid var(--line); color: var(--faint); font: 8px var(--mono); }

/* ============ 问卷横幅 ============ */
.quiz-banner { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 92px; padding-top: 52px; padding-bottom: 52px; border-top: 1px solid rgba(226,162,74,.35); border-bottom: 1px solid rgba(226,162,74,.35); background: linear-gradient(90deg, rgba(226,162,74,.11), transparent 70%); }
.quiz-banner h2 { margin-bottom: 12px; font: 700 clamp(28px,3vw,46px)/1.2 var(--serif); letter-spacing: -.04em; }
.quiz-banner > div > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.quiz-cta { flex: none; border: 0; padding: 15px 21px; background: var(--amber); color: #1b1408; cursor: pointer; font-weight: 700; font-size: 14px; }
.quiz-cta span { margin-left: 16px; font-size: 17px; }
.quiz-cta:hover { background: var(--amber-pale); }

footer { max-width: var(--max); display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; margin: auto; padding: 0 34px 46px; color: var(--muted); }
.footer-brand { font-size: 12px; }
.footer-brand b { display: inline-block; margin-left: 8px; color: var(--text); font-family: var(--serif); }
.footer-brand p { margin: 10px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; align-content: start; gap: 10px 18px; font-size: 12px; }
.footer-links a:hover { color: var(--amber); }
.disclaimer { margin: 0; text-align: right; color: var(--faint); font-size: 10px; line-height: 1.8; }

/* ============ 对比托盘 / 弹层 ============ */
.compare-tray { position: fixed; z-index: 25; left: 50%; bottom: 20px; width: min(650px, calc(100% - 40px)); display: flex; align-items: center; gap: 14px; padding: 10px 11px 10px 15px; transform: translateX(-50%); border: 1px solid rgba(226,162,74,.5); background: rgba(22, 20, 16, .95); box-shadow: 0 14px 42px rgba(0,0,0,.4); backdrop-filter: blur(16px); }
.compare-tray[hidden] { display: none; }
.compare-copy { min-width: 65px; display: flex; flex-direction: column; gap: 3px; color: var(--muted); font-size: 9px; }
.compare-copy b { color: var(--amber-pale); font: 10px var(--mono); }
.compare-items { display: flex; min-width: 0; flex: 1; gap: 5px; }
.compare-pill { max-width: 120px; overflow: hidden; padding: 5px 7px; border: 1px solid var(--line); color: var(--text); text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.compare-button { flex: none; padding: 9px 12px; border: 0; background: var(--amber); color: #1b1408; cursor: pointer; font-size: 11px; font-weight: 700; }
.compare-button span { margin-left: 6px; }

dialog { max-width: min(830px, calc(100% - 30px)); max-height: min(700px, calc(100dvh - 30px)); overflow: auto; border: 1px solid var(--line-strong); background: var(--surface-raised); color: var(--text); box-shadow: 0 26px 80px rgba(0,0,0,.62); }
.detail-dialog { width: 770px; padding: 0; }
.compare-dialog { width: 930px; padding: 0; }
.quiz-dialog { width: min(560px, calc(100% - 30px)); padding: 0; }
dialog::backdrop { background: rgba(5,4,2,.76); backdrop-filter: blur(3px); }
.dialog-close { position: sticky; z-index: 2; top: 13px; left: calc(100% - 48px); float: right; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--muted); cursor: pointer; font-size: 19px; line-height: 1; }
.dialog-close:hover { color: var(--amber); border-color: var(--amber); }
.detail-layout { display: grid; grid-template-columns: 290px 1fr; min-height: 450px; }
.detail-visual { display: grid; min-height: 450px; place-items: center; border-right: 1px solid var(--line); background: radial-gradient(circle at 50% 43%, var(--product-glow), transparent 58%), #151310; }
.detail-visual .product-visual { transform: scale(1.65); }
.detail-copy { padding: 40px 42px; }
.detail-brand { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.detail-copy h2 { margin: 14px 0 5px; font: 700 34px/1.2 var(--serif); letter-spacing: -.04em; }
.detail-model { color: var(--faint); font: 10px var(--mono); }
.detail-note { margin: 26px 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.spec-list { margin: 0; border-top: 1px solid var(--line); }
.spec-list div { display: grid; grid-template-columns: 72px 1fr; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.spec-list dt { color: var(--faint); }
.spec-list dd { margin: 0; color: var(--text); }
.detail-verified { display: inline-block; margin-left: 8px; padding: 2px 7px; border: 1px solid rgba(143,189,182,.36); color: var(--cyan); font: 8px var(--mono); letter-spacing: .12em; vertical-align: 2px; }
.detail-actions { display: flex; align-items: center; gap: 10px; margin-top: 24px; }
.detail-compare { border: 1px solid var(--amber); padding: 9px 12px; background: transparent; color: var(--amber-pale); cursor: pointer; font-size: 11px; }
.detail-source { padding: 9px 0; color: var(--muted); font-size: 10px; }
.detail-source:hover { color: var(--amber-pale); }
.compare-sheet { padding: 42px; }
.compare-sheet h2 { margin-bottom: 5px; font: 700 32px var(--serif); }
.compare-sheet > p { margin-bottom: 27px; color: var(--muted); font-size: 12px; }
.compare-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 11px; }
.compare-table th, .compare-table td { padding: 13px 11px; vertical-align: top; text-align: left; border-top: 1px solid var(--line); }
.compare-table th { color: var(--faint); font-weight: 400; width: 100px; }
.compare-table td { color: var(--text); }
.compare-table .compare-product { color: var(--amber-pale); font: 600 14px var(--serif); }
.compare-remove { border: 0; padding: 0; background: none; color: var(--faint); cursor: pointer; font-size: 10px; }
.compare-remove:hover { color: var(--red); }
.quiz-flow { padding: 42px; }
.quiz-flow .eyebrow { margin-bottom: 12px; }
.quiz-flow h2 { margin-bottom: 27px; font: 700 32px/1.25 var(--serif); letter-spacing: -.04em; }
.quiz-answers { display: grid; gap: 9px; }
.quiz-answer { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; text-align: left; transition: border-color .2s, background .2s; }
.quiz-answer:hover { border-color: var(--amber); background: var(--surface-soft); }
.quiz-answer i { color: var(--amber); font: 11px var(--mono); font-style: normal; }
.quiz-answer strong { font-size: 13px; }
.quiz-answer span { color: var(--faint); font-size: 16px; }
.quiz-back { margin-top: 15px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 11px; }
.quiz-result { padding: 12px 0; }
.quiz-result h3 { margin: 0 0 16px; color: var(--amber-pale); font: 700 26px/1.35 var(--serif); }
.quiz-result p { color: var(--muted); line-height: 1.8; font-size: 13px; }
.result-recs { display: flex; gap: 7px; flex-wrap: wrap; margin: 20px 0; }
.result-recs span { padding: 5px 8px; border: 1px solid var(--line); color: var(--cyan); font-size: 10px; }
.quiz-reset { margin-top: 10px; border: 1px solid var(--amber); padding: 9px 12px; background: transparent; color: var(--amber-pale); cursor: pointer; font-size: 11px; }

.community-float { position: fixed; z-index: 28; right: 20px; bottom: 20px; border: 1px solid rgba(226,162,74,.54); padding: 11px 14px; background: rgba(22,20,16,.92); color: var(--amber-pale); box-shadow: 0 14px 40px rgba(0,0,0,.36); cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .04em; backdrop-filter: blur(16px); }
.community-float:hover { border-color: var(--amber); color: #1b1408; background: var(--amber); }
.join-dialog { width: min(720px, calc(100% - 30px)); padding: 0; }
.join-dialog::backdrop { background: radial-gradient(circle at 50% 35%, rgba(226,162,74,.18), transparent 38%), rgba(5,4,2,.82); backdrop-filter: blur(5px); }
.join-flow { position: relative; overflow: hidden; padding: 42px; }
.join-flow::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 100% 0%, rgba(226,162,74,.14), transparent 34%), linear-gradient(135deg, transparent, rgba(143,189,182,.08)); }
.join-flow > * { position: relative; z-index: 1; }
.join-flow h2 { margin: 0 0 14px; font: 700 clamp(30px,5vw,50px)/1.05 var(--serif); letter-spacing: -.055em; }
.join-flow > p:not(.eyebrow) { max-width: 560px; margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.join-flow small { display: block; margin-top: 14px; color: var(--faint); font-size: 10px; line-height: 1.7; }
.join-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.join-primary, .join-secondary { min-height: 42px; border: 1px solid var(--line); padding: 11px 15px; cursor: pointer; font-size: 12px; font-weight: 700; }
.join-primary { border-color: var(--amber); background: var(--amber); color: #1b1408; }
.join-primary:hover { background: var(--amber-pale); }
.join-secondary { background: transparent; color: var(--muted); }
.join-secondary:hover { border-color: var(--amber); color: var(--amber-pale); }
.join-choice-grid { display: grid; gap: 10px; }
.owner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.join-choice { display: grid; grid-template-columns: 34px 1fr; gap: 7px 12px; align-items: start; padding: 17px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 90%, transparent); color: var(--text); cursor: pointer; text-align: left; transition: border-color .2s, background .2s, transform .2s; }
.join-choice:hover { transform: translateY(-1px); border-color: var(--amber); background: var(--surface-soft); }
.join-choice i { grid-row: span 2; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(226,162,74,.45); color: var(--amber); font: 10px var(--mono); font-style: normal; }
.join-choice strong { font-size: 15px; font-weight: 700; }
.join-choice span { color: var(--muted); font-size: 11px; line-height: 1.65; }
.join-back { margin-top: 17px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 11px; }
.join-back:hover { color: var(--amber); }
.qr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.qr-card { min-width: 0; padding: 16px; border: 1px solid var(--line); background: var(--surface); }
.qr-label { display: inline-block; margin-bottom: 10px; padding: 3px 7px; border: 1px solid rgba(226,162,74,.38); color: var(--amber); font: 9px var(--mono); letter-spacing: .12em; }
.qr-image { display: grid; min-height: 230px; place-items: center; padding: 12px; background: #f7f1e3; }
.qr-image img { width: min(100%, 230px); height: auto; display: block; }
.qr-card h3 { margin: 14px 0 7px; font: 700 19px/1.35 var(--serif); letter-spacing: -.03em; }
.qr-card p { margin: 0 0 14px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.qr-download { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--amber); padding: 8px 11px; color: var(--amber-pale); font-size: 11px; }
.qr-download:hover { background: var(--amber); color: #1b1408; }
.qr-mobile { display: none; }
.join-note { display: grid; grid-template-columns: 72px 1fr; gap: 10px; margin-top: 14px; padding: 12px; border: 1px dashed rgba(226,162,74,.35); color: var(--muted); font-size: 11px; line-height: 1.7; }
.join-note b { color: var(--amber-pale); font-weight: 700; }

.toast { position: fixed; z-index: 60; left: 50%; top: 84px; padding: 10px 14px; transform: translate(-50%, -10px); border: 1px solid var(--line-strong); background: var(--surface-raised); color: var(--text); box-shadow: 0 10px 30px rgba(0,0,0,.25); opacity: 0; transition: opacity .2s, transform .2s; font-size: 11px; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ============ 明亮模式：晒图纸 ============ */
body.light { color-scheme: light; --bg: #f2efe6; --surface: #faf8f1; --surface-raised: #ffffff; --surface-soft: #ece7da; --text: #211f1a; --muted: #6b675c; --faint: #918d80; --line: rgba(33, 31, 26, .15); --line-strong: rgba(33, 31, 26, .28); --amber: #b06f1c; --amber-pale: #8f5710; --amber-dim: rgba(176, 111, 28, .12); --cyan: #33736c; --cyan-dim: rgba(51, 115, 108, .45); --red: #a84f42; }
.light .grain { opacity: .1; }
.light .topbar { background: color-mix(in srgb, var(--bg) 88%, transparent); }
.light .house-wrap { background: radial-gradient(circle at 68% 26%, rgba(176,111,28,.1), transparent 34%), linear-gradient(150deg, #ebe7db, #dfdacb 64%); }
.light .h-bus path { filter: none; }
.light .hn .dot { filter: none; }
.light .app-card { background: rgba(252,251,246,.82); }
.light .map-node { background: rgba(252,251,246,.7); }
.light .stack-zone { background: linear-gradient(135deg, var(--surface), #efe8d8); }
.light .map-note { background: #e9dfc9; }
.light .map-note p { color: #64533a; }
.light .source-tag { background: rgba(250,248,241,.88); }
.light .compare-tray { background: rgba(255,253,248,.95); }
.light .detail-visual { background: radial-gradient(circle at 50% 43%, var(--product-glow), transparent 58%), #e8e4d6; }
.light .hero h1 em { text-shadow: none; }

/* ============ 响应式 ============ */
@media (max-width: 1020px) {
  .topbar { gap: 18px; }
  .search { width: 200px; }
  .hero { grid-template-columns: 1fr; padding-top: 54px; }
  .hero-copy { max-width: 570px; }
  .house-wrap { min-height: 430px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .decision-grid { grid-template-columns: repeat(2, 1fr); }
  .infra-grid { grid-template-columns: repeat(2, 1fr); }
  .combo-cards { grid-template-columns: repeat(2, 1fr); }
  .shelf-grid, .glossary-grid { grid-template-columns: repeat(2,1fr); }
  .map-grid { grid-template-columns: 1fr 1fr; }
  .map-note { grid-column: span 2; min-height: 150px; display: grid; grid-template-columns: 100px 1fr 1fr; gap: 15px; align-items: center; }
  .map-note hr { display: none; }
  .note-number { align-self: end; }
  .tb-meta > div { min-width: 72px; padding: 12px 13px; }
}
@media (max-width: 760px) {
  :root { --nav-h: 58px; --frame: 6px; }
  .side-rail { display: none; }
  .topbar { gap: 12px; padding: 0 16px; }
  .wordmark { font-size: 13px; }
  .wordmark-dot { width: 6px; height: 6px; }
  .search { position: fixed; top: calc(var(--nav-h) + 10px); left: 16px; right: 16px; z-index: 31; width: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s; }
  .topbar.nav-open .search { opacity: 1; visibility: visible; transform: none; }
  .nav-toggle { display: grid; place-items: center; width: 34px; height: 34px; margin-left: auto; padding: 0; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 17px; }
  nav { position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 29; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 58px 16px 14px; background: color-mix(in srgb, var(--bg) 96%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s; }
  .topbar.nav-open nav { transform: none; opacity: 1; visibility: visible; }
  nav a { padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 14px; }
  nav a.active::after { display: none; }
  .quiz-link { font-size: 11px; }
  .section-shell { padding-left: 16px; padding-right: 16px; }
  .hero { min-height: auto; padding-top: 46px; padding-bottom: 60px; }
  .hero h1 { font-size: 42px; }
  .hero-text { font-size: 13px; }
  .house-wrap { min-height: 380px; margin-top: 8px; }
  .layer-switch { top: 12px; right: 12px; }
  .blueprint-label { left: 15px; }
  .blueprint-caption { left: 15px; bottom: 15px; }
  .c1 { left: 8%; }
  .c2 { right: 7%; }
  .phone-card { right: 12%; }
  .brand-map, .decision-guide, .infra, .atlas, .combos, .shelves, .glossary { padding-top: 68px; }
  .tblock { grid-template-columns: 72px 1fr; }
  .tb-no { padding: 13px; }
  .tb-no b { font-size: 17px; }
  .tb-main { padding: 14px 16px; }
  .tb-meta { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
  .tb-meta > div { flex: 1; min-width: 0; padding: 10px 13px; }
  .map-grid { grid-template-columns: 1fr; }
  .map-note { grid-column: auto; grid-template-columns: 80px 1fr; min-height: 0; }
  .map-note p { grid-column: 2; }
  .map-zone { min-height: 0; }
  .filter-row { gap: 12px; }
  .filter-label { width: 28px; }
  .filter-chip { padding: 6px 8px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-card { min-height: 212px; grid-template-columns: 1fr; grid-template-rows: 102px auto; gap: 6px; padding: 12px; }
  .product-visual { width: 100%; height: 100px; }
  .product-visual img { padding: 5px; }
  .panel-body { transform: scale(.72); }
  .product-info h3 { margin-top: 7px; font-size: 15px; }
  .product-bottom { padding-top: 10px; }
  .source-tag { padding: 2px 6px; }
  .atlas-footnote { grid-template-columns: 1fr; gap: 8px; }
  .decision-grid, .infra-grid, .combo-cards { grid-template-columns: 1fr; }
  .decision-grid article { min-height: 210px; }
  .infra-grid article { min-height: 190px; }
  .updates-head { grid-template-columns: 1fr; gap: 14px; }
  .update-list li { grid-template-columns: 66px 1fr; gap: 12px; }
  .update-list li > span { display: none; }
  .shelf-card { min-height: 186px; }
  .glossary-grid { grid-template-columns: repeat(2,1fr); }
  .term-card { min-height: 150px; }
  .term-card h3 { margin-top: 20px; font-size: 15px; }
  .term-card p { font-size: 10px; }
  .quiz-banner { align-items: start; flex-direction: column; gap: 20px; margin-bottom: 58px; padding-top: 34px; padding-bottom: 34px; }
  .quiz-cta { width: 100%; text-align: left; display: flex; justify-content: space-between; }
  .quiz-cta span { margin-left: 0; }
  footer { grid-template-columns: 1fr; padding: 0 16px 100px; gap: 22px; }
  .disclaimer { text-align: left; }
  .compare-tray { bottom: 12px; gap: 8px; }
  .compare-items { display: none; }
  .compare-copy { flex: 1; flex-direction: row; align-items: center; justify-content: space-between; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-visual { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--line); }
  .detail-visual .product-visual { transform: scale(1.2); }
  .detail-copy { padding: 28px 23px; }
  .compare-sheet, .quiz-flow { padding: 31px 22px; }
  .community-float { right: 14px; bottom: 70px; padding: 9px 11px; font-size: 11px; }
  .join-flow { padding: 31px 22px; }
  .join-actions { flex-direction: column; }
  .join-primary, .join-secondary { width: 100%; }
  .owner-grid, .qr-grid { grid-template-columns: 1fr; }
  .qr-image { min-height: 240px; padding: 18px; }
  .qr-image img { width: min(100%, 260px); }
  .qr-desktop { display: none !important; }
  .qr-mobile { display: inline-flex; border-style: dashed; cursor: default; }
  .qr-mobile:hover { background: transparent; color: var(--amber-pale); }
  .join-note { grid-template-columns: 1fr; }
  .compare-sheet { overflow-x: auto; }
  .compare-table { min-width: 580px; }
  .quiz-flow h2 { font-size: 27px; }
  .dialog-close { top: 9px; left: calc(100% - 40px); }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 198px; grid-template-columns: 112px 1fr; grid-template-rows: 1fr; gap: 12px; padding: 13px; }
  .product-visual { width: 112px; height: 158px; }
  .product-info h3 { margin-top: 11px; font-size: 17px; }
}
@media (max-width: 380px) {
  .quiz-link { font-size: 0; }
  .quiz-link span { margin: 0; font-size: 18px; }
  .hero h1 { font-size: 37px; }
  .product-grid { gap: 6px; }
  .product-card { grid-template-columns: 96px 1fr; padding: 10px; }
  .product-visual { width: 96px; height: 148px; }
  .micro-specs span { font-size: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .h-bus path { animation: none; }
  .hn .halo { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
