@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css");

/* New Social Facebook Profile Viewer — WordPress-scoped styles */
  .nsfpv {
    /* Facebook brand blue system — used everywhere */
    --nsfpv-ink: #ffffff;
    --nsfpv-muted: #c5daf8;
    --nsfpv-dim: #8fb4e8;
    --nsfpv-bg: #0b1f3d;
    --nsfpv-panel: #123056;
    --nsfpv-panel-soft: #1a3f70;
    --nsfpv-hover: #24528c;
    --nsfpv-line: rgba(24, 119, 242, 0.45);
    --nsfpv-accent: #1877f2;
    --nsfpv-accent-deep: #0d65d9;
    --nsfpv-cool: #4dabf7;
    --nsfpv-cool-deep: #1877f2;
    --nsfpv-success: #42b72a;
    --nsfpv-danger: #f02849;
    --nsfpv-radius: 10px;
    --nsfpv-shadow: 0 8px 24px rgba(8, 40, 90, 0.45);
    --nsfpv-font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --nsfpv-space: 16px;
    --nsfpv-avatar: 128px;
    --nsfpv-pad: 16px;
    --nsfpv-gap: 12px;

    box-sizing: border-box;
    font-family: var(--nsfpv-font);
    color: var(--nsfpv-ink);
    line-height: 1.5;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    min-width: 0;
    margin: 0 auto;
    padding: clamp(8px, 2vw, 16px);
    background:
      radial-gradient(ellipse 90% 55% at 10% 0%, rgba(24, 119, 242, 0.55), transparent 55%),
      radial-gradient(ellipse 70% 45% at 100% 10%, rgba(13, 101, 217, 0.35), transparent 50%),
      linear-gradient(155deg, #07152b 0%, #0d274f 40%, #143a6e 75%, #1877f2 160%);
    border-radius: 0;
    border: 1px solid var(--nsfpv-line);
    position: relative;
    isolation: isolate;
    text-align: left;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .nsfpv *,
  .nsfpv *::before,
  .nsfpv *::after {
    box-sizing: border-box;
  }

  .nsfpv :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, label, span) {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: inherit;
  }

  .nsfpv :where(ul, ol) {
    list-style: none;
  }

  .nsfpv img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 0;
    vertical-align: middle;
  }

  .nsfpv a {
    color: var(--nsfpv-cool);
    text-decoration: none;
  }

  .nsfpv a:hover {
    text-decoration: underline;
  }

  .nsfpv-shell {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: var(--nsfpv-gap);
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    min-width: 0;
  }

  /* Hero / search */
  .nsfpv-hero {
    background: transparent;
    padding: 36px 0 14px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .nsfpv .nsfpv-hero__title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 10px;
    color: var(--nsfpv-ink);
  }

  .nsfpv-hero__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 100%;
    min-width: 0;
  }

  .nsfpv .nsfpv-hero__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #1877f2;
    color: #fff;
    font-size: 1.45rem;
    line-height: 1;
    box-shadow: 0 1px 2px rgba(24, 119, 242, 0.28);
  }

  .nsfpv .nsfpv-hero__icon i {
    display: block;
    line-height: 1;
  }

  .nsfpv-hero__title-text {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0.35em;
    min-width: 0;
    font-size: clamp(1.28rem, 2.8vw, 1.7rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-align: left;
  }

  .nsfpv-hero__title-mark {
    color: var(--nsfpv-cool);
    font-weight: 700;
  }

  .nsfpv .nsfpv-hero__lead {
    max-width: 560px;
    margin: 0 auto 16px;
    color: var(--nsfpv-muted);
    font-size: clamp(0.88rem, 2.4vw, 0.95rem);
    line-height: 1.55;
    padding: 0 2px;
  }

  .nsfpv-search {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    text-align: left;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-top: 4px;
    padding: clamp(10px, 2vw, 14px);
    background: var(--nsfpv-bg);
    border: 1px solid var(--nsfpv-line);
    border-radius: 8px;
  }

  .nsfpv .nsfpv-search__label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--nsfpv-muted);
    line-height: 1.3;
  }

  .nsfpv-search__row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: stretch;
    width: 100%;
    min-width: 0;
  }

  .nsfpv .nsfpv-search__field {
    flex: 1 1 160px;
    min-width: 0;
    height: 46px;
    min-height: 46px;
    padding: 0 14px !important;
    border: 1px solid var(--nsfpv-line) !important;
    border-radius: 8px;
    background: #0b1f3d !important;
    color: #ffffff !important;
    font-family: var(--nsfpv-font);
    font-size: 16px !important;
    font-weight: 500;
    line-height: 46px;
    outline: none;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
  }

  .nsfpv .nsfpv-search__field:focus {
    background: #0b1f3d !important;
    border-color: #4dabf7 !important;
    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.45);
  }

  .nsfpv .nsfpv-search__field::placeholder {
    color: var(--nsfpv-dim);
  }

  .nsfpv .nsfpv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 1 1 calc(50% - 4px);
    height: 46px;
    min-height: 46px;
    min-width: 0;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 8px;
    font-family: var(--nsfpv-font);
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.15s ease;
    white-space: nowrap;
    user-select: none;
    text-decoration: none;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
    color: #fff !important;
  }

  .nsfpv .nsfpv-btn i,
  .nsfpv .nsfpv-tabs__btn i,
  .nsfpv .nsfpv-card__action i,
  .nsfpv .nsfpv-avatar__zoom i,
  .nsfpv .nsfpv-modal__close i,
  .nsfpv .nsfpv-demo-chip i,
  .nsfpv .nsfpv-card__badge i,
  .nsfpv .nsfpv-card__overlay i,
  .nsfpv .nsfpv-post__stat i,
  .nsfpv .nsfpv-meta__name i,
  .nsfpv i.fa-solid,
  .nsfpv i.fas {
    --fa-display: inline-block;
    display: inline-block !important;
    line-height: 1 !important;
    font-size: 0.92em;
    width: 1.15em;
    text-align: center;
    vertical-align: middle;
    font-style: normal !important;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
  }

  .nsfpv .nsfpv-empty i {
    display: block !important;
    font-size: 2rem !important;
    width: auto;
    margin: 0 auto 10px;
    opacity: 0.4;
    line-height: 1 !important;
  }

  .nsfpv .nsfpv-btn:hover {
    filter: brightness(1.08);
  }

  .nsfpv .nsfpv-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    filter: none;
  }

  .nsfpv .nsfpv-btn--paste {
    background: #24528c !important;
    color: #ffffff !important;
    box-shadow: none;
  }

  .nsfpv .nsfpv-btn--paste:hover {
    background: #2d65a8 !important;
  }

  .nsfpv .nsfpv-btn--view {
    background: var(--nsfpv-accent) !important;
    box-shadow: none;
  }

  .nsfpv .nsfpv-search__hint {
    margin: 0;
    font-size: 0.8rem;
    font-style: italic;
    color: var(--nsfpv-dim);
    line-height: 1.4;
  }

  /* Cloudflare Turnstile — sit above the input row, never inside it */
  .nsfpv #xrespond-tools-turnstile-host {
    display: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    flex: none;
    order: unset;
    box-sizing: border-box;
  }

  .nsfpv #xrespond-tools-turnstile-host.is-visible {
    display: block;
  }

  .nsfpv #xrespond-tools-turnstile-host .xrespond-ts-label {
    display: block;
    font-size: 0.85rem;
    color: var(--nsfpv-muted);
    margin-bottom: 0.45rem;
  }

  .nsfpv #xrespond-tools-turnstile-host .xrespond-ts-widget {
    min-height: 65px;
    max-width: 100%;
    overflow: hidden;
  }

  .nsfpv #xrespond-tools-turnstile-host .xrespond-ts-error {
    color: #ff8e8e;
  }

  .nsfpv-search__row:has(#xrespond-tools-turnstile-host) {
    flex-wrap: wrap !important;
  }

  .nsfpv-search__row>#xrespond-tools-turnstile-host {
    flex: 0 0 100% !important;
    width: 100% !important;
    order: -1;
  }

  .nsfpv .nsfpv-alert {
    display: none;
    margin: 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(240, 40, 73, 0.18);
    border: 1px solid rgba(240, 40, 73, 0.45);
    color: #ff8a9b;
    font-weight: 600;
    font-size: 0.88rem;
    text-align: left;
    line-height: 1.4;
  }

  .nsfpv .nsfpv-alert.is-visible {
    display: block;
  }

  .nsfpv .nsfpv-demo-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(24, 119, 242, 0.22);
    border: 1px solid rgba(24, 119, 242, 0.55);
    color: #9ec9ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
  }

  /* Skeleton */
  .nsfpv .nsfpv-skeleton {
    display: none;
    margin: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .nsfpv .nsfpv-skeleton.is-visible {
    display: block;
  }

  .nsfpv .nsfpv-content.is-hidden {
    display: none !important;
  }

  .nsfpv .nsfpv-content.is-placeholder .nsfpv-bio,
  .nsfpv .nsfpv-content.is-placeholder .nsfpv-stats {
    display: none !important;
  }

  .nsfpv .nsfpv-content.is-placeholder .nsfpv-avatar__zoom {
    opacity: 0.55;
    pointer-events: none;
  }

  @keyframes nsfpv-shimmer {
    0% {
      background-position: -400px 0;
    }

    100% {
      background-position: 400px 0;
    }
  }

  .nsfpv .nsfpv-sk {
    background: linear-gradient(90deg,
        rgba(24, 119, 242, 0.15) 0%,
        rgba(77, 171, 247, 0.35) 45%,
        rgba(24, 119, 242, 0.15) 100%);
    background-size: 800px 100%;
    animation: nsfpv-shimmer 1.35s ease-in-out infinite;
    border-radius: 8px;
  }

  .nsfpv-skeleton__panel {
    background: var(--nsfpv-panel);
    border: 1px solid var(--nsfpv-line);
    border-radius: var(--nsfpv-radius);
    box-shadow: none;
    padding: 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .nsfpv .nsfpv-skeleton__cover {
    width: 100%;
    aspect-ratio: 2.7 / 1;
    height: auto;
    min-height: 120px;
    max-height: 380px;
    border-radius: 0;
  }

  .nsfpv-skeleton__profile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: center;
    justify-items: center;
    padding: 0 var(--nsfpv-pad) 14px;
    text-align: center;
  }

  .nsfpv .nsfpv-skeleton__avatar {
    width: var(--nsfpv-avatar);
    height: var(--nsfpv-avatar);
    margin-top: calc(var(--nsfpv-avatar) / -2);
    border-radius: 50% !important;
    border: 3px solid #123056;
  }

  .nsfpv-skeleton__meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    align-items: center;
    width: 100%;
  }

  .nsfpv-skeleton__line {
    height: 16px;
  }

  .nsfpv-skeleton__line--lg {
    width: min(200px, 70%);
    height: 22px;
  }

  .nsfpv-skeleton__line--md {
    width: min(140px, 50%);
    height: 14px;
  }

  .nsfpv-skeleton__stats {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nsfpv-skeleton__stat {
    width: 72px;
    height: 28px;
    border-radius: 999px;
  }

  .nsfpv-skeleton__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 8px 0 14px;
    padding: 0 var(--nsfpv-pad);
    width: 100%;
  }

  .nsfpv-skeleton__tab {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    height: 40px;
    border-radius: 999px;
  }

  .nsfpv-skeleton__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 var(--nsfpv-pad) 18px;
  }

  .nsfpv-skeleton__card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--nsfpv-line);
    background: var(--nsfpv-panel-soft);
  }

  .nsfpv-skeleton__thumb {
    aspect-ratio: 1 / 1;
    border-radius: 0;
  }

  .nsfpv-skeleton__foot {
    height: 44px;
    margin: 10px 12px;
    border-radius: 8px;
  }

  /* In-pane tab skeletons */
  .nsfpv-tab-sk {
    margin: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .nsfpv-tab-sk--photos,
  .nsfpv-tab-sk--videos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nsfpv-tab-sk--reels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .nsfpv-tab-sk--posts {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .nsfpv-tab-sk__photo,
  .nsfpv-tab-sk__video,
  .nsfpv-tab-sk__reel {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--nsfpv-line);
    background: var(--nsfpv-panel-soft);
  }

  .nsfpv-tab-sk__photo-thumb {
    aspect-ratio: 1 / 1;
  }

  .nsfpv-tab-sk__video-thumb {
    aspect-ratio: 16 / 10;
  }

  .nsfpv-tab-sk__reel-thumb {
    aspect-ratio: 9 / 14;
  }

  .nsfpv-tab-sk__photo-foot,
  .nsfpv-tab-sk__video-foot,
  .nsfpv-tab-sk__reel-foot {
    height: 40px;
    margin: 10px 12px;
    border-radius: 8px;
  }

  .nsfpv-tab-sk__post {
    border-radius: 12px;
    border: 1px solid var(--nsfpv-line);
    background: var(--nsfpv-panel-soft);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .nsfpv-tab-sk__post-head {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .nsfpv-tab-sk__post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    flex-shrink: 0;
  }

  .nsfpv-tab-sk__post-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .nsfpv-tab-sk__post-line {
    height: 12px;
    border-radius: 6px;
  }

  .nsfpv-tab-sk__post-line--short {
    width: 40%;
  }

  .nsfpv-tab-sk__post-body {
    height: 64px;
    border-radius: 8px;
  }

  /* Results panel */
  .nsfpv-result {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .nsfpv-panel {
    background: var(--nsfpv-panel);
    border: 1px solid var(--nsfpv-line);
    border-radius: var(--nsfpv-radius);
    box-shadow: none;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .nsfpv-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 2.7 / 1;
    height: auto;
    min-height: 150px;
    max-height: 380px;
    overflow: hidden;
    background: #1a3f70;
    border-radius: 0;
  }

  .nsfpv .nsfpv-cover__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 18%;
  }

  .nsfpv-cover__fade {
    display: none;
  }

  .nsfpv-profile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    justify-items: center;
    padding: 0 16px 12px;
    margin-top: 0;
    text-align: center;
    width: 100%;
    min-width: 0;
    position: relative;
    z-index: 2;
  }

  .nsfpv-avatar {
    position: relative;
    width: var(--nsfpv-avatar);
    height: var(--nsfpv-avatar);
    margin-top: calc(var(--nsfpv-avatar) / -2);
    flex-shrink: 0;
  }

  .nsfpv-avatar__ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 0;
    background: #123056;
    border: 4px solid #1877f2;
    box-shadow: 0 0 0 1px var(--nsfpv-line);
    overflow: hidden;
  }

  .nsfpv .nsfpv-avatar__img {
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 0;
    background: #1a3f70;
  }

  .nsfpv .nsfpv-avatar__zoom {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border: 0 !important;
    border-radius: 50%;
    background: #1877f2 !important;
    color: #fff !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #123056;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
    z-index: 1;
  }

  .nsfpv .nsfpv-avatar__zoom:hover {
    background: #0d65d9 !important;
  }

  .nsfpv-meta {
    min-width: 0;
    width: 100%;
  }

  .nsfpv .nsfpv-meta__name {
    font-size: clamp(1.35rem, 3.2vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--nsfpv-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    line-height: 1.25;
  }

  .nsfpv .nsfpv-meta__name i {
    color: var(--nsfpv-cool);
    font-size: 0.78em;
  }

  .nsfpv .nsfpv-meta__handle {
    margin-top: 2px;
    color: var(--nsfpv-dim);
    font-size: 0.95rem;
    font-weight: 500;
  }

  .nsfpv-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
    margin-top: 10px;
  }

  .nsfpv .nsfpv-stats__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    min-height: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    color: var(--nsfpv-muted);
    font-size: 0.88rem;
    font-weight: 600;
  }

  .nsfpv .nsfpv-stats__badge i {
    color: var(--nsfpv-dim);
    font-size: 0.85em;
  }

  .nsfpv .nsfpv-bio {
    margin-top: 2px;
    color: var(--nsfpv-ink);
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
  }

  /* Tabs — Facebook underline style */
  .nsfpv-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: flex-start;
    padding: 0 8px;
    width: 100%;
    min-width: 0;
    border-top: 1px solid var(--nsfpv-line);
    margin-top: 4px;
  }

  .nsfpv .nsfpv-tabs__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 48px;
    height: auto;
    padding: 12px 10px !important;
    border: 0 !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0;
    background: transparent !important;
    color: var(--nsfpv-muted) !important;
    font-family: var(--nsfpv-font);
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
    white-space: nowrap;
  }

  .nsfpv .nsfpv-tabs__btn:hover {
    background: var(--nsfpv-panel-soft) !important;
    transform: none;
    color: var(--nsfpv-ink) !important;
  }

  .nsfpv .nsfpv-tabs__btn.is-active {
    background: rgba(24, 119, 242, 0.18) !important;
    border-bottom-color: #1877f2 !important;
    color: #9ec9ff !important;
  }

  .nsfpv-pane {
    display: none;
    padding: 0 var(--nsfpv-pad) 18px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .nsfpv-pane.is-active {
    display: block;
  }

  .nsfpv-pane__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
  }

  .nsfpv .nsfpv-pane__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--nsfpv-ink);
  }

  .nsfpv .nsfpv-pane__title i {
    color: var(--nsfpv-accent);
  }

  .nsfpv .nsfpv-pane__count {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--nsfpv-dim);
  }

  .nsfpv-empty {
    text-align: center;
    padding: 36px 16px;
    color: var(--nsfpv-dim);
    font-size: 0.92rem;
  }

  /* Photo / video / reel grids */
  .nsfpv-grid {
    display: grid;
    align-items: start;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    min-width: 0;
  }

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

  .nsfpv-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--nsfpv-line);
    background: var(--nsfpv-panel-soft);
    min-width: 0;
    transition: transform 0.2s ease;
  }

  .nsfpv-card:hover {
    transform: translateY(-2px);
  }

  .nsfpv-card__media {
    position: relative;
    overflow: hidden;
    background: #1a3f70;
    cursor: pointer;
  }

  .nsfpv-card__media--photo {
    aspect-ratio: 1 / 1;
  }

  .nsfpv-card__media--video {
    aspect-ratio: 16 / 10;
  }

  .nsfpv-card__media--reel {
    aspect-ratio: 9 / 14;
  }

  .nsfpv .nsfpv-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
  }

  .nsfpv-card__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    z-index: 2;
  }

  .nsfpv-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
  }

  .nsfpv-card__play span {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
  }

  .nsfpv-card__duration {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
  }

  .nsfpv-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    padding: 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent 55%);
    opacity: 0;
    transition: opacity 0.2s ease;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    z-index: 2;
  }

  .nsfpv-card:hover .nsfpv-card__overlay,
  .nsfpv-card:focus-within .nsfpv-card__overlay {
    opacity: 1;
  }

  .nsfpv-card__overlay span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }

  .nsfpv-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    min-width: 0;
    flex-wrap: wrap;
  }

  .nsfpv-card__title {
    flex: 1;
    min-width: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--nsfpv-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nsfpv .nsfpv-card__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
    min-height: 36px;
    padding: 6px 10px !important;
    border: 0 !important;
    border-radius: 8px;
    background: rgba(24, 119, 242, 0.28) !important;
    color: #9ec9ff !important;
    font-family: var(--nsfpv-font);
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
  }

  .nsfpv .nsfpv-card__action--cool {
    background: rgba(66, 183, 42, 0.2) !important;
    color: #7dde68 !important;
  }

  /* Posts feed */
  .nsfpv-posts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    min-width: 0;
  }

  .nsfpv-post {
    border-radius: 12px;
    border: 1px solid var(--nsfpv-line);
    background: var(--nsfpv-panel-soft);
    padding: 14px;
    min-width: 0;
  }

  .nsfpv-post__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    min-width: 0;
  }

  .nsfpv-post__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(24, 119, 242, 0.45);
  }

  .nsfpv-post__author {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--nsfpv-ink);
    line-height: 1.25;
  }

  .nsfpv-post__date {
    font-size: 0.78rem;
    color: var(--nsfpv-dim);
    font-weight: 600;
  }

  .nsfpv-post__text {
    color: var(--nsfpv-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }

  .nsfpv-post__image {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
  }

  .nsfpv-post__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nsfpv .nsfpv-post__stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--nsfpv-dim);
  }

  .nsfpv .nsfpv-post__stat i {
    color: var(--nsfpv-accent);
  }

  /* Modal */
  .nsfpv-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.65);
    padding: 16px;
    align-items: center;
    justify-content: center;
  }

  .nsfpv-modal.is-open {
    display: flex;
  }

  .nsfpv-modal__dialog {
    position: relative;
    width: min(920px, 100%);
    max-height: min(90vh, 900px);
    background: var(--nsfpv-panel);
    border: 1px solid var(--nsfpv-line);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
  }

  .nsfpv .nsfpv-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border: 0 !important;
    border-radius: 50%;
    background: #1877f2 !important;
    color: #fff !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
  }

  .nsfpv-modal__stage {
    position: relative;
    width: 100%;
    min-width: 0;
    background: var(--nsfpv-panel-soft);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
  }

  .nsfpv .nsfpv-modal__media {
    width: 100%;
    max-height: calc(90vh - 120px);
    object-fit: contain;
    border-radius: 10px;
    margin: 0 auto;
    background: #0b1220;
    display: block;
  }

  .nsfpv .nsfpv-modal__media.is-hidden {
    display: none !important;
  }

  .nsfpv .nsfpv-modal__media--video {
    width: 100%;
    max-height: calc(90vh - 120px);
    background: #000;
  }

  .nsfpv-modal__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
  }

  .nsfpv-modal__meta {
    flex: 1 1 160px;
    margin: 0;
    padding: 0;
    color: var(--nsfpv-muted);
    font-size: 0.88rem;
    font-weight: 600;
    text-align: left;
    min-width: 0;
  }

  .nsfpv-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .nsfpv .nsfpv-modal__action {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 14px !important;
    border-radius: 999px !important;
    border: 0 !important;
    font: inherit;
    font-weight: 700 !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
    color: #fff !important;
  }

  .nsfpv .nsfpv-modal__action--download {
    background: linear-gradient(135deg, #1877f2, #42b72a) !important;
  }

  .nsfpv .nsfpv-modal__action:disabled,
  .nsfpv .nsfpv-modal__action.is-hidden {
    display: none !important;
  }

  .nsfpv-modal__loading {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(8, 12, 24, 0.72);
    color: #fff;
    font-weight: 700;
    z-index: 1;
  }

  .nsfpv-modal__loading.is-visible {
    display: flex;
  }

  .nsfpv-modal__loading i {
    animation: nsfpv-spin 0.9s linear infinite;
  }

  @keyframes nsfpv-spin {
    to {
      transform: rotate(360deg);
    }
  }

  .nsfpv-dlprog {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 100000;
    width: min(360px, calc(100vw - 32px));
    background: rgba(18, 24, 40, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    color: #fff;
    display: none;
  }

  .nsfpv-dlprog.is-open {
    display: block;
  }

  .nsfpv-dlprog.is-success {
    border-color: rgba(66, 183, 42, 0.55);
  }

  .nsfpv-dlprog.is-error {
    border-color: rgba(255, 107, 122, 0.55);
  }

  .nsfpv-dlprog__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
  }

  .nsfpv-dlprog__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-weight: 700;
    font-size: 0.9rem;
  }

  .nsfpv-dlprog__title i {
    color: #42b72a;
  }

  .nsfpv-dlprog__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nsfpv-dlprog__pct {
    flex: 0 0 auto;
    font-weight: 800;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
  }

  .nsfpv-dlprog__track {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
  }

  .nsfpv-dlprog__fill {
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, #1877f2, #42b72a);
    transition: width 0.2s ease;
  }

  .nsfpv-dlprog.is-indeterminate .nsfpv-dlprog__fill {
    width: 40% !important;
    animation: nsfpv-dlprog-slide 1.1s ease-in-out infinite;
  }

  @keyframes nsfpv-dlprog-slide {
    0% {
      transform: translateX(-120%);
    }

    100% {
      transform: translateX(280%);
    }
  }

  .nsfpv-dlprog__meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.72);
  }

  .nsfpv-card__foot-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
  }

  /* Responsive: tablet */
  @media (min-width: 768px) {
    .nsfpv-search__row {
      flex-wrap: nowrap;
    }

    .nsfpv .nsfpv-search__field {
      flex: 1 1 auto;
    }

    .nsfpv .nsfpv-btn {
      flex: 0 0 auto;
      min-width: 110px;
      padding: 0 18px !important;
    }

    .nsfpv-profile {
      grid-template-columns: auto 1fr;
      justify-items: start;
      align-items: end;
      text-align: left;
      gap: 18px 20px;
      padding-left: 20px;
      padding-right: 20px;
    }

    .nsfpv-avatar {
      align-self: start;
    }

    .nsfpv-meta {
      text-align: left;
      padding-top: 10px;
    }

    .nsfpv .nsfpv-meta__name {
      justify-content: flex-start;
    }

    .nsfpv-stats {
      justify-content: flex-start;
    }

    .nsfpv .nsfpv-bio {
      grid-column: 1 / -1;
      margin-left: 0;
      margin-right: 0;
      max-width: none;
      text-align: left;
    }

    .nsfpv-tabs {
      justify-content: flex-start;
      padding-left: 20px;
      padding-right: 20px;
    }

    .nsfpv .nsfpv-tabs__btn {
      flex: 0 1 auto;
      min-width: 120px;
      padding: 10px 18px !important;
    }

    .nsfpv-pane {
      padding-left: 20px;
      padding-right: 20px;
    }

    .nsfpv-skeleton__profile {
      grid-template-columns: auto 1fr;
      justify-items: start;
      text-align: left;
      padding-left: 20px;
      padding-right: 20px;
    }

    .nsfpv-skeleton__meta {
      align-items: flex-start;
      text-align: left;
    }

    .nsfpv-skeleton__stats {
      justify-content: flex-start;
    }

    .nsfpv-skeleton__tabs {
      justify-content: flex-start;
      padding-left: 20px;
      padding-right: 20px;
    }

    .nsfpv-skeleton__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      padding-left: 20px;
      padding-right: 20px;
    }

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

    .nsfpv-tab-sk--photos,
    .nsfpv-tab-sk--videos,
    .nsfpv-tab-sk--reels {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nsfpv .nsfpv-skeleton__cover {
      height: auto;
    }
  }

  /* Responsive: desktop */
  @media (min-width: 1024px) {
    .nsfpv-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nsfpv-grid--reels {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .nsfpv-skeleton__grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nsfpv-tab-sk--photos,
    .nsfpv-tab-sk--videos {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nsfpv-tab-sk--reels {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .nsfpv .nsfpv-skeleton__cover,
    .nsfpv-cover {
      height: auto;
      max-height: 380px;
    }

    .nsfpv {
      --nsfpv-avatar: 132px;
    }
  }

  @media (max-width: 479.98px) {

    .nsfpv-grid--reels,
    .nsfpv-tab-sk--reels {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .nsfpv-grid--reels .nsfpv-card__foot {
      flex-direction: column;
      align-items: stretch;
      gap: 8px;
    }

    .nsfpv-grid--reels .nsfpv-card__actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      width: 100%;
    }

    .nsfpv-grid--reels .nsfpv-card__action {
      width: 100%;
      min-width: 0;
      font-size: 0.72rem !important;
      padding: 6px 8px !important;
    }
  }

  @media (max-width: 359.98px) {

    .nsfpv-grid--reels,
    .nsfpv-tab-sk--reels {
      grid-template-columns: 1fr;
    }
  }

  /* ResizeObserver helpers */
  .nsfpv.nsfpv--compact .nsfpv-search__row {
    flex-wrap: wrap;
  }

  .nsfpv.nsfpv--compact .nsfpv-search__field {
    flex: 1 1 100%;
  }

  .nsfpv.nsfpv--compact .nsfpv-btn {
    flex: 1 1 calc(50% - 4px);
  }

  .nsfpv.nsfpv--compact .nsfpv-profile {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .nsfpv.nsfpv--compact .nsfpv-meta,
  .nsfpv.nsfpv--compact .nsfpv-bio {
    text-align: center;
  }

  .nsfpv.nsfpv--compact .nsfpv-meta__name,
  .nsfpv.nsfpv--compact .nsfpv-stats,
  .nsfpv.nsfpv--compact .nsfpv-tabs {
    justify-content: center;
  }

  .nsfpv.nsfpv--compact .nsfpv-grid,
  .nsfpv.nsfpv--compact .nsfpv-skeleton__grid,
  .nsfpv.nsfpv--compact .nsfpv-tab-sk--photos,
  .nsfpv.nsfpv--compact .nsfpv-tab-sk--videos {
    grid-template-columns: 1fr;
  }

  .nsfpv.nsfpv--compact .nsfpv-grid--reels,
  .nsfpv.nsfpv--compact .nsfpv-tab-sk--reels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nsfpv.nsfpv--narrow .nsfpv-grid--reels,
  .nsfpv.nsfpv--narrow .nsfpv-tab-sk--reels {
    grid-template-columns: 1fr;
  }

  .nsfpv.nsfpv--compact .nsfpv-card__media--reel~.nsfpv-card__foot,
  .nsfpv.nsfpv--compact .nsfpv-grid--reels .nsfpv-card__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .nsfpv.nsfpv--compact .nsfpv-grid--reels .nsfpv-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .nsfpv.nsfpv--narrow .nsfpv-grid--reels .nsfpv-card__actions {
    grid-template-columns: 1fr;
  }

  .nsfpv.nsfpv--narrow .nsfpv-btn {
    flex: 1 1 100%;
  }

  .nsfpv.nsfpv--narrow .nsfpv-tabs__btn {
    flex: 1 1 100%;
  }

  .nsfpv.nsfpv--narrow {
    --nsfpv-avatar: 84px;
    padding-left: 6px;
    padding-right: 6px;
  }

  @media (prefers-reduced-motion: reduce) {

    .nsfpv *,
    .nsfpv *::before,
    .nsfpv *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }

    .nsfpv .nsfpv-sk {
      animation: none;
      background: #1a3f70;
    }
  }

  @media (hover: none) {

    .nsfpv .nsfpv-btn:hover,
    .nsfpv .nsfpv-tabs__btn:hover,
    .nsfpv-card:hover {
      transform: none;
    }

    .nsfpv-card:hover .nsfpv-card__overlay {
      opacity: 0;
    }

    .nsfpv-card:focus-within .nsfpv-card__overlay,
    .nsfpv-card__media:active .nsfpv-card__overlay {
      opacity: 1;
    }
  }

  /* Search controls: one row on large screens, wrap on narrow */
  .nsfpv .nsfpv-search,
  .nsfpv .nsfpv-search .nsfpv-search__row,
  .nsfpv .nsfpv-search .nsfpv-search__actions {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .nsfpv .nsfpv-search .nsfpv-search__row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .nsfpv .nsfpv-search .nsfpv-search__field,
  .nsfpv .nsfpv-search .nsfpv-search__row > .nsfpv-search__field {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .nsfpv .nsfpv-search .nsfpv-search__actions,
  .nsfpv .nsfpv-search .nsfpv-search__row > .nsfpv-search__actions {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: row !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
  }

  .nsfpv .nsfpv-search .nsfpv-search__row > .nsfpv-btn,
  .nsfpv .nsfpv-search .nsfpv-search__actions .nsfpv-btn,
  .nsfpv .nsfpv-search .nsfpv-search__row .nsfpv-search__actions .nsfpv-btn {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 110px !important;
  }

  .nsfpv.nsfpv--compact .nsfpv-search .nsfpv-search__row,
  .nsfpv.nsfpv--narrow .nsfpv-search .nsfpv-search__row {
    flex-wrap: wrap !important;
  }

  .nsfpv.nsfpv--compact .nsfpv-search .nsfpv-search__field,
  .nsfpv.nsfpv--narrow .nsfpv-search .nsfpv-search__field,
  .nsfpv.nsfpv--compact .nsfpv-search .nsfpv-search__row > .nsfpv-search__field,
  .nsfpv.nsfpv--narrow .nsfpv-search .nsfpv-search__row > .nsfpv-search__field {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .nsfpv.nsfpv--compact .nsfpv-search .nsfpv-search__actions,
  .nsfpv.nsfpv--narrow .nsfpv-search .nsfpv-search__actions,
  .nsfpv.nsfpv--compact .nsfpv-search .nsfpv-search__row > .nsfpv-search__actions,
  .nsfpv.nsfpv--narrow .nsfpv-search .nsfpv-search__row > .nsfpv-search__actions {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .nsfpv.nsfpv--compact .nsfpv-search .nsfpv-search__row > .nsfpv-btn,
  .nsfpv.nsfpv--narrow .nsfpv-search .nsfpv-search__row > .nsfpv-btn,
  .nsfpv.nsfpv--compact .nsfpv-search .nsfpv-search__actions .nsfpv-btn,
  .nsfpv.nsfpv--narrow .nsfpv-search .nsfpv-search__actions .nsfpv-btn,
  .nsfpv.nsfpv--compact .nsfpv-search .nsfpv-search__row .nsfpv-search__actions .nsfpv-btn,
  .nsfpv.nsfpv--narrow .nsfpv-search .nsfpv-search__row .nsfpv-search__actions .nsfpv-btn {
    flex: 1 1 calc(50% - 4px) !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  @media (max-width: 720px) {
    .nsfpv .nsfpv-search .nsfpv-search__row {
      flex-wrap: wrap !important;
    }

    .nsfpv .nsfpv-search .nsfpv-search__field,
    .nsfpv .nsfpv-search .nsfpv-search__row > .nsfpv-search__field {
      flex: 1 1 100% !important;
      width: 100% !important;
      max-width: 100% !important;
    }

    .nsfpv .nsfpv-search .nsfpv-search__actions,
    .nsfpv .nsfpv-search .nsfpv-search__row > .nsfpv-search__actions {
      flex: 1 1 100% !important;
      width: 100% !important;
      max-width: 100% !important;
    }

    .nsfpv .nsfpv-search .nsfpv-search__row > .nsfpv-btn,
    .nsfpv .nsfpv-search .nsfpv-search__actions .nsfpv-btn,
    .nsfpv .nsfpv-search .nsfpv-search__row .nsfpv-search__actions .nsfpv-btn {
      flex: 1 1 calc(50% - 4px) !important;
      min-width: 0 !important;
      max-width: 100% !important;
    }
  }

/* --- Codex CSS updates --- */
/* New Social Facebook Profile Viewer — WordPress-scoped styles */
.nsfpv {
  --nsfpv-ink: #f8fbff;
  --nsfpv-muted: #d7e6fb;
  --nsfpv-dim: #96b7e6;
  --nsfpv-bg: #071426;
  --nsfpv-panel: #0f2746;
  --nsfpv-panel-soft: #15365f;
  --nsfpv-hover: #1d4f8c;
  --nsfpv-line: rgba(97, 165, 255, 0.28);
  --nsfpv-accent: #1877f2;
  --nsfpv-accent-deep: #0d5fc8;
  --nsfpv-cool: #67b7ff;
  --nsfpv-cool-deep: #2f8cff;
  --nsfpv-success: #42b72a;
  --nsfpv-danger: #f02849;
  --nsfpv-radius: 10px;
  --nsfpv-shadow: 0 18px 46px rgba(3, 16, 35, 0.38);
  --nsfpv-font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --nsfpv-space: 16px;
  --nsfpv-avatar: 128px;
  --nsfpv-pad: clamp(14px, 2.4vw, 22px);
  --nsfpv-gap: 14px;

  box-sizing: border-box;
  font-family: var(--nsfpv-font);
  color: var(--nsfpv-ink);
  line-height: 1.5;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-width: 0;
  margin: 0 auto;
  padding: clamp(10px, 2.2vw, 22px);
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(24, 119, 242, 0.38), transparent 62%),
    radial-gradient(760px 360px at 96% 8%, rgba(66, 183, 42, 0.15), transparent 58%),
    linear-gradient(145deg, #06101f 0%, #0a1b32 42%, #0d2a4d 78%, #123f74 100%);
  border: 0;
  border-radius: 0;
  position: relative;
  isolation: isolate;
  text-align: left;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.nsfpv *,
.nsfpv *::before,
.nsfpv *::after {
  box-sizing: border-box;
}

.nsfpv :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, label, span) {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
}

.nsfpv :where(ul, ol) {
  list-style: none;
}

.nsfpv img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
  vertical-align: middle;
}

.nsfpv a {
  color: var(--nsfpv-cool);
  text-decoration: none;
}

.nsfpv a:hover {
  color: #9ad0ff;
  text-decoration: underline;
}

.nsfpv-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--nsfpv-gap);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  min-width: 0;
}

.nsfpv-hero {
  background: transparent;
  padding: clamp(28px, 5vw, 48px) 0 14px;
  text-align: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.nsfpv .nsfpv-hero__title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 10px;
  color: var(--nsfpv-ink);
}

.nsfpv-hero__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 100%;
  min-width: 0;
}

.nsfpv .nsfpv-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--nsfpv-accent), #35a3ff);
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  box-shadow: 0 10px 26px rgba(24, 119, 242, 0.32);
}

.nsfpv .nsfpv-hero__icon i {
  display: block;
  line-height: 1;
}

.nsfpv-hero__title-text {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.35em;
  min-width: 0;
  font-size: clamp(1.45rem, 3.2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.16;
  text-align: left;
  text-transform: capitalize;
}

.nsfpv-hero__title-mark {
  color: var(--nsfpv-cool);
  font-weight: 800;
  text-transform: capitalize;
}

.nsfpv .nsfpv-hero__lead {
  max-width: 620px;
  margin: 0 auto 18px;
  color: var(--nsfpv-muted);
  font-size: clamp(0.9rem, 2.4vw, 1rem);
  line-height: 1.6;
  padding: 0 2px;
}

.nsfpv-search {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  text-align: left;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-top: 4px;
  padding: clamp(12px, 2vw, 16px);
  background: rgba(7, 20, 38, 0.84);
  border: 1px solid var(--nsfpv-line);
  border-radius: 10px;
  box-shadow: var(--nsfpv-shadow);
  backdrop-filter: blur(10px);
}

.nsfpv .nsfpv-search__label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--nsfpv-muted);
  line-height: 1.3;
}

.nsfpv-search__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}

.nsfpv .nsfpv-search__field {
  flex: 1 1 160px;
  min-width: 0;
  height: 46px;
  min-height: 46px;
  padding: 0 14px !important;
  border: 1px solid rgba(151, 190, 240, 0.34) !important;
  border-radius: 8px;
  background: #08182d !important;
  color: #ffffff !important;
  font-family: var(--nsfpv-font);
  font-size: 16px !important;
  font-weight: 500;
  line-height: 46px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  width: 100%;
  max-width: 100%;
}

.nsfpv .nsfpv-search__field:focus {
  background: #091d38 !important;
  border-color: var(--nsfpv-cool) !important;
  box-shadow: 0 0 0 3px rgba(103, 183, 255, 0.24);
}

.nsfpv .nsfpv-search__field::placeholder {
  color: var(--nsfpv-dim);
}

.nsfpv .nsfpv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1 1 calc(50% - 4px);
  height: 46px;
  min-height: 46px;
  min-width: 0;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 8px;
  font-family: var(--nsfpv-font);
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
  user-select: none;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  color: #fff !important;
}

.nsfpv .nsfpv-btn i,
.nsfpv .nsfpv-tabs__btn i,
.nsfpv .nsfpv-card__action i,
.nsfpv .nsfpv-avatar__zoom i,
.nsfpv .nsfpv-modal__close i,
.nsfpv .nsfpv-demo-chip i,
.nsfpv .nsfpv-card__badge i,
.nsfpv .nsfpv-card__overlay i,
.nsfpv .nsfpv-post__stat i,
.nsfpv .nsfpv-meta__name i,
.nsfpv i.fa-solid,
.nsfpv i.fas,
.nsfpv .fa-download,
.nsfpv .fa-expand,
.nsfpv .fa-eye,
.nsfpv .fa-film,
.nsfpv .fa-images,
.nsfpv .fa-newspaper,
.nsfpv .fa-paste,
.nsfpv .fa-spinner,
.nsfpv .fa-video,
.nsfpv .fa-xmark {
  --fa-display: inline-block;
  display: inline-block !important;
  line-height: 1 !important;
  font-size: 0.92em;
  width: 1.15em;
  text-align: center;
  vertical-align: middle;
  font-style: normal !important;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.nsfpv .fa-download::before { content: "\f019"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; }
.nsfpv .fa-expand::before { content: "\f065"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; }
.nsfpv .fa-eye::before { content: "\f06e"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; }
.nsfpv .fa-film::before { content: "\f008"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; }
.nsfpv .fa-images::before { content: "\f302"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; }
.nsfpv .fa-newspaper::before { content: "\f1ea"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; }
.nsfpv .fa-paste::before { content: "\f0ea"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; }
.nsfpv .fa-spinner::before { content: "\f110"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; }
.nsfpv .fa-video::before { content: "\f03d"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; }
.nsfpv .fa-xmark::before { content: "\f00d"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; }

.nsfpv .fa-spinner {
  animation: nsfpv-spin 0.9s linear infinite;
}

.nsfpv .nsfpv-empty i {
  display: block !important;
  font-size: 2rem !important;
  width: auto;
  margin: 0 auto 10px;
  opacity: 0.45;
  line-height: 1 !important;
}

.nsfpv .nsfpv-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
}

.nsfpv .nsfpv-btn:focus-visible,
.nsfpv .nsfpv-tabs__btn:focus-visible,
.nsfpv .nsfpv-card__action:focus-visible,
.nsfpv .nsfpv-avatar__zoom:focus-visible,
.nsfpv .nsfpv-modal__close:focus-visible,
.nsfpv .nsfpv-modal__action:focus-visible {
  outline: 3px solid rgba(103, 183, 255, 0.44);
  outline-offset: 2px;
}

.nsfpv .nsfpv-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: none;
  transform: none;
}

.nsfpv .nsfpv-btn--paste {
  background: #1d4f8c !important;
  color: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.nsfpv .nsfpv-btn--paste:hover {
  background: #2862a8 !important;
}

.nsfpv .nsfpv-btn--view {
  background: linear-gradient(135deg, var(--nsfpv-accent), var(--nsfpv-cool-deep)) !important;
  box-shadow: 0 10px 22px rgba(24, 119, 242, 0.28);
}

.nsfpv .nsfpv-search__hint {
  margin: 0;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--nsfpv-dim);
  line-height: 1.4;
}

.nsfpv #xrespond-tools-turnstile-host {
  display: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  flex: none;
  order: unset;
  box-sizing: border-box;
}

.nsfpv #xrespond-tools-turnstile-host.is-visible {
  display: block;
}

.nsfpv #xrespond-tools-turnstile-host .xrespond-ts-label {
  display: block;
  font-size: 0.85rem;
  color: var(--nsfpv-muted);
  margin-bottom: 0.45rem;
}

.nsfpv #xrespond-tools-turnstile-host .xrespond-ts-widget {
  min-height: 65px;
  max-width: 100%;
  overflow: hidden;
}

.nsfpv #xrespond-tools-turnstile-host .xrespond-ts-error {
  color: #ff9bad;
}

.nsfpv-search__row:has(#xrespond-tools-turnstile-host) {
  flex-wrap: wrap !important;
}

.nsfpv-search__row > #xrespond-tools-turnstile-host {
  flex: 0 0 100% !important;
  width: 100% !important;
  order: -1;
}

.nsfpv .nsfpv-alert {
  display: none;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(240, 40, 73, 0.16);
  border: 1px solid rgba(240, 40, 73, 0.48);
  color: #ff9bad;
  font-weight: 700;
  font-size: 0.88rem;
  text-align: left;
  line-height: 1.4;
}

.nsfpv .nsfpv-alert.is-visible {
  display: block;
}

.nsfpv .nsfpv-demo-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(24, 119, 242, 0.18);
  border: 1px solid rgba(103, 183, 255, 0.34);
  color: #b6dcff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.nsfpv .nsfpv-skeleton {
  display: none;
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.nsfpv .nsfpv-skeleton.is-visible {
  display: block;
}

.nsfpv .nsfpv-content.is-hidden {
  display: none !important;
}

.nsfpv .nsfpv-content.is-placeholder .nsfpv-bio,
.nsfpv .nsfpv-content.is-placeholder .nsfpv-stats {
  display: none !important;
}

.nsfpv .nsfpv-content.is-placeholder .nsfpv-avatar__zoom {
  opacity: 0.55;
  pointer-events: none;
}

@keyframes nsfpv-shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.nsfpv .nsfpv-sk {
  background: linear-gradient(90deg, rgba(103, 183, 255, 0.13) 0%, rgba(103, 183, 255, 0.32) 45%, rgba(103, 183, 255, 0.13) 100%);
  background-size: 800px 100%;
  animation: nsfpv-shimmer 1.35s ease-in-out infinite;
  border-radius: 8px;
}

.nsfpv-skeleton__panel,
.nsfpv-panel {
  background: rgba(15, 39, 70, 0.92);
  border: 1px solid var(--nsfpv-line);
  border-radius: var(--nsfpv-radius);
  box-shadow: var(--nsfpv-shadow);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.nsfpv-skeleton__panel {
  padding: 0;
}

.nsfpv .nsfpv-skeleton__cover,
.nsfpv-cover {
  width: 100%;
  aspect-ratio: 2.7 / 1;
  height: auto;
  min-height: 140px;
  max-height: 380px;
  border-radius: 0;
}

.nsfpv-skeleton__profile,
.nsfpv-profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
  justify-items: center;
  padding: 0 var(--nsfpv-pad) 16px;
  text-align: center;
  width: 100%;
  min-width: 0;
}

.nsfpv-profile {
  gap: 12px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.nsfpv .nsfpv-skeleton__avatar {
  width: var(--nsfpv-avatar);
  height: var(--nsfpv-avatar);
  margin-top: calc(var(--nsfpv-avatar) / -2);
  border-radius: 50% !important;
  border: 3px solid var(--nsfpv-panel);
}

.nsfpv-skeleton__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  align-items: center;
  width: 100%;
}

.nsfpv-skeleton__line {
  height: 16px;
}

.nsfpv-skeleton__line--lg {
  width: min(200px, 70%);
  height: 22px;
}

.nsfpv-skeleton__line--md {
  width: min(140px, 50%);
  height: 14px;
}

.nsfpv-skeleton__stats {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.nsfpv-skeleton__stat {
  width: 72px;
  height: 28px;
  border-radius: 999px;
}

.nsfpv-skeleton__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 14px;
  padding: 0 var(--nsfpv-pad);
  width: 100%;
}

.nsfpv-skeleton__tab {
  flex: 1 1 calc(50% - 8px);
  min-width: 0;
  height: 40px;
  border-radius: 999px;
}

.nsfpv-skeleton__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0 var(--nsfpv-pad) 18px;
}

.nsfpv-skeleton__card,
.nsfpv-tab-sk__photo,
.nsfpv-tab-sk__video,
.nsfpv-tab-sk__reel,
.nsfpv-tab-sk__post {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--nsfpv-line);
  background: var(--nsfpv-panel-soft);
}

.nsfpv-skeleton__thumb,
.nsfpv-tab-sk__photo-thumb {
  aspect-ratio: 1 / 1;
  border-radius: 0;
}

.nsfpv-skeleton__foot,
.nsfpv-tab-sk__photo-foot,
.nsfpv-tab-sk__video-foot,
.nsfpv-tab-sk__reel-foot {
  height: 40px;
  margin: 10px 12px;
  border-radius: 8px;
}

.nsfpv-tab-sk {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.nsfpv-tab-sk--photos,
.nsfpv-tab-sk--videos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.nsfpv-tab-sk--reels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.nsfpv-tab-sk--posts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nsfpv-tab-sk__video-thumb {
  aspect-ratio: 16 / 10;
}

.nsfpv-tab-sk__reel-thumb {
  aspect-ratio: 9 / 14;
}

.nsfpv-tab-sk__post {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nsfpv-tab-sk__post-head {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nsfpv-tab-sk__post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  flex-shrink: 0;
}

.nsfpv-tab-sk__post-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nsfpv-tab-sk__post-line {
  height: 12px;
  border-radius: 6px;
}

.nsfpv-tab-sk__post-line--short {
  width: 40%;
}

.nsfpv-tab-sk__post-body {
  height: 64px;
  border-radius: 8px;
}

.nsfpv-result {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.nsfpv-cover {
  position: relative;
  overflow: hidden;
  background: #15365f;
}

.nsfpv .nsfpv-cover__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 18%;
}

.nsfpv-cover__fade {
  display: none;
}

.nsfpv-avatar {
  position: relative;
  width: var(--nsfpv-avatar);
  height: var(--nsfpv-avatar);
  margin-top: calc(var(--nsfpv-avatar) / -2);
  flex-shrink: 0;
}

.nsfpv-avatar__ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 0;
  background: var(--nsfpv-panel);
  border: 4px solid var(--nsfpv-accent);
  box-shadow: 0 0 0 4px rgba(7, 20, 38, 0.88), 0 10px 24px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.nsfpv .nsfpv-avatar__img {
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 0;
  background: #15365f;
}

.nsfpv .nsfpv-avatar__zoom {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border: 0 !important;
  border-radius: 50%;
  background: var(--nsfpv-accent) !important;
  color: #fff !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px var(--nsfpv-panel);
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  z-index: 1;
}

.nsfpv .nsfpv-avatar__zoom:hover {
  background: var(--nsfpv-accent-deep) !important;
}

.nsfpv-meta {
  min-width: 0;
  width: 100%;
}

.nsfpv .nsfpv-meta__name {
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0;
  color: var(--nsfpv-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  line-height: 1.25;
}

.nsfpv .nsfpv-meta__name i {
  color: var(--nsfpv-cool);
  font-size: 0.78em;
}

.nsfpv .nsfpv-meta__handle {
  margin-top: 2px;
  color: var(--nsfpv-dim);
  font-size: 0.95rem;
  font-weight: 600;
}

.nsfpv-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin-top: 10px;
}

.nsfpv .nsfpv-stats__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  min-height: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: var(--nsfpv-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.nsfpv .nsfpv-stats__badge i {
  color: var(--nsfpv-cool);
  font-size: 0.85em;
}

.nsfpv .nsfpv-bio {
  margin-top: 2px;
  color: #edf6ff;
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.nsfpv-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: flex-start;
  padding: 0 8px;
  width: 100%;
  min-width: 0;
  border-top: 1px solid var(--nsfpv-line);
  margin-top: 4px;
  background: rgba(7, 20, 38, 0.22);
}

.nsfpv .nsfpv-tabs__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
  height: auto;
  padding: 12px 10px !important;
  border: 0 !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--nsfpv-muted) !important;
  font-family: var(--nsfpv-font);
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  white-space: nowrap;
}

.nsfpv .nsfpv-tabs__btn:hover {
  background: rgba(103, 183, 255, 0.12) !important;
  transform: none;
  color: var(--nsfpv-ink) !important;
}

.nsfpv .nsfpv-tabs__btn.is-active {
  background: rgba(24, 119, 242, 0.16) !important;
  border-bottom-color: var(--nsfpv-cool) !important;
  color: #b8ddff !important;
}

.nsfpv-pane {
  display: none;
  padding: 0 var(--nsfpv-pad) 18px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.nsfpv-pane.is-active {
  display: block;
}

.nsfpv-pane__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.nsfpv .nsfpv-pane__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--nsfpv-ink);
}

.nsfpv .nsfpv-pane__title i {
  color: var(--nsfpv-cool);
}

.nsfpv .nsfpv-pane__count {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--nsfpv-dim);
}

.nsfpv-empty {
  text-align: center;
  padding: 36px 16px;
  color: var(--nsfpv-dim);
  font-size: 0.92rem;
}

.nsfpv-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

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

.nsfpv-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--nsfpv-line);
  background: var(--nsfpv-panel-soft);
  min-width: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nsfpv-card:hover {
  transform: translateY(-2px);
  border-color: rgba(103, 183, 255, 0.5);
  box-shadow: 0 14px 30px rgba(3, 16, 35, 0.28);
}

.nsfpv-card__media {
  position: relative;
  overflow: hidden;
  background: #102b4d;
  cursor: pointer;
}

.nsfpv-card__media--photo {
  aspect-ratio: 1 / 1;
}

.nsfpv-card__media--video {
  aspect-ratio: 16 / 10;
}

.nsfpv-card__media--reel {
  aspect-ratio: 9 / 14;
}

.nsfpv .nsfpv-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.nsfpv-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(3, 10, 20, 0.76);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  z-index: 2;
}

.nsfpv-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.nsfpv-card__play span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(3, 10, 20, 0.62);
  border: 2px solid rgba(255, 255, 255, 0.64);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.nsfpv-card__duration {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(3, 10, 20, 0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.nsfpv-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 12px;
  background: linear-gradient(to top, rgba(3, 10, 20, 0.75), transparent 58%);
  opacity: 0;
  transition: opacity 0.2s ease;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  z-index: 2;
}

.nsfpv-card:hover .nsfpv-card__overlay,
.nsfpv-card:focus-within .nsfpv-card__overlay {
  opacity: 1;
}

.nsfpv-card__overlay span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nsfpv-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  min-width: 0;
  flex-wrap: wrap;
}

.nsfpv-card__title {
  flex: 1;
  min-width: 0;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--nsfpv-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nsfpv .nsfpv-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  min-height: 36px;
  padding: 6px 10px !important;
  border: 0 !important;
  border-radius: 8px;
  background: rgba(24, 119, 242, 0.26) !important;
  color: #b8ddff !important;
  font-family: var(--nsfpv-font);
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
}

.nsfpv .nsfpv-card__action:hover {
  background: rgba(24, 119, 242, 0.42) !important;
  color: #ffffff !important;
}

.nsfpv .nsfpv-card__action--cool {
  background: rgba(66, 183, 42, 0.2) !important;
  color: #91ee7e !important;
}

.nsfpv .nsfpv-card__action--cool:hover {
  background: rgba(66, 183, 42, 0.32) !important;
  color: #ffffff !important;
}

.nsfpv-posts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.nsfpv-post {
  border-radius: 10px;
  border: 1px solid var(--nsfpv-line);
  background: var(--nsfpv-panel-soft);
  padding: 14px;
  min-width: 0;
}

.nsfpv-post__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  min-width: 0;
}

.nsfpv-post__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(103, 183, 255, 0.48);
}

.nsfpv-post__author {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--nsfpv-ink);
  line-height: 1.25;
}

.nsfpv-post__date {
  font-size: 0.78rem;
  color: var(--nsfpv-dim);
  font-weight: 700;
}

.nsfpv-post__text {
  color: var(--nsfpv-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 10px;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.nsfpv-post__image {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}

.nsfpv-post__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nsfpv .nsfpv-post__stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--nsfpv-dim);
}

.nsfpv .nsfpv-post__stat i {
  color: var(--nsfpv-cool);
}

.nsfpv-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(1, 8, 18, 0.78);
  padding: 16px;
  align-items: center;
  justify-content: center;
}

.nsfpv-modal.is-open {
  display: flex;
}

.nsfpv-modal__dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(90vh, 900px);
  background: var(--nsfpv-panel);
  border: 1px solid var(--nsfpv-line);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.54);
  overflow: hidden;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.nsfpv .nsfpv-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 0 !important;
  border-radius: 50%;
  background: var(--nsfpv-accent) !important;
  color: #fff !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
}

.nsfpv .nsfpv-modal__close:hover {
  background: var(--nsfpv-accent-deep) !important;
}

.nsfpv-modal__stage {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #08182d;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.nsfpv .nsfpv-modal__media,
.nsfpv .nsfpv-modal__media--img {
  width: 100%;
  max-height: calc(90vh - 120px);
  object-fit: contain;
  border-radius: 10px;
  margin: 0 auto;
  background: #020814;
  display: block;
}

.nsfpv .nsfpv-modal__media.is-hidden {
  display: none !important;
}

.nsfpv .nsfpv-modal__media--video {
  width: 100%;
  max-height: calc(90vh - 120px);
  background: #000;
}

.nsfpv-modal__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.nsfpv-modal__meta {
  flex: 1 1 160px;
  margin: 0;
  padding: 0;
  color: var(--nsfpv-muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: left;
  min-width: 0;
}

.nsfpv-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nsfpv .nsfpv-modal__action {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px !important;
  border-radius: 999px !important;
  border: 0 !important;
  font: inherit;
  font-weight: 800 !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  color: #fff !important;
}

.nsfpv .nsfpv-modal__action--download {
  background: linear-gradient(135deg, var(--nsfpv-accent), var(--nsfpv-success)) !important;
}

.nsfpv .nsfpv-modal__action:disabled,
.nsfpv .nsfpv-modal__action.is-hidden {
  display: none !important;
}

.nsfpv-modal__loading {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(3, 10, 20, 0.78);
  color: #fff;
  font-weight: 800;
  z-index: 1;
}

.nsfpv-modal__loading.is-visible {
  display: flex;
}

.nsfpv-modal__loading i {
  animation: nsfpv-spin 0.9s linear infinite;
}

@keyframes nsfpv-spin {
  to { transform: rotate(360deg); }
}

.nsfpv-dlprog {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100000;
  width: min(360px, calc(100vw - 32px));
  background: rgba(7, 20, 38, 0.97);
  border: 1px solid rgba(103, 183, 255, 0.26);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  color: #fff;
  display: none;
}

.nsfpv-dlprog.is-open {
  display: block;
}

.nsfpv-dlprog.is-success {
  border-color: rgba(66, 183, 42, 0.6);
}

.nsfpv-dlprog.is-error {
  border-color: rgba(255, 107, 122, 0.6);
}

.nsfpv-dlprog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.nsfpv-dlprog__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: 800;
  font-size: 0.9rem;
}

.nsfpv-dlprog__title i {
  color: var(--nsfpv-success);
}

.nsfpv-dlprog__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nsfpv-dlprog__pct {
  flex: 0 0 auto;
  font-weight: 800;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.86);
}

.nsfpv-dlprog__track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  overflow: hidden;
}

.nsfpv-dlprog__fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--nsfpv-accent), var(--nsfpv-success));
  transition: width 0.2s ease;
}

.nsfpv-dlprog.is-indeterminate .nsfpv-dlprog__fill {
  width: 40% !important;
  animation: nsfpv-dlprog-slide 1.1s ease-in-out infinite;
}

@keyframes nsfpv-dlprog-slide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}

.nsfpv-dlprog__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.74);
}

.nsfpv-card__foot-actions,
.nsfpv-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  .nsfpv-search__row {
    flex-wrap: nowrap;
  }

  .nsfpv .nsfpv-search__field {
    flex: 1 1 auto;
  }

  .nsfpv .nsfpv-btn {
    flex: 0 0 auto;
    min-width: 110px;
    padding: 0 18px !important;
  }

  .nsfpv-profile,
  .nsfpv-skeleton__profile {
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: end;
    text-align: left;
    gap: 18px 20px;
  }

  .nsfpv-avatar {
    align-self: start;
  }

  .nsfpv-meta {
    text-align: left;
    padding-top: 10px;
  }

  .nsfpv .nsfpv-meta__name {
    justify-content: flex-start;
  }

  .nsfpv-stats,
  .nsfpv-skeleton__stats,
  .nsfpv-skeleton__tabs {
    justify-content: flex-start;
  }

  .nsfpv .nsfpv-bio {
    grid-column: 1 / -1;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    text-align: left;
  }

  .nsfpv-tabs {
    justify-content: flex-start;
    padding-left: var(--nsfpv-pad);
    padding-right: var(--nsfpv-pad);
  }

  .nsfpv .nsfpv-tabs__btn {
    flex: 0 1 auto;
    min-width: 120px;
    padding: 10px 18px !important;
  }

  .nsfpv-skeleton__meta {
    align-items: flex-start;
    text-align: left;
  }

  .nsfpv-skeleton__grid,
  .nsfpv-grid,
  .nsfpv-tab-sk--photos,
  .nsfpv-tab-sk--videos,
  .nsfpv-tab-sk--reels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nsfpv .nsfpv-skeleton__cover {
    height: auto;
  }
}

@media (min-width: 1024px) {
  .nsfpv-grid,
  .nsfpv-skeleton__grid,
  .nsfpv-tab-sk--photos,
  .nsfpv-tab-sk--videos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nsfpv-grid--reels,
  .nsfpv-tab-sk--reels {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .nsfpv .nsfpv-skeleton__cover,
  .nsfpv-cover {
    height: auto;
    max-height: 380px;
  }

  .nsfpv {
    --nsfpv-avatar: 132px;
  }
}

@media (max-width: 720px) {
  .nsfpv {
    padding: 10px;
  }

  .nsfpv .nsfpv-search .nsfpv-search__row {
    flex-wrap: wrap !important;
  }

  .nsfpv .nsfpv-search .nsfpv-search__field,
  .nsfpv .nsfpv-search .nsfpv-search__row > .nsfpv-search__field {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .nsfpv .nsfpv-search .nsfpv-search__actions,
  .nsfpv .nsfpv-search .nsfpv-search__row > .nsfpv-search__actions {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .nsfpv .nsfpv-search .nsfpv-search__row > .nsfpv-btn,
  .nsfpv .nsfpv-search .nsfpv-search__actions .nsfpv-btn,
  .nsfpv .nsfpv-search .nsfpv-search__row .nsfpv-search__actions .nsfpv-btn {
    flex: 1 1 calc(50% - 4px) !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .nsfpv-modal {
    padding: 10px;
  }

  .nsfpv-modal__dialog {
    max-height: calc(100vh - 20px);
    padding: 10px;
  }

  .nsfpv-modal__actions,
  .nsfpv .nsfpv-modal__action {
    width: 100%;
  }

  .nsfpv-modal__meta {
    flex-basis: 100%;
  }
}

@media (max-width: 479.98px) {
  .nsfpv {
    --nsfpv-avatar: 96px;
  }

  .nsfpv-hero__brand {
    align-items: flex-start;
  }

  .nsfpv-hero__title-text {
    font-size: clamp(1.25rem, 8vw, 1.6rem);
  }

  .nsfpv-grid--reels,
  .nsfpv-tab-sk--reels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .nsfpv-grid--reels .nsfpv-card__foot {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nsfpv-grid--reels .nsfpv-card__actions,
  .nsfpv-grid--reels .nsfpv-card__foot-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .nsfpv-grid--reels .nsfpv-card__action {
    width: 100%;
    min-width: 0;
    font-size: 0.72rem !important;
    padding: 6px 8px !important;
  }
}

@media (max-width: 359.98px) {
  .nsfpv-grid--reels,
  .nsfpv-tab-sk--reels {
    grid-template-columns: 1fr;
  }

  .nsfpv .nsfpv-btn,
  .nsfpv .nsfpv-search .nsfpv-search__row > .nsfpv-btn,
  .nsfpv .nsfpv-search .nsfpv-search__actions .nsfpv-btn {
    flex: 1 1 100% !important;
    width: 100% !important;
  }
}

.nsfpv.nsfpv--compact .nsfpv-search__row {
  flex-wrap: wrap;
}

.nsfpv.nsfpv--compact .nsfpv-search__field {
  flex: 1 1 100%;
}

.nsfpv.nsfpv--compact .nsfpv-btn {
  flex: 1 1 calc(50% - 4px);
}

.nsfpv.nsfpv--compact .nsfpv-profile {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.nsfpv.nsfpv--compact .nsfpv-meta,
.nsfpv.nsfpv--compact .nsfpv-bio {
  text-align: center;
}

.nsfpv.nsfpv--compact .nsfpv-meta__name,
.nsfpv.nsfpv--compact .nsfpv-stats,
.nsfpv.nsfpv--compact .nsfpv-tabs {
  justify-content: center;
}

.nsfpv.nsfpv--compact .nsfpv-grid,
.nsfpv.nsfpv--compact .nsfpv-skeleton__grid,
.nsfpv.nsfpv--compact .nsfpv-tab-sk--photos,
.nsfpv.nsfpv--compact .nsfpv-tab-sk--videos {
  grid-template-columns: 1fr;
}

.nsfpv.nsfpv--compact .nsfpv-grid--reels,
.nsfpv.nsfpv--compact .nsfpv-tab-sk--reels {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nsfpv.nsfpv--narrow .nsfpv-grid--reels,
.nsfpv.nsfpv--narrow .nsfpv-tab-sk--reels {
  grid-template-columns: 1fr;
}

.nsfpv.nsfpv--compact .nsfpv-card__media--reel ~ .nsfpv-card__foot,
.nsfpv.nsfpv--compact .nsfpv-grid--reels .nsfpv-card__foot {
  flex-direction: column;
  align-items: stretch;
}

.nsfpv.nsfpv--compact .nsfpv-grid--reels .nsfpv-card__actions,
.nsfpv.nsfpv--compact .nsfpv-grid--reels .nsfpv-card__foot-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.nsfpv.nsfpv--narrow .nsfpv-grid--reels .nsfpv-card__actions,
.nsfpv.nsfpv--narrow .nsfpv-grid--reels .nsfpv-card__foot-actions {
  grid-template-columns: 1fr;
}

.nsfpv.nsfpv--narrow .nsfpv-btn {
  flex: 1 1 100%;
}

.nsfpv.nsfpv--narrow .nsfpv-tabs__btn {
  flex: 1 1 100%;
}

.nsfpv.nsfpv--narrow {
  --nsfpv-avatar: 84px;
  padding-left: 6px;
  padding-right: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .nsfpv *,
  .nsfpv *::before,
  .nsfpv *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .nsfpv .nsfpv-sk {
    animation: none;
    background: #15365f;
  }
}

@media (hover: none) {
  .nsfpv .nsfpv-btn:hover,
  .nsfpv .nsfpv-tabs__btn:hover,
  .nsfpv-card:hover {
    transform: none;
  }

  .nsfpv-card:hover .nsfpv-card__overlay {
    opacity: 0;
  }

  .nsfpv-card:focus-within .nsfpv-card__overlay,
  .nsfpv-card__media:active .nsfpv-card__overlay {
    opacity: 1;
  }
}

.nsfpv .nsfpv-search,
.nsfpv .nsfpv-search .nsfpv-search__row,
.nsfpv .nsfpv-search .nsfpv-search__actions {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.nsfpv .nsfpv-search .nsfpv-search__row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 8px !important;
}

.nsfpv .nsfpv-search .nsfpv-search__field,
.nsfpv .nsfpv-search .nsfpv-search__row > .nsfpv-search__field {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
}

.nsfpv .nsfpv-search .nsfpv-search__actions,
.nsfpv .nsfpv-search .nsfpv-search__row > .nsfpv-search__actions {
  display: flex !important;
  flex: 0 0 auto !important;
  flex-direction: row !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
}

.nsfpv .nsfpv-search .nsfpv-search__row > .nsfpv-btn,
.nsfpv .nsfpv-search .nsfpv-search__actions .nsfpv-btn,
.nsfpv .nsfpv-search .nsfpv-search__row .nsfpv-search__actions .nsfpv-btn {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 110px !important;
}

.nsfpv.nsfpv--compact .nsfpv-search .nsfpv-search__row,
.nsfpv.nsfpv--narrow .nsfpv-search .nsfpv-search__row {
  flex-wrap: wrap !important;
}

.nsfpv.nsfpv--compact .nsfpv-search .nsfpv-search__field,
.nsfpv.nsfpv--narrow .nsfpv-search .nsfpv-search__field,
.nsfpv.nsfpv--compact .nsfpv-search .nsfpv-search__row > .nsfpv-search__field,
.nsfpv.nsfpv--narrow .nsfpv-search .nsfpv-search__row > .nsfpv-search__field {
  flex: 1 1 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}

.nsfpv.nsfpv--compact .nsfpv-search .nsfpv-search__actions,
.nsfpv.nsfpv--narrow .nsfpv-search .nsfpv-search__actions,
.nsfpv.nsfpv--compact .nsfpv-search .nsfpv-search__row > .nsfpv-search__actions,
.nsfpv.nsfpv--narrow .nsfpv-search .nsfpv-search__row > .nsfpv-search__actions {
  flex: 1 1 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}

.nsfpv.nsfpv--compact .nsfpv-search .nsfpv-search__row > .nsfpv-btn,
.nsfpv.nsfpv--narrow .nsfpv-search .nsfpv-search__row > .nsfpv-btn,
.nsfpv.nsfpv--compact .nsfpv-search .nsfpv-search__actions .nsfpv-btn,
.nsfpv.nsfpv--narrow .nsfpv-search .nsfpv-search__actions .nsfpv-btn,
.nsfpv.nsfpv--compact .nsfpv-search .nsfpv-search__row .nsfpv-search__actions .nsfpv-btn,
.nsfpv.nsfpv--narrow .nsfpv-search .nsfpv-search__row .nsfpv-search__actions .nsfpv-btn {
  flex: 1 1 calc(50% - 4px) !important;
  min-width: 0 !important;
  max-width: 100% !important;
}