.nodes-library-page .circler-home__nav a.is-active {
    color: #f7fbff;
    position: relative;
}

.nodes-library-page .circler-home__nav a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -17px;
    height: 3px;
    border-radius: 999px;
    background: #2fe29d;
}

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

.nodes-library__hero {
    padding: 10px 0 0;
}

.nodes-library__breadcrumb {
    color: #8597a1;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nodes-library__hero-head {
    margin-top: 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.nodes-library__hero-title-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.nodes-library__hero-head h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
}

.nodes-library__hero-head p {
    margin: 0;
    color: #91a2ab;
    font-size: 14px;
}

.nodes-library__hero-actions {
    display: flex;
    gap: 12px;
}

.nodes-library__hero-actions a {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #d9e4ea;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.nodes-library__search-panel,
.nodes-library__side-card,
.nodes-library__card,
.nodes-library__parser-card,
.nodes-library__empty {
    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-library__search-panel {
    margin-top: 20px;
    padding: 18px 22px;
}

.nodes-library__search-panel--sidebar {
    margin-top: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.nodes-library__search-head {
    display: block;
}

.nodes-library__search-head strong,
.nodes-library__side-card h3,
.nodes-library__parser-copy h2,
.nodes-library__empty h3 {
    margin: 0;
}

.nodes-library__search-box {
    min-height: 56px;
    padding: 0 12px 0 18px;
    border: 1px solid rgba(47, 226, 157, 0.5);
    border-radius: 10px;
    background: rgba(6, 11, 16, 0.5);
    display: grid;
    grid-template-columns: 1fr 44px;
    align-items: center;
    gap: 10px;
}

.nodes-library__search-box input,
.nodes-library__sort-form select {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #eff7fb;
    background: transparent;
}

.nodes-library__search-box input {
    font-size: 14px;
}

.nodes-library__search-box input::placeholder {
    color: #738691;
}

.nodes-library__search-box button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 8px;
    color: #e6f4f8;
    background: transparent;
    font-size: 18px;
}

.nodes-library__content {
    padding-top: 14px;
}

.nodes-library__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 18px;
    align-items: start;
}

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

.nodes-library__side-card {
    padding: 16px;
}

.nodes-library__side-card h3 {
    font-size: 18px;
    font-weight: 700;
}

.nodes-library__count-list,
.nodes-library__checkbox-list,
.nodes-library__select-list,
.nodes-library__type-list {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.nodes-library__count-row,
.nodes-library__checkbox-list label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #d5e1e7;
    font-size: 14px;
}

.nodes-library__count-row em,
.nodes-library__checkbox-list em {
    color: #8ba0ab;
    font-style: normal;
}

.nodes-library__checkbox-list label {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.nodes-library__type-row {
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #d5e1e7;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
}

.nodes-library__type-row em {
    color: #8ba0ab;
    font-style: normal;
}

.nodes-library__type-row.is-active {
    color: #06140f;
    background: linear-gradient(135deg, #2fe29d 0%, #25c88d 100%);
    border-color: transparent;
}

.nodes-library__type-row.is-active em {
    color: rgba(6, 20, 15, 0.8);
}

.nodes-library__checkbox-list input {
    width: 14px;
    height: 14px;
    margin: 0;
}

.nodes-library__checkbox-list label span {
    flex: 1;
}

.nodes-library__select-list button {
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    color: #d7e2e8;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.nodes-library__select-list .is-secondary {
    justify-content: center;
}

.nodes-library__contribute {
    background:
        linear-gradient(180deg, rgba(17, 26, 33, 0.95) 0%, rgba(10, 17, 25, 0.98) 100%),
        url("/static/index/images/banner.png") center/cover;
}

.nodes-library__contribute p {
    margin: 12px 0 0;
    color: #95a5ae;
    font-size: 14px;
    line-height: 1.75;
}

.nodes-library__contribute a,
.nodes-library__parser-copy a,
.nodes-library__load-more a {
    min-height: 44px;
    border-radius: 10px;
    color: #07140e;
    background: linear-gradient(135deg, #2fe29d 0%, #25c88d 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.nodes-library__contribute a {
    margin-top: 18px;
    width: 100%;
}

.nodes-library__main {
    min-width: 0;
}

.nodes-library__results-bar {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.nodes-library__results-title {
    margin: 0;
    display: block;
    font-size: 16px;
}

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

.nodes-library__results-bar span {
    margin-top: 6px;
    color: #8ea0aa;
    font-size: 13px;
    display: block;
}

.nodes-library__results-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nodes-library__sort-form {
    min-width: 240px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: #0a1117;
    display: flex;
    align-items: center;
}

.nodes-library__sort-form select {
    font-size: 13px;
    color: #eef6fb;
    background: #0a1117;
}

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

.nodes-library__card {
    padding: 16px;
}

.nodes-library__card-topline {
    margin-bottom: 10px;
}

.nodes-library__card-body h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
}

.nodes-library__chip {
    min-height: 22px;
    padding: 0 8px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
}

.nodes-library__chip.is-green {
    color: #90ffd4;
    background: rgba(47, 226, 157, 0.14);
}

.nodes-library__chip.is-blue {
    color: #83c8ff;
    background: rgba(58, 153, 255, 0.14);
}

.nodes-library__chip.is-amber {
    color: #ffc36d;
    background: rgba(255, 166, 67, 0.14);
}

.nodes-library__chip.is-cyan {
    color: #72f2e0;
    background: rgba(35, 215, 193, 0.14);
}

.nodes-library__card-body p {
    margin: 12px 0 0;
    color: #8ea0aa;
    font-size: 13px;
    line-height: 1.75;
    min-height: 68px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nodes-library__card-meta {
    margin-top: 14px;
    color: #a0b0b9;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.nodes-library__card-meta span,
.nodes-library__card-meta em {
    color: #cfe0e7;
    font-style: normal;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nodes-library__pagination,
.nodes-library__load-more {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nodes-library__pagination a,
.nodes-library__pagination span,
.nodes-library__load-more span {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #dce6ec;
    background: rgba(255, 255, 255, 0.02);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.nodes-library__pagination .is-current {
    color: #06140f;
    background: linear-gradient(135deg, #2fe29d 0%, #25c88d 100%);
    border-color: transparent;
}

.nodes-library__pagination .is-ellipsis {
    color: #7f929c;
}

.nodes-library__load-more a,
.nodes-library__load-more span {
    min-width: 100%;
    height: 44px;
}

.nodes-library__empty {
    padding: 40px 24px;
    grid-column: 1 / -1;
    text-align: center;
}

.nodes-library__empty p {
    margin: 10px 0 0;
    color: #91a2ab;
}

.nodes-library__parser {
    padding-top: 18px;
}

.nodes-library__parser-card {
    padding: 26px;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.nodes-library__parser-copy h2 {
    font-size: 24px;
    font-weight: 700;
}

.nodes-library__parser-copy p {
    margin: 12px 0 0;
    color: #95a5ae;
    font-size: 14px;
    line-height: 1.75;
}

.nodes-library__parser-copy ul {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.nodes-library__parser-copy li {
    position: relative;
    padding-left: 18px;
    color: #dbe5eb;
    font-size: 14px;
}

.nodes-library__parser-copy li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #2fe29d;
}

.nodes-library__parser-copy a {
    margin-top: 18px;
    min-width: 110px;
}

.nodes-library__parser-preview {
    position: relative;
    min-height: 280px;
}

.nodes-library__parser-preview img {
    width: 100%;
    height: 280px;
    border-radius: 12px;
    object-fit: cover;
}

.nodes-library__parser-stats {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 260px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #dbe5eb;
    background: rgba(15, 22, 29, 0.88);
    backdrop-filter: blur(10px);
}

.nodes-library__parser-stats h3 {
    margin: 0;
    font-size: 16px;
}

.nodes-library__parser-numbers {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.nodes-library__parser-numbers span,
.nodes-library__parser-used span {
    color: #7f919b;
    font-size: 11px;
}

.nodes-library__parser-numbers strong {
    display: block;
    margin-top: 8px;
    color: #2fe29d;
    font-size: 24px;
}

.nodes-library__parser-used {
    margin-top: 16px;
    display: grid;
    gap: 8px;
}

.nodes-library__parser-used div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
}

@media (max-width: 1280px) {
    .nodes-library__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1120px) {
    .nodes-library__layout,
    .nodes-library__parser-card {
        grid-template-columns: 1fr;
    }

    .nodes-library__sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .nodes-library__hero-head,
    .nodes-library__results-bar,
    .nodes-library__search-head {
        grid-template-columns: 1fr;
        display: grid;
    }

    .nodes-library__hero-actions {
        flex-wrap: wrap;
    }

    .nodes-library__results-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .nodes-library__sort-form {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .nodes-library__hero-head h1 {
        font-size: 24px;
    }

    .nodes-library__hero-title-row {
        align-items: flex-start;
        gap: 10px;
    }

    .nodes-library__grid,
    .nodes-library__sidebar {
        grid-template-columns: 1fr;
    }

    .nodes-library__parser-stats {
        position: static;
        width: 100%;
        margin-top: 14px;
    }
}
