/*
Theme Name: StreamVox
Theme URI: https://streamvox.io
Author: StreamVox
Author URI: https://streamvox.io
Description: StreamVox é um tema WordPress com player multi-embed de alto desempenho para sites de vídeo e streaming. Design escuro moderno e botão de dia e noite, grid configurável, sistema de avaliação com proteção anti-fraude, widget de categorias e sidebar 100% opcionais — tudo controlado pelo Personalizador, sem tocar em código.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: streamvox
Tags: video, streaming, dark, responsive, custom-menu, featured-images, full-site-editing, grid-layout, rating-system
*/

/* ========================================
   RESET & BASE
======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #0f0f10;
    --bg2: #1a1a1e;
    --bg3: #242428;
    --card: #1e1e22;
    --card-hover: #28282d;
    --border: #2e2e35;
    --text: #e8e8ec;
    --text2: #a0a0aa;
    --text3: #6a6a75;
    --accent: #e63950;
    --accent2: #ff5c6e;
    --accent-dark: #b82d40;
    --link: #c0c0cc;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 4px 20px rgba(0,0,0,.45);
    --shadow-card: 0 2px 10px rgba(0,0,0,.35);
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --header-h: 62px;
    --transition: .2s ease;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent2); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ========================================
   LAYOUT
======================================== */
.vp-wrapper { min-height: 100vh; display: flex; flex-direction: column; }

.vp-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.vp-body { flex: 1; padding: 28px 0; }

.vp-content-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    align-items: start;
}

.vp-content-wrap.no-sidebar { grid-template-columns: 1fr; }

main { min-width: 0; }

/* ========================================
   HEADER
======================================== */
.vp-header {
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 200;
    height: var(--header-h);
}

.vp-header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
}

.vp-logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 700;
    white-space: nowrap;
}

.vp-logo img { height: 36px; width: auto; }

.vp-logo .vp-logo-text span { color: var(--accent); }

.vp-search-form {
    flex: 1;
    max-width: 480px;
    display: flex;
    position: relative;
}

.vp-search-form input {
    width: 100%;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 8px 44px 8px 16px;
    color: var(--text);
    font-size: .875rem;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.vp-search-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(230,57,80,.15);
}

.vp-search-form button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    font-size: .85rem;
    transition: background var(--transition);
}

.vp-search-form button:hover { background: var(--accent2); }

.vp-nav { display: flex; align-items: center; gap: 4px; }
.vp-nav ul { display: flex; gap: 2px; }
.vp-nav ul li a {
    display: block;
    padding: 6px 14px;
    color: var(--text2);
    font-size: .875rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
}
.vp-nav ul li a:hover,
.vp-nav ul li.current-menu-item > a { background: var(--bg3); color: var(--text); }

.vp-header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.vp-darkmode-btn {
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    font-size: .9rem;
    transition: all var(--transition);
}
.vp-darkmode-btn:hover { background: var(--border); color: var(--text); }

.vp-menu-toggle {
    display: none;
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius);
    width: 38px;
    height: 38px;
    place-items: center;
    font-size: 1.1rem;
}

/* ========================================
   SECTION TITLE
======================================== */
.vp-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.vp-section-title h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: .06em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vp-section-title h2::before {
    content: '';
    display: block;
    width: 3px;
    height: 16px;
    background: var(--accent);
    border-radius: 2px;
}

.vp-section-title .vp-view-all {
    font-size: .8rem;
    color: var(--text3);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 50px;
    transition: all var(--transition);
}
.vp-section-title .vp-view-all:hover { border-color: var(--accent); color: var(--accent); }

/* ========================================
   VIDEO GRID
======================================== */
.vp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.vp-grid.vp-grid-large { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.vp-grid.vp-grid-small { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

/* VIDEO CARD */
.vp-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.vp-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.vp-card-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg3);
}

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

.vp-card:hover .vp-card-thumb img { transform: scale(1.06); }

.vp-card-thumb .vp-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.35);
    opacity: 0;
    transition: opacity var(--transition);
}

.vp-card:hover .vp-play-btn { opacity: 1; }

.vp-play-btn span {
    width: 44px;
    height: 44px;
    background: var(--accent);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1rem;
}

/* ── Thumbnail rotatória ───────────────────────────────────── */
.pvme-thumb-wrap .sv-card-img {
    transition: opacity .25s ease, transform .35s ease;
}

/* Barra de segmentos no topo do card */
.sv-preview-bar {
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    display: flex;
    gap: 3px;
    opacity: 0;
    transition: opacity .2s ease;
    z-index: 3;
    pointer-events: none;
}
.pvme-thumb-wrap:hover .sv-preview-bar { opacity: 1; }

.sv-preview-seg {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,.35);
    border-radius: 2px;
    transition: background .15s;
}
.sv-preview-seg.is-active {
    background: #fff;
}
/* ── /Thumbnail rotatória ──────────────────────────────────── */

.vp-card-duration {
    position: absolute;
    bottom: 6px;
    right: 8px;
    background: rgba(0,0,0,.75);
    color: #fff;
    font-size: .7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.vp-card-body { padding: 12px 14px 14px; }

.vp-card-title {
    font-size: .875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vp-card-title a { color: inherit; }
.vp-card-title a:hover { color: var(--accent); }

.vp-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .75rem;
    color: var(--text3);
}

.vp-card-cats a {
    color: var(--accent);
    font-size: .72rem;
    font-weight: 500;
}

.vp-card-views { display: flex; align-items: center; gap: 4px; }

.vp-card-duration-text { display: flex; align-items: center; gap: 3px; color: #ffc107 !important; font-weight: 600; }

.vp-card-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: .72rem;
    color: #f5a623;
}

/* ========================================
   CATEGORY PAGE
======================================== */
.vp-cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.vp-cat-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    text-decoration: none;
    display: block;
    color: inherit;
}

.vp-cat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
    color: inherit;
}

.vp-cat-card-mosaic {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg3);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
}

.vp-cat-card-mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.vp-cat-card:hover .vp-cat-card-mosaic img { transform: scale(1.06); }

.vp-cat-card-mosaic .vp-cat-main-img {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}

.vp-cat-card-mosaic .vp-cat-sub-img { }

.vp-cat-card-mosaic.has-single img {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.vp-cat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 60%);
    pointer-events: none;
}

.vp-cat-card-body {
    padding: 14px 16px 16px;
}

.vp-cat-card-name {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.vp-cat-card-count {
    font-size: .78rem;
    color: var(--text3);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ========================================
   SINGLE POST
======================================== */
.vp-single-video-wrap {
    background: #000;
    border-radius: var(--radius-lg);
    /* overflow:hidden e clip-path REMOVIDOS — ambos criam stacking context que
       bloqueia requestFullscreen() de iframes filhos cross-origin (videotxxx, etc).
       O border-radius acima arredonda apenas os cantos visuais sem criar stacking context
       porque não há overflow, clip, filter ou transform neste elemento. */
    margin-bottom: 20px;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vp-single-video-wrap iframe,
.vp-single-video-wrap video {
    width: 100%;
    height: 100%;
    border: none;
}

.vp-single-info { background: var(--card); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 20px; border: 1px solid var(--border); }

.vp-single-title { font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 12px; line-height: 1.4; }

.vp-single-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    font-size: .8rem;
    color: var(--text3);
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 14px;
}

.vp-single-meta span { display: flex; align-items: center; gap: 5px; }

.vp-single-desc { color: var(--text2); font-size: .9rem; line-height: 1.7; }

.vp-single-tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.vp-single-tags a {
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text2);
    font-size: .75rem;
    padding: 3px 10px;
    border-radius: 50px;
    transition: all var(--transition);
}
.vp-single-tags a:hover { border-color: var(--accent); color: var(--accent); }

/* Share */
.vp-share { background: var(--card); border-radius: var(--radius-lg); padding: 16px 20px; margin-bottom: 20px; border: 1px solid var(--border); }
.vp-share h3 { font-size: .85rem; font-weight: 600; color: var(--text2); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .05em; }
.vp-share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.vp-share-btns a {
    padding: 7px 16px;
    border-radius: 6px;
    font-size: .8rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity var(--transition);
}
.vp-share-btns a:hover { opacity: .85; color: #fff; }
.vp-share-facebook { background: #1877f2; }
.vp-share-twitter { background: #1da1f2; }
.vp-share-whatsapp { background: #25d366; }
.vp-share-telegram { background: #0088cc; }
.vp-share-reddit { background: #ff4500; }

/* Rating */
.vp-rating-box { background: var(--card); border-radius: var(--radius-lg); padding: 16px 20px; margin-bottom: 20px; border: 1px solid var(--border); }
.vp-rating-box h3 { font-size: .85rem; font-weight: 600; color: var(--text2); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .05em; }
.vp-stars { display: flex; gap: 6px; }
.vp-star {
    font-size: 1.6rem;
    color: var(--border);
    cursor: pointer;
    transition: color var(--transition), transform var(--transition);
    line-height: 1;
}
.vp-star:hover, .vp-star.active { color: #f5a623; transform: scale(1.1); }
.vp-rating-result { margin-top: 8px; font-size: .8rem; color: var(--text3); }

/* ========================================
   SIDEBAR
======================================== */
.vp-sidebar { min-width: 0; }

.vp-widget {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 18px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.vp-widget-title {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text2);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 7px;
}

.vp-widget-title::before {
    content: '';
    display: block;
    width: 3px;
    height: 13px;
    background: var(--accent);
    border-radius: 2px;
}

/* Recent posts widget */
.vp-widget-posts .vp-mini-post {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.vp-widget-posts .vp-mini-post:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.vp-mini-post-thumb {
    width: 80px;
    min-width: 80px;
    height: 52px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg3);
}
.vp-mini-post-thumb img { width: 100%; height: 100%; object-fit: cover; }

.vp-mini-post-title { font-size: .8rem; font-weight: 500; color: var(--text); line-height: 1.4; }
.vp-mini-post-title a { color: inherit; }
.vp-mini-post-title a:hover { color: var(--accent); }
.vp-mini-post-meta { font-size: .72rem; color: var(--text3); margin-top: 4px; }

/* Categories widget */
.vp-widget-cats ul li { border-bottom: 1px solid var(--border); }
.vp-widget-cats ul li:last-child { border-bottom: none; }
.vp-widget-cats ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: .85rem;
    color: var(--text2);
    transition: color var(--transition);
}
.vp-widget-cats ul li a:hover { color: var(--accent); }
.vp-widget-cats ul li a span {
    background: var(--bg3);
    padding: 1px 8px;
    border-radius: 50px;
    font-size: .7rem;
    color: var(--text3);
}

/* Tags widget */
.vp-widget-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.vp-widget-tags a {
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text2);
    font-size: .75rem;
    padding: 4px 10px;
    border-radius: 50px;
    transition: all var(--transition);
}
.vp-widget-tags a:hover { border-color: var(--accent); color: var(--accent); }

/* ========================================
   PAGINATION
======================================== */
.vp-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.vp-pagination a,
.vp-pagination span {
    min-width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    font-size: .875rem;
    font-weight: 500;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text2);
    transition: all var(--transition);
    padding: 0 10px;
}

.vp-pagination a:hover { background: var(--bg3); border-color: var(--accent); color: var(--accent); }
.vp-pagination .current { background: var(--accent); border-color: var(--accent); color: #fff; }

/* WP-PageNavi override */
.wp-pagenavi { display: flex; justify-content: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.wp-pagenavi a, .wp-pagenavi span {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius) !important;
    font-size: .875rem;
    background: var(--card) !important;
    border: 1px solid var(--border) !important;
    color: var(--text2) !important;
    transition: all var(--transition);
    padding: 0 10px;
}
.wp-pagenavi a:hover { background: var(--bg3) !important; border-color: var(--accent) !important; color: var(--accent) !important; }
.wp-pagenavi span.current { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; }

/* ========================================
   FOOTER
======================================== */
.vp-footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 28px 0 16px;
    margin-top: auto;
}

.vp-footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
    margin-bottom: 20px;
}

.vp-footer-col h4 {
    font-size: .85rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 12px;
}

.vp-footer-col p, .vp-footer-col a {
    font-size: .85rem;
    color: var(--text3);
}

.vp-footer-col ul li { margin-bottom: 6px; }
.vp-footer-col ul li a:hover { color: var(--accent); }

.vp-footer-bottom {
    padding-top: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: .8rem;
    color: var(--text3);
}

/* ========================================
   404 & SEARCH
======================================== */
.vp-404 {
    text-align: center;
    padding: 80px 20px;
}
.vp-404 h1 { font-size: 5rem; font-weight: 900; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.vp-404 h2 { font-size: 1.5rem; color: var(--text); margin-bottom: 12px; }
.vp-404 p { color: var(--text2); margin-bottom: 24px; }
.vp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    color: #fff;
    padding: 10px 22px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .9rem;
    transition: background var(--transition);
}
.vp-btn:hover { background: var(--accent2); color: #fff; }

/* ========================================
   COMMENTS
======================================== */
.vp-comments { background: var(--card); border-radius: var(--radius-lg); padding: 20px; border: 1px solid var(--border); margin-top: 20px; }
.vp-comments h2 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 18px; }
.vp-comment { display: flex; gap: 12px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.vp-comment:last-child { border-bottom: none; margin-bottom: 0; }
.vp-comment-avatar img { width: 44px; height: 44px; border-radius: 50%; }
.vp-comment-body { flex: 1; }
.vp-comment-author { font-size: .875rem; font-weight: 600; color: var(--text); }
.vp-comment-date { font-size: .75rem; color: var(--text3); margin-left: 8px; }
.vp-comment-text { font-size: .85rem; color: var(--text2); margin-top: 5px; line-height: 1.6; }

.vp-comment-form textarea,
.vp-comment-form input[type="text"],
.vp-comment-form input[type="email"] {
    width: 100%;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    color: var(--text);
    font-size: .875rem;
    outline: none;
    transition: border-color var(--transition);
    margin-bottom: 10px;
}
.vp-comment-form textarea:focus,
.vp-comment-form input:focus { border-color: var(--accent); }
.vp-comment-form textarea { min-height: 100px; resize: vertical; }
.vp-comment-form input[type="submit"] {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 9px 22px;
    font-weight: 600;
    font-size: .875rem;
    cursor: pointer;
    transition: background var(--transition);
}
.vp-comment-form input[type="submit"]:hover { background: var(--accent2); }

/* ========================================
   LIGHT MODE
======================================== */
/* Light mode — ativado via html.sv-light (script inline no <head>) */
html.sv-light body {
    --bg: #f5f5f7;
    --bg2: #ffffff;
    --bg3: #ebebee;
    --card: #ffffff;
    --card-hover: #f0f0f3;
    --border: #d8d8de;
    --text: #16161a;
    --text2: #55555f;
    --text3: #8888a0;
    --shadow: 0 4px 20px rgba(0,0,0,.12);
    --shadow-card: 0 2px 10px rgba(0,0,0,.08);
    --link: #444450;
}
/* Mantém compatibilidade com a classe antiga caso ainda exista */
body.light-mode {
    --bg: #f5f5f7;
    --bg2: #ffffff;
    --bg3: #ebebee;
    --card: #ffffff;
    --card-hover: #f0f0f3;
    --border: #d8d8de;
    --text: #16161a;
    --text2: #55555f;
    --text3: #8888a0;
    --shadow: 0 4px 20px rgba(0,0,0,.12);
    --shadow-card: 0 2px 10px rgba(0,0,0,.08);
    --link: #444450;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .vp-content-wrap { grid-template-columns: 1fr; }
    .vp-sidebar { display: none; }
    .vp-footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .vp-nav { display: none; }
    .vp-nav.is-open {
        display: flex;
        position: fixed;
        inset: var(--header-h) 0 0;
        background: var(--bg2);
        flex-direction: column;
        padding: 20px;
        z-index: 999;
        overflow-y: auto;
    }
    .vp-nav.is-open ul { flex-direction: column; width: 100%; }
    .vp-nav.is-open ul li a { padding: 12px 16px; font-size: 1rem; }
    .vp-menu-toggle { display: grid; }
    .vp-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
    .vp-cats-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    .vp-footer-inner { grid-template-columns: 1fr; gap: 20px; }
    .vp-search-form { max-width: 200px; }
}

@media (max-width: 480px) {
    .vp-grid { grid-template-columns: 1fr 1fr; }
    .vp-cats-grid { grid-template-columns: 1fr 1fr; }
}

/* ========================================
   UTILITIES
======================================== */
.vp-icon-film::before { content: '🎬'; margin-right: 6px; }
.vp-icon-fire::before { content: '🔥'; margin-right: 6px; }
.vp-icon-new::before { content: '✨'; margin-right: 6px; }
.vp-icon-star::before { content: '⭐'; margin-right: 6px; }
.vp-icon-grid::before { content: '📂'; margin-right: 6px; }

.text-muted { color: var(--text3); }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 24px; }

/* ========================================
   WIDGET CATEGORIAS HOME
======================================== */
.vp-cats-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.vp-cat-home-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.vp-cat-home-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: var(--accent);
    color: var(--text);
}

.vp-cat-home-img {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg3);
}

.vp-cat-home-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.vp-cat-home-item:hover .vp-cat-home-img img { transform: scale(1.07); }

.vp-cat-home-name {
    font-size: .8rem;
    font-weight: 600;
    padding: 8px 10px 2px;
    text-align: center;
    color: var(--text);
    line-height: 1.3;
}

.vp-cat-home-count {
    font-size: .7rem;
    color: var(--text3);
    padding-bottom: 8px;
}

/* Só desktop */
@media (max-width: 768px) {
    .vp-cats-widget-desktop-only { display: none !important; }
}

/* Logo img no header */
.vp-logo-img { height: 38px; width: auto; display: block; }
.vp-logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text);
    white-space: nowrap;
}
.vp-logo-text:hover { color: var(--accent); }

/* Ajuste do grid de categorias home em mobile */
@media (max-width: 480px) {
    .vp-cats-home-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .vp-cat-home-name { font-size: .72rem; padding: 6px 6px 2px; }
}

/* ========================================
   PÁGINA DE CATEGORIAS (template)
======================================== */
.vp-cats-page { padding-bottom: 20px; }

.vp-cats-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.vp-cat-page-card {
    display: block;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.vp-cat-page-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
    color: inherit;
}

/* Mosaico: imagem principal + 2 laterais */
.vp-cat-page-mosaic {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg3);
    display: flex;
    gap: 2px;
}

.vp-cat-page-mosaic.single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.vp-cat-page-card:hover .vp-cat-page-mosaic img { transform: scale(1.06); }

.vp-cat-mosaic-main {
    flex: 2;
    overflow: hidden;
}
.vp-cat-mosaic-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.vp-cat-mosaic-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.vp-cat-mosaic-side img {
    width: 100%;
    flex: 1;
    object-fit: cover;
    transition: transform .4s ease;
}

.vp-cat-page-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 55%);
    pointer-events: none;
}

.vp-cat-page-info {
    padding: 14px 16px 16px;
}

.vp-cat-page-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.3;
}

.vp-cat-page-count {
    font-size: .78rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 4px;
}

.vp-cat-page-desc {
    font-size: .76rem;
    color: var(--text3);
    line-height: 1.4;
}

/* ========================================
   WIDGET CATEGORIAS HOME
======================================== */
.vp-cats-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.vp-cat-home-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.vp-cat-home-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: var(--accent);
    color: var(--text);
}

.vp-cat-home-img {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg3);
}
.vp-cat-home-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.vp-cat-home-item:hover .vp-cat-home-img img { transform: scale(1.07); }

.vp-cat-home-name {
    font-size: .78rem;
    font-weight: 600;
    padding: 7px 8px 2px;
    text-align: center;
    color: var(--text);
    line-height: 1.3;
}
.vp-cat-home-count {
    font-size: .68rem;
    color: var(--text3);
    padding-bottom: 8px;
}

/* Só desktop */
@media (max-width: 768px) {
    .vp-cats-widget-desktop-only { display: none !important; }
    .vp-cats-page-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

@media (max-width: 480px) {
    .vp-cats-home-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .vp-cat-home-name  { font-size: .7rem; padding: 5px 5px 2px; }
    .vp-cats-page-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .vp-cat-page-info  { padding: 10px 12px 12px; }
    .vp-cat-page-name  { font-size: .875rem; }
}

/* ========================================
   LOGO NO HEADER
======================================== */
.vp-logo-img  { height: 38px; width: auto; display: block; }
.vp-logo-text { font-size: 1.2rem; font-weight: 800; color: var(--text); white-space: nowrap; text-decoration: none; }
.vp-logo-text:hover { color: var(--accent); }

/* =====================================================
   NOVOS ESTILOS v1.3 — search mobile, player, cats
===================================================== */

/* ── HEADER: duas linhas ──────────────────────────── */
.vp-header {
    height: auto;          /* sobrescreve height fixo */
    min-height: var(--header-h);
}

.vp-header-row {
    display: flex;
    align-items: center;
    gap: 16px;
    height: var(--header-h);
}

/* Search desktop: visível acima de 768px */
.vp-header-search-mobile { display: none; }
.vp-search-desktop       { flex: 1; max-width: 480px; display: flex; }
.vp-search-desktop .vp-search-form { flex: 1; max-width: none; }

/* Mobile ≤ 768px: search vai para linha 2 */
@media (max-width: 768px) {
    .vp-header-row.vp-header-top { gap: 10px; }

    /* Esconde search na linha 1 */
    .vp-search-desktop { display: none; }

    /* Mostra search na linha 2 */
    .vp-header-search-mobile {
        display: flex;
        height: auto;
        padding: 0 0 10px;
    }
    .vp-header-search-mobile .vp-search-form {
        flex: 1;
        max-width: 100%;
        width: 100%;
    }
    .vp-header-search-mobile .vp-search-form input {
        width: 100%;
        max-width: none;
        font-size: 1rem;
        padding: 10px 48px 10px 18px;
    }
}

/* ── PLAYER & SELETOR DE SERVIDORES ─────────────── */
.vp-single-video-wrap {
    margin-bottom: 20px;
}

/* Seletor de servidores */
.vp-server-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.vp-server-label {
    font-size: .75rem;
    font-weight: 600;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-right: 4px;
    white-space: nowrap;
}

.vp-server-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--bg2);
    color: var(--text2);
    transition: all var(--transition);
    white-space: nowrap;
}

.vp-server-btn::before {
    content: '▶';
    font-size: .65rem;
    opacity: .5;
    transition: opacity var(--transition);
}

.vp-server-btn:hover {
    background: var(--bg3);
    border-color: var(--accent);
    color: var(--text);
}

.vp-server-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 2px 10px rgba(230,57,80,.35);
}

.vp-server-btn.active::before { opacity: 1; }

/* Player container */
.vp-player-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
}

.vp-player-inner {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.vp-player-inner iframe,
.vp-player-inner embed,
.vp-player-inner object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

/* Overlay de erro */
.vp-player-error {
    position: absolute;
    inset: 0;
    background: rgba(15,15,16,.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: var(--radius-lg);
}

.vp-player-error-inner {
    text-align: center;
    padding: 32px;
}

.vp-error-icon { font-size: 2.5rem; display: block; margin-bottom: 12px; }

.vp-player-error p {
    color: var(--text2);
    font-size: .95rem;
    margin-bottom: 6px;
}

.vp-player-error .vp-error-hint {
    color: var(--text3);
    font-size: .82rem;
    margin-bottom: 16px;
}

.vp-btn-retry {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: var(--accent);
    color: #fff;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background var(--transition);
}

.vp-btn-retry:hover { background: var(--accent2); }

/* Duração no single */
.vp-meta-duration {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(230,57,80,.15);
    color: var(--accent2);
    padding: 2px 10px;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 600;
}

/* Duração no card (já existe, mas reforça estilo) */
.vp-card-duration {
    position: absolute;
    bottom: 7px;
    right: 8px;
    background: rgba(0,0,0,.82);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: .03em;
    pointer-events: none;
    z-index: 2;
    backdrop-filter: blur(2px);
}

/* ── CATEGORIA: header somente texto ─────────────── */
.vp-cat-header-text {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    padding: 24px 28px;
}

.vp-cat-header-inner {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.vp-cat-header-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
    background: var(--bg3);
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.vp-cat-header-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 6px;
}

.vp-cat-header-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.vp-cat-header-count {
    background: var(--accent);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 50px;
}

.vp-cat-header-sep { color: var(--text3); }

.vp-cat-header-parent {
    color: var(--text2);
    font-size: .82rem;
    text-decoration: none;
    transition: color var(--transition);
}

.vp-cat-header-parent:hover { color: var(--accent); }

.vp-cat-header-desc {
    color: var(--text2);
    font-size: .9rem;
    line-height: 1.6;
    margin: 0;
}

/* ── PÁGINA DE CATEGORIAS: layout textual ─────────── */
.vp-cats-text-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.vp-cat-text-card {
    display: block;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    text-decoration: none;
    color: var(--text);
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.vp-cat-text-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
    background: var(--card-hover);
    color: var(--text);
}

.vp-cat-text-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.vp-cat-text-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.vp-cat-text-name {
    font-size: .92rem;
    font-weight: 700;
    color: var(--text);
    flex: 1;
    line-height: 1.3;
}

.vp-cat-text-count {
    font-size: .72rem;
    font-weight: 700;
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text3);
    padding: 2px 8px;
    border-radius: 50px;
    white-space: nowrap;
    flex-shrink: 0;
}

.vp-cat-text-card:hover .vp-cat-text-count {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.vp-cat-text-desc {
    font-size: .8rem;
    color: var(--text3);
    line-height: 1.5;
    padding-top: 6px;
    border-top: 1px solid var(--border);
}

/* Mobile responsivo */
@media (max-width: 600px) {
    .vp-cat-header-text { padding: 16px; }
    .vp-cat-header-icon { width: 44px; height: 44px; font-size: 1.5rem; }
    .vp-cat-header-title { font-size: 1.2rem; }
    .vp-cats-text-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .vp-cat-text-card { padding: 12px 14px; }
    .vp-server-selector { padding: 6px 8px; gap: 6px; }
    .vp-server-btn { padding: 5px 11px; font-size: .75rem; }
}

@media (max-width: 360px) {
    .vp-cats-text-grid { grid-template-columns: 1fr; }
}

/* ── BANNERS MOBILE (ADS) ─────────────────────────────────── */
.sv-mobile-banner {
    display: none;
    text-align: center;
    overflow: hidden;
    line-height: 0;
}

/* Topo: 300x100 */
.sv-mobile-banner-top {
    margin: 8px auto 12px;
    max-width: 300px;
    min-height: 100px;
}

/* Abaixo do player: 300x250 */
.sv-mobile-banner-below {
    margin: 12px auto;
    max-width: 300px;
    min-height: 250px;
}

/* Só exibe em mobile */
@media (max-width: 768px) {
    .sv-mobile-banner { display: block; }
}

/* ========================================
   SORT BAR — Filtro / Ordenação
======================================== */





















/* ========================================
   WIDGETS MOBILE — área abaixo do conteúdo
======================================== */

/* ---- Área de widgets exclusiva para mobile ----
   min-width garante que não aparece no desktop
   independente de qualquer outra regra do tema. */
@media (min-width: 1025px) {
    .sv-mobile-widgets {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* Aparece em tablet e celular (<= 1024px) */
@media (max-width: 1024px) {
    .sv-mobile-widgets {
        display: block;
        padding: 24px 0 8px;
    }
    .sv-mobile-widgets .vp-widget {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .sv-mobile-widgets {
        padding: 16px 0 8px;
    }
}

/* ---- Link de editar post (visível só para admins logados) ---- */
.vp-edit-link a {
    display: inline-block;
    margin-top: 6px;
    font-size: .75rem;
    color: var(--accent, #e53);
    opacity: 0.7;
    text-decoration: none;
}
.vp-edit-link a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ========================================
   EMBEDS RESPONSIVOS — HTML personalizado
   Aplica a todos os iframes dentro do
   conteúdo do post (bloco HTML, shortcodes,
   etc.) sem precisar editar nenhum post.
======================================== */
.vp-single-desc iframe,
.vp-single-desc embed,
.vp-single-desc object {
    max-width: 100%;
}

/* Wrapper automático via JS (veja main.js):
   iframes com width/height fixos ganham
   um pai com aspect-ratio preservado. */
.vp-embed-wrap {
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
}
.vp-embed-wrap iframe,
.vp-embed-wrap embed,
.vp-embed-wrap object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
}

/* ============================================================
   SORT BAR
   ============================================================ */
.vp-sort-wrap {
    position: relative;
}

.vp-sort-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text2);
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.vp-sort-btn:hover,
.vp-sort-btn.is-open {
    border-color: var(--accent);
    color: var(--accent);
}

.vp-sort-caret { font-size: .7rem; opacity: .7; }

.vp-sort-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 200px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 200;
    overflow: hidden;
    /* Oculto via opacity+pointer-events — LiteSpeed não remove */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .15s ease, visibility .15s ease, transform .15s ease;
}

.vp-sort-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.vp-sort-item {
    display: block;
    padding: 10px 16px;
    font-size: .875rem;
    color: var(--text2);
    transition: background var(--transition), color var(--transition);
}

.vp-sort-item:hover { background: var(--bg3); color: var(--text); }
.vp-sort-item.active { color: var(--accent); font-weight: 700; background: var(--bg3); }

/* ============================================================
   RELACIONADOS — VER MAIS
   ============================================================ */
.vp-related-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 28px;
    margin-bottom: 8px;
}

.vp-related-more-btn {
    padding: 12px 36px;
    background: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 50px;
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    display: inline-block;
    text-align: center;
    letter-spacing: .02em;
}

.vp-related-more-btn:hover:not(:disabled) {
    background: var(--accent2);
    border-color: var(--accent2);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(230,57,80,.35);
}

.vp-related-more-btn:disabled {
    opacity: .6;
    cursor: default;
    transform: none;
}

/* ============================================================
   ATRIZES — GRADE NA PÁGINA DE LISTAGEM
   ============================================================ */
.vp-actress-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.vp-actress-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    color: var(--text2);
    transition: all var(--transition);
    text-decoration: none;
}

.vp-actress-card:hover {
    border-color: var(--accent);
    background: var(--card-hover);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.vp-actress-initial {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.vp-actress-name {
    font-size: .875rem;
    font-weight: 600;
    color: var(--text);
    word-break: break-word;
    line-height: 1.3;
}

.vp-actress-count {
    font-size: .75rem;
    color: var(--text3);
}

/* ============================================================
   FILTRO ALFABÉTICO
   ============================================================ */
.vp-alpha-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.vp-alpha-btn {
    min-width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: .8rem;
    font-weight: 700;
    color: var(--text2);
    padding: 0 8px;
    transition: all var(--transition);
    text-decoration: none;
}

.vp-alpha-btn:hover,
.vp-alpha-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* ============================================================
   META DE ATRIZES NO POST
   ============================================================ */
.vp-meta-actresses a {
    color: var(--accent);
}
.vp-meta-actresses a:hover { color: var(--accent2); }

/* ============================================================
   RESPONSIVE — SORT + ACTRESS GRID
   ============================================================ */
@media (max-width: 480px) {
    .vp-actress-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
    .vp-actress-initial { width: 42px; height: 42px; font-size: 1.1rem; }
    .vp-sort-btn { font-size: .78rem; padding: 5px 10px; }
}

/* ============================================================
   SKELETON LOADER — cards enquanto AJAX carrega
   ============================================================ */
.vp-card-skeleton {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.vp-card-skeleton .sk-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(90deg, var(--bg3) 25%, var(--bg2) 50%, var(--bg3) 75%);
    background-size: 200% auto;
    animation: sk-shimmer 1.4s infinite linear;
}

.vp-card-skeleton .sk-body { padding: 10px; }

.vp-card-skeleton .sk-line {
    height: 12px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--bg3) 25%, var(--bg2) 50%, var(--bg3) 75%);
    background-size: 200% auto;
    animation: sk-shimmer 1.4s infinite linear;
    margin-bottom: 8px;
}

.vp-card-skeleton .sk-line:last-child { width: 60%; margin-bottom: 0; }

@keyframes sk-shimmer {
    from { background-position: 200% center; }
    to   { background-position: -200% center; }
}

/* ============================================================
   VIEWS — card e post single
   ============================================================ */
.vp-card-views {
    color: var(--text3);
    font-size: .75rem;
}

.vp-meta-views {
    color: var(--text3);
}
