/* Container width matching .pc-shell (1440px) */
.ts-video-archive .pc-shell,
.ts-video-archive .dt-container {
    width: min(100% - 48px, 1440px);
    max-width: 1440px;
    box-sizing: border-box;
    margin-inline: auto;
}

/* Saticom Video Hub concept pass. */
.post-type-archive-videos .ts-video-archive,
.tax-video_category .ts-video-archive,
.tax-video_tag .ts-video-archive {
    background:
        linear-gradient(180deg, #eef4ff 0, #f6f8fc 420px, #f4f7fb 100%);
}

.ts-video-archive .ts-video-hub-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(520px, 52vw, 680px);
    padding: clamp(34px, 5vw, 72px) 0;
    color: #fff;
    background: #071126;
}

.ts-video-archive .ts-video-hub-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
}

.ts-video-archive .ts-video-hub-hero::before,
.ts-video-archive .ts-video-hub-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ts-video-archive .ts-video-hub-hero::before {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(5, 14, 34, .96) 0%, rgba(5, 14, 34, .88) 42%, rgba(5, 14, 34, .38) 100%),
        radial-gradient(circle at 78% 18%, rgba(249, 115, 22, .28), transparent 28%),
        radial-gradient(circle at 48% 88%, rgba(37, 99, 235, .38), transparent 34%);
}

.ts-video-archive .ts-video-hub-hero::after {
    opacity: .32;
    background-image:
        linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(90deg, #000, transparent 74%);
}

.ts-video-archive .ts-video-hub-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, .78fr);
    align-items: center;
    gap: clamp(24px, 4vw, 58px);
}

.ts-video-archive .ts-video-hub-hero__copy {
    max-width: 760px;
}

.ts-video-archive .ts-video-hub-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #dbeafe;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.ts-video-archive .ts-video-hub-hero__eyebrow i {
    color: #f97316;
}

.ts-video-archive .ts-video-hub-hero h1 {
    max-width: 820px;
    margin: 20px 0 16px;
    color: #fff;
    font-size: clamp(38px, 6vw, 76px);
    line-height: .96;
    font-weight: 950;
    letter-spacing: 0;
}

.ts-video-archive .ts-video-hub-hero__copy p {
    max-width: 620px;
    margin: 0;
    color: rgba(240, 246, 255, .86);
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.65;
}

.ts-video-archive .ts-video-hub-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.ts-video-archive .ts-video-hub-hero__cta,
.ts-video-archive .ts-video-hub-hero__ghost {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 18px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.ts-video-archive .ts-video-hub-hero__cta {
    background: #f97316;
    color: #fff;
    box-shadow: 0 18px 34px rgba(249, 115, 22, .28);
}

.ts-video-archive .ts-video-hub-hero__ghost {
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .09);
    color: #fff;
}

.ts-video-archive .ts-video-hub-hero__cta:hover,
.ts-video-archive .ts-video-hub-hero__ghost:hover {
    transform: translateY(-2px);
}

.ts-video-archive .ts-video-hub-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 590px;
    margin: 30px 0 0;
}

.ts-video-archive .ts-video-hub-hero__stats div {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
}

.ts-video-archive .ts-video-hub-hero__stats dt {
    color: #fff;
    font-size: 28px;
    line-height: 1;
    font-weight: 950;
}

.ts-video-archive .ts-video-hub-hero__stats dd {
    margin: 7px 0 0;
    color: rgba(240, 246, 255, .7);
    font-size: 12px;
    font-weight: 800;
}

.ts-video-archive .ts-video-hub-featured {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    background: rgba(3, 10, 24, .64);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .38);
}

.ts-video-archive .ts-video-hub-featured__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}

.ts-video-archive .ts-video-hub-featured__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform .35s ease;
}

.ts-video-archive .ts-video-hub-featured__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .72));
}

.ts-video-archive .ts-video-hub-featured:hover img {
    transform: scale(1.06);
}

.ts-video-archive .ts-video-hub-featured__label,
.ts-video-archive .ts-video-hub-featured__duration,
.ts-video-archive .ts-video-hub-featured__play {
    position: absolute;
    z-index: 1;
}

.ts-video-archive .ts-video-hub-featured__label {
    top: 16px;
    left: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ff0033;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.ts-video-archive .ts-video-hub-featured__duration {
    right: 16px;
    bottom: 16px;
    padding: 7px 10px;
    border-radius: 7px;
    background: rgba(0, 0, 0, .72);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.ts-video-archive .ts-video-hub-featured__play {
    left: 50%;
    top: 50%;
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #ff0033;
    font-size: 24px;
    transform: translate(-50%, -50%);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .28);
}

.ts-video-archive .ts-video-hub-featured__body {
    padding: 18px;
}

.ts-video-archive .ts-video-hub-featured__body strong {
    display: block;
    color: #fff;
    font-size: 20px;
    line-height: 1.32;
    font-weight: 950;
}

.ts-video-archive .ts-video-hub-featured__body span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    color: rgba(240, 246, 255, .72);
    font-size: 13px;
    font-weight: 800;
}

.ts-video-archive .ts-video-archive-title {
    margin-top: 26px;
}

.ts-video-archive .ts-video-archive-title h2 {
    margin: 0;
    color: var(--pc-ink, #071126);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.12;
    font-weight: 950;
}

.ts-video-archive .ts-video-toolbar {
    position: sticky;
    top: 0;
    z-index: 20;
    align-items: center;
    margin: 18px 0 10px;
    padding: 8px;
    border: 1px solid rgba(7, 91, 216, .13);
    border-radius: 14px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
    backdrop-filter: blur(14px);
}

.ts-video-archive .ts-video-toolbar__group {
    gap: 6px;
}

.ts-video-archive .ts-video-toolbar a {
    min-height: 46px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #334155;
}

.ts-video-archive .ts-video-toolbar a:hover,
.ts-video-archive .ts-video-toolbar a.is-active {
    background: #075bd8;
    color: #fff;
    box-shadow: 0 10px 22px rgba(7, 91, 216, .2);
}

.ts-video-filter-summary {
    padding: 0 4px;
}

.ts-video-archive .ts-video-section {
    position: relative;
    overflow: hidden;
    padding: clamp(16px, 2vw, 24px);
    border: 1px solid rgba(7, 91, 216, .1);
    border-radius: 16px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .07);
}

.ts-video-archive .ts-video-section--youtube {
    background:
        linear-gradient(135deg, #ffffff 0%, #f8fbff 62%, #edf5ff 100%);
}

.ts-video-archive .ts-video-section--tiktok {
    background:
        linear-gradient(135deg, #ffffff 0%, #fff8fb 54%, #f7fbff 100%);
}

.ts-video-archive .ts-video-section__head {
    border-bottom: 0;
}

.ts-video-archive .ts-video-section__title h2 {
    font-size: clamp(24px, 2.6vw, 34px);
}

.ts-video-archive .ts-video-section__more {
    border-radius: 999px;
}

.ts-video-archive .ts-youtube-showcase {
    grid-template-columns: minmax(0, 1.22fr) minmax(360px, .78fr);
    gap: 22px;
}

.ts-video-archive .ts-youtube-featured {
    min-width: 0;
}

.ts-video-archive .ts-youtube-featured__thumb {
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .16);
}

.ts-video-archive .ts-youtube-featured h3 {
    max-width: 860px;
    font-size: clamp(22px, 2.3vw, 34px);
}

.ts-video-archive .ts-youtube-list {
    display: grid;
    align-content: start;
}

.ts-video-archive .ts-youtube-list__item {
    grid-template-columns: 154px minmax(0, 1fr);
    min-height: 104px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .78);
}

.ts-video-archive .ts-youtube-list__body strong {
    font-size: 14px;
    line-height: 1.35;
}

.ts-video-archive .ts-video-grid--tiktok {
    align-items: stretch;
    grid-template-columns: 1.12fr repeat(3, minmax(0, .72fr));
    gap: 16px;
}

.ts-video-archive .ts-video-grid--tiktok .ts-video-card--tiktok:first-child {
    grid-row: span 2;
}

.ts-video-archive .ts-video-card--tiktok .ts-tiktok-explore-card {
    min-height: 100%;
    border-radius: 16px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .14);
}

.ts-video-archive .ts-video-grid--tiktok .ts-video-card--tiktok:first-child .ts-tiktok-explore-card {
    aspect-ratio: 9 / 14.5;
}

.ts-video-archive .ts-tiktok-explore-card::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, .1) 0%, transparent 36%, rgba(0, 0, 0, .86) 100%);
}

.ts-video-archive .ts-explore-title {
    left: 13px;
    right: 13px;
    bottom: 46px;
}

.ts-video-archive .ts-explore-footer {
    left: 13px;
    right: 13px;
}

@media (prefers-reduced-motion: reduce) {
    .ts-video-archive .ts-video-hub-featured__media img,
    .ts-video-archive .ts-video-hub-hero__cta,
    .ts-video-archive .ts-video-hub-hero__ghost {
        transition: none;
    }
}

@media (max-width: 1199px) {
    .ts-video-archive .ts-video-hub-hero__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ts-video-archive .ts-video-hub-featured {
        max-width: 760px;
    }

    .ts-video-archive .ts-video-grid--tiktok {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ts-video-archive .ts-video-grid--tiktok .ts-video-card--tiktok:first-child {
        grid-row: auto;
    }
}

@media (max-width: 991px) {
    .ts-video-archive .ts-video-hub-hero {
        min-height: auto;
    }

    .ts-video-archive .ts-video-toolbar {
        position: static;
    }
}

@media (max-width: 767px) {
    .ts-video-archive .ts-video-hub-hero {
        padding: 24px 0 28px;
    }

    .ts-video-archive .ts-video-hub-hero__grid {
        gap: 18px;
    }

    .ts-video-archive .ts-video-hub-hero h1 {
        margin-top: 14px;
        font-size: clamp(32px, 11vw, 44px);
        line-height: 1.02;
    }

    .ts-video-archive .ts-video-hub-hero__copy p {
        font-size: 14px;
        line-height: 1.55;
    }

    .ts-video-archive .ts-video-hub-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 20px;
    }

    .ts-video-archive .ts-video-hub-hero__stats {
        grid-template-columns: 1fr 1fr;
        margin-top: 18px;
    }

    .ts-video-archive .ts-video-hub-hero__stats div:first-child {
        grid-column: 1 / -1;
    }

    .ts-video-archive .ts-video-hub-featured {
        border-radius: 14px;
    }

    .ts-video-archive .ts-video-hub-featured__play {
        width: 58px;
        height: 58px;
        font-size: 18px;
    }

    .ts-video-archive .ts-video-hub-featured__body {
        padding: 14px;
    }

    .ts-video-archive .ts-video-hub-featured__body strong {
        font-size: 16px;
    }

    .ts-video-archive .ts-video-archive-title h2 {
        font-size: 24px;
    }

    .ts-video-archive .ts-video-toolbar {
        border-radius: 12px;
    }

    .ts-video-archive .ts-video-toolbar__group {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ts-video-archive .ts-video-toolbar a {
        min-height: 44px;
        padding-inline: 8px;
    }

    .ts-video-archive .ts-video-section {
        border-radius: 12px;
    }

    .ts-video-archive .ts-youtube-list__item {
        grid-template-columns: 112px minmax(0, 1fr);
        border-radius: 10px;
    }

    .ts-video-archive .ts-video-grid--tiktok {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ts-video-archive .ts-video-card--tiktok .ts-tiktok-explore-card {
        border-radius: 12px;
    }
}

/* Keep video titles visually stable at two lines. */
.ts-video-archive .ts-youtube-featured h3,
.ts-video-archive .ts-youtube-list__body strong,
.ts-video-archive .ts-video-card h3,
.ts-video-archive .ts-video-card h3 a,
.ts-video-archive .ts-explore-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ts-video-archive .ts-youtube-featured h3 {
    min-height: calc(1.25em * 2);
    max-height: calc(1.25em * 2);
}

.ts-video-archive .ts-youtube-list__body strong {
    min-height: calc(1.35em * 2);
    max-height: calc(1.35em * 2);
}

.ts-video-archive .ts-video-card h3,
.ts-video-archive .ts-video-card h3 a {
    min-height: calc(1.4em * 2);
    max-height: calc(1.4em * 2);
}

.ts-video-archive .ts-explore-title {
    min-height: calc(1.35em * 2);
    max-height: calc(1.35em * 2);
}

/* Keep TikTok archive grid cards at a consistent size. */
.ts-video-archive .ts-video-grid.ts-video-grid--tiktok {
    align-items: start;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ts-video-archive .ts-video-grid.ts-video-grid--tiktok .ts-video-card--tiktok,
.ts-video-archive .ts-video-grid.ts-video-grid--tiktok .ts-video-card--tiktok:first-child {
    grid-column: auto;
    grid-row: auto;
    min-width: 0;
}

.ts-video-archive .ts-video-grid.ts-video-grid--tiktok .ts-video-card--tiktok .ts-tiktok-explore-card,
.ts-video-archive .ts-video-grid.ts-video-grid--tiktok .ts-video-card--tiktok:first-child .ts-tiktok-explore-card {
    width: 100%;
    min-height: 0;
    aspect-ratio: 9 / 13;
}

@media (max-width: 1199px) {
    .ts-video-archive .ts-video-grid.ts-video-grid--tiktok {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ts-video-archive .ts-video-grid.ts-video-grid--tiktok {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .ts-video-archive .pc-shell,
    .ts-video-archive .dt-container {
        width: min(100% - 24px, 1440px);
        max-width: 1440px;
    }
}

.ts-video-single__container {
    padding-left: 0;
    padding-right: 0;
    overflow: clip;
}

.ts-video-archive {
    background: #ffffff;
    color: #071738;
    padding-bottom: 48px;
}

.ts-video-card h3,
.ts-related-video strong,
.ts-explore-title {
    font-size: 16px;
    line-height: 1.35;
}

.ts-video-card h3 {
    min-height: 43px;
    max-height: 43px;
}

.ts-video-card h3 a {
    font-size: inherit;
    line-height: inherit;
}

.ts-related-video strong,
.ts-explore-title {
    max-height: 43px;
}

@media (max-width: 640px) {
    .ts-video-card h3,
    .ts-related-video strong,
    .ts-explore-title {
        font-size: 15px;
        line-height: 1.35;
    }

    .ts-video-card h3,
    .ts-related-video strong,
    .ts-explore-title {
        min-height: auto;
        max-height: 41px;
    }
}

.single-videos .ts-tiktok-single__layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
}

.single-videos .ts-tiktok-info {
    max-width: 300px;
}

.single-videos .ts-tiktok-phone {
    width: min(720px, 100%);
    min-height: 820px;
}

.single-videos .ts-tiktok-phone__media,
.single-videos .ts-tiktok-iframe {
    min-height: 820px;
}

@media (max-width: 1100px) {
    .single-videos .ts-tiktok-single__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .single-videos .ts-tiktok-info {
        max-width: none;
    }
}

/* Final /videos archive UI overrides. */
.post-type-archive-videos .ts-video-archive,
.tax-video_category .ts-video-archive,
.tax-video_tag .ts-video-archive {
    background: #f5f7fb;
}

.ts-video-archive .ts-video-hero {
    position: relative;
    min-height: clamp(220px, 26vw, 360px);
    background-position: center;
    overflow: hidden;
}

.ts-video-archive .ts-video-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 15, 35, .68), rgba(5, 15, 35, .08) 58%, rgba(5, 15, 35, .28));
    pointer-events: none;
}

.ts-video-archive .ts-video-archive-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin: 22px 0 12px;
}

.ts-video-archive .ts-video-archive-title h1 {
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.12;
    letter-spacing: 0;
}

.ts-video-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 16px 0 12px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.ts-video-toolbar__group {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.ts-video-toolbar a,
.ts-video-category-strip a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #16243d;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.ts-video-toolbar a {
    padding: 9px 12px;
}

.ts-video-category-strip {
    display: flex;
    gap: 8px;
    margin: 0 0 22px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.ts-video-category-strip a {
    flex: 0 0 auto;
    padding: 9px 12px;
    white-space: nowrap;
}

.ts-video-toolbar a em,
.ts-video-category-strip a span {
    font-style: normal;
    color: #718096;
    font-size: 12px;
}

.ts-video-toolbar a:hover,
.ts-video-toolbar a.is-active,
.ts-video-category-strip a:hover,
.ts-video-category-strip a.is-active {
    border-color: #075bd8;
    background: #075bd8;
    color: #fff;
    box-shadow: 0 8px 18px rgba(7, 91, 216, .16);
}

.ts-video-toolbar a:hover em,
.ts-video-toolbar a.is-active em,
.ts-video-category-strip a:hover span,
.ts-video-category-strip a.is-active span {
    color: rgba(255, 255, 255, .86);
}

.ts-video-archive .ts-video-section {
    margin-bottom: 26px;
    padding: 20px;
    border: 1px solid #e6edf5;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.ts-video-archive .ts-video-section__head {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf2f7;
}

.ts-video-archive .ts-video-section__icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    font-size: 22px;
    box-shadow: none;
}

.ts-video-archive .ts-video-section__title h2 {
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.16;
}

.ts-video-archive .ts-video-section__more {
    min-height: 38px;
    border-radius: 8px;
    box-shadow: none;
}

.ts-video-archive .ts-youtube-showcase {
    grid-template-columns: minmax(0, 1.22fr) minmax(320px, .78fr);
    gap: 20px;
}

.ts-video-archive .ts-youtube-featured__thumb,
.ts-video-archive .ts-video-card__thumb,
.ts-video-archive .ts-tiktok-explore-card {
    border-radius: 8px;
}

.ts-video-archive .ts-youtube-featured__play i {
    width: 66px;
    height: 66px;
    border: 0;
    background: rgba(255, 0, 51, .9);
    box-shadow: 0 12px 24px rgba(225, 29, 72, .25);
}

.ts-video-archive .ts-youtube-featured h3 {
    font-size: clamp(18px, 1.8vw, 24px);
}

.ts-video-archive .ts-youtube-list__item {
    min-height: 104px;
    padding: 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #f8fafc;
}

.ts-video-archive .ts-youtube-list__item:hover {
    border-color: #dbeafe;
    background: #fff;
    transform: translateY(-1px);
}

.ts-video-archive .ts-video-grid--youtube {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ts-video-archive .ts-video-grid--tiktok {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ts-video-archive .ts-video-card {
    border-color: #e6edf5;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}

.ts-video-archive .ts-video-card:hover {
    border-color: #d8e6f7;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .1);
    transform: translateY(-2px);
}

.ts-video-archive .ts-video-card h3 {
    min-height: 42px;
    max-height: 42px;
    font-size: 15px;
    font-weight: 800;
}

.ts-video-archive .ts-video-card--tiktok,
.ts-video-archive .ts-video-card--tiktok:hover {
    box-shadow: none;
}

.ts-video-archive .ts-video-card--tiktok .ts-tiktok-explore-card {
    box-shadow: 0 10px 22px rgba(15, 23, 42, .12);
}

.ts-video-archive .ts-explore-title {
    top: auto;
    bottom: 42px;
    font-size: 14px;
    line-height: 1.35;
}

@media (max-width: 1199px) {
    .ts-video-archive .ts-video-grid--youtube {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ts-video-archive .ts-video-grid--tiktok {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .ts-video-archive .ts-video-archive-title,
    .ts-video-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .ts-video-toolbar__group {
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .ts-video-toolbar__group a {
        flex: 0 0 auto;
    }

    .ts-video-archive .ts-youtube-showcase {
        grid-template-columns: minmax(0, 1fr);
    }

    .ts-video-archive .ts-video-grid--youtube {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ts-video-archive .ts-video-grid--tiktok {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ts-video-archive .ts-video-hero {
        min-height: 180px;
    }

    .ts-video-archive .ts-video-section {
        padding: 14px;
    }

    .ts-video-archive .ts-video-section__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .ts-video-archive .ts-video-section__more {
        width: 100%;
    }

    .ts-video-archive .ts-youtube-list__item {
        grid-template-columns: 128px minmax(0, 1fr);
    }

    .ts-video-archive .ts-video-grid--tiktok {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .ts-video-archive .ts-video-grid--youtube {
        grid-template-columns: 1fr;
    }

    .ts-video-archive .ts-youtube-list__item {
        grid-template-columns: 112px minmax(0, 1fr);
    }
}

/* UX refresh for the /videos archive. Keep this block last to override older repeated rules. */
.post-type-archive-videos .ts-video-archive,
.tax-video_category .ts-video-archive,
.tax-video_tag .ts-video-archive {
    background: #f5f7fb;
}

.ts-video-archive .ts-video-hero {
    position: relative;
    min-height: clamp(220px, 26vw, 360px);
    background-position: center;
    overflow: hidden;
}

.ts-video-archive .ts-video-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 15, 35, .68), rgba(5, 15, 35, .08) 58%, rgba(5, 15, 35, .28));
    pointer-events: none;
}

.ts-video-archive .ts-video-archive-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin: 22px 0 12px;
}

.ts-video-archive .ts-video-archive-title h1 {
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.12;
    letter-spacing: 0;
}

.ts-video-archive .ts-video-archive-title p {
    max-width: 520px;
    margin-top: 8px;
    color: #526071;
    line-height: 1.55;
}

.ts-video-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 16px 0 12px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.ts-video-toolbar__group {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.ts-video-toolbar a,
.ts-video-category-strip a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #16243d;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.ts-video-toolbar a {
    padding: 9px 12px;
}

.ts-video-toolbar a em,
.ts-video-category-strip a span {
    font-style: normal;
    color: #718096;
    font-size: 12px;
    font-weight: 800;
}

.ts-video-toolbar a:hover,
.ts-video-toolbar a.is-active,
.ts-video-category-strip a:hover,
.ts-video-category-strip a.is-active {
    border-color: #075bd8;
    background: #075bd8;
    color: #fff;
    box-shadow: 0 8px 18px rgba(7, 91, 216, .16);
}

.ts-video-toolbar a:hover em,
.ts-video-toolbar a.is-active em,
.ts-video-category-strip a:hover span,
.ts-video-category-strip a.is-active span {
    color: rgba(255, 255, 255, .86);
}

.ts-video-toolbar__group--platforms a[href*="youtube"] i,
.ts-video-section--youtube .ts-video-section__icon,
.ts-video-card__platform--yt {
    color: #fff;
}

.ts-video-category-strip {
    display: flex;
    gap: 8px;
    margin: 0 0 22px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.ts-video-category-strip a {
    flex: 0 0 auto;
    padding: 9px 12px;
    white-space: nowrap;
}

.ts-video-archive .ts-video-layout {
    gap: 0;
}

.ts-video-archive .ts-video-section {
    margin-bottom: 26px;
    padding: 20px;
    border: 1px solid #e6edf5;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.ts-video-archive .ts-video-section__head {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf2f7;
}

.ts-video-archive .ts-video-section__icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    font-size: 22px;
    box-shadow: none;
}

.ts-video-archive .ts-video-section__title h2 {
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.16;
}

.ts-video-archive .ts-video-section__title p {
    max-width: 640px;
    color: #64748b;
    line-height: 1.5;
}

.ts-video-archive .ts-video-section__more {
    min-height: 38px;
    border-radius: 8px;
    box-shadow: none;
}

.ts-video-archive .ts-youtube-showcase {
    grid-template-columns: minmax(0, 1.22fr) minmax(320px, .78fr);
    gap: 20px;
}

.ts-video-archive .ts-youtube-featured__thumb,
.ts-video-archive .ts-video-card__thumb,
.ts-video-archive .ts-tiktok-explore-card {
    border-radius: 8px;
}

.ts-video-archive .ts-youtube-featured__thumb::after,
.ts-video-archive .ts-video-card__thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, .32));
    pointer-events: none;
}

.ts-video-archive .ts-youtube-featured__play i {
    width: 66px;
    height: 66px;
    border: 0;
    background: rgba(255, 0, 51, .9);
    box-shadow: 0 12px 24px rgba(225, 29, 72, .25);
}

.ts-video-archive .ts-youtube-featured h3 {
    font-size: clamp(18px, 1.8vw, 24px);
}

.ts-video-archive .ts-youtube-list__item {
    min-height: 104px;
    padding: 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #f8fafc;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.ts-video-archive .ts-youtube-list__item:hover {
    border-color: #dbeafe;
    background: #fff;
    transform: translateY(-1px);
}

.ts-video-archive .ts-video-grid--youtube {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ts-video-archive .ts-video-grid--tiktok {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ts-video-archive .ts-video-card {
    border-color: #e6edf5;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ts-video-archive .ts-video-card:hover {
    border-color: #d8e6f7;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .1);
    transform: translateY(-2px);
}

.ts-video-archive .ts-video-card h3 {
    min-height: 42px;
    max-height: 42px;
    font-size: 15px;
    font-weight: 800;
}

.ts-video-archive .ts-video-card__meta {
    flex-wrap: wrap;
    gap: 7px 12px;
}

.ts-video-archive .ts-video-card--tiktok {
    box-shadow: none;
    transform: none;
}

.ts-video-archive .ts-video-card--tiktok:hover {
    box-shadow: none;
    transform: translateY(-2px);
}

.ts-video-archive .ts-video-card--tiktok .ts-tiktok-explore-card {
    box-shadow: 0 10px 22px rgba(15, 23, 42, .12);
}

.ts-video-archive .ts-explore-title {
    top: auto;
    bottom: 42px;
    font-size: 14px;
    line-height: 1.35;
}

.ts-video-archive .ts-explore-footer {
    align-items: center;
    gap: 8px;
}

.ts-video-archive .ts-video-empty {
    border-color: #e2e8f0;
    background: #f8fafc;
}

@media (max-width: 1199px) {
    .ts-video-archive .ts-video-grid--youtube {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ts-video-archive .ts-video-grid--tiktok {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .ts-video-archive .ts-video-archive-title,
    .ts-video-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .ts-video-toolbar__group {
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .ts-video-toolbar__group a {
        flex: 0 0 auto;
    }

    .ts-video-archive .ts-youtube-showcase {
        grid-template-columns: minmax(0, 1fr);
    }

    .ts-video-archive .ts-video-grid--youtube {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ts-video-archive .ts-video-grid--tiktok {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ts-video-archive .pc-shell {
        width: min(100% - 24px, 1440px);
    }

    .ts-video-archive .ts-video-hero {
        min-height: 180px;
    }

    .ts-video-archive .ts-video-section {
        padding: 14px;
    }

    .ts-video-archive .ts-video-section__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .ts-video-archive .ts-video-section__more {
        width: 100%;
    }

    .ts-video-archive .ts-youtube-list__item {
        grid-template-columns: 128px minmax(0, 1fr);
    }

    .ts-video-archive .ts-video-grid--tiktok {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .ts-video-archive .ts-video-grid--youtube {
        grid-template-columns: 1fr;
    }

    .ts-video-archive .ts-youtube-list__item {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .ts-video-archive .ts-youtube-list__body strong {
        font-size: 13px;
    }
}

/* Final TikTok single split: 60/40, with the player kept close to the info panel. */
.single-videos .ts-tiktok-single__layout {
    grid-template-columns: minmax(0, calc(60% - 14px)) minmax(0, calc(40% - 14px));
    gap: 28px;
    align-items: start;
}

.single-videos .ts-tiktok-main-col {
    width: 100%;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
}

.single-videos .ts-tiktok-watch {
    width: min(430px, 100%);
    flex: 0 1 430px;
}

.single-videos .ts-tiktok-stage {
    width: 100%;
    padding: 0;
    justify-content: flex-end;
}

.single-videos .ts-tiktok-phone,
.single-videos .ts-tiktok-phone.ts-tiktok-phone--embed {
    width: min(430px, 100%);
    min-height: 765px;
}

.single-videos .ts-tiktok-phone__media,
.single-videos .ts-tiktok-iframe {
    min-height: 765px;
}

.single-videos .ts-tiktok-info {
    width: 100%;
    max-width: none;
    min-width: 0;
}

@media (max-width: 1100px) {
    .single-videos .ts-tiktok-single__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .single-videos .ts-tiktok-main-col,
    .single-videos .ts-tiktok-stage {
        justify-content: center;
    }

    .single-videos .ts-tiktok-watch {
        width: min(430px, 100%);
        flex-basis: auto;
    }

    .single-videos .ts-tiktok-phone,
    .single-videos .ts-tiktok-phone.ts-tiktok-phone--embed {
        min-height: min(765px, calc(100vh - 120px));
    }

    .single-videos .ts-tiktok-phone__media,
    .single-videos .ts-tiktok-iframe {
        min-height: min(765px, calc(100vh - 120px));
    }
}

/* Final TikTok single split: 60/40, with the player kept close to the info panel. */
.single-videos .ts-tiktok-single__layout {
    grid-template-columns: minmax(0, calc(60% - 14px)) minmax(0, calc(40% - 14px));
    gap: 28px;
    align-items: start;
}

.single-videos .ts-tiktok-main-col {
    width: 100%;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
}

.single-videos .ts-tiktok-watch {
    width: min(430px, 100%);
    flex: 0 1 430px;
}

.single-videos .ts-tiktok-stage {
    width: 100%;
    padding: 0;
    justify-content: flex-end;
}

.single-videos .ts-tiktok-phone,
.single-videos .ts-tiktok-phone.ts-tiktok-phone--embed {
    width: min(430px, 100%);
    min-height: 765px;
}

.single-videos .ts-tiktok-phone__media,
.single-videos .ts-tiktok-iframe {
    min-height: 765px;
}

.single-videos .ts-tiktok-info {
    width: 100%;
    max-width: none;
    min-width: 0;
}

@media (max-width: 1100px) {
    .single-videos .ts-tiktok-single__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .single-videos .ts-tiktok-main-col,
    .single-videos .ts-tiktok-stage {
        justify-content: center;
    }

    .single-videos .ts-tiktok-watch {
        width: min(430px, 100%);
        flex-basis: auto;
    }

    .single-videos .ts-tiktok-phone,
    .single-videos .ts-tiktok-phone.ts-tiktok-phone--embed {
        min-height: min(765px, calc(100vh - 120px));
    }

    .single-videos .ts-tiktok-phone__media,
    .single-videos .ts-tiktok-iframe {
        min-height: min(765px, calc(100vh - 120px));
    }
}

/* Final TikTok single split: 60/40, with the player kept close to the info panel. */
.single-videos .ts-tiktok-single__layout {
    grid-template-columns: minmax(0, calc(60% - 14px)) minmax(0, calc(40% - 14px));
    gap: 28px;
    align-items: start;
}

.single-videos .ts-tiktok-main-col {
    width: 100%;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
}

.single-videos .ts-tiktok-watch {
    width: min(430px, 100%);
    flex: 0 1 430px;
}

.single-videos .ts-tiktok-stage {
    width: 100%;
    padding: 0;
    justify-content: flex-end;
}

.single-videos .ts-tiktok-phone,
.single-videos .ts-tiktok-phone.ts-tiktok-phone--embed {
    width: min(430px, 100%);
    min-height: 765px;
}

.single-videos .ts-tiktok-phone__media,
.single-videos .ts-tiktok-iframe {
    min-height: 765px;
}

.single-videos .ts-tiktok-info {
    width: 100%;
    max-width: none;
    min-width: 0;
}

@media (max-width: 1100px) {
    .single-videos .ts-tiktok-single__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .single-videos .ts-tiktok-main-col,
    .single-videos .ts-tiktok-stage {
        justify-content: center;
    }

    .single-videos .ts-tiktok-watch {
        width: min(430px, 100%);
        flex-basis: auto;
    }

    .single-videos .ts-tiktok-phone,
    .single-videos .ts-tiktok-phone.ts-tiktok-phone--embed {
        min-height: min(765px, calc(100vh - 120px));
    }

    .single-videos .ts-tiktok-phone__media,
    .single-videos .ts-tiktok-iframe {
        min-height: min(765px, calc(100vh - 120px));
    }
}

/* Final TikTok single layout tuning: reduce empty player-side space and give the info panel more width. */
.single-videos .ts-tiktok-single__layout {
    grid-template-columns: minmax(0, 1fr) minmax(480px, 560px);
    gap: 28px;
}

.single-videos .ts-tiktok-main-col {
    display: flex;
    justify-content: center;
    min-width: 0;
}

.single-videos .ts-tiktok-watch {
    width: min(100%, 430px);
}

.single-videos .ts-tiktok-stage {
    justify-content: center;
    padding-inline: 0;
}

.single-videos .ts-tiktok-phone,
.single-videos .ts-tiktok-phone.ts-tiktok-phone--embed {
    width: min(390px, 100%);
    min-height: 0;
}

.single-videos .ts-tiktok-info {
    width: 100%;
    max-width: 560px;
}

@media (max-width: 1180px) {
    .single-videos .ts-tiktok-single__layout {
        grid-template-columns: minmax(0, 1fr) minmax(420px, 500px);
        gap: 24px;
    }

    .single-videos .ts-tiktok-info {
        max-width: 500px;
    }
}

@media (max-width: 1100px) {
    .single-videos .ts-tiktok-single__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .single-videos .ts-tiktok-watch,
    .single-videos .ts-tiktok-info {
        max-width: none;
        width: 100%;
    }

    .single-videos .ts-tiktok-phone,
    .single-videos .ts-tiktok-phone.ts-tiktok-phone--embed {
        width: min(420px, 100%);
    }
}

/* TikTok single final split: keep player column compact and give content a true 40%. */
.single-videos .ts-tiktok-single__layout {
    grid-template-columns: minmax(0, calc(60% - 14px)) minmax(0, calc(40% - 14px));
    gap: 28px;
    align-items: start;
}

.single-videos .ts-tiktok-main-col {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.single-videos .ts-tiktok-watch {
    width: min(430px, 100%);
    flex: 0 1 430px;
}

.single-videos .ts-tiktok-stage {
    width: 100%;
    padding: 0;
    justify-content: flex-end;
}

.single-videos .ts-tiktok-phone,
.single-videos .ts-tiktok-phone.ts-tiktok-phone--embed {
    width: min(430px, 100%);
}

.single-videos .ts-tiktok-info {
    width: 100%;
    max-width: none;
}

@media (max-width: 1100px) {
    .single-videos .ts-tiktok-single__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .single-videos .ts-tiktok-main-col,
    .single-videos .ts-tiktok-stage {
        justify-content: center;
    }

    .single-videos .ts-tiktok-watch {
        width: min(430px, 100%);
        flex-basis: auto;
    }
}

.single-videos .ts-tiktok-detail {
    padding: 16px;
    border: 1px solid #eef2f7;
    border-radius: 8px;
    background: #fff;
}

.single-videos .ts-tiktok-detail h1 {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.single-videos .ts-tiktok-detail .ts-video-channel__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef2f7;
}

.single-videos .ts-tiktok-detail .ts-channel-badge {
    width: 36px;
    height: 36px;
    font-size: 16px;
}

.single-videos .ts-tiktok-detail .ts-video-subscribe-btn {
    width: 100%;
    min-height: 34px;
    padding: 7px 14px;
    font-size: 13px;
    white-space: nowrap;
}

.single-videos .ts-tiktok-desc {
    margin: 0 0 10px;
}

.single-videos .ts-tiktok-desc:empty {
    display: none;
}

.single-videos .ts-tiktok-desc p {
    margin: 0;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.single-videos .ts-video-tags-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 10px;
}

.single-videos .ts-video-tags-pills a,
.single-videos .ts-video-tags-pills span {
    max-width: 118px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f3f6fb;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.single-videos .ts-tiktok-sound-badge {
    margin: 0 0 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
    font-size: 12px;
}

.single-videos .ts-tiktok-sound-badge span {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.single-videos .ts-tiktok-stats-bar {
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 8px;
    margin: 0 0 10px;
}

.single-videos .ts-stat-item {
    padding: 9px 8px;
    border-radius: 8px;
}

.single-videos .ts-stat-item i {
    font-size: 14px;
}

.single-videos .ts-stat-item strong {
    font-size: 14px;
}

.single-videos .ts-stat-item small {
    font-size: 11px;
}

.single-videos .ts-tiktok-copy-box {
    min-width: 0;
    margin-top: 0;
    padding: 8px;
    border-radius: 8px;
}

.single-videos .ts-tiktok-copy-box .ts-copy-text {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
}

.single-videos .ts-tiktok-copy-box .ts-btn-copy-url {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 6px 10px;
    font-size: 12px;
}

.single-videos .ts-video-sidebox--tiktok {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #eef2f7;
    border-radius: 8px;
    background: #fff;
}

.single-videos .ts-video-sidebox--tiktok .ts-video-sidebox__head {
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef2f7;
}

.single-videos .ts-video-sidebox--tiktok .ts-video-sidebox__head h2 {
    max-width: 160px;
    margin: 0;
    color: #071738;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 900;
}

.single-videos .ts-video-sidebox--tiktok .ts-video-sidebox__head a {
    flex: 0 0 auto;
    color: #075bd8;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.single-videos .ts-video-sidebox--tiktok .ts-related-video-list {
    gap: 10px;
}

.single-videos .ts-related-video--tiktok {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
    padding: 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #f8fafc;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.single-videos .ts-related-video--tiktok:hover {
    border-color: #dbeafe;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.single-videos .ts-related-video--tiktok .ts-related-video__thumb {
    width: 76px;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    background: #e5e7eb;
}

.single-videos .ts-related-video--tiktok .ts-related-video__thumb::after {
    content: "\f04b";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, .52);
    color: #fff;
    font-family: "Font Awesome 6 Free";
    font-size: 11px;
    font-weight: 900;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.single-videos .ts-related-video--tiktok .ts-related-video__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-videos .ts-related-video--tiktok .ts-related-video__info {
    min-width: 0;
    justify-content: center;
    gap: 6px;
}

.single-videos .ts-related-video--tiktok strong {
    color: #071738;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 800;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.single-videos .ts-related-video--tiktok .ts-meta-sub {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    padding: 3px 7px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 991px) {
    .single-videos .ts-video-sidebox--tiktok .ts-related-video-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .single-videos .ts-video-sidebox--tiktok .ts-related-video-list {
        grid-template-columns: 1fr;
    }
}

.single-videos .ts-tiktok-single__layout {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
    gap: 32px;
}

.single-videos .ts-tiktok-info {
    width: 100%;
    max-width: 520px;
}

.single-videos .ts-tiktok-detail--legacy,
.single-videos .ts-tiktok-info > .ts-video-sidebox--tiktok {
    display: none;
}

.single-videos .ts-tiktok-detail--profile {
    padding: 0;
    border: 0;
    background: transparent;
}

.single-videos .ts-tiktok-detail--profile .ts-tiktok-kicker {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eaf4ff;
    color: #1677ff;
    font-size: 12px;
    font-weight: 800;
}

.single-videos .ts-tiktok-detail--profile h1 {
    margin: 0 0 12px;
    color: #071738;
    font-size: 28px;
    line-height: 1.18;
    font-weight: 900;
    text-align: left;
    word-spacing: 0;
    -webkit-line-clamp: 3;
}

.single-videos .ts-tiktok-lead {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}

.single-videos .ts-tiktok-detail--profile .ts-video-tags-pills {
    margin-bottom: 14px;
}

.single-videos .ts-tiktok-detail--profile .ts-video-tags-pills a {
    max-width: none;
    background: #eef6ff;
    color: #1473e6;
}

.single-videos .ts-tiktok-date {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}

.single-videos .ts-tiktok-profile-card {
    position: relative;
    margin-bottom: 18px;
    padding: 20px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fbff 0%, #eaf4ff 100%);
    box-shadow: 0 12px 28px rgba(30, 64, 175, .08);
}

.single-videos .ts-tiktok-profile-card::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 26px;
    width: 42px;
    height: 42px;
    border-right: 5px solid #1473e6;
    border-bottom: 5px solid #1473e6;
    transform: rotate(-35deg);
    opacity: .9;
}

.single-videos .ts-tiktok-profile-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.single-videos .ts-tiktok-profile-logo {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #050505;
    color: #fff;
    font-size: 34px;
    box-shadow: inset -5px -5px 0 rgba(0, 242, 234, .18), inset 5px 5px 0 rgba(255, 0, 80, .16);
}

.single-videos .ts-tiktok-profile-card__head strong {
    display: block;
    color: #071738;
    font-size: 16px;
    font-weight: 900;
}

.single-videos .ts-tiktok-profile-card__head strong i {
    color: #1473e6;
    font-size: 13px;
}

.single-videos .ts-tiktok-profile-card__head small {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.single-videos .ts-tiktok-profile-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.single-videos .ts-tiktok-profile-stats span {
    min-width: 0;
    text-align: center;
}

.single-videos .ts-tiktok-profile-stats strong {
    display: block;
    color: #071738;
    font-size: 15px;
    font-weight: 900;
}

.single-videos .ts-tiktok-profile-stats small {
    display: block;
    margin-top: 2px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}

.single-videos .ts-tiktok-profile-card p {
    margin: 0 0 14px;
    color: #475569;
    font-size: 13px;
    line-height: 1.45;
}

.single-videos .ts-tiktok-profile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    border-radius: 8px;
    background: #0875ff;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(8, 117, 255, .25);
}

.single-videos .ts-tiktok-profile-cta span {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.single-videos .ts-tiktok-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.single-videos .ts-tiktok-benefits span {
    min-width: 0;
    text-align: center;
}

.single-videos .ts-tiktok-benefits i {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    border-radius: 50%;
    background: #eaf4ff;
    color: #1473e6;
    font-size: 16px;
}

.single-videos .ts-tiktok-benefits strong,
.single-videos .ts-tiktok-benefits small {
    display: block;
}

.single-videos .ts-tiktok-benefits strong {
    color: #071738;
    font-size: 12px;
    font-weight: 900;
}

.single-videos .ts-tiktok-benefits small {
    margin-top: 2px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.3;
}

.single-videos .ts-tiktok-explore--related {
    margin-top: 30px;
    padding-top: 0;
}

.single-videos .ts-tiktok-explore--related .ts-video-sidebox__head {
    margin-bottom: 14px;
}

.single-videos .ts-tiktok-explore--related .ts-video-sidebox__head h2 {
    font-size: 22px;
    line-height: 1.25;
}

.single-videos .ts-tiktok-explore--related .ts-tiktok-explore__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.single-videos .ts-tiktok-explore--related .ts-tiktok-explore-card {
    border-radius: 8px;
    background: #fff;
}

.single-videos .ts-tiktok-explore--related .ts-tiktok-explore-card img {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
}

@media (max-width: 1100px) {
    .single-videos .ts-tiktok-detail--profile h1 {
        font-size: 26px;
    }

    .single-videos .ts-tiktok-explore--related .ts-tiktok-explore__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .single-videos .ts-tiktok-detail--profile h1 {
        font-size: 22px;
    }

    .single-videos .ts-tiktok-profile-stats,
    .single-videos .ts-tiktok-benefits {
        grid-template-columns: 1fr;
    }

    .single-videos .ts-tiktok-explore--related .ts-tiktok-explore__grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
    }

    .single-videos .ts-tiktok-explore--related .ts-tiktok-explore-card {
        flex: 0 0 180px;
        scroll-snap-align: start;
    }
}

@media (max-width: 1100px) {
    .single-videos .ts-tiktok-single__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .single-videos .ts-tiktok-info {
        max-width: none;
    }
}

.single-videos .ts-tiktok-phone--embed .ts-tiktok-phone__media {
    position: absolute;
    inset: 0;
    z-index: 10;
}

.single-videos .ts-tiktok-phone.ts-tiktok-phone--embed {
    width: min(420px, 100%);
    aspect-ratio: 9 / 16;
    min-height: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.single-videos .ts-tiktok-phone--embed .ts-tiktok-phone__media {
    min-height: 0;
}

.single-videos .ts-tiktok-phone--embed .ts-tiktok-iframe {
    position: relative;
    z-index: 11;
    pointer-events: auto;
}

.single-videos .ts-tiktok-phone--embed .ts-tiktok-player-iframe {
    position: relative;
    z-index: 11;
    display: block;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: inherit !important;
    border: 0 !important;
    border-radius: 8px;
    background: #000;
    pointer-events: auto;
}

.single-videos .ts-tiktok-phone--embed .ts-tiktok-native-video {
    position: relative;
    z-index: 11;
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    border: 0;
    border-radius: 8px;
    background: #000;
}

.single-videos .ts-tiktok-phone--embed .ts-tiktok-native-start {
    position: absolute;
    z-index: 12;
    left: 50%;
    top: 50%;
    width: 74px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .58);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transform: translate(-50%, -50%);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
    transition: opacity .2s ease, transform .2s ease;
}

.single-videos .ts-tiktok-phone--embed .ts-tiktok-native-start:hover {
    transform: translate(-50%, -50%) scale(1.06);
}

.single-videos .ts-tiktok-phone--embed .ts-tiktok-native-start.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.single-videos .ts-tiktok-phone--embed .ts-tiktok-start {
    position: absolute;
    z-index: 12;
    left: 50%;
    top: 50%;
    width: 74px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .58);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transform: translate(-50%, -50%);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
    transition: opacity .2s ease, transform .2s ease;
}

.single-videos .ts-tiktok-phone--embed .ts-tiktok-start:hover {
    transform: translate(-50%, -50%) scale(1.06);
}

.single-videos .ts-tiktok-phone--embed .ts-tiktok-start.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.single-videos .ts-tiktok-phone--embed .ts-tiktok-embed {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: inherit !important;
    margin: 0 !important;
    border: 0 !important;
    background: #000;
}

.single-videos .ts-tiktok-phone--embed .ts-tiktok-embed iframe,
.single-videos .ts-tiktok-phone--embed .ts-tiktok-player-iframe,
.single-videos .ts-tiktok-phone--embed iframe {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: inherit !important;
    border: 0 !important;
    pointer-events: auto;
}

.single-videos .ts-tiktok-phone--embed .ts-tiktok-phone__media::after,
.single-videos .ts-tiktok-phone--embed .ts-tiktok-play,
.single-videos .ts-tiktok-phone--embed .ts-tiktok-topbar,
.single-videos .ts-tiktok-phone--embed .ts-tiktok-stack,
.single-videos .ts-tiktok-phone--embed .ts-tiktok-caption,
.single-videos .ts-tiktok-phone--embed .ts-tiktok-controls {
    display: none !important;
}

.single-videos .ts-tiktok-phone__media::after,
.single-videos .ts-tiktok-play,
.single-videos .ts-tiktok-topbar,
.single-videos .ts-tiktok-stack,
.single-videos .ts-tiktok-caption,
.single-videos .ts-tiktok-controls {
    display: none !important;
}

.single-videos .ts-tiktok-stage {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.single-videos .ts-tiktok-phone {
    width: min(605px, 100%);
    min-height: 740px;
    aspect-ratio: auto;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.single-videos .ts-tiktok-phone__media,
.single-videos .ts-tiktok-iframe {
    min-height: 740px;
    border-radius: 8px;
    background: transparent;
}

@media (max-width: 640px) {
    .single-videos .ts-tiktok-phone,
    .single-videos .ts-tiktok-phone__media,
    .single-videos .ts-tiktok-iframe {
        min-height: 680px;
    }
}

.ts-video-hero {
    min-height: 500px;
    background: linear-gradient(135deg, #091124 0%, #152244 50%, #0d162e 100%);
    background-position: center center;
    background-size: cover;
}

.ts-video-archive-title {
    margin: 24px 0 14px;
}

.ts-video-archive-title h1 {
    margin: 0;
    color: #071436;
    font-size: 32px;
    line-height: 1.18;
    font-weight: 900;
}

.ts-video-archive-title p {
    margin: 6px 0 0;
    color: #667085;
    font-size: 15px;
    font-weight: 600;
}

.ts-video-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

.ts-video-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ts-video-panel {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 10px 24px rgba(6, 30, 68, .05);
}

.ts-video-panel h2 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 800;
}

.ts-video-panel a {
    min-height: 40px;
    display: grid;
    grid-template-columns: 20px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 6px;
    color: #142241;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.ts-video-panel a + a {
    margin-top: 4px;
}

.ts-video-panel a:hover,
.ts-video-panel a.is-active {
    background: var(--pc-blue, #075bd8);
    color: #fff;
}

.ts-video-panel em {
    font-style: normal;
    color: #66758f;
}

.ts-video-panel a:hover em,
.ts-video-panel a.is-active em {
    color: rgba(255, 255, 255, .9);
}

.ts-video-platforms div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ts-video-platforms a {
    display: inline-flex;
    min-height: 36px;
    padding: 8px 14px;
    border: 1px solid #edf2f7;
}

.ts-video-content {
    min-width: 0;
}

.ts-video-archive .ts-video-showcases {
    display: grid;
    gap: 30px;
    padding-bottom: 30px;
}

.ts-video-archive .ts-archive-showcase {
    width: 100%;
    margin: 0;
}

.ts-video-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.ts-video-heading h2 {
    display: inline-block;
    margin: 0;
    font-size: 25px;
    font-weight: 900;
}

.ts-video-heading span {
    margin-left: 8px;
    color: #66758f;
    font-size: 14px;
}

.ts-video-heading nav {
    display: flex;
    gap: 8px;
    padding: 4px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #edf2f7;
}

.ts-video-heading nav a {
    padding: 8px 16px;
    border-radius: 6px;
    color: #1d2c4f;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.ts-video-heading nav a:hover,
.ts-video-heading nav a.is-active {
    background: var(--pc-blue, #075bd8);
    color: #fff;
}

/* Section chia theo nền tảng (YouTube / TikTok) */
.ts-video-section {
    margin-bottom: 36px;
}

.ts-video-section--tiktok {
    padding: 22px;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}

.ts-video-section--youtube {
    padding: 22px;
    border: 1px solid #ffe2e8;
    border-radius: 8px;
    background: linear-gradient(135deg, #fff7f8 0%, #ffffff 58%, #fff4f6 100%);
    box-shadow: 0 10px 26px rgba(225, 29, 72, .06);
}

.ts-video-section:last-child {
    margin-bottom: 0;
}

.ts-video-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #edf2f7;
}

.ts-video-section__title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ts-video-section__icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--pc-radius, 6px);
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
}

.ts-video-section__icon.ts-icon--youtube {
    background: #ff0000;
}

.ts-video-section__icon.ts-icon--tiktok {
    background: #000;
}

.ts-video-section__title h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--pc-ink, #071126);
    line-height: 1.25;
}

.ts-video-section__title p {
    margin: 3px 0 0;
    font-size: 13px;
    color: var(--pc-muted, #667085);
}

.ts-video-section__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--pc-blue, #075bd8);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: var(--pc-radius, 6px);
    background: var(--pc-soft, #f5f8fc);
    border: 1px solid var(--pc-line, #e6eaf0);
    transition: all .2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.ts-video-section--tiktok .ts-video-section__head {
    margin-bottom: 16px;
    padding-bottom: 0;
    border-bottom: 0;
}

.ts-video-section--youtube .ts-video-section__head {
    margin-bottom: 18px;
    padding-bottom: 0;
    border-bottom: 0;
}

.ts-video-section--youtube .ts-video-section__icon {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: #ff0033;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 10px 20px rgba(255, 0, 51, .18);
}

.ts-video-section--youtube .ts-video-section__title h2 {
    font-size: 28px;
    letter-spacing: 0;
}

.ts-video-section--youtube .ts-video-section__title p {
    color: #667085;
    font-size: 14px;
}

.ts-video-section--youtube .ts-video-section__more {
    border-color: #ffb7c4;
    border-radius: 999px;
    background: #fff;
    color: #ff0033;
    padding: 10px 18px;
    box-shadow: 0 8px 18px rgba(225, 29, 72, .07);
}

.ts-video-section--youtube .ts-video-section__more:hover {
    border-color: #ff0033;
    background: #ff0033;
    color: #fff;
}

.ts-video-section--tiktok .ts-video-section__icon {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    background: #06090f;
    color: #fff;
    font-size: 29px;
    box-shadow: inset -4px -4px 0 rgba(0, 242, 234, .18), inset 4px 4px 0 rgba(255, 0, 80, .18);
}

.ts-video-section--tiktok .ts-video-section__title h2 {
    font-size: 28px;
    letter-spacing: 0;
}

.ts-video-section--tiktok .ts-video-section__title p {
    font-size: 14px;
}

.ts-video-section--tiktok .ts-video-section__more {
    border-radius: 999px;
    padding: 10px 18px;
    background: #fff;
    color: #142241;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
}

.ts-video-section__more:hover {
    background: var(--pc-blue, #075bd8);
    border-color: var(--pc-blue, #075bd8);
    color: #fff;
    box-shadow: 0 4px 12px rgba(7, 91, 216, .2);
}

.ts-youtube-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
    gap: 18px;
    align-items: start;
}

.ts-youtube-featured {
    min-width: 0;
}

.ts-youtube-featured__thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    background: #111827;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
}

.ts-youtube-featured__thumb img,
.ts-youtube-list__thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ts-youtube-featured__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 8px 13px;
    border-radius: 8px;
    background: #ff0033;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.ts-youtube-featured__play {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 28px;
}

.ts-youtube-featured__play i {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, .75);
    border-radius: 50%;
    background: rgba(2, 6, 23, .3);
    backdrop-filter: blur(2px);
}

.ts-youtube-featured__platform,
.ts-youtube-featured__duration {
    position: absolute;
    z-index: 3;
    bottom: 10px;
}

.ts-youtube-featured__platform {
    left: 10px;
    width: 28px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 5px;
    background: #ff0000;
    color: #fff;
    font-size: 13px;
}

.ts-youtube-featured__duration {
    right: 10px;
    padding: 4px 7px;
    border-radius: 5px;
    background: rgba(0, 0, 0, .76);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.ts-youtube-featured h3 {
    margin: 12px 0 8px;
    color: #071738;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 900;
}

.ts-youtube-featured h3 a {
    color: inherit;
    text-decoration: none;
}

.ts-youtube-featured__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: #647084;
    font-size: 13px;
    font-weight: 700;
}

.ts-youtube-list {
    display: grid;
    gap: 12px;
}

.ts-youtube-list__item {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf2f7;
    color: #071738;
    text-decoration: none;
}

.ts-youtube-list__item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.ts-youtube-list__thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 7px;
    background: #111827;
}

.ts-youtube-list__thumb i {
    position: absolute;
    left: 7px;
    bottom: 7px;
    width: 24px;
    height: 17px;
    display: grid;
    place-items: center;
    border-radius: 4px;
    background: #ff0000;
    color: #fff;
    font-size: 11px;
}

.ts-youtube-list__thumb em {
    position: absolute;
    right: 6px;
    bottom: 6px;
    padding: 3px 6px;
    border-radius: 4px;
    background: rgba(0, 0, 0, .78);
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.ts-youtube-list__body {
    min-width: 0;
}

.ts-youtube-list__body strong {
    display: -webkit-box;
    overflow: hidden;
    color: #071738;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 900;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ts-youtube-list__body small {
    display: block;
    margin-top: 7px;
    color: #647084;
    font-size: 12px;
    font-weight: 700;
}

/* Lưới hiển thị video */
.ts-video-grid {
    display: grid;
    gap: 16px;
}

.ts-video-grid--youtube {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ts-video-grid--tiktok {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

/* Card video YouTube (Layout ngang 16:9) */
.ts-video-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(6, 30, 68, .04);
    display: flex;
    flex-direction: column;
}

.ts-video-card__thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #dce7f5;
    text-decoration: none;
}

.ts-video-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.ts-video-card:hover .ts-video-card__thumb img {
    transform: scale(1.05);
}

.ts-video-card__platform,
.ts-video-card__duration {
    position: absolute;
    z-index: 2;
}

.ts-video-card__platform {
    left: 8px;
    bottom: 8px;
    width: 30px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: #ff0000;
    color: #fff;
    font-size: 13px;
}

.ts-video-card__platform--yt {
    background: #ff0000;
}

.ts-video-card__platform--tiktok {
    left: auto;
    right: 8px;
    top: 8px;
    bottom: auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(4px);
    font-size: 12px;
}

.ts-video-card__duration {
    right: 8px;
    bottom: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 0, 0, .82);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.ts-video-card__content {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ts-video-card h3 {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    height: calc(1.4em * 2);
}

.ts-video-card h3 a {
    color: var(--pc-ink, #071738);
    text-decoration: none;
    transition: color .2s ease;
}

.ts-video-card h3 a:hover {
    color: var(--pc-blue, #075bd8);
}

.ts-video-card__meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: auto;
    color: var(--pc-muted, #667085);
    font-size: 12px;
}

.ts-video-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Card video TikTok (Layout dọc 9:13) */
.ts-video-card--tiktok {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 10px;
    overflow: hidden;
}

.ts-video-card--tiktok .ts-tiktok-explore-card {
    width: 100%;
    aspect-ratio: 9 / 13;
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

.ts-video-empty {
    padding: 42px 20px;
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    text-align: center;
}

.ts-video-archive .navigation.pagination {
    margin-top: 24px;
}

.ts-video-archive .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.ts-video-archive .page-numbers {
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe5f2;
    border-radius: 8px;
    background: #fff;
    color: #102141;
    font-weight: 700;
    text-decoration: none;
}

.ts-video-archive .page-numbers.current,
.ts-video-archive .page-numbers:hover {
    background: var(--pc-blue, #075bd8);
    border-color: var(--pc-blue, #075bd8);
    color: #fff;
}

@media (max-width: 1199px) {
    .ts-video-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .ts-video-layout {
        grid-template-columns: 1fr;
    }

    .ts-video-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .ts-video-hero {
        min-height: 240px;
        background-position: center center;
    }

    .ts-video-archive-title {
        margin: 18px 0 12px;
    }

    .ts-video-archive-title h1 {
        font-size: 26px;
    }

    .ts-video-archive-title p {
        font-size: 14px;
    }

    .ts-video-section--youtube,
    .ts-video-section--tiktok {
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .ts-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ts-video-heading nav {
        width: 100%;
        overflow-x: auto;
    }

    .ts-video-heading nav a {
        white-space: nowrap;
    }
}

@media (max-width: 520px) {
    .ts-video-grid {
        grid-template-columns: 1fr;
    }
}

.ts-video-single__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.ts-video-watch {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.ts-video-sidebox {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.ts-video-watch {
    overflow: hidden;
}

.ts-video-player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #061126;
}

.ts-video-player iframe,
.ts-video-player img {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    object-fit: cover;
}

.ts-video-player a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
}

.ts-video-player a span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 76px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #ff0000;
    transform: translate(-50%, -50%);
    font-size: 24px;
}

.ts-video-watch__header,
.ts-video-channel,
.ts-video-description,
.ts-video-tags,
.ts-video-comments {
    padding-left: 22px;
    padding-right: 22px;
}

.ts-video-watch__header {
    padding-top: 18px;
    padding-bottom: 14px;
}

.ts-video-watch__header h1 {
    margin: 0 0 10px;
    font-size: 26px;
    line-height: 1.35;
    font-weight: 900;
}

.ts-video-watch__meta,
.ts-video-card__meta {
    flex-wrap: wrap;
}

.ts-video-watch__meta {
    display: flex;
    gap: 14px;
    color: #66758f;
    font-size: 14px;
    font-weight: 600;
}

.ts-video-watch__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ts-video-channel {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
    border-top: 1px solid #edf2f9;
}

.ts-video-channel__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 210px;
}

.ts-video-channel__brand > span {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #071738;
    color: #fff;
    font-size: 30px;
    font-weight: 900;
}

.ts-video-channel__brand strong,
.ts-video-channel__brand small {
    display: block;
}

.ts-video-channel__brand small {
    color: #66758f;
    font-size: 12px;
}

.ts-video-subscribe {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 18px;
    border-radius: var(--pc-radius, 6px);
    background: #d71920;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s ease;
}

.ts-video-subscribe:hover {
    color: #fff;
    background: #b8141a;
    box-shadow: 0 4px 12px rgba(215, 25, 32, .25);
}

.ts-video-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
}

.ts-video-actions button {
    min-height: 36px;
    padding: 8px 14px;
    border: 1px solid var(--pc-line, #e6eaf0);
    border-radius: var(--pc-radius, 6px);
    background: var(--pc-soft, #f5f8fc);
    color: var(--pc-ink, #071126);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .15s ease;
}

.ts-video-actions button:hover {
    background: #eef3f9;
    border-color: #d8e0ec;
}

.ts-video-actions button i {
    margin-right: 6px;
}

.ts-video-description {
    margin: 0 22px 12px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #f5f8fd;
    color: #263756;
}

.ts-video-description p:last-child,
.ts-video-description .dt-entry-content > *:last-child {
    margin-bottom: 0;
}

.ts-video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid #edf2f9;
}

.ts-video-tags a {
    padding: 7px 12px;
    border-radius: 999px;
    background: #eef4fd;
    color: #52627d;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.ts-video-tags a:hover {
    background: var(--pc-blue, #075bd8);
    color: #fff;
}

.ts-video-comments {
    padding-top: 18px;
    padding-bottom: 22px;
    border-top: 1px solid #edf2f9;
}

.ts-video-comments__head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
}

.ts-video-comments__head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
}

.ts-video-comments__head h2 span,
.ts-video-comments__head > span {
    color: #66758f;
    font-size: 14px;
    font-weight: 700;
}

.ts-youtube-comments {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ts-youtube-comment {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
}

.ts-youtube-comment img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.ts-youtube-comment header {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
}

.ts-youtube-comment header strong {
    font-size: 14px;
}

.ts-youtube-comment header span,
.ts-youtube-comment footer {
    color: #66758f;
    font-size: 13px;
    font-weight: 700;
}

.ts-youtube-comment p {
    margin: 5px 0 6px;
    color: #1b2a47;
    line-height: 1.55;
}

.ts-youtube-comment footer {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ts-video-comment-note {
    padding: 14px;
    border-radius: 8px;
    background: #f5f8fd;
    color: #66758f;
    font-weight: 700;
}

.ts-video-comment-note a {
    margin-left: 8px;
    color: var(--pc-blue, #075bd8);
}

.ts-local-comments {
    margin-top: 18px;
}

.ts-local-comment-list {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.ts-local-comment-list li {
    margin: 0 0 14px;
}

.ts-local-comments .comment-body {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
}

.ts-local-comments .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.ts-local-comments .comment-meta,
.ts-local-comments .reply,
.ts-local-comments .comment-awaiting-moderation {
    grid-column: 2;
}

.ts-local-comments .comment-author {
    grid-column: 1 / -1;
}

.ts-local-comments .comment-author .fn {
    font-style: normal;
    font-weight: 900;
}

.ts-local-comments .comment-metadata a,
.ts-local-comments .reply a {
    color: #66758f;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.ts-local-comments .comment-content {
    grid-column: 2;
}

.ts-local-comments .comment-content p {
    margin: 4px 0 6px;
}

.ts-local-comments .comment-respond {
    padding: 14px;
    border-radius: 8px;
    background: #f5f8fd;
}

.ts-local-comments .comment-reply-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 900;
}

.ts-local-comments textarea,
.ts-local-comments input[type="text"],
.ts-local-comments input[type="email"],
.ts-local-comments input[type="url"] {
    width: 100%;
    border: 1px solid #dbe5f2;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
}

.ts-local-comments .form-submit input {
    min-height: 40px;
    padding: 9px 20px;
    border: 0;
    border-radius: var(--pc-radius, 6px);
    background: var(--pc-blue, #075bd8);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, box-shadow .2s ease;
}

.ts-local-comments .form-submit input:hover {
    background: var(--pc-blue-dark, #06399f);
    box-shadow: 0 4px 12px rgba(7, 91, 216, .25);
}

.ts-video-single__side {
    position: sticky;
    top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ts-video-sidebox {
    padding: 16px;
}

.ts-video-sidebox h2 {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 900;
}

.ts-video-sidebox__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.ts-video-sidebox__head h2 {
    margin: 0;
}

.ts-video-sidebox__head a {
    color: var(--pc-blue, #075bd8);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all .2s ease;
}

.ts-video-sidebox__head a:hover {
    color: var(--pc-blue-dark, #06399f);
}

.ts-related-video-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ts-related-video {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    column-gap: 12px;
    color: #071738;
    text-decoration: none;
}

.ts-related-video__thumb {
    position: relative;
    grid-row: span 3;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background: #dce7f5;
}

.ts-related-video__info {
    display: block;
    min-width: 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

.ts-related-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .22s ease;
}

.ts-related-video:hover img {
    transform: scale(1.04);
}

.ts-related-video em {
    position: absolute;
    right: 6px;
    bottom: 6px;
    padding: 2px 6px;
    border-radius: 5px;
    background: rgba(0, 0, 0, .82);
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.ts-related-video strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 900;
}

.ts-related-video small {
    display: block;
    margin-top: 5px;
    color: #66758f;
    font-size: 12px;
    font-weight: 700;
}

.ts-side-cats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.ts-side-cats a {
    min-height: 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 6px;
    border-radius: 8px;
    background: #f5f8fd;
    color: #142241;
    text-align: center;
    text-decoration: none;
}

.ts-side-cats span {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--pc-radius, 6px);
    background: var(--pc-soft, #f5f8fc);
    color: var(--pc-blue, #075bd8);
}

.ts-side-cats strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 12px;
    line-height: 1.25;
}

.ts-side-cats small {
    color: #66758f;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 1199px) {
    .ts-video-single__layout {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 20px;
    }

    .ts-related-video {
        grid-template-columns: 118px minmax(0, 1fr);
    }
}

@media (max-width: 991px) {
    .ts-video-single__layout {
        grid-template-columns: 1fr;
    }

    .ts-video-single__side {
        position: static;
    }
}

@media (max-width: 767px) {
    .ts-video-watch__header,
    .ts-video-channel,
    .ts-video-description,
    .ts-video-tags,
    .ts-video-comments {
        padding-left: 14px;
        padding-right: 14px;
    }

    .ts-video-description {
        margin-left: 14px;
        margin-right: 14px;
    }

    .ts-video-watch__header h1 {
        font-size: 22px;
    }

    .ts-video-channel {
        align-items: flex-start;
        flex-direction: column;
    }

    .ts-video-actions {
        margin-left: 0;
    }

    .ts-related-video {
        grid-template-columns: 132px minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .ts-related-video {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .ts-side-cats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==========================================================================
   TIKTOK / SHORT SINGLE VIDEO VIEW (MOCKUP 1)
   ========================================================================== */

.ts-tiktok-single__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 32px;
    align-items: start;
    margin-top: 14px;
}

.ts-tiktok-main-col {
    min-width: 0;
}

.ts-tiktok-watch {
    display: flex;
    flex-direction: column;
}

/* Khung sân khấu của Player TikTok */
.ts-tiktok-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    border-radius: 16px;
    background: #0b0e17;
    background-image: radial-gradient(circle at center, #181d2b 0%, #080a11 100%);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
}

/* Khung điện thoại TikTok 9:16 */
.ts-tiktok-phone {
    position: relative;
    width: min(420px, 100%);
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    color: #fff;
    box-shadow: 0 20px 48px rgba(0, 0, 0, .45);
}

.ts-tiktok-phone__media,
.ts-tiktok-phone__media img,
.ts-tiktok-phone__media video,
.ts-tiktok-iframe {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border: 0;
}

.ts-tiktok-phone--embed .ts-tiktok-phone__media {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.ts-tiktok-phone--embed .ts-tiktok-iframe {
    position: relative;
    z-index: 4;
    pointer-events: auto;
    background: #000;
}

.ts-tiktok-phone--embed .ts-tiktok-phone__media::after,
.ts-tiktok-phone--embed .ts-tiktok-play,
.ts-tiktok-phone--embed .ts-tiktok-topbar,
.ts-tiktok-phone--embed .ts-tiktok-stack,
.ts-tiktok-phone--embed .ts-tiktok-caption,
.ts-tiktok-phone--embed .ts-tiktok-controls {
    display: none !important;
}

.ts-tiktok-phone__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .32) 0%, transparent 22%, transparent 60%, rgba(0, 0, 0, .85) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Nút Play trung tâm */
.ts-tiktok-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .22);
    color: #fff;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(12px);
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
    transition: transform .2s ease, background .2s ease;
}

.ts-tiktok-play:hover {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(255, 255, 255, .32);
}

/* Topbar trong video */
.ts-tiktok-topbar {
    position: absolute;
    z-index: 2;
    left: 18px;
    right: 18px;
    top: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ts-tiktok-avatar {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-weight: 900;
    font-size: 15px;
    border: 2px solid #fff;
}

.ts-tiktok-topbar strong {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(8px);
    font-size: 13px;
    font-weight: 800;
}

.ts-tiktok-topbar a {
    padding: 6px 14px;
    border-radius: var(--pc-radius, 6px);
    background: #d71920;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, box-shadow .2s ease;
}

.ts-tiktok-topbar a:hover {
    background: #b8141a;
    color: #fff;
    box-shadow: 0 4px 10px rgba(215, 25, 32, .3);
}

.ts-tiktok-mute {
    margin-left: auto;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .45);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

/* Cột nút tương tác bên phải video */
.ts-tiktok-stack {
    position: absolute;
    z-index: 2;
    right: 14px;
    bottom: 84px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.ts-tiktok-stack__btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: transform .18s ease;
}

.ts-tiktok-stack__btn:hover {
    transform: scale(1.1);
}

.ts-tiktok-stack__btn small {
    font-size: 12px;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,.6);
}

.ts-tiktok-stack__btn.is-active i.fa-heart {
    color: #ff004f;
}

.ts-tiktok-stack__btn.is-active i.fa-bookmark {
    color: #ffb703;
}

.ts-tiktok-stack__btn--avatar {
    margin-bottom: 6px;
}

.ts-tiktok-stack__btn--avatar span {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #071738;
    color: #fff;
    font-weight: 900;
    font-size: 18px;
    border: 2px solid #fff;
}

.ts-tiktok-stack__btn--avatar i {
    position: absolute;
    bottom: -4px;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ff004f;
    color: #fff;
    font-size: 10px;
    border: 1px solid #fff;
}

/* Caption & Sound góc dưới video */
.ts-tiktok-caption {
    position: absolute;
    z-index: 2;
    left: 16px;
    right: 76px;
    bottom: 50px;
    pointer-events: auto;
}

.ts-tiktok-caption strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}

.ts-tiktok-caption p {
    margin: 4px 0 6px;
    font-size: 13px;
    line-height: 1.4;
    color: #f1f1f1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.ts-tiktok-caption__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-bottom: 6px;
}

.ts-tiktok-caption__tags a,
.ts-tiktok-caption__tags span {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    opacity: .92;
}

.ts-tiktok-sound-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #e0e0e0;
}

/* Controls bar dưới cùng video */
.ts-tiktok-controls {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    font-size: 12px;
}

.ts-tiktok-controls::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff004f 0 28%, rgba(255, 255, 255, .35) 28%);
}

.ts-tiktok-controls button {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
}

.ts-tiktok-controls span {
    margin-right: auto;
}

/* ==========================================================================
   BÌNH LUẬN (COMMENTS) - DÙNG CHUNG CHO TIKTOK & YOUTUBE
   ========================================================================== */

.ts-tiktok-comments {
    margin-top: 28px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.ts-tiktok-comment-form {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 42px auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.ts-comment-avatar {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--pc-soft, #f5f8fc);
    color: var(--pc-blue, #075bd8);
    font-size: 18px;
}

.ts-comment-input-box {
    height: 44px;
    border: 1px solid #dce5f2;
    border-radius: 999px;
    padding: 0 18px;
    font-size: 14px;
    background: #fbfdff;
    outline: none;
    transition: border-color .2s ease;
}

.ts-comment-input-box:focus {
    border-color: var(--pc-blue, #075bd8);
    background: #fff;
}

.ts-emoji-trigger {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #7b8ea8;
    font-size: 20px;
    cursor: pointer;
}

.ts-comment-submit-btn {
    height: 44px;
    padding: 0 24px;
    border: 1px solid var(--pc-blue, #075bd8);
    border-radius: var(--pc-radius, 6px);
    background: var(--pc-blue, #075bd8);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.ts-comment-submit-btn:hover {
    background: var(--pc-blue-dark, #06399f);
    border-color: var(--pc-blue-dark, #06399f);
    box-shadow: 0 4px 12px rgba(7, 91, 216, .25);
}

.single-videos #respond input[type="submit"] {
    height: 42px;
    padding: 0 24px;
    border: 1px solid var(--pc-blue, #075bd8);
    border-radius: var(--pc-radius, 6px);
    background: var(--pc-blue, #075bd8);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.single-videos #respond input[type="submit"]:hover {
    background: var(--pc-blue-dark, #06399f);
    border-color: var(--pc-blue-dark, #06399f);
    box-shadow: 0 4px 12px rgba(7, 91, 216, .25);
}

.ts-tiktok-fake-comments,
.ts-youtube-comments-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ts-comment-row,
.ts-yt-comment-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
}

.ts-avatar-circle {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
}

.ts-avatar--blue { background: var(--pc-blue, #075bd8); }
.ts-avatar--purple { background: #6f42c1; }
.ts-avatar--dark { background: #071738; }

.ts-comment-content-box strong,
.ts-yt-comment-body strong {
    font-size: 14px;
    font-weight: 800;
    color: #071738;
}

.ts-comment-content-box em,
.ts-yt-comment-body span {
    margin-left: 6px;
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    color: #7a889b;
}

.ts-comment-content-box p,
.ts-yt-comment-body p {
    margin: 4px 0 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #212529;
}

.ts-comment-actions,
.ts-yt-comment-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
}

.ts-comment-actions button,
.ts-yt-comment-footer button {
    border: 0;
    background: transparent;
    color: #6c757d;
    cursor: pointer;
    font-weight: 600;
    padding: 0;
}

.ts-comment-actions button:hover,
.ts-yt-comment-footer button:hover {
    color: var(--pc-blue, #075bd8);
}

.ts-comments-more-wrap {
    margin-top: 18px;
    text-align: center;
}

.ts-btn-more-comments {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    border: 1px solid var(--pc-line, #e6eaf0);
    border-radius: var(--pc-radius, 6px);
    background: #fff;
    color: var(--pc-blue, #075bd8);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.ts-btn-more-comments:hover {
    background: #f0f6ff;
    border-color: var(--pc-blue, #075bd8);
    color: var(--pc-blue-dark, #06399f);
}

.ts-hidden-real-respond {
    display: none;
}

/* ==========================================================================
   CỘT PHẢI: THÔNG TIN CHI TIẾT TIKTOK
   ========================================================================== */

.ts-tiktok-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ts-tiktok-detail {
    padding: 0 0 16px;
}

.ts-tiktok-detail h1 {
    margin: 0 0 18px;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 900;
    color: #071738;
}

.ts-video-channel__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.ts-video-channel__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ts-channel-badge {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-weight: 900;
    font-size: 20px;
}

.ts-channel-badge--lg {
    width: 48px;
    height: 48px;
    font-size: 22px;
}

.ts-video-channel__brand strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #071738;
}

.ts-video-channel__brand small {
    display: block;
    font-size: 12px;
    color: #7a889b;
}

.ts-video-subscribe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: var(--pc-radius, 6px);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s ease;
    border: 1px solid transparent;
}

.ts-video-subscribe-btn--red,
.ts-video-subscribe-btn--yt {
    background: #d71920;
    border-color: #d71920;
    color: #fff !important;
}

.ts-video-subscribe-btn--red:hover,
.ts-video-subscribe-btn--yt:hover {
    background: #b8141a;
    border-color: #b8141a;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(215, 25, 32, .25);
}

.ts-tiktok-desc {
    margin-bottom: 14px;
    color: #3e4d68;
    font-size: 14px;
    line-height: 1.6;
}

.ts-video-tags-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.ts-video-tags-pills a {
    padding: 6px 14px;
    border-radius: var(--pc-radius, 6px);
    background: var(--pc-soft, #f5f8fc);
    border: 1px solid var(--pc-line, #e6eaf0);
    color: var(--pc-ink, #071126);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}

.ts-video-tags-pills a:hover {
    background: #eef5ff;
    border-color: var(--pc-blue, #075bd8);
    color: var(--pc-blue, #075bd8);
}

.ts-tiktok-sound-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #495057;
    font-size: 13px;
    font-weight: 700;
}

/* 4 Thẻ Thống kê */
.ts-tiktok-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 18px;
}

.ts-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    text-align: center;
    transition: background .2s ease, transform .2s ease;
}

.ts-stat-item:hover {
    background: #f1f5f9;
}

.ts-stat-item i {
    color: #071738;
    font-size: 16px;
}

.ts-stat-item strong {
    font-size: 14px;
    font-weight: 800;
    color: #071738;
}

.ts-stat-item small {
    font-size: 11px;
    font-weight: 700;
    color: #7a889b;
}

/* Khung Sao chép liên kết */
.ts-tiktok-copy-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 6px 6px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}

.ts-tiktok-copy-box i {
    color: #7a889b;
    font-size: 14px;
}

.ts-copy-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: #212529;
}

.ts-btn-copy-url {
    padding: 8px 18px;
    border: 1px solid var(--pc-blue, #075bd8);
    border-radius: var(--pc-radius, 6px);
    background: var(--pc-blue, #075bd8);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.ts-btn-copy-url:hover {
    background: var(--pc-blue-dark, #06399f);
    border-color: var(--pc-blue-dark, #06399f);
    color: #fff;
    box-shadow: 0 4px 12px rgba(7, 91, 216, .25);
}

/* Section Khám phá thêm (6 cột) */
.ts-tiktok-explore {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid #f1f5f9;
}

.ts-tiktok-explore__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.ts-tiktok-explore-card {
    position: relative;
    aspect-ratio: 9 / 13;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    color: #fff;
    text-decoration: none;
    display: block;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

.ts-tiktok-explore-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.ts-tiktok-explore-card:hover img {
    transform: scale(1.05);
}

.ts-tiktok-explore-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, transparent 40%, rgba(0,0,0,.8) 100%);
    pointer-events: none;
}

.ts-explore-title {
    position: absolute;
    z-index: 1;
    left: 10px;
    right: 10px;
    top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    text-shadow: 0 1px 3px rgba(0,0,0,.8);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    max-height: calc(1.35em * 2);
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    overflow-wrap: break-word;
}

.ts-explore-footer {
    position: absolute;
    z-index: 1;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

.ts-explore-footer em {
    font-style: normal;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 0, 0, .6);
}

/* ==========================================================================
   YOUTUBE SINGLE VIDEO VIEW (MOCKUP 2)
   ========================================================================== */

.ts-video-single__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 28px;
    align-items: start;
    margin-top: 14px;
}

.ts-yt-watch {
    min-width: 0;
}

/* Player 16:9 YouTube */
.ts-yt-player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
}

.ts-yt-player iframe,
.ts-yt-player video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.ts-yt-player-facade {
    position: relative;
    width: 100%;
    height: 100%;
}

.ts-yt-player-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ts-yt-play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 68px;
    height: 48px;
    transform: translate(-50%, -50%);
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: transform .2s ease;
}

.ts-yt-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.ts-yt-header {
    background: transparent;
    box-shadow: none;
    text-shadow: none;
    padding: 16px 0 8px;
}

.ts-yt-header h1 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 800;
    color: #0f0f0f;
    text-shadow: none;
}

.ts-yt-meta-row {
    font-size: 14px;
    color: #606060;
    font-weight: 500;
}

/* Thanh kênh và cụm nút YouTube */
.ts-yt-channel-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 12px 0 16px;
    border-bottom: 1px solid #e5e5e5;
}

.ts-yt-channel-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ts-yt-channel-info strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #0f0f0f;
}

.ts-yt-channel-info small {
    display: block;
    font-size: 12px;
    color: #606060;
}

.ts-yt-actions-cluster {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Nút gộp Like/Dislike */
.ts-yt-like-pill {
    display: inline-flex;
    align-items: center;
    height: 38px;
    border-radius: var(--pc-radius, 6px);
    background: var(--pc-soft, #f5f8fc);
    border: 1px solid var(--pc-line, #e6eaf0);
    overflow: hidden;
}

.ts-yt-like-pill button {
    height: 100%;
    padding: 0 14px;
    border: 0;
    background: transparent;
    color: var(--pc-ink, #071126);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background .15s ease;
}

.ts-yt-like-pill button:hover {
    background: #eef3f9;
}

.ts-yt-like-pill button.is-active i {
    color: var(--pc-blue, #075bd8);
}

.ts-yt-pill-divider {
    width: 1px;
    height: 20px;
    background: var(--pc-line, #e6eaf0);
}

.ts-yt-pill-btn {
    height: 38px;
    padding: 0 16px;
    border: 1px solid var(--pc-line, #e6eaf0);
    border-radius: var(--pc-radius, 6px);
    background: var(--pc-soft, #f5f8fc);
    color: var(--pc-ink, #071126);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all .15s ease;
}

.ts-yt-pill-btn:hover {
    background: #eef3f9;
    border-color: #d8e0ec;
}

.ts-yt-pill-btn.is-active i {
    color: #ffb703;
}

.ts-yt-pill-btn--dot {
    width: 38px;
    padding: 0;
    justify-content: center;
}

/* Hộp mô tả (Description box) */
.ts-yt-description-box {
    margin-top: 14px;
    padding: 16px 18px;
    border-radius: 12px;
    background: #f2f2f2;
    color: #0f0f0f;
}

.ts-yt-desc-content {
    font-size: 14px;
    line-height: 1.6;
}

.ts-yt-desc-content p {
    margin: 0 0 6px;
}

.ts-yt-more-toggle {
    border: 0;
    background: transparent;
    color: #0f0f0f;
    font-weight: 800;
    cursor: pointer;
    padding: 0;
    font-size: 13px;
}

.ts-yt-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.ts-yt-tags-row a {
    color: var(--pc-blue, #075bd8);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.ts-yt-tags-row a:hover {
    text-decoration: underline;
}

/* Header khu vực bình luận YouTube */
.ts-yt-comments-section {
    margin-top: 24px;
    padding-top: 20px;
}

.ts-yt-comments-head {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 20px;
}

.ts-yt-comments-head h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #0f0f0f;
}

.ts-yt-sort-btn {
    border: 0;
    background: transparent;
    color: #0f0f0f;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ts-yt-comment-form {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.ts-yt-comment-input {
    flex: 1;
    border: 0;
    border-bottom: 1px solid #d9d9d9;
    padding: 8px 0;
    font-size: 14px;
    outline: none;
    background: transparent;
    transition: border-color .2s ease;
}

.ts-yt-comment-input:focus {
    border-bottom-color: #0f0f0f;
}

/* ==========================================================================
   SIDEBAR: DANH MỤC VIDEO LƯỚI 2 CỘT X 3 HÀNG CÓ HÌNH ẢNH (MOCKUP 2)
   ========================================================================== */

.ts-side-cats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ts-side-cat-card {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.ts-side-cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.ts-side-cat-card:hover img {
    transform: scale(1.06);
}

.ts-side-cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.75) 100%);
    display: flex;
    align-items: flex-end;
    padding: 10px;
    transition: background .2s ease;
}

.ts-side-cat-card:hover .ts-side-cat-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.85) 100%);
}

.ts-side-cat-overlay strong {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0,0,0,.8);
}

/* Toast thông báo */
.ts-video-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999999;
    padding: 12px 22px;
    border-radius: 8px;
    background: #071738;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
}

.ts-video-toast.is-show {
    opacity: 1;
    transform: translateY(0);
}

.ts-video-toast i {
    color: #2ec4b6;
    font-size: 16px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Desktop, Tablet, Mobile)
   ========================================================================== */

@media (max-width: 1199px) {
    .ts-tiktok-single__layout,
    .ts-video-single__layout {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 20px;
    }

    .ts-tiktok-explore__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .ts-video-grid--youtube {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ts-video-grid--tiktok {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 991px) {
    .ts-tiktok-single__layout,
    .ts-video-single__layout {
        grid-template-columns: 1fr;
    }

    .ts-tiktok-phone {
        width: min(400px, 100%);
    }

    .ts-tiktok-explore__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .ts-video-grid--tiktok {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .ts-video-section__head {
        flex-wrap: wrap;
        gap: 12px;
    }

    .ts-video-section--tiktok {
        padding: 0;
    }

    .ts-video-section--youtube {
        padding: 0;
    }

    .ts-youtube-showcase {
        grid-template-columns: minmax(0, 1fr);
    }

    .ts-video-section--tiktok .ts-video-section__title h2 {
        font-size: 23px;
    }

    .ts-video-section--youtube .ts-video-section__title h2 {
        font-size: 23px;
    }

    .ts-video-single__side,
    .ts-tiktok-info {
        position: static;
    }
}

@media (max-width: 767px) {
    .ts-tiktok-stage {
        padding: 14px 8px;
    }

    .ts-tiktok-phone {
        width: 100%;
        max-width: 360px;
    }

    .ts-tiktok-stats-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ts-tiktok-explore__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ts-video-grid--youtube {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ts-youtube-list__item {
        grid-template-columns: 132px minmax(0, 1fr);
    }

    .ts-youtube-featured h3 {
        font-size: 17px;
    }

    .ts-video-grid--tiktok {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ts-tiktok-comment-form {
        grid-template-columns: 38px minmax(0, 1fr) 38px;
    }

    .ts-comment-submit-btn {
        grid-column: 1 / -1;
    }

    .ts-yt-actions-cluster {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 6px;
    }
}

@media (max-width: 480px) {
    .ts-video-grid--youtube {
        grid-template-columns: 1fr;
    }
}

/* Overflow guard rails for the video archive. */
.ts-video-archive {
    max-width: 100%;
    overflow-x: hidden;
}

.ts-video-layout,
.ts-video-content,
.ts-video-sidebar,
.ts-video-grid,
.ts-video-card,
.ts-video-single__layout,
.ts-video-watch,
.ts-video-single__side,
.ts-tiktok-single__layout,
.ts-tiktok-main-col,
.ts-tiktok-watch,
.ts-tiktok-info,
.ts-video-sidebox,
.ts-related-video,
.ts-related-video__info,
.ts-tiktok-explore,
.ts-tiktok-explore__grid,
.ts-tiktok-explore-card,
.ts-yt-watch,
.ts-yt-side {
    min-width: 0;
}

.ts-video-card h3,
.ts-video-card h3 a,
.ts-video-watch__header h1,
.ts-tiktok-detail h1,
.ts-related-video strong,
.ts-related-video small,
.ts-meta-sub,
.ts-tiktok-caption p,
.ts-tiktok-caption a,
.ts-tiktok-copy-box,
.ts-copy-text,
.ts-tiktok-copy span,
.ts-yt-desc-content,
.ts-yt-comment-body p,
.ts-tiktok-fake-comments p,
.ts-explore-title {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ts-related-video {
    grid-template-columns: clamp(96px, 38%, 145px) minmax(0, 1fr);
}

.ts-related-video__thumb {
    width: 100%;
}

.ts-related-video__info {
    align-self: start;
}

.ts-tiktok-copy-box,
.ts-tiktok-copy,
.ts-yt-channel-bar,
.ts-yt-channel-info,
.ts-yt-actions-cluster,
.ts-video-channel {
    min-width: 0;
    flex-wrap: wrap;
}

.ts-copy-text,
.ts-tiktok-copy span {
    min-width: 0;
    max-width: 100%;
}

.ts-tiktok-phone,
.ts-video-player,
.ts-yt-player,
.ts-tiktok-stage {
    max-width: 100%;
}

.ts-tiktok-explore-card img,
.ts-video-card__thumb img,
.ts-related-video img {
    max-width: 100%;
}

@media (max-width: 520px) {
    .ts-tiktok-single__layout,
    .ts-video-single__layout {
        gap: 16px;
    }

    .ts-video-sidebox {
        padding: 12px;
    }

    .ts-related-video {
        grid-template-columns: clamp(96px, 34vw, 126px) minmax(0, 1fr);
        column-gap: 10px;
    }

    .ts-related-video strong {
        font-size: 13px;
    }

    .ts-related-video small {
        font-size: 11px;
    }

    .ts-tiktok-explore__grid {
        gap: 10px;
    }

    .ts-tiktok-comment-form {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .ts-tiktok-comment-form button,
    .ts-tiktok-comment-form a {
        grid-column: auto;
    }

    .ts-video-comments__head,
    .ts-yt-comments-head,
    .ts-video-sidebox__head {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}

.single-videos .ts-tiktok-single__layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
}

.single-videos .ts-tiktok-info {
    max-width: 300px;
}

.single-videos .ts-tiktok-phone {
    width: min(720px, 100%);
    min-height: 820px;
}

.single-videos .ts-tiktok-phone__media,
.single-videos .ts-tiktok-iframe {
    min-height: 820px;
}

@media (max-width: 1100px) {
    .single-videos .ts-tiktok-single__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .single-videos .ts-tiktok-info {
        max-width: none;
    }
}

.ts-video-card h3,
.ts-related-video strong,
.ts-explore-title {
    font-size: 16px;
    line-height: 1.35;
}

.ts-video-card h3 {
    min-height: 43px;
    max-height: 43px;
}

.ts-video-card h3 a {
    font-size: inherit;
    line-height: inherit;
}

.ts-related-video strong,
.ts-explore-title {
    max-height: 43px;
}

@media (max-width: 640px) {
    .ts-video-card h3,
    .ts-related-video strong,
    .ts-explore-title {
        font-size: 15px;
        line-height: 1.35;
    }

    .ts-video-card h3,
    .ts-related-video strong,
    .ts-explore-title {
        min-height: auto;
        max-height: 41px;
    }
}

.single-videos .ts-tiktok-single__layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
}

.single-videos .ts-tiktok-info {
    max-width: 300px;
}

.single-videos .ts-tiktok-phone {
    width: min(720px, 100%);
    min-height: 820px;
}

.single-videos .ts-tiktok-phone__media,
.single-videos .ts-tiktok-iframe {
    min-height: 820px;
}

@media (max-width: 1100px) {
    .single-videos .ts-tiktok-single__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .single-videos .ts-tiktok-info {
        max-width: none;
    }
}

/* Absolute final /videos archive cascade guard. */
.ts-video-archive .ts-video-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 16px 0 12px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.ts-video-archive .ts-video-toolbar__group {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.ts-video-archive .ts-video-toolbar a,
.ts-video-archive .ts-video-category-strip a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #16243d;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.ts-video-archive .ts-video-toolbar a {
    padding: 9px 12px;
}

.ts-video-archive .ts-video-category-strip {
    display: flex;
    gap: 8px;
    margin: 0 0 22px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.ts-video-archive .ts-video-category-strip a {
    flex: 0 0 auto;
    padding: 9px 12px;
    white-space: nowrap;
}

.ts-video-archive .ts-video-toolbar a:hover,
.ts-video-archive .ts-video-toolbar a.is-active,
.ts-video-archive .ts-video-category-strip a:hover,
.ts-video-archive .ts-video-category-strip a.is-active {
    border-color: #075bd8;
    background: #075bd8;
    color: #fff;
    box-shadow: 0 8px 18px rgba(7, 91, 216, .16);
}

.ts-video-archive .ts-video-section {
    margin-bottom: 26px;
    padding: 20px;
    border: 1px solid #e6edf5;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.ts-video-archive .ts-youtube-showcase {
    grid-template-columns: minmax(0, 1.22fr) minmax(320px, .78fr);
    gap: 20px;
}

.ts-video-archive .ts-video-grid--youtube {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ts-video-archive .ts-video-grid--tiktok {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1199px) {
    .ts-video-archive .ts-video-grid--youtube {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ts-video-archive .ts-video-grid--tiktok {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .ts-video-archive .ts-video-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .ts-video-archive .ts-video-toolbar__group {
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .ts-video-archive .ts-youtube-showcase {
        grid-template-columns: minmax(0, 1fr);
    }

    .ts-video-archive .ts-video-grid--youtube {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ts-video-archive .ts-video-grid--tiktok {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ts-video-archive .ts-video-section {
        padding: 14px;
    }

    .ts-video-archive .ts-video-grid--tiktok {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .ts-video-archive .ts-video-grid--youtube {
        grid-template-columns: 1fr;
    }
}

/* Home-aligned /videos redesign pass. */
.post-type-archive-videos .ts-video-archive,
.tax-video_category .ts-video-archive,
.tax-video_tag .ts-video-archive {
    background: #f4f7fb;
    color: var(--pc-ink, #071126);
    padding-bottom: 64px;
}

.ts-video-archive .ts-video-hero {
    min-height: clamp(190px, 27vw, 360px);
    background-position: center center;
    background-size: cover;
}

.ts-video-archive .ts-video-hero::after {
    display: none;
}

.ts-video-archive .ts-video-archive-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin: 22px 0 12px;
}

.ts-video-archive .ts-video-archive-title h1 {
    margin: 0;
    color: var(--pc-ink, #071126);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: 0;
}

.ts-video-archive .ts-video-archive-title p {
    max-width: 520px;
    margin: 0;
    color: var(--pc-muted, #667085);
    font-size: 15px;
    line-height: 1.45;
    text-align: right;
}

.ts-video-archive .ts-video-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 16px 0 8px;
    padding: 10px;
    border: 1px solid var(--pc-line, #e6eaf0);
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

.ts-video-archive .ts-video-toolbar__group {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.ts-video-archive .ts-video-toolbar a {
    min-height: 44px;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--pc-line, #e6eaf0);
    border-radius: 8px;
    background: #fff;
    color: #142241;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.ts-video-archive .ts-video-toolbar a:hover,
.ts-video-archive .ts-video-toolbar a.is-active {
    border-color: var(--pc-blue, #075bd8);
    background: var(--pc-blue, #075bd8);
    color: #fff;
    box-shadow: none;
}

.ts-video-archive .ts-video-toolbar a:active {
    transform: translateY(1px);
}

.ts-video-archive .ts-video-toolbar a:focus-visible,
.ts-video-archive .ts-video-section__more:focus-visible,
.ts-video-archive .ts-video-card a:focus-visible,
.ts-video-archive .ts-youtube-list__item:focus-visible {
    outline: 3px solid rgba(7, 91, 216, .25);
    outline-offset: 2px;
}

.ts-video-archive .ts-video-toolbar em {
    font-style: normal;
    color: currentColor;
    opacity: .8;
}

.ts-video-filter-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
    color: var(--pc-muted, #667085);
    font-size: 13px;
    font-weight: 700;
}

.ts-video-filter-summary a {
    color: var(--pc-blue, #075bd8);
    font-weight: 800;
    text-decoration: none;
}

.ts-video-archive .ts-video-section {
    margin-bottom: 22px;
    padding: 18px;
    border: 1px solid var(--pc-line, #e6eaf0);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}

.ts-video-archive .ts-video-section__head {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--pc-line, #e6eaf0);
}

.ts-video-archive .ts-video-section__title {
    gap: 12px;
}

.ts-video-archive .ts-video-section__icon {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    font-size: 23px;
    box-shadow: none;
}

.ts-video-archive .ts-video-section__title h2 {
    color: var(--pc-ink, #071126);
    font-size: 26px;
    line-height: 1.16;
    font-weight: 900;
}

.ts-video-archive .ts-video-section__title p {
    margin-top: 4px;
    color: var(--pc-muted, #667085);
    font-size: 14px;
    line-height: 1.35;
}

.ts-video-archive .ts-video-section__more {
    min-height: 40px;
    padding: 9px 16px;
    border: 1px solid var(--pc-line, #e6eaf0);
    border-radius: 8px;
    background: #fff;
    color: var(--pc-blue, #075bd8);
    box-shadow: none;
}

.ts-video-archive .ts-video-section__more:hover {
    border-color: var(--pc-blue, #075bd8);
    background: var(--pc-blue, #075bd8);
    color: #fff;
}

.ts-video-archive .ts-youtube-showcase {
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
    gap: 18px;
}

.ts-video-archive .ts-youtube-featured__thumb,
.ts-video-archive .ts-youtube-list__thumb,
.ts-video-archive .ts-video-card__thumb,
.ts-video-archive .ts-tiktok-explore-card {
    border-radius: 8px;
}

.ts-video-archive .ts-youtube-featured__thumb {
    box-shadow: none;
}

.ts-video-archive .ts-youtube-featured__play i {
    width: 64px;
    height: 64px;
    border: 0;
    background: #ff0033;
    box-shadow: 0 10px 20px rgba(225, 29, 72, .24);
}

.ts-video-archive .ts-youtube-featured h3 {
    margin: 12px 0 8px;
    color: var(--pc-ink, #071126);
    font-size: 23px;
    line-height: 1.25;
    font-weight: 900;
}

.ts-video-archive .ts-youtube-featured__meta {
    color: var(--pc-muted, #667085);
}

.ts-video-archive .ts-youtube-list {
    gap: 10px;
}

.ts-video-archive .ts-youtube-list__item {
    min-height: 100px;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 12px;
    padding: 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #f8fafc;
}

.ts-video-archive .ts-youtube-list__item:hover {
    border-color: #d8e6f7;
    background: #fff;
    transform: translateY(-1px);
}

.ts-video-archive .ts-video-grid--youtube {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ts-video-archive .ts-video-grid--tiktok {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ts-video-archive .ts-video-card {
    border: 1px solid var(--pc-line, #e6eaf0);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ts-video-archive .ts-video-card:hover {
    border-color: #d8e6f7;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .08);
    transform: translateY(-2px);
}

.ts-video-archive .ts-video-card h3 {
    min-height: 42px;
    max-height: 42px;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800;
}

.ts-video-archive .ts-video-card__meta {
    flex-wrap: wrap;
    gap: 6px 12px;
}

.ts-video-archive .ts-video-card--tiktok,
.ts-video-archive .ts-video-card--tiktok:hover {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.ts-video-archive .ts-video-card--tiktok .ts-tiktok-explore-card {
    box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
}

.ts-video-archive .ts-tiktok-explore-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #eef2f7;
}

.ts-video-archive .ts-explore-title {
    top: auto;
    bottom: 42px;
    color: #fff;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
}

.ts-video-archive .ts-video-empty {
    border-color: var(--pc-line, #e6eaf0);
    background: #f8fafc;
}

@media (max-width: 1199px) {
    .ts-video-archive .ts-video-grid--youtube {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ts-video-archive .ts-video-grid--tiktok {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .ts-video-archive .ts-video-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .ts-video-archive .ts-video-toolbar__group {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
        padding-bottom: 0;
    }

    .ts-video-archive .ts-video-toolbar a {
        min-width: 0;
        padding-inline: 10px;
        white-space: nowrap;
    }

    .ts-video-archive .ts-youtube-showcase {
        grid-template-columns: minmax(0, 1fr);
    }

    .ts-video-archive .ts-video-grid--youtube {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ts-video-archive .ts-video-grid--tiktok {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .post-type-archive-videos .ts-video-archive,
    .tax-video_category .ts-video-archive,
    .tax-video_tag .ts-video-archive {
        padding-bottom: 118px;
    }

    .ts-video-archive .pc-shell {
        width: min(100% - 20px, 1440px);
    }

    .ts-video-archive .ts-video-hero {
        min-height: 132px;
        background-position: center top;
    }

    .ts-video-archive .ts-video-archive-title {
        display: block;
        margin: 16px 0 12px;
    }

    .ts-video-archive .ts-video-archive-title h1 {
        font-size: 25px;
        line-height: 1.18;
    }

    .ts-video-archive .ts-video-archive-title p {
        margin-top: 8px;
        max-width: none;
        font-size: 13px;
        line-height: 1.45;
        text-align: left;
    }

    .ts-video-archive .ts-video-toolbar {
        margin-top: 14px;
        padding: 9px;
    }

    .ts-video-archive .ts-video-toolbar a {
        min-height: 42px;
        gap: 6px;
        font-size: 12px;
    }

    .ts-video-filter-summary {
        margin-bottom: 10px;
        font-size: 12px;
    }

    .ts-video-archive .ts-video-section {
        margin-bottom: 16px;
        padding: 12px;
    }

    .ts-video-archive .ts-video-section__head {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

    .ts-video-archive .ts-video-section__icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .ts-video-archive .ts-video-section__title h2 {
        font-size: 23px;
    }

    .ts-video-archive .ts-video-section__title p {
        font-size: 12px;
    }

    .ts-video-archive .ts-video-section__more {
        width: 100%;
        min-height: 42px;
    }

    .ts-video-archive .ts-youtube-list__item {
        grid-template-columns: 116px minmax(0, 1fr);
        min-height: 78px;
    }

    .ts-video-archive .ts-youtube-list__body strong {
        font-size: 12px;
        line-height: 1.35;
    }

    .ts-video-archive .ts-youtube-list__body small {
        margin-top: 4px;
        font-size: 10px;
        line-height: 1.35;
    }

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

    .ts-video-archive .ts-video-grid--tiktok {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ts-video-archive .ts-explore-title {
        left: 8px;
        right: 8px;
        bottom: 38px;
        font-size: 11px;
        line-height: 1.3;
    }

    .ts-video-archive .ts-explore-footer {
        left: 8px;
        right: 8px;
        bottom: 8px;
        font-size: 10px;
    }
}

/* Saticom Video Hub final cascade override. */
.post-type-archive-videos .ts-video-archive,
.tax-video_category .ts-video-archive,
.tax-video_tag .ts-video-archive {
    background: linear-gradient(180deg, #eef4ff 0, #f6f8fc 420px, #f4f7fb 100%);
}

.ts-video-archive .ts-video-hub-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(520px, 52vw, 680px);
    padding: clamp(34px, 5vw, 72px) 0;
    color: #fff;
    background: #071126;
}

.ts-video-archive .ts-video-hub-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
}

.ts-video-archive .ts-video-hub-hero::before,
.ts-video-archive .ts-video-hub-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ts-video-archive .ts-video-hub-hero::before {
    z-index: -1;
    background: linear-gradient(90deg, rgba(5, 14, 34, .96) 0%, rgba(5, 14, 34, .88) 42%, rgba(5, 14, 34, .38) 100%),
        radial-gradient(circle at 78% 18%, rgba(249, 115, 22, .28), transparent 28%),
        radial-gradient(circle at 48% 88%, rgba(37, 99, 235, .38), transparent 34%);
}

.ts-video-archive .ts-video-hub-hero::after {
    opacity: .32;
    background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(90deg, #000, transparent 74%);
}

.ts-video-archive .ts-video-hub-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, .78fr);
    align-items: center;
    gap: clamp(24px, 4vw, 58px);
}

.ts-video-archive .ts-video-hub-hero__copy {
    max-width: 760px;
}

.ts-video-archive .ts-video-hub-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #dbeafe;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.ts-video-archive .ts-video-hub-hero__eyebrow i {
    color: #f97316;
}

.ts-video-archive .ts-video-hub-hero h1 {
    max-width: 820px;
    margin: 20px 0 16px;
    color: #fff;
    font-size: clamp(38px, 6vw, 76px);
    line-height: .96;
    font-weight: 950;
    letter-spacing: 0;
}

.ts-video-archive .ts-video-hub-hero__copy p {
    max-width: 620px;
    margin: 0;
    color: rgba(240, 246, 255, .86);
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.65;
}

.ts-video-archive .ts-video-hub-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.ts-video-archive .ts-video-hub-hero__cta,
.ts-video-archive .ts-video-hub-hero__ghost {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 18px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.ts-video-archive .ts-video-hub-hero__cta {
    background: #f97316;
    color: #fff;
    box-shadow: 0 18px 34px rgba(249, 115, 22, .28);
}

.ts-video-archive .ts-video-hub-hero__ghost {
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .09);
    color: #fff;
}

.ts-video-archive .ts-video-hub-hero__cta:hover,
.ts-video-archive .ts-video-hub-hero__ghost:hover {
    transform: translateY(-2px);
}

.ts-video-archive .ts-video-hub-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 590px;
    margin: 30px 0 0;
}

.ts-video-archive .ts-video-hub-hero__stats div {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
}

.ts-video-archive .ts-video-hub-hero__stats dt {
    color: #fff;
    font-size: 28px;
    line-height: 1;
    font-weight: 950;
}

.ts-video-archive .ts-video-hub-hero__stats dd {
    margin: 7px 0 0;
    color: rgba(240, 246, 255, .7);
    font-size: 12px;
    font-weight: 800;
}

.ts-video-archive .ts-video-hub-featured {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    background: rgba(3, 10, 24, .64);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .38);
}

.ts-video-archive .ts-video-hub-featured__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}

.ts-video-archive .ts-video-hub-featured__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform .35s ease;
}

.ts-video-archive .ts-video-hub-featured__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .72));
}

.ts-video-archive .ts-video-hub-featured:hover img {
    transform: scale(1.06);
}

.ts-video-archive .ts-video-hub-featured__label,
.ts-video-archive .ts-video-hub-featured__duration,
.ts-video-archive .ts-video-hub-featured__play {
    position: absolute;
    z-index: 1;
}

.ts-video-archive .ts-video-hub-featured__label {
    top: 16px;
    left: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ff0033;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.ts-video-archive .ts-video-hub-featured__duration {
    right: 16px;
    bottom: 16px;
    padding: 7px 10px;
    border-radius: 7px;
    background: rgba(0, 0, 0, .72);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.ts-video-archive .ts-video-hub-featured__play {
    left: 50%;
    top: 50%;
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #ff0033;
    font-size: 24px;
    transform: translate(-50%, -50%);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .28);
}

.ts-video-archive .ts-video-hub-featured__body {
    padding: 18px;
}

.ts-video-archive .ts-video-hub-featured__body strong {
    display: block;
    color: #fff;
    font-size: 20px;
    line-height: 1.32;
    font-weight: 950;
}

.ts-video-archive .ts-video-hub-featured__body span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    color: rgba(240, 246, 255, .72);
    font-size: 13px;
    font-weight: 800;
}

.ts-video-archive .ts-video-archive-title {
    margin-top: 26px;
}

.ts-video-archive .ts-video-archive-title h2 {
    margin: 0;
    color: var(--pc-ink, #071126);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.12;
    font-weight: 950;
}

.ts-video-archive .ts-video-toolbar {
    position: sticky;
    top: 0;
    z-index: 20;
    align-items: center;
    margin: 18px 0 10px;
    padding: 8px;
    border: 1px solid rgba(7, 91, 216, .13);
    border-radius: 14px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
    backdrop-filter: blur(14px);
}

.ts-video-archive .ts-video-toolbar__group {
    gap: 6px;
}

.ts-video-archive .ts-video-toolbar a {
    min-height: 46px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #334155;
}

.ts-video-archive .ts-video-toolbar a:hover,
.ts-video-archive .ts-video-toolbar a.is-active {
    background: #075bd8;
    color: #fff;
    box-shadow: 0 10px 22px rgba(7, 91, 216, .2);
}

.ts-video-archive .ts-video-section {
    position: relative;
    overflow: hidden;
    padding: clamp(16px, 2vw, 24px);
    border: 1px solid rgba(7, 91, 216, .1);
    border-radius: 16px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .07);
}

.ts-video-archive .ts-video-section--youtube {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 62%, #edf5ff 100%);
}

.ts-video-archive .ts-video-section--tiktok {
    background: linear-gradient(135deg, #ffffff 0%, #fff8fb 54%, #f7fbff 100%);
}

.ts-video-archive .ts-video-section__head {
    border-bottom: 0;
}

.ts-video-archive .ts-video-section__title h2 {
    font-size: clamp(24px, 2.6vw, 34px);
}

.ts-video-archive .ts-video-section__more {
    border-radius: 999px;
}

.ts-video-archive .ts-youtube-showcase {
    grid-template-columns: minmax(0, 1.22fr) minmax(360px, .78fr);
    gap: 22px;
}

.ts-video-archive .ts-youtube-featured__thumb {
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .16);
}

.ts-video-archive .ts-youtube-featured h3 {
    max-width: 860px;
    font-size: clamp(22px, 2.3vw, 34px);
}

.ts-video-archive .ts-youtube-list__item {
    grid-template-columns: 154px minmax(0, 1fr);
    min-height: 104px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .78);
}

.ts-video-archive .ts-video-grid--tiktok {
    align-items: stretch;
    grid-template-columns: 1.12fr repeat(3, minmax(0, .72fr));
    gap: 16px;
}

.ts-video-archive .ts-video-grid--tiktok .ts-video-card--tiktok:first-child {
    grid-row: span 2;
}

.ts-video-archive .ts-video-card--tiktok .ts-tiktok-explore-card {
    min-height: 100%;
    border-radius: 16px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .14);
}

.ts-video-archive .ts-video-grid--tiktok .ts-video-card--tiktok:first-child .ts-tiktok-explore-card {
    aspect-ratio: 9 / 14.5;
}

.ts-video-archive .ts-tiktok-explore-card::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, .1) 0%, transparent 36%, rgba(0, 0, 0, .86) 100%);
}

.ts-video-archive .ts-explore-title {
    left: 13px;
    right: 13px;
    bottom: 46px;
}

.ts-video-archive .ts-explore-footer {
    left: 13px;
    right: 13px;
}

@media (prefers-reduced-motion: reduce) {
    .ts-video-archive .ts-video-hub-featured__media img,
    .ts-video-archive .ts-video-hub-hero__cta,
    .ts-video-archive .ts-video-hub-hero__ghost {
        transition: none;
    }
}

@media (max-width: 1199px) {
    .ts-video-archive .ts-video-hub-hero__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ts-video-archive .ts-video-hub-featured {
        max-width: 760px;
    }

    .ts-video-archive .ts-video-grid--tiktok {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ts-video-archive .ts-video-grid--tiktok .ts-video-card--tiktok:first-child {
        grid-row: auto;
    }
}

@media (max-width: 991px) {
    .ts-video-archive .ts-video-hub-hero {
        min-height: auto;
    }

    .ts-video-archive .ts-video-toolbar {
        position: static;
    }

    .ts-video-archive .ts-youtube-showcase {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    .ts-video-archive .ts-video-hub-hero {
        padding: 24px 0 28px;
    }

    .ts-video-archive .ts-video-hub-hero__grid {
        gap: 18px;
    }

    .ts-video-archive .ts-video-hub-hero h1 {
        margin-top: 14px;
        font-size: clamp(32px, 11vw, 44px);
        line-height: 1.02;
    }

    .ts-video-archive .ts-video-hub-hero__copy p {
        font-size: 14px;
        line-height: 1.55;
    }

    .ts-video-archive .ts-video-hub-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 20px;
    }

    .ts-video-archive .ts-video-hub-hero__stats {
        grid-template-columns: 1fr 1fr;
        margin-top: 18px;
    }

    .ts-video-archive .ts-video-hub-hero__stats div:first-child {
        grid-column: 1 / -1;
    }

    .ts-video-archive .ts-video-hub-featured {
        border-radius: 14px;
    }

    .ts-video-archive .ts-video-hub-featured__play {
        width: 58px;
        height: 58px;
        font-size: 18px;
    }

    .ts-video-archive .ts-video-hub-featured__body {
        padding: 14px;
    }

    .ts-video-archive .ts-video-hub-featured__body strong {
        font-size: 16px;
    }

    .ts-video-archive .ts-video-archive-title h2 {
        font-size: 24px;
    }

    .ts-video-archive .ts-video-toolbar {
        border-radius: 12px;
    }

    .ts-video-archive .ts-video-toolbar__group {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ts-video-archive .ts-video-toolbar a {
        min-height: 44px;
        padding-inline: 8px;
    }

    .ts-video-archive .ts-video-section {
        border-radius: 12px;
    }

    .ts-video-archive .ts-youtube-list__item {
        grid-template-columns: 112px minmax(0, 1fr);
        border-radius: 10px;
    }

    .ts-video-archive .ts-video-grid--tiktok {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ts-video-archive .ts-video-card--tiktok .ts-tiktok-explore-card {
        border-radius: 12px;
    }
}
