@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");

.nstfv {
    container-type: inline-size;
    container-name: nstfv;
    -webkit-text-size-adjust: 100%;
    --nstfv-ink: #ffffff;
    --nstfv-muted: #cbd5e1;
    --nstfv-dim: #94a3b8;
    --nstfv-panel: rgba(22, 24, 35, 0.94);
    --nstfv-panel-soft: rgba(255, 255, 255, 0.08);
    --nstfv-line: rgba(255, 255, 255, 0.12);
    --nstfv-accent: #ff0050;
    --nstfv-accent-deep: #ee1d52;
    --nstfv-cool: #00f2ea;
    --nstfv-danger: #ff4d6d;
    --nstfv-radius: 16px;
    --nstfv-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    --nstfv-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --nstfv-gap: 12px;
    --nstfv-pad: 12px;
    box-sizing: border-box;
    font-family: var(--nstfv-font);
    color: var(--nstfv-ink);
    line-height: 1.5;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    min-width: 0;
    margin: 0 auto;
    padding: clamp(10px, 2.5vw, 28px) max(clamp(6px, 2vw, 14px), env(safe-area-inset-right, 0px)) max(clamp(14px, 3vw, 28px), env(safe-area-inset-bottom, 0px)) max(clamp(6px, 2vw, 14px), env(safe-area-inset-left, 0px));
    background:
      radial-gradient(ellipse 75% 50% at 12% 0%, rgba(255, 0, 80, 0.28), transparent 55%),
      radial-gradient(ellipse 70% 45% at 92% 8%, rgba(0, 242, 234, 0.18), transparent 50%),
      linear-gradient(145deg, #0a0a0f 0%, #161823 42%, #1c1917 100%);
    border-radius: 0;
    position: relative;
    isolation: isolate;
    overflow-x: hidden;
  }

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

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

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

  .nstfv img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 0;
  }

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

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

  .nstfv-shell {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--nstfv-gap);
    width: 100%;
    min-width: 0;
  }

  .nstfv-hero {
    background: transparent;
    padding: 36px 0 14px;
    text-align: center;
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .nstfv-hero__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 4px;
  }

  .nstfv-hero__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    margin: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--nstfv-accent), var(--nstfv-cool));
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 0, 80, 0.35);
    flex: 0 0 auto;
  }

  .nstfv .nstfv-hero__brand i {
    font-size: 1.25rem !important;
    width: auto;
    color: #fff !important;
    display: inline-block !important;
    line-height: 1 !important;
    font-style: normal !important;
    -webkit-font-smoothing: antialiased;
  }

  .nstfv-hero__title {
    font-size: clamp(1.35rem, 4vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
  }

  .nstfv-hero__title-mark {
    position: relative;
    color: var(--nstfv-accent);
    display: inline-block;
  }

  .nstfv-hero__title-mark::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 3px;
    background: linear-gradient(90deg, var(--nstfv-accent), var(--nstfv-cool));
    border-radius: 2px;
  }

  .nstfv-hero__lead {
    margin-top: 8px;
    color: var(--nstfv-muted);
    font-size: 0.95rem;
  }

  .nstfv-search {
    text-align: left;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-top: 14px;
    padding: clamp(14px, 2.5vw, 20px);
    background: var(--nstfv-panel);
    border: 1px solid var(--nstfv-line);
    border-radius: var(--nstfv-radius);
    box-shadow: var(--nstfv-shadow);
  }

  .nstfv-search__label {
    display: block;
    font-size: 0.82rem;
    color: var(--nstfv-dim);
    margin-bottom: 6px;
    font-weight: 600;
  }

  .nstfv-search__row {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 8px;
  }

  .nstfv-search__field {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    border: 1px solid var(--nstfv-line);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.35);
    color: var(--nstfv-ink);
    padding: 12px 14px;
    font-size: 16px;
    outline: none;
  }

  .nstfv-search__field:focus {
    border-color: var(--nstfv-cool);
    box-shadow: 0 0 0 3px rgba(0, 242, 234, 0.15);
  }

  .nstfv-search__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

  .nstfv-btn {
    appearance: none;
    border: 0;
    border-radius: 12px;
    padding: 11px 14px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    flex: 1 1 auto;
    min-height: 44px;
  }

  .nstfv-btn:hover {
    transform: translateY(-1px);
  }

  .nstfv-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
  }

  .nstfv-btn--paste {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid var(--nstfv-line);
  }

  .nstfv-btn--view {
    background: linear-gradient(135deg, var(--nstfv-accent), var(--nstfv-accent-deep));
  }

  .nstfv-btn--reset {
    background: linear-gradient(135deg, var(--nstfv-cool), #0891b2);
    color: #041016;
  }

  .nstfv-btn.is-hidden {
    display: none !important;
  }

  .nstfv-alert {
    display: none;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 77, 109, 0.15);
    border: 1px solid rgba(255, 77, 109, 0.35);
    color: #fecdd3;
    font-size: 0.88rem;
  }

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

  .nstfv-alert.is-info {
    background: rgba(0, 242, 234, 0.12);
    border-color: rgba(0, 242, 234, 0.35);
    color: #a5f3fc;
  }

  .nstfv-search__hint {
    margin-top: 8px;
    color: var(--nstfv-dim);
    font-size: 0.8rem;
  }

  .nstfv-skeleton {
    display: none;
  }

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

  .nstfv-skeleton__panel {
    background: var(--nstfv-panel);
    border: 1px solid var(--nstfv-line);
    border-radius: var(--nstfv-radius);
    padding: var(--nstfv-pad);
  }

  .nstfv-sk {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
    background-size: 200% 100%;
    animation: nstfv-shimmer 1.2s ease-in-out infinite;
    border-radius: 10px;
  }

  @keyframes nstfv-shimmer {
    0% {
      background-position: 200% 0;
    }

    100% {
      background-position: -200% 0;
    }
  }

  .nstfv-skeleton__head {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
  }

  .nstfv-skeleton__avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    flex: 0 0 auto;
  }

  .nstfv-skeleton__line {
    height: 12px;
    margin-top: 8px;
  }

  .nstfv-skeleton__line--lg {
    width: 60%;
  }

  .nstfv-skeleton__line--md {
    width: 40%;
  }

  .nstfv-skeleton__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nstfv-skeleton__card {
    height: 160px;
  }

  .nstfv-panel {
    background: var(--nstfv-panel);
    border: 1px solid var(--nstfv-line);
    border-radius: var(--nstfv-radius);
    box-shadow: var(--nstfv-shadow);
    padding: var(--nstfv-pad);
  }

  .nstfv-content.is-hidden {
    display: none;
  }

  .nstfv-notice {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 12px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: rgba(0, 242, 234, 0.08);
    border: 1px solid rgba(0, 242, 234, 0.2);
    color: var(--nstfv-muted);
    font-size: 0.88rem;
  }

  .nstfv-notice i {
    color: var(--nstfv-cool);
    margin-top: 2px;
  }

  .nstfv-content:not(.is-placeholder) .nstfv-notice {
    display: none;
  }

  .nstfv-profile {
    display: grid;
    gap: 14px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--nstfv-line);
  }

  .nstfv-profile__avatar-wrap {
    position: relative;
    width: fit-content;
    margin: 0 auto;
  }

  .nstfv-profile__avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 0, 80, 0.55);
    background: #222;
    cursor: pointer;
  }

  .nstfv-profile__zoom {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--nstfv-accent);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
  }

  .nstfv-content.is-placeholder .nstfv-profile__zoom {
    pointer-events: none;
    opacity: .4;
  }

  .nstfv-profile__name {
    font-size: clamp(1.05rem, 3.5cqi, 1.25rem);
    font-weight: 800;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nstfv-profile__verified {
    color: var(--nstfv-cool);
  }

  .nstfv-profile__verified.is-hidden {
    display: none !important;
  }

  .nstfv-profile__handle {
    color: var(--nstfv-muted);
    margin-top: 2px;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .nstfv-profile__bio {
    margin-top: 8px;
    color: var(--nstfv-dim);
    font-size: 0.9rem;
    white-space: pre-wrap;
    word-break: break-word;
    text-align: center;
  }

  .nstfv-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
  }

  .nstfv-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: 8px 10px;
    border-radius: 12px;
    background: var(--nstfv-panel-soft);
    border: 1px solid var(--nstfv-line);
    text-align: center;
  }

  .nstfv-stat__value {
    font-weight: 800;
    font-size: clamp(0.9rem, 2.8cqi, 1rem);
    overflow-wrap: anywhere;
  }

  .nstfv-stat__label {
    color: var(--nstfv-dim);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
  }

  .nstfv-tools {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
    align-items: stretch;
  }

  .nstfv-find {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--nstfv-line);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    padding: 10px 12px;
    font-size: 16px;
    outline: none;
    min-height: 44px;
  }

  .nstfv-sort {
    width: 100%;
    border: 1px solid var(--nstfv-line);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    padding: 10px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    min-height: 44px;
  }

  .nstfv-meta {
    color: var(--nstfv-dim);
    font-size: 0.82rem;
    font-weight: 600;
    width: 100%;
  }

  .nstfv-more {
    appearance: none;
    width: 100%;
    margin-top: 12px;
    border: 1px solid rgba(0, 242, 234, 0.45);
    background: rgba(0, 242, 234, 0.12);
    color: #fff;
    border-radius: 12px;
    padding: 11px 14px;
    min-height: 44px;
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
  }

  .nstfv-more:hover {
    background: rgba(0, 242, 234, 0.2);
  }

  .nstfv-more:disabled {
    opacity: .55;
    cursor: not-allowed;
  }

  .nstfv-more.is-hidden {
    display: none !important;
  }

  .nstfv-content.is-placeholder .nstfv-more {
    display: none !important;
  }

  .nstfv-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nstfv-card {
    border: 1px solid var(--nstfv-line);
    border-radius: 14px;
    padding: 12px 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    min-width: 0;
  }

  .nstfv-card--ghost {
    pointer-events: none;
  }

  .nstfv-card__avatar {
    width: clamp(56px, 18cqi, 72px);
    height: clamp(56px, 18cqi, 72px);
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 8px;
    border: 2px solid rgba(0, 242, 234, 0.35);
    background: #222;
  }

  .nstfv-card__avatar--ghost {
    background:
      linear-gradient(135deg, rgba(255, 0, 80, 0.35), rgba(0, 242, 234, 0.2)),
      #1a1a22;
    border-color: transparent;
  }

  .nstfv-card__nick {
    font-weight: 800;
    font-size: 0.88rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
  }

  .nstfv-card__user {
    color: var(--nstfv-dim);
    font-size: 0.78rem;
    margin-top: 2px;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .nstfv-card__badges {
    margin-top: 6px;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
  }

  .nstfv-chip {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--nstfv-line);
    color: var(--nstfv-muted);
  }

  .nstfv-chip--ok {
    border-color: rgba(0, 242, 234, 0.4);
    color: var(--nstfv-cool);
  }

  .nstfv-chip--lock {
    border-color: rgba(255, 77, 109, 0.4);
    color: #fecdd3;
  }

  .nstfv-card__stats {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    gap: 10px;
    color: var(--nstfv-dim);
    font-size: 0.75rem;
    font-weight: 700;
    flex-wrap: wrap;
  }

  .nstfv-card__stats i {
    color: var(--nstfv-accent);
  }

  .nstfv-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 28px 12px;
    color: var(--nstfv-dim);
    border: 1px dashed var(--nstfv-line);
    border-radius: 12px;
  }

  .nstfv-empty i {
    font-size: 1.6rem;
    color: var(--nstfv-accent);
    display: block;
    margin-bottom: 8px;
  }

  .nstfv-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    place-items: center;
    padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: rgba(0, 0, 0, 0.72);
  }

  .nstfv-modal.is-open {
    display: grid;
  }

  .nstfv-modal__dialog {
    width: min(480px, 100%);
    background: #12131a;
    border: 1px solid var(--nstfv-line);
    border-radius: 16px;
    padding: 14px;
    position: relative;
    max-height: min(92vh, 900px);
    overflow: auto;
  }

  .nstfv-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    cursor: pointer;
  }

  .nstfv-modal__media {
    width: 100%;
    border-radius: 12px;
  }

  .nstfv-modal__caption {
    margin-top: 10px;
    color: var(--nstfv-muted);
    text-align: center;
    font-size: 0.9rem;
    word-break: break-word;
  }

  /* ------------------------------------------------------------------
   Responsive — same pattern as Facebook Friends / YouTube Channel
   JS classes (ResizeObserver on tool width):
     --narrow  < 480
     --compact < 768
     --desktop >= 768
   Grid columns set inline via JS (beats WP theme CSS).
------------------------------------------------------------------- */
  .nstfv {
    --nstfv-cols: 1;
  }

  .nstfv-search__row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    min-width: 0;
  }

  .nstfv-search__field {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    font-size: 16px !important;
  }

  .nstfv-search__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

  .nstfv-btn {
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
    min-height: 44px;
  }

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

  .nstfv-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
  }

  .nstfv.nstfv--desktop .nstfv-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .nstfv.nstfv--desktop .nstfv-profile {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .nstfv.nstfv--desktop .nstfv-profile__avatar-wrap {
    margin: 0;
  }

  .nstfv.nstfv--desktop .nstfv-profile__name {
    justify-content: flex-start;
  }

  .nstfv.nstfv--desktop .nstfv-profile__handle,
  .nstfv.nstfv--desktop .nstfv-profile__bio {
    text-align: left;
  }

  .nstfv.nstfv--desktop .nstfv-tools {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .nstfv.nstfv--desktop .nstfv-find {
    flex: 1 1 180px;
    width: auto;
  }

  .nstfv.nstfv--desktop .nstfv-sort {
    width: auto;
    flex: 0 1 auto;
  }

  .nstfv.nstfv--compact .nstfv-tools {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .nstfv.nstfv--compact .nstfv-find,
  .nstfv.nstfv--compact .nstfv-sort {
    width: 100% !important;
  }

  @media (min-width: 768px) {
    .nstfv:not(.nstfv--compact) .nstfv-search__row {
      flex-direction: row;
      flex-wrap: wrap;
      align-items: stretch;
    }

    .nstfv:not(.nstfv--compact) .nstfv-search__field {
      flex: 1 1 220px !important;
      width: auto !important;
    }

    .nstfv:not(.nstfv--compact) .nstfv-search__actions {
      width: auto;
      flex: 0 0 auto;
      flex-wrap: nowrap;
    }

    .nstfv:not(.nstfv--compact) .nstfv-btn {
      flex: 0 0 auto;
    }
  }

  /* WordPress / Live Server narrow container (set by ResizeObserver) */
  .nstfv.nstfv--compact .nstfv-search__row {
    flex-direction: column !important;
  }

  .nstfv.nstfv--compact .nstfv-search__actions {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
  }

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

  .nstfv.nstfv--compact .nstfv-search__field {
    width: 100% !important;
    flex: 1 1 100% !important;
  }

  .nstfv.nstfv--narrow .nstfv-btn {
    flex: 1 1 100% !important;
  }

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

  .nstfv.nstfv--narrow .nstfv-hero__title {
    font-size: 1.15rem;
  }

  @media (hover: none) {

    .nstfv-btn:hover,
    .nstfv-more:hover {
      transform: none;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .nstfv-sk {
      animation: none;
    }
  }

  /* Turnstile host: keep hidden in-flow; floating panel styles come from turnstile-handler.js */
  .nstfv #xrespond-tools-turnstile-host {
    display: none;
  }

  .nstfv #xrespond-tools-turnstile-host.is-visible {
    display: block !important;
  }

  /* Ensure floating Turnstile panel (moved to body) is never clipped/hidden by tool CSS */
  body>#xrespond-tools-turnstile-host.is-visible {
    display: block !important;
    position: fixed !important;
    z-index: 2147483000 !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- Codex CSS updates --- */
.nstfv {
  container-type: inline-size;
  container-name: nstfv;
  -webkit-text-size-adjust: 100%;
  --nstfv-ink: #f8fafc;
  --nstfv-muted: #cbd5e1;
  --nstfv-dim: #94a3b8;
  --nstfv-panel: rgba(15, 23, 42, 0.84);
  --nstfv-panel-strong: rgba(15, 23, 42, 0.94);
  --nstfv-panel-soft: rgba(255, 255, 255, 0.075);
  --nstfv-line: rgba(255, 255, 255, 0.16);
  --nstfv-line-strong: rgba(255, 255, 255, 0.26);
  --nstfv-accent: #f43f5e;
  --nstfv-accent-deep: #be123c;
  --nstfv-cool: #22d3ee;
  --nstfv-cool-deep: #0891b2;
  --nstfv-success: #34d399;
  --nstfv-warning: #fbbf24;
  --nstfv-danger: #fb7185;
  --nstfv-radius: 18px;
  --nstfv-radius-sm: 12px;
  --nstfv-shadow: 0 22px 55px rgba(2, 6, 23, 0.38);
  --nstfv-shadow-soft: 0 12px 28px rgba(2, 6, 23, 0.22);
  --nstfv-focus: 0 0 0 4px rgba(34, 211, 238, 0.18);
  --nstfv-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --nstfv-gap: clamp(12px, 2vw, 18px);
  --nstfv-pad: clamp(14px, 2.2vw, 22px);
  box-sizing: border-box;
  font-family: var(--nstfv-font);
  color: var(--nstfv-ink);
  line-height: 1.5;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-width: 0;
  margin: 0 auto;
  padding: clamp(14px, 3vw, 30px) max(clamp(10px, 2vw, 18px), env(safe-area-inset-right, 0px)) max(clamp(18px, 3vw, 34px), env(safe-area-inset-bottom, 0px)) max(clamp(10px, 2vw, 18px), env(safe-area-inset-left, 0px));
  background:
    radial-gradient(ellipse 72% 48% at 10% 0%, rgba(244, 63, 94, 0.34), transparent 58%),
    radial-gradient(ellipse 70% 44% at 92% 6%, rgba(34, 211, 238, 0.22), transparent 54%),
    radial-gradient(ellipse 60% 42% at 50% 100%, rgba(168, 85, 247, 0.14), transparent 62%),
    linear-gradient(145deg, #070b16 0%, #111827 44%, #18181b 100%);
  border-radius: 0;
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
}

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

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

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

.nstfv img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

.nstfv a {
  color: var(--nstfv-cool);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.nstfv a:hover {
  color: #67e8f9;
  text-decoration: underline;
}

.nstfv .fa-solid,
.nstfv .fa-brands,
.nstfv .fa-angles-down,
.nstfv .fa-certificate,
.nstfv .fa-circle-info,
.nstfv .fa-expand,
.nstfv .fa-paste,
.nstfv .fa-rotate-left,
.nstfv .fa-tiktok,
.nstfv .fa-users,
.nstfv .fa-xmark {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 1em;
  min-width: 1em;
  height: 1em;
  color: currentColor;
  font-style: normal !important;
  font-variant: normal;
  line-height: 1 !important;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.nstfv .fa-solid,
.nstfv .fa-angles-down,
.nstfv .fa-certificate,
.nstfv .fa-circle-info,
.nstfv .fa-expand,
.nstfv .fa-paste,
.nstfv .fa-rotate-left,
.nstfv .fa-users,
.nstfv .fa-xmark {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", Arial, sans-serif !important;
  font-weight: 900 !important;
}

.nstfv .fa-brands,
.nstfv .fa-tiktok {
  font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", Arial, sans-serif !important;
  font-weight: 400 !important;
}

.nstfv .fa-angles-down::before {
  content: "\f103";
}

.nstfv .fa-certificate::before {
  content: "\f0a3";
}

.nstfv .fa-circle-info::before {
  content: "\f05a";
}

.nstfv .fa-expand::before {
  content: "\f065";
}

.nstfv .fa-paste::before {
  content: "\f0ea";
}

.nstfv .fa-rotate-left::before {
  content: "\f2ea";
}

.nstfv .fa-tiktok::before {
  content: "\e07b";
}

.nstfv .fa-users::before {
  content: "\f0c0";
}

.nstfv .fa-xmark::before {
  content: "\f00d";
}

.nstfv-shell,
.xrespond-ts-widget {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--nstfv-gap);
  width: 100%;
  min-width: 0;
}

.xrespond-ts-widget {
  max-width: 100%;
}

.nstfv-hero {
  background: transparent;
  padding: clamp(18px, 4vw, 36px) 0 clamp(10px, 2vw, 18px);
  text-align: center;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.nstfv-hero__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 6px;
}

.nstfv-hero__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  margin: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--nstfv-accent), #a855f7 52%, var(--nstfv-cool));
  color: #fff;
  box-shadow: 0 14px 30px rgba(244, 63, 94, 0.34);
  flex: 0 0 auto;
}

.nstfv .nstfv-hero__brand i {
  font-size: 1.2rem !important;
  width: auto;
  color: #fff !important;
  display: inline-flex !important;
  line-height: 1 !important;
  font-style: normal !important;
  -webkit-font-smoothing: antialiased;
}

.nstfv-hero__title {
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0;
  text-transform: capitalize !important;
}

.nstfv-hero__title-mark {
  position: relative;
  color: #fb7185;
  display: inline-block;
}

.nstfv-hero__title-mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  background: linear-gradient(90deg, var(--nstfv-accent), #a855f7, var(--nstfv-cool));
  border-radius: 999px;
}

.nstfv-hero__lead {
  margin: 10px auto 0;
  color: var(--nstfv-muted);
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  line-height: 1.6;
  max-width: 760px;
  text-transform: capitalize !important;
}

.nstfv-search {
  text-align: left;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-top: 14px;
  padding: var(--nstfv-pad);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.055)), var(--nstfv-panel);
  border: 1px solid var(--nstfv-line);
  border-radius: var(--nstfv-radius);
  box-shadow: var(--nstfv-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nstfv-search__label,
.xrespond-ts-label {
  display: block;
  font-size: 0.84rem;
  color: var(--nstfv-muted);
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: 0;
}

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

.nstfv-search__field,
.nstfv-find,
.nstfv-sort {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 56px !important;
  border: 1px solid var(--nstfv-line);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.56);
  color: var(--nstfv-ink);
  padding: 0 16px;
  font-size: 16px !important;
  line-height: 52px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.nstfv-search__field::placeholder,
.nstfv-find::placeholder {
  color: rgba(203, 213, 225, 0.58);
}

.nstfv-search__field:focus,
.nstfv-find:focus,
.nstfv-sort:focus {
  border-color: rgba(34, 211, 238, 0.72);
  background: rgba(2, 6, 23, 0.72);
  box-shadow: var(--nstfv-focus), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nstfv-search__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.nstfv-btn {
  appearance: none;
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  font-weight: 800;
  font-size: 0.94rem;
  line-height: 1.2;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  flex: 1 1 auto;
  min-height: 50px;
  height: 50px;
  text-align: center;
  white-space: nowrap;
  box-shadow: var(--nstfv-shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.nstfv-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.32);
}

.nstfv-btn:active {
  transform: translateY(0);
  filter: brightness(0.96);
}

.nstfv-btn:focus-visible,
.nstfv-more:focus-visible,
.nstfv-profile__zoom:focus-visible,
.nstfv-modal__close:focus-visible {
  outline: none;
  box-shadow: var(--nstfv-focus), var(--nstfv-shadow-soft);
}

.nstfv-btn:disabled {
  opacity: 0.56;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.nstfv-btn--paste {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--nstfv-line);
  color: var(--nstfv-ink);
}

.nstfv-btn--paste:hover {
  border-color: var(--nstfv-line-strong);
  background: rgba(255, 255, 255, 0.14);
}

.nstfv-btn--view {
  background: linear-gradient(135deg, #fb7185 0%, var(--nstfv-accent) 46%, var(--nstfv-accent-deep) 100%);
}

.nstfv-btn--reset {
  background: linear-gradient(135deg, #67e8f9 0%, var(--nstfv-cool) 48%, var(--nstfv-cool-deep) 100%);
  color: #06202a;
}

.nstfv-btn.is-hidden {
  display: none !important;
}

.nstfv-alert,
.xrespond-ts-error {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(251, 113, 133, 0.14);
  border: 1px solid rgba(251, 113, 133, 0.36);
  color: #ffe4e6;
  font-size: 0.9rem;
  line-height: 1.5;
}

.xrespond-ts-error {
  display: block;
}

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

.nstfv-alert.is-info {
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.36);
  color: #cffafe;
}

.nstfv-search__hint {
  margin-top: 10px;
  color: var(--nstfv-dim);
  font-size: 0.84rem;
  line-height: 1.5;
}

.nstfv-skeleton {
  display: none;
}

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

.nstfv-skeleton__panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045)), var(--nstfv-panel);
  border: 1px solid var(--nstfv-line);
  border-radius: var(--nstfv-radius);
  padding: var(--nstfv-pad);
  box-shadow: var(--nstfv-shadow-soft);
}

.nstfv-sk {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.055));
  background-size: 200% 100%;
  animation: nstfv-shimmer 1.2s ease-in-out infinite;
  border-radius: 12px;
}

@keyframes nstfv-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.nstfv-skeleton__head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.nstfv-skeleton__avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.nstfv-skeleton__line {
  height: 12px;
  margin-top: 9px;
}

.nstfv-skeleton__line--lg {
  width: 60%;
}

.nstfv-skeleton__line--md {
  width: 40%;
}

.nstfv-skeleton__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.nstfv-skeleton__card {
  height: 166px;
}

.nstfv-panel,
.nstfv-result {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045)), var(--nstfv-panel);
  border: 1px solid var(--nstfv-line);
  border-radius: var(--nstfv-radius);
  box-shadow: var(--nstfv-shadow);
  padding: var(--nstfv-pad);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nstfv-content.is-hidden {
  display: none;
}

.nstfv-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(34, 211, 238, 0.09);
  border: 1px solid rgba(34, 211, 238, 0.24);
  color: var(--nstfv-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.nstfv-notice i {
  color: var(--nstfv-cool);
  margin-top: 3px;
}

.nstfv-content:not(.is-placeholder) .nstfv-notice {
  display: none;
}

.nstfv-profile {
  display: grid;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--nstfv-line);
}

.nstfv-profile__avatar-wrap {
  position: relative;
  width: fit-content;
  margin: 0 auto;
}

.nstfv-profile__avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(244, 63, 94, 0.65);
  background: #111827;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(244, 63, 94, 0.2);
}

.nstfv-profile__zoom {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nstfv-accent), var(--nstfv-accent-deep));
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.36);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.nstfv-profile__zoom:hover {
  transform: translateY(-1px) scale(1.03);
}

.nstfv-content.is-placeholder .nstfv-profile__zoom {
  pointer-events: none;
  opacity: 0.42;
}

.nstfv-profile__name {
  font-size: clamp(1.08rem, 3cqi, 1.28rem);
  font-weight: 800;
  line-height: 1.28;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.nstfv-profile__verified {
  color: var(--nstfv-cool);
}

.nstfv-profile__verified.is-hidden {
  display: none !important;
}

.nstfv-profile__handle {
  color: var(--nstfv-muted);
  margin-top: 3px;
  text-align: center;
  overflow-wrap: anywhere;
}

.nstfv-profile__bio {
  margin-top: 9px;
  color: var(--nstfv-dim);
  font-size: 0.92rem;
  white-space: pre-wrap;
  word-break: break-word;
  text-align: center;
  line-height: 1.6;
}

.nstfv-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.nstfv-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--nstfv-line);
  text-align: center;
}

.nstfv-stat__value {
  font-weight: 850;
  font-size: clamp(0.94rem, 2.5cqi, 1.06rem);
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.nstfv-stat__label {
  color: var(--nstfv-dim);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nstfv-tools {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
  align-items: stretch;
}

.nstfv-sort {
  cursor: pointer;
  font-size: 0.9rem !important;
  font-weight: 700;
}

.nstfv-meta {
  color: var(--nstfv-dim);
  font-size: 0.84rem;
  font-weight: 700;
  width: 100%;
}

.nstfv-more {
  appearance: none;
  width: 100%;
  margin-top: 14px;
  border: 1px solid rgba(34, 211, 238, 0.46);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(168, 85, 247, 0.15));
  color: #fff;
  border-radius: 14px;
  padding: 0 18px;
  min-height: 50px;
  height: 50px;
  font-weight: 850;
  font-size: 0.94rem;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  box-shadow: var(--nstfv-shadow-soft);
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.nstfv-more:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.26), rgba(168, 85, 247, 0.2));
  border-color: rgba(34, 211, 238, 0.62);
}

.nstfv-more:disabled {
  opacity: 0.56;
  cursor: not-allowed;
  transform: none;
}

.nstfv-more.is-hidden {
  display: none !important;
}

.nstfv-content.is-placeholder .nstfv-more {
  display: none !important;
}

.nstfv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.nstfv-card {
  border: 1px solid var(--nstfv-line);
  border-radius: 16px;
  padding: 14px 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.055);
  min-width: 0;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.18);
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.nstfv-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.34);
  background: rgba(255, 255, 255, 0.082);
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.28);
}

.nstfv-card--ghost {
  pointer-events: none;
}

.nstfv-card__avatar {
  width: clamp(58px, 18cqi, 76px);
  height: clamp(58px, 18cqi, 76px);
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 10px;
  border: 2px solid rgba(34, 211, 238, 0.42);
  background: #111827;
}

.nstfv-card__avatar--ghost {
  background:
    linear-gradient(135deg, rgba(244, 63, 94, 0.35), rgba(34, 211, 238, 0.22)),
    #111827;
  border-color: transparent;
}

.nstfv-card__nick {
  font-weight: 850;
  font-size: 0.9rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.56em;
}

.nstfv-card__user {
  color: var(--nstfv-dim);
  font-size: 0.8rem;
  margin-top: 3px;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nstfv-card__badges {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nstfv-chip {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--nstfv-line);
  color: var(--nstfv-muted);
}

.nstfv-chip--ok {
  border-color: rgba(52, 211, 153, 0.44);
  color: #a7f3d0;
  background: rgba(52, 211, 153, 0.1);
}

.nstfv-chip--lock {
  border-color: rgba(251, 113, 133, 0.44);
  color: #ffe4e6;
  background: rgba(251, 113, 133, 0.1);
}

.nstfv-card__stats {
  margin-top: 9px;
  display: flex;
  justify-content: center;
  gap: 10px;
  color: var(--nstfv-dim);
  font-size: 0.76rem;
  font-weight: 800;
  flex-wrap: wrap;
}

.nstfv-card__stats i {
  color: var(--nstfv-accent);
}

.nstfv-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px 14px;
  color: var(--nstfv-dim);
  border: 1px dashed rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.nstfv-empty i {
  font-size: 1.6rem;
  color: var(--nstfv-accent);
  display: block;
  margin-bottom: 9px;
}

.nstfv-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  place-items: center;
  padding: max(14px, env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) max(14px, env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px));
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nstfv-modal.is-open {
  display: grid;
}

.nstfv-modal__dialog {
  width: min(500px, 100%);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
  border: 1px solid var(--nstfv-line);
  border-radius: 18px;
  padding: 16px;
  position: relative;
  max-height: min(92vh, 900px);
  overflow: auto;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.58);
}

.nstfv-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(2, 6, 23, 0.66);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.nstfv-modal__close:hover {
  transform: scale(1.04);
  background: rgba(244, 63, 94, 0.84);
}

.nstfv-modal__media {
  width: 100%;
  border-radius: 14px;
}

.nstfv-modal__caption {
  margin-top: 12px;
  color: var(--nstfv-muted);
  text-align: center;
  font-size: 0.92rem;
  word-break: break-word;
  line-height: 1.55;
}

/* ------------------------------------------------------------------
 Responsive — same pattern as Facebook Friends / YouTube Channel
 JS classes (ResizeObserver on tool width):
   --narrow  < 480
   --compact < 768
   --desktop >= 768
 Grid columns set inline via JS (beats WP theme CSS).
------------------------------------------------------------------- */
.nstfv {
  --nstfv-cols: 1;
}

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

.nstfv.nstfv--desktop .nstfv-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nstfv.nstfv--desktop .nstfv-profile {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
}

.nstfv.nstfv--desktop .nstfv-profile__avatar-wrap {
  margin: 0;
}

.nstfv.nstfv--desktop .nstfv-profile__name {
  justify-content: flex-start;
}

.nstfv.nstfv--desktop .nstfv-profile__handle,
.nstfv.nstfv--desktop .nstfv-profile__bio {
  text-align: left;
}

.nstfv.nstfv--desktop .nstfv-tools {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.nstfv.nstfv--desktop .nstfv-find {
  flex: 1 1 180px;
  width: auto;
}

.nstfv.nstfv--desktop .nstfv-sort {
  width: auto;
  flex: 0 1 auto;
}

.nstfv.nstfv--compact .nstfv-tools {
  flex-direction: column !important;
  align-items: stretch !important;
}

.nstfv.nstfv--compact .nstfv-find,
.nstfv.nstfv--compact .nstfv-sort {
  width: 100% !important;
}

@media (min-width: 769px) {
  .nstfv:not(.nstfv--compact) .nstfv-search__row {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .nstfv:not(.nstfv--compact) .nstfv-search__field {
    flex: 1 1 280px !important;
    width: auto !important;
  }

  .nstfv:not(.nstfv--compact) .nstfv-search__actions {
    width: auto;
    flex: 0 0 auto;
    flex-wrap: nowrap;
  }

  .nstfv:not(.nstfv--compact) .nstfv-btn {
    flex: 0 0 auto;
  }
}

/* WordPress / Live Server narrow container (set by ResizeObserver) */
.nstfv.nstfv--compact .nstfv-search__row,
.nstfv.nstfv--narrow .nstfv-search__row {
  flex-direction: column !important;
  flex-wrap: nowrap !important;
}

.nstfv.nstfv--compact .nstfv-search__actions,
.nstfv.nstfv--narrow .nstfv-search__actions {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
}

.nstfv.nstfv--compact .nstfv-btn,
.nstfv.nstfv--narrow .nstfv-btn {
  flex: 0 0 auto !important;
  width: 100% !important;
  min-width: 0 !important;
}

.nstfv.nstfv--compact .nstfv-search__field,
.nstfv.nstfv--narrow .nstfv-search__field {
  width: 100% !important;
  flex: 0 0 auto !important;
}

/* Turnstile host: keep hidden in-flow; floating panel styles come from turnstile-handler.js */
.nstfv #xrespond-tools-turnstile-host {
  display: none;
}

.nstfv #xrespond-tools-turnstile-host.is-visible {
  display: block !important;
}

/* Ensure floating Turnstile panel (moved to body) is never clipped/hidden by tool CSS */
body > #xrespond-tools-turnstile-host.is-visible {
  display: block !important;
  position: fixed !important;
  z-index: 2147483000 !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

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

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

.nstfv .nstfv-search .nstfv-search__field,
.nstfv .nstfv-search .nstfv-search__row > .nstfv-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;
  resize: none !important;
}

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

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

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

.nstfv.nstfv--compact .nstfv-search .nstfv-search__field,
.nstfv.nstfv--narrow .nstfv-search .nstfv-search__field,
.nstfv.nstfv--compact .nstfv-search .nstfv-search__row > .nstfv-search__field,
.nstfv.nstfv--narrow .nstfv-search .nstfv-search__row > .nstfv-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;
}

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

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

@media (max-width: 768px) {
  .nstfv {
    min-height: auto;
    padding: 14px max(10px, env(safe-area-inset-right, 0px)) 20px max(10px, env(safe-area-inset-left, 0px));
  }

  .nstfv-shell {
    gap: 12px;
  }

  .nstfv-hero {
    padding: 18px 0 10px;
  }

  .nstfv-hero__heading {
    gap: 10px;
  }

  .nstfv-hero__brand {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 13px;
  }

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

  .nstfv-hero__lead {
    font-size: 0.92rem;
  }

  .nstfv-search,
  .nstfv-panel,
  .nstfv-result {
    padding: 14px;
    border-radius: 16px;
  }

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

  .nstfv .nstfv-search .nstfv-search__field,
  .nstfv .nstfv-search .nstfv-search__row > .nstfv-search__field {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 56px !important;
    line-height: 52px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    resize: none !important;
  }

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

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

  .nstfv-tools {
    gap: 10px;
  }

  .nstfv-find,
  .nstfv-sort {
    height: 50px !important;
    min-height: 50px !important;
    max-height: 54px !important;
    line-height: 50px !important;
  }

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

  .nstfv-profile__avatar {
    width: 92px;
    height: 92px;
  }

  .nstfv-modal__dialog {
    border-radius: 16px;
    padding: 14px;
  }
}

@media (max-width: 420px) {
  .nstfv {
    padding-left: max(8px, env(safe-area-inset-left, 0px));
    padding-right: max(8px, env(safe-area-inset-right, 0px));
  }

  .nstfv-search,
  .nstfv-panel,
  .nstfv-result {
    padding: 12px;
  }

  .nstfv-hero__title {
    font-size: 1.28rem;
  }

  .nstfv-hero__lead {
    font-size: 0.88rem;
  }

  .nstfv-stats {
    grid-template-columns: 1fr;
  }

  .nstfv-skeleton__head {
    align-items: flex-start;
  }

  .nstfv-btn,
  .nstfv-more {
    font-size: 0.9rem;
  }
}

@media (hover: none) {
  .nstfv-btn:hover,
  .nstfv-more:hover,
  .nstfv-card:hover,
  .nstfv-profile__zoom:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nstfv *,
  .nstfv *::before,
  .nstfv *::after {
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .nstfv-sk {
    animation: none;
  }
}