/*
Theme Name: PornoLovers
Theme URI: https://pornolovers.com
Version: 1.3.445
Description: Professional adult video theme with personalization, caching, and SEO optimization
Author: PornoLovers Team
Text Domain: pornolovers
Domain Path: /languages

=== CHANGELOG ===

1.3.79 (2026-02-04)
- CTA overlay inside player (not above)
- CTA hides during playback, shows on pause/hover
- Touch-friendly controls (min 44x44px per Google guidelines)
- Responsive player for mobile (480px, 768px breakpoints)
- Landscape mode optimization with 100dvh
- iPhone notch safe area support
- Preconnect/preload for Plyr CDN (faster loading)
- Responsive srcset for poster images
- CSS containment for better performance
- Accessibility: reduced motion, high contrast support
- Dark mode consistency for Plyr menu

1.3.78 (2026-02-04)
- Added: Plyr video player with hls.js support
- Added: Player settings section in Brand Settings
- Added: HLS adaptive streaming support (.m3u8)
- Added: Quality selector for HLS streams
- Added: Speed control (0.5x - 2x)
- Added: Picture-in-Picture support
- Added: Keyboard shortcuts (space, arrows, F)
- Added: Enhanced VideoObject Schema.org markup
- Added: Customizable player colors and controls
- Added: Bunny CDN integration for poster images
- Added: Lazy load with custom play button

1.3.6 (2026-02-02)
- Added: Auto-purge CDN cache for deleted thumbnails
- Added: Account API Key setting (required for purge, separate from Storage Password)
- Fixed: Purge uses POST method (not GET)

1.3.5 (2026-02-02)
- Added: Auto-delete thumbnail from Bunny CDN when post is permanently deleted
- Added: Auto-delete thumbnail from Media Library when post is permanently deleted
- Added: Settings in Brand Settings → CDN to enable/disable auto-delete
- Added: Check if attachment is used by other posts before deleting from Media Library

1.3.4 (2026-02-02)
- Fixed: Models are now created if they don't exist
- Fixed: Models always assigned (no min_count check - only for categories/tags)

1.3.3 (2026-02-02)
- Fixed: Thumbnail filename now uses video_id (239954) not bucket (239000)

1.3.2 (2026-02-02)
- Added: Video Importer now automatically uploads thumbnails to Bunny CDN
- Added: Extract and save video_id from KVS URLs during import
- Added: CDN upload status in import logs (🖼️ icon)
- Added: CDN Settings section in Video Importer settings
- Added: CDN upload summary at end of batch import

1.3.1 (2026-02-02)
- Fixed: AJAX error now shows partial results instead of losing all data
- Fixed: Scan results saved even after timeout/error

1.3.0 (2026-02-02)
- Added: Dashboard Widget with CDN status summary on WP Admin home
- Added: Scan results saved to database (persist after page refresh)
- Added: Parallel upload mode for CDN Image Sync (1-50 concurrent uploads)
- Added: Upload speed indicator and ETA
- Added: Video ID Conflicts scanner (detect wrong video_id assignments)
- Added: Distinguish between conflicts (different titles) and true duplicates (same title)
- Added: Export conflicts to CSV
- Changed: Upload All now 25x faster with parallel=25 option

1.0.0 (2026-02-01)
- Initial release of PornoLovers theme
- Performance optimized with transient caching
- Development Mode for testing (Brand Settings → Cache)
- Related videos and sources with smart caching
- Taste Profile personalization system
- Following and Watchlist features
- Content filtering (straight/lesbian)
- Duration filtering
- CDN integration for images
- SEO optimized with RankMath support
- Video sitemap generation
- Mobile responsive design
*/

/* ═══════════════════════════════════════════
   DESIGN TOKENS (v1.3.379)
   ═══════════════════════════════════════════ */
:root {
    /* Backgrounds */
    --pl-bg-0: #050509;           /* Page background */
    --pl-bg-1: #0e0e14;           /* Cards, sections */
    --pl-bg-2: #16161e;           /* Elevated surfaces */
    --pl-bg-3: #1e1e28;           /* Hover states */

    /* Text */
    --pl-text-0: #f5f5f5;         /* Primary text */
    --pl-text-1: rgba(255,255,255,0.7);  /* Secondary text */
    --pl-text-2: rgba(255,255,255,0.45); /* Meta, captions */

    /* Brand accent */
    --pl-accent: #ff3b6b;         /* Primary CTA, links */
    --pl-accent-hover: #ff5a85;   /* Hover state */
    --pl-accent-subtle: rgba(255,59,107,0.1); /* Subtle bg */

    /* Semantic */
    --pl-success: #10b981;        /* Privacy, positive */
    --pl-source: #06B6D4;         /* Source badges — teal premium */

    /* Borders */
    --pl-border-0: rgba(255,255,255,0.06);  /* Subtle dividers */
    --pl-border-1: rgba(255,255,255,0.12);  /* Visible borders */

    /* Radius */
    --pl-radius-card: 12px;
    --pl-radius-chip: 999px;
    --pl-radius-badge: 6px;

    /* Shadows */
    --pl-shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --pl-shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --pl-shadow-lg: 0 8px 24px rgba(0,0,0,0.5);

    /* Spacing */
    --pl-gap-section: 40px;       /* Between homepage sections */
    --pl-gap-grid: 16px;          /* Grid gap */

    /* Typography */
    --pl-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --pl-text-section: 22px;      /* Section headings */
    --pl-text-card-title: 13px;   /* Card titles */
    --pl-text-meta: 12px;         /* Meta, badges, footer */
    --pl-text-small: 11px;        /* Tiny labels */

    /* Hit area */
    --pl-hit-area: 44px;          /* Minimum tap target */
}

html {
    scroll-padding-top: 70px; /* Sticky header height ~56px + 14px buffer */
}

body {
    margin: 0;
    font-family: var(--pl-font);
    background-color: var(--pl-bg-0);
    color: var(--pl-text-0);
}

a {
    color: var(--pl-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.site-header {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow 0.3s ease;
}
.site-header.pl-header-scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

@media (min-width: 600px) {
    .site-header {
        padding: 14px 16px;
    }
}

.site-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.header-taste-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
    gap: 8px;
}
.header-taste-wrapper .pl-taste-trigger {
    color: var(--vt-header-text, #fff);
}

@media (max-width: 900px) {
    .header-taste-wrapper {
        display: none;
    }
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.site-title {
    flex-shrink: 0;
}

.site-title a {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

@media (min-width: 600px) {
    .site-title a {
        font-size: 22px;
    }
}

@media (min-width: 960px) {
    .site-title a {
        font-size: 24px;
    }
}

.site-tagline {
    font-size: 13px;
    color: #f5f5f5;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
}

.site-tagline strong,
.site-tagline b {
    color: #ff3b6b;
}

@media (max-width: 900px) {
    .site-branding {
        gap: 12px;
    }
    
    .site-tagline {
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .site-tagline {
        font-size: 11px;
    }
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.main-nav a {
    margin-left: 0;
    font-size: 12px;
    text-transform: uppercase;
    color: #d6d6f0;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
}

@media (min-width: 600px) {
    .main-nav a {
        font-size: 13px;
        background: transparent;
        padding: 0;
        margin-left: 16px;
    }
}

@media (min-width: 960px) {
    .main-nav a {
        font-size: 14px;
    }
}

.site-content {
    max-width: 1200px;
    margin: 16px auto 32px;
    padding: 0 12px;
    contain: layout style;
}

@media (min-width: 600px) {
    .site-content {
        margin: 24px auto 40px;
        padding: 0 16px;
    }
}

/* Homepage header with filters */
/* Homepage H1 - standalone on top */
.homepage-header .page-title {
    margin: 0 0 12px;
}

/* Trending Section - Slider */
.trending-section {
    margin: 0;
    padding: 20px 0;
    border-top: none;
}
.trending-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.trending-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}
.trending-nav {
    display: flex;
    gap: 8px;
}
.trending-nav-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    width: var(--pl-hit-area);
    height: var(--pl-hit-area);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ccc;
    transition: all 0.2s;
    touch-action: manipulation;
}
.trending-nav-btn:hover {
    background: var(--pl-accent);
    border-color: var(--pl-accent);
    color: #fff;
    transform: scale(1.08);
}
.trending-nav-btn:active {
    transform: scale(0.95);
}
.trending-slider-wrapper {
    position: relative;
    overflow: hidden;
}
/* Edge gradient fade - right side, matches homepage-slider */
.trending-slider-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30px;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(270deg, var(--pl-bg-0), transparent);
}
.trending-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 5px;
}
.trending-slider::-webkit-scrollbar {
    display: none;
}
.trending-card {
    flex: 0 0 calc((100% - 60px) / 6);
    min-width: 160px;
    text-decoration: none;
    color: inherit;
    display: block;
    background: var(--pl-bg-1);
    border-radius: var(--pl-card-radius, 8px);
    overflow: hidden;
    transition: transform 0.2s;
}
.trending-card:hover {
    transform: translateY(-3px);
}
.trending-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #1a1a2e;
}
.trending-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}
.trending-card:hover .trending-thumb img {
    transform: scale(1.04);
}
.trending-duration {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}
.trending-views {
    position: absolute;
    top: 6px;
    left: 6px;
    background: linear-gradient(135deg, #e91e63, #ff5722);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}
.trending-card-title {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    padding: 8px 10px;
    background: var(--pl-bg-2);
    color: var(--pl-text-0);
    line-height: 1.3;
    box-sizing: border-box !important;
    display: block !important;
    height: 50px !important;
    max-height: 50px !important;
    overflow: hidden !important;
}
.trending-card:hover .trending-card-title {
    color: var(--pl-accent);
}

@media (max-width: 1200px) {
    .trending-card {
        flex: 0 0 calc((100% - 36px) / 4);
        min-width: 180px;
    }
}
@media (max-width: 768px) {
    .trending-card {
        flex: 0 0 calc((100% - 24px) / 3);
        min-width: 140px;
    }
    .trending-card-title {
        font-size: 12px;
    }
}
@media (max-width: 480px) {
    .trending-card {
        flex: 0 0 calc((100% - 12px) / 2);
        min-width: 130px;
    }
    .trending-title {
        font-size: 18px;
    }
    .trending-section {
        padding: 10px 0;
    }
}

/* ==========================================
   HOMEPAGE SLIDER SECTIONS (Popular, New, Favorited)
   Same compact card style as Trending Now
   ========================================== */
.homepage-slider-section {
    margin: 0;
    padding: 20px 0;
    border-top: none;
}
.homepage-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.homepage-slider-title {
    font-size: var(--pl-text-section);
    font-weight: 700;
    color: var(--pl-text-0);
    margin: 0;
}
.homepage-slider-nav {
    display: flex;
    gap: 8px;
}
.homepage-slider-nav-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    width: var(--pl-hit-area);
    height: var(--pl-hit-area);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ccc;
    transition: all 0.2s;
    touch-action: manipulation; /* Disable double-tap zoom on mobile */
}
.homepage-slider-nav-btn:hover {
    background: var(--pl-accent);
    border-color: var(--pl-accent);
    color: #fff;
    transform: scale(1.08);
}
.homepage-slider-nav-btn:active {
    transform: scale(0.95);
}

/* Desktop: show arrows on section hover only */
@media (min-width: 769px) {
    .homepage-slider-nav,
    .trending-nav,
    .spotlight-nav {
        opacity: 0;
        transition: opacity 0.25s ease;
    }
    .homepage-slider-section:hover .homepage-slider-nav,
    .trending-section:hover .trending-nav,
    .spotlight-section:hover .spotlight-nav {
        opacity: 1;
    }
}

.homepage-slider-wrapper {
    overflow: hidden;
    position: relative;
}
/* Edge gradient fade - right side only, inside wrapper to prevent overflow */
.homepage-slider-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30px;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(270deg, var(--pl-bg-0), transparent);
}
@media (max-width: 768px) {
    .homepage-slider-wrapper::after,
    .trending-slider-wrapper::after,
    .spotlight-slider-wrapper::after {
        width: 20px;
    }
}
.homepage-slider-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.homepage-slider-track::-webkit-scrollbar { display: none; }
.homepage-slider-card {
    flex: 0 0 calc((100% - 60px) / 6);
    min-width: 160px;
    text-decoration: none;
    color: inherit;
    display: block;
    background: var(--pl-bg-1);
    border-radius: var(--pl-card-radius, 8px);
    overflow: hidden;
    transition: transform 0.2s;
}
.homepage-slider-card:hover {
    transform: translateY(-3px);
}
.homepage-slider-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #1a1a2e;
}
.homepage-slider-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}
.homepage-slider-card:hover .homepage-slider-thumb img {
    transform: scale(1.04);
}
.homepage-slider-duration {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    font-family: monospace;
    line-height: 1.4;
}
.homepage-slider-views {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0,0,0,0.85);
    color: #ddd;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 10px;
    line-height: 1.4;
}
.homepage-slider-card-title {
    margin: 0;
    padding: 8px 10px;
    background: var(--pl-bg-2);
    font-size: var(--pl-text-card-title);
    font-weight: 600;
    line-height: 1.3;
    color: var(--pl-text-0);
    box-sizing: border-box !important;
    display: block !important;
    height: 50px !important;
    max-height: 50px !important;
    overflow: hidden !important;
}
.homepage-slider-card:hover .homepage-slider-card-title {
    color: var(--pl-accent);
}
/* ── TIER A OVERRIDES (Trending, New Releases — hero sections) ── */
.homepage-slider-tier-a .homepage-slider-card {
    flex: 0 0 calc((100% - 56px) / 5);
    min-width: 190px;
}
.homepage-slider-tier-a .homepage-slider-card-title {
    font-size: 14px;
    padding: 8px 10px;
    height: 54px !important;
    max-height: 54px !important;
}
.homepage-slider-tier-a .homepage-slider-duration {
    font-size: 12px;
    bottom: 8px;
    left: 8px;
    padding: 2px 7px;
}
/* Trending Tier A overrides */
.trending-tier-a .trending-card {
    flex: 0 0 calc((100% - 56px) / 5);
    min-width: 190px;
}
.trending-tier-a .trending-card-title {
    font-size: 14px;
}
.trending-tier-a .trending-card:hover {
    transform: translateY(-3px);
}
/* Tier A responsive */
@media (max-width: 1024px) {
    .homepage-slider-tier-a .homepage-slider-card {
        flex: 0 0 calc((100% - 36px) / 4);
        min-width: 175px;
    }
    .trending-tier-a .trending-card {
        flex: 0 0 calc((100% - 36px) / 4);
        min-width: 175px;
    }
}
@media (max-width: 768px) {
    .homepage-slider-tier-a .homepage-slider-card {
        flex: 0 0 calc((100% - 24px) / 3);
        min-width: 160px;
    }
    .trending-tier-a .trending-card {
        flex: 0 0 calc((100% - 24px) / 3);
        min-width: 160px;
    }
    .homepage-slider-tier-a .homepage-slider-card-title,
    .trending-tier-a .trending-card-title {
        font-size: 13px;
    }
}
@media (max-width: 600px) {
    .homepage-slider-tier-a .homepage-slider-card {
        flex: 0 0 calc((100% - 12px) / 2.3);
        min-width: 145px;
    }
    .trending-tier-a .trending-card {
        flex: 0 0 calc((100% - 12px) / 2.3);
        min-width: 145px;
    }
}
@media (max-width: 480px) {
    .homepage-slider-tier-a .homepage-slider-card {
        flex: 0 0 calc((100% - 12px) / 2);
        min-width: 130px;
    }
    .trending-tier-a .trending-card {
        flex: 0 0 calc((100% - 12px) / 2);
        min-width: 130px;
    }
}

@media (max-width: 1024px) {
    .homepage-slider-card {
        flex: 0 0 calc((100% - 48px) / 5);
        min-width: 150px;
    }
}
@media (max-width: 768px) {
    .homepage-slider-card {
        flex: 0 0 calc((100% - 24px) / 3);
        min-width: 140px;
    }
    .homepage-slider-title { font-size: 20px; }
}
@media (max-width: 600px) {
    .homepage-slider-card {
        flex: 0 0 calc((100% - 12px) / 2.3);
        min-width: 130px;
    }
    .homepage-slider-title { font-size: 18px; }
    .homepage-slider-card-title { font-size: 12px; }
}
@media (max-width: 480px) {
    .homepage-slider-card {
        flex: 0 0 calc((100% - 12px) / 2);
        min-width: 130px;
    }
    .homepage-slider-section {
        margin: 10px 0;
        padding: 10px 0;
    }
}

/* ==========================================
   MODEL SPOTLIGHT SECTION
   ========================================== */
.spotlight-section {
    margin: 0;
    padding: 20px 0;
    border-top: none;
}
.spotlight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.spotlight-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.spotlight-view-all {
    font-size: var(--pl-text-small);
    color: var(--pl-text-2);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}
.spotlight-view-all:hover {
    color: var(--pl-accent);
}
.spotlight-title {
    font-size: var(--pl-text-section);
    font-weight: 700;
    margin: 0;
    color: var(--pl-text-0);
}
.spotlight-nav {
    display: flex;
    gap: 8px;
}
.spotlight-nav-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    width: var(--pl-hit-area);
    height: var(--pl-hit-area);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ccc;
    transition: all 0.2s;
    touch-action: manipulation;
}
.spotlight-nav-btn:hover {
    background: var(--pl-accent);
    border-color: var(--pl-accent);
    color: #fff;
    transform: scale(1.08);
}
.spotlight-nav-btn:active {
    transform: scale(0.95);
}
.spotlight-slider-wrapper {
    position: relative;
    overflow: hidden;
}
.spotlight-slider-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30px;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(270deg, var(--pl-bg-0), transparent);
}
.spotlight-slider {
    display: flex;
    gap: 1px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 5px;
}
.spotlight-slider::-webkit-scrollbar {
    display: none;
}
.spotlight-card {
    flex: 0 0 calc((100% - 60px) / 7);
    min-width: 90px;
    max-width: 117px;
    text-decoration: none;
    color: inherit;
    display: block;
    text-align: center;
}
.spotlight-card:hover {
    /* no transform for cleaner look */
}
.spotlight-thumb {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    background: #1a1a2e;
    margin: 0 auto 8px;
    width: 100%;
    max-width: 90px;
    border: 3px solid transparent;
    background-image: linear-gradient(#1a1a2e, #1a1a2e), linear-gradient(135deg, var(--pl-primary, #e91e63), var(--pl-accent, #ff6b9d));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.3s ease;
}
.spotlight-card:hover .spotlight-thumb {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(233, 30, 99, 0.4);
}
.spotlight-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.3s ease;
}
.spotlight-count {
    display: block;
    font-size: var(--pl-text-small);
    color: var(--pl-text-2);
    margin-top: 2px;
    white-space: nowrap;
}
.spotlight-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.spotlight-quickview {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.25s ease;
    z-index: 5;
    backdrop-filter: blur(4px);
}
.spotlight-card:hover .spotlight-quickview {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.spotlight-quickview:hover {
    background: var(--pl-primary, #e91e63);
    border-color: var(--pl-primary, #e91e63);
    transform: translate(-50%, -50%) scale(1.1);
}
.spotlight-card-title {
    display: block;
    font-size: 11px;
    font-weight: 600;
    margin: 0;
    color: #e0e0e0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}
.spotlight-card:hover .spotlight-card-title {
    color: var(--pl-primary, #e91e63);
}

@media (max-width: 1200px) {
    .spotlight-card {
        flex: 0 0 calc((100% - 45px) / 6);
        min-width: 85px;
    }
}
@media (max-width: 768px) {
    .spotlight-card {
        flex: 0 0 calc((100% - 30px) / 3);
        min-width: 95px;
    }
    .spotlight-thumb {
        max-width: 100px;
    }
    .spotlight-card-title {
        font-size: 11px;
    }
    .spotlight-section {
        padding: 20px 0;
    }
}
@media (max-width: 480px) {
    .spotlight-card {
        flex: 0 0 calc((100% - 20px) / 2.5);
        min-width: 85px;
    }
    .spotlight-thumb {
        max-width: 90px;
    }
    .spotlight-title {
        font-size: 16px;
    }
    .spotlight-view-all {
        display: none;
    }
    .spotlight-section {
        padding: 10px 0;
    }
    .spotlight-count {
        font-size: 10px;
    }
}

/* ==========================================
   RELATED CONTENT SOURCES SECTION (Single)
   ========================================== */
.related-sources-section {
    margin: 16px 0 8px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.related-sources-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.related-sources-title {
    font-size: var(--pl-text-section);
    font-weight: 700;
    margin: 0;
    color: var(--pl-text-0);
}
.related-sources-nav {
    display: flex;
    gap: 8px;
}
.related-sources-nav-btn {
    width: var(--pl-hit-area);
    height: var(--pl-hit-area);
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #ccc;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    touch-action: manipulation;
}
.related-sources-nav-btn:hover {
    background: var(--pl-accent);
    border-color: var(--pl-accent);
    color: #fff;
    transform: scale(1.08);
}
.related-sources-nav-btn:active {
    transform: scale(0.95);
}
.related-sources-slider-wrapper {
    position: relative;
    overflow: hidden;
}
.related-sources-slider-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30px;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(270deg, var(--pl-bg-0), transparent);
}
.related-sources-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 5px;
}
.related-sources-slider::-webkit-scrollbar {
    display: none;
}
.related-sources-card {
    flex: 0 0 calc((100% - 60px) / 6);
    min-width: 160px;
    text-decoration: none;
    color: inherit;
    display: block;
    background: var(--pl-bg-1);
    border-radius: var(--pl-card-radius, 8px);
    overflow: hidden;
    transition: transform 0.2s;
}
.related-sources-card:hover {
    transform: translateY(-3px);
}
.related-sources-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #1a1a2e;
}
.related-sources-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}
.related-sources-card:hover .related-sources-thumb img {
    transform: scale(1.04);
}
.related-sources-count {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}
.related-sources-card-title {
    display: block;
    margin: 0;
    padding: 8px 10px;
    background: var(--pl-bg-2);
    font-size: var(--pl-text-card-title);
    font-weight: 600;
    color: var(--pl-text-0);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    min-height: calc(1.3em + 16px);
}
.related-sources-card:hover .related-sources-card-title {
    color: var(--pl-accent);
}
/* Desktop: show arrows on section hover only */
@media (min-width: 769px) {
    .related-sources-nav {
        opacity: 0;
        transition: opacity 0.25s ease;
    }
    .related-sources-section:hover .related-sources-nav {
        opacity: 1;
    }
}
@media (max-width: 1200px) {
    .related-sources-card {
        flex: 0 0 calc((100% - 36px) / 4);
        min-width: 140px;
    }
}
@media (max-width: 768px) {
    .related-sources-card {
        flex: 0 0 calc((100% - 24px) / 3);
        min-width: 120px;
    }
    .related-sources-card-title { font-size: 12px; }
    .related-sources-title { font-size: 20px; }
    .related-sources-slider-wrapper::after { width: 20px; }
}
@media (max-width: 480px) {
    .related-sources-card {
        flex: 0 0 calc((100% - 12px) / 2);
        min-width: 110px;
    }
    .related-sources-section {
        margin: 12px 0;
        padding: 12px 0;
    }
    .related-sources-title { font-size: 18px; }
}

/* Homepage Filters - Modern style matching sort dropdown */
.homepage-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    order: 1;
}

.filter-select {
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 10px 42px 10px 14px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-width: 145px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.filter-select:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.04) 100%);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.filter-select:focus {
    outline: none;
    border-color: var(--pl-primary, #e91e63);
    box-shadow: 0 0 0 3px rgba(233,30,99,0.15), 0 4px 12px rgba(0,0,0,0.2);
}

.filter-select option {
    background: #16161f;
    color: #fff;
}

@media (max-width: 900px) {
    .filter-select {
        padding: 9px 38px 9px 12px;
        font-size: 13px;
        min-width: 120px;
    }
}

@media (max-width: 600px) {
    .homepage-controls {
        gap: 8px;
    }
    .homepage-filters {
        width: 100%;
    }
    .filter-select {
        flex: 1;
        min-width: 0;
    }
}

/* ========================================
   SORTING - PornHub Style (Icon + Modal)
   ======================================== */

/* Controls wrapper */
.homepage-controls,
.taxonomy-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 16px;
}

/* Homepage: filters left, sort right */
.homepage-controls {
    justify-content: space-between;
}

/* Sort wrapper - always on right */
.pl-sort-wrapper {
    position: relative;
    order: 99;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Reset icon (X) - shows when filter active */
.pl-sort-reset {
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 100, 100, 0.15);
    border: 1px solid rgba(255, 100, 100, 0.3);
    border-radius: 50%;
    color: #ff6b6b;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.pl-sort-reset:hover {
    background: rgba(255, 100, 100, 0.25);
    border-color: rgba(255, 100, 100, 0.5);
    color: #ff4444;
    transform: scale(1.05);
}

.pl-sort-reset:focus-visible {
    outline: 2px solid #ff6b6b;
    outline-offset: 2px;
}

/* Sort trigger button (icon) */
.pl-sort-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pl-sort-trigger:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.pl-sort-trigger:focus-visible {
    outline: 2px solid var(--pl-primary, #e91e63);
    outline-offset: 2px;
}

.pl-sort-trigger:active {
    transform: scale(0.95);
}

.pl-sort-trigger.active,
.pl-sort-wrapper.has-filter .pl-sort-trigger {
    background: var(--pl-primary, #e91e63);
    border-color: var(--pl-primary, #e91e63);
    color: #fff;
}

/* Modal Container (appended to body) */
.pl-sort-modal-container {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

/* Backdrop */
.pl-sort-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Modal */
.pl-sort-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 360px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    animation: plModalIn 0.2s ease-out;
}

@keyframes plModalIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Modal header */
.pl-sort-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pl-sort-modal-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pl-sort-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
}

.pl-sort-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.pl-sort-modal-close:focus-visible {
    outline: 2px solid var(--pl-primary, #e91e63);
    outline-offset: 2px;
}

/* Sort options grid */
.pl-sort-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 20px;
}

/* Sort option buttons */
.pl-sort-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.pl-sort-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.pl-sort-option:focus-visible {
    outline: 2px solid var(--pl-primary, #e91e63);
    outline-offset: 2px;
}

.pl-sort-option.active {
    background: var(--pl-primary, #e91e63);
    border-color: var(--pl-primary, #e91e63);
    color: #fff;
    font-weight: 600;
}

/* Modal footer with reset button */
.pl-sort-modal-footer {
    padding: 0 20px 20px;
}

.pl-sort-reset-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pl-sort-reset-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.pl-sort-reset-btn:focus-visible {
    outline: 2px solid var(--pl-primary, #e91e63);
    outline-offset: 2px;
}

/* Loading state */
.post-grid.loading {
    opacity: 0.5;
    pointer-events: none;
    min-height: 300px;
    position: relative;
}

.post-grid.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--pl-primary, #e91e63);
    border-radius: 50%;
    animation: pl-spin 0.8s linear infinite;
}

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

/* ========================================
   MODEL PAGE HEADER - Single row layout
   ======================================== */
.model-page-header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 16px;
}

/* Model Profile Photo */
.model-profile-photo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-color, #ff6b9d);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.model-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.model-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.model-title-row .page-title {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Model Social Icons */
.model-social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.model-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--card-bg, #1a1a2e);
    border-radius: 50%;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.model-social-icon:hover {
    transform: scale(1.1);
    border-color: rgba(255,255,255,0.3);
}

.model-social-instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.model-social-twitter:hover { background: #000; }
.model-social-onlyfans:hover { background: #00aff0; }
.model-social-website:hover { background: #6c757d; }

/* Model Info Line */
.model-info-line {
    background: var(--card-bg, #1a1a2e);
    border-left: 3px solid var(--accent-color, #ff6b9d);
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    line-height: 1.6;
}

.model-stats-line {
    margin: 0;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

.model-secondary-line {
    margin: 6px 0 0 0;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.model-bio-line {
    margin: 8px 0 0 0;
    color: rgba(255,255,255,0.7);
    font-style: italic;
}

/* Gender styling with colors */
.model-gender {
    font-weight: 600;
    white-space: nowrap;
}

.model-gender-female {
    color: #ff69b4; /* Hot pink */
}

.model-gender-male {
    color: #4da6ff; /* Light blue */
}

.model-gender-trans {
    color: #b76ee0; /* Purple */
}

.stats-separator {
    color: rgba(255,255,255,0.4);
    margin: 0 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .model-profile-photo {
        width: 70px;
        height: 70px;
    }
    
    .model-page-header {
        display: grid !important;
        grid-template-columns: 70px 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 12px 15px !important;
        align-items: center !important;
    }
    
    .model-profile-photo {
        grid-row: 1 !important;
        grid-column: 1 !important;
    }
    
    .model-title-row {
        grid-row: 1 !important;
        grid-column: 2 !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 10px !important;
        min-width: 0 !important;
    }
    
    .model-title-row .page-title {
        font-size: 1.4rem;
        flex: 0 1 auto !important;
    }
    
    .model-title-row .model-social-icons {
        flex: 0 0 auto !important;
        display: flex !important;
    }
    
    .model-page-actions {
        grid-row: 2 !important;
        grid-column: 1 / -1 !important;
        display: flex !important;
        justify-content: space-between !important;
    }
    
    .model-social-icons {
        gap: 6px;
    }
    
    .model-social-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .model-info-line {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .model-page-header {
        display: grid !important;
        grid-template-columns: 80px 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 12px 15px !important;
        align-items: center !important;
    }
    
    .model-profile-photo {
        width: 80px !important;
        height: 80px !important;
        grid-row: 1 !important;
        grid-column: 1 !important;
    }
    
    .model-title-row {
        grid-row: 1 !important;
        grid-column: 2 !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        min-width: 0 !important;
    }
    
    .model-title-row .page-title {
        font-size: 1.3rem !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        flex: 0 1 auto !important;
        min-width: 0 !important;
        max-width: none !important;
    }
    
    .model-title-row .model-social-icons {
        flex: 0 0 auto !important;
        display: flex !important;
    }
    
    .model-page-actions {
        grid-row: 2 !important;
        grid-column: 1 / -1 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        gap: 10px !important;
    }
    
    /* Info line improvements for mobile */
    .model-info-line {
        padding: 12px 14px;
        font-size: 13px;
        line-height: 1.7;
    }
    
    .model-stats-line {
        /* Break long stats into multiple lines on very small screens */
        word-spacing: 0.1em;
    }
    
    .model-secondary-line {
        font-size: 12px;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
}

/* Extra small screens - stack even more compactly */
@media (max-width: 360px) {
    .model-profile-photo {
        width: 65px;
        height: 65px;
    }
    
    .model-title-row .page-title {
        font-size: 1.2rem;
    }
    
    .model-social-icon {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
    
    .model-info-line {
        font-size: 12px;
        padding: 10px 12px;
    }
}

/* ========================================
   FOLLOW BUTTON
   ======================================== */
.pl-follow-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: 2px solid var(--accent-color, #ff6b9d);
    border-radius: 20px;
    color: var(--accent-color, #ff6b9d);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    visibility: visible !important;
    opacity: 1 !important;
}

.pl-follow-btn:hover {
    background: var(--accent-color, #ff6b9d);
    color: white;
}

.pl-follow-btn.is-following {
    background: var(--accent-color, #ff6b9d);
    color: white;
}

.pl-follow-btn .follow-icon--active,
.pl-follow-btn .follow-text--active {
    display: none;
}

.pl-follow-btn.is-following .follow-icon--default,
.pl-follow-btn.is-following .follow-text--default {
    display: none;
}

.pl-follow-btn.is-following .follow-icon--active,
.pl-follow-btn.is-following .follow-text--active {
    display: inline;
}

.pl-follow-btn svg {
    flex-shrink: 0;
}

/* Source header follow button */
.source-header-actions .pl-follow-btn,
.model-page-actions .pl-follow-btn {
    display: inline-flex !important;
}

.model-page-header .page-title {
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.model-page-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.model-page-actions .pl-sort-wrapper {
    margin-left: 0;
}

/* Mobile: Bottom sheet style */
@media (max-width: 600px) {
    /* Touch-friendly trigger button - minimum 44px for accessibility */
    .pl-sort-trigger {
        width: 44px;
        height: 44px;
    }
    
    .pl-sort-trigger svg {
        width: 18px;
        height: 18px;
    }
    
    /* Reset icon - slightly smaller but still touchable */
    .pl-sort-reset {
        width: 32px;
        height: 32px;
    }
    
    .pl-sort-reset svg {
        width: 14px;
        height: 14px;
    }
    
    .pl-sort-modal {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
        max-width: none;
        border-radius: 20px 20px 0 0;
        max-height: 85vh;
        overflow-y: auto;
        animation: plSheetIn 0.25s ease-out;
    }
    
    @keyframes plSheetIn {
        from {
            opacity: 0;
            transform: translateY(100%);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .pl-sort-modal-header {
        padding: 24px 20px 16px;
        position: relative;
    }
    
    .pl-sort-modal-header::before {
        content: '';
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 36px;
        height: 4px;
        background: rgba(255, 255, 255, 0.25);
        border-radius: 2px;
    }
    
    .pl-sort-options {
        padding: 16px 20px 16px;
    }
    
    .pl-sort-option {
        padding: 16px 12px;
        font-size: 15px;
    }
    
    .pl-sort-modal-footer {
        padding: 0 20px 32px;
    }
    
    .homepage-controls,
    .taxonomy-controls {
        justify-content: flex-end;
    }
    
    .pl-sort-wrapper {
        margin-left: 0;
    }
    
    /* Model page header mobile */
    .model-page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .model-page-header .page-title {
        min-width: 100%;
    }
    
    .model-page-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* Title row: H1 left, sort icon right — unified across all pages (v1.3.325) */
.pl-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
    margin: 12px 0 16px;
}
.pl-title-row .page-title {
    margin: 0;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (max-width: 600px) {
    .pl-title-row .page-title {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
}
.pl-title-row .pl-sort-wrapper {
    flex-shrink: 0;
    margin-left: 0;
}
/* Model title row: social links + sort grouped right */
.model-title-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
@media (max-width: 480px) {
    .model-title-right {
        gap: 4px;
    }
    .model-title-right .model-social-icons {
        display: none;
    }
}
@media (max-width: 480px) {
    .pl-title-row {
        gap: 8px;
    }
}

.page-title {
    font-size: 22px;
    font-weight: 700;
    margin: 12px 0 16px;
    line-height: 1.3;
}
@media (min-width: 600px) {
    .page-title {
        font-size: 24px;
        margin: 12px 0 20px;
    }
}
@media (min-width: 960px) {
    .page-title {
        font-size: 26px;
    }
}

/* Search header - v1.3.309 */
.search-header {
    margin-bottom: 24px;
}
.search-header .page-title {
    margin: 0 0 10px;
}
/* Search controls bar: count left, sort right */
.search-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.search-controls-bar .search-results-count {
    margin: 0;
}
.search-results-count {
    color: #9b9bb5;
    font-size: 14px;
    margin: 0 0 16px;
}
@media (min-width: 600px) {
    .search-results-count {
        font-size: 15px;
    }
}
@media (max-width: 480px) {
    .search-header .page-title {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    .search-controls-bar {
        gap: 8px;
    }
    .search-results-count {
        font-size: 13px;
    }
}

/* Model tagline - shown under model name when description is in header */
.model-tagline {
    color: #a0a0b0;
    font-size: 15px;
    line-height: 1.5;
    margin: -12px 0 20px;
    font-style: italic;
}

@media (min-width: 600px) {
    .model-tagline {
        font-size: 16px;
        margin: -16px 0 24px;
    }
}

@media (min-width: 600px) {
    .page-title {
        font-size: 24px;
        margin: 12px 0 24px;
    }
}

@media (min-width: 960px) {
    .page-title {
        font-size: 26px;
    }
}

/* Single title – smaller */
.single-title {
    font-size: 18px;
    line-height: 1.3;
    margin: 10px 0 8px;
}

@media (min-width: 600px) {
    .single-title {
        font-size: 20px;
    }
}

/* Grid layout */

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
    contain: layout style;
}

@media (min-width: 600px) {
    .post-grid {
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 500px) {
    .post-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
}

.post-card {
    background: var(--pl-bg-1);
    border-radius: var(--pl-radius-card);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--pl-shadow-lg);
    contain: layout style paint; /* Prevent CLS - isolate layout calculations */
}

/* Reserve space for card content to prevent CLS */
.post-card-link-thumb {
    aspect-ratio: 16 / 9;
}

.post-card-link .post-card-title {
    min-height: 2.7em; /* ~2 lines at 13px */
}

/* Card title below thumbnail (standard layout) */

@media (min-width: 600px) {
    .post-card {
        border-radius: var(--pl-radius-card);
        box-shadow: var(--pl-shadow-lg);
    }
}

/* Optimize rendering for cards below the fold */
.post-card:nth-child(n+5) {
    content-visibility: auto;
    contain-intrinsic-size: auto 350px; /* Estimated card height */
}

.post-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.post-card-link-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
    border-radius: var(--pl-radius-card) var(--pl-radius-card) 0 0;
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 16 / 9) {
    .post-card-link-thumb {
        padding-top: 56.25%; /* 9/16 = 0.5625 */
    }
    .post-card-link-thumb img {
        position: absolute;
        top: 0;
        left: 0;
    }
}

.post-card-link-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.post-card:hover .post-card-link-thumb img {
    transform: scale(1.04);
}

.post-card-link img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.post-card:hover .post-card-link img {
    transform: scale(1.04);
}

.post-card-link::before {
    display: none;
}

/* Play icon on hover removed */

/* Legacy support for old class name */
.post-card-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
}

.post-card-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.post-card:hover .post-card-thumb img {
    transform: scale(1.04);
}

.post-card-thumb::after {
    display: none;
}

/* Play icon on thumb hover removed */

.post-card-views {
    position: absolute !important;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.78);
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #f8f8ff;
    z-index: 5;
}

.post-card-duration {
    position: absolute !important;
    bottom: 6px;
    left: 6px;
    right: auto;
    width: auto;
    background: rgba(0, 0, 0, 0.8);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    color: #fff;
    font-weight: 600;
    font-family: monospace;
    z-index: 5;
}

.post-card-new-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff3366;
    background: var(--new-badge-color, #ff3366);
    color: #fff !important;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 10;
    animation: pulse-badge 2s ease-in-out infinite;
    pointer-events: none;
}

@media (max-width: 768px) {
    .post-card-new-badge {
        top: 6px;
        left: 6px;
        padding: 3px 8px;
        font-size: 10px;
    }
}

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

.post-card-badge-category {
    background: var(--brand-color, #ff3b6b);
    color: #fff;
}

/* Title inside link - new structure */
.post-card-link .post-card-title {
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 8px 10px;
    font-size: var(--pl-text-card-title);
    font-weight: 600;
    line-height: 1.35;
    color: var(--pl-text-0);
    background: var(--pl-bg-2);
    margin: 0;
    min-height: 2.7em; /* Exactly 2 lines for consistent card height */
}

@media (min-width: 600px) {
    .post-card-link .post-card-title {
        font-size: var(--pl-text-card-title);
    }
}

.post-card:hover .post-card-link .post-card-title {
    color: var(--pl-accent-hover);
}

/* Legacy support for old structure */
.post-card-body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.post-card-body .post-card-title {
    font-size: var(--pl-text-card-title);
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
}

@media (min-width: 600px) {
    .post-card-body .post-card-title {
        font-size: var(--pl-text-card-title);
    }
}

.post-card-title a {
    color: var(--pl-text-0);
}

.post-card-title a:hover {
    color: var(--pl-accent-hover);
}

.post-card-models {
    font-size: 12px;
    color: #cfcfea;
}

.post-card-models a {
    color: #ffb86b;
    text-decoration: none;
}

.post-card-models a:hover {
    text-decoration: underline;
}

.post-card-excerpt {
    padding: 0 10px 6px;
    font-size: 11px;
    color: #8888a0;
    line-height: 1.4;
    min-height: 0;
    max-height: 2.8em; /* Hard limit: exactly 2 lines (11px * 1.4 * 2) */
    overflow: hidden;
}

.post-card-excerpt p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card footer — source · date + menu */
.post-card-footer {
    padding: 4px 10px 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: auto;
    min-height: 24px;
}

.post-card-footer-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: var(--pl-text-small);
    color: var(--pl-text-2);
    min-width: 0;
    flex: 1;
}
.post-card-footer-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.post-card-footer-source {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #e34b84;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 500;
    font-size: 12px;
    max-width: 100%;
    transition: color 0.2s;
}
.post-card-footer-source span {
    overflow: hidden;
    text-overflow: ellipsis;
}
.post-card-footer-source:hover {
    color: #f472b6;
    text-decoration: none;
}

.post-card-footer-model {
    color: var(--pl-accent);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
    font-size: var(--pl-text-small);
    max-width: 160px;
    opacity: 0.75;
}
.post-card-footer-model:hover {
    opacity: 1;
    text-decoration: none;
}

.post-card-footer-views {
    color: var(--pl-text-2);
    white-space: nowrap;
    font-size: var(--pl-text-small);
}

.post-card-footer-sep {
    color: var(--pl-border-1);
    flex-shrink: 0;
}

.post-card-footer-date {
    color: var(--pl-text-2);
    white-space: nowrap;
}

/* Tablet 2-col */
@media (min-width: 501px) and (max-width: 900px) {
    .post-card-footer-source {
        max-width: 100%;
        font-size: 11px;
    }
    .post-card-footer-model {
        max-width: 140px;
    }
    .post-card-footer-stats {
        font-size: 10px;
    }
}

/* Mobile 1-col */
@media (max-width: 500px) {
    .post-card-footer-source {
        font-size: 11px;
        max-width: 100%;
    }
    .post-card-footer-views {
        font-size: 11px;
    }
    .post-card-duration {
        font-size: 10px;
        padding: 2px 5px;
    }
}

.post-card-meta {
    padding: 0 10px 10px;
    font-size: 12px;
    color: #a0a0c0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    min-height: 28px; /* Prevent CLS */
}

/* Legacy support */
.post-card-meta-row {
    font-size: 12px;
    color: #a0a0c0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

/* Grid ad placeholders */

.grid-ad-item {
    background: #090910;
    border-radius: 14px;
    border: 1px dashed #3d3d55;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    text-align: center;
    font-size: 13px;
    color: #ccccff;
}

/* Pagination */

.pagination {
    margin-top: 26px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 6px 11px;
    border-radius: 999px;
    border: 1px solid #303049;
    font-size: 13px;
}

.pagination .current {
    background: #ff6b6b;
    border-color: #ff6b6b;
    color: #fff;
}

/* Pagination CTA */

/* Load More */
.pagination[data-pl-hide="load_more"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.pl-load-more-wrap {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.pl-load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 48px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: var(--pl-accent, #ff3b6b);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    min-width: 240px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 20px rgba(255, 59, 107, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.pl-load-more-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 25px rgba(255, 59, 107, 0.35);
    filter: brightness(1.1);
}

.pl-load-more-btn:active {
    transform: translateY(0);
}

.pl-load-more-btn.loading {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

.pl-load-more-btn.loading .pl-load-more-icon { display: none; }
.pl-load-more-btn.loading .pl-load-more-spinner { display: inline-block; animation: plSpin 1s linear infinite; }

.pl-load-more-btn.all-loaded {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    cursor: default;
    pointer-events: none;
    color: var(--pl-text-muted, #9b9bb5);
}

@keyframes plSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pl-load-more-info {
    font-size: 13px;
    color: var(--pl-text-muted, #9b9bb5);
}

.pl-load-more-info strong {
    color: var(--pl-text-primary, #f5f5f5);
}

.pl-load-more-progress {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.pl-load-more-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--pl-accent, #ff3b6b), #ff6b6b);
    border-radius: 3px;
    transition: width 0.5s ease;
}

@media (max-width: 600px) {
    .pl-load-more-btn {
        width: 100%;
        min-width: unset;
        padding: 14px;
        border-radius: 12px;
    }
    
    .pl-load-more-wrap {
        padding: 0 14px;
    }
    
    .pl-load-more-progress {
        width: 60%;
    }
}

/* Pagination CTA (original) */
.pagination-cta {
    margin-top: 30px;
    text-align: center;
}

.pagination-cta-btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000;
    background: linear-gradient(135deg, #ffb300 0%, #ff6b6b 100%);
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}

.pagination-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
}

@media (max-width: 600px) {
    .pagination-cta-btn {
        padding: 14px 30px;
        font-size: 13px;
    }
}

/* Single layout */

.single-main {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Video + Sidebar Row */
.single-video-row {
    display: block;
}

.single-video-col {
    min-width: 0;
    width: 100%;
}

/* Sidebar next to video */
.single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 20px;
}

.single-sidebar-banner {
    display: block;
}

.single-sidebar-banner img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.single-sidebar-download {
    display: block;
    background: linear-gradient(180deg, #c41a1a 0%, #8b0000 100%);
    color: #fff;
    text-align: center;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.single-sidebar-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
    color: #fff;
}

/* CTA Full Width */
.single-cta-fullwidth {
    margin-top: 0;
    max-width: 100% !important;
    width: 100%;
}

/* Content section below CTA */
.single-main-content {
    margin-top: 10px;
}

/* Hide sidebar on mobile */
@media (max-width: 900px) {
    body .single-main .single-video-row,
    body .single-video-row,
    .single-video-row {
        display: block !important;
        grid-template-columns: unset !important;
        gap: 0 !important;
    }
    
    body .single-sidebar,
    .single-sidebar {
        display: none !important;
    }
}

.single-video-wrapper {
    position: relative;
    width: 100%;
    background: #050509;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
}

@media (max-width: 600px) {
    .single-video-wrapper {
        margin-left: -16px;
        margin-right: -16px;
        border-radius: 0;
    }
}

.single-video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

/* Lazy load video */
.video-lazy {
    position: relative;
    cursor: pointer;
}

.video-lazy img {
    width: 100%;
    height: auto;
    display: block;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ff6b9d;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 30px rgba(255,107,157,0.5);
}

.video-play-btn svg {
    width: 36px;
    height: 36px;
    color: #fff;
    margin-left: 4px;
}

.single-meta {
    margin-top: 6px;
    font-size: 12px;
    color: #c0c0dd;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.single-meta-item {
    padding: 3px 10px;
    border-radius: 999px;
    background: #11111f;
}

/* CTA - see end of file for main styles */

/* Description shorter */

.single-description {
    margin-top: 12px;
    position: relative;
    font-size: 14px;
    line-height: 1.6;
    color: #dadaf0;
}

.single-description-body {
    max-height: 110px;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.single-description.is-expanded .single-description-body {
    max-height: 9999px;
}

.single-description-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 34px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(5,5,9,0), #050509);
    pointer-events: none;
}

.single-description.is-expanded .single-description-fade {
    display: none;
}

.single-description-toggle {
    margin-top: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #303049;
    background: #141420;
    color: #f5f5ff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.single-description-toggle:hover {
    background: #1f1f30;
}

/* Tags badges */

.single-tags {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.single-tag-label {
    font-size: 12px;
    color: #a0a0c0;
    margin-right: 4px;
}

.tag-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #151528;
    font-size: 11px;
    color: #f5f5ff;
}

.tag-badge a {
    color: inherit;
    text-decoration: none;
}

.tag-badge a:hover {
    text-decoration: underline;
}

/* Responsive images in ads/banners - prevent CLS while staying responsive */
.pl-banner {
    display: block;
    width: 100%;
    margin: 0;
}
.pl-banner a {
    display: block;
}
.pl-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}
.pl-banner-embed {
    width: 100%;
}
.banner-placement img,
.post-card-ad img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 6px;
}

/* Latest episodes */

/* More from Source Slider — unified with homepage slider style */
.pl-more-from-source {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.pl-mfs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    gap: 12px;
}
.pl-mfs-title {
    font-size: var(--pl-text-section);
    font-weight: 700;
    color: var(--pl-text-0);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pl-mfs-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.pl-mfs-see-all {
    font-size: 13px;
    color: var(--pl-accent, #ff3b6b);
    text-decoration: none;
    white-space: nowrap;
    font-weight: 500;
}
.pl-mfs-see-all:hover {
    text-decoration: underline;
}
.pl-mfs-nav {
    width: var(--pl-hit-area);
    height: var(--pl-hit-area);
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.08);
    color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    touch-action: manipulation;
}
.pl-mfs-nav:hover {
    background: var(--pl-accent);
    border-color: var(--pl-accent);
    color: #fff;
    transform: scale(1.08);
}
.pl-mfs-nav:active {
    transform: scale(0.95);
}
.pl-mfs-slider-wrapper {
    overflow: hidden;
    position: relative;
}
.pl-mfs-slider-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30px;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(270deg, var(--pl-bg-0), transparent);
}
.pl-mfs-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}
.pl-mfs-track::-webkit-scrollbar {
    display: none;
}
.pl-mfs-card {
    flex: 0 0 calc((100% - 60px) / 6);
    min-width: 160px;
    text-decoration: none;
    color: inherit;
    display: block;
    background: var(--pl-bg-1);
    border-radius: var(--pl-card-radius, 8px);
    overflow: hidden;
    transition: transform 0.2s;
}
.pl-mfs-card:hover {
    transform: translateY(-3px);
}
.pl-mfs-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #1a1a2e;
}
.pl-mfs-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}
.pl-mfs-card:hover .pl-mfs-thumb img {
    transform: scale(1.04);
}
.pl-mfs-duration {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: rgba(0,0,0,0.85);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    line-height: 1.3;
}
.pl-mfs-card-title {
    margin: 0;
    padding: 8px 10px;
    background: var(--pl-bg-2);
    font-size: var(--pl-text-card-title);
    font-weight: 600;
    line-height: 1.3;
    color: var(--pl-text-0);
    box-sizing: border-box !important;
    display: block !important;
    height: 50px !important;
    max-height: 50px !important;
    overflow: hidden !important;
}
.pl-mfs-card:hover .pl-mfs-card-title {
    color: var(--pl-accent);
}
/* Desktop: show arrows on section hover only */
@media (min-width: 769px) {
    .pl-mfs-controls .pl-mfs-nav {
        opacity: 0;
        transition: opacity 0.25s ease, all 0.2s;
    }
    .pl-more-from-source:hover .pl-mfs-controls .pl-mfs-nav {
        opacity: 1;
    }
}
@media (max-width: 1200px) {
    .pl-mfs-card {
        flex: 0 0 calc((100% - 36px) / 4);
        min-width: 140px;
    }
}
@media (max-width: 768px) {
    .pl-mfs-card {
        flex: 0 0 calc((100% - 24px) / 3);
        min-width: 120px;
    }
    .pl-mfs-title { font-size: 20px; }
    .pl-mfs-slider-wrapper::after { width: 20px; }
}
@media (max-width: 480px) {
    .pl-mfs-card {
        flex: 0 0 calc((100% - 12px) / 2);
        min-width: 110px;
    }
    .pl-mfs-see-all {
        display: none;
    }
}

/* Model Cards */
.pl-model-cards-section {
    margin-top: 8px;
    margin-bottom: 8px;
}
.pl-model-cards-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.45);
    margin-bottom: 8px;
}
.pl-model-cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pl-model-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px 6px 6px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s;
    position: relative;
    min-width: 0;
}
.pl-model-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-1px);
}
.pl-model-card-hidden {
    display: none;
}
.pl-model-card-photo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #2a2a3e;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pl-model-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}
.pl-model-card-initial {
    font-size: 18px;
    font-weight: 700;
    color: var(--pl-brand-color, #e91e63);
}
.pl-model-card-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.pl-model-card-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pl-model-card-count {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    line-height: 1.2;
}
.pl-model-card-qv {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s;
}
.pl-model-card:hover .pl-model-card-qv {
    opacity: 1;
}
.pl-model-card-qv:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}
.pl-model-cards-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    background: transparent;
    border: 1px dashed rgba(255,255,255,0.15);
    border-radius: 10px;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.pl-model-cards-toggle:hover {
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}
@media (max-width: 600px) {
    .pl-model-cards-grid {
        gap: 6px;
    }
    .pl-model-card {
        padding: 5px 8px 5px 5px;
        gap: 8px;
        max-width: calc(50% - 3px);
    }
    .pl-model-card-photo {
        width: 36px;
        height: 36px;
    }
    .pl-model-card-name {
        font-size: 12px;
    }
    .pl-model-card-qv {
        display: none;
    }
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--pl-border-0);
    padding: 30px 16px 40px;
    font-size: var(--pl-text-meta);
    color: var(--pl-text-2);
    text-align: center;
    background: var(--pl-bg-1);
}

.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer-description {
    max-width: 800px;
    margin: 0 auto 25px;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 14px;
    line-height: 1.7;
    color: #9b9bb5;
    text-align: center;
}

.site-footer-description a {
    color: #ff3b6b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer-description a:hover {
    color: #f5f5f5;
    text-decoration: underline;
}

.site-footer-description strong,
.site-footer-description b {
    color: #f5f5f5;
    font-weight: 600;
}

.site-footer-copy {
    font-size: 13px;
    color: #9b9bb5;
    margin-bottom: 15px;
}

.site-footer-copy a {
    color: #f5f5f5;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.site-footer-copy a:hover {
    color: #ff3b6b;
}

.site-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    margin-bottom: 20px;
}

.site-footer-nav a {
    color: #9b9bb5;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.site-footer-nav a:hover {
    color: #ff3b6b;
}

.site-footer-rta {
    margin: 15px 0;
    text-align: center;
}

.site-footer-rta a {
    display: inline-block;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.site-footer-rta a:hover {
    opacity: 1;
}

.site-footer-rta img,
.site-footer-rta svg {
    display: inline-block;
    max-height: 40px;
    width: auto;
}

.site-footer-rta .rta-logo-custom {
    max-height: 50px;
    width: auto;
}

.site-footer-disclaimer {
    font-size: 11px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Footer Personalization Section */
.site-footer-personalization {
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(16,185,129,0.06);
    border: 1px solid rgba(16,185,129,0.12);
    border-radius: 999px;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}
.site-footer-personalization svg {
    color: #10b981;
    flex-shrink: 0;
}
.footer-privacy-label {
    color: #10b981;
    font-size: 12px;
    font-weight: 600;
}
.footer-privacy-sep {
    color: rgba(255,255,255,0.2);
    font-size: 12px;
}
.footer-privacy-text {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    margin: 0;
}
.footer-privacy-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #ff3b6b;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.footer-privacy-link:hover {
    color: #ff5a85;
    gap: 6px;
}
.footer-privacy-link svg {
    transition: transform 0.2s ease;
}
.footer-privacy-link:hover svg {
    transform: translateX(3px);
}

@media (max-width: 600px) {
    .site-footer {
        padding: 25px 16px 35px;
    }
    .site-footer-description {
        padding: 15px 18px;
        font-size: 13px;
        margin-bottom: 20px;
    }
    .site-footer-nav {
        gap: 6px 15px;
    }
    .site-footer-nav a {
        font-size: 12px;
    }
    .site-footer-personalization {
        padding: 8px 16px;
        gap: 6px;
    }
    .footer-privacy-sep {
        display: none;
    }
    .footer-privacy-text {
        font-size: 11px;
    }
}

/* =========================
   Single video – fix player & CTA (v1.8)
   ========================= */

/* 1. Player na mobile – normalne marginesy, bez full-bleed */
@media (max-width: 600px) {
  .single-video-wrapper {
    margin-left: 0;
    margin-right: 0;
    border-radius: 8px;
  }
}

/* Label + text on center */
.single-cta-label {
  text-align: center;
}

.single-cta-button {
  width: 100%;
  text-align: center;
}

/* Mobile tweaks - CTA handled in inline CSS in single.php */


/* === Grid cards: excerpt + meta badges === */

.post-card-excerpt {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.45;
    color: #e3e3f5;
}
.post-card-excerpt p {
    margin: 0;
}

.post-card-meta-row {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 11px;
}

.post-card-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(200, 100, 150, 0.5);
    background: transparent;
    color: #e0e0f0;
    text-decoration: none;
    white-space: nowrap;
    font-size: 11px;
}

.post-card-badge-model {
    border-color: rgba(200, 100, 150, 0.6);
    color: #e8e8f8;
}

.post-card-badge-date {
    border-color: rgba(150, 150, 180, 0.4);
    color: #c0c0d8;
}

.post-card-badge-more {
    background: rgba(255, 255, 255, 0.08);
    border-style: dashed;
    color: #b8b8d5;
}

.post-card-badge:hover {
    filter: brightness(1.2);
    text-decoration: none;
    border-color: rgba(200, 100, 150, 0.8);
}

/* === CTA under video === */

.single-cta-wrapper {
    margin-top: 16px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(90deg, #ffb347, #ff6b6b);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    position: relative;
    z-index: 10;
}

.single-cta-button {
    display: block;
    width: 100%;
    padding: 14px 18px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1b1020;
    text-decoration: none;
    background: transparent;
    border: none;
}

.single-cta-button:hover {
    filter: brightness(1.08);
    text-decoration: none;
}

/* === Episode header + meta & taxonomies (single page) === */

.episode-header {
    margin-bottom: 12px;
}

.episode-title {
    margin: 0;
    font-size: 17px;
    line-height: 1.35;
    color: #ffffff;
    font-weight: 600;
}

@media (min-width: 600px) {
    .episode-title {
        font-size: 18px;
    }
}

@media (min-width: 960px) {
    .episode-title {
        font-size: 20px;
    }
}

.episode-meta-row {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
}

.meta-pill {
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid rgba(200, 100, 150, 0.5);
    background: transparent;
    color: #e0e0f0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 12px;
}

.meta-pill-date {
    border-color: rgba(200, 100, 150, 0.5);
}

.meta-pill-views {
    border-color: rgba(200, 100, 150, 0.5);
}

.episode-taxonomies {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.episode-taxonomy-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.episode-taxonomy-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #a0a0c5;
}

.episode-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.episode-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    border: 1px solid rgba(200, 100, 150, 0.5);
    background: transparent;
    color: #e0e0f0;
    text-decoration: none;
    white-space: nowrap;
}
.episode-badge-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0;
}
.episode-badge-wrapper .episode-badge {
    border-radius: 999px 0 0 999px;
    padding-right: 8px;
}
.episode-badge-qv {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid rgba(200, 100, 150, 0.5);
    border-left: none;
    border-radius: 0 999px 999px 0;
    background: rgba(200, 100, 150, 0.15);
    color: #e0e0f0;
    cursor: pointer;
    transition: all 0.2s ease;
}
.episode-badge-qv:hover {
    background: var(--vt-brand, #ff3b6b);
    border-color: var(--vt-brand, #ff3b6b);
    color: #fff;
}
.episode-badge-wrapper.episode-badge-hidden {
    display: none;
}
.episode-source-banner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}
.episode-source-qv {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ccc;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.episode-source-qv:hover {
    background: var(--vt-brand, #ff3b6b);
    border-color: var(--vt-brand, #ff3b6b);
    color: #fff;
}

.episode-badge-model {
    border-color: rgba(200, 100, 150, 0.6);
    color: #e8e8f8;
}

.episode-badge-category {
    border-color: rgba(200, 100, 150, 0.6);
    color: #e8e8f8;
}

.episode-badge-extra {
    display: none;
}

.episode-badges.is-expanded .episode-badge-extra {
    display: inline-flex;
}

.episode-badge:hover {
    filter: brightness(1.2);
    text-decoration: none;
    border-color: rgba(200, 100, 150, 0.8);
}

.episode-badges-toggle {
    margin-top: 4px;
    background: transparent;
    border: none;
    padding: 0;
    font-size: 12px;
    color: #9da0ff;
    cursor: pointer;
    display: block;
    text-align: left;
}

.episode-badges-toggle:hover {
    text-decoration: underline;
}


.brand-logo {
    max-width: 240px;
    width: auto;
    height: auto;
    display: block;
    /* Prevent CLS - reserve space for logo */
    min-height: 50px;
    aspect-ratio: 303 / 80;
    object-fit: contain;
}

@media (max-width: 768px) {
    .brand-logo {
        max-width: 160px;
        min-height: 35px;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        max-width: 130px;
        min-height: 30px;
    }
}

/* === Taxonomy Grid (Models & Categories pages) === */

.taxonomy-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 1100px) {
    .taxonomy-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .taxonomy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .taxonomy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

.taxonomy-card {
    display: block;
    background: #10101a;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.taxonomy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    text-decoration: none;
}

.taxonomy-card-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #0a0a14;
    overflow: hidden;
}

.taxonomy-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Model profile images - focus on face (top of image) */
.taxonomy-grid.models-page .taxonomy-card-thumb img {
    object-position: top;
}

/* Model cards - more square aspect ratio for portrait photos */
.taxonomy-grid.models-page .taxonomy-card-thumb {
    aspect-ratio: 1 / 1;
}

.taxonomy-card:hover .taxonomy-card-thumb img {
    transform: scale(1.05);
}

.taxonomy-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.taxonomy-card-placeholder span {
    font-size: 48px;
    font-weight: 700;
    color: #ff3b6b;
    text-transform: uppercase;
    opacity: 0.7;
}

.taxonomy-card-body {
    padding: 14px 16px 16px;
    text-align: center;
}

.taxonomy-card-title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
    color: #f5f5f5;
    line-height: 1.3;
}

.taxonomy-card-count {
    font-size: 12px;
    color: #9b9bb5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Mobile adjustments for taxonomy cards */
@media (max-width: 768px) {
    .taxonomy-card {
        border-radius: 10px;
    }
    .taxonomy-card-body {
        padding: 10px 8px 12px;
    }
    .taxonomy-card-title {
        font-size: 13px;
        margin-bottom: 4px;
    }
    .taxonomy-card-count {
        font-size: 10px;
    }
    .taxonomy-card-placeholder span {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .taxonomy-card {
        border-radius: 8px;
    }
    .taxonomy-card-body {
        padding: 8px 6px 10px;
    }
    .taxonomy-card-title {
        font-size: 11px;
        margin-bottom: 2px;
    }
    .taxonomy-card-count {
        font-size: 9px;
    }
    .taxonomy-card-placeholder span {
        font-size: 24px;
    }
}

/* Content Filter in Navigation */
.desktop-nav-filter {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding-left: 20px;
}
.content-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.06);
    color: #9b9bb5;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.content-filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}
.content-filter-btn.active {
    background: var(--brand-color, #e91e63);
    color: #fff;
    border-color: var(--brand-color, #e91e63);
}
.content-filter-btn.active:hover {
    background: var(--brand-color-hover, #d81b60);
    border-color: var(--brand-color-hover, #d81b60);
}

/* Mobile: Content filter at TOP of slide menu */
.mobile-content-filter-top {
    display: flex;
    gap: 8px;
    padding: 16px 15px;
    background: linear-gradient(180deg, rgba(233, 30, 99, 0.1) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-content-filter-top .content-filter-btn {
    flex: 1;
    padding: 12px 10px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mobile-content-filter-top .content-filter-btn.active {
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

/* Hide desktop filter on mobile */
@media (max-width: 768px) {
    .desktop-nav-filter {
        display: none;
    }
    .desktop-duration-filter {
        display: none;
    }
}

/* Desktop nav adjustments */
@media (min-width: 769px) {
    .desktop-nav-inner {
        display: flex;
        align-items: center;
    }
}

/* ==========================================
   DURATION FILTER
   ========================================== */
.desktop-duration-filter {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 15px;
    margin-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.duration-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #9b9bb5;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.duration-filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.duration-filter-btn.active {
    background: var(--brand-color, #e91e63);
    color: #fff;
    border-color: var(--brand-color, #e91e63);
}

.duration-filter-btn.active:hover {
    background: var(--brand-color-hover, #d81b60);
    border-color: var(--brand-color-hover, #d81b60);
}

/* Mobile Duration Filter */
.mobile-duration-filter {
    display: flex;
    gap: 6px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}

.mobile-duration-filter .duration-filter-btn {
    flex: 1;
    min-width: calc(25% - 6px);
    padding: 10px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
}

.mobile-duration-filter .duration-filter-btn.active {
    box-shadow: 0 3px 10px rgba(233, 30, 99, 0.3);
}

/* Promo Banners - styles generated dynamically by PHP with custom prefix */

/* Cross-Promotion Card in Grid */
.promo-card-cross {
    position: relative;
    background: #10101a;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-self: start;
}

.promo-card-cross:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.promo-card-cross a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.promo-card-cross .post-thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.promo-card-cross .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.promo-card-cross:hover .post-thumb img {
    transform: scale(1.05);
}

.promo-card-body {
    padding: 14px 16px 18px;
}

.promo-card-subtitle {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #f5f5f5;
    margin-bottom: 4px;
    opacity: 0.9;
}

.promo-card-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 6px 0;
}

.promo-card-desc {
    display: block;
    font-size: 13px;
    color: #9b9bb5;
    line-height: 1.4;
}

/* Legacy promo card (keep for backward compatibility) */
.promo-card {
    position: relative;
    background: #10101a;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-self: start;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.promo-card a {
    display: block;
    text-decoration: none;
}

.promo-card .post-thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.promo-card .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.promo-card:hover .post-thumb img {
    transform: scale(1.05);
}

.promo-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 40px 16px 16px;
}

/* Grid Ads */
.post-card-ad {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #10101a;
    border-radius: 14px;
    min-height: 250px;
    overflow: hidden;
    align-self: start;
    aspect-ratio: 16 / 9; /* Prevent CLS */
}

.post-card-ad img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.post-card-ad iframe {
    max-width: 100%;
    border-radius: 14px;
}

/* Legal Pages */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.legal-content {
    background: #10101a;
    border-radius: 14px;
    padding: 30px;
    line-height: 1.7;
    color: #f5f5f5;
}

.legal-content h2 {
    font-size: 18px;
    color: #ff3b6b;
    margin: 30px 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.legal-content h2:first-of-type {
    margin-top: 10px;
}

.legal-content h3 {
    font-size: 15px;
    color: #f5f5f5;
    margin: 20px 0 10px;
}

.legal-content p {
    margin-bottom: 15px;
    color: #9b9bb5;
}

.legal-content ul,
.legal-content ol {
    margin: 0 0 20px 20px;
    color: #9b9bb5;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content a {
    color: #ff3b6b;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-updated {
    font-size: 13px;
    color: #666 !important;
    font-style: italic;
    margin-bottom: 20px !important;
}

.legal-notice {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border-left: 3px solid #ff3b6b;
}

.legal-notice p {
    margin-bottom: 5px;
}

.legal-note {
    font-size: 12px;
    color: #888 !important;
    font-style: italic;
    background: rgba(255,179,0,0.1);
    padding: 10px 15px;
    border-radius: 6px;
    margin-top: 30px !important;
}

@media (max-width: 600px) {
    .legal-content {
        padding: 20px 15px;
    }
    .legal-content h2 {
        font-size: 16px;
    }
}

/* Taxonomy Description (models/categories) */
.taxonomy-description {
    max-width: 800px;
    margin: 0 auto 24px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
}

.taxonomy-description p:last-child {
    margin-bottom: 0;
}

/* ========================================
   Breadcrumbs Navigation
   ======================================== */

.breadcrumbs {
    max-width: 1200px;
    margin: 0 auto 16px;
    padding: 0 16px;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--brand-color, #E91E63);
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

/* Taxonomy Meta (video count) */
.taxonomy-meta {
    text-align: center;
    margin-bottom: 20px;
}

.video-count-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.video-count-badge strong {
    color: var(--brand-color, #E91E63);
}

/* Taxonomy Controls Bar (badge left, sort right) */
.taxonomy-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 0;
}

.taxonomy-controls-bar .video-count-badge {
    margin: 0;
}

.taxonomy-controls-bar .pl-sort-wrapper {
    margin-left: 0;
}

/* Breadcrumbs & Taxonomy Meta - Responsive */
@media (max-width: 768px) {
    .breadcrumbs {
        padding: 0 12px;
        margin-bottom: 12px;
    }
    
    .breadcrumb-list {
        font-size: 12px;
        gap: 6px;
    }
    
    .taxonomy-meta {
        margin-bottom: 16px;
    }
    
    .video-count-badge {
        padding: 5px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .breadcrumb-list {
        font-size: 11px;
        gap: 4px;
    }
    
    .breadcrumb-separator {
        font-size: 10px;
    }
}

/* ========================================
   Homepage Sections (Models/Categories)
   ======================================== */

.homepage-section {
    margin: 0;
    padding: 20px 0;
    border-top: none;
}

.homepage-section:first-of-type {
    margin-top: 20px;
    border-top: none;
    padding-top: 0;
}

.section-title {
    font-size: var(--pl-text-section);
    font-weight: 700;
    color: var(--pl-text-0);
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--pl-border-0), transparent);
}

/* Models Grid */
.models-grid,
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 600px) {
    .models-grid,
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (min-width: 900px) {
    .models-grid,
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1100px) {
    .models-grid,
    .categories-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.model-card,
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    background: var(--card-bg-transparent, rgba(255,255,255,0.04));
    border: 1px solid var(--card-border-transparent, rgba(255,255,255,0.08));
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    text-align: center;
    min-height: 80px;
}

.model-card:hover,
.category-card:hover {
    background: var(--hover-brand, #ff6b6b);
    border-color: var(--hover-brand, #ff6b6b);
    transform: translateY(-3px);
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.model-name,
.category-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--card-text, #fff);
    margin-bottom: 4px;
    line-height: 1.3;
}

.model-count,
.category-count {
    font-size: 12px;
    color: var(--card-text-muted, rgba(255, 255, 255, 0.5));
    transition: color 0.25s ease;
}

.model-card:hover .model-count,
.category-card:hover .category-count {
    color: rgba(255, 255, 255, 0.85);
}

.section-view-all {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.section-view-all:hover {
    background: #ff6b6b;
    color: #fff;
    text-decoration: none;
}

/* Content Source controls bar — sort left, follow+CTA right (v1.3.326) */
.source-controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.source-controls-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
@media (max-width: 600px) {
    .source-controls-bar {
        gap: 8px;
    }
    .source-controls-right {
        gap: 8px;
    }
    .source-controls-right .pl-follow-count-label {
        display: none;
    }
    .source-controls-right .archive-affiliate-btn--compact {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}
@media (max-width: 380px) {
    .source-controls-right .archive-affiliate-btn--compact .btn-text-full {
        display: none;
    }
    .source-controls-right .archive-affiliate-btn--compact .btn-text-short {
        display: inline;
    }
}

/* =============================================
   FOLLOWING - Header Actions
   ============================================= */
.source-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.model-header-actions {
    margin: 12px 0;
}

@media (max-width: 768px) {
    /* Content source header - horizontal layout like desktop */
    .content-source-header--compact {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center !important;
        gap: 12px;
    }
    
    .content-source-header--compact .source-logo-compact {
        flex-shrink: 0;
        width: 55px;
        height: 55px;
        font-size: 20px;
    }
    
    .content-source-header--compact .source-header-info {
        flex: 1;
        min-width: 0;
    }
    
    .content-source-header--compact .source-header-info .page-title {
        font-size: 20px !important;
        font-weight: 700;
        margin: 0 0 4px 0 !important;
        line-height: 1.2;
    }
    
    .content-source-header--compact .source-header-info .archive-count {
        font-size: 16px;
        color: rgba(255,255,255,0.7);
        margin: 0 !important;
    }
    
    .source-header-actions {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        width: 100%;
        margin-top: 8px;
    }
    
    .source-header-actions .pl-follow-btn {
        flex: 0 0 auto;
    }
    
    .source-header-actions .archive-affiliate-btn {
        flex: 1;
        text-align: center;
        justify-content: center;
    }
    
    /* Model header actions on mobile */
    .model-header-actions {
        margin: 8px 0 16px;
    }
}

/* Source card spacing - override inline brand styles */
.source-card-inner {
    gap: 12px !important;
    padding: 14px 16px !important;
}
.source-logo,
.source-logo-compact {
    margin: 0 !important;
}
@media (max-width: 900px) {
    .source-card-inner {
        padding: 12px 14px !important;
        gap: 10px !important;
    }
}

