
.edt-page {
    position: relative;
    width: 100%;
    height: 1080px;
    overflow: hidden;
}

.edt-stage {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    /* background: #e9edf6; */
    overflow: hidden;
    transform-origin: center center;
    transform: translate(-50%, -50%) scale(1);
}

.edt-abs {
    position: absolute;
}


/* 3D 主图投影 */
/* .edt-sh-a {
    box-shadow: 0 4px 8.6px rgba(0, 0, 0, 0.25);
}

.edt-sh-b {
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
} */

/* 大标题（40px Arial Bold 居中） */
.edt-title {
    position: absolute;
    left: 50%;
    top: 55px;
    transform: translateX(-50%);
    font-family: Arial;
    font-weight: 700;
    font-size: 40px;
    color: #000000;
    text-align: center;
    white-space: nowrap;
    line-height: 1;
}

/* 分区标题（24px Arial Bold） */
.edt-sec-tag {
    position: absolute;
    font-family: Arial;
    font-weight: 700;
    font-size: 24px;
    color: #000000;
    white-space: nowrap;
    line-height: 1;
}

/* ---------- 锚点：产品缩略图圆点 + 文字 ----------
   对应 Figma「锚点设置」设计稿：每组锚点 = 46px 圆形产品图
   + 16px 雅黑文字标签；文字可在圆的左侧/右侧，垂直居中。
   left/top 由 JS 写为百分比，即圆点（46px）的中心位置；
   圆点内部为接口返回的分类封面图，无图时回退为蓝色圆环。 */
#edt-anchors .edt-anchor {
    position: absolute;
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    column-gap: 10px;
}
#edt-anchors .edt-anchor.txt-l{
    flex-direction: row-reverse;
}
/* 圆形产品图：占位 46x46，圆点中心 = 锚点定位点 */
#edt-anchors .edt-anchor .edt-dot {
    /* position: absolute;
    left: -23px;
    top: -23px; */
    width: 46px;
    height: 46px;
    display: block;
    background-color: #fff;
    border-radius: 50%;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* 设计稿导出的圆形锚点底图（无分类封面时的占位） */
#edt-anchors .edt-anchor .edt-dot img.edt-dot-ico {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#edt-anchors .edt-anchor .edt-dot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#edt-anchors .edt-anchor:hover .edt-dot,
#edt-anchors .edt-anchor.on .edt-dot {
    transform: scale(1.08);
    box-shadow: 0 0 0 4px rgba(47, 111, 224, 0.25), 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* 文字标签：与圆形 15px 间距，垂直居中于圆点 */
#edt-anchors .edt-anchor .edt-tx {
    /* position: absolute;
    top: -10px; */
    /* font-family: "Microsoft YaHei"; */
    font-weight: 400;
    font-size: 16px;
    color: #000000;
    line-height: 21px;
    white-space: nowrap;
    pointer-events: auto;
    cursor: pointer;
    text-shadow: 0 0 3px #ffffff, 0 0 3px #ffffff;
}

/* 文字在圆点右侧（默认） */
#edt-anchors .edt-anchor.txt-r .edt-tx {
    left: 38px; /* 23(半圆) + 15(间距) */
    text-align: left;
}

/* 文字在圆点左侧（锚点靠右时自动切换，防止文字出画布） */
#edt-anchors .edt-anchor.txt-l .edt-tx {
    right: 38px;
    text-align: right;
}

/* ---------- 产品面板：滚动区 + 产品行 ---------- */
.edt-union-scroll {
    /* position: absolute;
    left: 0; */
    min-width: 240px;
    /* box-sizing: border-box; */
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #fff;
    padding: 0 13px;
    max-height: 400px;
    border-radius: 8px;
    position: relative;
}

.edt-union-scroll::-webkit-scrollbar {
    width: 4px;
}
.edt-union-scroll::-webkit-scrollbar-track {
  background: #eee; /* 滚动条轨道背景色 */
  border-radius: 4px;
}
.edt-popup{
    position: relative;
}
.edt-popup::before {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    top: 72px;
    left: 2px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 18px solid #fff;  /* 箭头颜色 */
    border-radius: 3px;
    z-index: 40;
}
.edt-union-scroll::-webkit-scrollbar-thumb {
    background: #393185;
    border-radius: 2px;
}

.edt-union-row {
    display: flex;
    column-gap: 20px;
    padding: 0;
    box-sizing: border-box;
    border-bottom: 1px solid #f2f2f2;
    text-decoration: none;
    transition: background 0.15s ease;
    padding: 15px 0;
}
.edt-union-row  .img{
    width: 70px;
    height: 70px;
    aspect-ratio: 1/1;
    border: 1px solid #ECECEC;
}
.edt-union-row .img img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.edt-union-row:last-child {
    border-bottom: none;
}

.edt-union-row:hover {
    /* background: #f3f8ff; */
}

.edt-union-name {
    flex: 1 1 auto;
    padding-top: 6px;
    min-width: 0;
    font-family: "Microsoft YaHei";
    font-weight: 400;
    font-size: 16px;
    color: #333333;
    line-height: 1.3;
    word-break: break-word;
}

.edt-union-row:hover .edt-union-name {
    color: #2f6fe0;
}

/* ---------- 动效：放大镜上下浮动 ---------- */
@keyframes edtFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.edt-float {
    animation: edtFloat 3.4s ease-in-out infinite;
}

/* ---------- 动效：设备上的蒙版呼吸放大 ---------- */
@keyframes edtBreathe {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.09);
    }
}

.edt-breathe {
    animation: edtBreathe 2.6s ease-in-out infinite;
}

/* ---------- 引导线与箭头（合成背景层） ---------- */
.svg-wrap {
    position: absolute;
    /* left: 456px;
    top: 395px; */
    width: 1140px;
    height: 470px;
    left:18.1818%;top:35.1852%;
    /* width:45.5729%;height:42.037%; */
}

.svg-wrap svg {
    display: block;
    width: 100%;
    height: 100%;
}






/* 动画svg */
  /* ===== 左侧箭头：从上往下 ↓ ===== */
  .arrow-group-left {
    opacity: 0;
    animation: slideDown 7.5s linear infinite;
  }
  @keyframes slideDown {
    0%     { transform: translateY(-109px); opacity: 0; }
    3%     { opacity: 1; }
    30%    { opacity: 1; }
    33.33% { transform: translateY(0px);    opacity: 0; }
    33.34% { transform: translateY(-109px); opacity: 0; }
    100%   { transform: translateY(-109px); opacity: 0; }
  }

  /* ===== 底部箭头：从左往右 → ===== */
  .arrow-group-bottom {
    opacity: 0;
    animation: slideRight 7.5s linear infinite;
  }
  @keyframes slideRight {
    0%     { transform: translateX(-471px); opacity: 0; }
    33.33% { transform: translateX(-471px); opacity: 0; }
    36.33% { opacity: 1; }
    63.66% { opacity: 1; }
    66.66% { transform: translateX(0px);    opacity: 0; }
    66.67% { transform: translateX(-471px); opacity: 0; }
    100%   { transform: translateX(-471px); opacity: 0; }
  }

  /* ===== 右侧箭头：从下往上 ↑ ===== */
  .arrow-group-right {
    opacity: 0;
    animation: slideUp 7.5s linear infinite;
  }
  @keyframes slideUp {
    0%     { transform: translateY(161px);  opacity: 0; }
    66.66% { transform: translateY(161px);  opacity: 0; }
    69.66% { opacity: 1; }
    97%    { opacity: 1; }
    100%   { transform: translateY(-15px);  opacity: 0; }
  }

/* ==========================================================
   动态锚点层 / 产品弹层（由 js/index.js 按低码分类列表渲染）
   ----------------------------------------------------------
   #edt-anchors  整画布透明层：只负责承载锚点，自身不拦截鼠标
   #edt-popup    产品弹层：默认隐藏，悬浮锚点时显示
   ========================================================== */
#edt-anchors {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;     /* 铺满 .edt-stage 画布：锚点 left/top 按画布宽高百分比定位 */
    height: 100%;
    z-index: 30;
    pointer-events: none;   /* 整层不拦截，仅锚点自身可命中 */
}

/* 弹层容器：位置由 JS 按锚点坐标写入，默认隐藏 */
.edt-popup {
    display: none;
    position: absolute;
    z-index: 40;
    pointer-events: none;   /* 弹层本身不拦截，仅内部链接可命中 */
    padding: 20px;

}

.edt-popup.open {
    display: block;
}

/* 弹层内的产品行是链接，需要可点击（悬停弹层不清空） */
.edt-popup a {
    pointer-events: auto;
}

/* Union 面板白色卡片背景 */
.edt-pop-bg {
    position: absolute;
    display: block;
    left: 0;
    top: 0;
}

/* ==========================================================
   移动端布局（≤768px）
   ----------------------------------------------------------
   PC 与移动端是两套独立渲染：
   - PC    ：.edt-desktop（1920x1080 画布）由 renderAll 输出
   - 移动端：#edt-m 纵向分区卡片，由 renderMobile 输出
   两者共用同一份接口数据，只是视图不同。
   ========================================================== */

/* 移动端容器：桌面端不展示（DOM 仍渲染，便于窗口尺寸变化时即时切换） */
.edt-m {
    display: none;
}

.edt-m-dot {
    display: block;
    width: 24px;
    height: 24px;
    border: 2px solid #2fafff;
    border-radius: 50%;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    /* 1) 桌面画布整体让位 */
    .edt-desktop {
        display: none !important;
    }

    /* 模块外层的背景大图是给 1920x1080 画布做衬底的；移动端没有画布，
       cover 会把大图裁成一条竖窄条，这里去掉 */
    #c_static_001-1782875712500 .e_html-11 {
        background-image: none !important;
        min-height: 0;
    }

    /* 2) 移动端：标题 + 纵向分区卡片 */
    .edt-m {
        display: block;
        padding: 24px 16px 8px;
    }

    .edt-m-title {
        font-family: Arial;
        font-weight: 700;
        font-size: 22px;
        line-height: 1.3;
        color: #000000;
        margin: 0 0 20px;
    }

    .edt-m-card {
        margin-bottom: 18px;
        padding: 14px;
        background-color: #ffffff;
        border: 1px solid #eef1f6;
        border-radius: 12px;
    }

    .edt-m-sec {
        font-family: Arial;
        font-weight: 700;
        font-size: 17px;
        line-height: 1.3;
        color: #000000;
        margin: 0 0 12px;
    }

    .edt-m-hero {
        display: block;
        width: 100%;
        height: auto;
    }

    /* Intra Rack 为竖版图（252x448），满宽会过高，限宽居中 */
    .edt-m-hero--tall {
        max-width: 62%;
        margin: 0 auto;
    }

    /* 3) 锚点 -> 可点胶囊（触屏没有 hover，点击直接跳转，点击区 ≥32px 高） */
    .edt-m-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 12px;
    }

    .edt-m-item {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 10px 6px 6px;
        background-color: #ffffff;
        border: 1px solid #e6ebf5;
        border-radius: 999px;
        text-decoration: none;
    }

    .edt-m-item img {
        display: block;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        object-fit: cover;
        background-color: #f2f6ff;
    }

    .edt-m-item span {
        font-size: 13px;
        line-height: 1.2;
        color: #333333;
    }

    /* 触屏按压反馈（替代 PC 的锚点 hover 放大 + 光圈） */
    .edt-m-item:active {
        background-color: #f2f7ff;
        border-color: #2fafff;
    }
}

/* ==========================================================
   移动端产品抽屉（点胶囊弹出，替代 PC 的 hover 弹层）
   ----------------------------------------------------------
   触屏没有悬停阶段，PC 的 mouseenter 弹层在手机上不会触发。
   #edt-sheet 由 js 的 ensureSheet() 懒创建并挂在 body 下；
   样式不放进上面的媒体查询，避免横竖屏切换时抽屉中途失效。
   ========================================================== */
.edt-sheet {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    visibility: hidden;      /* 用 visibility 而非 display，保证滑出动画能播 */
    pointer-events: none;
}

.edt-sheet.open {
    visibility: visible;
    pointer-events: auto;
}

.edt-sheet-mask {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.edt-sheet.open .edt-sheet-mask {
    opacity: 1;
}

.edt-sheet-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    max-height: 76vh;
    background-color: #ffffff;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    transition: transform 0.28s ease;
}

.edt-sheet.open .edt-sheet-panel {
    transform: translateY(0);
}

.edt-sheet-head {
    position: relative;
    padding: 16px 48px 12px 16px;
    border-bottom: 1px solid #f0f2f5;
}

.edt-sheet-title {
    font-family: Arial;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    color: #000000;
}

.edt-sheet-close {
    position: absolute;
    right: 14px;
    top: 12px;
    width: 28px;
    height: 28px;
    line-height: 26px;
    text-align: center;
    font-size: 22px;
    font-style: normal;
    color: #999999;
}

.edt-sheet-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 0;           /* 允许在 flex 容器内收缩，超长时才出现内部滚动 */
    padding: 4px 16px 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));   /* 避开 iPhone 底部横条 */
}

.edt-sheet-row {
    display: flex;
    align-items: center;
    column-gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f2f2f2;
    text-decoration: none;
}

.edt-sheet-row:last-child {
    border-bottom: none;
}

.edt-sheet-row .img {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border: 1px solid #ececec;
}

.edt-sheet-row .img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.edt-sheet-row .name {
    font-size: 15px;
    line-height: 1.3;
    color: #333333;
    word-break: break-word;
}