@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 Stats Viewer — WordPress-scoped styles */
  .nstsv {
    container-type: inline-size;
    container-name: nstsv;
    --nstsv-ink: #ffffff;
    --nstsv-muted: #cbd5e1;
    --nstsv-dim: #94a3b8;
    --nstsv-panel: rgba(22, 24, 35, 0.94);
    --nstsv-panel-soft: rgba(255, 255, 255, 0.08);
    --nstsv-line: rgba(255, 255, 255, 0.12);
    --nstsv-accent: #ff0050;
    --nstsv-accent-deep: #ee1d52;
    --nstsv-cool: #00f2ea;
    --nstsv-cool-deep: #69c9d0;
    --nstsv-danger: #ff4d6d;
    --nstsv-radius: 16px;
    --nstsv-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    --nstsv-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --nstsv-space: 16px;
    --nstsv-avatar: 96px;
    --nstsv-pad: 12px;
    --nstsv-gap: 12px;

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

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

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

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

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

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

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

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

  .nstsv-hero {
    background: transparent;
    padding: 36px 0 14px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    backdrop-filter: blur(12px);
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }

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

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

  .nstsv .nstsv-hero__brand i {
    font-size: 1.25rem !important;
    width: auto;
    color: #fff !important;
  }

  .nstsv .nstsv-hero__title {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0;
    color: var(--nstsv-ink);
  }

  .nstsv-hero__title-mark {
    background: linear-gradient(135deg, var(--nstsv-accent) 0%, var(--nstsv-cool) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
  }

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

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

  .nstsv-search {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    text-align: left;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-top: 4px;
    padding: clamp(10px, 2vw, 14px);
    background: rgba(10, 10, 15, 0.55);
    border: 1px solid var(--nstsv-line);
    border-radius: 12px;
    box-shadow: var(--nstsv-shadow);
  }

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

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

  .nstsv .nstsv-search__field {
    flex: 1 1 160px;
    min-width: 0 !important;
    height: 46px;
    min-height: 46px;
    padding: 0 14px !important;
    border: 1px solid var(--nstsv-line) !important;
    border-radius: 10px;
    background: rgba(10, 10, 15, 0.75) !important;
    color: #ffffff !important;
    font-family: var(--nstsv-font);
    font-size: 16px !important;
    font-weight: 500;
    line-height: 46px;
    outline: none;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
  }

  .nstsv .nstsv-search__field:focus {
    border-color: var(--nstsv-cool) !important;
    box-shadow: 0 0 0 3px rgba(0, 242, 234, 0.28);
  }

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

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

  .nstsv .nstsv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 1 1 calc(50% - 4px);
    height: 46px;
    min-height: 46px;
    min-width: 0;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 10px;
    font-family: var(--nstsv-font);
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
    user-select: none;
    text-decoration: none;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
  }

  .nstsv .nstsv-btn i,
  .nstsv .nstsv-avatar__zoom i,
  .nstsv .nstsv-modal__close i,
  .nstsv .nstsv-chip i,
  .nstsv .nstsv-more i,
  .nstsv .nstsv-hero__brand i,
  .nstsv .nstsv-meta__verified i,
  .nstsv .nstsv-kpi__icon i,
  .nstsv .nstsv-metric__icon i,
  .nstsv i.fa-solid,
  .nstsv i.fa-brands,
  .nstsv i.fas {
    --fa-display: inline-block;
    display: inline-block !important;
    line-height: 1 !important;
    font-size: 0.92em;
    width: 1.15em;
    text-align: center;
    vertical-align: middle;
    font-style: normal !important;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
  }

  .nstsv .nstsv-btn--paste {
    background: var(--nstsv-panel-soft) !important;
    color: var(--nstsv-ink) !important;
    border: 1px solid var(--nstsv-line) !important;
  }

  .nstsv .nstsv-btn--view {
    background: linear-gradient(135deg, var(--nstsv-accent) 0%, #ff4081 45%, var(--nstsv-cool) 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(255, 0, 80, 0.35);
  }

  .nstsv .nstsv-btn--reset {
    background: linear-gradient(135deg, var(--nstsv-cool), var(--nstsv-cool-deep)) !important;
    color: #0a0a0f !important;
    box-shadow: 0 8px 18px rgba(0, 242, 234, 0.28);
  }

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

  .nstsv .nstsv-btn:disabled,
  .nstsv .nstsv-btn.is-hidden {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
  }

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

  .nstsv .nstsv-search__hint {
    margin: 0;
    font-size: 0.8rem;
    font-style: italic;
    color: var(--nstsv-dim);
    line-height: 1.4;
  }

  .nstsv .nstsv-alert {
    display: none;
    margin: 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255, 107, 122, 0.12);
    border: 1px solid rgba(255, 107, 122, 0.35);
    color: var(--nstsv-danger);
    font-weight: 600;
    font-size: 0.88rem;
    text-align: left;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

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

  .nstsv .nstsv-alert.is-info {
    background: rgba(0, 242, 234, 0.12);
    border-color: rgba(0, 242, 234, 0.35);
    color: var(--nstsv-cool);
  }

  .nstsv .nstsv-skeleton {
    display: none;
    margin: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

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

  .nstsv.is-loading {
    overflow: hidden !important;
  }

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

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

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

  .nstsv .nstsv-sk {
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.14) 45%,
        rgba(255, 255, 255, 0.06) 100%);
    background-size: 800px 100%;
    animation: nstsv-shimmer 1.35s ease-in-out infinite;
    border-radius: 8px;
  }

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

  .nstsv-skeleton__profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: var(--nstsv-pad);
    border-radius: 12px;
    background: linear-gradient(160deg, rgba(0, 242, 234, 0.1), rgba(255, 0, 80, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nstsv .nstsv-skeleton__avatar {
    width: var(--nstsv-avatar);
    height: var(--nstsv-avatar);
    border-radius: 50% !important;
  }

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

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

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

  .nstsv-skeleton__kpi {
    height: 92px;
    border-radius: 14px;
  }

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

  .nstsv-skeleton__metric {
    height: 76px;
    border-radius: 12px;
  }

  .nstsv .nstsv-result {
    display: block;
    margin: 0;
    width: 100%;
    min-width: 0;
  }

  .nstsv-panel {
    background: var(--nstsv-panel);
    border: 1px solid var(--nstsv-line);
    border-radius: var(--nstsv-radius);
    box-shadow: var(--nstsv-shadow);
    padding: var(--nstsv-pad);
    backdrop-filter: blur(12px);
    width: 100%;
    min-width: 0;
  }

  .nstsv .nstsv-empty {
    text-align: center;
    padding: 36px 16px;
    color: var(--nstsv-muted);
  }

  .nstsv #nstsv-empty {
    display: none;
  }

  .nstsv-content.is-placeholder #nstsv-empty {
    display: block;
  }

  .nstsv-content.is-placeholder .nstsv-dashboard {
    display: none;
  }

  .nstsv .nstsv-empty i {
    display: block !important;
    font-size: 2.2rem !important;
    width: auto;
    margin: 0 auto 14px;
    color: #fff;
    opacity: 0.9;
  }

  .nstsv .nstsv-empty p {
    max-width: 420px;
    margin: 0 auto;
    line-height: 1.55;
  }

  .nstsv-dashboard {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    min-width: 0;
  }

  .nstsv-profile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: center;
    justify-items: center;
    padding: var(--nstsv-pad);
    border-radius: 12px;
    background: linear-gradient(160deg, rgba(0, 242, 234, 0.12), rgba(255, 0, 80, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .nstsv-avatar {
    position: relative;
    width: var(--nstsv-avatar);
    height: var(--nstsv-avatar);
  }

  .nstsv-avatar__ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--nstsv-accent), var(--nstsv-cool));
    box-shadow: 0 8px 20px rgba(255, 0, 80, 0.35), 0 0 0 1px rgba(0, 242, 234, 0.2);
  }

  .nstsv .nstsv-avatar__img {
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    border-radius: 50%;
    background: #12141f;
    cursor: pointer;
  }

  .nstsv .nstsv-avatar__zoom {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    border: 0 !important;
    background: rgba(10, 10, 15, 0.9) !important;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
    z-index: 2;
  }

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

  .nstsv .nstsv-meta__name {
    font-size: clamp(1.15rem, 3.5vw, 1.45rem);
    font-weight: 800;
    color: var(--nstsv-ink);
    line-height: 1.25;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .nstsv .nstsv-meta__verified {
    display: inline-flex;
    align-items: center;
    color: var(--nstsv-cool);
  }

  .nstsv .nstsv-meta__verified[hidden] {
    display: none !important;
  }

  .nstsv .nstsv-meta__handle {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--nstsv-cool);
    line-height: 1.3;
  }

  .nstsv-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
  }

  .nstsv .nstsv-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.2;
  }

  .nstsv .nstsv-badge--ok {
    background: rgba(0, 242, 234, 0.16);
    color: var(--nstsv-cool);
    border: 1px solid rgba(0, 242, 234, 0.28);
  }

  .nstsv .nstsv-badge--warn {
    background: rgba(255, 0, 80, 0.16);
    color: #ffb3c6;
    border: 1px solid rgba(255, 0, 80, 0.32);
  }

  .nstsv .nstsv-badge[hidden] {
    display: none !important;
  }

  .nstsv .nstsv-bio {
    margin: 4px 0 0;
    color: #e2e8f0;
    font-size: 0.92rem;
    line-height: 1.55;
    max-width: 640px;
  }

  .nstsv .nstsv-bio.is-empty {
    color: var(--nstsv-dim);
    font-style: italic;
  }

  .nstsv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin-top: 6px;
  }

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

  .nstsv .nstsv-chip--accent {
    background: linear-gradient(135deg, var(--nstsv-accent), var(--nstsv-accent-deep)) !important;
    border-color: transparent !important;
  }

  .nstsv .nstsv-chip:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }

  .nstsv-kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .nstsv-kpi {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 14px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nstsv-kpi__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .nstsv .nstsv-kpi__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--nstsv-dim);
  }

  .nstsv-kpi__icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 80, 0.16);
    color: var(--nstsv-accent);
    flex: 0 0 auto;
  }

  .nstsv-kpi:nth-child(2) .nstsv-kpi__icon {
    background: rgba(0, 242, 234, 0.16);
    color: var(--nstsv-cool);
  }

  .nstsv-kpi:nth-child(3) .nstsv-kpi__icon {
    background: rgba(255, 64, 129, 0.16);
    color: #ff80ab;
  }

  .nstsv-kpi:nth-child(4) .nstsv-kpi__icon {
    background: rgba(105, 201, 208, 0.16);
    color: var(--nstsv-cool-deep);
  }

  .nstsv .nstsv-kpi__value {
    font-size: clamp(1.2rem, 4vw, 1.55rem);
    font-weight: 800;
    color: var(--nstsv-ink);
    line-height: 1.15;
    letter-spacing: -0.02em;
  }

  .nstsv .nstsv-kpi__hint {
    font-size: 0.75rem;
    color: var(--nstsv-dim);
  }

  .nstsv-section {
    width: 100%;
    min-width: 0;
    padding: 14px;
    border-radius: 14px;
    background: rgba(10, 10, 15, 0.42);
    border: 1px solid var(--nstsv-line);
  }

  .nstsv-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
  }

  .nstsv .nstsv-section__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--nstsv-ink);
  }

  .nstsv .nstsv-section__title i {
    color: var(--nstsv-accent);
  }

  .nstsv .nstsv-section__note {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--nstsv-dim);
  }

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

  .nstsv-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
  }

  .nstsv-metric__icon {
    color: var(--nstsv-cool);
    margin-bottom: 2px;
  }

  .nstsv .nstsv-metric__value {
    font-size: clamp(1rem, 3vw, 1.18rem);
    font-weight: 800;
    color: var(--nstsv-ink);
    line-height: 1.2;
  }

  .nstsv .nstsv-metric__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--nstsv-dim);
  }

  .nstsv-insights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
  }

  .nstsv .nstsv-insight {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--nstsv-muted);
  }

  .nstsv .nstsv-insight--hot {
    background: rgba(255, 0, 80, 0.16);
    border-color: rgba(255, 0, 80, 0.3);
    color: #ffb3c6;
  }

  .nstsv .nstsv-insight--cool {
    background: rgba(0, 242, 234, 0.14);
    border-color: rgba(0, 242, 234, 0.28);
    color: var(--nstsv-cool);
  }

  .nstsv-mix {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .nstsv-mix__row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 64px;
    gap: 10px;
    align-items: center;
  }

  .nstsv .nstsv-mix__name {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--nstsv-muted);
  }

  .nstsv-mix__track {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
  }

  .nstsv-mix__fill {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--nstsv-accent), var(--nstsv-cool));
    transition: width 0.45s ease;
  }

  .nstsv-mix__fill--views {
    background: linear-gradient(90deg, #00f2ea, #69c9d0);
  }

  .nstsv-mix__fill--likes {
    background: linear-gradient(90deg, #ff0050, #ff4081);
  }

  .nstsv-mix__fill--comments {
    background: linear-gradient(90deg, #a78bfa, #60a5fa);
  }

  .nstsv-mix__fill--shares {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
  }

  .nstsv .nstsv-mix__value {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--nstsv-ink);
    text-align: right;
  }

  .nstsv-rank {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .nstsv-rank__item {
    display: grid;
    grid-template-columns: 36px 56px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 0;
    text-decoration: none;
    color: inherit;
  }

  .nstsv-rank__item:hover {
    text-decoration: none;
    border-color: rgba(0, 242, 234, 0.35);
    background: rgba(0, 242, 234, 0.06);
  }

  .nstsv .nstsv-rank__pos {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--nstsv-cool);
    text-align: center;
  }

  .nstsv .nstsv-rank__thumb {
    width: 56px;
    height: 74px;
    border-radius: 8px;
    object-fit: cover;
    background: #12141f;
  }

  .nstsv .nstsv-rank__title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--nstsv-ink);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .nstsv-rank__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 6px;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--nstsv-muted);
  }

  .nstsv-rank__metrics span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }

  .nstsv-rank__metrics i {
    color: var(--nstsv-accent);
  }

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

  .nstsv-more.is-visible {
    display: inline-flex;
  }

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

  .nstsv-more:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }

  .nstsv-content.is-placeholder .nstsv-avatar__zoom,
  .nstsv-content.is-placeholder .nstsv-chip {
    opacity: 0.55;
    pointer-events: none;
  }

  .nstsv-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(10, 10, 15, 0.82);
    backdrop-filter: blur(6px);
  }

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

  .nstsv-modal__dialog {
    position: relative;
    width: min(420px, 100%);
    max-height: min(92vh, 900px);
    overflow: auto;
    background: var(--nstsv-panel);
    border: 1px solid var(--nstsv-line);
    border-radius: 16px;
    box-shadow: var(--nstsv-shadow);
    padding: 14px;
    min-width: 0;
  }

  .nstsv .nstsv-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    appearance: none;
    z-index: 2;
  }

  .nstsv-modal__stage {
    border-radius: 12px;
    overflow: hidden;
    background: #000;
  }

  .nstsv .nstsv-modal__media {
    width: 100% !important;
    max-height: min(70vh, 640px);
    object-fit: contain;
    margin: 0 auto;
  }

  .nstsv-modal__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
  }

  .nstsv .nstsv-modal__caption {
    flex: 1 1 160px;
    font-size: 0.92rem;
    font-weight: 700;
    min-width: 0;
  }

  .nstsv .nstsv-modal__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 44px;
    min-height: 44px;
    padding: 0 14px !important;
    border-radius: 10px;
    border: 0 !important;
    background: var(--nstsv-accent) !important;
    color: #ffffff !important;
    font-family: var(--nstsv-font);
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    appearance: none;
    touch-action: manipulation;
  }

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

  .nstsv.nstsv--desktop .nstsv-search__field {
    flex: 1 1 220px !important;
    width: auto !important;
  }

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

  .nstsv.nstsv--desktop .nstsv-btn {
    flex: 0 0 auto;
  }

  .nstsv.nstsv--desktop .nstsv-profile {
    grid-template-columns: auto 1fr;
    text-align: left;
    justify-items: start;
  }

  .nstsv.nstsv--desktop .nstsv-meta,
  .nstsv.nstsv--desktop .nstsv-badges,
  .nstsv.nstsv--desktop .nstsv-actions {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .nstsv.nstsv--desktop .nstsv-meta__name {
    justify-content: flex-start;
  }

  .nstsv.nstsv--desktop .nstsv-kpis,
  .nstsv.nstsv--desktop .nstsv-skeleton__kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .nstsv.nstsv--desktop .nstsv-metrics,
  .nstsv.nstsv--desktop .nstsv-skeleton__metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .nstsv.nstsv--desktop .nstsv-chip {
    flex: 0 1 auto;
    min-width: 150px;
  }

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

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

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

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

  .nstsv.nstsv--narrow .nstsv-btn,
  .nstsv.nstsv--narrow .nstsv-chip {
    flex: 1 1 100% !important;
  }

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

  .nstsv.nstsv--narrow .nstsv-kpis,
  .nstsv.nstsv--narrow .nstsv-metrics,
  .nstsv.nstsv--narrow .nstsv-skeleton__kpis,
  .nstsv.nstsv--narrow .nstsv-skeleton__metrics {
    grid-template-columns: 1fr;
  }

  .nstsv.nstsv--narrow .nstsv-mix__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .nstsv.nstsv--narrow .nstsv-mix__value {
    text-align: left;
  }

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

  @media (max-width: 359px) {
    .nstsv {
      --nstsv-avatar: 84px;
      --nstsv-pad: 10px;
    }
  }

  @media (max-height: 480px) and (orientation: landscape) {
    .nstsv .nstsv-hero__lead {
      display: none;
    }
  }

  @media (hover: none) {

    .nstsv .nstsv-btn:hover,
    .nstsv .nstsv-chip:hover,
    .nstsv-rank__item:hover {
      transform: none;
    }
  }

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

    .nstsv *,
    .nstsv *::before,
    .nstsv *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }

    .nstsv .nstsv-sk {
      animation: none;
      background: rgba(255, 255, 255, 0.1);
    }
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- Codex CSS updates --- */
/* New Social TikTok Stats Viewer — WordPress-scoped styles */
.nstsv {
  container-type: inline-size;
  container-name: nstsv;
  --nstsv-ink: #f8fafc;
  --nstsv-muted: #cbd5e1;
  --nstsv-dim: #94a3b8;
  --nstsv-panel: rgba(15, 23, 42, 0.82);
  --nstsv-panel-strong: rgba(15, 23, 42, 0.94);
  --nstsv-panel-soft: rgba(255, 255, 255, 0.08);
  --nstsv-line: rgba(148, 163, 184, 0.22);
  --nstsv-line-strong: rgba(255, 255, 255, 0.28);
  --nstsv-accent: #ff2f6d;
  --nstsv-accent-deep: #d91f5c;
  --nstsv-cool: #22d3ee;
  --nstsv-cool-deep: #0891b2;
  --nstsv-gold: #fbbf24;
  --nstsv-success: #34d399;
  --nstsv-danger: #fb7185;
  --nstsv-radius: 18px;
  --nstsv-radius-sm: 12px;
  --nstsv-shadow: 0 22px 60px rgba(2, 6, 23, 0.38);
  --nstsv-shadow-soft: 0 12px 28px rgba(2, 6, 23, 0.22);
  --nstsv-focus: 0 0 0 4px rgba(34, 211, 238, 0.24);
  --nstsv-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --nstsv-space: 16px;
  --nstsv-avatar: 96px;
  --nstsv-pad: clamp(14px, 2vw, 22px);
  --nstsv-gap: 14px;

  box-sizing: border-box !important;
  font-family: var(--nstsv-font);
  color: var(--nstsv-ink);
  line-height: 1.5;
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-width: 0 !important;
  margin: 0 auto;
  padding: clamp(12px, 2.5vw, 30px) max(clamp(10px, 2vw, 18px), env(safe-area-inset-right, 0px)) max(clamp(16px, 3vw, 32px), env(safe-area-inset-bottom, 0px)) max(clamp(10px, 2vw, 18px), env(safe-area-inset-left, 0px));
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 47, 109, 0.28), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(34, 211, 238, 0.22), transparent 32%),
    linear-gradient(145deg, #080b14 0%, #101827 48%, #15111f 100%);
  border-radius: 0;
  position: relative;
  isolation: isolate;
  text-align: left;
  overflow-x: hidden !important;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

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

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

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

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

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

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

.nstsv-hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  padding: clamp(18px, 3vw, 34px);
  text-align: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--nstsv-line);
  box-shadow: var(--nstsv-shadow-soft);
  border-radius: var(--nstsv-radius);
}

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

.nstsv-hero__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  margin: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--nstsv-accent), #a855f7 48%, var(--nstsv-cool));
  color: #fff;
  box-shadow: 0 14px 28px rgba(255, 47, 109, 0.32);
  flex: 0 0 auto;
}

.nstsv .nstsv-hero__brand i {
  font-size: 1.15rem !important;
  width: auto;
  color: #fff !important;
}

.nstsv .nstsv-hero__title {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.22;
  margin: 0;
  color: var(--nstsv-ink);
  text-transform: capitalize !important;
}

.nstsv-hero__title-mark {
  background: linear-gradient(135deg, #fff 0%, #fda4af 42%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
  text-transform: capitalize !important;
}

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

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

.nstsv-search {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 11px;
  text-align: left;
  width: 100%;
  max-width: 820px;
  min-width: 0;
  box-sizing: border-box;
  margin: 8px auto 0;
  padding: clamp(12px, 2vw, 16px);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--nstsv-line);
  border-radius: 16px;
  box-shadow: var(--nstsv-shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nstsv .nstsv-search__label,
.nstsv .xrespond-ts-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--nstsv-muted);
  line-height: 1.3;
}

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

.nstsv .nstsv-search__field {
  flex: 0 0 auto;
  min-width: 0 !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 56px !important;
  resize: none !important;
  padding: 0 16px !important;
  border: 1px solid var(--nstsv-line) !important;
  border-radius: 13px;
  background: rgba(2, 6, 23, 0.68) !important;
  color: #ffffff !important;
  font-family: var(--nstsv-font);
  font-size: 16px !important;
  font-weight: 600;
  line-height: 52px !important;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  width: 100%;
  max-width: 100%;
  overflow: hidden !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.nstsv .nstsv-search__field:focus {
  border-color: var(--nstsv-cool) !important;
  box-shadow: var(--nstsv-focus), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  background: rgba(2, 6, 23, 0.86) !important;
}

.nstsv .nstsv-search__field::placeholder {
  color: #9ca3af;
  opacity: 1;
}

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

.nstsv .nstsv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 calc(50% - 5px);
  height: 52px !important;
  min-height: 52px !important;
  max-height: 56px !important;
  min-width: 0;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 13px;
  font-family: var(--nstsv-font);
  font-size: 0.94rem !important;
  font-weight: 800 !important;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  user-select: none;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
}

.nstsv .nstsv-btn i,
.nstsv .nstsv-avatar__zoom i,
.nstsv .nstsv-modal__close i,
.nstsv .nstsv-chip i,
.nstsv .nstsv-more i,
.nstsv .nstsv-hero__brand i,
.nstsv .nstsv-meta__verified i,
.nstsv .nstsv-kpi__icon i,
.nstsv .nstsv-metric__icon i,
.nstsv i.fa-solid,
.nstsv i.fa-brands,
.nstsv i.fas,
.nstsv .fa-angles-down,
.nstsv .fa-at,
.nstsv .fa-bolt,
.nstsv .fa-chart-column,
.nstsv .fa-chart-line,
.nstsv .fa-chart-pie,
.nstsv .fa-circle-check,
.nstsv .fa-clock,
.nstsv .fa-comment,
.nstsv .fa-copy,
.nstsv .fa-download,
.nstsv .fa-expand,
.nstsv .fa-eye,
.nstsv .fa-film,
.nstsv .fa-gauge-high,
.nstsv .fa-globe,
.nstsv .fa-heart,
.nstsv .fa-lock,
.nstsv .fa-paste,
.nstsv .fa-play,
.nstsv .fa-rotate-left,
.nstsv .fa-share-nodes,
.nstsv .fa-tiktok,
.nstsv .fa-trophy,
.nstsv .fa-user-check,
.nstsv .fa-user-plus,
.nstsv .fa-users,
.nstsv .fa-xmark {
  --fa-display: inline-block;
  display: inline-block !important;
  line-height: 1 !important;
  font-size: 0.95em;
  width: 1.15em;
  text-align: center;
  vertical-align: middle;
  font-style: normal !important;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.nstsv i.fa-solid,
.nstsv i.fas,
.nstsv .fa-angles-down,
.nstsv .fa-at,
.nstsv .fa-bolt,
.nstsv .fa-chart-column,
.nstsv .fa-chart-line,
.nstsv .fa-chart-pie,
.nstsv .fa-circle-check,
.nstsv .fa-clock,
.nstsv .fa-comment,
.nstsv .fa-copy,
.nstsv .fa-download,
.nstsv .fa-expand,
.nstsv .fa-eye,
.nstsv .fa-film,
.nstsv .fa-gauge-high,
.nstsv .fa-globe,
.nstsv .fa-heart,
.nstsv .fa-lock,
.nstsv .fa-paste,
.nstsv .fa-play,
.nstsv .fa-rotate-left,
.nstsv .fa-share-nodes,
.nstsv .fa-trophy,
.nstsv .fa-user-check,
.nstsv .fa-user-plus,
.nstsv .fa-users,
.nstsv .fa-xmark {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome !important;
  font-weight: 900 !important;
}

.nstsv i.fa-brands,
.nstsv .fa-tiktok {
  font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", FontAwesome !important;
  font-weight: 400 !important;
}

.nstsv .nstsv-btn--paste {
  background: rgba(255, 255, 255, 0.09) !important;
  color: var(--nstsv-ink) !important;
  border: 1px solid var(--nstsv-line) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nstsv .nstsv-btn--view {
  background: linear-gradient(135deg, var(--nstsv-accent) 0%, #a855f7 48%, var(--nstsv-cool) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(255, 47, 109, 0.28);
}

.nstsv .nstsv-btn--reset {
  background: linear-gradient(135deg, var(--nstsv-cool), #67e8f9) !important;
  color: #07111f !important;
  box-shadow: 0 14px 28px rgba(34, 211, 238, 0.22);
}

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

.nstsv .nstsv-btn:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.nstsv .nstsv-btn:focus-visible,
.nstsv .nstsv-chip:focus-visible,
.nstsv .nstsv-more:focus-visible,
.nstsv .nstsv-avatar__zoom:focus-visible,
.nstsv .nstsv-modal__close:focus-visible,
.nstsv .nstsv-modal__action:focus-visible {
  outline: none;
  box-shadow: var(--nstsv-focus);
}

.nstsv .nstsv-btn:disabled,
.nstsv .nstsv-btn.is-hidden {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

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

.nstsv .nstsv-search__hint {
  margin: 0;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--nstsv-dim);
  line-height: 1.45;
}

.nstsv .nstsv-alert,
.nstsv .xrespond-ts-error {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(251, 113, 133, 0.12);
  border: 1px solid rgba(251, 113, 133, 0.36);
  color: #fecdd3;
  font-weight: 700;
  font-size: 0.88rem;
  text-align: left;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

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

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

.nstsv .nstsv-skeleton {
  display: none;
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

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

.nstsv.is-loading {
  overflow: hidden !important;
}

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

@keyframes nstsv-shimmer {
  0% {
    background-position: -420px 0;
  }

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

.nstsv .nstsv-sk,
.nstsv .nstsv-skeleton__line {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.16) 45%, rgba(255, 255, 255, 0.06) 100%);
  background-size: 840px 100%;
  animation: nstsv-shimmer 1.35s ease-in-out infinite;
  border-radius: 10px;
}

.nstsv .nstsv-skeleton__line {
  display: block;
  height: 14px;
  width: 100%;
}

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

.nstsv-skeleton__profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: var(--nstsv-pad);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(34, 211, 238, 0.12), rgba(255, 47, 109, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nstsv .nstsv-skeleton__avatar {
  width: var(--nstsv-avatar);
  height: var(--nstsv-avatar);
  border-radius: 50% !important;
}

.nstsv-skeleton__line--lg {
  width: min(220px, 72%);
  height: 22px;
}

.nstsv-skeleton__line--md {
  width: min(150px, 54%);
  height: 14px;
}

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

.nstsv-skeleton__kpi {
  height: 96px;
  border-radius: 16px;
}

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

.nstsv-skeleton__metric {
  height: 80px;
  border-radius: 14px;
}

.nstsv .nstsv-result {
  display: block;
  margin: 0;
  width: 100%;
  min-width: 0;
}

.nstsv-panel {
  background: var(--nstsv-panel);
  border: 1px solid var(--nstsv-line);
  border-radius: var(--nstsv-radius);
  box-shadow: var(--nstsv-shadow);
  padding: var(--nstsv-pad);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  width: 100%;
  min-width: 0;
}

.nstsv .nstsv-empty {
  text-align: center;
  padding: clamp(28px, 5vw, 48px) 16px;
  color: var(--nstsv-muted);
}

.nstsv #nstsv-empty {
  display: none;
}

.nstsv-content.is-placeholder #nstsv-empty {
  display: block;
}

.nstsv-content.is-placeholder .nstsv-dashboard {
  display: none;
}

.nstsv .nstsv-empty i {
  display: block !important;
  font-size: 2.15rem !important;
  width: auto;
  margin: 0 auto 14px;
  color: #fff;
  opacity: 0.92;
}

.nstsv .nstsv-empty p {
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.6;
}

.nstsv-dashboard {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.nstsv-profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  justify-items: center;
  padding: var(--nstsv-pad);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(34, 211, 238, 0.13), rgba(168, 85, 247, 0.08), rgba(255, 47, 109, 0.13));
  border: 1px solid rgba(255, 255, 255, 0.09);
  width: 100%;
  min-width: 0;
  text-align: center;
}

.nstsv-avatar {
  position: relative;
  width: var(--nstsv-avatar);
  height: var(--nstsv-avatar);
}

.nstsv-avatar__ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--nstsv-accent), #a855f7, var(--nstsv-cool));
  box-shadow: 0 12px 26px rgba(255, 47, 109, 0.26), 0 0 0 1px rgba(34, 211, 238, 0.18);
}

.nstsv .nstsv-avatar__img {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  border-radius: 50%;
  background: #111827;
  cursor: pointer;
}

.nstsv .nstsv-avatar__zoom {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  border: 1px solid var(--nstsv-line) !important;
  background: rgba(15, 23, 42, 0.94) !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--nstsv-shadow-soft);
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  z-index: 2;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nstsv .nstsv-avatar__zoom:hover {
  transform: translateY(-1px) scale(1.03);
  background: rgba(34, 211, 238, 0.18) !important;
}

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

.nstsv .nstsv-meta__name {
  font-size: clamp(1.12rem, 3vw, 1.42rem);
  font-weight: 800;
  color: var(--nstsv-ink);
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nstsv .nstsv-meta__verified {
  display: inline-flex;
  align-items: center;
  color: var(--nstsv-success);
}

.nstsv .nstsv-meta__verified[hidden] {
  display: none !important;
}

.nstsv .nstsv-meta__handle {
  font-size: 0.95rem;
  font-weight: 700;
  color: #67e8f9;
  line-height: 1.3;
}

.nstsv-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
}

.nstsv .nstsv-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.2;
}

.nstsv .nstsv-badge--ok {
  background: rgba(52, 211, 153, 0.14);
  color: #a7f3d0;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.nstsv .nstsv-badge--warn {
  background: rgba(255, 47, 109, 0.15);
  color: #fecdd3;
  border: 1px solid rgba(255, 47, 109, 0.32);
}

.nstsv .nstsv-badge[hidden] {
  display: none !important;
}

.nstsv .nstsv-bio {
  margin: 5px 0 0;
  color: #e2e8f0;
  font-size: 0.93rem;
  line-height: 1.6;
  max-width: 680px;
}

.nstsv .nstsv-bio.is-empty {
  color: var(--nstsv-dim);
  font-style: italic;
}

.nstsv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
}

.nstsv .nstsv-chip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  flex: 1 1 calc(50% - 5px);
  min-width: 0;
  min-height: 46px;
  height: 46px;
  padding: 0 14px !important;
  border-radius: 12px !important;
  border: 1px solid var(--nstsv-line) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  font-family: var(--nstsv-font) !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  cursor: pointer;
  appearance: none !important;
  -webkit-appearance: none !important;
  touch-action: manipulation;
  text-decoration: none !important;
  margin: 0 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nstsv .nstsv-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(34, 211, 238, 0.38) !important;
  background: rgba(34, 211, 238, 0.11) !important;
}

.nstsv .nstsv-chip--accent {
  background: linear-gradient(135deg, var(--nstsv-accent), #a855f7) !important;
  border-color: transparent !important;
  box-shadow: 0 12px 24px rgba(255, 47, 109, 0.22);
}

.nstsv .nstsv-chip:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.nstsv-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.nstsv-kpi {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  padding: 16px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nstsv-kpi:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.26);
  background: rgba(255, 255, 255, 0.085);
  box-shadow: var(--nstsv-shadow-soft);
}

.nstsv-kpi__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.nstsv .nstsv-kpi__label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nstsv-dim);
}

.nstsv-kpi__icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 47, 109, 0.15);
  color: #fb7185;
  flex: 0 0 auto;
}

.nstsv-kpi:nth-child(2) .nstsv-kpi__icon {
  background: rgba(34, 211, 238, 0.15);
  color: #67e8f9;
}

.nstsv-kpi:nth-child(3) .nstsv-kpi__icon {
  background: rgba(168, 85, 247, 0.16);
  color: #c4b5fd;
}

.nstsv-kpi:nth-child(4) .nstsv-kpi__icon {
  background: rgba(251, 191, 36, 0.16);
  color: #fde68a;
}

.nstsv .nstsv-kpi__value {
  font-size: clamp(1.2rem, 3.4vw, 1.55rem);
  font-weight: 850;
  color: var(--nstsv-ink);
  line-height: 1.15;
  letter-spacing: 0;
}

.nstsv .nstsv-kpi__hint {
  font-size: 0.76rem;
  color: var(--nstsv-dim);
}

.nstsv-section {
  width: 100%;
  min-width: 0;
  padding: clamp(14px, 2vw, 18px);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid var(--nstsv-line);
}

.nstsv-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.nstsv .nstsv-section__title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.02rem;
  font-weight: 850;
  color: var(--nstsv-ink);
}

.nstsv .nstsv-section__title i {
  color: var(--nstsv-accent);
}

.nstsv .nstsv-section__note {
  font-size: 0.79rem;
  font-weight: 700;
  color: var(--nstsv-dim);
}

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

.nstsv-metric {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nstsv-metric__icon {
  color: var(--nstsv-cool);
  margin-bottom: 2px;
}

.nstsv .nstsv-metric__value {
  font-size: clamp(1rem, 2.8vw, 1.18rem);
  font-weight: 850;
  color: var(--nstsv-ink);
  line-height: 1.2;
}

.nstsv .nstsv-metric__label {
  font-size: 0.76rem;
  font-weight: 650;
  color: var(--nstsv-dim);
}

.nstsv-insights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.nstsv .nstsv-insight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 750;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--nstsv-muted);
}

.nstsv .nstsv-insight--hot {
  background: rgba(255, 47, 109, 0.15);
  border-color: rgba(255, 47, 109, 0.3);
  color: #fecdd3;
}

.nstsv .nstsv-insight--cool {
  background: rgba(34, 211, 238, 0.13);
  border-color: rgba(34, 211, 238, 0.28);
  color: #a5f3fc;
}

.nstsv-mix {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.nstsv-mix__row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 64px;
  gap: 10px;
  align-items: center;
}

.nstsv .nstsv-mix__name {
  font-size: 0.79rem;
  font-weight: 750;
  color: var(--nstsv-muted);
}

.nstsv-mix__track {
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.nstsv-mix__fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--nstsv-accent), var(--nstsv-cool));
  transition: width 0.45s ease;
}

.nstsv-mix__fill--views {
  background: linear-gradient(90deg, #22d3ee, #67e8f9);
}

.nstsv-mix__fill--likes {
  background: linear-gradient(90deg, #ff2f6d, #fb7185);
}

.nstsv-mix__fill--comments {
  background: linear-gradient(90deg, #a78bfa, #60a5fa);
}

.nstsv-mix__fill--shares {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.nstsv .nstsv-mix__value {
  font-size: 0.79rem;
  font-weight: 850;
  color: var(--nstsv-ink);
  text-align: right;
}

.nstsv-rank {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nstsv-rank__item {
  display: grid;
  grid-template-columns: 36px 56px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 11px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  min-width: 0;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nstsv-rank__item:hover {
  text-decoration: none;
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.075);
  transform: translateY(-1px);
}

.nstsv .nstsv-rank__pos {
  font-size: 0.92rem;
  font-weight: 850;
  color: var(--nstsv-cool);
  text-align: center;
}

.nstsv .nstsv-rank__thumb {
  width: 56px;
  height: 74px;
  border-radius: 10px;
  object-fit: cover;
  background: #111827;
}

.nstsv .nstsv-rank__title {
  font-size: 0.89rem;
  font-weight: 750;
  color: var(--nstsv-ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nstsv-rank__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 6px;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--nstsv-muted);
}

.nstsv-rank__metrics span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nstsv-rank__metrics i {
  color: var(--nstsv-accent);
}

.nstsv-more {
  appearance: none;
  width: 100%;
  margin-top: 4px;
  border: 1px solid rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.12);
  color: #fff;
  border-radius: 13px;
  padding: 12px 14px;
  font-weight: 850;
  font-size: 0.89rem;
  cursor: pointer;
  display: none;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-family: var(--nstsv-font);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nstsv-more.is-visible {
  display: inline-flex;
}

.nstsv-more:hover {
  background: rgba(34, 211, 238, 0.2);
  transform: translateY(-1px);
}

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

.nstsv-content.is-placeholder .nstsv-avatar__zoom,
.nstsv-content.is-placeholder .nstsv-chip {
  opacity: 0.55;
  pointer-events: none;
}

.nstsv-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

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

.nstsv-modal__dialog {
  position: relative;
  width: min(440px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  background: var(--nstsv-panel-strong);
  border: 1px solid var(--nstsv-line);
  border-radius: 18px;
  box-shadow: var(--nstsv-shadow);
  padding: 16px;
  min-width: 0;
}

.nstsv .nstsv-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--nstsv-line) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  appearance: none;
  z-index: 2;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nstsv .nstsv-modal__close:hover {
  transform: rotate(90deg);
  background: rgba(251, 113, 133, 0.18) !important;
}

.nstsv-modal__stage {
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.nstsv .nstsv-modal__media {
  width: 100% !important;
  max-height: min(70vh, 640px);
  object-fit: contain;
  margin: 0 auto;
}

.nstsv-modal__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.nstsv .nstsv-modal__caption {
  flex: 1 1 160px;
  font-size: 0.93rem;
  font-weight: 750;
  min-width: 0;
}

.nstsv .nstsv-modal__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 46px;
  min-height: 46px;
  padding: 0 16px !important;
  border-radius: 12px;
  border: 0 !important;
  background: linear-gradient(135deg, var(--nstsv-accent), #a855f7) !important;
  color: #ffffff !important;
  font-family: var(--nstsv-font);
  font-size: 0.86rem !important;
  font-weight: 800 !important;
  cursor: pointer;
  appearance: none;
  touch-action: manipulation;
}

.nstsv .xrespond-ts-widget {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 10px 0 0;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--nstsv-line);
  color: var(--nstsv-muted);
}

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

.nstsv.nstsv--desktop .nstsv-search__field {
  flex: 1 1 260px !important;
  width: auto !important;
}

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

.nstsv.nstsv--desktop .nstsv-btn {
  flex: 0 0 auto;
}

.nstsv.nstsv--desktop .nstsv-profile {
  grid-template-columns: auto 1fr;
  text-align: left;
  justify-items: start;
}

.nstsv.nstsv--desktop .nstsv-meta,
.nstsv.nstsv--desktop .nstsv-badges,
.nstsv.nstsv--desktop .nstsv-actions {
  align-items: flex-start;
  justify-content: flex-start;
}

.nstsv.nstsv--desktop .nstsv-meta__name {
  justify-content: flex-start;
}

.nstsv.nstsv--desktop .nstsv-kpis,
.nstsv.nstsv--desktop .nstsv-skeleton__kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nstsv.nstsv--desktop .nstsv-metrics,
.nstsv.nstsv--desktop .nstsv-skeleton__metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nstsv.nstsv--desktop .nstsv-chip {
  flex: 0 1 auto;
  min-width: 150px;
}

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

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

.nstsv.nstsv--compact .nstsv-btn {
  flex: 1 1 100% !important;
}

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

.nstsv.nstsv--narrow .nstsv-btn,
.nstsv.nstsv--narrow .nstsv-chip {
  flex: 1 1 100% !important;
}

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

.nstsv.nstsv--narrow .nstsv-kpis,
.nstsv.nstsv--narrow .nstsv-metrics,
.nstsv.nstsv--narrow .nstsv-skeleton__kpis,
.nstsv.nstsv--narrow .nstsv-skeleton__metrics {
  grid-template-columns: 1fr;
}

.nstsv.nstsv--narrow .nstsv-mix__row {
  grid-template-columns: 1fr;
  gap: 5px;
}

.nstsv.nstsv--narrow .nstsv-mix__value {
  text-align: left;
}

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

@media (max-width: 768px) {
  .nstsv {
    --nstsv-avatar: 88px;
    --nstsv-pad: 14px;
    --nstsv-gap: 12px;
    padding-left: max(10px, env(safe-area-inset-left, 0px));
    padding-right: max(10px, env(safe-area-inset-right, 0px));
  }

  .nstsv-hero {
    padding: 18px 14px;
  }

  .nstsv .nstsv-hero__title {
    font-size: clamp(1.28rem, 6vw, 1.6rem);
    line-height: 1.25;
  }

  .nstsv .nstsv-hero__lead {
    font-size: 0.92rem;
    margin-bottom: 14px;
  }

  .nstsv-search,
  .nstsv .nstsv-search {
    max-width: 100%;
    padding: 12px;
  }

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

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

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

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

  .nstsv-kpis,
  .nstsv-metrics,
  .nstsv-skeleton__kpis,
  .nstsv-skeleton__metrics {
    grid-template-columns: 1fr;
  }

  .nstsv-actions {
    flex-direction: column;
  }

  .nstsv .nstsv-chip {
    flex: 0 0 auto;
    width: 100%;
  }

  .nstsv-mix__row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .nstsv .nstsv-mix__value {
    text-align: left;
  }

  .nstsv-rank__item {
    grid-template-columns: 32px 52px minmax(0, 1fr);
    padding: 10px;
  }

  .nstsv .nstsv-rank__thumb {
    width: 52px;
    height: 68px;
  }

  .nstsv-modal {
    padding: 10px;
  }

  .nstsv-modal__bar {
    flex-direction: column;
    align-items: stretch;
  }

  .nstsv .nstsv-modal__action {
    width: 100%;
  }
}

@media (max-width: 359px) {
  .nstsv {
    --nstsv-avatar: 82px;
    --nstsv-pad: 12px;
  }

  .nstsv-hero__brand {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .nstsv .nstsv-hero__title {
    font-size: 1.22rem;
  }

  .nstsv .nstsv-btn,
  .nstsv .nstsv-search__field {
    height: 50px !important;
    min-height: 50px !important;
  }
}

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

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

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

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

@media (max-height: 480px) and (orientation: landscape) {
  .nstsv .nstsv-hero__lead {
    display: none;
  }
}

@media (hover: none) {
  .nstsv .nstsv-btn:hover,
  .nstsv .nstsv-chip:hover,
  .nstsv-rank__item:hover,
  .nstsv-kpi:hover,
  .nstsv-more:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nstsv *,
  .nstsv *::before,
  .nstsv *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .nstsv .nstsv-sk,
  .nstsv .nstsv-skeleton__line {
    animation: none;
    background: rgba(255, 255, 255, 0.1);
  }
}

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

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

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

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

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

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

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