@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 YouTube Video Viewer — WordPress-scoped styles */
  .nsyvv {
    --nsyvv-ink: #ffffff;
    --nsyvv-muted: #d1d5db;
    --nsyvv-dim: #9ca3af;
    --nsyvv-panel: rgba(24, 24, 24, 0.96);
    --nsyvv-panel-soft: rgba(255, 255, 255, 0.06);
    --nsyvv-line: rgba(255, 255, 255, 0.12);
    --nsyvv-accent: #ff0033;
    --nsyvv-accent-deep: #cc0000;
    --nsyvv-warm: #ff6b35;
    --nsyvv-cool: #3ea6ff;
    --nsyvv-cool-deep: #065fd4;
    --nsyvv-success: #2ba640;
    --nsyvv-danger: #ff4e45;
    --nsyvv-radius: 16px;
    --nsyvv-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
    --nsyvv-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --nsyvv-pad: 14px;
    --nsyvv-gap: 14px;

    box-sizing: border-box;
    font-family: var(--nsyvv-font);
    color: var(--nsyvv-ink);
    line-height: 1.5;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    min-width: 0;
    margin: 0 auto;
    padding: clamp(10px, 2.5vw, 24px) 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 68% 46% at 6% 0%, rgba(255, 0, 51, 0.3), transparent 55%),
      radial-gradient(ellipse 52% 38% at 96% 4%, rgba(62, 166, 255, 0.16), transparent 50%),
      linear-gradient(155deg, #0a0a0a 0%, #1a0a10 42%, #121212 100%);
    border-radius: 0;
    position: relative;
    isolation: isolate;
    text-align: left;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    container-type: inline-size;
    container-name: nsyvv;
  }

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

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

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

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

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

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

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

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

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

  .nsyvv-hero__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--nsyvv-accent), var(--nsyvv-warm));
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 0, 51, 0.4);
  }

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

  .nsyvv .nsyvv-hero__title {
    font-size: clamp(1.25rem, 3.2vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--nsyvv-ink);
  }

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

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

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

  .nsyvv-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 auto 14px;
    width: 100%;
    max-width: 640px;
    justify-content: center;
  }

  .nsyvv-feature {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    min-height: 44px;
    flex: 1 1 100%;
    border-radius: 10px;
    background: var(--nsyvv-panel-soft);
    border: 1px solid var(--nsyvv-line);
    color: var(--nsyvv-muted);
    font-size: 0.82rem;
    font-weight: 700;
  }

  .nsyvv .nsyvv-feature i {
    color: var(--nsyvv-accent) !important;
    font-size: 0.95rem !important;
  }

  .nsyvv-search {
    display: flex;
    flex-direction: column;
    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(0, 0, 0, 0.35);
    border: 1px solid var(--nsyvv-line);
    border-radius: 12px;
    box-shadow: var(--nsyvv-shadow);
  }

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

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

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

  .nsyvv .nsyvv-search__field:focus {
    border-color: var(--nsyvv-accent) !important;
    box-shadow: 0 0 0 3px rgba(255, 0, 51, 0.28);
  }

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

  .nsyvv .nsyvv-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(--nsyvv-font);
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
    user-select: none;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
    color: #fff !important;
  }

  .nsyvv .nsyvv-btn i,
  .nsyvv i.fa-solid,
  .nsyvv i.fa-brands {
    --fa-display: inline-block;
    display: inline-block !important;
    line-height: 1 !important;
    font-size: 0.92em;
    width: 1.15em;
    text-align: center;
  }

  .nsyvv .nsyvv-btn--paste {
    background: #272727 !important;
    border: 1px solid var(--nsyvv-line) !important;
  }

  .nsyvv .nsyvv-btn--paste:hover {
    background: #3f3f3f !important;
  }

  .nsyvv .nsyvv-btn--view {
    background: linear-gradient(135deg, var(--nsyvv-accent), var(--nsyvv-accent-deep)) !important;
    box-shadow: 0 8px 22px rgba(255, 0, 51, 0.35);
    flex: 1 1 100%;
  }

  .nsyvv .nsyvv-btn--view:hover:not(:disabled) {
    transform: translateY(-1px);
  }

  .nsyvv .nsyvv-btn--view:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
  }

  .nsyvv .nsyvv-btn--reset {
    background: linear-gradient(135deg, var(--nsyvv-cool), var(--nsyvv-cool-deep)) !important;
    display: none;
    flex: 1 1 100%;
  }

  .nsyvv .nsyvv-btn--reset.is-visible {
    display: inline-flex;
  }

  .nsyvv .nsyvv-alert {
    display: none;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 78, 69, 0.16);
    border: 1px solid rgba(255, 78, 69, 0.45);
    color: #ffb4af;
    font-weight: 600;
    font-size: 0.88rem;
  }

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

  .nsyvv .nsyvv-alert--info {
    background: rgba(62, 166, 255, 0.14);
    border-color: rgba(62, 166, 255, 0.4);
    color: #a5d8ff;
  }

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

  .nsyvv-skeleton {
    display: none;
  }

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

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

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

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

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

  .nsyvv-skeleton__player {
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: 14px;
    margin-bottom: 16px;
  }

  .nsyvv-skeleton__line {
    height: 14px;
    margin-top: 10px;
  }

  .nsyvv-skeleton__line--lg {
    width: 78%;
  }

  .nsyvv-skeleton__line--md {
    width: 48%;
  }

  .nsyvv-skeleton__line--sm {
    width: 32%;
  }

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

  .nsyvv-skeleton__stat {
    height: 64px;
    border-radius: 12px;
  }

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

  .nsyvv-content {
    display: none;
    background: var(--nsyvv-panel);
    border: 1px solid var(--nsyvv-line);
    border-radius: var(--nsyvv-radius);
    box-shadow: var(--nsyvv-shadow);
    padding: var(--nsyvv-pad);
    animation: nsyvv-rise 0.45s ease both;
  }

  .nsyvv-content.is-visible {
    display: block;
  }

  @keyframes nsyvv-rise {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nsyvv-cinema {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--nsyvv-line);
    box-shadow: 0 0 0 1px rgba(255, 0, 51, 0.08), 0 24px 60px rgba(0, 0, 0, 0.45);
  }

  .nsyvv-cinema::before {
    content: "";
    position: absolute;
    inset: -20% -10% auto;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(255, 0, 51, 0.18), transparent 70%);
    pointer-events: none;
    z-index: 0;
  }

  .nsyvv-player {
    position: relative;
    z-index: 1;
    aspect-ratio: 16 / 9;
    background: #050505;
    overflow: hidden;
  }

  .nsyvv .nsyvv-player__video,
  .nsyvv .nsyvv-player__iframe {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain;
    background: #000;
    border: 0;
    display: none;
  }

  .nsyvv .nsyvv-player__video.is-active,
  .nsyvv .nsyvv-player__iframe.is-active {
    display: block !important;
  }

  .nsyvv-player__poster {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    cursor: pointer;
    border: 0;
    padding: 0;
    width: 100%;
    color: inherit;
  }

  .nsyvv-player__poster.is-hidden {
    display: none !important;
    pointer-events: none;
  }

  .nsyvv-player__poster.is-loading {
    cursor: wait;
  }

  .nsyvv-player__poster.is-loading .nsyvv-player__play {
    animation: nsyvv-pulse 1s ease-in-out infinite;
  }

  @keyframes nsyvv-pulse {

    0%,
    100% {
      transform: scale(1);
      opacity: 1;
    }

    50% {
      transform: scale(0.92);
      opacity: 0.75;
    }
  }

  .nsyvv .nsyvv-player__poster-img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    opacity: 0.88;
    transform: scale(1.02);
    transition: transform 0.6s ease, opacity 0.35s ease;
  }

  .nsyvv-player__poster:hover .nsyvv-player__poster-img {
    transform: scale(1.06);
    opacity: 1;
  }

  .nsyvv-player__poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 1;
  }

  .nsyvv-player__play {
    position: relative;
    z-index: 2;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--nsyvv-accent), var(--nsyvv-accent-deep));
    box-shadow: 0 12px 32px rgba(255, 0, 51, 0.45), 0 0 0 10px rgba(255, 0, 51, 0.15);
    color: #fff;
    font-size: 1.45rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .nsyvv-player__poster:hover .nsyvv-player__play {
    transform: scale(1.06);
    box-shadow: 0 16px 36px rgba(255, 0, 51, 0.55), 0 0 0 14px rgba(255, 0, 51, 0.18);
  }

  .nsyvv-player__badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
  }

  .nsyvv-player__note {
    display: none;
    position: absolute;
    inset: auto 12px 12px;
    z-index: 4;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(10, 10, 10, 0.88);
    border: 1px solid rgba(255, 78, 69, 0.4);
    color: #ffc9c5;
    font-size: 0.82rem;
    font-weight: 600;
  }

  .nsyvv-player__note.is-visible {
    display: block;
  }

  .nsyvv-meta {
    margin-top: 16px;
  }

  .nsyvv .nsyvv-meta__title {
    font-size: clamp(1.05rem, 2.8vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--nsyvv-ink);
    word-break: break-word;
  }

  .nsyvv-meta__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 12px;
  }

  .nsyvv-channel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    max-width: 100%;
    padding: 8px 12px 8px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--nsyvv-line);
    color: var(--nsyvv-ink);
    text-decoration: none !important;
    transition: border-color 0.15s ease, background 0.15s ease;
  }

  .nsyvv-channel:hover {
    background: rgba(255, 0, 51, 0.1);
    border-color: rgba(255, 0, 51, 0.4);
  }

  .nsyvv .nsyvv-channel__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--nsyvv-accent), var(--nsyvv-warm));
    flex: 0 0 auto;
  }

  .nsyvv-channel__name {
    font-weight: 700;
    font-size: 0.92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
  }

  .nsyvv-meta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
  }

  .nsyvv .nsyvv-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--nsyvv-line);
    background: rgba(255, 255, 255, 0.06);
    color: #fff !important;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    appearance: none;
  }

  .nsyvv .nsyvv-chip:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .nsyvv .nsyvv-chip--accent {
    background: linear-gradient(135deg, var(--nsyvv-accent), var(--nsyvv-accent-deep));
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(255, 0, 51, 0.28);
  }

  .nsyvv .nsyvv-chip--cool {
    background: linear-gradient(135deg, var(--nsyvv-cool), var(--nsyvv-cool-deep));
    border-color: transparent;
  }

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

  .nsyvv-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--nsyvv-line);
    min-width: 0;
    transition: transform 0.2s ease, border-color 0.2s ease;
  }

  .nsyvv-stat__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 51, 0.14);
    color: #ff8fa3;
    flex: 0 0 auto;
  }

  .nsyvv-stat:nth-child(2) .nsyvv-stat__icon {
    background: rgba(62, 166, 255, 0.14);
    color: #7ec4ff;
  }

  .nsyvv-stat:nth-child(3) .nsyvv-stat__icon {
    background: rgba(255, 107, 53, 0.14);
    color: #ffb088;
  }

  .nsyvv-stat:nth-child(4) .nsyvv-stat__icon {
    background: rgba(43, 166, 64, 0.14);
    color: #7dde91;
  }

  .nsyvv-stat__body {
    min-width: 0;
  }

  .nsyvv .nsyvv-stat__value {
    display: block;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.2;
  }

  .nsyvv .nsyvv-stat__label {
    display: block;
    color: var(--nsyvv-dim);
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 2px;
  }

  .nsyvv-section {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--nsyvv-line);
  }

  .nsyvv .nsyvv-section__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 10px;
  }

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

  .nsyvv-desc {
    color: var(--nsyvv-muted);
    font-size: 0.92rem;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 7.2em;
    overflow: hidden;
    position: relative;
  }

  .nsyvv-desc.is-expanded {
    max-height: none;
  }

  .nsyvv-desc:not(.is-expanded)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2.4em;
    background: linear-gradient(180deg, transparent, rgba(24, 24, 24, 0.98));
    pointer-events: none;
  }

  .nsyvv .nsyvv-desc__toggle {
    margin-top: 8px;
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--nsyvv-cool);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
  }

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

  .nsyvv .nsyvv-formats-note {
    margin: 0 0 2px;
    color: var(--nsyvv-dim);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.35;
  }

  .nsyvv-format {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--nsyvv-line);
    transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
  }

  .nsyvv-format:hover {
    border-color: rgba(255, 0, 51, 0.4);
    background: rgba(255, 0, 51, 0.06);
  }

  .nsyvv-format__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 51, 0.14);
    color: #ff8fa3;
    flex: 0 0 auto;
  }

  .nsyvv-format__icon--audio {
    background: rgba(62, 166, 255, 0.14);
    color: #7ec4ff;
  }

  .nsyvv-format__body {
    flex: 1 1 140px;
    min-width: 0;
  }

  .nsyvv .nsyvv-format__quality {
    font-weight: 800;
    font-size: 0.95rem;
  }

  .nsyvv .nsyvv-format__meta {
    color: var(--nsyvv-dim);
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 2px;
  }

  .nsyvv .nsyvv-format__btn {
    appearance: none;
    border: 0 !important;
    border-radius: 10px;
    height: 38px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 800;
    font-size: 0.82rem;
    cursor: pointer;
    color: #041016 !important;
    background: linear-gradient(135deg, var(--nsyvv-cool), #0891b2);
    text-decoration: none !important;
    margin-left: auto;
  }

  .nsyvv .nsyvv-format__btn:hover {
    filter: brightness(1.05);
  }

  .nsyvv .nsyvv-format__btn:disabled,
  .nsyvv .nsyvv-format__btn.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
  }

  .nsyvv-caps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .nsyvv-cap {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--nsyvv-line);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--nsyvv-muted);
  }

  .nsyvv-empty {
    text-align: center;
    padding: 18px 12px;
    color: var(--nsyvv-dim);
    font-size: 0.88rem;
  }

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

  .nsyvv-dlprog {
    display: none;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--nsyvv-line);
  }

  .nsyvv-dlprog.is-visible {
    display: block;
  }

  .nsyvv-dlprog__top {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
  }

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

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

  .nsyvv-dlprog__meta {
    margin-top: 6px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: var(--nsyvv-dim);
    font-size: 0.78rem;
  }

  @supports (container-type: inline-size) {
    @container nsyvv (min-width: 520px) {
      .nsyvv-feature {
        flex: 1 1 calc(33.333% - 6px);
      }

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

      .nsyvv .nsyvv-search__field {
        flex: 1 1 220px;
      }

      .nsyvv .nsyvv-btn--paste {
        flex: 0 0 auto;
        min-width: 110px;
      }

      .nsyvv .nsyvv-btn--view {
        flex: 0 0 auto;
        min-width: 150px;
      }
    }

    @container nsyvv (min-width: 720px) {
      .nsyvv-formats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }
  }

  @media (hover: hover) {
    .nsyvv-stat:hover {
      border-color: rgba(255, 0, 51, 0.4);
      transform: translateY(-2px);
    }
  }

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

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

    .nsyvv-sk {
      animation: none;
      background: #2a1518;
    }
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- Codex CSS updates --- */
/* New Social YouTube Video Viewer — WordPress-scoped styles */
.nsyvv {
  --nsyvv-ink: #f8fafc;
  --nsyvv-muted: #cbd5e1;
  --nsyvv-dim: #94a3b8;
  --nsyvv-panel: rgba(15, 23, 42, 0.88);
  --nsyvv-panel-strong: rgba(15, 23, 42, 0.96);
  --nsyvv-panel-soft: rgba(255, 255, 255, 0.075);
  --nsyvv-line: rgba(226, 232, 240, 0.16);
  --nsyvv-line-strong: rgba(226, 232, 240, 0.26);
  --nsyvv-accent: #ff2f6d;
  --nsyvv-accent-deep: #d3134d;
  --nsyvv-warm: #ff8a3d;
  --nsyvv-cool: #38bdf8;
  --nsyvv-cool-deep: #2563eb;
  --nsyvv-success: #22c55e;
  --nsyvv-danger: #fb7185;
  --nsyvv-radius: 18px;
  --nsyvv-shadow: 0 22px 65px rgba(2, 6, 23, 0.48);
  --nsyvv-shadow-soft: 0 12px 34px rgba(2, 6, 23, 0.28);
  --nsyvv-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --nsyvv-pad: clamp(14px, 2.2vw, 22px);
  --nsyvv-gap: clamp(12px, 2vw, 18px);

  box-sizing: border-box;
  font-family: var(--nsyvv-font);
  color: var(--nsyvv-ink);
  line-height: 1.5;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-width: 0;
  margin: 0 auto;
  padding: clamp(14px, 3vw, 30px) max(clamp(10px, 2vw, 18px), env(safe-area-inset-right, 0px)) max(clamp(18px, 3vw, 34px), env(safe-area-inset-bottom, 0px)) max(clamp(10px, 2vw, 18px), env(safe-area-inset-left, 0px));
  background:
    radial-gradient(ellipse 64% 44% at 8% 0%, rgba(255, 47, 109, 0.32), transparent 56%),
    radial-gradient(ellipse 56% 42% at 100% 8%, rgba(56, 189, 248, 0.2), transparent 54%),
    radial-gradient(ellipse 48% 34% at 50% 100%, rgba(255, 138, 61, 0.12), transparent 58%),
    linear-gradient(145deg, #050816 0%, #14101f 46%, #07111f 100%);
  border-radius: 0;
  position: relative;
  isolation: isolate;
  text-align: left;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  container-type: inline-size;
  container-name: nsyvv;
}

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

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

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

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

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

.nsyvv a:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

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

.nsyvv-hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  padding: clamp(22px, 4vw, 36px) clamp(14px, 3vw, 26px);
  text-align: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--nsyvv-line);
  box-shadow: var(--nsyvv-shadow-soft);
  border-radius: var(--nsyvv-radius);
}

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

.nsyvv-hero__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--nsyvv-accent), var(--nsyvv-warm));
  color: #fff;
  box-shadow: 0 14px 30px rgba(255, 47, 109, 0.38);
}

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

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

.nsyvv-hero__title-mark {
  background: linear-gradient(135deg, #fff 0%, #ffd1de 32%, var(--nsyvv-accent) 68%, var(--nsyvv-warm) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
  text-transform: capitalize !important;
}

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

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

.nsyvv-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 16px;
  width: 100%;
  max-width: 760px;
  justify-content: center;
}

.nsyvv-feature {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 13px;
  min-height: 44px;
  flex: 1 1 100%;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid var(--nsyvv-line);
  color: var(--nsyvv-muted);
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nsyvv .nsyvv-feature i {
  color: var(--nsyvv-accent) !important;
  font-size: 0.96rem !important;
}

.nsyvv-search {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-top: 4px;
  padding: clamp(14px, 2vw, 18px);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.68));
  border: 1px solid var(--nsyvv-line);
  border-radius: 16px;
  box-shadow: var(--nsyvv-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nsyvv .nsyvv-search__label,
.nsyvv .xrespond-ts-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--nsyvv-muted);
  margin-bottom: 2px;
}

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

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

.nsyvv textarea.nsyvv-search__field {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  white-space: nowrap;
}

.nsyvv .nsyvv-search__field:focus {
  border-color: rgba(56, 189, 248, 0.78) !important;
  background: rgba(2, 6, 23, 0.82) !important;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18), 0 12px 26px rgba(2, 6, 23, 0.24);
}

.nsyvv .nsyvv-search__field::placeholder {
  color: #94a3b8;
  opacity: 1;
}

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

.nsyvv .nsyvv-btn:focus-visible,
.nsyvv .nsyvv-chip:focus-visible,
.nsyvv .nsyvv-format__btn:focus-visible,
.nsyvv .nsyvv-desc__toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.22), 0 12px 28px rgba(2, 6, 23, 0.24);
}

.nsyvv .nsyvv-btn:active:not(:disabled),
.nsyvv .nsyvv-chip:active,
.nsyvv .nsyvv-format__btn:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}

.nsyvv .nsyvv-btn i,
.nsyvv i.fa-solid,
.nsyvv i.fa-brands,
.nsyvv .fa-align-left,
.nsyvv .fa-calendar-days,
.nsyvv .fa-closed-captioning,
.nsyvv .fa-comments,
.nsyvv .fa-download,
.nsyvv .fa-eye,
.nsyvv .fa-film,
.nsyvv .fa-music,
.nsyvv .fa-paste,
.nsyvv .fa-play,
.nsyvv .fa-rotate-left,
.nsyvv .fa-thumbs-up,
.nsyvv .fa-youtube {
  --fa-display: inline-block;
  display: inline-block !important;
  line-height: 1 !important;
  font-size: 0.95em;
  width: 1.15em;
  min-width: 1.15em;
  text-align: center;
  font-style: normal;
  speak: never;
}

.nsyvv .fa-align-left::before { content: "\f036"; }
.nsyvv .fa-calendar-days::before { content: "\f073"; }
.nsyvv .fa-closed-captioning::before { content: "\f20a"; }
.nsyvv .fa-comments::before { content: "\f086"; }
.nsyvv .fa-download::before { content: "\f019"; }
.nsyvv .fa-eye::before { content: "\f06e"; }
.nsyvv .fa-film::before { content: "\f008"; }
.nsyvv .fa-music::before { content: "\f001"; }
.nsyvv .fa-paste::before { content: "\f0ea"; }
.nsyvv .fa-play::before { content: "\f04b"; }
.nsyvv .fa-rotate-left::before { content: "\f2ea"; }
.nsyvv .fa-thumbs-up::before { content: "\f164"; }
.nsyvv .fa-youtube::before { content: "\f167"; }

.nsyvv .nsyvv-btn--paste {
  background: linear-gradient(135deg, rgba(51, 65, 85, 0.96), rgba(30, 41, 59, 0.96)) !important;
  border: 1px solid var(--nsyvv-line-strong) !important;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.2);
}

.nsyvv .nsyvv-btn--paste:hover {
  background: linear-gradient(135deg, rgba(71, 85, 105, 0.98), rgba(51, 65, 85, 0.98)) !important;
  transform: translateY(-1px);
}

.nsyvv .nsyvv-btn--view {
  background: linear-gradient(135deg, var(--nsyvv-accent), var(--nsyvv-accent-deep) 56%, #9f1239) !important;
  box-shadow: 0 13px 28px rgba(255, 47, 109, 0.34);
  flex: 1 1 100%;
}

.nsyvv .nsyvv-btn--view:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 16px 34px rgba(255, 47, 109, 0.42);
}

.nsyvv .nsyvv-btn--view:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.nsyvv .nsyvv-btn--reset {
  background: linear-gradient(135deg, var(--nsyvv-cool), var(--nsyvv-cool-deep)) !important;
  box-shadow: 0 13px 28px rgba(37, 99, 235, 0.28);
  display: none;
  flex: 1 1 100%;
}

.nsyvv .nsyvv-btn--reset.is-visible {
  display: inline-flex;
}

.nsyvv .nsyvv-alert,
.nsyvv .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.44);
  color: #fecdd3;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.45;
}

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

.nsyvv .nsyvv-alert--info {
  background: rgba(56, 189, 248, 0.13);
  border-color: rgba(56, 189, 248, 0.38);
  color: #bae6fd;
}

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

.nsyvv-skeleton {
  display: none;
}

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

.nsyvv-skeleton__panel {
  background: var(--nsyvv-panel);
  border: 1px solid var(--nsyvv-line);
  border-radius: var(--nsyvv-radius);
  padding: var(--nsyvv-pad);
  box-shadow: var(--nsyvv-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

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

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

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

.nsyvv-skeleton__player {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 16px;
  margin-bottom: 16px;
}

.nsyvv-skeleton__line {
  height: 14px;
  margin-top: 10px;
}

.nsyvv-skeleton__line--lg {
  width: 78%;
}

.nsyvv-skeleton__line--md {
  width: 48%;
}

.nsyvv-skeleton__line--sm {
  width: 32%;
}

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

.nsyvv-skeleton__stat {
  height: 64px;
  border-radius: 14px;
}

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

.nsyvv-content {
  display: none;
  background: var(--nsyvv-panel);
  border: 1px solid var(--nsyvv-line);
  border-radius: var(--nsyvv-radius);
  box-shadow: var(--nsyvv-shadow);
  padding: var(--nsyvv-pad);
  animation: nsyvv-rise 0.45s ease both;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nsyvv-content.is-visible {
  display: block;
}

@keyframes nsyvv-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nsyvv-cinema {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--nsyvv-line);
  box-shadow: 0 0 0 1px rgba(255, 47, 109, 0.08), 0 24px 60px rgba(2, 6, 23, 0.5);
}

.nsyvv-cinema::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(255, 47, 109, 0.2), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.nsyvv-player {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  background: #020617;
  overflow: hidden;
}

.nsyvv .nsyvv-player__video,
.nsyvv .nsyvv-player__iframe {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
  background: #000;
  border: 0;
  display: none;
}

.nsyvv .nsyvv-player__video.is-active,
.nsyvv .nsyvv-player__iframe.is-active {
  display: block !important;
}

.nsyvv-player__poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #020617;
  cursor: pointer;
  border: 0;
  padding: 0;
  width: 100%;
  color: inherit;
}

.nsyvv-player__poster.is-hidden {
  display: none !important;
  pointer-events: none;
}

.nsyvv-player__poster.is-loading {
  cursor: wait;
}

.nsyvv-player__poster.is-loading .nsyvv-player__play {
  animation: nsyvv-pulse 1s ease-in-out infinite;
}

@keyframes nsyvv-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(0.92);
    opacity: 0.75;
  }
}

.nsyvv .nsyvv-player__poster-img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  opacity: 0.88;
  transform: scale(1.02);
  transition: transform 0.6s ease, opacity 0.35s ease;
}

.nsyvv-player__poster:hover .nsyvv-player__poster-img {
  transform: scale(1.06);
  opacity: 1;
}

.nsyvv-player__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.08) 0%, rgba(2, 6, 23, 0.64) 100%);
  z-index: 1;
}

.nsyvv-player__play {
  position: relative;
  z-index: 2;
  width: clamp(58px, 9vw, 76px);
  height: clamp(58px, 9vw, 76px);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--nsyvv-accent), var(--nsyvv-accent-deep));
  box-shadow: 0 14px 34px rgba(255, 47, 109, 0.45), 0 0 0 10px rgba(255, 47, 109, 0.16);
  color: #fff;
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nsyvv-player__poster:hover .nsyvv-player__play {
  transform: scale(1.06);
  box-shadow: 0 16px 38px rgba(255, 47, 109, 0.55), 0 0 0 14px rgba(255, 47, 109, 0.18);
}

.nsyvv-player__badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  padding: 7px 11px;
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nsyvv-player__note {
  display: none;
  position: absolute;
  inset: auto 12px 12px;
  z-index: 4;
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(251, 113, 133, 0.42);
  color: #fecdd3;
  font-size: 0.84rem;
  font-weight: 700;
}

.nsyvv-player__note.is-visible {
  display: block;
}

.nsyvv-meta {
  margin-top: 18px;
}

.nsyvv .nsyvv-meta__title {
  font-size: clamp(1.08rem, 2.4vw, 1.42rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.32;
  color: var(--nsyvv-ink);
  word-break: break-word;
  text-transform: capitalize !important;
}

.nsyvv-meta__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 13px;
}

.nsyvv-channel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid var(--nsyvv-line);
  color: var(--nsyvv-ink);
  text-decoration: none !important;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.nsyvv-channel:hover {
  background: rgba(255, 47, 109, 0.11);
  border-color: rgba(255, 47, 109, 0.42);
  transform: translateY(-1px);
}

.nsyvv .nsyvv-channel__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--nsyvv-accent), var(--nsyvv-warm));
  flex: 0 0 auto;
}

.nsyvv-channel__name {
  font-weight: 800;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.nsyvv-meta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.nsyvv .nsyvv-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 13px;
  border-radius: 12px;
  border: 1px solid var(--nsyvv-line);
  background: rgba(255, 255, 255, 0.07);
  color: #fff !important;
  font-size: 0.83rem;
  font-weight: 800;
  text-decoration: none !important;
  cursor: pointer;
  appearance: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.nsyvv .nsyvv-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.nsyvv .nsyvv-chip--accent {
  background: linear-gradient(135deg, var(--nsyvv-accent), var(--nsyvv-accent-deep));
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(255, 47, 109, 0.3);
}

.nsyvv .nsyvv-chip--cool {
  background: linear-gradient(135deg, var(--nsyvv-cool), var(--nsyvv-cool-deep));
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.22);
}

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

.nsyvv-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--nsyvv-line);
  min-width: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nsyvv-stat__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 47, 109, 0.14);
  color: #fda4af;
  flex: 0 0 auto;
}

.nsyvv-stat:nth-child(2) .nsyvv-stat__icon {
  background: rgba(56, 189, 248, 0.14);
  color: #7dd3fc;
}

.nsyvv-stat:nth-child(3) .nsyvv-stat__icon {
  background: rgba(255, 138, 61, 0.14);
  color: #fdba74;
}

.nsyvv-stat:nth-child(4) .nsyvv-stat__icon {
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
}

.nsyvv-stat__body {
  min-width: 0;
}

.nsyvv .nsyvv-stat__value {
  display: block;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
}

.nsyvv .nsyvv-stat__label {
  display: block;
  color: var(--nsyvv-dim);
  font-size: 0.76rem;
  font-weight: 700;
  margin-top: 2px;
}

.nsyvv-section {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--nsyvv-line);
}

.nsyvv .nsyvv-section__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 11px;
  text-transform: capitalize !important;
}

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

.nsyvv-desc {
  color: var(--nsyvv-muted);
  font-size: 0.93rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 7.2em;
  overflow: hidden;
  position: relative;
}

.nsyvv-desc.is-expanded {
  max-height: none;
}

.nsyvv-desc:not(.is-expanded)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.4em;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.98));
  pointer-events: none;
}

.nsyvv .nsyvv-desc__toggle {
  margin-top: 9px;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--nsyvv-cool);
  font-weight: 800;
  font-size: 0.86rem;
  cursor: pointer;
  padding: 3px 0;
  border-radius: 8px;
}

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

.nsyvv .nsyvv-formats-note {
  margin: 0 0 3px;
  color: var(--nsyvv-dim);
  font-size: 0.81rem;
  font-weight: 700;
  line-height: 1.38;
}

.nsyvv-format {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--nsyvv-line);
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.nsyvv-format:hover {
  border-color: rgba(255, 47, 109, 0.42);
  background: rgba(255, 47, 109, 0.075);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.18);
}

.nsyvv-format__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 47, 109, 0.14);
  color: #fda4af;
  flex: 0 0 auto;
}

.nsyvv-format__icon--audio {
  background: rgba(56, 189, 248, 0.14);
  color: #7dd3fc;
}

.nsyvv-format__body {
  flex: 1 1 140px;
  min-width: 0;
}

.nsyvv .nsyvv-format__quality {
  font-weight: 800;
  font-size: 0.96rem;
}

.nsyvv .nsyvv-format__meta {
  color: var(--nsyvv-dim);
  font-size: 0.79rem;
  font-weight: 700;
  margin-top: 2px;
}

.nsyvv .nsyvv-format__btn {
  appearance: none;
  border: 0 !important;
  border-radius: 12px;
  height: 40px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 0.83rem;
  cursor: pointer;
  color: #03121f !important;
  background: linear-gradient(135deg, #67e8f9, var(--nsyvv-cool));
  text-decoration: none !important;
  margin-left: auto;
  box-shadow: 0 10px 18px rgba(56, 189, 248, 0.2);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.nsyvv .nsyvv-format__btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.nsyvv .nsyvv-format__btn:disabled,
.nsyvv .nsyvv-format__btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

.nsyvv-caps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nsyvv-cap {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid var(--nsyvv-line);
  font-size: 0.81rem;
  font-weight: 800;
  color: var(--nsyvv-muted);
}

.nsyvv-empty {
  text-align: center;
  padding: 22px 12px;
  color: var(--nsyvv-dim);
  font-size: 0.9rem;
  line-height: 1.5;
}

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

.nsyvv-dlprog {
  display: none;
  margin-top: 12px;
  padding: 12px 13px;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.4);
  border: 1px solid var(--nsyvv-line);
}

.nsyvv-dlprog.is-visible {
  display: block;
}

.nsyvv-dlprog__top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.83rem;
  font-weight: 800;
}

.nsyvv-dlprog__track {
  margin-top: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  overflow: hidden;
}

.nsyvv-dlprog__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--nsyvv-accent), var(--nsyvv-cool));
  transition: width 0.2s ease;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.36);
}

.nsyvv-dlprog__meta {
  margin-top: 7px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--nsyvv-dim);
  font-size: 0.79rem;
  font-weight: 700;
}

.nsyvv .xrespond-ts-widget {
  width: 100%;
  max-width: 360px;
  margin: 10px auto 0;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--nsyvv-line);
  box-shadow: var(--nsyvv-shadow-soft);
}

@supports (container-type: inline-size) {
  @container nsyvv (min-width: 520px) {
    .nsyvv-feature {
      flex: 1 1 calc(33.333% - 7px);
    }

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

    .nsyvv .nsyvv-search__field {
      flex: 1 1 260px;
    }

    .nsyvv .nsyvv-btn--paste {
      flex: 0 0 auto;
      min-width: 118px;
    }

    .nsyvv .nsyvv-btn--view {
      flex: 0 0 auto;
      min-width: 158px;
    }
  }

  @container nsyvv (min-width: 720px) {
    .nsyvv-formats {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
}

@media (hover: hover) {
  .nsyvv-stat:hover {
    border-color: rgba(255, 47, 109, 0.42);
    background: rgba(255, 47, 109, 0.07);
    transform: translateY(-2px);
  }

  .nsyvv-feature:hover {
    border-color: rgba(56, 189, 248, 0.34);
    background: rgba(56, 189, 248, 0.08);
    transform: translateY(-1px);
  }
}

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

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

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

.nsyvv #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, stack cleanly on small and medium screens */
.nsyvv .nsyvv-search,
.nsyvv .nsyvv-search .nsyvv-search__row,
.nsyvv .nsyvv-search .nsyvv-search__actions {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

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

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

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

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

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

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

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

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

@media (max-width: 768px) {
  .nsyvv {
    min-height: auto;
    padding: 12px max(10px, env(safe-area-inset-right, 0px)) 20px max(10px, env(safe-area-inset-left, 0px));
  }

  .nsyvv-shell {
    gap: 12px;
  }

  .nsyvv-hero {
    padding: 20px 12px;
    border-radius: 16px;
  }

  .nsyvv-hero__heading {
    gap: 9px;
    margin-bottom: 9px;
  }

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

  .nsyvv .nsyvv-hero__title {
    font-size: clamp(1.32rem, 6vw, 1.68rem);
    line-height: 1.25;
  }

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

  .nsyvv-features {
    gap: 8px;
    margin-bottom: 14px;
  }

  .nsyvv-feature {
    flex: 1 1 100%;
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
  }

  .nsyvv-search {
    padding: 13px;
    border-radius: 15px;
    gap: 10px;
  }

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

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

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

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

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

  .nsyvv-meta__row,
  .nsyvv-meta__actions {
    width: 100%;
  }

  .nsyvv-meta__actions {
    margin-left: 0;
  }

  .nsyvv-channel {
    width: 100%;
  }

  .nsyvv-channel__name {
    max-width: 100%;
  }

  .nsyvv .nsyvv-chip {
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
  }

  .nsyvv-format {
    align-items: flex-start;
  }

  .nsyvv .nsyvv-format__btn {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }
}

@media (max-width: 420px) {
  .nsyvv {
    padding-left: max(8px, env(safe-area-inset-left, 0px));
    padding-right: max(8px, env(safe-area-inset-right, 0px));
  }

  .nsyvv-hero {
    padding: 18px 10px;
  }

  .nsyvv .nsyvv-hero__title {
    font-size: clamp(1.24rem, 7vw, 1.48rem);
  }

  .nsyvv-search,
  .nsyvv-content,
  .nsyvv-skeleton__panel {
    padding: 12px;
    border-radius: 14px;
  }

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

  .nsyvv-stat {
    padding: 12px;
  }

  .nsyvv-player__badge {
    right: 8px;
    bottom: 8px;
    font-size: 0.72rem;
  }

  .nsyvv-player__note {
    inset: auto 8px 8px;
    font-size: 0.8rem;
  }

  .nsyvv .nsyvv-chip {
    flex: 1 1 100%;
    width: 100%;
  }

  .nsyvv-dlprog__top,
  .nsyvv-dlprog__meta {
    flex-direction: column;
    gap: 4px;
  }
}