
/* Visual Feed Skin - Instagram Style */

.vf-app {

    --vf-bg: var(--bg-primary, #000);

    --vf-bg-secondary: var(--bg-secondary, #000);

    --vf-bg-tertiary: var(--bg-tertiary, #262626);

    --vf-text: var(--text-primary, #fff);

    --vf-text-secondary: var(--text-secondary, #a8a8a8);

    --vf-text-muted: var(--text-muted, #8e8e8e);

    --vf-border: var(--border-color, #262626);

    --vf-accent: #e1306c;

}

[data-theme="light"] .vf-app, .light-mode .vf-app, body.light .vf-app {

    --vf-bg: #fafafa; --vf-bg-secondary: #fff; --vf-bg-tertiary: #efefef; --vf-text: #262626; --vf-text-secondary: #8e8e8e; --vf-text-muted: #c7c7c7; --vf-border: #dbdbdb;

}

.vf-app { min-height: 100vh; background: var(--vf-bg); color: var(--vf-text); }



/* Header */

.vf-header { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 20px; background: var(--vf-bg-secondary); border-bottom: 1px solid var(--vf-border); position: sticky; top: 0; z-index: 100; }

.vf-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--vf-text); font-size: 22px; font-weight: 600; }

.vf-logo i { color: var(--vf-accent); }

.vf-search { position: relative; }

.vf-search input { padding: 8px 16px 8px 36px; background: var(--vf-bg-tertiary); border: none; border-radius: 8px; font-size: 14px; width: 250px; color: var(--vf-text); }

.vf-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--vf-text-muted); font-size: 14px; }

.vf-header-nav { display: flex; align-items: center; gap: 20px; }

.vf-header-icon { color: var(--vf-text); font-size: 22px; text-decoration: none; background: none; border: none; cursor: pointer; }

.vf-header-icon.active { color: var(--vf-accent); }



/* Skin Switcher */

.vf-skin-switcher { position: relative; }

.vf-skin-dropdown { position: absolute; top: 100%; right: 0; background: var(--vf-bg-secondary); border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.3); display: none; min-width: 180px; margin-top: 8px; overflow: hidden; z-index: 200; border: 1px solid var(--vf-border); }

.vf-skin-switcher.active .vf-skin-dropdown { display: block; }

.vf-skin-option { display: flex; align-items: center; gap: 10px; padding: 12px 16px; color: var(--vf-text); text-decoration: none; font-size: 14px; }

.vf-skin-option:hover { background: var(--vf-bg-tertiary); }

.vf-skin-option.active { background: rgba(225,48,108,0.1); }

.vf-skin-option .fa-check { margin-left: auto; color: var(--vf-accent); font-size: 12px; }

.vf-skin-dot { width: 10px; height: 10px; border-radius: 50%; }



/* Main */

.vf-main { max-width: 630px; margin: 0 auto; padding: 20px 0; }



/* Stories */

.vf-stories { display: flex; gap: 16px; padding: 16px; background: var(--vf-bg-secondary); border: 1px solid var(--vf-border); border-radius: 8px; margin-bottom: 24px; overflow-x: auto; }

.vf-story { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; }

.vf-story-ring { width: 66px; height: 66px; background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-radius: 50%; padding: 3px; }

.vf-story-avatar { width: 100%; height: 100%; background: var(--vf-bg-secondary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--vf-text); border: 2px solid var(--vf-bg-secondary); }

.vf-story span { font-size: 12px; color: var(--vf-text); max-width: 66px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }



/* Feed */

.vf-feed { display: flex; flex-direction: column; gap: 24px; }

.vf-card { background: var(--vf-bg-secondary); border: 1px solid var(--vf-border); border-radius: 8px; overflow: hidden; }

.vf-card-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }

.vf-card-user { display: flex; align-items: center; gap: 12px; }

.vf-avatar { width: 32px; height: 32px; background: linear-gradient(45deg, #f09433, #e6683c, #dc2743); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 600; font-size: 14px; }

.vf-card-user span { font-weight: 600; font-size: 14px; }

.vf-more { background: none; border: none; color: var(--vf-text); cursor: pointer; }

.vf-card-media { display: block; }

.vf-card-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.vf-placeholder { width: 100%; aspect-ratio: 1; background: var(--vf-bg-tertiary); display: flex; align-items: center; justify-content: center; font-size: 48px; color: var(--vf-text-muted); }

.vf-card-actions { display: flex; align-items: center; padding: 12px 16px; gap: 16px; }

.vf-card-actions button { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--vf-text); }

.vf-card-actions button:hover { color: var(--vf-text-muted); }

.vf-action-right { margin-left: auto !important; }

.vf-card-likes { padding: 0 16px 8px; font-weight: 600; font-size: 14px; }

.vf-card-caption { padding: 0 16px 8px; font-size: 14px; }

.vf-caption-user { font-weight: 600; margin-right: 6px; }

.vf-card-time { padding: 0 16px 12px; font-size: 10px; color: var(--vf-text-muted); text-transform: uppercase; }



/* Post Modal */

.vf-post-modal { display: flex; background: var(--vf-bg-secondary); border-radius: 8px; overflow: hidden; max-width: 1000px; margin: 0 auto; border: 1px solid var(--vf-border); }

.vf-post-media { flex: 1; background: #000; display: flex; align-items: center; }

.vf-post-media video { width: 100%; max-height: 80vh; object-fit: contain; }

.vf-post-sidebar { width: 340px; display: flex; flex-direction: column; border-left: 1px solid var(--vf-border); }

.vf-post-header { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--vf-border); }

.vf-post-user { display: flex; align-items: center; gap: 12px; }

.vf-post-user span { font-weight: 600; font-size: 14px; }

.vf-follow-btn { background: none; border: none; color: #0095f6; font-weight: 600; cursor: pointer; }

.vf-post-comments { flex: 1; padding: 16px; overflow-y: auto; }

.vf-comment { font-size: 14px; margin-bottom: 12px; }

.vf-comment-user { font-weight: 600; margin-right: 6px; }

.vf-post-actions { padding: 16px; border-top: 1px solid var(--vf-border); }

.vf-action-row { display: flex; gap: 16px; margin-bottom: 8px; }

.vf-action-row button { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--vf-text); }

.vf-likes { font-weight: 600; font-size: 14px; margin-bottom: 4px; }

.vf-time { font-size: 10px; color: var(--vf-text-muted); text-transform: uppercase; }

.vf-add-comment { display: flex; padding: 16px; border-top: 1px solid var(--vf-border); gap: 12px; }

.vf-add-comment input { flex: 1; border: none; outline: none; font-size: 14px; background: transparent; color: var(--vf-text); }

.vf-add-comment button { background: none; border: none; color: #0095f6; font-weight: 600; cursor: pointer; }



.vf-footer-bar { text-align: center; padding: 20px; font-size: 12px; color: var(--vf-text-muted); }

.vf-footer-bar a { color: var(--vf-text-muted); text-decoration: none; }

.vf-footer-bar a:hover { color: var(--vf-text); }

.vf-tagline { color: var(--vf-accent); margin-left: 12px; }



@media (max-width: 900px) { .vf-post-modal { flex-direction: column; } .vf-post-sidebar { width: 100%; } }

