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

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

/* New Social TikTok Username Viewer — WordPress-scoped styles */
  .nstuv {
    container-type: inline-size;
    container-name: nstuv;
    -webkit-text-size-adjust: 100%;
    --nstuv-ink: #ffffff;
    --nstuv-muted: #cbd5e1;
    --nstuv-dim: #94a3b8;
    --nstuv-panel: rgba(22, 24, 35, 0.94);
    --nstuv-panel-soft: rgba(255, 255, 255, 0.08);
    --nstuv-line: rgba(255, 255, 255, 0.12);
    --nstuv-accent: #ff0050;
    --nstuv-accent-deep: #ee1d52;
    --nstuv-cool: #00f2ea;
    --nstuv-cool-deep: #69c9d0;
    --nstuv-danger: #ff4d6d;
    --nstuv-ok: #22c55e;
    --nstuv-radius: 16px;
    --nstuv-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    --nstuv-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --nstuv-gap: 12px;
    --nstuv-pad: 12px;
    --nstuv-avatar: 96px;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .nstuv-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 calc(50% - 4px);
    min-height: 44px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    font-family: var(--nstuv-font);
  }

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

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

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

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

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

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

  .nstuv .nstuv-btn i,
  .nstuv .nstuv-status__badge i,
  .nstuv .nstuv-profile__zoom i,
  .nstuv .nstuv-modal__close i,
  .nstuv .nstuv-hero__brand i,
  .nstuv .nstuv-profile__verified i,
  .nstuv .nstuv-notice i,
  .nstuv i.fa-solid,
  .nstuv i.fa-brands {
    --fa-display: inline-block;
    display: inline-block !important;
    line-height: 1 !important;
    font-style: normal !important;
    -webkit-font-smoothing: antialiased;
  }

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

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

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

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

  .nstuv-skeleton {
    display: none;
  }

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

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

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

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

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

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

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

  .nstuv-skeleton__line--lg { width: 60%; }
  .nstuv-skeleton__line--md { width: 40%; }

  .nstuv-skeleton__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .nstuv-skeleton__stat {
    height: 64px;
  }

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

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

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

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

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

  .nstuv-status {
    display: none;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: 14px;
    border: 1px solid var(--nstuv-line);
    background: rgba(255, 255, 255, 0.04);
  }

  .nstuv-status.is-visible {
    display: flex;
  }

  .nstuv-status__badge {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
  }

  .nstuv-status--available {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.35);
  }

  .nstuv-status--available .nstuv-status__badge {
    background: rgba(34, 197, 94, 0.2);
    color: var(--nstuv-ok);
  }

  .nstuv-status--taken {
    background: rgba(255, 0, 80, 0.1);
    border-color: rgba(255, 0, 80, 0.35);
  }

  .nstuv-status--taken .nstuv-status__badge {
    background: rgba(255, 0, 80, 0.2);
    color: var(--nstuv-accent);
  }

  .nstuv-status__body {
    min-width: 0;
    flex: 1;
    text-align: left;
  }

  .nstuv-status__title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 4px;
  }

  .nstuv-status--available .nstuv-status__title {
    color: #86efac;
  }

  .nstuv-status--taken .nstuv-status__title {
    color: #fda4af;
  }

  .nstuv-status__message {
    color: var(--nstuv-muted);
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .nstuv-status__handle {
    display: inline-block;
    margin: 0 3px;
    padding: 2px 8px;
    border-radius: 8px;
    background: rgba(0, 242, 234, 0.12);
    color: var(--nstuv-cool);
    font-family: ui-monospace, Menlo, Monaco, Consolas, monospace;
    font-weight: 700;
    font-size: 0.92em;
  }

  .nstuv-profile {
    display: grid;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(0, 242, 234, 0.08), rgba(255, 0, 80, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nstuv-profile.is-hidden {
    display: none !important;
  }

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

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

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

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

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

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

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

  .nstuv-profile__handle {
    color: var(--nstuv-muted);
    margin-top: 2px;
    text-align: center;
    overflow-wrap: anywhere;
    font-family: ui-monospace, Menlo, Monaco, Consolas, monospace;
    font-size: 0.92rem;
  }

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

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

  .nstuv-stat {
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid var(--nstuv-line);
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
  }

  .nstuv-stat__value {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--nstuv-ink);
    line-height: 1.2;
  }

  .nstuv-stat__label {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    color: var(--nstuv-dim);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

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

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

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

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

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

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

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

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

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

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

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

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

  .nstuv.nstuv--desktop .nstuv-profile__meta {
    grid-column: 2;
  }

  .nstuv.nstuv--desktop .nstuv-stats {
    grid-column: 1 / -1;
  }

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

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

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

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

  .nstuv.nstuv--compact .nstuv-search__row {
    flex-direction: column !important;
  }

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

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

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

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

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

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

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

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

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

  .nstuv #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;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- Codex CSS updates --- */
/* New Social TikTok Username Viewer — WordPress-scoped styles */
.nstuv {
  container-type: inline-size;
  container-name: nstuv;
  -webkit-text-size-adjust: 100%;
  --nstuv-ink: #f7f8fc;
  --nstuv-text: #d9deea;
  --nstuv-muted: #a5b0c5;
  --nstuv-dim: #7d89a3;
  --nstuv-panel: rgba(13, 18, 32, 0.82);
  --nstuv-panel-strong: rgba(10, 14, 26, 0.94);
  --nstuv-panel-soft: rgba(255, 255, 255, 0.08);
  --nstuv-line: rgba(148, 163, 184, 0.18);
  --nstuv-line-strong: rgba(148, 163, 184, 0.28);
  --nstuv-accent: #fe2c55;
  --nstuv-accent-deep: #c81e46;
  --nstuv-cool: #25f4ee;
  --nstuv-cool-deep: #14b8c4;
  --nstuv-danger: #fb7185;
  --nstuv-ok: #34d399;
  --nstuv-warn: #fbbf24;
  --nstuv-shadow: 0 24px 70px rgba(2, 6, 23, 0.42);
  --nstuv-shadow-soft: 0 14px 32px rgba(2, 6, 23, 0.24);
  --nstuv-radius: 22px;
  --nstuv-radius-sm: 14px;
  --nstuv-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --nstuv-gap: clamp(14px, 2vw, 22px);
  --nstuv-pad: clamp(16px, 2vw, 22px);
  --nstuv-avatar: 108px;

  box-sizing: border-box;
  font-family: var(--nstuv-font);
  color: var(--nstuv-ink);
  line-height: 1.5;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-width: 0;
  margin: 0 auto;
  padding:
    clamp(16px, 3vw, 34px)
    max(clamp(12px, 2vw, 22px), env(safe-area-inset-right, 0px))
    max(clamp(22px, 3vw, 34px), env(safe-area-inset-bottom, 0px))
    max(clamp(12px, 2vw, 22px), env(safe-area-inset-left, 0px));
  background:
    radial-gradient(circle at 0% 0%, rgba(37, 244, 238, 0.16), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(254, 44, 85, 0.2), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(78, 98, 255, 0.12), transparent 34%),
    linear-gradient(145deg, #070b16 0%, #0d1324 52%, #111827 100%);
  border-radius: 0;
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
}

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

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

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

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

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

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

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

.nstuv-hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  padding: clamp(24px, 4vw, 42px);
  text-align: center;
  border: 1px solid var(--nstuv-line);
  box-shadow: var(--nstuv-shadow-soft);
  border-radius: var(--nstuv-radius);
  backdrop-filter: blur(10px);
}

.nstuv-hero__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 8px;
}

.nstuv-hero__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  min-width: 52px;
  margin: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--nstuv-accent), var(--nstuv-cool));
  color: #fff;
  box-shadow: 0 16px 36px rgba(254, 44, 85, 0.35);
  flex: 0 0 auto;
}

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

.nstuv-hero__title {
  font-size: clamp(1.5rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.15;
  text-transform: capitalize;
  text-wrap: balance;
}

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

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

.nstuv-hero__lead {
  margin-top: 10px;
  color: var(--nstuv-muted);
  font-size: 1rem;
  max-width: 760px;
  margin-inline: auto;
}

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

.nstuv-search__label,
.xrespond-ts-label {
  display: block;
  font-size: 0.82rem;
  color: var(--nstuv-muted);
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

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

.nstuv-search__field {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--nstuv-line);
  border-radius: 14px;
  background: rgba(5, 10, 20, 0.7);
  color: var(--nstuv-ink);
  padding: 14px 16px;
  font-size: 16px;
  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;
}

.nstuv-search__field:hover {
  border-color: var(--nstuv-line-strong);
}

.nstuv-search__field:focus {
  border-color: var(--nstuv-cool);
  box-shadow: 0 0 0 4px rgba(37, 244, 238, 0.16);
  background: rgba(8, 14, 26, 0.96);
}

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

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

.nstuv-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  flex: 1 1 calc(50% - 5px);
  min-height: 46px;
  min-width: 0;
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  font-family: var(--nstuv-font);
  box-shadow: var(--nstuv-shadow-soft);
}

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

.nstuv-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 244, 238, 0.16);
}

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

.nstuv-btn--paste {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border-color: var(--nstuv-line);
  color: var(--nstuv-text);
}

.nstuv-btn--paste:hover {
  border-color: rgba(37, 244, 238, 0.28);
  background: linear-gradient(180deg, rgba(37, 244, 238, 0.12), rgba(255, 255, 255, 0.05));
}

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

.nstuv-btn--view:hover {
  box-shadow: 0 18px 34px rgba(254, 44, 85, 0.24);
}

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

.nstuv-btn--reset:hover {
  box-shadow: 0 18px 34px rgba(37, 244, 238, 0.22);
}

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

.nstuv .nstuv-btn i,
.nstuv .nstuv-status__badge i,
.nstuv .nstuv-profile__zoom i,
.nstuv .nstuv-modal__close i,
.nstuv .nstuv-hero__brand i,
.nstuv .nstuv-profile__verified i,
.nstuv .nstuv-notice i,
.nstuv i.fa-solid,
.nstuv i.fa-brands,
.nstuv .fa-circle-check,
.nstuv .fa-circle-info,
.nstuv .fa-expand,
.nstuv .fa-eye,
.nstuv .fa-paste,
.nstuv .fa-rotate-left,
.nstuv .fa-tiktok,
.nstuv .fa-xmark {
  --fa-display: inline-block;
  display: inline-block !important;
  line-height: 1 !important;
  font-style: normal !important;
  -webkit-font-smoothing: antialiased;
}

.nstuv-alert,
.xrespond-ts-error {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(251, 113, 133, 0.12);
  border: 1px solid rgba(251, 113, 133, 0.3);
  color: #ffd3db;
  font-size: 0.9rem;
}

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

.nstuv-alert.is-info {
  background: rgba(37, 244, 238, 0.1);
  border-color: rgba(37, 244, 238, 0.28);
  color: #bdfcf8;
}

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

.nstuv-skeleton {
  display: none;
}

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

.nstuv-skeleton__panel {
  background: var(--nstuv-panel);
  border: 1px solid var(--nstuv-line);
  border-radius: var(--nstuv-radius);
  box-shadow: var(--nstuv-shadow);
  padding: clamp(18px, 2vw, 24px);
  backdrop-filter: blur(12px);
}

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

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

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

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

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

.nstuv-skeleton__line--lg { width: 60%; }
.nstuv-skeleton__line--md { width: 40%; }

.nstuv-skeleton__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.nstuv-skeleton__stat {
  height: 72px;
}

.nstuv-panel,
.nstuv-result {
  background: var(--nstuv-panel);
  border: 1px solid var(--nstuv-line);
  border-radius: var(--nstuv-radius);
  box-shadow: var(--nstuv-shadow);
  padding: var(--nstuv-pad);
  backdrop-filter: blur(12px);
}

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

.nstuv-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(37, 244, 238, 0.08);
  border: 1px solid rgba(37, 244, 238, 0.16);
  color: var(--nstuv-text);
  font-size: 0.9rem;
}

.nstuv-notice i,
.fa-circle-info {
  color: var(--nstuv-cool);
  margin-top: 2px;
}

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

.nstuv-status {
  display: none;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
  border-radius: 18px;
  border: 1px solid var(--nstuv-line);
  background: rgba(255, 255, 255, 0.04);
}

.nstuv-status.is-visible {
  display: flex;
}

.nstuv-status__badge {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nstuv-status--available {
  background: rgba(52, 211, 153, 0.08);
  border-color: rgba(52, 211, 153, 0.28);
}

.nstuv-status--available .nstuv-status__badge,
.fa-circle-check {
  background: rgba(52, 211, 153, 0.14);
  color: var(--nstuv-ok);
}

.nstuv-status--taken {
  background: rgba(254, 44, 85, 0.08);
  border-color: rgba(254, 44, 85, 0.28);
}

.nstuv-status--taken .nstuv-status__badge {
  background: rgba(254, 44, 85, 0.14);
  color: var(--nstuv-accent);
}

.nstuv-status__body {
  min-width: 0;
  flex: 1;
  text-align: left;
}

.nstuv-status__title {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.nstuv-status--available .nstuv-status__title {
  color: #86efac;
}

.nstuv-status--taken .nstuv-status__title {
  color: #fda4af;
}

.nstuv-status__message {
  color: var(--nstuv-text);
  font-size: 0.92rem;
  line-height: 1.55;
}

.nstuv-status__handle {
  display: inline-block;
  margin: 0 3px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(37, 244, 238, 0.12);
  color: var(--nstuv-cool);
  font-family: ui-monospace, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  font-size: 0.92em;
}

.nstuv-profile {
  display: grid;
  gap: 16px;
  padding: clamp(16px, 2vw, 22px);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(37, 244, 238, 0.07), rgba(254, 44, 85, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nstuv-profile.is-hidden {
  display: none !important;
}

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

.nstuv-profile__avatar {
  width: var(--nstuv-avatar);
  height: var(--nstuv-avatar);
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(254, 44, 85, 0.55);
  background: #222;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.28);
}

.nstuv-profile__zoom {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nstuv-accent), var(--nstuv-accent-deep));
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 22px rgba(254, 44, 85, 0.26);
}

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

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

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

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

.nstuv-profile__handle {
  color: var(--nstuv-muted);
  margin-top: 2px;
  text-align: center;
  overflow-wrap: anywhere;
  font-family: ui-monospace, Menlo, Monaco, Consolas, monospace;
  font-size: 0.94rem;
}

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

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

.nstuv-stat {
  background: rgba(5, 10, 20, 0.48);
  border: 1px solid var(--nstuv-line);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
}

.nstuv-stat__value {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--nstuv-ink);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.nstuv-stat__label {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--nstuv-dim);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nstuv-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(3, 7, 18, 0.76);
  backdrop-filter: blur(10px);
}

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

.nstuv-modal__dialog {
  width: min(560px, 100%);
  background: var(--nstuv-panel-strong);
  border: 1px solid var(--nstuv-line);
  border-radius: 20px;
  padding: 16px;
  position: relative;
  max-height: min(92vh, 900px);
  overflow: auto;
  box-shadow: 0 26px 70px rgba(2, 6, 23, 0.48);
}

.nstuv-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--nstuv-line);
  border-radius: 50%;
  background: rgba(8, 12, 24, 0.8);
  color: #fff;
  cursor: pointer;
}

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

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

.nstuv-result,
.xrespond-ts-widget {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

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

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

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

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

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

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

.nstuv.nstuv--desktop .nstuv-profile__meta {
  grid-column: 2;
}

.nstuv.nstuv--desktop .nstuv-stats {
  grid-column: 1 / -1;
}

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

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

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

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

.nstuv.nstuv--compact .nstuv-search__row {
  flex-direction: column !important;
}

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

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

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

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

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

.nstuv.nstuv--narrow .nstuv-hero__title {
  font-size: 1.2rem;
}

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

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

  .nstuv-btn,
  .nstuv-search__field {
    transition: none;
  }
}

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

.nstuv #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;
}

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

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

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

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

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

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

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

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

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

@media (max-width: 720px) {
  .nstuv {
    min-height: auto;
    padding-top: 14px;
  }

  .nstuv-hero {
    padding: 20px 16px;
  }

  .nstuv-hero__heading {
    gap: 10px;
  }

  .nstuv-hero__brand {
    width: 46px;
    height: 46px;
    min-width: 46px;
  }

  .nstuv-hero__lead {
    font-size: 0.94rem;
  }

  .nstuv-search,
  .nstuv-panel,
  .nstuv-result,
  .nstuv-skeleton__panel {
    padding: 16px;
    border-radius: 18px;
  }

  .nstuv .nstuv-search .nstuv-search__row {
    flex-wrap: wrap !important;
  }

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

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

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

  .nstuv-profile {
    padding: 16px;
  }

  .nstuv-stats,
  .nstuv-skeleton__stats {
    grid-template-columns: 1fr;
  }

  .nstuv-status {
    flex-direction: column;
    align-items: stretch;
  }

  .nstuv-status__badge {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  .nstuv-modal__dialog {
    width: 100%;
    padding: 14px;
  }
}

@media (max-width: 520px) {
  .nstuv-btn,
  .nstuv.nstuv--compact .nstuv-btn,
  .nstuv.nstuv--narrow .nstuv-btn,
  .nstuv .nstuv-search .nstuv-search__row > .nstuv-btn,
  .nstuv .nstuv-search .nstuv-search__actions .nstuv-btn,
  .nstuv .nstuv-search .nstuv-search__row .nstuv-search__actions .nstuv-btn {
    flex: 1 1 100% !important;
    width: 100% !important;
  }

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

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