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

    box-sizing: border-box;
    font-family: var(--nsfpo-font);
    color: var(--nsfpo-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(--nsfpo-line);
    position: relative;
    isolation: isolate;
    text-align: left;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

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

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

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

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

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

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

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

  /* Hero / search */
  .nsfpo-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;
  }

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

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

  .nsfpo .nsfpo-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);
  }

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

  .nsfpo-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;
  }

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

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

  .nsfpo-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(--nsfpo-bg);
    border: 1px solid var(--nsfpo-line);
    border-radius: 8px;
  }

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

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

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

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

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

  .nsfpo .nsfpo-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(--nsfpo-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;
  }

  .nsfpo .nsfpo-btn i,
  .nsfpo .nsfpo-tabs__btn i,
  .nsfpo .nsfpo-card__action i,
  .nsfpo .nsfpo-avatar__zoom i,
  .nsfpo .nsfpo-modal__close i,
  .nsfpo .nsfpo-demo-chip i,
  .nsfpo .nsfpo-card__badge i,
  .nsfpo .nsfpo-card__overlay i,
  .nsfpo .nsfpo-post__stat i,
  .nsfpo .nsfpo-meta__name i,
  .nsfpo i.fa-solid,
  .nsfpo 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;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .nsfpo .nsfpo-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;
  }

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

  .nsfpo .nsfpo-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 */
  .nsfpo .nsfpo-skeleton {
    display: none;
    margin: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

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

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

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

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

  .nsfpo .nsfpo-content.is-placeholder .nsfpo-card__media,
  .nsfpo .nsfpo-content.is-placeholder .nsfpo-card__action,
  .nsfpo .nsfpo-content.is-placeholder .nsfpo-post__image,
  .nsfpo .nsfpo-content.is-placeholder [data-nsfpo-play],
  .nsfpo .nsfpo-content.is-placeholder [data-nsfpo-download] {
    pointer-events: none;
  }

  .nsfpo .nsfpo-content.is-placeholder .nsfpo-card__action {
    opacity: 0.72;
  }

  .nsfpo-card__media--ghost {
    background: linear-gradient(145deg, #123056, #1a4f8c 55%, #0d65d9);
  }

  .nsfpo-card__media--ghost-b {
    background: linear-gradient(145deg, #0f2a4d, #1877f2 60%, #42b72a);
  }

  .nsfpo-card__media--ghost-c {
    background: linear-gradient(145deg, #142848, #24528c 50%, #4dabf7);
  }

  .nsfpo-card__media--ghost .nsfpo-card__img {
    display: none;
  }

  .nsfpo-card__media--post {
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    margin-bottom: 10px;
  }

  .nsfpo-post__avatar--ghost {
    background: linear-gradient(145deg, #123056, #1a4f8c);
    border: 2px solid rgba(24, 119, 242, 0.45);
  }

  .nsfpo-post--ghost .nsfpo-post__author,
  .nsfpo-post--ghost .nsfpo-post__date,
  .nsfpo-post--ghost .nsfpo-post__text {
    opacity: 0.55;
  }

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

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

  .nsfpo .nsfpo-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: nsfpo-shimmer 1.35s ease-in-out infinite;
    border-radius: 8px;
  }

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

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

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

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

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

  .nsfpo-skeleton__line {
    height: 16px;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .nsfpo-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;
  }

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

  .nsfpo-cover__fade {
    display: none;
  }

  .nsfpo-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;
  }

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

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

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

  .nsfpo .nsfpo-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;
  }

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

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

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

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

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

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

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

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

  .nsfpo .nsfpo-bio {
    margin-top: 2px;
    color: var(--nsfpo-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 */
  .nsfpo-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(--nsfpo-line);
    margin-top: 4px;
  }

  .nsfpo .nsfpo-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(--nsfpo-muted) !important;
    font-family: var(--nsfpo-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;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .nsfpo-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;
  }

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

  .nsfpo-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;
  }

  .nsfpo-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;
  }

  .nsfpo-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;
  }

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

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

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

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

  .nsfpo .nsfpo-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(--nsfpo-font);
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
  }

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

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

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

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

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

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

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

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

  .nsfpo .nsfpo-post__image {
    width: 100%;
    max-width: none;
    max-height: 480px;
    object-fit: cover;
    object-position: center 18%;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    background: #1a3f70;
  }

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

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

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

  /* Modal */
  .nsfpo-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;
  }

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

  .nsfpo-modal__dialog {
    position: relative;
    width: min(920px, 100%);
    max-height: min(90vh, 900px);
    background: var(--nsfpo-panel);
    border: 1px solid var(--nsfpo-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;
  }

  .nsfpo .nsfpo-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;
  }

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

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

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

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

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

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

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

  .nsfpo .nsfpo-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;
  }

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

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

  .nsfpo-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;
  }

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

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

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

  .nsfpo-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;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  @media (hover: none) {

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

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

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

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

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

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

  .nsfpo .nsfpo-search .nsfpo-search__actions,
  .nsfpo .nsfpo-search .nsfpo-search__row > .nsfpo-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;
  }

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

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

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

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

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

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

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

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

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

/* --- Codex CSS updates --- */
/* New Social Facebook Posts Viewer — WordPress-scoped styles */
.nsfpo {
  --nsfpo-ink: #f8fbff;
  --nsfpo-muted: #c7d7ee;
  --nsfpo-dim: #91a9c8;
  --nsfpo-bg: #07111f;
  --nsfpo-panel: rgba(12, 24, 42, 0.86);
  --nsfpo-panel-solid: #0c182a;
  --nsfpo-panel-soft: rgba(20, 39, 68, 0.82);
  --nsfpo-hover: rgba(48, 111, 196, 0.28);
  --nsfpo-line: rgba(148, 176, 214, 0.24);
  --nsfpo-line-strong: rgba(109, 164, 255, 0.42);
  --nsfpo-accent: #2f7cf6;
  --nsfpo-accent-deep: #185bd7;
  --nsfpo-cool: #66d9ff;
  --nsfpo-cool-deep: #27a9e8;
  --nsfpo-success: #33d17a;
  --nsfpo-danger: #ff4d6d;
  --nsfpo-warning: #f7c948;
  --nsfpo-radius: 18px;
  --nsfpo-radius-sm: 12px;
  --nsfpo-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
  --nsfpo-shadow-soft: 0 12px 34px rgba(2, 8, 23, 0.28);
  --nsfpo-focus: 0 0 0 4px rgba(102, 217, 255, 0.22);
  --nsfpo-gradient: linear-gradient(135deg, #2f7cf6 0%, #6a5cff 48%, #18c8b8 100%);
  --nsfpo-gradient-soft: linear-gradient(135deg, rgba(47, 124, 246, 0.18), rgba(24, 200, 184, 0.12));
  --nsfpo-font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --nsfpo-space: 16px;
  --nsfpo-avatar: 112px;
  --nsfpo-pad: clamp(14px, 2.5vw, 24px);
  --nsfpo-gap: 14px;

  box-sizing: border-box;
  font-family: var(--nsfpo-font);
  color: var(--nsfpo-ink);
  line-height: 1.5;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-width: 0;
  margin: 0 auto;
  padding: clamp(10px, 2.4vw, 22px);
  background:
    radial-gradient(ellipse 80% 54% at 12% 0%, rgba(47, 124, 246, 0.38), transparent 58%),
    radial-gradient(ellipse 70% 45% at 94% 10%, rgba(24, 200, 184, 0.22), transparent 54%),
    linear-gradient(155deg, #050b14 0%, #081426 38%, #0d213b 72%, #112f55 100%);
  border-radius: 0;
  border: 1px solid var(--nsfpo-line);
  position: relative;
  isolation: isolate;
  text-align: left;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

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

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

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

.nsfpo a {
  color: var(--nsfpo-cool);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.nsfpo a:hover {
  color: #a9ecff;
  text-decoration: underline;
}

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

.nsfpo-hero {
  background: transparent;
  padding: clamp(22px, 4vw, 42px) 0 14px;
  text-align: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

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

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

.nsfpo .nsfpo-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--nsfpo-gradient);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  box-shadow: 0 14px 30px rgba(47, 124, 246, 0.3);
}

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

.nsfpo-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, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
  text-align: left;
  text-transform: capitalize !important;
}

.nsfpo-hero__title-mark {
  color: var(--nsfpo-cool);
  font-weight: 800;
}

.nsfpo .nsfpo-hero__lead {
  max-width: 680px;
  margin: 0 auto 18px;
  color: var(--nsfpo-muted);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.6;
  padding: 0 2px;
  text-transform: capitalize !important;
}

.nsfpo-search {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  text-align: left;
  width: 100%;
  max-width: 920px;
  min-width: 0;
  box-sizing: border-box;
  margin: 6px auto 0;
  padding: clamp(14px, 2.4vw, 20px);
  background: linear-gradient(180deg, rgba(14, 28, 50, 0.9), rgba(9, 18, 32, 0.86));
  border: 1px solid var(--nsfpo-line);
  border-radius: var(--nsfpo-radius);
  box-shadow: var(--nsfpo-shadow-soft);
  backdrop-filter: blur(16px);
}

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

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

.nsfpo .nsfpo-search__field {
  flex: 1 1 220px;
  min-width: 0;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 56px !important;
  padding: 0 16px !important;
  border: 1px solid var(--nsfpo-line) !important;
  border-radius: 14px;
  background: rgba(5, 13, 25, 0.88) !important;
  color: #ffffff !important;
  font-family: var(--nsfpo-font);
  font-size: 16px !important;
  font-weight: 600;
  line-height: 52px !important;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  width: 100%;
  max-width: 100%;
  resize: none;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.nsfpo textarea.nsfpo-search__field {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  line-height: 1.35 !important;
}

.nsfpo .nsfpo-search__field:focus {
  background: rgba(7, 17, 31, 0.96) !important;
  border-color: var(--nsfpo-cool) !important;
  box-shadow: var(--nsfpo-focus), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nsfpo .nsfpo-search__field::placeholder {
  color: #8198b8;
  opacity: 1;
}

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

.nsfpo .nsfpo-btn i,
.nsfpo .nsfpo-tabs__btn i,
.nsfpo .nsfpo-card__action i,
.nsfpo .nsfpo-avatar__zoom i,
.nsfpo .nsfpo-modal__close i,
.nsfpo .nsfpo-demo-chip i,
.nsfpo .nsfpo-card__badge i,
.nsfpo .nsfpo-card__overlay i,
.nsfpo .nsfpo-post__stat i,
.nsfpo .nsfpo-meta__name i,
.nsfpo i.fa-solid,
.nsfpo i.fas,
.nsfpo .fa-download,
.nsfpo .fa-expand,
.nsfpo .fa-eye,
.nsfpo .fa-film,
.nsfpo .fa-images,
.nsfpo .fa-newspaper,
.nsfpo .fa-paste,
.nsfpo .fa-spinner,
.nsfpo .fa-video,
.nsfpo .fa-xmark {
  --fa-display: inline-block;
  display: inline-block !important;
  line-height: 1 !important;
  font-size: 0.95em;
  width: 1.15em;
  text-align: center;
  vertical-align: middle;
  font-style: normal !important;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", Arial, sans-serif !important;
  font-weight: 900 !important;
}

.nsfpo .fa-download::before { content: "\f019"; }
.nsfpo .fa-expand::before { content: "\f065"; }
.nsfpo .fa-eye::before { content: "\f06e"; }
.nsfpo .fa-film::before { content: "\f008"; }
.nsfpo .fa-images::before { content: "\f302"; }
.nsfpo .fa-newspaper::before { content: "\f1ea"; }
.nsfpo .fa-paste::before { content: "\f0ea"; }
.nsfpo .fa-spinner::before { content: "\f110"; }
.nsfpo .fa-video::before { content: "\f03d"; }
.nsfpo .fa-xmark::before { content: "\f00d"; }

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

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

.nsfpo .nsfpo-btn:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.nsfpo .nsfpo-btn:focus-visible,
.nsfpo .nsfpo-card__action:focus-visible,
.nsfpo .nsfpo-tabs__btn:focus-visible,
.nsfpo .nsfpo-avatar__zoom:focus-visible,
.nsfpo .nsfpo-modal__close:focus-visible,
.nsfpo .nsfpo-modal__action:focus-visible {
  outline: none;
  box-shadow: var(--nsfpo-focus);
}

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

.nsfpo .nsfpo-btn--paste {
  background: linear-gradient(135deg, #263d64, #31598f) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(2, 8, 23, 0.22);
}

.nsfpo .nsfpo-btn--paste:hover {
  background: linear-gradient(135deg, #31598f, #3b6fb4) !important;
}

.nsfpo .nsfpo-btn--view {
  background: var(--nsfpo-gradient) !important;
  box-shadow: 0 14px 32px rgba(47, 124, 246, 0.34);
}

.nsfpo .nsfpo-search__hint {
  margin: 0;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--nsfpo-dim);
  line-height: 1.45;
}

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

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

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

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

.nsfpo #xrespond-tools-turnstile-host .xrespond-ts-error {
  color: #ff9aaa;
}

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

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

.nsfpo .nsfpo-alert {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 77, 109, 0.13);
  border: 1px solid rgba(255, 77, 109, 0.38);
  color: #ffb2bf;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: left;
  line-height: 1.45;
}

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

.nsfpo .nsfpo-demo-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(102, 217, 255, 0.12);
  border: 1px solid rgba(102, 217, 255, 0.28);
  color: #b8efff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

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

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

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

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

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

.nsfpo .nsfpo-content.is-placeholder .nsfpo-card__media,
.nsfpo .nsfpo-content.is-placeholder .nsfpo-card__action,
.nsfpo .nsfpo-content.is-placeholder .nsfpo-post__image,
.nsfpo .nsfpo-content.is-placeholder [data-nsfpo-play],
.nsfpo .nsfpo-content.is-placeholder [data-nsfpo-download] {
  pointer-events: none;
}

.nsfpo .nsfpo-content.is-placeholder .nsfpo-card__action {
  opacity: 0.72;
}

.nsfpo-card__media--ghost {
  background: linear-gradient(145deg, #12243e, #204f87 55%, #2f7cf6);
}

.nsfpo-card__media--ghost-b {
  background: linear-gradient(145deg, #0d233e, #2f7cf6 60%, #33d17a);
}

.nsfpo-card__media--ghost-c {
  background: linear-gradient(145deg, #14233d, #31598f 50%, #66d9ff);
}

.nsfpo-card__media--ghost .nsfpo-card__img {
  display: none;
}

.nsfpo-card__media--post {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  margin-bottom: 10px;
}

.nsfpo-post__avatar--ghost {
  background: linear-gradient(145deg, #12243e, #204f87);
  border: 2px solid rgba(102, 217, 255, 0.36);
}

.nsfpo-post--ghost .nsfpo-post__author,
.nsfpo-post--ghost .nsfpo-post__date,
.nsfpo-post--ghost .nsfpo-post__text {
  opacity: 0.55;
}

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

.nsfpo .nsfpo-sk {
  background: linear-gradient(90deg, rgba(47, 124, 246, 0.12) 0%, rgba(102, 217, 255, 0.28) 45%, rgba(47, 124, 246, 0.12) 100%);
  background-size: 800px 100%;
  animation: nsfpo-shimmer 1.35s ease-in-out infinite;
  border-radius: 10px;
}

.nsfpo-skeleton__panel,
.nsfpo-panel {
  background: var(--nsfpo-panel);
  border: 1px solid var(--nsfpo-line);
  border-radius: var(--nsfpo-radius);
  box-shadow: var(--nsfpo-shadow-soft);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  backdrop-filter: blur(16px);
}

.nsfpo-skeleton__panel {
  padding: 0;
}

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

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

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

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

.nsfpo-skeleton__line {
  height: 16px;
}

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

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

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

.nsfpo-skeleton__stat {
  width: 76px;
  height: 30px;
  border-radius: 999px;
}

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

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

.nsfpo-skeleton__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 0 var(--nsfpo-pad) 20px;
}

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

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

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

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

.nsfpo-tab-sk--photos,
.nsfpo-tab-sk--videos,
.nsfpo-tab-sk--reels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.nsfpo-tab-sk--posts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

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

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

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

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

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

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

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

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

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

.nsfpo-tab-sk__post-body {
  height: 64px;
  border-radius: 10px;
}

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

.nsfpo-cover {
  position: relative;
  overflow: hidden;
  background: #142744;
}

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

.nsfpo-cover__fade {
  display: block;
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(to top, rgba(12, 24, 42, 0.88), transparent);
  pointer-events: none;
}

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

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

.nsfpo-avatar__ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 3px;
  background: var(--nsfpo-gradient);
  border: 4px solid rgba(12, 24, 42, 0.96);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

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

.nsfpo .nsfpo-avatar__zoom {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border: 0 !important;
  border-radius: 50%;
  background: var(--nsfpo-gradient) !important;
  color: #fff !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px var(--nsfpo-panel-solid), 0 10px 22px rgba(47, 124, 246, 0.26);
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  z-index: 1;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.nsfpo .nsfpo-avatar__zoom:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

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

.nsfpo .nsfpo-meta__name {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0;
  color: var(--nsfpo-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  line-height: 1.25;
  text-transform: capitalize !important;
}

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

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

.nsfpo-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  margin-top: 12px;
}

.nsfpo .nsfpo-stats__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  min-height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--nsfpo-line);
  color: var(--nsfpo-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

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

.nsfpo .nsfpo-bio {
  margin-top: 4px;
  color: var(--nsfpo-ink);
  font-size: 0.95rem;
  line-height: 1.58;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.nsfpo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  padding: 12px var(--nsfpo-pad);
  width: 100%;
  min-width: 0;
  border-top: 1px solid var(--nsfpo-line);
  margin-top: 4px;
}

.nsfpo .nsfpo-tabs__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  height: 44px;
  padding: 0 14px !important;
  border: 1px solid transparent !important;
  border-bottom: 1px solid transparent !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045) !important;
  color: var(--nsfpo-muted) !important;
  font-family: var(--nsfpo-font);
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  white-space: nowrap;
}

.nsfpo .nsfpo-tabs__btn:hover {
  background: rgba(102, 217, 255, 0.1) !important;
  border-color: rgba(102, 217, 255, 0.2) !important;
  transform: translateY(-1px);
  color: var(--nsfpo-ink) !important;
}

.nsfpo .nsfpo-tabs__btn.is-active {
  background: var(--nsfpo-gradient-soft) !important;
  border-color: var(--nsfpo-line-strong) !important;
  color: #dff8ff !important;
}

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

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

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

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

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

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

.nsfpo-empty {
  text-align: center;
  padding: 38px 16px;
  color: var(--nsfpo-dim);
  font-size: 0.94rem;
}

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

.nsfpo-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--nsfpo-line);
  background: linear-gradient(180deg, rgba(20, 39, 68, 0.88), rgba(12, 24, 42, 0.9));
  min-width: 0;
  box-shadow: 0 10px 28px rgba(2, 8, 23, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nsfpo-card:hover {
  transform: translateY(-3px);
  border-color: var(--nsfpo-line-strong);
  box-shadow: 0 18px 42px rgba(2, 8, 23, 0.28);
}

.nsfpo-card__media {
  position: relative;
  overflow: hidden;
  background: #142744;
  cursor: pointer;
}

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

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

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

.nsfpo .nsfpo-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform 0.24s ease;
}

.nsfpo-card:hover .nsfpo-card__img {
  transform: scale(1.035);
}

.nsfpo-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(5, 10, 18, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  z-index: 2;
  backdrop-filter: blur(10px);
}

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

.nsfpo-card__play span {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(5, 10, 18, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(10px);
}

.nsfpo-card__duration {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(5, 10, 18, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.nsfpo-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, 8, 15, 0.78), rgba(3, 8, 15, 0.12) 60%, transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  z-index: 2;
}

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

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

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

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

.nsfpo .nsfpo-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  min-height: 38px;
  padding: 7px 12px !important;
  border: 0 !important;
  border-radius: 999px;
  background: rgba(47, 124, 246, 0.22) !important;
  color: #cde8ff !important;
  font-family: var(--nsfpo-font);
  font-size: 0.8rem !important;
  font-weight: 850 !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.nsfpo .nsfpo-card__action:hover {
  transform: translateY(-1px);
  background: rgba(47, 124, 246, 0.32) !important;
}

.nsfpo .nsfpo-card__action--cool {
  background: rgba(51, 209, 122, 0.17) !important;
  color: #9ff0bf !important;
}

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

.nsfpo-post {
  border-radius: 16px;
  border: 1px solid var(--nsfpo-line);
  background: linear-gradient(180deg, rgba(20, 39, 68, 0.86), rgba(12, 24, 42, 0.9));
  padding: 16px;
  min-width: 0;
  box-shadow: 0 10px 26px rgba(2, 8, 23, 0.18);
}

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

.nsfpo-post__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(102, 217, 255, 0.34);
}

.nsfpo-post__author {
  font-size: 0.94rem;
  font-weight: 850;
  color: var(--nsfpo-ink);
  line-height: 1.25;
}

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

.nsfpo-post__text {
  color: var(--nsfpo-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 12px;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.nsfpo .nsfpo-post__image {
  width: 100%;
  max-width: none;
  max-height: 480px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 14px;
  margin-bottom: 12px;
  cursor: pointer;
  background: #142744;
}

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

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

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

.nsfpo-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(2, 6, 13, 0.78);
  padding: 16px;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

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

.nsfpo-modal__dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(90vh, 900px);
  background: rgba(12, 24, 42, 0.96);
  border: 1px solid var(--nsfpo-line);
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58);
  overflow: hidden;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.nsfpo .nsfpo-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border: 0 !important;
  border-radius: 50%;
  background: rgba(5, 10, 18, 0.78) !important;
  color: #fff !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  backdrop-filter: blur(10px);
  transition: transform 0.18s ease, background 0.18s ease;
}

.nsfpo .nsfpo-modal__close:hover {
  transform: translateY(-1px);
  background: rgba(255, 77, 109, 0.86) !important;
}

.nsfpo-modal__stage {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #050a12;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

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

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

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

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

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

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

.nsfpo .nsfpo-modal__action {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px !important;
  border-radius: 999px !important;
  border: 0 !important;
  font: inherit;
  font-weight: 850 !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  color: #fff !important;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.nsfpo .nsfpo-modal__action:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.nsfpo .nsfpo-modal__action--download {
  background: var(--nsfpo-gradient) !important;
  box-shadow: 0 12px 28px rgba(47, 124, 246, 0.3);
}

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

.nsfpo-modal__loading {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(5, 10, 18, 0.74);
  color: #fff;
  font-weight: 850;
  z-index: 1;
  backdrop-filter: blur(8px);
}

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

.nsfpo-modal__loading i,
.nsfpo .fa-spinner {
  animation: nsfpo-spin 0.9s linear infinite;
}

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

.nsfpo-dlprog {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100000;
  width: min(360px, calc(100vw - 32px));
  background: rgba(10, 18, 32, 0.96);
  border: 1px solid var(--nsfpo-line);
  border-radius: 16px;
  padding: 13px 14px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.46);
  color: #fff;
  display: none;
  backdrop-filter: blur(14px);
}

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

.nsfpo-dlprog.is-success {
  border-color: rgba(51, 209, 122, 0.58);
}

.nsfpo-dlprog.is-error {
  border-color: rgba(255, 77, 109, 0.58);
}

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

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

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

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

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

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

.nsfpo-dlprog__fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: var(--nsfpo-gradient);
  transition: width 0.2s ease;
}

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

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

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

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

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

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

  .nsfpo .nsfpo-btn {
    flex: 0 0 auto;
    min-width: 118px;
    padding: 0 20px !important;
  }

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

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

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

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

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

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

  .nsfpo-tabs {
    justify-content: flex-start;
  }

  .nsfpo .nsfpo-tabs__btn {
    flex: 0 1 auto;
    min-width: 118px;
  }

  .nsfpo-skeleton__profile {
    grid-template-columns: auto 1fr;
    justify-items: start;
    text-align: left;
  }

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

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

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

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

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

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

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

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

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

  .nsfpo .nsfpo-skeleton__cover,
  .nsfpo-cover {
    height: auto;
    max-height: 360px;
  }

  .nsfpo {
    --nsfpo-avatar: 124px;
  }
}

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

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

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

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

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

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

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

.nsfpo.nsfpo--narrow .nsfpo-btn,
.nsfpo.nsfpo--narrow .nsfpo-tabs__btn {
  flex: 1 1 100%;
}

.nsfpo.nsfpo--narrow {
  --nsfpo-avatar: 84px;
  padding-left: 8px;
  padding-right: 8px;
}

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

  .nsfpo .nsfpo-sk {
    animation: none;
    background: #142744;
  }
}

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

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

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

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

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

.nsfpo .nsfpo-search .nsfpo-search__field,
.nsfpo .nsfpo-search .nsfpo-search__row > .nsfpo-search__field {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 56px !important;
}

.nsfpo .nsfpo-search .nsfpo-search__actions,
.nsfpo .nsfpo-search .nsfpo-search__row > .nsfpo-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: 10px !important;
}

.nsfpo .nsfpo-search .nsfpo-search__row > .nsfpo-btn,
.nsfpo .nsfpo-search .nsfpo-search__actions .nsfpo-btn,
.nsfpo .nsfpo-search .nsfpo-search__row .nsfpo-search__actions .nsfpo-btn {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 118px !important;
  height: 52px !important;
  min-height: 52px !important;
}

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

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

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

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

@media (max-width: 768px) {
  .nsfpo {
    --nsfpo-avatar: 88px;
    padding: 10px;
    min-height: auto;
  }

  .nsfpo-shell {
    gap: 12px;
  }

  .nsfpo-hero {
    padding: 22px 0 10px;
  }

  .nsfpo-hero__brand {
    gap: 10px;
    align-items: flex-start;
  }

  .nsfpo .nsfpo-hero__icon {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    font-size: 1.05rem;
  }

  .nsfpo-hero__title-text {
    font-size: clamp(1.32rem, 6vw, 1.62rem);
    line-height: 1.22;
  }

  .nsfpo .nsfpo-hero__lead {
    font-size: 0.95rem;
    margin-bottom: 14px;
  }

  .nsfpo-search {
    padding: 14px;
    border-radius: 16px;
    gap: 10px;
  }

  .nsfpo .nsfpo-search .nsfpo-search__row {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }

  .nsfpo .nsfpo-search .nsfpo-search__field,
  .nsfpo .nsfpo-search .nsfpo-search__row > .nsfpo-search__field {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 56px !important;
  }

  .nsfpo .nsfpo-search .nsfpo-search__actions,
  .nsfpo .nsfpo-search .nsfpo-search__row > .nsfpo-search__actions {
    flex: 0 0 auto !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 10px !important;
  }

  .nsfpo .nsfpo-search .nsfpo-search__row > .nsfpo-btn,
  .nsfpo .nsfpo-search .nsfpo-search__actions .nsfpo-btn,
  .nsfpo .nsfpo-search .nsfpo-search__row .nsfpo-search__actions .nsfpo-btn {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
  }

  .nsfpo-tabs {
    gap: 8px;
    padding: 12px;
  }

  .nsfpo .nsfpo-tabs__btn {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    height: 44px;
    padding: 0 10px !important;
    font-size: 0.86rem !important;
  }

  .nsfpo-pane {
    padding-left: 12px;
    padding-right: 12px;
  }

  .nsfpo-card__foot,
  .nsfpo-modal__bar,
  .nsfpo-modal__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nsfpo .nsfpo-card__action,
  .nsfpo .nsfpo-modal__action {
    width: 100%;
  }

  .nsfpo-dlprog {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
  }
}

@media (max-width: 420px) {
  .nsfpo {
    padding: 8px;
  }

  .nsfpo-hero__brand {
    width: 100%;
    justify-content: center;
  }

  .nsfpo-hero__title-text {
    text-align: left;
    font-size: 1.3rem;
  }

  .nsfpo .nsfpo-hero__lead {
    font-size: 0.9rem;
  }

  .nsfpo .nsfpo-tabs__btn {
    flex: 1 1 100%;
  }

  .nsfpo-stats {
    gap: 8px;
  }

  .nsfpo .nsfpo-stats__badge {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .nsfpo-modal {
    padding: 8px;
  }

  .nsfpo-modal__dialog {
    border-radius: 16px;
    padding: 8px;
  }
}