.section-xwtp-content {
    width: 100%;
    background: url(../image/nav7.xwtp/bg.jpg?v=2.0) no-repeat center center;
    background-size: cover;
}


.xwtp-search-head-1 {
    /* font-family: SourceHanSerifCN-Heavy; */
    font-weight: bold;
    font-size: 32px;
    color: #121212;
    line-height: 46px;
    text-align: center;
    font-style: normal;
}

.xwtp-search-head-2 {
    /* font-family: SourceHanSerifCN-Regular; */
    font-weight: 400;
    font-size: 16px;
    color: #121212;
    line-height: 23px;
    letter-spacing: 4px;
    text-align: center;
    font-style: normal;
    margin-top: 12px;
}

.xwtp-search-input {
    flex: 1;
    height: 100%;
    font-size: 16px;
    /* font-family: SourceHanSerifCN-Regular; */
}

.xwtp-search-input::placeholder {
    color: #999999;
    font-size: 16px;
    /* font-family: SourceHanSerifCN-Regular; */
}

.xwtp-hot-search-box {
    margin-top: 12px;
    /* font-family: SourceHanSerifCN-Regular; */
    font-size: 16px;
}

.xwtp-hot-search-list span {
    cursor: pointer;
}


/* Side panels — floating over graph */
.graph-side-panel {
    position: absolute;
    top: 0;
    width: 180px;
    max-height: 100%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(153, 111, 102, 0.15);
    overflow-y: auto;
    padding: 16px 12px;
    /* font-family: SourceHanSerifCN-Regular; */
    z-index: 10;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.graph-left-panel {
    left: 0;
    border-radius: 0 10px 10px 0;
    border-left: none;
}

.graph-right-panel {
    right: 0;
    width: 260px;
    border-radius: 10px 0 0 10px;
    border-right: none;
}

.panel-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.panel-title {
    /* font-family: SourceHanSerifCN-Heavy; */
    font-size: 16px;
    color: #121212;
    margin-bottom: 16px;
}

.panel-title-bar .panel-title {
    margin-bottom: 0;
}

.panel-close {
    font-size: 20px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.panel-close:hover {
    color: #333;
}

.panel-bg {
    background-image: url(../image/nav7.xwtp/type-bg.webp?v=5.0);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center;
}

.panel-bg2 {
    background:
        url(../image/nav7.xwtp/info-bg-top.webp?v=5.0) top center no-repeat,
        /* 上部分 */
        url(../image/nav7.xwtp/info-bg-bottom.webp?v=5.0) bottom center no-repeat,
        /* 下部分 */
        url(../image/nav7.xwtp/info-bg-center.webp?v=5.0) center center repeat-y;
    /* 中间部分重复 */
    background-size:
        100% auto,
        /* 上部分宽度100%，高度自动 */
        100% auto,
        /* 下部分宽度100%，高度自动 */
        100% auto;
    /* 中间部分宽度100%，高度自动 */

    /* 关键：限制中间背景的重复区域 */
    background-clip:
        border-box,
        /* 上部分 */
        border-box,
        /* 下部分 */
        content-box;
    /* 中间部分只在内边距区域重复 */
}



/* Left type list — checkbox style */
.type-list-content .xwtp-menu-item {
    /* padding: 10px 12px; */
    /* margin-bottom: 6px; */
    /* border-radius: 6px; */
    font-size: 16px;
    /* font-family: SourceHanSerifCN-Regular; */
    line-height: 40px;
    color: #333333;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
}

.type-list-content .xwtp-menu-item:hover {
    background: rgba(153, 111, 102, 0.1);
}

.type-list-content .xwtp-menu-item.cur {
    background: rgba(153, 111, 102, 0.08);
    color: #996F66;
    /* font-family: SourceHanSerifCN-Heavy; */
}

.type-list-content .xwtp-menu-item-checkbox {
    position: relative;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
    border: 1.5px solid #996F66;
    border-radius: 3px;
    background: #fff;
    transition: border-color 0.2s, background 0.2s;
}

.type-list-content .xwtp-menu-item:hover .xwtp-menu-item-checkbox {
    border-color: rgba(153, 111, 102, 0.6);
}

.type-list-content .xwtp-menu-item.cur .xwtp-menu-item-checkbox {
    background: var(--type-color, #996F66);
    border-color: var(--type-color, #996F66);
}

.type-list-content .xwtp-menu-item.cur .xwtp-menu-item-checkbox::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 0px;
    width: 8px;
    height: 16px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.type-list-content .xwtp-menu-item-label {
    flex: 1;
}

/* Right node detail */
.node-detail-content .detail-node-name {
    /* font-family: SourceHanSerifCN-Heavy; */
    font-size: 18px;
    color: #121212;
    margin-bottom: 4px;
}

.node-detail-content .detail-node-type {
    font-size: 12px;
    color: #996F66;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(153, 111, 102, 0.2);
}

.node-detail-content .detail-prop-item {
    margin-bottom: 12px;
}

.node-detail-content .detail-prop-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 2px;
}

.node-detail-content .detail-prop-value {
    font-size: 14px;
    color: #333;
    word-break: break-all;
}

.node-detail-content .detail-explore-btn {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 8px 0;
    text-align: center;
    background: #996F66;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    /* font-family: SourceHanSerifCN-Regular; */
}

.node-detail-content .detail-explore-btn:hover {
    background: #7d5a52;
}


/* Graph styles */
.node circle {
    stroke: none;
    stroke-width: 0;
    cursor: pointer;
    transition: all 0.3s;
}

.node:hover circle {
    stroke-width: 0;
    filter: brightness(1.2);
}

.node.selected circle {
    stroke: #FF825C;
    /* stroke: rgba(0, 0, 0, 0.1); */
    stroke-width: 4px;
    /* fill: #FF825C; */
}

.node.neighbor-selected circle {
    /* stroke: #FFD700; */
    /* stroke: rgba(0, 0, 0, 0.1); */
    stroke: #FFB185;
    stroke-width: 4px;
    /* fill: #FFB185; */
}

.node.dimmed {
    opacity: 0.15;
}

.node.center circle {
    stroke: none;
    stroke-width: 0;
}

.node.center.selected circle {
    /* stroke: #ffffff; */
    /* stroke: rgba(0, 0, 0, 0.1); */
    stroke-width: 4px;
    stroke: #FF825C;
}

.node.center.neighbor-selected circle {
    /* stroke: #FFD700; */
    /* stroke: rgba(0, 0, 0, 0.1); */
    /* stroke: #ffffff; */
    stroke-width: 4px;
    stroke: #FFB185;
}

.node text {
    /* font-size: 18px; */
    /* fill: #121212; */
    text-anchor: middle;
    pointer-events: none;
    /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); */
    /* font-family: SourceHanSerifCN-Bold; */
    /* font-weight: bold; */
}

.links {
    stroke: #707070;
    stroke-width: 1.5px;
}

.edge.edge-selected .links {
    stroke: #996F66;
    stroke-width: 2.5px;
}

.edge.edge-dimmed {
    opacity: 0.1;
}

.links.highlight {
    /* stroke: #FFD700; */
    /* stroke: rgba(0, 0, 0, 0.1); */
    stroke: #ffffff;
    stroke-width: 3px;
}

.link-label {
    font-size: 12px;
    fill: #666666;
    text-anchor: middle;
    pointer-events: none;
    user-select: none;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2px 4px;
}