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

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

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

  .nstiv :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;
  }

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

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

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

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

  .nstiv-shell {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: var(--nstiv-gap);
    width: 100%;
    max-width: min(1280px, 100%);
    margin: 0 auto;
    min-width: 0;
    overflow-x: hidden;
    container-type: inline-size;
    container-name: nstiv;
  }

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

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

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

  .nstiv .nstiv-hero__brand i {
    font-size: 1.25rem !important;
    width: auto;
    color: #fff !important;
    display: inline-block !important;
    line-height: 1 !important;
  }

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

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

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

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

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

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

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

  .nstiv-search__row>.nstiv-search__field {
    flex: 1 1 220px;
    width: auto;
    max-width: none;
  }

  .nstiv-search__row>.nstiv-search__actions {
    flex: 1 1 220px;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    min-width: 0;
  }

  .nstiv .nstiv-search__field {
    flex: 1 1 auto;
    min-width: 0 !important;
    height: 46px;
    min-height: 46px;
    padding: 0 14px !important;
    border: 1px solid var(--nstiv-line) !important;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35) !important;
    color: var(--nstiv-ink) !important;
    font-family: var(--nstiv-font);
    font-size: 16px !important;
    font-weight: 500;
    line-height: 46px;
    outline: none;
    width: 100%;
    max-width: 100% !important;
  }

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

  .nstiv .nstiv-search__field::placeholder {
    color: #7a8499;
  }

  .nstiv-search__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    min-width: 0;
    align-items: stretch;
  }

  .nstiv .nstiv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 1 1 calc(50% - 4px);
    width: auto;
    height: 46px;
    min-height: 46px;
    min-width: 0;
    max-width: 100%;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 10px;
    font-family: var(--nstiv-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;
    text-align: center;
    user-select: none;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
    overflow: hidden;
  }

  .nstiv .nstiv-btn i,
  .nstiv .nstiv-tabs__btn i,
  .nstiv .nstiv-pic__action i,
  .nstiv .nstiv-profile__zoom i,
  .nstiv .nstiv-modal__close i,
  .nstiv .nstiv-notice i,
  .nstiv .nstiv-more i,
  .nstiv i.fa-solid,
  .nstiv i.fa-brands,
  .nstiv 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;
  }

  .nstiv .nstiv-empty i {
    display: block !important;
    font-size: 2rem !important;
    width: auto;
    margin: 0 auto 10px;
    opacity: 0.4;
    line-height: 1 !important;
  }

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

  .nstiv .nstiv-btn:active {
    transform: translateY(0);
    opacity: 0.92;
  }

  .nstiv .nstiv-btn:disabled {
    opacity: 0.55;
    cursor: wait;
    transform: none;
  }

  .nstiv .nstiv-btn--paste {
    background: linear-gradient(135deg, var(--nstiv-cool), var(--nstiv-cool-deep)) !important;
    color: #042422 !important;
    box-shadow: 0 4px 12px rgba(0, 242, 234, 0.28);
  }

  .nstiv .nstiv-btn--view {
    background: linear-gradient(135deg, var(--nstiv-accent), var(--nstiv-accent-deep)) !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(255, 0, 80, 0.32);
  }

  .nstiv .nstiv-search__hint {
    font-size: 0.82rem;
    color: var(--nstiv-dim);
    line-height: 1.4;
  }

  .nstiv .nstiv-alert {
    display: none;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 107, 122, 0.14);
    border: 1px solid rgba(255, 107, 122, 0.4);
    color: #ffd0d5;
    font-size: 0.86rem;
    line-height: 1.4;
    word-break: break-word;
  }

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

  .nstiv .nstiv-notice {
    display: none;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(0, 242, 234, 0.1);
    border: 1px solid rgba(0, 242, 234, 0.3);
    color: #b8f4f8;
    font-size: 0.84rem;
    line-height: 1.4;
    word-break: break-word;
  }

  .nstiv .nstiv-notice.is-visible {
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }

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

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

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

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

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

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

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

  .nstiv-skeleton__profile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: center;
    justify-items: center;
    padding: var(--nstiv-pad);
    border-radius: 12px;
    background: linear-gradient(160deg, rgba(255, 0, 80, 0.1), rgba(0, 242, 234, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    margin-bottom: 16px;
  }

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

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

  .nstiv-skeleton__line {
    height: 16px;
  }

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

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

  .nstiv-skeleton__stats {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nstiv-skeleton__stat {
    width: 64px;
    height: 36px;
    border-radius: 8px;
  }

  .nstiv-skeleton__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 0 14px;
    width: 100%;
  }

  .nstiv-skeleton__tab {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    height: 40px;
    border-radius: 999px;
  }

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

  .nstiv-skeleton__card,
  .nstiv-tab-sk__card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--nstiv-line);
    background: rgba(255, 255, 255, 0.04);
  }

  .nstiv-skeleton__thumb,
  .nstiv-tab-sk__thumb {
    aspect-ratio: 1 / 1;
  }

  .nstiv-skeleton__foot,
  .nstiv-tab-sk__foot {
    height: 72px;
    margin: 12px;
    border-radius: 8px;
  }

  .nstiv-result {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .nstiv-panel {
    background: var(--nstiv-panel);
    border: 1px solid var(--nstiv-line);
    border-radius: var(--nstiv-radius);
    box-shadow: var(--nstiv-shadow);
    padding: clamp(12px, 2vw, 18px);
    width: 100%;
    min-width: 0;
    backdrop-filter: blur(12px);
  }

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

  .nstiv-profile__avatar-wrap {
    position: relative;
    width: var(--nstiv-avatar);
    height: var(--nstiv-avatar);
    max-width: 100%;
    flex-shrink: 0;
  }

  .nstiv-profile__ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--nstiv-accent), var(--nstiv-cool));
  }

  .nstiv .nstiv-profile__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #161823;
    background: rgba(0, 0, 0, 0.2);
  }

  .nstiv .nstiv-profile__zoom {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 16, 0.88) !important;
    color: var(--nstiv-ink) !important;
    cursor: pointer;
    appearance: none;
    touch-action: manipulation;
  }

  .nstiv .nstiv-profile__download {
    right: auto;
    left: 0;
    background: var(--nstiv-accent-deep) !important;
    color: #fff !important;
  }

  .nstiv-content.is-placeholder .nstiv-profile__download {
    display: none;
  }

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

  .nstiv .nstiv-profile__name {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 800;
    color: var(--nstiv-ink);
    word-break: break-word;
  }

  .nstiv .nstiv-profile__verified {
    color: var(--nstiv-cool);
    margin-left: 6px;
    font-size: 0.85em;
  }

  .nstiv .nstiv-profile__handle {
    color: var(--nstiv-cool);
    font-size: 0.95rem;
    font-weight: 600;
  }

  .nstiv .nstiv-profile__bio {
    color: var(--nstiv-muted);
    font-size: 0.86rem;
    line-height: 1.45;
    max-width: 420px;
    white-space: pre-line;
  }

  .nstiv-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 4px;
  }

  .nstiv-stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
  }

  .nstiv .nstiv-stats__value {
    font-weight: 800;
    font-size: 1rem;
    color: var(--nstiv-ink);
  }

  .nstiv .nstiv-stats__label {
    font-size: 0.75rem;
    color: var(--nstiv-dim);
    text-transform: lowercase;
  }

  .nstiv-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 14px;
    width: 100%;
    min-width: 0;
  }

  .nstiv .nstiv-tabs__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 1 1 calc(50% - 6px);
    min-width: 0 !important;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 12px !important;
    border: 1px solid var(--nstiv-line) !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06) !important;
    color: var(--nstiv-muted) !important;
    font-family: var(--nstiv-font);
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    appearance: none;
    touch-action: manipulation;
  }

  .nstiv .nstiv-tabs__btn.is-active {
    background: linear-gradient(135deg, rgba(255, 0, 80, 0.24), rgba(0, 242, 234, 0.16)) !important;
    border-color: rgba(255, 0, 80, 0.5) !important;
    color: var(--nstiv-ink) !important;
  }

  .nstiv-pane {
    display: none;
    width: 100%;
    min-width: 0;
  }

  .nstiv-pane.is-active {
    display: block;
  }

  .nstiv-empty {
    text-align: center;
    padding: 28px 12px;
    color: var(--nstiv-dim);
    font-size: 0.9rem;
  }

  .nstiv-pic {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--nstiv-line);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .nstiv-pic:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  }

  .nstiv-pic__media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    overflow: hidden;
  }

  .nstiv .nstiv-pic__img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.25s ease;
  }

  .nstiv-pic:hover .nstiv-pic__img {
    transform: scale(1.04);
  }

  .nstiv-pic__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 8, 16, 0.45);
    opacity: 0;
    transition: opacity 0.2s ease;
    color: #fff;
    font-size: 1.25rem;
    pointer-events: none;
  }

  .nstiv-pic__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(12, 4, 28, 0.72);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    pointer-events: none;
  }

  .nstiv-pic__badge--carousel {
    background: rgba(255, 0, 80, 0.92);
    color: #fff;
  }

  .nstiv-pic__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    color: var(--nstiv-muted);
    font-size: 0.78rem;
    font-weight: 700;
  }

  .nstiv-feature {
    display: none;
    margin: 0 0 16px;
    width: 100%;
    min-width: 0;
  }

  .nstiv-feature.is-visible {
    display: block;
  }

  .nstiv-feature__media {
    position: relative;
    width: 100%;
    min-width: 0;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid var(--nstiv-line);
    cursor: pointer;
  }

  .nstiv .nstiv-feature__img {
    width: 100%;
    max-height: min(72vh, 720px);
    object-fit: contain;
    background: rgba(0, 0, 0, 0.2);
  }

  .nstiv-feature__actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    gap: 8px;
  }

  .nstiv .nstiv-feature__btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 16, 0.88) !important;
    color: #fff !important;
    cursor: pointer;
    appearance: none;
    touch-action: manipulation;
  }

  .nstiv .nstiv-feature__btn--download {
    background: var(--nstiv-accent-deep) !important;
  }

  .nstiv-feature__caption {
    margin-top: 10px;
    color: var(--nstiv-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: pre-line;
  }

  .nstiv-content.is-placeholder .nstiv-feature {
    display: none !important;
  }

  .nstiv-pic__media:hover .nstiv-pic__overlay,
  .nstiv-pic__media:focus .nstiv-pic__overlay,
  .nstiv-pic__media:focus-within .nstiv-pic__overlay {
    opacity: 1;
  }

  .nstiv-pic__body {
    margin-top: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
    min-width: 0;
    width: 100%;
  }

  .nstiv .nstiv-pic__label {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--nstiv-ink);
    word-break: break-word;
  }

  .nstiv .nstiv-pic__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px !important;
    border: 0 !important;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--nstiv-cool), var(--nstiv-cool-deep)) !important;
    color: #042422 !important;
    font-family: var(--nstiv-font);
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    appearance: none;
    touch-action: manipulation;
  }

  .nstiv .nstiv-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 14px;
    min-height: 46px;
    padding: 10px 16px !important;
    border: 1px solid rgba(0, 242, 234, 0.35) !important;
    border-radius: 12px;
    background: rgba(0, 242, 234, 0.1) !important;
    color: var(--nstiv-cool) !important;
    font-family: var(--nstiv-font);
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    cursor: pointer;
  }

  .nstiv .nstiv-more:disabled {
    opacity: 0.6;
    cursor: wait;
  }

  .nstiv-about {
    padding: 8px 2px 4px;
  }

  .nstiv .nstiv-about__title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 8px;
  }

  .nstiv .nstiv-about__text {
    color: var(--nstiv-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    white-space: pre-line;
    margin-bottom: 14px;
  }

  .nstiv-about__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .nstiv-about__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--nstiv-line);
    color: var(--nstiv-muted);
    font-size: 0.78rem;
    font-weight: 700;
  }

  .nstiv-tab-sk {
    width: 100%;
    min-width: 0;
  }

  .nstiv-tab-sk--about {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 0;
  }

  .nstiv-tab-sk__line {
    height: 14px;
    width: 100%;
  }

  .nstiv-tab-sk__line--sm {
    width: 40%;
  }

  .nstiv-tab-sk__line--lg {
    width: 70%;
    height: 20px;
  }

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

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

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

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

  .nstiv .nstiv-modal__media {
    width: 100%;
    max-height: min(78vh, 820px);
    object-fit: contain;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
    margin: 0 auto;
  }

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

  .nstiv-dlprog {
    position: fixed;
    left: 50%;
    bottom: max(18px, env(safe-area-inset-bottom, 0px));
    transform: translate(-50%, 120%);
    z-index: 1000000;
    width: min(420px, calc(100vw - 24px));
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(16, 12, 24, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
    color: var(--nstiv-ink);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
    backdrop-filter: blur(10px);
  }

  .nstiv-dlprog.is-open {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
  }

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

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

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

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

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

  .nstiv-dlprog__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nstiv-dlprog__pct {
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    color: var(--nstiv-cool);
  }

  .nstiv-dlprog__track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
  }

  .nstiv-dlprog__fill {
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--nstiv-accent), var(--nstiv-cool));
    box-shadow: 0 0 16px rgba(255, 0, 80, 0.35);
    transition: width 0.18s ease-out;
  }

  .nstiv-dlprog.is-indeterminate .nstiv-dlprog__fill {
    width: 36% !important;
    animation: nstiv-dlprog-slide 1.1s ease-in-out infinite;
  }

  @keyframes nstiv-dlprog-slide {
    0% {
      transform: translateX(-120%);
    }

    100% {
      transform: translateX(320%);
    }
  }

  .nstiv-dlprog__meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    font-size: 0.78rem;
    color: var(--nstiv-muted);
    font-variant-numeric: tabular-nums;
  }

  .nstiv-dlprog__status {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nstiv-content.is-placeholder .nstiv-empty,
  .nstiv-content.is-placeholder .nstiv-empty p {
    color: rgba(255, 255, 255, 0.9);
  }

  .nstiv .nstiv-empty {
    padding: clamp(36px, 6vw, 56px) 20px;
    border: 1px dashed rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    background: transparent;
    text-align: center;
  }

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

  .nstiv .nstiv-empty p {
    margin: 0 auto;
    max-width: 38ch;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .nstiv-content.is-placeholder .nstiv-profile__bio,
  .nstiv-content.is-placeholder .nstiv-notice {
    display: none !important;
  }

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

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

  @media (max-width: 767px) {
    .nstiv {
      padding-left: 10px !important;
      padding-right: 10px !important;
      --nstiv-cols: 1;
    }

    .nstiv .nstiv-search__row,
    .nstiv .nstiv-search__actions {
      flex-direction: row !important;
      flex-wrap: wrap !important;
    }

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

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

  @container nstiv (max-width: 767px) {

    .nstiv-grid,
    .nstiv-skeleton__grid,
    .nstiv-tab-sk--pics {
      grid-template-columns: minmax(0, 1fr) !important;
    }
  }

  @container nstiv (min-width: 480px) and (max-width: 1023px) {

    .nstiv-grid,
    .nstiv-skeleton__grid,
    .nstiv-tab-sk--pics {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
  }

  @container nstiv (min-width: 1024px) and (max-width: 1199px) {

    .nstiv-grid,
    .nstiv-skeleton__grid,
    .nstiv-tab-sk--pics {
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
  }

  @container nstiv (min-width: 1200px) {

    .nstiv-grid,
    .nstiv-skeleton__grid,
    .nstiv-tab-sk--pics {
      grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
  }

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

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

  .nstiv.nstiv--compact {
    padding: 12px 10px 18px !important;
    --nstiv-cols: 2 !important;
  }

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

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

  .nstiv.nstiv--compact .nstiv-grid,
  .nstiv.nstiv--compact .nstiv-skeleton__grid,
  .nstiv.nstiv--compact .nstiv-tab-sk--pics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .nstiv.nstiv--narrow {
    --nstiv-cols: 1 !important;
  }

  .nstiv.nstiv--narrow .nstiv-grid,
  .nstiv.nstiv--narrow .nstiv-skeleton__grid,
  .nstiv.nstiv--narrow .nstiv-tab-sk--pics {
    grid-template-columns: 1fr !important;
  }

  .nstiv.nstiv--wide:not(.nstiv--compact) .nstiv-profile,
  .nstiv.nstiv--wide:not(.nstiv--compact) .nstiv-skeleton__profile {
    grid-template-columns: var(--nstiv-avatar) minmax(0, 1fr) !important;
    justify-items: stretch !important;
    text-align: left !important;
  }

  .nstiv.nstiv--wide:not(.nstiv--compact) .nstiv-profile__meta,
  .nstiv.nstiv--wide:not(.nstiv--compact) .nstiv-skeleton__meta {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .nstiv.nstiv--wide:not(.nstiv--compact) .nstiv-stats,
  .nstiv.nstiv--wide:not(.nstiv--compact) .nstiv-skeleton__stats {
    justify-content: flex-start !important;
  }

  .nstiv.nstiv--xlarge:not(.nstiv--compact) {
    --nstiv-cols: 3;
  }

  .nstiv.nstiv--xlarge:not(.nstiv--compact) .nstiv-search__row {
    flex-wrap: wrap !important;
  }

  .nstiv.nstiv--xlarge:not(.nstiv--compact) .nstiv-search__field {
    flex: 1 1 200px !important;
    width: auto !important;
  }

  .nstiv.nstiv--xlarge:not(.nstiv--compact) .nstiv-search__actions {
    flex: 0 0 auto !important;
    width: auto !important;
  }

  .nstiv.nstiv--xlarge:not(.nstiv--compact) .nstiv-search__actions .nstiv-btn {
    flex: 0 0 auto !important;
    padding: 0 18px !important;
  }

  .nstiv.nstiv--roomy:not(.nstiv--compact) {
    --nstiv-cols: 4;
  }

  .nstiv.nstiv--roomy:not(.nstiv--compact) .nstiv-grid,
  .nstiv.nstiv--roomy:not(.nstiv--compact) .nstiv-skeleton__grid,
  .nstiv.nstiv--roomy:not(.nstiv--compact) .nstiv-tab-sk--pics {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- Codex CSS updates --- */
/* New Social TikTok Image Viewer — WordPress-scoped */
.nstiv {
  container-type: inline-size;
  container-name: nstiv;
  --nstiv-ink: #f8fafc;
  --nstiv-muted: #cbd5e1;
  --nstiv-dim: #94a3b8;
  --nstiv-panel: rgba(15, 23, 42, 0.86);
  --nstiv-panel-strong: rgba(15, 23, 42, 0.96);
  --nstiv-panel-soft: rgba(255, 255, 255, 0.075);
  --nstiv-line: rgba(226, 232, 240, 0.16);
  --nstiv-line-strong: rgba(226, 232, 240, 0.28);
  --nstiv-accent: #ec4899;
  --nstiv-accent-deep: #db2777;
  --nstiv-cool: #22d3ee;
  --nstiv-cool-deep: #0891b2;
  --nstiv-violet: #8b5cf6;
  --nstiv-success: #34d399;
  --nstiv-danger: #fb7185;
  --nstiv-warning: #fbbf24;
  --nstiv-radius: 18px;
  --nstiv-radius-sm: 12px;
  --nstiv-shadow: 0 22px 70px rgba(2, 6, 23, 0.44);
  --nstiv-shadow-soft: 0 12px 34px rgba(2, 6, 23, 0.28);
  --nstiv-glow: 0 0 0 4px rgba(34, 211, 238, 0.18);
  --nstiv-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --nstiv-gap: clamp(12px, 2vw, 18px);
  --nstiv-pad: clamp(14px, 2vw, 20px);
  --nstiv-avatar: clamp(76px, 10vw, 96px);
  --nstiv-cols: 1;

  box-sizing: border-box !important;
  font-family: var(--nstiv-font);
  color: var(--nstiv-ink);
  line-height: 1.5;
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-width: 0 !important;
  margin: 0 auto;
  padding: clamp(14px, 3vw, 34px) max(clamp(10px, 2.2vw, 18px), env(safe-area-inset-right, 0px)) max(clamp(18px, 3vw, 34px), env(safe-area-inset-bottom, 0px)) max(clamp(10px, 2.2vw, 18px), env(safe-area-inset-left, 0px));
  background:
    radial-gradient(ellipse 72% 46% at 12% -2%, rgba(236, 72, 153, 0.32), transparent 58%),
    radial-gradient(ellipse 62% 42% at 90% 5%, rgba(34, 211, 238, 0.23), transparent 54%),
    radial-gradient(ellipse 50% 48% at 50% 100%, rgba(139, 92, 246, 0.17), transparent 58%),
    linear-gradient(145deg, #070b16 0%, #111827 48%, #18181b 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%;
}

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

.nstiv :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;
}

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

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

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

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

.nstiv-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--nstiv-gap);
  width: 100%;
  max-width: min(1180px, 100%);
  margin: 0 auto;
  min-width: 0;
  overflow-x: hidden;
  container-type: inline-size;
  container-name: nstiv;
}

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

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

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

.nstiv .nstiv-hero__brand i {
  font-size: 1.24rem !important;
  width: 1em;
  color: #fff !important;
  display: inline-block !important;
  line-height: 1 !important;
  text-align: center;
}

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

.nstiv-hero__title-mark {
  background: linear-gradient(135deg, #f472b6 0%, #a78bfa 48%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

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

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

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

.nstiv .nstiv-search__label,
.nstiv .xrespond-ts-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--nstiv-muted);
  line-height: 1.35;
  margin-bottom: 0;
}

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

.nstiv-search__row > .nstiv-search__field {
  flex: 1 1 320px;
  width: auto;
  max-width: none;
}

.nstiv-search__row > .nstiv-search__actions {
  flex: 0 0 auto;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  min-width: 0;
}

.nstiv .nstiv-search__field {
  flex: 1 1 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(--nstiv-line-strong) !important;
  border-radius: 13px;
  background: rgba(2, 6, 23, 0.55) !important;
  color: var(--nstiv-ink) !important;
  font-family: var(--nstiv-font);
  font-size: 16px !important;
  font-weight: 600;
  line-height: 52px !important;
  outline: none;
  width: 100%;
  max-width: 100% !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nstiv textarea.nstiv-search__field {
  overflow-y: auto !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  line-height: 1.35 !important;
}

.nstiv .nstiv-search__field:focus {
  border-color: rgba(34, 211, 238, 0.85) !important;
  box-shadow: var(--nstiv-glow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  background: rgba(2, 6, 23, 0.72) !important;
}

.nstiv .nstiv-search__field::placeholder {
  color: #8fa1b8;
  opacity: 1;
}

.nstiv-search__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  width: auto;
  min-width: 0;
  align-items: stretch;
}

.nstiv .nstiv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  width: auto;
  height: 52px;
  min-height: 52px;
  min-width: 116px;
  max-width: 100%;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 13px;
  font-family: var(--nstiv-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;
  white-space: nowrap;
  text-align: center;
  user-select: none;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  overflow: hidden;
  position: relative;
}

.nstiv .nstiv-btn:focus-visible,
.nstiv .nstiv-tabs__btn:focus-visible,
.nstiv .nstiv-pic__action:focus-visible,
.nstiv .nstiv-profile__zoom:focus-visible,
.nstiv .nstiv-modal__close:focus-visible,
.nstiv .nstiv-more:focus-visible,
.nstiv .nstiv-feature__btn:focus-visible {
  outline: none !important;
  box-shadow: var(--nstiv-glow) !important;
}

.nstiv .nstiv-btn i,
.nstiv .nstiv-tabs__btn i,
.nstiv .nstiv-pic__action i,
.nstiv .nstiv-profile__zoom i,
.nstiv .nstiv-modal__close i,
.nstiv .nstiv-notice i,
.nstiv .nstiv-more i,
.nstiv .nstiv-feature__btn i,
.nstiv i.fa-solid,
.nstiv i.fa-brands,
.nstiv i.fas,
.nstiv .fa-circle-check,
.nstiv .fa-circle-info,
.nstiv .fa-download,
.nstiv .fa-expand,
.nstiv .fa-images,
.nstiv .fa-paste,
.nstiv .fa-tiktok,
.nstiv .fa-xmark {
  --fa-display: inline-block;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  line-height: 1 !important;
  font-size: 0.95em;
  width: 1.15em;
  min-width: 1.15em;
  height: 1em;
  text-align: center;
  vertical-align: -0.08em;
  font-style: normal;
  flex: 0 0 auto;
}

.nstiv .fa-circle-check {
  color: var(--nstiv-success);
}

.nstiv .fa-circle-info {
  color: var(--nstiv-cool);
}

.nstiv .fa-download,
.nstiv .fa-expand,
.nstiv .fa-images,
.nstiv .fa-paste,
.nstiv .fa-tiktok,
.nstiv .fa-xmark {
  color: currentColor;
}

.nstiv .nstiv-empty i {
  display: block !important;
  font-size: 2rem !important;
  width: auto;
  margin: 0 auto 10px;
  opacity: 0.78;
  line-height: 1 !important;
}

.nstiv .nstiv-btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.08) brightness(1.03);
}

.nstiv .nstiv-btn:active {
  transform: translateY(0);
  opacity: 0.94;
}

.nstiv .nstiv-btn:disabled {
  opacity: 0.58;
  cursor: wait;
  transform: none;
  filter: none;
}

.nstiv .nstiv-btn--paste {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, var(--nstiv-cool), var(--nstiv-cool-deep)) !important;
  color: #031f24 !important;
  box-shadow: 0 12px 26px rgba(34, 211, 238, 0.24);
}

.nstiv .nstiv-btn--view {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, var(--nstiv-accent), var(--nstiv-violet) 48%, var(--nstiv-cool)) !important;
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.32);
}

.nstiv .nstiv-search__hint {
  font-size: 0.84rem;
  color: var(--nstiv-dim);
  line-height: 1.45;
}

.nstiv .nstiv-alert,
.nstiv .xrespond-ts-error {
  display: none;
  padding: 12px 14px;
  border-radius: 13px;
  background: rgba(251, 113, 133, 0.13);
  border: 1px solid rgba(251, 113, 133, 0.42);
  color: #ffe4e9;
  font-size: 0.88rem;
  line-height: 1.45;
  word-break: break-word;
  box-shadow: 0 10px 24px rgba(127, 29, 29, 0.18);
}

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

.nstiv .nstiv-notice {
  display: none;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 13px;
  background: rgba(34, 211, 238, 0.11);
  border: 1px solid rgba(34, 211, 238, 0.34);
  color: #cffafe;
  font-size: 0.86rem;
  line-height: 1.45;
  word-break: break-word;
  box-shadow: 0 10px 24px rgba(8, 145, 178, 0.14);
}

.nstiv .nstiv-notice.is-visible {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

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

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

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

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

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

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

.nstiv-skeleton__panel {
  background: var(--nstiv-panel);
  border: 1px solid var(--nstiv-line);
  border-radius: var(--nstiv-radius);
  box-shadow: var(--nstiv-shadow);
  padding: clamp(14px, 2vw, 20px);
  width: 100%;
  min-width: 0;
  backdrop-filter: blur(14px);
}

.nstiv-skeleton__profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  justify-items: center;
  padding: var(--nstiv-pad);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(236, 72, 153, 0.12), rgba(34, 211, 238, 0.09));
  border: 1px solid var(--nstiv-line);
  text-align: center;
  margin-bottom: 16px;
}

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

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

.nstiv-skeleton__line {
  height: 16px;
}

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

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

.nstiv-skeleton__stats {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.nstiv-skeleton__stat {
  width: 70px;
  height: 38px;
  border-radius: 10px;
}

.nstiv-skeleton__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 0 0 14px;
  width: 100%;
}

.nstiv-skeleton__tab {
  flex: 1 1 calc(50% - 8px);
  min-width: 0;
  height: 42px;
  border-radius: 999px;
}

.nstiv-skeleton__grid,
.nstiv-tab-sk--pics,
.nstiv-grid {
  display: grid;
  grid-template-columns: repeat(var(--nstiv-cols, 1), minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px);
  width: 100%;
  min-width: 0;
}

.nstiv-skeleton__card,
.nstiv-tab-sk__card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--nstiv-line);
  background: rgba(255, 255, 255, 0.055);
}

.nstiv-skeleton__thumb,
.nstiv-tab-sk__thumb {
  aspect-ratio: 1 / 1;
}

.nstiv-skeleton__foot,
.nstiv-tab-sk__foot {
  height: 74px;
  margin: 12px;
  border-radius: 10px;
}

.nstiv-result,
.nstiv .xrespond-ts-widget {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.nstiv .xrespond-ts-widget {
  position: relative;
  display: block;
  color: var(--nstiv-ink);
}

.nstiv-panel {
  background: var(--nstiv-panel);
  border: 1px solid var(--nstiv-line);
  border-radius: var(--nstiv-radius);
  box-shadow: var(--nstiv-shadow);
  padding: clamp(14px, 2.2vw, 22px);
  width: 100%;
  min-width: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nstiv-profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  justify-items: center;
  padding: var(--nstiv-pad);
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(236, 72, 153, 0.13), rgba(34, 211, 238, 0.09)),
    rgba(255, 255, 255, 0.035);
  border: 1px solid var(--nstiv-line);
  text-align: center;
  width: 100%;
  min-width: 0;
}

.nstiv-profile__avatar-wrap {
  position: relative;
  width: var(--nstiv-avatar);
  height: var(--nstiv-avatar);
  max-width: 100%;
  flex-shrink: 0;
}

.nstiv-profile__ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--nstiv-accent), var(--nstiv-violet), var(--nstiv-cool));
  box-shadow: 0 14px 32px rgba(34, 211, 238, 0.16);
}

.nstiv .nstiv-profile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #0f172a;
  background: rgba(2, 6, 23, 0.45);
}

.nstiv .nstiv-profile__zoom {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.9) !important;
  color: var(--nstiv-ink) !important;
  cursor: pointer;
  appearance: none;
  touch-action: manipulation;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.34);
  transition: transform 0.2s ease, background 0.2s ease;
}

.nstiv .nstiv-profile__zoom:hover {
  transform: translateY(-1px) scale(1.03);
  background: rgba(30, 41, 59, 0.95) !important;
}

.nstiv .nstiv-profile__download {
  right: auto;
  left: -2px;
  background: linear-gradient(135deg, var(--nstiv-accent), var(--nstiv-accent-deep)) !important;
  color: #fff !important;
}

.nstiv-content.is-placeholder .nstiv-profile__download {
  display: none;
}

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

.nstiv .nstiv-profile__name {
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  font-weight: 800;
  color: var(--nstiv-ink);
  word-break: break-word;
  line-height: 1.25;
}

.nstiv .nstiv-profile__verified {
  color: var(--nstiv-cool);
  margin-left: 6px;
  font-size: 0.86em;
}

.nstiv .nstiv-profile__handle {
  color: #67e8f9;
  font-size: 0.95rem;
  font-weight: 700;
}

.nstiv .nstiv-profile__bio {
  color: var(--nstiv-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 520px;
  white-space: pre-line;
}

.nstiv-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 6px;
  width: 100%;
}

.nstiv-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 82px;
  flex: 0 1 auto;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nstiv .nstiv-stats__value {
  font-weight: 800;
  font-size: 1rem;
  color: var(--nstiv-ink);
  line-height: 1.2;
}

.nstiv .nstiv-stats__label {
  font-size: 0.76rem;
  color: var(--nstiv-dim);
  text-transform: capitalize !important;
}

.nstiv-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 16px;
  width: 100%;
  min-width: 0;
}

.nstiv .nstiv-tabs__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1 1 calc(50% - 6px);
  min-width: 0 !important;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 14px !important;
  border: 1px solid var(--nstiv-line) !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07) !important;
  color: var(--nstiv-muted) !important;
  font-family: var(--nstiv-font);
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  cursor: pointer;
  appearance: none;
  touch-action: manipulation;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nstiv .nstiv-tabs__btn:hover {
  transform: translateY(-1px);
  border-color: rgba(34, 211, 238, 0.36) !important;
  color: #f8fafc !important;
}

.nstiv .nstiv-tabs__btn.is-active {
  background:
    linear-gradient(135deg, rgba(236, 72, 153, 0.26), rgba(34, 211, 238, 0.18)) !important;
  border-color: rgba(34, 211, 238, 0.46) !important;
  color: var(--nstiv-ink) !important;
  box-shadow: 0 12px 28px rgba(34, 211, 238, 0.12);
}

.nstiv-pane {
  display: none;
  width: 100%;
  min-width: 0;
}

.nstiv-pane.is-active {
  display: block;
}

.nstiv-empty {
  text-align: center;
  padding: 28px 12px;
  color: var(--nstiv-dim);
  font-size: 0.92rem;
}

.nstiv-pic {
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid var(--nstiv-line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.18);
}

.nstiv-pic:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.34);
  border-color: rgba(34, 211, 238, 0.28);
}

.nstiv-pic__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: rgba(2, 6, 23, 0.38);
  cursor: pointer;
  overflow: hidden;
}

.nstiv .nstiv-pic__img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.nstiv-pic:hover .nstiv-pic__img {
  transform: scale(1.045);
  filter: saturate(1.06);
}

.nstiv-pic__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.48);
  opacity: 0;
  transition: opacity 0.22s ease;
  color: #fff;
  font-size: 1.25rem;
  pointer-events: none;
}

.nstiv-pic__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 800;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.nstiv-pic__badge--carousel {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.94), rgba(139, 92, 246, 0.9));
  color: #fff;
}

.nstiv-pic__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  color: var(--nstiv-muted);
  font-size: 0.79rem;
  font-weight: 700;
}

.nstiv-feature {
  display: none;
  margin: 0 0 18px;
  width: 100%;
  min-width: 0;
}

.nstiv-feature.is-visible {
  display: block;
}

.nstiv-feature__media {
  position: relative;
  width: 100%;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(2, 6, 23, 0.38);
  border: 1px solid var(--nstiv-line);
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(2, 6, 23, 0.22);
}

.nstiv .nstiv-feature__img {
  width: 100%;
  max-height: min(72vh, 720px);
  object-fit: contain;
  background: rgba(2, 6, 23, 0.35);
}

.nstiv-feature__actions {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 9px;
}

.nstiv .nstiv-feature__btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.86) !important;
  color: #fff !important;
  cursor: pointer;
  appearance: none;
  touch-action: manipulation;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.nstiv .nstiv-feature__btn:hover {
  transform: translateY(-1px) scale(1.03);
  background: rgba(30, 41, 59, 0.92) !important;
}

.nstiv .nstiv-feature__btn--download {
  background: linear-gradient(135deg, var(--nstiv-accent), var(--nstiv-accent-deep)) !important;
}

.nstiv-feature__caption {
  margin-top: 12px;
  color: var(--nstiv-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  white-space: pre-line;
}

.nstiv-content.is-placeholder .nstiv-feature {
  display: none !important;
}

.nstiv-pic__media:hover .nstiv-pic__overlay,
.nstiv-pic__media:focus .nstiv-pic__overlay,
.nstiv-pic__media:focus-within .nstiv-pic__overlay {
  opacity: 1;
}

.nstiv-pic__body {
  margin-top: auto;
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: center;
  text-align: center;
  min-width: 0;
  width: 100%;
}

.nstiv .nstiv-pic__label {
  font-size: 0.93rem;
  font-weight: 800;
  color: var(--nstiv-ink);
  word-break: break-word;
  line-height: 1.35;
}

.nstiv .nstiv-pic__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 44px;
  padding: 10px 13px !important;
  border: 0 !important;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, var(--nstiv-cool), var(--nstiv-cool-deep)) !important;
  color: #031f24 !important;
  font-family: var(--nstiv-font);
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  cursor: pointer;
  appearance: none;
  touch-action: manipulation;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 10px 22px rgba(34, 211, 238, 0.18);
}

.nstiv .nstiv-pic__action:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.nstiv .nstiv-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin-top: 16px;
  min-height: 48px;
  padding: 11px 16px !important;
  border: 1px solid rgba(34, 211, 238, 0.38) !important;
  border-radius: 13px;
  background: rgba(34, 211, 238, 0.11) !important;
  color: #67e8f9 !important;
  font-family: var(--nstiv-font);
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nstiv .nstiv-more:hover {
  transform: translateY(-1px);
  background: rgba(34, 211, 238, 0.16) !important;
  border-color: rgba(34, 211, 238, 0.52) !important;
}

.nstiv .nstiv-more:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.nstiv-about {
  padding: 10px 2px 4px;
}

.nstiv .nstiv-about__title {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 9px;
  color: var(--nstiv-ink);
}

.nstiv .nstiv-about__text {
  color: var(--nstiv-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  white-space: pre-line;
  margin-bottom: 14px;
}

.nstiv-about__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.nstiv-about__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid var(--nstiv-line);
  color: var(--nstiv-muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.nstiv-tab-sk {
  width: 100%;
  min-width: 0;
}

.nstiv-tab-sk--about {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 0;
}

.nstiv-tab-sk__line {
  height: 14px;
  width: 100%;
}

.nstiv-tab-sk__line--sm {
  width: 40%;
}

.nstiv-tab-sk__line--lg {
  width: 70%;
  height: 20px;
}

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

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

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

.nstiv .nstiv-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.78) !important;
  color: #fff !important;
  cursor: pointer;
  z-index: 2;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.nstiv .nstiv-modal__close:hover {
  transform: rotate(8deg) scale(1.03);
  background: rgba(239, 68, 68, 0.82) !important;
}

.nstiv .nstiv-modal__media {
  width: 100%;
  max-height: min(78vh, 820px);
  object-fit: contain;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.34);
  margin: 0 auto;
}

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

.nstiv-dlprog {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 120%);
  z-index: 1000000;
  width: min(440px, calc(100vw - 24px));
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.16);
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.48);
  color: var(--nstiv-ink);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nstiv-dlprog.is-open {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

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

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

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

.nstiv-dlprog__title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 0.94rem;
  font-weight: 800;
}

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

.nstiv-dlprog__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nstiv-dlprog__pct {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: var(--nstiv-cool);
}

.nstiv-dlprog__track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.nstiv-dlprog__fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--nstiv-accent), var(--nstiv-violet), var(--nstiv-cool));
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.32);
  transition: width 0.18s ease-out;
}

.nstiv-dlprog.is-indeterminate .nstiv-dlprog__fill {
  width: 36% !important;
  animation: nstiv-dlprog-slide 1.1s ease-in-out infinite;
}

@keyframes nstiv-dlprog-slide {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(320%);
  }
}

.nstiv-dlprog__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--nstiv-muted);
  font-variant-numeric: tabular-nums;
}

.nstiv-dlprog__status {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nstiv-content.is-placeholder .nstiv-empty,
.nstiv-content.is-placeholder .nstiv-empty p {
  color: rgba(248, 250, 252, 0.92);
}

.nstiv .nstiv-empty {
  padding: clamp(34px, 6vw, 58px) 20px;
  border: 1px dashed rgba(226, 232, 240, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
}

.nstiv .nstiv-empty i {
  display: block !important;
  font-size: 2.1rem !important;
  margin: 0 auto 14px;
  opacity: 0.88;
  color: #fff;
}

.nstiv .nstiv-empty p {
  margin: 0 auto;
  max-width: 40ch;
  font-size: 0.96rem;
  line-height: 1.58;
}

.nstiv-content.is-placeholder .nstiv-profile__bio,
.nstiv-content.is-placeholder .nstiv-notice {
  display: none !important;
}

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

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

@media (max-width: 768px) {
  .nstiv {
    padding-left: 10px !important;
    padding-right: 10px !important;
    --nstiv-cols: 1;
  }

  .nstiv-hero {
    padding: 20px 12px;
  }

  .nstiv-hero__heading {
    gap: 10px;
  }

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

  .nstiv .nstiv-hero__title {
    font-size: clamp(1.35rem, 6vw, 1.7rem);
    line-height: 1.25;
  }

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

  .nstiv-search {
    max-width: 100%;
    padding: 13px;
    gap: 11px;
  }

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

  .nstiv .nstiv-search__field,
  .nstiv .nstiv-search .nstiv-search__field,
  .nstiv .nstiv-search .nstiv-search__row > .nstiv-search__field {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 56px !important;
    line-height: 52px !important;
  }

  .nstiv textarea.nstiv-search__field {
    line-height: 1.35 !important;
  }

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

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

  .nstiv-tabs {
    gap: 8px;
  }

  .nstiv .nstiv-tabs__btn {
    flex: 1 1 100%;
    min-height: 43px;
  }

  .nstiv-stats__item {
    min-width: calc(50% - 8px);
  }

  .nstiv-feature__actions {
    right: 10px;
    bottom: 10px;
  }

  .nstiv-modal {
    padding: 10px;
  }

  .nstiv-modal__dialog {
    padding: 12px;
    border-radius: 16px;
  }
}

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

  .nstiv-panel {
    padding: 12px;
  }

  .nstiv .nstiv-hero__title {
    font-size: 1.32rem;
  }

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

  .nstiv-search {
    border-radius: 14px;
  }

  .nstiv .nstiv-search__field {
    height: 50px !important;
    min-height: 50px !important;
    max-height: 54px !important;
    line-height: 50px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .nstiv .nstiv-btn {
    height: 50px;
    min-height: 50px;
    font-size: 0.9rem !important;
  }

  .nstiv-pic__body {
    padding: 12px;
  }

  .nstiv-stats__item {
    min-width: 100%;
  }
}

@container nstiv (max-width: 767px) {
  .nstiv-grid,
  .nstiv-skeleton__grid,
  .nstiv-tab-sk--pics {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@container nstiv (min-width: 480px) and (max-width: 1023px) {
  .nstiv-grid,
  .nstiv-skeleton__grid,
  .nstiv-tab-sk--pics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@container nstiv (min-width: 1024px) and (max-width: 1199px) {
  .nstiv-grid,
  .nstiv-skeleton__grid,
  .nstiv-tab-sk--pics {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@container nstiv (min-width: 1200px) {
  .nstiv-grid,
  .nstiv-skeleton__grid,
  .nstiv-tab-sk--pics {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

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

.nstiv.nstiv--compact {
  padding: 12px 10px 18px !important;
  --nstiv-cols: 2 !important;
}

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

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

.nstiv.nstiv--compact .nstiv-grid,
.nstiv.nstiv--compact .nstiv-skeleton__grid,
.nstiv.nstiv--compact .nstiv-tab-sk--pics {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.nstiv.nstiv--narrow {
  --nstiv-cols: 1 !important;
}

.nstiv.nstiv--narrow .nstiv-grid,
.nstiv.nstiv--narrow .nstiv-skeleton__grid,
.nstiv.nstiv--narrow .nstiv-tab-sk--pics {
  grid-template-columns: 1fr !important;
}

.nstiv.nstiv--wide:not(.nstiv--compact) .nstiv-profile,
.nstiv.nstiv--wide:not(.nstiv--compact) .nstiv-skeleton__profile {
  grid-template-columns: var(--nstiv-avatar) minmax(0, 1fr) !important;
  justify-items: stretch !important;
  text-align: left !important;
}

.nstiv.nstiv--wide:not(.nstiv--compact) .nstiv-profile__meta,
.nstiv.nstiv--wide:not(.nstiv--compact) .nstiv-skeleton__meta {
  align-items: flex-start !important;
  text-align: left !important;
}

.nstiv.nstiv--wide:not(.nstiv--compact) .nstiv-stats,
.nstiv.nstiv--wide:not(.nstiv--compact) .nstiv-skeleton__stats {
  justify-content: flex-start !important;
}

.nstiv.nstiv--xlarge:not(.nstiv--compact) {
  --nstiv-cols: 3;
}

.nstiv.nstiv--xlarge:not(.nstiv--compact) .nstiv-search__row {
  flex-wrap: nowrap !important;
}

.nstiv.nstiv--xlarge:not(.nstiv--compact) .nstiv-search__field {
  flex: 1 1 260px !important;
  width: auto !important;
}

.nstiv.nstiv--xlarge:not(.nstiv--compact) .nstiv-search__actions {
  flex: 0 0 auto !important;
  width: auto !important;
}

.nstiv.nstiv--xlarge:not(.nstiv--compact) .nstiv-search__actions .nstiv-btn {
  flex: 0 0 auto !important;
  padding: 0 18px !important;
}

.nstiv.nstiv--roomy:not(.nstiv--compact) {
  --nstiv-cols: 4;
}

.nstiv.nstiv--roomy:not(.nstiv--compact) .nstiv-grid,
.nstiv.nstiv--roomy:not(.nstiv--compact) .nstiv-skeleton__grid,
.nstiv.nstiv--roomy:not(.nstiv--compact) .nstiv-tab-sk--pics {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

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

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

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

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

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

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

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

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

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

@media (max-width: 768px) {
  .nstiv .nstiv-search .nstiv-search__row {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
  }

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

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

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