.nodes-detail {
    padding: 16px 0 34px;
}

.nodes-detail__hero {
    padding-top: 10px;
}

.nodes-detail__layout {
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    align-items: start;
}

.nodes-detail__main,
.nodes-detail__sidebar {
    min-width: 0;
}

.nodes-detail__sidebar-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.nodes-detail__panel {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(17, 26, 33, 0.98) 0%, rgba(11, 18, 24, 0.98) 100%);
}

.nodes-detail__main {
    display: grid;
    gap: 16px;
}

.nodes-detail__sidebar {
    display: grid;
    gap: 14px;
}

.nodes-detail__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nodes-detail__package {
    color: #93a6b0;
    font-size: 13px;
}

.nodes-detail__intro h1,
.nodes-detail__section-head h2,
.nodes-detail__hot-item strong,
.nodes-detail__side-item strong,
.nodes-detail__param-name strong {
    margin: 0;
}

.nodes-detail__intro h1 {
    margin-top: 14px;
    font-size: 34px;
    line-height: 1.18;
    font-weight: 700;
}

.nodes-detail__meta {
    margin-top: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    color: #b9c8cf;
    font-size: 14px;
}

.nodes-detail__meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nodes-detail__summary {
    margin: 18px 0 0;
    color: #dce6eb;
    font-size: 15px;
    line-height: 1.9;
}

.nodes-detail__section-head {
    margin-bottom: 18px;
}

.nodes-detail__section-head h2 {
    font-size: 20px;
    font-weight: 700;
}

.nodes-detail__section-head p {
    margin: 10px 0 0;
    color: #8fa1ab;
    font-size: 14px;
    line-height: 1.75;
}

.nodes-detail__node-compare {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px;
}

.nodes-detail__node-label {
    margin-bottom: 12px;
    color: #dce6eb;
    font-size: 14px;
    font-weight: 600;
}

.nodes-detail__node-column {
    padding: 0 18px;
}

.nodes-detail__params {
    display: grid;
    gap: 16px;
}

.nodes-detail__param-block {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
}

.nodes-detail__param-title {
    min-height: 46px;
    padding: 0 16px;
    color: #091510;
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, #2fe29d 0%, #25c88d 100%);
    display: flex;
    align-items: center;
}

.nodes-detail__param-row {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nodes-detail__param-name,
.nodes-detail__param-desc {
    padding: 14px 16px;
}

.nodes-detail__param-name {
    background: rgba(255, 255, 255, 0.03);
    display: grid;
    gap: 6px;
}

.nodes-detail__param-name span {
    color: #92a3ad;
    font-size: 12px;
}

.nodes-detail__param-desc {
    color: #d8e2e8;
    font-size: 14px;
    line-height: 1.75;
}

.nodes-detail__rich-content {
    color: #d9e4ea;
    font-size: 15px;
    line-height: 1.9;
}

.nodes-detail__rich-content h1,
.nodes-detail__rich-content h2,
.nodes-detail__rich-content h3,
.nodes-detail__rich-content h4 {
    margin: 1.3em 0 0.7em;
    color: #f4f8fb;
}

.nodes-detail__rich-content p,
.nodes-detail__rich-content ul,
.nodes-detail__rich-content ol,
.nodes-detail__rich-content pre,
.nodes-detail__rich-content blockquote {
    margin: 0 0 1em;
}

.nodes-detail__rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.nodes-detail__rich-content pre {
    padding: 16px;
    border-radius: 12px;
    overflow: auto;
    background: rgba(255, 255, 255, 0.04);
}

.nodes-detail__rich-content blockquote {
    padding: 14px 16px;
    border-left: 3px solid #2fe29d;
    border-radius: 0 10px 10px 0;
    color: #b7c8d0;
    background: rgba(47, 226, 157, 0.06);
}

.nodes-detail__side-list,
.nodes-detail__hot-list {
    margin-top: 14px;
    display: grid;
    gap: 12px;
}

.nodes-detail__toc {
    margin-top: 14px;
    display: grid;
    gap: 8px;
}

.nodes-detail__toc-link {
    color: #d7e2e8;
    font-size: 13px;
    line-height: 1.6;
}

.nodes-detail__toc-link.is-sub {
    padding-left: 14px;
    color: #96a7b0;
}

.nodes-detail__side-item {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    display: grid;
    gap: 10px;
}

.nodes-detail__side-item strong {
    font-size: 14px;
    line-height: 1.5;
}

.nodes-detail__side-item p {
    margin: 0;
    color: #8ea0aa;
    font-size: 13px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nodes-detail__side-item em,
.nodes-detail__hot-item em {
    color: #b7c8d0;
    font-style: normal;
    font-size: 12px;
}

.nodes-detail__hot-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.nodes-detail__hot-item > span {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    color: #08140f;
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(135deg, #2fe29d 0%, #25c88d 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nodes-detail__hot-item div {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nodes-detail__hot-item strong {
    font-size: 14px;
    line-height: 1.45;
}

.nodes-detail__pager {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.nodes-detail__pager-item {
    min-height: 110px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    display: grid;
    align-content: start;
    gap: 10px;
}

.nodes-detail__pager-item span,
.nodes-detail__pager-item em {
    color: #8ea1ab;
    font-size: 12px;
    font-style: normal;
}

.nodes-detail__pager-item strong {
    color: #edf5f9;
    font-size: 15px;
    line-height: 1.6;
}

.nodes-detail__pager-item.is-empty strong {
    color: #9fb1ba;
    font-size: 14px;
}

/* 保留原有的模拟节点渲染方法 */
.nodes_items_k {
    width: 100%;
    max-width: 420px;
    min-width: 0;
    background: #333333;
    border-radius: 12px;
    margin: 0 auto;
    padding-bottom: 20px;
    overflow: hidden;
}

.nodes_items_title {
    width: 100%;
    float: left;
    padding: 12px 20px;
    border-bottom: 1px solid #2a2a2a;
    color: #a3b3bc;
    font-size: 14px;
}

.nodes_items_more_k {
    width: 100%;
    float: left;
    margin-bottom: 10px;
}

.nodes_items_more_left,
.nodes_items_more_right {
    width: 50%;
}

.nodes_items_more_left {
    float: left;
}

.nodes_items_more_right {
    float: right;
}

.nodes_items_more_left li,
.nodes_items_more_right li {
    width: 100%;
    float: left;
    padding-top: 6px;
    font-size: 12px;
    color: #a6a6a6;
    list-style: none;
}

.nodes_items_more_left li {
    padding-left: 10px;
}

.nodes_items_more_right li {
    padding-right: 10px;
    text-align: right;
}

.nodes_items_more_kongjian {
    width: calc(100% - 20px);
    margin: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #222222;
    color: #878787;
    border: 1px solid #646464;
    padding: 5px 10px;
    border-radius: 999px;
}

.left-group,
.right-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.en-name {
    color: #d4d4d4;
}

.triangle-left {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid #fff;
}

.triangle-right {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #fff;
}

.node-status-box {
    width: calc(100% - 20px);
    margin: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #222222;
    color: #878787;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #555;
}

.status-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-right .status-text {
    color: #d4d4d4;
}

.nodes-items-input {
    width: calc(100% - 20px);
    float: left;
    margin: 10px;
    background: #222222;
    color: #b9b9b9;
    padding: 6px 12px;
    border: 1px solid #555;
    border-radius: 999px;
}

.nodes-items-input span {
    float: right;
    color: #d1d1d1;
}

.status-circle {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #6ee7b7;
    display: inline-block;
}

.nodes-upfile,
.nodes-text {
    width: calc(100% - 20px);
    margin: 10px;
    padding: 9px 12px;
    border: 1px solid #555;
    border-radius: 10px;
    color: #b9c8d0;
    background: #222222;
    font-size: 12px;
}

@media (max-width: 1200px) {
    .nodes-detail__layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .nodes-detail__node-compare {
        grid-template-columns: 1fr;
    }

    .nodes-detail__node-column {
        padding: 0;
    }

    .nodes-detail__param-row {
        grid-template-columns: 1fr;
    }

    .nodes-detail__pager {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nodes-detail__intro h1 {
        font-size: 28px;
    }

    .nodes-detail__panel {
        padding: 18px;
    }
}
