/* Silk Deck theme stylesheet - converted from the source site's inline stylesheets.
   Selectors and DOM classes are preserved exactly as published by the source.
   Ad styles (legacy/ADS.md) were removed; see 207.md section 6 for the full change log. */

:root {
    --container-width: 1050px;
    --font-family: 'Inter', -apple-system, system-ui, sans-serif;
    --radius: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: var(--bg-primary, #070707); color: var(--text-primary, #ffffff); font-family: var(--font-family, 'Inter', -apple-system, system-ui, sans-serif); line-height: 1.5; -webkit-font-smoothing: antialiased; padding-bottom: 80px; }
a { text-decoration: none; color: inherit; transition: 0.2s ease; }
.vnx_container { max-width: var(--container-width, 1050px); margin: 0 auto; padding: 0 15px; }
.vnx_hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

svg { max-width: 100%; height: auto; }
.vnx_icon { width: 1.2em; height: 1.2em; vertical-align: middle; fill: currentColor; flex-shrink: 0; }

header { background: var(--bg-secondary, #111111); border-bottom: 1px solid var(--border, #222222); position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.4); }
.vnx_hdr_top { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 20px; }
.vnx_logo_box { display: flex; align-items: center; flex-shrink: 0; }
.vnx_logo_box img { max-height: 32px; width: auto; }
.vnx_logo_txt { font-size: 24px; font-weight: 900; color: var(--accent, #ff4758); letter-spacing: -1px; }

.vnx_search_bar { flex: 1 1 auto; max-width: 400px; position: relative; }
.vnx_search_bar input { width: 100%; padding: 9px 15px 9px 40px; background: #000; border: 1px solid var(--border, #222222); border-radius: 4px; color: #fff; outline: none; font-size: 14px; }
.vnx_search_bar input:focus { border-color: var(--accent, #ff4758); }
.vnx_search_ico { position: absolute; left: 6px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; padding: 6px; background: none; border: 0; color: var(--text-muted, #999999); cursor: pointer; }
.vnx_search_ico:hover { color: var(--accent, #ff4758); }

.vnx_hdr_nav { padding: 8px 0 12px; border-top: 1px solid rgba(255,255,255,0.03); }
.vnx_nav_list { display: flex; gap: 10px; list-style: none; flex-wrap: wrap; }
.vnx_nav_list a { padding: 5px 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--border, #222222); border-radius: 20px; font-size: 12px; font-weight: 700; color: #888; text-transform: uppercase; white-space: nowrap; }
.vnx_nav_list a:hover, .vnx_nav_list a.active { color: var(--on-seed, #fff); background: var(--accent, #ff4758); border-color: var(--accent, #ff4758); }

.vnx_main_content { background: var(--bg-card, #111111); border: 1px solid var(--border, #222222); padding: 24px; border-radius: var(--radius, 6px); margin-top: 20px; min-height: 50vh; }

.vnx_grid { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .vnx_grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .vnx_grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.vnx_item { position: relative; transition: transform 0.3s ease; }
.vnx_item:hover { transform: translateY(-5px); }
.vnx_thumb { position: relative; aspect-ratio: var(--thumb-aspect-ratio, 16/9); overflow: hidden; border-radius: 4px; background: var(--bg-tertiary, #111); display: flex; align-items: center; justify-content: center; }
.vnx_thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: transform 0.5s ease, opacity 0.4s; }
.vnx_thumb img.vnx_loaded { opacity: 1; }
.vnx_item:hover .vnx_thumb img { transform: scale(1.08); }

.vnx_time { position: absolute; bottom: 6px; right: 6px; background: rgba(0,0,0,0.85); font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 3px; color: #fff; z-index: 3; }
.vnx_title { margin-top: 10px; font-size: 13px; font-weight: 700; line-height: 1.4; height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--text-secondary, #eee); transition: 0.2s; }
.vnx_item:hover .vnx_title { color: var(--accent, #ff4758); }
.vnx_meta { margin-top: 6px; font-size: 10px; color: var(--text-muted, #999999); display: flex; justify-content: space-between; }

.vnx_tag_link { font-size: 12px; padding: 5px 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--border, #222222); border-radius: 20px; color: #888; font-weight: 700; margin-bottom: 8px; display: inline-flex; align-items: center; }
.vnx_tag_link::before { content: "#"; color: var(--accent, #ff4758); margin-right: 4px; font-weight: 900; }
.vnx_tag_link:hover { background: var(--accent, #ff4758); color: var(--on-seed, #fff); border-color: var(--accent, #ff4758); }

.vnx_pager { margin-top: 30px; display: flex; justify-content: center; gap: 8px; }
.vnx_page_btn { padding: 8px 18px; background: var(--bg-hover, #161616); border: 1px solid var(--border, #222222); border-radius: 4px; color: var(--on-bg-hover, #888); font-weight: 700; font-size: 13px; }
.vnx_page_cur { padding: 8px 18px; background: var(--accent, #ff4758); color: var(--on-seed, #fff); border-radius: 4px; font-weight: 800; font-size: 13px; }

footer { margin-top: 50px; padding: 40px 0; background: var(--bg-secondary, #0a0a0a); border-top: 1px solid var(--border, #222222); text-align: center; }
.vnx_ftr_links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-bottom: 25px; font-weight: 700; font-size: 14px; color: #888; }
.vnx_ftr_links a:hover { color: var(--accent, #ff4758); }
.vnx_ftr_desc { max-width: 850px; margin: 0 auto 25px; padding: 0 15px; font-size: 13px; line-height: 1.8; color: var(--text-muted, #666); font-style: italic; }
.vnx_ftr_copy { font-size: 11px; color: #444; letter-spacing: 1px; text-transform: uppercase; }

.vnx_page_btn { padding: 5px 15px; background: #000; border: 1px solid var(--border, #222222); font-size: 13px; border-radius: 3px; color: var(--text-muted, #999999); transition: 0.2s; }
.vnx_page_btn:hover { border-color: var(--accent, #ff4758); color: var(--accent, #ff4758); }
.vnx_page_cur { padding: 5px 15px; background: var(--accent, #ff4758); color: var(--on-seed, #fff); font-size: 13px; border-radius: 3px; }

.vnx_btn_more { background: #000; border: 1px solid var(--border, #222222); color: var(--text-primary, #fff); padding: 10px 40px; font-size: 14px; font-weight: 800; border-radius: 4px; cursor: pointer; transition: 0.3s; }
.vnx_btn_more:hover:not(:disabled) { border-color: var(--accent, #ff4758); color: var(--accent, #ff4758); }
.vnx_btn_more:disabled { opacity: 0.5; }
@keyframes vnx_float_h { 0% { opacity: 1; transform: translateY(0) scale(1); } 100% { opacity: 0; transform: translateY(-60px) scale(0.5); } }
.vnx_liked { color: #ff4458 !important; pointer-events: none; }

button:hover {
        background: var(--accent-hover, #ff4758) !important;
    }
    input:focus, select:focus, textarea:focus {
        border-color: var(--accent, #ff4758) !important;
    }

#vnx_player_box { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow, 0 10px 30px rgba(0,0,0,0.5)); margin-bottom: 15px; }
#artplayer-container { position: absolute; inset: 0; width: 100%; height: 100%; }
#vnx_player_box .art-video-player { position: absolute; inset: 0; width: 100%; height: 100%; }

@media (max-width: 767px) {
            .vnx_hdr_top { flex-direction: column; gap: 12px; padding: 15px 0 10px; }
            .vnx_logo_box { width: 100%; justify-content: center; }
            .vnx_search_bar { flex: none; width: 100%; max-width: none; }
            .vnx_hdr_nav { padding: 10px 0; }
            .vnx_nav_list { justify-content: center; gap: 8px 12px; }
            .vnx_nav_list a { padding: 4px 12px; font-size: 11px; }
            .vnx_main_content { padding: 15px 10px; border-radius: 0; border: none; margin-top: 0; }
            .vnx_grid { gap: 15px 10px; }
            .vnx_container { padding: 0 10px; }
        }

.vnx_err_wrap { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--bg-card, #1a1a1a); }

.fv-header-banner,
.fv-footer-banner {
    text-align: center;
    margin: 20px auto;
    overflow: hidden;
}
