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

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

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

    box-sizing: border-box !important;
    font-family: var(--nsfpp-font);
    color: var(--nsfpp-ink);
    line-height: 1.5;
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    min-width: 0 !important;
    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(--nsfpp-line);
    position: relative;
    isolation: isolate;
    text-align: left;
    overflow-x: hidden !important;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

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

  .nsfpp :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, label, span) {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: inherit;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-wrap: break-word;
  }

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

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

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

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

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

  .nsfpp-hero {
    background: transparent;
    padding: 36px 0 14px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }

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

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

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

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

  .nsfpp-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.2rem, 4.5vw, 1.7rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-align: left;
  }

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

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

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

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

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

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

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

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

  .nsfpp-search__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    min-width: 0;
    align-items: stretch;
  }

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

  .nsfpp .nsfpp-btn i,
  .nsfpp .nsfpp-tabs__btn i,
  .nsfpp .nsfpp-card__action i,
  .nsfpp .nsfpp-profile__zoom i,
  .nsfpp .nsfpp-modal__close i,
  .nsfpp .nsfpp-modal__dl i,
  .nsfpp .nsfpp-demo-chip i,
  .nsfpp .nsfpp-notice i,
  .nsfpp .nsfpp-card__badge i,
  .nsfpp .nsfpp-card__overlay i,
  .nsfpp .nsfpp-meta__chip i,
  .nsfpp .nsfpp-section__title i,
  .nsfpp i.fa-solid,
  .nsfpp 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;
    flex-shrink: 0;
  }

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

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

  .nsfpp .nsfpp-btn:active {
    opacity: 0.92;
  }

  .nsfpp .nsfpp-btn:disabled {
    opacity: 0.55;
    cursor: wait;
    filter: none;
  }

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

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

  .nsfpp .nsfpp-btn--view {
    background: var(--nsfpp-accent) !important;
    color: #ffffff !important;
    box-shadow: none;
  }

  .nsfpp .nsfpp-btn--view:hover {
    background: var(--nsfpp-accent-deep) !important;
  }

  .nsfpp .nsfpp-search__hint {
    font-size: 0.82rem;
    color: var(--nsfpp-dim);
    line-height: 1.4;
    max-width: 100%;
  }

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

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

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

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

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

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

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

  .nsfpp-demo-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    max-width: 100%;
    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;
    white-space: normal;
  }

  .nsfpp .nsfpp-alert {
    display: none;
    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.86rem;
    line-height: 1.4;
    word-break: break-word;
  }

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

  .nsfpp .nsfpp-notice {
    display: none;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(24, 119, 242, 0.16);
    border: 1px solid rgba(24, 119, 242, 0.45);
    color: #9ec9ff;
    font-size: 0.84rem;
    line-height: 1.4;
    word-break: break-word;
  }

  .nsfpp .nsfpp-notice.is-visible {
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }

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

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

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

  .nsfpp .nsfpp-content.is-placeholder .nsfpp-notice,
  .nsfpp .nsfpp-content.is-placeholder .nsfpp-profile__zoom {
    display: none !important;
  }

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

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

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

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

  .nsfpp-skeleton__profile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: center;
    justify-items: center;
    padding: var(--nsfpp-pad);
    border-radius: 12px;
    background: linear-gradient(160deg, rgba(24, 119, 242, 0.16), rgba(13, 101, 217, 0.1));
    border: 1px solid var(--nsfpp-line);
    text-align: center;
    margin-bottom: 16px;
  }

  .nsfpp .nsfpp-skeleton__avatar {
    width: var(--nsfpp-avatar);
    height: var(--nsfpp-avatar);
    border-radius: 50% !important;
    border: 3px solid rgba(255, 255, 255, 0.12);
  }

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

  .nsfpp-skeleton__line {
    height: 16px;
  }

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

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

  .nsfpp-skeleton__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 0 14px;
    width: 100%;
  }

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

  .nsfpp-skeleton__grid {
    display: grid;
    grid-template-columns: repeat(var(--nsfpp-cols, 1), minmax(0, 1fr));
    gap: 12px;
  }

  .nsfpp-skeleton__card,
  .nsfpp-tab-sk__card {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--nsfpp-line);
    background: var(--nsfpp-panel-soft);
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .nsfpp-skeleton__thumb,
  .nsfpp-tab-sk__thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0 !important;
  }

  .nsfpp-skeleton__foot,
  .nsfpp-tab-sk__foot {
    height: 72px;
    margin: 12px;
    border-radius: 10px !important;
  }

  .nsfpp-tab-sk--photos {
    display: grid;
    grid-template-columns: repeat(var(--nsfpp-cols, 1), minmax(0, 1fr));
    gap: 12px;
  }

  .nsfpp-tab-sk--details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 0;
  }

  .nsfpp-tab-sk__line {
    height: 14px;
    border-radius: 8px;
  }

  .nsfpp-tab-sk__line--sm {
    width: min(120px, 40%);
  }

  .nsfpp-tab-sk__line--lg {
    width: min(280px, 85%);
    height: 20px;
  }

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

  .nsfpp-panel {
    background: var(--nsfpp-panel);
    border: 1px solid var(--nsfpp-line);
    border-radius: var(--nsfpp-radius);
    box-shadow: none;
    padding: clamp(14px, 2.5vw, 20px);
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .nsfpp-profile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: center;
    justify-items: center;
    text-align: center;
    padding: var(--nsfpp-pad);
    border-radius: 8px;
    background: var(--nsfpp-panel-soft);
    border: 1px solid var(--nsfpp-line);
    margin-bottom: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .nsfpp-profile__avatar-wrap {
    position: relative;
    width: var(--nsfpp-avatar);
    height: var(--nsfpp-avatar);
  }

  .nsfpp-profile__ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--nsfpp-accent), var(--nsfpp-cool));
  }

  .nsfpp .nsfpp-profile__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #0b1f3d;
    background: var(--nsfpp-panel-soft);
  }

  .nsfpp .nsfpp-profile__zoom {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 50% !important;
    border: 0 !important;
    background: #1877f2 !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(8, 40, 90, 0.45);
    appearance: none !important;
    -webkit-appearance: none !important;
    padding: 0 !important;
    margin: 0 !important;
    touch-action: manipulation;
  }

  .nsfpp .nsfpp-profile__zoom:hover {
    background: #0d65d9 !important;
  }

  .nsfpp-profile__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    min-width: 0;
    width: 100%;
  }

  .nsfpp .nsfpp-profile__name {
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    font-weight: 800;
    color: var(--nsfpp-ink);
    line-height: 1.3;
  }

  .nsfpp .nsfpp-profile__handle {
    color: var(--nsfpp-cool);
    font-size: 0.92rem;
    font-weight: 600;
  }

  .nsfpp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    width: 100%;
  }

  .nsfpp-meta__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(24, 119, 242, 0.18);
    border: 1px solid var(--nsfpp-line);
    color: #9ec9ff;
    font-size: 0.78rem;
    font-weight: 600;
  }

  .nsfpp-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .nsfpp .nsfpp-tabs__btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    min-height: 44px;
    height: auto;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    border: 1px solid var(--nsfpp-line) !important;
    background: var(--nsfpp-panel-soft) !important;
    color: var(--nsfpp-muted) !important;
    font-family: var(--nsfpp-font) !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    cursor: pointer;
    appearance: none !important;
    -webkit-appearance: none !important;
    touch-action: manipulation;
    text-decoration: none !important;
    margin: 0 !important;
    white-space: nowrap;
  }

  .nsfpp .nsfpp-tabs__btn.is-active {
    background: rgba(24, 119, 242, 0.22) !important;
    border-color: #1877f2 !important;
    color: #9ec9ff !important;
    box-shadow: none;
  }

  .nsfpp-pane {
    display: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

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

  .nsfpp-empty {
    text-align: center;
    padding: 28px 12px;
    color: var(--nsfpp-dim);
    font-size: 0.92rem;
  }

  .nsfpp-photos {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .nsfpp-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .nsfpp-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    padding: 2px 2px 0;
    width: 100%;
    min-width: 0;
  }

  .nsfpp .nsfpp-section__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--nsfpp-ink);
    line-height: 1.3;
    min-width: 0;
  }

  .nsfpp .nsfpp-section__title i {
    color: var(--nsfpp-cool);
  }

  .nsfpp .nsfpp-section__count {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(24, 119, 242, 0.18);
    border: 1px solid var(--nsfpp-line);
    color: #9ec9ff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .nsfpp-grid {
    display: grid;
    grid-template-columns: repeat(var(--nsfpp-cols, 1), minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .nsfpp-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    background: var(--nsfpp-panel-soft);
    border: 1px solid var(--nsfpp-line);
    border-radius: 10px;
    overflow: hidden;
    transition: background 0.15s ease, border-color 0.15s ease;
  }

  .nsfpp-card:hover {
    background: var(--nsfpp-hover);
    border-color: rgba(24, 119, 242, 0.7);
  }

  .nsfpp-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #0b1f3d;
    cursor: pointer;
    overflow: hidden;
  }

  .nsfpp .nsfpp-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .nsfpp-card__media--size-large,
  .nsfpp-card__media--size-medium,
  .nsfpp-card__media--size-small {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
      radial-gradient(circle at center, rgba(24, 119, 242, 0.18), transparent 62%),
      #0b1f3d;
  }

  .nsfpp-card__media--size-large .nsfpp-card__img,
  .nsfpp-card__media--size-medium .nsfpp-card__img,
  .nsfpp-card__media--size-small .nsfpp-card__img {
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 20px rgba(8, 40, 90, 0.35);
  }

  .nsfpp-card__media--size-large .nsfpp-card__img {
    width: 78%;
    height: 78%;
  }

  .nsfpp-card__media--size-medium .nsfpp-card__img {
    width: 56%;
    height: 56%;
  }

  .nsfpp-card__media--size-small .nsfpp-card__img {
    width: 38%;
    height: 38%;
  }

  .nsfpp-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 21, 43, 0.45);
    opacity: 0;
    transition: opacity 0.2s ease;
    color: #fff;
    font-size: 1.25rem;
    pointer-events: none;
  }

  .nsfpp-card__media:hover .nsfpp-card__overlay,
  .nsfpp-card__media:focus-visible .nsfpp-card__overlay {
    opacity: 1;
  }

  .nsfpp-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    min-width: 0;
  }

  .nsfpp-card__badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: var(--nsfpp-accent);
  }

  .nsfpp-card__badge--large {
    background: #1877f2;
  }

  .nsfpp-card__badge--medium {
    background: #4dabf7;
    color: #07152b;
  }

  .nsfpp-card__badge--small {
    background: #24528c;
  }

  .nsfpp-card__badge--original {
    background: #0d65d9;
  }

  .nsfpp .nsfpp-card__meta {
    color: var(--nsfpp-muted);
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .nsfpp-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

  .nsfpp .nsfpp-card__action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    min-height: 44px;
    height: 44px;
    padding: 0 12px !important;
    border-radius: 8px !important;
    border: 1px solid var(--nsfpp-line) !important;
    background: #24528c !important;
    color: #ffffff !important;
    font-family: var(--nsfpp-font) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer;
    appearance: none !important;
    -webkit-appearance: none !important;
    touch-action: manipulation;
    text-decoration: none !important;
    margin: 0 !important;
  }

  .nsfpp .nsfpp-card__action--primary {
    background: var(--nsfpp-accent) !important;
    border-color: transparent !important;
    color: #ffffff !important;
  }

  .nsfpp .nsfpp-card__action:hover {
    background: #2d65a8 !important;
  }

  .nsfpp .nsfpp-card__action--primary:hover {
    background: var(--nsfpp-accent-deep) !important;
  }

  .nsfpp-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .nsfpp .nsfpp-details__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--nsfpp-ink);
  }

  .nsfpp .nsfpp-details__text {
    color: var(--nsfpp-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    white-space: pre-line;
  }

  .nsfpp-details__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .nsfpp-details__item {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: baseline;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--nsfpp-panel-soft);
    border: 1px solid var(--nsfpp-line);
  }

  .nsfpp .nsfpp-details__label {
    color: var(--nsfpp-dim);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .nsfpp .nsfpp-details__value {
    color: var(--nsfpp-ink);
    font-size: 0.9rem;
    font-weight: 600;
  }

  /* Modal */
  .nsfpp-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(7, 21, 43, 0.82);
    backdrop-filter: blur(6px);
  }

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

  .nsfpp-modal__dialog {
    position: relative;
    width: min(720px, 100%);
    max-height: min(90vh, 900px);
    overflow: auto;
    background: #123056;
    border: 1px solid var(--nsfpp-line);
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(8, 40, 90, 0.55);
    padding: 16px;
  }

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

  .nsfpp .nsfpp-modal__close:hover {
    background: #2d65a8 !important;
  }

  .nsfpp .nsfpp-modal__media {
    width: 100%;
    max-height: min(65vh, 640px);
    object-fit: contain;
    border-radius: 10px;
    background: #0b1f3d;
    margin: 8px 0 12px;
  }

  .nsfpp .nsfpp-modal__caption {
    color: var(--nsfpp-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
    text-align: center;
  }

  .nsfpp .nsfpp-modal__dl {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100%;
    min-height: 46px;
    height: 46px;
    border-radius: 8px !important;
    border: 0 !important;
    background: var(--nsfpp-accent) !important;
    color: #ffffff !important;
    font-family: var(--nsfpp-font) !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    appearance: none !important;
    -webkit-appearance: none !important;
    touch-action: manipulation;
    margin: 0 !important;
    padding: 0 14px !important;
  }

  .nsfpp .nsfpp-modal__dl:hover {
    background: var(--nsfpp-accent-deep) !important;
  }

  /* Responsive — tablet */
  @media (min-width: 768px) {
    .nsfpp {
      --nsfpp-cols: 2;
      --nsfpp-pad: 16px;
      --nsfpp-avatar: 104px;
    }

    .nsfpp-search__row {
      flex-direction: row;
      flex-wrap: wrap;
      align-items: stretch;
    }

    .nsfpp .nsfpp-search__field {
      flex: 1 1 220px;
      width: auto;
    }

    .nsfpp-search__actions {
      flex: 0 0 auto;
      width: auto;
      flex-wrap: nowrap;
    }

    .nsfpp .nsfpp-search__actions .nsfpp-btn {
      flex: 0 0 auto;
      min-width: 120px;
    }

    .nsfpp-profile,
    .nsfpp-skeleton__profile {
      grid-template-columns: var(--nsfpp-avatar) minmax(0, 1fr);
      justify-items: stretch;
      text-align: left;
    }

    .nsfpp-profile__meta,
    .nsfpp-skeleton__meta {
      align-items: flex-start;
      text-align: left;
    }

    .nsfpp-meta,
    .nsfpp-skeleton__stats {
      justify-content: flex-start;
    }

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

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

  /* Responsive — desktop */
  @media (min-width: 1024px) {
    .nsfpp {
      --nsfpp-cols: 3;
      --nsfpp-pad: 18px;
    }

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

  @media (min-width: 1200px) {
    .nsfpp {
      --nsfpp-cols: 4;
    }

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

  /* ResizeObserver helpers */
  .nsfpp.nsfpp--compact .nsfpp-search__row {
    flex-direction: column !important;
  }

  .nsfpp.nsfpp--compact .nsfpp-search__field,
  .nsfpp.nsfpp--compact .nsfpp-search__actions {
    width: 100% !important;
    flex: 1 1 auto !important;
  }

  .nsfpp.nsfpp--compact .nsfpp-search__actions .nsfpp-btn {
    flex: 1 1 calc(50% - 4px) !important;
    width: auto !important;
  }

  .nsfpp.nsfpp--compact .nsfpp-profile,
  .nsfpp.nsfpp--compact .nsfpp-skeleton__profile {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
  }

  .nsfpp.nsfpp--compact .nsfpp-profile__meta,
  .nsfpp.nsfpp--compact .nsfpp-skeleton__meta {
    align-items: center !important;
    text-align: center !important;
  }

  .nsfpp.nsfpp--compact .nsfpp-meta {
    justify-content: center !important;
  }

  .nsfpp.nsfpp--compact .nsfpp-tabs__btn {
    flex: 1 1 calc(50% - 6px) !important;
  }

  .nsfpp.nsfpp--compact .nsfpp-grid,
  .nsfpp.nsfpp--compact .nsfpp-skeleton__grid,
  .nsfpp.nsfpp--compact .nsfpp-tab-sk--photos {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .nsfpp.nsfpp--narrow .nsfpp-tabs__btn {
    flex: 1 1 100% !important;
  }

  .nsfpp.nsfpp--narrow .nsfpp-search__actions .nsfpp-btn {
    flex: 1 1 calc(50% - 4px) !important;
  }

  .nsfpp.nsfpp--narrow .nsfpp-card__actions {
    flex-direction: column;
  }

  .nsfpp.nsfpp--narrow .nsfpp-card__action {
    flex: 1 1 auto !important;
    width: 100%;
  }

  @media (hover: none) {

    .nsfpp .nsfpp-btn:hover,
    .nsfpp-card:hover {
      filter: none;
      background: var(--nsfpp-panel-soft);
    }

    .nsfpp-card__overlay {
      opacity: 0.85;
      background: rgba(7, 21, 43, 0.25);
    }
  }

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

    .nsfpp .nsfpp-sk,
    .nsfpp .nsfpp-btn,
    .nsfpp-card,
    .nsfpp-card__overlay {
      animation: none !important;
      transition: none !important;
    }
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- Codex CSS updates --- */
/* New Social Facebook Profile Photo Viewer — WordPress-scoped */
.nsfpp {
  --nsfpp-ink: #f8fbff;
  --nsfpp-muted: #b8c7e3;
  --nsfpp-dim: #8193b4;
  --nsfpp-bg: #091426;
  --nsfpp-panel: rgba(15, 31, 57, 0.88);
  --nsfpp-panel-soft: rgba(26, 48, 82, 0.76);
  --nsfpp-hover: #263f69;
  --nsfpp-line: rgba(147, 178, 255, 0.18);
  --nsfpp-accent: #6d5dfc;
  --nsfpp-accent-deep: #5545e8;
  --nsfpp-cool: #75d5ff;
  --nsfpp-cool-deep: #3199e8;
  --nsfpp-success: #34c98d;
  --nsfpp-danger: #ff6179;
  --nsfpp-radius: 18px;
  --nsfpp-shadow: 0 18px 45px rgba(2, 8, 23, 0.32);
  --nsfpp-font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --nsfpp-pad: 16px;
  --nsfpp-gap: 16px;
  --nsfpp-avatar: 88px;
  --nsfpp-cols: 1;
  box-sizing: border-box !important;
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0 !important;
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(12px, 2.5vw, 28px);
  overflow-x: hidden !important;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  color: var(--nsfpp-ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(109, 93, 252, 0.28), transparent 34rem),
    radial-gradient(circle at 92% 12%, rgba(58, 189, 255, 0.17), transparent 30rem),
    linear-gradient(145deg, #081224 0%, #101d38 48%, #0b1831 100%);
  border: 1px solid rgba(155, 183, 255, 0.16);
  border-radius: var(--nsfpp-radius);
  font-family: var(--nsfpp-font);
  line-height: 1.5;
  text-align: left;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

.nsfpp :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, label, span) {
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  font-weight: inherit;
}

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

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

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

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

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

.nsfpp-hero {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: clamp(22px, 4vw, 46px) 0 clamp(8px, 2vw, 18px);
  overflow-x: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

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

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

.nsfpp .nsfpp-hero__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #8475ff, #4dbdf8);
  box-shadow: 0 10px 24px rgba(90, 94, 240, 0.32);
  font-size: 1.25rem;
  line-height: 1;
}

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

.nsfpp-hero__title-text {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.3em;
  min-width: 0;
  color: var(--nsfpp-ink);
  font-size: clamp(1.25rem, 3.2vw, 1.7rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-align: left;
  text-transform: capitalize !important;
}

.nsfpp-hero__title-mark {
  color: var(--nsfpp-cool);
  font-weight: 750;
}

.nsfpp .nsfpp-hero__lead {
  max-width: 620px;
  margin: 0 auto 18px;
  padding: 0 4px;
  color: var(--nsfpp-muted);
  font-size: clamp(0.9rem, 2.2vw, 0.98rem);
  font-weight: 450;
  line-height: 1.55;
}

.nsfpp-search {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 11px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 4px;
  padding: clamp(14px, 2.5vw, 20px);
  border: 1px solid var(--nsfpp-line);
  border-radius: var(--nsfpp-radius);
  background: rgba(15, 30, 54, 0.7);
  box-shadow: var(--nsfpp-shadow);
  backdrop-filter: blur(16px);
  box-sizing: border-box;
  text-align: left;
}

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

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

.nsfpp .nsfpp-search__field {
  flex: 1 1 auto;
  width: 100%;
  max-width: 100% !important;
  min-width: 0;
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  padding: 0 16px !important;
  border: 1px solid rgba(157, 184, 255, 0.23) !important;
  border-radius: 13px;
  outline: none;
  color: #f8fbff !important;
  background: rgba(5, 15, 32, 0.7) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-family: var(--nsfpp-font);
  font-size: 16px !important;
  font-weight: 500;
  line-height: 52px;
  resize: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nsfpp .nsfpp-search__field:focus {
  border-color: var(--nsfpp-cool) !important;
  background: rgba(8, 21, 44, 0.92) !important;
  box-shadow: 0 0 0 4px rgba(117, 213, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

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

.nsfpp-search__actions {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 9px;
  width: 100%;
  min-width: 0;
}

.nsfpp .nsfpp-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 52px !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 0 17px !important;
  overflow: hidden;
  border: 1px solid transparent !important;
  border-radius: 13px !important;
  outline: none;
  color: #fff !important;
  background: linear-gradient(135deg, #344d79, #263b61) !important;
  box-shadow: 0 7px 18px rgba(3, 12, 29, 0.2);
  font-family: var(--nsfpp-font) !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  user-select: none;
  appearance: none !important;
  -webkit-appearance: none !important;
  touch-action: manipulation;
  box-sizing: border-box !important;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nsfpp .nsfpp-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(3, 12, 29, 0.28);
}

.nsfpp .nsfpp-btn:active {
  filter: brightness(0.97);
  transform: translateY(0);
  box-shadow: 0 5px 12px rgba(3, 12, 29, 0.2);
}

.nsfpp .nsfpp-btn:focus-visible,
.nsfpp .nsfpp-tabs__btn:focus-visible,
.nsfpp .nsfpp-card__action:focus-visible,
.nsfpp .nsfpp-profile__zoom:focus-visible,
.nsfpp .nsfpp-modal__close:focus-visible,
.nsfpp .nsfpp-modal__dl:focus-visible {
  outline: 3px solid rgba(117, 213, 255, 0.8);
  outline-offset: 3px;
}

.nsfpp .nsfpp-btn:disabled {
  opacity: 0.55;
  filter: none;
  transform: none;
  cursor: wait;
}

.nsfpp .nsfpp-btn--paste {
  border-color: rgba(157, 184, 255, 0.18) !important;
  color: #f8fbff !important;
  background: linear-gradient(135deg, #3a507a, #2b3d60) !important;
}

.nsfpp .nsfpp-btn--paste:hover { background: linear-gradient(135deg, #47618f, #334a73) !important; }

.nsfpp .nsfpp-btn--view {
  color: #fff !important;
  background: linear-gradient(135deg, #8273ff 0%, #5b5cf3 52%, #3db3f4 100%) !important;
  box-shadow: 0 10px 22px rgba(89, 91, 242, 0.3);
}

.nsfpp .nsfpp-btn--view:hover { background: linear-gradient(135deg, #9488ff, #665af4 50%, #47c2fb) !important; }

.nsfpp .nsfpp-search__hint {
  max-width: 100%;
  color: var(--nsfpp-dim);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Font Awesome icon compatibility */
.nsfpp .fa-circle-info,
.nsfpp .fa-clone,
.nsfpp .fa-expand,
.nsfpp .fa-images,
.nsfpp .fa-paste,
.nsfpp .fa-xmark,
.nsfpp .nsfpp-btn i,
.nsfpp .nsfpp-tabs__btn i,
.nsfpp .nsfpp-card__action i,
.nsfpp .nsfpp-profile__zoom i,
.nsfpp .nsfpp-modal__close i,
.nsfpp .nsfpp-modal__dl i,
.nsfpp .nsfpp-demo-chip i,
.nsfpp .nsfpp-notice i,
.nsfpp .nsfpp-card__badge i,
.nsfpp .nsfpp-card__overlay i,
.nsfpp .nsfpp-meta__chip i,
.nsfpp .nsfpp-section__title i,
.nsfpp i.fa-solid,
.nsfpp i.fas {
  --fa-display: inline-block;
  display: inline-block !important;
  flex-shrink: 0;
  width: 1.15em;
  color: inherit;
  font-size: 0.92em;
  font-style: normal !important;
  font-variant: normal;
  line-height: 1 !important;
  text-align: center;
  text-rendering: auto;
  vertical-align: middle;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

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

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

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

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

.nsfpp-demo-chip,
.nsfpp-meta__chip,
.nsfpp .nsfpp-section__count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  border: 1px solid rgba(120, 170, 255, 0.22);
  border-radius: 999px;
  color: #b8e9ff;
  background: rgba(92, 124, 255, 0.13);
  font-weight: 700;
}

.nsfpp-demo-chip {
  align-self: flex-start;
  padding: 6px 12px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  white-space: normal;
}

.nsfpp-meta__chip {
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 650;
}

.nsfpp .nsfpp-section__count {
  padding: 5px 10px;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nsfpp .nsfpp-alert,
.nsfpp .nsfpp-notice {
  display: none;
  padding: 11px 13px;
  border-radius: 13px;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
  word-break: break-word;
}

.nsfpp .nsfpp-alert {
  border: 1px solid rgba(255, 97, 121, 0.42);
  color: #ffc1ca;
  background: rgba(154, 31, 57, 0.22);
}

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

.nsfpp .nsfpp-notice {
  margin-top: 10px;
  border: 1px solid rgba(117, 213, 255, 0.28);
  color: #c2edff;
  background: rgba(40, 124, 184, 0.14);
}

.nsfpp .nsfpp-notice.is-visible {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* Skeleton */
.nsfpp .nsfpp-skeleton,
.nsfpp-pane {
  display: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.nsfpp .nsfpp-skeleton { margin: 0; }
.nsfpp .nsfpp-skeleton.is-visible,
.nsfpp-pane.is-active { display: block; }
.nsfpp .nsfpp-content.is-hidden { display: none !important; }

.nsfpp .nsfpp-content.is-placeholder .nsfpp-notice,
.nsfpp .nsfpp-content.is-placeholder .nsfpp-profile__zoom { display: none !important; }

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

.nsfpp .nsfpp-sk {
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(104, 117, 176, 0.12) 0%, rgba(132, 208, 255, 0.25) 45%, rgba(104, 117, 176, 0.12) 100%);
  background-size: 800px 100%;
  animation: nsfpp-shimmer 1.35s ease-in-out infinite;
}

.nsfpp-skeleton__panel,
.nsfpp-panel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--nsfpp-line);
  border-radius: var(--nsfpp-radius);
  background: var(--nsfpp-panel);
  box-shadow: var(--nsfpp-shadow);
}

.nsfpp-skeleton__panel { padding: clamp(14px, 2.5vw, 20px); }
.nsfpp-panel { padding: clamp(15px, 2.8vw, 24px); backdrop-filter: blur(14px); }

.nsfpp-skeleton__profile,
.nsfpp-profile {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-bottom: 14px;
  padding: var(--nsfpp-pad);
  border: 1px solid rgba(139, 175, 255, 0.17);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(100, 100, 244, 0.15), rgba(56, 169, 240, 0.08));
  text-align: center;
}

.nsfpp .nsfpp-skeleton__avatar {
  width: var(--nsfpp-avatar);
  height: var(--nsfpp-avatar);
  border: 3px solid rgba(255, 255, 255, 0.13);
  border-radius: 50% !important;
}

.nsfpp-skeleton__meta,
.nsfpp-profile__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.nsfpp-skeleton__line { height: 16px; }
.nsfpp-skeleton__line--lg { width: min(200px, 70%); height: 22px; }
.nsfpp-skeleton__line--md { width: min(140px, 50%); height: 14px; }

.nsfpp-skeleton__tabs,
.nsfpp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.nsfpp-skeleton__tabs {
  justify-content: center;
  margin: 0 0 14px;
}

.nsfpp-tabs { margin: 16px 0 14px; }

.nsfpp-skeleton__tab {
  flex: 1 1 calc(50% - 8px);
  min-width: 0;
  height: 44px;
  border-radius: 12px;
}

.nsfpp-skeleton__grid,
.nsfpp-tab-sk--photos,
.nsfpp-grid {
  display: grid;
  grid-template-columns: repeat(var(--nsfpp-cols, 1), minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.nsfpp-skeleton__card,
.nsfpp-tab-sk__card,
.nsfpp-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--nsfpp-line);
  border-radius: 15px;
  background: var(--nsfpp-panel-soft);
}

.nsfpp-skeleton__thumb,
.nsfpp-tab-sk__thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0 !important;
}

.nsfpp-skeleton__foot,
.nsfpp-tab-sk__foot {
  height: 72px;
  margin: 12px;
  border-radius: 10px !important;
}

.nsfpp-tab-sk--details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 0;
}

.nsfpp-tab-sk__line { height: 14px; border-radius: 8px; }
.nsfpp-tab-sk__line--sm { width: min(120px, 40%); }
.nsfpp-tab-sk__line--lg { width: min(280px, 85%); height: 20px; }

/* Results */
.nsfpp-result,
.nsfpp-photos,
.nsfpp-section,
.nsfpp-details {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.nsfpp-photos { display: flex; flex-direction: column; gap: 24px; }
.nsfpp-section { display: flex; flex-direction: column; gap: 12px; }
.nsfpp-details { display: flex; flex-direction: column; gap: 12px; }

.nsfpp-profile__avatar-wrap {
  position: relative;
  width: var(--nsfpp-avatar);
  height: var(--nsfpp-avatar);
}

.nsfpp-profile__ring {
  width: 100%;
  height: 100%;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #978bff, var(--nsfpp-cool));
  box-shadow: 0 12px 26px rgba(63, 100, 226, 0.25);
}

.nsfpp .nsfpp-profile__img {
  width: 100%;
  height: 100%;
  border: 2px solid #101d38;
  border-radius: 50%;
  background: var(--nsfpp-panel-soft);
  object-fit: cover;
}

.nsfpp .nsfpp-profile__zoom {
  position: absolute;
  right: -3px;
  bottom: -3px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  margin: 0 !important;
  padding: 0 !important;
  border: 2px solid #152440 !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: linear-gradient(135deg, #8174ff, #3aaeea) !important;
  box-shadow: 0 8px 18px rgba(5, 14, 33, 0.42);
  cursor: pointer;
  appearance: none !important;
  -webkit-appearance: none !important;
  touch-action: manipulation;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.nsfpp .nsfpp-profile__zoom:hover {
  filter: brightness(1.1);
  transform: scale(1.06);
}

.nsfpp .nsfpp-profile__name {
  color: var(--nsfpp-ink);
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 800;
  line-height: 1.3;
  text-transform: capitalize !important;
}

.nsfpp .nsfpp-profile__handle {
  color: var(--nsfpp-cool);
  font-size: 0.92rem;
  font-weight: 650;
}

.nsfpp-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.nsfpp .nsfpp-tabs__btn {
  display: inline-flex !important;
  flex: 1 1 calc(50% - 4px);
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-width: 0;
  min-height: 46px;
  height: 46px;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid var(--nsfpp-line) !important;
  border-radius: 12px !important;
  outline: none;
  color: var(--nsfpp-muted) !important;
  background: rgba(36, 57, 93, 0.66) !important;
  font-family: var(--nsfpp-font) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap;
  text-decoration: none !important;
  cursor: pointer;
  appearance: none !important;
  -webkit-appearance: none !important;
  touch-action: manipulation;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nsfpp .nsfpp-tabs__btn:hover {
  border-color: rgba(117, 213, 255, 0.4) !important;
  color: #effaff !important;
  background: rgba(56, 80, 127, 0.78) !important;
}

.nsfpp .nsfpp-tabs__btn.is-active {
  border-color: rgba(135, 121, 255, 0.68) !important;
  color: #fff !important;
  background: linear-gradient(135deg, rgba(111, 95, 247, 0.72), rgba(57, 161, 222, 0.48)) !important;
  box-shadow: 0 8px 18px rgba(60, 83, 210, 0.2);
}

.nsfpp-empty {
  padding: 30px 14px;
  color: var(--nsfpp-dim);
  font-size: 0.92rem;
  text-align: center;
}

.nsfpp-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  width: 100%;
  min-width: 0;
  padding: 2px 2px 0;
}

.nsfpp .nsfpp-section__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  color: var(--nsfpp-ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.nsfpp .nsfpp-section__title i { color: var(--nsfpp-cool); }

.nsfpp-card {
  box-shadow: 0 8px 22px rgba(3, 11, 27, 0.14);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.nsfpp-card:hover {
  border-color: rgba(123, 174, 255, 0.38);
  background: rgba(39, 63, 105, 0.88);
  box-shadow: 0 17px 30px rgba(3, 11, 27, 0.26);
  transform: translateY(-3px);
}

.nsfpp-card__media {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #0a172d;
  cursor: pointer;
}

.nsfpp .nsfpp-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.nsfpp-card__media--size-large,
.nsfpp-card__media--size-medium,
.nsfpp-card__media--size-small {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(109, 93, 252, 0.22), transparent 62%), #0a172d;
}

.nsfpp-card__media--size-large .nsfpp-card__img,
.nsfpp-card__media--size-medium .nsfpp-card__img,
.nsfpp-card__media--size-small .nsfpp-card__img {
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(2, 8, 23, 0.38);
}

.nsfpp-card__media--size-large .nsfpp-card__img { width: 78%; height: 78%; }
.nsfpp-card__media--size-medium .nsfpp-card__img { width: 56%; height: 56%; }
.nsfpp-card__media--size-small .nsfpp-card__img { width: 38%; height: 38%; }

.nsfpp-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, rgba(47, 37, 137, 0.62), rgba(19, 122, 175, 0.5));
  opacity: 0;
  font-size: 1.25rem;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.nsfpp-card__media:hover .nsfpp-card__overlay,
.nsfpp-card__media:focus-visible .nsfpp-card__overlay { opacity: 1; }

.nsfpp-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 14px;
}

.nsfpp-card__badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #7567fc, #4fb6ef);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nsfpp-card__badge--large { background: linear-gradient(135deg, #7567fc, #5b87fb); }
.nsfpp-card__badge--medium { color: #07152b; background: #79d7ff; }
.nsfpp-card__badge--small { background: #415b94; }
.nsfpp-card__badge--original { background: linear-gradient(135deg, #5045dc, #7465fc); }

.nsfpp .nsfpp-card__meta {
  color: var(--nsfpp-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.nsfpp-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.nsfpp .nsfpp-card__action {
  display: inline-flex !important;
  flex: 1 1 calc(50% - 4px);
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid rgba(141, 177, 255, 0.2) !important;
  border-radius: 11px !important;
  outline: none;
  color: #edf5ff !important;
  background: rgba(48, 72, 113, 0.9) !important;
  font-family: var(--nsfpp-font) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  cursor: pointer;
  appearance: none !important;
  -webkit-appearance: none !important;
  touch-action: manipulation;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.nsfpp .nsfpp-card__action--primary {
  border-color: transparent !important;
  color: #fff !important;
  background: linear-gradient(135deg, #7567fc, #3daadf) !important;
}

.nsfpp .nsfpp-card__action:hover {
  background: rgba(65, 93, 145, 0.95) !important;
  transform: translateY(-1px);
}

.nsfpp .nsfpp-card__action--primary:hover {
  filter: brightness(1.1);
  background: linear-gradient(135deg, #8679ff, #45baf2) !important;
}

.nsfpp .nsfpp-details__title {
  color: var(--nsfpp-ink);
  font-size: 1.05rem;
  font-weight: 800;
}

.nsfpp .nsfpp-details__text {
  color: var(--nsfpp-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  white-space: pre-line;
}

.nsfpp-details__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.nsfpp-details__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  padding: 11px 13px;
  border: 1px solid rgba(145, 176, 246, 0.14);
  border-radius: 12px;
  background: rgba(25, 47, 80, 0.56);
}

.nsfpp .nsfpp-details__label {
  color: var(--nsfpp-dim);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nsfpp .nsfpp-details__value {
  color: var(--nsfpp-ink);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Modal */
.nsfpp-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(3, 9, 23, 0.8);
  backdrop-filter: blur(9px);
}

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

.nsfpp-modal__dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(90vh, 900px);
  padding: 16px;
  overflow: auto;
  border: 1px solid rgba(147, 183, 255, 0.25);
  border-radius: 18px;
  background: #112140;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
}

.nsfpp .nsfpp-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(176, 205, 255, 0.19) !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: rgba(40, 60, 96, 0.92) !important;
  cursor: pointer;
  appearance: none !important;
  -webkit-appearance: none !important;
  touch-action: manipulation;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nsfpp .nsfpp-modal__close:hover {
  background: #3e5b90 !important;
  transform: rotate(4deg);
}

.nsfpp .nsfpp-modal__media {
  width: 100%;
  max-height: min(65vh, 640px);
  margin: 8px 0 12px;
  border-radius: 12px;
  background: #091426;
  object-fit: contain;
}

.nsfpp .nsfpp-modal__caption {
  margin-bottom: 12px;
  color: var(--nsfpp-muted);
  font-size: 0.9rem;
  text-align: center;
}

.nsfpp .nsfpp-modal__dl {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100%;
  height: 50px;
  min-height: 50px;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 13px !important;
  outline: none;
  color: #fff !important;
  background: linear-gradient(135deg, #7b6cfe, #3eb5ef) !important;
  box-shadow: 0 10px 20px rgba(72, 92, 225, 0.25);
  font-family: var(--nsfpp-font) !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  appearance: none !important;
  -webkit-appearance: none !important;
  touch-action: manipulation;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.nsfpp .nsfpp-modal__dl:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* Responsive — tablet */
@media (min-width: 769px) {
  .nsfpp {
    --nsfpp-cols: 2;
    --nsfpp-pad: 18px;
    --nsfpp-avatar: 104px;
  }

  .nsfpp-search__row {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .nsfpp .nsfpp-search__field {
    flex: 1 1 220px;
    width: auto;
  }

  .nsfpp-search__actions {
    flex: 0 0 auto;
    flex-direction: row;
    width: auto;
    flex-wrap: nowrap;
  }

  .nsfpp .nsfpp-search__actions .nsfpp-btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 118px;
  }

  .nsfpp-profile,
  .nsfpp-skeleton__profile {
    grid-template-columns: var(--nsfpp-avatar) minmax(0, 1fr);
    justify-items: stretch;
    text-align: left;
  }

  .nsfpp-profile__meta,
  .nsfpp-skeleton__meta {
    align-items: flex-start;
    text-align: left;
  }

  .nsfpp-meta,
  .nsfpp-skeleton__stats { justify-content: flex-start; }

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

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

/* Responsive — desktop */
@media (min-width: 1024px) {
  .nsfpp { --nsfpp-cols: 3; --nsfpp-pad: 20px; }

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

@media (min-width: 1200px) {
  .nsfpp { --nsfpp-cols: 4; }

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

/* ResizeObserver helpers */
.nsfpp.nsfpp--compact .nsfpp-search__row {
  flex-direction: column !important;
  flex-wrap: nowrap !important;
}

.nsfpp.nsfpp--compact .nsfpp-search__field,
.nsfpp.nsfpp--compact .nsfpp-search__actions {
  flex: 1 1 auto !important;
  width: 100% !important;
}

.nsfpp.nsfpp--compact .nsfpp-search__actions {
  flex-direction: column !important;
}

.nsfpp.nsfpp--compact .nsfpp-search__actions .nsfpp-btn {
  flex: 1 1 auto !important;
  width: 100% !important;
}

.nsfpp.nsfpp--compact .nsfpp-profile,
.nsfpp.nsfpp--compact .nsfpp-skeleton__profile {
  grid-template-columns: 1fr !important;
  justify-items: center !important;
  text-align: center !important;
}

.nsfpp.nsfpp--compact .nsfpp-profile__meta,
.nsfpp.nsfpp--compact .nsfpp-skeleton__meta {
  align-items: center !important;
  text-align: center !important;
}

.nsfpp.nsfpp--compact .nsfpp-meta { justify-content: center !important; }

.nsfpp.nsfpp--compact .nsfpp-tabs__btn { flex: 1 1 calc(50% - 6px) !important; }

.nsfpp.nsfpp--compact .nsfpp-grid,
.nsfpp.nsfpp--compact .nsfpp-skeleton__grid,
.nsfpp.nsfpp--compact .nsfpp-tab-sk--photos { grid-template-columns: minmax(0, 1fr) !important; }

.nsfpp.nsfpp--narrow .nsfpp-tabs__btn { flex: 1 1 100% !important; }

.nsfpp.nsfpp--narrow .nsfpp-search__actions {
  flex-direction: column !important;
}

.nsfpp.nsfpp--narrow .nsfpp-search__actions .nsfpp-btn {
  flex: 1 1 auto !important;
  width: 100% !important;
}

.nsfpp.nsfpp--narrow .nsfpp-card__actions { flex-direction: column; }

.nsfpp.nsfpp--narrow .nsfpp-card__action {
  flex: 1 1 auto !important;
  width: 100%;
}

/* Search controls: one row on large screens, column layout through 768px */
.nsfpp .nsfpp-search,
.nsfpp .nsfpp-search .nsfpp-search__row,
.nsfpp .nsfpp-search .nsfpp-search__actions {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

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

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

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

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

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

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

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

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

@media (max-width: 768px) {
  .nsfpp {
    min-height: 0;
    padding: 10px;
    border-radius: 14px;
  }

  .nsfpp-hero { padding-top: 20px; }

  .nsfpp .nsfpp-hero__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .nsfpp-hero__title-text {
    font-size: clamp(1.15rem, 6vw, 1.42rem);
    text-align: center;
  }

  .nsfpp .nsfpp-search { padding: 13px; }

  .nsfpp .nsfpp-search .nsfpp-search__row {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
  }

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

  .nsfpp .nsfpp-search .nsfpp-search__actions,
  .nsfpp .nsfpp-search .nsfpp-search__row > .nsfpp-search__actions {
    flex: 1 1 auto !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .nsfpp .nsfpp-search .nsfpp-search__row > .nsfpp-btn,
  .nsfpp .nsfpp-search .nsfpp-search__actions .nsfpp-btn,
  .nsfpp .nsfpp-search .nsfpp-search__row .nsfpp-search__actions .nsfpp-btn {
    flex: 0 0 52px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

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

  .nsfpp-card__actions { flex-direction: column; }

  .nsfpp .nsfpp-card__action {
    flex: 1 1 auto;
    width: 100%;
  }

  .nsfpp-modal { padding: 10px; }
  .nsfpp-modal__dialog { padding: 14px; border-radius: 15px; }
}

@media (hover: none) {
  .nsfpp .nsfpp-btn:hover {
    filter: none;
    transform: none;
    box-shadow: 0 7px 18px rgba(3, 12, 29, 0.2);
  }

  .nsfpp-card:hover {
    border-color: var(--nsfpp-line);
    background: var(--nsfpp-panel-soft);
    box-shadow: 0 8px 22px rgba(3, 11, 27, 0.14);
    transform: none;
  }

  .nsfpp-card__overlay {
    opacity: 0.82;
    background: rgba(7, 21, 43, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nsfpp .nsfpp-sk,
  .nsfpp .nsfpp-btn,
  .nsfpp-card,
  .nsfpp-card__img,
  .nsfpp-card__overlay,
  .nsfpp .nsfpp-tabs__btn,
  .nsfpp .nsfpp-card__action,
  .nsfpp .nsfpp-profile__zoom,
  .nsfpp .nsfpp-modal__dl,
  .nsfpp .nsfpp-modal__close {
    animation: none !important;
    transition: none !important;
  }
}