:root {
    --cs-premium-bg: #07090d;
    --cs-premium-bg-deep: #080a0f;
    --cs-premium-bg-rgb: 7, 9, 13;
    --cs-premium-panel: #10141b;
    --cs-premium-panel-2: #151b24;
    --cs-premium-line: rgba(255, 255, 255, 0.1);
    --cs-premium-text: #f5f6f7;
    --cs-premium-muted: #a6adb8;
    --cs-premium-soft: #d9dde4;
    --cs-premium-accent: #c9182b;
    --cs-premium-accent-2: #f04453;
    --cs-premium-accent-rgb: 201, 24, 43;
    --cs-premium-green: #35d07f;
    --cs-premium-blue: #5aa7ff;
    --cs-premium-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
    --cs-card-radius: 10px;
    --cs-ui-density: 1;
    --cs-hero-style: cinematic;
    --cs-thumb-fit: cover;
    color-scheme: light dark;
}

@supports (color: light-dark(#fff, #000)) {
    :root {
        --cs-auto-surface: light-dark(#f7fafc, var(--cs-premium-bg));
        --cs-auto-card: light-dark(#ffffff, var(--cs-premium-panel));
        --cs-auto-text: light-dark(#151922, var(--cs-premium-text));
    }
}

body,
[data-theme="dark"] {
    background: var(--cs-premium-bg) !important;
    color: var(--cs-premium-text);
}

.home-fluid,
.home__right,
.home-body {
    background:
        radial-gradient(circle at 20% 0%, rgba(var(--cs-premium-accent-rgb), 0.11), transparent 32rem),
        linear-gradient(180deg, var(--cs-premium-panel) 0%, var(--cs-premium-bg) 42%, var(--cs-premium-bg-deep) 100%);
}

.home__right {
    min-height: 100vh;
}

.home-header {
    position: sticky;
    top: 0;
    z-index: 99;
    border-bottom: 1px solid var(--cs-premium-line);
    background: rgba(var(--cs-premium-bg-rgb), 0.88);
    backdrop-filter: blur(18px);
}

.home-header__inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    padding-block: 8px;
}

.home-header__left {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    gap: 12px;
}

.home-header__right {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 8px;
}

.search-form-wrapper {
    flex: 1 1 320px;
    min-width: 220px;
    max-width: 440px;
}

.search-form .form--control {
    min-height: 44px;
    border: 1px solid var(--cs-premium-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--cs-premium-text);
}

.search-form .form--control::placeholder {
    color: var(--cs-premium-muted);
}

.search-form-btn,
.home-header__left-mic,
.menu-button,
.user-info__button,
.notification__btn {
    border: 1px solid var(--cs-premium-line);
    background: rgba(255, 255, 255, 0.06);
    color: var(--cs-premium-text);
}

.btn--base,
.create__btn {
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    background: linear-gradient(135deg, var(--cs-premium-accent), #8f1020) !important;
    box-shadow: 0 12px 28px rgba(201, 24, 43, 0.24);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.btn--base:hover,
.create__btn:hover,
.cs-card-actions a:hover,
.cs-home-filters a:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.btn--base:active,
.create__btn:active,
.cs-card-actions a:active,
.cs-home-filters a:active {
    transform: translateY(0) scale(0.985);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(255, 209, 102, 0.78) !important;
    outline-offset: 3px;
}

.tag_sliders {
    padding: 14px 18px;
    border-bottom: 1px solid var(--cs-premium-line);
    background: rgba(10, 13, 18, 0.86);
}

.tag-item {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 14px !important;
    border: 1px solid var(--cs-premium-line);
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.055) !important;
    color: var(--cs-premium-soft) !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
}

.tag-item:hover,
.tag-item.cs-tag-featured {
    border-color: rgba(240, 68, 83, 0.6);
    background: rgba(201, 24, 43, 0.18) !important;
    color: #fff !important;
}

.tag-item span {
    display: inline-grid;
    min-width: 22px;
    height: 20px;
    place-items: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.09);
    color: var(--cs-premium-muted);
    font-size: 11px;
}

.cs-premium-home {
    padding-top: 22px;
}

.home-hero-section {
    position: relative;
    min-height: clamp(420px, 56vh, 660px);
    margin: 0 18px 32px;
    overflow: hidden;
    border: 1px solid var(--cs-premium-line);
    border-radius: 8px;
    background-position: center;
    background-size: cover;
    box-shadow: var(--cs-premium-shadow);
}

.home-hero-overlay {
    min-height: inherit;
    display: flex;
    align-items: flex-end;
    padding: clamp(28px, 5vw, 64px);
    background:
        linear-gradient(90deg, rgba(5, 7, 10, 0.94) 0%, rgba(5, 7, 10, 0.74) 45%, rgba(5, 7, 10, 0.18) 100%),
        linear-gradient(0deg, rgba(5, 7, 10, 0.9), rgba(5, 7, 10, 0.08));
}

.home-hero-content {
    max-width: 760px;
}

.home-hero-badge,
.cs-section-kicker,
.cs-video-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 10px;
    border: 1px solid rgba(240, 68, 83, 0.42);
    border-radius: 6px;
    background: rgba(201, 24, 43, 0.18);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-hero-title {
    max-width: 15ch;
    margin: 16px 0 14px;
    color: #fff;
    font-size: clamp(40px, 7vw, 84px);
    line-height: 0.94;
    letter-spacing: 0;
}

.home-hero-summary {
    max-width: 660px;
    color: var(--cs-premium-soft);
    font-size: 17px;
    line-height: 1.65;
}

.home-hero-meta,
.home-hero-channel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--cs-premium-muted);
}

.home-hero-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.cs-hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.cs-hero-benefits span,
.cs-home-filters a,
.cs-trust-strip article,
.cs-card-actions a {
    border: 1px solid var(--cs-premium-line);
    background: rgba(255, 255, 255, 0.07);
    color: var(--cs-premium-soft);
}

.cs-hero-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}

.cs-hero-benefits i {
    color: var(--cs-premium-accent-2);
}

.cs-home-filters,
.cs-trust-strip {
    width: calc(100% - 36px);
    margin: 0 18px 24px;
}

.cs-home-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cs-home-filters a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 850;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.cs-home-filters a:first-child,
.cs-home-filters a:hover {
    border-color: rgba(var(--cs-premium-accent-rgb), 0.55);
    background: rgba(var(--cs-premium-accent-rgb), 0.16);
    color: #fff;
}

.cs-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.cs-trust-strip article {
    display: grid;
    gap: 4px;
    padding: 15px;
    border-radius: var(--cs-card-radius, 10px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.cs-trust-strip strong {
    color: var(--cs-premium-text);
    font-size: 14px;
}

.cs-trust-strip span {
    color: var(--cs-premium-muted);
    font-size: 12px;
    line-height: 1.45;
}

.cs-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 30px 18px 16px;
}

.home-body-title {
    margin: 0 !important;
}

.video-item-wrapper,
.video-wrapper {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    padding: 0 18px;
    container-type: inline-size;
}

.cs-video-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--cs-premium-line);
    border-radius: var(--cs-card-radius, 10px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.video-item-wrapper > .video-item.cs-video-card,
.video-wrapper > .video-item.cs-video-card {
    width: 100% !important;
    max-width: none !important;
}

.cs-video-card:hover {
    transform: translateY(-4px);
    border-color: rgba(240, 68, 83, 0.38);
    box-shadow: var(--cs-premium-shadow);
}

.video-item__thumb {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    aspect-ratio: 16 / 9;
    border-radius: 0 !important;
    background: #05070a;
    overflow: hidden;
}

.video-item__thumb img,
.video-item__thumb .cs-card-poster {
    width: 100%;
    height: 100%;
    object-fit: var(--cs-thumb-fit, cover);
    display: block;
    transition: opacity 0.2s ease;
}

.video-item__thumb .cs-hover-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}

.video-item__thumb.is-previewing .cs-hover-preview {
    opacity: 1;
}

.video-item__thumb.is-previewing::after {
    opacity: 0.12;
}

.cs-mobile-poster {
    display: block;
}

.cs-video-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.cs-video-card.is-premium .cs-video-badge {
    border-color: rgba(53, 208, 127, 0.5);
    background: rgba(53, 208, 127, 0.16);
}

.video-item__content {
    width: 100% !important;
    min-width: 0 !important;
    padding: 10px 10px 12px !important;
}

.cs-video-card .video-item__channel-author {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    overflow: hidden;
}

.cs-video-card .video-item__channel-author img,
.cs-video-card .fit-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.cs-video-card .channel {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-item__content .title a,
.video-item__content .channel {
    color: var(--cs-premium-text) !important;
}

.video-item__content .title {
    display: -webkit-box;
    min-height: 40px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 14px;
    line-height: 1.45;
}

.video-item__content .meta {
    color: var(--cs-premium-muted);
    font-size: 12px;
}

.cs-low-view-cta {
    color: var(--cs-premium-accent-2);
    font-weight: 800;
}

.cs-card-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 9px;
}

.cs-card-actions a {
    display: inline-flex;
    min-width: 0;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
    padding: 5px 6px;
    border-radius: 7px;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.cs-card-actions a:hover {
    border-color: rgba(255, 209, 102, 0.48);
    background: rgba(255, 209, 102, 0.1);
    color: #fff;
}

.shorts-section,
.home-body__shorts {
    padding: 0 18px;
}

.home-body__shorts {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.short-item {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--cs-premium-line);
    border-radius: var(--cs-card-radius, 10px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
}

.short-item__thumb {
    display: block;
    position: relative;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: #05070a;
}

.short-item__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.short-item__channel {
    position: absolute;
    left: 10px;
    bottom: 72px;
    z-index: 3;
    width: 30px;
    height: 30px;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: #111;
}

.short-item__content {
    padding: 10px 10px 4px;
}

.short-item__title {
    display: -webkit-box;
    min-height: 38px;
    margin: 0;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 13px;
    line-height: 1.45;
}

.short-item__view {
    display: block;
    padding: 0 10px 10px;
    color: var(--cs-premium-muted);
    font-size: 12px;
}

.cs-site-footer {
    border-top: 1px solid var(--cs-premium-line);
    background: #030407;
    color: rgba(166, 173, 184, 0.42);
}

.cs-site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 7px 14px;
}

.cs-site-footer__brand img {
    display: none;
}

.cs-site-footer__brand p,
.cs-site-footer__meta {
    max-width: none;
    font-size: 10px;
    line-height: 1.25;
}

.cs-site-footer__links {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cs-site-footer__links a {
    color: rgba(217, 221, 228, 0.42);
    font-size: 10px;
    font-weight: 600;
}

.cs-site-footer__links a:hover {
    color: #fff;
}

.cs-site-footer__meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cs-site-footer__cta {
    display: none;
}

.cs-site-footer__cta:hover {
    color: #fff;
    border-color: rgba(230, 30, 45, 0.72);
    background: rgba(230, 30, 45, 0.2);
}

.cs-header-donate,
.cs-header-invite,
.cs-header-community,
.cs-header-club {
    border-color: rgba(255, 255, 255, 0.18) !important;
    background: rgba(255, 255, 255, 0.055) !important;
    color: var(--cs-premium-soft) !important;
}

.cs-header-donate:hover,
.cs-header-invite:hover,
.cs-header-community:hover,
.cs-header-club:hover {
    border-color: rgba(230, 30, 45, 0.55) !important;
    color: #fff !important;
    background: rgba(230, 30, 45, 0.16) !important;
}

.cs-header-donate,
.cs-hero-donate,
.cs-video-donate {
    border-color: rgba(255, 107, 53, 0.58) !important;
    background: linear-gradient(135deg, #ff6b35, #c9182b) !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(255, 107, 53, 0.24);
}

.sidebar-logo__link img {
    width: auto;
    max-width: 160px;
    max-height: 42px;
    height: auto;
    object-fit: contain;
    filter: none;
}

.sidebar-logo__link {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.home-header .sidebar-logo__link {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.short-video-wrapper .video-wrapper {
    display: block !important;
    position: relative;
    width: min(100vw, 430px) !important;
    height: min(calc(100vh - 84px), 760px) !important;
    max-width: 100%;
    aspect-ratio: 9 / 16;
    margin-inline: auto;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.cs-community-page,
.cs-club-page {
    padding: 28px 18px 64px;
}

.cs-install-banner {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: min(420px, calc(100vw - 24px));
    padding: 10px 12px;
    border: 1px solid rgba(255, 209, 102, 0.34);
    border-radius: 12px;
    background: rgba(8, 10, 15, 0.96);
    color: #fff;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(16px);
}

.cs-install-banner[hidden] {
    display: none !important;
}

.cs-install-banner span {
    font-size: 12px;
    font-weight: 800;
}

.cs-install-btn,
.cs-install-close {
    border: 0;
    border-radius: 8px;
    color: #111;
    font-weight: 900;
}

.cs-install-btn {
    min-height: 32px;
    padding: 6px 10px;
    background: var(--cs-premium-accent-2);
}

.cs-install-close {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.cs-notification-permission.is-enabled {
    border-color: rgba(46, 194, 126, 0.55) !important;
    background: rgba(46, 194, 126, 0.16) !important;
    color: #fff !important;
}

.cs-community-hero {
    max-width: 1180px;
    margin: 0 auto 24px;
    padding: 28px 0 22px;
    border-bottom: 1px solid var(--cs-premium-line);
}

.cs-community-hero h1 {
    max-width: 780px;
    margin-bottom: 10px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 4.4rem);
    line-height: 1.04;
}

.cs-community-hero p {
    max-width: 760px;
    color: var(--cs-premium-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.cs-community-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.cs-community-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.cs-community-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid var(--cs-premium-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    color: var(--cs-premium-soft);
    font-size: 12px;
    font-weight: 800;
}

.cs-community-benefits i {
    color: var(--cs-premium-accent-2);
}

.cs-community-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    max-width: 1180px;
    margin: 0 auto;
}

.cs-forum-board,
.cs-community-widget,
.cs-tier-card,
.cs-plan-card,
.cs-thread-card {
    border: 1px solid var(--cs-premium-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
}

.cs-panel-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border-bottom: 1px solid var(--cs-premium-line);
}

.cs-panel-title span,
.cs-community-widget h2,
.cs-tier-card h2,
.cs-plan-card h3,
.cs-category-thread h2,
.cs-club-section h2 {
    color: #fff;
    letter-spacing: 0;
}

.cs-panel-title small,
.cs-tier-card p,
.cs-thread-card p,
.cs-community-widget small {
    color: var(--cs-premium-muted);
}

.cs-forum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    padding: 14px;
}

.cs-forum-card {
    display: grid;
    gap: 5px;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--cs-premium-soft);
    background: rgba(255, 255, 255, 0.035);
}

.cs-forum-card:hover,
.cs-forum-card.is-active {
    border-color: rgba(240, 68, 83, 0.48);
    color: #fff;
    background: rgba(201, 24, 43, 0.12);
}

.cs-forum-card__icon {
    color: var(--cs-premium-accent-2);
    font-size: 1.35rem;
}

.cs-community-side {
    display: grid;
    gap: 14px;
    align-content: start;
}

.cs-community-widget {
    display: grid;
    gap: 11px;
    padding: 16px;
}

.cs-community-widget a {
    color: var(--cs-premium-soft);
}

.cs-member-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cs-member-row img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.cs-member-row span {
    display: grid;
}

.cs-category-thread,
.cs-club-section,
.cs-tier-grid {
    max-width: 1180px;
    margin: 24px auto 0;
}

.cs-thread-list {
    display: grid;
    gap: 12px;
}

.cs-thread-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
}

.cs-thread-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background: #05070a;
}

.cs-thread-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cs-thread-title {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    font-weight: 800;
}

.cs-thread-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--cs-premium-muted);
    font-size: 12px;
}

.cs-tier-grid,
.cs-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.cs-tier-card,
.cs-plan-card {
    padding: 18px;
}

.cs-tier-card span,
.cs-plan-badge {
    color: var(--cs-premium-accent-2);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.cs-tier-card a,
.cs-plan-card a {
    color: #fff;
    font-weight: 800;
}

.cs-tier-card.is-featured {
    border-color: rgba(255, 107, 53, 0.46);
    background: rgba(255, 107, 53, 0.1);
}

.cs-plan-card {
    display: grid;
    gap: 8px;
}

.cookies-card {
    width: min(360px, calc(100vw - 24px));
    padding: 14px !important;
    border: 1px solid var(--cs-premium-line);
    border-radius: 8px;
    background: rgba(7, 9, 13, 0.94);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.38);
}

.cookies-card__icon {
    display: none;
}

.cookies-card__content {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
}

.cookies-card__btn {
    margin-top: 10px !important;
}

.cookies-card__btn .btn {
    min-height: 34px;
    padding: 7px 10px !important;
    font-size: 12px;
}

.cs-trust-page {
    padding: 28px 18px 60px;
}

.cs-trust-hero,
.cs-trust-grid,
.cs-trust-nav {
    max-width: 980px;
    margin-inline: auto;
}

.cs-trust-hero {
    padding: clamp(34px, 6vw, 76px);
    border: 1px solid var(--cs-premium-line);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(201, 24, 43, 0.18), rgba(255, 255, 255, 0.05));
}

.cs-trust-hero h1 {
    margin: 16px 0;
    color: #fff;
    font-size: clamp(36px, 6vw, 68px);
    letter-spacing: 0;
}

.cs-trust-hero p,
.cs-trust-item p {
    color: var(--cs-premium-soft);
    line-height: 1.7;
}

.cs-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 18px;
}

.cs-trust-item {
    padding: 22px;
    border: 1px solid var(--cs-premium-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
}

.cs-trust-item span {
    color: var(--cs-premium-accent-2);
    font-weight: 900;
}

.cs-trust-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.cs-trust-nav a {
    padding: 10px 14px;
    border: 1px solid var(--cs-premium-line);
    border-radius: 8px;
    color: var(--cs-premium-soft);
}

@media (min-width: 1920px) {
    .home-header__inner {
        min-height: 64px;
    }

    .home-hero-section {
        min-height: 500px;
    }

    .home-hero-title {
        font-size: clamp(2.6rem, 3vw, 4.4rem);
    }

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

    .home-body__shorts {
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 16px;
    }

    .video-item__content .title {
        font-size: 13px;
        min-height: 38px;
    }

    .btn--base,
    .create__btn {
        min-height: 38px;
        padding-block: 8px !important;
        font-size: 13px;
    }
}

@media (min-width: 2560px) {
    .video-item-wrapper,
    .video-wrapper {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }
}

@media (max-width: 1399px) {
    .video-item-wrapper,
    .video-wrapper {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .home-body__shorts {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

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

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

@media (max-width: 991px) {
    .cs-site-footer__inner,
    .cs-trust-grid,
    .cs-community-layout,
    .cs-tier-grid,
    .cs-plan-grid {
        grid-template-columns: 1fr;
    }

    .cs-trust-strip {
        grid-template-columns: 1fr;
    }

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

    .home-body__shorts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-hero-section {
        min-height: 460px;
        margin-inline: 12px;
    }

    .home-hero-overlay {
        background: linear-gradient(0deg, rgba(5, 7, 10, 0.94), rgba(5, 7, 10, 0.28));
    }

    .home-hero-title {
        max-width: 100%;
        font-size: 42px;
    }

    .cs-thread-card {
        grid-template-columns: 140px minmax(0, 1fr);
    }
}

@media (max-width: 575px) {
    html {
        -webkit-text-size-adjust: 100%;
    }

    body {
        overflow-x: hidden;
    }

    .home-header {
        top: 0;
        background: rgba(4, 5, 8, 0.96);
        backdrop-filter: blur(14px);
    }

    .home-header__inner {
        min-height: 48px;
        gap: 5px;
        padding: 5px 8px;
        flex-wrap: nowrap;
    }

    .home-header__right .sm-bottom-nav,
    .home-header__right .cs-header-invite,
    .home-header__right .cs-header-community,
    .home-header__right .cs-header-club,
    .home-header__right .user-info,
    .home-header__right .notification,
    .home-header__right .create,
    .home-header__right .create__btn:not(.cs-header-donate) {
        display: none !important;
    }

    .home-header__right {
        display: none !important;
    }

    .home-header__left {
        flex: 1 1 auto;
        min-width: 0;
        gap: 6px;
    }

    .home-header__left > .d-xxl-none {
        flex: 1 1 auto;
        min-width: 0;
        text-align: center;
    }

    .menu-button,
    .home-header__left-mic,
    .sm-search-btn {
        width: 34px;
        min-width: 34px;
        height: 34px;
        border-radius: 50%;
    }

    .menu-button-line {
        display: block !important;
        width: 16px !important;
        height: 2px !important;
        margin: 2px auto !important;
        border-radius: 999px !important;
        background: #f5f6f8 !important;
    }

    .home-header .sidebar-logo__link {
        max-width: 132px;
    }

    .search-form-wrapper {
        flex: 0 0 auto;
        min-width: 34px;
        width: 34px;
        max-width: 34px;
    }

    .search-form-wrapper .search-form,
    .home-header__left-mic {
        display: none !important;
    }

    .sm-search-btn {
        display: inline-grid !important;
        place-items: center;
        border: 1px solid var(--cs-premium-line);
        background: rgba(255, 255, 255, 0.06);
        color: var(--cs-premium-text);
    }

    .sidebar-logo__link {
        padding: 0;
        border-radius: 0;
        background: transparent;
    }

    .sidebar-logo__link img {
        width: 132px;
        max-width: 132px;
        height: 40px;
    }

    .tag_sliders {
        padding: 6px 10px;
    }

    .tag-item {
        min-height: 28px;
        padding: 5px 9px !important;
        font-size: 10px;
        gap: 5px;
    }

    .tag-item span {
        min-width: 18px;
        height: 18px;
        font-size: 10px;
    }

    .cs-premium-home {
        padding-top: 8px;
    }

    .home-hero-section {
        min-height: 0;
        height: auto;
        min-height: 330px;
        margin: 8px 10px 16px;
        border-radius: 8px;
        background-position: center 28%;
    }

    .home-hero-overlay {
        padding: 12px;
        align-items: end;
    }

    .home-hero-badge {
        padding: 4px 8px;
        font-size: 9px;
    }

    .home-hero-title {
        display: -webkit-box;
        max-width: 96%;
        overflow: hidden;
        font-size: 25px;
        line-height: 1.08;
        margin-block: 7px;
        white-space: normal !important;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .home-hero-summary {
        display: -webkit-box;
        max-width: 100%;
        overflow: hidden;
        color: rgba(245, 246, 247, 0.84);
        font-size: 12px;
        line-height: 1.45;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .home-hero-meta {
        gap: 8px;
        font-size: 10px;
        margin-top: 8px;
    }

    .home-hero-views,
    .home-hero-date {
        display: none;
    }

    .home-hero-avatar {
        width: 28px;
        height: 28px;
    }

    .home-hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 10px;
    }

    .home-hero-actions .btn {
        width: 100%;
        justify-content: center;
        min-height: 30px;
        padding: 6px 9px !important;
        font-size: 10.5px;
        line-height: 1.15;
        white-space: normal;
        border-radius: 7px !important;
    }

    .home-hero-actions .btn:nth-child(2) {
        display: inline-flex;
    }

    .home-hero-actions .btn:last-child {
        grid-column: 1 / -1;
    }

    .cs-hero-benefits {
        gap: 6px;
        margin-top: 10px;
    }

    .cs-hero-benefits span {
        min-height: 26px;
        padding: 5px 7px;
        font-size: 10px;
    }

    .cs-home-filters,
    .cs-trust-strip {
        width: calc(100% - 20px);
        margin: 0 10px 14px;
    }

    .cs-home-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .cs-home-filters a {
        flex: 0 0 auto;
        min-height: 32px;
        padding: 6px 10px;
        font-size: 11px;
    }

    .cs-trust-strip article {
        padding: 11px;
    }

    .video-item-wrapper,
    .video-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding-inline: 10px;
    }

    .home-body__shorts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding-inline: 10px;
    }

    .cs-video-badge {
        top: 6px;
        left: 6px;
        padding: 4px 7px;
        font-size: 9px;
        border-radius: 7px;
    }

    .video-item__content {
        padding: 7px 7px 9px !important;
    }

    .cs-video-card .cs-hover-preview,
    .cs-video-card .video-loader {
        display: none !important;
    }

    .cs-video-card .cs-mobile-poster,
    .cs-video-card .cs-card-poster {
        display: block !important;
    }

    .cs-video-card .video-item__channel-author {
        display: none !important;
    }

    .video-item__content .title,
    .video-item__content .title a {
        min-height: 30px;
        font-size: 12px !important;
        line-height: 1.25 !important;
        white-space: normal !important;
    }

    .video-item__content .meta,
    .cs-video-card .channel {
        font-size: 10px !important;
    }

    .cs-card-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px;
    }

    .cs-card-actions a {
        min-height: 28px;
        padding-inline: 4px;
        font-size: 0;
    }

    .cs-card-actions a i {
        font-size: 14px;
    }

    .cs-video-card .video-item__channel-author {
        display: none;
    }

    .cs-thread-card {
        grid-template-columns: 1fr;
    }

    .cs-site-footer__brand img {
        width: 112px;
        max-height: 34px;
    }

    .cs-site-footer__inner {
        gap: 4px;
        padding: 8px 12px 10px;
    }

    .cs-site-footer__brand p,
    .cs-site-footer__links,
    .cs-site-footer__cta {
        display: none;
    }

    .cs-site-footer__meta {
        font-size: 10px;
        line-height: 1.3;
    }

    .cookies-card {
        right: 8px !important;
        bottom: calc(8px + env(safe-area-inset-bottom)) !important;
        left: auto !important;
        width: min(292px, calc(100vw - 16px));
        padding: 10px !important;
    }

    .cookies-card__content {
        font-size: 11px;
        line-height: 1.35;
    }

    .cookies-card__btn {
        gap: 6px !important;
        margin-top: 8px !important;
    }

    .cookies-card__btn .btn {
        min-height: 30px;
        padding: 6px 8px !important;
        font-size: 11px;
    }

    .cs-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        margin: 18px 10px 10px;
    }

    .cs-section-heading h2,
    .section-heading h2,
    .home-body h2 {
        font-size: 19px;
        line-height: 1.1;
    }
}

@media (max-width: 430px) {
    * {
        min-width: 0;
    }

    .home-body,
    .home-hero-section,
    .cs-video-card,
    .short-item,
    .cs-community-page,
    .cs-club-page {
        overflow-wrap: anywhere;
    }

    .home-header__inner {
        min-height: 46px;
        padding-inline: 6px;
    }

    .home-header .sidebar-logo__link,
    .sidebar-logo__link img {
        max-width: 116px;
    }

    .home-hero-section {
        min-height: 320px;
        margin-inline: 8px;
    }

    .home-hero-title {
        font-size: 23px;
        -webkit-line-clamp: 3;
    }

    .home-hero-summary {
        font-size: 11.5px;
        -webkit-line-clamp: 2;
    }

    .home-hero-actions .btn {
        min-height: 38px;
        font-size: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .cs-hero-benefits span {
        font-size: 0;
        width: 28px;
        justify-content: center;
        padding-inline: 0;
    }

    .cs-hero-benefits span i {
        font-size: 14px;
    }

    .cs-video-badge {
        max-width: calc(100% - 12px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .video-item__content .title,
    .video-item__content .title a {
        min-height: 34px;
        font-size: 11px !important;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .short-item__title,
    .short-item__title a,
    .cs-thread-title,
    .cs-forum-card strong {
        overflow-wrap: anywhere;
    }

    .tag-item {
        max-width: 70vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .cs-install-banner {
        right: 8px;
        bottom: calc(8px + env(safe-area-inset-bottom));
        left: 8px;
        max-width: none;
    }
}

/* ── Video watermark overlay (player UI) ── */
.plyr__video-wrapper::after,
.video-item__thumb::after,
.dashboard-video .video-item__thumb::after,
.short-video-wrapper .video-wrapper::after {
    content: none !important;
    display: none !important;
}

.primary__videoPlayer,
.short-video-wrapper .video-wrapper {
    position: relative;
}

.primary__videoPlayer {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--cs-card-radius, 12px);
    background:
        radial-gradient(circle at 50% 0%, rgba(var(--cs-premium-accent-rgb, 255, 107, 53), 0.18), transparent 34%),
        #000;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.36);
}

.cs-player-ambient-glow {
    position: absolute;
    inset: -22%;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 18%, rgba(var(--cs-premium-accent-rgb, 255, 107, 53), 0.28), transparent 34%),
        radial-gradient(circle at 82% 12%, rgba(77, 171, 247, 0.2), transparent 30%),
        radial-gradient(circle at 50% 88%, rgba(46, 194, 126, 0.14), transparent 32%);
    filter: blur(36px);
    transition: opacity 0.25s ease;
}

.primary__videoPlayer.cs-ambient-enabled .cs-player-ambient-glow {
    opacity: 0.85;
}

.primary__videoPlayer .plyr,
.primary__videoPlayer .premium-stock,
.primary__videoPlayer .hidden-content,
.primary__videoPlayer .cs-video-watermark,
.primary__videoPlayer .cs-player-premium-tools,
.primary__videoPlayer .video-loader {
    position: relative;
    z-index: 2;
}

.cs-player-premium-tools {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 8;
    display: flex;
    gap: 8px;
    align-items: center;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.primary__videoPlayer:hover .cs-player-premium-tools,
.primary__videoPlayer:focus-within .cs-player-premium-tools {
    opacity: 1;
    transform: translateY(0);
}

.cs-player-tool {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 6px 10px;
    color: #fff;
    background: rgba(8, 10, 14, 0.72);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    backdrop-filter: blur(12px);
}

.cs-player-tool[aria-pressed="true"],
.cs-player-tool.is-done {
    border-color: rgba(var(--cs-premium-accent-rgb, 255, 107, 53), 0.62);
    background: linear-gradient(135deg, var(--cs-premium-accent), var(--cs-premium-accent-2));
    color: #111;
}

body.cs-theater-mode .play-body {
    max-width: 100% !important;
}

body.cs-theater-mode .play-video {
    width: min(100%, 1760px);
    margin-inline: auto;
}

body.cs-theater-mode .primary__videoPlayer .plyr video,
body.cs-theater-mode .cs-main-player {
    max-height: min(82vh, 980px);
}

.cs-video-watermark {
    position: absolute;
    right: 14px;
    bottom: 52px;
    z-index: 5;
    pointer-events: none;
    opacity: 0.35;
}

.cs-video-watermark img {
    display: block;
    width: auto;
    max-width: min(28vw, 140px);
    max-height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.65));
}

.short-video-wrapper .cs-video-watermark {
    right: 72px;
    bottom: 24px;
}

.short-video-wrapper .slick-slide:not(.slick-active) .cs-video-watermark {
    display: none !important;
}

.primary__videoPlayer .cs-video-watermark + .cs-video-watermark,
.short-video-wrapper .video-wrapper .cs-video-watermark + .cs-video-watermark {
    display: none !important;
}

.short-video-wrapper .video-player,
.short-video-wrapper .plyr,
.short-video-wrapper .plyr__video-wrapper {
    display: block;
    width: 100% !important;
    height: 100% !important;
    background: #000;
}

.short-video-wrapper .video-player,
.short-video-wrapper .plyr video {
    object-fit: contain !important;
}

.short-video-wrapper .action-container {
    position: absolute;
    right: 10px;
    bottom: 18px;
    z-index: 6;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

/* Main player page — full frame, no crop */
.primary__videoPlayer .plyr,
.primary__videoPlayer .plyr__video-wrapper {
    width: 100%;
    max-width: 100%;
}

.primary__videoPlayer .plyr video,
.cs-main-player {
    width: 100%;
    max-height: min(72vh, 820px);
    object-fit: contain;
    background: #000;
}

.short-item__thumb video,
.shorts-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.short-video-wrapper .video-wrapper .video-player,
.short-video-wrapper .video-wrapper .plyr video,
.short-video-wrapper .video-wrapper .shorts-video-player {
    object-fit: contain !important;
}

@media (max-width: 767px) {
    .primary__videoPlayer {
        border-radius: 10px;
    }

    .cs-player-premium-tools {
        top: 8px;
        right: 8px;
        gap: 5px;
        opacity: 1;
        transform: none;
    }

    .cs-player-tool {
        min-height: 30px;
        padding: 6px 8px;
        font-size: 0;
    }

    .cs-player-tool i {
        font-size: 16px;
    }

    .cs-video-watermark {
        right: 10px;
        bottom: 44px;
        opacity: 0.32;
    }

    .cs-video-watermark img {
        max-width: 96px;
        max-height: 28px;
    }
}

/* Compact premium hero carousel */
.cs-hero-slider-section {
    width: 100%;
    margin: 0 0 24px;
    overflow: hidden;
}

.cs-hero-slider {
    width: 100%;
}

.cs-hero-slider .owl-stage {
    display: flex;
}

.cs-hero-slider .owl-item {
    display: flex;
    align-items: stretch;
}

.cs-hero-slider .home-hero-section {
    width: 100%;
    min-height: clamp(300px, 42vh, 460px);
    margin: 0;
    border-radius: var(--cs-card-radius, 10px);
    transition: opacity 0.28s ease, transform 0.28s ease, filter 0.28s ease;
}

.cs-hero-slider .owl-item:not(.center) .home-hero-section {
    opacity: 0.62;
    transform: scale(0.94);
    filter: saturate(0.78) contrast(0.92);
}

.cs-hero-slider .home-hero-overlay {
    padding: clamp(20px, 3.5vw, 42px);
    background:
        linear-gradient(90deg, rgba(5, 7, 10, 0.92) 0%, rgba(5, 7, 10, 0.66) 48%, rgba(5, 7, 10, 0.1) 100%),
        linear-gradient(0deg, rgba(5, 7, 10, 0.88), rgba(5, 7, 10, 0.02));
}

.cs-hero-slider .home-hero-content {
    max-width: 610px;
}

.cs-hero-slider .home-hero-title {
    max-width: 18ch;
    margin: 12px 0 10px;
    font-size: clamp(30px, 4.2vw, 56px);
    line-height: 1.02;
}

.cs-hero-slider .home-hero-summary {
    max-width: 560px;
    font-size: 14px;
    line-height: 1.55;
}

.cs-hero-slider .home-hero-meta {
    margin-top: 10px;
    font-size: 12px;
}

.cs-hero-slider .home-hero-actions {
    gap: 9px;
    margin-top: 16px;
}

.cs-hero-slider .home-hero-actions .btn {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 12px;
}

.cs-hero-slider .owl-nav button {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 50% !important;
    background: rgba(8, 10, 14, 0.72) !important;
    color: #fff !important;
    transform: translateY(-50%);
    backdrop-filter: blur(12px);
}

.cs-hero-slider .owl-nav button:hover {
    background: var(--cs-premium-accent) !important;
}

.cs-hero-slider .owl-prev {
    left: max(24px, 7vw);
}

.cs-hero-slider .owl-next {
    right: max(24px, 7vw);
}

.cs-hero-slider .owl-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 12px;
}

.cs-hero-slider .owl-dot {
    width: 22px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22) !important;
}

.cs-hero-slider .owl-dot.active {
    background: var(--cs-premium-accent) !important;
}

.cs-hero-slider-section > .cs-hero-benefits {
    justify-content: center;
    margin: 12px 18px 0;
}

@media (min-width: 1920px) {
    .cs-hero-slider .home-hero-section {
        min-height: 420px;
    }

    .cs-hero-slider .home-hero-title {
        font-size: 52px;
    }
}

@media (max-width: 991px) {
    .cs-hero-slider .home-hero-section {
        min-height: 330px;
    }

    .cs-hero-slider .home-hero-title {
        font-size: clamp(27px, 6vw, 42px);
    }
}

@media (max-width: 575px) {
    .cs-premium-home {
        padding-top: 8px;
    }

    .cs-hero-slider-section {
        margin-bottom: 18px;
    }

    .cs-hero-slider .home-hero-section {
        min-height: 268px;
        border-radius: 10px;
    }

    .cs-hero-slider .home-hero-overlay {
        align-items: flex-end;
        padding: 14px;
    }

    .cs-hero-slider .home-hero-badge {
        min-height: 22px;
        padding: 4px 7px;
        font-size: 8px;
    }

    .cs-hero-slider .home-hero-title {
        max-width: 96%;
        margin: 8px 0 7px;
        font-size: 22px;
        line-height: 1.08;
        -webkit-line-clamp: 2;
    }

    .cs-hero-slider .home-hero-summary {
        max-width: 100%;
        font-size: 11px;
        line-height: 1.42;
        -webkit-line-clamp: 2;
    }

    .cs-hero-slider .home-hero-meta {
        margin-top: 7px;
        gap: 7px;
        font-size: 10px;
    }

    .cs-hero-slider .home-hero-channel {
        max-width: 100%;
        min-width: 0;
    }

    .cs-hero-slider .home-hero-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        margin-top: 10px;
    }

    .cs-hero-slider .home-hero-actions .btn {
        min-height: 34px;
        padding: 7px 6px;
        font-size: 10px;
        justify-content: center;
    }

    .cs-hero-slider-section > .cs-hero-benefits {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 6px;
        margin: 10px 10px 0;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .cs-hero-slider-section > .cs-hero-benefits::-webkit-scrollbar {
        display: none;
    }

    .cs-hero-slider-section > .cs-hero-benefits span {
        flex: 0 0 auto;
        min-height: 28px;
        padding: 5px 8px;
        font-size: 10px;
    }
}

/* Brave/Android high font-scale hardening */
.home-hero-channel {
    flex-wrap: nowrap;
    min-width: 0;
}

.home-hero-avatar,
.home-hero-channel img.home-hero-avatar {
    flex: 0 0 30px !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

@media (max-width: 575px) {
    .cs-hero-slider-section {
        max-height: 430px;
    }

    .cs-hero-slider .home-hero-section {
        min-height: 252px;
    }

    .cs-hero-slider .home-hero-overlay {
        padding: 12px;
    }

    .cs-hero-slider .home-hero-content {
        max-height: 228px;
        overflow: hidden;
    }

    .cs-hero-slider .home-hero-title {
        font-size: 20px;
        line-height: 1.08;
    }

    .cs-hero-slider .home-hero-meta {
        min-height: 28px;
        max-height: 32px;
        overflow: hidden;
    }

    .cs-hero-slider .home-hero-channel {
        flex: 1 1 auto;
        gap: 6px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .cs-hero-slider .home-hero-avatar,
    .cs-hero-slider .home-hero-channel img.home-hero-avatar {
        flex-basis: 24px !important;
        width: 24px !important;
        min-width: 24px !important;
        max-width: 24px !important;
        height: 24px !important;
        min-height: 24px !important;
        max-height: 24px !important;
    }

    .cs-hero-slider .home-hero-views,
    .cs-hero-slider .home-hero-date {
        display: none !important;
    }

    .cs-hero-slider .home-hero-actions {
        margin-top: 8px;
    }

    .cs-hero-slider .home-hero-actions .btn {
        min-height: 31px;
        padding: 6px 5px;
        font-size: 9.5px;
        line-height: 1.1;
    }

    .cs-hero-slider-section > .cs-hero-benefits {
        margin-top: 8px;
    }
}

/* Mobile viewport final guardrails: keep hero chips readable on Android/Brave. */
@media (max-width: 575px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .cs-premium-home,
    .cs-hero-slider-section,
    .cs-hero-slider,
    .cs-hero-slider .owl-stage-outer,
    .cs-hero-slider .owl-stage,
    .cs-hero-slider .owl-item,
    .cs-home-filters,
    .cs-trust-strip,
    .video-item-wrapper,
    .video-wrapper,
    .home-body__shorts {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .cs-hero-slider-section {
        max-height: none !important;
        margin-bottom: 16px !important;
        overflow: visible !important;
    }

    .cs-hero-slider .home-hero-section {
        min-height: 250px !important;
        max-height: 288px !important;
        overflow: hidden !important;
    }

    .cs-hero-slider .home-hero-content {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 236px !important;
        min-width: 0 !important;
    }

    .cs-hero-slider .home-hero-title {
        font-size: clamp(18px, 6.1vw, 22px) !important;
        line-height: 1.1 !important;
        max-width: 100% !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    .cs-hero-slider .home-hero-summary {
        font-size: clamp(10.5px, 3.3vw, 12px) !important;
        line-height: 1.38 !important;
        max-width: 100% !important;
    }

    .cs-hero-slider .home-hero-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        width: 100% !important;
    }

    .cs-hero-slider .home-hero-actions .btn {
        min-width: 0 !important;
        width: 100% !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .cs-hero-slider-section > .cs-hero-benefits {
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: max-content !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        margin: 10px 10px 0 !important;
        padding: 0 0 6px !important;
        gap: 8px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .cs-hero-slider-section > .cs-hero-benefits::-webkit-scrollbar {
        display: none;
    }

    .cs-hero-slider-section > .cs-hero-benefits span {
        display: inline-flex !important;
        flex: none !important;
        width: auto !important;
        min-width: max-content !important;
        max-width: none !important;
        min-height: 34px !important;
        padding: 7px 11px !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        white-space: nowrap !important;
        word-break: keep-all !important;
        overflow-wrap: normal !important;
        writing-mode: horizontal-tb !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
        font-size: 11px !important;
    }

    .cs-hero-slider-section > .cs-hero-benefits span i {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        writing-mode: horizontal-tb !important;
    }

    .cs-hero-slider .owl-stage {
        min-width: unset !important;
        max-width: none !important;
    }

    .cs-hero-slider .owl-item {
        min-width: unset !important;
        max-width: none !important;
    }

    .cs-hero-slider .owl-stage-outer {
        overflow: hidden !important;
        touch-action: pan-y pinch-zoom;
    }

    .cs-home-filters {
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: max-content !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
    }

    .cs-home-filters a {
        width: auto !important;
        min-width: max-content !important;
        max-width: none !important;
        white-space: nowrap !important;
        word-break: keep-all !important;
        overflow-wrap: normal !important;
    }
}
