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

/* New Social TikTok Profile Viewer — WordPress-scoped styles */
.nstpv {
container-type: inline-size;
container-name: nstpv;
/* TikTok brand: black + neon pink/red + cyan */
--nstpv-ink: #ffffff;
--nstpv-muted: #cbd5e1;
--nstpv-dim: #94a3b8;
--nstpv-panel: rgba(22, 24, 35, 0.94);
--nstpv-panel-soft: rgba(255, 255, 255, 0.08);
--nstpv-line: rgba(255, 255, 255, 0.12);
--nstpv-accent: #ff0050;
--nstpv-accent-deep: #ee1d52;
--nstpv-cool: #00f2ea;
--nstpv-cool-deep: #69c9d0;
--nstpv-danger: #ff4d6d;
--nstpv-radius: 16px;
--nstpv-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
--nstpv-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
--nstpv-space: 16px;
--nstpv-avatar: 96px;
--nstpv-pad: 12px;
--nstpv-gap: 12px;
box-sizing: border-box;
font-family: var(--nstpv-font);
color: var(--nstpv-ink);
line-height: 1.5;
width: 100%;
max-width: 100%;
min-height: 100vh;
min-width: 0;
margin: 0 auto;
padding: clamp(10px, 2.5vw, 28px) max(clamp(6px, 2vw, 14px), env(safe-area-inset-right, 0px)) max(clamp(14px, 3vw, 28px), env(safe-area-inset-bottom, 0px)) max(clamp(6px, 2vw, 14px), env(safe-area-inset-left, 0px));
background:
radial-gradient(ellipse 75% 50% at 12% 0%, rgba(255, 0, 80, 0.28), transparent 55%),
radial-gradient(ellipse 70% 45% at 92% 8%, rgba(0, 242, 234, 0.18), transparent 50%),
linear-gradient(145deg, #0a0a0f 0%, #161823 42%, #1c1917 100%);
border-radius: 0;
position: relative;
isolation: isolate;
text-align: left;
overflow-x: hidden;
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
}
.nstpv *,
.nstpv *::before,
.nstpv *::after {
box-sizing: border-box;
}
.nstpv :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, label, span) {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
}
.nstpv :where(ul, ol) {
list-style: none;
}
.nstpv img {
max-width: 100%;
height: auto;
display: block;
border: 0;
}
.nstpv a {
color: var(--nstpv-cool);
text-decoration: none;
}
.nstpv a:hover {
text-decoration: underline;
}
.nstpv-shell {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
gap: var(--nstpv-gap);
width: 100%;
max-width: 1280px;
margin: 0 auto;
min-width: 0;
}
.nstpv-hero {
background: transparent;
padding: 36px 0 14px;
text-align: center;
width: 100%;
max-width: 100%;
min-width: 0;
backdrop-filter: blur(12px);
border: 0;
box-shadow: none;
border-radius: 0;
}
.nstpv-hero__heading {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
flex-wrap: wrap;
margin: 0 0 8px;
}
.nstpv-hero__brand {
display: inline-flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
min-width: 44px;
margin: 0;
border-radius: 12px;
background: linear-gradient(135deg, var(--nstpv-accent), var(--nstpv-cool));
color: #fff;
box-shadow: 0 10px 24px rgba(255, 0, 80, 0.35);
flex: 0 0 auto;
}
.nstpv .nstpv-hero__brand i {
font-size: 1.25rem !important;
width: auto;
color: #fff !important;
}
.nstpv .nstpv-hero__title {
font-size: clamp(1.35rem, 3vw, 1.75rem);
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.25;
margin: 0;
color: var(--nstpv-ink);
}
.nstpv-hero__title-mark {
background: linear-gradient(135deg, var(--nstpv-accent) 0%, var(--nstpv-cool) 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
position: relative;
display: inline-block;
}
.nstpv-hero__title-mark::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: -3px;
height: 3px;
border-radius: 999px;
background: linear-gradient(90deg, var(--nstpv-accent), var(--nstpv-cool));
}
.nstpv .nstpv-hero__lead {
max-width: 560px;
margin: 0 auto 16px;
color: var(--nstpv-muted);
font-size: clamp(0.88rem, 2.4vw, 0.95rem);
line-height: 1.55;
padding: 0 2px;
}
.nstpv-search {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 10px;
text-align: left;
width: 100%;
max-width: 100%;
min-width: 0;
box-sizing: border-box;
margin-top: 4px;
padding: clamp(10px, 2vw, 14px);
background: rgba(10, 10, 15, 0.55);
border: 1px solid var(--nstpv-line);
border-radius: 12px;
box-shadow: var(--nstpv-shadow);
}
.nstpv .nstpv-search__label {
display: block;
font-size: 0.88rem;
font-weight: 600;
color: var(--nstpv-muted);
line-height: 1.3;
}
.nstpv-search__row {
display: flex;
flex-direction: column;
gap: 8px;
flex-wrap: wrap;
align-items: stretch;
width: 100%;
min-width: 0;
}
.nstpv .nstpv-search__field {
flex: 1 1 160px;
min-width: 0;
height: 46px;
min-height: 46px;
padding: 0 14px !important;
border: 1px solid var(--nstpv-line) !important;
border-radius: 10px;
background: rgba(10, 10, 15, 0.75) !important;
color: #ffffff !important;
font-family: var(--nstpv-font);
font-size: 16px !important;
font-weight: 500;
line-height: 46px;
outline: none;
box-shadow: none;
width: 100%;
max-width: 100%;
}
.nstpv .nstpv-search__field:focus {
border-color: var(--nstpv-cool) !important;
box-shadow: 0 0 0 3px rgba(0, 242, 234, 0.28);
}
.nstpv .nstpv-search__field::placeholder {
color: var(--nstpv-dim);
opacity: 1;
}
.nstpv .nstpv-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
flex: 1 1 calc(50% - 4px);
height: 46px;
min-height: 46px;
min-width: 0;
padding: 0 14px !important;
border: 0 !important;
border-radius: 10px;
font-family: var(--nstpv-font);
font-size: 0.9rem !important;
font-weight: 700 !important;
line-height: 1;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
white-space: nowrap;
user-select: none;
text-decoration: none;
appearance: none;
-webkit-appearance: none;
touch-action: manipulation;
}
.nstpv .nstpv-btn i,
.nstpv .nstpv-avatar__zoom i,
.nstpv .nstpv-modal__close i,
.nstpv .nstpv-card__dl i,
.nstpv .nstpv-card__play i,
.nstpv .nstpv-videos__dlall i,
.nstpv .nstpv-modal__action i,
.nstpv .nstpv-dlprog__title i,
.nstpv .nstpv-dlprog__stop i,
.nstpv .nstpv-stat i,
.nstpv .nstpv-hero__brand i,
.nstpv .nstpv-meta__verified i,
.nstpv i.fa-solid,
.nstpv i.fa-brands,
.nstpv i.fas {
--fa-display: inline-block;
display: inline-block !important;
line-height: 1 !important;
font-size: 0.92em;
width: 1.15em;
text-align: center;
vertical-align: middle;
font-style: normal !important;
font-variant: normal;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
}
.nstpv .nstpv-btn--paste {
background: var(--nstpv-panel-soft) !important;
color: var(--nstpv-ink) !important;
border: 1px solid var(--nstpv-line) !important;
}
.nstpv .nstpv-btn--view {
background: linear-gradient(135deg, var(--nstpv-accent) 0%, #ff4081 45%, var(--nstpv-cool) 100%) !important;
color: #ffffff !important;
box-shadow: 0 8px 18px rgba(255, 0, 80, 0.35);
}
.nstpv .nstpv-btn--reset {
background: linear-gradient(135deg, var(--nstpv-cool), var(--nstpv-cool-deep)) !important;
color: #0a0a0f !important;
box-shadow: 0 8px 18px rgba(0, 242, 234, 0.28);
}
.nstpv .nstpv-btn:hover {
transform: translateY(-1px);
}
.nstpv .nstpv-btn:disabled,
.nstpv .nstpv-btn.is-hidden {
opacity: 0.55;
cursor: not-allowed;
transform: none;
}
.nstpv .nstpv-btn.is-hidden {
display: none !important;
}
.nstpv .nstpv-search__meta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px 12px;
width: 100%;
min-width: 0;
}
.nstpv .nstpv-search__hint {
margin: 0;
flex: 1 1 180px;
font-size: 0.8rem;
font-style: italic;
color: var(--nstpv-dim);
line-height: 1.4;
min-width: 0;
}
.nstpv .nstpv-alert {
display: none;
margin: 0;
padding: 10px 12px;
border-radius: 8px;
background: rgba(255, 107, 122, 0.12);
border: 1px solid rgba(255, 107, 122, 0.35);
color: var(--nstpv-danger);
font-weight: 600;
font-size: 0.88rem;
text-align: left;
line-height: 1.4;
overflow-wrap: anywhere;
}
.nstpv .nstpv-alert.is-visible {
display: block;
}
.nstpv .nstpv-alert.is-info {
background: rgba(0, 242, 234, 0.12);
border-color: rgba(0, 242, 234, 0.35);
color: var(--nstpv-cool);
}
.nstpv .nstpv-skeleton {
display: none;
margin: 0;
width: 100%;
max-width: 100%;
min-width: 0;
}
.nstpv .nstpv-skeleton.is-visible {
display: block;
}
.nstpv .nstpv-content.is-hidden {
display: none !important;
}
@keyframes nstpv-shimmer {
0% {
background-position: -400px 0;
}
100% {
background-position: 400px 0;
}
}
.nstpv .nstpv-sk {
background: linear-gradient(90deg,
rgba(255, 255, 255, 0.06) 0%,
rgba(255, 255, 255, 0.14) 45%,
rgba(255, 255, 255, 0.06) 100%);
background-size: 800px 100%;
animation: nstpv-shimmer 1.35s ease-in-out infinite;
border-radius: 8px;
}
.nstpv-skeleton__panel {
background: var(--nstpv-panel);
border: 1px solid var(--nstpv-line);
border-radius: var(--nstpv-radius);
box-shadow: var(--nstpv-shadow);
padding: 18px;
width: 100%;
max-width: 100%;
min-width: 0;
}
.nstpv-skeleton__profile {
display: grid;
grid-template-columns: 1fr;
gap: 14px;
align-items: center;
justify-items: center;
padding: var(--nstpv-pad);
border-radius: 12px;
background: linear-gradient(160deg, rgba(0, 242, 234, 0.1), rgba(255, 0, 80, 0.1));
border: 1px solid rgba(255, 255, 255, 0.06);
text-align: center;
width: 100%;
min-width: 0;
}
.nstpv .nstpv-skeleton__avatar {
width: var(--nstpv-avatar);
height: var(--nstpv-avatar);
border-radius: 50% !important;
border: 3px solid rgba(255, 255, 255, 0.12);
}
.nstpv-skeleton__meta {
display: flex;
flex-direction: column;
gap: 10px;
min-width: 0;
align-items: center;
text-align: center;
width: 100%;
}
.nstpv-skeleton__line {
height: 16px;
}
.nstpv-skeleton__line--lg {
width: min(200px, 70%);
height: 22px;
}
.nstpv-skeleton__line--md {
width: min(140px, 50%);
height: 14px;
}
.nstpv-skeleton__line--bio {
width: 100%;
height: 54px;
margin-top: 4px;
grid-column: 1 / -1;
}
.nstpv-skeleton__stats {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
margin-top: 2px;
width: 100%;
}
.nstpv-skeleton__stat {
height: 56px;
border-radius: 10px;
}
.nstpv-skeleton__head {
display: flex;
justify-content: space-between;
gap: 10px;
margin: 18px 0 12px;
align-items: center;
}
.nstpv-skeleton__head-line {
width: min(120px, 40%);
height: 20px;
}
.nstpv-skeleton__head-btn {
width: min(140px, 42%);
height: 40px;
border-radius: 10px;
}
.nstpv-skeleton__grid {
display: grid;
grid-template-columns: 1fr;
gap: 12px;
width: 100%;
}
.nstpv-skeleton__card {
border-radius: 12px;
overflow: hidden;
border: 1px solid var(--nstpv-line);
background: rgba(255, 255, 255, 0.04);
min-width: 0;
}
.nstpv-skeleton__thumb {
aspect-ratio: 9 / 14;
border-radius: 0;
}
.nstpv-skeleton__foot {
height: 64px;
margin: 10px 12px;
border-radius: 8px;
}
.nstpv .nstpv-result {
display: block;
margin: 0;
width: 100%;
max-width: 100%;
min-width: 0;
}
.nstpv-panel {
background: var(--nstpv-panel);
border: 1px solid var(--nstpv-line);
border-radius: var(--nstpv-radius);
box-shadow: var(--nstpv-shadow);
padding: var(--nstpv-pad);
backdrop-filter: blur(12px);
width: 100%;
max-width: 100%;
min-width: 0;
}
.nstpv-profile {
display: grid;
grid-template-columns: 1fr;
gap: 14px;
align-items: center;
justify-items: center;
padding: var(--nstpv-pad);
border-radius: 12px;
background: linear-gradient(160deg, rgba(0, 242, 234, 0.12), rgba(255, 0, 80, 0.12));
border: 1px solid rgba(255, 255, 255, 0.06);
width: 100%;
min-width: 0;
text-align: center;
}
.nstpv-avatar {
position: relative;
width: var(--nstpv-avatar);
height: var(--nstpv-avatar);
}
.nstpv-avatar__ring {
width: 100%;
height: 100%;
border-radius: 50%;
padding: 3px;
background: linear-gradient(135deg, var(--nstpv-accent), var(--nstpv-cool));
box-shadow: 0 8px 20px rgba(255, 0, 80, 0.35), 0 0 0 1px rgba(0, 242, 234, 0.2);
}
.nstpv .nstpv-avatar__img {
width: 100% !important;
height: 100% !important;
max-width: none;
object-fit: cover;
border-radius: 50%;
background: #12141f;
cursor: pointer;
}
.nstpv .nstpv-avatar__zoom {
position: absolute;
right: -2px;
bottom: -2px;
width: 36px;
height: 36px;
min-width: 36px;
border-radius: 50%;
border: 0 !important;
background: rgba(10, 10, 15, 0.9) !important;
color: #fff !important;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
appearance: none;
-webkit-appearance: none;
touch-action: manipulation;
z-index: 2;
}
.nstpv-meta {
display: flex;
flex-direction: column;
gap: 6px;
min-width: 0;
align-items: center;
width: 100%;
}
.nstpv .nstpv-meta__name {
font-size: clamp(1.15rem, 3.5vw, 1.45rem);
font-weight: 800;
color: var(--nstpv-ink);
line-height: 1.25;
overflow-wrap: anywhere;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
flex-wrap: wrap;
}
.nstpv .nstpv-meta__verified {
display: inline-flex;
align-items: center;
color: var(--nstpv-cool);
font-size: 0.85em;
}
.nstpv .nstpv-meta__verified[hidden] {
display: none !important;
}
.nstpv .nstpv-meta__handle {
font-size: 0.95rem;
font-weight: 600;
color: var(--nstpv-cool);
line-height: 1.3;
overflow-wrap: anywhere;
}
.nstpv .nstpv-stats {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
width: 100%;
margin-top: 8px;
}
.nstpv .nstpv-stat {
display: flex;
flex-direction: column;
align-items: center;
gap: 2px;
min-width: 0;
padding: 10px 8px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.08);
}
.nstpv .nstpv-stat__value {
font-size: clamp(1rem, 3.2vw, 1.15rem);
font-weight: 800;
color: var(--nstpv-cool);
line-height: 1.2;
}
.nstpv .nstpv-stat__label {
font-size: 0.75rem;
color: var(--nstpv-dim);
text-transform: capitalize;
line-height: 1.2;
}
.nstpv .nstpv-bio {
grid-column: 1 / -1;
margin: 0;
padding: 12px 0 0;
border-top: 1px solid var(--nstpv-line);
text-align: center;
color: #e2e8f0;
font-size: clamp(0.86rem, 3cqi, 0.92rem);
line-height: 1.55;
min-width: 0;
overflow-wrap: anywhere;
white-space: pre-line;
}
.nstpv-content.is-placeholder .nstpv-avatar__zoom {
opacity: 0.55;
pointer-events: none;
}
.nstpv-content.is-placeholder .nstpv-card__media,
.nstpv-content.is-placeholder .nstpv-card__dl,
.nstpv-content.is-placeholder .nstpv-card__play,
.nstpv-content.is-placeholder .nstpv-videos__dlall {
pointer-events: none;
}
.nstpv-content.is-placeholder .nstpv-card__dl,
.nstpv-content.is-placeholder .nstpv-videos__dlall {
opacity: 0.65;
}
.nstpv-content.is-placeholder .nstpv-bio {
color: var(--nstpv-dim);
}
.nstpv-card__media--ghost {
background: linear-gradient(145deg, #1a0a14, #ff0050 55%, #00f2ea);
}
.nstpv-card__media--ghost-b {
background: linear-gradient(145deg, #0a1418, #00f2ea 55%, #ff0050);
}
.nstpv-card__media--ghost-c {
background: linear-gradient(145deg, #12141f, #ee1d52 45%, #69c9d0);
}
.nstpv-card__media--ghost .nstpv-card__img {
display: none !important;
}
.nstpv-videos {
margin-top: 16px;
width: 100%;
max-width: 100%;
min-width: 0;
}
.nstpv-videos__head {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 10px;
margin-bottom: 12px;
width: 100%;
min-width: 0;
}
.nstpv .nstpv-videos__title {
display: inline-flex;
align-items: center;
gap: 8px;
font-size: 1.05rem;
font-weight: 800;
color: var(--nstpv-ink);
line-height: 1.3;
}
.nstpv .nstpv-videos__title i {
color: var(--nstpv-accent);
}
.nstpv .nstpv-videos__count {
font-size: 0.82rem;
font-weight: 600;
color: var(--nstpv-dim);
width: 100%;
order: 3;
}
.nstpv .nstpv-videos__dlall {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
height: 44px;
min-height: 44px;
padding: 0 14px !important;
border-radius: 10px;
border: 0 !important;
background: linear-gradient(135deg, var(--nstpv-cool), var(--nstpv-cool-deep)) !important;
color: #0a0a0f !important;
font-family: var(--nstpv-font);
font-size: 0.85rem !important;
font-weight: 700 !important;
cursor: pointer;
appearance: none;
-webkit-appearance: none;
touch-action: manipulation;
white-space: nowrap;
}
.nstpv-more {
appearance: none;
width: 100%;
margin-top: 12px;
border: 1px solid rgba(0, 242, 234, 0.45);
background: rgba(0, 242, 234, 0.12);
color: #fff;
border-radius: 12px;
padding: 11px 14px;
font-weight: 800;
font-size: 0.88rem;
cursor: pointer;
display: none;
gap: 8px;
align-items: center;
justify-content: center;
}
.nstpv-more.is-visible {
display: inline-flex;
}
.nstpv-more:hover {
background: rgba(0, 242, 234, 0.2);
}
.nstpv-more:disabled {
opacity: .55;
cursor: not-allowed;
}
.nstpv-content.is-placeholder .nstpv-more {
display: none !important;
}
.nstpv .nstpv-videos__dlall:disabled {
opacity: 0.55;
cursor: not-allowed;
}
.nstpv-grid {
display: grid;
grid-template-columns: 1fr;
gap: clamp(10px, 2.5vw, 14px);
margin: 0;
width: 100%;
min-width: 0;
}
.nstpv-card {
display: flex;
flex-direction: column;
border-radius: 12px;
overflow: hidden;
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--nstpv-line);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
transition: transform 0.25s ease, box-shadow 0.25s ease;
min-width: 0;
max-width: 100%;
width: 100%;
}
.nstpv-card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}
.nstpv-card__media {
position: relative;
aspect-ratio: 9 / 14;
overflow: hidden;
background: #12141f;
flex: 0 0 auto;
}
.nstpv .nstpv-card__img {
width: 100% !important;
height: 100% !important;
max-width: none;
object-fit: cover;
transition: transform 0.45s ease;
}
.nstpv-card:hover .nstpv-card__img {
transform: scale(1.05);
}
.nstpv .nstpv-card__dl {
position: absolute;
top: 8px;
right: 8px;
z-index: 2;
width: 36px;
height: 36px;
min-width: 36px;
border-radius: 9px;
border: 0 !important;
background: rgba(0, 0, 0, 0.6) !important;
color: #fff !important;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
appearance: none;
-webkit-appearance: none;
touch-action: manipulation;
}
.nstpv .nstpv-card__play {
position: absolute;
inset: 0;
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
background: rgba(10, 10, 15, 0.35);
border: 0 !important;
cursor: pointer;
color: #fff;
appearance: none;
-webkit-appearance: none;
touch-action: manipulation;
}
.nstpv .nstpv-card__play span {
width: 56px;
height: 56px;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.55);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
font-size: 1.1rem;
}
.nstpv-card__body {
display: flex;
flex-direction: column;
gap: 8px;
padding: 10px 12px 12px;
min-width: 0;
}
.nstpv .nstpv-card__title {
font-size: 0.88rem;
font-weight: 700;
color: var(--nstpv-ink);
line-height: 1.35;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
overflow-wrap: anywhere;
}
.nstpv-card__metrics {
display: flex;
flex-wrap: wrap;
gap: 10px 14px;
color: var(--nstpv-muted);
font-size: 0.78rem;
font-weight: 600;
}
.nstpv-card__metrics span {
display: inline-flex;
align-items: center;
gap: 5px;
}
.nstpv-card__metrics i {
color: var(--nstpv-accent);
}
.nstpv-card__metrics span:nth-child(3) i {
color: var(--nstpv-cool);
}
.nstpv .nstpv-empty {
text-align: center;
padding: 28px 16px;
color: var(--nstpv-muted);
}
.nstpv .nstpv-empty i {
display: block !important;
font-size: 2.1rem !important;
width: auto;
margin: 0 auto 14px;
opacity: 0.85;
line-height: 1 !important;
color: #fff;
}
.nstpv-modal {
position: fixed;
inset: 0;
z-index: 99999;
display: none;
align-items: center;
justify-content: center;
padding: 16px;
background: rgba(10, 10, 15, 0.82);
backdrop-filter: blur(6px);
}
.nstpv-modal.is-open {
display: flex;
}
.nstpv-modal__dialog {
position: relative;
width: min(720px, 100%);
max-height: min(92vh, 900px);
overflow: auto;
background: var(--nstpv-panel);
border: 1px solid var(--nstpv-line);
border-radius: 16px;
box-shadow: var(--nstpv-shadow);
padding: 14px;
min-width: 0;
}
.nstpv-modal__dialog--avatar {
width: min(420px, 100%);
}
.nstpv .nstpv-modal__close {
position: absolute;
top: 10px;
right: 10px;
z-index: 3;
width: 40px;
height: 40px;
min-width: 40px;
border-radius: 50%;
border: 0 !important;
background: rgba(0, 0, 0, 0.55) !important;
color: #fff !important;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
appearance: none;
-webkit-appearance: none;
touch-action: manipulation;
}
.nstpv-modal__stage {
position: relative;
border-radius: 12px;
overflow: hidden;
background: #0a0a0f;
min-height: min(52vh, 420px);
display: flex;
align-items: center;
justify-content: center;
}
.nstpv .nstpv-modal__media {
width: 100% !important;
max-width: 100%;
height: auto !important;
max-height: min(70vh, 640px);
min-height: min(42vh, 360px);
object-fit: contain;
display: block;
margin: 0 auto;
background: #000;
}
.nstpv .nstpv-modal__media.is-hidden {
display: none !important;
}
.nstpv-modal__stage-note {
position: absolute;
left: 12px;
right: 12px;
bottom: 12px;
display: none;
align-items: center;
justify-content: center;
gap: 8px;
padding: 8px 12px;
text-align: center;
color: #e2e8f0;
font-size: 0.82rem;
background: rgba(10, 10, 15, 0.78);
border-radius: 999px;
z-index: 2;
pointer-events: none;
width: auto;
max-width: calc(100% - 24px);
margin: 0 auto;
}
.nstpv-modal__stage-note.is-visible {
display: inline-flex;
}
.nstpv-modal__bar {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 10px;
margin-top: 12px;
min-width: 0;
}
.nstpv .nstpv-modal__caption {
flex: 1 1 160px;
font-size: 0.92rem;
font-weight: 700;
color: var(--nstpv-ink);
line-height: 1.35;
overflow-wrap: anywhere;
min-width: 0;
}
.nstpv-modal__actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.nstpv .nstpv-modal__action {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
height: 44px;
min-height: 44px;
padding: 0 14px !important;
border-radius: 10px;
border: 0 !important;
font-family: var(--nstpv-font);
font-size: 0.85rem !important;
font-weight: 700 !important;
cursor: pointer;
appearance: none;
-webkit-appearance: none;
touch-action: manipulation;
}
.nstpv .nstpv-modal__action--play {
background: var(--nstpv-panel-soft) !important;
color: #fff !important;
border: 1px solid var(--nstpv-line) !important;
}
.nstpv .nstpv-modal__action--download {
background: var(--nstpv-accent) !important;
color: #ffffff !important;
}
.nstpv .nstpv-modal__action.is-hidden {
display: none !important;
}
.nstpv-dlprog {
position: fixed;
right: 16px;
bottom: 16px;
z-index: 100000;
width: min(320px, calc(100vw - 24px));
display: none;
padding: 14px;
border-radius: 14px;
background: rgba(16, 18, 28, 0.97);
border: 1px solid var(--nstpv-line);
box-shadow: var(--nstpv-shadow), 0 0 24px rgba(255, 0, 80, 0.18);
color: var(--nstpv-ink);
}
.nstpv-dlprog.is-open {
display: block;
}
.nstpv-dlprog.is-success {
border-color: rgba(0, 242, 234, 0.45);
}
.nstpv-dlprog.is-error {
border-color: rgba(255, 107, 122, 0.55);
}
.nstpv-dlprog__head {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 10px;
margin-bottom: 8px;
}
.nstpv-dlprog__title {
display: inline-flex;
align-items: center;
gap: 8px;
font-size: 0.88rem;
font-weight: 700;
min-width: 0;
}
.nstpv-dlprog__title i {
color: var(--nstpv-accent);
}
.nstpv-dlprog__name {
overflow-wrap: anywhere;
min-width: 0;
}
.nstpv-dlprog__pct {
font-size: 0.82rem;
font-weight: 800;
color: var(--nstpv-cool);
white-space: nowrap;
}
.nstpv-dlprog__track {
height: 8px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.1);
overflow: hidden;
}
.nstpv-dlprog__fill {
height: 100%;
width: 0%;
border-radius: 999px;
background: linear-gradient(90deg, var(--nstpv-accent), var(--nstpv-cool));
transition: width 0.2s ease;
}
.nstpv-dlprog__meta {
display: flex;
justify-content: space-between;
gap: 8px;
margin-top: 8px;
font-size: 0.75rem;
color: var(--nstpv-muted);
}
.nstpv .nstpv-dlprog__stop {
margin-top: 10px;
width: 100%;
height: 40px;
min-height: 40px;
border-radius: 10px;
border: 1px solid var(--nstpv-line) !important;
background: rgba(255, 255, 255, 0.08) !important;
color: #fff !important;
font-family: var(--nstpv-font);
font-weight: 700 !important;
font-size: 0.82rem !important;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
appearance: none;
-webkit-appearance: none;
touch-action: manipulation;
}
/* ResizeObserver helpers */
.nstpv.nstpv--narrow .nstpv-grid,
.nstpv.nstpv--narrow .nstpv-skeleton__grid {
grid-template-columns: 1fr !important;
}
@media (max-width: 359px) {
.nstpv {
--nstpv-avatar: 84px;
--nstpv-pad: 10px;
}
.nstpv .nstpv-hero__title {
font-size: 1.2rem;
}
.nstpv .nstpv-btn {
font-size: 0.82rem !important;
}
}
.nstpv.nstpv--roomy .nstpv-grid,
.nstpv.nstpv--roomy .nstpv-skeleton__grid {
grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
@media (max-height: 480px) and (orientation: landscape) {
.nstpv .nstpv-hero__lead {
display: none;
}
}
@media (prefers-reduced-motion: reduce) {
.nstpv *,
.nstpv *::before,
.nstpv *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
.nstpv .nstpv-sk {
animation: none;
background: rgba(255, 255, 255, 0.1);
}
}
/* ------------------------------------------------------------------
Responsive — same pattern as Facebook Friends / YouTube Channel
JS classes (ResizeObserver on tool width):
--narrow  < 480
--compact < 768
--desktop >= 768
Grid columns set inline via JS (beats WP theme CSS).
------------------------------------------------------------------- */
.nstpv {
--nstpv-cols: 1;
}
.nstpv-search__row {
display: flex;
flex-direction: column;
gap: 8px;
width: 100%;
min-width: 0;
}
.nstpv-search__field {
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
flex: 1 1 auto !important;
font-size: 16px !important;
}
.nstpv-search__actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
width: 100%;
}
.nstpv-btn {
flex: 1 1 calc(50% - 4px);
justify-content: center;
min-height: 44px;
}
.nstpv-grid,
.nstpv-skeleton__grid {
display: grid;
grid-template-columns: repeat(var(--nstpv-cols, 1), minmax(0, 1fr));
gap: clamp(10px, 2.5vw, 14px);
width: 100%;
min-width: 0;
}
.nstpv-stats {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}
.nstpv.nstpv--desktop .nstpv-stats {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.nstpv.nstpv--compact .nstpv-videos__head {
flex-direction: column !important;
align-items: stretch !important;
}
.nstpv.nstpv--compact .nstpv-videos__dlall {
width: 100% !important;
justify-content: center !important;
}
@media (min-width: 768px) {
.nstpv:not(.nstpv--compact) .nstpv-search__row {
flex-direction: row;
flex-wrap: wrap;
align-items: stretch;
}
.nstpv:not(.nstpv--compact) .nstpv-search__field {
flex: 1 1 220px !important;
width: auto !important;
}
.nstpv:not(.nstpv--compact) .nstpv-search__actions {
width: auto;
flex: 0 0 auto;
flex-wrap: nowrap;
}
.nstpv:not(.nstpv--compact) .nstpv-btn {
flex: 0 0 auto;
}
}
/* WordPress / Live Server narrow container (set by ResizeObserver) */
.nstpv.nstpv--compact .nstpv-search__row {
flex-direction: column !important;
}
.nstpv.nstpv--compact .nstpv-search__actions {
width: 100% !important;
display: flex !important;
flex-wrap: wrap !important;
}
.nstpv.nstpv--compact .nstpv-btn {
flex: 1 1 calc(50% - 4px) !important;
}
.nstpv.nstpv--compact .nstpv-search__field {
width: 100% !important;
flex: 1 1 100% !important;
}
.nstpv.nstpv--narrow .nstpv-btn {
flex: 1 1 100% !important;
}
.nstpv.nstpv--narrow .nstpv-search__actions {
flex-direction: column !important;
}
.nstpv.nstpv--narrow .nstpv-hero__title {
font-size: 1.15rem;
}
@media (hover: none) {
.nstpv .nstpv-btn:hover,
.nstpv-card:hover {
transform: none;
}
.nstpv-card:hover .nstpv-card__img {
transform: none;
}
}
/* Turnstile host: keep hidden in-flow; floating panel styles come from turnstile-handler.js */
.nstpv #xrespond-tools-turnstile-host {
display: none;
}
.nstpv #xrespond-tools-turnstile-host.is-visible {
display: block !important;
}
/* Ensure floating Turnstile panel (moved to body) is never clipped/hidden by tool CSS */
body>#xrespond-tools-turnstile-host.is-visible {
display: block !important;
position: fixed !important;
z-index: 2147483000 !important;
visibility: visible !important;
opacity: 1 !important;
pointer-events: auto !important;
}
/* Search controls: one row on large screens, wrap on narrow */
.nstpv .nstpv-search,
.nstpv .nstpv-search .nstpv-search__row,
.nstpv .nstpv-search .nstpv-search__actions {
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
box-sizing: border-box !important;
}
.nstpv .nstpv-search .nstpv-search__row {
display: flex !important;
flex-direction: row !important;
flex-wrap: nowrap !important;
align-items: stretch !important;
gap: 8px !important;
}
.nstpv .nstpv-search .nstpv-search__field,
.nstpv .nstpv-search .nstpv-search__row > .nstpv-search__field {
flex: 1 1 auto !important;
width: auto !important;
max-width: none !important;
min-width: 0 !important;
}
.nstpv .nstpv-search .nstpv-search__actions,
.nstpv .nstpv-search .nstpv-search__row > .nstpv-search__actions {
display: flex !important;
flex: 0 0 auto !important;
flex-direction: row !important;
width: auto !important;
max-width: none !important;
min-width: 0 !important;
flex-wrap: nowrap !important;
gap: 8px !important;
}
.nstpv .nstpv-search .nstpv-search__row > .nstpv-btn,
.nstpv .nstpv-search .nstpv-search__actions .nstpv-btn,
.nstpv .nstpv-search .nstpv-search__row .nstpv-search__actions .nstpv-btn {
flex: 0 0 auto !important;
width: auto !important;
max-width: none !important;
min-width: 110px !important;
}
.nstpv.nstpv--compact .nstpv-search .nstpv-search__row,
.nstpv.nstpv--narrow .nstpv-search .nstpv-search__row {
flex-wrap: wrap !important;
}
.nstpv.nstpv--compact .nstpv-search .nstpv-search__field,
.nstpv.nstpv--narrow .nstpv-search .nstpv-search__field,
.nstpv.nstpv--compact .nstpv-search .nstpv-search__row > .nstpv-search__field,
.nstpv.nstpv--narrow .nstpv-search .nstpv-search__row > .nstpv-search__field {
flex: 1 1 100% !important;
width: 100% !important;
max-width: 100% !important;
}
.nstpv.nstpv--compact .nstpv-search .nstpv-search__actions,
.nstpv.nstpv--narrow .nstpv-search .nstpv-search__actions,
.nstpv.nstpv--compact .nstpv-search .nstpv-search__row > .nstpv-search__actions,
.nstpv.nstpv--narrow .nstpv-search .nstpv-search__row > .nstpv-search__actions {
flex: 1 1 100% !important;
width: 100% !important;
max-width: 100% !important;
}
.nstpv.nstpv--compact .nstpv-search .nstpv-search__row > .nstpv-btn,
.nstpv.nstpv--narrow .nstpv-search .nstpv-search__row > .nstpv-btn,
.nstpv.nstpv--compact .nstpv-search .nstpv-search__actions .nstpv-btn,
.nstpv.nstpv--narrow .nstpv-search .nstpv-search__actions .nstpv-btn,
.nstpv.nstpv--compact .nstpv-search .nstpv-search__row .nstpv-search__actions .nstpv-btn,
.nstpv.nstpv--narrow .nstpv-search .nstpv-search__row .nstpv-search__actions .nstpv-btn {
flex: 1 1 calc(50% - 4px) !important;
min-width: 0 !important;
max-width: 100% !important;
}
@media (max-width: 720px) {
.nstpv .nstpv-search .nstpv-search__row {
flex-wrap: wrap !important;
}
.nstpv .nstpv-search .nstpv-search__field,
.nstpv .nstpv-search .nstpv-search__row > .nstpv-search__field {
flex: 1 1 100% !important;
width: 100% !important;
max-width: 100% !important;
}
.nstpv .nstpv-search .nstpv-search__actions,
.nstpv .nstpv-search .nstpv-search__row > .nstpv-search__actions {
flex: 1 1 100% !important;
width: 100% !important;
max-width: 100% !important;
}
.nstpv .nstpv-search .nstpv-search__row > .nstpv-btn,
.nstpv .nstpv-search .nstpv-search__actions .nstpv-btn,
.nstpv .nstpv-search .nstpv-search__row .nstpv-search__actions .nstpv-btn {
flex: 1 1 calc(50% - 4px) !important;
min-width: 0 !important;
max-width: 100% !important;
}
}

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

/* New Social TikTok Profile Viewer — WordPress-scoped styles */
.nstpv {
container-type: inline-size;
container-name: nstpv;
/* TikTok brand: black + neon pink/red + cyan */
--nstpv-ink: #ffffff;
--nstpv-muted: #cbd5e1;
--nstpv-dim: #94a3b8;
--nstpv-panel: rgba(22, 24, 35, 0.94);
--nstpv-panel-soft: rgba(255, 255, 255, 0.08);
--nstpv-line: rgba(255, 255, 255, 0.12);
--nstpv-accent: #ff0050;
--nstpv-accent-deep: #ee1d52;
--nstpv-cool: #00f2ea;
--nstpv-cool-deep: #69c9d0;
--nstpv-danger: #ff4d6d;
--nstpv-radius: 16px;
--nstpv-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
--nstpv-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
--nstpv-space: 16px;
--nstpv-avatar: 96px;
--nstpv-pad: 12px;
--nstpv-gap: 12px;
box-sizing: border-box;
font-family: var(--nstpv-font);
color: var(--nstpv-ink);
line-height: 1.5;
width: 100%;
max-width: 100%;
min-height: 100vh;
min-width: 0;
margin: 0 auto;
padding: clamp(10px, 2.5vw, 28px) max(clamp(6px, 2vw, 14px), env(safe-area-inset-right, 0px)) max(clamp(14px, 3vw, 28px), env(safe-area-inset-bottom, 0px)) max(clamp(6px, 2vw, 14px), env(safe-area-inset-left, 0px));
background:
radial-gradient(ellipse 75% 50% at 12% 0%, rgba(255, 0, 80, 0.28), transparent 55%),
radial-gradient(ellipse 70% 45% at 92% 8%, rgba(0, 242, 234, 0.18), transparent 50%),
linear-gradient(145deg, #0a0a0f 0%, #161823 42%, #1c1917 100%);
border-radius: 0;
position: relative;
isolation: isolate;
text-align: left;
overflow-x: hidden;
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
}
.nstpv *,
.nstpv *::before,
.nstpv *::after {
box-sizing: border-box;
}
.nstpv :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, label, span) {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
}
.nstpv :where(ul, ol) {
list-style: none;
}
.nstpv img {
max-width: 100%;
height: auto;
display: block;
border: 0;
}
.nstpv a {
color: var(--nstpv-cool);
text-decoration: none;
}
.nstpv a:hover {
text-decoration: underline;
}
.nstpv-shell {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
gap: var(--nstpv-gap);
width: 100%;
max-width: 1280px;
margin: 0 auto;
min-width: 0;
}
.nstpv-hero {
background: transparent;
padding: 36px 0 14px;
text-align: center;
width: 100%;
max-width: 100%;
min-width: 0;
backdrop-filter: blur(12px);
border: 0;
box-shadow: none;
border-radius: 0;
}
.nstpv-hero__heading {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
flex-wrap: wrap;
margin: 0 0 8px;
}
.nstpv-hero__brand {
display: inline-flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
min-width: 44px;
margin: 0;
border-radius: 12px;
background: linear-gradient(135deg, var(--nstpv-accent), var(--nstpv-cool));
color: #fff;
box-shadow: 0 10px 24px rgba(255, 0, 80, 0.35);
flex: 0 0 auto;
}
.nstpv .nstpv-hero__brand i {
font-size: 1.25rem !important;
width: auto;
color: #fff !important;
}
.nstpv .nstpv-hero__title {
font-size: clamp(1.35rem, 3vw, 1.75rem);
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.25;
margin: 0;
color: var(--nstpv-ink);
}
.nstpv-hero__title-mark {
background: linear-gradient(135deg, var(--nstpv-accent) 0%, var(--nstpv-cool) 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
position: relative;
display: inline-block;
}
.nstpv-hero__title-mark::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: -3px;
height: 3px;
border-radius: 999px;
background: linear-gradient(90deg, var(--nstpv-accent), var(--nstpv-cool));
}
.nstpv .nstpv-hero__lead {
max-width: 560px;
margin: 0 auto 16px;
color: var(--nstpv-muted);
font-size: clamp(0.88rem, 2.4vw, 0.95rem);
line-height: 1.55;
padding: 0 2px;
}
.nstpv-search {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 10px;
text-align: left;
width: 100%;
max-width: 100%;
min-width: 0;
box-sizing: border-box;
margin-top: 4px;
padding: clamp(10px, 2vw, 14px);
background: rgba(10, 10, 15, 0.55);
border: 1px solid var(--nstpv-line);
border-radius: 12px;
box-shadow: var(--nstpv-shadow);
}
.nstpv .nstpv-search__label {
display: block;
font-size: 0.88rem;
font-weight: 600;
color: var(--nstpv-muted);
line-height: 1.3;
}
.nstpv-search__row {
display: flex;
flex-direction: column;
gap: 8px;
flex-wrap: wrap;
align-items: stretch;
width: 100%;
min-width: 0;
}
.nstpv .nstpv-search__field {
flex: 1 1 160px;
min-width: 0;
height: 46px;
min-height: 46px;
padding: 0 14px !important;
border: 1px solid var(--nstpv-line) !important;
border-radius: 10px;
background: rgba(10, 10, 15, 0.75) !important;
color: #ffffff !important;
font-family: var(--nstpv-font);
font-size: 16px !important;
font-weight: 500;
line-height: 46px;
outline: none;
box-shadow: none;
width: 100%;
max-width: 100%;
}
.nstpv .nstpv-search__field:focus {
border-color: var(--nstpv-cool) !important;
box-shadow: 0 0 0 3px rgba(0, 242, 234, 0.28);
}
.nstpv .nstpv-search__field::placeholder {
color: var(--nstpv-dim);
opacity: 1;
}
.nstpv .nstpv-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
flex: 1 1 calc(50% - 4px);
height: 46px;
min-height: 46px;
min-width: 0;
padding: 0 14px !important;
border: 0 !important;
border-radius: 10px;
font-family: var(--nstpv-font);
font-size: 0.9rem !important;
font-weight: 700 !important;
line-height: 1;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
white-space: nowrap;
user-select: none;
text-decoration: none;
appearance: none;
-webkit-appearance: none;
touch-action: manipulation;
}
.nstpv .nstpv-btn i,
.nstpv .nstpv-avatar__zoom i,
.nstpv .nstpv-modal__close i,
.nstpv .nstpv-card__dl i,
.nstpv .nstpv-card__play i,
.nstpv .nstpv-videos__dlall i,
.nstpv .nstpv-modal__action i,
.nstpv .nstpv-dlprog__title i,
.nstpv .nstpv-dlprog__stop i,
.nstpv .nstpv-stat i,
.nstpv .nstpv-hero__brand i,
.nstpv .nstpv-meta__verified i,
.nstpv i.fa-solid,
.nstpv i.fa-brands,
.nstpv i.fas {
--fa-display: inline-block;
display: inline-block !important;
line-height: 1 !important;
font-size: 0.92em;
width: 1.15em;
text-align: center;
vertical-align: middle;
font-style: normal !important;
font-variant: normal;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
}
.nstpv .nstpv-btn--paste {
background: var(--nstpv-panel-soft) !important;
color: var(--nstpv-ink) !important;
border: 1px solid var(--nstpv-line) !important;
}
.nstpv .nstpv-btn--view {
background: linear-gradient(135deg, var(--nstpv-accent) 0%, #ff4081 45%, var(--nstpv-cool) 100%) !important;
color: #ffffff !important;
box-shadow: 0 8px 18px rgba(255, 0, 80, 0.35);
}
.nstpv .nstpv-btn--reset {
background: linear-gradient(135deg, var(--nstpv-cool), var(--nstpv-cool-deep)) !important;
color: #0a0a0f !important;
box-shadow: 0 8px 18px rgba(0, 242, 234, 0.28);
}
.nstpv .nstpv-btn:hover {
transform: translateY(-1px);
}
.nstpv .nstpv-btn:disabled,
.nstpv .nstpv-btn.is-hidden {
opacity: 0.55;
cursor: not-allowed;
transform: none;
}
.nstpv .nstpv-btn.is-hidden {
display: none !important;
}
.nstpv .nstpv-search__meta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px 12px;
width: 100%;
min-width: 0;
}
.nstpv .nstpv-search__hint {
margin: 0;
flex: 1 1 180px;
font-size: 0.8rem;
font-style: italic;
color: var(--nstpv-dim);
line-height: 1.4;
min-width: 0;
}
.nstpv .nstpv-alert {
display: none;
margin: 0;
padding: 10px 12px;
border-radius: 8px;
background: rgba(255, 107, 122, 0.12);
border: 1px solid rgba(255, 107, 122, 0.35);
color: var(--nstpv-danger);
font-weight: 600;
font-size: 0.88rem;
text-align: left;
line-height: 1.4;
overflow-wrap: anywhere;
}
.nstpv .nstpv-alert.is-visible {
display: block;
}
.nstpv .nstpv-alert.is-info {
background: rgba(0, 242, 234, 0.12);
border-color: rgba(0, 242, 234, 0.35);
color: var(--nstpv-cool);
}
.nstpv .nstpv-skeleton {
display: none;
margin: 0;
width: 100%;
max-width: 100%;
min-width: 0;
}
.nstpv .nstpv-skeleton.is-visible {
display: block;
}
.nstpv .nstpv-content.is-hidden {
display: none !important;
}
@keyframes nstpv-shimmer {
0% {
background-position: -400px 0;
}
100% {
background-position: 400px 0;
}
}
.nstpv .nstpv-sk {
background: linear-gradient(90deg,
rgba(255, 255, 255, 0.06) 0%,
rgba(255, 255, 255, 0.14) 45%,
rgba(255, 255, 255, 0.06) 100%);
background-size: 800px 100%;
animation: nstpv-shimmer 1.35s ease-in-out infinite;
border-radius: 8px;
}
.nstpv-skeleton__panel {
background: var(--nstpv-panel);
border: 1px solid var(--nstpv-line);
border-radius: var(--nstpv-radius);
box-shadow: var(--nstpv-shadow);
padding: 18px;
width: 100%;
max-width: 100%;
min-width: 0;
}
.nstpv-skeleton__profile {
display: grid;
grid-template-columns: 1fr;
gap: 14px;
align-items: center;
justify-items: center;
padding: var(--nstpv-pad);
border-radius: 12px;
background: linear-gradient(160deg, rgba(0, 242, 234, 0.1), rgba(255, 0, 80, 0.1));
border: 1px solid rgba(255, 255, 255, 0.06);
text-align: center;
width: 100%;
min-width: 0;
}
.nstpv .nstpv-skeleton__avatar {
width: var(--nstpv-avatar);
height: var(--nstpv-avatar);
border-radius: 50% !important;
border: 3px solid rgba(255, 255, 255, 0.12);
}
.nstpv-skeleton__meta {
display: flex;
flex-direction: column;
gap: 10px;
min-width: 0;
align-items: center;
text-align: center;
width: 100%;
}
.nstpv-skeleton__line {
height: 16px;
}
.nstpv-skeleton__line--lg {
width: min(200px, 70%);
height: 22px;
}
.nstpv-skeleton__line--md {
width: min(140px, 50%);
height: 14px;
}
.nstpv-skeleton__line--bio {
width: 100%;
height: 54px;
margin-top: 4px;
grid-column: 1 / -1;
}
.nstpv-skeleton__stats {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
margin-top: 2px;
width: 100%;
}
.nstpv-skeleton__stat {
height: 56px;
border-radius: 10px;
}
.nstpv-skeleton__head {
display: flex;
justify-content: space-between;
gap: 10px;
margin: 18px 0 12px;
align-items: center;
}
.nstpv-skeleton__head-line {
width: min(120px, 40%);
height: 20px;
}
.nstpv-skeleton__head-btn {
width: min(140px, 42%);
height: 40px;
border-radius: 10px;
}
.nstpv-skeleton__grid {
display: grid;
grid-template-columns: 1fr;
gap: 12px;
width: 100%;
}
.nstpv-skeleton__card {
border-radius: 12px;
overflow: hidden;
border: 1px solid var(--nstpv-line);
background: rgba(255, 255, 255, 0.04);
min-width: 0;
}
.nstpv-skeleton__thumb {
aspect-ratio: 9 / 14;
border-radius: 0;
}
.nstpv-skeleton__foot {
height: 64px;
margin: 10px 12px;
border-radius: 8px;
}
.nstpv .nstpv-result {
display: block;
margin: 0;
width: 100%;
max-width: 100%;
min-width: 0;
}
.nstpv-panel {
background: var(--nstpv-panel);
border: 1px solid var(--nstpv-line);
border-radius: var(--nstpv-radius);
box-shadow: var(--nstpv-shadow);
padding: var(--nstpv-pad);
backdrop-filter: blur(12px);
width: 100%;
max-width: 100%;
min-width: 0;
}
.nstpv-profile {
display: grid;
grid-template-columns: 1fr;
gap: 14px;
align-items: center;
justify-items: center;
padding: var(--nstpv-pad);
border-radius: 12px;
background: linear-gradient(160deg, rgba(0, 242, 234, 0.12), rgba(255, 0, 80, 0.12));
border: 1px solid rgba(255, 255, 255, 0.06);
width: 100%;
min-width: 0;
text-align: center;
}
.nstpv-avatar {
position: relative;
width: var(--nstpv-avatar);
height: var(--nstpv-avatar);
}
.nstpv-avatar__ring {
width: 100%;
height: 100%;
border-radius: 50%;
padding: 3px;
background: linear-gradient(135deg, var(--nstpv-accent), var(--nstpv-cool));
box-shadow: 0 8px 20px rgba(255, 0, 80, 0.35), 0 0 0 1px rgba(0, 242, 234, 0.2);
}
.nstpv .nstpv-avatar__img {
width: 100% !important;
height: 100% !important;
max-width: none;
object-fit: cover;
border-radius: 50%;
background: #12141f;
cursor: pointer;
}
.nstpv .nstpv-avatar__zoom {
position: absolute;
right: -2px;
bottom: -2px;
width: 36px;
height: 36px;
min-width: 36px;
border-radius: 50%;
border: 0 !important;
background: rgba(10, 10, 15, 0.9) !important;
color: #fff !important;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
appearance: none;
-webkit-appearance: none;
touch-action: manipulation;
z-index: 2;
}
.nstpv-meta {
display: flex;
flex-direction: column;
gap: 6px;
min-width: 0;
align-items: center;
width: 100%;
}
.nstpv .nstpv-meta__name {
font-size: clamp(1.15rem, 3.5vw, 1.45rem);
font-weight: 800;
color: var(--nstpv-ink);
line-height: 1.25;
overflow-wrap: anywhere;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
flex-wrap: wrap;
}
.nstpv .nstpv-meta__verified {
display: inline-flex;
align-items: center;
color: var(--nstpv-cool);
font-size: 0.85em;
}
.nstpv .nstpv-meta__verified[hidden] {
display: none !important;
}
.nstpv .nstpv-meta__handle {
font-size: 0.95rem;
font-weight: 600;
color: var(--nstpv-cool);
line-height: 1.3;
overflow-wrap: anywhere;
}
.nstpv .nstpv-stats {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
width: 100%;
margin-top: 8px;
}
.nstpv .nstpv-stat {
display: flex;
flex-direction: column;
align-items: center;
gap: 2px;
min-width: 0;
padding: 10px 8px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.08);
}
.nstpv .nstpv-stat__value {
font-size: clamp(1rem, 3.2vw, 1.15rem);
font-weight: 800;
color: var(--nstpv-cool);
line-height: 1.2;
}
.nstpv .nstpv-stat__label {
font-size: 0.75rem;
color: var(--nstpv-dim);
text-transform: capitalize;
line-height: 1.2;
}
.nstpv .nstpv-bio {
grid-column: 1 / -1;
margin: 0;
padding: 12px 0 0;
border-top: 1px solid var(--nstpv-line);
text-align: center;
color: #e2e8f0;
font-size: clamp(0.86rem, 3cqi, 0.92rem);
line-height: 1.55;
min-width: 0;
overflow-wrap: anywhere;
white-space: pre-line;
}
.nstpv-content.is-placeholder .nstpv-avatar__zoom {
opacity: 0.55;
pointer-events: none;
}
.nstpv-content.is-placeholder .nstpv-card__media,
.nstpv-content.is-placeholder .nstpv-card__dl,
.nstpv-content.is-placeholder .nstpv-card__play,
.nstpv-content.is-placeholder .nstpv-videos__dlall {
pointer-events: none;
}
.nstpv-content.is-placeholder .nstpv-card__dl,
.nstpv-content.is-placeholder .nstpv-videos__dlall {
opacity: 0.65;
}
.nstpv-content.is-placeholder .nstpv-bio {
color: var(--nstpv-dim);
}
.nstpv-card__media--ghost {
background: linear-gradient(145deg, #1a0a14, #ff0050 55%, #00f2ea);
}
.nstpv-card__media--ghost-b {
background: linear-gradient(145deg, #0a1418, #00f2ea 55%, #ff0050);
}
.nstpv-card__media--ghost-c {
background: linear-gradient(145deg, #12141f, #ee1d52 45%, #69c9d0);
}
.nstpv-card__media--ghost .nstpv-card__img {
display: none !important;
}
.nstpv-videos {
margin-top: 16px;
width: 100%;
max-width: 100%;
min-width: 0;
}
.nstpv-videos__head {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 10px;
margin-bottom: 12px;
width: 100%;
min-width: 0;
}
.nstpv .nstpv-videos__title {
display: inline-flex;
align-items: center;
gap: 8px;
font-size: 1.05rem;
font-weight: 800;
color: var(--nstpv-ink);
line-height: 1.3;
}
.nstpv .nstpv-videos__title i {
color: var(--nstpv-accent);
}
.nstpv .nstpv-videos__count {
font-size: 0.82rem;
font-weight: 600;
color: var(--nstpv-dim);
width: 100%;
order: 3;
}
.nstpv .nstpv-videos__dlall {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
height: 44px;
min-height: 44px;
padding: 0 14px !important;
border-radius: 10px;
border: 0 !important;
background: linear-gradient(135deg, var(--nstpv-cool), var(--nstpv-cool-deep)) !important;
color: #0a0a0f !important;
font-family: var(--nstpv-font);
font-size: 0.85rem !important;
font-weight: 700 !important;
cursor: pointer;
appearance: none;
-webkit-appearance: none;
touch-action: manipulation;
white-space: nowrap;
}
.nstpv-more {
appearance: none;
width: 100%;
margin-top: 12px;
border: 1px solid rgba(0, 242, 234, 0.45);
background: rgba(0, 242, 234, 0.12);
color: #fff;
border-radius: 12px;
padding: 11px 14px;
font-weight: 800;
font-size: 0.88rem;
cursor: pointer;
display: none;
gap: 8px;
align-items: center;
justify-content: center;
}
.nstpv-more.is-visible {
display: inline-flex;
}
.nstpv-more:hover {
background: rgba(0, 242, 234, 0.2);
}
.nstpv-more:disabled {
opacity: .55;
cursor: not-allowed;
}
.nstpv-content.is-placeholder .nstpv-more {
display: none !important;
}
.nstpv .nstpv-videos__dlall:disabled {
opacity: 0.55;
cursor: not-allowed;
}
.nstpv-grid {
display: grid;
grid-template-columns: 1fr;
gap: clamp(10px, 2.5vw, 14px);
margin: 0;
width: 100%;
min-width: 0;
}
.nstpv-card {
display: flex;
flex-direction: column;
border-radius: 12px;
overflow: hidden;
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--nstpv-line);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
transition: transform 0.25s ease, box-shadow 0.25s ease;
min-width: 0;
max-width: 100%;
width: 100%;
}
.nstpv-card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}
.nstpv-card__media {
position: relative;
aspect-ratio: 9 / 14;
overflow: hidden;
background: #12141f;
flex: 0 0 auto;
}
.nstpv .nstpv-card__img {
width: 100% !important;
height: 100% !important;
max-width: none;
object-fit: cover;
transition: transform 0.45s ease;
}
.nstpv-card:hover .nstpv-card__img {
transform: scale(1.05);
}
.nstpv .nstpv-card__dl {
position: absolute;
top: 8px;
right: 8px;
z-index: 2;
width: 36px;
height: 36px;
min-width: 36px;
border-radius: 9px;
border: 0 !important;
background: rgba(0, 0, 0, 0.6) !important;
color: #fff !important;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
appearance: none;
-webkit-appearance: none;
touch-action: manipulation;
}
.nstpv .nstpv-card__play {
position: absolute;
inset: 0;
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
background: rgba(10, 10, 15, 0.35);
border: 0 !important;
cursor: pointer;
color: #fff;
appearance: none;
-webkit-appearance: none;
touch-action: manipulation;
}
.nstpv .nstpv-card__play span {
width: 56px;
height: 56px;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.55);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
font-size: 1.1rem;
}
.nstpv-card__body {
display: flex;
flex-direction: column;
gap: 8px;
padding: 10px 12px 12px;
min-width: 0;
}
.nstpv .nstpv-card__title {
font-size: 0.88rem;
font-weight: 700;
color: var(--nstpv-ink);
line-height: 1.35;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
overflow-wrap: anywhere;
}
.nstpv-card__metrics {
display: flex;
flex-wrap: wrap;
gap: 10px 14px;
color: var(--nstpv-muted);
font-size: 0.78rem;
font-weight: 600;
}
.nstpv-card__metrics span {
display: inline-flex;
align-items: center;
gap: 5px;
}
.nstpv-card__metrics i {
color: var(--nstpv-accent);
}
.nstpv-card__metrics span:nth-child(3) i {
color: var(--nstpv-cool);
}
.nstpv .nstpv-empty {
text-align: center;
padding: 28px 16px;
color: var(--nstpv-muted);
}
.nstpv .nstpv-empty i {
display: block !important;
font-size: 2.1rem !important;
width: auto;
margin: 0 auto 14px;
opacity: 0.85;
line-height: 1 !important;
color: #fff;
}
.nstpv-modal {
position: fixed;
inset: 0;
z-index: 99999;
display: none;
align-items: center;
justify-content: center;
padding: 16px;
background: rgba(10, 10, 15, 0.82);
backdrop-filter: blur(6px);
}
.nstpv-modal.is-open {
display: flex;
}
.nstpv-modal__dialog {
position: relative;
width: min(720px, 100%);
max-height: min(92vh, 900px);
overflow: auto;
background: var(--nstpv-panel);
border: 1px solid var(--nstpv-line);
border-radius: 16px;
box-shadow: var(--nstpv-shadow);
padding: 14px;
min-width: 0;
}
.nstpv-modal__dialog--avatar {
width: min(420px, 100%);
}
.nstpv .nstpv-modal__close {
position: absolute;
top: 10px;
right: 10px;
z-index: 3;
width: 40px;
height: 40px;
min-width: 40px;
border-radius: 50%;
border: 0 !important;
background: rgba(0, 0, 0, 0.55) !important;
color: #fff !important;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
appearance: none;
-webkit-appearance: none;
touch-action: manipulation;
}
.nstpv-modal__stage {
position: relative;
border-radius: 12px;
overflow: hidden;
background: #0a0a0f;
min-height: min(52vh, 420px);
display: flex;
align-items: center;
justify-content: center;
}
.nstpv .nstpv-modal__media {
width: 100% !important;
max-width: 100%;
height: auto !important;
max-height: min(70vh, 640px);
min-height: min(42vh, 360px);
object-fit: contain;
display: block;
margin: 0 auto;
background: #000;
}
.nstpv .nstpv-modal__media.is-hidden {
display: none !important;
}
.nstpv-modal__stage-note {
position: absolute;
left: 12px;
right: 12px;
bottom: 12px;
display: none;
align-items: center;
justify-content: center;
gap: 8px;
padding: 8px 12px;
text-align: center;
color: #e2e8f0;
font-size: 0.82rem;
background: rgba(10, 10, 15, 0.78);
border-radius: 999px;
z-index: 2;
pointer-events: none;
width: auto;
max-width: calc(100% - 24px);
margin: 0 auto;
}
.nstpv-modal__stage-note.is-visible {
display: inline-flex;
}
.nstpv-modal__bar {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 10px;
margin-top: 12px;
min-width: 0;
}
.nstpv .nstpv-modal__caption {
flex: 1 1 160px;
font-size: 0.92rem;
font-weight: 700;
color: var(--nstpv-ink);
line-height: 1.35;
overflow-wrap: anywhere;
min-width: 0;
}
.nstpv-modal__actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.nstpv .nstpv-modal__action {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
height: 44px;
min-height: 44px;
padding: 0 14px !important;
border-radius: 10px;
border: 0 !important;
font-family: var(--nstpv-font);
font-size: 0.85rem !important;
font-weight: 700 !important;
cursor: pointer;
appearance: none;
-webkit-appearance: none;
touch-action: manipulation;
}
.nstpv .nstpv-modal__action--play {
background: var(--nstpv-panel-soft) !important;
color: #fff !important;
border: 1px solid var(--nstpv-line) !important;
}
.nstpv .nstpv-modal__action--download {
background: var(--nstpv-accent) !important;
color: #ffffff !important;
}
.nstpv .nstpv-modal__action.is-hidden {
display: none !important;
}
.nstpv-dlprog {
position: fixed;
right: 16px;
bottom: 16px;
z-index: 100000;
width: min(320px, calc(100vw - 24px));
display: none;
padding: 14px;
border-radius: 14px;
background: rgba(16, 18, 28, 0.97);
border: 1px solid var(--nstpv-line);
box-shadow: var(--nstpv-shadow), 0 0 24px rgba(255, 0, 80, 0.18);
color: var(--nstpv-ink);
}
.nstpv-dlprog.is-open {
display: block;
}
.nstpv-dlprog.is-success {
border-color: rgba(0, 242, 234, 0.45);
}
.nstpv-dlprog.is-error {
border-color: rgba(255, 107, 122, 0.55);
}
.nstpv-dlprog__head {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 10px;
margin-bottom: 8px;
}
.nstpv-dlprog__title {
display: inline-flex;
align-items: center;
gap: 8px;
font-size: 0.88rem;
font-weight: 700;
min-width: 0;
}
.nstpv-dlprog__title i {
color: var(--nstpv-accent);
}
.nstpv-dlprog__name {
overflow-wrap: anywhere;
min-width: 0;
}
.nstpv-dlprog__pct {
font-size: 0.82rem;
font-weight: 800;
color: var(--nstpv-cool);
white-space: nowrap;
}
.nstpv-dlprog__track {
height: 8px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.1);
overflow: hidden;
}
.nstpv-dlprog__fill {
height: 100%;
width: 0%;
border-radius: 999px;
background: linear-gradient(90deg, var(--nstpv-accent), var(--nstpv-cool));
transition: width 0.2s ease;
}
.nstpv-dlprog__meta {
display: flex;
justify-content: space-between;
gap: 8px;
margin-top: 8px;
font-size: 0.75rem;
color: var(--nstpv-muted);
}
.nstpv .nstpv-dlprog__stop {
margin-top: 10px;
width: 100%;
height: 40px;
min-height: 40px;
border-radius: 10px;
border: 1px solid var(--nstpv-line) !important;
background: rgba(255, 255, 255, 0.08) !important;
color: #fff !important;
font-family: var(--nstpv-font);
font-weight: 700 !important;
font-size: 0.82rem !important;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
appearance: none;
-webkit-appearance: none;
touch-action: manipulation;
}
/* ResizeObserver helpers */
.nstpv.nstpv--narrow .nstpv-grid,
.nstpv.nstpv--narrow .nstpv-skeleton__grid {
grid-template-columns: 1fr !important;
}
@media (max-width: 359px) {
.nstpv {
--nstpv-avatar: 84px;
--nstpv-pad: 10px;
}
.nstpv .nstpv-hero__title {
font-size: 1.2rem;
}
.nstpv .nstpv-btn {
font-size: 0.82rem !important;
}
}
.nstpv.nstpv--roomy .nstpv-grid,
.nstpv.nstpv--roomy .nstpv-skeleton__grid {
grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
@media (max-height: 480px) and (orientation: landscape) {
.nstpv .nstpv-hero__lead {
display: none;
}
}
@media (prefers-reduced-motion: reduce) {
.nstpv *,
.nstpv *::before,
.nstpv *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
.nstpv .nstpv-sk {
animation: none;
background: rgba(255, 255, 255, 0.1);
}
}
/* ------------------------------------------------------------------
Responsive — same pattern as Facebook Friends / YouTube Channel
JS classes (ResizeObserver on tool width):
--narrow  < 480
--compact < 768
--desktop >= 768
Grid columns set inline via JS (beats WP theme CSS).
------------------------------------------------------------------- */
.nstpv {
--nstpv-cols: 1;
}
.nstpv-search__row {
display: flex;
flex-direction: column;
gap: 8px;
width: 100%;
min-width: 0;
}
.nstpv-search__field {
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
flex: 1 1 auto !important;
font-size: 16px !important;
}
.nstpv-search__actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
width: 100%;
}
.nstpv-btn {
flex: 1 1 calc(50% - 4px);
justify-content: center;
min-height: 44px;
}
.nstpv-grid,
.nstpv-skeleton__grid {
display: grid;
grid-template-columns: repeat(var(--nstpv-cols, 1), minmax(0, 1fr));
gap: clamp(10px, 2.5vw, 14px);
width: 100%;
min-width: 0;
}
.nstpv-stats {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}
.nstpv.nstpv--desktop .nstpv-stats {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.nstpv.nstpv--compact .nstpv-videos__head {
flex-direction: column !important;
align-items: stretch !important;
}
.nstpv.nstpv--compact .nstpv-videos__dlall {
width: 100% !important;
justify-content: center !important;
}
@media (min-width: 768px) {
.nstpv:not(.nstpv--compact) .nstpv-search__row {
flex-direction: row;
flex-wrap: wrap;
align-items: stretch;
}
.nstpv:not(.nstpv--compact) .nstpv-search__field {
flex: 1 1 220px !important;
width: auto !important;
}
.nstpv:not(.nstpv--compact) .nstpv-search__actions {
width: auto;
flex: 0 0 auto;
flex-wrap: nowrap;
}
.nstpv:not(.nstpv--compact) .nstpv-btn {
flex: 0 0 auto;
}
}
/* WordPress / Live Server narrow container (set by ResizeObserver) */
.nstpv.nstpv--compact .nstpv-search__row {
flex-direction: column !important;
}
.nstpv.nstpv--compact .nstpv-search__actions {
width: 100% !important;
display: flex !important;
flex-wrap: wrap !important;
}
.nstpv.nstpv--compact .nstpv-btn {
flex: 1 1 calc(50% - 4px) !important;
}
.nstpv.nstpv--compact .nstpv-search__field {
width: 100% !important;
flex: 1 1 100% !important;
}
.nstpv.nstpv--narrow .nstpv-btn {
flex: 1 1 100% !important;
}
.nstpv.nstpv--narrow .nstpv-search__actions {
flex-direction: column !important;
}
.nstpv.nstpv--narrow .nstpv-hero__title {
font-size: 1.15rem;
}
@media (hover: none) {
.nstpv .nstpv-btn:hover,
.nstpv-card:hover {
transform: none;
}
.nstpv-card:hover .nstpv-card__img {
transform: none;
}
}
/* Turnstile host: keep hidden in-flow; floating panel styles come from turnstile-handler.js */
.nstpv #xrespond-tools-turnstile-host {
display: none;
}
.nstpv #xrespond-tools-turnstile-host.is-visible {
display: block !important;
}
/* Ensure floating Turnstile panel (moved to body) is never clipped/hidden by tool CSS */
body>#xrespond-tools-turnstile-host.is-visible {
display: block !important;
position: fixed !important;
z-index: 2147483000 !important;
visibility: visible !important;
opacity: 1 !important;
pointer-events: auto !important;
}
/* Search controls: one row on large screens, wrap on narrow */
.nstpv .nstpv-search,
.nstpv .nstpv-search .nstpv-search__row,
.nstpv .nstpv-search .nstpv-search__actions {
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
box-sizing: border-box !important;
}
.nstpv .nstpv-search .nstpv-search__row {
display: flex !important;
flex-direction: row !important;
flex-wrap: nowrap !important;
align-items: stretch !important;
gap: 8px !important;
}
.nstpv .nstpv-search .nstpv-search__field,
.nstpv .nstpv-search .nstpv-search__row > .nstpv-search__field {
flex: 1 1 auto !important;
width: auto !important;
max-width: none !important;
min-width: 0 !important;
}
.nstpv .nstpv-search .nstpv-search__actions,
.nstpv .nstpv-search .nstpv-search__row > .nstpv-search__actions {
display: flex !important;
flex: 0 0 auto !important;
flex-direction: row !important;
width: auto !important;
max-width: none !important;
min-width: 0 !important;
flex-wrap: nowrap !important;
gap: 8px !important;
}
.nstpv .nstpv-search .nstpv-search__row > .nstpv-btn,
.nstpv .nstpv-search .nstpv-search__actions .nstpv-btn,
.nstpv .nstpv-search .nstpv-search__row .nstpv-search__actions .nstpv-btn {
flex: 0 0 auto !important;
width: auto !important;
max-width: none !important;
min-width: 110px !important;
}
.nstpv.nstpv--compact .nstpv-search .nstpv-search__row,
.nstpv.nstpv--narrow .nstpv-search .nstpv-search__row {
flex-wrap: wrap !important;
}
.nstpv.nstpv--compact .nstpv-search .nstpv-search__field,
.nstpv.nstpv--narrow .nstpv-search .nstpv-search__field,
.nstpv.nstpv--compact .nstpv-search .nstpv-search__row > .nstpv-search__field,
.nstpv.nstpv--narrow .nstpv-search .nstpv-search__row > .nstpv-search__field {
flex: 1 1 100% !important;
width: 100% !important;
max-width: 100% !important;
}
.nstpv.nstpv--compact .nstpv-search .nstpv-search__actions,
.nstpv.nstpv--narrow .nstpv-search .nstpv-search__actions,
.nstpv.nstpv--compact .nstpv-search .nstpv-search__row > .nstpv-search__actions,
.nstpv.nstpv--narrow .nstpv-search .nstpv-search__row > .nstpv-search__actions {
flex: 1 1 100% !important;
width: 100% !important;
max-width: 100% !important;
}
.nstpv.nstpv--compact .nstpv-search .nstpv-search__row > .nstpv-btn,
.nstpv.nstpv--narrow .nstpv-search .nstpv-search__row > .nstpv-btn,
.nstpv.nstpv--compact .nstpv-search .nstpv-search__actions .nstpv-btn,
.nstpv.nstpv--narrow .nstpv-search .nstpv-search__actions .nstpv-btn,
.nstpv.nstpv--compact .nstpv-search .nstpv-search__row .nstpv-search__actions .nstpv-btn,
.nstpv.nstpv--narrow .nstpv-search .nstpv-search__row .nstpv-search__actions .nstpv-btn {
flex: 1 1 calc(50% - 4px) !important;
min-width: 0 !important;
max-width: 100% !important;
}
@media (max-width: 720px) {
.nstpv .nstpv-search .nstpv-search__row {
flex-wrap: wrap !important;
}
.nstpv .nstpv-search .nstpv-search__field,
.nstpv .nstpv-search .nstpv-search__row > .nstpv-search__field {
flex: 1 1 100% !important;
width: 100% !important;
max-width: 100% !important;
}
.nstpv .nstpv-search .nstpv-search__actions,
.nstpv .nstpv-search .nstpv-search__row > .nstpv-search__actions {
flex: 1 1 100% !important;
width: 100% !important;
max-width: 100% !important;
}
.nstpv .nstpv-search .nstpv-search__row > .nstpv-btn,
.nstpv .nstpv-search .nstpv-search__actions .nstpv-btn,
.nstpv .nstpv-search .nstpv-search__row .nstpv-search__actions .nstpv-btn {
flex: 1 1 calc(50% - 4px) !important;
min-width: 0 !important;
max-width: 100% !important;
}
}

@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.0.0/css/all.min.css");

.tiktok_body, .tiktok_body * {
            box-sizing: border-box !important;
        }

        :root {
            --primary-gradient: linear-gradient(135deg, #FF0050 0%, #00F2EA 100%);
            --secondary-gradient: linear-gradient(135deg, #69C9D0 0%, #EE1D52 100%);
            --accent-gradient: linear-gradient(135deg, #FF0050 0%, #FF4081 100%);
            --card-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --stats-gradient-1: linear-gradient(135deg, #2D1B69 0%, #11998e 100%);
            --stats-gradient-2: linear-gradient(135deg, #8E2DE2 0%, #4A00E0 100%);
            --stats-gradient-3: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --stats-gradient-4: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            --glass-bg: rgba(255, 255, 255, 0.05);
            --glass-border: rgba(255, 255, 255, 0.1);
            --text-primary: #ffffff;
            --text-secondary: #cbd5e1;
            --text-muted: #94a3b8;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
            --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
            --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
            --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.3);
            --shadow-neon: 0 0 20px rgba(255, 0, 80, 0.3);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
        }

       .tiktok_body {
            background: linear-gradient(135deg, #0f172a 0%, #1c1917 50%, #0f172a 100%);
            min-height: 60vh;
            color: var(--text-primary);
            line-height: 1.6;
            position: relative;
            overflow-x: hidden;
        }

        .tiktok_body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background:
                radial-gradient(circle at 20% 30%, rgba(238, 29, 82, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(105, 201, 208, 0.15) 0%, transparent 50%);
            pointer-events: none;
            z-index: -1;
        }

        .container_tiktok {
            max-width: 1400px;
            margin: 0 auto;
            padding: 80px 16px;
            position: relative;
            z-index: 1;
        }

        /* Header Styles */
        .header {
            text-align: center;
            margin-bottom: 48px;
            animation: fadeInDown 1s ease-out;
        }

        .logo-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 24px;
            margin-bottom: 24px;
        }

        .logo-icon {
            width: 80px;
            height: 80px;
            background: var(--primary-gradient);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            font-weight: 900;
            box-shadow: var(--shadow-xl), var(--shadow-neon);
            position: relative;
            overflow: hidden;
            animation: pulse 2s ease-in-out infinite;
        }

        .logo-text {
            font-size: clamp(32px, 6vw, 60px);
            font-weight: 900;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            letter-spacing: -2px;
        }

        /* Search Section */
        .search-section {
            background: var(--glass-bg);
            backdrop-filter: blur(30px);
            border: 1px solid var(--glass-border);
            padding: clamp(24px, 5vw, 48px);
            border-radius: 24px;
            box-shadow: var(--shadow-xl);
            margin-bottom: 32px;
            animation: fadeInUp 1s ease-out 0.2s both;
        }

        .input-container {
            position: relative;
            margin-bottom: 20px;
        }

        .search-input {
            width: 100% !important;
            padding: clamp(16px, 3vw, 20px) clamp(20px, 4vw, 24px)  !important;
            border: 2px solid rgba(255, 255, 255, 0.2)  !important;
            border-radius: 16px  !important;
            font-size: clamp(14px, 2.5vw, 16px)  !important;
            font-weight: 500  !important;
            background: rgba(255, 255, 255, 0.1)  !important;
            color: var(--text-primary)  !important;
            transition: all 0.3s ease  !important;
        }

        .search-input:focus {
            outline: none  !important;
            border-color: #FF0050  !important;
            box-shadow: 0 0 0 4px rgba(255, 0, 80, 0.2)  !important;
        }

        .search-input::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .paste-hint {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 8px;
            margin-top: 8px;
            font-size: 13px;
            color: var(--text-muted);
        }

        .paste-icon {
            cursor: pointer;
            padding: 6px;
            border-radius: 6px;
            transition: all 0.3s ease;
            font-size: 16px;
        }

        .paste-icon:hover {
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-primary);
            transform: scale(1.1);
        }

        .search-box {
            display: flex;
            gap: 16px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .search-button {
            flex: 1;
            min-width: 200px;
            padding: clamp(16px, 3vw, 20px) clamp(24px, 5vw, 32px);
            background: var(--primary-gradient);
            color: white;
            border: none;
            border-radius: 16px;
            font-size: clamp(14px, 2.5vw, 16px);
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-lg), var(--shadow-neon);
        }

        .search-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .search-button:hover:not(:disabled)::before {
            left: 100%;
        }

        .search-button:hover:not(:disabled) {
            transform: translateY(-3px);
            box-shadow: var(--shadow-xl), 0 0 30px rgba(255, 0, 80, 0.5);
        }

        .search-button:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .search-again-btn {
            background: var(--secondary-gradient);
            color: white;
            margin-top: 16px;
            width: 100%;
            padding: 16px;
            border: none;
            border-radius: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-lg);
        }

        .search-again-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-xl);
        }

        /* Profile Section */
        .profile-section {
            background: var(--glass-bg);
            backdrop-filter: blur(30px);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            padding: 32px;
            margin-bottom: 32px;
            animation: fadeInUp 0.8s ease-out;
            box-shadow: var(--shadow-xl);
        }

        .profile-header {
            display: flex;
            gap: 24px;
            margin-bottom: 32px;
        }

        .profile-avatar-container {
            position: relative;
        }

        .profile-avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid transparent;
            background: var(--primary-gradient);
            padding: 2px;
            box-shadow: var(--shadow-lg);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .profile-avatar:hover {
            transform: scale(1.05);
            box-shadow: var(--shadow-xl), var(--shadow-neon);
        }

        .fullscreen-icon {
            position: absolute;
            bottom: 5px;
            right: 5px;
            width: 24px;
            height: 24px;
            background: var(--primary-gradient);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

        .fullscreen-icon:hover {
            transform: scale(1.1);
        }

        .profile-info {
            flex: 1;
        }

        .profile-name {
            font-size: 32px;
            font-weight: 800;
            margin-bottom: 8px;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .profile-username {
            font-size: 18px;
            color: var(--text-secondary);
            margin-bottom: 16px;
        }

        /* Enhanced Stats Section - Darker Theme */
        .profile-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 20px;
            padding: 0;
            background: transparent;
            border-radius: 0;
            backdrop-filter: none;
        }

        .stat-item {
            text-align: center;
            padding: 24px 20px;
            border-radius: 16px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
        }

        .stat-item:nth-child(1) {
            background: var(--stats-gradient-1);
            box-shadow: 0 8px 32px rgba(45, 27, 105, 0.4);
        }

        .stat-item:nth-child(2) {
            background: var(--stats-gradient-2);
            box-shadow: 0 8px 32px rgba(142, 45, 226, 0.4);
        }

        .stat-item:nth-child(3) {
            background: var(--stats-gradient-3);
            box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
        }

        .stat-item:nth-child(4) {
            background: var(--stats-gradient-4);
            box-shadow: 0 8px 32px rgba(240, 147, 251, 0.4);
        }

        .stat-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .stat-item:hover::before {
            opacity: 1;
        }

        .stat-item:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
        }

        .stat-value {
            font-size: 28px;
            font-weight: 800;
            margin-bottom: 8px;
            color: #ffffff;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

        .stat-label {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 600;
            text-transform: capitalize;
            letter-spacing: 0.5px;
        }

        /* Videos Section Header */
        .videos-section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 24px;
            padding: 20px 0;
        }

        .videos-button {
            padding: 16px 32px;
            background: var(--primary-gradient);
            color: white;
            border: none;
            border-radius: 16px;
            font-weight: 700;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-md);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .videos-button:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .videos-count {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-secondary);
        }

        .download-all-btn {
            padding: 12px 24px;
            background: var(--secondary-gradient);
            color: white;
            border: none;
            border-radius: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-md);
            display: flex;
            align-items: center;
            gap: 8px;
            margin-left: 16px;
        }

        .download-all-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .download-all-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        /* Video Grid - Enhanced with Gradients */
        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 24px;
        }

        .video-card {
            background: linear-gradient(135deg,
                    rgba(255, 0, 80, 0.1) 0%,
                    rgba(0, 242, 234, 0.1) 50%,
                    rgba(105, 201, 208, 0.1) 100%);
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.3s ease;
            position: relative;
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow:
                var(--shadow-lg),
                0 0 20px rgba(255, 0, 80, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            cursor: pointer;
            height: 480px;
        }

        .video-card:hover {
            transform: translateY(-15px) scale(1.02);
            box-shadow:
                var(--shadow-xl),
                0 0 40px rgba(255, 0, 80, 0.3),
                0 0 60px rgba(0, 242, 234, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 0, 80, 0.5);
        }

        .video-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg,
                    rgba(255, 0, 80, 0.05) 0%,
                    transparent 50%,
                    rgba(0, 242, 234, 0.05) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
            z-index: 1;
        }

        .video-card:hover::before {
            opacity: 1;
        }

        .video-thumbnail-container {
            position: relative;
            width: 100%;
            height: 320px;
            overflow: hidden;
        }

        .video-thumbnail {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .video-card:hover .video-thumbnail {
            transform: scale(1.1);
        }

        /* Fixed Play Icon - Visible Triangle */
        .play-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 64px;
            height: 64px;
            background: rgba(255, 0, 80, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 2;
            box-shadow: 0 8px 25px rgba(255, 0, 80, 0.4);
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        .play-overlay::after {
            content: '';
            width: 0;
            height: 0;
            border-left: 16px solid white;
            border-top: 12px solid transparent;
            border-bottom: 12px solid transparent;
            margin-left: 4px;
        }

        .video-card:hover .play-overlay {
            transform: translate(-50%, -50%) scale(1.2);
            background: rgba(255, 0, 80, 1);
            box-shadow: 0 12px 35px rgba(255, 0, 80, 0.6);
        }

        /* Always Visible Download Button */
        .video-download-btn {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 40px;
            height: 40px;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 16px;
            transition: all 0.3s ease;
            opacity: 1;
            cursor: pointer;
            z-index: 10;
            border: 2px solid rgba(255, 255, 255, 0.2);
        }

        .video-download-btn:hover {
            background: var(--primary-gradient);
            transform: scale(1.1);
            border-color: rgba(255, 255, 255, 0.5);
        }

        /* Video Info - Below Thumbnail */
        .video-info {
            padding: 20px;
            background: rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(10px);
            height: 160px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .video-title {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 12px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            color: var(--text-primary);
            line-height: 1.4;
        }

        .video-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            font-size: 12px;
            color: var(--text-secondary);
        }

        .stat {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            padding: 8px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .stat:hover {
            background: rgba(255, 0, 80, 0.1);
            color: var(--text-primary);
        }

        /* ============================= */
        /* VIDEO MODAL - FIXED ALIGNMENT */
        /* ============================= */
        .modal {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
            height: 100% !important;
            background: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(20px);
            z-index: 2147483647 !important;
            display: none;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s ease-out;
            padding: 20px;
            overflow-y: auto;
            margin: 0 !important;
            transform: none !important;
        }

        .modal.active {
            display: flex !important;
        }

        .modal-content {
            position: relative !important;
            width: 100%;
            max-width: 420px;
            margin: auto;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            top: auto !important;
        }

        .modal-title {
            color: white;
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 16px;
            text-align: center;
            padding: 0 20px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.4;
            width: 100%;
        }

        .video-player-container {
            position: relative !important;
            width: 100%;
            max-height: 80vh;
            aspect-ratio: 9 / 16;
            background: #000;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: var(--shadow-xl);
            top: auto !important;
        }

        /* Fallback for browsers/themes without aspect-ratio support */
        @supports not (aspect-ratio: 9 / 16) {
            .video-player-container {
                height: 70vh;
            }
        }

        .video-player {
            width: 100% !important;
            height: 100% !important;
            object-fit: contain !important;
            display: block !important;
            max-width: 100% !important;
        }

        .close-modal {
            position: absolute !important;
            top: -50px !important;
            right: 0 !important;
            width: 44px;
            height: 44px;
            background: rgba(255, 0, 80, 0.2);
            border: 2px solid rgba(255, 0, 80, 0.5);
            border-radius: 50%;
            color: white;
            font-size: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            z-index: 20;
            box-shadow: 0 4px 15px rgba(255, 0, 80, 0.3);
        }

        .close-modal:hover {
            background: rgba(255, 0, 80, 0.4);
            transform: rotate(90deg) scale(1.1);
            border-color: rgba(255, 0, 80, 0.8);
            box-shadow: 0 6px 20px rgba(255, 0, 80, 0.5);
        }

        /* Video Controls */
        .video-controls {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 20px;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .progress-container {
            width: 100%;
            height: 4px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 2px;
            cursor: pointer;
            position: relative;
        }

        .progress-bar {
            height: 100%;
            background: var(--primary-gradient);
            border-radius: 2px;
            position: relative;
            transition: width 0.1s linear;
        }

        .control-buttons {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .control-group {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .control-button {
            width: 44px;
            height: 44px;
            border: none;
            border-radius: 50%;
            background: var(--glass-bg);
            color: white;
            font-size: 18px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            border: 1px solid var(--glass-border);
        }

        .control-button:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: scale(1.1);
        }

        .play-pause {
            width: 56px;
            height: 56px;
            background: var(--primary-gradient);
            font-size: 24px;
            border: none;
        }

        .play-pause:hover {
            background: var(--secondary-gradient);
        }

        /* Volume Controls */
        .volume-controls {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .volume-slider {
            width: 80px;
            height: 4px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 2px;
            position: relative;
            cursor: pointer;
        }

        .volume-fill {
            height: 100%;
            background: var(--primary-gradient);
            border-radius: 2px;
            transition: width 0.1s ease;
        }

        /* Advanced Loading Animation */
        .loading {
            display: none;
            justify-content: center;
            align-items: center;
            padding: 60px 40px;
            background: var(--glass-bg);
            backdrop-filter: blur(30px);
            border-radius: 24px;
            margin: 32px 0;
            border: 1px solid var(--glass-border);
            box-shadow: var(--shadow-xl);
        }

        .loading-content {
            text-align: center;
        }

        .loading-animation {
            position: relative;
            width: 120px;
            height: 120px;
            margin: 0 auto 24px;
        }

        .loading-ring {
            position: absolute;
            border: 4px solid transparent;
            border-radius: 50%;
            animation: spin 2s linear infinite;
        }

        .loading-ring:nth-child(1) {
            width: 120px;
            height: 120px;
            border-top-color: #FF0050;
            animation-duration: 2s;
        }

        .loading-ring:nth-child(2) {
            width: 90px;
            height: 90px;
            top: 15px;
            left: 15px;
            border-right-color: #00F2EA;
            animation-duration: 1.5s;
            animation-direction: reverse;
        }

        .loading-ring:nth-child(3) {
            width: 60px;
            height: 60px;
            top: 30px;
            left: 30px;
            border-bottom-color: #FF4081;
            animation-duration: 1s;
        }

        .loading-dots {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-bottom: 16px;
        }

        .loading-dot {
            width: 12px;
            height: 12px;
            background: var(--primary-gradient);
            border-radius: 50%;
            animation: bounce 1.4s ease-in-out infinite both;
        }

        .loading-dot:nth-child(1) {
            animation-delay: -0.32s;
        }

        .loading-dot:nth-child(2) {
            animation-delay: -0.16s;
        }

        .loading-dot:nth-child(3) {
            animation-delay: 0s;
        }

        @keyframes bounce {

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

            40% {
                transform: scale(1);
            }
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        .loading-text {
            font-size: 18px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 8px;
        }

        .loading-subtext {
            font-size: 14px;
            color: var(--text-secondary);
        }

        /* Profile Picture Modal */
        .profile-modal {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
            height: 100% !important;
            background: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(20px);
            z-index: 2147483647 !important;
            display: none;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s ease-out;
            padding: 20px;
            margin: 0 !important;
            transform: none !important;
        }

        .profile-modal.active {
            display: flex !important;
        }

        .profile-modal-content {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .profile-modal-image {
            max-width: 80%;
            max-height: 80%;
            border-radius: 20px;
            box-shadow: var(--shadow-xl);
        }

        .profile-modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 48px;
            height: 48px;
            background: rgba(255, 0, 80, 0.2);
            border: 2px solid rgba(255, 0, 80, 0.5);
            border-radius: 50%;
            color: white;
            font-size: 24px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .profile-modal-download {
            position: absolute;
            bottom: 20px;
            right: 20px;
            padding: 12px 24px;
            background: var(--primary-gradient);
            color: white;
            border: none;
            border-radius: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .profile-modal-download:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        /* Download Progress Indicator */
        .download-progress {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            padding: 16px 20px;
            color: white;
            font-weight: 600;
            z-index: 1001;
            display: none;
            align-items: center;
            gap: 12px;
            box-shadow: var(--shadow-lg);
            min-width: 300px;
        }

        .download-progress.show {
            display: flex;
        }

        .download-spinner {
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top-color: #FF0050;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            flex-shrink: 0;
        }

        .download-info {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .download-text {
            font-size: 14px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .download-progress-bar {
            width: 100%;
            height: 4px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 2px;
            overflow: hidden;
        }

        .download-progress-fill {
            height: 100%;
            background: var(--primary-gradient);
            border-radius: 2px;
            width: 0%;
            transition: width 0.3s ease;
        }

        .cancel-download-btn {
            background: rgba(255, 0, 80, 0.2);
            border: 1px solid rgba(255, 0, 80, 0.4);
            color: white;
            border-radius: 8px;
            padding: 6px 12px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .cancel-download-btn:hover {
            background: rgba(255, 0, 80, 0.4);
        }

        /* Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }

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

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

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

        @keyframes pulse {

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

            50% {
                transform: scale(1.05);
            }
        }

        /* Error Message */
        .error-message {
            background: rgba(255, 0, 80, 0.1);
            border: 1px solid rgba(255, 0, 80, 0.2);
            color: #FF0050;
            padding: 16px 24px;
            border-radius: 12px;
            margin-top: 16px;
            display: none;
            align-items: center;
            gap: 12px;
            font-weight: 500;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .profile-header {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }

            .profile-stats {
                grid-template-columns: repeat(2, 1fr);
            }

            .video-grid {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
                gap: 16px;
            }

            .video-card {
                height: 440px;
            }

            .video-thumbnail-container {
                height: 280px;
            }

            .search-box {
                flex-direction: column;
            }

            .search-button {
                width: 100%;
            }

            .control-buttons {
                flex-wrap: wrap;
                gap: 12px;
            }

            .volume-controls {
                order: 3;
                width: 100%;
                justify-content: center;
            }

            .modal-content {
                max-width: 100%;
                padding: 0 10px;
            }

            .close-modal {
                top: -46px !important;
                right: 10px !important;
            }

            .videos-section-header {
                flex-direction: column;
                gap: 12px;
                align-items: flex-start;
            }

            .download-all-btn {
                margin-left: 0;
                margin-top: 8px;
            }

            .download-progress {
                left: 20px;
                right: 20px;
                width: auto;
            }
			.logo-container {
				display: flex;
				align-items: center;
				justify-content: center;
				gap: 24px;
				margin-bottom: 24px;
				flex-direction: column;
			}
			.logo-icon {
				width: 60px;
				height: 60px;
				font-size: 28px;
				margin-top: 40px;
			}
        }

        @media (max-width: 480px) {
            .profile-stats {
                grid-template-columns: 1fr;
            }

            .video-grid {
                grid-template-columns: 1fr;
            }

            .logo-container {
				display: flex;
				align-items: center;
				justify-content: center;
				gap: 24px;
				margin-bottom: 24px;
				flex-direction: column;
			}
			.logo-icon {
				width: 60px;
				height: 60px;
				font-size: 28px;
				margin-top: 40px;
			}

			.videos-section-header {
				display: flex !important;
				align-items: center !important;
				justify-content: space-between;
				margin-bottom: 24px;
				padding: 20px 0;
			}
			.download-all-btn {
				padding: 12px 24px;
				background: var(--secondary-gradient);
				color: white;
				border: none;
				border-radius: 12px;
				font-weight: 600;
				cursor: pointer;
				transition: all 0.3s ease;
				box-shadow: var(--shadow-md);
				display: flex;
				align-items: center;
				gap: 8px;
				margin-left: 16px;
				width: 100%;
				font-size: 12px;
			}
			.buttons_flex{
				flex-direction:column;
			}

            .video-player-container {
                max-height: 75vh;
            }
        }

        @media (max-width: 500px) {
            .logo-icon {
                width: 60px;
                height: 60px;
                font-size: 28px;
            }

            .logo-text {
                font-size: clamp(24px, 5vw, 40px);
            }

			.logo-container {
				display: flex;
				align-items: center;
				justify-content: center;
				gap: 24px;
				margin-bottom: 24px;
				flex-direction: column;
			}
			.logo-icon {
				width: 60px;
				height: 60px;
				font-size: 28px;
				margin-top: 40px;
			}
			.videos-section-header {
				display: flex !important;
				align-items: center !important;
				justify-content: space-between;
				margin-bottom: 24px;
				padding: 20px 0;
			}
			.download-all-btn {
				padding: 12px 24px;
				background: var(--secondary-gradient);
				color: white;
				border: none;
				border-radius: 12px;
				font-weight: 600;
				cursor: pointer;
				transition: all 0.3s ease;
				box-shadow: var(--shadow-md);
				display: flex;
				align-items: center;
				gap: 8px;
				margin-left: 16px;
				width: 100%;
				font-size: 13px;
			}
			.buttons_flex{
				flex-direction:column;
			}
        }

/* --- Codex CSS updates --- */
.tiktok_body,
.tiktok_body * {
    box-sizing: border-box !important;
}

:root {
    --primary-gradient: linear-gradient(135deg, #ff2f72 0%, #7c3aed 48%, #00d5ff 100%);
    --secondary-gradient: linear-gradient(135deg, #00d5ff 0%, #7c3aed 52%, #ff2f72 100%);
    --accent-gradient: linear-gradient(135deg, #ff2f72 0%, #ff7aa8 100%);
    --card-gradient: linear-gradient(135deg, #182033 0%, #1f1238 48%, #102a34 100%);
    --stats-gradient-1: linear-gradient(135deg, #151f3d 0%, #0f766e 100%);
    --stats-gradient-2: linear-gradient(135deg, #5717a6 0%, #2563eb 100%);
    --stats-gradient-3: linear-gradient(135deg, #3047b7 0%, #7c3aed 100%);
    --stats-gradient-4: linear-gradient(135deg, #be2f7f 0%, #ef4444 100%);
    --glass-bg: rgba(15, 23, 42, 0.68);
    --glass-border: rgba(255, 255, 255, 0.16);
    --surface-bg: rgba(255, 255, 255, 0.08);
    --surface-bg-strong: rgba(255, 255, 255, 0.12);
    --text-primary: #ffffff;
    --text-secondary: #d8e2f0;
    --text-muted: #a8b5c7;
    --danger: #ff4d79;
    --success: #22c55e;
    --shadow-sm: 0 4px 14px rgba(2, 6, 23, 0.18);
    --shadow-md: 0 10px 28px rgba(2, 6, 23, 0.24);
    --shadow-lg: 0 18px 44px rgba(2, 6, 23, 0.32);
    --shadow-xl: 0 28px 70px rgba(2, 6, 23, 0.42);
    --shadow-neon: 0 0 28px rgba(255, 47, 114, 0.26);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 26px;
    --transition: 180ms ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.tiktok_body {
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 47, 114, 0.2) 0, transparent 30%),
        radial-gradient(circle at 88% 16%, rgba(0, 213, 255, 0.17) 0, transparent 32%),
        linear-gradient(135deg, #070b16 0%, #101827 52%, #090d18 100%);
    min-height: 60vh;
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    isolation: isolate;
}

.tiktok_body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
    z-index: -1;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent);
}

.container_tiktok {
    width: min(100%, 1400px);
    margin: 0 auto;
    padding: clamp(28px, 5vw, 72px) 16px;
    position: relative;
    z-index: 1;
}

.header {
    text-align: center;
    margin-bottom: clamp(24px, 4vw, 42px);
    animation: fadeInDown 0.75s ease-out;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 20px;
}

.logo-icon {
    width: 68px;
    height: 68px;
    background: var(--primary-gradient);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 900;
    box-shadow: var(--shadow-lg), var(--shadow-neon);
    position: relative;
    overflow: hidden;
    animation: pulse 2.8s ease-in-out infinite;
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 17px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 45%);
    pointer-events: none;
}

.logo-text {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.16;
    font-weight: 850;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    letter-spacing: 0;
    text-transform: capitalize !important;
}

.search-section {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.82), rgba(30, 41, 59, 0.56));
    backdrop-filter: blur(28px);
    border: 1px solid var(--glass-border);
    padding: clamp(20px, 4vw, 36px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    margin-bottom: 30px;
    animation: fadeInUp 0.75s ease-out 0.12s both;
}

.input-container {
    position: relative;
    margin-bottom: 18px;
    width: 100%;
}

.search-input {
    width: 100% !important;
    max-width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    padding: 0 18px !important;
    border: 1px solid rgba(216, 226, 240, 0.22) !important;
    border-radius: var(--radius-md) !important;
    font-size: 16px !important;
    line-height: 56px !important;
    font-weight: 500 !important;
    background: rgba(255, 255, 255, 0.09) !important;
    color: var(--text-primary) !important;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    appearance: none !important;
    resize: none !important;
    overflow: hidden !important;
}

.search-input:focus {
    outline: none !important;
    border-color: rgba(0, 213, 255, 0.72) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 0 0 4px rgba(0, 213, 255, 0.16), 0 0 0 1px rgba(255, 47, 114, 0.18) !important;
}

.search-input::placeholder {
    color: rgba(216, 226, 240, 0.62);
}

.paste-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 9px;
    font-size: 13px;
    color: var(--text-muted);
}

.paste-icon {
    cursor: pointer;
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 9px;
    transition: background var(--transition), color var(--transition), transform var(--transition);
    font-size: 15px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.paste-icon:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.search-box {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.search-button {
    flex: 1;
    min-width: 200px;
    height: 54px;
    padding: 0 28px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    line-height: 1;
    font-weight: 760;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-neon);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.search-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transition: left 0.55s ease;
}

.search-button:hover:not(:disabled)::before {
    left: 120%;
}

.search-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), 0 0 32px rgba(255, 47, 114, 0.4);
    filter: saturate(1.08);
}

.search-button:active:not(:disabled) {
    transform: translateY(0);
}

.search-button:focus-visible {
    outline: none;
    box-shadow: var(--shadow-lg), 0 0 0 4px rgba(255, 47, 114, 0.22);
}

.search-button:disabled {
    opacity: 0.62;
    cursor: not-allowed;
    transform: none;
}

.search-again-btn {
    background: var(--secondary-gradient);
    color: white;
    margin-top: 14px;
    width: 100%;
    height: 52px;
    padding: 0 20px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 750;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
    box-shadow: var(--shadow-lg);
}

.search-again-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    filter: saturate(1.08);
}

.results-container {
    width: 100%;
    animation: fadeInUp 0.55s ease-out;
}

.profile-section {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.78), rgba(30, 41, 59, 0.52));
    backdrop-filter: blur(28px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: clamp(22px, 4vw, 32px);
    margin-bottom: 30px;
    animation: fadeInUp 0.65s ease-out;
    box-shadow: var(--shadow-xl);
}

.profile-header {
    display: flex;
    gap: 24px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.profile-avatar-container {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.18);
    background: var(--primary-gradient);
    padding: 2px;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.profile-avatar:hover {
    transform: scale(1.035);
    box-shadow: var(--shadow-xl), var(--shadow-neon);
    border-color: rgba(255, 255, 255, 0.42);
}

.fullscreen-icon {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 5px 14px rgba(2, 6, 23, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.fullscreen-icon:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(255, 47, 114, 0.3);
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-name {
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.2;
    font-weight: 820;
    margin-bottom: 6px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0;
    text-transform: capitalize !important;
}

.profile-username {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    word-break: break-word;
}

.profile-bio {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.65;
    margin-top: 10px;
    max-width: 760px;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 16px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    backdrop-filter: none;
}

.stat-item {
    text-align: center;
    padding: 22px 18px;
    border-radius: var(--radius-lg);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(18px);
}

.stat-item:nth-child(1) {
    background: var(--stats-gradient-1);
    box-shadow: 0 12px 32px rgba(15, 118, 110, 0.25);
}

.stat-item:nth-child(2) {
    background: var(--stats-gradient-2);
    box-shadow: 0 12px 32px rgba(87, 23, 166, 0.25);
}

.stat-item:nth-child(3) {
    background: var(--stats-gradient-3);
    box-shadow: 0 12px 32px rgba(48, 71, 183, 0.25);
}

.stat-item:nth-child(4) {
    background: var(--stats-gradient-4);
    box-shadow: 0 12px 32px rgba(190, 47, 127, 0.25);
}

.stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, transparent 55%, rgba(255, 255, 255, 0.08) 100%);
    opacity: 0;
    transition: opacity var(--transition);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 46px rgba(2, 6, 23, 0.36);
    border-color: rgba(255, 255, 255, 0.25);
}

.stat-value {
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.15;
    font-weight: 820;
    margin-bottom: 7px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(2, 6, 23, 0.32);
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 650;
    text-transform: capitalize !important;
    letter-spacing: 0;
}

.videos-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding: 16px 0;
}

.buttons_flex {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.videos-button {
    height: 50px;
    padding: 0 26px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 760;
    font-size: 15px;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.videos-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: saturate(1.08);
}

.videos-count {
    font-size: 15px;
    font-weight: 650;
    color: var(--text-secondary);
    white-space: nowrap;
}

.download-all-btn {
    height: 48px;
    padding: 0 22px;
    background: var(--secondary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-left: 0;
}

.download-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: saturate(1.08);
}

.download-all-btn:disabled {
    opacity: 0.62;
    cursor: not-allowed;
    transform: none;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 292px), 1fr));
    gap: 22px;
}

.video-card {
    background: linear-gradient(145deg, rgba(255, 47, 114, 0.11) 0%, rgba(124, 58, 237, 0.1) 48%, rgba(0, 213, 255, 0.1) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    cursor: pointer;
    height: 468px;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 0 34px rgba(255, 47, 114, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 47, 114, 0.38);
}

.video-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 47, 114, 0.08), transparent 48%, rgba(0, 213, 255, 0.08));
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
    z-index: 1;
}

.video-card:hover::before {
    opacity: 1;
}

.video-thumbnail-container {
    position: relative;
    width: 100%;
    height: 312px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.22);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.055);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 62px;
    height: 62px;
    background: rgba(255, 47, 114, 0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
    z-index: 2;
    box-shadow: 0 10px 28px rgba(255, 47, 114, 0.38);
    border: 2px solid rgba(255, 255, 255, 0.34);
}

.play-overlay::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 15px solid white;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    margin-left: 4px;
}

.video-card:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.12);
    background: rgba(255, 47, 114, 1);
    box-shadow: 0 14px 36px rgba(255, 47, 114, 0.5);
}

.video-download-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    background: rgba(8, 13, 24, 0.82);
    backdrop-filter: blur(12px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 15px;
    transition: transform var(--transition), background var(--transition), border-color var(--transition);
    opacity: 1;
    cursor: pointer;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.video-download-btn:hover {
    background: var(--primary-gradient);
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.52);
}

.video-info {
    padding: 18px;
    background: rgba(2, 6, 23, 0.42);
    backdrop-filter: blur(12px);
    height: 156px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.video-title {
    font-size: 14px;
    font-weight: 620;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-primary);
    line-height: 1.45;
}

.video-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    padding: 8px 6px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 9px;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.stat:hover {
    background: rgba(255, 47, 114, 0.16);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(2, 6, 23, 0.94);
    backdrop-filter: blur(22px);
    z-index: 2147483647 !important;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.25s ease-out;
    padding: 20px;
    overflow-y: auto;
    margin: 0 !important;
    transform: none !important;
}

.modal.active {
    display: flex !important;
}

.modal-content {
    position: relative !important;
    width: 100%;
    max-width: 420px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: auto !important;
}

.modal-title {
    color: white;
    font-size: 17px;
    font-weight: 650;
    margin-bottom: 14px;
    text-align: center;
    padding: 0 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.42;
    width: 100%;
}

.video-player-container {
    position: relative !important;
    width: 100%;
    max-height: 80vh;
    aspect-ratio: 9 / 16;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, 0.12);
    top: auto !important;
}

@supports not (aspect-ratio: 9 / 16) {
    .video-player-container {
        height: 70vh;
    }
}

.video-player {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    max-width: 100% !important;
}

.close-modal {
    position: absolute !important;
    top: -50px !important;
    right: 0 !important;
    width: 44px;
    height: 44px;
    background: rgba(255, 47, 114, 0.18);
    border: 1px solid rgba(255, 47, 114, 0.48);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition);
    z-index: 20;
    box-shadow: 0 8px 22px rgba(255, 47, 114, 0.22);
}

.close-modal:hover {
    background: rgba(255, 47, 114, 0.34);
    transform: rotate(90deg) scale(1.06);
    border-color: rgba(255, 47, 114, 0.78);
    box-shadow: 0 12px 28px rgba(255, 47, 114, 0.38);
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.progress-container {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 999px;
    position: relative;
    transition: width 0.1s linear;
}

.control-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.control-button {
    width: 42px;
    height: 42px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.control-button:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.28);
}

.control-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 213, 255, 0.18);
}

.play-pause {
    width: 54px;
    height: 54px;
    background: var(--primary-gradient);
    font-size: 22px;
    border: none;
    box-shadow: 0 12px 30px rgba(255, 47, 114, 0.28);
}

.play-pause:hover {
    background: var(--secondary-gradient);
}

.volume-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-slider {
    width: 82px;
    height: 5px;
    background: rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.volume-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 999px;
    transition: width 0.1s ease;
}

.loading {
    display: none;
    justify-content: center;
    align-items: center;
    padding: clamp(34px, 6vw, 56px) 24px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.76), rgba(30, 41, 59, 0.5));
    backdrop-filter: blur(28px);
    border-radius: var(--radius-xl);
    margin: 28px 0;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-xl);
}

.loading-content {
    text-align: center;
}

.loading-animation {
    position: relative;
    width: 104px;
    height: 104px;
    margin: 0 auto 22px;
}

.loading-ring {
    position: absolute;
    border: 4px solid transparent;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

.loading-ring:nth-child(1) {
    width: 104px;
    height: 104px;
    border-top-color: #ff2f72;
    animation-duration: 2s;
}

.loading-ring:nth-child(2) {
    width: 78px;
    height: 78px;
    top: 13px;
    left: 13px;
    border-right-color: #00d5ff;
    animation-duration: 1.45s;
    animation-direction: reverse;
}

.loading-ring:nth-child(3) {
    width: 52px;
    height: 52px;
    top: 26px;
    left: 26px;
    border-bottom-color: #a855f7;
    animation-duration: 1s;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
}

.loading-dot {
    width: 10px;
    height: 10px;
    background: var(--primary-gradient);
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
}

.loading-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dot:nth-child(2) {
    animation-delay: -0.16s;
}

.loading-dot:nth-child(3) {
    animation-delay: 0s;
}

.loading-text {
    font-size: 17px;
    font-weight: 680;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.loading-subtext {
    font-size: 14px;
    color: var(--text-secondary);
}

.profile-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(2, 6, 23, 0.94);
    backdrop-filter: blur(22px);
    z-index: 2147483647 !important;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.25s ease-out;
    padding: 20px;
    margin: 0 !important;
    transform: none !important;
}

.profile-modal.active {
    display: flex !important;
}

.profile-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-modal-image {
    max-width: min(86%, 720px);
    max-height: 82%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, 0.12);
    object-fit: contain;
}

.profile-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
    background: rgba(255, 47, 114, 0.18);
    border: 1px solid rgba(255, 47, 114, 0.5);
    border-radius: 50%;
    color: white;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.profile-modal-close:hover {
    background: rgba(255, 47, 114, 0.34);
    transform: rotate(90deg) scale(1.05);
    box-shadow: 0 12px 28px rgba(255, 47, 114, 0.34);
}

.profile-modal-download {
    position: absolute;
    bottom: 20px;
    right: 20px;
    height: 46px;
    padding: 0 22px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 720;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
}

.profile-modal-download:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: saturate(1.08);
}

.download-progress {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 15px 18px;
    color: white;
    font-weight: 620;
    z-index: 1001;
    display: none;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    min-width: min(300px, calc(100vw - 40px));
    max-width: calc(100vw - 40px);
}

.download-progress.show {
    display: flex;
}

.download-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-top-color: #ff2f72;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    flex-shrink: 0;
}

.download-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.download-text {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.download-progress-bar {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    overflow: hidden;
}

.download-progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 999px;
    width: 0%;
    transition: width 0.3s ease;
}

.cancel-download-btn {
    background: rgba(255, 47, 114, 0.18);
    border: 1px solid rgba(255, 47, 114, 0.42);
    color: white;
    border-radius: 10px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 680;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cancel-download-btn:hover {
    background: rgba(255, 47, 114, 0.34);
    transform: translateY(-1px);
}

.error-message {
    background: rgba(255, 47, 114, 0.12);
    border: 1px solid rgba(255, 47, 114, 0.28);
    color: #ff8baa;
    padding: 15px 18px;
    border-radius: var(--radius-md);
    margin-top: 16px;
    display: none;
    align-items: center;
    gap: 10px;
    font-weight: 560;
    box-shadow: 0 12px 28px rgba(255, 47, 114, 0.12);
}

.fab,
.fas {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 5 Free", "FontAwesome" !important;
}

.fas {
    font-weight: 900 !important;
}

.fab {
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", "FontAwesome" !important;
    font-weight: 400 !important;
}

.fa-comment,
.fa-download,
.fa-exclamation-circle,
.fa-expand,
.fa-heart,
.fa-paste,
.fa-play,
.fa-search,
.fa-share,
.fa-spin,
.fa-spinner,
.fa-stop,
.fa-tiktok,
.fa-times,
.fa-video,
.fa-volume-up {
    display: inline-block;
    width: 1em;
    min-width: 1em;
    text-align: center;
    line-height: 1;
    color: inherit;
}

.fa-spin,
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes bounce {
    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-22px);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

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

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

    50% {
        transform: scale(1.035);
    }
}

@media (max-width: 768px) {
    .container_tiktok {
        padding: 30px 14px;
    }

    .logo-container {
        flex-direction: column;
        gap: 14px;
        margin-bottom: 18px;
    }

    .logo-icon {
        width: 58px;
        height: 58px;
        font-size: 26px;
        margin-top: 0;
        border-radius: 16px;
    }

    .logo-text {
        font-size: clamp(26px, 7vw, 34px);
        max-width: 680px;
    }

    .search-section {
        padding: 20px;
        border-radius: 20px;
    }

    .input-container {
        margin-bottom: 16px;
    }

    .search-input {
        height: 52px !important;
        min-height: 52px !important;
        max-height: 52px !important;
        line-height: 52px !important;
        font-size: 15px !important;
        padding: 0 16px !important;
    }

    .paste-hint {
        justify-content: center;
        margin-top: 8px;
    }

    .search-box {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 14px;
    }

    .search-button {
        width: 100%;
        min-width: 0;
        height: 52px;
        padding: 0 18px;
    }

    .search-again-btn {
        height: 50px;
    }

    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 18px;
    }

    .profile-avatar {
        width: 104px;
        height: 104px;
    }

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

    .stat-item {
        padding: 18px 12px;
    }

    .videos-section-header {
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
    }

    .buttons_flex {
        flex-direction: column;
        align-items: stretch !important;
        width: 100%;
        gap: 12px;
    }

    .videos-button,
    .download-all-btn {
        width: 100%;
        height: 48px;
        margin-left: 0;
    }

    .videos-count {
        text-align: center;
        white-space: normal;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .video-card {
        height: auto;
        min-height: 420px;
    }

    .video-thumbnail-container {
        height: min(280px, 68vw);
    }

    .video-info {
        height: auto;
        min-height: 138px;
    }

    .control-buttons {
        flex-wrap: wrap;
        gap: 12px;
    }

    .volume-controls {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .modal {
        padding: 16px;
    }

    .modal-content {
        max-width: 100%;
        padding: 0;
    }

    .close-modal {
        top: -48px !important;
        right: 0 !important;
    }

    .video-player-container {
        max-height: 76vh;
    }

    .download-progress {
        left: 14px;
        right: 14px;
        bottom: 14px;
        width: auto;
        min-width: 0;
        max-width: none;
    }
}

@media (max-width: 500px) {
    .container_tiktok {
        padding: 24px 12px;
    }

    .header {
        margin-bottom: 20px;
    }

    .logo-container {
        gap: 12px;
        margin-bottom: 14px;
    }

    .logo-icon {
        width: 54px;
        height: 54px;
        font-size: 24px;
        margin-top: 0;
    }

    .logo-text {
        font-size: clamp(24px, 8vw, 30px);
        line-height: 1.18;
    }

    .search-section,
    .profile-section {
        padding: 16px;
        border-radius: 18px;
    }

    .search-input {
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;
        line-height: 50px !important;
        font-size: 14px !important;
        padding: 0 14px !important;
    }

    .search-button,
    .search-again-btn {
        height: 50px;
        font-size: 14px;
    }

    .profile-stats {
        grid-template-columns: 1fr;
    }

    .videos-section-header {
        display: flex !important;
        align-items: stretch !important;
        justify-content: flex-start;
        margin-bottom: 18px;
        padding: 14px 0;
    }

    .download-all-btn {
        width: 100%;
        font-size: 13px;
        padding: 0 18px;
        margin-left: 0;
    }

    .buttons_flex {
        flex-direction: column;
    }

    .video-player-container {
        max-height: 74vh;
    }

    .profile-modal-close {
        top: 14px;
        right: 14px;
        width: 42px;
        height: 42px;
    }

    .profile-modal-download {
        right: 14px;
        bottom: 14px;
        left: 14px;
        width: auto;
    }

    .download-progress {
        flex-wrap: wrap;
        align-items: center;
    }

    .cancel-download-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .profile-stats {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .logo-container {
        flex-direction: column;
    }

    .logo-icon {
        width: 54px;
        height: 54px;
        font-size: 24px;
        margin-top: 0;
    }

    .videos-section-header {
        display: flex !important;
        align-items: stretch !important;
        justify-content: flex-start;
    }

    .download-all-btn {
        width: 100%;
        font-size: 13px;
    }

    .buttons_flex {
        flex-direction: column;
    }
}