
/* Live Focus Skin - Twitch Style */

.lf-app {

    --lf-bg: var(--bg-primary, #0e0e10);

    --lf-bg-secondary: var(--bg-secondary, #18181b);

    --lf-bg-tertiary: var(--bg-tertiary, #1f1f23);

    --lf-bg-hover: var(--bg-hover, #2f2f35);

    --lf-text: var(--text-primary, #efeff1);

    --lf-text-secondary: var(--text-secondary, #adadb8);

    --lf-text-muted: var(--text-muted, #7a7a8c);

    --lf-border: var(--border-color, #2f2f35);

    --lf-accent: #9146ff;

    --lf-live: #eb0400;

}

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

    --lf-bg: #ffffff; --lf-bg-secondary: #f7f7f8; --lf-bg-tertiary: #efefef; --lf-bg-hover: #e6e6e6;

    --lf-text: #0e0e10; --lf-text-secondary: #53535f; --lf-text-muted: #848494; --lf-border: #e5e5e5;

}

.lf-app { display: flex; flex-direction: column; min-height: 100vh; background: var(--lf-bg); color: var(--lf-text); }



/* Header */

.lf-header { display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 0 20px; background: var(--lf-bg-secondary); border-bottom: 1px solid var(--lf-border); }

.lf-header-left { display: flex; align-items: center; gap: 24px; }

.lf-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--lf-text); font-size: 18px; font-weight: 700; }

.lf-logo-icon { width: 32px; height: 32px; background: var(--lf-accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: white; }

.lf-nav { display: flex; gap: 16px; }

.lf-nav a { color: var(--lf-text-secondary); text-decoration: none; font-size: 14px; font-weight: 600; padding: 4px 8px; border-radius: 4px; }

.lf-nav a:hover { color: var(--lf-text); background: var(--lf-bg-tertiary); }

.lf-nav a.active { color: var(--lf-accent); }

.lf-header-center { flex: 1; max-width: 400px; margin: 0 20px; }

.lf-search-form { display: flex; }

.lf-search-input { flex: 1; padding: 8px 12px; background: var(--lf-bg); border: 1px solid var(--lf-border); border-radius: 6px 0 0 6px; color: var(--lf-text); font-size: 14px; }

.lf-search-input::placeholder { color: var(--lf-text-muted); }

.lf-search-btn { padding: 0 16px; background: var(--lf-bg-tertiary); border: 1px solid var(--lf-border); border-left: none; border-radius: 0 6px 6px 0; color: var(--lf-text-muted); cursor: pointer; }

.lf-header-right { display: flex; align-items: center; gap: 12px; }



/* Skin Switcher */

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

.lf-skin-btn { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: var(--lf-bg-tertiary); border: none; border-radius: 4px; color: var(--lf-text); cursor: pointer; font-size: 12px; }

.lf-skin-btn:hover { background: var(--lf-bg-hover); }

.lf-skin-dot { width: 8px; height: 8px; border-radius: 50%; }

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

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

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

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

.lf-skin-option.active { background: var(--lf-bg-tertiary); }

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

.lf-golive-btn { padding: 8px 12px; background: var(--lf-accent); border-radius: 4px; color: white; text-decoration: none; font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 6px; }



/* Body */

.lf-body { display: flex; flex: 1; }



/* Sidebar */

.lf-sidebar { width: 240px; background: var(--lf-bg-secondary); padding: 10px 0; display: flex; flex-direction: column; height: calc(100vh - 50px); position: sticky; top: 50px; border-right: 1px solid var(--lf-border); }

.lf-sidebar-section { padding: 0 10px; }

.lf-sidebar-section h4 { font-size: 12px; text-transform: uppercase; color: var(--lf-text-muted); padding: 10px; letter-spacing: 0.5px; }

.lf-channel-item { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 6px; text-decoration: none; color: var(--lf-text); }

.lf-channel-item:hover { background: var(--lf-bg-tertiary); }

.lf-channel-avatar { width: 30px; height: 30px; background: var(--lf-accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: white; }

.lf-channel-info { flex: 1; }

.lf-channel-name { display: block; font-size: 13px; font-weight: 500; }

.lf-channel-game { font-size: 12px; color: var(--lf-text-muted); }

.lf-live-dot { width: 8px; height: 8px; background: var(--lf-live); border-radius: 50%; }



.lf-sidebar-footer { margin-top: auto; padding: 16px; border-top: 1px solid var(--lf-border); }

.lf-footer-links { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 12px; }

.lf-footer-links a { color: var(--lf-text-muted); font-size: 11px; text-decoration: none; }

.lf-footer-links a:hover { color: var(--lf-text); }

.lf-footer-tagline { font-size: 11px; color: var(--lf-accent); display: flex; align-items: center; gap: 6px; }



/* Main */

.lf-main { flex: 1; padding: 20px; }

.lf-categories { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }

.lf-cat { padding: 6px 14px; background: var(--lf-bg-tertiary); border-radius: 20px; color: var(--lf-text); text-decoration: none; font-size: 13px; }

.lf-cat:hover { background: var(--lf-bg-hover); }

.lf-cat.active { background: var(--lf-accent); color: white; }

.lf-feed h2 { font-size: 18px; margin: 0 0 16px; }



.lf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }

.lf-card { text-decoration: none; color: var(--lf-text); }

.lf-card-thumb { position: relative; border-radius: 8px; overflow: hidden; margin-bottom: 10px; }

.lf-card-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }

.lf-thumb-placeholder { width: 100%; aspect-ratio: 16/9; background: var(--lf-bg-tertiary); display: flex; align-items: center; justify-content: center; font-size: 32px; color: var(--lf-text-muted); }

.lf-live-badge { position: absolute; top: 10px; left: 10px; padding: 2px 6px; background: var(--lf-live); border-radius: 4px; font-size: 11px; font-weight: 700; color: white; text-transform: uppercase; }

.lf-viewers { position: absolute; bottom: 10px; left: 10px; padding: 2px 6px; background: rgba(0,0,0,0.7); border-radius: 4px; font-size: 12px; color: white; }

.lf-card-info { display: flex; gap: 10px; }

.lf-card-avatar { width: 36px; height: 36px; background: var(--lf-bg-tertiary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; flex-shrink: 0; color: var(--lf-text); }

.lf-card-meta h3 { font-size: 14px; font-weight: 600; margin: 0 0 4px; line-height: 1.3; }

.lf-card-channel { font-size: 13px; color: var(--lf-text-secondary); }



.lf-empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--lf-text-muted); }

.lf-empty i { font-size: 48px; margin-bottom: 16px; display: block; color: var(--lf-accent); }



/* Watch */

.lf-watch { display: flex; gap: 0; height: calc(100vh - 50px); margin: -20px; }

.lf-stream-section { flex: 1; display: flex; flex-direction: column; }

.lf-video { width: 100%; flex: 1; background: #000; }

.lf-stream-info { padding: 12px 16px; background: var(--lf-bg-secondary); display: flex; align-items: center; justify-content: space-between; }

.lf-streamer { display: flex; align-items: center; gap: 12px; }

.lf-streamer-avatar { width: 50px; height: 50px; background: var(--lf-accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; color: white; }

.lf-streamer-details h1 { font-size: 16px; font-weight: 600; margin: 0 0 2px; }

.lf-streamer-name { font-size: 14px; color: var(--lf-accent); }

.lf-stream-actions { display: flex; gap: 8px; }

.lf-follow-btn { padding: 8px 16px; background: var(--lf-accent); border: none; border-radius: 4px; color: white; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; }

.lf-subscribe-btn { padding: 8px 16px; background: var(--lf-bg-tertiary); border: none; border-radius: 4px; color: var(--lf-text); font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; }



/* Chat */

.lf-chat { width: 340px; background: var(--lf-bg-secondary); display: flex; flex-direction: column; border-left: 1px solid var(--lf-border); }

.lf-chat-header { padding: 10px 16px; font-weight: 600; border-bottom: 1px solid var(--lf-border); }

.lf-chat-messages { flex: 1; padding: 10px; overflow-y: auto; }

.lf-chat-msg { padding: 4px 0; font-size: 13px; }

.lf-chat-user { color: var(--lf-accent); font-weight: 600; margin-right: 6px; }

.lf-chat-input { display: flex; padding: 10px; border-top: 1px solid var(--lf-border); gap: 8px; }

.lf-chat-input input { flex: 1; padding: 10px; background: var(--lf-bg); border: 1px solid var(--lf-border); border-radius: 4px; color: var(--lf-text); }

.lf-chat-input button { padding: 10px 16px; background: var(--lf-accent); border: none; border-radius: 4px; color: white; cursor: pointer; }



@media (max-width: 1000px) { .lf-chat { display: none; } .lf-sidebar { display: none; } }

