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

    box-sizing: border-box !important;
    font-family: var(--nsfcp-font);
    color: var(--nsfcp-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(--nsfcp-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%;
  }

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

  .nsfcp :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;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .nsfcp .nsfcp-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(--nsfcp-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(--nsfcp-hover) !important;
    box-sizing: border-box !important;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .nsfcp .nsfcp-content.is-placeholder .nsfcp-notice,
  .nsfcp .nsfcp-content.is-placeholder .nsfcp-profile__cover-zoom {
    display: none !important;
  }

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

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

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

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

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

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

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

  .nsfcp-skeleton__line {
    height: 16px;
  }

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

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

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

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

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

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

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

  .nsfcp-skeleton__cover {
    width: 100%;
    aspect-ratio: 1640 / 720;
    border-radius: 10px !important;
    margin-bottom: 12px;
  }

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

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

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

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

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

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

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

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

  .nsfcp-profile {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    text-align: center;
    padding: 0;
    border-radius: 8px;
    background: var(--nsfcp-panel-soft);
    border: 1px solid var(--nsfcp-line);
    margin-bottom: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .nsfcp-profile__cover-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1640 / 720;
    background: #0b1f3d;
    cursor: pointer;
    overflow: hidden;
  }

  .nsfcp .nsfcp-profile__cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: var(--nsfcp-panel-soft);
  }

  .nsfcp .nsfcp-profile__cover-zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50% !important;
    border: 0 !important;
    background: rgba(7, 21, 43, 0.72) !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;
  }

  .nsfcp .nsfcp-profile__cover-zoom:hover {
    background: rgba(24, 119, 242, 0.9) !important;
  }

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

  .nsfcp-profile__avatar-wrap {
    position: relative;
    width: var(--nsfcp-avatar);
    height: var(--nsfcp-avatar);
    margin-top: calc(var(--nsfcp-avatar) / -2);
  }

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

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

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

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

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

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

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

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

  .nsfcp-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(--nsfcp-line);
    color: #9ec9ff;
    font-size: 0.78rem;
    font-weight: 600;
  }

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

  .nsfcp .nsfcp-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(--nsfcp-line) !important;
    background: var(--nsfcp-panel-soft) !important;
    color: var(--nsfcp-muted) !important;
    font-family: var(--nsfcp-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;
  }

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

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

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

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

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

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

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

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

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

  .nsfcp .nsfcp-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(--nsfcp-line);
    color: #9ec9ff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

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

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

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

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

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

  .nsfcp-card__media--size-thumb {
    aspect-ratio: 1 / 1;
  }

  .nsfcp-card__media--size-hd,
  .nsfcp-card__media--size-large,
  .nsfcp-card__media--size-medium {
    aspect-ratio: 1640 / 720;
  }

  .nsfcp-card__media--size-large .nsfcp-card__img,
  .nsfcp-card__media--size-medium .nsfcp-card__img,
  .nsfcp-card__media--size-thumb .nsfcp-card__img {
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }

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

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

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

  .nsfcp-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(--nsfcp-accent);
  }

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

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

  .nsfcp-card__badge--thumb {
    background: #24528c;
  }

  .nsfcp-card__badge--hd,
  .nsfcp-card__badge--original {
    background: #0d65d9;
  }

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

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

  .nsfcp .nsfcp-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(--nsfcp-line) !important;
    background: #24528c !important;
    color: #ffffff !important;
    font-family: var(--nsfcp-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;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .nsfcp .nsfcp-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(--nsfcp-accent) !important;
    color: #ffffff !important;
    font-family: var(--nsfcp-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;
  }

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

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

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

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

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

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

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

    .nsfcp-skeleton__profile {
      align-items: stretch;
      text-align: left;
    }

    .nsfcp-profile__avatar-wrap {
      margin-top: calc(var(--nsfcp-avatar) / -2.5);
    }

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

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

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

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

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

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

  @media (min-width: 1200px) {
    .nsfcp {
      --nsfcp-cols: 2;
    }

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

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

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

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

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

  .nsfcp.nsfcp--compact .nsfcp-profile__avatar-wrap {
    margin-top: calc(var(--nsfcp-avatar) / -2);
  }

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

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

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

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

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

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

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

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

  @media (hover: none) {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- Codex CSS updates --- */
/* New Social Facebook Cover Photo Viewer — WordPress-scoped */
.nsfcp {
  --nsfcp-ink: #f8fbff;
  --nsfcp-muted: #c9d8ee;
  --nsfcp-dim: #8da6c8;
  --nsfcp-bg: #081426;
  --nsfcp-panel: rgba(13, 28, 52, 0.82);
  --nsfcp-panel-soft: rgba(20, 42, 74, 0.78);
  --nsfcp-hover: rgba(38, 83, 142, 0.92);
  --nsfcp-line: rgba(124, 173, 255, 0.24);
  --nsfcp-line-strong: rgba(124, 173, 255, 0.44);
  --nsfcp-accent: #2f80ff;
  --nsfcp-accent-deep: #155edb;
  --nsfcp-cool: #70d6ff;
  --nsfcp-cool-deep: #34a9f6;
  --nsfcp-success: #39d98a;
  --nsfcp-danger: #ff4d6d;
  --nsfcp-warning: #ffd166;
  --nsfcp-radius: 16px;
  --nsfcp-radius-sm: 12px;
  --nsfcp-shadow: 0 18px 48px rgba(0, 11, 31, 0.38);
  --nsfcp-shadow-soft: 0 10px 28px rgba(0, 11, 31, 0.24);
  --nsfcp-focus: 0 0 0 4px rgba(112, 214, 255, 0.22);
  --nsfcp-font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --nsfcp-pad: 14px;
  --nsfcp-gap: 14px;
  --nsfcp-avatar: 88px;
  --nsfcp-cols: 1;

  box-sizing: border-box !important;
  font-family: var(--nsfcp-font);
  color: var(--nsfcp-ink);
  line-height: 1.5;
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-width: 0 !important;
  margin: 0 auto;
  padding: clamp(12px, 3vw, 24px);
  background:
    radial-gradient(ellipse 70% 42% at 8% 0%, rgba(47, 128, 255, 0.34), transparent 58%),
    radial-gradient(ellipse 58% 38% at 100% 8%, rgba(112, 214, 255, 0.20), transparent 56%),
    linear-gradient(145deg, #06101f 0%, #0b1b32 42%, #102d51 78%, #164b8f 140%);
  border-radius: 0;
  border: 1px solid var(--nsfcp-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%;
}

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

.nsfcp :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;
}

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

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

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

.nsfcp a:hover {
  color: #b7ecff;
  text-decoration: underline;
}

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

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

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

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

.nsfcp .nsfcp-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(--nsfcp-accent), var(--nsfcp-cool-deep));
  color: #fff;
  font-size: 1.28rem;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(47, 128, 255, 0.34);
}

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

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

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

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

.nsfcp-search {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  text-align: left;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-top: 4px;
  padding: clamp(14px, 2.4vw, 18px);
  background: linear-gradient(180deg, rgba(14, 31, 58, 0.86), rgba(10, 23, 42, 0.78));
  border: 1px solid var(--nsfcp-line);
  border-radius: var(--nsfcp-radius);
  box-shadow: var(--nsfcp-shadow-soft);
  backdrop-filter: blur(16px);
}

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

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

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

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

.nsfcp .nsfcp-search__field:focus {
  background: rgba(7, 20, 39, 0.92) !important;
  border-color: var(--nsfcp-cool) !important;
  box-shadow: var(--nsfcp-focus), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nsfcp .nsfcp-search__field::placeholder {
  color: var(--nsfcp-dim);
  opacity: 1;
}

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

.nsfcp .nsfcp-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  flex: 1 1 auto;
  width: 100%;
  height: 52px !important;
  min-height: 52px !important;
  min-width: 0;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 12px !important;
  font-family: var(--nsfcp-font) !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, opacity 0.18s ease, filter 0.18s 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: linear-gradient(135deg, rgba(47, 128, 255, 0.92), rgba(52, 169, 246, 0.92)) !important;
  box-shadow: 0 12px 24px rgba(47, 128, 255, 0.24);
  box-sizing: border-box !important;
}

.nsfcp .nsfcp-btn i,
.nsfcp .nsfcp-tabs__btn i,
.nsfcp .nsfcp-card__action i,
.nsfcp .nsfcp-profile__zoom i,
.nsfcp .nsfcp-profile__cover-zoom i,
.nsfcp .nsfcp-modal__close i,
.nsfcp .nsfcp-modal__dl i,
.nsfcp .nsfcp-demo-chip i,
.nsfcp .nsfcp-notice i,
.nsfcp .nsfcp-card__badge i,
.nsfcp .nsfcp-card__overlay i,
.nsfcp .nsfcp-meta__chip i,
.nsfcp .nsfcp-section__title i,
.nsfcp i.fa-solid,
.nsfcp i.fas,
.nsfcp .fa-circle-info,
.nsfcp .fa-clone,
.nsfcp .fa-expand,
.nsfcp .fa-panorama,
.nsfcp .fa-paste,
.nsfcp .fa-xmark {
  --fa-display: inline-block;
  display: inline-block !important;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  font-size: 0.95em;
  width: 1.15em;
  min-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;
}

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

.nsfcp .nsfcp-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(47, 128, 255, 0.32);
}

.nsfcp .nsfcp-btn:focus-visible {
  outline: none;
  box-shadow: var(--nsfcp-focus), 0 16px 30px rgba(47, 128, 255, 0.28);
}

.nsfcp .nsfcp-btn:active {
  opacity: 0.94;
  transform: translateY(0);
}

.nsfcp .nsfcp-btn:disabled {
  opacity: 0.55;
  cursor: wait;
  filter: none;
  transform: none;
  box-shadow: none;
}

.nsfcp .nsfcp-btn--paste {
  background: linear-gradient(135deg, rgba(35, 73, 125, 0.95), rgba(29, 57, 98, 0.95)) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(0, 11, 31, 0.25);
}

.nsfcp .nsfcp-btn--paste:hover {
  background: linear-gradient(135deg, rgba(48, 97, 162, 0.98), rgba(38, 75, 128, 0.98)) !important;
}

.nsfcp .nsfcp-btn--view {
  background: linear-gradient(135deg, var(--nsfcp-accent), var(--nsfcp-cool-deep)) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(47, 128, 255, 0.30);
}

.nsfcp .nsfcp-btn--view:hover {
  background: linear-gradient(135deg, #4b95ff, var(--nsfcp-accent-deep)) !important;
}

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

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

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

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

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

.nsfcp #xrespond-tools-turnstile-host .xrespond-ts-error {
  color: #ff9aae;
}

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

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

.nsfcp-demo-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  max-width: 100%;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(112, 214, 255, 0.12);
  border: 1px solid rgba(112, 214, 255, 0.30);
  color: #b7ecff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: normal;
}

.nsfcp .nsfcp-alert {
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 77, 109, 0.12);
  border: 1px solid rgba(255, 77, 109, 0.38);
  color: #ffb1c0;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.45;
  word-break: break-word;
}

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

.nsfcp .nsfcp-notice {
  display: none;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(112, 214, 255, 0.11);
  border: 1px solid rgba(112, 214, 255, 0.30);
  color: #b7ecff;
  font-size: 0.86rem;
  line-height: 1.45;
  word-break: break-word;
}

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

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

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

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

.nsfcp .nsfcp-content.is-placeholder .nsfcp-notice,
.nsfcp .nsfcp-content.is-placeholder .nsfcp-profile__cover-zoom {
  display: none !important;
}

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

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

.nsfcp .nsfcp-sk {
  background: linear-gradient(90deg, rgba(47, 128, 255, 0.10) 0%, rgba(112, 214, 255, 0.26) 45%, rgba(47, 128, 255, 0.10) 100%);
  background-size: 800px 100%;
  animation: nsfcp-shimmer 1.35s ease-in-out infinite;
  border-radius: 12px;
}

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

.nsfcp-skeleton__profile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-items: center;
  padding: var(--nsfcp-pad);
  border-radius: var(--nsfcp-radius-sm);
  background: linear-gradient(160deg, rgba(47, 128, 255, 0.13), rgba(112, 214, 255, 0.07));
  border: 1px solid var(--nsfcp-line);
  text-align: center;
  margin-bottom: 16px;
}

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

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

.nsfcp-skeleton__line {
  height: 16px;
}

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

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

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

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

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

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

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

.nsfcp-skeleton__cover {
  width: 100%;
  aspect-ratio: 1640 / 720;
  border-radius: var(--nsfcp-radius-sm) !important;
  margin-bottom: 12px;
}

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

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

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

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

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

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

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

.nsfcp-panel {
  background: linear-gradient(180deg, rgba(14, 31, 58, 0.86), rgba(9, 21, 39, 0.78));
  border: 1px solid var(--nsfcp-line);
  border-radius: var(--nsfcp-radius);
  box-shadow: var(--nsfcp-shadow);
  padding: clamp(14px, 2.5vw, 22px);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  backdrop-filter: blur(16px);
}

.nsfcp-profile {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  text-align: center;
  padding: 0;
  border-radius: var(--nsfcp-radius);
  background: var(--nsfcp-panel-soft);
  border: 1px solid var(--nsfcp-line);
  margin-bottom: 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  box-shadow: var(--nsfcp-shadow-soft);
}

.nsfcp-profile__cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1640 / 720;
  background: #071427;
  cursor: pointer;
  overflow: hidden;
}

.nsfcp .nsfcp-profile__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--nsfcp-panel-soft);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.nsfcp-profile__cover-wrap:hover .nsfcp-profile__cover {
  transform: scale(1.015);
  filter: saturate(1.06);
}

.nsfcp .nsfcp-profile__cover-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(5, 15, 29, 0.74) !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;
  backdrop-filter: blur(10px);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.nsfcp .nsfcp-profile__cover-zoom:hover {
  background: rgba(47, 128, 255, 0.94) !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(47, 128, 255, 0.28);
}

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

.nsfcp-profile__avatar-wrap {
  position: relative;
  width: var(--nsfcp-avatar);
  height: var(--nsfcp-avatar);
  margin-top: calc(var(--nsfcp-avatar) / -2);
}

.nsfcp-profile__ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--nsfcp-accent), var(--nsfcp-cool));
  box-shadow: 0 10px 24px rgba(47, 128, 255, 0.28);
}

.nsfcp .nsfcp-profile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #081426;
  background: var(--nsfcp-panel-soft);
}

.nsfcp .nsfcp-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: linear-gradient(135deg, var(--nsfcp-accent), var(--nsfcp-cool-deep)) !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 11, 31, 0.34);
  appearance: none !important;
  -webkit-appearance: none !important;
  padding: 0 !important;
  margin: 0 !important;
  touch-action: manipulation;
  transition: transform 0.18s ease, filter 0.18s ease;
}

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

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

.nsfcp .nsfcp-profile__name {
  font-size: clamp(1.12rem, 2.7vw, 1.38rem);
  font-weight: 800;
  color: var(--nsfcp-ink);
  line-height: 1.3;
  letter-spacing: 0;
}

.nsfcp .nsfcp-profile__handle {
  color: var(--nsfcp-cool);
  font-size: 0.94rem;
  font-weight: 700;
}

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

.nsfcp-meta__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(112, 214, 255, 0.10);
  border: 1px solid var(--nsfcp-line);
  color: #c7efff;
  font-size: 0.78rem;
  font-weight: 700;
}

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

.nsfcp .nsfcp-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: 46px;
  height: 46px;
  padding: 0 14px !important;
  border-radius: 12px !important;
  border: 1px solid var(--nsfcp-line) !important;
  background: rgba(20, 42, 74, 0.72) !important;
  color: var(--nsfcp-muted) !important;
  font-family: var(--nsfcp-font) !important;
  font-size: 0.9rem !important;
  font-weight: 800 !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;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.nsfcp .nsfcp-tabs__btn:hover {
  background: rgba(38, 83, 142, 0.86) !important;
  border-color: var(--nsfcp-line-strong) !important;
  transform: translateY(-1px);
}

.nsfcp .nsfcp-tabs__btn:focus-visible {
  outline: none;
  box-shadow: var(--nsfcp-focus);
}

.nsfcp .nsfcp-tabs__btn.is-active {
  background: linear-gradient(135deg, rgba(47, 128, 255, 0.26), rgba(112, 214, 255, 0.14)) !important;
  border-color: rgba(112, 214, 255, 0.48) !important;
  color: #dff7ff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

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

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

.nsfcp-empty {
  text-align: center;
  padding: 30px 12px;
  color: var(--nsfcp-dim);
  font-size: 0.94rem;
}

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

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

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

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

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

.nsfcp .nsfcp-section__count {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(112, 214, 255, 0.10);
  border: 1px solid var(--nsfcp-line);
  color: #c7efff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

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

.nsfcp-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  background: linear-gradient(180deg, rgba(20, 42, 74, 0.82), rgba(12, 28, 51, 0.86));
  border: 1px solid var(--nsfcp-line);
  border-radius: var(--nsfcp-radius-sm);
  overflow: hidden;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 8px 20px rgba(0, 11, 31, 0.18);
}

.nsfcp-card:hover {
  background: linear-gradient(180deg, rgba(34, 73, 124, 0.90), rgba(15, 35, 64, 0.90));
  border-color: var(--nsfcp-line-strong);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 11, 31, 0.28);
}

.nsfcp-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1640 / 720;
  background: #071427;
  cursor: pointer;
  overflow: hidden;
}

.nsfcp .nsfcp-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.nsfcp-card:hover .nsfcp-card__img {
  transform: scale(1.018);
  filter: saturate(1.06);
}

.nsfcp-card__media--size-thumb {
  aspect-ratio: 1 / 1;
}

.nsfcp-card__media--size-hd,
.nsfcp-card__media--size-large,
.nsfcp-card__media--size-medium {
  aspect-ratio: 1640 / 720;
}

.nsfcp-card__media--size-large .nsfcp-card__img,
.nsfcp-card__media--size-medium .nsfcp-card__img,
.nsfcp-card__media--size-thumb .nsfcp-card__img {
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.nsfcp-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 15, 29, 0.52);
  opacity: 0;
  transition: opacity 0.2s ease;
  color: #fff;
  font-size: 1.25rem;
  pointer-events: none;
}

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

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

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

.nsfcp-card__badge--large {
  background: linear-gradient(135deg, #2f80ff, #70d6ff);
}

.nsfcp-card__badge--medium {
  background: linear-gradient(135deg, #70d6ff, #a7f3ff);
  color: #06101f;
}

.nsfcp-card__badge--thumb {
  background: linear-gradient(135deg, #244f88, #3670b7);
}

.nsfcp-card__badge--hd,
.nsfcp-card__badge--original {
  background: linear-gradient(135deg, #155edb, #2f80ff);
}

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

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

.nsfcp .nsfcp-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: 10px !important;
  border: 1px solid var(--nsfcp-line) !important;
  background: rgba(35, 73, 125, 0.92) !important;
  color: #ffffff !important;
  font-family: var(--nsfcp-font) !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  cursor: pointer;
  appearance: none !important;
  -webkit-appearance: none !important;
  touch-action: manipulation;
  text-decoration: none !important;
  margin: 0 !important;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.nsfcp .nsfcp-card__action--primary {
  background: linear-gradient(135deg, var(--nsfcp-accent), var(--nsfcp-cool-deep)) !important;
  border-color: transparent !important;
  color: #ffffff !important;
}

.nsfcp .nsfcp-card__action:hover {
  background: rgba(48, 97, 162, 0.98) !important;
  border-color: var(--nsfcp-line-strong) !important;
  transform: translateY(-1px);
}

.nsfcp .nsfcp-card__action:focus-visible {
  outline: none;
  box-shadow: var(--nsfcp-focus);
}

.nsfcp .nsfcp-card__action--primary:hover {
  background: linear-gradient(135deg, #4b95ff, var(--nsfcp-accent-deep)) !important;
}

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

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

.nsfcp .nsfcp-details__text {
  color: var(--nsfcp-muted);
  font-size: 0.94rem;
  line-height: 1.58;
  white-space: pre-line;
}

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

.nsfcp-details__item {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(20, 42, 74, 0.72);
  border: 1px solid var(--nsfcp-line);
}

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

.nsfcp .nsfcp-details__value {
  color: var(--nsfcp-ink);
  font-size: 0.92rem;
  font-weight: 700;
}

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

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

.nsfcp-modal__dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
  background: linear-gradient(180deg, rgba(14, 31, 58, 0.96), rgba(8, 20, 38, 0.96));
  border: 1px solid var(--nsfcp-line-strong);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(0, 11, 31, 0.60);
  padding: 16px;
}

.nsfcp .nsfcp-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(20, 42, 74, 0.86) !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;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.nsfcp .nsfcp-modal__close:hover {
  background: rgba(255, 77, 109, 0.92) !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(255, 77, 109, 0.22);
}

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

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

.nsfcp .nsfcp-modal__dl {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100%;
  min-height: 48px;
  height: 48px;
  border-radius: 12px !important;
  border: 0 !important;
  background: linear-gradient(135deg, var(--nsfcp-accent), var(--nsfcp-cool-deep)) !important;
  color: #ffffff !important;
  font-family: var(--nsfcp-font) !important;
  font-size: 0.94rem !important;
  font-weight: 800 !important;
  cursor: pointer;
  appearance: none !important;
  -webkit-appearance: none !important;
  touch-action: manipulation;
  margin: 0 !important;
  padding: 0 14px !important;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.nsfcp .nsfcp-modal__dl:hover {
  background: linear-gradient(135deg, #4b95ff, var(--nsfcp-accent-deep)) !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(47, 128, 255, 0.28);
}

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

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

  .nsfcp .nsfcp-search__field {
    flex: 1 1 260px;
    width: auto;
  }

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

  .nsfcp .nsfcp-search__actions .nsfcp-btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 124px;
  }

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

  .nsfcp-skeleton__profile {
    align-items: stretch;
    text-align: left;
  }

  .nsfcp-profile__avatar-wrap {
    margin-top: calc(var(--nsfcp-avatar) / -2.5);
  }

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

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

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

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

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

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

@media (min-width: 1200px) {
  .nsfcp {
    --nsfcp-cols: 2;
  }

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

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

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

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

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

.nsfcp.nsfcp--compact .nsfcp-profile__avatar-wrap {
  margin-top: calc(var(--nsfcp-avatar) / -2);
}

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

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

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

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

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

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

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

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

@media (hover: none) {
  .nsfcp .nsfcp-btn:hover {
    filter: none;
    transform: none;
  }

  .nsfcp-card:hover {
    transform: none;
  }

  .nsfcp-card__overlay {
    opacity: 0.82;
    background: rgba(5, 15, 29, 0.30);
  }
}

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

/* Search controls: one row on large screens, column on small and medium screens */
.nsfcp .nsfcp-search,
.nsfcp .nsfcp-search .nsfcp-search__row,
.nsfcp .nsfcp-search .nsfcp-search__actions {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

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

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

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

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

.nsfcp.nsfcp--compact .nsfcp-search .nsfcp-search__row,
.nsfcp.nsfcp--narrow .nsfcp-search .nsfcp-search__row {
  flex-direction: column !important;
  flex-wrap: nowrap !important;
}

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

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

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

@media (max-width: 768px) {
  .nsfcp {
    padding: 12px;
    min-height: 100%;
  }

  .nsfcp-hero {
    padding: 22px 0 12px;
  }

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

  .nsfcp .nsfcp-hero__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1.12rem;
  }

  .nsfcp-hero__title-text {
    font-size: clamp(1.24rem, 5.4vw, 1.52rem);
    line-height: 1.25;
  }

  .nsfcp .nsfcp-hero__lead {
    font-size: 0.94rem;
    line-height: 1.55;
    margin-bottom: 14px;
  }

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

  .nsfcp .nsfcp-search .nsfcp-search__field,
  .nsfcp .nsfcp-search .nsfcp-search__row > .nsfcp-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;
  }

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

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

  .nsfcp-tabs {
    gap: 8px;
  }

  .nsfcp .nsfcp-tabs__btn {
    flex: 1 1 100%;
    height: 46px;
    min-height: 46px;
  }

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

  .nsfcp .nsfcp-card__action {
    width: 100%;
    flex: 0 0 auto;
  }

  .nsfcp-modal {
    padding: 10px;
  }

  .nsfcp-modal__dialog {
    padding: 12px;
    border-radius: 16px;
  }
}

@media (max-width: 420px) {
  .nsfcp {
    padding: 10px;
  }

  .nsfcp-search,
  .nsfcp-panel,
  .nsfcp-skeleton__panel {
    border-radius: 14px;
  }

  .nsfcp-hero__brand {
    gap: 10px;
  }

  .nsfcp-hero__title-text {
    font-size: 1.24rem;
  }

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

  .nsfcp .nsfcp-search__field,
  .nsfcp .nsfcp-btn {
    height: 50px !important;
    min-height: 50px !important;
    max-height: 54px !important;
  }

  .nsfcp .nsfcp-btn {
    font-size: 0.92rem !important;
  }

  .nsfcp-profile__row {
    padding: 14px 12px;
  }

  .nsfcp-meta__chip,
  .nsfcp-demo-chip {
    font-size: 0.76rem;
  }
}