.ncu-form {
    display: grid;
    gap: 22px;
}

.ncu-field {
    display: grid;
    gap: 8px;
}

.ncu-field label {
    font-weight: 800;
    color: #101a33;
}

.ncu-desc {
    margin: 0;
    color: #667085;
    font-size: 15px;
}

.ncu-field input[type="text"],
.ncu-field input[type="number"],
.ncu-field textarea,
.ncu-field select {
    width: 100%;
    border: 1px solid #d7deea;
    border-radius: 18px;
    padding: 14px 16px;
    font-size: 16px;
    background: #fff;
    color: #101a33;
}

.ncu-field textarea {
    resize: vertical;
}

.ncu-checkbox {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ncu-required {
    color: #d92d20;
}

.ncu-alert {
    margin: 0 0 18px;
    padding: 14px 18px;
    border-radius: 18px;
    background: #eef4ff;
    color: #1d4ed8;
    font-weight: 700;
}

.ncu-alert-success {
    background: #ecfdf3;
    color: #067647;
}

.ncu-alert-error {
    background: #fef3f2;
    color: #b42318;
}

.ncu-locked-note {
    padding: 12px 14px;
    border-radius: 16px;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 700;
    font-size: 14px;
}

.ncu-field.is-disabled input,
.ncu-field.is-disabled textarea,
.ncu-field.is-disabled select {
    background: #f3f4f6;
    color: #667085;
}

.ncu-gallery-grid,
.ncu-members-list {
    display: grid;
    gap: 14px;
}

.ncu-gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ncu-gallery-tile,
.ncu-member-row {
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 18px;
    background: #fff;
}

.ncu-gallery-tile.is-disabled {
    opacity: .68;
    background: #f9fafb;
}

.ncu-gallery-tile strong,
.ncu-member-row strong {
    display: block;
    margin-bottom: 6px;
    color: #101a33;
}

.ncu-gallery-tile p {
    color: #667085;
    margin: 0 0 12px;
}

.ncu-gallery-tile span,
.ncu-member-row span {
    color: #667085;
    font-size: 14px;
}

.ncu-profile-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:8px 0 18px}.ncu-profile-tab{border:1px solid #d7deea;background:#f8fafc;color:#101a33;border-radius:18px;padding:14px 16px;font-weight:800;cursor:pointer}.ncu-profile-tab.is-active{background:#101a33;color:#fff;border-color:#101a33}.ncu-profile-section{display:none;gap:22px}.ncu-profile-section.is-active{display:grid}.ncu-avatar-preview{display:flex;align-items:center;gap:14px}.ncu-avatar-preview img{width:86px;height:86px;border-radius:999px;object-fit:cover;border:3px solid #e5e7eb;background:#f3f4f6}.ncu-avatar-preview span{display:inline-flex;align-items:center;justify-content:center;width:86px;height:86px;border-radius:999px;background:#f3f4f6;color:#667085;font-size:13px;text-align:center}

.ncu-search-card {
    margin-bottom: 18px;
}

.ncu-member-search {
    display: grid;
    gap: 14px;
}

.ncu-search-field {
    display: grid;
    gap: 7px;
}

.ncu-search-field label {
    font-weight: 800;
    color: #101a33;
}

.ncu-search-field input,
.ncu-search-field select {
    width: 100%;
    border: 1px solid #d7deea;
    border-radius: 16px;
    padding: 12px 14px;
    font-size: 15px;
    background: #fff;
}

.ncu-search-field.is-disabled input,
.ncu-search-field.is-disabled select {
    background: #f3f4f6;
    color: #667085;
}

.ncu-search-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.ncu-link-button {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    background: #f3f4f6;
    color: #101a33;
    text-decoration: none;
    font-weight: 800;
}

.ncu-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.ncu-member-card {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 14px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    background: #fff;
}

.ncu-member-avatar img,
.ncu-member-avatar span {
    width: 68px;
    height: 68px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    background: #eef2ff;
    color: #1e3a8a;
    font-weight: 900;
    font-size: 24px;
}

.ncu-member-card h3 {
    margin: 0 0 5px;
    color: #101a33;
}

.ncu-member-subtitle {
    margin: 0 0 8px;
    color: #667085;
    font-size: 14px;
}

.ncu-member-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 12px;
    font-weight: 900;
}

.ncu-member-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.ncu-member-actions button {
    border: 0;
    border-radius: 12px;
    padding: 8px 10px;
    background: #f3f4f6;
    color: #667085;
    font-weight: 800;
}

.ncu-search-checkbox {
    margin-top: 6px;
    font-weight: 800;
}

.ncu-members-layout-card {
    padding: 0;
    overflow: hidden;
}

.ncu-members-layout {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 0;
    min-height: 420px;
}

.ncu-members-filters {
    padding: 28px;
    border-right: 1px solid #e5e7eb;
    background: #ffffff;
}

.ncu-members-results {
    padding: 28px;
    background: #fbfcff;
}

.ncu-search-panel h2,
.ncu-results-header h2 {
    margin: 0 0 10px;
    color: #101a33;
}

.ncu-results-header p {
    margin: 0 0 18px;
    color: #667085;
}

.ncu-search-latest {
    margin-bottom: 8px;
}

.ncu-latest-button {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border: 0;
    border-radius: 16px;
    background: #101a33;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(16, 26, 51, .14);
}

.ncu-latest-button:hover {
    color: #fff;
    filter: brightness(1.05);
}

.ncu-latest-button.is-disabled {
    background: #e5e7eb;
    color: #667085;
    box-shadow: none;
}

.ncu-empty-results {
    color: #667085;
    font-weight: 700;
}

.ncu-members-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

@media (max-width: 860px) {
    .ncu-members-layout {
        grid-template-columns: 1fr;
    }

    .ncu-members-filters {
        border-right: 0;
        border-bottom: 1px solid #e5e7eb;
        padding: 22px;
    }

    .ncu-members-results {
        padding: 22px;
    }
}

.ncu-member-card {
    grid-template-columns: 96px 1fr;
    gap: 22px;
    padding: 24px;
    min-height: 172px;
    align-items: flex-start;
    border-radius: 28px;
    box-shadow: 0 14px 40px rgba(16, 26, 51, .08);
}

.ncu-member-avatar img,
.ncu-member-avatar span {
    width: 96px;
    height: 96px;
    font-size: 34px;
}

.ncu-member-card h3 {
    font-size: 24px;
    line-height: 1.15;
}

.ncu-member-subtitle {
    font-size: 17px;
    margin-bottom: 12px;
}

.ncu-member-actions button {
    font-size: 15px;
    padding: 10px 14px;
}

@media (max-width: 560px) {
    .ncu-member-card {
        grid-template-columns: 74px 1fr;
        padding: 18px;
        gap: 14px;
        min-height: auto;
    }

    .ncu-member-avatar img,
    .ncu-member-avatar span {
        width: 74px;
        height: 74px;
        font-size: 26px;
    }

    .ncu-member-card h3 {
        font-size: 20px;
    }
}


/* 1.0.15 - poprawiony wyglad kart czlonkow */
.ncu-members-results {
    min-width: 0;
}

.ncu-members-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: stretch;
}

.ncu-member-card {
    width: 100%;
    min-height: 178px;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    padding: 26px 30px;
    border: 1px solid #e2e8f0;
    border-radius: 32px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
}

.ncu-member-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ncu-member-avatar img,
.ncu-member-avatar span {
    width: 112px;
    height: 112px;
    border-radius: 999px;
    object-fit: cover;
    flex: 0 0 auto;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .12);
}

.ncu-member-card-body {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "title badge"
        "subtitle badge"
        "actions actions";
    gap: 6px 14px;
    align-items: start;
}

.ncu-member-card h3 {
    grid-area: title;
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
    color: #101a33;
    overflow-wrap: anywhere;
}

.ncu-member-subtitle {
    grid-area: subtitle;
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
    color: #667085;
    white-space: normal;
    overflow-wrap: anywhere;
}

.ncu-member-badge {
    grid-area: badge;
    justify-self: end;
    margin-top: 2px;
}

.ncu-member-actions {
    grid-area: actions;
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.ncu-member-actions button {
    min-height: 42px;
    border-radius: 16px;
    padding: 0 18px;
    font-size: 16px;
    color: #475467;
    background: #f1f5f9;
}

@media (max-width: 1100px) {
    .ncu-members-layout {
        grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
    }

    .ncu-member-card {
        grid-template-columns: 92px minmax(0, 1fr);
        padding: 22px;
        gap: 18px;
        min-height: 150px;
    }

    .ncu-member-avatar img,
    .ncu-member-avatar span {
        width: 92px;
        height: 92px;
    }

    .ncu-member-card h3 {
        font-size: 24px;
    }

    .ncu-member-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 860px) {
    .ncu-members-grid {
        gap: 14px;
    }

    .ncu-member-card {
        grid-template-columns: 82px minmax(0, 1fr);
        border-radius: 26px;
        padding: 18px;
        gap: 14px;
        min-height: auto;
    }

    .ncu-member-avatar img,
    .ncu-member-avatar span {
        width: 82px;
        height: 82px;
    }

    .ncu-member-card-body {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "title"
            "subtitle"
            "badge"
            "actions";
    }

    .ncu-member-badge {
        justify-self: start;
    }

    .ncu-member-actions {
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .ncu-member-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ncu-member-card-body {
        justify-items: center;
    }

    .ncu-member-actions {
        justify-content: center;
    }
}


/* 1.0.16 - naprawa mobile: wyniki nie moga uciekac poza ekran */
.ncc-card,
.ncu-members-layout-card,
.ncu-members-layout,
.ncu-members-filters,
.ncu-members-results,
.ncu-search-panel,
.ncu-member-search,
.ncu-members-grid,
.ncu-member-card,
.ncu-member-card-body {
    box-sizing: border-box;
}

.ncu-members-layout-card {
    width: 100%;
    max-width: 100%;
}

.ncu-members-layout {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.ncu-members-filters,
.ncu-members-results {
    min-width: 0;
    max-width: 100%;
}

.ncu-member-card {
    max-width: 100%;
    min-width: 0;
}

.ncu-member-card-body {
    max-width: 100%;
    min-width: 0;
}

.ncu-member-subtitle,
.ncu-member-card h3 {
    max-width: 100%;
}

@media (max-width: 860px) {
    .ncu-members-layout-card {
        overflow: visible;
    }

    .ncu-members-layout {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .ncu-members-filters,
    .ncu-members-results {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .ncu-members-filters {
        border-right: 0 !important;
        border-bottom: 1px solid #e5e7eb;
    }

    .ncu-members-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 100%;
    }

    .ncu-member-card {
        width: 100%;
        max-width: 100%;
        grid-template-columns: 82px minmax(0, 1fr);
    }
}

@media (max-width: 520px) {
    .ncu-members-filters,
    .ncu-members-results {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .ncu-member-card {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
        padding: 16px;
    }

    .ncu-member-avatar img,
    .ncu-member-avatar span {
        width: 72px;
        height: 72px;
    }

    .ncu-member-card h3 {
        font-size: 20px;
        text-align: left;
        width: 100%;
    }

    .ncu-member-subtitle {
        font-size: 15px;
        text-align: left;
        width: 100%;
    }

    .ncu-member-card-body {
        justify-items: start;
        text-align: left;
    }

    .ncu-member-actions {
        justify-content: flex-start;
        width: 100%;
    }
}

@media (max-width: 380px) {
    .ncu-member-card {
        grid-template-columns: 1fr;
    }

    .ncu-member-card-body,
    .ncu-member-card h3,
    .ncu-member-subtitle {
        text-align: center;
        justify-items: center;
    }

    .ncu-member-actions {
        justify-content: center;
    }
}


/* 1.0.18 - aktywny przycisk Wiadomosc na karcie czlonka */
.ncu-member-actions .ncu-message-action {
    min-height: 42px;
    border-radius: 16px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #fff;
    font-weight: 900;
    font-size: 16px;
    text-decoration: none;
}

.ncu-member-actions .ncu-message-action:hover {
    color: #fff;
    filter: brightness(1.05);
}


/* 1.0.19 - scroll wynikow i integracja follow */
.ncu-members-results {
    max-height: calc(100vh - 190px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.ncu-member-actions form {
    margin: 0;
}

@media (max-width: 860px) {
    .ncu-members-results {
        max-height: none;
        overflow: visible;
    }
}


/* 1.0.21 profile-items: zakładka Hobby zastępuje stare Pozostałe */
.ncu-form-card .ncpi-card,
.ncu-form-card .ncc-card.ncpi-card {
    box-shadow: none;
    border: 0;
    padding: 0;
    background: transparent;
}

.ncu-form-card .ncpi-card > h2 {
    display: none;
}

/* 1.0.23 - kompaktowe stałe menu profilu */
.ncu-form-card .ncu-profile-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: flex-start !important;
    margin: 22px 0 !important;
}

.ncu-form-card .ncu-profile-tab {
    width: auto !important;
    min-width: 126px !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
}

@media (max-width: 760px) {
    .ncu-form-card .ncu-profile-tabs {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .ncu-form-card .ncu-profile-tab {
        min-width: 0 !important;
        width: 100% !important;
        padding: 0 8px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 420px) {
    .ncu-form-card .ncu-profile-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}


/* 1.0.24 - profile top-bar jak w NEWS, niezależny od układu kafelkowego */
.ncu-form-card .ncu-profile-topbar {
    width: 100%;
    margin: 20px 0 26px !important;
    padding: 10px !important;
    border: 1px solid #e5eaf3 !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
}

.ncu-form-card .ncu-profile-topbar::-webkit-scrollbar {
    height: 6px;
}

.ncu-form-card .ncu-profile-topbar::-webkit-scrollbar-thumb {
    background: #d7deea;
    border-radius: 999px;
}

.ncu-form-card .ncu-profile-topbar .ncu-profile-tabs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: max-content !important;
    min-width: 100% !important;
}

.ncu-form-card .ncu-profile-topbar .ncu-profile-tab {
    appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 112px !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 999px !important;
    background: #f8fafc !important;
    color: #101a33 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap !important;
    text-align: center !important;
    cursor: pointer !important;
}

.ncu-form-card .ncu-profile-topbar .ncu-profile-tab:hover {
    background: #eef4ff !important;
    border-color: #bfdbfe !important;
}

.ncu-form-card .ncu-profile-topbar .ncu-profile-tab.is-active {
    background: #101a33 !important;
    border-color: #101a33 !important;
    color: #ffffff !important;
}

@media (max-width: 760px) {
    .ncu-form-card .ncu-profile-topbar {
        margin: 16px -4px 22px !important;
        border-radius: 20px !important;
        padding: 8px !important;
    }

    .ncu-form-card .ncu-profile-topbar .ncu-profile-tabs {
        min-width: max-content !important;
    }

    .ncu-form-card .ncu-profile-topbar .ncu-profile-tab {
        min-width: 96px !important;
        min-height: 36px !important;
        padding: 0 12px !important;
        font-size: 12px !important;
    }
}


/* 1.0.25 - profile top-bar na pełną szerokość karty */
.ncu-form-card .ncu-profile-topbar {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    margin: 20px 0 28px !important;
    padding: 10px !important;
}

.ncu-form-card .ncu-profile-topbar .ncu-profile-tabs {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
    justify-content: stretch !important;
}

.ncu-form-card .ncu-profile-topbar .ncu-profile-tab {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: none !important;
}

@media (max-width: 760px) {
    .ncu-form-card .ncu-profile-topbar {
        overflow-x: auto !important;
    }

    .ncu-form-card .ncu-profile-topbar .ncu-profile-tabs {
        width: max-content !important;
        min-width: max-content !important;
        justify-content: flex-start !important;
    }

    .ncu-form-card .ncu-profile-topbar .ncu-profile-tab {
        flex: 0 0 auto !important;
        min-width: 104px !important;
    }
}


/* 1.0.26 - sticky belka sekcji profilu */
.ncu-form-card .ncu-profile-topbar {
    position: sticky !important;
    top: 10px !important;
    z-index: 80 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.10) !important;
}

/* Gdy przewijamy długie listy, zawartość nie powinna chować się pod dolną belką. */
.ncu-form-card {
    padding-bottom: max(48px, env(safe-area-inset-bottom)) !important;
}

.ncu-profile-section {
    scroll-margin-top: 96px !important;
}

/* Na telefonie sticky zostaje, ale niższy i bardziej kompaktowy. */
@media (max-width: 760px) {
    .ncu-form-card .ncu-profile-topbar {
        top: 8px !important;
        z-index: 90 !important;
    }

    .ncu-profile-section {
        scroll-margin-top: 84px !important;
    }
}


/* 1.0.27 - belka profilu poza formularzem, pełna szerokość karty */
.ncu-form-card > .ncu-profile-topbar {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.ncu-form-card > .ncu-profile-topbar .ncu-profile-tabs {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

.ncu-form-card > .ncu-profile-topbar .ncu-profile-tab {
    flex: 1 1 0 !important;
    min-width: 0 !important;
}

/* Formularz danych podstawowych może zostać węższy, ale nie ogranicza już menu profilu. */
.ncu-form-card > .ncu-form {
    margin-left: auto !important;
    margin-right: auto !important;
}


/* 1.0.28 - belka profilu poza kartą, sticky względem strony */
.ncu-profile-topbar {
    position: sticky !important;
    top: 10px !important;
    z-index: 120 !important;
    width: min(100%, 1320px) !important;
    max-width: calc(100vw - 28px) !important;
    box-sizing: border-box !important;
    margin: 0 auto 18px !important;
    padding: 10px !important;
    border: 1px solid #e5eaf3 !important;
    border-radius: 28px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.10) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
}

.ncu-profile-topbar .ncu-profile-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ncu-profile-topbar .ncu-profile-tab {
    appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 0 14px !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 999px !important;
    background: #f8fafc !important;
    color: #101a33 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}

.ncu-profile-topbar .ncu-profile-tab.is-active {
    background: #101a33 !important;
    border-color: #101a33 !important;
    color: #ffffff !important;
}

.ncu-profile-topbar .ncu-profile-tab:hover {
    background: #eef4ff !important;
    border-color: #bfdbfe !important;
}

.ncu-profile-topbar .ncu-profile-tab.is-active:hover {
    background: #101a33 !important;
    border-color: #101a33 !important;
}

.ncu-form-card {
    margin-top: 0 !important;
}

/* Stare reguły ograniczone do .ncu-form-card nie mają już decydować o topbarze. */
.ncu-form-card .ncu-profile-topbar {
    width: auto !important;
}

@media (max-width: 760px) {
    .ncu-profile-topbar {
        top: 8px !important;
        max-width: calc(100vw - 16px) !important;
        border-radius: 22px !important;
        padding: 8px !important;
        margin-bottom: 14px !important;
    }

    .ncu-profile-topbar .ncu-profile-tabs {
        width: max-content !important;
        min-width: max-content !important;
        justify-content: flex-start !important;
    }

    .ncu-profile-topbar .ncu-profile-tab {
        flex: 0 0 auto !important;
        min-width: 104px !important;
        min-height: 36px !important;
        padding: 0 12px !important;
        font-size: 12px !important;
    }
}


/* 1.0.29 - stabilizacja root + JS po przeniesieniu belki */
.ncu-profile-root {
    width: min(100%, 1320px) !important;
    max-width: calc(100vw - 28px) !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

.ncu-profile-root > .ncu-profile-topbar {
    width: 100% !important;
    max-width: none !important;
}

.ncu-profile-root > .ncc-card {
    width: 100% !important;
    max-width: none !important;
}

@media (max-width: 760px) {
    .ncu-profile-root {
        max-width: calc(100vw - 16px) !important;
    }
}


/* 1.0.30 - nagłówek Profil community tylko w danych podstawowych */
.ncu-basic-heading {
    display: grid;
    gap: 10px;
    margin-bottom: 8px;
}

.ncu-basic-heading h2 {
    margin: 0;
}

.ncu-basic-heading p {
    margin: 0;
    color: #667085;
}

.ncu-profile-content-card:not(.ncu-profile-content-basic) {
    padding-top: clamp(20px, 4vw, 30px) !important;
}

.ncu-profile-content-card:not(.ncu-profile-content-basic) > .ncu-form {
    display: none !important;
}

/* Sekcje z innych wtyczek mają przejmować kartę bez pustego nagłówka. */
.ncu-profile-content-card:not(.ncu-profile-content-basic) .ncu-profile-section.is-active {
    margin-top: 0 !important;
}


/* 1.0.31 - zakładki profilu wpięte w stały topbar core */
.ncu-profile-topbar-in-core {
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    position: static !important;
    overflow: visible !important;
}

.ncu-profile-topbar-in-core .ncu-profile-tabs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ncu-profile-topbar-in-core .ncu-profile-tab {
    appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 0 !important;
    min-width: 86px !important;
    min-height: 36px !important;
    padding: 0 12px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #111827 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}

.ncu-profile-topbar-in-core .ncu-profile-tab.is-active {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}

.ncu-profile-topbar-in-core .ncu-profile-tab:hover {
    border-color: #2563eb !important;
}

/* Stare style topbara profilu w treści nie mają już działać. */
.ncu-profile-root > .ncu-profile-topbar {
    display: none !important;
}

.ncu-profile-root {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

@media (max-width: 760px) {
    .ncu-profile-topbar-in-core {
        max-width: none !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .ncu-profile-topbar-in-core::-webkit-scrollbar {
        display: none !important;
    }

    .ncu-profile-topbar-in-core .ncu-profile-tabs {
        justify-content: flex-start !important;
        width: max-content !important;
        min-width: max-content !important;
    }

    .ncu-profile-topbar-in-core .ncu-profile-tab {
        flex: 0 0 auto !important;
        min-width: 92px !important;
        min-height: 34px !important;
        font-size: 12px !important;
        padding: 0 10px !important;
    }
}


/* 1.0.33 - Home / podsumowanie profilu */
.ncu-profile-content-card.ncu-profile-content-home > .ncu-form {
    display: none !important;
}

.ncu-home-summary {
    display: grid;
    gap: 22px;
}

.ncu-home-identity {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}

.ncu-home-avatar img,
.ncu-home-avatar span {
    width: 110px;
    height: 110px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
    color: #111827;
    font-size: 36px;
    font-weight: 900;
}

.ncu-home-info h2 {
    margin: 0 0 8px;
    color: #111827;
}

.ncu-home-info p {
    margin: 0;
    color: #4b5563;
}

.ncu-home-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.ncu-home-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
}

.ncu-home-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ncu-home-stats div {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px;
    background: #ffffff;
}

.ncu-home-stats strong {
    display: block;
    color: #111827;
    font-size: 26px;
    line-height: 1;
}

.ncu-home-stats span {
    display: block;
    margin-top: 6px;
    color: #4b5563;
    font-weight: 700;
}

.ncu-home-vip-block {
    border: 1px solid #dbeafe;
    border-radius: 22px;
    padding: 18px;
    background: #ffffff;
}

.ncu-home-vip-block strong {
    display: block;
    color: #111827;
    font-size: 20px;
    margin-bottom: 6px;
}

.ncu-home-vip-block p {
    margin: 0 0 14px;
    color: #4b5563;
}

.ncu-home-vip-block a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 900;
}

@media (max-width: 640px) {
    .ncu-home-identity {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ncu-home-stats {
        grid-template-columns: 1fr;
    }

    .ncu-home-badges {
        justify-content: center;
    }
}


/* 1.0.34 - przyciski menu profilu dopasowane do tekstu */
.ncu-profile-topbar-in-core {
    max-width: none !important;
    width: 100% !important;
}

.ncu-profile-topbar-in-core .ncu-profile-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
}

.ncu-profile-topbar-in-core .ncu-profile-tab {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0 18px !important;
    white-space: nowrap !important;
}

@media (max-width: 760px) {
    .ncu-profile-topbar-in-core .ncu-profile-tabs {
        width: 100% !important;
        min-width: 0 !important;
        justify-content: center !important;
    }

    .ncu-profile-topbar-in-core .ncu-profile-tab {
        padding: 0 12px !important;
    }
}


/* 1.0.35 - poprawka widoczności formularza Dane podstawowe */
.ncu-profile-content-card.ncu-profile-content-basic > .ncu-form {
    display: grid !important;
}

.ncu-profile-content-card.ncu-profile-content-basic .ncu-profile-section[data-ncu-section="basic"] {
    display: block !important;
}

.ncu-profile-content-card:not(.ncu-profile-content-basic) > .ncu-form {
    display: none !important;
}

/* Home i sekcje z modułów nie mogą zostawiać pustej ramki po formularzu. */
.ncu-profile-content-card:not(.ncu-profile-content-basic) .ncu-profile-section[data-ncu-section="basic"] {
    display: none !important;
}


/* 1.0.36 - kompaktowy układ Dane podstawowe */
.ncu-basic-compact {
    width: 100%;
}

.ncu-basic-compact-grid {
    display: grid;
    grid-template-columns: 132px minmax(260px, 1fr) minmax(160px, 220px);
    gap: 24px;
    align-items: center;
    width: 100%;
}

.ncu-basic-avatar-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ncu-basic-main-col {
    display: grid;
    gap: 14px;
    align-items: center;
}

.ncu-basic-actions-col {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.ncu-basic-compact .ncu-field {
    margin: 0 !important;
}

.ncu-basic-compact .ncu-field-description,
.ncu-basic-compact .ncu-field small,
.ncu-basic-compact .ncu-field .description {
    display: none !important;
}

.ncu-basic-compact .ncu-field label,
.ncu-basic-compact label {
    margin-bottom: 6px !important;
}

/* Avatar bez opisu, jako główny element po lewej. */
.ncu-basic-avatar-col .ncu-field {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.ncu-basic-avatar-col .ncu-field > label,
.ncu-basic-avatar-col .ncu-field > p,
.ncu-basic-avatar-col .ncu-field > .ncu-field-description,
.ncu-basic-avatar-col .ncu-field > small {
    display: none !important;
}

.ncu-basic-avatar-col img,
.ncu-basic-avatar-col .ncu-avatar-preview img {
    width: 112px !important;
    height: 112px !important;
    border-radius: 999px !important;
    object-fit: cover !important;
}

.ncu-basic-main-col input[type="text"],
.ncu-basic-main-col textarea {
    width: 100% !important;
    box-sizing: border-box !important;
}

.ncu-basic-main-col textarea {
    min-height: 94px !important;
}
@media (max-width: 900px) {
    .ncu-basic-compact-grid {
        grid-template-columns: 112px minmax(0, 1fr);
        align-items: center;
    }

    .ncu-basic-actions-col {
        grid-column: 1 / -1;
        justify-content: stretch;
    }
}

@media (max-width: 620px) {
    .ncu-basic-compact-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ncu-basic-avatar-col {
        justify-content: center;
    }

    .ncu-basic-actions-col {
        justify-content: stretch;
    }
}


/* 1.0.37 - Dane podstawowe szeroko jak Home, bez wąskiego wycinka */
.ncu-profile-content-card.ncu-profile-content-basic {
    padding-left: clamp(24px, 4vw, 46px) !important;
    padding-right: clamp(24px, 4vw, 46px) !important;
}

.ncu-profile-content-basic .ncu-form {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.ncu-profile-content-basic .ncu-basic-compact {
    width: 100% !important;
}

.ncu-profile-content-basic .ncu-basic-compact-grid {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: 140px minmax(0, 1fr) 220px !important;
    gap: clamp(22px, 4vw, 42px) !important;
    align-items: center !important;
}

.ncu-profile-content-basic .ncu-basic-avatar-col {
    justify-content: flex-start !important;
    align-self: center !important;
}

.ncu-profile-content-basic .ncu-basic-main-col {
    width: 100% !important;
    max-width: none !important;
    display: grid !important;
    gap: 16px !important;
}

.ncu-profile-content-basic .ncu-basic-actions-col {
    width: 100% !important;
    align-self: center !important;
    justify-content: stretch !important;
}
.ncu-profile-content-basic .ncu-field {
    width: 100% !important;
    max-width: none !important;
}

/* Opisy mogą zostać, ale niech nie rozsadzają pionowo formularza. */
.ncu-profile-content-basic .ncu-field-description,
.ncu-profile-content-basic .ncu-field small,
.ncu-profile-content-basic .ncu-field .description {
    display: block !important;
    margin: 3px 0 7px !important;
    color: #4b5563 !important;
    line-height: 1.35 !important;
}

.ncu-profile-content-basic .ncu-basic-avatar-col .ncu-field-description,
.ncu-profile-content-basic .ncu-basic-avatar-col small,
.ncu-profile-content-basic .ncu-basic-avatar-col .description,
.ncu-profile-content-basic .ncu-basic-avatar-col label,
.ncu-profile-content-basic .ncu-basic-avatar-col p {
    display: none !important;
}

.ncu-profile-content-basic .ncu-basic-main-col input[type="text"],
.ncu-profile-content-basic .ncu-basic-main-col textarea {
    width: 100% !important;
    max-width: none !important;
}

.ncu-profile-content-basic .ncu-basic-main-col textarea {
    min-height: 116px !important;
}

.ncu-profile-content-basic .ncu-basic-avatar-col img,
.ncu-profile-content-basic .ncu-basic-avatar-col .ncu-avatar-preview img {
    width: 118px !important;
    height: 118px !important;
}

/* Desktop bardzo szeroki: nie zostawiaj pustego boiska po bokach. */
@media (min-width: 1100px) {
    .ncu-profile-content-basic .ncu-basic-compact-grid {
        grid-template-columns: 150px minmax(0, 1fr) 240px !important;
    }}

@media (max-width: 900px) {
    .ncu-profile-content-basic .ncu-basic-compact-grid {
        grid-template-columns: 120px minmax(0, 1fr) !important;
        gap: 22px !important;
    }

    .ncu-profile-content-basic .ncu-basic-actions-col {
        grid-column: 2 !important;
        justify-content: stretch !important;
    }}

@media (max-width: 620px) {
    .ncu-profile-content-card.ncu-profile-content-basic {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .ncu-profile-content-basic .ncu-basic-compact-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .ncu-profile-content-basic .ncu-basic-avatar-col {
        justify-content: center !important;
    }

    .ncu-profile-content-basic .ncu-basic-actions-col {
        grid-column: auto !important;
    }
}


/* 1.0.38 - drobny retusz Dane podstawowe */
.ncu-profile-content-card.ncu-profile-content-basic {
    padding-top: clamp(26px, 4vw, 42px) !important;
    padding-bottom: clamp(28px, 4vw, 44px) !important;
}

.ncu-profile-content-basic .ncu-basic-compact-grid {
    align-items: start !important;
    grid-template-columns: 170px minmax(0, 1fr) 240px !important;
}

.ncu-profile-content-basic .ncu-basic-avatar-col {
    align-self: start !important;
    padding-top: 64px !important;
}

.ncu-profile-content-basic .ncu-basic-actions-col {
    align-self: start !important;
    padding-top: 160px !important;
}
.ncu-profile-content-basic .ncu-basic-main-col textarea {
    min-height: 104px !important;
}

/* Mniejsze puste pole na dole karty po formularzu. */
.ncu-profile-content-basic .ncu-basic-compact {
    margin-bottom: 0 !important;
}

@media (max-width: 1100px) {
    .ncu-profile-content-basic .ncu-basic-compact-grid {
        grid-template-columns: 150px minmax(0, 1fr) 220px !important;
    }

    .ncu-profile-content-basic .ncu-basic-avatar-col {
        padding-top: 60px !important;
    }

    .ncu-profile-content-basic .ncu-basic-actions-col {
        padding-top: 154px !important;
    }
}

@media (max-width: 900px) {
    .ncu-profile-content-basic .ncu-basic-compact-grid {
        grid-template-columns: 130px minmax(0, 1fr) !important;
    }

    .ncu-profile-content-basic .ncu-basic-avatar-col {
        padding-top: 58px !important;
    }

    .ncu-profile-content-basic .ncu-basic-actions-col {
        grid-column: 2 !important;
        padding-top: 0 !important;
    }
}

@media (max-width: 620px) {
    .ncu-profile-content-basic .ncu-basic-compact-grid {
        grid-template-columns: 1fr !important;
    }

    .ncu-profile-content-basic .ncu-basic-avatar-col {
        padding-top: 0 !important;
    }

    .ncu-profile-content-basic .ncu-basic-actions-col {
        grid-column: auto !important;
        padding-top: 0 !important;
    }
}


/* 1.0.39 - stabilizacja Dane podstawowe bez ręcznego przesuwania */
.ncu-profile-content-card.ncu-profile-content-basic {
    padding-top: clamp(28px, 4vw, 46px) !important;
    padding-bottom: clamp(28px, 4vw, 46px) !important;
}

.ncu-profile-content-basic .ncu-basic-compact-grid {
    grid-template-columns: 160px minmax(0, 1fr) 260px !important;
    align-items: center !important;
    gap: clamp(24px, 4vw, 44px) !important;
}

.ncu-profile-content-basic .ncu-basic-avatar-col {
    align-self: center !important;
    justify-content: center !important;
    padding-top: 0 !important;
}

.ncu-profile-content-basic .ncu-basic-actions-col {
    align-self: center !important;
    justify-content: stretch !important;
    padding-top: 0 !important;
}
.ncu-profile-content-basic .ncu-basic-avatar-col img,
.ncu-profile-content-basic .ncu-basic-avatar-col .ncu-avatar-preview img {
    width: 118px !important;
    height: 118px !important;
}

.ncu-profile-content-basic .ncu-basic-main-col {
    gap: 18px !important;
}

.ncu-profile-content-basic .ncu-basic-main-col textarea {
    min-height: 116px !important;
}

@media (max-width: 1000px) {
    .ncu-profile-content-basic .ncu-basic-compact-grid {
        grid-template-columns: 140px minmax(0, 1fr) !important;
    }

    .ncu-profile-content-basic .ncu-basic-actions-col {
        grid-column: 2 !important;
    }}

@media (max-width: 620px) {
    .ncu-profile-content-basic .ncu-basic-compact-grid {
        grid-template-columns: 1fr !important;
    }

    .ncu-profile-content-basic .ncu-basic-actions-col {
        grid-column: auto !important;
    }
}


/* 1.0.40 - dokładne pozycjonowanie avatar / zapis */
.ncu-profile-content-basic .ncu-basic-compact-grid {
    align-items: stretch !important;
    min-height: 310px !important;
}

.ncu-profile-content-basic .ncu-basic-avatar-col {
    align-self: start !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding-top: 26px !important;
    padding-left: 10px !important;
}

.ncu-profile-content-basic .ncu-basic-main-col {
    align-self: start !important;
}

.ncu-profile-content-basic .ncu-basic-actions-col {
    align-self: end !important;
    justify-content: flex-end !important;
    align-items: flex-end !important;
    padding-bottom: 26px !important;
    padding-right: 10px !important;
}
@media (max-width: 1000px) {
    .ncu-profile-content-basic .ncu-basic-compact-grid {
        min-height: 0 !important;
    }

    .ncu-profile-content-basic .ncu-basic-avatar-col {
        padding-top: 18px !important;
        padding-left: 0 !important;
    }

    .ncu-profile-content-basic .ncu-basic-actions-col {
        align-self: stretch !important;
        padding-right: 0 !important;
        padding-bottom: 0 !important;
    }
}

@media (max-width: 620px) {
    .ncu-profile-content-basic .ncu-basic-avatar-col {
        justify-content: center !important;
        align-items: center !important;
        padding-top: 0 !important;
    }

    .ncu-profile-content-basic .ncu-basic-actions-col {
        justify-content: stretch !important;
        align-items: stretch !important;
    }}


/* 1.0.41 - publiczny profil członka */
.ncu-public-profile-card {
    display: grid;
    gap: 26px;
}

.ncu-public-profile-header {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
}

.ncu-public-avatar img,
.ncu-public-avatar span {
    width: 110px;
    height: 110px;
    border-radius: 999px;
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    font-size: 36px;
    font-weight: 900;
}

.ncu-public-main h2 {
    margin: 0 0 8px;
}

.ncu-public-main p {
    margin: 0;
    color: #4b5563;
}

.ncu-public-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}
/* NCU 1.1.33: wyglad publicznych akcji bierze CORE przez nevv-btn. */

.ncu-public-section {
    display: grid;
    gap: 14px;
}

.ncu-public-section h3 {
    margin: 0;
}

.ncu-public-hobby-grid,
.ncu-public-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.ncu-public-hobby-card,
.ncu-public-gallery-card {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    color: #111827;
    text-decoration: none;
}

.ncu-public-hobby-card h4 {
    margin: 0 0 4px;
}

.ncu-public-hobby-card div {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 8px;
}

.ncu-public-hobby-card strong {
    color: #667085;
}

.ncu-public-hobby-card span,
.ncu-public-gallery-card span {
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    .ncu-public-profile-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ncu-public-actions {
        justify-content: center;
    }

    .ncu-public-hobby-card div {
        grid-template-columns: 1fr;
    }
}


/* 1.0.47 - linki w topbarze wyglądają jak przyciski */
.ncu-profile-topbar .ncu-profile-tab[href] {
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}


/* 1.0.48 - publiczny profil: mniejsze akcje i kafelki galerii */
.ncu-public-actions {
    align-items: center !important;
    gap: 10px !important;
}


/* NCU 1.1.33: wyglad publicznych akcji bierze CORE przez nevv-btn. */
/* NCU 1.1.33: wyglad publicznych akcji bierze CORE przez nevv-btn. */

.ncu-public-gallery-section {
    gap: 16px !important;
}

.ncu-public-gallery-tiles {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 16px !important;
}

.ncu-public-gallery-tile {
    display: grid !important;
    overflow: hidden !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    color: #111827 !important;
    text-decoration: none !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .07) !important;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease !important;
}

.ncu-public-gallery-tile:hover {
    transform: translateY(-2px) !important;
    border-color: #2563eb !important;
    box-shadow: 0 20px 44px rgba(37, 99, 235, .12) !important;
}

.ncu-public-gallery-cover {
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #f3f4f6 !important;
}

.ncu-public-gallery-cover img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.ncu-public-gallery-cover span {
    font-weight: 900 !important;
    color: #667085 !important;
}

.ncu-public-gallery-info {
    display: grid !important;
    gap: 4px !important;
    padding: 14px 16px 16px !important;
}

.ncu-public-gallery-info strong,
.ncu-public-gallery-info small {
    overflow-wrap: anywhere !important;
}

.ncu-public-gallery-info small {
    color: #667085 !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

@media (max-width: 760px) {
    .ncu-public-profile-header {
        align-items: start !important;
    }

    .ncu-public-actions {
        justify-content: center !important;
    }


    .ncu-public-gallery-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .ncu-public-gallery-tile {
        border-radius: 18px !important;
    }

    .ncu-public-gallery-info {
        padding: 10px 12px 12px !important;
    }
}


/* 1.0.49 - publiczny profil: galeria rozwijana pod kafelkami */
.ncu-public-profile-card {
    overflow: visible !important;
}

.ncu-public-section-head {
    display: grid !important;
    gap: 4px !important;
}

.ncu-public-section-head h3,
.ncu-public-section-head p {
    margin: 0 !important;
}

.ncu-public-section-head p {
    color: #667085 !important;
}

.ncu-public-gallery-tile.is-active {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 1px #2563eb, 0 20px 44px rgba(37, 99, 235, .14) !important;
}

.ncu-public-gallery-expanded {
    display: grid !important;
    gap: 18px !important;
    margin-top: 22px !important;
    padding-top: 22px !important;
    border-top: 1px solid #eef2f7 !important;
}

.ncu-public-gallery-expanded-head {
    display: flex !important;
    justify-content: space-between !important;
    gap: 16px !important;
    align-items: center !important;
}

.ncu-public-gallery-expanded-head h4,
.ncu-public-gallery-expanded-head p {
    margin: 0 !important;
}

.ncu-public-gallery-expanded-head h4 {
    font-size: 24px !important;
    line-height: 1.15 !important;
}

.ncu-public-gallery-expanded-head p {
    color: #667085 !important;
}

.ncu-public-gallery-back {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    border-radius: 14px !important;
    background: #eef2f7 !important;
    color: #111827 !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

.ncu-public-media-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
    gap: 16px !important;
}

.ncu-public-media-card {
    display: grid !important;
    grid-template-rows: 158px minmax(74px, auto) !important;
    overflow: hidden !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .07) !important;
}

.ncu-public-media-preview {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f3f4f6 !important;
    overflow: hidden !important;
    text-decoration: none !important;
    color: #111827 !important;
    font-weight: 900 !important;
}

.ncu-public-media-preview img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    -webkit-user-drag: none !important;
    user-select: none !important;
}

.ncu-public-media-body {
    display: grid !important;
    gap: 10px !important;
    padding: 12px 14px 14px !important;
}

.ncu-public-media-body strong {
    font-size: 14px !important;
    line-height: 1.35 !important;
    color: #111827 !important;
    overflow-wrap: anywhere !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.ncu-public-report-form {
    position: relative !important;
}

.ncu-public-report-form > summary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    border-radius: 12px !important;
    background: #fff1f2 !important;
    color: #be123c !important;
    font-weight: 900 !important;
    list-style: none !important;
    cursor: pointer !important;
}

.ncu-public-report-form > summary::-webkit-details-marker {
    display: none !important;
}

.ncu-public-report-form form {
    display: grid !important;
    gap: 8px !important;
    margin-top: 8px !important;
    padding: 10px !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
}

.ncu-public-report-form select,
.ncu-public-report-form textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    border: 1px solid #d7deea !important;
    border-radius: 10px !important;
    padding: 8px 10px !important;
}

.ncu-public-report-form button {
    min-height: 36px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: #be123c !important;
    color: #ffffff !important;
    font-weight: 900 !important;
}

@media (max-width: 760px) {
    .ncu-public-gallery-expanded-head {
        display: grid !important;
    }

    .ncu-public-media-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .ncu-public-media-card {
        grid-template-rows: 112px minmax(72px, auto) !important;
        border-radius: 18px !important;
    }

    .ncu-public-media-body {
        padding: 10px 11px 12px !important;
    }

    .ncu-public-media-body strong {
        font-size: 12px !important;
    }

    .ncu-public-report-form > summary {
        min-height: 30px !important;
        padding: 0 10px !important;
        font-size: 12px !important;
    }
}


/* 1.0.50 - publiczna galeria: polubienia i podgląd modalny */
.ncu-public-media-preview {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    padding: 0 !important;
    cursor: zoom-in !important;
}

.ncu-public-media-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.ncu-public-like-form {
    margin: 0 !important;
}

.ncu-public-like-form button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #eef2f7 !important;
    color: #111827 !important;
    font-weight: 900 !important;
    cursor: pointer !important;
}

.ncu-public-like-form button.is-liked {
    background: #dbeafe !important;
    color: #1d4ed8 !important;
}

.ncu-public-like-form button:hover {
    background: #dbeafe !important;
}

.ncu-public-report-form {
    margin: 0 !important;
}

.ncu-public-preview-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100130 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 22px !important;
    background: rgba(15, 23, 42, .72) !important;
}

.ncu-public-preview-box {
    width: min(1100px, 96vw) !important;
    max-height: 92vh !important;
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    overflow: hidden !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .35) !important;
}

.ncu-public-preview-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.ncu-public-preview-header strong {
    overflow-wrap: anywhere !important;
}

.ncu-public-preview-close {
    width: 42px !important;
    height: 42px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #eef2f7 !important;
    color: #111827 !important;
    font-size: 28px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    cursor: pointer !important;
}

.ncu-public-preview-body {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 260px !important;
    max-height: calc(92vh - 68px) !important;
    background: #0f172a !important;
}

.ncu-public-preview-body img,
.ncu-public-preview-body video {
    max-width: 100% !important;
    max-height: calc(92vh - 68px) !important;
    object-fit: contain !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
}

.ncu-public-preview-file {
    color: #ffffff !important;
    font-size: 42px !important;
    font-weight: 900 !important;
}

.ncu-preview-open {
    overflow: hidden !important;
}

@media (max-width: 760px) {
    .ncu-public-media-actions {
        gap: 6px !important;
    }

    .ncu-public-like-form button,
    .ncu-public-report-form > summary {
        min-height: 30px !important;
        padding: 0 9px !important;
        font-size: 12px !important;
    }

    .ncu-public-preview-modal {
        padding: 10px !important;
    }

    .ncu-public-preview-box {
        border-radius: 20px !important;
        width: 96vw !important;
        max-height: 90vh !important;
    }

    .ncu-public-preview-close {
        width: 36px !important;
        height: 36px !important;
        font-size: 24px !important;
    }
}


/* 1.0.51 - zgłoszenie jako modal, formularz ukryty w kafelku */
.ncu-public-report-form > form {
    display: none !important;
}

.ncu-report-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100140 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 18px !important;
    background: rgba(15, 23, 42, .64) !important;
    backdrop-filter: blur(1px) !important;
}

.ncu-report-modal__box {
    position: relative !important;
    width: min(420px, calc(100vw - 32px)) !important;
    max-height: calc(100dvh - 44px) !important;
    overflow: auto !important;
    box-sizing: border-box !important;
    padding: 22px !important;
    padding-top: 52px !important;
    border-radius: 22px !important;
    background: #ffffff !important;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .30) !important;
}

.ncu-report-modal__close {
    all: unset !important;
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 34px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    color: #111827 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 30px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

.ncu-report-modal__close:hover {
    background: #eef2f7 !important;
}

.ncu-report-modal__box h3 {
    margin: 0 42px 16px 0 !important;
    font-size: 24px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    color: #111827 !important;
}

.ncu-report-modal__box form {
    display: grid !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.ncu-report-modal__box select,
.ncu-report-modal__box textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    border: 1px solid #d7deea !important;
    border-radius: 12px !important;
    padding: 10px 12px !important;
    font-size: 15px !important;
}

.ncu-report-modal__box textarea {
    min-height: 92px !important;
}

.ncu-report-modal__box button:not(.ncu-report-modal__close) {
    min-height: 44px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #be123c !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
}

.ncu-report-modal-open {
    overflow: hidden !important;
}

@media (max-width: 760px) {
    .ncu-report-modal {
        padding: 12px !important;
    }

    .ncu-report-modal__box {
        width: min(360px, calc(100vw - 24px)) !important;
        padding: 18px !important;
        padding-top: 48px !important;
        border-radius: 20px !important;
    }

    .ncu-report-modal__box h3 {
        font-size: 22px !important;
    }
}


/* 1.0.52 - delikatne zaznaczenie kafelka po powrocie z akcji */
.ncu-preserve-scroll-highlight {
    outline: 2px solid rgba(37, 99, 235, .28) !important;
    outline-offset: 4px !important;
    transition: outline-color .4s ease !important;
}


/* 1.0.53 - highlight dla elementu przywróconego po kliknięciu/linku */
.ncu-scroll-target-highlight {
    outline: 2px solid rgba(37, 99, 235, .30) !important;
    outline-offset: 5px !important;
}


/* 1.0.54 - rozwinięta galeria ma bezpieczny margines przy przewijaniu do hash */
.ncu-public-gallery-expanded {
    scroll-margin-top: 110px !important;
    scroll-margin-bottom: 120px !important;
}


/* 1.0.55 - bezpieczne przewijanie do galerii bez hash w URL */
.ncu-public-gallery-expanded {
    scroll-margin-top: 110px !important;
    scroll-margin-bottom: 130px !important;
}


/* 1.0.56 - wybrana publiczna galeria wysoko pod nagłówkiem profilu */
.ncu-public-selected-gallery-top {
    margin-top: 22px !important;
    margin-bottom: 24px !important;
}

.ncu-public-selected-gallery-top .ncu-public-gallery-expanded {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
    padding-bottom: 22px !important;
    border-bottom: 1px solid #eef2f7 !important;
}

.ncu-public-selected-gallery-top .ncu-public-gallery-expanded-head {
    padding: 0 !important;
}

.ncu-public-selected-gallery-top + .ncu-public-section {
    margin-top: 8px !important;
}

/* Kiedy galeria jest już pokazana na górze, lista galerii niżej ma być listą nawigacyjną, bez drugiego rozwinięcia. */
.ncu-public-gallery-section .ncu-public-gallery-tile.is-active {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 1px #2563eb, 0 14px 34px rgba(37, 99, 235, .10) !important;
}

@media (max-width: 760px) {
    .ncu-public-selected-gallery-top {
        margin-top: 16px !important;
        margin-bottom: 18px !important;
    }
}


/* 1.0.57 - inline loading galerii bez przeładowania strony */
.ncu-public-gallery-detail-host {
    display: block !important;
}

.ncu-public-gallery-loading {
    margin-top: 18px !important;
    padding: 18px 20px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 18px !important;
    background: #f8fafc !important;
    color: #334155 !important;
    font-weight: 900 !important;
}

.ncu-public-gallery-loading-error {
    background: #fff1f2 !important;
    color: #be123c !important;
}


/* 1.0.58 - JS wyczyszczony z konfliktujących automatycznych przewijań */
.ncu-public-gallery-detail-host {
    display: block !important;
}


/* 1.0.60 - publiczne polubienie AJAX */
.ncu-public-like-form button.is-loading {
    opacity: .65 !important;
    pointer-events: none !important;
}

.ncu-public-like-status {
    display: inline-flex !important;
    align-items: center !important;
    margin-left: 6px !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    color: #be123c !important;
}


/* 1.0.62 - Profil na liście wyszukiwania i stabilniejsze akcje na mobile */
.ncu-profile-action,
.ncu-member-actions .ncu-profile-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 0 14px !important;
    border-radius: 14px !important;
    background: #eef2f7 !important;
    color: #111827 !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.ncu-member-actions,
.ncu-public-actions,
.ncu-public-media-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.ncu-member-actions > *,
.ncu-public-actions > *,
.ncu-public-media-actions > * {
    flex: 0 1 auto !important;
}

@media (max-width: 760px) {
    .ncu-member-actions,
    .ncu-public-actions,
    .ncu-public-media-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .ncu-member-actions > *,
    .ncu-member-actions form,
    .ncu-member-actions button,
    .ncu-member-actions a,
    .ncu-public-actions > *,
    .ncu-public-actions form,
    .ncu-public-actions button,
    .ncu-public-actions a,
    .ncu-public-media-actions > *,
    .ncu-public-media-actions form,
    .ncu-public-media-actions button,
    .ncu-public-media-actions a {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .ncu-public-media-actions {
        grid-template-columns: 1fr 1fr !important;
    }
}


/* 1.0.63 - mobile: publiczne media, opis pod ikonami */
.ncu-public-media-card {
    display: flex !important;
    flex-direction: column !important;
}

.ncu-public-media-card .ncu-public-media-thumb,
.ncu-public-media-card .ncu-public-media-preview,
.ncu-public-media-card > button.ncu-public-media-preview {
    order: 1 !important;
}

.ncu-public-media-card .ncu-public-media-actions {
    order: 2 !important;
}

.ncu-public-media-card .ncu-public-media-description,
.ncu-public-media-card .ncu-public-media-caption,
.ncu-public-media-card .ncu-public-media-title,
.ncu-public-media-card > p,
.ncu-public-media-card > h4 {
    order: 3 !important;
}

@media (max-width: 760px) {
    .ncu-public-media-actions {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        width: 100% !important;
        padding: 12px 10px 6px !important;
        box-sizing: border-box !important;
    }

    .ncu-public-media-actions form,
    .ncu-public-media-actions details,
    .ncu-public-media-actions button,
    .ncu-public-media-actions a {
        flex: 0 0 auto !important;
        width: auto !important;
    }

    .ncu-public-media-actions button,
    .ncu-public-media-actions a {
        min-width: 64px !important;
        min-height: 48px !important;
        padding: 0 13px !important;
        border-radius: 16px !important;
        font-size: 18px !important;
        line-height: 1 !important;
    }

    .ncu-public-media-actions strong {
        font-size: 18px !important;
        line-height: 1 !important;
    }

    .ncu-public-media-card .ncu-public-media-description,
    .ncu-public-media-card .ncu-public-media-caption,
    .ncu-public-media-card .ncu-public-media-title,
    .ncu-public-media-card > p,
    .ncu-public-media-card > h4 {
        padding: 8px 16px 18px !important;
        margin: 0 !important;
        font-size: 15px !important;
        line-height: 1.35 !important;
    }

    .ncu-member-actions {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 7px !important;
        width: 100% !important;
    }

    .ncu-member-actions > *,
    .ncu-member-actions form {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        width: auto !important;
    }

    .ncu-member-actions button,
    .ncu-member-actions a {
        width: 100% !important;
        min-height: 42px !important;
        padding: 0 8px !important;
        border-radius: 14px !important;
        font-size: 14px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

@media (max-width: 390px) {
    .ncu-member-actions {
        gap: 5px !important;
    }

    .ncu-member-actions button,
    .ncu-member-actions a {
        min-height: 40px !important;
        padding: 0 6px !important;
        font-size: 13px !important;
    }

    .ncu-public-media-actions {
        gap: 8px !important;
    }

    .ncu-public-media-actions button,
    .ncu-public-media-actions a {
        min-width: 58px !important;
        min-height: 46px !important;
        padding: 0 10px !important;
    }
}


/* 1.0.64 - publiczny kafelek zdjęcia: zdjęcie, akcje, opis */
.ncu-public-media-card {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

.ncu-public-media-card .ncu-public-media-thumb,
.ncu-public-media-card .ncu-public-media-preview,
.ncu-public-media-card > button.ncu-public-media-preview,
.ncu-public-media-card img,
.ncu-public-media-card video {
    order: 1 !important;
}

.ncu-public-media-card .ncu-public-media-actions {
    order: 2 !important;
}

.ncu-public-media-card .ncu-public-media-description,
.ncu-public-media-card .ncu-public-media-caption,
.ncu-public-media-card .ncu-public-media-title,
.ncu-public-media-card > p,
.ncu-public-media-card > h4 {
    order: 3 !important;
}

@media (max-width: 760px) {
    .ncu-public-media-card .ncu-public-media-thumb,
    .ncu-public-media-card .ncu-public-media-preview,
    .ncu-public-media-card > button.ncu-public-media-preview {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .ncu-public-media-card img,
    .ncu-public-media-card video {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        margin: 0 !important;
    }

    .ncu-public-media-actions {
        display: grid !important;
        grid-template-columns: auto 1fr auto !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
        padding: 10px 14px 6px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        background: transparent !important;
    }

    .ncu-public-media-actions form,
    .ncu-public-media-actions details {
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        min-width: 0 !important;
    }

    .ncu-public-media-actions .ncu-public-like-form {
        grid-column: 1 !important;
        justify-self: start !important;
    }

    .ncu-public-media-actions .ncu-public-report-form {
        grid-column: 3 !important;
        justify-self: end !important;
    }

    .ncu-public-media-actions button,
    .ncu-public-media-actions a,
    .ncu-public-media-actions summary {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 0 !important;
        min-height: 0 !important;
        width: auto !important;
        height: auto !important;
        padding: 4px 6px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #111827 !important;
        font-size: 22px !important;
        line-height: 1 !important;
    }

    .ncu-public-media-actions .ncu-public-like-form button {
        gap: 5px !important;
    }

    .ncu-public-media-actions .ncu-public-like-form button::first-letter {
        font-size: 22px !important;
    }

    .ncu-public-media-actions .ncu-public-like-form strong {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 18px !important;
        font-size: 16px !important;
        line-height: 1 !important;
        font-weight: 900 !important;
        color: #111827 !important;
    }

    .ncu-public-media-actions .ncu-public-report-form summary,
    .ncu-public-media-actions .ncu-public-report-form button {
        font-size: 0 !important;
    }

    .ncu-public-media-actions .ncu-public-report-form summary::before,
    .ncu-public-media-actions .ncu-public-report-form button::before {
        content: "📣" !important;
        font-size: 22px !important;
        line-height: 1 !important;
    }

    .ncu-public-media-card .ncu-public-media-description,
    .ncu-public-media-card .ncu-public-media-caption,
    .ncu-public-media-card .ncu-public-media-title,
    .ncu-public-media-card > p,
    .ncu-public-media-card > h4 {
        display: block !important;
        width: calc(100% - 28px) !important;
        margin: 8px 14px 16px !important;
        padding: 10px 12px !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 14px !important;
        background: #fff !important;
        color: #374151 !important;
        font-size: 15px !important;
        line-height: 1.35 !important;
        box-sizing: border-box !important;
    }
}


/* 1.0.65 - poprawka po 1.0.64: precyzyjny układ publicznych kart media */
.ncu-public-media-card {
    display: grid !important;
    grid-template-areas:
        "thumb"
        "actions"
        "caption" !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
    overflow: hidden !important;
}

.ncu-public-media-card .ncu-public-media-thumb,
.ncu-public-media-card .ncu-public-media-preview,
.ncu-public-media-card > button.ncu-public-media-preview {
    grid-area: thumb !important;
    order: unset !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

.ncu-public-media-card .ncu-public-media-actions {
    grid-area: actions !important;
    order: unset !important;
}

.ncu-public-media-card .ncu-public-media-description,
.ncu-public-media-card .ncu-public-media-caption,
.ncu-public-media-card .ncu-public-media-title {
    grid-area: caption !important;
    order: unset !important;
}

/* Cofnięcie zbyt szerokich reguł z poprzedniej wersji */
.ncu-public-media-card > p,
.ncu-public-media-card > h4 {
    order: unset !important;
}

@media (max-width: 760px) {
    .ncu-public-media-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .ncu-public-media-card .ncu-public-media-thumb img,
    .ncu-public-media-card .ncu-public-media-preview img,
    .ncu-public-media-card > button.ncu-public-media-preview img,
    .ncu-public-media-card .ncu-public-media-thumb video,
    .ncu-public-media-card .ncu-public-media-preview video {
        display: block !important;
        width: 100% !important;
        height: 190px !important;
        max-height: 190px !important;
        object-fit: cover !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .ncu-public-media-actions {
        display: grid !important;
        grid-template-columns: auto 1fr auto !important;
        align-items: center !important;
        column-gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 14px 6px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        background: transparent !important;
    }

    .ncu-public-media-actions .ncu-public-like-form {
        grid-column: 1 !important;
        justify-self: start !important;
        display: inline-flex !important;
        width: auto !important;
        max-width: none !important;
    }

    .ncu-public-media-actions .ncu-public-report-form {
        grid-column: 3 !important;
        justify-self: end !important;
        display: inline-flex !important;
        width: auto !important;
        max-width: none !important;
    }

    .ncu-public-media-actions form,
    .ncu-public-media-actions details {
        margin: 0 !important;
        padding: 0 !important;
        min-width: 0 !important;
    }

    .ncu-public-media-actions button,
    .ncu-public-media-actions a,
    .ncu-public-media-actions summary {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 0 !important;
        height: auto !important;
        padding: 4px 6px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #111827 !important;
        font-size: 22px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .ncu-public-media-actions .ncu-public-like-form button {
        gap: 5px !important;
    }

    .ncu-public-media-actions .ncu-public-like-form strong {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 18px !important;
        font-size: 16px !important;
        line-height: 1 !important;
        font-weight: 900 !important;
        color: #111827 !important;
    }

    .ncu-public-media-actions .ncu-public-report-form summary,
    .ncu-public-media-actions .ncu-public-report-form button {
        font-size: 0 !important;
    }

    .ncu-public-media-actions .ncu-public-report-form summary::before,
    .ncu-public-media-actions .ncu-public-report-form button::before {
        content: "📣" !important;
        font-size: 22px !important;
        line-height: 1 !important;
    }

    .ncu-public-media-card .ncu-public-media-description,
    .ncu-public-media-card .ncu-public-media-caption,
    .ncu-public-media-card .ncu-public-media-title {
        display: block !important;
        width: calc(100% - 28px) !important;
        max-width: calc(100% - 28px) !important;
        margin: 8px 14px 16px !important;
        padding: 10px 12px !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 14px !important;
        background: #fff !important;
        color: #374151 !important;
        font-size: 15px !important;
        line-height: 1.35 !important;
        box-sizing: border-box !important;
        overflow-wrap: anywhere !important;
    }
}


/* 1.0.66 - ostateczny układ publicznej karty media bez przemeblowywania przez p/h4 */
.ncu-public-media-card {
    display: grid !important;
    grid-template-areas:
        "preview"
        "actions"
        "caption" !important;
    grid-template-columns: 1fr !important;
    overflow: hidden !important;
    align-items: stretch !important;
}

.ncu-public-media-card > .ncu-public-media-preview {
    grid-area: preview !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.ncu-public-media-card > .ncu-public-media-preview img,
.ncu-public-media-card > .ncu-public-media-preview video {
    display: block !important;
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    margin: 0 !important;
}

.ncu-public-media-card > .ncu-public-media-actions {
    grid-area: actions !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 10px 14px 6px !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.ncu-public-media-card > .ncu-public-media-actions form,
.ncu-public-media-card > .ncu-public-media-actions details {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
}

.ncu-public-media-card > .ncu-public-media-actions .ncu-public-like-form {
    margin-right: auto !important;
}

.ncu-public-media-card > .ncu-public-media-actions .ncu-public-report-form {
    margin-left: auto !important;
}

.ncu-public-media-card > .ncu-public-media-actions button,
.ncu-public-media-card > .ncu-public-media-actions summary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 4px 6px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #111827 !important;
    font-size: 20px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.ncu-public-media-card > .ncu-public-media-actions .ncu-public-like-form button {
    gap: 5px !important;
}

.ncu-public-media-card > .ncu-public-media-actions .ncu-public-like-form strong {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 18px !important;
    color: #111827 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
}

.ncu-public-media-card > .ncu-public-media-actions .ncu-public-report-form summary {
    font-size: 0 !important;
}

.ncu-public-media-card > .ncu-public-media-actions .ncu-public-report-form summary::before {
    content: "📣" !important;
    font-size: 20px !important;
    line-height: 1 !important;
}

.ncu-public-media-card > .ncu-public-media-caption {
    grid-area: caption !important;
    display: block !important;
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
    margin: 8px 14px 16px !important;
    padding: 10px 12px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: #374151 !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
}

@media (max-width: 760px) {
    .ncu-public-media-card > .ncu-public-media-preview img,
    .ncu-public-media-card > .ncu-public-media-preview video {
        height: 190px !important;
    }
}


/* 1.0.67 - twardy reset układu publicznych kafelków galerii */
.ncu-public-gallery-expanded .ncu-public-media-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 260px)) !important;
    gap: 22px !important;
    align-items: start !important;
}

.ncu-public-gallery-expanded .ncu-public-media-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 260px !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .08) !important;
    box-sizing: border-box !important;
}

.ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-preview {
    order: 1 !important;
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: 190px !important;
    min-height: 190px !important;
    max-height: 190px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f1f5f9 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

.ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-preview img,
.ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-preview video {
    display: block !important;
    width: 100% !important;
    height: 190px !important;
    min-height: 190px !important;
    max-height: 190px !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    transform: none !important;
}

.ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-preview span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 190px !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    color: #111827 !important;
}

.ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions {
    order: 2 !important;
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 10px 14px 6px !important;
    margin: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions form,
.ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions details {
    display: inline-flex !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    position: static !important;
}

.ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions .ncu-public-like-form {
    margin-right: auto !important;
}

.ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions .ncu-public-report-form {
    margin-left: auto !important;
}

.ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions button,
.ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions summary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 4px 6px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #111827 !important;
    font-size: 20px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    position: static !important;
}

.ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions strong {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 18px !important;
    color: #111827 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
}

.ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions .ncu-public-report-form summary {
    font-size: 0 !important;
}

.ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions .ncu-public-report-form summary::before {
    content: "📣" !important;
    display: inline-block !important;
    font-size: 20px !important;
    line-height: 1 !important;
}

.ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-caption {
    order: 3 !important;
    position: static !important;
    display: block !important;
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 42px !important;
    max-height: none !important;
    margin: 8px 14px 16px !important;
    padding: 10px 12px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: #374151 !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
    text-align: left !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    box-sizing: border-box !important;
}

@media (max-width: 760px) {
    .ncu-public-gallery-expanded .ncu-public-media-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .ncu-public-gallery-expanded .ncu-public-media-card {
        max-width: none !important;
        border-radius: 18px !important;
    }

    .ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-preview,
    .ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-preview img,
    .ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-preview video,
    .ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-preview span {
        height: 132px !important;
        min-height: 132px !important;
        max-height: 132px !important;
    }

    .ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions {
        padding: 9px 10px 4px !important;
    }

    .ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions button,
    .ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions summary {
        font-size: 18px !important;
        padding: 4px !important;
    }

    .ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions strong {
        font-size: 14px !important;
        min-width: 16px !important;
    }

    .ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions .ncu-public-report-form summary::before {
        font-size: 18px !important;
    }

    .ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-caption {
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        margin: 7px 10px 12px !important;
        padding: 8px 9px !important;
        min-height: 38px !important;
        font-size: 13px !important;
        line-height: 1.28 !important;
    }
}


/* 1.0.68 - stała wysokość opisów w publicznej galerii */
.ncu-public-gallery-expanded .ncu-public-media-card {
    min-height: 328px !important;
}

.ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-caption {
    height: 66px !important;
    min-height: 66px !important;
    max-height: 66px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
}

@media (max-width: 760px) {
    .ncu-public-gallery-expanded .ncu-public-media-card {
        min-height: 268px !important;
    }

    .ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-caption {
        height: 58px !important;
        min-height: 58px !important;
        max-height: 58px !important;
        -webkit-line-clamp: 3 !important;
        line-clamp: 3 !important;
    }
}


/* 1.0.69 - zgłoszony materiał jako plakietka na miniaturze */
.ncu-public-gallery-expanded .ncu-public-media-card.is-reported > .ncu-public-media-preview,
.ncu-public-media-card.is-reported > .ncu-public-media-preview {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8fafc !important;
    min-height: 190px !important;
    overflow: hidden !important;
}

.ncu-public-gallery-expanded .ncu-public-media-card .ncu-media-reported-note,
.ncu-public-media-card .ncu-media-reported-note {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: min(78%, 230px) !important;
    min-height: 66px !important;
    padding: 12px 14px !important;
    margin: auto !important;
    border: 1px solid #fecdd3 !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .94) !important;
    color: #be123c !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    text-align: center !important;
    box-shadow: 0 14px 34px rgba(190, 18, 60, .12) !important;
    box-sizing: border-box !important;
}

/* 1.0.69 - opis pod zdjęciem/filmem w podglądzie modalnym */
.ncu-public-media-modal-caption {
    width: calc(100% - 32px) !important;
    margin: 12px 16px 16px !important;
    padding: 12px 14px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    background: #fff !important;
    color: #111827 !important;
    font-size: 16px !important;
    line-height: 1.38 !important;
    font-weight: 700 !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
}

.ncu-public-media-modal .ncu-public-media-modal-title,
.ncu-media-lightbox .ncu-public-media-modal-title,
.ncu-lightbox .ncu-public-media-modal-title {
    display: none !important;
}

@media (max-width: 760px) {
    .ncu-public-gallery-expanded .ncu-public-media-card.is-reported > .ncu-public-media-preview,
    .ncu-public-media-card.is-reported > .ncu-public-media-preview {
        min-height: 132px !important;
    }

    .ncu-public-gallery-expanded .ncu-public-media-card .ncu-media-reported-note,
    .ncu-public-media-card .ncu-media-reported-note {
        width: min(82%, 180px) !important;
        min-height: 56px !important;
        padding: 10px 11px !important;
        border-radius: 15px !important;
        font-size: 13px !important;
    }

    .ncu-public-media-modal-caption {
        width: calc(100% - 24px) !important;
        margin: 10px 12px 14px !important;
        padding: 10px 12px !important;
        font-size: 14px !important;
    }
}


/* 1.0.70 - podgląd zdjęcia/filmu bez opisów i nagłówków */
.ncu-public-media-modal-caption,
.ncu-public-media-modal-title,
.ncu-media-lightbox-title,
.ncu-lightbox-title,
[data-ncu-media-modal-title] {
    display: none !important;
}

/* 1.0.70 - zgłoszony materiał: plakietka zawsze w polu miniatury */
.ncu-public-gallery-expanded .ncu-public-media-card.is-reported,
.ncu-public-media-card.is-reported {
    overflow: hidden !important;
}

.ncu-public-gallery-expanded .ncu-public-media-card.is-reported > .ncu-public-media-preview,
.ncu-public-media-card.is-reported > .ncu-public-media-preview {
    order: 1 !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 190px !important;
    height: 190px !important;
    max-height: 190px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f8fafc !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.ncu-public-gallery-expanded .ncu-public-media-card.is-reported .ncu-media-reported-note,
.ncu-public-media-card.is-reported .ncu-media-reported-note,
.ncu-public-gallery-expanded .ncu-public-media-card .ncu-public-media-preview .ncu-media-reported-note,
.ncu-public-media-card .ncu-public-media-preview .ncu-media-reported-note {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: min(78%, 230px) !important;
    max-width: min(78%, 230px) !important;
    min-height: 66px !important;
    height: auto !important;
    padding: 12px 14px !important;
    margin: auto !important;
    border: 1px solid #fecdd3 !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .96) !important;
    color: #be123c !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    box-shadow: 0 14px 34px rgba(190, 18, 60, .12) !important;
    box-sizing: border-box !important;
}

/* jeżeli stary długi komunikat jest poza przyciskiem podglądu, nie pozwól mu rozpychać kafelka */
.ncu-public-gallery-expanded .ncu-public-media-card > .ncu-media-reported-note,
.ncu-public-media-card > .ncu-media-reported-note {
    display: none !important;
}

@media (max-width: 760px) {
    .ncu-public-gallery-expanded .ncu-public-media-card.is-reported > .ncu-public-media-preview,
    .ncu-public-media-card.is-reported > .ncu-public-media-preview {
        min-height: 132px !important;
        height: 132px !important;
        max-height: 132px !important;
    }

    .ncu-public-gallery-expanded .ncu-public-media-card.is-reported .ncu-media-reported-note,
    .ncu-public-media-card.is-reported .ncu-media-reported-note,
    .ncu-public-gallery-expanded .ncu-public-media-card .ncu-public-media-preview .ncu-media-reported-note,
    .ncu-public-media-card .ncu-public-media-preview .ncu-media-reported-note {
        width: min(82%, 180px) !important;
        max-width: min(82%, 180px) !important;
        min-height: 56px !important;
        padding: 10px 11px !important;
        border-radius: 15px !important;
        font-size: 13px !important;
    }
}


/* 1.0.71 - kompaktowy widok Członkowie */
.ncu-members-layout-card {
    padding: 18px !important;
    overflow: hidden !important;
}

.ncu-members-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    min-height: 0 !important;
}

.ncu-members-filters {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.ncu-search-panel-compact {
    padding: 14px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06) !important;
}

.ncu-member-search-compact {
    display: grid !important;
    grid-template-columns: minmax(150px, 210px) minmax(180px, 1fr) auto auto auto !important;
    gap: 10px !important;
    align-items: end !important;
}

.ncu-member-search-compact label {
    display: grid !important;
    gap: 5px !important;
    min-width: 0 !important;
}

.ncu-member-search-compact label span {
    font-size: 11px !important;
    font-weight: 900 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
}

.ncu-member-search-compact input,
.ncu-member-search-compact select {
    width: 100% !important;
    min-height: 40px !important;
    border: 1px solid #d7deea !important;
    border-radius: 14px !important;
    padding: 0 12px !important;
    background: #fff !important;
    color: #101a33 !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}

.ncu-member-search-compact .ncc-button,
.ncu-member-search-compact .ncu-latest-button-compact,
.ncu-member-search-compact .ncu-clear-button-compact {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 13px !important;
    border-radius: 14px !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

.ncu-members-results {
    padding: 0 !important;
    background: transparent !important;
    max-height: var(--ncc-available-height, calc(100dvh - 190px)) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.ncu-results-header {
    display: none !important;
}

.ncu-members-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: start !important;
}

.ncu-member-row-card,
.ncu-member-card.ncu-member-row-card {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) repeat(3, minmax(58px, auto)) auto !important;
    gap: 8px !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 74px !important;
    padding: 10px 12px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .06) !important;
    box-sizing: border-box !important;
}

.ncu-member-row-card .ncu-member-avatar {
    width: 44px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

.ncu-member-row-card .ncu-member-avatar img,
.ncu-member-row-card .ncu-member-avatar span {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 999px !important;
    font-size: 17px !important;
    box-shadow: none !important;
}

.ncu-member-name {
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.ncu-member-name strong {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 15px !important;
    color: #101a33 !important;
}

.ncu-member-row-card .ncu-member-badge {
    flex: 0 0 auto !important;
    padding: 2px 6px !important;
    font-size: 10px !important;
}

.ncu-member-stat {
    min-width: 0 !important;
    display: grid !important;
    justify-items: center !important;
    gap: 1px !important;
}

.ncu-member-stat span {
    color: #64748b !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
}

.ncu-member-stat strong {
    color: #101a33 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
}

.ncu-member-row-card .ncu-member-actions {
    display: grid !important;
    grid-template-columns: repeat(2, auto) !important;
    gap: 6px !important;
    margin: 0 !important;
    justify-content: end !important;
}

.ncu-member-row-card .ncu-profile-action,
.ncu-member-row-card .ncu-message-action {
    min-height: 34px !important;
    height: 34px !important;
    padding: 0 10px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
}

.ncu-member-row-card .ncu-profile-action {
    background: #eef2f7 !important;
    color: #101a33 !important;
}

.ncu-member-row-card .ncu-message-action {
    background: #2563eb !important;
    color: #fff !important;
}

@media (max-width: 1120px) {
    .ncu-members-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 760px) {
    .ncu-members-layout-card {
        padding: 12px !important;
    }

    .ncu-member-search-compact {
        grid-template-columns: 1fr 1fr !important;
    }

    .ncu-compact-select,
    .ncu-compact-value {
        grid-column: span 2 !important;
    }

    .ncu-member-search-compact .ncc-button,
    .ncu-member-search-compact .ncu-latest-button-compact,
    .ncu-member-search-compact .ncu-clear-button-compact {
        width: 100% !important;
        justify-content: center !important;
    }

    .ncu-member-row-card,
    .ncu-member-card.ncu-member-row-card {
        grid-template-columns: 42px minmax(0, 1fr) auto !important;
        grid-template-areas:
            "avatar name actions"
            "avatar stats actions" !important;
        min-height: 82px !important;
    }

    .ncu-member-row-card .ncu-member-avatar {
        grid-area: avatar !important;
    }

    .ncu-member-name {
        grid-area: name !important;
    }

    .ncu-member-row-card .ncu-member-stat {
        display: inline-grid !important;
        margin-right: 10px !important;
    }

    .ncu-member-row-card .ncu-member-stat:nth-of-type(1) {
        grid-area: stats !important;
    }

    .ncu-member-row-card .ncu-member-stat:nth-of-type(2),
    .ncu-member-row-card .ncu-member-stat:nth-of-type(3) {
        grid-area: stats !important;
    }

    .ncu-member-row-card .ncu-member-actions {
        grid-area: actions !important;
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 430px) {
    .ncu-member-row-card,
    .ncu-member-card.ncu-member-row-card {
        grid-template-columns: 38px minmax(0, 1fr) !important;
        grid-template-areas:
            "avatar name"
            "avatar stats"
            "actions actions" !important;
    }

    .ncu-member-row-card .ncu-member-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: 100% !important;
    }
}


/* 1.0.72 - Członkowie: wyszukiwarka w górnej belce + stała wysokość wyników */
.ncu-search-panel-topbar,
.ncu-profile-topbar-in-core .ncu-search-panel-topbar,
.ncc-topbar .ncu-search-panel-topbar {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.ncu-member-search-topbar {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: auto minmax(118px, 150px) minmax(160px, 1fr) auto !important;
    gap: 8px !important;
    align-items: center !important;
}

.ncu-member-search-topbar .ncu-latest-button-compact {
    grid-column: 1 !important;
    grid-row: 1 !important;
    order: -10 !important;
    background: #101a33 !important;
    color: #fff !important;
}

.ncu-member-search-topbar .ncu-compact-select {
    grid-column: 2 !important;
}

.ncu-member-search-topbar .ncu-compact-value {
    grid-column: 3 !important;
    position: relative !important;
}

.ncu-member-search-topbar .ncu-compact-search-button {
    grid-column: 4 !important;
}

.ncu-member-search-topbar label span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

.ncu-member-search-topbar input,
.ncu-member-search-topbar select {
    height: 38px !important;
    min-height: 38px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    padding: 0 34px 0 13px !important;
}

.ncu-member-search-topbar .ncc-button,
.ncu-member-search-topbar .ncu-latest-button-compact {
    height: 38px !important;
    min-height: 38px !important;
    border-radius: 999px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
}

.ncu-member-search-topbar .ncu-value-clear {
    position: absolute !important;
    right: 7px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 24px !important;
    height: 24px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #ef4444 !important;
    font-size: 24px !important;
    line-height: 20px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.ncu-members-layout-card {
    min-height: var(--ncc-available-height, calc(100dvh - 190px)) !important;
    height: var(--ncc-available-height, calc(100dvh - 190px)) !important;
    max-height: var(--ncc-available-height, calc(100dvh - 190px)) !important;
    padding: 14px !important;
    display: flex !important;
    flex-direction: column !important;
}

.ncu-members-layout-results-only,
.ncu-members-results {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: 100% !important;
}

.ncu-members-results {
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 2px !important;
}

.ncu-members-grid {
    padding: 0 !important;
}

.ncu-member-row-card,
.ncu-member-card.ncu-member-row-card {
    grid-template-columns: 44px minmax(0, 1fr) repeat(3, minmax(54px, auto)) minmax(138px, auto) !important;
    min-height: 64px !important;
    padding: 8px 10px !important;
    gap: 7px !important;
}

.ncu-member-row-card .ncu-member-actions {
    align-self: center !important;
    transform: translateY(-2px) !important;
}

.ncu-member-row-card .ncu-profile-action,
.ncu-member-row-card .ncu-message-action {
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 9px !important;
    font-size: 11px !important;
    border-radius: 11px !important;
}

@media (max-width: 860px) {
    .ncu-member-search-topbar {
        grid-template-columns: auto minmax(90px, 120px) minmax(90px, 1fr) auto !important;
        gap: 6px !important;
    }

    .ncu-member-search-topbar input,
    .ncu-member-search-topbar select,
    .ncu-member-search-topbar .ncc-button,
    .ncu-member-search-topbar .ncu-latest-button-compact {
        height: 34px !important;
        min-height: 34px !important;
        font-size: 11px !important;
        padding-left: 10px !important;
        padding-right: 28px !important;
    }

    .ncu-member-search-topbar .ncc-button,
    .ncu-member-search-topbar .ncu-latest-button-compact {
        padding: 0 10px !important;
    }

    .ncu-members-layout-card {
        min-height: var(--ncc-available-height, calc(100dvh - 170px)) !important;
        height: var(--ncc-available-height, calc(100dvh - 170px)) !important;
        max-height: var(--ncc-available-height, calc(100dvh - 170px)) !important;
    }
}

@media (max-width: 520px) {
    .ncu-member-search-topbar {
        grid-template-columns: auto minmax(72px, 92px) minmax(70px, 1fr) auto !important;
        gap: 4px !important;
    }

    .ncu-member-search-topbar .ncc-button,
    .ncu-member-search-topbar .ncu-latest-button-compact {
        padding: 0 8px !important;
        font-size: 10px !important;
    }

    .ncu-member-search-topbar input,
    .ncu-member-search-topbar select {
        font-size: 10px !important;
    }
}


/* 1.0.73 - Członkowie: stabilny HTML row bez skakania i nakładania */
.ncu-member-search-topbar,
.ncu-member-search-compact.ncu-member-search-topbar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
}

.ncu-member-search-topbar .ncu-latest-button-compact,
.ncu-member-search-topbar .ncu-compact-select,
.ncu-member-search-topbar .ncu-compact-value,
.ncu-member-search-topbar .ncu-compact-search-button {
    grid-column: auto !important;
    grid-row: auto !important;
    order: initial !important;
    flex: 0 0 auto !important;
}

.ncu-member-search-topbar .ncu-latest-button-compact {
    order: 1 !important;
}

.ncu-member-search-topbar .ncu-compact-select {
    order: 2 !important;
    width: 150px !important;
    max-width: 24vw !important;
}

.ncu-member-search-topbar .ncu-compact-value {
    order: 3 !important;
    flex: 1 1 auto !important;
    min-width: 110px !important;
    position: relative !important;
}

.ncu-member-search-topbar .ncu-compact-search-button {
    order: 4 !important;
}

.ncu-member-search-topbar input,
.ncu-member-search-topbar select {
    width: 100% !important;
    box-sizing: border-box !important;
}

.ncu-members-grid {
    align-items: start !important;
}

.ncu-member-row-card,
.ncu-member-card.ncu-member-row-card {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 8px 10px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
}

.ncu-member-row-line {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 9px !important;
    width: 100% !important;
    min-width: 0 !important;
}

.ncu-member-row-line .ncu-member-avatar {
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ncu-member-row-line .ncu-member-avatar img,
.ncu-member-row-line .ncu-member-avatar span {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    font-size: 17px !important;
    box-shadow: none !important;
}

.ncu-member-row-line .ncu-member-name {
    flex: 1 1 110px !important;
    min-width: 70px !important;
    max-width: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    overflow: hidden !important;
}

.ncu-member-row-line .ncu-member-name strong {
    display: block !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 15px !important;
    line-height: 1.1 !important;
}

.ncu-member-row-line .ncu-member-stats {
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

.ncu-member-row-line .ncu-member-stat {
    display: grid !important;
    justify-items: center !important;
    gap: 1px !important;
    min-width: 46px !important;
    margin: 0 !important;
}

.ncu-member-row-line .ncu-member-stat span {
    display: block !important;
    font-size: 10px !important;
    line-height: 1 !important;
    color: #64748b !important;
    white-space: nowrap !important;
}

.ncu-member-row-line .ncu-member-stat strong {
    display: block !important;
    font-size: 14px !important;
    line-height: 1 !important;
    color: #101a33 !important;
    font-weight: 900 !important;
}

.ncu-member-row-line .ncu-member-actions {
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    transform: none !important;
}

.ncu-member-row-line .ncu-profile-action,
.ncu-member-row-line .ncu-message-action {
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 10px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

/* Tablet/telefon: dalej jedna linia, ale ukrywamy długie etykiety statystyk.
   Dzięki temu nic nie wskakuje pod siebie i nie robi wieży Babel. */
@media (max-width: 760px) {
    .ncu-member-search-topbar,
    .ncu-member-search-compact.ncu-member-search-topbar {
        gap: 6px !important;
    }

    .ncu-member-search-topbar .ncu-compact-select {
        width: 118px !important;
        max-width: 24vw !important;
    }

    .ncu-member-search-topbar .ncu-compact-value {
        min-width: 72px !important;
    }

    .ncu-member-row-line {
        gap: 7px !important;
    }

    .ncu-member-row-line .ncu-member-avatar {
        flex-basis: 40px !important;
        width: 40px !important;
        height: 40px !important;
    }

    .ncu-member-row-line .ncu-member-avatar img,
    .ncu-member-row-line .ncu-member-avatar span {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }

    .ncu-member-row-line .ncu-member-name {
        flex: 1 1 62px !important;
        min-width: 42px !important;
    }

    .ncu-member-row-line .ncu-member-stats {
        gap: 6px !important;
    }

    .ncu-member-row-line .ncu-member-stat {
        min-width: 20px !important;
    }

    .ncu-member-row-line .ncu-member-stat span {
        display: none !important;
    }

    .ncu-member-row-line .ncu-member-stat strong {
        font-size: 13px !important;
    }

    .ncu-member-row-line .ncu-member-actions {
        gap: 5px !important;
    }

    .ncu-member-row-line .ncu-profile-action,
    .ncu-member-row-line .ncu-message-action {
        height: 30px !important;
        min-height: 30px !important;
        padding: 0 8px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 460px) {
    .ncu-member-search-topbar .ncu-compact-select {
        width: 92px !important;
    }

    .ncu-member-search-topbar input,
    .ncu-member-search-topbar select {
        font-size: 10px !important;
    }

    .ncu-member-row-card,
    .ncu-member-card.ncu-member-row-card {
        padding: 7px 8px !important;
    }

    .ncu-member-row-line {
        gap: 6px !important;
    }

    .ncu-member-row-line .ncu-member-name strong {
        font-size: 13px !important;
    }

    .ncu-member-row-line .ncu-member-badge {
        display: none !important;
    }

    .ncu-member-row-line .ncu-member-stats {
        gap: 4px !important;
    }

    .ncu-member-row-line .ncu-profile-action {
        display: none !important;
    }

    .ncu-member-row-line .ncu-message-action {
        padding: 0 9px !important;
    }
}


/* 1.0.74 - Członkowie: stabilna belka topbar i responsywne rekordy */

/* Topbar nie może rozpychać belki core ani chować się pod przyciskiem użytkownika. */
.ncc-topbar .ncu-search-panel-topbar,
.ncu-search-panel-topbar {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.ncc-topbar .ncu-member-search-topbar,
.ncu-member-search-topbar {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* Kasujemy stare width:100% z .ncu-latest-button, które robiło z NOWE autostradę. */
.ncu-member-search-topbar .ncu-latest-button-compact,
.ncu-member-search-topbar .ncu-latest-button {
    width: auto !important;
    min-width: 74px !important;
    max-width: 104px !important;
    flex: 0 0 auto !important;
    justify-content: center !important;
}

/* Desktop: jedna linia, ale bez wyciekania poza miejsce zostawione przez core. */
@media (min-width: 761px) {
    .ncu-member-search-topbar,
    .ncu-member-search-compact.ncu-member-search-topbar {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .ncu-member-search-topbar .ncu-compact-select {
        flex: 0 1 150px !important;
        width: 150px !important;
        min-width: 120px !important;
        max-width: 170px !important;
    }

    .ncu-member-search-topbar .ncu-compact-value {
        flex: 1 1 190px !important;
        min-width: 140px !important;
        max-width: 260px !important;
    }

    .ncu-member-search-topbar .ncu-compact-search-button {
        flex: 0 0 auto !important;
    }
}

/* Telefon/tablet: dwa zwarte wiersze:
   1) NOWE | filtr | Szukaj
   2) wartość pełną szerokością
*/
@media (max-width: 760px) {
    .ncu-member-search-topbar,
    .ncu-member-search-compact.ncu-member-search-topbar {
        display: grid !important;
        grid-template-columns: auto minmax(86px, 1fr) auto !important;
        grid-template-rows: 34px 34px !important;
        align-items: center !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .ncu-member-search-topbar .ncu-latest-button-compact {
        grid-column: 1 !important;
        grid-row: 1 !important;
        min-width: 62px !important;
        max-width: 78px !important;
        width: auto !important;
        height: 34px !important;
        min-height: 34px !important;
        padding: 0 10px !important;
        font-size: 10px !important;
        border-radius: 999px !important;
    }

    .ncu-member-search-topbar .ncu-compact-select {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    .ncu-member-search-topbar .ncu-compact-search-button {
        grid-column: 3 !important;
        grid-row: 1 !important;
        width: auto !important;
        min-width: 66px !important;
        height: 34px !important;
        min-height: 34px !important;
        padding: 0 10px !important;
        font-size: 10px !important;
        border-radius: 999px !important;
    }

    .ncu-member-search-topbar .ncu-compact-value {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        position: relative !important;
    }

    .ncu-member-search-topbar input,
    .ncu-member-search-topbar select {
        width: 100% !important;
        height: 34px !important;
        min-height: 34px !important;
        font-size: 11px !important;
        border-radius: 999px !important;
        box-sizing: border-box !important;
    }

    .ncu-member-search-topbar .ncu-value-clear {
        right: 8px !important;
        width: 22px !important;
        height: 22px !important;
        font-size: 22px !important;
    }
}

/* Bardzo wąsko: dalej dwa wiersze, zero rozpychania. */
@media (max-width: 430px) {
    .ncu-member-search-topbar,
    .ncu-member-search-compact.ncu-member-search-topbar {
        grid-template-columns: auto minmax(72px, 1fr) auto !important;
        gap: 5px !important;
    }

    .ncu-member-search-topbar .ncu-latest-button-compact {
        min-width: 54px !important;
        max-width: 62px !important;
        padding: 0 7px !important;
        font-size: 9px !important;
    }

    .ncu-member-search-topbar .ncu-compact-search-button {
        min-width: 58px !important;
        padding: 0 8px !important;
        font-size: 9px !important;
    }

    .ncu-member-search-topbar input,
    .ncu-member-search-topbar select {
        font-size: 10px !important;
        padding-left: 10px !important;
        padding-right: 28px !important;
    }
}

/* Rekord członka: na średniej szerokości przyciski nie mogą robić wielkich klocków ani uciekać. */
@media (max-width: 980px) {
    .ncu-members-grid {
        grid-template-columns: 1fr !important;
    }

    .ncu-member-row-line {
        gap: 8px !important;
    }

    .ncu-member-row-line .ncu-member-actions {
        flex: 0 0 auto !important;
        gap: 6px !important;
    }

    .ncu-member-row-line .ncu-profile-action,
    .ncu-member-row-line .ncu-message-action {
        width: auto !important;
        min-width: 72px !important;
        max-width: none !important;
        height: 32px !important;
        min-height: 32px !important;
        padding: 0 10px !important;
        font-size: 12px !important;
    }
}

/* Telefon: jeden rekord jako 2 linie w HTML:
   linia 1: avatar | nick | statystyki
   linia 2: Profil | Wiadomość
   Dzięki temu Wiadomość nie wystaje poza ekran.
*/
@media (max-width: 560px) {
    .ncu-member-row-card,
    .ncu-member-card.ncu-member-row-card {
        padding: 9px 10px !important;
    }

    .ncu-member-row-line {
        display: grid !important;
        grid-template-columns: 42px minmax(0, 1fr) auto !important;
        grid-template-areas:
            "avatar name stats"
            "actions actions actions" !important;
        gap: 7px 8px !important;
        align-items: center !important;
    }

    .ncu-member-row-line .ncu-member-avatar {
        grid-area: avatar !important;
        width: 42px !important;
        height: 42px !important;
        flex: none !important;
    }

    .ncu-member-row-line .ncu-member-avatar img,
    .ncu-member-row-line .ncu-member-avatar span {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
    }

    .ncu-member-row-line .ncu-member-name {
        grid-area: name !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .ncu-member-row-line .ncu-member-name strong {
        font-size: 15px !important;
    }

    .ncu-member-row-line .ncu-member-stats {
        grid-area: stats !important;
        display: flex !important;
        gap: 7px !important;
        justify-content: flex-end !important;
    }

    .ncu-member-row-line .ncu-member-stat {
        min-width: 18px !important;
    }

    .ncu-member-row-line .ncu-member-stat span {
        display: none !important;
    }

    .ncu-member-row-line .ncu-member-stat strong {
        font-size: 14px !important;
    }

    .ncu-member-row-line .ncu-member-actions {
        grid-area: actions !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: 100% !important;
        gap: 8px !important;
    }

    .ncu-member-row-line .ncu-profile-action,
    .ncu-member-row-line .ncu-message-action {
        display: inline-flex !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 34px !important;
        min-height: 34px !important;
        padding: 0 8px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 360px) {
    .ncu-member-row-line {
        grid-template-columns: 38px minmax(0, 1fr) auto !important;
        gap: 6px !important;
    }

    .ncu-member-row-line .ncu-member-avatar,
    .ncu-member-row-line .ncu-member-avatar img,
    .ncu-member-row-line .ncu-member-avatar span {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }

    .ncu-member-row-line .ncu-member-stats {
        gap: 5px !important;
    }
}


/* 1.0.75 - Członkowie: kafelek jest jednym linkiem do profilu, bez przycisków */
.ncu-member-search-topbar .ncu-latest-button-compact,
.ncu-member-search-topbar .ncu-compact-search-button {
    transform: translateY(-3px) !important;
}

.ncu-member-search-topbar .ncu-value-clear {
    transform: translateY(calc(-50% - 3px)) !important;
}

.ncu-member-row-card,
.ncu-member-card.ncu-member-row-card {
    display: block !important;
    padding: 0 !important;
    overflow: hidden !important;
    min-height: 0 !important;
    height: auto !important;
}

.ncu-member-row-link {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 62px !important;
    padding: 9px 12px !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer !important;
}

.ncu-member-row-link:hover {
    background: #f8fbff !important;
}

.ncu-member-row-link .ncu-member-avatar {
    flex: 0 0 46px !important;
    width: 46px !important;
    height: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ncu-member-row-link .ncu-member-avatar img,
.ncu-member-row-link .ncu-member-avatar > span {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    border-radius: 999px !important;
    object-fit: cover !important;
    box-shadow: none !important;
}

.ncu-member-main {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 18px !important;
}

.ncu-member-row-link .ncu-member-name {
    flex: 1 1 170px !important;
    min-width: 80px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    overflow: hidden !important;
}

.ncu-member-row-link .ncu-member-name strong {
    display: block !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #101a33 !important;
    font-size: 15px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
}

.ncu-member-row-link .ncu-member-stats {
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    margin: 0 !important;
}

.ncu-member-row-link .ncu-member-stat {
    min-width: 54px !important;
    display: grid !important;
    justify-items: start !important;
    align-items: center !important;
    gap: 1px !important;
}

.ncu-member-row-link .ncu-member-stat span {
    display: block !important;
    font-size: 10px !important;
    line-height: 1 !important;
    color: #64748b !important;
    white-space: nowrap !important;
}

.ncu-member-row-link .ncu-member-stat strong {
    display: block !important;
    font-size: 14px !important;
    line-height: 1 !important;
    color: #101a33 !important;
    font-weight: 900 !important;
}

.ncu-member-row-line,
.ncu-member-actions,
.ncu-profile-action,
.ncu-message-action {
    display: none !important;
}

@media (max-width: 760px) {
    .ncu-member-row-link {
        min-height: 62px !important;
        padding: 8px 10px !important;
        gap: 10px !important;
    }

    .ncu-member-main {
        gap: 9px !important;
    }

    .ncu-member-row-link .ncu-member-avatar,
    .ncu-member-row-link .ncu-member-avatar img,
    .ncu-member-row-link .ncu-member-avatar > span {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
    }

    .ncu-member-row-link .ncu-member-name {
        flex: 1 1 78px !important;
        min-width: 48px !important;
    }

    .ncu-member-row-link .ncu-member-name strong {
        font-size: 14px !important;
    }

    .ncu-member-row-link .ncu-member-stats {
        gap: 9px !important;
    }

    .ncu-member-row-link .ncu-member-stat {
        min-width: 22px !important;
        justify-items: start !important;
    }

    .ncu-member-row-link .ncu-member-stat span {
        display: none !important;
    }

    .ncu-member-row-link .ncu-member-stat strong {
        font-size: 14px !important;
    }
}

@media (max-width: 430px) {
    .ncu-member-row-link {
        gap: 8px !important;
        min-height: 58px !important;
    }

    .ncu-member-main {
        gap: 7px !important;
    }

    .ncu-member-row-link .ncu-member-avatar,
    .ncu-member-row-link .ncu-member-avatar img,
    .ncu-member-row-link .ncu-member-avatar > span {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }

    .ncu-member-row-link .ncu-member-name {
        min-width: 36px !important;
    }

    .ncu-member-row-link .ncu-member-badge {
        display: none !important;
    }

    .ncu-member-row-link .ncu-member-stats {
        gap: 6px !important;
    }

    .ncu-member-row-link .ncu-member-stat {
        min-width: 18px !important;
    }

    .ncu-member-row-link .ncu-member-stat strong {
        font-size: 13px !important;
    }
}


/* 1.0.76 - Członkowie: usunięcie wewnętrznego "pływania" statystyk na mobile */
.ncu-member-row-card,
.ncu-member-card.ncu-member-row-card,
.ncu-member-row-link,
.ncu-member-main,
.ncu-member-stats,
.ncu-member-stat,
.ncu-member-name {
    box-sizing: border-box !important;
}

.ncu-member-row-link {
    justify-content: flex-start !important;
}

.ncu-member-main {
    min-width: 0 !important;
    width: 100% !important;
}

/* Desktop/tablet szeroki: statystyki nadal mogą być z opisami, ale są bliżej nicku. */
@media (min-width: 761px) {
    .ncu-member-main {
        justify-content: flex-start !important;
    }

    .ncu-member-row-link .ncu-member-name {
        flex: 0 1 260px !important;
    }

    .ncu-member-row-link .ncu-member-stats {
        margin-left: auto !important;
        padding-left: 12px !important;
    }
}

/* W momencie gdy topbar robi 2 wiersze, kafelek ma być matematycznie prosty:
   avatar | nick | 3 | 4 | 0. Bez etykiet, bez auto-marginów, bez osobnego bloku. */
@media (max-width: 760px) {
    .ncu-member-row-link {
        display: grid !important;
        grid-template-columns: 42px minmax(0, 1fr) auto auto auto !important;
        gap: 9px !important;
        align-items: center !important;
        min-height: 62px !important;
        padding: 8px 10px !important;
    }

    .ncu-member-row-link .ncu-member-avatar {
        grid-column: 1 !important;
        width: 42px !important;
        height: 42px !important;
        flex: none !important;
    }

    .ncu-member-row-link .ncu-member-avatar img,
    .ncu-member-row-link .ncu-member-avatar > span {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
    }

    .ncu-member-main {
        display: contents !important;
    }

    .ncu-member-row-link .ncu-member-name {
        grid-column: 2 !important;
        min-width: 0 !important;
        width: auto !important;
        max-width: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 6px !important;
        overflow: hidden !important;
    }

    .ncu-member-row-link .ncu-member-name strong {
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        font-size: 15px !important;
    }

    .ncu-member-row-link .ncu-member-stats {
        display: contents !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    .ncu-member-row-link .ncu-member-stat {
        min-width: 0 !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .ncu-member-row-link .ncu-member-stat:nth-child(1) {
        grid-column: 3 !important;
    }

    .ncu-member-row-link .ncu-member-stat:nth-child(2) {
        grid-column: 4 !important;
    }

    .ncu-member-row-link .ncu-member-stat:nth-child(3) {
        grid-column: 5 !important;
    }

    .ncu-member-row-link .ncu-member-stat span {
        display: none !important;
    }

    .ncu-member-row-link .ncu-member-stat strong {
        display: inline-block !important;
        font-size: 15px !important;
        line-height: 1 !important;
        font-weight: 900 !important;
        color: #101a33 !important;
        text-align: center !important;
    }
}

@media (max-width: 430px) {
    .ncu-member-row-link {
        grid-template-columns: 38px minmax(0, 1fr) auto auto auto !important;
        gap: 7px !important;
        min-height: 58px !important;
        padding: 7px 9px !important;
    }

    .ncu-member-row-link .ncu-member-avatar,
    .ncu-member-row-link .ncu-member-avatar img,
    .ncu-member-row-link .ncu-member-avatar > span {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }

    .ncu-member-row-link .ncu-member-name strong {
        font-size: 14px !important;
    }

    .ncu-member-row-link .ncu-member-badge {
        display: none !important;
    }

    .ncu-member-row-link .ncu-member-stat strong {
        font-size: 14px !important;
    }
}


/* 1.0.77 - RESET listy Członkowie i topbara wyszukiwarki */

/* TOPBAR: kolejność HTML = NOWE | select | value | search */
.ncu-search-panel-topbar,
.ncc-topbar .ncu-search-panel-topbar {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.ncu-member-search-topbar,
.ncu-member-search-compact.ncu-member-search-topbar {
    display: grid !important;
    grid-template-columns: auto minmax(128px, 180px) minmax(160px, 1fr) auto !important;
    grid-auto-rows: 38px !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.ncu-member-search-topbar .ncu-latest-button-compact,
.ncu-member-search-topbar .ncu-compact-select,
.ncu-member-search-topbar .ncu-compact-value,
.ncu-member-search-topbar .ncu-compact-search-button {
    order: initial !important;
    grid-row: auto !important;
    grid-column: auto !important;
    transform: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.ncu-member-search-topbar .ncu-latest-button-compact {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 76px !important;
    max-width: 96px !important;
    height: 38px !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    background: #101a33 !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

.ncu-member-search-topbar label {
    display: block !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
}

.ncu-member-search-topbar label > span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

.ncu-member-search-topbar input,
.ncu-member-search-topbar select {
    display: block !important;
    width: 100% !important;
    height: 38px !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 0 34px 0 14px !important;
    border: 1px solid #d7deea !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #101a33 !important;
    font-size: 13px !important;
    line-height: 38px !important;
    box-sizing: border-box !important;
}

.ncu-member-search-topbar .ncu-compact-search-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 78px !important;
    height: 38px !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 0 15px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

.ncu-member-search-topbar .ncu-value-clear {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 2 !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #ef4444 !important;
    font-size: 22px !important;
    line-height: 20px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
}

@media (max-width: 760px) {
    .ncu-member-search-topbar,
    .ncu-member-search-compact.ncu-member-search-topbar {
        grid-template-columns: auto minmax(90px, 1fr) auto !important;
        grid-template-rows: 34px 34px !important;
        gap: 6px !important;
    }

    .ncu-member-search-topbar .ncu-latest-button-compact {
        grid-column: 1 !important;
        grid-row: 1 !important;
        min-width: 58px !important;
        max-width: 72px !important;
        height: 34px !important;
        min-height: 34px !important;
        padding: 0 9px !important;
        font-size: 10px !important;
    }

    .ncu-member-search-topbar .ncu-compact-select {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    .ncu-member-search-topbar .ncu-compact-search-button {
        grid-column: 3 !important;
        grid-row: 1 !important;
        min-width: 62px !important;
        height: 34px !important;
        min-height: 34px !important;
        padding: 0 9px !important;
        font-size: 10px !important;
    }

    .ncu-member-search-topbar .ncu-compact-value {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
    }

    .ncu-member-search-topbar input,
    .ncu-member-search-topbar select {
        height: 34px !important;
        min-height: 34px !important;
        line-height: 34px !important;
        font-size: 11px !important;
    }
}

/* MEMBER RESULT CARD: full reset, one line, icons only */
.ncu-member-row-card,
.ncu-member-card.ncu-member-row-card {
    all: unset !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05) !important;
    overflow: hidden !important;
}

.ncu-member-row-link {
    all: unset !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 44px minmax(90px, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 62px !important;
    padding: 8px 12px !important;
    cursor: pointer !important;
    color: #101a33 !important;
}

.ncu-member-row-link:hover {
    background: #f8fbff !important;
}

.ncu-member-row-link .ncu-member-avatar {
    all: unset !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    background: #eef2ff !important;
}

.ncu-member-row-link .ncu-member-avatar img,
.ncu-member-row-link .ncu-member-avatar > span {
    all: unset !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 999px !important;
    object-fit: cover !important;
    font-weight: 900 !important;
    color: #1e3a8a !important;
    background: #eef2ff !important;
}

.ncu-member-row-link .ncu-member-name {
    all: unset !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.ncu-member-row-link .ncu-member-name strong {
    all: unset !important;
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #101a33 !important;
    font-size: 15px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
}

.ncu-member-row-link .ncu-member-badge {
    all: unset !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    height: 20px !important;
    padding: 0 7px !important;
    border-radius: 999px !important;
    background: #fff7ed !important;
    color: #9a3412 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.ncu-member-row-link .ncu-member-stats {
    all: unset !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    white-space: nowrap !important;
}

.ncu-member-row-link .ncu-member-stat {
    all: unset !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    color: #101a33 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
}

.ncu-member-row-link .ncu-stat-icon {
    all: unset !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    min-width: 18px !important;
    font-size: 15px !important;
    line-height: 1 !important;
}

.ncu-member-row-link .ncu-member-stat strong {
    all: unset !important;
    display: inline-block !important;
    color: #101a33 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
}

@media (max-width: 760px) {
    .ncu-member-row-link {
        grid-template-columns: 40px minmax(50px, 1fr) auto !important;
        gap: 8px !important;
        min-height: 58px !important;
        padding: 7px 9px !important;
    }

    .ncu-member-row-link .ncu-member-avatar,
    .ncu-member-row-link .ncu-member-avatar img,
    .ncu-member-row-link .ncu-member-avatar > span {
        width: 40px !important;
        height: 40px !important;
    }

    .ncu-member-row-link .ncu-member-name strong {
        font-size: 14px !important;
    }

    .ncu-member-row-link .ncu-member-stats {
        gap: 7px !important;
    }

    .ncu-member-row-link .ncu-stat-icon {
        width: 16px !important;
        min-width: 16px !important;
        font-size: 14px !important;
    }

    .ncu-member-row-link .ncu-member-stat {
        gap: 2px !important;
    }

    .ncu-member-row-link .ncu-member-stat strong {
        font-size: 13px !important;
    }
}

@media (max-width: 390px) {
    .ncu-member-row-link {
        grid-template-columns: 36px minmax(38px, 1fr) auto !important;
        gap: 6px !important;
    }

    .ncu-member-row-link .ncu-member-avatar,
    .ncu-member-row-link .ncu-member-avatar img,
    .ncu-member-row-link .ncu-member-avatar > span {
        width: 36px !important;
        height: 36px !important;
    }

    .ncu-member-row-link .ncu-member-badge {
        display: none !important;
    }

    .ncu-member-row-link .ncu-member-stats {
        gap: 5px !important;
    }

    .ncu-member-row-link .ncu-stat-icon {
        width: 15px !important;
        min-width: 15px !important;
        font-size: 13px !important;
    }

    .ncu-member-row-link .ncu-member-stat strong {
        font-size: 12px !important;
    }
}


/* 1.0.78 - Członkowie: izolowane klasy, bez konfliktu z core i starymi .ncu-member-* */

/* Wyrównanie zawartości topbara. Przycisk Szukaj ma unikalną klasę. */
.ncu-member-search-topbar {
    align-items: center !important;
}

.ncu-member-search-topbar .ncu-members-search-submit {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: start !important;
    align-self: center !important;
    width: auto !important;
    min-width: 78px !important;
    max-width: 92px !important;
    height: 38px !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 0 15px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #2563eb !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transform: translateY(-1px) !important;
}

.ncu-member-search-topbar .ncu-value-clear {
    transform: translateY(calc(-50% - 1px)) !important;
}

/* Usunięcie wpływu starej klasy guzika, jeśli gdzieś jeszcze istnieje */
.ncu-member-search-topbar .ncu-compact-search-button {
    all: unset !important;
}

/* Równy margines karty wyników przy przejściu na węższe ekrany. */
.ncu-members-layout-card {
    box-sizing: border-box !important;
}

.ncu-members-results {
    box-sizing: border-box !important;
}

@media (max-width: 760px) {
    .ncu-members-layout-card {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .ncu-members-grid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .ncu-member-search-topbar .ncu-members-search-submit {
        grid-column: 3 !important;
        grid-row: 1 !important;
        min-width: 62px !important;
        max-width: 68px !important;
        height: 34px !important;
        min-height: 34px !important;
        padding: 0 9px !important;
        font-size: 10px !important;
        transform: none !important;
    }
}

/* Nowy, izolowany rekord członka */
.ncu-members-result-item {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05) !important;
    overflow: hidden !important;
}

.ncu-members-result-link {
    display: grid !important;
    grid-template-columns: 44px minmax(120px, 1fr) auto !important;
    align-items: center !important;
    justify-content: start !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 62px !important;
    padding: 8px 12px !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    color: #101a33 !important;
    cursor: pointer !important;
}

.ncu-members-result-link:hover {
    background: #f8fbff !important;
}

.ncu-members-result-avatar {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    background: #eef2ff !important;
}

.ncu-members-result-avatar img,
.ncu-members-result-avatar > span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 999px !important;
    object-fit: cover !important;
    background: #eef2ff !important;
    color: #1e3a8a !important;
    font-weight: 900 !important;
}

.ncu-members-result-name {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.ncu-members-result-name strong {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #101a33 !important;
    font-size: 15px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
}

.ncu-members-result-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    height: 20px !important;
    padding: 0 7px !important;
    border-radius: 999px !important;
    background: #fff7ed !important;
    color: #9a3412 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.ncu-members-result-stats {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    min-width: 0 !important;
    white-space: nowrap !important;
}

.ncu-members-result-stat {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    color: #101a33 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
}

.ncu-members-result-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    min-width: 18px !important;
    font-size: 15px !important;
    line-height: 1 !important;
}

.ncu-members-result-stat strong {
    display: inline-block !important;
    color: #101a33 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
}

@media (max-width: 760px) {
    .ncu-members-result-link {
        grid-template-columns: 40px minmax(70px, 1fr) auto !important;
        gap: 8px !important;
        min-height: 58px !important;
        padding: 7px 9px !important;
    }

    .ncu-members-result-avatar,
    .ncu-members-result-avatar img,
    .ncu-members-result-avatar > span {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }

    .ncu-members-result-name strong {
        font-size: 14px !important;
    }

    .ncu-members-result-stats {
        justify-self: start !important;
        gap: 7px !important;
    }

    .ncu-members-result-icon {
        display: inline-flex !important;
        width: 16px !important;
        min-width: 16px !important;
        font-size: 14px !important;
    }

    .ncu-members-result-stat {
        gap: 2px !important;
    }

    .ncu-members-result-stat strong {
        font-size: 13px !important;
    }
}

@media (max-width: 390px) {
    .ncu-members-result-link {
        grid-template-columns: 36px minmax(48px, 1fr) auto !important;
        gap: 6px !important;
    }

    .ncu-members-result-avatar,
    .ncu-members-result-avatar img,
    .ncu-members-result-avatar > span {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
    }

    .ncu-members-result-badge {
        display: none !important;
    }

    .ncu-members-result-stats {
        gap: 5px !important;
    }

    .ncu-members-result-icon {
        display: inline-flex !important;
        width: 15px !important;
        min-width: 15px !important;
        font-size: 13px !important;
    }

    .ncu-members-result-stat strong {
        font-size: 12px !important;
    }
}


/* 1.0.79 - Członkowie: Szukaj ma stać zaraz za polem wartości, nie przy prawej krawędzi */

/* Desktop i szeroki tablet: zwykły flex w kolejności HTML:
   NOWE | filtr | wartość | Szukaj.
   Bez 1fr, bez rozciągania pustej kolumny. */
@media (min-width: 761px) {
    .ncu-member-search-topbar,
    .ncu-member-search-compact.ncu-member-search-topbar {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        width: auto !important;
        max-width: calc(100% - 110px) !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .ncu-member-search-topbar .ncu-latest-button-compact {
        flex: 0 0 auto !important;
        order: 1 !important;
    }

    .ncu-member-search-topbar .ncu-compact-select {
        flex: 0 0 180px !important;
        width: 180px !important;
        max-width: 180px !important;
        order: 2 !important;
    }

    .ncu-member-search-topbar .ncu-compact-value {
        flex: 0 1 360px !important;
        width: 360px !important;
        max-width: 360px !important;
        min-width: 220px !important;
        order: 3 !important;
        position: relative !important;
    }

    .ncu-member-search-topbar .ncu-members-search-submit {
        flex: 0 0 auto !important;
        order: 4 !important;
        justify-self: auto !important;
        margin-left: 0 !important;
        transform: none !important;
    }
}

/* Średnie szerokości przed trybem mobilnym: zawęź wartość, ale dalej trzymaj Szukaj obok. */
@media (min-width: 761px) and (max-width: 1050px) {
    .ncu-member-search-topbar,
    .ncu-member-search-compact.ncu-member-search-topbar {
        max-width: calc(100% - 90px) !important;
        gap: 8px !important;
    }

    .ncu-member-search-topbar .ncu-compact-select {
        flex-basis: 150px !important;
        width: 150px !important;
        max-width: 150px !important;
    }

    .ncu-member-search-topbar .ncu-compact-value {
        flex-basis: 280px !important;
        width: 280px !important;
        max-width: 280px !important;
        min-width: 170px !important;
    }
}

/* Mobile zostaje jako 2 wiersze, ale nowy przycisk też ustawiamy w tym układzie. */
@media (max-width: 760px) {
    .ncu-member-search-topbar,
    .ncu-member-search-compact.ncu-member-search-topbar {
        display: grid !important;
        grid-template-columns: auto minmax(90px, 1fr) auto !important;
        grid-template-rows: 34px 34px !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .ncu-member-search-topbar .ncu-latest-button-compact {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .ncu-member-search-topbar .ncu-compact-select {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 100% !important;
        max-width: none !important;
    }

    .ncu-member-search-topbar .ncu-members-search-submit {
        grid-column: 3 !important;
        grid-row: 1 !important;
        width: auto !important;
        min-width: 62px !important;
        max-width: 68px !important;
        height: 34px !important;
        min-height: 34px !important;
        padding: 0 9px !important;
        font-size: 10px !important;
        transform: none !important;
        margin: 0 !important;
    }

    .ncu-member-search-topbar .ncu-compact-value {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }
}


/* NEWS Community Core v0.1+ compatibility layer */
.ncu-form-card,
.ncu-public-profile-card,
.ncu-members-layout-card,
.ncu-gallery-card,
.ncu-profile-content-card {
    background: var(--nevv-color-surface);
    color: var(--nevv-color-text);
    border-radius: var(--nevv-radius-lg);
}
.ncu-profile-tab,
.ncu-report-profile-button,
.ncu-form button,
.ncu-members-search-form button {
    font-family: var(--nevv-font-family);
}
.ncu-profile-tab.is-active {
    background: var(--nevv-color-primary);
    color: #fff;
}
.ncu-alert {
    background: var(--nevv-color-surface);
    color: var(--nevv-color-text);
    border-radius: var(--nevv-radius-md);
}


/* 1.1.3-core - dopasowanie widoków profilu do szerokości CORE i usunięcie starego ograniczenia formularzy */
.ncu-profile-root,
.ncu-profile-root > .ncc-card,
.ncu-profile-root > .nevv-panel,
.ncu-form-card,
.ncu-members-layout-card {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

.ncu-profile-content-card,
.ncu-profile-content-card > .ncu-form,
.ncu-profile-content-basic .ncu-form,
.ncu-profile-content-basic .ncu-basic-compact,
.ncu-profile-content-basic .ncu-basic-compact-grid {
    width: 100% !important;
    max-width: none !important;
}

.ncu-profile-content-basic .ncu-basic-compact-grid {
    grid-template-columns: minmax(120px, 170px) minmax(0, 1fr) minmax(180px, 240px) !important;
}

.ncu-profile-topbar-in-core .ncu-profile-tabs {
    justify-content: center !important;
}

@media (max-width: 900px) {
    .ncu-profile-content-basic .ncu-basic-compact-grid {
        grid-template-columns: minmax(110px, 140px) minmax(0, 1fr) !important;
    }
}

@media (max-width: 620px) {
    .ncu-profile-content-basic .ncu-basic-compact-grid {
        grid-template-columns: 1fr !important;
    }
}


/* 1.1.5-core - Czlonkowie topbar uses global CORE UI tokens.
   HTML keeps the search order. CSS below only normalizes colors/fonts/sizes
   to CORE variables and overrides old hardcoded legacy rules. */
.ncu-member-search-topbar .ncu-latest-button-compact,
.ncu-member-search-topbar .ncu-members-search-submit {
    font-size: var(--nevv-topbar-menu-font-size, var(--nevv-normal-font-size, 16px)) !important;
    border-radius: var(--nevv-radius-button, var(--nevv-radius-md, 10px)) !important;
    font-family: var(--nevv-font-family, inherit) !important;
    font-weight: 650 !important;
    min-height: 38px !important;
    height: 38px !important;
    padding: 0 14px !important;
    box-shadow: none !important;
    transform: none !important;
}

.ncu-member-search-topbar .ncu-latest-button-compact {
    background: rgba(15, 23, 42, .08) !important;
    color: var(--nevv-color-text, #111827) !important;
    border: 0 !important;
}

.ncu-member-search-topbar .ncu-latest-button-compact:hover {
    color: var(--nevv-color-text, #111827) !important;
    background: rgba(15, 23, 42, .12) !important;
}

.ncu-member-search-topbar .ncu-members-search-submit {
    background: var(--nevv-color-primary, #2563eb) !important;
    color: #fff !important;
    border: 0 !important;
}

.ncu-member-search-topbar .ncu-members-search-submit:hover {
    background: var(--nevv-color-primary-hover, var(--nevv-color-primary, #2563eb)) !important;
}

.ncu-member-search-topbar input,
.ncu-member-search-topbar select,
.ncu-member-search-topbar .ncu-member-filter-value,
.ncu-member-search-topbar .ncu-member-filter-select {
    font-size: var(--nevv-topbar-menu-font-size, var(--nevv-normal-font-size, 16px)) !important;
    color: var(--nevv-color-text, #111827) !important;
    border: var(--nevv-border, 1px solid #d7deea) !important;
    border-radius: var(--nevv-radius-input, var(--nevv-radius-md, 10px)) !important;
    background: var(--nevv-color-surface, #fff) !important;
    font-family: var(--nevv-font-family, inherit) !important;
    min-height: 38px !important;
    height: 38px !important;
}

.ncu-member-search-topbar input:focus,
.ncu-member-search-topbar select:focus {
    outline: 2px solid color-mix(in srgb, var(--nevv-color-primary, #2563eb) 35%, transparent) !important;
    border-color: var(--nevv-color-primary, #2563eb) !important;
}

.ncu-member-search-topbar .ncu-value-clear {
    color: var(--nevv-color-danger, #dc2626) !important;
}


/* v1.1.6-core: widoki profilu/czlonkow uzywaja pelnej szerokosci CORE */
.nevv-content .ncu-shell,
.nevv-content .ncu-profile,
.nevv-content .ncu-profile-card,
.nevv-content .ncu-members,
.nevv-content .ncu-members-shell,
.nevv-content .ncu-panel,
.nevv-content .ncu-card,
.nevv-content .ncu-profile-edit,
.nevv-content .ncu-section,
.nevv-content .ncu-form {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* v1.1.7-core: widok Czlonkowie wypelnia cale pole CORE bez dodatkowego marginesu z paddingu kontenera. */
body.nevv-community-standalone .nevv-content > .ncu-members-layout-card,
body.nevv-community-standalone .nevv-content .ncu-members-layout-card:first-child {
    margin: calc(-1 * var(--nevv-content-margin, 12px)) !important;
    width: calc(100% + (var(--nevv-content-margin, 12px) * 2)) !important;
    max-width: calc(100% + (var(--nevv-content-margin, 12px) * 2)) !important;
    height: calc(100% + (var(--nevv-content-margin, 12px) * 2)) !important;
    max-height: calc(100% + (var(--nevv-content-margin, 12px) * 2)) !important;
    box-sizing: border-box !important;
}

body.nevv-community-standalone .nevv-content > .ncu-members-layout-card .ncu-members-results {
    padding-right: 0 !important;
}

/* v1.1.8-core: Profil wypelnia cale pole CORE tak jak widok Czlonkowie. */
body.nevv-community-standalone .nevv-content > .ncu-profile-root,
body.nevv-community-standalone .nevv-content > .ncu-form-card,
body.nevv-community-standalone .nevv-content > .ncu-profile-content-card,
body.nevv-community-standalone .nevv-content > .ncu-public-profile-card {
    margin: calc(-1 * var(--nevv-content-margin, 12px)) !important;
    width: calc(100% + (var(--nevv-content-margin, 12px) * 2)) !important;
    max-width: calc(100% + (var(--nevv-content-margin, 12px) * 2)) !important;
    height: calc(100% + (var(--nevv-content-margin, 12px) * 2)) !important;
    max-height: calc(100% + (var(--nevv-content-margin, 12px) * 2)) !important;
    box-sizing: border-box !important;
}

body.nevv-community-standalone .nevv-content > .ncu-profile-root .ncu-form-card,
body.nevv-community-standalone .nevv-content > .ncu-form-card .ncu-profile-content-card {
    width: 100% !important;
    max-width: none !important;
}


/* v1.1.9-core: Czlonkowie - typografia i kontrolki zgodne z globalnym CORE.
   Komunikat instrukcji jest H2, a elementy topbara uzywaja zmiennych gornej belki. */
.ncu-members-instruction {
    margin: 0 0 22px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    font-family: var(--nevv-font-family, inherit) !important;
    font-size: var(--nevv-h2-font-size, 26px) !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: var(--nevv-h2-color, var(--nevv-color-text, #111827)) !important;
}

.ncu-members-results .ncu-empty-results {
    color: var(--nevv-normal-color, var(--nevv-color-text, #111827)) !important;
    font-size: var(--nevv-normal-font-size, 16px) !important;
    font-family: var(--nevv-font-family, inherit) !important;
}

.ncu-member-search-topbar,
.ncu-member-search-compact.ncu-member-search-topbar {
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-text, #111827)) !important;
    font-size: var(--nevv-topbar-menu-font-size, var(--nevv-normal-font-size, 16px)) !important;
    font-family: var(--nevv-font-family, inherit) !important;
}

.ncu-member-search-topbar .ncu-latest-button-compact,
.ncu-member-search-topbar .ncu-latest-button,
.ncu-member-search-topbar .ncu-members-search-submit,
.ncu-member-search-topbar .ncu-compact-search-button,
.ncu-member-search-topbar input,
.ncu-member-search-topbar select,
.ncu-member-search-topbar .ncu-member-filter-value,
.ncu-member-search-topbar .ncu-member-filter-select {
    font-family: var(--nevv-font-family, inherit) !important;
    font-size: var(--nevv-topbar-menu-font-size, var(--nevv-normal-font-size, 16px)) !important;
    min-height: 38px !important;
    height: 38px !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
}

.ncu-member-search-topbar .ncu-latest-button-compact,
.ncu-member-search-topbar .ncu-latest-button {
    background: var(--nevv-color-button-secondary-bg, rgba(15, 23, 42, .08)) !important;
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-text, #111827)) !important;
    border: var(--nevv-border, 1px solid transparent) !important;
    border-radius: var(--nevv-radius-button, var(--nevv-radius-md, 10px)) !important;
    font-weight: 650 !important;
    text-decoration: none !important;
}

.ncu-member-search-topbar .ncu-latest-button-compact:hover,
.ncu-member-search-topbar .ncu-latest-button:hover {
    background: var(--nevv-color-button-secondary-hover-bg, rgba(15, 23, 42, .12)) !important;
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-text, #111827)) !important;
}

.ncu-member-search-topbar .ncu-members-search-submit,
.ncu-member-search-topbar .ncu-compact-search-button {
    background: var(--nevv-color-primary, #2563eb) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: var(--nevv-radius-button, var(--nevv-radius-md, 10px)) !important;
    font-weight: 650 !important;
}

.ncu-member-search-topbar .ncu-members-search-submit:hover,
.ncu-member-search-topbar .ncu-compact-search-button:hover {
    background: var(--nevv-color-primary-hover, var(--nevv-color-primary, #2563eb)) !important;
}

.ncu-member-search-topbar input,
.ncu-member-search-topbar select,
.ncu-member-search-topbar .ncu-member-filter-value,
.ncu-member-search-topbar .ncu-member-filter-select {
    background: var(--nevv-color-surface, #fff) !important;
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-text, #111827)) !important;
    border: var(--nevv-border, 1px solid #d7deea) !important;
    border-radius: var(--nevv-radius-input, var(--nevv-radius-md, 10px)) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.ncu-member-search-topbar input::placeholder {
    color: var(--nevv-description-color, #667085) !important;
    opacity: .82 !important;
}

.ncu-member-search-topbar label,
.ncu-member-search-topbar label > span {
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-text, #111827)) !important;
}

.ncu-member-search-topbar .ncu-value-clear {
    color: var(--nevv-color-danger, #dc2626) !important;
}


/* v1.1.10-core: Czlonkowie - finalne podpiecie topbara i braku wynikow pod zmienne CORE. */
.ncu-members-results .ncu-empty-results {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    font-family: var(--nevv-font-family, inherit) !important;
    font-size: var(--nevv-h3-font-size, 22px) !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: var(--nevv-h3-color, var(--nevv-color-text, #111827)) !important;
}

.ncu-member-search-topbar,
.ncu-member-search-topbar label,
.ncu-member-search-topbar label > span,
.ncu-member-search-topbar .ncu-latest-button-compact,
.ncu-member-search-topbar .ncu-latest-button,
.ncu-member-search-topbar input,
.ncu-member-search-topbar select,
.ncu-member-search-topbar .ncu-member-filter-value,
.ncu-member-search-topbar .ncu-member-filter-select {
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-text, #111827)) !important;
    font-size: var(--nevv-topbar-menu-font-size, var(--nevv-normal-font-size, 16px)) !important;
    font-family: var(--nevv-font-family, inherit) !important;
}

.ncu-member-search-topbar input::placeholder {
    color: var(--nevv-description-color, var(--nevv-topbar-menu-text-color, #667085)) !important;
    opacity: .75 !important;
}

.ncu-member-search-topbar .ncu-members-search-submit {
    color: #fff !important;
}

/* v1.1.12-core: jednolite przyciski i pola wg NEWS Community Core */
body.nevv-community-standalone .ncu-profile-root .nevv-btn,
body.nevv-community-standalone .ncu-profile-root button,
body.nevv-community-standalone .ncu-profile-root input[type="submit"],
body.nevv-community-standalone .ncu-members-layout-card .nevv-btn,
body.nevv-community-standalone .ncu-members-layout-card button,
body.nevv-community-standalone .ncu-members-layout-card input[type="submit"],
body.nevv-community-standalone .ncu-gallery-card .nevv-btn,
body.nevv-community-standalone .ncu-gallery-card button,
body.nevv-community-standalone .ncu-gallery-card input[type="submit"] {
    font-family: var(--nevv-font-family, inherit) !important;
    font-size: var(--nevv-normal-font-size, 16px) !important;
    border-radius: var(--nevv-radius-button, var(--nevv-radius-md, 10px)) !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

body.nevv-community-standalone .ncu-profile-root .nevv-btn-primary,
body.nevv-community-standalone .ncu-profile-root button[type="submit"],
body.nevv-community-standalone .ncu-profile-root input[type="submit"],
body.nevv-community-standalone .ncu-members-layout-card .nevv-btn-primary,
body.nevv-community-standalone .ncu-members-layout-card button[type="submit"],
body.nevv-community-standalone .ncu-members-layout-card input[type="submit"],
body.nevv-community-standalone .ncu-gallery-card .nevv-btn-primary,
body.nevv-community-standalone .ncu-gallery-card button[type="submit"],
body.nevv-community-standalone .ncu-gallery-card input[type="submit"] {
    background: var(--nevv-color-primary, #2563eb) !important;
    color: var(--nevv-color-on-primary, #fff) !important;
    border-color: var(--nevv-color-primary, #2563eb) !important;
}

body.nevv-community-standalone .ncu-profile-root .nevv-btn-primary:hover,
body.nevv-community-standalone .ncu-profile-root button[type="submit"]:hover,
body.nevv-community-standalone .ncu-profile-root input[type="submit"]:hover,
body.nevv-community-standalone .ncu-members-layout-card .nevv-btn-primary:hover,
body.nevv-community-standalone .ncu-members-layout-card button[type="submit"]:hover,
body.nevv-community-standalone .ncu-members-layout-card input[type="submit"]:hover,
body.nevv-community-standalone .ncu-gallery-card .nevv-btn-primary:hover,
body.nevv-community-standalone .ncu-gallery-card button[type="submit"]:hover,
body.nevv-community-standalone .ncu-gallery-card input[type="submit"]:hover {
    background: var(--nevv-color-primary-hover, var(--nevv-color-primary, #2563eb)) !important;
    color: var(--nevv-color-on-primary, #fff) !important;
}

body.nevv-community-standalone .ncu-profile-root .nevv-btn-secondary,
body.nevv-community-standalone .ncu-profile-root button:not([type="submit"]),
body.nevv-community-standalone .ncu-members-layout-card .nevv-btn-secondary,
body.nevv-community-standalone .ncu-members-layout-card button:not([type="submit"]),
body.nevv-community-standalone .ncu-gallery-card .nevv-btn-secondary,
body.nevv-community-standalone .ncu-gallery-card button:not([type="submit"]) {
    background: var(--nevv-color-button-secondary-bg, rgba(15, 23, 42, .08)) !important;
    color: var(--nevv-color-text, #111827) !important;
    border-color: var(--nevv-color-border, #d7deea) !important;
}

body.nevv-community-standalone .ncu-profile-root .nevv-btn-secondary:hover,
body.nevv-community-standalone .ncu-profile-root button:not([type="submit"]):hover,
body.nevv-community-standalone .ncu-members-layout-card .nevv-btn-secondary:hover,
body.nevv-community-standalone .ncu-members-layout-card button:not([type="submit"]):hover,
body.nevv-community-standalone .ncu-gallery-card .nevv-btn-secondary:hover,
body.nevv-community-standalone .ncu-gallery-card button:not([type="submit"]):hover {
    background: var(--nevv-color-button-secondary-hover-bg, rgba(15, 23, 42, .12)) !important;
    color: var(--nevv-color-text, #111827) !important;
}

body.nevv-community-standalone .ncu-profile-root input,
body.nevv-community-standalone .ncu-profile-root select,
body.nevv-community-standalone .ncu-profile-root textarea,
body.nevv-community-standalone .ncu-members-layout-card input,
body.nevv-community-standalone .ncu-members-layout-card select,
body.nevv-community-standalone .ncu-members-layout-card textarea,
body.nevv-community-standalone .ncu-gallery-card input,
body.nevv-community-standalone .ncu-gallery-card select,
body.nevv-community-standalone .ncu-gallery-card textarea {
    font-family: var(--nevv-font-family, inherit) !important;
    font-size: var(--nevv-normal-font-size, 16px) !important;
    border-radius: var(--nevv-radius-input, var(--nevv-radius-md, 10px)) !important;
    color: var(--nevv-color-text, #111827) !important;
    background: var(--nevv-color-surface, #fff) !important;
    border-color: var(--nevv-color-border, #d7deea) !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-profile-tab.nevv-btn-primary {
    background: var(--nevv-color-primary, #2563eb) !important;
    border-color: var(--nevv-color-primary, #2563eb) !important;
    color: var(--nevv-color-on-primary, #fff) !important;
    border-radius: var(--nevv-radius-button, var(--nevv-radius-md, 10px)) !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-profile-tab.nevv-btn-secondary,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .nevv-btn-secondary,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-latest-button {
    background: var(--nevv-color-button-secondary-bg, rgba(15, 23, 42, .08)) !important;
    border-color: var(--nevv-color-border, #d7deea) !important;
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-text, #111827)) !important;
    border-radius: var(--nevv-radius-button, var(--nevv-radius-md, 10px)) !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .nevv-btn-primary,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-members-search-submit {
    background: var(--nevv-color-primary, #2563eb) !important;
    border-color: var(--nevv-color-primary, #2563eb) !important;
    color: var(--nevv-color-on-primary, #fff) !important;
    border-radius: var(--nevv-radius-button, var(--nevv-radius-md, 10px)) !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar input,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar select {
    border-radius: var(--nevv-radius-input, var(--nevv-radius-md, 10px)) !important;
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-text, #111827)) !important;
}

/* 1.1.13-core - Czlonkowie: topbar ma w pelni brac kolory i zaokraglenia klawiszy z CORE */
.nevv-topbar .ncu-member-search-topbar .ncu-latest-button-compact,
.nevv-topbar .ncu-member-search-topbar .ncu-members-search-submit,
.nevv-topbar .ncu-member-search-topbar a.ncu-latest-button-compact,
.nevv-topbar .ncu-member-search-topbar button.ncu-members-search-submit {
    background: var(--nevv-color-primary) !important;
    color: #fff !important;
    border-color: var(--nevv-color-primary) !important;
    border-radius: var(--nevv-radius-button) !important;
    font-family: var(--nevv-font-family) !important;
    font-size: var(--nevv-topbar-menu-font-size, var(--nevv-normal-font-size, 16px)) !important;
    font-weight: 650 !important;
    text-decoration: none !important;
}

.nevv-topbar .ncu-member-search-topbar .ncu-latest-button-compact:hover,
.nevv-topbar .ncu-member-search-topbar .ncu-members-search-submit:hover,
.nevv-topbar .ncu-member-search-topbar a.ncu-latest-button-compact:hover,
.nevv-topbar .ncu-member-search-topbar button.ncu-members-search-submit:hover {
    background: var(--nevv-color-primary-hover) !important;
    color: #fff !important;
    border-color: var(--nevv-color-primary-hover) !important;
}

.nevv-topbar .ncu-member-search-topbar .ncu-latest-button-compact:active,
.nevv-topbar .ncu-member-search-topbar .ncu-members-search-submit:active,
.nevv-topbar .ncu-member-search-topbar a.ncu-latest-button-compact:active,
.nevv-topbar .ncu-member-search-topbar button.ncu-members-search-submit:active {
    background: var(--nevv-color-primary-active) !important;
    color: #fff !important;
    border-color: var(--nevv-color-primary-active) !important;
}

.nevv-topbar .ncu-member-search-topbar .ncu-member-filter-select,
.nevv-topbar .ncu-member-search-topbar .ncu-member-filter-value,
.nevv-topbar .ncu-member-search-topbar select.nevv-select,
.nevv-topbar .ncu-member-search-topbar input.nevv-input {
    background: var(--nevv-color-surface) !important;
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-text)) !important;
    border: var(--nevv-border) !important;
    border-radius: var(--nevv-radius-input) !important;
    font-family: var(--nevv-font-family) !important;
    font-size: var(--nevv-topbar-menu-font-size, var(--nevv-normal-font-size, 16px)) !important;
}

.nevv-topbar .ncu-member-search-topbar .ncu-member-filter-value::placeholder {
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-text)) !important;
    opacity: .62 !important;
}

.nevv-topbar .ncu-member-search-topbar .ncu-value-clear {
    color: var(--nevv-color-primary-active) !important;
    border-radius: var(--nevv-radius-button) !important;
}

/* 1.1.16-core - chirurgiczny most do CORE: modul uklada, CORE maluje.
   Nie wprowadzamy lokalnych kolorow/ksztaltow - tylko zmienne i klasy CORE. */
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar * {
    font-family: var(--nevv-font-family, inherit) !important;
    font-size: var(--nevv-topbar-menu-font-size, var(--nevv-normal-font-size, 16px)) !important;
}

/* W topbarze etykiety formularza sa semantycznie w HTML, ale wizualnie ukrywamy je,
   zeby kontrolki zostaly w jednej linii. */
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar label > span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-latest-button-compact,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-members-search-submit,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar a.ncu-latest-button-compact,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar button.ncu-members-search-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 0 18px !important;
    border: 0 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    font-weight: 800 !important;
    background: var(--nevv-color-primary, #2563eb) !important;
    color: #fff !important;
    border-radius: var(--nevv-radius-button, 10px) !important;
    box-shadow: none !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-latest-button-compact:hover,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-members-search-submit:hover,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar a.ncu-latest-button-compact:hover,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar button.ncu-members-search-submit:hover {
    background: var(--nevv-color-primary-hover, var(--nevv-color-primary, #2563eb)) !important;
    color: #fff !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-latest-button-compact:active,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-members-search-submit:active,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar a.ncu-latest-button-compact:active,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar button.ncu-members-search-submit:active {
    background: var(--nevv-color-primary-active, var(--nevv-color-primary-hover, var(--nevv-color-primary, #2563eb))) !important;
    color: #fff !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-member-filter-select,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-member-filter-value,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar select.nevv-select,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar input.nevv-input {
    min-height: 42px !important;
    box-sizing: border-box !important;
    background: var(--nevv-color-surface, #fff) !important;
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-text, #111827)) !important;
    border: var(--nevv-border, 1px solid #d7deea) !important;
    border-radius: var(--nevv-radius-input, 10px) !important;
    box-shadow: none !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-member-filter-value::placeholder {
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-text, #111827)) !important;
    opacity: .55 !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar input:focus,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar select:focus {
    outline: 2px solid color-mix(in srgb, var(--nevv-color-primary, #2563eb) 35%, transparent) !important;
    border-color: var(--nevv-color-primary, #2563eb) !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-value-clear {
    color: var(--nevv-color-primary-active, var(--nevv-color-primary, #2563eb)) !important;
    border-radius: var(--nevv-radius-button, 10px) !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Przyciski akcji w module user - ich rozmiar/uklad zostaje lokalny, wyglad z CORE. */
body.nevv-community-standalone .ncu-profile-root .nevv-btn,
body.nevv-community-standalone .ncu-members-layout-card .nevv-btn,
body.nevv-community-standalone .ncu-gallery-card .nevv-btn,
body.nevv-community-standalone .ncu-member-actions .ncu-message-action,
body.nevv-community-standalone .ncu-member-actions .ncu-profile-action,
body.nevv-community-standalone .ncu-home-vip-block a {
    border-radius: var(--nevv-radius-button, 10px) !important;
    font-family: var(--nevv-font-family, inherit) !important;
}

body.nevv-community-standalone .ncu-profile-root .nevv-btn-primary,
body.nevv-community-standalone .ncu-members-layout-card .nevv-btn-primary,
body.nevv-community-standalone .ncu-gallery-card .nevv-btn-primary,
body.nevv-community-standalone .ncu-member-actions .ncu-message-action,
body.nevv-community-standalone .ncu-home-vip-block a {
    background: var(--nevv-color-primary, #2563eb) !important;
    color: #fff !important;
    border-color: var(--nevv-color-primary, #2563eb) !important;
}

body.nevv-community-standalone .ncu-profile-root .nevv-btn-primary:hover,
body.nevv-community-standalone .ncu-members-layout-card .nevv-btn-primary:hover,
body.nevv-community-standalone .ncu-gallery-card .nevv-btn-primary:hover,
body.nevv-community-standalone .ncu-member-actions .ncu-message-action:hover,
body.nevv-community-standalone .ncu-home-vip-block a:hover:hover {
    background: var(--nevv-color-primary-hover, var(--nevv-color-primary, #2563eb)) !important;
    color: #fff !important;
    border-color: var(--nevv-color-primary-hover, var(--nevv-color-primary, #2563eb)) !important;
}

body.nevv-community-standalone .ncu-profile-root .nevv-btn-primary:active,
body.nevv-community-standalone .ncu-members-layout-card .nevv-btn-primary:active,
body.nevv-community-standalone .ncu-gallery-card .nevv-btn-primary:active,
body.nevv-community-standalone .ncu-member-actions .ncu-message-action:active,
body.nevv-community-standalone .ncu-home-vip-block a:active:active {
    background: var(--nevv-color-primary-active, var(--nevv-color-primary-hover, var(--nevv-color-primary, #2563eb))) !important;
    color: #fff !important;
    border-color: var(--nevv-color-primary-active, var(--nevv-color-primary-hover, var(--nevv-color-primary, #2563eb))) !important;
}

body.nevv-community-standalone .ncu-profile-root input,
body.nevv-community-standalone .ncu-profile-root select,
body.nevv-community-standalone .ncu-profile-root textarea,
body.nevv-community-standalone .ncu-members-layout-card input,
body.nevv-community-standalone .ncu-members-layout-card select,
body.nevv-community-standalone .ncu-members-layout-card textarea,
body.nevv-community-standalone .ncu-public-profile-card input,
body.nevv-community-standalone .ncu-public-profile-card select,
body.nevv-community-standalone .ncu-public-profile-card textarea {
    border-radius: var(--nevv-radius-input, 10px) !important;
    font-family: var(--nevv-font-family, inherit) !important;
}


/* 1.1.17-core - profil topbar: modul uklada, CORE maluje.
   Zakladki profilu w gornej belce maja dzialac jak standardowe klawisze CORE:
   zwykle = kolor podstawowy, hover = kolor po najechaniu, aktywne = kolor aktywny.
   Bez lokalnych kolorow, tylko zmienne wystawione przez CORE. */
body.nevv-community-standalone .nevv-topbar-center:has([data-ncu-profile-tab]) {
    flex-wrap: wrap !important;
    overflow: visible !important;
    align-content: center !important;
    row-gap: 8px !important;
}

body.nevv-community-standalone .nevv-topbar:has([data-ncu-profile-tab]) {
    height: auto !important;
    min-height: var(--nevv-topbar-min-height, 64px) !important;
}

body.nevv-community-standalone .nevv-topbar [data-ncu-profile-tab].nevv-btn,
body.nevv-community-standalone .nevv-topbar button[data-ncu-profile-tab].nevv-btn {
    background: var(--nevv-color-primary) !important;
    color: var(--nevv-color-on-primary, #fff) !important;
    border-color: var(--nevv-color-primary) !important;
    border-radius: var(--nevv-radius-button) !important;
    font-family: var(--nevv-font-family, inherit) !important;
    font-size: var(--nevv-topbar-menu-font-size, var(--nevv-normal-font-size, 16px)) !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
}

body.nevv-community-standalone .nevv-topbar [data-ncu-profile-tab].nevv-btn:hover,
body.nevv-community-standalone .nevv-topbar button[data-ncu-profile-tab].nevv-btn:hover {
    background: var(--nevv-color-primary-hover) !important;
    color: var(--nevv-color-on-primary, #fff) !important;
    border-color: var(--nevv-color-primary-hover) !important;
}

body.nevv-community-standalone .nevv-topbar [data-ncu-profile-tab].nevv-btn-primary,
body.nevv-community-standalone .nevv-topbar button[data-ncu-profile-tab].nevv-btn-primary,
body.nevv-community-standalone .nevv-topbar [data-ncu-profile-tab].is-active,
body.nevv-community-standalone .nevv-topbar button[data-ncu-profile-tab].is-active {
    background: var(--nevv-color-primary-active) !important;
    color: var(--nevv-color-on-primary, #fff) !important;
    border-color: var(--nevv-color-primary-active) !important;
}

body.nevv-community-standalone .nevv-topbar [data-ncu-profile-tab].nevv-btn-primary:hover,
body.nevv-community-standalone .nevv-topbar button[data-ncu-profile-tab].nevv-btn-primary:hover,
body.nevv-community-standalone .nevv-topbar [data-ncu-profile-tab].is-active:hover,
body.nevv-community-standalone .nevv-topbar button[data-ncu-profile-tab].is-active:hover {
    background: var(--nevv-color-primary-active) !important;
    color: var(--nevv-color-on-primary, #fff) !important;
    border-color: var(--nevv-color-primary-active) !important;
}


/* 1.1.19-core - Dane podstawowe: HTML dostaje klasy CORE, modul tylko uklada.
   Nick/opis i pola formularza biora kolor/font/ksztalt z ustawien CORE. */
body.nevv-community-standalone .ncu-profile-content-basic .ncu-field > label {
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-text, #111827)) !important;
    font-family: var(--nevv-font-family, inherit) !important;
    font-size: var(--nevv-normal-font-size, 16px) !important;
}

body.nevv-community-standalone .ncu-profile-content-basic .ncu-desc,
body.nevv-community-standalone .ncu-profile-content-basic .ncu-field-description,
body.nevv-community-standalone .ncu-profile-content-basic .ncu-field small,
body.nevv-community-standalone .ncu-profile-content-basic .ncu-field .description {
    color: var(--nevv-description-color, var(--nevv-topbar-menu-text-color, var(--nevv-color-text, #111827))) !important;
    font-family: var(--nevv-font-family, inherit) !important;
    font-size: var(--nevv-description-font-size, var(--nevv-normal-font-size, 16px)) !important;
}

body.nevv-community-standalone .ncu-profile-content-basic .ncu-control.nevv-input,
body.nevv-community-standalone .ncu-profile-content-basic .ncu-control.nevv-select,
body.nevv-community-standalone .ncu-profile-content-basic input.nevv-input,
body.nevv-community-standalone .ncu-profile-content-basic textarea.nevv-input,
body.nevv-community-standalone .ncu-profile-content-basic select.nevv-select {
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-text, #111827)) !important;
    background: var(--nevv-color-surface, #fff) !important;
    border: var(--nevv-border, 1px solid #d7deea) !important;
    border-radius: var(--nevv-radius-input, 10px) !important;
    font-family: var(--nevv-font-family, inherit) !important;
    font-size: var(--nevv-normal-font-size, 16px) !important;
}

body.nevv-community-standalone .ncu-profile-content-basic .ncu-control.nevv-input:focus,
body.nevv-community-standalone .ncu-profile-content-basic .ncu-control.nevv-select:focus,
body.nevv-community-standalone .ncu-profile-content-basic input.nevv-input:focus,
body.nevv-community-standalone .ncu-profile-content-basic textarea.nevv-input:focus,
body.nevv-community-standalone .ncu-profile-content-basic select.nevv-select:focus {
    outline: 2px solid color-mix(in srgb, var(--nevv-color-primary, #2563eb) 35%, transparent) !important;
    border-color: var(--nevv-color-primary, #2563eb) !important;
}



/* 1.1.20-core - chirurgiczne dopięcie topbarów do CORE.
   Moduł układa, CORE maluje: podstawowy/hover/aktywny i zaokrąglenia są wyłącznie ze zmiennych CORE. */
body.nevv-community-standalone .nevv-topbar [data-ncu-profile-tab].nevv-btn,
body.nevv-community-standalone .nevv-topbar button[data-ncu-profile-tab].nevv-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    font-family: var(--nevv-font-family, inherit) !important;
    font-size: var(--nevv-topbar-menu-font-size, var(--nevv-normal-font-size, 16px)) !important;
    border-radius: var(--nevv-radius-button, 10px) !important;
    text-decoration: none !important;
}

body.nevv-community-standalone .nevv-topbar [data-ncu-profile-tab].nevv-btn:not(.nevv-btn-active):not([aria-current="page"]),
body.nevv-community-standalone .nevv-topbar button[data-ncu-profile-tab].nevv-btn:not(.nevv-btn-active):not([aria-current="page"]) {
    background: var(--nevv-color-primary, #2563eb) !important;
    border-color: var(--nevv-color-primary, #2563eb) !important;
    color: var(--nevv-color-on-primary, #fff) !important;
}

body.nevv-community-standalone .nevv-topbar [data-ncu-profile-tab].nevv-btn:not(.nevv-btn-active):not([aria-current="page"]):hover,
body.nevv-community-standalone .nevv-topbar button[data-ncu-profile-tab].nevv-btn:not(.nevv-btn-active):not([aria-current="page"]):hover {
    background: var(--nevv-color-primary-hover, var(--nevv-color-primary, #2563eb)) !important;
    border-color: var(--nevv-color-primary-hover, var(--nevv-color-primary, #2563eb)) !important;
    color: var(--nevv-color-on-primary, #fff) !important;
}

body.nevv-community-standalone .nevv-topbar [data-ncu-profile-tab].nevv-btn-active,
body.nevv-community-standalone .nevv-topbar [data-ncu-profile-tab][aria-current="page"],
body.nevv-community-standalone .nevv-topbar button[data-ncu-profile-tab].nevv-btn-active,
body.nevv-community-standalone .nevv-topbar button[data-ncu-profile-tab][aria-current="page"] {
    background: var(--nevv-color-primary-active, var(--nevv-color-primary, #2563eb)) !important;
    border-color: var(--nevv-color-primary-active, var(--nevv-color-primary, #2563eb)) !important;
    color: var(--nevv-color-on-primary, #fff) !important;
}

body.nevv-community-standalone .nevv-topbar [data-ncu-profile-tab].nevv-btn-active:hover,
body.nevv-community-standalone .nevv-topbar [data-ncu-profile-tab][aria-current="page"]:hover,
body.nevv-community-standalone .nevv-topbar button[data-ncu-profile-tab].nevv-btn-active:hover,
body.nevv-community-standalone .nevv-topbar button[data-ncu-profile-tab][aria-current="page"]:hover {
    background: var(--nevv-color-primary-active, var(--nevv-color-primary, #2563eb)) !important;
    border-color: var(--nevv-color-primary-active, var(--nevv-color-primary, #2563eb)) !important;
    color: var(--nevv-color-on-primary, #fff) !important;
}

body.nevv-community-standalone .nevv-topbar-center:has([data-ncu-profile-tab]) {
    flex-wrap: wrap !important;
    overflow: visible !important;
    row-gap: 8px !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar label > span {
    display: none !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-latest-button-compact,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-members-search-submit,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar a.ncu-latest-button-compact,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar button.ncu-members-search-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    background: var(--nevv-color-primary, #2563eb) !important;
    border-color: var(--nevv-color-primary, #2563eb) !important;
    color: var(--nevv-color-on-primary, #fff) !important;
    border-radius: var(--nevv-radius-button, 10px) !important;
    font-family: var(--nevv-font-family, inherit) !important;
    font-size: var(--nevv-topbar-menu-font-size, var(--nevv-normal-font-size, 16px)) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-latest-button-compact:hover,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-members-search-submit:hover,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar a.ncu-latest-button-compact:hover,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar button.ncu-members-search-submit:hover {
    background: var(--nevv-color-primary-hover, var(--nevv-color-primary, #2563eb)) !important;
    border-color: var(--nevv-color-primary-hover, var(--nevv-color-primary, #2563eb)) !important;
    color: var(--nevv-color-on-primary, #fff) !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-latest-button-compact:active,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-members-search-submit:active,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar a.ncu-latest-button-compact:active,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar button.ncu-members-search-submit:active {
    background: var(--nevv-color-primary-active, var(--nevv-color-primary, #2563eb)) !important;
    border-color: var(--nevv-color-primary-active, var(--nevv-color-primary, #2563eb)) !important;
    color: var(--nevv-color-on-primary, #fff) !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-member-filter-select,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-member-filter-value,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar select.nevv-select,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar input.nevv-input {
    min-height: 42px !important;
    box-sizing: border-box !important;
    background: var(--nevv-color-surface, #fff) !important;
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-text, #111827)) !important;
    border-radius: var(--nevv-radius-input, 10px) !important;
    font-family: var(--nevv-font-family, inherit) !important;
    font-size: var(--nevv-topbar-menu-font-size, var(--nevv-normal-font-size, 16px)) !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-member-filter-value::placeholder {
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-text, #111827)) !important;
    opacity: .55 !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-value-clear {
    color: var(--nevv-color-primary-active, var(--nevv-color-primary, #2563eb)) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: var(--nevv-radius-button, 10px) !important;
}


/* 1.1.21-core - Czlonkowie topbar: modul uklada, CORE maluje.
   Usuwa mobilna ramke/grid i zostawia kolejnosc HTML: NOWE, kryterium, wartosc, Szukaj. */
.nevv-topbar .ncu-search-panel-topbar,
.ncu-search-panel-topbar {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.nevv-topbar .ncu-member-search-topbar,
.ncu-member-search-topbar,
.ncu-member-search-compact.ncu-member-search-topbar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
}

.nevv-topbar .ncu-member-search-topbar label,
.ncu-member-search-topbar label {
    display: block !important;
    margin: 0 !important;
    min-width: 0 !important;
}

.nevv-topbar .ncu-member-search-topbar label span,
.ncu-member-search-topbar label span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.nevv-topbar .ncu-member-search-topbar .ncu-latest-button-compact,
.nevv-topbar .ncu-member-search-topbar .ncu-members-search-submit,
.ncu-member-search-topbar .ncu-latest-button-compact,
.ncu-member-search-topbar .ncu-members-search-submit {
    order: initial !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    height: auto !important;
    min-height: 38px !important;
    padding: 9px 13px !important;
    border: 0 !important;
    border-radius: var(--nevv-radius-button) !important;
    font: inherit !important;
    font-size: var(--nevv-topbar-menu-font-size, inherit) !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    background: var(--nevv-color-primary) !important;
    color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
    white-space: nowrap !important;
}

.nevv-topbar .ncu-member-search-topbar .ncu-latest-button-compact:hover,
.nevv-topbar .ncu-member-search-topbar .ncu-members-search-submit:hover,
.ncu-member-search-topbar .ncu-latest-button-compact:hover,
.ncu-member-search-topbar .ncu-members-search-submit:hover {
    background: var(--nevv-color-primary-hover) !important;
    color: #fff !important;
}

.nevv-topbar .ncu-member-search-topbar .ncu-latest-button-compact:active,
.nevv-topbar .ncu-member-search-topbar .ncu-members-search-submit:active,
.ncu-member-search-topbar .ncu-latest-button-compact:active,
.ncu-member-search-topbar .ncu-members-search-submit:active {
    background: var(--nevv-color-primary-active) !important;
    color: #fff !important;
}

.nevv-topbar .ncu-member-search-topbar .ncu-compact-select,
.ncu-member-search-topbar .ncu-compact-select {
    order: initial !important;
    flex: 0 1 180px !important;
    width: auto !important;
    min-width: 140px !important;
    max-width: 220px !important;
}

.nevv-topbar .ncu-member-search-topbar .ncu-compact-value,
.ncu-member-search-topbar .ncu-compact-value {
    order: initial !important;
    flex: 1 1 260px !important;
    width: auto !important;
    min-width: 180px !important;
    max-width: 460px !important;
    position: relative !important;
}

.nevv-topbar .ncu-member-search-topbar input,
.nevv-topbar .ncu-member-search-topbar select,
.ncu-member-search-topbar input,
.ncu-member-search-topbar select {
    width: 100% !important;
    min-height: 38px !important;
    height: auto !important;
    padding: 8px 34px 8px 10px !important;
    border: var(--nevv-border) !important;
    border-radius: var(--nevv-radius-input) !important;
    background: #fff !important;
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-text)) !important;
    font: inherit !important;
    font-size: var(--nevv-topbar-menu-font-size, inherit) !important;
    box-sizing: border-box !important;
}

.nevv-topbar .ncu-member-search-topbar .ncu-value-clear,
.ncu-member-search-topbar .ncu-value-clear {
    position: absolute !important;
    right: 7px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 24px !important;
    height: 24px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: var(--nevv-radius-button) !important;
    background: transparent !important;
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-text)) !important;
    font: inherit !important;
    font-size: 20px !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

@media (max-width: 760px) {
    .nevv-topbar .ncu-member-search-topbar,
    .ncu-member-search-topbar,
    .ncu-member-search-compact.ncu-member-search-topbar {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        align-items: center !important;
    }

    .nevv-topbar .ncu-member-search-topbar .ncu-latest-button-compact,
    .ncu-member-search-topbar .ncu-latest-button-compact {
        order: 1 !important;
    }

    .nevv-topbar .ncu-member-search-topbar .ncu-compact-select,
    .ncu-member-search-topbar .ncu-compact-select {
        order: 2 !important;
        flex: 1 1 120px !important;
        min-width: 110px !important;
        max-width: none !important;
    }

    .nevv-topbar .ncu-member-search-topbar .ncu-compact-value,
    .ncu-member-search-topbar .ncu-compact-value {
        order: 3 !important;
        flex: 1 1 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }

    .nevv-topbar .ncu-member-search-topbar .ncu-members-search-submit,
    .ncu-member-search-topbar .ncu-members-search-submit {
        order: 4 !important;
    }
}


/* 1.1.22 - Czlonkowie topbar: moduly ukladaja, CORE maluje.
   Usuwamy lokalne wymiary/kolory przyciskow i pol. */
.nevv-topbar .ncu-member-search-topbar .ncu-latest-button-compact,
.nevv-topbar .ncu-member-search-topbar .ncu-members-search-submit,
.ncu-member-search-topbar .ncu-latest-button-compact,
.ncu-member-search-topbar .ncu-members-search-submit {
    height: auto !important;
    min-height: var(--nevv-button-height, 44px) !important;
    padding: 0 13px !important;
    font-size: var(--nevv-button-font-size, 16px) !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    border-radius: var(--nevv-radius-button) !important;
    background: var(--nevv-color-primary) !important;
    color: #fff !important;
}

.nevv-topbar .ncu-member-search-topbar .ncu-latest-button-compact:hover,
.nevv-topbar .ncu-member-search-topbar .ncu-members-search-submit:hover,
.ncu-member-search-topbar .ncu-latest-button-compact:hover,
.ncu-member-search-topbar .ncu-members-search-submit:hover {
    background: var(--nevv-color-primary-hover) !important;
    color: #fff !important;
}

.nevv-topbar .ncu-member-search-topbar .ncu-latest-button-compact:active,
.nevv-topbar .ncu-member-search-topbar .ncu-members-search-submit:active,
.ncu-member-search-topbar .ncu-latest-button-compact:active,
.ncu-member-search-topbar .ncu-members-search-submit:active {
    background: var(--nevv-color-primary-active) !important;
    color: #fff !important;
}

.nevv-topbar .ncu-member-search-topbar input,
.nevv-topbar .ncu-member-search-topbar select,
.ncu-member-search-topbar input,
.ncu-member-search-topbar select {
    min-height: var(--nevv-button-height, 44px) !important;
    height: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-radius: var(--nevv-radius-input) !important;
    font-family: var(--nevv-font-family) !important;
    font-size: var(--nevv-button-font-size, 16px) !important;
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-text)) !important;
    background: var(--nevv-color-surface, #fff) !important;
}

.nevv-topbar .ncu-member-search-topbar .ncu-compact-select,
.ncu-member-search-topbar .ncu-compact-select {
    flex: 0 1 170px !important;
    min-width: 130px !important;
    max-width: 190px !important;
}

.nevv-topbar .ncu-member-search-topbar .ncu-compact-value,
.ncu-member-search-topbar .ncu-compact-value {
    flex: 0 1 320px !important;
    min-width: 210px !important;
    max-width: 340px !important;
}

@media (max-width: 760px) {
    .nevv-topbar .ncu-member-search-topbar,
    .ncu-member-search-topbar,
    .ncu-member-search-compact.ncu-member-search-topbar {
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }

    .nevv-topbar .ncu-member-search-topbar .ncu-latest-button-compact,
    .ncu-member-search-topbar .ncu-latest-button-compact {
        order: 1 !important;
    }

    .nevv-topbar .ncu-member-search-topbar .ncu-compact-select,
    .ncu-member-search-topbar .ncu-compact-select {
        order: 2 !important;
        flex: 1 1 150px !important;
        min-width: 130px !important;
        max-width: none !important;
    }

    .nevv-topbar .ncu-member-search-topbar .ncu-compact-value,
    .ncu-member-search-topbar .ncu-compact-value {
        order: 3 !important;
        flex: 1 1 220px !important;
        min-width: 180px !important;
        max-width: none !important;
    }

    .nevv-topbar .ncu-member-search-topbar .ncu-members-search-submit,
    .ncu-member-search-topbar .ncu-members-search-submit {
        order: 4 !important;
    }
}

/* 1.1.23-core - chirurgiczne podpiecie kontrolek pod CORE.
   Modul user uklada elementy, CORE dostarcza kolor, wysokosc, font i ksztalt. */
.ncu-profile-root .nevv-btn,
.ncu-profile-content-card .nevv-btn,
.ncu-members-layout-card .nevv-btn,
.nevv-topbar .ncu-member-search-topbar .nevv-btn,
.nevv-topbar .ncu-profile-topbar-in-core .nevv-btn,
.nevv-topbar .ncu-profile-topbar-in-core .ncu-profile-tab {
    min-height: var(--nevv-button-height, 44px) !important;
    height: var(--nevv-button-height, 44px) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-radius: var(--nevv-radius-button) !important;
    font-family: var(--nevv-font-family) !important;
    font-size: var(--nevv-button-font-size, 16px) !important;
    line-height: 1 !important;
}

.nevv-topbar .ncu-member-search-topbar .nevv-btn-primary,
.nevv-topbar .ncu-profile-topbar-in-core .nevv-btn-primary,
.nevv-topbar .ncu-profile-topbar-in-core .ncu-profile-tab:not(.is-active) {
    background: var(--nevv-color-primary) !important;
    border-color: var(--nevv-color-primary) !important;
    color: var(--nevv-color-on-primary, #fff) !important;
}

.nevv-topbar .ncu-member-search-topbar .nevv-btn-primary:hover,
.nevv-topbar .ncu-profile-topbar-in-core .nevv-btn-primary:hover,
.nevv-topbar .ncu-profile-topbar-in-core .ncu-profile-tab:not(.is-active):hover {
    background: var(--nevv-color-primary-hover) !important;
    border-color: var(--nevv-color-primary-hover) !important;
    color: var(--nevv-color-on-primary, #fff) !important;
}

.nevv-topbar .ncu-member-search-topbar .nevv-btn-primary:active,
.nevv-topbar .ncu-profile-topbar-in-core .ncu-profile-tab.is-active,
.nevv-topbar .ncu-profile-topbar-in-core .ncu-profile-tab[aria-current="page"] {
    background: var(--nevv-color-primary-active) !important;
    border-color: var(--nevv-color-primary-active) !important;
    color: var(--nevv-color-on-primary, #fff) !important;
}

.nevv-topbar .ncu-member-search-topbar,
.ncu-member-search-compact.ncu-member-search-topbar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.nevv-topbar .ncu-search-panel-topbar,
.ncu-search-panel-topbar {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.nevv-topbar .ncu-member-search-topbar .ncu-compact-select,
.nevv-topbar .ncu-member-search-topbar .ncu-compact-value {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.nevv-topbar .ncu-member-search-topbar .ncu-compact-select > span,
.nevv-topbar .ncu-member-search-topbar .ncu-compact-value > span {
    display: none !important;
}

.nevv-topbar .ncu-member-search-topbar .ncu-latest-button-compact {
    order: 1 !important;
    width: auto !important;
    flex: 0 0 auto !important;
    box-shadow: none !important;
    text-decoration: none !important;
}
.nevv-topbar .ncu-member-search-topbar .ncu-compact-select {
    order: 2 !important;
    flex: 0 1 190px !important;
    max-width: 210px !important;
}
.nevv-topbar .ncu-member-search-topbar .ncu-compact-value {
    order: 3 !important;
    flex: 0 1 300px !important;
    max-width: 320px !important;
}
.nevv-topbar .ncu-member-search-topbar .ncu-members-search-submit {
    order: 4 !important;
    width: auto !important;
    flex: 0 0 auto !important;
}

.nevv-topbar .ncu-member-search-topbar .nevv-input,
.nevv-topbar .ncu-member-search-topbar .nevv-select,
.nevv-topbar .ncu-member-search-topbar input,
.nevv-topbar .ncu-member-search-topbar select {
    width: 100% !important;
    height: var(--nevv-button-height, 44px) !important;
    min-height: var(--nevv-button-height, 44px) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-radius: var(--nevv-radius-input) !important;
    font-family: var(--nevv-font-family) !important;
    font-size: var(--nevv-button-font-size, 16px) !important;
    line-height: 1 !important;
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-text)) !important;
    background: var(--nevv-color-surface) !important;
}

.nevv-topbar .ncu-member-search-topbar .ncu-member-filter-value {
    padding-right: 36px !important;
}

.nevv-topbar .ncu-member-search-topbar .ncu-clear-search-value {
    height: var(--nevv-button-height, 44px) !important;
    min-height: var(--nevv-button-height, 44px) !important;
    width: var(--nevv-button-height, 44px) !important;
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-primary)) !important;
    background: transparent !important;
    border-radius: var(--nevv-radius-button) !important;
}

@media (max-width: 760px) {
    .nevv-topbar .ncu-member-search-topbar {
        justify-content: flex-start !important;
    }
    .nevv-topbar .ncu-member-search-topbar .ncu-compact-select {
        flex: 1 1 160px !important;
        max-width: none !important;
    }
    .nevv-topbar .ncu-member-search-topbar .ncu-compact-value {
        flex: 1 1 220px !important;
        max-width: none !important;
    }
}


/* v1.1.24-core - finalny bezpiecznik dla kontrolek wyszukiwarki Czlonkowie.
   HTML jest prawidlowy: nevv-btn/nevv-input/nevv-select. Ten blok usuwa efekt
   starych, lokalnych klas ncu-* bez zmiany ukladu. CORE nadal dostarcza kolory,
   wysokosci, fonty i zaokraglenia. */
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar a.nevv-btn.ncu-latest-button-compact,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar button.nevv-btn.ncu-compact-search-button,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar button.nevv-btn.ncu-members-search-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    height: var(--nevv-button-height, 44px) !important;
    min-height: var(--nevv-button-height, 44px) !important;
    max-height: var(--nevv-button-height, 44px) !important;
    padding: 0 18px !important;
    margin: 0 !important;
    font-family: var(--nevv-font-family, inherit) !important;
    font-size: var(--nevv-button-font-size, 16px) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    border: 1px solid var(--nevv-color-primary, #2563eb) !important;
    border-radius: var(--nevv-radius-button, 10px) !important;
    background: var(--nevv-color-primary, #2563eb) !important;
    color: var(--nevv-color-on-primary, #ffffff) !important;
    box-shadow: none !important;
    transform: none;
    white-space: nowrap !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar a.nevv-btn.ncu-latest-button-compact:hover,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar button.nevv-btn.ncu-compact-search-button:hover,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar button.nevv-btn.ncu-members-search-submit:hover {
    background: var(--nevv-color-primary-hover, var(--nevv-color-primary, #2563eb)) !important;
    border-color: var(--nevv-color-primary-hover, var(--nevv-color-primary, #2563eb)) !important;
    color: var(--nevv-color-on-primary, #ffffff) !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar a.nevv-btn.ncu-latest-button-compact:active,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar button.nevv-btn.ncu-compact-search-button:active,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar button.nevv-btn.ncu-members-search-submit:active,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar a.nevv-btn.ncu-latest-button-compact.is-active,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar button.nevv-btn.ncu-compact-search-button.is-active {
    background: var(--nevv-color-primary-active, var(--nevv-color-primary, #2563eb)) !important;
    border-color: var(--nevv-color-primary-active, var(--nevv-color-primary, #2563eb)) !important;
    color: var(--nevv-color-on-primary, #ffffff) !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .nevv-input,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .nevv-select,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar input.ncu-member-filter-value,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar select.ncu-member-filter-select {
    height: var(--nevv-button-height, 44px) !important;
    min-height: var(--nevv-button-height, 44px) !important;
    max-height: var(--nevv-button-height, 44px) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    font-family: var(--nevv-font-family, inherit) !important;
    font-size: var(--nevv-button-font-size, 16px) !important;
    line-height: 1 !important;
    border-radius: var(--nevv-radius-input, 10px) !important;
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-text, #111827)) !important;
    background: var(--nevv-color-surface, #ffffff) !important;
    box-shadow: none !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-compact-select {
    flex: 0 1 180px !important;
    max-width: 190px !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-compact-value {
    flex: 0 1 280px !important;
    max-width: 300px !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-clear-search-value,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-value-clear {
    top: 50% !important;
    right: 8px !important;
    width: var(--nevv-button-height, 44px) !important;
    height: var(--nevv-button-height, 44px) !important;
    min-height: var(--nevv-button-height, 44px) !important;
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-primary, #2563eb)) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: var(--nevv-radius-button, 10px) !important;
    box-shadow: none !important;
}

/* v1.1.25-core - cache/version fix: this file must load with NEVV_COMMUNITY_USER_VERSION 1.1.25-core. */


/* 1.1.26-core - finalny reset topbara Czlonkowie: modul uklada, CORE ustala wysokosc/font/kolory/ksztalt.
   Ten blok jest celowo na koncu pliku, bo starsze sekcje mialy twarde height/padding/font-size. */
body.nevv-community-standalone .nevv-topbar .ncu-search-panel-topbar,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-compact.ncu-member-search-topbar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar label,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-compact-select,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-compact-value {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar label > span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .nevv-btn,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-latest-button-compact,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-members-search-submit,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-compact-search-button,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar a.ncu-latest-button-compact,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar button.ncu-members-search-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: var(--nevv-button-height, 42px) !important;
    height: var(--nevv-button-height, 42px) !important;
    padding: 0 16px !important;
    line-height: 1 !important;
    font-family: var(--nevv-font-family, inherit) !important;
    font-size: var(--nevv-button-font-size, var(--nevv-normal-font-size, 16px)) !important;
    font-weight: 700 !important;
    border-radius: var(--nevv-radius-button, 10px) !important;
    border: 1px solid var(--nevv-color-primary, #2563eb) !important;
    background: var(--nevv-color-primary, #2563eb) !important;
    color: var(--nevv-color-on-primary, #fff) !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transform: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .nevv-btn:hover,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-latest-button-compact:hover,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-members-search-submit:hover,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-compact-search-button:hover,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar a.ncu-latest-button-compact:hover,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar button.ncu-members-search-submit:hover {
    background: var(--nevv-color-primary-hover, var(--nevv-color-primary, #2563eb)) !important;
    border-color: var(--nevv-color-primary-hover, var(--nevv-color-primary, #2563eb)) !important;
    color: var(--nevv-color-on-primary, #fff) !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .nevv-btn:active,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-latest-button-compact:active,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-members-search-submit:active,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-compact-search-button:active,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar a.ncu-latest-button-compact:active,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar button.ncu-members-search-submit:active {
    background: var(--nevv-color-primary-active, var(--nevv-color-primary-hover, var(--nevv-color-primary, #2563eb))) !important;
    border-color: var(--nevv-color-primary-active, var(--nevv-color-primary-hover, var(--nevv-color-primary, #2563eb))) !important;
    color: var(--nevv-color-on-primary, #fff) !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .nevv-input,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .nevv-select,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-member-filter-value,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-member-filter-select,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar input,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar select {
    box-sizing: border-box !important;
    min-height: var(--nevv-button-height, 42px) !important;
    height: var(--nevv-button-height, 42px) !important;
    padding: 0 14px !important;
    line-height: 1.2 !important;
    font-family: var(--nevv-font-family, inherit) !important;
    font-size: var(--nevv-button-font-size, var(--nevv-normal-font-size, 16px)) !important;
    font-weight: 400 !important;
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-text, #111827)) !important;
    background: var(--nevv-color-surface, #fff) !important;
    border: var(--nevv-border, 1px solid #d7deea) !important;
    border-radius: var(--nevv-radius-input, 10px) !important;
    box-shadow: none !important;
    outline: none !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-member-filter-select,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar select {
    flex: 0 1 220px !important;
    width: 220px !important;
    max-width: 220px !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-compact-value {
    flex: 0 1 300px !important;
    width: 300px !important;
    max-width: 300px !important;
    position: relative !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-member-filter-value,
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar input[name="ncu_search_value"],
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar select[name="ncu_search_value"] {
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 32px !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-member-filter-value::placeholder {
    color: var(--nevv-topbar-menu-text-color, var(--nevv-color-text, #111827)) !important;
    opacity: .62 !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-value-clear {
    position: absolute !important;
    right: 7px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--nevv-color-primary-active, var(--nevv-color-primary, #2563eb)) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: var(--nevv-radius-button, 10px) !important;
    font-size: var(--nevv-button-font-size, var(--nevv-normal-font-size, 16px)) !important;
    line-height: 1 !important;
}

@media (max-width: 720px) {
    body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar,
    body.nevv-community-standalone .nevv-topbar .ncu-member-search-compact.ncu-member-search-topbar {
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-member-filter-select,
    body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar select {
        flex: 0 1 160px !important;
        width: 160px !important;
        max-width: 160px !important;
    }

    body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-compact-value {
        flex: 1 1 190px !important;
        width: 190px !important;
        max-width: 240px !important;
    }
}


/* 1.1.27-core - korekta pola wartosci w topbarze Czlonkowie.
   Krzyzyk jest tylko dla inputa, select nie dostaje miejsca na X.
   Pole wartosci jest krotsze, zeby Szukaj miescil sie obok na waskich ekranach. */
body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-compact-value {
    flex: 0 1 240px !important;
    width: 240px !important;
    max-width: 240px !important;
    position: relative !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar input[name="ncu_search_value"].ncu-member-filter-value {
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 30px !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar select[name="ncu_search_value"].ncu-member-filter-value {
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 14px !important;
    min-height: var(--nevv-button-height, 42px) !important;
    height: var(--nevv-button-height, 42px) !important;
    line-height: normal !important;
}

body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-compact-value:not(.ncu-has-clear) .ncu-value-clear {
    display: none !important;
}

@media (max-width: 720px) {
    body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-compact-value {
        flex: 0 1 180px !important;
        width: 180px !important;
        max-width: 180px !important;
    }

    body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar .ncu-member-filter-select,
    body.nevv-community-standalone .nevv-topbar .ncu-member-search-topbar select[name="ncu_search_key"] {
        flex: 0 1 150px !important;
        width: 150px !important;
        max-width: 150px !important;
    }
}

/* 1.1.32-core - publiczny profil: standard klawiszy, hobby i widoczne galerie */
.ncu-public-profile-card .ncu-public-profile-header {
    align-items: flex-start !important;
}

.ncu-public-actions {
    align-self: flex-start !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

.ncu-public-action-slot,
.ncu-public-action-slot form {
    display: inline-flex !important;
    margin: 0 !important;
}

/* NCU 1.1.33: usunieto lokalny wyglad przyciskow publicznego profilu; wyglad daje CORE. */

.ncu-public-hobby-card {
    align-content: start !important;
}

.ncu-public-hobby-card div {
    display: grid !important;
    grid-template-columns: minmax(130px, max-content) minmax(0, 1fr) !important;
    column-gap: 18px !important;
    row-gap: 4px !important;
    align-items: start !important;
}

.ncu-public-hobby-card strong,
.ncu-public-hobby-card span {
    min-width: 0 !important;
    line-height: 1.35 !important;
}

.ncu-public-hobby-card strong {
    overflow-wrap: anywhere !important;
}

.ncu-public-hobby-card span {
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}

@media (max-width: 760px) {
    .ncu-public-actions {
        width: 100% !important;
        justify-content: stretch !important;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .ncu-public-action-slot,
    .ncu-public-action-slot form,
    .ncu-public-profile-action,
    .ncu-public-actions .ncf-follow-button,
    .ncu-public-actions .ncf-message-link,
    .ncu-public-actions .nevv-btn,
    .ncu-public-actions button,
    .ncu-public-actions a {
        width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .ncu-public-hobby-card div {
        grid-template-columns: minmax(110px, .45fr) minmax(0, 1fr) !important;
        column-gap: 12px !important;
    }
}

@media (max-width: 520px) {
    .ncu-public-actions {
        grid-template-columns: 1fr !important;
    }

    .ncu-public-hobby-card div {
        grid-template-columns: 1fr !important;
    }
}


/* 1.1.33-core - publiczny profil: przyciski akcji korzystaja z klas CORE, modul ustawia tylko uklad. */
.ncu-public-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.ncu-public-actions .ncu-public-action-slot,
.ncu-public-actions form {
    display: inline-flex;
    margin: 0;
}

.ncu-public-actions .nevv-btn,
.ncu-public-actions .ncf-follow-button {
    width: auto;
    max-width: 100%;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .ncu-public-actions {
        justify-content: center;
    }
}
body.nevv-community-standalone .ncu-basic-avatar-col .ncu-field-avatar > label,
body.nevv-community-standalone .ncu-basic-avatar-col .ncu-field-avatar .ncu-desc,
body.nevv-community-standalone .ncu-basic-avatar-col .ncu-field-avatar .ncu-locked-note {
    display: none;
}


/* 1.1.34-core - przycisk Zapisz profil korzysta w calosci z wygladu CORE. */
.ncu-profile-content-basic .ncu-basic-actions-col {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* 1.1.35-core - mobile: naprawa ikon akcji w publicznej galerii.
   Wcześniejsze szerokie reguły dla .ncu-public-media-card img łapały też emoji/ikony w przycisku polubienia. */
@media (max-width: 760px) {
    .ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        width: 100% !important;
        height: auto !important;
        min-height: 36px !important;
        max-height: 44px !important;
        overflow: visible !important;
        padding: 8px 10px 4px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions form,
    .ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions details {
        display: inline-flex !important;
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions button,
    .ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions summary {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 2px 4px !important;
        margin: 0 !important;
        line-height: 1 !important;
        overflow: visible !important;
    }

    .ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions button span,
    .ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions summary span {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
        font-size: 18px !important;
        line-height: 1 !important;
        transform: none !important;
    }

    .ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions img,
    .ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions img.emoji {
        display: inline-block !important;
        width: 18px !important;
        min-width: 18px !important;
        max-width: 18px !important;
        height: 18px !important;
        min-height: 18px !important;
        max-height: 18px !important;
        object-fit: contain !important;
        margin: 0 !important;
        padding: 0 !important;
        vertical-align: -0.15em !important;
    }

    .ncu-public-gallery-expanded .ncu-public-media-card > .ncu-public-media-actions strong {
        font-size: 13px !important;
        line-height: 1 !important;
    }
}

.ncu-content-visibility {
    display: grid;
    gap: 18px;
    width: 100%;
    margin-top: 24px;
}

.ncu-content-options,
.ncu-content-categories,
.ncu-content-category-group {
    display: grid;
    gap: 10px;
}

.ncu-content-category-group-title,
.ncu-content-visibility-title,
.ncu-content-visibility-desc {
    margin: 0;
}

.ncu-content-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ncu-content-option.is-locked {
    opacity: .68;
}

@media (max-width: 760px) {
    .ncu-content-visibility {
        margin-top: 18px;
    }
}


/* 1.1.37-core - dodatkowy zapis pod ustawieniami widocznosci, bez lokalnego stylowania przycisku. */
.ncu-basic-bottom-actions {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 18px;
}

@media (max-width: 760px) {
    .ncu-basic-bottom-actions {
        justify-content: stretch;
    }

    .ncu-basic-bottom-actions .nevv-btn {
        width: 100%;
    }
}
