/* ════════════════════════════════════════════════════════════════════════
   四色笔记官网 · 落地页新增组件（site-landing.css）

   谁在用：**五个页面都引用它**（index.html + /study + /developer + /knowledge + /download）。

   为什么单独一个文件：这些组件首页也要用（顶栏「使用场景」下拉、FAQ、下载中心卡片…），
   而四个落地页的外壳在 site-shell.css、首页的外壳在 index.html 内联 —— 把新增组件放这里，
   两边都只加一行 <link>，⛔ 不需要把整份外壳复制给首页（那会多下载 35KB 且两处必然走散）。

   ⛔ 令牌一律取自 site-shell.css 的 :root（= index.html 同一份），本文件不新造变量、
   不新造颜色 —— 只用 --text-* / --bg* / --border / --primary / --tint-* / --mk-* / --radius。
   ════════════════════════════════════════════════════════════════════════ */

/* ═══════════════ 顶栏「使用场景」下拉（桌面 hover + 点击/键盘；移动端在 .mobile-nav 内展开） ═══════════════ */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop-btn {
    position: relative;                     /* 供下面的 ::after 定位（命中区扩展①） */
    display: inline-flex; align-items: center; gap: 5px;
    color: var(--text-2); font-size: 14.5px; font-weight: 500;
    white-space: nowrap; padding: 0; transition: color 0.2s ease;
}
.nav-drop-btn:hover, .nav-drop.open .nav-drop-btn { color: var(--text-1); }
/* 命中区扩展①：垂直方向撑到**顶栏全高**。
   实测原来只有 20px 的按钮文字盒算命中（y=20..43，而顶栏是 64px）⇒ 指针在顶栏里稍偏上/偏下
   就擦不到「使用场景」；这也顺手解决了「鼠标从页面下方往上扫、先落在顶栏空白」那一段。
   ⚠️ 伪元素必须挂在 `.nav-drop-btn` 上，⛔ 不是 `.nav-drop`：挂到后者会把 `.nav-drop` 的盒
   从 20px 撑到 64px，连带改掉 flex 容器 `.nav` 的交叉轴尺寸、以及面板定位
   `top: calc(100% + 14px)` 的基准（面板会整体下移 44px）。 */
.nav-drop-btn::after {
    content: '';
    position: absolute;
    left: -8px; right: -8px;                /* 水平只多 8px：不侵入相邻导航项的 28px 间距 */
    top: 50%; transform: translateY(-50%);
    height: 64px;                           /* = .header 的高度（site-shell.css 里硬编码 64px） */
}
.nav-drop-btn svg { width: 13px; height: 13px; transition: transform 0.2s ease; }
.nav-drop.open .nav-drop-btn svg { transform: rotate(180deg); }
.nav-drop-panel {
    position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(-6px);
    min-width: 208px; padding: 8px;
    background: var(--bg); border: 1px solid var(--border); border-radius: 14px;
    box-shadow: var(--shadow-float);
    display: flex; flex-direction: column; gap: 2px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 110;
}
.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel,
.nav-drop.open .nav-drop-panel {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
/* 命中区扩展②：把「按钮底 → 面板顶」之间那 15px 的**视觉缝**变成可命中的连接带。
   ⛔ 这段缝就是本 bug（鼠标一往下滑菜单就消失、选不中）的根因，实测按钮底 y=42、面板顶 y=57：
   hover 判定只认「指针是否落在 `.nav-drop` 的盒内」，指针下移穿过缝的那一瞬间 hover 失配 ⇒
   面板立刻 `visibility: hidden` + `pointer-events: none`（两者都不是可动画量，是立即生效的）
   ⇒ 等指针到达面板位置时它已不接收命中，而指针又不在 `.nav-drop` 盒内、hover 无法重新成立
   ⇒ **面板锁死在关闭态**（取证：指针停在首项位置上时，elementFromPoint 命中的是
   `SECTION.page-hero`，点下去等于点空）。
   桥默认 `pointer-events: none`（不介入命中：鼠标只是路过时不会凭空多出热区），只在
   「面板本来就该开着」的三种状态下才接管 ⇒ 闭环：按钮命中 → 桥可命中 → 桥命中 → hover 仍成立。 */
.nav-drop::after {
    content: '';
    position: absolute;
    top: 100%; left: 50%; transform: translateX(-50%);
    width: 100%;
    min-width: 208px;                       /* = .nav-drop-panel 的 min-width：斜向下移动也不断开 */
    height: 18px;                           /* ≥ 那 15px 缝（留 3px 容错） */
    pointer-events: none;
}
.nav-drop:hover::after,
.nav-drop:focus-within::after,
.nav-drop.open::after { pointer-events: auto; }

.nav-drop-panel a {
    display: flex; flex-direction: column; gap: 2px;
    padding: 9px 11px; border-radius: 10px;
    color: var(--text-1); font-size: 14px; font-weight: 600;
}
.nav-drop-panel a span { font-size: 12px; font-weight: 400; color: var(--text-3); line-height: 1.5; }
.nav-drop-panel a:hover { background: var(--bg-soft); }
/* 移动端导航里的场景分组标题（不跳转，只作分组） */
.mobile-nav .mobile-nav-group {
    font-size: 12px; font-weight: 700; letter-spacing: 1.4px;
    color: var(--text-3); padding: 14px 32px 4px;
}

/* ═══════════════ 子页首屏（/study、/developer、/knowledge、/download） ═══════════════ */
.page-hero {
    position: relative;
    padding: calc(64px + 9vh) 0 clamp(40px, 4.4vw, 62px);
    background:
        radial-gradient(44% 58% at 90% -10%, var(--tint-blue), transparent 68%),
        radial-gradient(32% 44% at 4% 12%, var(--tint-yellow), transparent 66%),
        var(--bg);
}
.page-hero::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--c-red) 0 25%, var(--c-blue) 25% 50%, var(--c-green) 50% 75%, var(--c-yellow) 75% 100%);
}
.page-hero .crumb {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: 13px; color: var(--text-3); margin-bottom: 16px;
}
.page-hero .crumb a { color: var(--text-3); }
.page-hero .crumb a:hover { color: var(--primary); }
.page-hero .crumb i { font-style: normal; color: var(--text-3); opacity: 0.6; }
.page-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--tint-blue); color: var(--primary);
    font-size: 13px; font-weight: 600; padding: 6px 13px; border-radius: 999px;
    margin-bottom: 18px;
}
.page-hero-badge .dots { display: inline-flex; gap: 3px; }
.page-hero-badge .dots i { width: 6px; height: 6px; border-radius: 2px; display: block; }
.page-hero-badge .dots i:nth-child(1) { background: var(--c-red); }
.page-hero-badge .dots i:nth-child(2) { background: var(--c-blue); }
.page-hero-badge .dots i:nth-child(3) { background: var(--c-green); }
.page-hero-badge .dots i:nth-child(4) { background: var(--c-yellow); }
.page-hero h1 {
    font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; line-height: 1.28;
    letter-spacing: 0.2px; color: var(--text-1); margin-bottom: 18px; max-width: 20em;
}
.page-lead { font-size: 16.5px; line-height: 1.95; color: var(--text-2); max-width: 46em; }
.page-lead b { color: var(--text-1); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.cta-row .btn-primary, .cta-row .btn-ghost { font-size: 15px; }
.cta-hint { margin-top: 14px; font-size: 13px; color: var(--text-3); line-height: 1.8; }
.cta-hint a { color: var(--primary); }

/* ═══════════════ 场景卡（可点击 · 首页「核心使用场景」） ═══════════════ */
/* .scene 本体在 site-shell.css（首页内联同源）：这里只补「整卡可点」与尾部入口行。
   ⛔ 不要给 .scene 本体加 hover 位移/阴影变化 —— 那张卡在首页范式里也有不可点的用法。 */
.scene-link { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.scene-link:hover { border-color: var(--text-3); box-shadow: var(--shadow-float); }
.scene-link .scene-more {
    margin-top: 14px; font-size: 13.5px; font-weight: 620; color: var(--primary);
}
.scene-link:hover .scene-more { color: var(--primary-strong); }

/* ═══════════════ 示例笔记窗口（真编辑器内嵌，/study /developer /knowledge 首屏之后） ═══════════════ */
/* 视觉上就是「产品窗口」：细边 + 圆角 + 柔和投影，与首页 Hero 的真实界面窗口同一语言。
   ⛔ 里面是 iframe（/landing-demo.html）—— 不要试图用 CSS 描摹编辑器，那会与产品走样。 */
.sec-demo { padding-top: clamp(48px, 5vw, 72px); }
.demo-frame {
    position: relative;
    max-width: 980px;
    margin: clamp(26px, 3vw, 38px) auto 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg);
    box-shadow: var(--shadow-float);
}
.demo-frame iframe {
    display: block;
    width: 100%;
    height: 560px;
    border: 0;
    background: var(--bg);
}
.demo-hint {
    max-width: 980px;
    margin: 16px auto 0;
    font-size: 13.5px;
    line-height: 1.85;
    color: var(--text-3);
}
.demo-hint b { color: var(--text-2); }

/* ═══════════════ 场景链路（记录 → 标记 → 筛选 → 蒙住 → 巩固） ═══════════════ */
.chain-steps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chain-steps .step {
    flex: 1 1 0; min-width: 132px;
    background: var(--bg); border: 1px solid var(--border); border-radius: 14px;
    padding: 16px 16px 14px; box-shadow: var(--shadow-soft);
}
.chain-steps .step .no {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 9px; margin-bottom: 10px;
    font-size: 13px; font-weight: 800; color: #fff; background: var(--primary);
}
.chain-steps .step h3 { font-size: 15px; font-weight: 700; margin-bottom: 5px; color: var(--text-1); }
.chain-steps .step p { font-size: 13px; line-height: 1.8; color: var(--text-2); }
.chain-steps .step.tone-r .no { background: var(--c-red); }
.chain-steps .step.tone-b .no { background: var(--c-blue); }
.chain-steps .step.tone-g .no { background: var(--c-green); }
.chain-steps .step.tone-y .no { background: var(--mk-y); }

/* ═══════════════ 四色语义表（全站同一份口径） ═══════════════ */
.mk-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 26px; }
.mk-table th, .mk-table td {
    text-align: left; padding: 13px 16px; font-size: 14px;
    border-bottom: 1px solid var(--border);
}
.mk-table th { font-size: 12.5px; font-weight: 700; letter-spacing: 1px; color: var(--text-3); }
.mk-table td:first-child { width: 128px; font-weight: 700; color: var(--text-1); }
.mk-table td:last-child { color: var(--text-2); line-height: 1.8; }
.mk-table .swatch { display: inline-flex; align-items: center; gap: 9px; }
.mk-table .swatch i { width: 16px; height: 16px; border-radius: 5px; flex: none; }
.mk-table tr:last-child td { border-bottom: none; }

/* ═══════════════ 真实截图（2x 素材，原生宽度为上限，永不裁切） ═══════════════ */
.shot { margin: 0; }
.shot img {
    width: 100%; height: auto; border-radius: 15px;
    border: 1px solid var(--border); background: var(--bg-soft);
    box-shadow: var(--shadow-float);
}
.shot figcaption { margin-top: 12px; font-size: 13px; line-height: 1.7; color: var(--text-3); }
.shot--top { margin-bottom: clamp(26px, 3vw, 38px); }
.shot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.shot-grid .shot img { box-shadow: var(--shadow-soft); }

/* ═══════════════ 列表 / 提示行 ═══════════════ */
.bullets { display: flex; flex-direction: column; gap: 11px; margin-top: 22px; }
.bullets li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.85; color: var(--text-2); }
.bullets li b { color: var(--text-1); font-weight: 700; }
.bullets li .tick {
    flex: none; width: 18px; height: 18px; border-radius: 6px; margin-top: 4px;
    background: var(--tint-green); position: relative;
}
.bullets li .tick::after {
    content: ""; position: absolute; left: 5px; top: 4.5px;
    width: 5px; height: 8px; border: solid var(--c-green);
    border-width: 0 2px 2px 0; transform: rotate(42deg);
}
.note-line {
    margin-top: 16px; padding: 12px 14px; border-radius: 12px;
    background: var(--bg-soft); border: 1px solid var(--border);
    font-size: 13px; line-height: 1.8; color: var(--text-3);
}
.note-line b { color: var(--text-2); }

/* ═══════════════ FAQ（原生 details：不依赖 JS，爬虫直接可读） ═══════════════ */
.faq-list { max-width: 900px; margin: 26px auto 0; }
.faq-item {
    border: 1px solid var(--border); border-radius: 14px;
    background: var(--bg); margin-bottom: 10px; overflow: hidden;
}
.faq-item summary {
    list-style: none; cursor: pointer; padding: 16px 18px;
    font-size: 15.5px; font-weight: 650; color: var(--text-1);
    display: flex; align-items: flex-start; gap: 12px; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .arrow {
    flex: none; width: 16px; height: 16px; margin-top: 5px; color: var(--text-3);
    transition: transform 0.2s ease;
}
.faq-item[open] summary .arrow { transform: rotate(180deg); }
.faq-item .faq-a {
    padding: 0 18px 17px; font-size: 14px; line-height: 1.9; color: var(--text-2);
}
.faq-item .faq-a b { color: var(--text-1); }
.faq-item .faq-a a { color: var(--primary); }
.faq-item[open] { background: var(--bg); box-shadow: var(--shadow-soft); }

/* ═══════════════ 下载中心 ═══════════════ */
.dl-wrap { max-width: 940px; margin: 0 auto; }
.dl-sec { margin-top: clamp(38px, 4.4vw, 56px); }
.dl-sec-head { margin-bottom: 14px; }
.dl-sec-head h2 {
    font-size: 21px; font-weight: 750; color: var(--text-1);
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.dl-sec-head p { margin-top: 7px; font-size: 13.5px; line-height: 1.8; color: var(--text-3); }
.dl-list {
    border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
    background: var(--bg); box-shadow: var(--shadow-soft);
}
.dl-row {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 18px; border-bottom: 1px solid var(--border);
}
.dl-row:last-child { border-bottom: none; }
.dl-row-main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.dl-row-icon {
    flex: none; width: 42px; height: 42px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-card); color: var(--text-2);
}
.dl-row-icon svg { width: 21px; height: 21px; }
/* 应用市场标识：中性字标（⛔ 不临摹各市场官方 logo —— 未经授权、也容易与原版走样） */
.dl-row-icon.mark { font-size: 17px; font-weight: 800; color: var(--text-1); }
.dl-row-icon.mark.tone-b { background: var(--tint-blue); color: var(--primary); }
.dl-row-icon.mark.tone-g { background: var(--tint-green); color: var(--mk-g); }
.dl-row-icon.mark.tone-r { background: var(--tint-red); color: var(--mk-r); }
.dl-row-icon.mark.tone-y { background: var(--tint-yellow); color: var(--mk-y); }
.dl-row-info { min-width: 0; }
.dl-row-title { font-size: 15px; font-weight: 680; color: var(--text-1); }
.dl-row-title .tag {
    display: inline-flex; align-items: center; gap: 5px; margin-left: 8px;
    font-size: 11.5px; font-weight: 650; padding: 2px 8px; border-radius: 999px;
    vertical-align: 1px; background: var(--tint-green); color: #0f8f5a;
}
.dl-row-title .tag.is-warn { background: var(--tint-yellow); color: var(--mk-y); }
.dl-row-title .tag.is-plain { background: var(--bg-card); color: var(--text-3); }
.dl-row-desc { margin-top: 4px; font-size: 13px; line-height: 1.7; color: var(--text-3); }
.dl-row-right { flex: none; display: flex; align-items: center; gap: 10px; }
.dl-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    background: var(--primary); color: var(--on-primary);
    padding: 9px 18px; border-radius: 10px;
    font-size: 14px; font-weight: 620; white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
}
.dl-btn:hover { background: var(--primary-strong); transform: translateY(-1px); }
.dl-btn-quiet {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    background: transparent; color: var(--text-2);
    padding: 9px 14px; border-radius: 10px; border: 1px solid var(--border);
    font-size: 13.5px; font-weight: 550; white-space: nowrap;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.dl-btn-quiet:hover { border-color: var(--text-3); color: var(--text-1); background: var(--bg-soft); }
.dl-btn svg, .dl-btn-quiet svg { width: 15px; height: 15px; }
/* 二维码（桌面端扫码去应用市场）：只对**已核实详情页**的市场渲染 */
.dl-qr { display: flex; align-items: center; gap: 12px; }
.dl-qr img { width: 96px; height: 96px; border-radius: 10px; border: 1px solid var(--border); background: #fff; padding: 5px; }
.dl-qr .dl-qr-tip { font-size: 12px; line-height: 1.6; color: var(--text-3); max-width: 12em; }
.dl-qr .dl-qr-tip b { display: block; color: var(--text-2); font-size: 12.5px; margin-bottom: 3px; }
.dl-qr-inline { display: none; }
.dl-note { margin-top: 14px; font-size: 12.5px; line-height: 1.85; color: var(--text-3); }
.dl-note b { color: var(--text-2); }
.dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dl-card {
    background: var(--bg); border: 1px solid var(--border); border-radius: 14px;
    padding: 18px 18px 16px; box-shadow: var(--shadow-soft);
    display: flex; flex-direction: column;
}
.dl-card h3 { font-size: 15.5px; font-weight: 700; color: var(--text-1); margin-bottom: 6px; }
.dl-card p { font-size: 13px; line-height: 1.8; color: var(--text-3); flex: 1; }
.dl-card .dl-card-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dl-status-line {
    display: flex; align-items: center; gap: 9px; margin-top: 10px;
    font-size: 12.5px; color: var(--text-3);
}
.dl-status-line .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-green); flex: none; }
.dl-status-line.is-warn .dot { background: var(--mk-y); }
.dl-status-line.is-plain .dot { background: var(--text-3); opacity: 0.5; }
/* 手机 App 一节的**主路径**卡片：先「去应用市场搜索」，已核实的市场才另给直达入口 */
.dl-search-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg-soft);
}
.dl-search-steps { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dl-search-steps span { font-size: 14px; color: var(--text-2); display: inline-flex; align-items: center; gap: 7px; }
.dl-search-steps b {
    display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; border-radius: 7px; flex: none;
    background: var(--primary); color: var(--on-primary); font-size: 12px; font-weight: 800;
}
.dl-search-steps em {
    font-style: normal; font-weight: 700; color: var(--text-1);
    background: var(--bg); border: 1px solid var(--border); padding: 1px 7px; border-radius: 6px;
}

/* 未核实市场的「复制应用名」引导 */
.dl-search-hint {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    margin-top: 8px; font-size: 13px; color: var(--text-3);
}
.dl-search-hint b {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px; font-weight: 650; color: var(--text-1);
    background: var(--bg-soft); border: 1px solid var(--border);
    padding: 2px 8px; border-radius: 7px;
}

/* ═══════════════ 收尾 CTA 的次级入口行（首页 / 专题页共用） ═══════════════ */
.cta-acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.cta-acts .cta-btn { margin-top: 0; }
.cta-btn-quiet {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 26px; border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.28); color: #fff;
    font-size: 15px; font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.cta-btn-quiet:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); }

/* ═══════════════ 相关专题（页尾轻量互导：只放另外两个场景，不抢本页主转化） ═══════════════ */
/* 取色一律走令牌（site-shell.css 的 :root / dark 块已经给了明暗两套）⇒ 这里不写 dark 覆盖 */
.related-h {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--text-3);
}
.related-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 760px;
    margin: 18px auto 0;
}
.related-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg-soft);
    text-decoration: none;
    /* ⛔ 不做位移动效：这一块是页尾的次要入口，动起来反而抢注意力；悬停只改边框色 */
    transition: border-color 0.15s ease;
}
.related-card:hover { border-color: var(--primary); }
.related-card .related-k { font-size: 14px; font-weight: 700; color: var(--text-1); }
.related-card .related-d { font-size: 12.5px; line-height: 1.7; color: var(--text-3); }
.related-card .related-go { margin-top: 4px; font-size: 12.5px; font-weight: 650; color: var(--primary); }

/* ═══════════════ 暗色主题 ═══════════════ */
html[data-theme="dark"] .dl-row-title .tag { background: rgba(1, 189, 51, 0.14); color: #4ecf85; }
html[data-theme="dark"] .dl-row-title .tag.is-warn { background: rgba(217, 164, 0, 0.16); color: #e0b64a; }
html[data-theme="dark"] .dl-row-title .tag.is-plain { background: var(--bg-card); color: var(--text-3); }
html[data-theme="dark"] .dl-qr img { background: #fff; }
html[data-theme="dark"] .shot img { background: var(--bg-soft); }
html[data-theme="dark"] .nav-drop-panel { background: var(--bg-card); border-color: var(--border); }
html[data-theme="dark"] .nav-drop-panel a:hover { background: var(--bg-soft); }
html[data-theme="dark"] .dl-row-icon.mark.tone-b { color: #7db2ff; }
html[data-theme="dark"] .dl-row-icon.mark.tone-g { color: #4ecf85; }
html[data-theme="dark"] .dl-row-icon.mark.tone-r { color: #ff8080; }
html[data-theme="dark"] .dl-row-icon.mark.tone-y { color: #e0b64a; }

/* ═══════════════ 响应式（断点与 site-shell.css 一致：992 / 768 / 480） ═══════════════ */
@media (max-width: 992px) {
    .page-hero { padding-top: calc(64px + 5vh); }
    .dl-grid { grid-template-columns: 1fr; }
    .chain-steps .step { flex: 1 1 calc(50% - 5px); }
    .shot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-drop-btn { display: none; }          /* 移动端：场景入口由 .mobile-nav 平铺承载 */
    .page-hero h1 { font-size: clamp(25px, 6.6vw, 32px); }
    .page-lead { font-size: 15.5px; }
    .dl-row { align-items: flex-start; flex-direction: column; gap: 12px; padding: 15px 16px; }
    .dl-row-right { width: 100%; }
    .dl-row-right .dl-btn, .dl-row-right .dl-btn-quiet { flex: 1 1 auto; }
    .dl-qr { display: none; }                 /* 手机上扫码无意义（本身就拿着手机） */
    .mk-table td:first-child { width: 96px; }
    .mk-table th, .mk-table td { padding: 11px 12px; font-size: 13.5px; }
    .related-row { grid-template-columns: 1fr; gap: 10px; }

    /* 示例笔记窗口：手机上压低高度（编辑器内部自己滚动），并把外圆角收一档 */
    .demo-frame { border-radius: 14px; }
    .demo-frame iframe { height: 470px; }
    .faq-item summary { font-size: 15px; padding: 14px 15px; }
    .faq-item .faq-a { padding: 0 15px 15px; }
}
@media (max-width: 480px) {
    .chain-steps .step { flex: 1 1 100%; }
    .cta-row .btn-primary, .cta-row .btn-ghost { width: 100%; }
    .demo-frame iframe { height: 430px; }
    .dl-row-title { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) {
    .nav-drop-panel { transition: none; }
}
