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

.nstcv {
container-type: inline-size;
container-name: nstcv;
-webkit-text-size-adjust: 100%;
--nstcv-ink: #ffffff;
--nstcv-muted: #cbd5e1;
--nstcv-dim: #94a3b8;
--nstcv-panel: rgba(22, 24, 35, 0.94);
--nstcv-panel-soft: rgba(255, 255, 255, 0.08);
--nstcv-line: rgba(255, 255, 255, 0.12);
--nstcv-accent: #ff0050;
--nstcv-accent-deep: #ee1d52;
--nstcv-cool: #00f2ea;
--nstcv-danger: #ff4d6d;
--nstcv-radius: 16px;
--nstcv-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
--nstcv-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
--nstcv-gap: 12px;
--nstcv-pad: 12px;
box-sizing: border-box;
font-family: var(--nstcv-font);
color: var(--nstcv-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;
overflow-x: hidden;
-webkit-text-size-adjust: 100%;
}
.nstcv *,
.nstcv *::before,
.nstcv *::after {
box-sizing: border-box;
}
.nstcv :where(h1, h2, h3, p, ul, ol, li, figure, label, span) {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
}
.nstcv :where(ul, ol) {
list-style: none;
}
.nstcv img {
max-width: 100%;
height: auto;
display: block;
border: 0;
}
.nstcv a {
color: var(--nstcv-cool);
text-decoration: none;
}
.nstcv a:hover {
text-decoration: underline;
}
.nstcv-shell {
max-width: 1280px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: var(--nstcv-gap);
width: 100%;
min-width: 0;
}
.nstcv-hero {
background: transparent;
padding: 36px 0 14px;
text-align: center;
border: 0;
box-shadow: none;
border-radius: 0;
}
.nstcv-hero__heading {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
flex-wrap: wrap;
margin: 0 0 4px;
}
.nstcv-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(--nstcv-accent), var(--nstcv-cool));
color: #fff;
box-shadow: 0 10px 24px rgba(255, 0, 80, 0.35);
flex: 0 0 auto;
}
.nstcv .nstcv-hero__brand i {
font-size: 1.25rem !important;
width: auto;
color: #fff !important;
display: inline-block !important;
line-height: 1 !important;
font-style: normal !important;
-webkit-font-smoothing: antialiased;
}
.nstcv-hero__title {
font-size: clamp(1.35rem, 4vw, 1.85rem);
font-weight: 800;
letter-spacing: -0.02em;
line-height: 1.2;
margin: 0;
}
.nstcv-hero__title-mark {
position: relative;
color: var(--nstcv-accent);
display: inline-block;
}
.nstcv-hero__title-mark::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: -2px;
height: 3px;
background: linear-gradient(90deg, var(--nstcv-accent), var(--nstcv-cool));
border-radius: 2px;
}
.nstcv-hero__lead {
margin-top: 8px;
color: var(--nstcv-muted);
font-size: 0.95rem;
}
.nstcv-search {
text-align: left;
width: 100%;
max-width: 100%;
min-width: 0;
box-sizing: border-box;
margin-top: 14px;
padding: clamp(14px, 2.5vw, 20px);
background: var(--nstcv-panel);
border: 1px solid var(--nstcv-line);
border-radius: var(--nstcv-radius);
box-shadow: var(--nstcv-shadow);
}
.nstcv-search__label {
display: block;
font-size: 0.82rem;
color: var(--nstcv-dim);
margin-bottom: 6px;
font-weight: 600;
}
.nstcv-search__row {
display: flex;
flex-direction: column;
flex-wrap: wrap;
gap: 8px;
}
.nstcv-search__field {
flex: 1 1 auto;
width: 100%;
min-width: 0;
border: 1px solid var(--nstcv-line);
border-radius: 12px;
background: rgba(0, 0, 0, 0.35);
color: var(--nstcv-ink);
padding: 12px 14px;
font-size: 16px;
outline: none;
}
.nstcv-search__field:focus {
border-color: var(--nstcv-cool);
box-shadow: 0 0 0 3px rgba(0, 242, 234, 0.15);
}
.nstcv-search__actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
width: 100%;
}
.nstcv-btn {
appearance: none;
border: 0;
border-radius: 12px;
padding: 11px 14px;
min-height: 44px;
font-weight: 700;
font-size: 0.9rem;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
color: #fff;
flex: 1 1 auto;
transition: transform .15s, opacity .15s;
}
.nstcv-btn:hover {
transform: translateY(-1px);
}
.nstcv-btn:disabled {
opacity: .55;
cursor: not-allowed;
transform: none;
}
.nstcv-btn--paste {
background: rgba(255, 255, 255, 0.12);
border: 1px solid var(--nstcv-line);
}
.nstcv-btn--view {
background: linear-gradient(135deg, var(--nstcv-accent), var(--nstcv-accent-deep));
}
.nstcv-btn--reset {
background: linear-gradient(135deg, var(--nstcv-cool), #0891b2);
color: #041016;
}
.nstcv-btn.is-hidden {
display: none !important;
}
.nstcv-alert {
display: none;
margin-top: 10px;
padding: 10px 12px;
border-radius: 10px;
background: rgba(255, 77, 109, 0.15);
border: 1px solid rgba(255, 77, 109, 0.35);
color: #fecdd3;
font-size: 0.88rem;
}
.nstcv-alert.is-visible {
display: block;
}
.nstcv-alert.is-info {
background: rgba(0, 242, 234, 0.12);
border-color: rgba(0, 242, 234, 0.35);
color: #a5f3fc;
}
.nstcv-search__hint {
margin-top: 8px;
color: var(--nstcv-dim);
font-size: 0.8rem;
}
.nstcv-skeleton {
display: none;
}
.nstcv-skeleton.is-visible {
display: block;
}
.nstcv-skeleton__panel {
background: var(--nstcv-panel);
border: 1px solid var(--nstcv-line);
border-radius: var(--nstcv-radius);
padding: var(--nstcv-pad);
display: grid;
gap: 14px;
}
.nstcv-sk {
background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
background-size: 200% 100%;
animation: nstcv-shimmer 1.2s ease-in-out infinite;
border-radius: 10px;
}
@keyframes nstcv-shimmer {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}
.nstcv-skeleton__media {
aspect-ratio: 9/12;
width: 100%;
max-width: 260px;
margin: 0 auto;
}
.nstcv-skeleton__line {
height: 12px;
margin-top: 8px;
}
.nstcv-skeleton__line--lg {
width: 70%;
}
.nstcv-skeleton__line--md {
width: 45%;
}
.nstcv-skeleton__line--full {
width: 100%;
}
.nstcv-skeleton__citem {
display: flex;
gap: 10px;
margin-top: 12px;
}
.nstcv-skeleton__cavatar {
width: 40px;
height: 40px;
border-radius: 50%;
flex: 0 0 auto;
}
.nstcv-panel {
background: var(--nstcv-panel);
border: 1px solid var(--nstcv-line);
border-radius: var(--nstcv-radius);
box-shadow: var(--nstcv-shadow);
padding: var(--nstcv-pad);
}
.nstcv-content.is-hidden {
display: none;
}
.nstcv-notice {
display: flex;
gap: 10px;
align-items: flex-start;
padding: 10px 12px;
margin-bottom: 12px;
border-radius: 12px;
background: rgba(0, 242, 234, 0.08);
border: 1px solid rgba(0, 242, 234, 0.2);
color: var(--nstcv-muted);
font-size: 0.88rem;
}
.nstcv-notice i {
color: var(--nstcv-cool);
margin-top: 2px;
}
.nstcv-content:not(.is-placeholder) .nstcv-notice {
display: none;
}
.nstcv-layout {
display: grid;
gap: 14px;
width: 100%;
min-width: 0;
}
.nstcv-video__media-wrap {
max-width: 360px;
margin: 0 auto;
}
.nstcv-video {
border: 1px solid var(--nstcv-line);
border-radius: 14px;
overflow: hidden;
background: rgba(0, 0, 0, 0.25);
}
.nstcv-video__media-wrap {
position: relative;
aspect-ratio: 9/12;
background: #0b0b10;
}
.nstcv-video__thumb {
width: 100%;
height: 100%;
object-fit: cover;
}
.nstcv-video__badge {
position: absolute;
left: 10px;
top: 10px;
z-index: 2;
display: inline-flex;
gap: 6px;
align-items: center;
padding: 6px 10px;
border-radius: 999px;
background: rgba(0, 0, 0, 0.55);
font-size: 0.75rem;
font-weight: 700;
}
.nstcv-video__actions {
position: absolute;
right: 10px;
bottom: 10px;
z-index: 2;
display: flex;
gap: 8px;
}
.nstcv-video__fab {
width: 42px;
height: 42px;
border: 0;
border-radius: 50%;
cursor: pointer;
color: #fff;
background: rgba(0, 0, 0, 0.55);
display: grid;
place-items: center;
}
.nstcv-video__fab--play {
background: var(--nstcv-accent);
}
.nstcv-video__fab--dl {
background: var(--nstcv-cool);
color: #041016;
}
.nstcv-content.is-placeholder .nstcv-video__fab {
pointer-events: none;
opacity: .45;
}
.nstcv-video__body {
padding: 12px;
}
.nstcv-video__author {
display: flex;
gap: 10px;
align-items: center;
}
.nstcv-video__avatar {
width: 44px;
height: 44px;
border-radius: 50%;
object-fit: cover;
border: 2px solid rgba(255, 0, 80, 0.55);
background: #222;
}
.nstcv-video__user {
font-weight: 800;
color: #fff;
}
.nstcv-video__name {
color: var(--nstcv-muted);
font-size: 0.85rem;
}
.nstcv-video__title {
margin-top: 10px;
color: var(--nstcv-muted);
font-size: 0.92rem;
white-space: pre-wrap;
word-break: break-word;
}
.nstcv-stats {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 12px;
}
.nstcv-stat {
display: inline-flex;
gap: 6px;
align-items: center;
padding: 7px 10px;
border-radius: 999px;
background: var(--nstcv-panel-soft);
border: 1px solid var(--nstcv-line);
font-size: 0.82rem;
font-weight: 700;
}
.nstcv-stat i {
color: var(--nstcv-accent);
}
.nstcv-comments__head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
margin-bottom: 10px;
}
.nstcv-comments__title {
font-size: 1.05rem;
font-weight: 800;
display: flex;
gap: 8px;
align-items: center;
}
.nstcv-comments__title i {
color: var(--nstcv-cool);
}
.nstcv-comments__count {
min-width: 34px;
text-align: center;
padding: 4px 10px;
border-radius: 999px;
font-size: 0.8rem;
font-weight: 800;
background: rgba(255, 0, 80, 0.18);
border: 1px solid rgba(255, 0, 80, 0.35);
}
.nstcv-filters {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 10px;
}
.nstcv-filters__btn {
appearance: none;
border: 1px solid var(--nstcv-line);
background: rgba(255, 255, 255, 0.05);
color: var(--nstcv-muted);
border-radius: 999px;
padding: 7px 12px;
font-size: 0.8rem;
font-weight: 700;
cursor: pointer;
display: inline-flex;
gap: 6px;
align-items: center;
}
.nstcv-filters__btn.is-active {
color: #fff;
border-color: rgba(255, 0, 80, 0.55);
background: rgba(255, 0, 80, 0.2);
}
.nstcv-find {
width: 100%;
margin-bottom: 10px;
border: 1px solid var(--nstcv-line);
border-radius: 10px;
background: rgba(0, 0, 0, 0.3);
color: #fff;
padding: 10px 12px;
font-size: 0.88rem;
outline: none;
}
.nstcv-comments__list {
display: flex;
flex-direction: column;
gap: 10px;
max-height: min(62vh, 720px);
overflow: auto;
padding-right: 4px;
}
.nstcv-citem {
display: grid;
grid-template-columns: 40px minmax(0, 1fr);
gap: 10px;
padding: 10px;
border-radius: 12px;
border: 1px solid var(--nstcv-line);
background: rgba(255, 255, 255, 0.03);
}
.nstcv-citem__avatar {
width: 40px;
height: 40px;
border-radius: 50%;
object-fit: cover;
background: #222;
}
.nstcv-citem__top {
display: flex;
flex-wrap: wrap;
gap: 6px 10px;
align-items: baseline;
}
.nstcv-citem__nick {
font-weight: 800;
font-size: 0.9rem;
}
.nstcv-citem__user {
color: var(--nstcv-dim);
font-size: 0.8rem;
}
.nstcv-citem__verified {
color: var(--nstcv-cool);
font-size: 0.75rem;
}
.nstcv-citem__text {
margin-top: 4px;
color: var(--nstcv-muted);
font-size: 0.9rem;
white-space: pre-wrap;
word-break: break-word;
}
.nstcv-citem__meta {
margin-top: 8px;
display: flex;
flex-wrap: wrap;
gap: 10px;
color: var(--nstcv-dim);
font-size: 0.78rem;
font-weight: 600;
}
.nstcv-citem__meta i {
color: var(--nstcv-accent);
}
.nstcv-empty {
text-align: center;
padding: 28px 12px;
color: var(--nstcv-dim);
border: 1px dashed var(--nstcv-line);
border-radius: 12px;
}
.nstcv-empty i {
font-size: 1.6rem;
color: var(--nstcv-accent);
margin-bottom: 8px;
display: block;
}
.nstcv-more {
appearance: none;
width: 100%;
margin-top: 10px;
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: inline-flex;
gap: 8px;
align-items: center;
justify-content: center;
}
.nstcv-more:hover {
background: rgba(0, 242, 234, 0.2);
}
.nstcv-more:disabled {
opacity: .55;
cursor: not-allowed;
}
.nstcv-more.is-hidden {
display: none !important;
}
.nstcv-export {
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid var(--nstcv-line);
}
.nstcv-export__title {
font-size: 0.92rem;
font-weight: 800;
margin-bottom: 8px;
display: flex;
gap: 8px;
align-items: center;
}
.nstcv-export__row {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.nstcv-export__btn {
appearance: none;
border: 1px solid var(--nstcv-line);
background: rgba(255, 255, 255, 0.06);
color: #fff;
border-radius: 10px;
padding: 9px 12px;
font-weight: 700;
font-size: 0.82rem;
cursor: pointer;
display: inline-flex;
gap: 7px;
align-items: center;
}
.nstcv-export__btn--csv {
border-color: rgba(0, 242, 234, 0.4);
}
.nstcv-content.is-placeholder .nstcv-export {
opacity: .45;
pointer-events: none;
}
.nstcv-thumb--ghost {
background:
linear-gradient(135deg, rgba(255, 0, 80, 0.25), rgba(0, 242, 234, 0.12)),
repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.04) 0 8px, transparent 8px 16px);
}
.nstcv-modal {
position: fixed;
inset: 0;
z-index: 99999;
display: none;
place-items: center;
padding: 16px;
background: rgba(0, 0, 0, 0.72);
backdrop-filter: blur(4px);
}
.nstcv-modal.is-open {
display: grid;
}
.nstcv-modal__dialog {
width: min(920px, 100%);
max-height: min(92vh, 900px);
overflow: auto;
background: #12131a;
border: 1px solid var(--nstcv-line);
border-radius: 16px;
padding: 12px;
position: relative;
}
.nstcv-modal__close {
position: absolute;
top: 10px;
right: 10px;
z-index: 3;
width: 36px;
height: 36px;
border: 0;
border-radius: 50%;
background: rgba(0, 0, 0, 0.55);
color: #fff;
cursor: pointer;
}
.nstcv-modal__stage {
position: relative;
background: #000;
border-radius: 12px;
overflow: hidden;
min-height: 220px;
}
.nstcv-modal__media,
.nstcv-modal__video {
width: 100%;
max-height: min(70vh, 720px);
display: block;
margin: 0 auto;
background: #000;
}
.nstcv-modal__note {
position: absolute;
inset: 0;
display: none;
place-items: center;
background: rgba(0, 0, 0, 0.55);
color: #fff;
font-weight: 800;
text-align: center;
padding: 16px;
}
.nstcv-modal__note.is-visible {
display: grid;
}
.nstcv-modal__bar {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
justify-content: space-between;
margin-top: 10px;
}
.nstcv-modal__caption {
color: var(--nstcv-muted);
font-size: 0.88rem;
flex: 1 1 180px;
}
.nstcv-modal__actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.nstcv-modal__action {
appearance: none;
border: 0;
border-radius: 10px;
padding: 10px 14px;
font-weight: 800;
cursor: pointer;
color: #fff;
display: inline-flex;
gap: 8px;
align-items: center;
}
.nstcv-modal__action--play {
background: var(--nstcv-accent);
}
.nstcv-modal__action--download {
background: var(--nstcv-cool);
color: #041016;
}
.nstcv-dlprog {
display: none;
margin-top: 10px;
padding: 10px 12px;
border-radius: 12px;
background: rgba(0, 0, 0, 0.35);
border: 1px solid var(--nstcv-line);
}
.nstcv-dlprog.is-visible {
display: block;
}
.nstcv-dlprog__top {
display: flex;
justify-content: space-between;
gap: 8px;
font-size: 0.82rem;
font-weight: 700;
}
.nstcv-dlprog__track {
margin-top: 8px;
height: 8px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.1);
overflow: hidden;
}
.nstcv-dlprog__fill {
height: 100%;
width: 0;
background: linear-gradient(90deg, var(--nstcv-accent), var(--nstcv-cool));
}
.nstcv-dlprog__meta {
margin-top: 6px;
display: flex;
justify-content: space-between;
gap: 8px;
color: var(--nstcv-dim);
font-size: 0.78rem;
}
/* ------------------------------------------------------------------
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).
------------------------------------------------------------------- */
.nstcv {
--nstcv-cols: 1;
}
.nstcv-search__row {
display: flex;
flex-direction: column;
gap: 8px;
width: 100%;
min-width: 0;
}
.nstcv-search__field {
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
flex: 1 1 auto !important;
font-size: 16px !important;
}
.nstcv-search__actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
width: 100%;
}
.nstcv-btn {
flex: 1 1 calc(50% - 4px);
justify-content: center;
min-height: 44px;
}
.nstcv-layout {
display: grid;
grid-template-columns: 1fr;
gap: 14px;
width: 100%;
min-width: 0;
}
.nstcv-video__media-wrap {
max-width: 360px;
margin: 0 auto;
}
.nstcv.nstcv--desktop .nstcv-layout {
grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
align-items: start;
}
.nstcv.nstcv--desktop .nstcv-video__media-wrap {
max-width: none;
margin: 0;
}
.nstcv.nstcv--compact .nstcv-export__row {
flex-direction: column;
}
.nstcv.nstcv--compact .nstcv-export__btn {
width: 100%;
justify-content: center;
}
@media (min-width: 768px) {
.nstcv:not(.nstcv--compact) .nstcv-search__row {
flex-direction: row;
flex-wrap: wrap;
align-items: stretch;
}
.nstcv:not(.nstcv--compact) .nstcv-search__field {
flex: 1 1 220px !important;
width: auto !important;
}
.nstcv:not(.nstcv--compact) .nstcv-search__actions {
width: auto;
flex: 0 0 auto;
flex-wrap: nowrap;
}
.nstcv:not(.nstcv--compact) .nstcv-btn {
flex: 0 0 auto;
}
}
/* WordPress / Live Server narrow container (set by ResizeObserver) */
.nstcv.nstcv--compact .nstcv-search__row {
flex-direction: column !important;
}
.nstcv.nstcv--compact .nstcv-search__actions {
width: 100% !important;
display: flex !important;
flex-wrap: wrap !important;
}
.nstcv.nstcv--compact .nstcv-btn {
flex: 1 1 calc(50% - 4px) !important;
}
.nstcv.nstcv--compact .nstcv-search__field {
width: 100% !important;
flex: 1 1 100% !important;
}
.nstcv.nstcv--narrow .nstcv-btn {
flex: 1 1 100% !important;
}
.nstcv.nstcv--narrow .nstcv-search__actions {
flex-direction: column !important;
}
.nstcv.nstcv--narrow .nstcv-hero__title {
font-size: 1.15rem;
}
@media (hover: none) {
.nstcv-btn:hover,
.nstcv-more:hover {
transform: none;
}
}
@media (prefers-reduced-motion: reduce) {
.nstcv-sk {
animation: none;
}
.nstcv-btn {
transition: none;
}
}
/* Turnstile host: keep hidden in-flow; floating panel styles come from turnstile-handler.js */
.nstcv #xrespond-tools-turnstile-host {
display: none;
}
.nstcv #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 */
.nstcv .nstcv-search,
.nstcv .nstcv-search .nstcv-search__row,
.nstcv .nstcv-search .nstcv-search__actions {
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
box-sizing: border-box !important;
}
.nstcv .nstcv-search .nstcv-search__row {
display: flex !important;
flex-direction: row !important;
flex-wrap: nowrap !important;
align-items: stretch !important;
gap: 8px !important;
}
.nstcv .nstcv-search .nstcv-search__field,
.nstcv .nstcv-search .nstcv-search__row > .nstcv-search__field {
flex: 1 1 auto !important;
width: auto !important;
max-width: none !important;
min-width: 0 !important;
}
.nstcv .nstcv-search .nstcv-search__actions,
.nstcv .nstcv-search .nstcv-search__row > .nstcv-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;
}
.nstcv .nstcv-search .nstcv-search__row > .nstcv-btn,
.nstcv .nstcv-search .nstcv-search__actions .nstcv-btn,
.nstcv .nstcv-search .nstcv-search__row .nstcv-search__actions .nstcv-btn {
flex: 0 0 auto !important;
width: auto !important;
max-width: none !important;
min-width: 110px !important;
}
.nstcv.nstcv--compact .nstcv-search .nstcv-search__row,
.nstcv.nstcv--narrow .nstcv-search .nstcv-search__row {
flex-wrap: wrap !important;
}
.nstcv.nstcv--compact .nstcv-search .nstcv-search__field,
.nstcv.nstcv--narrow .nstcv-search .nstcv-search__field,
.nstcv.nstcv--compact .nstcv-search .nstcv-search__row > .nstcv-search__field,
.nstcv.nstcv--narrow .nstcv-search .nstcv-search__row > .nstcv-search__field {
flex: 1 1 100% !important;
width: 100% !important;
max-width: 100% !important;
}
.nstcv.nstcv--compact .nstcv-search .nstcv-search__actions,
.nstcv.nstcv--narrow .nstcv-search .nstcv-search__actions,
.nstcv.nstcv--compact .nstcv-search .nstcv-search__row > .nstcv-search__actions,
.nstcv.nstcv--narrow .nstcv-search .nstcv-search__row > .nstcv-search__actions {
flex: 1 1 100% !important;
width: 100% !important;
max-width: 100% !important;
}
.nstcv.nstcv--compact .nstcv-search .nstcv-search__row > .nstcv-btn,
.nstcv.nstcv--narrow .nstcv-search .nstcv-search__row > .nstcv-btn,
.nstcv.nstcv--compact .nstcv-search .nstcv-search__actions .nstcv-btn,
.nstcv.nstcv--narrow .nstcv-search .nstcv-search__actions .nstcv-btn,
.nstcv.nstcv--compact .nstcv-search .nstcv-search__row .nstcv-search__actions .nstcv-btn,
.nstcv.nstcv--narrow .nstcv-search .nstcv-search__row .nstcv-search__actions .nstcv-btn {
flex: 1 1 calc(50% - 4px) !important;
min-width: 0 !important;
max-width: 100% !important;
}
@media (max-width: 720px) {
.nstcv .nstcv-search .nstcv-search__row {
flex-wrap: wrap !important;
}
.nstcv .nstcv-search .nstcv-search__field,
.nstcv .nstcv-search .nstcv-search__row > .nstcv-search__field {
flex: 1 1 100% !important;
width: 100% !important;
max-width: 100% !important;
}
.nstcv .nstcv-search .nstcv-search__actions,
.nstcv .nstcv-search .nstcv-search__row > .nstcv-search__actions {
flex: 1 1 100% !important;
width: 100% !important;
max-width: 100% !important;
}
.nstcv .nstcv-search .nstcv-search__row > .nstcv-btn,
.nstcv .nstcv-search .nstcv-search__actions .nstcv-btn,
.nstcv .nstcv-search .nstcv-search__row .nstcv-search__actions .nstcv-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");

.nstcv {
container-type: inline-size;
container-name: nstcv;
-webkit-text-size-adjust: 100%;
--nstcv-ink: #ffffff;
--nstcv-muted: #cbd5e1;
--nstcv-dim: #94a3b8;
--nstcv-panel: rgba(22, 24, 35, 0.94);
--nstcv-panel-soft: rgba(255, 255, 255, 0.08);
--nstcv-line: rgba(255, 255, 255, 0.12);
--nstcv-accent: #ff0050;
--nstcv-accent-deep: #ee1d52;
--nstcv-cool: #00f2ea;
--nstcv-danger: #ff4d6d;
--nstcv-radius: 16px;
--nstcv-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
--nstcv-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
--nstcv-gap: 12px;
--nstcv-pad: 12px;
box-sizing: border-box;
font-family: var(--nstcv-font);
color: var(--nstcv-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;
overflow-x: hidden;
-webkit-text-size-adjust: 100%;
}
.nstcv *,
.nstcv *::before,
.nstcv *::after {
box-sizing: border-box;
}
.nstcv :where(h1, h2, h3, p, ul, ol, li, figure, label, span) {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
}
.nstcv :where(ul, ol) {
list-style: none;
}
.nstcv img {
max-width: 100%;
height: auto;
display: block;
border: 0;
}
.nstcv a {
color: var(--nstcv-cool);
text-decoration: none;
}
.nstcv a:hover {
text-decoration: underline;
}
.nstcv-shell {
max-width: 1280px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: var(--nstcv-gap);
width: 100%;
min-width: 0;
}
.nstcv-hero {
background: transparent;
padding: 36px 0 14px;
text-align: center;
border: 0;
box-shadow: none;
border-radius: 0;
}
.nstcv-hero__heading {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
flex-wrap: wrap;
margin: 0 0 4px;
}
.nstcv-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(--nstcv-accent), var(--nstcv-cool));
color: #fff;
box-shadow: 0 10px 24px rgba(255, 0, 80, 0.35);
flex: 0 0 auto;
}
.nstcv .nstcv-hero__brand i {
font-size: 1.25rem !important;
width: auto;
color: #fff !important;
display: inline-block !important;
line-height: 1 !important;
font-style: normal !important;
-webkit-font-smoothing: antialiased;
}
.nstcv-hero__title {
font-size: clamp(1.35rem, 4vw, 1.85rem);
font-weight: 800;
letter-spacing: -0.02em;
line-height: 1.2;
margin: 0;
}
.nstcv-hero__title-mark {
position: relative;
color: var(--nstcv-accent);
display: inline-block;
}
.nstcv-hero__title-mark::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: -2px;
height: 3px;
background: linear-gradient(90deg, var(--nstcv-accent), var(--nstcv-cool));
border-radius: 2px;
}
.nstcv-hero__lead {
margin-top: 8px;
color: var(--nstcv-muted);
font-size: 0.95rem;
}
.nstcv-search {
text-align: left;
width: 100%;
max-width: 100%;
min-width: 0;
box-sizing: border-box;
margin-top: 14px;
padding: clamp(14px, 2.5vw, 20px);
background: var(--nstcv-panel);
border: 1px solid var(--nstcv-line);
border-radius: var(--nstcv-radius);
box-shadow: var(--nstcv-shadow);
}
.nstcv-search__label {
display: block;
font-size: 0.82rem;
color: var(--nstcv-dim);
margin-bottom: 6px;
font-weight: 600;
}
.nstcv-search__row {
display: flex;
flex-direction: column;
flex-wrap: wrap;
gap: 8px;
}
.nstcv-search__field {
flex: 1 1 auto;
width: 100%;
min-width: 0;
border: 1px solid var(--nstcv-line);
border-radius: 12px;
background: rgba(0, 0, 0, 0.35);
color: var(--nstcv-ink);
padding: 12px 14px;
font-size: 16px;
outline: none;
}
.nstcv-search__field:focus {
border-color: var(--nstcv-cool);
box-shadow: 0 0 0 3px rgba(0, 242, 234, 0.15);
}
.nstcv-search__actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
width: 100%;
}
.nstcv-btn {
appearance: none;
border: 0;
border-radius: 12px;
padding: 11px 14px;
min-height: 44px;
font-weight: 700;
font-size: 0.9rem;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
color: #fff;
flex: 1 1 auto;
transition: transform .15s, opacity .15s;
}
.nstcv-btn:hover {
transform: translateY(-1px);
}
.nstcv-btn:disabled {
opacity: .55;
cursor: not-allowed;
transform: none;
}
.nstcv-btn--paste {
background: rgba(255, 255, 255, 0.12);
border: 1px solid var(--nstcv-line);
}
.nstcv-btn--view {
background: linear-gradient(135deg, var(--nstcv-accent), var(--nstcv-accent-deep));
}
.nstcv-btn--reset {
background: linear-gradient(135deg, var(--nstcv-cool), #0891b2);
color: #041016;
}
.nstcv-btn.is-hidden {
display: none !important;
}
.nstcv-alert {
display: none;
margin-top: 10px;
padding: 10px 12px;
border-radius: 10px;
background: rgba(255, 77, 109, 0.15);
border: 1px solid rgba(255, 77, 109, 0.35);
color: #fecdd3;
font-size: 0.88rem;
}
.nstcv-alert.is-visible {
display: block;
}
.nstcv-alert.is-info {
background: rgba(0, 242, 234, 0.12);
border-color: rgba(0, 242, 234, 0.35);
color: #a5f3fc;
}
.nstcv-search__hint {
margin-top: 8px;
color: var(--nstcv-dim);
font-size: 0.8rem;
}
.nstcv-skeleton {
display: none;
}
.nstcv-skeleton.is-visible {
display: block;
}
.nstcv-skeleton__panel {
background: var(--nstcv-panel);
border: 1px solid var(--nstcv-line);
border-radius: var(--nstcv-radius);
padding: var(--nstcv-pad);
display: grid;
gap: 14px;
}
.nstcv-sk {
background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
background-size: 200% 100%;
animation: nstcv-shimmer 1.2s ease-in-out infinite;
border-radius: 10px;
}
@keyframes nstcv-shimmer {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}
.nstcv-skeleton__media {
aspect-ratio: 9/12;
width: 100%;
max-width: 260px;
margin: 0 auto;
}
.nstcv-skeleton__line {
height: 12px;
margin-top: 8px;
}
.nstcv-skeleton__line--lg {
width: 70%;
}
.nstcv-skeleton__line--md {
width: 45%;
}
.nstcv-skeleton__line--full {
width: 100%;
}
.nstcv-skeleton__citem {
display: flex;
gap: 10px;
margin-top: 12px;
}
.nstcv-skeleton__cavatar {
width: 40px;
height: 40px;
border-radius: 50%;
flex: 0 0 auto;
}
.nstcv-panel {
background: var(--nstcv-panel);
border: 1px solid var(--nstcv-line);
border-radius: var(--nstcv-radius);
box-shadow: var(--nstcv-shadow);
padding: var(--nstcv-pad);
}
.nstcv-content.is-hidden {
display: none;
}
.nstcv-notice {
display: flex;
gap: 10px;
align-items: flex-start;
padding: 10px 12px;
margin-bottom: 12px;
border-radius: 12px;
background: rgba(0, 242, 234, 0.08);
border: 1px solid rgba(0, 242, 234, 0.2);
color: var(--nstcv-muted);
font-size: 0.88rem;
}
.nstcv-notice i {
color: var(--nstcv-cool);
margin-top: 2px;
}
.nstcv-content:not(.is-placeholder) .nstcv-notice {
display: none;
}
.nstcv-layout {
display: grid;
gap: 14px;
width: 100%;
min-width: 0;
}
.nstcv-video__media-wrap {
max-width: 360px;
margin: 0 auto;
}
.nstcv-video {
border: 1px solid var(--nstcv-line);
border-radius: 14px;
overflow: hidden;
background: rgba(0, 0, 0, 0.25);
}
.nstcv-video__media-wrap {
position: relative;
aspect-ratio: 9/12;
background: #0b0b10;
}
.nstcv-video__thumb {
width: 100%;
height: 100%;
object-fit: cover;
}
.nstcv-video__badge {
position: absolute;
left: 10px;
top: 10px;
z-index: 2;
display: inline-flex;
gap: 6px;
align-items: center;
padding: 6px 10px;
border-radius: 999px;
background: rgba(0, 0, 0, 0.55);
font-size: 0.75rem;
font-weight: 700;
}
.nstcv-video__actions {
position: absolute;
right: 10px;
bottom: 10px;
z-index: 2;
display: flex;
gap: 8px;
}
.nstcv-video__fab {
width: 42px;
height: 42px;
border: 0;
border-radius: 50%;
cursor: pointer;
color: #fff;
background: rgba(0, 0, 0, 0.55);
display: grid;
place-items: center;
}
.nstcv-video__fab--play {
background: var(--nstcv-accent);
}
.nstcv-video__fab--dl {
background: var(--nstcv-cool);
color: #041016;
}
.nstcv-content.is-placeholder .nstcv-video__fab {
pointer-events: none;
opacity: .45;
}
.nstcv-video__body {
padding: 12px;
}
.nstcv-video__author {
display: flex;
gap: 10px;
align-items: center;
}
.nstcv-video__avatar {
width: 44px;
height: 44px;
border-radius: 50%;
object-fit: cover;
border: 2px solid rgba(255, 0, 80, 0.55);
background: #222;
}
.nstcv-video__user {
font-weight: 800;
color: #fff;
}
.nstcv-video__name {
color: var(--nstcv-muted);
font-size: 0.85rem;
}
.nstcv-video__title {
margin-top: 10px;
color: var(--nstcv-muted);
font-size: 0.92rem;
white-space: pre-wrap;
word-break: break-word;
}
.nstcv-stats {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 12px;
}
.nstcv-stat {
display: inline-flex;
gap: 6px;
align-items: center;
padding: 7px 10px;
border-radius: 999px;
background: var(--nstcv-panel-soft);
border: 1px solid var(--nstcv-line);
font-size: 0.82rem;
font-weight: 700;
}
.nstcv-stat i {
color: var(--nstcv-accent);
}
.nstcv-comments__head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
margin-bottom: 10px;
}
.nstcv-comments__title {
font-size: 1.05rem;
font-weight: 800;
display: flex;
gap: 8px;
align-items: center;
}
.nstcv-comments__title i {
color: var(--nstcv-cool);
}
.nstcv-comments__count {
min-width: 34px;
text-align: center;
padding: 4px 10px;
border-radius: 999px;
font-size: 0.8rem;
font-weight: 800;
background: rgba(255, 0, 80, 0.18);
border: 1px solid rgba(255, 0, 80, 0.35);
}
.nstcv-filters {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 10px;
}
.nstcv-filters__btn {
appearance: none;
border: 1px solid var(--nstcv-line);
background: rgba(255, 255, 255, 0.05);
color: var(--nstcv-muted);
border-radius: 999px;
padding: 7px 12px;
font-size: 0.8rem;
font-weight: 700;
cursor: pointer;
display: inline-flex;
gap: 6px;
align-items: center;
}
.nstcv-filters__btn.is-active {
color: #fff;
border-color: rgba(255, 0, 80, 0.55);
background: rgba(255, 0, 80, 0.2);
}
.nstcv-find {
width: 100%;
margin-bottom: 10px;
border: 1px solid var(--nstcv-line);
border-radius: 10px;
background: rgba(0, 0, 0, 0.3);
color: #fff;
padding: 10px 12px;
font-size: 0.88rem;
outline: none;
}
.nstcv-comments__list {
display: flex;
flex-direction: column;
gap: 10px;
max-height: min(62vh, 720px);
overflow: auto;
padding-right: 4px;
}
.nstcv-citem {
display: grid;
grid-template-columns: 40px minmax(0, 1fr);
gap: 10px;
padding: 10px;
border-radius: 12px;
border: 1px solid var(--nstcv-line);
background: rgba(255, 255, 255, 0.03);
}
.nstcv-citem__avatar {
width: 40px;
height: 40px;
border-radius: 50%;
object-fit: cover;
background: #222;
}
.nstcv-citem__top {
display: flex;
flex-wrap: wrap;
gap: 6px 10px;
align-items: baseline;
}
.nstcv-citem__nick {
font-weight: 800;
font-size: 0.9rem;
}
.nstcv-citem__user {
color: var(--nstcv-dim);
font-size: 0.8rem;
}
.nstcv-citem__verified {
color: var(--nstcv-cool);
font-size: 0.75rem;
}
.nstcv-citem__text {
margin-top: 4px;
color: var(--nstcv-muted);
font-size: 0.9rem;
white-space: pre-wrap;
word-break: break-word;
}
.nstcv-citem__meta {
margin-top: 8px;
display: flex;
flex-wrap: wrap;
gap: 10px;
color: var(--nstcv-dim);
font-size: 0.78rem;
font-weight: 600;
}
.nstcv-citem__meta i {
color: var(--nstcv-accent);
}
.nstcv-empty {
text-align: center;
padding: 28px 12px;
color: var(--nstcv-dim);
border: 1px dashed var(--nstcv-line);
border-radius: 12px;
}
.nstcv-empty i {
font-size: 1.6rem;
color: var(--nstcv-accent);
margin-bottom: 8px;
display: block;
}
.nstcv-more {
appearance: none;
width: 100%;
margin-top: 10px;
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: inline-flex;
gap: 8px;
align-items: center;
justify-content: center;
}
.nstcv-more:hover {
background: rgba(0, 242, 234, 0.2);
}
.nstcv-more:disabled {
opacity: .55;
cursor: not-allowed;
}
.nstcv-more.is-hidden {
display: none !important;
}
.nstcv-export {
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid var(--nstcv-line);
}
.nstcv-export__title {
font-size: 0.92rem;
font-weight: 800;
margin-bottom: 8px;
display: flex;
gap: 8px;
align-items: center;
}
.nstcv-export__row {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.nstcv-export__btn {
appearance: none;
border: 1px solid var(--nstcv-line);
background: rgba(255, 255, 255, 0.06);
color: #fff;
border-radius: 10px;
padding: 9px 12px;
font-weight: 700;
font-size: 0.82rem;
cursor: pointer;
display: inline-flex;
gap: 7px;
align-items: center;
}
.nstcv-export__btn--csv {
border-color: rgba(0, 242, 234, 0.4);
}
.nstcv-content.is-placeholder .nstcv-export {
opacity: .45;
pointer-events: none;
}
.nstcv-thumb--ghost {
background:
linear-gradient(135deg, rgba(255, 0, 80, 0.25), rgba(0, 242, 234, 0.12)),
repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.04) 0 8px, transparent 8px 16px);
}
.nstcv-modal {
position: fixed;
inset: 0;
z-index: 99999;
display: none;
place-items: center;
padding: 16px;
background: rgba(0, 0, 0, 0.72);
backdrop-filter: blur(4px);
}
.nstcv-modal.is-open {
display: grid;
}
.nstcv-modal__dialog {
width: min(920px, 100%);
max-height: min(92vh, 900px);
overflow: auto;
background: #12131a;
border: 1px solid var(--nstcv-line);
border-radius: 16px;
padding: 12px;
position: relative;
}
.nstcv-modal__close {
position: absolute;
top: 10px;
right: 10px;
z-index: 3;
width: 36px;
height: 36px;
border: 0;
border-radius: 50%;
background: rgba(0, 0, 0, 0.55);
color: #fff;
cursor: pointer;
}
.nstcv-modal__stage {
position: relative;
background: #000;
border-radius: 12px;
overflow: hidden;
min-height: 220px;
}
.nstcv-modal__media,
.nstcv-modal__video {
width: 100%;
max-height: min(70vh, 720px);
display: block;
margin: 0 auto;
background: #000;
}
.nstcv-modal__note {
position: absolute;
inset: 0;
display: none;
place-items: center;
background: rgba(0, 0, 0, 0.55);
color: #fff;
font-weight: 800;
text-align: center;
padding: 16px;
}
.nstcv-modal__note.is-visible {
display: grid;
}
.nstcv-modal__bar {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
justify-content: space-between;
margin-top: 10px;
}
.nstcv-modal__caption {
color: var(--nstcv-muted);
font-size: 0.88rem;
flex: 1 1 180px;
}
.nstcv-modal__actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.nstcv-modal__action {
appearance: none;
border: 0;
border-radius: 10px;
padding: 10px 14px;
font-weight: 800;
cursor: pointer;
color: #fff;
display: inline-flex;
gap: 8px;
align-items: center;
}
.nstcv-modal__action--play {
background: var(--nstcv-accent);
}
.nstcv-modal__action--download {
background: var(--nstcv-cool);
color: #041016;
}
.nstcv-dlprog {
display: none;
margin-top: 10px;
padding: 10px 12px;
border-radius: 12px;
background: rgba(0, 0, 0, 0.35);
border: 1px solid var(--nstcv-line);
}
.nstcv-dlprog.is-visible {
display: block;
}
.nstcv-dlprog__top {
display: flex;
justify-content: space-between;
gap: 8px;
font-size: 0.82rem;
font-weight: 700;
}
.nstcv-dlprog__track {
margin-top: 8px;
height: 8px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.1);
overflow: hidden;
}
.nstcv-dlprog__fill {
height: 100%;
width: 0;
background: linear-gradient(90deg, var(--nstcv-accent), var(--nstcv-cool));
}
.nstcv-dlprog__meta {
margin-top: 6px;
display: flex;
justify-content: space-between;
gap: 8px;
color: var(--nstcv-dim);
font-size: 0.78rem;
}
/* ------------------------------------------------------------------
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).
------------------------------------------------------------------- */
.nstcv {
--nstcv-cols: 1;
}
.nstcv-search__row {
display: flex;
flex-direction: column;
gap: 8px;
width: 100%;
min-width: 0;
}
.nstcv-search__field {
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
flex: 1 1 auto !important;
font-size: 16px !important;
}
.nstcv-search__actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
width: 100%;
}
.nstcv-btn {
flex: 1 1 calc(50% - 4px);
justify-content: center;
min-height: 44px;
}
.nstcv-layout {
display: grid;
grid-template-columns: 1fr;
gap: 14px;
width: 100%;
min-width: 0;
}
.nstcv-video__media-wrap {
max-width: 360px;
margin: 0 auto;
}
.nstcv.nstcv--desktop .nstcv-layout {
grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
align-items: start;
}
.nstcv.nstcv--desktop .nstcv-video__media-wrap {
max-width: none;
margin: 0;
}
.nstcv.nstcv--compact .nstcv-export__row {
flex-direction: column;
}
.nstcv.nstcv--compact .nstcv-export__btn {
width: 100%;
justify-content: center;
}
@media (min-width: 768px) {
.nstcv:not(.nstcv--compact) .nstcv-search__row {
flex-direction: row;
flex-wrap: wrap;
align-items: stretch;
}
.nstcv:not(.nstcv--compact) .nstcv-search__field {
flex: 1 1 220px !important;
width: auto !important;
}
.nstcv:not(.nstcv--compact) .nstcv-search__actions {
width: auto;
flex: 0 0 auto;
flex-wrap: nowrap;
}
.nstcv:not(.nstcv--compact) .nstcv-btn {
flex: 0 0 auto;
}
}
/* WordPress / Live Server narrow container (set by ResizeObserver) */
.nstcv.nstcv--compact .nstcv-search__row {
flex-direction: column !important;
}
.nstcv.nstcv--compact .nstcv-search__actions {
width: 100% !important;
display: flex !important;
flex-wrap: wrap !important;
}
.nstcv.nstcv--compact .nstcv-btn {
flex: 1 1 calc(50% - 4px) !important;
}
.nstcv.nstcv--compact .nstcv-search__field {
width: 100% !important;
flex: 1 1 100% !important;
}
.nstcv.nstcv--narrow .nstcv-btn {
flex: 1 1 100% !important;
}
.nstcv.nstcv--narrow .nstcv-search__actions {
flex-direction: column !important;
}
.nstcv.nstcv--narrow .nstcv-hero__title {
font-size: 1.15rem;
}
@media (hover: none) {
.nstcv-btn:hover,
.nstcv-more:hover {
transform: none;
}
}
@media (prefers-reduced-motion: reduce) {
.nstcv-sk {
animation: none;
}
.nstcv-btn {
transition: none;
}
}
/* Turnstile host: keep hidden in-flow; floating panel styles come from turnstile-handler.js */
.nstcv #xrespond-tools-turnstile-host {
display: none;
}
.nstcv #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 */
.nstcv .nstcv-search,
.nstcv .nstcv-search .nstcv-search__row,
.nstcv .nstcv-search .nstcv-search__actions {
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
box-sizing: border-box !important;
}
.nstcv .nstcv-search .nstcv-search__row {
display: flex !important;
flex-direction: row !important;
flex-wrap: nowrap !important;
align-items: stretch !important;
gap: 8px !important;
}
.nstcv .nstcv-search .nstcv-search__field,
.nstcv .nstcv-search .nstcv-search__row > .nstcv-search__field {
flex: 1 1 auto !important;
width: auto !important;
max-width: none !important;
min-width: 0 !important;
}
.nstcv .nstcv-search .nstcv-search__actions,
.nstcv .nstcv-search .nstcv-search__row > .nstcv-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;
}
.nstcv .nstcv-search .nstcv-search__row > .nstcv-btn,
.nstcv .nstcv-search .nstcv-search__actions .nstcv-btn,
.nstcv .nstcv-search .nstcv-search__row .nstcv-search__actions .nstcv-btn {
flex: 0 0 auto !important;
width: auto !important;
max-width: none !important;
min-width: 110px !important;
}
.nstcv.nstcv--compact .nstcv-search .nstcv-search__row,
.nstcv.nstcv--narrow .nstcv-search .nstcv-search__row {
flex-wrap: wrap !important;
}
.nstcv.nstcv--compact .nstcv-search .nstcv-search__field,
.nstcv.nstcv--narrow .nstcv-search .nstcv-search__field,
.nstcv.nstcv--compact .nstcv-search .nstcv-search__row > .nstcv-search__field,
.nstcv.nstcv--narrow .nstcv-search .nstcv-search__row > .nstcv-search__field {
flex: 1 1 100% !important;
width: 100% !important;
max-width: 100% !important;
}
.nstcv.nstcv--compact .nstcv-search .nstcv-search__actions,
.nstcv.nstcv--narrow .nstcv-search .nstcv-search__actions,
.nstcv.nstcv--compact .nstcv-search .nstcv-search__row > .nstcv-search__actions,
.nstcv.nstcv--narrow .nstcv-search .nstcv-search__row > .nstcv-search__actions {
flex: 1 1 100% !important;
width: 100% !important;
max-width: 100% !important;
}
.nstcv.nstcv--compact .nstcv-search .nstcv-search__row > .nstcv-btn,
.nstcv.nstcv--narrow .nstcv-search .nstcv-search__row > .nstcv-btn,
.nstcv.nstcv--compact .nstcv-search .nstcv-search__actions .nstcv-btn,
.nstcv.nstcv--narrow .nstcv-search .nstcv-search__actions .nstcv-btn,
.nstcv.nstcv--compact .nstcv-search .nstcv-search__row .nstcv-search__actions .nstcv-btn,
.nstcv.nstcv--narrow .nstcv-search .nstcv-search__row .nstcv-search__actions .nstcv-btn {
flex: 1 1 calc(50% - 4px) !important;
min-width: 0 !important;
max-width: 100% !important;
}
@media (max-width: 720px) {
.nstcv .nstcv-search .nstcv-search__row {
flex-wrap: wrap !important;
}
.nstcv .nstcv-search .nstcv-search__field,
.nstcv .nstcv-search .nstcv-search__row > .nstcv-search__field {
flex: 1 1 100% !important;
width: 100% !important;
max-width: 100% !important;
}
.nstcv .nstcv-search .nstcv-search__actions,
.nstcv .nstcv-search .nstcv-search__row > .nstcv-search__actions {
flex: 1 1 100% !important;
width: 100% !important;
max-width: 100% !important;
}
.nstcv .nstcv-search .nstcv-search__row > .nstcv-btn,
.nstcv .nstcv-search .nstcv-search__actions .nstcv-btn,
.nstcv .nstcv-search .nstcv-search__row .nstcv-search__actions .nstcv-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.5.0/css/all.min.css");

:root {
    --primary: #ff0050;
    --secondary: #00f2ea;
    --accent: #ff4081;
    --purple: #8b5cf6;
    --orange: #ff8800;
    --green: #00ff88;
    --blue: #0ea5e9;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: rgba(30, 41, 59, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --border: #475569;
    --border-light: #64748b;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.8);
    --glow-primary: 0 0 30px rgba(255, 0, 80, 0.3);
    --glow-secondary: 0 0 30px rgba(0, 242, 234, 0.3);
    --gradient-primary: linear-gradient(135deg, #ff0050, #ff4081, #ff6b9d);
    --gradient-secondary: linear-gradient(135deg, #00f2ea, #00d4aa, #00ff88);
    --gradient-purple: linear-gradient(135deg, #8b5cf6, #a855f7, #c084fc);
    --gradient-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.tiktok_body {
    font-family: 'Inter', sans-serif;
    background: var(--gradient-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

.tiktok_body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 0, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 242, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container_tiktok{
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: var(--shadow-lg), var(--glow-primary);
    animation: logoFloat 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: logoShine 3s ease-in-out infinite;
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 0.25rem;
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    max-width: 700px;
    width: 100%;
}

.search-form {
    display: flex;
    gap: 1rem;
    position: relative;
    width: 100%;
}

.search-input {
    flex: 1 !important;
    padding: 1rem 1.5rem !important;
    background: rgba(30, 41, 59, 0.9) !important;
    backdrop-filter: blur(15px) !important;
    border: 2px solid var(--border) !important;
    border-radius: 16px !important;
    color: var(--text-primary) !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    outline: none !important;
    transition: all 0.3s ease !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.search-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(255, 0, 80, 0.1), var(--glow-primary), inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px) !important;
    background: rgba(30, 41, 59, 0.95) !important;
}

.search-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.search-input:not(:placeholder-shown) {
    background: rgba(30, 41, 59, 0.95);
    border-color: var(--border-light);
    font-weight: 600;
}

.search-btn {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.search-btn::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-btn:hover:not(:disabled)::before {
    left: 100%;
}

.search-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--glow-primary);
}

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

.search-another-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-another-btn:hover {
    background: var(--bg-tertiary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* Main Content */
.main-content {
    flex: 1;
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 1.5rem;
    min-height: 0;
}

/* Video Section */
.video-section {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-secondary);
}

/* Video Stats Bar */
.video-stats-bar {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 0, 80, 0.1), rgba(139, 92, 246, 0.1));
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.video-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-stat-item i {
    font-size: 1rem;
}

.video-stat-item .fa-eye {
    color: #ec4899;
}

.video-stat-item .fa-heart {
    color: #ef4444;
}

.video-stat-item .fa-comment {
    color: #3b82f6;
}

.video-stat-item .fa-share {
    color: #10b981;
}

.video-stat-value {
    font-weight: 700;
    color: var(--text-primary);
}

.video-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.video-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--text-primary);
}

.video-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(0, 242, 234, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 16px;
    border: 1px solid rgba(0, 242, 234, 0.2);
    box-shadow: var(--shadow);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary);
    box-shadow: var(--shadow);
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-username {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.author-verified {
    color: var(--blue);
    font-size: 0.9rem;
}

.video-player-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    position: relative;
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9/16;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: #000;
}

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

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.6);
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl), var(--glow-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.play-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.play-button:hover::before {
    transform: translateX(100%);
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl), var(--glow-primary);
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
}

.video-player.playing {
    display: block;
}

/* Video Controls */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 10;
}

.video-player-wrapper:hover .video-controls {
    transform: translateY(0);
}

.progress-container {
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(255, 0, 80, 0.5);
}

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

.control-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.control-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
    box-shadow: var(--shadow);
}

.play-control-btn {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    font-size: 1.2rem;
    border: none;
    box-shadow: var(--shadow-lg), var(--glow-primary);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.volume-fill {
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: 3px;
    width: 100%;
    transition: width 0.1s ease;
    box-shadow: 0 0 8px rgba(0, 242, 234, 0.4);
}

.time-display {
    font-size: 0.8rem;
    color: white;
    font-weight: 500;
}

/* Loading States */
.loading-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

.loading-text {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Comments Section */
.comments-section {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.comments-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-purple);
}

.comments-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(255, 64, 129, 0.1));
}

.comments-title {
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.comments-count {
    background: var(--gradient-purple);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--shadow);
    min-width: 40px;
    text-align: center;
}

.comments-container {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    max-height: calc(100vh - 300px);
    min-height: 400px;
    position: relative;
}

/* Always visible scrollbar */
.comments-container::-webkit-scrollbar {
    width: 12px;
}

.comments-container::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 6px;
    margin: 4px;
}

.comments-container::-webkit-scrollbar-thumb {
    background: var(--gradient-purple);
    border-radius: 6px;
    border: 2px solid var(--bg-secondary);
}

.comments-container::-webkit-scrollbar-thumb:hover {
    background: var(--purple);
}

/* Firefox scrollbar */
.comments-container {
    scrollbar-width: auto;
    scrollbar-color: var(--purple) var(--bg-secondary);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-purple);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    display: none;
    align-items: center;
    gap: 0.5rem;
    animation: scrollPulse 2s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.scroll-indicator.show {
    display: flex;
}

.scroll-indicator i {
    animation: scrollBounce 1.5s ease-in-out infinite;
}

.comments-list {
    padding: 0;
}

.comment-item {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    animation: commentSlideIn 0.5s ease-out;
}

.comment-item:hover {
    background: rgba(139, 92, 246, 0.05);
    transform: translateX(5px);
}

.comment-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-purple);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.comment-item:hover::before {
    transform: scaleY(1);
}

.comment-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.comment-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-light);
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    font-weight: 700;
}

.comment-avatar:hover {
    border-color: var(--purple);
    transform: scale(1.05);
}

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

.comment-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.comment-author {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.comment-username {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.comment-verified {
    color: var(--blue);
    font-size: 0.8rem;
}

.comment-region {
    background: rgba(0, 242, 234, 0.1);
    color: var(--secondary);
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.comment-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-primary);
    word-wrap: break-word;
    margin-bottom: 0.75rem;
}

.comment-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.comment-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.comment-stat {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.comment-stat:hover {
    color: var(--primary);
    transform: scale(1.05);
}

.comment-stat i {
    font-size: 0.9rem;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.comment-time {
    font-weight: 500;
}

.comment-id {
    font-family: 'Courier New', monospace;
    background: rgba(107, 114, 128, 0.1);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 1rem 1.5rem;
    margin: 1rem;
    border-radius: 12px;
    display: none;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.error-message.show {
    display: flex;
    animation: errorSlideIn 0.3s ease-out;
}

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

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes logoShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes commentSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

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

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

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

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(3px);
    }
}
    
    .button-group {
display: flex;
gap: 1rem;
flex-wrap: wrap;
flex-shrink: 0;
justify-content: center;
}
    
    .header-content {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 1.5rem;
flex-direction: column;
}
    .search-container {
display: flex;
flex-direction: column;
gap: 1rem;
flex: 1;
max-width: 700px;
width: 100%;
}
    
    .search-form {
display: flex;
gap: 1rem;
position: relative;
width: 100%;
flex-direction: column;
}

/* Responsive Design */

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .container {
        padding: 0.5rem;
    }

    .header {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .main-content {
        gap: 0.75rem;
    }

    .video-player-wrapper {
        max-width: 200px;
    }

    .comments-container {
        max-height: calc(100vh - 150px);
        min-height: 200px;
    }

    .comment-item {
        padding: 0.75rem 1rem;
    }
}

/* Fix for input width consistency */
.search-input {
    flex: 1;
    min-width: 0;
    /* Prevents flex item from growing beyond container */
    width: 100%;
    /* Ensures consistent width */
    box-sizing: border-box;
}

.search-form {
    display: flex;
    gap: 1rem;
    position: relative;
    width: 100%;
    /* Ensures form takes full width */
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    max-width: 700px;
    width: 100%;
    /* Ensures container takes full width */
}

/* Ensure button group maintains consistent width */
.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    flex-shrink: 0;
    /* Prevents buttons from shrinking */
}

/* Ensure search buttons maintain consistent width */
.search-btn,
.search-another-btn {
    white-space: nowrap;
    flex-shrink: 0;
    /* Prevents buttons from shrinking */
}

/* Additional fixes for input consistency */
.search-input:focus,
.search-input:not(:placeholder-shown),
.search-input:disabled {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 1 !important;
}

/* Ensure form layout consistency */
.search-form:has(.search-input:focus),
.search-form:has(.search-input:not(:placeholder-shown)) {
    width: 100% !important;
    display: flex !important;
    gap: 1rem !important;
}

/* Prevent any width changes during loading states */
.search-container:has(.search-btn:disabled) .search-input,
.search-container:has(.search-btn:disabled) .search-form {
    width: 100% !important;
    min-width: 0 !important;
}
    
    
    /* Responsive Design for smaller screens */
@media (max-width: 992px) {
.main-content {
grid-template-columns: 1fr; /* Stack video and comments vertically */
}

.video-section,
.comments-section {
margin-bottom: 1.5rem; /* Add spacing between stacked sections */
}

.comments-container {
max-height: 600px; /* Adjust max height for comments when stacked */
min-height: 300px;
}
}

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

.header {
padding: 1.5rem;
}

.header-content {
flex-direction: column; /* Stack logo, search, and buttons */
align-items: center;
text-align: center;
}

.logo {
flex-direction: column;
gap: 0.75rem;
margin-bottom: 1rem;
}

.logo-icon {
width: 50px;
height: 50px;
font-size: 1.5rem;
}

.logo-text {
font-size: 1.8rem;
}

.logo-subtitle {
font-size: 0.8rem;
}

.search-container {
max-width: 100%; /* Allow search to take full width */
}

.search-form {
flex-direction: column; /* Stack search input and button */
gap: 0.75rem;
}

.search-input {
padding: 0.75rem 1rem !important;
font-size: 0.9rem !important;
}

.search-btn {
padding: 0.75rem 1.5rem;
font-size: 0.9rem;
width: 100%; /* Make search button full width */
}

.button-group {
width: 100%; /* Ensure button group takes full width */
justify-content: center; /* Center buttons */
gap: 0.75rem;
}

.search-another-btn {
padding: 0.75rem 1rem;
font-size: 0.9rem;
flex-grow: 1; /* Allow buttons to grow and share space */
}

.video-stats-bar {
padding: 0.75rem 1rem;
gap: 0.75rem;
}

.video-stat-item {
padding: 0.4rem 0.8rem;
font-size: 0.8rem;
}

.video-header {
padding: 1rem;
}

.video-title {
font-size: 1rem;
}

.video-author {
padding: 0.75rem;
gap: 0.75rem;
}

.author-avatar {
width: 40px;
height: 40px;
font-size: 1rem;
}

.author-info h4 {
font-size: 1rem;
}

.author-username {
font-size: 0.8rem;
}

.video-player-container {
padding: 1rem;
}

.video-player-wrapper {
max-width: 280px; /* Slightly smaller video player */
}

.play-button {
width: 60px;
height: 60px;
font-size: 1.5rem;
}

.video-controls {
padding: 1rem;
}

.control-btn {
width: 36px;
height: 36px;
font-size: 0.9rem;
}

.play-control-btn {
width: 42px;
height: 42px;
font-size: 1rem;
}

.volume-slider {
width: 60px;
}

.time-display {
font-size: 0.75rem;
}

.comments-header {
padding: 1rem;
}

.comments-title {
font-size: 1.1rem;
gap: 0.5rem;
}

.comments-count {
padding: 0.25rem 0.6rem;
font-size: 0.75rem;
min-width: 35px;
}

.comment-item {
padding: 1rem 1.25rem;
}

.comment-avatar {
width: 38px;
height: 38px;
font-size: 0.9rem;
}

.comment-user-info {
flex-direction: column; /* Stack user info elements if needed */
align-items: flex-start;
gap: 0.25rem;
}

.comment-author {
font-size: 0.9rem;
}

.comment-username {
font-size: 0.8rem;
}

.comment-text {
font-size: 0.9rem;
}

.comment-footer {
flex-direction: column; /* Stack footer elements */
align-items: flex-start;
gap: 0.75rem;
}

.comment-stats {
gap: 1rem;
}

.comment-stat {
font-size: 0.8rem;
}

.comment-meta {
font-size: 0.7rem;
}
}

@media (max-width: 600px) {
.container_tiktok {
padding: 0.75rem;
}

.header {
padding: 1rem;
border-radius: 15px;
}

.logo-text {
font-size: 1.6rem;
}

.search-input {
font-size: 0.85rem !important;
}

.search-btn,
.search-another-btn {
font-size: 0.85rem;
padding: 0.65rem 1.25rem;
border-radius: 12px;
}

.video-section,
.comments-section {
border-radius: 15px;
}

.video-stat-item {
font-size: 0.75rem;
padding: 0.3rem 0.6rem;
}

.video-title {
font-size: 0.95rem;
}

.author-info h4 {
font-size: 0.95rem;
}

.author-username {
font-size: 0.75rem;
}

.video-player-wrapper {
max-width: 250px; /* Smaller video player */
}

.play-button {
width: 50px;
height: 50px;
font-size: 1.2rem;
}

.control-btn {
width: 32px;
height: 32px;
font-size: 0.8rem;
}

.play-control-btn {
width: 38px;
height: 38px;
font-size: 0.9rem;
}

.comments-title {
font-size: 1rem;
}

.comment-item {
padding: 0.9rem 1rem;
}

.comment-avatar {
width: 34px;
height: 34px;
font-size: 0.8rem;
}

.comment-author {
font-size: 0.85rem;
}

.comment-username {
font-size: 0.75rem;
}

.comment-text {
font-size: 0.85rem;
}

.comment-stat {
font-size: 0.75rem;
}
.scroll-indicator {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
background: var(--gradient-purple);
color: white;
padding: 0.75rem 1.5rem;
border-radius: 25px;
font-size: 0.85rem;
font-weight: 600;
box-shadow: var(--shadow-lg);
z-index: 100;
display: none !important;
align-items: center;
gap: 0.5rem;
animation: scrollPulse 2s ease-in-out infinite;
cursor: pointer;
transition: all 0.3s ease;
}
}

@media (max-width: 400px) {
.container_tiktok {
padding: 0.5rem;
}

.header {
padding: 0.75rem;
border-radius: 12px;
}

.logo-icon {
width: 45px;
height: 45px;
font-size: 1.3rem;
}

.logo-text {
font-size: 1.4rem;
}

.search-input {
padding: 0.6rem 0.8rem !important;
font-size: 0.8rem !important;
}

.search-btn,
.search-another-btn {
font-size: 0.8rem;
padding: 0.5rem 1rem;
border-radius: 10px;
}

.video-section,
.comments-section {
border-radius: 12px;
}

.video-stat-item {
font-size: 0.7rem;
padding: 0.25rem 0.5rem;
flex-shrink: 0; /* Prevent items from squishing too much */
}

.video-title {
font-size: 0.9rem;
}

.author-avatar {
width: 35px;
height: 35px;
font-size: 0.9rem;
}

.author-info h4 {
font-size: 0.9rem;
}

.author-username {
font-size: 0.7rem;
}

.video-player-wrapper {
max-width: 220px; /* Even smaller video player */
}

.play-button {
width: 45px;
height: 45px;
font-size: 1.1rem;
}

.control-btn {
width: 30px;
height: 30px;
font-size: 0.75rem;
}

.play-control-btn {
width: 35px;
height: 35px;
font-size: 0.85rem;
}

.volume-control {
gap: 0.5rem;
}

.volume-slider {
width: 50px;
}

.time-display {
font-size: 0.7rem;
}

.comments-header {
padding: 0.75rem;
}

.comments-title {
font-size: 0.9rem;
}

.comments-count {
padding: 0.2rem 0.5rem;
font-size: 0.7rem;
min-width: 30px;
}

.comment-item {
padding: 0.8rem 0.9rem;
}

.comment-avatar {
width: 30px;
height: 30px;
font-size: 0.75rem;
}

.comment-author {
font-size: 0.8rem;
}

.comment-username {
font-size: 0.7rem;
}

.comment-text {
font-size: 0.8rem;
}

.comment-stats {
gap: 0.8rem;
}

.comment-stat {
font-size: 0.7rem;
}
.scroll-indicator {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
background: var(--gradient-purple);
color: white;
padding: 0.75rem 1.5rem;
border-radius: 25px;
font-size: 0.85rem;
font-weight: 600;
box-shadow: var(--shadow-lg);
z-index: 100;
display: none !important;
align-items: center;
gap: 0.5rem;
animation: scrollPulse 2s ease-in-out infinite;
cursor: pointer;
transition: all 0.3s ease;
}
}

@media (max-width: 375px) {
.container_tiktok {
padding: 0.4rem;
}

.header {
padding: 0.6rem;
border-radius: 10px;
}

.logo-icon {
width: 40px;
height: 40px;
font-size: 1.2rem;
}

.logo-text {
font-size: 1.3rem;
}

.logo-subtitle {
font-size: 0.7rem;
}

.search-input {
padding: 0.5rem 0.7rem !important;
font-size: 0.75rem !important;
}

.search-btn,
.search-another-btn {
font-size: 0.75rem;
padding: 0.45rem 0.9rem;
border-radius: 8px;
}

.video-section,
.comments-section {
border-radius: 10px;
}

.video-stats-bar {
padding: 0.6rem 0.7rem;
gap: 0.5rem;
}

.video-stat-item {
font-size: 0.65rem;
padding: 0.2rem 0.4rem;
}

.video-title {
font-size: 0.85rem;
margin-bottom: 0.75rem;
}

.author-avatar {
width: 32px;
height: 32px;
font-size: 0.8rem;
}

.author-info h4 {
font-size: 0.85rem;
}

.author-username {
font-size: 0.65rem;
}

.video-player-wrapper {
max-width: 190px; /* Smallest video player */
}

.play-button {
width: 40px;
height: 40px;
font-size: 1rem;
}

.control-btn {
width: 28px;
height: 28px;
font-size: 0.7rem;
}

.play-control-btn {
width: 32px;
height: 32px;
font-size: 0.8rem;
}

.volume-slider {
width: 45px;
}

.time-display {
font-size: 0.65rem;
}

.comments-header {
padding: 0.6rem;
}

.comments-title {
font-size: 0.85rem;
gap: 0.4rem;
}

.comments-count {
padding: 0.15rem 0.4rem;
font-size: 0.65rem;
min-width: 28px;
}

.comment-item {
padding: 0.7rem 0.8rem;
}

.comment-avatar {
width: 28px;
height: 28px;
font-size: 0.7rem;
}

.comment-author {
font-size: 0.75rem;
}

.comment-username {
font-size: 0.65rem;
}

.comment-text {
font-size: 0.75rem;
margin-bottom: 0.6rem;
}

.comment-stats {
gap: 0.7rem;
}

.comment-stat {
font-size: 0.65rem;
}

.comment-meta {
font-size: 0.6rem;
gap: 0.7rem;
}
.scroll-indicator {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
background: var(--gradient-purple);
color: white;
padding: 0.75rem 1.5rem;
border-radius: 25px;
font-size: 0.85rem;
font-weight: 600;
box-shadow: var(--shadow-lg);
z-index: 100;
display: none !important;
align-items: center;
gap: 0.5rem;
animation: scrollPulse 2s ease-in-out infinite;
cursor: pointer;
transition: all 0.3s ease;
}
}

/* --- Codex CSS updates --- */
:root {
    --primary: #ff2d6f;
    --secondary: #14f1e4;
    --accent: #ff6aa2;
    --purple: #8f6df8;
    --orange: #f59e0b;
    --green: #22c55e;
    --blue: #38bdf8;
    --bg-primary: #07111f;
    --bg-secondary: #111c2d;
    --bg-tertiary: #1d2a3e;
    --bg-card: rgba(15, 27, 44, 0.82);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #8ea0b8;
    --border: rgba(148, 163, 184, 0.24);
    --border-light: rgba(203, 213, 225, 0.38);
    --shadow: 0 10px 30px rgba(2, 8, 23, 0.28);
    --shadow-lg: 0 18px 50px rgba(2, 8, 23, 0.38);
    --shadow-xl: 0 26px 70px rgba(2, 8, 23, 0.5);
    --glow-primary: 0 0 28px rgba(255, 45, 111, 0.25);
    --glow-secondary: 0 0 28px rgba(20, 241, 228, 0.22);
    --gradient-primary: linear-gradient(135deg, #ff2d6f 0%, #ff4fa3 52%, #8f6df8 100%);
    --gradient-secondary: linear-gradient(135deg, #14f1e4 0%, #22c55e 100%);
    --gradient-purple: linear-gradient(135deg, #7c3aed 0%, #a855f7 48%, #ec4899 100%);
    --gradient-bg: radial-gradient(circle at 18% 12%, rgba(255, 45, 111, 0.16), transparent 34%),
        radial-gradient(circle at 84% 18%, rgba(20, 241, 228, 0.14), transparent 32%),
        linear-gradient(135deg, #07111f 0%, #101b2e 52%, #17243a 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.tiktok_body {
    font-family: 'Inter', Arial, sans-serif;
    background: var(--gradient-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    isolation: isolate;
}

.tiktok_body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 45, 111, 0.12) 0%, transparent 42%),
        radial-gradient(circle at 80% 82%, rgba(20, 241, 228, 0.1) 0%, transparent 44%),
        radial-gradient(circle at 45% 58%, rgba(143, 109, 248, 0.1) 0%, transparent 42%);
    pointer-events: none;
    z-index: -1;
}

.container_tiktok {
    max-width: 1440px;
    margin: 0 auto;
    padding: clamp(0.875rem, 2vw, 1.5rem);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Font Awesome support */
.fas,
.fab {
    display: inline-block;
    font-style: normal;
    line-height: 1;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.fas {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

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

.fa-check-circle,
.fa-chevron-down,
.fa-comment-slash,
.fa-comments,
.fa-exclamation-triangle,
.fa-pause,
.fa-play,
.fa-redo,
.fa-reply,
.fa-search,
.fa-spin,
.fa-spinner,
.fa-tiktok,
.fa-user,
.fa-users,
.fa-video,
.fa-volume-mute,
.fa-volume-up {
    display: inline-block;
    flex-shrink: 0;
}

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

.hidden {
    display: none !important;
}

/* Header */
.header {
    background: linear-gradient(145deg, rgba(15, 27, 44, 0.9), rgba(21, 34, 54, 0.78));
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: clamp(1rem, 2.2vw, 1.75rem);
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--gradient-primary);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1rem, 2vw, 1.5rem);
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 260px;
}

.logo-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    color: #ffffff;
    box-shadow: var(--shadow-lg), var(--glow-primary);
    animation: logoFloat 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -55%;
    left: -55%;
    width: 210%;
    height: 210%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.24), transparent);
    animation: logoShine 4s ease-in-out infinite;
}

.logo-text {
    font-size: clamp(1.55rem, 2.5vw, 2rem);
    line-height: 1.15;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0;
    text-transform: capitalize !important;
}

.logo-subtitle {
    font-size: clamp(0.82rem, 1.4vw, 0.95rem);
    line-height: 1.45;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 0.3rem;
    text-transform: capitalize !important;
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    flex: 1;
    max-width: 760px;
    width: 100%;
    min-width: 280px;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    position: relative;
    width: 100%;
}

.search-input {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;
    padding: 0 1.1rem !important;
    background: rgba(8, 18, 32, 0.72) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 14px !important;
    color: var(--text-primary) !important;
    font-size: 1rem !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    outline: none !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 24px rgba(2, 8, 23, 0.18) !important;
    resize: none !important;
    overflow: hidden !important;
    appearance: none;
}

.search-input:focus {
    border-color: rgba(255, 79, 163, 0.85) !important;
    box-shadow: 0 0 0 4px rgba(255, 45, 111, 0.16), var(--glow-primary), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    transform: translateY(-1px) !important;
    background: rgba(12, 24, 40, 0.92) !important;
}

.search-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.search-input:not(:placeholder-shown) {
    background: rgba(12, 24, 40, 0.92);
    border-color: var(--border-light);
    font-weight: 600;
}

.search-input:disabled {
    opacity: 0.68;
    cursor: not-allowed;
}

.search-btn {
    background: var(--gradient-primary);
    border: 0;
    color: #ffffff;
    min-height: 54px;
    padding: 0 1.45rem;
    border-radius: 14px;
    font-size: 0.96rem;
    line-height: 1;
    font-weight: 750;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    box-shadow: var(--shadow), var(--glow-primary);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-transform: capitalize !important;
}

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

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

.search-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), var(--glow-primary);
}

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

.search-btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.24);
    outline-offset: 3px;
}

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

.search-another-btn {
    background: rgba(15, 27, 44, 0.76);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    min-height: 54px;
    padding: 0 1.25rem;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1;
    font-weight: 650;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(2, 8, 23, 0.18);
    text-transform: capitalize !important;
}

.search-another-btn:hover {
    background: rgba(29, 42, 62, 0.92);
    border-color: rgba(20, 241, 228, 0.42);
    transform: translateY(-2px);
    box-shadow: var(--shadow), var(--glow-secondary);
}

.search-another-btn:focus-visible {
    outline: 3px solid rgba(20, 241, 228, 0.24);
    outline-offset: 3px;
}

.button-group {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.9rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* Main Content */
.main-content {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
    gap: 1.25rem;
    min-height: 0;
    width: 100%;
}

/* Video Section */
.video-section {
    background: linear-gradient(145deg, rgba(15, 27, 44, 0.88), rgba(17, 28, 45, 0.76));
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    min-width: 0;
}

.video-section::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--gradient-secondary);
}

/* Video Stats Bar */
.video-stats-bar {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 45, 111, 0.1), rgba(143, 109, 248, 0.1));
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.video-stat-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.86rem;
    line-height: 1.2;
    color: var(--text-secondary);
    padding: 0.55rem 0.75rem;
    background: rgba(255, 255, 255, 0.055);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 36px;
}

.video-stat-item:hover {
    transform: translateY(-2px);
    border-color: var(--border-light);
    background: rgba(255, 255, 255, 0.075);
}

.video-stat-item i {
    font-size: 0.95rem;
}

.video-stat-item .fa-eye {
    color: #f472b6;
}

.video-stat-item .fa-heart {
    color: #fb7185;
}

.video-stat-item .fa-comment {
    color: #60a5fa;
}

.video-stat-item .fa-share {
    color: #34d399;
}

.video-stat-value {
    font-weight: 800;
    color: var(--text-primary);
}

.video-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.video-title {
    font-size: 1.05rem;
    font-weight: 750;
    margin-bottom: 1rem;
    line-height: 1.45;
    color: var(--text-primary);
    letter-spacing: 0;
}

.video-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem;
    background: linear-gradient(135deg, rgba(20, 241, 228, 0.1), rgba(56, 189, 248, 0.08));
    border-radius: 14px;
    border: 1px solid rgba(20, 241, 228, 0.2);
    box-shadow: var(--shadow);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(20, 241, 228, 0.86);
    box-shadow: 0 8px 22px rgba(20, 241, 228, 0.14);
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 800;
    flex-shrink: 0;
}

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

.author-info h4 {
    font-size: 1rem;
    font-weight: 750;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    line-height: 1.3;
    word-break: break-word;
}

.author-username {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.35;
    word-break: break-word;
}

.author-verified {
    color: var(--blue);
    font-size: 0.9rem;
}

.video-player-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 2vw, 1.35rem);
    position: relative;
    min-height: 0;
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    max-width: 310px;
    aspect-ratio: 9 / 16;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.video-player-wrapper:hover .video-thumbnail {
    transform: scale(1.025);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.48));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-overlay:hover {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.62));
}

.play-button {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl), var(--glow-primary);
    position: relative;
    overflow: hidden;
}

.play-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transform: translateX(-120%);
    transition: transform 0.55s ease;
}

.play-button:hover::before {
    transform: translateX(120%);
}

.play-button:hover {
    transform: scale(1.08);
}

.play-button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.26);
    outline-offset: 4px;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
}

.video-player.playing {
    display: block;
}

/* Video Controls */
.video-controls {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 1.25rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 10;
}

.video-player-wrapper:hover .video-controls {
    transform: translateY(0);
}

.progress-container {
    margin-bottom: 0.9rem;
}

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

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 999px;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(255, 45, 111, 0.5);
}

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

.control-group {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.control-btn {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: scale(1.08);
    box-shadow: var(--shadow);
}

.control-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.32);
    outline-offset: 3px;
}

.play-control-btn {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    font-size: 1.1rem;
    border: 0;
    box-shadow: var(--shadow), var(--glow-primary);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

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

.volume-fill {
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: 999px;
    width: 100%;
    transition: width 0.1s ease;
    box-shadow: 0 0 8px rgba(20, 241, 228, 0.42);
}

.time-display {
    font-size: 0.78rem;
    color: #ffffff;
    font-weight: 600;
    white-space: nowrap;
}

/* Loading States */
.loading-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 5vw, 3rem);
    text-align: center;
}

.loading-spinner {
    width: 56px;
    height: 56px;
    border: 3px solid rgba(148, 163, 184, 0.26);
    border-top: 3px solid var(--primary);
    border-right-color: var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.25rem;
    box-shadow: var(--glow-primary);
}

.loading-text {
    font-size: 1.12rem;
    font-weight: 800;
    margin-bottom: 0.45rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.loading-subtext {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Comments Section */
.comments-section {
    background: linear-gradient(145deg, rgba(15, 27, 44, 0.88), rgba(17, 28, 45, 0.76));
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    min-width: 0;
}

.comments-section::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--gradient-purple);
}

.comments-header {
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(143, 109, 248, 0.11), rgba(255, 79, 163, 0.08));
}

.comments-title {
    font-size: 1.16rem;
    font-weight: 800;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text-primary);
}

.comments-count {
    background: var(--gradient-purple);
    color: #ffffff;
    padding: 0.34rem 0.7rem;
    border-radius: 9px;
    font-size: 0.82rem;
    line-height: 1;
    font-weight: 800;
    box-shadow: var(--shadow);
    min-width: 38px;
    text-align: center;
}

.comments-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    max-height: calc(100vh - 300px);
    min-height: 400px;
    position: relative;
    scrollbar-width: auto;
    scrollbar-color: var(--purple) var(--bg-secondary);
}

/* Always visible scrollbar */
.comments-container::-webkit-scrollbar {
    width: 11px;
}

.comments-container::-webkit-scrollbar-track {
    background: rgba(17, 28, 45, 0.9);
    border-radius: 999px;
    margin: 4px;
}

.comments-container::-webkit-scrollbar-thumb {
    background: var(--gradient-purple);
    border-radius: 999px;
    border: 2px solid rgba(17, 28, 45, 0.95);
}

.comments-container::-webkit-scrollbar-thumb:hover {
    background: var(--purple);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-purple);
    color: #ffffff;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    display: none;
    align-items: center;
    gap: 0.5rem;
    animation: scrollPulse 2s ease-in-out infinite;
    cursor: pointer;
    white-space: nowrap;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.scroll-indicator.show {
    display: flex;
}

.scroll-indicator i {
    animation: scrollBounce 1.5s ease-in-out infinite;
}

.comments-list {
    padding: 0;
}

.comment-item {
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid var(--border);
    position: relative;
    animation: commentSlideIn 0.45s ease-out;
}

.comment-item:hover {
    background: rgba(143, 109, 248, 0.06);
    transform: translateX(4px);
}

.comment-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-purple);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.comment-item:hover::before {
    transform: scaleY(1);
}

.comment-header {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 0.7rem;
}

.comment-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-light);
    flex-shrink: 0;
    box-shadow: var(--shadow);
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 800;
}

.comment-avatar:hover {
    border-color: var(--purple);
    transform: scale(1.05);
}

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

.comment-user-info {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.45rem;
    flex-wrap: wrap;
}

.comment-author {
    font-size: 0.94rem;
    font-weight: 750;
    color: var(--text-primary);
    line-height: 1.35;
    word-break: break-word;
}

.comment-username {
    font-size: 0.84rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.35;
    word-break: break-word;
}

.comment-verified {
    color: var(--blue);
    font-size: 0.8rem;
}

.comment-region {
    background: rgba(20, 241, 228, 0.1);
    color: var(--secondary);
    padding: 0.15rem 0.48rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 750;
    text-transform: uppercase;
}

.comment-text {
    font-size: 0.94rem;
    line-height: 1.55;
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: anywhere;
    margin-bottom: 0.75rem;
}

.comment-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.comment-stats {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    flex-wrap: wrap;
}

.comment-stat {
    display: flex;
    align-items: center;
    gap: 0.34rem;
    font-size: 0.84rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.comment-stat:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.comment-stat i {
    font-size: 0.88rem;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.comment-time {
    font-weight: 500;
}

.comment-id {
    font-family: 'Courier New', monospace;
    background: rgba(148, 163, 184, 0.12);
    padding: 0.15rem 0.38rem;
    border-radius: 5px;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(2.5rem, 6vw, 4rem) 1.25rem;
    text-align: center;
    color: var(--text-secondary);
    min-height: 260px;
}

.empty-state i {
    font-size: clamp(2.8rem, 7vw, 4rem);
    margin-bottom: 1.25rem;
    opacity: 0.72;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.empty-state h3 {
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.empty-state p {
    font-size: 0.94rem;
    line-height: 1.5;
    max-width: 34rem;
}

.error-message {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.34);
    color: #fecaca;
    padding: 0.95rem 1.1rem;
    margin: 1rem;
    border-radius: 12px;
    display: none;
    align-items: center;
    gap: 0.7rem;
    font-weight: 650;
    line-height: 1.45;
    box-shadow: 0 12px 28px rgba(127, 29, 29, 0.18);
}

.error-message.show {
    display: flex;
    animation: errorSlideIn 0.3s ease-out;
}

/* Form consistency states */
.search-input:focus,
.search-input:not(:placeholder-shown),
.search-input:disabled {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
}

.search-form:has(.search-input:focus),
.search-form:has(.search-input:not(:placeholder-shown)) {
    width: 100% !important;
    display: flex !important;
    gap: 0.9rem !important;
}

.search-container:has(.search-btn:disabled) .search-input,
.search-container:has(.search-btn:disabled) .search-form {
    width: 100% !important;
    min-width: 0 !important;
}

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

@keyframes logoFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes logoShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes commentSlideIn {
    from {
        opacity: 0;
        transform: translateX(-16px);
    }

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

@keyframes errorSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

@keyframes scrollPulse {
    0%,
    100% {
        opacity: 0.82;
    }

    50% {
        opacity: 1;
    }
}

@keyframes scrollBounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(3px);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
    }

    .search-container {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        align-items: stretch;
    }

    .logo {
        justify-content: center;
        min-width: 0;
        text-align: left;
    }

    .main-content {
        grid-template-columns: 1fr;
    }

    .video-section,
    .comments-section {
        margin-bottom: 0;
    }

    .comments-container {
        max-height: 620px;
        min-height: 320px;
    }

    .video-player-wrapper {
        max-width: 300px;
    }
}

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

    .header {
        padding: 1.1rem;
        border-radius: 16px;
    }

    .header-content {
        gap: 1rem;
        text-align: center;
    }

    .logo {
        width: 100%;
        justify-content: center;
        gap: 0.85rem;
    }

    .logo-icon {
        width: 50px;
        height: 50px;
        border-radius: 14px;
        font-size: 1.45rem;
    }

    .logo-text {
        font-size: 1.55rem;
    }

    .logo-subtitle {
        font-size: 0.84rem;
    }

    .search-container {
        max-width: 560px;
        min-width: 0;
        margin: 0 auto;
    }

    .search-form {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .search-input {
        height: 52px !important;
        min-height: 52px !important;
        max-height: 52px !important;
        padding: 0 1rem !important;
        font-size: 0.95rem !important;
    }

    .button-group {
        width: 100%;
        justify-content: center;
        flex-direction: column;
        gap: 0.75rem;
    }

    .search-btn,
    .search-another-btn {
        width: 100%;
        min-height: 50px;
        padding: 0 1rem;
        font-size: 0.92rem;
    }

    .video-stats-bar {
        padding: 0.85rem;
        gap: 0.55rem;
    }

    .video-stat-item {
        padding: 0.45rem 0.65rem;
        font-size: 0.78rem;
    }

    .video-header {
        padding: 1rem;
    }

    .video-title {
        font-size: 0.98rem;
    }

    .video-author {
        padding: 0.8rem;
        gap: 0.75rem;
    }

    .author-avatar {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .author-info h4 {
        font-size: 0.96rem;
    }

    .author-username {
        font-size: 0.8rem;
    }

    .video-player-container {
        padding: 1rem;
    }

    .video-player-wrapper {
        max-width: 280px;
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.35rem;
    }

    .video-controls {
        padding: 1rem;
    }

    .control-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .play-control-btn {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .volume-slider {
        width: 60px;
    }

    .time-display {
        font-size: 0.72rem;
    }

    .comments-header {
        padding: 0.95rem 1rem;
    }

    .comments-title {
        font-size: 1.02rem;
        gap: 0.5rem;
    }

    .comments-count {
        padding: 0.28rem 0.58rem;
        font-size: 0.75rem;
        min-width: 34px;
    }

    .comments-container {
        min-height: 300px;
        max-height: 560px;
    }

    .comment-item {
        padding: 1rem;
    }

    .comment-avatar {
        width: 38px;
        height: 38px;
        font-size: 0.88rem;
    }

    .comment-user-info {
        align-items: flex-start;
        gap: 0.35rem;
    }

    .comment-author {
        font-size: 0.88rem;
    }

    .comment-username {
        font-size: 0.78rem;
    }

    .comment-text {
        font-size: 0.88rem;
    }

    .comment-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
    }

    .comment-stats {
        gap: 0.9rem;
    }

    .comment-stat {
        font-size: 0.78rem;
    }

    .comment-meta {
        font-size: 0.7rem;
    }
}

@media (max-width: 600px) {
    .container_tiktok {
        padding: 0.7rem;
    }

    .header {
        padding: 0.9rem;
        border-radius: 14px;
        margin-bottom: 1rem;
    }

    .logo {
        flex-direction: column;
        gap: 0.65rem;
    }

    .logo-text {
        font-size: 1.42rem;
    }

    .logo-subtitle {
        font-size: 0.78rem;
    }

    .search-input {
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;
        font-size: 0.9rem !important;
    }

    .search-btn,
    .search-another-btn {
        min-height: 48px;
        font-size: 0.88rem;
        border-radius: 12px;
    }

    .main-content {
        gap: 1rem;
    }

    .video-section,
    .comments-section {
        border-radius: 14px;
    }

    .video-stat-item {
        font-size: 0.72rem;
        padding: 0.34rem 0.54rem;
    }

    .video-title {
        font-size: 0.92rem;
    }

    .author-info h4 {
        font-size: 0.9rem;
    }

    .author-username {
        font-size: 0.74rem;
    }

    .video-player-wrapper {
        max-width: 250px;
    }

    .play-button {
        width: 52px;
        height: 52px;
        font-size: 1.15rem;
    }

    .control-buttons {
        gap: 0.55rem;
    }

    .control-group {
        gap: 0.5rem;
    }

    .control-btn {
        width: 32px;
        height: 32px;
        font-size: 0.78rem;
    }

    .play-control-btn {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .comments-title {
        font-size: 0.96rem;
    }

    .comment-item {
        padding: 0.9rem;
    }

    .comment-header {
        gap: 0.7rem;
    }

    .comment-avatar {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    .comment-author {
        font-size: 0.82rem;
    }

    .comment-username {
        font-size: 0.72rem;
    }

    .comment-text {
        font-size: 0.82rem;
    }

    .comment-stat {
        font-size: 0.72rem;
    }

    .scroll-indicator {
        display: none !important;
    }
}

@media (max-width: 400px) {
    .container_tiktok {
        padding: 0.55rem;
    }

    .header {
        padding: 0.75rem;
        border-radius: 12px;
    }

    .logo-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }

    .logo-text {
        font-size: 1.28rem;
    }

    .search-input {
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        padding: 0 0.85rem !important;
        font-size: 0.84rem !important;
    }

    .search-btn,
    .search-another-btn {
        min-height: 46px;
        font-size: 0.8rem;
        padding: 0 0.85rem;
        border-radius: 11px;
    }

    .video-section,
    .comments-section {
        border-radius: 12px;
    }

    .video-stats-bar {
        padding: 0.65rem;
        gap: 0.45rem;
    }

    .video-stat-item {
        font-size: 0.68rem;
        padding: 0.25rem 0.42rem;
        flex-shrink: 0;
    }

    .video-title {
        font-size: 0.86rem;
    }

    .author-avatar {
        width: 34px;
        height: 34px;
        font-size: 0.84rem;
    }

    .author-info h4 {
        font-size: 0.84rem;
    }

    .author-username {
        font-size: 0.68rem;
    }

    .video-player-wrapper {
        max-width: 220px;
    }

    .play-button {
        width: 46px;
        height: 46px;
        font-size: 1rem;
    }

    .control-btn {
        width: 30px;
        height: 30px;
        font-size: 0.72rem;
    }

    .play-control-btn {
        width: 35px;
        height: 35px;
        font-size: 0.82rem;
    }

    .volume-control {
        gap: 0.45rem;
    }

    .volume-slider {
        width: 48px;
    }

    .time-display {
        font-size: 0.66rem;
    }

    .comments-header {
        padding: 0.72rem;
    }

    .comments-title {
        font-size: 0.86rem;
    }

    .comments-count {
        padding: 0.2rem 0.46rem;
        font-size: 0.66rem;
        min-width: 28px;
    }

    .comment-item {
        padding: 0.78rem;
    }

    .comment-avatar {
        width: 30px;
        height: 30px;
        font-size: 0.72rem;
    }

    .comment-author {
        font-size: 0.76rem;
    }

    .comment-username {
        font-size: 0.66rem;
    }

    .comment-text {
        font-size: 0.76rem;
    }

    .comment-stats {
        gap: 0.7rem;
    }

    .comment-stat {
        font-size: 0.66rem;
    }
}

@media (max-width: 375px) {
    .container_tiktok {
        padding: 0.45rem;
    }

    .header {
        padding: 0.65rem;
        border-radius: 10px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.15rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-subtitle {
        font-size: 0.68rem;
    }

    .search-input {
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        padding: 0 0.75rem !important;
        font-size: 0.78rem !important;
    }

    .search-btn,
    .search-another-btn {
        min-height: 44px;
        font-size: 0.74rem;
        padding: 0 0.8rem;
        border-radius: 9px;
    }

    .video-section,
    .comments-section {
        border-radius: 10px;
    }

    .video-stats-bar {
        padding: 0.55rem;
        gap: 0.4rem;
    }

    .video-stat-item {
        font-size: 0.62rem;
        padding: 0.2rem 0.35rem;
    }

    .video-title {
        font-size: 0.8rem;
        margin-bottom: 0.7rem;
    }

    .author-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.78rem;
    }

    .author-info h4 {
        font-size: 0.8rem;
    }

    .author-username {
        font-size: 0.62rem;
    }

    .video-player-wrapper {
        max-width: 190px;
    }

    .play-button {
        width: 40px;
        height: 40px;
        font-size: 0.92rem;
    }

    .control-btn {
        width: 28px;
        height: 28px;
        font-size: 0.66rem;
    }

    .play-control-btn {
        width: 32px;
        height: 32px;
        font-size: 0.76rem;
    }

    .volume-slider {
        width: 42px;
    }

    .time-display {
        font-size: 0.62rem;
    }

    .comments-header {
        padding: 0.6rem;
    }

    .comments-title {
        font-size: 0.8rem;
        gap: 0.35rem;
    }

    .comments-count {
        padding: 0.15rem 0.36rem;
        font-size: 0.62rem;
        min-width: 26px;
    }

    .comment-item {
        padding: 0.68rem;
    }

    .comment-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.66rem;
    }

    .comment-author {
        font-size: 0.72rem;
    }

    .comment-username {
        font-size: 0.62rem;
    }

    .comment-text {
        font-size: 0.72rem;
        margin-bottom: 0.55rem;
    }

    .comment-stats {
        gap: 0.6rem;
    }

    .comment-stat {
        font-size: 0.62rem;
    }

    .comment-meta {
        font-size: 0.58rem;
        gap: 0.6rem;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .container_tiktok {
        padding: 0.5rem;
    }

    .header {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .main-content {
        gap: 0.75rem;
    }

    .video-player-wrapper {
        max-width: 200px;
    }

    .comments-container {
        max-height: calc(100vh - 150px);
        min-height: 200px;
    }

    .comment-item {
        padding: 0.75rem 1rem;
    }
}