/* ===========================
   首页专属样式 - 语义化重构版
   原始文件: /tem/moban/default/assets/css/index.css
   依赖: site-shell.css (全局外壳样式)
   更新: 类名语义化、BEM 规范、移除旧命名
   =========================== */

body {
    background-color: #f6f8fa;
    /* 2026-10-27 自适应：1250 → 992（折叠屏展开/小平板区间），更窄视口由跳转规则送移动版 */
    min-width: 620px;
}

/* ---------- 轮播容器 ----------
   首页布局采用「banner 大图 + 白色内容卡片上叠」范式：
   - .header（顶部条 46px + 主导航 75px = 121px）在首页 position:fixed 毛玻璃悬浮于 banner 顶部；
   - .swiper 无需负偏移（header 已脱离文档流），banner 直接顶到视口顶部；
   - .service-hub 再以上叠覆盖 banner 下半部（桌面档 -90px = 面板高 1/4；
     其余档见「首页服务区 · 响应式」段）。
   --------------------------------------------------------------- */
.indexqh {
    position: relative; /* 箭头 .banner-nav 的定位上下文（兜底） */
}

.swiper {
    position: relative; /* 箭头 .banner-nav 的定位上下文 */
    width: 100%;
    height: auto;
    aspect-ratio: 2600 / 880;  /* 素材 2600×880（比例 2.955）：整幅可见零裁切，1920 宽时恰为原设计高 650px */
    max-height: 650px;         /* ≥1920 封顶，超宽屏由 cover 纵向轻微裁切兜底 */
    top: 0;             /* .header 在首页为 fixed 脱离文档流，banner 直接顶到视口顶部 */
}

    /* 盒比例锁定=素材比例：img/video 满幅恰好、零变形零裁切（2026-10-30 v2：
       首版 fill 曾水平压扁至 53%，cover 版又裁掉两侧——宽高比随宽缩放才是正解） */
    /* <picture> 是 inline 元素，不加 block + 100% 会让内部 img 参考错尺寸 */
    .swiper .swiper-wrapper .swiper-slide picture {
        display: block;
        width: 100%;
        height: 100%;
    }
    .swiper .swiper-wrapper .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;   /* 比例一致时等效 contain 满幅；日后换不同比例素材时保比例裁切兜底 */
    }
    .swiper .swiper-wrapper .swiper-slide video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* ---------- 轮播左右箭头（大箭头 + hover 渐显，参考 pc/ Nuxt 首页 banner 交互） ----------
   .banner-nav      透明热区（200px 宽、100% 高），鼠标进入才显示箭头
   .banner-nav__arrow   ‹ / › 大箭头，默认淡显，hover 渐显放大

   修正要点（形态不变，只修视觉品质）：
   1) 默认 opacity 由 0 改为 .38 —— 原先完全透明，用户根本看不出这里有翻页入口，
      只有鼠标误入热区才会"突然冒出来"，等于交互藏在暗处；
   2) 两侧加渐变遮罩（hover 时淡入）—— 大字符 ‹ › 是纯白描边，压在浅色 banner
      图上几乎不可见，遮罩保证任何底图下都有足够对比度；
   3) 字符基线修正 —— ‹ › 的字体基线偏下，用 flex 居中后视觉仍偏低，
      补 translateY(-.06em) 让它真正居中；
   4) 热区保留 200px 全高，但箭头本身 pointer-events:none 不变，
      点击/悬停判定仍落在热区上（swiper navigation 绑定的是热区元素）。
   --------------------------------------------------------------- */
.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    user-select: none;
    width: 200px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    /* 两侧渐变遮罩：默认透明，hover 时淡入，保证白箭头在浅色底图上仍可读 */
    transition: background-color .3s ease;
}

.banner-nav--prev { left: 0; }
.banner-nav--next { right: 0; }

.banner-nav--prev::before,
.banner-nav--next::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

.banner-nav--prev::before {
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0));
}

.banner-nav--next::before {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0));
}

.banner-nav:hover::before {
    opacity: 1;
}

.banner-nav__arrow {
    position: relative; /* 压在 ::before 遮罩之上 */
    z-index: 1;
    display: inline-block;
    font-size: 72px;
    font-weight: 200;
    line-height: 1;
    color: rgba(255, 255, 255, .9);
    text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
    opacity: .38;                      /* 修正 1：默认淡显，让翻页入口可见 */
    transform: scale(.8) translateY(-.06em); /* 修正 3：基线补偿 */
    transition: opacity .3s cubic-bezier(.25, .46, .45, .94),
                transform .3s cubic-bezier(.25, .46, .45, .94),
                color .3s ease,
                text-shadow .3s ease;
    pointer-events: none;
}

.banner-nav--prev .banner-nav__arrow { margin-left: 30px; }
.banner-nav--next .banner-nav__arrow { margin-right: 30px; }

.banner-nav--visible .banner-nav__arrow {
    opacity: 1;
    transform: scale(1) translateY(-.06em);
}

.banner-nav:hover .banner-nav__arrow {
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .4);
    transform: scale(1.08) translateY(-.06em);
}

@media (max-width: 1200px) {
    .banner-nav { width: 150px; }
    .banner-nav__arrow { font-size: 56px; }
    .banner-nav--prev .banner-nav__arrow { margin-left: 20px; }
    .banner-nav--next .banner-nav__arrow { margin-right: 20px; }
}

/* ========== 公告 + 优势图标 同行左右分布 ========== */
/* ========== 产品卡片 · 画廊风 Pro（2026-10-16 重设计） ========== */
.product-card {
    margin: 0;
    padding: 12px;
    border: 1px solid #e8eaed;
    border-radius: 14px;
    background-color: #fff;
    list-style: none;
    text-align: left;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.product-card:hover {
    border-color: #423dff;
    box-shadow: 0 10px 28px rgba(66, 61, 255, .12);
    transform: translateY(-4px);
}

/* 画框：浅灰橱窗底（内阴影）+ 商标图白片托底
   ⚠️ 禁止给 .product-card li 设 display（会盖掉本卡 flex 布局：图不居中/日期不靠右） */
.product-card__thumb {
    height: 100px;
    margin-bottom: 11px;
    background: #f8f9fb;
    border-radius: 10px;
    box-shadow: inset 0 1px 4px rgba(15, 23, 42, .04);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 白片：横向矩形（商标图实际比例多为 1.3~1.4 的横图），宽度随图自适应 */
.product-card__thumb a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 64px;
    padding: 0 12px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 9px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .06);
    overflow: hidden;
    transition: transform .25s ease;
}

.product-card:hover .product-card__thumb a {
    transform: scale(1.05);
}

.product-card__thumb img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
}

/* 标签行：类型 chip + 类别 */
.product-card__tags {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 7px;
}

.product-card__tags .tag-type {
    font-size: 10px;
    font-weight: 500;
    line-height: 18px;
    padding: 0 9px;
    border-radius: 6px;
    background: #eef0ff;
    color: #423dff;
}

.product-card__tags .tag-class {
    font-size: 11px;
    color: #8a9099;
}

/* 标题：1 行截断 */
.product-card__title {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 500;
    color: #1f2329;
    line-height: 1.4;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-card__title a {
    color: inherit;
    transition: color .2s;
}

.product-card:hover .product-card__title a {
    color: #423dff;
}

/* 适用项目（前 3 个） */
.product-card__usage {
    margin-bottom: 9px;
    font-size: 11px;
    color: #8a9099;
    line-height: 1.5;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-card__usage .s-label {
    color: #b0b4bc;
}

/* 底行：价格（左）+ 注册日期（右） */
.product-card__foot {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
}

.product-card__price {
    font-size: 17px;
    font-weight: 700;
    color: #e64545;
    letter-spacing: -.3px;
}

.product-card__date {
    font-size: 10px;
    color: #8a9099;
    white-space: nowrap;
}

.product-card__date em {
    font-style: normal;
    color: #c5c9d1;
}

/* ---------- 底部链接 ---------- */
.indexlink {
    float: left;
    width: 100%;
    text-align: left;
    color: #cacaca;
    margin: 50px 0 0 0;
    line-height: 20px;
    border-top: #303030 solid 1px;
    border-bottom: #303030 solid 1px;
    padding: 20px 0 23px 0;
}

    .indexlink a {
        color: #6d6d6d;
    }

        .indexlink a:hover {
            color: #cacaca;
        }

/* ========== 首页服务区 .service-hub ==========
   结构：hub-row--split（左右两组各 50%，中线留白由固定列宽公式推）
       + hub-row--full（通栏 5 列；当前 $hubFull 为空，模板不渲染）
   列宽 = 该档字号下的最长描述宽（12px → 134，10.5px → 117.25 取 118）。
   列宽固定后余量全部进列距，中线留白同源推导：
       组内容 = 组宽 − G；列距 = (组内容 − nC) / (n−1)；令跨中线 2G = 2×列距 ⇒ G = (组宽 − nC) / n
   故「跨中线 ≡ 列距 × 2」全档成立；`100%` 在 grid item 的 padding 上解析为组宽，可直接 calc。

   断点矩阵（唯一真相；改值只改这里与下方对应断点）
   | 视口        | 列 | 列宽 | 面板内距 | 行距 | 图标 | 名称  | 描述   | 标题下距 | 分隔线 | 压边 |
   | ≥1921       | 3  | 134  | 40       | 40   | 50   | 16/18 | 12/18  | 20       | 46     | -5%  |
   | 1340–1920   | 3  | 134  | 40       | 40   | 50   | 16/18 | 12/18  | 20       | 46     | -90  |
   | 1180–1339   | 3  | 134  | 30       | 30   | 50   | 16/18 | 12/18  | 14       | 46     | -56  |
   | 1108–1179   | 3  | 134  | 28       | 28   | 50   | 16/18 | 12/18  | 14       | 46     | 0    |
   | 1080–1107   | 3  | 134  | 28       | 28   | 46   | 16/18 | 12/18  | 14       | 46     | 0    |
   | 768–1079    | 2  | 134  | 30 / 50  | 24   | 50   | 16/18 | 12/18  | 14       | 40     | 0    |
   | 700–767     | 2  | 118  | 30 / 50  | 24   | 42   | 14/16 | 10.5/15| 14       | 40     | 0    |
   | ≤691        | 2  | 118  | 30 / 50  | 24   | 42   | 14/16 | 10.5/15| 14       | 40     | 0 + zoom .88 |

   竖屏（orientation:portrait，见文件尾）压边一律 0，不受宽度档影响。
   下列基础值 = 1340–1920 桌面档；其余档只写「与基础不同」的属性。
   ⛔ 不要再用 --sp-hub-* 变量：2026-11-15 整族删除（定义 7 条 + 9 处断点覆盖全部失效），
      现值 = 本矩阵 + 逐档直接值；改间距/字号请同步改矩阵表，避免注释与代码再次漂移。 */

.service-hub{
    width:100%;
    max-width:var(--container-max);
    margin:-90px auto auto;   /* 压边 = 桌面面板高 370 的 1/4（92.5 取整） */
    position:relative;
    z-index:3;
    text-align:left;
}
.service-hub__panel{
    container-type:inline-size;   /* 折叠屏分屏时视口宽≠容器宽，行2 降级按容器宽判定 */
    container-name:hub;
    padding:40px;
    background:#fff;
    box-shadow:0 18px 40px rgba(1,33,65,.06);
    position:relative;
    z-index:2;
}
.service-hub .hub-row{position:relative}
.service-hub .hub-row--split{display:grid;grid-template-columns:1fr 1fr}
/* 分隔线钉在行宽 50%（与左右组等宽无关）；起笔 = 标题行高 18 + 下距 20 + 间隙 8 */
.service-hub .hub-row--split::before{
    content:'';
    position:absolute;
    left:50%;
    top:46px;
    bottom:4px;
    width:1px;
    background:#e8eaf0;
    transform:translateX(-.5px);
}
.service-hub .hub-group{min-width:0}
/* 3 列中线留白：G = (组宽 − 3×134) / 3；≤1079 两列、≤767 小卡各自改 */
.service-hub .hub-group--l{padding-right:calc((100% - 402px) / 3)}
.service-hub .hub-group--r{padding-left:calc((100% - 402px) / 3)}
.service-hub .hub__title{
    font-size:16px;
    line-height:18px;
    font-weight:700;
    color:#2A2A2A;
    margin:0 0 20px;
}
.service-hub .hub__title a{color:inherit;text-decoration:none;transition:color .2s}
.service-hub .hub__title a:hover{color:#1261ca}
/* 3 列 × 固定 134：余量由 space-between 变列距，column-gap 必须归零 */
.service-hub .hub__grid{
    display:grid;
    grid-template-columns:repeat(3,134px);
    justify-content:space-between;
    column-gap:0;
    row-gap:40px;
}
/* 卡：竖卡（行1） */
.service-hub .hub-card{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    min-width:0;
    position:relative;
    text-decoration:none;
    color:inherit;
}
.service-hub .hub-card__ic{
    display:block;
    width:50px;
    height:50px;
    object-fit:contain;
    transition:transform .28s cubic-bezier(.2,.7,.3,1);
}
.service-hub .hub-card__tx{display:block;min-width:0;margin-top:14px}
.service-hub .hub-card__nm{
    display:block;
    font-size:16px;
    line-height:18px;
    font-weight:400;
    color:#2A2A2A;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    transition:color .2s;
}
.service-hub .hub-card__ds{
    display:block;
    margin-top:6px;
    font-size:12px;
    line-height:18px;
    color:#8A9099;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.service-hub .hub-card:hover .hub-card__ic{transform:translateY(-3px)}
.service-hub .hub-card:hover .hub-card__nm{color:#1261ca}
/* 卡：横卡（行2 通栏；当前 $hubFull 为空、模板不渲染，结构保留供「3 组以上」扩展用）
   ⛔ hubSplit 只能两组（模板 $i===0?'l':'r'），加第 3 组必须走 col_key=trademark 的本行。
   列距 12：原 ≥1024 继承 --sp-hub-col-gap（70/30/28）、≤1023 显式 12；
   变量族已删，5 列等分场景下统一 12（必须保留，否则卡片会横向紧贴）。 */
.service-hub .hub-row--full{margin-top:24px}
.service-hub .hub-row--full .hub__grid{grid-template-columns:repeat(5,minmax(0,1fr));column-gap:12px;row-gap:0}
.service-hub .hub-row--full .hub-card{flex-direction:row;align-items:center}
.service-hub .hub-row--full .hub-card__ic{flex:0 0 auto}
.service-hub .hub-row--full .hub-card__tx{margin-top:0;margin-left:14px}

/* ========== 专利专区 · 检索演示（2026-10-20 重写：白卡 + 自动检索演示，弃用液态玻璃） ========== */
.patent-search {
    position: relative;
    margin-top: 0;
    background: #fff;
    padding: 22px 22px 18px 56px;
}
.patent-search::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 36px;
    bottom: 36px;
    width: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='44'%3E%3Ccircle cx='8' cy='22' r='7' fill='%23F6F8FA'/%3E%3Cpath fill='%237E8DA6' fill-opacity='.45' d='M12.66,16.77 A7,7 0 1 1 2.77,26.66 A7,7 0 0 0 12.66,16.77 Z'/%3E%3Ccircle cx='8' cy='22' r='7' fill='none' stroke='%23B6C1D4' stroke-width='.2'/%3E%3C/svg%3E");
    background-size: 16px 44px;
    /* ---- 打孔条规则（2026-11-03 定稿；改本条前先读这四行）----
       ① 出现条件：≥993（面板 padding-left 56 才有独立车道 18–34；实测全宽域
          子元素矩形与孔条零相交）。≤992 必须 display:none —— 该档 padding 16、
          内容起点 x=16/26，孔条会被白卡盖住、被文字压住。
       ② 完整保证：space = 整枚摆放、首末贴边、余量均分到间隙 → 永不裁切。
          枚数 = floor((面板高 − 72)/44)、孔距 44 + 余量/(枚数−1)（实测 45.0/44.96）。
          用户已确认「不锁死孔距与枚数，只要求完整」。
       ③ 禁止改回 repeat-y：条高 = 面板高 − 72，余量 >15 时末枚圆会被横切
          （历史值 24px / 35px）。也禁止 round（会把圆拉成椭圆）。
       ④ 条高由 top/bottom 36 隐式决定，面板内容变化会自动重排，无需改本条。 */
    background-repeat: space;
    pointer-events: none;
}
.patent-search__head {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 72px;
}
.patent-search__title {
    flex: 0 0 auto;
    width: 128px;
}
.patent-search__counter {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}
/* 翻牌器两侧的中文说明（前置「在售总数」+ 尾部「件」）：
   参数逐项相同，**以「件」的原有样式为基准**（用户定稿）——
   mono 字体栈 / 14px / 行高 1 / .12em 字距 / #7B8296。
   ⚠️ mono 栈无中文字形，中文会回退到宋体；这正是「件」一直以来的观感，
      label 与之对齐才能保证两处字形完全同源（不要反过来把「件」改成黑体）。 */
.patent-search__counter-label,
.patent-search__unit {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 15px;
    line-height: 1;
    letter-spacing: .1em;
    color: #7B8296;
}
.patent-search__counter-label { white-space: nowrap; }
.patent-search__digits {
    display: flex;
    align-items: center;
    gap: 1px;
    padding: 2px;
    border-radius: 2px;
    background: #E2E7F1;
    box-shadow: inset 0 1px 2px rgba(58, 66, 86, .14);
}
.patent-search__cell {
    position: relative;
    display: block;
    width: 28px;
    height: 42px;
    overflow: hidden;
    background: #F9FBFD;
    flex: 0 0 auto;
    /* 透视（2026-11-02）：没有它，rotateX 只是正交垂直压缩，看起来像「压扁」
       而不是「卡片向前倒下」——翻牌感缺失的主因。参考实现用 240–420px。 */
    perspective: 300px;
}
.patent-search__half {
    position: absolute;
    left: 0;
    width: 100%;
    height: 21px;
    overflow: hidden;
}
.patent-search__half--t {
    top: 0;
    /* 接缝「长在卡片边缘里」（2026-11-02 重做）：末段 18% 渐暗到 #DDE3EF，
       与下片首段同色，两片交叠处自然形成柔和暗带 —— 不画任何线，
       比 1px 描边更融入牌面（浅色翻牌器的真实缝隙就是两片各自的边缘）。 */
    background: linear-gradient(180deg, #FDFEFF 0%, #F7FAFE 82%, #DDE3EF 100%);
    transform-origin: bottom center;
    z-index: 2;
}
.patent-search__half--b {
    top: 21px;
    background: linear-gradient(180deg, #DDE3EF 0%, #F1F4FA 14%, #FBFCFE 100%);
    transform-origin: top center;
    z-index: 1;
}
.patent-search__half i {
    position: absolute;
    left: 0;
    width: 100%;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Bahnschrift, "DIN Condensed", "Arial Narrow", "Segoe UI", Arial, sans-serif;
    font-size: 28px;
    line-height: 1;
    font-weight: 600;
    font-style: normal;
    color: #2B3240;
    font-variant-numeric: tabular-nums;
    /* 垂直光学居中（2026-11-02）：flex 居中的是「行盒」，而数字墨迹全部在基线上方
       （Bahnschrift inkDesc=0），字体基线下还有 6px 下伸空档 → 墨迹被顶高。
       补偿公式 offset = fontAscent − 墨迹高/2 − 字号/2 = 22 − 10 − 14 = −2（28px 档），
       下移 2px 后上下留白 11/11、墨迹中点 21 正好落在翻牌拼缝上（≤992 档为 1px）。 */
    transform: translateY(2px);
}
.patent-search__half--t i { top: 0; }
.patent-search__half--b i { top: -21px; }
/* 「新值上半」替身层（2026-11-02）：上半翻走后由它接替显示新数字的上半，
   使翻牌全程无空白、无撕裂（真实机械翻牌器的「背面」）。静止时被 --t 完全盖住，
   两者内容始终一致；z-index 低于 --t、高于 cell 背景即可。 */
.patent-search__half--ghost {
    top: 0;
    /* 必须与 --t 完全同色：静止时被 --t 盖住，翻走时接替显示新上半 */
    background: linear-gradient(180deg, #FDFEFF 0%, #F7FAFE 82%, #DDE3EF 100%);
    z-index: 1;
}
.patent-search__half--ghost i { top: 0; }
.patent-search__seam {
    /* 缝线退役（2026-11-02 重做）：改由 --t / --b 各自的末端渐变表达，
       元素保留但不显示（模板结构不动，避免为样式改 DOM） */
    display: none;
}
.patent-search__pin {
    position: absolute;
    /* 轴销：居中于缝（格高 42 → 缝中心 21，销高 3 → top 19.5）；
       压细压淡到几乎只是个暗示，不再是三块灰方 */
    top: 19.5px;
    width: 1.5px;
    height: 3px;
    border-radius: .5px;
    background: #A8B1C2;
    opacity: .42;
    z-index: 5;
}
.patent-search__pin--l { left: 1px; }
.patent-search__pin--r { right: 1px; }
/* 翻动中的投影（2026-11-02）：卡片立起来时投下阴影，是立体感的主要来源。
   ⛔ 由 WAAPI 播放时由 JS 加 .is-flying，旧的 .is-flip + keyframes 已退役。 */
.patent-search__half--t.is-flying { box-shadow: 0 8px 14px -6px rgba(18, 24, 38, .28); }
.patent-search__half--b.is-flying { box-shadow: 0 -6px 12px -6px rgba(18, 24, 38, .22); }
.patent-search__gap {
    display: block;
    width: 8px;
    height: 42px;
    background: #F9FBFD;
    flex: 0 0 auto;
}
/* .patent-search__unit 的字体规则已合并到上方 .patent-search__counter-label, .patent-search__unit
   （2026-11-03）：两者参数必须逐项相同，避免两处各写一份导致漂移 */
.patent-search__rule {
    width: 1px;
    height: 44px;
    flex: 0 0 auto;
    background: repeating-linear-gradient(180deg, #E1E5EE 0 3px, transparent 3px 7px);
}
.patent-search__facts {
    display: flex;
    gap: 88px;
    flex: 0 1 auto;
}
.patent-search__facts div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.patent-search__facts em {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    /* ⛔ mono 光学补偿：等宽字母 x-height 小于中文，同字号显小 → +0.5（2026-11-02） */
    font-size: 13px;
    line-height: 1;
    letter-spacing: .14em;
    color: #A3AAB8;
    font-style: normal;
    text-transform: uppercase;
}
.patent-search__facts strong {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    /* mono 光学补偿 +1（数字核心数据，同字号比中文显小） */
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
    color: #3A4152;
    letter-spacing: .04em;
    white-space: nowrap;
}
.patent-search__stamp {
    position: relative;
    margin-left: auto;
    width: 68px;
    height: 68px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5px;
    padding-bottom: 2px;
    border: 2px solid rgba(174, 34, 27, .96);
    border-radius: 50%;
    box-shadow: inset 0 0 2.6px rgba(174, 34, 27, .3), 0 0 0 .4px rgba(174, 34, 27, .3);
    transform: rotate(-7deg);
    color: rgba(170, 32, 25, .97);
    mix-blend-mode: multiply;
    flex: 0 0 auto;
}
.patent-search__stamp::before {
    content: "";
    position: absolute;
    inset: 3.8px;
    border: 1px dashed rgba(174, 34, 27, .62);
    border-radius: 50%;
    pointer-events: none;
}
.patent-search__stamp b {
    position: relative;
    font-size: 9px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .1em;
    text-indent: .1em;
    opacity: .9;
}
.patent-search__stamp strong {
    position: relative;
    font-family: "Songti SC", SimSun, "Noto Serif SC", serif;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .08em;
    text-indent: .08em;
}
.patent-search__stamp i {
    position: relative;
    font-style: normal;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 6px;
    line-height: 1;
    letter-spacing: .18em;
    text-indent: .18em;
    opacity: .84;
}
.patent-search__stamp u {
    position: relative;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 5px;
    line-height: 1;
    letter-spacing: .04em;
    text-indent: .04em;
    text-decoration: none;
    opacity: .64;
}
.patent-search__eyebrow {
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    letter-spacing: 2px;
    color: #9aa1ad;
}
.patent-search__h1 {
    display: block;
    margin-top: 6px;
    font-size: 24px;
    font-weight: 700;
    color: #14161a;
    letter-spacing: .01em;
}
/* 检索栏：整行（数据条已移到标题右侧） */
.patent-search__bar { display: flex; align-items: center; gap: 8px; margin-top: 22px; }
.patent-search__field {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 12px;
    background: #f6f8fa;
    border: 1px solid #e6e8ee;
    border-radius: 10px;
    cursor: text;
    transition: border-color .18s, box-shadow .18s, background .18s;
}
.patent-search__field:focus-within {
    background: #fff;
    border-color: #423dff;
    box-shadow: 0 0 0 3px rgba(66, 61, 255, .09);
}
.patent-search__icon { display: flex; color: #9aa1ad; }
/* 放大镜加大（2026-11-02 用户指定）：SVG 固有 14 → 18，随输入 15px 视觉配比 */
.patent-search__icon svg { width: 18px; height: 18px; }
.patent-search__input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    color: #14161a;
    caret-color: #423dff;
}

/* 演示光标：跟随输入文字末尾；打字时常亮，打完像等待输入一样闪烁
   ⛔ 高度必须随输入字号走：15px 字 ×1.27 ≈ 19（原 17 为 13–14 字设计，
      输入提到 15 后显矮）；margin-top 恒为「高度的一半」保持垂直居中 */
.patent-search__caret {
    position: absolute;
    top: 50%;
    width: 2px;
    height: 19px;
    margin-top: -9.5px;
    background: #423dff;
    pointer-events: none;
    opacity: 0;
    transition: opacity .12s;
}
.patent-search.is-caret .patent-search__caret { opacity: 1; }
@keyframes ps-caret-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
.patent-search.is-caret.is-caret--blink .patent-search__caret {
    animation: ps-caret-blink 1.06s step-end infinite;
}
/* 镜像：与 input 同字体的隐藏副本，用来量文字宽度定位光标 */
.patent-search__mirror {
    position: absolute;
    left: -9999px;
    top: 0;
    white-space: pre;
    font-family: inherit;
    font-size: 15px;
    visibility: hidden;
    pointer-events: none;
}
.patent-search__input::placeholder { color: #a8adb7; }
.patent-search__btn {
    /* 44 = 输入框外高：field 是 content-box（height 42 + 上下 1px 边框 = 44），
       按钮是 border-box，写 42 就比 field 矮 2px，align-items:center 后上下各留
       1px 缝（2026-11-03 实测）。写 44 才与右端输入框齐平，文字仍垂直居中。 */
    height: 44px;
    min-width: 96px;          /* 固定宽度：覆盖「检索中…」最宽文案，切换文字不撑按钮 */
    box-sizing: border-box;
    padding: 0 24px;
    border: 0;
    border-radius: 10px;
    background: #423dff;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .12s, background .18s;
}
.patent-search__btn:hover { background: #3a35e6; }
.patent-search__btn:active,
.patent-search__btn.is-pressing { transform: scale(.96); }
.patent-search__btn.is-loading { background: #6f6bff; cursor: default; }

/* 价格区间数量卡片：数字为主，细条表示相对多少 */
/* 引导行 + chips（2026-11-02 用户定稿）：文案 14px、chips 紧跟冒号后（左起连读）；
   窄屏 wrap 折行后 chips 整组沉到第二行左起，不会被拆散。
   gap 12 = 冒号到首个 chip 的间距。 */
.patent-search__chipsbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}
.patent-search__hint {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 14px;
    color: #8a9099;
    line-height: 1.5;
}
.patent-search__hint-arrs { display: inline-flex; align-items: center; margin: 0 1px; }
.patent-search__hint-arrs svg { display: block; width: 14px; height: 14px; }
.patent-search__hint-arrs svg + svg { margin-left: -1px; }
.patent-search__chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0;   /* 上间距统一由 chipsbar 承担 */
}
.patent-search__chip {
    font-size: 14px;
    color: #6b7280;
    padding: 6px 14px;
    border: 1px solid #e6e8ee;
    border-radius: 999px;
    text-decoration: none;
    transition: color .15s, border-color .15s, background .15s;
}
.patent-search__chip:hover { color: #423dff; border-color: #c9c7ff; background: #f5f4ff; }
.patent-search__chip.is-on { color: #423dff; border-color: #c9c7ff; background: #f5f4ff; }
.patent-search__count { margin-left: auto; font-size: 12.5px; color: #9aa1ad; }
.patent-search__count b {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    /* mono 光学补偿 +1（「共 N 件」的数字） */
    font-size: 13.5px;
    font-weight: 600;
    color: #423dff;
}

/* 结果卡 */
/* 工作区：结果表头 + 三卡 + 著录页脚 */
.patent-search__desk {
    margin-top: 12px;
    padding: 10px;
    background: #f7f8fb;
    border-radius: 7px;
}
.patent-search__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2px 8px;
    font-size: 14px;
    color: #8a9099;
}
.patent-search__meta b {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    /* 数字随 meta 14 上调（mono 比中文 +1 才视觉等大） */
    font-size: 15px;
    font-weight: 600;
    color: #423dff;
}

/* 结果卡 */
.patent-search__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.ps-card {
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 16px;
    background: #fff;
    border: 1px solid #e9ebf2;
    border-radius: 6px;
    cursor: pointer;
    outline: none;
    transition: border-color .18s, background .18s, box-shadow .18s, translate .18s, opacity .32s;
}
.ps-card:hover { border-color: #c9c7ff; }
.ps-card:focus-visible { box-shadow: 0 0 0 3px rgba(66, 61, 255, .12); }
/* 选中：浅蓝描边（用 box-shadow 补一圈，不加 border 宽→不占布局）+ 淡底 + 轻浮起 */
.ps-card.is-on {
    background: #fafaff;
    border-color: #7f77dd;
    box-shadow: 0 0 0 1px #7f77dd, 0 6px 16px rgba(66, 61, 255, .14);
    translate: 0 -3px;
}
.ps-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.ps-card__no {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    /* mono 光学补偿 +0.5（No.编号与右侧中文状态同排）；2026-11-02 用户定稿 14 */
    font-size: 14px;
    color: #a0a6b0;
    letter-spacing: .2px;
}
/* 2026-11-03 用户指定：编号数字的字重与 .patent-search__detail-no b 一致（600）。
   ⛔ <b> 默认 700，必须显式写 600，否则比参照物更粗。 */
.ps-card__no b { font-weight: 600; }
.ps-card.is-on .ps-card__no { color: #423dff; }
.ps-card__status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #0F6E56;
    white-space: nowrap;
}
.ps-card__status i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #0F6E56;
}
.ps-card__title {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.45;
    color: #1f2329;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ps-card__meta {
    /* 删掉 title 的 min-height 后，行内三卡标题行数可能不同：余量统一由 meta 的
       auto 上边距吸收，让「专利号行」与「价格行」在整行内都对齐；
       padding-top 10 保证最近时也有 10px 间距（等价原 margin-top:10） */
    margin-top: auto;
    padding-top: 10px;
    font-size: 13px;
    color: #a0a6b0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ps-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
}
.ps-card__price { font-size: 16px; font-weight: 600; color: #423dff; letter-spacing: -.2px; }
.ps-card__view {
    flex: 0 0 auto;
    padding: 3px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #423dff;
    background: #fff;
    border: 1px solid #423dff;
    border-radius: 4px;
    text-decoration: none;
    transition: background .15s;
}
.ps-card__view:hover { background: #f3f2ff; }

/* 检索中骨架：原位绘制在卡片内部（不替换 DOM → 高度不变，模块不会塌） */
.ps-card.is-skeleton { pointer-events: none; cursor: default; }
.ps-card.is-skeleton > * { visibility: hidden; }
.patent-search.is-demo .ps-card.is-skeleton { opacity: 1; }
.ps-card.is-skeleton::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    top: 9px;
    height: 72px;
    background:
        linear-gradient(#f1f3f7, #f1f3f7) 0 0 / 46px 11px no-repeat,
        linear-gradient(#f1f3f7, #f1f3f7) 0 20px / 100% 11px no-repeat,
        linear-gradient(#f1f3f7, #f1f3f7) 0 40px / 72% 11px no-repeat,
        linear-gradient(#f1f3f7, #f1f3f7) 0 58px / 54px 13px no-repeat;
}

/* 演示：卡片入场与选中态各走一条通道（动画用 transform，选中上浮用 translate） */
.patent-search.is-demo .ps-card { opacity: 0; }
@keyframes ps-card-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}
.patent-search.is-demo .ps-card.is-in { animation: ps-card-in .22s ease-out both; }
.patent-search.is-demo .patent-search__detail { opacity: 0; transform: translateY(5px); }
.patent-search.is-demo .patent-search__detail.is-in { opacity: 1; transform: none; }

/* 著录页脚：按选中的卡片方位滑入（左卡→左入、中卡→下入、右卡→右入） */
@keyframes ps-detail-left  { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes ps-detail-below { from { opacity: 0; transform: translateY(6px); }  to { opacity: 1; transform: none; } }
@keyframes ps-detail-right { from { opacity: 0; transform: translateX(18px); }  to { opacity: 1; transform: none; } }
@keyframes ps-field-in     { from { opacity: 0; transform: translateY(4px); }  to { opacity: 1; transform: none; } }
.patent-search__detail.is-anim { animation: ps-detail-below .18s cubic-bezier(.22,.61,.36,1) both; }
.patent-search__detail.is-anim--left  { animation: ps-detail-left  .18s cubic-bezier(.22,.61,.36,1) both; }
.patent-search__detail.is-anim--right { animation: ps-detail-right .18s cubic-bezier(.22,.61,.36,1) both; }
.patent-search__detail-grid > div { animation: ps-field-in .18s ease-out both; }

/* 著录页脚 */
.patent-search__detail {
    margin-top: 8px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e9ebf2;
    border-radius: 6px;
    transition: opacity .3s, transform .3s;
}
.patent-search__detail-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}
.patent-search__detail-no {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    /* mono 光学补偿 +0.5；2026-11-02 用户定稿 14 */
    font-size: 14px;
    color: #6b7280;
    letter-spacing: .3px;
}
.patent-search__detail-no b { color: #423dff; font-weight: 600; }
.patent-search__detail-src { font-size: 14px; color: #a0a6b0; }
.patent-search__detail-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}
.patent-search__detail-grid span { display: block; font-size: 14px; color: #a0a6b0; }
.patent-search__detail-grid b {
    display: block;
    margin-top: 4px;
    font-size: 15px;
    font-weight: 500;
    color: #1f2329;
}
/* 数字列（申请号[#patentDetailAppNo]/申请年/年费截止）：mono 光学补偿 +1——
   同排中文列 b 为 15，等宽数字 x-height 小、同字号显小，16 才与中文视觉等大。
   ⛔ 基础 b 字号每变一次，这里必须同步 +1（2026-11-02 用户反馈「数字看着小」） */
.patent-search__detail-grid > div:nth-child(1) b,
.patent-search__detail-grid > div:nth-child(4) b,
.patent-search__detail-grid > div:nth-child(5) b {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 16px;
}
.patent-search__detail-foot { display: flex; justify-content: flex-end; margin-top: 8px; }
/* 著录页脚入口（2026-11-03）：与「查看全部专利」统一 15px（图标同 15）；
   加文档图标表意。
   下划线用 text-decoration 而非 border-bottom —— 本元素是 inline-flex，
   border 会连图标下方一起画出一条线；text-decoration 只作用于文字。
   颜色沿用原浅紫 #c9c7ff，与紫字配套。 */
.patent-search__detail-foot a {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 15px;
    line-height: 1.3;
    color: #534AB7;
    text-decoration: underline;
    text-decoration-color: #c9c7ff;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;   /* 离字底 5px（原来 3px 贴着字，显挤） */
    transition: color .18s;
}
.patent-search__detail-foot-ico {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
}
.patent-search__detail-foot a:hover {
    color: #423dff;
    text-decoration-color: #b3aeff;
}

/* 服务承诺 */
.patent-search__tips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
    font-size: 13px;
    color: #9aa1ad;
}
.patent-search__tip { display: inline-flex; align-items: center; gap: 4px; }
.patent-search__tip i {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #E1F5EE;
    color: #0F6E56;
    font-style: normal;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* 「查看全部专利」入口（2026-11-03）：12px 灰字 → 14px + 斜箭头图标，
   数字不再重复（上方翻牌器已展示在售件数）。
   颜色按用户要求回到原来的灰 #6b7280，hover 才变紫；图标用 currentColor 跟随。 */
.patent-search__all {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    transition: color .18s;
}
.patent-search__all-ico {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    transition: transform .18s;
}
.patent-search__all:hover { color: #423dff; }
/* hover 时图标向右上位移 2px —— 与 tm-new 的 allbtn 同一套「跳出去」手势 */
.patent-search__all:hover .patent-search__all-ico { transform: translate(2px, -2px); }

/* 检索台事实行三项（PRICE/MEDIAN/LEGAL）的容纳下界按「容器实际宽」算：
   三项需求 = 标题 128 + 计数 264.5 + 事实 493.8 + 印章 80.5 + 3×gap16 ≈ 1015px
   （2026-11-03 字号放大后重算；此前 14px 时代为 1027）。
   ⛔ 1180 档是「越宽越坏」的口袋：≥1180 容器变 94vw（1180×.94=1109），
      head 反而从 1120 档的 1042 掉到 1031 —— 收 gap 20→16 后刚好容纳（余 12px）。
   故 ≥1121 显三项；≤1120 隐藏 MEDIAN（补充信息），保留 PRICE + LEGAL */
@media (max-width: 1120px) {
    .patent-search__facts > div:nth-child(2) { display: none; }
}

@media (max-width: 992px) {
    .patent-search { padding: 16px; }
    /* 打孔装饰条 ≤992 隐藏（2026-11-03 适配检查结论）：该档 panel padding 收到 16，
       内容起点 x=16/26 而孔条占 x 18-34——白卡盖孔、文字叠孔，无自有车道；
       ≥993 有 56px 车道才显示（完整圆由 space 保证） */
    .patent-search::before { display: none; }
    /* head 左右内距归零（2026-11-03）：原 0 14 是打孔条时代给标题让车道的补偿，
       ≤992 孔条已隐藏 → 只剩错位：标题左缘 30 vs 检索栏 16、计数右缘 30 vs
       按钮右缘 16。改 0 后 head 与 bar/chips/desk/tips 全部对齐 16 */
    .patent-search__head { min-height: 72px; padding: 0; gap: 12px; }
    .patent-search__title { width: auto; }
    .patent-search__rule,
    .patent-search__facts,
    .patent-search__stamp { display: none; }
    .patent-search__counter { margin-left: auto; }
    .patent-search__cell { width: 22px; height: 32px; }
    .patent-search__half { height: 16px; }
    .patent-search__half i { height: 32px; font-size: 20px; transform: translateY(1px); }
    .patent-search__half--b { top: 16px; }
    .patent-search__half--b i { top: -16px; }
    .patent-search__seam { top: 15.5px; }
    /* 轴销随格高缩放（2026-11-02）：cell 32 高、缝中心 16 → top 14.5；
       原基础 20 会让销子落到下半区（偏下 5.5px） */
    .patent-search__pin { top: 14.5px; }
    .patent-search__gap { width: 7px; height: 32px; }
    .patent-search__grid { grid-template-columns: 1fr; }
    .patent-search__detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    /* hint 14px 后 768 档总宽恰好顶满（chips 右缘余 2px，差 1px 即折行）——
       收 gap 到 8 留 6px 余量，仍是「冒号到 chip」的合理间距 */
    .patent-search__chipsbar { gap: 8px; }
}

/* ========== 商标专区 · 液态玻璃（2026-10-16：大面板 + 服务/灯箱资产行双段横滚 · 与秒杀/专利同配方） ========== */
/* 大面板：占满容器（无 padding，内边距下沉）；光斑内收安全区；渐白底融入页面 */
/* ========== 商标专区 · 45 类热力星图 · 双轨叙事（2026-10-21 v3） ========== */
.tm-heat {
    margin-top: 0;
    background: #ffffff;
    border-radius: 0;
    padding: 22px 24px 24px;
}

/* 标题区 */
.tm-heat__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}
.tm-heat__head-l { display: block; }
.tm-heat__eyebrow {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #534ab7;
}
.tm-heat__eyebrow i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #534ab7;
}
.tm-heat__h1 {
    display: block;
    margin-top: 5px;
    font-size: 19px;
    font-weight: 500;
    color: #1f2329;
}
.tm-heat__hint {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: #8a909c;
}
.tm-heat__hall {
    flex: 0 0 auto;
    padding: 7px 16px;
    border: 1px solid #423dff;
    border-radius: 16px;
    font-size: 12px;
    color: #423dff;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.tm-heat__hall:hover { background: #423dff; color: #ffffff; }

/* 星图区 */
.tm-heat__map {
    display: flex;
    align-items: stretch;
    gap: 20px;
    margin-top: 16px;
}
.tm-heat__grid {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-auto-rows: 61px;
    gap: 9px;
    align-content: start;
}
.tm-heat__cell {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    height: 100%;
    padding: 2px;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    border-radius: 10px;
    color: #2E2A6B;
    overflow: hidden;
    cursor: pointer;
    font-family: inherit;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .16) 42%, rgba(255, 255, 255, .06) 60%, rgba(255, 255, 255, .32) 100%),
        var(--cbg, #DCE4FB);
    box-shadow:
        inset 0 1px 1px rgba(20, 22, 26, .07),
        inset 0 -2px 2.5px rgba(255, 255, 255, .75),
        inset 0 0 0 1px rgba(255, 255, 255, .55),
        0 1.5px 2.5px rgba(90, 100, 170, .14);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: transform .22s cubic-bezier(.25, 1, .5, 1), box-shadow .22s cubic-bezier(.25, 1, .5, 1);
}
/* conic 边框流光（1px 渐变描边，hover 旋转） */
.tm-heat__cell::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 1px;
    background: conic-gradient(from 205deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 26%, rgba(255, 255, 255, .85) 48%, rgba(255, 255, 255, 0) 72%, rgba(255, 255, 255, .95));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: transform .5s cubic-bezier(.25, 1, .5, 1);
}
/* 高光扫带（hover 从左扫到右） */
.tm-heat__cell::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .75) 46% 54%, transparent 68%);
    background-size: 260% 260%;
    background-position: -20% 0;
    mix-blend-mode: screen;
    pointer-events: none;
    transition: background-position .55s cubic-bezier(.25, 1, .5, 1);
}
.tm-heat__cell:hover {
    transform: translateY(-2.5px) scale(1.015);
    box-shadow:
        inset 0 1px 1px rgba(20, 22, 26, .07),
        inset 0 -2px 2.5px rgba(255, 255, 255, .85),
        inset 0 0 0 1px rgba(255, 255, 255, .7),
        0 7px 18px rgba(80, 92, 170, .24);
}
.tm-heat__cell:hover::before { background-position: 120% 0; }
.tm-heat__cell:hover::after { transform: rotate(18deg); }
.tm-heat__cell:focus-visible { outline: 2px solid #534ab7; outline-offset: 2px; }
/* 选中态：橙色虚线圈（不描边、不加圆点，间距已放大不会压到邻格） */
.tm-heat__cell.is-on {
    outline: 1.5px dashed #ef9f27;
    outline-offset: 3px;
}
.tm-heat__cell.is-on .tm-heat__cell-name { opacity: 1; }

/* 侧栏：占 1/4 */
.tm-heat__side {
    flex: 0 1 380px;
    min-width: 0;
    height: 341px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(20, 22, 26, .12);
    border: 1px solid #eceef2;
    transition: transform .25s, box-shadow .25s;
}
.tm-heat__side:hover {
    transform: translateY(-3px) rotate(-.3deg);
    box-shadow: 0 16px 40px rgba(20, 22, 26, .18);
}
/* ===== 电影票 · 票头 ===== */
/* ===== 电影票 · 巨数字版（无黄色） ===== */
.tm-heat__tk-top {
    background: linear-gradient(135deg, #14161A, #2A2233 55%, #3A2E5C);
    padding: 10px 18px 9px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    flex: 0 0 auto;
}
.tm-heat__tk-top::before {
    content: "";
    position: absolute;
    right: -16px;
    top: -16px;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 1px solid rgba(201, 196, 255, .16);
}
.tm-heat__tk-cin {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}
.tm-heat__tk-brand {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 7px;
    color: rgba(255, 255, 255, .5);
    letter-spacing: .14em;
    white-space: nowrap;
}
.tm-heat__tk-admit {
    font-size: 6px;
    font-weight: 700;
    color: #C9C4FF;
    letter-spacing: .12em;
    border: 1px solid rgba(201, 196, 255, .45);
    border-radius: 3px;
    padding: 1px 4px;
    white-space: nowrap;
}
.tm-heat__tk-ttl {
    font-family: Georgia, 'Songti SC', serif;
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    margin-top: 6px;
    position: relative;
    z-index: 1;
}
.tm-heat__tk-sub {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 6.5px;
    color: rgba(255, 255, 255, .45);
    margin-top: 2px;
    letter-spacing: .1em;
    position: relative;
    z-index: 1;
}
/* 巨数字区 */
.tm-heat__tk-bigzone {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 18px;
    min-height: 0;
}
.tm-heat__tk-giant {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
}
.tm-heat__tk-giant b {
    font-size: 64px;
    font-weight: 700;
    background: linear-gradient(135deg, #423DFF, #8F7BFF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: .95;
    letter-spacing: -2px;
    font-variant-numeric: tabular-nums;
}
.tm-heat__tk-giant em {
    font-style: normal;
    font-size: 9px;
    color: #8A90AD;
    margin-top: 4px;
    letter-spacing: .2em;
}
.tm-heat__tk-side3 {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.tm-heat__tk-sr {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px dashed #EDEFF6;
    padding-bottom: 6px;
}
.tm-heat__tk-sr:last-child { border-bottom: 0; padding-bottom: 0; }
.tm-heat__tk-sr em {
    font-style: normal;
    font-size: 7px;
    color: #A6ADC2;
    letter-spacing: .12em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.tm-heat__tk-sr b {
    font-size: 12px;
    color: #1B1D2B;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
/* meta 行 */
.tm-heat__tk-meta {
    display: flex;
    justify-content: space-between;
    padding: 0 18px 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 6px;
    color: #A6ADC2;
    letter-spacing: .14em;
    flex: 0 0 auto;
}
/* 服务四小项 */
.tm-heat__tk-svrow {
    display: flex;
    gap: 6px;
    padding: 0 18px 8px;
    flex: 0 0 auto;
}
.tm-heat__tk-sv {
    flex: 1;
    text-align: center;
    border: 1px solid #E9ECF5;
    border-radius: 5px;
    padding: 4px 2px;
    background: #fff;
    text-decoration: none;
    transition: border-color .15s;
}
.tm-heat__tk-sv:hover { border-color: #423DFF; }
.tm-heat__tk-sv b {
    display: block;
    font-size: 7px;
    color: #1B1D2B;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tm-heat__tk-sv em {
    display: block;
    font-style: normal;
    font-size: 6.5px;
    color: #423DFF;
    font-weight: 700;
    margin-top: 1px;
}
/* 撕线 */
.tm-heat__tk-tear {
    position: relative;
    height: 18px;
    margin: 0 -1px;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}
.tm-heat__tk-tear::before,
.tm-heat__tk-tear::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #F6F8FA;
    border: 1px solid #E4E7F0;
    top: 1px;
}
.tm-heat__tk-tear::before { left: -9px; }
.tm-heat__tk-tear::after { right: -9px; }
.tm-heat__tk-line {
    flex: 1;
    margin: 0 12px;
    border-top: 2px dashed #D8DCEA;
}
/* 票根条 */
.tm-heat__tk-stub {
    background: #F6F7FD;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 96px 10px 18px;
}
.tm-heat__tk-tno { flex: 0 0 auto; }
.tm-heat__tk-tno .c {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 5.5px;
    color: #8A90AD;
    letter-spacing: .16em;
}
.tm-heat__tk-tno .n {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 8px;
    font-weight: 700;
    color: #1B1D2B;
    letter-spacing: .04em;
}
.tm-heat__tk-bars {
    flex: 1;
    min-width: 0;
    height: 22px;
    background: repeating-linear-gradient(90deg, #1B1D2B 0 2px, transparent 2px 4px, #1B1D2B 4px 5px, transparent 5px 8px, #1B1D2B 8px 11px, transparent 11px 13px);
    opacity: .82;
}
.tm-heat__tk-qr {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #E4E7F0;
    border-radius: 4px;
    padding: 2px;
    box-sizing: border-box;
}
.tm-heat__tk-qrgrid {
    display: grid;
    grid-template-columns: repeat(21, 1fr);
    width: 100%;
    height: 100%;
}
.tm-heat__tk-qrgrid u {
    text-decoration: none;
    aspect-ratio: 1;
    display: block;
}
/* 通栏 CTA（票面内） */
.tm-heat__tk-ctafull {
    padding: 0 18px 8px;
    flex: 0 0 auto;
}
.tm-heat__tk-ctafull a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: linear-gradient(135deg, #423DFF, #6A5AE8);
    color: #fff;
    font-size: 10.5px;
    font-weight: 600;
    border-radius: 6px;
    padding: 8px 0;
    text-decoration: none;
    transition: background .15s;
}
.tm-heat__tk-ctafull a u {
    text-decoration: none;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.tm-heat__tk-ctafull a:hover { background: #534AB7; }

/* 图例 · 颜色深度说明（网格下方横排） */
.tm-heat__legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    margin-top: 14px;
    font-size: 10px;
    color: #8a909c;
}
.tm-heat__legend-cap { color: #a0a6b0; margin-right: 2px; }
.tm-heat__legend-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.tm-heat__legend-item i {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
    box-sizing: border-box;
}

/* 选中信息条 */
.tm-heat__sel {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 14px;
    background: #f8f8fd;
    border-radius: 9px;
    font-size: 12px;
    color: #1f2329;
}
.tm-heat__sel-name { color: #534ab7; font-weight: 500; }
.tm-heat__sel-count {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 500;
    color: #534ab7;
}
.tm-heat__sel-avg { color: #8a9099; margin-left: 2px; }
.tm-heat__sel-empty { display: none; color: #5f5e5a; }
.tm-heat__sel-empty a { color: #534ab7; font-weight: 500; }
.tm-heat__sel-all { margin-left: auto; font-size: 11px; color: #534ab7; text-decoration: none; white-space: nowrap; }
.tm-heat__sel-all:hover { text-decoration: underline; }
/* 空类态 */
.tm-heat.is-empty .tm-heat__sel-text,
.tm-heat.is-empty .tm-heat__sel-all { display: none; }
.tm-heat.is-empty .tm-heat__sel-empty { display: inline; }
.tm-heat.is-empty .tm-heat__reg { box-shadow: inset 0 0 0 1.5px #7f77dd; }

/* 列表标题行 + 即买徽章 */
.tm-heat__list-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}
.tm-heat__list-title { font-size: 13px; font-weight: 500; color: #1f2329; }
.tm-heat__badge {
    padding: 4px 12px;
    border-radius: 11px;
    background: #423dff;
    font-size: 10px;
    color: #ffffff;
    white-space: nowrap;
}
.tm-heat__refresh {
    margin-left: auto;
    border: 0;
    background: transparent;
    padding: 0;
    font-family: inherit;
    font-size: 11px;
    color: #534ab7;
    cursor: pointer;
}
.tm-heat__refresh:hover { text-decoration: underline; }

/* 5 列 16:9 卡片 */
.tm-heat__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}
.tm-heat__card {
    display: flex;
    flex-direction: column;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #e9ebf2;
    border-radius: 9px;
    text-decoration: none;
    transition: border-color .15s, transform .15s;
}
.tm-heat__card:hover { border-color: #7f77dd; transform: translateY(-2px); }
.tm-heat__card.is-alt { display: none; }

.tm-heat__card-fig {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    background: #eef0f4;
}
.tm-heat__card-fig img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tm-heat__card-fallback {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    padding: 6px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    word-break: break-all;
    color: #3c3489;
    background: #f5f5fb;
}
.tm-heat__card-fig.is-fallback .tm-heat__card-fallback { display: flex; }
.tm-heat__card-fig.is-fallback img { display: none; }
/* 图区左上角类别角标 */
.tm-heat__card-tag {
    position: absolute;
    left: 6px;
    top: 6px;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(21, 23, 34, .72);
    font-size: 9px;
    color: #ffffff;
    letter-spacing: .5px;
}

.tm-heat__card-name {
    margin-top: 9px;
    font-size: 13px;
    font-weight: 500;
    color: #1f2329;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tm-heat__card-valid {
    margin-top: 3px;
    font-size: 10px;
    color: #a0a6b0;
    text-align: center;
}
.tm-heat__card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: auto;
    padding-top: 9px;
}
.tm-heat__card-price { font-size: 14px; font-weight: 500; color: #423dff; }

/* 空类提示（点 0 件类时的列表占位） */
.tm-heat__empty {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 34px 0;
    border: 1px dashed #d9d7ee;
    border-radius: 9px;
    font-size: 12px;
    color: #8a9099;
}
.tm-heat__empty a {
    font-size: 12px;
    font-weight: 500;
    color: #534ab7;
    text-decoration: none;
}
.tm-heat__empty a:hover { text-decoration: underline; }
.tm-heat__card-view { font-size: 10.5px; color: #534ab7; white-space: nowrap; }

/* 注册服务区：左右分栏（双轨叙事的“注册”轨） */
.tm-heat__reg {
    display: flex;
    gap: 24px;
    margin-top: 18px;
    padding: 18px 22px;
    background: #f5f4fe;
    border-radius: 12px;
}
.tm-heat__reg-main { flex: 1 1 auto; min-width: 0; }
.tm-heat__reg-eyebrow {
    display: block;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #534ab7;
}
.tm-heat__reg-title {
    display: block;
    margin-top: 7px;
    font-size: 16px;
    font-weight: 500;
    color: #1f2329;
}
.tm-heat__reg-desc {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #5f5e5a;
}
.tm-heat__reg-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 7px 20px;
    border-radius: 15px;
    background: #423dff;
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    transition: background .15s;
}
.tm-heat__reg-btn:hover { background: #3733d6; }

.tm-heat__reg-list { flex: 0 0 216px; }
.tm-heat__reg-list-title {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    color: #8a9099;
}
.tm-heat__reg-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6.5px 0;
    border-bottom: 1px solid #e4e2f6;
    font-size: 12px;
    color: #1f2329;
    text-decoration: none;
}
.tm-heat__reg-item:last-child { border-bottom: 0; }
.tm-heat__reg-item:hover span { color: #534ab7; }
.tm-heat__reg-price {
    font-weight: 500;
    color: #423dff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.tm-heat__reg-price.is-free { color: #0f6e56; }

/* 进场演示：卡片错峰入场 + 选中格脉冲 */
.tm-heat.is-demo .tm-heat__card { opacity: 0; }
.tm-heat.is-demo .tm-heat__card.is-in { animation: tm-card-in .28s ease-out both; }
@keyframes tm-card-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
.tm-heat.is-pulse .tm-heat__cell.is-on { animation: tm-ring-pulse .8s ease-in-out 2; }
@keyframes tm-ring-pulse {
    0%, 100% { outline-color: #ef9f27; }
    50% { outline-color: rgba(239, 159, 39, .25); }
}

@media (max-width: 992px) {
    .tm-heat { padding: 16px; }
    .tm-heat__map { flex-direction: column; gap: 14px; padding-right: 0; }
    .tm-heat__grid { grid-template-columns: repeat(6, 1fr); }
    .tm-heat__side { flex: 1 1 auto; }
    .tm-heat__list {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 6px;
    }
    .tm-heat__card { flex: 0 0 170px; }
    .tm-heat__list-head { flex-wrap: wrap; }
    .tm-heat__badge { order: 3; }
    .tm-heat__reg { flex-direction: column; gap: 14px; }
    .tm-heat__reg-list { flex: 1 1 auto; }
}

/* ========== 问知星球（KNOWLEDGE ORB） ==========
   几何参数单一信源 → JS knowledge-orb.js 顶部 CONFIG 对象（变量 C）
   以下 CSS 值必须与 C.* 保持同步，改一处需同时改另一处：
     C.STAGE_H(470)       → __stage height
     C.BALL_FB_D(153)     → __sphere width/height + margin(负半)
     C.ASK_MARGIN_TOP(80) → __ask margin-top
     C.ASK_MARGIN_BOT(40) → __ask margin-bottom
     C.LIN_SIZE(28)       → __avatar width/height
     16                   → __tag font-size
================================================== */
.knowledge-orb {
    margin: 20px 0 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #FBFCFF 100%);
    border: 1px solid #EBEEF7;
    border-radius: 14px;
    box-shadow: 0 14px 34px -26px rgba(92, 80, 232, .35);
    padding: 22px 24px;
}
.knowledge-orb__head {
    /* 对齐站点标题惯例（home-code / tm-new）：标题一行 + 提示一行，纵向两行。
       英文 eyebrow（KNOWLEDGE ORB）2026-10-27 用户拍板移除，标题行即首行；
       2026-11-04 加右侧出口，把「演示」接到「AI 大模型集成」业务页——
       ⛔ 没有这个出口时，用户转完星球就流失了，模块白做演示。 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.knowledge-orb__more {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex: 0 0 auto;
    /* head 是 align-items:center，但 head 高 53 而标题行只占上面 30px；
       不加这两行时链接会对齐到整个 head 的中心，比标题低约 11px（实测）。
       flex-start + margin-top 5 让链接中心落在标题行中心（15 vs 15）。 */
    align-self: flex-start;
    margin-top: 5px;
    font-size: 15px;
    font-weight: 500;
    color: #423dff;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .15s ease;
}
.knowledge-orb__more:hover { opacity: .72; }
/* 斜箭头与专利模块 .patent-search__all-ico 同源（15×15、stroke 1.5、hover 右上移 2px） */
.knowledge-orb__more-ico {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    transition: transform .18s;
}
.knowledge-orb__more:hover .knowledge-orb__more-ico { transform: translate(2px, -2px); }
.knowledge-orb__title {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .01em;
}
/* 品牌名与业务标签同一行，flex 居中——不用 vertical-align 手工对基线 */
.knowledge-orb__row {
    display: flex;
    align-items: center;
    gap: 10px;
}
/* 极光渐变只染"问知星球"四字：单独包一层 b，渐变以 b 自身盒宽为 100%——
   精确覆盖四个字，不依赖整盒百分比（旧 31% 方案会随盒宽浮动导致末字隐形） */
.knowledge-orb__title b {
    font-weight: 500;
    background: linear-gradient(92deg, #1E9E8E 0%, #4D9FFF 55%, #8B5CF6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.knowledge-orb__title em {
    display: block;
    font-style: normal;
    font-size: 13px;
    font-weight: 400;
    color: #7A84A8;
    margin: 7px 0 0;
    letter-spacing: .02em;
}
/* 业务归属标签：紧跟品牌名右侧，说明这个星球属于哪条业务线。
   ⛔ 与英文 eyebrow（KNOWLEDGE ORB）二选一——两者都在回答「我是谁」，
      同时出现会变成四层信息并把 head 从 45px 撑到 61px。
      KNOWLEDGE ORB 于 2026-10-27 用户拍板移除，本次用 badge 替代，不恢复英文。 */
.knowledge-orb__badge {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: #423dff;
    background: #eeedfe;
    letter-spacing: .01em;
    white-space: nowrap;
}
.knowledge-orb__stage {
    position: relative;
    height: 470px;
    margin-top: 14px;
    border-radius: 18px;
    overflow: hidden;
    cursor: grab;
    /* 拖拽球体时防止误选中标签文字/标题（蓝色选区破坏观感）；
       不影响标签 :hover 放大与 <a> 点击跳转（选区与两者无关） */
    user-select: none;
    -webkit-user-select: none;
}
.knowledge-orb__stage:active { cursor: grabbing; }
.knowledge-orb__sphere {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 153px;
    height: 153px;
    margin: -76.5px 0 0 -76.5px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 50;
    transition: transform .3s, filter .3s;
    /* 以下原为 .knowledge-orb__core（兜底球视觉），合并入单层 */
    background:
        radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .35) 14%, transparent 30%),
        radial-gradient(circle at 68% 72%, rgba(94, 234, 212, .45) 0%, transparent 34%),
        radial-gradient(circle at 30% 78%, rgba(244, 192, 209, .40) 0%, transparent 32%),
        /* 2026-10-27 B 方案向蓝偏：四站随 JS SO_DARK 映射（带 218-242° → 214-229°，S/L 保持） */
        radial-gradient(circle at 38% 30%, #B2BEF2 0%, #6F84E4 46%, #3956C6 78%, #3051AB 100%);
    box-shadow:
        inset -10px -14px 26px rgba(22, 36, 100, .40),
        inset 8px 6px 18px rgba(255, 255, 255, .18),
        0 0 0 1px rgba(155, 173, 255, .22),
        0 14px 32px rgba(72, 98, 216, .16);
    animation: orb-glass-breath 7s ease-in-out infinite;
}
.knowledge-orb__sphere:hover { filter: brightness(1.06); }
/* 点击球上浮：仅 CSS 兜底球可见
   （.is-three 下 __sphere 是 display:none，WebGL 主模式由 input.focus()
   → focus 态提速 3.2 倍提供反馈）—— 非死代码 */
.knowledge-orb.is-ask .knowledge-orb__sphere { transform: translateY(-6px); }
@keyframes orb-glass-breath {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}
/* canvas z52 夹层：高于背面标签(25~40，回归被球体遮挡的真实空间关系)、
   低于正面标签(60+)；否则标签的白色 text-shadow 会把轨道环粒子晕开。
   pointer-events:none 防止 canvas 拦截下方标签点击（拖拽绑在 stage 不受影响）。 */
.knowledge-orb__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 52;
    pointer-events: none;
    display: none;
}
.knowledge-orb.is-three .knowledge-orb__canvas { display: block; }
.knowledge-orb.is-three .knowledge-orb__sphere { display: none; }
/* 注意：不可给本容器设 z-index（会创建 stacking context，把子标签的动态 zIndex
   关在容器内比较，导致正面标签也被球遮挡）；标签 zIndex 需直接与球(50)比较 */
.knowledge-orb__tags {
    position: absolute;
    inset: 0;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    gap: 10px 16px;
    padding: 0 40px;
}
.knowledge-orb__tag {
    font-size: 16px;
    line-height: 1.2;
    color: #4A5E93;
    text-decoration: none;
    white-space: nowrap;
    text-shadow: 0 0 6px rgba(255, 255, 255, .95), 0 0 2px rgba(255, 255, 255, .9);
    /* 标签是 <a>：禁用浏览器原生链接拖拽虚影，拖拽球体从标签起步时走旋转逻辑 */
    -webkit-user-drag: none;
}
.knowledge-orb__tag:hover { color: #2E55D6; }
.knowledge-orb__tag.is-hit { color: #1d46c8; font-weight: 500; }
.knowledge-orb.is-orb .knowledge-orb__tags { display: block; padding: 0; }
.knowledge-orb.is-orb .knowledge-orb__tag {
    position: absolute;
    left: 0;
    top: 0;
    will-change: transform, opacity;
}
.knowledge-orb__ask {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 500px;
    max-width: 100%;
    height: 52px;
    box-sizing: border-box;
    margin: 80px auto 40px;
    /* 右 9：发送键右距 10 = 上下 9 +1（键 34px 后上下留白 9；顺带清掉两行过时注释） */
    padding: 0 9px 0 8px;
    /* 底色/边框/投影全部取小琳球的色系：底 #5E7ADE、晕 rgba(126,150,255,.34) */
    background: linear-gradient(180deg, #FFFFFF 0%, #EEF1FC 100%);
    border: 1px solid rgba(112, 136, 240, .40);
    border-radius: 26px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 12px 28px -18px rgba(88, 116, 220, .62);
    transition: border-color .18s, box-shadow .18s;
}
.knowledge-orb__ask:focus-within {
    border-color: rgba(110, 130, 240, .55);
    box-shadow: 0 0 0 4px rgba(126, 150, 255, .15), inset 0 1px 0 rgba(255, 255, 255, .95),
        0 10px 26px -18px rgba(94, 122, 222, .62);
}
/* 小琳微球：柔光多极球（Canvas 逐像素，见 knowledge-orb.js）——
   球体 = 紫蓝底色 + 主光（青白高光核）+ 辅光（蓝紫柔光），不加任何纹理；
   主/辅光沿球面反向绕行、光色与底色沿色板漂移 → 颜色在换，不是色块原地转；
   场景时间由 JS 调速器驱动：静息 1×、聚焦约 1.45×、提交约 3.4× 爆发后平滑回落 */
/* 聚焦：球体放大到 34px（28 × 1.2143）——与 34px 发送键等大；
   保持 transform-origin 居中、不加位移，放大后上下留白 (52-34)/2 = 9px */
.knowledge-orb__ask:focus-within .knowledge-orb__avatar {
    transform: scale(1.2143);
}
/* 发送中：小球"工作"摆动，与发送键转圈同节奏；漩涡速度由 .is-busy 档位驱动（爆发后回落） */
.knowledge-orb__ask.is-busy .knowledge-orb__avatar {
    animation: avatar-work .9s ease-in-out infinite;
}
@keyframes avatar-work {
    /* 只做呼吸：转动交给 canvas 里的光核绕圈，避免两层动作叠加 */
    0%, 100% { transform: scale(1.2143); }
    50% { transform: scale(1.2857); }
}
/* 失败：与发送键同步抖动 */
.knowledge-orb__ask.is-error .knowledge-orb__avatar {
    animation: avatar-shake .4s;
}
@keyframes avatar-shake {
    0%, 100% { transform: translateX(0) scale(1.2143); }
    25% { transform: translateX(-2px) scale(1.2143); }
    75% { transform: translateX(2px) scale(1.2143); }
}
.knowledge-orb__avatar {
    position: relative;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    /* 4px：静息左距 13（=上下 12+1）、聚焦左距 9（=上下 8+1），侧边多留 1px 呼吸感 */
    margin-left: 4px;
    border-radius: 50%;
    overflow: hidden;
    /* 2026-10-27 B 方案向蓝偏：四站随 JS SO_DARK 映射（带 218-242° → 214-229°，S/L 保持）
       最深两站与 canvas 渲染的球缘色对齐：
       尺寸呼吸会让球缩到 95.5%，露出这一圈——同色才不会被看成"多了一层亮边" */
    background: radial-gradient(circle at 34% 28%, #A6BFF4 0%, #7090E2 46%, #4A61B2 80%, #394C88 100%);
    box-shadow: 0 2px 7px -3px rgba(49, 69, 157, .30), 0 0 12px 1px rgba(126, 167, 255, .34);
    /* 聚焦放大 / 失焦回落：260ms 缓出（起步快、收尾慢），硬切会显得生硬 */
    transition: transform .26s cubic-bezier(.22, .68, .3, 1);
}
/* 等离子色场画布：铺满球体；高光与边缘暗角由 ::after 玻璃层叠加（canvas 只负责色彩流变） */
.knowledge-orb__avatar-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
}
/* 收边层：只留极淡暗角（高光已由 canvas 按光位实时计算，不能再叠一层固定高光） */
.knowledge-orb__avatar::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, transparent 72%, rgba(18, 9, 60, .10) 90%, rgba(12, 6, 44, .16) 100%);
}
/* 尺寸呼吸不做在 CSS transform 上：那会让 108px 位图以非整数比例缩放（108→29.26px），
   浏览器降级插值后球缘出现锯齿（实测 8 倍放大可见毛边）。
   改由 fluidDraw 内部缩放渲染半径，位图缩放比例恒定 4:1，边缘始终平滑。 */
.knowledge-orb__ask-input {
    flex: 1;
    min-width: 0;
    height: 50px;          /* 容器 52 - 上下边框各 1：等高 line-height 让文字精确垂直居中 */
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    line-height: 50px;
    color: #1F2340;
}
.knowledge-orb__ask-input::placeholder { color: #A5ABD6; }
/* 发送键：空输入禁用 / 有字点亮 / 悬停上浮 / 按下回弹 / 发送中转圈 / 失败抖动 */
.knowledge-orb__send {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #EEF1FE;
    border-color: rgba(126, 150, 255, .18);
    cursor: default;
    transition: transform .16s, box-shadow .16s, background .16s;
}
.knowledge-orb__send svg { width: 15px; height: 15px; display: block; }

.knowledge-orb__send svg path {
    fill: none;
    stroke: #9FA9DD;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke .16s;
}
.knowledge-orb__send.is-on {
    /* 渐变起点从青绿改成天蓝，和球的高光/底色同一色谱，不再发绿 */
    background: linear-gradient(135deg, #6FB8FF 0%, #5C50E8 52%, #8B5CF6 100%);
    cursor: pointer;
    box-shadow: 0 8px 18px -8px rgba(92, 80, 232, .85);
}
.knowledge-orb__send.is-on svg path { stroke: #fff; }
.knowledge-orb__send.is-on:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px -10px rgba(92, 80, 232, .95);
}
.knowledge-orb__send.is-on:active {
    transform: scale(.94);
    box-shadow: 0 4px 10px -6px rgba(92, 80, 232, .8);
}
.knowledge-orb__send.is-busy {
    background: #E6E2FA;
    cursor: default;
    box-shadow: none;
    transform: none;
}
.knowledge-orb__send.is-busy:hover { transform: none; box-shadow: none; }
.knowledge-orb__send.is-busy svg { display: none; }
.knowledge-orb__send.is-busy::after {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #B9AEF2;
    border-top-color: #5C50E8;
    animation: orb-send-spin .8s linear infinite;
}
@keyframes orb-send-spin { to { transform: rotate(360deg); } }
.knowledge-orb__send.is-error { border-color: #E5645F; animation: orb-send-shake .4s; }
.knowledge-orb__send:focus-visible {
    outline: 2px solid #7C5CFF;
    outline-offset: 2px;
}
/* 发送成功：短暂闪绿 + ✓，0.7s 后回到可用态 */
@keyframes orb-send-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}
/* 推荐问题：点一下只填入、不发送 */
.knowledge-orb__reply {
    width: 500px;
    max-width: 100%;
    margin: 12px auto 0;
    font-size: 12.5px;
    color: #5C50E8;
    text-align: center;
    line-height: 1.75;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
}
.knowledge-orb__reply.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.knowledge-orb__reply a { color: #5348d8; margin: 0 2px; }
/* 思考指示器：小琳正在想 + 三点脉冲 */
.knowledge-orb__reply.is-thinking {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
/* 思考指示器：流光文字——一条光带扫过状态词（Apple Intelligence 同源语法，瞬态 500ms 零成本） */
.knowledge-orb__think {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .02em;
    background: linear-gradient(90deg, #a8aec8 30%, #5C50E8 50%, #a8aec8 70%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: orb-think-shim 1.6s linear infinite;
}
@keyframes orb-think-shim {
    to { background-position: -200% 0; }
}


/* ---- 2026-10-31 废除「鼠标 zoom 阶梯」----------
   原因：zoom 把 12px 字缩到 6.4–10px（620–979 全段低于 8px 可读红线），
        并制造出「同一宽度鼠标横排 / 触屏竖排」两套形态（700×800 的横排
        只是 zoom 0.58 把布局视口撑到 1207 换来的假象）。
   现在不分输入方式：宽度唯一决定形态，620–1023 一律走紧凑档（真字号 10.5–15px）。
   ⛔ 唯一保留的缩放是 ≤691 的 .88：令牌收到最紧仍差 1px（组内容 288 vs 289），
      缩放后组内容 330 → 2 列成立；视觉字号 10.5×.88 = 9.2px，仍在 8px 之上。 ---- */
/* ---------- 首页服务区 · 响应式（断点矩阵见文件上方 .service-hub 基础段） ----------
   顺序：宽 → 窄。每档只写「与基础不同」的属性，不再出现同区间重复定义。 */

/* ≥1921：整页 zoom 与视口同比放大，压边只能用宽度百分比（1/4 面板高 ≈ 5%） */
@media (min-width:1921px){
    .service-hub{margin-top:-5%}
}

/* ≤1179：满宽档不压边 —— 此时轮播是整幅通栏，上叠会盖住画面主体 */
@media (max-width:1179px){
    .service-hub{margin-top:0}
}

/* 1180–1339：横置平板 / 窄留白笔记本 —— 轮播本就矮（399~453），压边收到 -56 才有净可见 */
@media (min-width:1180px) and (max-width:1339px){
    .service-hub{margin-top:-56px}
    .service-hub__panel{padding:30px}
    .service-hub .hub__grid{row-gap:30px}
}

/* 1080–1179：半紧凑内距 28（面板已收窄，3 列卡片不能再贴边） */
@media (min-width:1080px) and (max-width:1179px){
    .service-hub__panel{padding:28px}
    .service-hub .hub__grid{row-gap:28px}
}

/* 1080–1107：图标降 46 —— 3 列等分列宽约 190，装不下「50 + 间距 + 描述 134」 */
@media (min-width:1080px) and (max-width:1107px){
    .service-hub .hub-card__ic{width:46px;height:46px}
}

/* ≤1339：紧凑档的三件套 —— 标题下距 14、图标→文字 8、分隔线起笔 40
   分隔线起笔 = 标题行高 18 + 下距 14 + 间隙 8 = 40；≥1340 是 18 + 20 + 8 = 46。
   ⚠ 2026-11-15 修正：原 `top:40` 被写在 `@media (max-width:1023px)` 块内部（注释却写 768–1339），
     导致 1024–1339 落到基础值 46，线顶端比卡片顶低 14px 而非 8px。现按意图归位到 ≤1339。 */
@media (max-width:1339px){
    .service-hub .hub__title{margin-bottom:14px}
    .service-hub .hub-card__tx{margin-top:8px}
    .service-hub .hub-row--split::before{top:40px}
}

/* ≤1079：2 列。列宽仍 134（12px 描述所需），面板内距 30/50，行距 24 */
@media (max-width:1079px){
    .service-hub__panel{padding:30px 50px}
    .service-hub .hub-row--split .hub__grid{grid-template-columns:repeat(2,134px)}
    .service-hub .hub-group--l{padding-right:calc((100% - 268px) / 2)}
    .service-hub .hub-group--r{padding-left:calc((100% - 268px) / 2)}
    .service-hub .hub__grid{row-gap:24px}
}

/* ≤1023：容器查询上下文（分隔线起笔在 ≤1339 块统一给 40，此处不再重复） */
@media (max-width:1023px){
    .service-hub .hub-group{container-type:inline-size;container-name:hubgroup}

    /* 行2 竖排降级：容器（组宽）≤1067 时横排卡塞不下，改竖排、宽度由文字决定 */
    @container hub (max-width:1067px){
        .service-hub .hub-row--full .hub-card{flex-direction:column;align-items:flex-start}
        .service-hub .hub-row--full .hub-card__tx{margin-left:0;margin-top:8px}
    }
    /* 极窄兜底：2 列也放不下时降为单列 */
    @container hubgroup (max-width:289px){
        .service-hub .hub__grid{grid-template-columns:max-content}
    }
}

/* ≤767：字号降档（名称 14 / 描述 10.5），列宽同步 118（= 10.5px 最长描述 117.25 取整） */
@media (max-width:767px){
    .service-hub .hub-card__ic{width:42px;height:42px}
    .service-hub .hub-card__nm{font-size:14px;line-height:16px}
    .service-hub .hub-card__ds{font-size:10.5px;line-height:15px;margin-top:4px}
    .service-hub .hub-row--split .hub__grid{grid-template-columns:repeat(2,118px)}
    .service-hub .hub-group--l{padding-right:calc((100% - 236px) / 2)}
    .service-hub .hub-group--r{padding-left:calc((100% - 236px) / 2)}
}

/* ≤691：整块缩 0.88 —— 620 档「2×118 + 中线」差 1px，缩放后成立（视觉字号仍 9.2px） */
@media (max-width:691px){
    .service-hub{zoom:.88}
}
/* ---- 响应式：折叠屏展开(≤992) / 大屏手机(≤640) / 折叠态外屏(≤400) ----
   舞台越高标签越舒展；球径由 JS 相机公式自适应（h<448 时按 h 等比缩），
   标签轨道 R ≤ 舞台高 38% 由 JS measure3 约束，任何尺寸不溢出舞台 */
@media (max-width: 992px) {
    .knowledge-orb__stage { height: 360px; }
    /* 2026-10-27：球随舞台缩至 209px，标签降一档（16 → 15）匹配环绕密度 */
    .knowledge-orb__tag { font-size: 15px; }
}
@media (max-width: 640px) {
    .knowledge-orb { padding: 16px; }
    .knowledge-orb__stage { height: 380px; }
    .knowledge-orb__tag { font-size: 14px; }
}
@media (max-width: 400px) {
    .knowledge-orb { padding: 12px; }
    .knowledge-orb__stage { height: 400px; }
    .knowledge-orb__tag { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .knowledge-orb__sphere { animation: none; }
    .knowledge-orb__avatar {
        transition: none;
    }
    /* 2026-10-27 补齐：busy 呼吸与 error 抖动原本没有被关掉——reduce 下 canvas 已停帧，
       但容器还在动，两套机制不同步。"关掉动效"之后必须留一个"静止但仍可读"的提示。 */
    .knowledge-orb__ask.is-busy .knowledge-orb__avatar,
    .knowledge-orb__ask.is-error .knowledge-orb__avatar { animation: none; }
    /* 静止版失败提示：去饱和 + 压暗，不依赖任何运动 */
    .knowledge-orb__ask.is-error .knowledge-orb__avatar { filter: saturate(.55) brightness(.82); }
    .knowledge-orb__send.is-busy::after { animation-duration: 2s; }
    .knowledge-orb__send.is-error { animation: none; }
    .knowledge-orb__think { animation: none; background: none; color: #5C50E8; }
}

/* ========== 公告滚动条 · 序号大字联动 v2（2026-10-16：JS 状态机驱动 · 严格同拍） ========== */
/* 数字与内容由同一个 JS tick 同时切换（零相位差）；CSS 只定义两种状态与过渡 */
.notice-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
    height: 60px;
    background: rgba(255,255,255,.6);
    backdrop-filter: blur(14px) saturate(1.6);
    -webkit-backdrop-filter: blur(14px) saturate(1.6);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 14px;
    padding: 0 22px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 4px 16px rgba(31,38,135,.06);
    box-sizing: border-box;
}

.notice-bar__idx {
    flex-shrink: 0;
    display: flex;
    gap: 8px;
    align-items: center;
}

.notice-bar__num {
    /* 可点击序号（button 复位，视觉与纯文本一致） */
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: 28px;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1.2px #c9c6ff;
    line-height: 1;
    opacity: .3;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity .35s ease, -webkit-text-stroke-color .35s ease, color .35s ease;
}

.notice-bar__num.active {
    opacity: 1;
    -webkit-text-stroke-color: #7a5bff;
    color: rgba(122,91,255,.14);
}

/* 可点提示：未选中项 hover 加深描边；选中项保持满亮 */
.notice-bar__num:hover { opacity: .62; -webkit-text-stroke-color: #a99bff; }
.notice-bar__num.active:hover { opacity: 1; -webkit-text-stroke-color: #6a49f5; }
.notice-bar__num:focus-visible { outline: 2px solid rgba(122,91,255,.55); outline-offset: 4px; }

.notice-bar__line {
    flex-shrink: 0;
    width: 1px;
    height: 26px;
    background: #e2e4f5;
}

.notice-bar__clip {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 60px;
}

/* 整列位移（js 步进 -60px/格，复制首条无缝） */
.notice-bar__roll {
    transition: transform .45s cubic-bezier(.4,0,.4,1);
    will-change: transform;
}

.notice-bar__roll.no-anim {
    transition: none !important;
}

.notice-bar__item {
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #1f2329;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .35s ease, transform .35s ease;
}

.notice-bar__item.active {
    opacity: 1;
    transform: none;
}
/* 长标题单行省略（title 属性保留全文）；文章条目可点击 */
.notice-bar__item-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
a.notice-bar__item { text-decoration: none; }
a.notice-bar__item:hover .notice-bar__item-text { color: #423dff; }

.notice-bar__item-type {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: #7a5bff;
    background: rgba(122,91,255,.14);
    padding: 3px 12px;
    border-radius: 999px;
}

.notice-bar__progress {
    flex-shrink: 0;
    font-size: 14px;
    color: #8a9099;
}

.notice-bar__more {
    flex-shrink: 0;
    font-size: 14px;
    color: #7a5bff;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s;
}

.notice-bar__more:hover { color: #423dff; }

/* ---------- notice-bar 响应式（2026-11-01 适配审计） ----------
   问题：本组件不在 .service-hub 内（无 zoom 继承），28px 序号 / 16px 正文全档恒定；
        620/700/768 实测正文被挤截断（scrollWidth > clientWidth），序号视觉占比过大。
   分档（对齐全站字号体系 ≤767=14 / 768+=16；⛔ ≥1340 桌面 28/16/60 零回归）：
   - ≤767：num 18、item 14、type 11、more 13、高 48、内距 14、组 gap 10、项 gap 8
   - 768–1339：num 22、高 52、内距 16（item/type/more 保持）
   序号按钮热区外扩（::after ±8，视觉零变化；点击盒原样 ≈ 两位数宽 22px < 24 WCAG） */
@media (max-width: 767px) {
    .notice-bar { height: 48px; padding: 0 14px; gap: 10px; }
    .notice-bar__idx { gap: 6px; }
    .notice-bar__num { font-size: 18px; }
    .notice-bar__item { font-size: 14px; gap: 8px; }
    .notice-bar__item-type { font-size: 11px; padding: 2px 10px; }
    .notice-bar__more { font-size: 13px; }
}
@media (min-width: 768px) and (max-width: 1339px) {
    .notice-bar { height: 52px; padding: 0 16px; }
    .notice-bar__num { font-size: 22px; }
}
/* 垂直 ±13（num 盒仅 line-height 1 ≈ 18px 高，44 需要 ±13）；水平 ±8 ——
   idx 相邻序号 gap 仅 6，水平扩大会严重互相重叠，38~50 宽已 ≥24 WCAG */
.notice-bar__num::after {
    content: '';
    position: absolute;
    top: -13px;
    bottom: -13px;
    left: -8px;
    right: -8px;
}
.notice-bar__num { position: relative; }

@media (prefers-reduced-motion: reduce) {
    /* 关动效但不锁死状态：JS 未接管时兜底显示首条，接管后（.is-static）按 .active 切换 */
    .notice-bar__roll { transition: none !important; }
    .notice-bar__item { transition: none !important; }
    .notice-bar__item + .notice-bar__item { display: none; }
    .notice-bar__item:first-child { opacity: 1; transform: none; }
    .notice-bar.is-static .notice-bar__item { display: flex; opacity: 0; }
    .notice-bar.is-static .notice-bar__item.active { opacity: 1; transform: none; }
}

/* ==================== 成品源码精选（2026-10-20 浅色版 + 左深右浅终端） ==================== */
.home-code {
  clear: both;
  margin: var(--space-4-5) 0 0;
  background: #fff;
  padding: var(--sp-block-pad-y) var(--sp-block-pad-x);
}
/* 标题区：图标卡（</> 渐变块）+ 三行文字 / 右侧数据台 + 实心按钮
   2026-11-04 三次定稿（按用户要求删去「持续上新」与「100% 源码交付」后重排）：
   ① 图标卡是这一块唯一的实体装饰件：44px 渐变紫 + 白 </> + 内高光 + 落影。
      它替代了原来的 `</>` 小标签，所以眉标只剩 SOURCE CODE 一行文字——不要再把
      `</>` 标签加回来，会与图标卡重复；
   ② 数据块对左块垂直居中（align-items:center，实测偏差 0），不得改回 flex-end——
      回退后数字会沉到底线，读起来像右下角脚注而不是抬头指标；
   ③ 数字 20px mono 700，货币符 ¥ 降到 14px/600：符号不得与数字同号，
      否则 ¥980 的 ¥ 会压过数字本身；
   ④ 按钮实心紫 + 24px 半透明白圆内嵌箭头。箭头独立成圆是为了给 CTA 一个"去向"，
      hover 时圆变亮并右移 2px；
   ⑤ ≤767 收紧间距与字号，保证 620 档 slogan 仍单行（lead 需 ≥240）。 */
.home-code__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eceef2;
  margin-bottom: 14px;
}
.home-code__lead { display: flex; align-items: center; gap: 14px; flex: 1 1 auto; min-width: 0; }
.home-code__text { min-width: 0; }
.home-code__tile {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, #6f6bff 0%, #423dff 62%, #332ee0 100%);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -1px;
  box-shadow: 0 9px 20px -11px rgba(66, 61, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .34);
}
.home-code__eyebrow { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; }
.home-code__latin { font-size: 10px; letter-spacing: 2px; color: #8a909c; }
.home-code__title { margin: 0; font-size: 24px; font-weight: 700; color: #14161a; line-height: 1.3; letter-spacing: .01em; }
.home-code__title em { font-style: normal; color: #423dff; }
.home-code__desc { font-size: 11px; color: #8a909c; margin-top: 5px; }
/* 右数据台：数字在上、标签在下，组间 1px 竖线分组 */
.home-code__metrics { display: flex; align-items: center; gap: 22px; flex: 0 0 auto; }
.home-code__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  padding-left: 22px;
  border-left: 1px solid #e0e4ee;
}
.home-code__stat:first-child { border-left: 0; padding-left: 0; }
.home-code__stat b {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: #16181f;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.5px;
}
.home-code__stat b i { font-style: normal; font-size: 14px; font-weight: 600; color: #5f6675; margin-right: 1px; letter-spacing: 0; }
.home-code__stat span { font-size: 10.5px; color: #717885; line-height: 1.15; letter-spacing: .01em; white-space: nowrap; }
/* 主 CTA：实心品牌紫 + 半透明白圆内嵌箭头 */
.home-code__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 6px 0 16px;
  background: #423dff;
  color: #fff;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 9px 20px -11px rgba(66, 61, 255, .95);
  transition: background .16s ease;
}
.home-code__ico {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  font-size: 13px;
  line-height: 1;
  transition: background .16s ease, transform .16s ease;
}
.home-code__btn:hover { background: #332ee0; color: #fff; }
.home-code__btn:hover .home-code__ico { background: rgba(255, 255, 255, .34); transform: translateX(2px); }

/* 4 张浅色源码卡 */
.home-code__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2-5); margin-bottom: var(--space-4); }
.home-code__card {
  display: block;
  border: 1px solid #e3e6ec;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.home-code__card:hover { transform: translateY(-2px); border-color: #c9c6ff; box-shadow: 0 8px 20px rgba(20, 22, 26, .08); }
.home-code__preview { position: relative; aspect-ratio: 16 / 9; padding: 8px 9px; box-sizing: border-box; overflow: hidden; }
.home-code__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.home-code__preview--a { background: #f6f8fa; }
.home-code__preview--b { background: #f5f3ff; }
.home-code__preview--c { background: #fff8eb; }
.home-code__preview--d { background: #f0faf5; }
.home-code__file {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 8.5px;
  color: #a0a6b0;
}
.home-code__preview--b .home-code__file { color: #a9a4d8; }
.home-code__preview--c .home-code__file { color: #b99a6b; }
.home-code__preview--d .home-code__file { color: #7aa892; }
.home-code__lines { display: flex; flex-direction: column; gap: 4px; margin-top: 7px; }
.home-code__lines i { display: block; height: 3px; border-radius: 2px; }
.home-code__preview--a .home-code__lines i:nth-child(1) { width: 80%; background: #d6d9e0; }
.home-code__preview--a .home-code__lines i:nth-child(2) { width: 62%; background: #e3e6ec; }
.home-code__preview--a .home-code__lines i:nth-child(3) { width: 72%; background: #d6d9e0; }
.home-code__preview--a .home-code__lines i:nth-child(4) { width: 46%; background: #e3e6ec; }
.home-code__preview--b .home-code__lines i:nth-child(1) { width: 70%; background: #cdc8f5; }
.home-code__preview--b .home-code__lines i:nth-child(2) { width: 84%; background: #dcd8fa; }
.home-code__preview--b .home-code__lines i:nth-child(3) { width: 52%; background: #cdc8f5; }
.home-code__preview--b .home-code__lines i:nth-child(4) { width: 66%; background: #dcd8fa; }
.home-code__preview--c .home-code__lines i:nth-child(1) { width: 76%; background: #f0dcb8; }
.home-code__preview--c .home-code__lines i:nth-child(2) { width: 58%; background: #f7e8cf; }
.home-code__preview--c .home-code__lines i:nth-child(3) { width: 80%; background: #f0dcb8; }
.home-code__preview--c .home-code__lines i:nth-child(4) { width: 44%; background: #f7e8cf; }
.home-code__preview--d .home-code__lines i:nth-child(1) { width: 66%; background: #c8e8d8; }
.home-code__preview--d .home-code__lines i:nth-child(2) { width: 80%; background: #ddf1e7; }
.home-code__preview--d .home-code__lines i:nth-child(3) { width: 50%; background: #c8e8d8; }
.home-code__preview--d .home-code__lines i:nth-child(4) { width: 72%; background: #ddf1e7; }
.home-code__stack {
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-size: 8.5px;
  color: #423dff;
  background: #fff;
  border-radius: 3px;
  padding: 2px 5px;
}
.home-code__preview--c .home-code__stack { color: #854f0b; }
.home-code__preview--d .home-code__stack { color: #0f6e56; }
.home-code__body { padding: 9px 11px 11px; }
/* 卡片底栏（2026-11-03 重设计）：左列「名称 + 技术栈」两行，右列价格；
   align-items:center 让价格相对左侧文字块**垂直居中**（实测上下偏移 0）。
   ⛔ meta 必须 min-width:0，否则名称不省略、会把价格顶出卡片；
      价格必须 flex:0 0 auto + nowrap + tabular-nums（数字等宽，四卡右缘对齐不抖）。 */
.home-code__body { display: flex; align-items: center; gap: 10px; padding: 10px 11px; }
.home-code__meta { flex: 1 1 auto; min-width: 0; }
.home-code__name {
  font-size: 12px;
  font-weight: 600;
  color: #14161a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-code__tech {
  font-size: 10px;
  color: #8a909c;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-code__price {
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.2px;
  color: #423dff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* 终端区：左深右浅 */
.home-terminal {
  display: flex;
  border: 1px solid #e3e6ec;
  border-radius: 10px;
  overflow: hidden;
}
/* 主区纵向撑满：代码区吃掉剩余高度，状态栏贴住编辑器底边（VS Code 形态）
   宽度：主区与右侧面板各占一半（2026-10-29 用户要求，原为 2/3 : 1/3） */
.home-terminal__main { flex: 1 1 50%; min-width: 0; background: #1e1e1e; display: flex; flex-direction: column; }
.home-terminal__titlebar {
  display: flex;
  align-items: center;
  background: #252526;
  padding: 8px 12px;
}
.home-terminal__dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
/* macOS 窗口控制点：彼此留 6px 间距，不贴在一起 */
.home-terminal__dot + .home-terminal__dot { margin-left: 6px; }
.home-terminal__dot:nth-child(1) { background: #ff5f56; }
.home-terminal__dot:nth-child(2) { background: #ffbd2e; }
.home-terminal__dot:nth-child(3) { background: #27c93f; }
.home-terminal__wtitle { margin: 0 auto; font-size: 10px; color: #8b93a1; }
.home-terminal__wbtns { display: inline-flex; gap: 8px; color: #6b7280; font-size: 10px; }
.home-terminal__tabs { display: flex; align-items: center; background: #252526; }
.home-terminal__tab { font-size: 10px; color: #858585; padding: 8px 14px; }
.home-terminal__tab--on {
  color: #fff;
  background: #1e1e1e;
  border-top: 2px solid #8b87ff;
}
.home-terminal__tab em { font-style: normal; opacity: .6; }
.home-terminal__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: #4ec9b0;
  padding-right: 12px;
}
.home-terminal__live > span { width: 5px; height: 5px; border-radius: 50%; background: #4ec9b0; }
.home-terminal__code {
  background: #1e1e1e;
  padding: 9px 0;
  font-size: 10.5px;
  line-height: 2;
  flex: 1 1 auto; /* 吃掉剩余高度 → 状态栏被推到底边 */
}
/* 逐行快速淡入（0.12s/行，全部约 1.3s）——注释色提亮至 #8fb59f 保证可读 */
.home-terminal__row {
  display: flex;
  opacity: 0;
  animation: hc-fadein .12s ease-out forwards;
}
.home-terminal__row:nth-child(1) { animation-delay: .10s; }
.home-terminal__row:nth-child(2) { animation-delay: .24s; }
.home-terminal__row:nth-child(3) { animation-delay: .38s; }
.home-terminal__row:nth-child(4) { animation-delay: .52s; }
.home-terminal__row:nth-child(5) { animation-delay: .66s; }
.home-terminal__row:nth-child(6) { animation-delay: .80s; }
.home-terminal__row:nth-child(7) { animation-delay: .94s; }
.home-terminal__row:nth-child(8) { animation-delay: 1.08s; }
.home-terminal__row:nth-child(9) { animation-delay: 1.22s; }
.home-terminal__row:nth-child(10) { animation-delay: 1.36s; }
@keyframes hc-fadein {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: none; }
}
.home-terminal__row--cur { background: #2a2d2e; }
.home-terminal__ln {
  flex: 0 0 42px;
  text-align: right;
  padding-right: 13px;
  color: #858585;
  user-select: none;
}
.home-terminal__row--cur .home-terminal__ln { color: #c6c6c6; }
.home-terminal__src { white-space: pre-wrap; min-height: 21px; }

/* ---- 逐字打字（/assets/js/home-terminal-type.js 接管后生效） ----
   接管即停用上面的逐行淡入：行常显（行号先就位），文字由 JS 逐字填充 */
.home-terminal.is-typing .home-terminal__row { opacity: 1; animation: none; }
.home-terminal__typed { white-space: pre-wrap; }
/* 词打完瞬间的 白 → 语法色 过渡（与 js 的 NEUTRAL_BEFORE_DONE 配套） */
.home-terminal__typed span,
.home-terminal__cm span { transition: color .12s linear; }
/* 光标：2px 竖条；等待触发/打完后闪烁，打字中常亮 */
.home-terminal__caret {
  display: inline-block;
  width: 2px;
  height: 12px;
  margin-left: 1px;
  background: #d7dae0;
  vertical-align: -2px;
}
.home-terminal.is-idle .home-terminal__caret,
.home-terminal.is-done .home-terminal__caret {
  animation: hc-caret 1.05s step-end infinite;
}
@keyframes hc-caret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.home-terminal__cm {
  color: #8fb59f;
  margin-left: 14px;
  opacity: .95;
}
.home-terminal__status {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #007acc;
  padding: 4px 14px;
  font-size: 9px;
  color: #fff;
}
.home-terminal__status-r { margin-left: auto; display: inline-flex; gap: 12px; }
/* 侧面板：左「文案 + 交付保障」/ 右「装饰大字 + 双旋转窗」
   2026-10-29 重设计：宽度 50%，原 1/3 拼贴视觉保留并按新容器重定位 */
/* ---- 通用组件样式（小窗 / 装饰字 / 文案）：Bento 布局下作为卡片内部件复用 ---- */
/* 小窗（通用） */
.home-code__win { position: absolute; background: #fff; border: 1px solid #e3e6ec; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 22px rgba(20, 22, 26, .1); }
.home-code__win--code { top: 56px; right: 100px; width: 182px; transform: rotate(2.5deg); z-index: 1; }
.home-code__win--term { top: 104px; right: 24px; width: 188px; background: #16181f; border: 1px solid rgba(255, 255, 255, .12); transform: rotate(-2deg); box-shadow: 0 12px 30px rgba(20, 22, 26, .22); z-index: 2; }
.home-code__win-bar { display: flex; align-items: center; gap: 4px; padding: 6px 9px; background: #f6f8fa; border-bottom: 1px solid #eceef2; }
.home-code__win-bar i { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.home-code__win-bar i:nth-child(1) { background: #ff5f56; }
.home-code__win-bar i:nth-child(2) { background: #ffbd2e; }
.home-code__win-bar i:nth-child(3) { background: #27c93f; }
.home-code__win-bar i + i { margin-left: 2px; }
.home-code__win-bar span { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 8px; color: #a0a6b0; margin-left: 4px; }
.home-code__win-bar--dark { background: rgba(255, 255, 255, .04); border-bottom-color: rgba(255, 255, 255, .06); }
.home-code__win-bar--dark span { color: #6b7280; }
.home-code__win-body { padding: 8px 10px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 8px; line-height: 1.9; }
.home-code__win-body--dark { background: #16181f; }
/* 品牌文案 */
.home-code__slogan { position: absolute; left: 18px; bottom: 16px; }
.home-code__slogan b { display: block; font-size: 13px; font-weight: 600; color: #14161a; line-height: 1.5; }
.home-code__slogan i { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-style: normal; font-size: 9px; color: #8a909c; margin-top: 6px; }

/* ============================================================
   右侧面板：源码海报（2026-10-29 v4）
   ------------------------------------------------------------
   主体保留原设计：白代码窗在后、深终端窗压在前，DEPLOY / CODE 作背景大字。
   其余重做：左竖排书脊 + 文案栏 + 数据块，右下旋转印章，底部滚动条带，
   底色为点阵 + 双柔光。
   ============================================================ */
.home-terminal__aside {
  position: relative;
  flex: 1 1 50%;
  min-width: 0;
  overflow: hidden;
  border-left: 1px solid #eceef2;
  background:
    radial-gradient(120% 92% at 0% 0%, rgba(66, 61, 255, .13), rgba(66, 61, 255, 0) 60%),
    radial-gradient(88% 78% at 100% 100%, rgba(0, 176, 255, .11), rgba(0, 176, 255, 0) 58%),
    #f4f6fa;
}
/* 内容层：桌面与面板等宽；≤992 面板变全宽时定宽居中，保持同一套构图比例 */
.home-terminal__aside-inner {
  position: absolute;
  inset: 0;
}
/* 文案背景：一片白色柔光把左栏文案"托"起来（不是图形，也不加圆环边） */
.home-terminal__wash {
  position: absolute;
  left: -112px;
  top: -100px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%,
    rgba(66, 61, 255, .052) 0%,
    rgba(66, 61, 255, .036) 40%,
    rgba(66, 61, 255, .014) 62%,
    rgba(66, 61, 255, 0) 78%);
}

/* 左下角波点：10px 间距的圆点阵列，从左下角向右自然渐隐，只铺在文字下方 */
.home-terminal__aside-inner::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 292px;
  height: 56px;   /* 11×5 再加 1px 左边框：外沿起量，首点距左边与底边都是 6.5px */
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(66, 61, 255, .28) 1.6px, rgba(66, 61, 255, 0) 1.7px);
  background-size: 11px 11px;
  -webkit-mask-image: radial-gradient(125% 190% at 0% 100%, #000 10%, rgba(0, 0, 0, .42) 52%, rgba(0, 0, 0, 0) 92%);
          mask-image: radial-gradient(125% 190% at 0% 100%, #000 10%, rgba(0, 0, 0, .42) 52%, rgba(0, 0, 0, 0) 92%);
}

/* ---------- 左：竖排书脊 ---------- */
.home-terminal__spine {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 15px;
  display: flex;
  /* ⛔ 必须 row（2026-11-03）：writing-mode: vertical-rl 下 flex 的 main 轴是「横向」，
     column 会把 SOURCE MARKET 与 源码交付 排成左右两列，第二列落到 15px 盒外 28.6px，
     被 aside 的 overflow:hidden 裁掉（桌面端整段不可见、620 档完全消失，只在 660–992
     因为 inner 居中留白才露出来）。row = 沿文字方向自上而下，单列总高 166px，
     桌面 aside 232 / 平板 245 都装得下。 */
  flex-direction: row;
  align-items: center;
  gap: 9px;
  writing-mode: vertical-rl;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 8px;
  letter-spacing: .26em;
  color: #a6acb9;
  z-index: 2;
}
.home-terminal__spine::before {
  content: '';
  width: 1px;
  height: 26px;
  background: linear-gradient(180deg, rgba(66, 61, 255, .55), rgba(66, 61, 255, .06));
}
.home-terminal__spine b { font-weight: 400; }
.home-terminal__spine em { font-style: normal; color: #7d84f0; letter-spacing: .18em; }

/* ---------- 左：文案栏 ---------- */
.home-terminal__poster {
  position: absolute;
  left: 40px;
  top: 20px;
  width: 172px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.home-terminal__poster .home-code__slogan { position: static; }
.home-terminal__poster .home-code__slogan b {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -.4px;
  color: #14161a;
}
/* 荧光笔：在半行高处压一条品牌色淡带 */
.home-terminal__hl {
  background: linear-gradient(180deg,
    rgba(66, 61, 255, 0) 56%,
    rgba(66, 61, 255, .17) 56%,
    rgba(66, 61, 255, .17) 92%,
    rgba(66, 61, 255, 0) 92%);
  padding: 0 1px;
}
.home-terminal__en {
  display: block;
  margin-top: 9px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-style: normal;
  font-size: 9px;
  letter-spacing: .12em;
  color: #9aa1af;
}
.home-terminal__en::before { content: '✦'; color: #423dff; margin-right: 6px; font-size: 8px; }
/* 数据块：上细线 + 双列大数字 */
.home-terminal__stats {
  position: relative;
  display: flex;
  gap: 8px;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid rgba(20, 22, 26, .1);
}
.home-terminal__stats::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: #423dff;
  transform: rotate(45deg);
}
.home-terminal__stats > div { flex: 1 1 0; min-width: 0; }
.home-terminal__stats b {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.6px;
  color: #16181f;
}
.home-terminal__stats b em { font-style: normal; font-size: 11px; margin-left: 1px; letter-spacing: 0; }
.home-terminal__stats span { display: block; margin-top: 5px; font-size: 9px; color: #8a909c; }

/* ---------- 背景大字 ---------- */
.home-terminal__aside .home-code__deco {
  position: absolute;
  right: 6px;
  top: -6px;
  z-index: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 56px;
  font-weight: 700;
  line-height: .84;
  letter-spacing: -3px;
  color: rgba(66, 61, 255, .1);
  pointer-events: none;
  user-select: none;
}
.home-terminal__aside .home-code__deco--dark {
  top: 40px;
  right: 18px;
  color: rgba(20, 22, 26, .07);
}

/* ---------- 双窗叠放（原设计） ---------- */
.home-terminal__deck {
  position: absolute;
  left: 224px;
  right: 12px;
  top: 10px;
  z-index: 3;
}
.home-terminal__deck .home-code__win {
  position: absolute;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  /* 两窗等大：宽度取同一百分比、高度取同一固定值 */
  width: 69%;
  height: 118px;
}
.home-terminal__term-cursor {
  display: inline-block;
  width: 5px;
  height: 9px;
  vertical-align: -1px;
  background: #d4d4d4;
  animation: ht-term-cursor 1.1s step-end infinite;
}
@keyframes ht-term-cursor { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.home-terminal__deck .home-code__win--code {
  left: 0;
  top: 0;
  transform: rotate(-2.2deg);
  z-index: 3;
  background: #fff;
  box-shadow: 0 14px 26px -14px rgba(20, 22, 26, .38), 0 2px 6px rgba(20, 22, 26, .05);
}
.home-terminal__deck .home-code__win--term {
  left: 28%;
  top: 84px;
  transform: rotate(1.6deg);
  z-index: 4;
  background: #16181f;
  border-color: rgba(255, 255, 255, .14);
  box-shadow: 0 20px 34px -16px rgba(20, 22, 26, .55);
}
.home-terminal__deck .home-code__win-bar { padding: 6px 9px; }
.home-terminal__deck .home-code__win-body { padding: 6px 9px; line-height: 1.62; }
/* 行号栏：CSS 计数器生成，只有代码窗有 */
.home-terminal__deck .home-code__win--code .home-code__win-body { counter-reset: ht-ln; padding-left: 22px; }
.home-terminal__deck .home-code__win--code .home-code__win-body > div { position: relative; }
.home-terminal__deck .home-code__win--code .home-code__win-body > div::before {
  counter-increment: ht-ln;
  content: counter(ht-ln);
  position: absolute;
  left: -22px;
  width: 13px;
  text-align: right;
  color: #c2c8d4;
}


@media (max-width: 992px) {
  .home-code__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 标题区保持单行（2026-11-03）：原 column 把「浏览全部源码」挤到第三行左侧、head 高 139.8。
     实测单行只需 353.8（左块 221.8 + 按钮 112 + gap 20），620 档可用 592 → 用 wrap，
     真放不下才换行，且按钮恒靠右。改后 head 139.8 → 88（−51.6），620 仍是一行。 */
  .home-code__head { flex-direction: row; flex-wrap: wrap; align-items: center; }
  /* 无封面卡的预览兜底（2026-11-03）：骨架块（文件名 + 4 条 3px 线）恒 41px 高，
     2 列档预览 267 高时 85% 是空色块（1440 也有 75%，10/10 商品均无 cover_image）。
     :has 只在「没有封面」时命中 → 后台上传封面后自动失效、回到 16:9，无需回改。
     ⛔ 不能只写 max-height：会按 16:9 反推宽度（实测 474 → 302），预览右侧留白。 */
  .home-code__preview:has(.home-code__lines) { aspect-ratio: auto; height: 168px; }
  .home-terminal { flex-direction: column; }
  .home-terminal__main { flex: 0 0 auto; } /* 纵向堆叠时按内容高度，不吃 2/3 */
  .home-terminal__aside { flex: 0 0 auto; height: 244px; border-left: 0; border-top: 1px solid #e3e6ec; } /* 子元素绝对定位，纵向堆叠时必须给固定高 */
  /* 面板变全宽：内容定宽居中，避免左右两块被拉开成大片空白 */
  .home-terminal__aside-inner { max-width: 600px; margin: 0 auto; }
}
/* ≤767：收紧间距与字号。620 档可用宽 592 必须同时容下图标卡、两行文案、两组指标与按钮，
   且左侧留给 slogan 的宽度 ≥240（slogan 单行约 238），否则会折行把标题区撑高。 */
@media (max-width: 767px) {
  .home-code__head { gap: 16px; }
  .home-code__lead { gap: 10px; }
  .home-code__tile { width: 36px; height: 36px; border-radius: 10px; font-size: 12px; }
  .home-code__metrics { gap: 17px; }
  .home-code__stat { gap: 5px; padding-left: 17px; }
  .home-code__stat b { font-size: 18px; }
  .home-code__stat b i { font-size: 13px; }
  .home-code__btn { height: 32px; padding: 0 5px 0 13px; gap: 8px; font-size: 11px; }
  .home-code__ico { width: 22px; height: 22px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-terminal__caret { animation: none; }
  .home-terminal__body { max-height: none; overflow: visible; }
}

/* 无障碍兜底：减少动态时直接完整显示 */
@media (prefers-reduced-motion: reduce) {
  .home-terminal__line { width: auto; animation: none; }
  .home-terminal__cursor { opacity: 1; animation: none; }
  .home-terminal__live { opacity: 1; animation: none; }
}

/* ==================== 模块接缝 · 词带（2026-10-24 v4） ====================
   缝 1：经典航空斜纹分割线（源码站 → 专利 · 2026-10-24，纯 CSS 红蓝 45° 斜纹）
   缝 2：编辑式四行词带（位移随滚动进度，滚动即走、停即停） */

.airmail-seam {
    height: 12px;
    margin: 26px 0;
    border-radius: 2px;
    background: repeating-linear-gradient(45deg, #B93A32 0 4px, #F6F8FA 4px 9px, #33557E 9px 13px, #F6F8FA 13px 18px);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 130px, #000 calc(100% - 130px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 130px, #000 calc(100% - 130px), transparent 100%);
}

.type-seam {
    position: relative;
    height: 64px;
    margin: 0;
    overflow: hidden;
    z-index: 4;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 130px, #000 calc(100% - 130px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 130px, #000 calc(100% - 130px), transparent 100%);
}
.type-seam__track {
    position: absolute;
    left: 0;
    height: 14px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
}
.type-seam__track--1 { top: 4px; }
.type-seam__track--2 { top: 18px; opacity: .78; }
.type-seam__track--3 { top: 32px; }
.type-seam__track--4 { top: 46px; opacity: .78; }
.type-seam__track span {
    display: block;
    padding-right: 20px;
    font-size: 6px;
    line-height: 14px;
    letter-spacing: -.01em;
    font-weight: 600;
}
.type-seam__track b {
    color: #423DFF;
    font-weight: 600;
    opacity: .5;
}
.type-seam__track em {
    font-style: normal;
    font-weight: 500;
    color: #B7BECE;
    letter-spacing: .02em;
}
.type-seam__track i {
    font-style: normal;
    font-weight: 400;
    color: #C9CFDD;
    padding: 0 4px;
}

@media (prefers-reduced-motion: reduce) {
    .type-seam__track { transform: translate3d(-33.333%, 0, 0) !important; }
}
@media (max-width: 760px) {
    .airmail-seam { margin: 20px 0; }
}

/* ========== 商标模块 · 最新上架 + 注册流程（tm-new · 2026-10-25） ========== */
.tm-new {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #E9EDF7;
    box-shadow: 0 10px 30px rgba(40, 50, 120, .07);
}
.tm-new__top {
    position: relative;
    padding: 24px 30px 24px;
    background:
        radial-gradient(58% 60% at 10% 4%, rgba(124, 92, 255, .16), transparent 62%),
        radial-gradient(54% 56% at 92% 96%, rgba(94, 168, 255, .18), transparent 64%),
        linear-gradient(165deg, #F8F7FF 0%, #F1F4FE 55%, #EBF0FA 100%);
}
.tm-new__top::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(120, 132, 180, .16) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: .16;
    pointer-events: none;
}
.tm-new__head {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}
.tm-new__head-l { min-width: 0; }
.tm-new__eyebrow {
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    color: #8B93B8;
    letter-spacing: .3em;
}
.tm-new__h1 {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #191D3A;
    margin-top: 6px;
    letter-spacing: .01em;
}
.tm-new__stat {
    text-align: right;
    flex: 0 0 auto;
    padding-bottom: 2px;
}
.tm-new__stat span {
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 16px;
    color: #8B93B8;
}
/* 数字比标签大一档（2026-11-01 标签 15 时数字提到 17；2026-11-02 标签 16 → 18，
   始终保持 +2，否则数字失去强调层级） */
.tm-new__stat b { color: #5C50E8; font-size: 18px; }
.tm-new__stat b.is-up { color: #1E7B4D; }
.tm-new__stat em {
    display: block;
    font-style: normal;
    font-size: 11px;
    color: #9AA0BE;
    margin-top: 5px;
}
/* 「换一批」按钮（2026-11-01：替换原 <em>售出即下架 · 新标自动补位</em>，
   该文案与 .tm-new__foot 的「售出自动下架」重复，替换不丢信息）
   字号 14px（2026-11-01 用户两次上调：11→13→14），与「在售 N 件」的 15px 同屏协调；
   ⛔ .tm-new__stat 是 text-align:right，inline-flex 自然靠右。 */
.tm-new__shuffle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    padding: 0;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    color: #9AA0BE;
    cursor: pointer;
    transition: color .15s;
}
/* ⛔ 必须显式 inherit：.tm-new__stat span 会命中这里的 .tm-new__shuffle-tx（同为 span），
   把 color 写死成 #8B93B8、font-size 写死 12px、字体换成等宽 —— 结果就是
   「hover 时图标（currentColor）变紫、文字纹丝不动」（2026-11-01 用户实测反馈）。
   此处统一 inherit，让按钮自身的 color/font-size 成为唯一来源，hover 才能文字图标同步。 */
.tm-new__shuffle .tm-new__shuffle-tx {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
    letter-spacing: inherit;
    /* 失败时临时显示「重试」、到底时「已到底」——固定 3 字宽，避免按钮左右抖动 */
    min-width: 3em;
    text-align: center;
}
/* 触屏热区：垂直 ±8 / 水平 ±6（与 footer、notice-bar 同范式；按钮本高约 17px → 33px） */
.tm-new__shuffle::before {
    content: "";
    position: absolute;
    top: -8px;
    bottom: -8px;
    left: -6px;
    right: -6px;
}
.tm-new__shuffle:hover { color: #5C50E8; }
.tm-new__shuffle:disabled { cursor: default; }
.tm-new__shuffle-ico {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}
.tm-new__shuffle.is-loading {
    color: #5C50E8;
    opacity: .7;
}
/* 动画锁定期（600ms）：只禁点、外观不变 —— 若此时还显示 loading 的旋转图标，
   用户会以为「还在加载」，实际请求早已返回、正在播入场动画 */
.tm-new__shuffle.is-locked {
    cursor: default;
}
.tm-new__shuffle.is-loading .tm-new__shuffle-ico {
    animation: tmNewSpin .7s linear infinite;
}
@keyframes tmNewSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
/* 换批过渡：rail 淡出 → 替换卡片 → 淡入（.is-swapping 由 js 挂/摘） */
.tm-new__rail { transition: opacity .16s ease; }
.tm-new__rail.is-swapping { opacity: .35; }
/* ---- 换批入场：交错升起（2026-11-02 用户拍板 B 方案）----
   6 张卡依次上浮 14px 淡入，间隔 60ms、单项 300ms（总 600ms，行业建议 ≤800ms）。
   ⛔ 必须用独立的 `translate` 属性而不是 transform：`.tm-new__card` 已用
      `transform: translateY()` 做静态错落（第 3 张 is-center 抬 11px，第 2/4/5/6 张
      各偏移 1/-3/1/8px），transform 动画会把这套错落整个抹平。
      `translate` 与 `transform` 是叠加关系（先 translate 再 transform），互不覆盖。
   ⛔ 只在 .is-entering 存在时播：首屏服务端渲染的卡片不播，避免抢首屏。
   ⛔ 必须配 prefers-reduced-motion：用户开启减弱动效时直接给终态。 */
.tm-new__rail.is-entering .tm-new__card {
    animation: tmNewRise .3s ease-out both;
    animation-delay: calc(var(--i, 0) * 60ms);
}
.tm-new__rail.is-entering .tm-new__card:nth-child(1) { --i: 0; }
.tm-new__rail.is-entering .tm-new__card:nth-child(2) { --i: 1; }
.tm-new__rail.is-entering .tm-new__card:nth-child(3) { --i: 2; }
.tm-new__rail.is-entering .tm-new__card:nth-child(4) { --i: 3; }
.tm-new__rail.is-entering .tm-new__card:nth-child(5) { --i: 4; }
.tm-new__rail.is-entering .tm-new__card:nth-child(6) { --i: 5; }
@keyframes tmNewRise {
    from { opacity: 0; translate: 0 14px; }
    to   { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
    .tm-new__rail.is-entering .tm-new__card { animation: none; }
}
/* 无障碍播报区（视觉隐藏，role=status + aria-live=polite） */
.tm-new__live {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.tm-new__rail {
    position: relative;
    display: flex;
    gap: 20px;
    align-items: stretch;
    justify-content: center;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%;
    margin: 22px auto 0;
}
.tm-new__card {
    position: relative;
    z-index: 1;
    flex: 0 0 150px;
    min-width: 0;
    display: block;
    background: #fff;
    border-radius: 14px;
    padding: 10px;
    text-decoration: none;
    transform: translateY(8px);
    box-shadow: 0 12px 26px -16px rgba(45, 55, 145, .22), 0 2px 6px -4px rgba(45, 55, 145, .12), inset 0 1px 0 #fff;
    transition: transform .32s cubic-bezier(.2, .8, .25, 1), box-shadow .32s;
}
.tm-new__card:nth-child(2) { transform: translateY(1px); }
.tm-new__card:nth-child(4) { transform: translateY(-3px); }
.tm-new__card:nth-child(5) { transform: translateY(1px); }
.tm-new__card:nth-child(6) { transform: translateY(8px); }
.tm-new__card:hover {
    transform: translateY(-14px);
    z-index: 3;
    box-shadow: 0 18px 34px -18px rgba(45, 55, 145, .26), 0 4px 10px -6px rgba(45, 55, 145, .14), inset 0 1px 0 #fff;
}
.tm-new__card.is-center {
    transform: translateY(-11px);
    z-index: 2;
    box-shadow: 0 20px 38px -18px rgba(45, 55, 145, .30), 0 5px 12px -6px rgba(45, 55, 145, .16), inset 0 1px 0 #fff;
}
.tm-new__card.is-center:hover {
    transform: translateY(-20px);
}
.tm-new__flag {
    position: absolute;
    left: 15px;
    top: 15px;
    z-index: 2;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #5C50E8, #7C5CFF);
    border-radius: 4px;
    padding: 3px 7px;
    letter-spacing: .12em;
    box-shadow: 0 4px 10px rgba(92, 80, 232, .38);
}
.tm-new__fig {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 104px;
    border-radius: 9px;
    background: #fff;
    border: 1px solid #EDF0F8;
    overflow: hidden;
}
.tm-new__fig img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 4px;
    box-sizing: border-box;
    transition: transform .32s cubic-bezier(.2, .8, .25, 1);
}
.tm-new__card:hover .tm-new__fig img { transform: scale(1.04); }
.tm-new__fig-name {
    display: none;
    font-family: Georgia, 'Songti SC', serif;
    font-size: 20px;
    font-weight: 700;
    color: #16171C;
    padding: 0 10px;
    text-align: center;
    line-height: 1.25;
}
.tm-new__fig.is-fallback img { display: none; }
.tm-new__fig.is-fallback .tm-new__fig-name { display: block; }
.tm-new__meta {
    display: block;
    padding: 9px 4px 2px;
}
.tm-new__meta b {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #191D3A;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tm-new__meta-r {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 6px;
}
.tm-new__price {
    font-style: normal;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 15px;
    font-weight: 700;
    color: #5C50E8;
    letter-spacing: .01em;
}
.tm-new__meta em {
    flex: 0 0 auto;
    font-style: normal;
    font-size: 10.5px;
    color: #8B93B8;
    background: #F3F5FB;
    border-radius: 4px;
    padding: 2px 6px;
    white-space: nowrap;
}
.tm-new__foot {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    /* 与卡片组等宽（6 × 170 + 5 × 20 = 1120），改卡片尺寸时同步 */
    width: 100%;
    max-width: 1120px;
    margin: 32px auto 0;
}
.tm-new__foot span {
    font-size: 13px;
    color: #8B93B8;
}
/* 查看全部：描边胶囊（2026-11-01 用户拍板 B 方案）
   原为黑底实心胶囊 —— 在浅紫渐变面板里是唯一的深色块，窄屏 foot 纵向堆叠后
   独占一行显得过重。改描边：默认透明底 + 深色字 + 1px 淡描边（轻），
   hover 反相填充（保留「这是个按钮」的点击暗示，不影响入口权重）。
   ⛔ 文案已去掉重复的在售件数（右上角 stat 已有「在售 N 件」）。 */
.tm-new__allbtn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: #191D3A;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid rgba(25, 29, 58, .22);
    border-radius: 999px;
    box-sizing: border-box;
    height: 42px;
    padding: 0 20px;
    text-decoration: none;
    transition: background .18s, border-color .18s, color .18s, transform .18s;
}
/* 斜向箭头（2026-11-01 用户选 C）：↗ 表示「去往另一个页面」，该链接确实新窗口
   打开商标频道。用 SVG 而非字符 →，避免不同字体下箭头粗细/基线漂移。 */
.tm-new__allbtn-ico {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    transition: transform .18s;
}
.tm-new__allbtn:hover {
    background: #191D3A;
    border-color: #191D3A;
    color: #fff;
    transform: translateY(-1px);
}
.tm-new__allbtn:hover .tm-new__allbtn-ico { transform: translate(2px, -2px); }
/* 注册区 · 单行横条（标语 + 四步链 + 价格/周期 + 按钮 · 2026-10-25 v3 重设计） */
/* ---- 商标注册条（2026-11-02 重构） ----
   结构：grid 三列 [品牌区 hd = tag + main] [四步链 flow] [按钮]，space-between 撑开。
   字号：全部整数 px——此前 10.5 / 11.5 这类半像素在 Windows 上会落到渲染取整的边界，
         同一行里的「起」「全程」「即时出结果」看起来会一大一小。
   间距：--reg-pad-x 单点定义左右内距，tag 与右侧正文的间距**复用同一个变量**：
         「tag 到正文 = 左边距」在任何断点自动成立，不需要两处手改。
   居中：hd 用 align-items:center（tag 相对两行正文居中，故不再需要 margin-top 顶位），
         main 与 flow 各自在列内垂直居中。 */
.tm-new__reg {
    --reg-pad-x: 24px;
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-top: 1px solid #E8EBF4;
    padding: 24px var(--reg-pad-x);
}
/* A · 品牌区：标签 + 主文案（标语 + 事实行） */
.tm-new__reg-hd {
    display: flex;
    align-items: center;
    gap: var(--reg-pad-x);
    min-width: 0;
}
.tm-new__reg-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.tm-new__reg-tag {
    flex: 0 0 auto;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: .04em;
    color: #5C50E8;
    background: #F1EFFE;
    border-radius: 7px;
    padding: 4px 9px;
}
.tm-new__reg-slogan {
    font-size: 18px;
    font-weight: 700;
    color: #171A33;
    letter-spacing: .01em;
    line-height: 1.25;
    white-space: nowrap;
}
.tm-new__reg-slogan em {
    font-style: normal;
    color: #5C50E8;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .tm-new__reg-slogan em {
        background: linear-gradient(92deg, #5C50E8 0%, #8E6BFF 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
}
.tm-new__reg-facts {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}
/* 「·」由 CSS 生成：DOM 里不再放 <span class="dot">（少 2 个节点、少 1 个类）。
   ⛔ 用 ::after 挂在**前一项**而不是 ::before 挂后一项——窄档换行时「·」留在行尾，
      不会出现「· 一标一类…」这种行首悬空的分隔符。 */
.tm-new__reg-facts > *:not(:last-child)::after {
    content: "·";
    margin-left: 5px;
    font-size: 13px;
    color: #C8CDDF;
    /* 基线对齐下「·」会贴到行底、看起来像句号：抬 2px 落到视觉中线
       （实测不抬时中点比中文视觉中心低约 3px） */
    position: relative;
    top: -2px;
}
.tm-new__reg-price {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 18px;
    font-weight: 700;
    color: #5C50E8;
    text-decoration: none;
    letter-spacing: -.01em;
    transition: color .15s;
}
.tm-new__reg-price i {
    font-style: normal;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    margin-left: 2px;
    color: #9A93D8;
}
.tm-new__reg-price:hover { color: #7C5CFF; }
.tm-new__reg-days {
    font-size: 13px;
    color: #8B93B8;
}
.tm-new__reg-days b {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 15px;
    font-weight: 700;
    color: #191D3A;
    margin: 0 2px 0 3px;
    letter-spacing: -.01em;
}
.tm-new__reg-note {
    font-size: 13px;
    color: #A3A9C2;
}
/* B · 四步链：轻量、无底块，箭头分隔 */
.tm-new__reg-flow {
    display: flex;
    align-items: flex-start;
    align-self: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tm-new__flow-step {
    position: relative;
    flex: 0 0 auto;
    padding-left: 24px;
}
.tm-new__flow-step:first-child { padding-left: 0; }
.tm-new__flow-step + .tm-new__flow-step::before {
    content: "›";
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    text-align: center;
    font-size: 15px;
    line-height: 24px;
    color: #B7C0D9;
}
.tm-new__flow-top {
    display: flex;
    align-items: center;
    gap: 6px;
}
.tm-new__flow-top i {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #F2EFFE;
    color: #5C50E8;
    font-style: normal;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.tm-new__flow-top b {
    font-size: 15px;
    font-weight: 700;
    color: #191D3A;
    white-space: nowrap;
}
.tm-new__flow-note {
    display: block;
    /* 30 = 序号圈 24 + 间距 6（原来按 20 的圈写成 26，圈一放大就会错位） */
    margin: 5px 0 0 30px;
    font-size: 13px;
    color: #9AA0BE;
    white-space: nowrap;
}
.tm-new__flow-step.is-slow > .tm-new__flow-note {
    color: #5C50E8;
    font-weight: 600;
}
.tm-new__flow-step.is-done .tm-new__flow-top i {
    background: #E8F5F0;
    color: #1E7B4D;
}
/* C · 主按钮 */
.tm-new__reg-btn {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #5C50E8, #7C5CFF);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 20px -8px rgba(92, 80, 232, .7);
    transition: transform .18s, box-shadow .18s;
}
/* 放大镜（2026-11-01）：语义=检索近似商标，与「查看全部」的 ↗ 区分开；
   两者同为 14×14 线性图标、stroke 1.5、currentColor，hover 反相/位移各自成立。 */
.tm-new__reg-btn-ico {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    transition: transform .18s;
}
.tm-new__reg-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px -10px rgba(92, 80, 232, .8);
}
.tm-new__reg-btn:hover .tm-new__reg-btn-ico { transform: scale(1.1); }
/* ---- ≤1120：三列放不下，改「品牌区」整行 + 「四步链 ｜ 按钮」一行 ----
   2026-11-02 实测（flow 15/13、facts 13、按钮 15px 档）：三列需要 1102px 的 reg 宽
   （品牌区 452 + 四步链 441 + 按钮 121 + 列距 40 + 注册条自身内距 48）。
   ⛔ reg 宽不是简单的 vw−48：`.container` 在 ≥1180 时 max-width 变为 94vw
     （1180 档容器 1109.2px，1180 恰是 .94 阶梯起点），1180 以下才是全宽——
     所以三列的可行下界是「1104（全宽档）与 1174.5（.94 档）的较小者」，1080-1120 一带
     全宽档先满足。上界 1120 = 首个可容纳点 1104 + 16px 余量；**字号/内距每变一次，
     必须重测 452 / 441 / 121 并重算上下界**。
   2026-11-02 第二形态（tm-new 3×2 网格）：下界自 981 下探到 761 —— 竖屏 768 档
     reg 两行需求 = flow 441 + btn 121 + column-gap 24 + 自身内距 48 = 634 ≤ 720
     （reg 可用 = 768 − 48），余 86px；≤760（620 布局宽）flow 582 + btn 121 装不下，
     由下方 760 块恢复单列（areas 必须显式覆盖，见彼处注释）。 */
@media (max-width: 1120px) {
    .tm-new__reg {
        grid-template-columns: minmax(0, 1fr) auto;
        /* 第一行品牌区独占整宽（事实行必然单行）；第二行左侧四步链、右侧按钮——
           按钮本来就是「第 1 步免费查重」的 CTA，与流程同排比吊在第一行更顺，
           也避免第二行右侧留出半屏空白 */
        grid-template-areas:
            "hd   hd"
            "flow btn";
        justify-content: stretch;
        row-gap: 12px;
        column-gap: var(--reg-pad-x);
    }
    .tm-new__reg-hd { grid-area: hd; }
    .tm-new__reg-flow { grid-area: flow; }
    .tm-new__reg-btn { grid-area: btn; }
}
@media (max-width: 1180px) {
    .tm-new__card { flex: 1 1 0; }
    .tm-new__meta b { font-size: 13.5px; }
    .tm-new__price { font-size: 14px; }
}
@media (max-width: 980px) {
    /* ---- 第二种形态（2026-11-02 用户拍板）：rail 3 列 × 2 行网格替代横滚 ----
       body min-width:620（index.css:11）使 ≤619 视口（折叠屏外屏 344/360、小手机）
       全部按 620 布局宽渲染 → 本档一个断点同时覆盖 iPad 竖屏（768/834）、平板竖屏、
       折叠屏展开（717/808）与手机（620 布局宽）；卡宽 188（620 档）~297（980 档）。
       ⛔ 横滚三件套（overflow-x:auto / justify-content:flex-start / padding 兜底）
          随横滚形态整体退役；grid 子项 flex 失效，card 的 flex 覆盖一并删除。
       ⛔ hover 上浮 -14 → -6：2 行网格里 -14 会把卡片压进上一行（z-index 叠不住观感）。 */
    .tm-new__rail {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* gap 与 top/reg 的左右内距对齐（2026-11-02 用户指定）：761-980=24、≤760=18 */
        gap: 24px;
        /* ⛔ 基础规则 width:fit-content 会把 grid 容器收缩到内容宽（1fr 退化为
           max-content，实测 768 档 rail 只占 549.9 / 卡 174）——必须显式撑满，
           3 列才真正均分容器宽（768 档 706 / 卡 226） */
        width: 100%;
    }
    .tm-new__card,
    .tm-new__card:nth-child(2),
    .tm-new__card:nth-child(4),
    .tm-new__card:nth-child(5),
    .tm-new__card:nth-child(6),
    .tm-new__card.is-center { transform: none; }
    /* is-center 的增强阴影是桌面「抬升 -11px」的视觉支撑；网格里抬升已取消
       （transform:none），强阴影失去语义 → 重置回普通卡阴影（2026-11-02 用户确认）。
       ⛔ 特异性与基础 is-center 同为 (0,2,0)，靠源顺序覆盖。 */
    .tm-new__card.is-center {
        box-shadow: 0 12px 26px -16px rgba(45, 55, 145, .22), 0 2px 6px -4px rgba(45, 55, 145, .12), inset 0 1px 0 #fff;
    }
    .tm-new__card:hover,
    .tm-new__card.is-center:hover { transform: translateY(-6px); }
    /* 卡宽 226~297（761-980）：fig 104 偏扁，提 128 让商标图更大（≤760 回 104） */
    .tm-new__fig { height: 128px; }
    /* ---- ≤980（3×2 网格情景）reg 四稿（2026-11-02，方案 C + 价格右上；三稿的
       facts absolute 下沉有死结——price 嵌在 positioned 的 facts 内，其包含块是
       facts 而非 reg，top/right 全部落空且与 slogan 重叠）----
       正解 = display:contents 拆透传盒：hd/main/facts 三层容器盒在 ≤980 透明化，
       tag/slogan/price/days/note/flow/btn 七元素直接成为 reg 网格项——
         行 1 = tag + slogan + price（右上，回到方案 C 设计稿行 1 形态）
         行 2 = 四步等宽 chip 卡
         行 3 = days + note（事实行）左 + CTA 右
       无锚点公式：price 行 1 内垂直居中（line-height=行高）、facts 两项与 btn 由
       align-items:center 自动垂直居中；行 1/行 3 高度变化自适应。
       ⛔ contents 后 facts 的 flex gap 失效 → days/note 间距由 column-gap 提供；
       ⛔ price 的「·」分隔点（facts > :not(:last-child)::after）要显式清掉，
         须与基础同 specificity（0,2,1）靠源顺序覆盖；
       ⛔ 981-1120 桌面窄窗仍走 1120 块（areas hd/flow/btn），桌面 contents 不生效。 */
    .tm-new__reg {
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "tag   slogan price"
            "flow  flow   flow"
            "days  note   btn";
        gap: 12px;
    }
    .tm-new__reg-hd,
    .tm-new__reg-main,
    .tm-new__reg-facts { display: contents; }
    .tm-new__reg-tag { grid-area: tag; justify-self: start; }
    .tm-new__reg-slogan { grid-area: slogan; }
    .tm-new__reg-price { grid-area: price; justify-self: end; line-height: 30px; }
    .tm-new__reg-facts > .tm-new__reg-price::after { content: none; }
    .tm-new__reg-flow { grid-area: flow; }
    .tm-new__reg-days { grid-area: days; justify-self: start; }
    .tm-new__reg-note { grid-area: note; }
    .tm-new__reg-btn { grid-area: btn; justify-self: end; }
    /* top 左右内距与 reg 对齐（用户指定 30→24）；foot margin-top 32→18（≤980，桌面不动） */
    .tm-new__top { padding-left: 24px; padding-right: 24px; }
    .tm-new__foot { margin: 18px auto 0; }
    /* 四步 chip 化：等宽浅紫圆角卡；序号圈改实心深紫白字 18；箭头「›」退役；
       实质审查（is-slow）描边强调；公告下证（is-done）绿底白字 */
    .tm-new__reg-flow { gap: 10px; }
    .tm-new__flow-step {
        flex: 1 1 0;
        padding: 9px 8px 8px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        background: #F6F5FE;
        border-radius: 10px;
    }
    .tm-new__flow-step + .tm-new__flow-step::before { content: none; }
    /* ⛔ 基础 :first-child{padding-left:0} 的 (0,2,0) 会压过上面的 padding shorthand
       (0,1,0)，首 chip 左内距归零比其余窄 8px——显式补齐 */
    .tm-new__flow-step:first-child { padding-left: 8px; }
    .tm-new__flow-top { gap: 6px; }
    .tm-new__flow-top i { width: 18px; height: 18px; font-size: 11px; background: #5C50E8; color: #fff; }
    .tm-new__flow-step.is-done .tm-new__flow-top i { background: #1E7B4D; color: #fff; }
    .tm-new__flow-top b { font-size: 13px; }
    .tm-new__flow-note { margin: 0; font-size: 11px; }
}
@media (max-width: 760px) {
    .tm-new { border-radius: 14px; }
    .tm-new__top { padding: 16px 18px 14px; }   /* 左右 14→18 与 reg 对齐（2026-11-02） */
    .tm-new__eyebrow { letter-spacing: .22em; }
    /* head/foot 保持桌面单行（2026-11-02 定稿）：body min-width:620 后 ≤760 全部按
       ≥620 布局宽渲染，离屏实测 head 单行 392.7 / foot 单行 475.3 ≤ 592。
       历史上的 column 纵排是横滚时代（真实 ~360 视口）的遗产，正是「在售/换一批
       跑到左边、查看全部掉到左下」的根因；删除后 stat 回右上、按钮回右下，
       竖屏首屏净省 ~93px（head 124→62、foot 73→42）。 */
    .tm-new__card { padding: 8px; }
    .tm-new__fig { height: 104px; }
    .tm-new__rail { gap: 18px; }   /* 与 top/reg 内距 18 对齐（2026-11-02） */
    .tm-new__meta b { font-size: 13px; }
    .tm-new__price { font-size: 13.5px; }
    .tm-new__reg {
        --reg-pad-x: 18px;
        padding: 16px var(--reg-pad-x);
    }   /* 布局（contents 拆盒 / areas / chips / 对齐）全部继承 980 块，内距收 18 */
    .tm-new__reg-slogan { font-size: 17px; white-space: normal; }
    .tm-new__reg-days b { font-size: 14px; }
}


/* ========== 竖置（portrait）：轮播 16:9 + 取消服务区上叠（2026-10-31 定稿） ==========
   实测依据（净可见＝轮播高 − header 遮挡 − 服务区上叠）：
     改前 834 竖 282−108−89 = 85px（7.1%）、1024 竖 347−122−109 = 116px（8.5%）——
     比手机（126~157）还扁；根因是 2.955 宽幅比例 + fixed header + 服务区上叠三重夹击。
   定稿 16:9：620→349 / 768→432 / 834→469 / 1024→576，净可见占屏 30.0%~33.2%，
     首屏仍能完整看到服务区（最紧的 768 档余 14px）。
     再往上 3:2 会让 768 档服务区差 66px 露不全、画面开始切头；4:3 三档露不全 —— 实测均已否决。
   ⛔ 竖版素材由后台「竖版图」上传（1240×698）；未上传时 <picture> 自动回退横版，左右各裁约 20%。
   ⛔ 只按 orientation 判定、不看宽度：折叠屏横置 808×673 仍走 2.955（2:1 会占满 44% 屏高）。
   ⛔ ≥1600 的竖屏（罕见）仍被上方 max-height:650 封顶，属预期保护。 */
@media (orientation: portrait) {
    .swiper { aspect-ratio: 16 / 9; }
    .service-hub { margin-top: 0; }
}

/* ========== 首页四板块大标题统一（2026-11-04） ==========
   基准：24px / 700 / letter-spacing .01em（2026-11-04 用户拍板 26 → 24，
   head 各省 2–3px 且更贴 section 标题惯例；26 观感与 24 等价，见当日对比记录）。
   四个板块（tm-new 商标 / patent-search 专利 / home-code 现成业务系统 /
   knowledge-orb 问知星球）的桌面字号、字重、字距已分别对齐到该基准；
   小屏统一在下面一处收口——≤767 全部降到 19px。
   ⛔ 改标题字号只改这里与四个模块各自的桌面声明，不要在别处再写第四套值；
      home-code 原 ≤767 的 20px、tm-new 原 ≤760 的 19px 均已删除，避免双份覆盖。 */
@media (max-width: 767px) {
  .tm-new__h1,
  .patent-search__h1,
  .home-code__title,
  .knowledge-orb__title { font-size: 20px; }
  /* 标题行从 30px（24×1.25）缩到 25px（20×1.25），右侧出口链接的
     align-self:flex-start + margin-top 必须跟着收，否则居中差会拉大 */
  .knowledge-orb__more { margin-top: 2px; }
}
