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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .nsfpg .nsfpg-content.is-placeholder .nsfpg-bio {
    display: none !important;
  }

  .nsfpg-actions {
    display: none !important;
  }

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

  .nsfpg .nsfpg-content.is-placeholder .nsfpg-card__media,
  .nsfpg .nsfpg-content.is-placeholder .nsfpg-card__action,
  .nsfpg .nsfpg-content.is-placeholder .nsfpg-post__image {
    pointer-events: none;
  }

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

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

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

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

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

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

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

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

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

  .nsfpg .nsfpg-skeleton__cover {
    width: 100%;
    height: 120px;
    border-radius: 0;
  }

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

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

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

  .nsfpg-skeleton__line {
    height: 16px;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .nsfpg-cover__fade {
    display: none;
  }

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

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

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

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

  .nsfpg .nsfpg-avatar__zoom {
    position: absolute;
    right: 4px;
    bottom: 4px;
    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;
  }

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

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

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

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

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

  .nsfpg-actions,
  .nsfpg .nsfpg-actions__btn {
    display: none !important;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .nsfpg-meta {
      text-align: left;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

    .nsfpg .nsfpg-skeleton__cover {
      height: 150px;
    }
  }

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

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

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

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

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

    .nsfpg .nsfpg-skeleton__cover,
    .nsfpg-cover {
      min-height: 140px;
      max-height: 220px;
    }

    .nsfpg {
      --nsfpg-avatar: 110px;
    }
  }

  @media (max-width: 479.98px) {

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

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

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

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

  @media (max-width: 359.98px) {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  @media (hover: none) {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- Codex CSS updates --- */
/* New Social Facebook Page Viewer — WordPress-scoped styles */
.nsfpg {
  --nsfpg-ink: #f8fbff;
  --nsfpg-muted: #c9d7ee;
  --nsfpg-dim: #91a9cc;
  --nsfpg-bg: rgba(8, 18, 38, 0.86);
  --nsfpg-panel: rgba(13, 28, 56, 0.82);
  --nsfpg-panel-soft: rgba(20, 42, 78, 0.78);
  --nsfpg-hover: rgba(47, 104, 184, 0.42);
  --nsfpg-line: rgba(132, 179, 255, 0.24);
  --nsfpg-accent: #4f8cff;
  --nsfpg-accent-deep: #245fea;
  --nsfpg-cool: #62d6ff;
  --nsfpg-cool-deep: #2aa7ff;
  --nsfpg-success: #35d07f;
  --nsfpg-danger: #ff5570;
  --nsfpg-radius: 16px;
  --nsfpg-shadow: 0 18px 48px rgba(1, 10, 30, 0.32);
  --nsfpg-font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --nsfpg-space: 16px;
  --nsfpg-avatar: 112px;
  --nsfpg-pad: clamp(14px, 2.5vw, 24px);
  --nsfpg-gap: 16px;
  box-sizing: border-box;
  font-family: var(--nsfpg-font);
  color: var(--nsfpg-ink);
  line-height: 1.5;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-width: 0;
  margin: 0 auto;
  padding: clamp(10px, 2vw, 20px);
  background:
    radial-gradient(circle at 8% 0%, rgba(98, 214, 255, 0.24), transparent 34%),
    radial-gradient(circle at 100% 12%, rgba(79, 140, 255, 0.30), transparent 38%),
    linear-gradient(145deg, #071123 0%, #0b1e3e 42%, #102d5c 100%);
  border-radius: 0;
  border: 1px solid var(--nsfpg-line);
  position: relative;
  isolation: isolate;
  text-align: left;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.nsfpg *, .nsfpg *::before, .nsfpg *::after { box-sizing: border-box; }
.nsfpg :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, label, span) { margin: 0; padding: 0; border: 0; font-weight: inherit; }
.nsfpg :where(ul, ol) { list-style: none; }
.nsfpg img { max-width: 100%; height: auto; display: block; border: 0; vertical-align: middle; }
.nsfpg a { color: var(--nsfpg-cool); text-decoration: none; }
.nsfpg a:hover { text-decoration: underline; }

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

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

.nsfpg .nsfpg-hero__title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 10px;
  color: var(--nsfpg-ink);
  text-transform: capitalize !important;
}

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

.nsfpg .nsfpg-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--nsfpg-accent), var(--nsfpg-cool));
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  box-shadow: 0 14px 28px rgba(36, 95, 234, 0.28);
}

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

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

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

.nsfpg .nsfpg-hero__lead {
  max-width: 680px;
  margin: 0 auto 16px;
  color: var(--nsfpg-muted);
  font-size: clamp(0.92rem, 1.8vw, 1rem);
  line-height: 1.6;
  padding: 0 2px;
}

.nsfpg-search {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  text-align: left;
  width: 100%;
  max-width: 880px;
  min-width: 0;
  box-sizing: border-box;
  margin: 8px auto 0;
  padding: clamp(14px, 2vw, 18px);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.045));
  border: 1px solid var(--nsfpg-line);
  border-radius: var(--nsfpg-radius);
  box-shadow: var(--nsfpg-shadow);
  backdrop-filter: blur(16px);
}

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

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

.nsfpg .nsfpg-search__field {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 56px !important;
  padding: 0 16px !important;
  border: 1px solid rgba(170, 200, 255, 0.26) !important;
  border-radius: 12px;
  background: rgba(5, 14, 31, 0.72) !important;
  color: #ffffff !important;
  font-family: var(--nsfpg-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.06);
  resize: none;
  overflow: hidden;
  appearance: none;
}

.nsfpg .nsfpg-search__field:focus {
  background: rgba(7, 18, 40, 0.95) !important;
  border-color: var(--nsfpg-cool) !important;
  box-shadow: 0 0 0 4px rgba(98, 214, 255, 0.18), inset 0 1px 0 rgba(255,255,255,0.08);
}

.nsfpg .nsfpg-search__field::placeholder { color: rgba(201, 215, 238, 0.62); }

.nsfpg .nsfpg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  height: 52px;
  min-height: 52px;
  min-width: 118px;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 12px;
  font-family: var(--nsfpg-font);
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 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;
}

.nsfpg .nsfpg-btn i,
.nsfpg .nsfpg-tabs__btn i,
.nsfpg .nsfpg-card__action i,
.nsfpg .nsfpg-avatar__zoom i,
.nsfpg .nsfpg-modal__close i,
.nsfpg .nsfpg-demo-chip i,
.nsfpg .nsfpg-card__badge i,
.nsfpg .nsfpg-card__overlay i,
.nsfpg .nsfpg-post__stat i,
.nsfpg .nsfpg-meta__name i,
.nsfpg i.fa-solid,
.nsfpg i.fas,
.nsfpg .fa-download,
.nsfpg .fa-expand,
.nsfpg .fa-eye,
.nsfpg .fa-film,
.nsfpg .fa-images,
.nsfpg .fa-newspaper,
.nsfpg .fa-paste,
.nsfpg .fa-spinner,
.nsfpg .fa-video,
.nsfpg .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", "FontAwesome";
  font-weight: 900;
}

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

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

.nsfpg .nsfpg-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.nsfpg .nsfpg-btn:active { transform: translateY(0); filter: brightness(0.98); }
.nsfpg .nsfpg-btn:focus-visible,
.nsfpg .nsfpg-tabs__btn:focus-visible,
.nsfpg .nsfpg-card__action:focus-visible,
.nsfpg .nsfpg-modal__action:focus-visible,
.nsfpg .nsfpg-avatar__zoom:focus-visible,
.nsfpg .nsfpg-modal__close:focus-visible {
  outline: 3px solid rgba(98, 214, 255, 0.36);
  outline-offset: 2px;
}
.nsfpg .nsfpg-btn:disabled { opacity: 0.55; cursor: not-allowed; filter: none; transform: none; }

.nsfpg .nsfpg-btn--paste {
  background: linear-gradient(135deg, rgba(52, 82, 138, 0.96), rgba(32, 62, 114, 0.96)) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(6, 20, 50, 0.22);
}
.nsfpg .nsfpg-btn--paste:hover { background: linear-gradient(135deg, #426daa, #284f91) !important; }
.nsfpg .nsfpg-btn--view {
  background: linear-gradient(135deg, var(--nsfpg-accent), var(--nsfpg-cool-deep)) !important;
  box-shadow: 0 14px 28px rgba(36, 95, 234, 0.30);
}

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

.nsfpg #xrespond-tools-turnstile-host {
  display: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  flex: none;
  order: unset;
  box-sizing: border-box;
}
.nsfpg #xrespond-tools-turnstile-host.is-visible { display: block; }
.nsfpg #xrespond-tools-turnstile-host .xrespond-ts-label { display: block; font-size: 0.85rem; color: var(--nsfpg-muted); margin-bottom: 0.45rem; }
.nsfpg #xrespond-tools-turnstile-host .xrespond-ts-widget { min-height: 65px; max-width: 100%; overflow: hidden; }
.nsfpg #xrespond-tools-turnstile-host .xrespond-ts-error { color: #ff9aa8; }
.nsfpg-search__row:has(#xrespond-tools-turnstile-host) { flex-wrap: wrap !important; }
.nsfpg-search__row > #xrespond-tools-turnstile-host { flex: 0 0 100% !important; width: 100% !important; order: -1; }

.nsfpg .nsfpg-alert {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 85, 112, 0.13);
  border: 1px solid rgba(255, 85, 112, 0.42);
  color: #ffb1bd;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: left;
  line-height: 1.45;
}
.nsfpg .nsfpg-alert.is-visible { display: block; }

.nsfpg .nsfpg-demo-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(98, 214, 255, 0.13);
  border: 1px solid rgba(98, 214, 255, 0.34);
  color: #a9edff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nsfpg .nsfpg-skeleton { display: none; margin: 0; width: 100%; max-width: 100%; min-width: 0; }
.nsfpg .nsfpg-skeleton.is-visible { display: block; }
.nsfpg .nsfpg-content.is-hidden { display: none !important; }
.nsfpg .nsfpg-content.is-placeholder .nsfpg-bio { display: none !important; }
.nsfpg-actions { display: none !important; }
.nsfpg .nsfpg-content.is-placeholder .nsfpg-avatar__zoom { opacity: 0.55; pointer-events: none; }
.nsfpg .nsfpg-content.is-placeholder .nsfpg-card__media,
.nsfpg .nsfpg-content.is-placeholder .nsfpg-card__action,
.nsfpg .nsfpg-content.is-placeholder .nsfpg-post__image { pointer-events: none; }
.nsfpg .nsfpg-content.is-placeholder .nsfpg-card__action { opacity: 0.72; }

.nsfpg-card__media--ghost { background: linear-gradient(145deg, #142a50, #245fea 55%, #62d6ff); }
.nsfpg-card__media--ghost-b { background: linear-gradient(145deg, #102442, #4f8cff 60%, #35d07f); }
.nsfpg-card__media--ghost-c { background: linear-gradient(145deg, #16243f, #345f9f 50%, #62d6ff); }
.nsfpg-card__media--ghost .nsfpg-card__img { display: none; }

@keyframes nsfpg-shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.nsfpg .nsfpg-sk {
  background: linear-gradient(90deg, rgba(255,255,255,0.06) 0%, rgba(98,214,255,0.24) 45%, rgba(255,255,255,0.06) 100%);
  background-size: 800px 100%;
  animation: nsfpg-shimmer 1.35s ease-in-out infinite;
  border-radius: 10px;
}

.nsfpg-skeleton__panel,
.nsfpg-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.045));
  border: 1px solid var(--nsfpg-line);
  border-radius: var(--nsfpg-radius);
  box-shadow: var(--nsfpg-shadow);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  backdrop-filter: blur(16px);
}
.nsfpg-skeleton__panel { padding: 0; }
.nsfpg-result { width: 100%; max-width: 100%; min-width: 0; }

.nsfpg .nsfpg-skeleton__cover { width: 100%; height: 120px; border-radius: 0; }
.nsfpg-skeleton__profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
  justify-items: center;
  padding: 18px var(--nsfpg-pad) 14px;
  text-align: center;
}
.nsfpg .nsfpg-skeleton__avatar {
  width: var(--nsfpg-avatar);
  height: var(--nsfpg-avatar);
  margin-top: -48px;
  border-radius: 50% !important;
  border: 4px solid rgba(13, 28, 56, 0.92);
}
.nsfpg-skeleton__meta { display: flex; flex-direction: column; gap: 10px; min-width: 0; align-items: center; width: 100%; }
.nsfpg-skeleton__line { height: 16px; }
.nsfpg-skeleton__line--lg { width: min(200px, 70%); height: 22px; }
.nsfpg-skeleton__line--md { width: min(140px, 50%); height: 14px; }
.nsfpg-skeleton__stats { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.nsfpg-skeleton__stat { width: 72px; height: 28px; border-radius: 999px; }
.nsfpg-skeleton__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 8px 0 14px; padding: 0 var(--nsfpg-pad); width: 100%; }
.nsfpg-skeleton__tab { flex: 1 1 calc(50% - 8px); min-width: 0; height: 40px; border-radius: 999px; }
.nsfpg-skeleton__grid { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 0 var(--nsfpg-pad) 18px; }
.nsfpg-skeleton__card,
.nsfpg-tab-sk__photo,
.nsfpg-tab-sk__video,
.nsfpg-tab-sk__reel {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--nsfpg-line);
  background: var(--nsfpg-panel-soft);
}
.nsfpg-skeleton__thumb { aspect-ratio: 1 / 1; border-radius: 0; }
.nsfpg-skeleton__foot { height: 44px; margin: 10px 12px; border-radius: 10px; }

.nsfpg-tab-sk { margin: 0; width: 100%; max-width: 100%; min-width: 0; }
.nsfpg-tab-sk--photos,
.nsfpg-tab-sk--videos { display: grid; grid-template-columns: 1fr; gap: 12px; }
.nsfpg-tab-sk--reels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nsfpg-tab-sk--posts { display: flex; flex-direction: column; gap: 12px; }
.nsfpg-tab-sk__photo-thumb { aspect-ratio: 1 / 1; }
.nsfpg-tab-sk__video-thumb { aspect-ratio: 16 / 10; }
.nsfpg-tab-sk__reel-thumb { aspect-ratio: 9 / 14; }
.nsfpg-tab-sk__photo-foot,
.nsfpg-tab-sk__video-foot,
.nsfpg-tab-sk__reel-foot { height: 40px; margin: 10px 12px; border-radius: 10px; }
.nsfpg-tab-sk__post {
  border-radius: 14px;
  border: 1px solid var(--nsfpg-line);
  background: var(--nsfpg-panel-soft);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nsfpg-tab-sk__post-head { display: flex; gap: 10px; align-items: center; }
.nsfpg-tab-sk__post-avatar { width: 40px; height: 40px; border-radius: 50% !important; flex-shrink: 0; }
.nsfpg-tab-sk__post-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.nsfpg-tab-sk__post-line { height: 12px; border-radius: 6px; }
.nsfpg-tab-sk__post-line--short { width: 40%; }
.nsfpg-tab-sk__post-body { height: 64px; border-radius: 10px; }

.nsfpg-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 2.7 / 1;
  height: auto;
  min-height: 150px;
  max-height: 360px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(79,140,255,0.28), rgba(98,214,255,0.12));
  border-radius: 0;
}
.nsfpg .nsfpg-cover__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 18%; }
.nsfpg-cover__fade { display: none; }

.nsfpg-profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  justify-items: center;
  padding: 0 var(--nsfpg-pad) 18px;
  margin-top: 0;
  text-align: center;
  width: 100%;
  min-width: 0;
  position: relative;
  z-index: 2;
}
.nsfpg-avatar { position: relative; width: var(--nsfpg-avatar); height: var(--nsfpg-avatar); margin-top: calc(var(--nsfpg-avatar) / -2); flex-shrink: 0; }
.nsfpg-avatar__ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 0;
  background: rgba(13, 28, 56, 0.96);
  border: 4px solid rgba(98, 214, 255, 0.78);
  box-shadow: 0 12px 26px rgba(1,10,30,0.35), 0 0 0 1px var(--nsfpg-line);
  overflow: hidden;
}
.nsfpg .nsfpg-avatar__img { width: 100%; height: 100%; max-width: none; border-radius: 50%; object-fit: cover; object-position: center; border: 0; background: var(--nsfpg-panel-soft); box-shadow: none; }
.nsfpg .nsfpg-avatar__zoom {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border: 0 !important;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nsfpg-accent), var(--nsfpg-cool)) !important;
  color: #fff !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px rgba(13, 28, 56, 0.95), 0 10px 20px rgba(36,95,234,0.28);
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
}
.nsfpg .nsfpg-avatar__zoom:hover { filter: brightness(1.06); transform: translateY(-1px); }

.nsfpg-meta { min-width: 0; width: 100%; }
.nsfpg .nsfpg-meta__name {
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  font-weight: 800;
  letter-spacing: 0;
  color: var(--nsfpg-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  line-height: 1.25;
  text-transform: capitalize !important;
}
.nsfpg .nsfpg-meta__name i { color: var(--nsfpg-cool); font-size: 0.78em; }
.nsfpg .nsfpg-meta__handle { margin-top: 2px; color: var(--nsfpg-dim); font-size: 0.95rem; font-weight: 600; }
.nsfpg-actions, .nsfpg .nsfpg-actions__btn { display: none !important; }

.nsfpg-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-top: 10px; }
.nsfpg .nsfpg-stats__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  min-height: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: var(--nsfpg-muted);
  font-size: 0.9rem;
  font-weight: 700;
}
.nsfpg .nsfpg-stats__badge i { color: var(--nsfpg-cool); font-size: 0.85em; }
.nsfpg .nsfpg-bio {
  margin-top: 4px;
  color: var(--nsfpg-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

.nsfpg-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  padding: 14px var(--nsfpg-pad);
  width: 100%;
  min-width: 0;
  border-top: 1px solid var(--nsfpg-line);
  margin-top: 4px;
}
.nsfpg .nsfpg-tabs__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  height: auto;
  padding: 10px 14px !important;
  border: 1px solid transparent !important;
  border-bottom: 1px solid transparent !important;
  border-radius: 999px;
  background: rgba(255,255,255,0.055) !important;
  color: var(--nsfpg-muted) !important;
  font-family: var(--nsfpg-font);
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  white-space: nowrap;
}
.nsfpg .nsfpg-tabs__btn:hover { background: rgba(98,214,255,0.11) !important; border-color: rgba(98,214,255,0.26) !important; transform: translateY(-1px); color: var(--nsfpg-ink) !important; }
.nsfpg .nsfpg-tabs__btn.is-active { background: linear-gradient(135deg, rgba(79,140,255,0.32), rgba(98,214,255,0.16)) !important; border-color: rgba(98,214,255,0.42) !important; border-bottom-color: rgba(98,214,255,0.42) !important; color: #d9f7ff !important; }

.nsfpg-pane { display: none; padding: 0 var(--nsfpg-pad) 22px; width: 100%; max-width: 100%; min-width: 0; }
.nsfpg-pane.is-active { display: block; }
.nsfpg-pane__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.nsfpg .nsfpg-pane__title { display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 800; color: var(--nsfpg-ink); }
.nsfpg .nsfpg-pane__title i { color: var(--nsfpg-cool); }
.nsfpg .nsfpg-pane__count { font-size: 0.82rem; font-weight: 800; color: var(--nsfpg-dim); }
.nsfpg-empty { text-align: center; padding: 36px 16px; color: var(--nsfpg-dim); font-size: 0.94rem; }

.nsfpg-grid { display: grid; align-items: start; grid-template-columns: 1fr; gap: 14px; width: 100%; min-width: 0; }
.nsfpg-grid--reels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nsfpg-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--nsfpg-line);
  background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035));
  min-width: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 12px 28px rgba(1,10,30,0.18);
}
.nsfpg-card:hover { transform: translateY(-3px); border-color: rgba(98,214,255,0.40); box-shadow: 0 20px 42px rgba(1,10,30,0.28); }
.nsfpg-card__media { position: relative; overflow: hidden; background: rgba(20,42,78,0.86); cursor: pointer; }
.nsfpg-card__media--photo { aspect-ratio: 1 / 1; }
.nsfpg-card__media--video { aspect-ratio: 16 / 10; }
.nsfpg-card__media--reel { aspect-ratio: 9 / 14; }
.nsfpg .nsfpg-card__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; transition: transform 0.25s ease; }
.nsfpg-card:hover .nsfpg-card__img { transform: scale(1.035); }
.nsfpg-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(3, 10, 24, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  z-index: 2;
  backdrop-filter: blur(10px);
}
.nsfpg-card__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 1; pointer-events: none; }
.nsfpg-card__play span {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(3, 10, 24, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.64);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  backdrop-filter: blur(10px);
}
.nsfpg-card__duration {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(3, 10, 24, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}
.nsfpg-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,24,0.78), transparent 58%);
  opacity: 0;
  transition: opacity 0.2s ease;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  z-index: 2;
}
.nsfpg-card:hover .nsfpg-card__overlay,
.nsfpg-card:focus-within .nsfpg-card__overlay { opacity: 1; }
.nsfpg-card__overlay span { display: inline-flex; align-items: center; gap: 5px; }
.nsfpg-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px; min-width: 0; flex-wrap: wrap; }
.nsfpg-card__title { flex: 1; min-width: 0; font-size: 0.84rem; font-weight: 800; color: var(--nsfpg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nsfpg .nsfpg-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  min-height: 38px;
  padding: 7px 11px !important;
  border: 1px solid rgba(98,214,255,0.22) !important;
  border-radius: 10px;
  background: rgba(79, 140, 255, 0.18) !important;
  color: #bfefff !important;
  font-family: var(--nsfpg-font);
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.nsfpg .nsfpg-card__action:hover { transform: translateY(-1px); background: rgba(79,140,255,0.28) !important; border-color: rgba(98,214,255,0.40) !important; }
.nsfpg .nsfpg-card__action--cool { background: rgba(53, 208, 127, 0.16) !important; color: #a8f6c9 !important; border-color: rgba(53, 208, 127, 0.28) !important; }

.nsfpg-posts { display: flex; flex-direction: column; gap: 12px; width: 100%; min-width: 0; }
.nsfpg-post {
  border-radius: 14px;
  border: 1px solid var(--nsfpg-line);
  background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035));
  padding: 16px;
  min-width: 0;
  box-shadow: 0 12px 28px rgba(1,10,30,0.16);
}
.nsfpg-post__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; min-width: 0; }
.nsfpg-post__avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid rgba(98, 214, 255, 0.42); }
.nsfpg-post__author { font-size: 0.94rem; font-weight: 800; color: var(--nsfpg-ink); line-height: 1.25; }
.nsfpg-post__date { font-size: 0.8rem; color: var(--nsfpg-dim); font-weight: 700; }
.nsfpg-post__text { color: var(--nsfpg-muted); font-size: 0.92rem; line-height: 1.6; margin-bottom: 10px; word-wrap: break-word; overflow-wrap: anywhere; }
.nsfpg-post__image { width: 100%; max-height: 360px; object-fit: cover; border-radius: 12px; margin-bottom: 10px; cursor: pointer; }
.nsfpg-post__stats { display: flex; flex-wrap: wrap; gap: 12px; }
.nsfpg .nsfpg-post__stat { display: inline-flex; align-items: center; gap: 5px; font-size: 0.82rem; font-weight: 800; color: var(--nsfpg-dim); }
.nsfpg .nsfpg-post__stat i { color: var(--nsfpg-cool); }

.nsfpg-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(1, 6, 18, 0.78);
  padding: 16px;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}
.nsfpg-modal.is-open { display: flex; }
.nsfpg-modal__dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(90vh, 900px);
  background: linear-gradient(180deg, rgba(18,36,70,0.96), rgba(10,22,44,0.96));
  border: 1px solid var(--nsfpg-line);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.nsfpg .nsfpg-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: rgba(8,18,38,0.86) !important;
  color: #fff !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  box-shadow: 0 10px 24px rgba(0,0,0,0.32);
}
.nsfpg .nsfpg-modal__close:hover { background: var(--nsfpg-danger) !important; }
.nsfpg-modal__stage {
  position: relative;
  width: 100%;
  min-width: 0;
  background: rgba(3, 10, 24, 0.74);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}
.nsfpg .nsfpg-modal__media,
.nsfpg .nsfpg-modal__media--img {
  width: 100%;
  max-height: calc(90vh - 120px);
  object-fit: contain;
  border-radius: 12px;
  margin: 0 auto;
  background: #030a18;
  display: block;
}
.nsfpg .nsfpg-modal__media.is-hidden { display: none !important; }
.nsfpg .nsfpg-modal__media--video { width: 100%; max-height: calc(90vh - 120px); background: #000; }
.nsfpg-modal__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.nsfpg-modal__meta { flex: 1 1 160px; margin: 0; padding: 0; color: var(--nsfpg-muted); font-size: 0.9rem; font-weight: 700; text-align: left; min-width: 0; }
.nsfpg-modal__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.nsfpg .nsfpg-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: 800 !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  color: #fff !important;
  transition: transform 0.18s ease, filter 0.18s ease;
}
.nsfpg .nsfpg-modal__action--download { background: linear-gradient(135deg, var(--nsfpg-accent), var(--nsfpg-success)) !important; box-shadow: 0 14px 28px rgba(53,208,127,0.20); }
.nsfpg .nsfpg-modal__action:hover { transform: translateY(-1px); filter: brightness(1.06); }
.nsfpg .nsfpg-modal__action:disabled,
.nsfpg .nsfpg-modal__action.is-hidden { display: none !important; }
.nsfpg-modal__loading {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(3, 10, 24, 0.78);
  color: #fff;
  font-weight: 800;
  z-index: 1;
}
.nsfpg-modal__loading.is-visible { display: flex; }
.nsfpg-modal__loading i { animation: nsfpg-spin 0.9s linear infinite; }
@keyframes nsfpg-spin { to { transform: rotate(360deg); } }

.nsfpg-dlprog {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100000;
  width: min(360px, calc(100vw - 32px));
  background: rgba(8, 18, 38, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 13px 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  color: #fff;
  display: none;
  backdrop-filter: blur(14px);
}
.nsfpg-dlprog.is-open { display: block; }
.nsfpg-dlprog.is-success { border-color: rgba(53, 208, 127, 0.60); }
.nsfpg-dlprog.is-error { border-color: rgba(255, 85, 112, 0.60); }
.nsfpg-dlprog__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.nsfpg-dlprog__title { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-weight: 800; font-size: 0.9rem; }
.nsfpg-dlprog__title i { color: var(--nsfpg-success); }
.nsfpg-dlprog__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nsfpg-dlprog__pct { flex: 0 0 auto; font-weight: 800; font-size: 0.85rem; color: rgba(255, 255, 255, 0.86); }
.nsfpg-dlprog__track { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.13); overflow: hidden; }
.nsfpg-dlprog__fill { height: 100%; width: 0%; border-radius: inherit; background: linear-gradient(90deg, var(--nsfpg-accent), var(--nsfpg-success)); transition: width 0.2s ease; }
.nsfpg-dlprog.is-indeterminate .nsfpg-dlprog__fill { width: 40% !important; animation: nsfpg-dlprog-slide 1.1s ease-in-out infinite; }
@keyframes nsfpg-dlprog-slide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}
.nsfpg-dlprog__meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.72); }
.nsfpg-card__foot-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }

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

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

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

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

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

@media (min-width: 768px) {
  .nsfpg-search__row { flex-wrap: nowrap; }
  .nsfpg .nsfpg-search__field { flex: 1 1 auto; }
  .nsfpg .nsfpg-btn { flex: 0 0 auto; min-width: 118px; padding: 0 18px !important; }
  .nsfpg-profile { grid-template-columns: auto 1fr; justify-items: start; text-align: left; gap: 18px 20px; }
  .nsfpg-meta { text-align: left; }
  .nsfpg .nsfpg-meta__name { justify-content: flex-start; }
  .nsfpg-stats { justify-content: flex-start; }
  .nsfpg .nsfpg-bio { grid-column: 1 / -1; margin-left: 0; margin-right: 0; max-width: none; text-align: left; }
  .nsfpg-tabs { justify-content: flex-start; }
  .nsfpg .nsfpg-tabs__btn { flex: 0 1 auto; min-width: 120px; padding: 10px 18px !important; }
  .nsfpg-skeleton__profile { grid-template-columns: auto 1fr; justify-items: start; text-align: left; }
  .nsfpg-skeleton__meta { align-items: flex-start; text-align: left; }
  .nsfpg-skeleton__stats { justify-content: flex-start; }
  .nsfpg-skeleton__tabs { justify-content: flex-start; }
  .nsfpg-skeleton__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nsfpg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nsfpg-tab-sk--photos,
  .nsfpg-tab-sk--videos,
  .nsfpg-tab-sk--reels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nsfpg .nsfpg-skeleton__cover { height: 150px; }
}

@media (min-width: 1024px) {
  .nsfpg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nsfpg-grid--reels { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nsfpg-skeleton__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nsfpg-tab-sk--photos,
  .nsfpg-tab-sk--videos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nsfpg-tab-sk--reels { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nsfpg .nsfpg-skeleton__cover,
  .nsfpg-cover { min-height: 150px; max-height: 230px; }
  .nsfpg { --nsfpg-avatar: 110px; }
}

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

  .nsfpg-shell { gap: 14px; }
  .nsfpg-hero { padding-top: 24px; }
  .nsfpg-hero__brand { align-items: flex-start; }
  .nsfpg-hero__title-text {
    font-size: clamp(1.22rem, 5vw, 1.5rem);
    line-height: 1.25;
  }

  .nsfpg .nsfpg-search,
  .nsfpg-search { padding: 14px; border-radius: 14px; }

  .nsfpg .nsfpg-search .nsfpg-search__row,
  .nsfpg-search__row,
  .nsfpg.nsfpg--compact .nsfpg-search .nsfpg-search__row,
  .nsfpg.nsfpg--narrow .nsfpg-search .nsfpg-search__row {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  .nsfpg .nsfpg-search .nsfpg-search__field,
  .nsfpg .nsfpg-search .nsfpg-search__row > .nsfpg-search__field,
  .nsfpg.nsfpg--compact .nsfpg-search .nsfpg-search__field,
  .nsfpg.nsfpg--narrow .nsfpg-search .nsfpg-search__field,
  .nsfpg.nsfpg--compact .nsfpg-search .nsfpg-search__row > .nsfpg-search__field,
  .nsfpg.nsfpg--narrow .nsfpg-search .nsfpg-search__row > .nsfpg-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;
    line-height: 52px !important;
  }

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

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

  .nsfpg-cover { min-height: 130px; }
  .nsfpg-tabs { gap: 8px; }
  .nsfpg .nsfpg-tabs__btn { flex: 1 1 calc(50% - 8px); min-width: 0; }
}

@media (max-width: 479.98px) {
  .nsfpg { --nsfpg-avatar: 86px; padding-left: 8px; padding-right: 8px; }
  .nsfpg .nsfpg-hero__icon { width: 40px; height: 40px; border-radius: 12px; }
  .nsfpg .nsfpg-hero__lead { font-size: 0.9rem; }
  .nsfpg-grid--reels,
  .nsfpg-tab-sk--reels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .nsfpg-grid--reels .nsfpg-card__foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .nsfpg-grid--reels .nsfpg-card__actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .nsfpg-grid--reels .nsfpg-card__action { width: 100%; min-width: 0; font-size: 0.72rem !important; padding: 7px 8px !important; }
  .nsfpg .nsfpg-tabs__btn { flex: 1 1 100%; }
  .nsfpg-modal { padding: 10px; }
  .nsfpg-modal__dialog { border-radius: 14px; padding: 10px; }
  .nsfpg-modal__bar,
  .nsfpg-modal__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .nsfpg .nsfpg-modal__action { width: 100%; }
}

@media (max-width: 359.98px) {
  .nsfpg-grid--reels,
  .nsfpg-tab-sk--reels { grid-template-columns: 1fr; }
  .nsfpg-hero__brand { gap: 9px; }
  .nsfpg-hero__title-text { font-size: 1.16rem; }
}

.nsfpg.nsfpg--compact .nsfpg-search__row { flex-wrap: wrap; }
.nsfpg.nsfpg--compact .nsfpg-search__field { flex: 1 1 100%; }
.nsfpg.nsfpg--compact .nsfpg-btn { flex: 1 1 calc(50% - 4px); }
.nsfpg.nsfpg--compact .nsfpg-profile { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.nsfpg.nsfpg--compact .nsfpg-meta,
.nsfpg.nsfpg--compact .nsfpg-bio { text-align: center; }
.nsfpg.nsfpg--compact .nsfpg-meta__name,
.nsfpg.nsfpg--compact .nsfpg-stats,
.nsfpg.nsfpg--compact .nsfpg-tabs { justify-content: center; }
.nsfpg.nsfpg--compact .nsfpg-grid,
.nsfpg.nsfpg--compact .nsfpg-skeleton__grid,
.nsfpg.nsfpg--compact .nsfpg-tab-sk--photos,
.nsfpg.nsfpg--compact .nsfpg-tab-sk--videos { grid-template-columns: 1fr; }
.nsfpg.nsfpg--compact .nsfpg-grid--reels,
.nsfpg.nsfpg--compact .nsfpg-tab-sk--reels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nsfpg.nsfpg--narrow .nsfpg-grid--reels,
.nsfpg.nsfpg--narrow .nsfpg-tab-sk--reels { grid-template-columns: 1fr; }
.nsfpg.nsfpg--compact .nsfpg-card__media--reel ~ .nsfpg-card__foot,
.nsfpg.nsfpg--compact .nsfpg-grid--reels .nsfpg-card__foot { flex-direction: column; align-items: stretch; }
.nsfpg.nsfpg--compact .nsfpg-grid--reels .nsfpg-card__actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.nsfpg.nsfpg--narrow .nsfpg-grid--reels .nsfpg-card__actions { grid-template-columns: 1fr; }
.nsfpg.nsfpg--narrow .nsfpg-btn { flex: 1 1 100%; }
.nsfpg.nsfpg--narrow .nsfpg-tabs__btn { flex: 1 1 100%; }
.nsfpg.nsfpg--narrow { --nsfpg-avatar: 84px; padding-left: 6px; padding-right: 6px; }

@media (prefers-reduced-motion: reduce) {
  .nsfpg *,
  .nsfpg *::before,
  .nsfpg *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .nsfpg .nsfpg-sk { animation: none; background: rgba(98,214,255,0.14); }
}

@media (hover: none) {
  .nsfpg .nsfpg-btn:hover,
  .nsfpg .nsfpg-tabs__btn:hover,
  .nsfpg-card:hover {
    transform: none;
  }
  .nsfpg-card:hover .nsfpg-card__overlay { opacity: 0; }
  .nsfpg-card:focus-within .nsfpg-card__overlay,
  .nsfpg-card__media:active .nsfpg-card__overlay { opacity: 1; }
}