/* ========================================================================
   CVP Tube — Main Stylesheet
   Design tokens, typography, layout, components
   ======================================================================== */

/* ====== DESIGN TOKENS (default dark-black + amber accent) ================
   These are overridden by /assets/css/schemes/*.css when a different scheme
   is active. The theme options panel writes the active scheme as a body
   class (e.g. `scheme-dark-amber`) and we swap the override sheet.
   ========================================================================= */

:root {
    /* Colors — semantic tokens */
    --bg-body:          #0a0a0b;
    --bg-surface:       #131316;
    --bg-surface-2:     #1a1a1f;
    --bg-surface-3:     #232329;
    --bg-hover:         #2a2a31;
    --border:           #2a2a31;
    --border-strong:    #3a3a42;

    --text-primary:     #f5f5f7;
    --text-secondary:   #a8a8b0;
    --text-muted:       #6a6a72;
    --text-inverse:     #0a0a0b;

    --accent:           #f5a524;   /* amber */
    --accent-hover:     #ffb84d;
    --accent-muted:     #b37b1c;
    --accent-glow:      rgba(245, 165, 36, 0.25);

    --success:          #22c55e;
    --danger:           #ef4444;
    --warning:          #f59e0b;
    --info:             #3b82f6;

    /* Typography */
    --font-sans:        'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-display:     'Space Grotesk', var(--font-sans);
    --font-mono:        'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    /* Font sizes (fluid where useful) */
    --fs-xs:            0.75rem;
    --fs-sm:            0.8125rem;
    --fs-base:          0.9375rem;
    --fs-md:            1rem;
    --fs-lg:            1.125rem;
    --fs-xl:            1.375rem;
    --fs-2xl:           clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
    --fs-3xl:           clamp(2rem, 1.5rem + 2.5vw, 3rem);

    /* Spacing scale */
    --sp-1:             0.25rem;
    --sp-2:             0.5rem;
    --sp-3:             0.75rem;
    --sp-4:             1rem;
    --sp-5:             1.25rem;
    --sp-6:             1.5rem;
    --sp-8:             2rem;
    --sp-10:            2.5rem;
    --sp-12:            3rem;
    --sp-16:            4rem;

    /* Layout */
    --container-max:    1400px;
    --grid-gap:         var(--sp-4);
    --card-radius:      10px;
    --btn-radius:       7px;

    /* Effects */
    --shadow-sm:        0 1px 2px rgba(0,0,0,0.4);
    --shadow-md:        0 4px 12px rgba(0,0,0,0.5);
    --shadow-lg:        0 12px 32px rgba(0,0,0,0.6);
    --shadow-glow:      0 0 0 3px var(--accent-glow);

    /* Transitions */
    --ease:             cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce:      cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast:           120ms var(--ease);
    --t-med:            200ms var(--ease);
    --t-slow:           340ms var(--ease);

    /* Z-index scale */
    --z-dropdown:       100;
    --z-sticky:         200;
    --z-overlay:        1000;
    --z-modal:          1100;
    --z-toast:          1200;
}

/* ====== LIGHT MODE DEFAULT (opt-in via body class `scheme-light-*`) ====== */
body.scheme-light {
    --bg-body:          #fafafa;
    --bg-surface:       #ffffff;
    --bg-surface-2:     #f3f3f5;
    --bg-surface-3:     #e8e8ec;
    --bg-hover:         #e0e0e5;
    --border:           #e4e4e9;
    --border-strong:    #cccccf;

    --text-primary:     #18181b;
    --text-secondary:   #52525b;
    --text-muted:       #8f8f96;
    --text-inverse:     #ffffff;

    --shadow-sm:        0 1px 2px rgba(0,0,0,0.06);
    --shadow-md:        0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg:        0 12px 32px rgba(0,0,0,0.1);
}

/* ====== RESET ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    overflow-x: hidden;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--accent); }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 var(--sp-3);
    letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-3xl); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p { margin: 0 0 var(--sp-3); }
small { font-size: var(--fs-xs); color: var(--text-muted); }

/* ====== LAYOUT PRIMITIVES ================================================ */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--sp-4);
}
@media (min-width: 768px) { .container { padding: 0 var(--sp-6); } }

.stack > * + * { margin-top: var(--sp-4); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); }
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ====== HEADER =========================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background: rgba(10, 10, 11, 0.85);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid var(--border);
}
body.scheme-light .site-header { background: rgba(255, 255, 255, 0.85); }

.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--sp-5);
    height: 62px;
}

.site-logo {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.site-logo__mark {
    width: 30px; height: 30px;
    background: var(--accent);
    border-radius: 7px;
    display: inline-grid;
    place-items: center;
    color: var(--text-inverse);
    font-weight: 900;
    font-size: 16px;
}

.site-nav {
    display: flex;
    gap: var(--sp-5);
    font-weight: 500;
    font-size: var(--fs-sm);
}
.site-nav a {
    color: var(--text-secondary);
    padding: 6px 0;
    position: relative;
}
.site-nav a:hover,
.site-nav .current-menu-item a { color: var(--text-primary); }
.site-nav .current-menu-item a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.site-search {
    display: flex;
    align-items: center;
    background: var(--bg-surface-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 14px;
    gap: 8px;
    min-width: 240px;
    transition: border-color var(--t-fast), background var(--t-fast);
}
.site-search:focus-within {
    border-color: var(--accent);
    background: var(--bg-surface);
    box-shadow: var(--shadow-glow);
}
.site-search input {
    flex: 1; border: 0; outline: 0; background: transparent;
    font-size: var(--fs-sm);
    min-width: 0;
}
.site-search svg { width: 16px; height: 16px; color: var(--text-muted); flex-shrink: 0; }

/* Mobile nav toggle */
.nav-toggle { display: none; }
@media (max-width: 900px) {
    .site-nav { display: none; }
    .nav-toggle { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: var(--bg-surface-2); }
    .site-header__inner { grid-template-columns: auto 1fr auto; }
    .site-search { min-width: 0; flex: 1; }
}

/* ====== BUTTONS ========================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: var(--btn-radius);
    font-weight: 600;
    font-size: var(--fs-sm);
    transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}
.btn:active { transform: scale(0.97); }

.btn--primary { background: var(--accent); color: var(--text-inverse); }
.btn--primary:hover { background: var(--accent-hover); color: var(--text-inverse); box-shadow: var(--shadow-glow); }

.btn--ghost { background: var(--bg-surface-2); color: var(--text-primary); border: 1px solid var(--border); }
.btn--ghost:hover { background: var(--bg-hover); border-color: var(--border-strong); }

.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: #dc2626; }

.btn--sm { padding: 6px 12px; font-size: var(--fs-xs); }
.btn--lg { padding: 14px 24px; font-size: var(--fs-md); }

/* ====== VIDEO CARD (grid tile) ========================================== */

.video-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-surface);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: transform var(--t-med), box-shadow var(--t-med);
}
.video-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.video-card__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--bg-surface-2);
    overflow: hidden;
}
.video-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow) var(--ease);
}
.video-card:hover .video-card__thumb img { transform: scale(1.05); }

.video-card__preview {
    position: absolute;
    inset: 0;
    object-fit: cover;
    opacity: 0;
    transition: opacity var(--t-med);
    pointer-events: none;
}
.video-card:hover .video-card__preview { opacity: 1; }

.video-card__badges {
    position: absolute;
    top: 8px; left: 8px; right: 8px;
    display: flex;
    justify-content: space-between;
    gap: 6px;
    font-size: var(--fs-xs);
    pointer-events: none;
}
.video-card__badge {
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    backdrop-filter: blur(4px);
}
.video-card__badge--quality { background: var(--accent); color: var(--text-inverse); }
.video-card__badge--duration { margin-left: auto; }

.video-card__body { padding: var(--sp-3); }
.video-card__title {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}
.video-card__meta {
    display: flex;
    gap: var(--sp-3);
    font-size: var(--fs-xs);
    color: var(--text-muted);
    align-items: center;
}
.video-card__meta > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}
.video-card__meta svg { width: 12px; height: 12px; flex-shrink: 0; }
.video-card__studio {
    font-size: var(--fs-xs);
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--grid-gap);
    padding: var(--sp-6) 0;
}
@media (max-width: 640px) {
    .video-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-2); }
    .video-card__title { font-size: var(--fs-xs); -webkit-line-clamp: 2; min-height: 0; }
    .video-card__body { padding: var(--sp-2); }
}

/* ====== AD SLOT STYLES =================================================== */

.ad-slot {
    position: relative;
    background: var(--bg-surface-2);
    border: 1px dashed var(--border);
    border-radius: var(--card-radius);
    min-height: 90px;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.ad-slot::before {
    content: 'Advertisement';
    position: absolute;
    top: 4px; right: 8px;
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    pointer-events: none;
    opacity: 0.6;
}
.ad-slot--card {
    aspect-ratio: 16/9;
    min-height: 0;
}

/* ====== AGE GATE ========================================================= */

.age-gate {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(24px);
    display: none;
    place-items: center;
    padding: var(--sp-4);
    animation: age-gate-fade 240ms var(--ease);
}
.age-gate[data-show="1"] { display: grid; }
@keyframes age-gate-fade { from { opacity: 0; } to { opacity: 1; } }

.age-gate__box {
    max-width: 520px;
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    padding: var(--sp-10) var(--sp-8);
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.age-gate__icon {
    width: 72px; height: 72px;
    margin: 0 auto var(--sp-5);
    border-radius: 50%;
    background: var(--accent);
    color: var(--text-inverse);
    display: grid; place-items: center;
    font-size: 28px;
    font-weight: 900;
    font-family: var(--font-display);
}
.age-gate__title {
    font-size: var(--fs-2xl);
    margin-bottom: var(--sp-3);
}
.age-gate__lead {
    color: var(--text-secondary);
    font-size: var(--fs-md);
    line-height: 1.55;
    margin-bottom: var(--sp-8);
}
.age-gate__actions {
    display: flex;
    gap: var(--sp-3);
    justify-content: center;
    flex-wrap: wrap;
}
.age-gate__fine {
    margin-top: var(--sp-5);
    font-size: var(--fs-xs);
    color: var(--text-muted);
    line-height: 1.5;
}
.age-gate__fine a { color: var(--accent); text-decoration: underline; }

/* ====== FOOTER =========================================================== */

.site-footer {
    margin-top: var(--sp-16);
    padding: var(--sp-12) 0 var(--sp-6);
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    font-size: var(--fs-sm);
    color: var(--text-secondary);
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: var(--sp-8);
    margin-bottom: var(--sp-8);
}
@media (max-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

.site-footer h4 {
    font-size: var(--fs-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--sp-3);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a:hover { color: var(--accent); }

.site-footer__bottom {
    padding-top: var(--sp-6);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--sp-4);
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

/* ====== UTILITIES ======================================================== */

.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-accent { color: var(--accent); }
.hidden { display: none !important; }

/* Skip-link for accessibility */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: var(--z-toast);
    background: var(--accent);
    color: var(--text-inverse);
    padding: 10px 16px;
    font-weight: 600;
}
.skip-link:focus { left: 10px; top: 10px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ========================================================================
   SINGLE VIDEO PAGE
   ======================================================================== */

.video-single {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: var(--sp-8);
    padding: var(--sp-6) 0;
    align-items: flex-start;
}
@media (max-width: 1100px) { .video-single { grid-template-columns: 1fr; } }

.video-player-wrap {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.video-player-wrap video,
.video-player-wrap iframe,
.video-player-wrap > div {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.video-header {
    margin-top: var(--sp-5);
    padding-bottom: var(--sp-5);
    border-bottom: 1px solid var(--border);
}
.video-title {
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
    margin: 0 0 var(--sp-3);
    line-height: 1.25;
    font-weight: 700;
}
.video-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-5);
    align-items: center;
    color: var(--text-muted);
    font-size: var(--fs-sm);
}
.video-stats__item { display: inline-flex; align-items: center; gap: 6px; }
.video-stats__item svg { width: 16px; height: 16px; }
.video-stats__spacer { flex: 1; }

.video-actions {
    display: flex;
    gap: var(--sp-2);
    flex-wrap: wrap;
}
.video-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-surface-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-primary);
    font-size: var(--fs-sm);
    font-weight: 500;
    transition: all var(--t-fast);
    cursor: pointer;
}
.video-action:hover { background: var(--bg-hover); border-color: var(--border-strong); color: var(--text-primary); }
.video-action svg { width: 15px; height: 15px; }
.video-action.is-active { background: var(--accent); color: var(--text-inverse); border-color: var(--accent); }
.video-action.is-active:hover { background: var(--accent-hover); color: var(--text-inverse); }

.video-body {
    padding: var(--sp-5) 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
}

.video-description {
    color: var(--text-secondary);
    font-size: var(--fs-md);
    line-height: 1.6;
}
.video-description p { margin: 0 0 var(--sp-3); }
.video-description a { color: var(--accent); }

.video-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--sp-4);
    padding: var(--sp-5);
    background: var(--bg-surface);
    border-radius: var(--card-radius);
    border: 1px solid var(--border);
}
.video-meta-grid__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.video-meta-grid__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}
.video-meta-grid__value {
    font-size: var(--fs-sm);
    color: var(--text-primary);
    font-weight: 500;
}
.video-meta-grid__value a { color: var(--accent); }
.video-meta-grid__value a:hover { color: var(--accent-hover); }

/* Term chips (pornstars, studios, categories, tags) */
.term-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.term-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--bg-surface-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: var(--fs-xs);
    font-weight: 500;
    transition: all var(--t-fast);
}
.term-chip:hover {
    background: var(--accent);
    color: var(--text-inverse);
    border-color: var(--accent);
}
.term-chip--pornstar { padding-left: 4px; }
.term-chip--pornstar img {
    width: 22px; height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

.term-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.term-group__label {
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

/* ========================================================================
   SIDEBAR
   ======================================================================== */

.video-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
}
@media (max-width: 1100px) { .video-sidebar { order: 2; } }

.sidebar-block {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    overflow: hidden;
}
.sidebar-block__header {
    padding: var(--sp-3) var(--sp-4);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}
.sidebar-block__body { padding: var(--sp-3); }

.sidebar-video {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: var(--sp-3);
    padding: var(--sp-2);
    border-radius: 8px;
    transition: background var(--t-fast);
}
.sidebar-video:hover { background: var(--bg-hover); }
.sidebar-video__thumb {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-surface-2);
}
.sidebar-video__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-video__duration {
    position: absolute;
    bottom: 4px; right: 4px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
}
.sidebar-video__title {
    font-size: var(--fs-xs);
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 4px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sidebar-video__meta {
    font-size: 11px;
    color: var(--text-muted);
}

/* ========================================================================
   RELATED VIDEOS SECTION
   ======================================================================== */

.related-section {
    padding: var(--sp-8) 0 var(--sp-4);
}
.related-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sp-4);
    gap: var(--sp-3);
}
.related-section__title {
    font-size: var(--fs-xl);
    margin: 0;
}
.related-section__more {
    font-size: var(--fs-sm);
    color: var(--accent);
    font-weight: 600;
}

/* ========================================================================
   ARCHIVE PAGES (category, tag, pornstar, studio)
   ======================================================================== */

.archive-hero {
    padding: var(--sp-10) 0 var(--sp-6);
    position: relative;
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--sp-4);
}
.archive-hero--portrait {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: var(--sp-6);
    align-items: center;
}
@media (max-width: 640px) {
    .archive-hero--portrait { grid-template-columns: 100px 1fr; gap: var(--sp-4); }
}
.archive-hero__avatar {
    width: 180px; height: 180px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-surface-2);
    border: 3px solid var(--border);
    flex-shrink: 0;
}
.archive-hero__avatar img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .archive-hero__avatar { width: 100px; height: 100px; } }

.archive-hero__title {
    font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
    margin: 0 0 var(--sp-2);
}
.archive-hero__desc {
    color: var(--text-secondary);
    font-size: var(--fs-md);
    max-width: 720px;
    margin: 0 0 var(--sp-3);
}
.archive-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-5);
    color: var(--text-muted);
    font-size: var(--fs-sm);
}
.archive-hero__stat strong { color: var(--text-primary); }

/* Filters / sort bar */
.archive-toolbar {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-3) 0;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--sp-4);
}
.archive-toolbar__label {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    font-weight: 500;
}
.sort-group { display: flex; gap: 4px; flex-wrap: wrap; }
.sort-pill {
    padding: 6px 14px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: var(--fs-xs);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--t-fast);
    text-decoration: none;
}
.sort-pill:hover { border-color: var(--border-strong); color: var(--text-primary); }
.sort-pill.is-active { background: var(--accent); color: var(--text-inverse); border-color: var(--accent); }

/* ========================================================================
   PAGINATION — numbered + arrows
   ======================================================================== */

.cvp-pagination {
    display: flex;
    justify-content: center;
    padding: var(--sp-8) 0 var(--sp-10);
}
.cvp-pagination .page-numbers {
    list-style: none;
    display: inline-flex;
    gap: 4px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}
.cvp-pagination .page-numbers a,
.cvp-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--t-fast);
}
.cvp-pagination .page-numbers a:hover {
    background: var(--bg-hover);
    border-color: var(--border-strong);
    color: var(--text-primary);
}
.cvp-pagination .page-numbers .current {
    background: var(--accent);
    color: var(--text-inverse);
    border-color: var(--accent);
}
.cvp-pagination .page-numbers .dots {
    background: transparent;
    border-color: transparent;
    color: var(--text-muted);
}
.cvp-pagination .page-numbers .prev,
.cvp-pagination .page-numbers .next {
    padding: 0 16px;
    font-size: 18px;
    line-height: 1;
}

/* ========================================================================
   BREADCRUMBS
   ======================================================================== */

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    padding: var(--sp-4) 0 0;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}
.breadcrumbs__sep { opacity: 0.5; }
.breadcrumbs a { color: var(--text-secondary); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs__current { color: var(--text-primary); font-weight: 500; }

/* ========================================================================
   SECTION HEADER (home page "Latest", "Trending", etc.)
   ======================================================================== */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-8) 0 var(--sp-2);
    gap: var(--sp-3);
    flex-wrap: wrap;
}
.section-header__title {
    margin: 0;
    font-size: var(--fs-2xl);
    position: relative;
    padding-left: var(--sp-4);
}
.section-header__title::before {
    content: '';
    position: absolute;
    left: 0; top: 10%; bottom: 10%;
    width: 4px;
    background: var(--accent);
    border-radius: 2px;
}
.section-header__link {
    color: var(--accent);
    font-size: var(--fs-sm);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.section-header__link:hover { color: var(--accent-hover); }

/* ========================================================================
   CATEGORIES STRIP (pill row of top categories)
   ======================================================================== */

.cat-strip {
    display: flex;
    gap: 8px;
    padding: var(--sp-4) 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.cat-strip::-webkit-scrollbar { display: none; }
.cat-strip__item {
    flex-shrink: 0;
    padding: 8px 16px;
    background: var(--bg-surface-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    font-weight: 500;
    white-space: nowrap;
    transition: all var(--t-fast);
}
.cat-strip__item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--border-strong);
}
.cat-strip__item--active {
    background: var(--accent);
    color: var(--text-inverse);
    border-color: var(--accent);
}

/* ========================================================================
   PORNSTAR / STUDIO DIRECTORY (A-Z listing)
   ======================================================================== */

.az-nav {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: var(--sp-4) 0;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--sp-5);
}
.az-nav__letter {
    width: 32px; height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
    font-weight: 700;
    font-size: var(--fs-xs);
    transition: all var(--t-fast);
}
.az-nav__letter:hover { color: var(--accent); border-color: var(--accent); }
.az-nav__letter.is-active { background: var(--accent); color: var(--text-inverse); border-color: var(--accent); }

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--sp-4);
    padding: var(--sp-4) 0;
}
.directory-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--sp-4);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    text-align: center;
    transition: all var(--t-med);
}
.directory-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    color: var(--text-primary);
}
.directory-card__avatar {
    width: 90px; height: 90px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-surface-2);
    margin-bottom: var(--sp-3);
}
.directory-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.directory-card__avatar--studio {
    border-radius: 10px;
    padding: 10px;
    display: grid; place-items: center;
}
.directory-card__name {
    font-size: var(--fs-sm);
    font-weight: 600;
    margin: 0 0 2px;
}
.directory-card__count {
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

/* ========================================================================
   DOWNLOAD BUTTON with quality options
   ======================================================================== */

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--success);
    color: #fff;
    border-radius: var(--btn-radius);
    font-weight: 600;
    font-size: var(--fs-sm);
    transition: all var(--t-fast);
}
.download-btn:hover { background: #16a34a; color: #fff; transform: translateY(-1px); }

/* ========================================================================
   MODE TOGGLE (dark/light switcher button)
   ======================================================================== */

.mode-toggle-btn {
    width: 38px; height: 38px;
    background: var(--bg-surface-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: inline-grid;
    place-items: center;
    color: var(--text-secondary);
    transition: all var(--t-fast);
    cursor: pointer;
}
.mode-toggle-btn:hover { border-color: var(--accent); color: var(--accent); }
.mode-toggle-btn svg { width: 18px; height: 18px; }
body.scheme-light .mode-toggle-btn .icon-sun { display: none; }
body.scheme-dark  .mode-toggle-btn .icon-moon { display: none; }

/* ========================================================================
   RESPONSIVE header tweaks
   ======================================================================== */

@media (max-width: 900px) {
    .site-header__inner { height: auto; padding: var(--sp-3) 0; gap: var(--sp-3); }
    .video-stats { gap: var(--sp-3); }
    .video-stats__spacer { display: none; }
    .video-actions { width: 100%; justify-content: space-between; }
    .video-action { flex: 1; justify-content: center; }
}

/* ========================================================================
   LIVE SEARCH DROPDOWN
   ======================================================================== */

.site-search { position: relative; }
.site-search__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    min-width: 340px;
    max-height: 70vh;
    overflow-y: auto;
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: var(--z-dropdown);
    padding: var(--sp-2);
}
.site-search__loading,
.site-search__empty {
    padding: var(--sp-4);
    text-align: center;
    color: var(--text-muted);
    font-size: var(--fs-sm);
}
.site-search__section + .site-search__section {
    margin-top: var(--sp-2);
    padding-top: var(--sp-2);
    border-top: 1px solid var(--border);
}
.site-search__section-label {
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}
.site-search__item {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: 8px;
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: background var(--t-fast);
}
.site-search__item:hover,
.site-search__item.is-active {
    background: var(--bg-hover);
    color: var(--text-primary);
}
.site-search__thumb {
    position: relative;
    flex-shrink: 0;
    width: 80px;
    height: 45px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-surface-2);
}
.site-search__thumb img { width: 100%; height: 100%; object-fit: cover; }
.site-search__dur {
    position: absolute;
    bottom: 2px; right: 2px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 0 4px;
    border-radius: 2px;
    font-size: 9px;
    font-weight: 600;
}
.site-search__body { flex: 1; min-width: 0; }
.site-search__title {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.site-search__meta {
    display: block;
    font-size: var(--fs-xs);
    color: var(--text-muted);
    margin-top: 2px;
}
.site-search__avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-surface-2);
    flex-shrink: 0;
    display: grid; place-items: center;
}
.site-search__avatar img { width: 100%; height: 100%; object-fit: cover; }
.site-search__term-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
}
.site-search__item--term .site-search__title { flex: 1; }
.site-search__all {
    display: block;
    padding: 10px 12px;
    margin-top: var(--sp-2);
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--accent);
    border-radius: 0 0 8px 8px;
    transition: background var(--t-fast);
}
.site-search__all:hover { background: var(--bg-hover); color: var(--accent-hover); }
.site-search__all.is-active { background: var(--bg-hover); }

/* ========================================================================
   COMMENTS POLISH
   ======================================================================== */

.comments-area {
    margin-top: var(--sp-8);
    padding-top: var(--sp-6);
    border-top: 1px solid var(--border);
}
.comments-title {
    font-size: var(--fs-xl);
    margin: 0 0 var(--sp-4);
}
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--sp-6);
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}
.comment-list .comment,
.comment-list .pingback {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    padding: var(--sp-4);
    list-style: none;
}
.comment-meta { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.comment-author .avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
}
.comment-author .fn, .comment-author b { font-weight: 600; color: var(--text-primary); }
.comment-metadata { font-size: var(--fs-xs); color: var(--text-muted); }
.comment-content { color: var(--text-secondary); font-size: var(--fs-sm); line-height: 1.6; }
.comment-content p:last-child { margin-bottom: 0; }
.reply { margin-top: var(--sp-3); }
.comment-reply-link {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--accent);
}
.children {
    list-style: none;
    padding: 0;
    margin-top: var(--sp-3);
    padding-left: var(--sp-5);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

/* Comment form */
.comment-form {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}
.comment-form label {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url],
.comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: var(--fs-sm);
    font-family: inherit;
    transition: border-color var(--t-fast);
}
.comment-form input:focus,
.comment-form textarea:focus {
    outline: 0;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form .form-submit input[type=submit],
.comment-form .form-submit button {
    padding: 10px 20px;
    background: var(--accent);
    color: var(--text-inverse);
    border: 0;
    border-radius: var(--btn-radius);
    font-weight: 600;
    font-size: var(--fs-sm);
    cursor: pointer;
    transition: background var(--t-fast);
}
.comment-form .form-submit input[type=submit]:hover { background: var(--accent-hover); }
.logged-in-as, .comment-notes { font-size: var(--fs-xs); color: var(--text-muted); }
.comment-form-cookies-consent { font-size: var(--fs-xs); color: var(--text-muted); display: flex; align-items: center; gap: 6px; }

/* ========================================================================
   VTT Sprite overlay
   ======================================================================== */

.vtt-frame {
    position: absolute; inset: 0;
    z-index: 3;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: auto;
}

/* ========================================================================
   SITE-NAV mobile drawer (when nav toggle fires)
   ======================================================================== */

@media (max-width: 900px) {
    .site-nav.is-open {
        display: flex !important;
        position: fixed;
        top: 62px; left: 0; right: 0;
        flex-direction: column;
        background: var(--bg-surface);
        padding: var(--sp-4);
        gap: var(--sp-2);
        border-top: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        z-index: var(--z-sticky);
    }
    .site-nav.is-open a { padding: var(--sp-3); border-radius: 6px; }
    .site-nav.is-open a:hover { background: var(--bg-hover); }
}

/* ========================================================================
   Copied state for Share button
   ======================================================================== */

.video-action.is-active { background: var(--success); color: #fff; border-color: var(--success); }

/* ========================================================================
   SIDEBAR LAYOUTS (archive + home)
   ======================================================================== */

/* Archive pages with sidebar */
.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: var(--sp-6);
    padding: var(--sp-4) 0;
    align-items: flex-start;
}
.layout-with-sidebar__main { min-width: 0; }
.layout-with-sidebar__aside { min-width: 0; }
@media (max-width: 1100px) {
    .layout-with-sidebar { grid-template-columns: 1fr; }
    .layout-with-sidebar__aside { order: 2; max-width: 640px; margin: 0 auto; width: 100%; }
}

/* ========================================================================
   SIDEBAR WIDGET STYLES
   ======================================================================== */

/* Term list (categories, studios) */
.sidebar-term-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sidebar-term-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 12px;
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    font-weight: 500;
    transition: all var(--t-fast);
}
.sidebar-term-list li a:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    transform: translateX(2px);
}
.sidebar-term-list li a:hover .sidebar-term-count {
    background: var(--accent);
    color: var(--text-inverse);
}
.sidebar-term-count {
    display: inline-block;
    padding: 2px 8px;
    background: var(--bg-surface-2);
    color: var(--text-muted);
    border-radius: 999px;
    font-size: var(--fs-xs);
    font-weight: 600;
    transition: all var(--t-fast);
    font-variant-numeric: tabular-nums;
}

/* Pornstars grid */
.sidebar-stars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-2);
}
.sidebar-star {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--sp-3);
    border-radius: 8px;
    text-align: center;
    transition: background var(--t-fast);
}
.sidebar-star:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}
.sidebar-star__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-surface-2);
    margin-bottom: 8px;
    display: grid;
    place-items: center;
}
.sidebar-star__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sidebar-star__avatar span {
    color: var(--text-muted);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
}
.sidebar-star__name {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
}
.sidebar-star__count {
    font-size: 10px;
    color: var(--text-muted);
}

/* Tag cloud */
.sidebar-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    line-height: 1.4;
}
.sidebar-tag-cloud a {
    display: inline-block;
    padding: 3px 10px;
    background: var(--bg-surface-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all var(--t-fast);
}
.sidebar-tag-cloud a:hover {
    background: var(--accent);
    color: var(--text-inverse);
    border-color: var(--accent);
    transform: translateY(-1px);
}

/* "View all" link at block bottom */
.sidebar-block__more {
    display: block;
    padding: 10px 12px;
    margin-top: var(--sp-2);
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--accent);
    border-radius: 0 0 var(--card-radius) var(--card-radius);
    transition: background var(--t-fast);
}
.sidebar-block__more:hover {
    background: var(--bg-hover);
    color: var(--accent-hover);
}

/* Live cams promo */
.live-cams-promo {
    display: block;
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    background: linear-gradient(135deg, #7c2d12 0%, #991b1b 50%, #7c2d12 100%);
    color: #fff;
    transition: transform var(--t-med);
}
.live-cams-promo:hover {
    transform: translateY(-2px);
    color: #fff;
}
.live-cams-promo::before {
    content: '';
    position: absolute;
    top: 10px; left: 10px;
    width: 10px; height: 10px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.3);
    animation: cvpLivePulse 1.6s infinite;
    z-index: 2;
}
@keyframes cvpLivePulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.1); }
}
.live-cams-promo__img img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}
.live-cams-promo__body {
    padding: var(--sp-4);
    text-align: center;
}
.live-cams-promo__title {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: 4px;
    font-family: var(--font-display);
}
.live-cams-promo__sub {
    font-size: var(--fs-xs);
    opacity: 0.9;
    margin-bottom: var(--sp-3);
}
.live-cams-promo__cta {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #991b1b;
    border-radius: 999px;
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Widget ad */
.ad-slot--widget {
    margin: 0;
    aspect-ratio: auto;
    min-height: 200px;
}

/* Tighten widget spacing inside sidebar */
.video-sidebar .sidebar-block + .sidebar-block,
.layout-with-sidebar__aside .sidebar-block + .sidebar-block {
    margin-top: var(--sp-4);
}

/* Widget base */
.widget { margin: 0; }
.widget_search,
.widget_text,
.widget_nav_menu {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    padding: var(--sp-4);
}
.widget_search .wp-block-search__label,
.widget_nav_menu .widget-title {
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: var(--sp-3);
}

/* ========================================================================
   FOOTER WIDGETS AREA
   ======================================================================== */
.footer-widgets {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: var(--sp-8) 0;
}
.footer-widgets__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--sp-6);
}
.footer-widgets .widget { background: transparent; border: 0; padding: 0; }
.footer-widgets .sidebar-block { background: transparent; border: 0; }

/* ========================================================================
   PUSH NOTIFICATION BELL
   ======================================================================== */
.cvp-push-bell {
    position: relative;
    width: 38px; height: 38px;
    background: var(--bg-surface-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: inline-grid;
    place-items: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--t-fast);
}
.cvp-push-bell:hover { border-color: var(--accent); color: var(--accent); }
.cvp-push-bell svg { width: 18px; height: 18px; }
.cvp-push-bell__dot {
    position: absolute;
    top: 8px; right: 8px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #ef4444;
    opacity: 0;
    transition: opacity var(--t-fast);
}
.cvp-push-bell.is-subscribed {
    background: var(--accent);
    color: var(--text-inverse);
    border-color: var(--accent);
}
.cvp-push-bell.is-subscribed .cvp-push-bell__dot {
    opacity: 1;
    background: #10b981;
    animation: cvpBellPulse 2s infinite;
}
@keyframes cvpBellPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

/* ========================================================================
   PUSH PROMPT (custom soft prompt)
   ======================================================================== */
.cvp-push-prompt {
    position: fixed;
    bottom: 20px; left: 20px;
    right: auto; max-width: 380px;
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    display: flex;
    gap: 12px;
    align-items: flex-start;
    z-index: var(--z-dropdown, 9999);
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.4s, opacity 0.3s;
}
.cvp-push-prompt.is-open { transform: translateY(0); opacity: 1; }
@media (max-width: 500px) {
    .cvp-push-prompt { left: 12px; right: 12px; max-width: none; }
}
.cvp-push-prompt__icon {
    font-size: 28px;
    width: 48px; height: 48px;
    background: var(--bg-surface-2);
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.cvp-push-prompt__body { flex: 1; min-width: 0; }
.cvp-push-prompt__title {
    font-weight: 700;
    font-size: var(--fs-md);
    margin-bottom: 4px;
    color: var(--text-primary);
}
.cvp-push-prompt__text {
    font-size: var(--fs-xs);
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 12px;
}
.cvp-push-prompt__actions { display: flex; gap: 6px; }
.cvp-push-prompt__btn {
    padding: 6px 14px;
    border: 0;
    border-radius: 6px;
    font-size: var(--fs-xs);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--t-fast);
}
.cvp-push-prompt__btn--allow {
    background: var(--accent);
    color: var(--text-inverse);
}
.cvp-push-prompt__btn--allow:hover { background: var(--accent-hover); }
.cvp-push-prompt__btn--deny {
    background: transparent;
    color: var(--text-muted);
}
.cvp-push-prompt__btn--deny:hover { color: var(--text-primary); }

/* ========================================================================
   ARCHIVE FILTER BAR (duration / quality / date)
   ======================================================================== */
.archive-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: var(--sp-3) 0;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--sp-4);
}
.archive-filter-bar__label {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    font-weight: 500;
}
.archive-filter-bar select {
    padding: 7px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-primary);
    font-size: var(--fs-xs);
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 32px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%236b7280' stroke-width='2'><path d='M3 5l3 3 3-3'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
}
.archive-filter-bar select:hover { border-color: var(--border-strong); }
.archive-filter-bar select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.archive-filter-bar__clear {
    padding: 6px 12px;
    font-size: var(--fs-xs);
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 999px;
    transition: all var(--t-fast);
}
.archive-filter-bar__clear:hover {
    background: var(--bg-hover);
    color: var(--accent);
}

/* =========================================================================
   v1.5.0 — RATINGS (Like / Dislike + Stars)
   ========================================================================= */
.cvp-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    padding: 12px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    margin: 14px 0;
}
.cvp-rating__thumbs { display: flex; align-items: center; gap: 10px; }
.cvp-thumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid var(--border);
    background: var(--bg-surface-2);
    color: var(--text);
    border-radius: 999px;
    font: 600 13px/1 var(--font-body);
    cursor: pointer;
    transition: all var(--t-fast);
}
.cvp-thumb:hover { border-color: var(--accent); color: var(--accent); }
.cvp-thumb.is-active { background: var(--accent); color: var(--accent-contrast); border-color: var(--accent); }
.cvp-thumb--down.is-active { background: #dc2626; border-color: #dc2626; color: #fff; }
.cvp-thumb svg { width: 16px; height: 16px; }
.cvp-rating__bar {
    display: inline-block;
    width: 140px;
    height: 6px;
    background: rgba(220,38,38,0.35);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.cvp-rating__bar-fill {
    display: block;
    height: 100%;
    background: #10b981;
    transition: width var(--t-med);
}
.cvp-rating__stars {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.cvp-rating__stars-label { font: 700 16px/1 var(--font-display); color: var(--text); }
.cvp-rating__stars-count { color: var(--text-muted); font-size: 12px; }
.cvp-stars { display: inline-flex; gap: 2px; }
.cvp-star {
    background: transparent;
    border: 0;
    padding: 2px;
    cursor: pointer;
    color: var(--border-strong);
    transition: color var(--t-fast), transform var(--t-fast);
}
.cvp-star svg { width: 18px; height: 18px; }
.cvp-star:hover, .cvp-star.is-filled { color: #f59e0b; }
.cvp-star:hover { transform: scale(1.12); }
/* Hover cascade: stars lower than hovered also light up */
.cvp-stars:hover .cvp-star { color: var(--border-strong); }
.cvp-stars .cvp-star:hover,
.cvp-stars .cvp-star:hover ~ .cvp-star { color: var(--border-strong); }
.cvp-stars:hover .cvp-star { color: #f59e0b; }
.cvp-stars:hover .cvp-star:hover ~ .cvp-star { color: var(--border-strong); }

/* =========================================================================
   v1.5.0 — REPORT BUTTON + MODAL
   ========================================================================= */
.cvp-report { display: inline-block; }
.cvp-report__trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: 999px;
    font: 500 12px/1 var(--font-body);
    cursor: pointer;
    transition: all var(--t-fast);
}
.cvp-report__trigger:hover { color: var(--accent); border-color: var(--accent); }
.cvp-report__trigger svg { width: 14px; height: 14px; }

.cvp-report__modal {
    position: fixed; inset: 0;
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    animation: cvpFadeIn 0.2s;
}
.cvp-report__modal[hidden] { display: none; }
.cvp-report__backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(4px);
}
.cvp-report__dialog {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px;
    width: 90%;
    max-width: 440px;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 24px 64px rgba(0,0,0,0.6);
}
.cvp-report__dialog h3 { margin: 0 0 16px; font: 700 20px/1.2 var(--font-display); }
.cvp-report__close {
    position: absolute; top: 12px; right: 14px;
    background: transparent; border: 0; color: var(--text-muted);
    font-size: 28px; line-height: 1;
    cursor: pointer;
}
.cvp-report__close:hover { color: var(--text); }
.cvp-report__label { display: block; font: 600 12px/1 var(--font-body); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin: 14px 0 6px; }
.cvp-report__form select,
.cvp-report__form textarea {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg-surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--text);
    font: inherit;
}
.cvp-report__form textarea { min-height: 80px; resize: vertical; font-family: inherit; }
.cvp-report__actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.cvp-report__btn {
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-surface-2);
    color: var(--text);
    font: 600 13px/1 var(--font-body);
    cursor: pointer;
    transition: all var(--t-fast);
}
.cvp-report__btn--primary { background: var(--accent); color: var(--accent-contrast); border-color: var(--accent); }
.cvp-report__btn:hover { opacity: 0.85; }
.cvp-report__msg { margin-top: 10px; font-size: 13px; color: var(--text-muted); }
.cvp-report__msg.is-success { color: #10b981; }
.cvp-report__msg.is-error { color: #dc2626; }
@keyframes cvpFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================================
   v1.5.0 — LEADERBOARD
   ========================================================================= */
.cvp-leaderboard__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 10px;
    padding: 0;
    margin: 14px 0;
    list-style: none;
    counter-reset: cvp-lb;
}
.cvp-leaderboard__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    transition: all var(--t-fast);
}
.cvp-leaderboard__item:hover { border-color: var(--accent); transform: translateY(-2px); }
.cvp-leaderboard__rank {
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    background: var(--bg-surface-2);
    border-radius: 50%;
    font: 700 14px/1 var(--font-display);
    color: var(--text-muted);
    flex-shrink: 0;
}
.cvp-leaderboard__item:nth-child(1) .cvp-leaderboard__rank { background: linear-gradient(135deg,#fbbf24,#d97706); color:#fff; }
.cvp-leaderboard__item:nth-child(2) .cvp-leaderboard__rank { background: linear-gradient(135deg,#cbd5e1,#64748b); color:#fff; }
.cvp-leaderboard__item:nth-child(3) .cvp-leaderboard__rank { background: linear-gradient(135deg,#b45309,#78350f); color:#fff; }
.cvp-leaderboard__link { display: flex; align-items: center; gap: 12px; flex: 1; text-decoration: none; color: inherit; }
.cvp-leaderboard__avatar {
    width: 48px; height: 48px; border-radius: 50%;
    overflow: hidden; flex-shrink: 0;
    background: var(--bg-surface-2);
    display: grid; place-items: center;
}
.cvp-leaderboard__avatar img { width: 100%; height: 100%; object-fit: cover; }
.cvp-leaderboard__initial { font: 700 20px/1 var(--font-display); color: var(--text-muted); }
.cvp-leaderboard__body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.cvp-leaderboard__name { font: 600 14px/1.2 var(--font-body); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cvp-leaderboard__meta { display: flex; gap: 10px; font-size: 11px; color: var(--text-muted); }
.cvp-leaderboard__rating { color: #f59e0b; font-weight: 700; }

/* =========================================================================
   v1.5.0 — TRENDING SEARCHES widget
   ========================================================================= */
.cvp-trending { margin: 18px 0; }
.cvp-trending__title { font: 700 14px/1 var(--font-display); margin: 0 0 10px; }
.cvp-trending__list {
    display: flex; flex-wrap: wrap; gap: 6px;
    padding: 0; margin: 0; list-style: none;
}
.cvp-trending__list li { margin: 0; }
.cvp-trending__list a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 11px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    text-decoration: none;
    color: var(--text);
    font: 500 12px/1 var(--font-body);
    transition: all var(--t-fast);
}
.cvp-trending__list a:hover { background: var(--accent); color: var(--accent-contrast); border-color: var(--accent); }
.cvp-trending__cnt {
    font-size: 10px;
    background: rgba(255,255,255,0.12);
    padding: 1px 6px;
    border-radius: 999px;
}

/* =========================================================================
   v1.5.0 — PARTNERS + SIMILAR PORNSTARS + YOU MAY LIKE
   ========================================================================= */
.cvp-partners, .cvp-similar-stars, .cvp-yml { margin: 32px 0; }

/* =========================================================================
   v1.5.0 — RECENT SEARCHES (header dropdown)
   ========================================================================= */
.cvp-recent-searches {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-top: 0;
    border-radius: 0 0 var(--r-md) var(--r-md);
    max-height: 320px;
    overflow: auto;
    z-index: 100;
}
.cvp-recent-searches[data-visible="1"] { display: block; }
.cvp-recent-searches__group-title {
    padding: 10px 14px 6px;
    font: 700 10px/1 var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}
.cvp-recent-searches__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    color: var(--text);
    text-decoration: none;
    border-top: 1px solid var(--border);
    transition: background var(--t-fast);
}
.cvp-recent-searches__item:hover { background: var(--bg-surface-2); color: var(--accent); }
.cvp-recent-searches__item-icon {
    color: var(--text-muted); font-size: 12px;
}
.cvp-recent-searches__remove {
    margin-left: auto;
    background: transparent;
    border: 0;
    color: var(--text-muted);
    cursor: pointer;
    padding: 2px 6px;
    opacity: 0.6;
}
.cvp-recent-searches__remove:hover { opacity: 1; color: #dc2626; }
.cvp-recent-searches__clear {
    display: block;
    padding: 8px 14px;
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    background: var(--bg-surface-2);
    cursor: pointer;
    border: 0;
    width: 100%;
}

/* =========================================================================
   v1.5.0 — ADS: STICKY + INTERSTITIAL
   ========================================================================= */
.cvp-ad-slot { display: block; }
.cvp-sticky-ad {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9000;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 8px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.6);
    max-width: 340px;
}
.cvp-sticky-ad__close {
    position: absolute;
    top: -10px; right: -10px;
    width: 26px; height: 26px;
    background: var(--bg-body);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}
.cvp-sticky-ad.is-hidden { display: none; }

.cvp-interstitial {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: cvpFadeIn 0.3s;
}
.cvp-interstitial__backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.92);
}
.cvp-interstitial__box {
    position: relative;
    background: var(--bg-surface);
    border-radius: var(--r-lg);
    padding: 28px;
    max-width: 680px;
    width: 92%;
    max-height: 90vh;
    overflow: auto;
}
.cvp-interstitial__skip {
    position: absolute; top: 10px; right: 10px;
    padding: 7px 14px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
}
.cvp-interstitial__skip:disabled { opacity: 0.6; cursor: not-allowed; }

/* =========================================================================
   v1.5.0 — THEATER MODE + STICKY MINIPLAYER
   ========================================================================= */
.cvp-theater-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: 999px;
    font: 500 12px/1 var(--font-body);
    cursor: pointer;
    transition: all var(--t-fast);
}
.cvp-theater-toggle:hover { color: var(--accent); border-color: var(--accent); }
.cvp-theater-toggle[aria-pressed="true"] { background: var(--accent); color: var(--accent-contrast); border-color: var(--accent); }

body.cvp-theater .site-main__layout { grid-template-columns: 1fr !important; }
body.cvp-theater .site-main__sidebar,
body.cvp-theater .single-related { display: none; }
body.cvp-theater .video-player-wrap { max-width: min(1400px, 92vw); margin-left: auto; margin-right: auto; }

/* ═══ v1.5.8 — Lights-off mode ═══ */
.cvp-lights-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: 999px;
    font: 500 12px/1 var(--font-body);
    cursor: pointer;
    transition: all var(--t-fast);
}
.cvp-lights-toggle:hover { color: #fbbf24; border-color: #fbbf24; }
.cvp-lights-toggle[aria-pressed="true"] { background: #1a1a1a; color: #fbbf24; border-color: #fbbf24; }

/* Dark overlay — everything on page darkens except the player */
.cvp-lights-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 9000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    cursor: pointer;
}
body.cvp-lights-off .cvp-lights-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Lift the player, its toggle row, and the title above the overlay */
body.cvp-lights-off .video-player-wrap,
body.cvp-lights-off .cvp-theater-toggle-row,
body.cvp-lights-off .video-header,
body.cvp-lights-off .video-single > .video-main > .video-header {
    position: relative;
    z-index: 9001;
}

/* Visual cue: soft glow around the player when lights are off */
body.cvp-lights-off .video-player-wrap {
    box-shadow: 0 0 60px rgba(251, 191, 36, 0.08), 0 0 20px rgba(0, 0, 0, 0.8);
    border-radius: 6px;
}

/* Disable scroll chaining into the overlay on mobile */
body.cvp-lights-off { overflow-x: hidden; }

.cvp-sticky-player {
    position: fixed;
    z-index: 8500;
    width: 340px;
    background: #000;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.7);
    transition: opacity 0.2s;
}
.cvp-sticky-player[hidden] { display: none; }
.cvp-sticky-player[data-corner="br"] { bottom: 16px; right: 16px; }
.cvp-sticky-player[data-corner="bl"] { bottom: 16px; left: 16px; }
.cvp-sticky-player[data-corner="tr"] { top: 16px; right: 16px; }
.cvp-sticky-player[data-corner="tl"] { top: 16px; left: 16px; }
.cvp-sticky-player__handle {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    background: rgba(0,0,0,0.9);
    color: #fff;
    cursor: move;
    user-select: none;
}
.cvp-sticky-player__title {
    font-size: 11px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}
.cvp-sticky-player__actions { display: flex; gap: 4px; }
.cvp-sticky-player__btn {
    background: transparent;
    border: 0;
    color: #fff;
    padding: 4px 6px;
    cursor: pointer;
    opacity: 0.75;
    font-size: 14px;
    line-height: 1;
}
.cvp-sticky-player__btn:hover { opacity: 1; }
.cvp-sticky-player__slot { background: #000; }
.cvp-sticky-player__slot video,
.cvp-sticky-player__slot iframe { width: 100%; height: 191px; display: block; }
@media (max-width: 720px) {
    .cvp-sticky-player { display: none !important; }
}

/* =========================================================================
   v1.5.5-minimal — Redesigned single page + theater mode fix
   ========================================================================= */

.video-description {
    margin: var(--sp-5) 0 var(--sp-6);
    padding: 0 0 var(--sp-5);
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: var(--fs-md);
    line-height: 1.7;
}
.video-description:last-child { border-bottom: 0; padding-bottom: 0; }
.video-description p:first-child { margin-top: 0; }
.video-description p:last-child { margin-bottom: 0; }

.video-terms { margin: var(--sp-3) 0 var(--sp-6); }
.term-section {
    padding: var(--sp-5) 0;
    border-bottom: 1px solid var(--border);
}
.term-section:first-child { padding-top: 0; }
.term-section:last-child  { border-bottom: 0; padding-bottom: 0; }

.term-section__header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: var(--sp-3);
}
.term-section__icon { font-size: 16px; opacity: 0.8; line-height: 1; }
.term-section__title {
    font: 700 12px/1 var(--font-body);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}
.term-section__count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 22px; height: 22px; padding: 0 7px;
    background: var(--bg-surface-2);
    color: var(--text-muted);
    border-radius: 999px;
    font: 600 11px/1 var(--font-body);
}

.term-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.term-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 999px;
    font: 500 13px/1 var(--font-body);
    text-decoration: none;
    transition: all var(--t-fast);
    white-space: nowrap;
}
.term-chip:hover {
    background: var(--accent);
    color: var(--accent-contrast);
    border-color: var(--accent);
    transform: translateY(-1px);
}

.term-chip--pornstar { padding: 4px 14px 4px 4px; gap: 8px; }
.term-chip--pornstar img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.term-chip__initial {
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--bg-surface-2);
    color: var(--text-muted);
    display: grid; place-items: center;
    font: 700 12px/1 var(--font-display);
}

.term-chip--tag {
    background: transparent;
    color: var(--text-muted);
    font-size: 12px;
    padding: 5px 11px;
}
.term-chip--tag:hover {
    background: var(--bg-surface-2);
    color: var(--accent);
    border-color: var(--border);
    transform: none;
}

.vs-badge {
    display: inline-block;
    padding: 3px 9px;
    background: var(--accent);
    color: var(--accent-contrast);
    font: 700 11px/1.4 var(--font-body);
    letter-spacing: 0.04em;
    border-radius: 4px;
    text-transform: uppercase;
}

.video-footer-meta {
    display: flex; flex-wrap: wrap;
    gap: var(--sp-4);
    padding: var(--sp-4) 0;
    border-top: 1px solid var(--border);
    margin-top: var(--sp-4);
    font-size: var(--fs-sm);
    color: var(--text-muted);
}
.video-footer-meta__item { display: inline-flex; align-items: baseline; gap: 6px; }
.video-footer-meta__label {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.video-footer-meta__value { color: var(--text); font-weight: 600; }

.video-footer-actions { display: flex; justify-content: flex-end; padding-top: var(--sp-4); }

/* Theater mode FIX — targets actual single.php structure */
body.cvp-theater .video-single {
    grid-template-columns: 1fr !important;
}
body.cvp-theater .video-single > :not(.video-main) {
    display: none !important;
}
body.cvp-theater .video-main {
    max-width: min(1400px, 95vw);
    margin-left: auto;
    margin-right: auto;
}
body.cvp-theater .related-section,
body.cvp-theater .cvp-yml {
    display: none !important;
}
body.cvp-theater .video-player-wrap {
    width: 100%;
    max-width: 100%;
}
