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

    box-sizing: border-box;
    font-family: var(--nstpv-font);
    color: var(--nstpv-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;
    text-align: left;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

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

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

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

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

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

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

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

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

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

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

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

  .nstpv .nstpv-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(--nstpv-ink);
  }

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

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

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

  .nstpv-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(--nstpv-line);
    border-radius: 12px;
    box-shadow: var(--nstpv-shadow);
  }

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

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

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

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

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

  .nstpv .nstpv-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(--nstpv-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;
  }

  .nstpv .nstpv-btn i,
  .nstpv .nstpv-avatar__zoom i,
  .nstpv .nstpv-modal__close i,
  .nstpv .nstpv-card__dl i,
  .nstpv .nstpv-card__play i,
  .nstpv .nstpv-videos__dlall i,
  .nstpv .nstpv-modal__action i,
  .nstpv .nstpv-dlprog__title i,
  .nstpv .nstpv-dlprog__stop i,
  .nstpv .nstpv-stat i,
  .nstpv .nstpv-hero__brand i,
  .nstpv .nstpv-meta__verified i,
  .nstpv i.fa-solid,
  .nstpv i.fa-brands,
  .nstpv 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;
  }

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

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

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

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

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

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

  .nstpv .nstpv-search__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    width: 100%;
    min-width: 0;
  }

  .nstpv .nstpv-search__hint {
    margin: 0;
    flex: 1 1 180px;
    font-size: 0.8rem;
    font-style: italic;
    color: var(--nstpv-dim);
    line-height: 1.4;
    min-width: 0;
  }

  .nstpv .nstpv-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(--nstpv-danger);
    font-weight: 600;
    font-size: 0.88rem;
    text-align: left;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

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

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

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

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

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

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

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

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

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

  .nstpv-skeleton__profile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: center;
    justify-items: center;
    padding: var(--nstpv-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);
    text-align: center;
    width: 100%;
    min-width: 0;
  }

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

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

  .nstpv-skeleton__line {
    height: 16px;
  }

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

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

  .nstpv-skeleton__line--bio {
    width: 100%;
    height: 54px;
    margin-top: 4px;
    grid-column: 1 / -1;
  }

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

  .nstpv-skeleton__stat {
    height: 56px;
    border-radius: 10px;
  }

  .nstpv-skeleton__head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 18px 0 12px;
    align-items: center;
  }

  .nstpv-skeleton__head-line {
    width: min(120px, 40%);
    height: 20px;
  }

  .nstpv-skeleton__head-btn {
    width: min(140px, 42%);
    height: 40px;
    border-radius: 10px;
  }

  .nstpv-skeleton__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  .nstpv-skeleton__card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--nstpv-line);
    background: rgba(255, 255, 255, 0.04);
    min-width: 0;
  }

  .nstpv-skeleton__thumb {
    aspect-ratio: 9 / 14;
    border-radius: 0;
  }

  .nstpv-skeleton__foot {
    height: 64px;
    margin: 10px 12px;
    border-radius: 8px;
  }

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

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

  .nstpv-profile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: center;
    justify-items: center;
    padding: var(--nstpv-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;
  }

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

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

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

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

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

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

  .nstpv .nstpv-meta__verified {
    display: inline-flex;
    align-items: center;
    color: var(--nstpv-cool);
    font-size: 0.85em;
  }

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

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

  .nstpv .nstpv-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin-top: 8px;
  }

  .nstpv .nstpv-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 0;
    padding: 10px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nstpv .nstpv-stat__value {
    font-size: clamp(1rem, 3.2vw, 1.15rem);
    font-weight: 800;
    color: var(--nstpv-cool);
    line-height: 1.2;
  }

  .nstpv .nstpv-stat__label {
    font-size: 0.75rem;
    color: var(--nstpv-dim);
    text-transform: capitalize;
    line-height: 1.2;
  }

  .nstpv .nstpv-bio {
    grid-column: 1 / -1;
    margin: 0;
    padding: 12px 0 0;
    border-top: 1px solid var(--nstpv-line);
    text-align: center;
    color: #e2e8f0;
    font-size: clamp(0.86rem, 3cqi, 0.92rem);
    line-height: 1.55;
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: pre-line;
  }

  .nstpv-content.is-placeholder .nstpv-avatar__zoom {
    opacity: 0.55;
    pointer-events: none;
  }

  .nstpv-content.is-placeholder .nstpv-card__media,
  .nstpv-content.is-placeholder .nstpv-card__dl,
  .nstpv-content.is-placeholder .nstpv-card__play,
  .nstpv-content.is-placeholder .nstpv-videos__dlall {
    pointer-events: none;
  }

  .nstpv-content.is-placeholder .nstpv-card__dl,
  .nstpv-content.is-placeholder .nstpv-videos__dlall {
    opacity: 0.65;
  }

  .nstpv-content.is-placeholder .nstpv-bio {
    color: var(--nstpv-dim);
  }

  .nstpv-card__media--ghost {
    background: linear-gradient(145deg, #1a0a14, #ff0050 55%, #00f2ea);
  }

  .nstpv-card__media--ghost-b {
    background: linear-gradient(145deg, #0a1418, #00f2ea 55%, #ff0050);
  }

  .nstpv-card__media--ghost-c {
    background: linear-gradient(145deg, #12141f, #ee1d52 45%, #69c9d0);
  }

  .nstpv-card__media--ghost .nstpv-card__img {
    display: none !important;
  }

  .nstpv-videos {
    margin-top: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .nstpv-videos__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    width: 100%;
    min-width: 0;
  }

  .nstpv .nstpv-videos__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--nstpv-ink);
    line-height: 1.3;
  }

  .nstpv .nstpv-videos__title i {
    color: var(--nstpv-accent);
  }

  .nstpv .nstpv-videos__count {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--nstpv-dim);
    width: 100%;
    order: 3;
  }

  .nstpv .nstpv-videos__dlall {
    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: linear-gradient(135deg, var(--nstpv-cool), var(--nstpv-cool-deep)) !important;
    color: #0a0a0f !important;
    font-family: var(--nstpv-font);
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
    white-space: nowrap;
  }

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

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

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

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

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

  .nstpv .nstpv-videos__dlall:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }

  .nstpv-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(10px, 2.5vw, 14px);
    margin: 0;
    width: 100%;
    min-width: 0;
  }

  .nstpv-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--nstpv-line);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .nstpv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
  }

  .nstpv-card__media {
    position: relative;
    aspect-ratio: 9 / 14;
    overflow: hidden;
    background: #12141f;
    flex: 0 0 auto;
  }

  .nstpv .nstpv-card__img {
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    transition: transform 0.45s ease;
  }

  .nstpv-card:hover .nstpv-card__img {
    transform: scale(1.05);
  }

  .nstpv .nstpv-card__dl {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 9px;
    border: 0 !important;
    background: rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
  }

  .nstpv .nstpv-card__play {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 15, 0.35);
    border: 0 !important;
    cursor: pointer;
    color: #fff;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
  }

  .nstpv .nstpv-card__play span {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    font-size: 1.1rem;
  }

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

  .nstpv .nstpv-card__title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--nstpv-ink);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
  }

  .nstpv-card__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    color: var(--nstpv-muted);
    font-size: 0.78rem;
    font-weight: 600;
  }

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

  .nstpv-card__metrics i {
    color: var(--nstpv-accent);
  }

  .nstpv-card__metrics span:nth-child(3) i {
    color: var(--nstpv-cool);
  }

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

  .nstpv .nstpv-empty i {
    display: block !important;
    font-size: 2.1rem !important;
    width: auto;
    margin: 0 auto 14px;
    opacity: 0.85;
    line-height: 1 !important;
    color: #fff;
  }

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

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

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

  .nstpv-modal__dialog--avatar {
    width: min(420px, 100%);
  }

  .nstpv .nstpv-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    border: 0 !important;
    background: rgba(0, 0, 0, 0.55) !important;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
  }

  .nstpv-modal__stage {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #0a0a0f;
    min-height: min(52vh, 420px);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nstpv .nstpv-modal__media {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    max-height: min(70vh, 640px);
    min-height: min(42vh, 360px);
    object-fit: contain;
    display: block;
    margin: 0 auto;
    background: #000;
  }

  .nstpv .nstpv-modal__media.is-hidden {
    display: none !important;
  }

  .nstpv-modal__stage-note {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    text-align: center;
    color: #e2e8f0;
    font-size: 0.82rem;
    background: rgba(10, 10, 15, 0.78);
    border-radius: 999px;
    z-index: 2;
    pointer-events: none;
    width: auto;
    max-width: calc(100% - 24px);
    margin: 0 auto;
  }

  .nstpv-modal__stage-note.is-visible {
    display: inline-flex;
  }

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

  .nstpv .nstpv-modal__caption {
    flex: 1 1 160px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--nstpv-ink);
    line-height: 1.35;
    overflow-wrap: anywhere;
    min-width: 0;
  }

  .nstpv-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .nstpv .nstpv-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;
    font-family: var(--nstpv-font);
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
  }

  .nstpv .nstpv-modal__action--play {
    background: var(--nstpv-panel-soft) !important;
    color: #fff !important;
    border: 1px solid var(--nstpv-line) !important;
  }

  .nstpv .nstpv-modal__action--download {
    background: var(--nstpv-accent) !important;
    color: #ffffff !important;
  }

  .nstpv .nstpv-modal__action.is-hidden {
    display: none !important;
  }

  .nstpv-dlprog {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 100000;
    width: min(320px, calc(100vw - 24px));
    display: none;
    padding: 14px;
    border-radius: 14px;
    background: rgba(16, 18, 28, 0.97);
    border: 1px solid var(--nstpv-line);
    box-shadow: var(--nstpv-shadow), 0 0 24px rgba(255, 0, 80, 0.18);
    color: var(--nstpv-ink);
  }

  .nstpv-dlprog.is-open {
    display: block;
  }

  .nstpv-dlprog.is-success {
    border-color: rgba(0, 242, 234, 0.45);
  }

  .nstpv-dlprog.is-error {
    border-color: rgba(255, 107, 122, 0.55);
  }

  .nstpv-dlprog__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
  }

  .nstpv-dlprog__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    min-width: 0;
  }

  .nstpv-dlprog__title i {
    color: var(--nstpv-accent);
  }

  .nstpv-dlprog__name {
    overflow-wrap: anywhere;
    min-width: 0;
  }

  .nstpv-dlprog__pct {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--nstpv-cool);
    white-space: nowrap;
  }

  .nstpv-dlprog__track {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
  }

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

  .nstpv-dlprog__meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--nstpv-muted);
  }

  .nstpv .nstpv-dlprog__stop {
    margin-top: 10px;
    width: 100%;
    height: 40px;
    min-height: 40px;
    border-radius: 10px;
    border: 1px solid var(--nstpv-line) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    font-family: var(--nstpv-font);
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
  }

  /* ResizeObserver helpers */
  .nstpv.nstpv--narrow .nstpv-grid,
  .nstpv.nstpv--narrow .nstpv-skeleton__grid {
    grid-template-columns: 1fr !important;
  }

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

    .nstpv .nstpv-hero__title {
      font-size: 1.2rem;
    }

    .nstpv .nstpv-btn {
      font-size: 0.82rem !important;
    }
  }

  .nstpv.nstpv--roomy .nstpv-grid,
  .nstpv.nstpv--roomy .nstpv-skeleton__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

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

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

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

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

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

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

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

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

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

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

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

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

  .nstpv.nstpv--compact .nstpv-videos__head {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .nstpv.nstpv--compact .nstpv-videos__dlall {
    width: 100% !important;
    justify-content: center !important;
  }

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

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

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

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

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

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

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

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

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

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

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

  @media (hover: none) {

    .nstpv .nstpv-btn:hover,
    .nstpv-card:hover {
      transform: none;
    }

    .nstpv-card:hover .nstpv-card__img {
      transform: none;
    }
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- Codex CSS updates --- */
/* New Social TikTok Profile Viewer — WordPress-scoped styles */
.nstpv {
  container-type: inline-size;
  container-name: nstpv;
  --nstpv-ink: #f8fafc;
  --nstpv-muted: #cbd5e1;
  --nstpv-dim: #94a3b8;
  --nstpv-panel: rgba(15, 23, 42, 0.9);
  --nstpv-panel-strong: rgba(2, 6, 23, 0.92);
  --nstpv-panel-soft: rgba(255, 255, 255, 0.075);
  --nstpv-line: rgba(148, 163, 184, 0.22);
  --nstpv-line-strong: rgba(255, 255, 255, 0.18);
  --nstpv-accent: #ff2f6d;
  --nstpv-accent-deep: #e11d48;
  --nstpv-cool: #22d3ee;
  --nstpv-cool-deep: #06b6d4;
  --nstpv-success: #34d399;
  --nstpv-warning: #fbbf24;
  --nstpv-danger: #fb7185;
  --nstpv-radius: 14px;
  --nstpv-shadow: 0 18px 44px rgba(2, 6, 23, 0.44);
  --nstpv-shadow-soft: 0 10px 24px rgba(2, 6, 23, 0.28);
  --nstpv-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --nstpv-space: 16px;
  --nstpv-avatar: 96px;
  --nstpv-pad: clamp(14px, 2.2vw, 22px);
  --nstpv-gap: clamp(12px, 2vw, 18px);
  --nstpv-cols: 1;

  box-sizing: border-box;
  font-family: var(--nstpv-font);
  color: var(--nstpv-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(10px, 2.5vw, 22px), env(safe-area-inset-right, 0px)) max(clamp(18px, 3.5vw, 34px), env(safe-area-inset-bottom, 0px)) max(clamp(10px, 2.5vw, 22px), env(safe-area-inset-left, 0px));
  background:
    radial-gradient(900px 480px at 8% -8%, rgba(255, 47, 109, 0.3), transparent 58%),
    radial-gradient(780px 420px at 96% 4%, rgba(34, 211, 238, 0.23), transparent 54%),
    linear-gradient(145deg, #030712 0%, #111827 48%, #18181b 100%);
  border-radius: 0;
  position: relative;
  isolation: isolate;
  text-align: left;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

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

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

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

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

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

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

.nstpv-hero {
  background: transparent;
  padding: clamp(18px, 4vw, 42px) 0 clamp(10px, 2vw, 16px);
  text-align: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

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

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

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

.nstpv .nstpv-hero__title {
  font-size: clamp(1.45rem, 3.2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0;
  color: var(--nstpv-ink);
  text-transform: capitalize;
}

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

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

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

.nstpv-search {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 11px;
  text-align: left;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-top: 4px;
  padding: clamp(12px, 2vw, 16px);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.8));
  border: 1px solid var(--nstpv-line);
  border-radius: var(--nstpv-radius);
  box-shadow: var(--nstpv-shadow-soft);
}

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

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

.nstpv .nstpv-search__field,
.nstpv-search__field {
  flex: 1 1 160px;
  min-width: 0 !important;
  height: 48px;
  min-height: 48px;
  padding: 0 15px !important;
  border: 1px solid var(--nstpv-line) !important;
  border-radius: 11px;
  background: rgba(2, 6, 23, 0.72) !important;
  color: #ffffff !important;
  font-family: var(--nstpv-font);
  font-size: 16px !important;
  font-weight: 600;
  line-height: 48px;
  outline: none;
  box-shadow: none;
  width: 100% !important;
  max-width: 100% !important;
}

.nstpv .nstpv-search__field:focus {
  border-color: var(--nstpv-cool) !important;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.24);
}

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

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

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

.nstpv .nstpv-btn i,
.nstpv .nstpv-avatar__zoom i,
.nstpv .nstpv-modal__close i,
.nstpv .nstpv-card__dl i,
.nstpv .nstpv-card__play i,
.nstpv .nstpv-videos__dlall i,
.nstpv .nstpv-modal__action i,
.nstpv .nstpv-dlprog__title i,
.nstpv .nstpv-dlprog__stop i,
.nstpv .nstpv-stat i,
.nstpv .nstpv-hero__brand i,
.nstpv .nstpv-meta__verified i,
.nstpv i.fa-solid,
.nstpv i.fa-brands,
.nstpv i.fas,
.nstpv .fa-angles-down,
.nstpv .fa-circle-check,
.nstpv .fa-cloud-arrow-down,
.nstpv .fa-download,
.nstpv .fa-expand,
.nstpv .fa-eye,
.nstpv .fa-film,
.nstpv .fa-paste,
.nstpv .fa-play,
.nstpv .fa-rotate-left,
.nstpv .fa-tiktok,
.nstpv .fa-xmark {
  --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;
}

.nstpv .nstpv-btn--paste {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--nstpv-ink) !important;
  border: 1px solid var(--nstpv-line) !important;
}

.nstpv .nstpv-btn--paste:hover {
  background: rgba(255, 255, 255, 0.13) !important;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.24);
}

.nstpv .nstpv-btn--view {
  background: linear-gradient(135deg, var(--nstpv-accent) 0%, #fb7185 45%, var(--nstpv-cool) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(255, 47, 109, 0.32);
}

.nstpv .nstpv-btn--reset {
  background: linear-gradient(135deg, var(--nstpv-cool), var(--nstpv-cool-deep)) !important;
  color: #041014 !important;
  box-shadow: 0 10px 22px rgba(34, 211, 238, 0.24);
}

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

.nstpv .nstpv-btn:focus-visible,
.nstpv .nstpv-avatar__zoom:focus-visible,
.nstpv .nstpv-card__dl:focus-visible,
.nstpv .nstpv-card__play:focus-visible,
.nstpv .nstpv-videos__dlall:focus-visible,
.nstpv .nstpv-modal__close:focus-visible,
.nstpv .nstpv-modal__action:focus-visible,
.nstpv .nstpv-dlprog__stop:focus-visible,
.nstpv-more:focus-visible {
  outline: 3px solid rgba(34, 211, 238, 0.42);
  outline-offset: 2px;
}

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

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

.nstpv .nstpv-search__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  width: 100%;
  min-width: 0;
}

.nstpv .nstpv-search__hint {
  margin: 0;
  flex: 1 1 180px;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--nstpv-dim);
  line-height: 1.4;
  min-width: 0;
}

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

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

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

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

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

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

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

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

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

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

.nstpv-skeleton__profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
  justify-items: center;
  padding: var(--nstpv-pad);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(34, 211, 238, 0.11), rgba(255, 47, 109, 0.12));
  border: 1px solid var(--nstpv-line);
  text-align: center;
  width: 100%;
  min-width: 0;
}

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

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

.nstpv-skeleton__line {
  height: 16px;
}

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

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

.nstpv-skeleton__line--bio {
  width: 100%;
  height: 54px;
  margin-top: 4px;
  grid-column: 1 / -1;
}

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

.nstpv-skeleton__stat {
  height: 56px;
  border-radius: 10px;
}

.nstpv-skeleton__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 18px 0 12px;
  align-items: center;
}

.nstpv-skeleton__head-line {
  width: min(120px, 40%);
  height: 20px;
}

.nstpv-skeleton__head-btn {
  width: min(140px, 42%);
  height: 40px;
  border-radius: 10px;
}

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

.nstpv-skeleton__card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--nstpv-line);
  background: rgba(255, 255, 255, 0.05);
  min-width: 0;
}

.nstpv-skeleton__thumb {
  aspect-ratio: 9 / 14;
  border-radius: 0;
}

.nstpv-skeleton__foot {
  height: 64px;
  margin: 10px 12px;
  border-radius: 8px;
}

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

.nstpv-panel {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.84));
  border: 1px solid var(--nstpv-line);
  border-radius: var(--nstpv-radius);
  box-shadow: var(--nstpv-shadow);
  padding: var(--nstpv-pad);
  backdrop-filter: blur(12px);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.nstpv-profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
  justify-items: center;
  padding: var(--nstpv-pad);
  border-radius: 12px;
  background:
    linear-gradient(160deg, rgba(34, 211, 238, 0.12), rgba(255, 47, 109, 0.12)),
    rgba(255, 255, 255, 0.035);
  border: 1px solid var(--nstpv-line);
  width: 100%;
  min-width: 0;
  text-align: center;
}

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

.nstpv-avatar__ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--nstpv-accent), var(--nstpv-cool));
  box-shadow: 0 10px 22px rgba(255, 47, 109, 0.28), 0 0 0 1px rgba(34, 211, 238, 0.22);
}

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

.nstpv .nstpv-avatar__zoom {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  border: 1px solid var(--nstpv-line-strong) !important;
  background: rgba(2, 6, 23, 0.92) !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--nstpv-shadow-soft);
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  z-index: 2;
}

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

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

.nstpv .nstpv-meta__verified {
  display: inline-flex;
  align-items: center;
  color: var(--nstpv-success);
  font-size: 0.85em;
}

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

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

.nstpv .nstpv-stats,
.nstpv-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 8px;
}

.nstpv .nstpv-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
  padding: 11px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid var(--nstpv-line);
}

.nstpv .nstpv-stat__value {
  font-size: clamp(1rem, 3.2vw, 1.16rem);
  font-weight: 850;
  color: #67e8f9;
  line-height: 1.2;
}

.nstpv .nstpv-stat__label {
  font-size: 0.75rem;
  color: var(--nstpv-dim);
  text-transform: capitalize;
  line-height: 1.2;
}

.nstpv .nstpv-bio {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--nstpv-line);
  text-align: center;
  color: #e2e8f0;
  font-size: clamp(0.86rem, 3cqi, 0.94rem);
  line-height: 1.6;
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.nstpv-content.is-placeholder .nstpv-avatar__zoom {
  opacity: 0.55;
  pointer-events: none;
}

.nstpv-content.is-placeholder .nstpv-card__media,
.nstpv-content.is-placeholder .nstpv-card__dl,
.nstpv-content.is-placeholder .nstpv-card__play,
.nstpv-content.is-placeholder .nstpv-videos__dlall {
  pointer-events: none;
}

.nstpv-content.is-placeholder .nstpv-card__dl,
.nstpv-content.is-placeholder .nstpv-videos__dlall {
  opacity: 0.65;
}

.nstpv-content.is-placeholder .nstpv-bio {
  color: var(--nstpv-dim);
}

.nstpv-card__media--ghost {
  background: linear-gradient(145deg, #260617, #ff2f6d 55%, #22d3ee);
}

.nstpv-card__media--ghost-b {
  background: linear-gradient(145deg, #06242b, #22d3ee 55%, #ff2f6d);
}

.nstpv-card__media--ghost-c {
  background: linear-gradient(145deg, #111827, #e11d48 45%, #06b6d4);
}

.nstpv-card__media--ghost .nstpv-card__img {
  display: none !important;
}

.nstpv-videos {
  margin-top: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.nstpv-videos__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  width: 100%;
  min-width: 0;
}

.nstpv .nstpv-videos__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 850;
  color: var(--nstpv-ink);
  line-height: 1.3;
}

.nstpv .nstpv-videos__title i {
  color: var(--nstpv-accent);
}

.nstpv .nstpv-videos__count {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--nstpv-dim);
  width: 100%;
  order: 3;
}

.nstpv .nstpv-videos__dlall {
  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: linear-gradient(135deg, var(--nstpv-cool), var(--nstpv-cool-deep)) !important;
  color: #041014 !important;
  font-family: var(--nstpv-font);
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  white-space: nowrap;
}

.nstpv-more {
  appearance: none;
  width: 100%;
  margin-top: 12px;
  border: 1px solid rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.12);
  color: #f8fafc;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 850;
  font-size: 0.88rem;
  cursor: pointer;
  display: none;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

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

.nstpv-more:hover {
  background: rgba(34, 211, 238, 0.2);
}

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

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

.nstpv .nstpv-videos__dlall:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.nstpv-grid {
  display: grid;
  grid-template-columns: repeat(var(--nstpv-cols, 1), minmax(0, 1fr));
  gap: clamp(10px, 2.5vw, 14px);
  margin: 0;
  width: 100%;
  min-width: 0;
}

.nstpv-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--nstpv-line);
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.nstpv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.34);
  box-shadow: 0 16px 30px rgba(2, 6, 23, 0.32);
}

.nstpv-card__media {
  position: relative;
  aspect-ratio: 9 / 14;
  overflow: hidden;
  background: #0f172a;
  flex: 0 0 auto;
}

.nstpv .nstpv-card__img {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.nstpv-card:hover .nstpv-card__img {
  transform: scale(1.05);
}

.nstpv .nstpv-card__dl {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(2, 6, 23, 0.68) !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
}

.nstpv .nstpv-card__dl:hover {
  background: rgba(255, 47, 109, 0.82) !important;
}

.nstpv .nstpv-card__play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.34);
  border: 0 !important;
  cursor: pointer;
  color: #fff;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
}

.nstpv .nstpv-card__play span {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.4);
  font-size: 1.1rem;
}

.nstpv-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 11px 12px 13px;
  min-width: 0;
}

.nstpv .nstpv-card__title {
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--nstpv-ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.nstpv-card__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--nstpv-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

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

.nstpv-card__metrics i {
  color: var(--nstpv-accent);
}

.nstpv-card__metrics span:nth-child(3) i {
  color: var(--nstpv-cool);
}

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

.nstpv .nstpv-empty i {
  display: block !important;
  font-size: 2.1rem !important;
  width: auto;
  margin: 0 auto 14px;
  opacity: 0.9;
  line-height: 1 !important;
  color: #fff;
}

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

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

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

.nstpv-modal__dialog--avatar {
  width: min(420px, 100%);
}

.nstpv .nstpv-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(2, 6, 23, 0.72) !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
}

.nstpv-modal__stage {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #020617;
  min-height: min(52vh, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nstpv .nstpv-modal__media {
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  max-height: min(70vh, 640px);
  min-height: min(42vh, 360px);
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background: #000;
}

.nstpv .nstpv-modal__media.is-hidden {
  display: none !important;
}

.nstpv-modal__stage-note {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  text-align: center;
  color: #e2e8f0;
  font-size: 0.82rem;
  background: rgba(2, 6, 23, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  z-index: 2;
  pointer-events: none;
  width: auto;
  max-width: calc(100% - 24px);
  margin: 0 auto;
}

.nstpv-modal__stage-note.is-visible {
  display: inline-flex;
}

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

.nstpv .nstpv-modal__caption {
  flex: 1 1 160px;
  font-size: 0.92rem;
  font-weight: 750;
  color: var(--nstpv-ink);
  line-height: 1.35;
  overflow-wrap: anywhere;
  min-width: 0;
}

.nstpv-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nstpv .nstpv-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;
  font-family: var(--nstpv-font);
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
}

.nstpv .nstpv-modal__action--play {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  border: 1px solid var(--nstpv-line) !important;
}

.nstpv .nstpv-modal__action--download {
  background: linear-gradient(135deg, var(--nstpv-accent), var(--nstpv-accent-deep)) !important;
  color: #ffffff !important;
}

.nstpv .nstpv-modal__action.is-hidden {
  display: none !important;
}

.nstpv-dlprog {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100000;
  width: min(320px, calc(100vw - 24px));
  display: none;
  padding: 14px;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.97);
  border: 1px solid var(--nstpv-line);
  box-shadow: var(--nstpv-shadow), 0 0 24px rgba(255, 47, 109, 0.18);
  color: var(--nstpv-ink);
}

.nstpv-dlprog.is-open {
  display: block;
}

.nstpv-dlprog.is-success {
  border-color: rgba(52, 211, 153, 0.48);
}

.nstpv-dlprog.is-error {
  border-color: rgba(251, 113, 133, 0.58);
}

.nstpv-dlprog__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.nstpv-dlprog__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 750;
  min-width: 0;
}

.nstpv-dlprog__title i {
  color: var(--nstpv-accent);
}

.nstpv-dlprog__name {
  overflow-wrap: anywhere;
  min-width: 0;
}

.nstpv-dlprog__pct {
  font-size: 0.82rem;
  font-weight: 850;
  color: var(--nstpv-cool);
  white-space: nowrap;
}

.nstpv-dlprog__track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

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

.nstpv-dlprog__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--nstpv-muted);
}

.nstpv .nstpv-dlprog__stop {
  margin-top: 10px;
  width: 100%;
  height: 40px;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid var(--nstpv-line) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  font-family: var(--nstpv-font);
  font-weight: 800 !important;
  font-size: 0.82rem !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
}

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

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

.nstpv .xrespond-ts-widget {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 10px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid var(--nstpv-line);
  color: var(--nstpv-muted);
  overflow: hidden;
}

.nstpv .xrespond-ts-label {
  margin-bottom: 8px;
}

.nstpv .xrespond-ts-error {
  display: block;
  margin-top: 8px;
}

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

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

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

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

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

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

.nstpv.nstpv--roomy .nstpv-grid,
.nstpv.nstpv--roomy .nstpv-skeleton__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.nstpv.nstpv--narrow .nstpv-grid,
.nstpv.nstpv--narrow .nstpv-skeleton__grid {
  grid-template-columns: 1fr !important;
}

.nstpv.nstpv--compact .nstpv-videos__head {
  flex-direction: column !important;
  align-items: stretch !important;
}

.nstpv.nstpv--compact .nstpv-videos__dlall {
  width: 100% !important;
  justify-content: center !important;
}

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

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

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

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

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

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

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

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

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

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

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

@media (max-width: 720px) {
  .nstpv {
    padding-left: max(10px, env(safe-area-inset-left, 0px));
    padding-right: max(10px, env(safe-area-inset-right, 0px));
  }

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

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

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

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

  .nstpv-modal {
    padding: 10px;
  }

  .nstpv-modal__dialog {
    border-radius: 14px;
    padding: 10px;
  }

  .nstpv-modal__bar,
  .nstpv-modal__actions {
    align-items: stretch;
    width: 100%;
  }

  .nstpv .nstpv-modal__action {
    flex: 1 1 100%;
  }
}

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

  .nstpv .nstpv-hero__title {
    font-size: 1.15rem;
  }

  .nstpv .nstpv-btn {
    font-size: 0.82rem !important;
  }

  .nstpv .nstpv-search .nstpv-search__row > .nstpv-btn,
  .nstpv .nstpv-search .nstpv-search__actions .nstpv-btn {
    flex-basis: 100% !important;
  }
}

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

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

  .nstpv-card:hover .nstpv-card__img {
    transform: none;
  }
}

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

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