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

.nstfg {
container-type: inline-size;
container-name: nstfg;
-webkit-text-size-adjust: 100%;
--nstfg-ink: #ffffff;
--nstfg-muted: #cbd5e1;
--nstfg-dim: #94a3b8;
--nstfg-panel: rgba(22, 24, 35, 0.94);
--nstfg-panel-soft: rgba(255, 255, 255, 0.08);
--nstfg-line: rgba(255, 255, 255, 0.12);
--nstfg-accent: #ff0050;
--nstfg-accent-deep: #ee1d52;
--nstfg-cool: #00f2ea;
--nstfg-danger: #ff4d6d;
--nstfg-radius: 16px;
--nstfg-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
--nstfg-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
--nstfg-gap: 12px;
--nstfg-pad: 12px;
box-sizing: border-box;
font-family: var(--nstfg-font);
color: var(--nstfg-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;
}
.nstfg *,
.nstfg *::before,
.nstfg *::after {
box-sizing: border-box;
}
.nstfg :where(h1, h2, h3, p, ul, ol, li, figure, label, span) {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
}
.nstfg :where(ul, ol) {
list-style: none;
}
.nstfg img {
max-width: 100%;
height: auto;
display: block;
border: 0;
}
.nstfg a {
color: var(--nstfg-cool);
text-decoration: none;
}
.nstfg a:hover {
text-decoration: underline;
}
.nstfg-shell {
max-width: 1280px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: var(--nstfg-gap);
width: 100%;
min-width: 0;
}
.nstfg-hero {
background: transparent;
padding: 36px 0 14px;
text-align: center;
border: 0;
box-shadow: none;
border-radius: 0;
}
.nstfg-hero__heading {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
flex-wrap: wrap;
margin: 0 0 4px;
}
.nstfg-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(--nstfg-accent), var(--nstfg-cool));
color: #fff;
box-shadow: 0 10px 24px rgba(255, 0, 80, 0.35);
flex: 0 0 auto;
}
.nstfg .nstfg-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;
}
.nstfg-hero__title {
font-size: clamp(1.35rem, 4vw, 1.85rem);
font-weight: 800;
letter-spacing: -0.02em;
margin: 0;
}
.nstfg-hero__title-mark {
position: relative;
color: var(--nstfg-accent);
display: inline-block;
}
.nstfg-hero__title-mark::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: -2px;
height: 3px;
background: linear-gradient(90deg, var(--nstfg-accent), var(--nstfg-cool));
border-radius: 2px;
}
.nstfg-hero__lead {
margin-top: 8px;
color: var(--nstfg-muted);
font-size: 0.95rem;
}
.nstfg-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(--nstfg-panel);
border: 1px solid var(--nstfg-line);
border-radius: var(--nstfg-radius);
box-shadow: var(--nstfg-shadow);
}
.nstfg-search__label {
display: block;
font-size: 0.82rem;
color: var(--nstfg-dim);
margin-bottom: 6px;
font-weight: 600;
}
.nstfg-search__row {
display: flex;
flex-direction: column;
flex-wrap: wrap;
gap: 8px;
}
.nstfg-search__field {
flex: 1 1 auto;
width: 100%;
min-width: 0;
border: 1px solid var(--nstfg-line);
border-radius: 12px;
background: rgba(0, 0, 0, 0.35);
color: var(--nstfg-ink);
padding: 12px 14px;
font-size: 16px;
outline: none;
}
.nstfg-search__field:focus {
border-color: var(--nstfg-cool);
box-shadow: 0 0 0 3px rgba(0, 242, 234, 0.15);
}
.nstfg-search__actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
width: 100%;
}
.nstfg-btn {
appearance: none;
border: 0;
border-radius: 12px;
padding: 11px 14px;
min-height: 44px;
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;
}
.nstfg-btn:hover {
transform: translateY(-1px);
}
.nstfg-btn:disabled {
opacity: .55;
cursor: not-allowed;
transform: none;
}
.nstfg-btn--paste {
background: rgba(255, 255, 255, 0.12);
border: 1px solid var(--nstfg-line);
}
.nstfg-btn--view {
background: linear-gradient(135deg, var(--nstfg-accent), var(--nstfg-accent-deep));
}
.nstfg-btn--reset {
background: linear-gradient(135deg, var(--nstfg-cool), #0891b2);
color: #041016;
}
.nstfg-btn.is-hidden {
display: none !important;
}
.nstfg-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;
}
.nstfg-alert.is-visible {
display: block;
}
.nstfg-alert.is-info {
background: rgba(0, 242, 234, 0.12);
border-color: rgba(0, 242, 234, 0.35);
color: #a5f3fc;
}
.nstfg-search__hint {
margin-top: 8px;
color: var(--nstfg-dim);
font-size: 0.8rem;
}
.nstfg-skeleton {
display: none;
}
.nstfg-skeleton.is-visible {
display: block;
}
.nstfg-skeleton__panel {
background: var(--nstfg-panel);
border: 1px solid var(--nstfg-line);
border-radius: var(--nstfg-radius);
padding: var(--nstfg-pad);
}
.nstfg-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: nstfg-shimmer 1.2s ease-in-out infinite;
border-radius: 10px;
}
@keyframes nstfg-shimmer {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}
.nstfg-skeleton__head {
display: flex;
gap: 12px;
align-items: center;
margin-bottom: 16px;
}
.nstfg-skeleton__avatar {
width: 84px;
height: 84px;
border-radius: 50%;
flex: 0 0 auto;
}
.nstfg-skeleton__line {
height: 12px;
margin-top: 8px;
}
.nstfg-skeleton__line--lg {
width: 60%;
}
.nstfg-skeleton__line--md {
width: 40%;
}
.nstfg-skeleton__grid {
display: grid;
grid-template-columns: 1fr;
gap: 10px;
}
.nstfg-skeleton__card {
height: 160px;
}
.nstfg-panel {
background: var(--nstfg-panel);
border: 1px solid var(--nstfg-line);
border-radius: var(--nstfg-radius);
box-shadow: var(--nstfg-shadow);
padding: var(--nstfg-pad);
}
.nstfg-content.is-hidden {
display: none;
}
.nstfg-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(--nstfg-muted);
font-size: 0.88rem;
}
.nstfg-notice i {
color: var(--nstfg-cool);
margin-top: 2px;
}
.nstfg-content:not(.is-placeholder) .nstfg-notice {
display: none;
}
.nstfg-profile {
display: grid;
gap: 14px;
padding-bottom: 14px;
margin-bottom: 14px;
border-bottom: 1px solid var(--nstfg-line);
}
.nstfg-profile__avatar-wrap {
position: relative;
width: fit-content;
margin: 0 auto;
}
.nstfg-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;
}
.nstfg-profile__zoom {
position: absolute;
right: 0;
bottom: 0;
width: 36px;
height: 36px;
min-width: 36px;
border: 0;
border-radius: 50%;
background: var(--nstfg-accent);
color: #fff;
cursor: pointer;
display: grid;
place-items: center;
}
.nstfg-content.is-placeholder .nstfg-profile__zoom {
pointer-events: none;
opacity: .4;
}
.nstfg-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;
}
.nstfg-profile__verified {
color: var(--nstfg-cool);
}
.nstfg-profile__verified.is-hidden {
display: none !important;
}
.nstfg-profile__handle {
color: var(--nstfg-muted);
margin-top: 2px;
text-align: center;
overflow-wrap: anywhere;
}
.nstfg-profile__bio {
margin-top: 8px;
color: var(--nstfg-dim);
font-size: 0.9rem;
white-space: pre-wrap;
word-break: break-word;
text-align: center;
}
.nstfg-stats {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
margin-top: 12px;
}
.nstfg-stat {
display: flex;
flex-direction: column;
gap: 2px;
min-width: 0;
padding: 8px 10px;
border-radius: 12px;
background: var(--nstfg-panel-soft);
border: 1px solid var(--nstfg-line);
text-align: center;
}
.nstfg-stat__value {
font-weight: 800;
font-size: clamp(0.9rem, 2.8cqi, 1rem);
overflow-wrap: anywhere;
}
.nstfg-stat__label {
color: var(--nstfg-dim);
font-size: 0.68rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: .04em;
}
.nstfg-tools {
display: flex;
flex-direction: column;
gap: 8px;
margin-bottom: 12px;
align-items: stretch;
}
.nstfg-find {
width: 100%;
min-width: 0;
border: 1px solid var(--nstfg-line);
border-radius: 10px;
background: rgba(0, 0, 0, 0.3);
color: #fff;
padding: 10px 12px;
font-size: 16px;
outline: none;
min-height: 44px;
}
.nstfg-sort {
width: 100%;
border: 1px solid var(--nstfg-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;
}
.nstfg-meta {
color: var(--nstfg-dim);
font-size: 0.82rem;
font-weight: 600;
width: 100%;
}
.nstfg-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;
}
.nstfg-more:hover {
background: rgba(0, 242, 234, 0.2);
}
.nstfg-more:disabled {
opacity: .55;
cursor: not-allowed;
}
.nstfg-more.is-hidden {
display: none !important;
}
.nstfg-content.is-placeholder .nstfg-more {
display: none !important;
}
.nstfg-grid {
display: grid;
grid-template-columns: 1fr;
gap: 10px;
}
.nstfg-card {
border: 1px solid var(--nstfg-line);
border-radius: 14px;
padding: 12px 10px;
text-align: center;
background: rgba(255, 255, 255, 0.03);
min-width: 0;
}
.nstfg-card--ghost {
pointer-events: none;
}
.nstfg-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;
}
.nstfg-card__avatar--ghost {
background:
linear-gradient(135deg, rgba(255, 0, 80, 0.35), rgba(0, 242, 234, 0.2)),
#1a1a22;
border-color: transparent;
}
.nstfg-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;
}
.nstfg-card__user {
color: var(--nstfg-dim);
font-size: 0.78rem;
margin-top: 2px;
overflow-wrap: anywhere;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
}
.nstfg-card__badges {
margin-top: 6px;
display: flex;
justify-content: center;
gap: 6px;
flex-wrap: wrap;
}
.nstfg-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(--nstfg-line);
color: var(--nstfg-muted);
}
.nstfg-chip--ok {
border-color: rgba(0, 242, 234, 0.4);
color: var(--nstfg-cool);
}
.nstfg-chip--lock {
border-color: rgba(255, 77, 109, 0.4);
color: #fecdd3;
}
.nstfg-card__stats {
margin-top: 8px;
display: flex;
justify-content: center;
gap: 10px;
color: var(--nstfg-dim);
font-size: 0.75rem;
font-weight: 700;
flex-wrap: wrap;
}
.nstfg-card__stats i {
color: var(--nstfg-accent);
}
.nstfg-empty {
grid-column: 1 / -1;
text-align: center;
padding: 28px 12px;
color: var(--nstfg-dim);
border: 1px dashed var(--nstfg-line);
border-radius: 12px;
}
.nstfg-empty i {
font-size: 1.6rem;
color: var(--nstfg-accent);
display: block;
margin-bottom: 8px;
}
.nstfg-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);
}
.nstfg-modal.is-open {
display: grid;
}
.nstfg-modal__dialog {
width: min(480px, 100%);
background: #12131a;
border: 1px solid var(--nstfg-line);
border-radius: 16px;
padding: 14px;
position: relative;
max-height: min(92vh, 900px);
overflow: auto;
}
.nstfg-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;
}
.nstfg-modal__media {
width: 100%;
border-radius: 12px;
}
.nstfg-modal__caption {
margin-top: 10px;
color: var(--nstfg-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).
------------------------------------------------------------------- */
.nstfg {
--nstfg-cols: 1;
}
.nstfg-search__row {
display: flex;
flex-direction: column;
gap: 8px;
width: 100%;
min-width: 0;
}
.nstfg-search__field {
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
flex: 1 1 auto !important;
font-size: 16px !important;
}
.nstfg-search__actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
width: 100%;
}
.nstfg-btn {
flex: 1 1 calc(50% - 4px);
justify-content: center;
min-height: 44px;
}
.nstfg-grid,
.nstfg-skeleton__grid {
display: grid;
grid-template-columns: repeat(var(--nstfg-cols, 1), minmax(0, 1fr));
gap: 10px;
width: 100%;
min-width: 0;
}
.nstfg-stats {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
margin-top: 12px;
}
.nstfg.nstfg--desktop .nstfg-stats {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.nstfg.nstfg--desktop .nstfg-profile {
grid-template-columns: auto minmax(0, 1fr);
align-items: start;
}
.nstfg.nstfg--desktop .nstfg-profile__avatar-wrap {
margin: 0;
}
.nstfg.nstfg--desktop .nstfg-profile__name {
justify-content: flex-start;
}
.nstfg.nstfg--desktop .nstfg-profile__handle,
.nstfg.nstfg--desktop .nstfg-profile__bio {
text-align: left;
}
.nstfg.nstfg--desktop .nstfg-tools {
flex-direction: row;
flex-wrap: wrap;
align-items: center;
}
.nstfg.nstfg--desktop .nstfg-find {
flex: 1 1 180px;
width: auto;
}
.nstfg.nstfg--desktop .nstfg-sort {
width: auto;
flex: 0 1 auto;
}
.nstfg.nstfg--compact .nstfg-tools {
flex-direction: column !important;
align-items: stretch !important;
}
.nstfg.nstfg--compact .nstfg-find,
.nstfg.nstfg--compact .nstfg-sort {
width: 100% !important;
}
@media (min-width: 768px) {
.nstfg:not(.nstfg--compact) .nstfg-search__row {
flex-direction: row;
flex-wrap: wrap;
align-items: stretch;
}
.nstfg:not(.nstfg--compact) .nstfg-search__field {
flex: 1 1 220px !important;
width: auto !important;
}
.nstfg:not(.nstfg--compact) .nstfg-search__actions {
width: auto;
flex: 0 0 auto;
flex-wrap: nowrap;
}
.nstfg:not(.nstfg--compact) .nstfg-btn {
flex: 0 0 auto;
}
}
/* WordPress / Live Server narrow container (set by ResizeObserver) */
.nstfg.nstfg--compact .nstfg-search__row {
flex-direction: column !important;
}
.nstfg.nstfg--compact .nstfg-search__actions {
width: 100% !important;
display: flex !important;
flex-wrap: wrap !important;
}
.nstfg.nstfg--compact .nstfg-btn {
flex: 1 1 calc(50% - 4px) !important;
}
.nstfg.nstfg--compact .nstfg-search__field {
width: 100% !important;
flex: 1 1 100% !important;
}
.nstfg.nstfg--narrow .nstfg-btn {
flex: 1 1 100% !important;
}
.nstfg.nstfg--narrow .nstfg-search__actions {
flex-direction: column !important;
}
.nstfg.nstfg--narrow .nstfg-hero__title {
font-size: 1.15rem;
}
@media (hover: none) {
.nstfg-btn:hover,
.nstfg-more:hover {
transform: none;
}
}
@media (prefers-reduced-motion: reduce) {
.nstfg-sk {
animation: none;
}
}
/* Turnstile host: keep hidden in-flow; floating panel styles come from turnstile-handler.js */
.nstfg #xrespond-tools-turnstile-host {
display: none;
}
.nstfg #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 */
.nstfg .nstfg-search,
.nstfg .nstfg-search .nstfg-search__row,
.nstfg .nstfg-search .nstfg-search__actions {
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
box-sizing: border-box !important;
}
.nstfg .nstfg-search .nstfg-search__row {
display: flex !important;
flex-direction: row !important;
flex-wrap: nowrap !important;
align-items: stretch !important;
gap: 8px !important;
}
.nstfg .nstfg-search .nstfg-search__field,
.nstfg .nstfg-search .nstfg-search__row > .nstfg-search__field {
flex: 1 1 auto !important;
width: auto !important;
max-width: none !important;
min-width: 0 !important;
}
.nstfg .nstfg-search .nstfg-search__actions,
.nstfg .nstfg-search .nstfg-search__row > .nstfg-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;
}
.nstfg .nstfg-search .nstfg-search__row > .nstfg-btn,
.nstfg .nstfg-search .nstfg-search__actions .nstfg-btn,
.nstfg .nstfg-search .nstfg-search__row .nstfg-search__actions .nstfg-btn {
flex: 0 0 auto !important;
width: auto !important;
max-width: none !important;
min-width: 110px !important;
}
.nstfg.nstfg--compact .nstfg-search .nstfg-search__row,
.nstfg.nstfg--narrow .nstfg-search .nstfg-search__row {
flex-wrap: wrap !important;
}
.nstfg.nstfg--compact .nstfg-search .nstfg-search__field,
.nstfg.nstfg--narrow .nstfg-search .nstfg-search__field,
.nstfg.nstfg--compact .nstfg-search .nstfg-search__row > .nstfg-search__field,
.nstfg.nstfg--narrow .nstfg-search .nstfg-search__row > .nstfg-search__field {
flex: 1 1 100% !important;
width: 100% !important;
max-width: 100% !important;
}
.nstfg.nstfg--compact .nstfg-search .nstfg-search__actions,
.nstfg.nstfg--narrow .nstfg-search .nstfg-search__actions,
.nstfg.nstfg--compact .nstfg-search .nstfg-search__row > .nstfg-search__actions,
.nstfg.nstfg--narrow .nstfg-search .nstfg-search__row > .nstfg-search__actions {
flex: 1 1 100% !important;
width: 100% !important;
max-width: 100% !important;
}
.nstfg.nstfg--compact .nstfg-search .nstfg-search__row > .nstfg-btn,
.nstfg.nstfg--narrow .nstfg-search .nstfg-search__row > .nstfg-btn,
.nstfg.nstfg--compact .nstfg-search .nstfg-search__actions .nstfg-btn,
.nstfg.nstfg--narrow .nstfg-search .nstfg-search__actions .nstfg-btn,
.nstfg.nstfg--compact .nstfg-search .nstfg-search__row .nstfg-search__actions .nstfg-btn,
.nstfg.nstfg--narrow .nstfg-search .nstfg-search__row .nstfg-search__actions .nstfg-btn {
flex: 1 1 calc(50% - 4px) !important;
min-width: 0 !important;
max-width: 100% !important;
}
@media (max-width: 720px) {
.nstfg .nstfg-search .nstfg-search__row {
flex-wrap: wrap !important;
}
.nstfg .nstfg-search .nstfg-search__field,
.nstfg .nstfg-search .nstfg-search__row > .nstfg-search__field {
flex: 1 1 100% !important;
width: 100% !important;
max-width: 100% !important;
}
.nstfg .nstfg-search .nstfg-search__actions,
.nstfg .nstfg-search .nstfg-search__row > .nstfg-search__actions {
flex: 1 1 100% !important;
width: 100% !important;
max-width: 100% !important;
}
.nstfg .nstfg-search .nstfg-search__row > .nstfg-btn,
.nstfg .nstfg-search .nstfg-search__actions .nstfg-btn,
.nstfg .nstfg-search .nstfg-search__row .nstfg-search__actions .nstfg-btn {
flex: 1 1 calc(50% - 4px) !important;
min-width: 0 !important;
max-width: 100% !important;
}
}

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

.nstfg {
    container-type: inline-size;
    container-name: nstfg;
    -webkit-text-size-adjust: 100%;
    --nstfg-ink: #ffffff;
    --nstfg-muted: #cbd5e1;
    --nstfg-dim: #94a3b8;
    --nstfg-panel: rgba(22, 24, 35, 0.94);
    --nstfg-panel-soft: rgba(255, 255, 255, 0.08);
    --nstfg-line: rgba(255, 255, 255, 0.12);
    --nstfg-accent: #ff0050;
    --nstfg-accent-deep: #ee1d52;
    --nstfg-cool: #00f2ea;
    --nstfg-danger: #ff4d6d;
    --nstfg-radius: 16px;
    --nstfg-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    --nstfg-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --nstfg-gap: 12px;
    --nstfg-pad: 12px;
    box-sizing: border-box;
    font-family: var(--nstfg-font);
    color: var(--nstfg-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;
  }

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

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

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

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

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

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

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

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

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

  .nstfg-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(--nstfg-accent), var(--nstfg-cool));
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 0, 80, 0.35);
    flex: 0 0 auto;
  }

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

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

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

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

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

  .nstfg-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(--nstfg-panel);
    border: 1px solid var(--nstfg-line);
    border-radius: var(--nstfg-radius);
    box-shadow: var(--nstfg-shadow);
  }

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

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

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

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

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

  .nstfg-btn {
    appearance: none;
    border: 0;
    border-radius: 12px;
    padding: 11px 14px;
    min-height: 44px;
    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;
  }

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

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

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

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

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

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

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

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

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

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

  .nstfg-skeleton {
    display: none;
  }

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

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

  .nstfg-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: nstfg-shimmer 1.2s ease-in-out infinite;
    border-radius: 10px;
  }

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

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

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

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

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

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

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

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

  .nstfg-skeleton__card {
    height: 160px;
  }

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

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

  .nstfg-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(--nstfg-muted);
    font-size: 0.88rem;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .nstfg-sort {
    width: 100%;
    border: 1px solid var(--nstfg-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;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .nstfg-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(--nstfg-line);
    color: var(--nstfg-muted);
  }

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

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

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

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

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

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

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

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

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

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

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

  .nstfg-modal__caption {
    margin-top: 10px;
    color: var(--nstfg-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).
------------------------------------------------------------------- */
  .nstfg {
    --nstfg-cols: 1;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  @media (hover: none) {

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

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

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

  .nstfg #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 */
  .nstfg .nstfg-search,
  .nstfg .nstfg-search .nstfg-search__row,
  .nstfg .nstfg-search .nstfg-search__actions {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

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

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

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

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

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

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

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

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

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

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

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

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

/* --- Codex CSS updates --- */
.nstfg {
  container-type: inline-size;
  container-name: nstfg;
  -webkit-text-size-adjust: 100%;
  --nstfg-ink: #f8fafc;
  --nstfg-muted: #cbd5e1;
  --nstfg-dim: #94a3b8;
  --nstfg-panel: rgba(15, 23, 42, 0.82);
  --nstfg-panel-strong: rgba(15, 23, 42, 0.94);
  --nstfg-panel-soft: rgba(255, 255, 255, 0.075);
  --nstfg-line: rgba(226, 232, 240, 0.16);
  --nstfg-line-strong: rgba(226, 232, 240, 0.28);
  --nstfg-accent: #ec4899;
  --nstfg-accent-deep: #be185d;
  --nstfg-cool: #22d3ee;
  --nstfg-violet: #8b5cf6;
  --nstfg-success: #34d399;
  --nstfg-danger: #fb7185;
  --nstfg-warning: #fbbf24;
  --nstfg-radius: 18px;
  --nstfg-radius-sm: 12px;
  --nstfg-shadow: 0 22px 60px rgba(2, 6, 23, 0.42);
  --nstfg-shadow-soft: 0 12px 30px rgba(2, 6, 23, 0.28);
  --nstfg-focus: 0 0 0 4px rgba(34, 211, 238, 0.18);
  --nstfg-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --nstfg-gap: clamp(12px, 2vw, 18px);
  --nstfg-pad: clamp(14px, 2.2vw, 22px);
  box-sizing: border-box;
  font-family: var(--nstfg-font);
  color: var(--nstfg-ink);
  line-height: 1.5;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-width: 0;
  margin: 0 auto;
  padding: clamp(14px, 2.5vw, 30px) max(clamp(10px, 2vw, 18px), env(safe-area-inset-right, 0px)) max(clamp(18px, 3vw, 32px), env(safe-area-inset-bottom, 0px)) max(clamp(10px, 2vw, 18px), env(safe-area-inset-left, 0px));
  background:
    radial-gradient(ellipse 70% 46% at 10% 0%, rgba(236, 72, 153, 0.24), transparent 58%),
    radial-gradient(ellipse 64% 42% at 96% 8%, rgba(34, 211, 238, 0.18), transparent 54%),
    radial-gradient(ellipse 46% 34% at 50% 105%, rgba(139, 92, 246, 0.16), transparent 62%),
    linear-gradient(145deg, #070b14 0%, #111827 46%, #18181b 100%);
  border-radius: 0;
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
}

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

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

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

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

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

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

.nstfg .fa-solid,
.nstfg .fa-angles-down,
.nstfg .fa-certificate,
.nstfg .fa-circle-info,
.nstfg .fa-expand,
.nstfg .fa-paste,
.nstfg .fa-rotate-left,
.nstfg .fa-user-plus,
.nstfg .fa-xmark {
  display: inline-block !important;
  width: 1em;
  min-width: 1em;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", Arial, sans-serif !important;
  font-style: normal !important;
  font-variant: normal !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nstfg .fa-brands,
.nstfg .fa-tiktok {
  display: inline-block !important;
  width: 1em;
  min-width: 1em;
  font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", Arial, sans-serif !important;
  font-style: normal !important;
  font-variant: normal !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

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

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

.nstfg .fa-user-plus::before {
  content: "\f234";
}

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

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

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

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

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

.nstfg-hero__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  margin: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--nstfg-accent), var(--nstfg-violet) 52%, var(--nstfg-cool));
  color: #fff;
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.34);
  flex: 0 0 auto;
}

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

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

.nstfg-hero__title-mark {
  position: relative;
  color: #f9a8d4;
  display: inline-block;
}

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

.nstfg-hero__lead {
  width: min(100%, 720px);
  margin: 10px auto 0;
  color: var(--nstfg-muted);
  font-size: clamp(0.92rem, 1.4vw, 1rem);
  line-height: 1.55;
  text-transform: capitalize !important;
}

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

.nstfg-search__label,
.xrespond-ts-label {
  display: block;
  font-size: 0.84rem;
  color: var(--nstfg-muted);
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: capitalize !important;
}

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

.nstfg-search__field,
.nstfg-find,
.nstfg-sort {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 56px !important;
  border: 1px solid var(--nstfg-line);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.46);
  color: var(--nstfg-ink);
  padding: 0 15px;
  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 0.2s ease;
  resize: none;
  overflow: hidden;
}

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

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

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

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

.nstfg-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.36);
  filter: brightness(1.06);
}

.nstfg-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.32);
}

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

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

.nstfg-btn--paste {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.075));
  border: 1px solid var(--nstfg-line-strong);
  color: var(--nstfg-ink);
}

.nstfg-btn--view {
  background: linear-gradient(135deg, var(--nstfg-accent), var(--nstfg-accent-deep) 55%, var(--nstfg-violet));
}

.nstfg-btn--reset {
  background: linear-gradient(135deg, var(--nstfg-cool), #38bdf8);
  color: #041016;
}

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

.nstfg-alert,
.xrespond-ts-error {
  display: none;
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: 13px;
  background: rgba(251, 113, 133, 0.13);
  border: 1px solid rgba(251, 113, 133, 0.38);
  color: #fecdd3;
  font-size: 0.9rem;
  line-height: 1.45;
  box-shadow: 0 12px 24px rgba(127, 29, 29, 0.16);
}

.nstfg-alert.is-visible,
.xrespond-ts-error.is-visible {
  display: block;
}

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

.nstfg-search__hint {
  margin-top: 10px;
  color: var(--nstfg-dim);
  font-size: 0.82rem;
  line-height: 1.45;
}

.nstfg-skeleton {
  display: none;
}

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

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

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

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

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

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

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

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

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

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

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

.nstfg-skeleton__card {
  height: 164px;
}

.nstfg-panel,
.nstfg-result,
.xrespond-ts-widget {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.04)), var(--nstfg-panel);
  border: 1px solid var(--nstfg-line);
  border-radius: var(--nstfg-radius);
  box-shadow: var(--nstfg-shadow);
  padding: var(--nstfg-pad);
  backdrop-filter: blur(18px);
}

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

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

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

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

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

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

.nstfg-profile__avatar {
  width: 98px;
  height: 98px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(236, 72, 153, 0.62);
  background: #111827;
  cursor: pointer;
  box-shadow: 0 0 0 6px rgba(236, 72, 153, 0.09), 0 18px 34px rgba(2, 6, 23, 0.38);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nstfg-profile__avatar:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.72);
}

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

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

.nstfg-content.is-placeholder .nstfg-profile__zoom {
  pointer-events: none;
  opacity: 0.4;
}

.nstfg-profile__name {
  font-size: clamp(1.08rem, 2.2cqi, 1.28rem);
  font-weight: 800;
  line-height: 1.25;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  text-transform: capitalize !important;
}

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

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

.nstfg-profile__handle {
  color: var(--nstfg-muted);
  margin-top: 3px;
  text-align: center;
  overflow-wrap: anywhere;
  font-size: 0.94rem;
}

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

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

.nstfg-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 11px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--nstfg-line);
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nstfg-stat:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.28);
  background: rgba(255, 255, 255, 0.095);
}

.nstfg-stat__value {
  font-weight: 850;
  font-size: clamp(0.96rem, 2.2cqi, 1.08rem);
  overflow-wrap: anywhere;
}

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

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

.nstfg-sort {
  appearance: none;
  font-weight: 700;
  cursor: pointer;
}

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

.nstfg-more {
  appearance: none;
  width: 100%;
  margin-top: 14px;
  border: 1px solid rgba(34, 211, 238, 0.42);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(139, 92, 246, 0.16));
  color: #fff;
  border-radius: 14px;
  padding: 0 18px;
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  font-weight: 850;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  box-shadow: var(--nstfg-shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, filter 0.2s ease;
}

.nstfg-more:hover {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.25), rgba(139, 92, 246, 0.22));
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.nstfg-more:active {
  transform: translateY(0);
}

.nstfg-more:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

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

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

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

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

.nstfg-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.3);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045));
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.28);
}

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

.nstfg-card__avatar {
  width: clamp(58px, 18cqi, 74px);
  height: clamp(58px, 18cqi, 74px);
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 9px;
  border: 2px solid rgba(34, 211, 238, 0.42);
  background: #111827;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.26);
}

.nstfg-card__avatar--ghost {
  background:
    linear-gradient(135deg, rgba(236, 72, 153, 0.38), rgba(34, 211, 238, 0.22)),
    #111827;
  border-color: transparent;
}

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

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

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

.nstfg-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(--nstfg-line);
  color: var(--nstfg-muted);
}

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

.nstfg-chip--lock {
  border-color: rgba(251, 113, 133, 0.42);
  color: #fecdd3;
  background: rgba(251, 113, 133, 0.1);
}

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

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

.nstfg-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px 14px;
  color: var(--nstfg-dim);
  border: 1px dashed rgba(226, 232, 240, 0.26);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

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

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

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

.nstfg-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(--nstfg-line-strong);
  border-radius: 18px;
  padding: 16px;
  position: relative;
  max-height: min(92vh, 900px);
  overflow: auto;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

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

.nstfg-modal__close:hover {
  transform: rotate(90deg);
  background: rgba(251, 113, 133, 0.25);
  border-color: rgba(251, 113, 133, 0.38);
}

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

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

.nstfg {
  --nstfg-cols: 1;
}

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

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

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

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

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

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

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

.nstfg.nstfg--desktop .nstfg-find {
  flex: 1 1 220px;
  width: auto;
}

.nstfg.nstfg--desktop .nstfg-sort {
  width: auto;
  flex: 0 1 180px;
}

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

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

.nstfg #xrespond-tools-turnstile-host {
  display: none;
}

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

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

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

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

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

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

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

@media (min-width: 769px) {
  .nstfg .nstfg-search .nstfg-search__row {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
  }

  .nstfg .nstfg-search .nstfg-search__field,
  .nstfg .nstfg-search .nstfg-search__row > .nstfg-search__field {
    flex: 1 1 260px !important;
    width: auto !important;
    max-width: none !important;
  }

  .nstfg .nstfg-search .nstfg-search__actions,
  .nstfg .nstfg-search .nstfg-search__row > .nstfg-search__actions {
    flex: 0 0 auto !important;
    flex-direction: row !important;
    width: auto !important;
    max-width: none !important;
  }

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

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

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

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

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

.nstfg.nstfg--narrow .nstfg-hero__title {
  font-size: 1.35rem;
}

@media (max-width: 768px) {
  .nstfg {
    min-height: auto;
    padding: 14px 10px 20px;
  }

  .nstfg-shell {
    gap: 12px;
  }

  .nstfg-hero {
    padding: 18px 0 8px;
  }

  .nstfg-hero__heading {
    gap: 10px;
  }

  .nstfg-hero__brand {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 12px;
  }

  .nstfg-hero__title {
    font-size: clamp(1.28rem, 5vw, 1.55rem);
    line-height: 1.22;
  }

  .nstfg-hero__lead {
    font-size: 0.92rem;
    margin-top: 8px;
  }

  .nstfg-search,
  .nstfg-panel,
  .nstfg-result,
  .xrespond-ts-widget {
    padding: 14px;
    border-radius: 16px;
  }

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

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

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

  .nstfg .nstfg-search .nstfg-search__row > .nstfg-btn,
  .nstfg .nstfg-search .nstfg-search__actions .nstfg-btn,
  .nstfg .nstfg-search .nstfg-search__row .nstfg-search__actions .nstfg-btn,
  .nstfg-btn,
  .nstfg-more {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    font-size: 0.92rem;
  }

  .nstfg-profile__avatar {
    width: 88px;
    height: 88px;
  }

  .nstfg-profile__name {
    font-size: 1.08rem;
  }

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

  .nstfg-card {
    padding: 13px 11px;
  }

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

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

  .nstfg-hero__heading {
    flex-direction: column;
  }

  .nstfg-hero__title {
    font-size: 1.26rem;
  }

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

  .nstfg-search,
  .nstfg-panel,
  .nstfg-result,
  .xrespond-ts-widget {
    padding: 12px;
  }

  .nstfg-stats {
    gap: 8px;
  }

  .nstfg-stat {
    padding: 10px 8px;
  }

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

  .nstfg-skeleton__avatar {
    width: 68px;
    height: 68px;
  }
}

@media (hover: none) {
  .nstfg-btn:hover,
  .nstfg-more:hover,
  .nstfg-card:hover,
  .nstfg-stat:hover,
  .nstfg-profile__avatar:hover {
    transform: none;
  }
}

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

  .nstfg-sk {
    animation: none;
  }
}