.container { max-width: 1200px; margin: 0 auto; padding: var(--spacing-xl); }
.filter-bar {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-label {
    font-weight: 600;
    color: #183661;
    font-size: 0.9rem;
}

.filter-select {
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    min-width: 120px;
}

.filter-select:focus {
    outline: none;
    border-color: #183661;
}

.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

/* Floating Stats Panel */
.floating-stats-panel {
    position: sticky;
    top: 20px;
    background: #f8fbff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 16px;
}

.floating-stats-panel .panel-header {
    font-weight: 600;
    color: #183661;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 8px;
}

.floating-stats-panel .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.floating-stats-panel .stat-card {
    background: rgba(255,255,255,0.8);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(233,236,239,0.5);
    transition: all 0.2s ease;
}

.floating-stats-panel .stat-card:hover {
    background: rgba(255,255,255,0.95);
    border-color: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.floating-stats-panel .stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #183661;
    margin-bottom: 4px;
}

.floating-stats-panel .stat-label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

.stat-card {
    background: white;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: #183661;
}

.stat-label {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 4px;
}

.list-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.list-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.list-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}
.featured-quote {
    position: relative;
    margin: 6px 0 12px 0;
    padding: 12px 16px 8px 24px;
    background: #f8f9fb;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    color: #495057;
    font-style: italic;
    overflow: hidden;
}
.featured-quote::before {
    content: "\201C"; /* left curly quote */
    position: absolute;
    top: -10px;
    left: 6px;
    font-size: 64px;
    line-height: 1;
    color: rgba(108, 117, 125, 0.5);
    pointer-events: none;
}
.featured-quote::after {
    content: "\201D"; /* right curly quote */
    position: absolute;
    bottom: -26px;
    right: 8px;
    font-size: 72px;
    line-height: 1;
    color: rgba(108, 117, 125, 0.35);
    pointer-events: none;
}
.featured-quote .fq-text { position: relative; z-index: 1; }
.featured-quote .fq-meta { margin-top: 6px; font-size: 0.85rem; color: #6c757d; }

.list-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #183661;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.list-title a:hover { color: #2c5aa0 !important; text-decoration: underline !important; }

.list-meta {
    color: #6c757d;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.list-description { margin-top: 12px; color: #666; line-height: 1.5; }

.list-category {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #495057;
}

.list-urls { padding: 0 20px 20px; }

.url-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    background: #f8f9fb;
    transition: background 0.2s ease;
}

.url-item:hover { background: #f0f3ff; }

.url-content { flex: 1; }

.url-title {
    font-weight: 600;
    color: #183661;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.url-description { color: #666; font-size: 0.85rem; margin-bottom: 4px; }
.url-link { color: #007bff; text-decoration: none; font-size: 0.8rem; word-break: break-all; }
.url-link:hover { text-decoration: underline; }

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

.export-pdf-btn {
    background: #183661;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.export-pdf-btn:hover { background: #0f2847; transform: translateY(-1px); }
.export-pdf-btn:disabled { background: #6c757d; cursor: not-allowed; transform: none; }

.like-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px;
    border-radius: 20px;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    min-width: 60px;
    justify-content: center;
}
.like-btn:hover { background: rgba(24, 54, 97, 0.08); }
.like-btn.liked { color: #183661; background: rgba(24, 54, 97, 0.08); }
.like-btn:not(.liked) { color: #79808a; }
.like-btn .thumb { font-size: 1rem; transition: transform 0.2s ease; }
.like-btn.liked .thumb { transform: scale(1.15); }
.like-btn:not(.liked) .thumb { opacity: 0.75; transform: scale(0.9); }
.like-btn:disabled { cursor: not-allowed; opacity: 0.6; }
.like-btn.liked:disabled { opacity: 1; cursor: default; }

.login-prompt {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.empty-state { text-align: center; padding: 60px 20px; color: #6c757d; }
.empty-state h3 { margin-bottom: 12px; color: #495057; }
.ai-teaser {
    background: linear-gradient(135deg, #e7f3ff 0%, #f3f9ff 100%);
    border: 1px solid #b8daff;
    border-left: 6px solid #0d6efd;
    padding: 12px 16px;
    border-radius: 10px;
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 16px 0;
}
.ai-teaser .pill { background:#0d6efd; color:#fff; border-radius:999px; padding:2px 8px; font-size:12px; font-weight:600; }

@media (max-width: 768px) {
    .filter-bar { flex-direction: column; align-items: stretch; }
    .filter-group { flex-direction: column; align-items: stretch; gap: 4px; }
    .list-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
    .stats-overview { grid-template-columns: repeat(2, 1fr); }
}

/* Comments: enhanced light theme overrides */
.comments-section { 
    background: #ffffff !important; 
    padding: 16px !important; 
    border: 1px solid #e9ecef !important; 
    border-radius: 12px !important; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
}
.comments-section .comment-header { background: #ffffff !important; border-bottom: 1px solid #e9ecef !important; }
.comments-section .comment-author { color: #183661 !important; }
.comments-section .comment-time { color: #495057 !important; }
.comments-section .comment-content { color: #212529 !important; background: #ffffff !important; }
.comments-section .comments-header { background: #ffffff !important; color: #183661 !important; padding-bottom: 8px !important; border-bottom: 1px solid #e9ecef !important; }
.comments-section .comments-count { font-weight: 600 !important; color: #183661 !important; }
.comments-section .toggle-comments { background: #f8f9fa !important; border: 1px solid #e9ecef !important; color: #183661 !important; padding: 6px 10px !important; border-radius: 6px !important; }
.comments-section .comment-form { background: #ffffff !important; border: 1px solid #e9ecef !important; border-radius: 10px !important; }
.comments-section .comment-form textarea { background: #ffffff !important; border: 1px solid #e9ecef !important; color: #333 !important; }
.comments-section .comments-thread { background: #ffffff !important; }
.comments-section .comment { background: #ffffff !important; border: 1px solid #e9ecef !important; border-radius: 10px !important; box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important; }
.comments-section .comment-actions { background: #f8fbff !important; }
.comments-section .btn-comment { background: #183661 !important; color: #fff !important; }
.comments-section .btn-comment-cancel { background: #f8f9fa !important; color: #183661 !important; border: 1px solid #e9ecef !important; }
/* Replies: light grey background with dark green text */
.comments-section .comment.reply .comment-header { background: #eef4ee !important; border-bottom-color: #d3e6d7 !important; }
.comments-section .comment.reply .comment-content { background: #f1f5f1 !important; color: #155724 !important; }
.comments-section .comment.reply .like-button { color: #155724 !important; }
.comments-section .comment-replies { border-left-color: #d3e6d7 !important; }

/* Floating Activity Panel */
.main-content-wrapper { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.main-content-wrapper .sidebar { grid-column: 2; }
.floating-activity-panel {
    position: sticky;
    top: 20px;
    background: #f8fbff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}
.floating-activity-panel .panel-header { font-weight: 600; color: #183661; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #e9ecef; padding-bottom: 8px; }
.floating-activity-panel .activity-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.floating-activity-panel .activity-item { display: flex; align-items: flex-start; gap: 8px; padding: 8px; border-radius: 8px; background: rgba(255,255,255,0.6); border: 1px solid rgba(233,236,239,0.5); transition: all 0.2s ease; }
.floating-activity-panel .activity-item:hover { background: rgba(255,255,255,0.9); border-color: #e9ecef; transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.floating-activity-panel .activity-content { flex: 1; font-size: 0.85rem; line-height: 1.4; }
.floating-activity-panel .activity-time { color: #6c757d; font-size: 0.75rem; margin-top: 4px; font-weight: 500; }

@media (max-width: 1200px) {
    .main-content-wrapper { grid-template-columns: 1fr 280px; gap: 16px; }
    .floating-activity-panel { font-size: 0.9rem; }
    .floating-stats-panel { font-size: 0.9rem; }
    .floating-stats-panel .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}

@media (max-width: 768px) {
    .main-content-wrapper { grid-template-columns: 1fr; gap: 16px; }
    .floating-activity-panel { position: relative; top: 0; order: -1; max-height: none; }
    .floating-stats-panel { position: relative; top: 0; order: -2; margin-bottom: 16px; }
    .floating-stats-panel .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Social engagement stats */
.social-stats { margin-top: 16px; padding-top: 16px; border-top: 1px solid #e9ecef; }
.stats-title { font-size: 0.85rem; font-weight: 600; color: #183661; margin-bottom: 8px; text-align: center; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 6px; background: rgba(255,255,255,0.3); transition: background 0.2s ease; }
.stat-item:hover { background: rgba(255,255,255,0.6); }
.stat-emoji { font-size: 1.2em; line-height: 1; }
.stat-label { font-size: 0.7rem; color: #6c757d; font-weight: 500; text-align: center; }

/* Footer uses shared styles from css/components/footer.css */


