body.nbpc-page .nbpc-single-gallery.is-variant-preview .nbpc-single-image-count{display: none !important;}
body.nbpc-single-prompt-page{background: #f6f7f9;}
body.nbpc-single-prompt-page .entry-content,
body.nbpc-single-prompt-page main{max-width: none;}
.nbpc-single-main{position: relative;
    z-index: 1;
    padding: 28px 0 64px;
    color: #111827;}
.nbpc-single-container{width: min(1760px, calc(100% - clamp(32px, 5vw, 96px)));
    max-width: 1760px;
    margin: 0 auto;
    box-sizing: border-box;}
.nbpc-single-layout{display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr);
    gap: 20px;
    align-items: start;}
.nbpc-single-layout > .nbpc-single-gallery,
.nbpc-single-layout > .nbpc-single-text-panel{grid-column: 1;
    grid-row: 1;
    min-width: 0;}
.nbpc-single-layout > .nbpc-single-content{grid-column: 2;
    grid-row: 1 / -1;
    min-width: 0;}
.nbpc-single-layout > .nbpc-discussion-shell{grid-column: 1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;}
.nbpc-single-gallery,
.nbpc-single-content{border: 1px solid rgba(15, 23, 42, .09);
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
    backdrop-filter: none;}
.nbpc-single-gallery{position: relative;
    min-width: 0;
    padding: 0;
    overflow: hidden;}
.nbpc-single-stage .nbpc-single-video{display: none;
    margin: 0;
    overflow: hidden;
    border: 0;
    border-radius: 14px 14px 0 0;
    background: #0f1116;
    align-items: center;
    justify-content: center;}
.nbpc-single-gallery.is-showing-video .nbpc-single-video{display: flex;
    width: 100%;
    min-height: min(70vh, 640px);}
.nbpc-single-gallery:has(.nbpc-single-thumbs).is-showing-video .nbpc-single-video{position: absolute;
    inset: 0;
    z-index: 2;
    min-height: 0;
    height: 100%;}
.nbpc-single-gallery:not(.is-showing-video) .nbpc-single-video{display: none;}
.nbpc-single-gallery.is-showing-video .nbpc-single-scroll-gallery,
.nbpc-single-gallery.is-showing-video .nbpc-single-main-image{display: none !important;}
.nbpc-single-video__player{display: block;
    width: 100%;
    max-height: min(70vh, 640px);
    background: #0f1116;}
.nbpc-single-gallery:has(.nbpc-single-thumbs) .nbpc-single-video__player{height: 100%;
    max-height: none;
    object-fit: contain;}
.nbpc-single-gallery:not(:has(.nbpc-single-thumbs)) .nbpc-single-stage{height: auto;
    max-height: min(70vh, 640px);}
.nbpc-single-gallery:not(:has(.nbpc-single-thumbs)).is-showing-video .nbpc-single-stage{min-height: min(70vh, 640px);}
.nbpc-single-stage{position: relative;
    display: block;
    width: 100%;
    height: clamp(560px, calc(100vh - 170px), 760px);
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    border-radius: 14px 14px 0 0;
    background: #eef1f5;
    scroll-behavior: auto;
    overflow-anchor: none;
    touch-action: pan-y pinch-zoom;
    scrollbar-gutter: stable;}
body.nbpc-single-prompt-page .nbpc-single-stage,
body.nbpc-single-prompt-page .nbpc-single-prompt-text{scrollbar-width: thin;
    scrollbar-color: rgba(102, 112, 133, .34) transparent;}
body.nbpc-single-prompt-page .nbpc-single-stage::-webkit-scrollbar,
body.nbpc-single-prompt-page .nbpc-single-prompt-text::-webkit-scrollbar{width: 7px;
    height: 7px;}
body.nbpc-single-prompt-page .nbpc-single-stage::-webkit-scrollbar-track,
body.nbpc-single-prompt-page .nbpc-single-prompt-text::-webkit-scrollbar-track{background: transparent;}
body.nbpc-single-prompt-page .nbpc-single-stage::-webkit-scrollbar-thumb,
body.nbpc-single-prompt-page .nbpc-single-prompt-text::-webkit-scrollbar-thumb{background: rgba(102, 112, 133, .28);
    border: 2px solid transparent;
    border-radius: 999px;
    background-clip: padding-box;}
body.nbpc-single-prompt-page .nbpc-single-stage:hover::-webkit-scrollbar-thumb,
body.nbpc-single-prompt-page .nbpc-single-prompt-text:hover::-webkit-scrollbar-thumb{background: rgba(102, 112, 133, .42);
    background-clip: padding-box;}
body.nbpc-single-prompt-page .nbpc-single-stage::-webkit-scrollbar-button,
body.nbpc-single-prompt-page .nbpc-single-prompt-text::-webkit-scrollbar-button{display: none;
    width: 0;
    height: 0;}
body.nbpc-single-prompt-page .nbpc-single-stage::-webkit-scrollbar-corner,
body.nbpc-single-prompt-page .nbpc-single-prompt-text::-webkit-scrollbar-corner{background: transparent;}
.nbpc-single-main-image{display: block;
    width: 100%;
    height: 100%;
    max-height: 760px;
    object-fit: contain;
    object-position: center;}
body.nbpc-single-prompt-page .nbpc-single-main-image[hidden]{display: none !important;}
body.nbpc-single-prompt-page .nbpc-single-scroll-gallery{display: flex;
    width: 100%;
    min-height: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: #e7ebf0;}
body.nbpc-single-prompt-page .nbpc-single-scroll-item{position: relative;
    display: block;
    width: 100%;
    min-width: 100%;
    min-height: 1px;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 0;
    background: #eef1f5;
    box-sizing: border-box;}
body.nbpc-single-prompt-page .nbpc-single-scroll-image{display: block;
    width: 100%;
    min-width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-sizing: border-box;
    object-fit: contain;
    object-position: center center;
    background: #eef1f5;
    cursor: zoom-in;}
.nbpc-single-main-image--zoomable{cursor: zoom-in;}
body.nbpc-single-lightbox-open{overflow: hidden;}
.nbpc-single-lightbox{position: fixed;
    z-index: 1000001;
    inset: 0;
    display: grid;
    place-items: center;
    padding: clamp(12px, 3vw, 28px);
    box-sizing: border-box;}
.nbpc-single-lightbox[hidden]{display: none !important;}
.nbpc-single-lightbox__backdrop{position: absolute;
    inset: 0;
    padding: 0;
    border: 0;
    background: rgba(8, 12, 24, .84);
    cursor: zoom-out;}
.nbpc-single-lightbox__close{position: absolute;
    z-index: 2;
    top: clamp(10px, 2vw, 18px);
    right: clamp(10px, 2vw, 18px);
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    color: #fff;
    background: rgba(15, 23, 42, .42);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;}
.nbpc-single-lightbox__nav{position: absolute;
    z-index: 2;
    top: 50%;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: #fff;
    background: rgba(15, 23, 42, .42);
    font-size: 28px;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;}
.nbpc-single-lightbox__nav--prev{left: clamp(10px, 2vw, 18px);}
.nbpc-single-lightbox__nav--next{right: clamp(10px, 2vw, 18px);}
.nbpc-single-lightbox__nav[hidden],
.nbpc-single-lightbox__counter[hidden]{display: none !important;}
.nbpc-single-lightbox__figure{position: relative;
    z-index: 1;
    display: grid;
    width: min(100%, 1600px);
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    margin: 0;
    place-items: center;}
.nbpc-single-lightbox__image{display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .34);}
.nbpc-single-lightbox__counter{position: absolute;
    z-index: 2;
    left: 50%;
    bottom: clamp(10px, 2vw, 18px);
    padding: 6px 12px;
    color: #fff;
    background: rgba(15, 23, 42, .52);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    transform: translateX(-50%);}
@media (hover: hover){.nbpc-single-lightbox__close:hover,
    .nbpc-single-lightbox__nav:hover{background: rgba(15, 23, 42, .62);}}
@media (max-width: 720px){.nbpc-single-lightbox__nav{display: none;}
.nbpc-single-lightbox__figure,
.nbpc-single-lightbox__image{touch-action: pan-y;
        user-select: none;
        -webkit-user-select: none;}}
.nbpc-single-image-count{display: none !important;}
.nbpc-single-image-placeholder{display: flex;
    padding: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #8a93a6;
    text-align: center;
    font-size: 14px;
    font-weight: 650;}
.nbpc-single-image-placeholder svg{width: 68px;
    height: 68px;
    fill: none;
    stroke: #aeb6c6;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;}
.nbpc-single-thumbs{display: flex;
    flex: 0 0 auto;
    min-height: 88px;
    margin: 0;
    padding: 10px 14px 12px;
    align-items: center;
    gap: 9px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid rgba(16, 24, 40, .07);
    box-sizing: border-box;
    scroll-snap-type: x proximity;
    scrollbar-width: none;}
.nbpc-single-thumbs::-webkit-scrollbar{display: none;}
.nbpc-single-thumb{position: relative;
    display: block;
    flex: 0 0 76px;
    width: 76px;
    height: 66px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 12px;
    background: #eef1f6;
    cursor: pointer;
    scroll-snap-align: start;
    transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;}
.nbpc-single-thumb img{display: block;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: contain;
    object-position: center;
    background: #eef1f6;}
.nbpc-single-thumb.is-active{border-color: #6654ff;
    box-shadow: none;}
.nbpc-single-thumb.is-video .nbpc-single-thumb__play{position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 1px 4px rgba(15, 23, 42, .18);
    transform: translate(-50%, -50%);
    pointer-events: none;}
.nbpc-single-thumb.is-video .nbpc-single-thumb__play::before{content: "";
    position: absolute;
    left: 8px;
    top: 6px;
    border-style: solid;
    border-width: 5px 0 5px 8px;
    border-color: transparent transparent transparent #111827;}
.nbpc-single-thumb__video-fallback{display: block;
    width: 100%;
    height: 100%;
    background: #111827;}
@media (hover: hover){.nbpc-single-thumb:hover{transform: none;}}
.nbpc-single-content{position: sticky;
    top: 92px;
    min-width: 0;
    padding: 24px;}
.nbpc-single-author-row{display: flex;
    margin-bottom: 22px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;}
.nbpc-single-author{display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    color: #121827;
    text-decoration: none;}
.nbpc-single-author img{flex: 0 0 auto;
    width: 48px;
    height: 48px;
    background: #eef1f5;
    border: 1px solid rgba(16, 24, 40, .08);
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 7px rgba(16, 24, 40, .08);}
.nbpc-single-author span{display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;}
.nbpc-single-author strong{overflow: hidden;
    font-size: 15px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;}
.nbpc-single-author small{color: #858da0;
    font-size: 12px;
    line-height: 1.25;}
.nbpc-single-edit{flex: 0 0 auto;
    color: #6554e8;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;}
.nbpc-single-content h1{margin: 0;
    color: var(--nb-fl-text, #101625);
    font-size: clamp(24px, 2.2vw, 32px);
    font-weight: 780;
    letter-spacing: -.03em;
    line-height: 1.03;
    overflow-wrap: anywhere;}
.nbpc-single-description{margin-top: 16px;
    color: var(--nb-fl-muted, #626c80);
    font-size: 16px;
    line-height: 1.65;}
.nbpc-single-description p{margin: 0 0 10px;}
.nbpc-single-description p:last-child{margin-bottom: 0;}
.nbpc-single-meta-row{display: flex;
    margin-top: 20px;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;}
body.nbpc-single-prompt-page .nbpc-single-meta-row > .nbpc-tool--combined{margin: 0;
    align-self: center;
    min-height: 36px;
    padding: 5px 12px 5px 7px;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 780;
    line-height: 1;}
body.nbpc-single-prompt-page .nbpc-single-meta-row > .nbpc-tool--combined .nbpc-tool-logo{width: 24px;
    height: 24px;
    flex: 0 0 24px;}
body.nbpc-single-prompt-page .nbpc-single-meta-row > .nbpc-tool--combined .nbpc-tool-name{font-size: 13px;
    line-height: 1;
    font-weight: 780;}
body.nbpc-single-prompt-page .nbpc-single-meta-row > .nbpc-tool--combined .nbpc-tool-version,
body.nbpc-single-prompt-page .nbpc-single-meta-row > .nbpc-tool--combined .nbpc-tool-more{flex: 0 0 auto;
    color: #667085;
    font-size: 12px;
    font-weight: 720;
    line-height: 1;}
body.nbpc-single-prompt-page .nbpc-single-meta-row > .nbpc-single-categories{align-self: center;}
body.nbpc-single-prompt-page .nbpc-single-meta-row > .nbpc-single-date{align-self: center;
    line-height: 1;}
body.nbpc-single-prompt-page .nbpc-single-meta-row > .nbpc-single-replies-badge{align-self: center;}
.nbpc-single-tool{display: inline-flex;
    min-height: 36px;
    padding: 5px 12px 5px 7px;
    align-items: center;
    gap: 8px;
    border: 1px solid color-mix(in srgb, var(--nbpc-single-tool-color) 30%, white);
    border-radius: 999px;
    color: color-mix(in srgb, var(--nbpc-single-tool-color) 78%, #111827);
    background: color-mix(in srgb, var(--nbpc-single-tool-color) 9%, white);
    font-size: 13px;
    font-weight: 780;
    line-height: 1;
    text-decoration: none;}
.nbpc-single-tool img{width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;}
.nbpc-single-tool-dot{width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--nbpc-single-tool-color);
    box-shadow: inset 0 0 0 7px rgba(255, 255, 255, .86);}
.nbpc-single-date{color: #8a93a5;
    font-size: 12px;}
.nbpc-single-stats{display: flex;
    margin-top: 22px;
    padding: 15px 0 0;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    border-top: 1px solid #edf0f5;
    border-bottom: 0;}
.nbpc-single-stats span{display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #7a8498;
    font-size: 12px;}
.nbpc-single-stats a{display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #7a8498;
    font-size: 12px;
    text-decoration: none;}
.nbpc-single-stats strong{color: #273044;
    font-size: 13px;}
.nbpc-single-stats .nbpc-single-stat-word{display: inline;
    color: inherit;
    font: inherit;}
.nbpc-single-stats svg{width: 15px;
    height: 15px;
    fill: none;
    stroke: #818ba0;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;}
.nbpc-single-prompt-box{margin-top: 22px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 14px;
    background: #fff;}
.nbpc-single-prompt-head{display: flex;
    padding: 14px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid rgba(15, 23, 42, .08);}
.nbpc-single-prompt-head h2{margin: 0;
    color: #1f2433;
    font-size: 15px;
    font-weight: 720;
    letter-spacing: -.01em;
    line-height: 1.25;}
.nbpc-single-prompt-head-actions{display: flex;
    flex: 0 1 auto;
    min-width: 0;
    align-items: stretch;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;}
.nbpc-single-copy{display: inline-flex;
    flex: 0 0 auto;
    align-self: stretch;
    height: 40px;
    min-height: 40px;
    margin: 0;
    padding: 0 14px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: #fff;
    background: #6654ff;
    box-shadow: none;
    box-sizing: border-box;
    font: inherit;
    font-size: 13px;
    font-weight: 680;
    line-height: 18px;
    cursor: pointer;
    transition: background .15s ease, opacity .15s ease;}
.nbpc-single-launch{display: inline-flex;
    flex: 0 0 auto;
    align-self: stretch;
    height: 40px;
    min-height: 40px;
    margin: 0;
    padding: 0 14px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(102, 84, 255, .42);
    border-radius: 11px;
    color: #4338ca;
    background: #fff;
    box-shadow: none;
    box-sizing: border-box;
    font: inherit;
    font-size: 13px;
    font-weight: 680;
    line-height: 18px;
    cursor: pointer;
    text-decoration: none;
    opacity: 1;
    pointer-events: auto;
    transition: background .15s ease, border-color .15s ease, opacity .15s ease;}
.nbpc-single-launch[disabled]{opacity: .48;
    cursor: wait;
    pointer-events: none;}
@media (hover: hover){.nbpc-single-launch:not([disabled]):hover{background: rgba(102, 84, 255, .1);
        border-color: rgba(102, 84, 255, .55);}}
.nbpc-single-launch-wrap{position: relative;
    display: flex;
    flex: 0 0 auto;
    align-self: stretch;
    align-items: center;
    gap: 0;
    min-width: 0;
    min-height: 40px;
    margin: 0;
    padding: 0 28px 0 0;
    box-sizing: border-box;}
.nbpc-single-launch-hint{appearance: none;
    position: absolute;
    top: 50%;
    right: 0;
    display: inline-grid;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(102, 84, 255, .28);
    border-radius: 999px;
    background: rgba(102, 84, 255, .08);
    color: #5c46e8;
    font: inherit;
    font-size: 11px;
    font-weight: 780;
    font-style: italic;
    line-height: 1;
    cursor: pointer;
    box-sizing: border-box;
    transform: translateY(-50%);}
.nbpc-single-launch-hint:hover,
.nbpc-single-launch-hint:focus-visible,
.nbpc-single-launch-wrap.is-tip-open .nbpc-single-launch-hint{background: rgba(102, 84, 255, .14);
    outline: none;}
.nbpc-single-launch-tip{position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 30;
    width: min(288px, 72vw);
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .14);
    color: #334155;
    font: inherit;
    font-size: 12.5px;
    font-weight: 560;
    line-height: 1.45;
    text-align: left;}
.nbpc-single-launch-tip[hidden]{display: none !important;}
.nbpc-single-launch-note{display: none !important;}
.nbpc-single-copy[disabled]{opacity: .48;
    cursor: default;
    box-shadow: none;}
@media (hover: hover){.nbpc-single-copy:not([disabled]):hover{transform: none;
        background: #5140ee;
        box-shadow: none;}}
.nbpc-single-copy.is-copied{background: #159f78;}
.nbpc-single-prompt-text{max-height: 330px;
    padding: 18px 16px;
    overflow: auto;
    overflow-x: hidden;
    color: #30394c;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 450;
    line-height: 1.7;
    white-space: normal;
    overflow-wrap: anywhere;
    scrollbar-gutter: stable;}
.nbpc-single-empty-text{color: #8c95a6;
    font-family: inherit;}
.nbpc-single-parent-link{margin: 10px 0 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;}
.nbpc-single-parent-link a{color: #6654ff;
    font-weight: 680;
    text-decoration: none;}
.nbpc-single-parent-link a:hover{text-decoration: underline;}
.nbpc-single-parent-badge{display: inline-flex;
    max-width: 100%;
    flex-direction: column;
    gap: 4px;
    margin: 12px 0 0;
    padding: 10px 12px;
    color: inherit;
    text-decoration: none;
    background: rgba(102, 84, 255, .07);
    border: 1px solid rgba(102, 84, 255, .16);
    border-radius: 12px;
    transition: background .16s ease, border-color .16s ease;}
.nbpc-single-parent-badge span{color: #6f58ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;}
.nbpc-single-parent-badge strong{color: #2a2740;
    font-size: 14px;
    font-weight: 720;
    line-height: 1.35;}
@media (hover: hover){.nbpc-single-parent-badge:hover{background: rgba(102, 84, 255, .11);
    border-color: rgba(102, 84, 255, .28);}}
.nbpc-single-replies-badge{display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    color: #5b47e8;
    text-decoration: none;
    background: rgba(102, 84, 255, .08);
    border: 1px solid rgba(102, 84, 255, .16);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 740;
    line-height: 1.2;}
@media (hover: hover){.nbpc-single-replies-badge:hover{color: #4330dd;
    background: rgba(102, 84, 255, .12);
    border-color: rgba(102, 84, 255, .28);}}
a.nbpc-single-stat--replies{color: inherit;
    text-decoration: none;
    cursor: pointer;}
a.nbpc-single-stat--comments{cursor: pointer;}
@media (hover: hover){a.nbpc-single-stat--replies:hover{color: #5140e8;}
a.nbpc-single-stat--replies:hover strong{color: #5140e8;}
a.nbpc-single-stat--comments:hover{color: #5140e8;}
a.nbpc-single-stat--comments:hover strong{color: #5140e8;}}
.nbpc-single-actions{display: flex;
    margin: 0;
    padding: 12px 16px 14px;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    border-top: 1px solid rgba(15, 23, 42, .08);
    background: #fbfbfd;}
.nbpc-single-actions__main{display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: stretch;
    gap: 8px;}
.nbpc-single-actions__side{display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    margin-left: auto;}
.nbpc-single-favorite,
.nbpc-single-reply{display: inline-flex;
    flex: 1 1 0;
    min-width: 0;
    min-height: 40px;
    padding: 0 14px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 10px;
    color: #50586a;
    background: #fff;
    box-shadow: none;
    box-sizing: border-box;
    font: inherit;
    font-size: 12.5px;
    font-weight: 680;
    line-height: 18px;
    text-decoration: none;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease;}
.nbpc-single-share,
.nbpc-single-prompt-box .nbpc-single-report{position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    width: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    align-items: center;
    justify-content: center;
    gap: 0;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 10px;
    color: #667085;
    background: #fff;
    box-shadow: none;
    box-sizing: border-box;
    font: inherit;
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease;}
.nbpc-single-share-wrap{position: relative;
    display: inline-flex;
    flex: 0 0 auto;}
.nbpc-share-menu{position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    z-index: 40;
    display: grid;
    width: min(220px, 72vw);
    gap: 2px;
    padding: 6px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .16);}
.nbpc-share-menu[hidden]{display: none !important;}
.nbpc-share-menu a,
.nbpc-share-menu button{display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0 10px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #303343;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;}
.nbpc-share-menu a:hover,
.nbpc-share-menu button:hover,
.nbpc-share-menu a:focus-visible,
.nbpc-share-menu button:focus-visible{background: #f5f3ff;
    color: #5140ee;
    outline: none;}
.nbpc-share-menu__icon{display: inline-grid;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    place-items: center;
    color: currentColor;}
.nbpc-share-menu__icon svg{display: block;
    width: 16px;
    height: 16px;}
.nbpc-single-actions__side .nbpc-single-share span,
.nbpc-single-actions__side .nbpc-single-report span{position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;}
.nbpc-single-share{cursor: pointer;}
@media (hover: hover){.nbpc-single-favorite:hover,
.nbpc-single-reply:hover{color: #5140e8;
    background: #f7f5ff;
    border-color: rgba(102, 84, 255, .28);
    box-shadow: none;
    transform: none;}
.nbpc-single-share:hover,
.nbpc-single-prompt-box .nbpc-single-report:hover{color: #5140e8;
    background: #f7f5ff;
    border-color: rgba(102, 84, 255, .28);
    box-shadow: none;
    transform: none;}}
.nbpc-single-share svg,
.nbpc-single-reply svg{width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;}
.nbpc-single-favorite{position: relative;
    cursor: pointer;}
.nbpc-single-favorite .nbpc-wishlist{position: static;
    display: inline-flex;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    background: transparent;
    box-shadow: none;}
.nbpc-single-favorite .nbpc-favorite-control,
.nbpc-single-favorite .nbpc-favorite-icon,
.nbpc-single-favorite .nbpc-favorite-icon__wrap,
.nbpc-single-favorite .nbpc-favorite-icon__outline,
.nbpc-single-favorite .nbpc-favorite-icon__filled{display: inline-flex;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    color: #687388;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;}
.nbpc-single-favorite .nbpc-favorite-icon.is-active,
.nbpc-single-favorite.is-active .nbpc-favorite-control{color: #ef4444;}
.nbpc-single-favorite svg{width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;}
.nbpc-single-favorite .is-active svg,
.nbpc-single-favorite .nbpc-favorite-icon__filled svg{fill: currentColor;}
@media (hover: hover){.nbpc-single-favorite:hover,
.nbpc-single-share:hover{color: #5f4fe7;
        border-color: #d8d1ff;
        background: #faf9ff;}}
@media (max-width: 1240px){.nbpc-single-layout{grid-template-columns: minmax(0, 1fr) minmax(380px, .88fr);}
.nbpc-single-stage{height: clamp(520px, calc(100vh - 150px), 700px);}}
@media (max-width: 960px){.nbpc-single-main{padding-top: 22px;}
.nbpc-single-layout{grid-template-columns: minmax(0, 1fr);
        gap: 18px;}
.nbpc-single-layout > .nbpc-single-gallery,
.nbpc-single-layout > .nbpc-single-text-panel,
.nbpc-single-layout > .nbpc-single-content,
.nbpc-single-layout > .nbpc-discussion-shell{grid-column: 1;
        grid-row: auto;}
.nbpc-single-layout > .nbpc-single-gallery,
.nbpc-single-layout > .nbpc-single-text-panel{order: 1;}
.nbpc-single-layout > .nbpc-discussion-shell{order: 2;}
.nbpc-single-layout > .nbpc-single-content{order: 3;
        position: static;
        padding: 25px;}
.nbpc-single-stage{height: min(72vh, 680px);
        min-height: 480px;}}
@media (max-width: 620px){.nbpc-single-main{padding: 14px 0 52px;}
.nbpc-single-gallery,
.nbpc-single-content{border-radius: 14px;}
.nbpc-single-gallery{padding: 0;}
.nbpc-single-stage{height: min(68vh, 620px);
        min-height: 430px;
        border-radius: 14px 14px 0 0;}
.nbpc-single-thumb{flex-basis: 70px;
        width: 70px;
        height: 58px;
        border-radius: 12px;}
.nbpc-single-content{padding: 21px 18px;}
.nbpc-single-content h1{font-size: 26px;}
.nbpc-single-description{font-size: 14px;}
.nbpc-single-prompt-head{padding: 14px;
        align-items: stretch;
        flex-direction: column;}
.nbpc-single-prompt-head-actions{width: 100%;
        justify-content: stretch;}
.nbpc-single-copy,
.nbpc-single-launch{flex: 1 1 calc(50% - 4px);
        width: auto;}
.nbpc-single-launch-note{display: none !important;}
.nbpc-single-prompt-text{max-height: 280px;
        padding: 15px 14px;
        font-size: 13.5px;}
.nbpc-single-actions{padding: 12px 14px 13px;}
.nbpc-single-actions__main{flex-wrap: wrap;}
.nbpc-single-actions__main .nbpc-single-reply,
.nbpc-single-actions__main .nbpc-single-favorite,
.nbpc-single-actions__main button.nbpc-single-favorite.nbpc-favorite-button{flex: 1 1 136px;}
.nbpc-single-actions__side .nbpc-single-share,
.nbpc-single-actions__side .nbpc-single-report{flex: 0 0 auto;
        width: 40px;}}
@media (max-width: 390px){.nbpc-single-stage{height: min(64vh, 540px);
        min-height: 380px;}
.nbpc-single-author-row{align-items: flex-start;}
.nbpc-single-edit{margin-top: 5px;}
.nbpc-single-actions{flex-wrap: wrap;}
.nbpc-single-actions__main{flex: 1 1 100%;}
.nbpc-single-actions__side{margin-left: 0;
        width: 100%;
        justify-content: flex-end;}}
body.nbpc-single-prompt-page .nbpc-single-layout > *,
body.nbpc-single-prompt-page .nbpc-single-content,
body.nbpc-single-prompt-page .nbpc-single-content h1,
body.nbpc-single-prompt-page .nbpc-single-description,
body.nbpc-single-prompt-page .nbpc-single-description p,
body.nbpc-single-prompt-page .nbpc-single-prompt-text{min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;}
@media (min-width: 921px){.nbpc-single-layout{grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr);
        gap: 24px;}
.nbpc-single-stage{height: clamp(560px, calc(100vh - 150px), 760px);
        min-height: 0;}
.nbpc-single-main-image{width: 100%;
        height: 100%;
        max-height: none;}
.nbpc-single-content{padding: 27px;}
.nbpc-single-content h1{font-size: clamp(24px, 2.1vw, 30px);}}
body.nbpc-guest-favorites-disabled .nbpc-single-favorite .is-active svg,
body.nbpc-guest-favorites-disabled .nbpc-single-favorite .nbpc-favorite-icon__filled svg{fill: none !important;}

@media (min-width: 1280px){.nbpc-single-layout:not(.is-text-first){grid-template-columns: minmax(0, 1.16fr) minmax(500px, .84fr);}}
@media (max-width: 560px){.nbpc-single-container{width: calc(100% - 24px);}}

/* Single-page component skin: scoped here so card-core does not need override chains. */
.nbpc-single-models{display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;}
.nbpc-single-model{display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 7px 13px;
    color: #315f9b;
    background: linear-gradient(135deg, rgba(71, 145, 255, .1), rgba(98, 84, 255, .08));
    border: 1px solid rgba(73, 112, 220, .18);
    border-radius: 999px;
    box-sizing: border-box;
    font-size: 12px;
    font-weight: 740;
    line-height: 18px;
    text-decoration: none;}
.nbpc-single-model:hover,
.nbpc-single-model:focus-visible{color: #3151c6;
    border-color: rgba(73, 112, 220, .3);
    text-decoration: none;}
.nbpc-single-model.is-any{color: #727687;
    background: #f3f4f7;
    border-color: #e4e6eb;}
.nbpc-single-model.is-beta::after,
.nbpc-single-model.is-archive::after{margin-left: 6px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;}
.nbpc-single-model.is-beta::after{content: "beta";}
.nbpc-single-model.is-archive::after{content: "архив";}
.nbpc-single-categories{display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;}
.nbpc-single-category{display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 7px 12px;
    color: #5f4fc4;
    background: rgba(102, 84, 255, .075);
    border: 1px solid rgba(102, 84, 255, .14);
    border-radius: 999px;
    box-sizing: border-box;
    font-size: 12px;
    font-weight: 720;
    line-height: 18px;
    text-decoration: none;}
.nbpc-single-category:hover,
.nbpc-single-category:focus-visible{color: #5140ee;
    background: rgba(102, 84, 255, .11);
    border-color: rgba(102, 84, 255, .25);
    text-decoration: none;}
@media (max-width: 720px){
.nbpc-single-meta-row{flex-wrap: nowrap;
        align-items: center;
        gap: 8px 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;}
.nbpc-single-meta-row::-webkit-scrollbar{display: none;}
.nbpc-single-meta-row > .nbpc-tool--combined,
.nbpc-single-meta-row > .nbpc-single-categories,
.nbpc-single-meta-row > .nbpc-single-date,
.nbpc-single-meta-row > .nbpc-single-replies-badge{flex: 0 0 auto;
        width: auto;
        max-width: none;}
.nbpc-single-categories{width: auto;
        flex-wrap: nowrap;}
.nbpc-single-stats{flex-wrap: nowrap;
        align-items: center;
        gap: 8px 14px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;}
.nbpc-single-stats::-webkit-scrollbar{display: none;}
.nbpc-single-stats > span,
.nbpc-single-stats > a{flex: 0 0 auto;
        white-space: nowrap;}
.nbpc-single-stats .nbpc-single-stat-word{display: none;}}
.nbpc-single-prompt-box{background: #fff;
    border-color: rgba(15, 23, 42, .1);
    border-radius: 14px;}
.nbpc-single-copy{color: #fff;
    background: #6654ff;
    border-color: transparent;
    border-radius: 11px;
    box-shadow: none;}
.nbpc-single-action,
.nbpc-single-favorite,
.nbpc-single-share,
.nbpc-single-reply,
.nbpc-single-prompt-box .nbpc-single-report{border-radius: 11px;}
button.nbpc-single-favorite.nbpc-favorite-button{display: inline-flex;
    width: auto;
    min-width: 0;
    max-width: 100%;
    flex: 1 1 140px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    white-space: nowrap;}
.nbpc-single-favorite .nbpc-favorite-icon__outline,
.nbpc-single-favorite .nbpc-favorite-icon__filled{display: none;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;}
.nbpc-single-favorite .nbpc-favorite-icon:not(.is-active) .nbpc-favorite-icon__outline{display: inline-flex;}
.nbpc-single-favorite .nbpc-favorite-icon.is-active .nbpc-favorite-icon__filled{display: inline-flex;}
.nbpc-single-favorite .nbpc-bookmark-icon{display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;}
.nbpc-single-favorite .nbpc-favorite-icon,
.nbpc-single-favorite.is-active .nbpc-favorite-icon,
.nbpc-single-favorite[aria-pressed="true"] .nbpc-favorite-icon{color: #5b4bff;}
.nbpc-single-favorite.is-active .nbpc-bookmark-icon.is-filled,
.nbpc-single-favorite[aria-pressed="true"] .nbpc-bookmark-icon.is-filled{fill: #5b4bff;
    stroke: #5b4bff;}
.nbpc-single-favorite:disabled{cursor: wait;
    opacity: .68;}

.nbpc-single-rating{margin-top: 18px;
    padding: 18px 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);}
.nbpc-single-rating__summary{display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;}
.nbpc-single-rating__eyebrow{display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #7c3aed;}
.nbpc-single-rating h2{margin: 0;
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 18px;
    line-height: 1.3;}
.nbpc-single-rating h2 > span{color: #f59e0b;}
.nbpc-single-rating h2 small{font-size: 13px;
    font-weight: 500;
    color: #64748b;}
.nbpc-single-rating__feedback{display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 10px;}
@media (max-width: 680px){.nbpc-single-rating__summary{align-items: flex-start;
        flex-direction: column;
        gap: 10px;}}


/* Text-first prompts: same two-column grid as image prompts; left = prompt panel. */
.nbpc-single-layout.is-text-first{width: 100%;
    margin-inline: 0;
    grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr);}
.nbpc-single-text-panel{position: relative;
    min-width: 0;
    padding: 12px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .09);
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
    box-sizing: border-box;}
.nbpc-single-layout.is-text-first .nbpc-single-text-panel .nbpc-single-prompt-box{margin: 0;
    border: 0;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;}
.nbpc-single-layout.is-text-first .nbpc-single-prompt-head{padding: 14px 16px;}
.nbpc-single-layout.is-text-first .nbpc-single-prompt-text{min-height: 0;
    max-height: clamp(420px, calc(100vh - 280px), 680px);
    padding: 16px 18px;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: inherit;
    font-size: 15px;
    font-weight: 450;
    line-height: 1.72;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;}
.nbpc-single-layout.is-text-first .nbpc-single-actions{max-width: none;
    padding: 12px 14px 14px;}
.nbpc-single-layout.is-text-first .nbpc-single-actions__main .nbpc-single-favorite,
.nbpc-single-layout.is-text-first .nbpc-single-actions__main .nbpc-single-reply,
.nbpc-single-layout.is-text-first .nbpc-single-actions__main button.nbpc-single-favorite.nbpc-favorite-button{flex: 1 1 0;}
.nbpc-single-layout.is-text-first .nbpc-single-actions__side .nbpc-single-share,
.nbpc-single-layout.is-text-first .nbpc-single-actions__side .nbpc-single-report{flex: 0 0 auto;
    width: 40px;}
.nbpc-single-layout.is-text-first .nbpc-single-content{position: sticky;
    top: 92px;}
.nbpc-single-type-badge{display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin: 0 0 14px;
    padding: 0 11px;
    color: #5c46e8;
    background: rgba(102, 84, 255, .08);
    border: 1px solid rgba(102, 84, 255, .14);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 740;
    line-height: 1;
    letter-spacing: -.01em;}
@media (min-width: 1280px){.nbpc-single-layout.is-text-first{grid-template-columns: minmax(0, 1.16fr) minmax(500px, .84fr);}}
@media (max-width: 920px){.nbpc-single-layout.is-text-first{grid-template-columns: minmax(0, 1fr);}
    .nbpc-single-layout.is-text-first .nbpc-single-content{position: static;}
    .nbpc-single-layout.is-text-first .nbpc-single-prompt-text{max-height: min(58vh, 560px);}}
@media (max-width: 620px){.nbpc-single-text-panel{padding: 10px;}
    .nbpc-single-layout.is-text-first .nbpc-single-prompt-head{padding: 12px 14px;}
    .nbpc-single-layout.is-text-first .nbpc-single-prompt-text{min-height: 0;
        max-height: min(52vh, 480px);
        padding: 14px;
        font-size: 14px;
        line-height: 1.68;}
    .nbpc-single-layout.is-text-first .nbpc-single-actions{padding: 12px 12px 13px;}
    .nbpc-single-layout.is-text-first .nbpc-single-actions__main{flex-wrap: wrap;}
    .nbpc-single-layout.is-text-first .nbpc-single-actions__main .nbpc-single-favorite,
    .nbpc-single-layout.is-text-first .nbpc-single-actions__main .nbpc-single-reply,
    .nbpc-single-layout.is-text-first .nbpc-single-actions__main button.nbpc-single-favorite.nbpc-favorite-button{flex: 1 1 136px;}
    .nbpc-single-type-badge{margin-bottom: 12px;}}
.nbpc-single-layout > .nbpc-author-cta{grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 20px;
    min-width: 0;
    padding: 18px 20px;
    border: 1px solid rgba(102, 84, 255, .16);
    border-radius: 14px;
    background: linear-gradient(135deg, #f7f5ff, #fff 62%);
    box-sizing: border-box;
    transition: border-color .18s ease, box-shadow .18s ease;}
.nbpc-single-layout > .nbpc-author-cta ~ .nbpc-discussion-shell{grid-row: 3;}
.nbpc-author-cta.is-nudged{border-color: rgba(102, 84, 255, .36);
    box-shadow: 0 10px 26px rgba(91, 75, 255, .14);}
.nbpc-author-cta__title{margin: 0;
    min-width: 0;
    flex: 1 1 280px;
    color: #17181f;
    font-size: 15px;
    font-weight: 550;
    line-height: 1.4;
    letter-spacing: 0;}
.nbpc-author-cta.is-nudged .nbpc-author-cta__title{color: #4330dd;
    font-weight: 600;}
.nbpc-author-cta__button{display: inline-flex;
    min-height: 42px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    color: #fff;
    background: linear-gradient(135deg, #715fff, #5945ed);
    border: 1px solid #6554f5;
    border-radius: 11px;
    box-sizing: border-box;
    font-size: 13.5px;
    font-weight: 720;
    line-height: 1;
    text-decoration: none;
    transition: background .16s ease, box-shadow .16s ease, transform .16s ease;}
@media (hover:hover){.nbpc-author-cta__button:hover{color: #fff;
        background: linear-gradient(135deg, #7a69ff, #5140ee);
        box-shadow: 0 10px 22px rgba(91, 75, 255, .26);
        transform: translateY(-1px);
        text-decoration: none;}}
.nbpc-author-cta__button:focus-visible{outline: 2px solid rgba(102, 84, 255, .38);
    outline-offset: 2px;}
@media (max-width: 960px){.nbpc-single-layout > .nbpc-author-cta{grid-row: auto;
        order: 4;}
.nbpc-single-layout > .nbpc-author-cta ~ .nbpc-discussion-shell{grid-row: auto;}}
@media (max-width: 620px){.nbpc-single-layout > .nbpc-author-cta{padding: 16px;}
.nbpc-author-cta__button{width: 100%;}}
