        body { opacity: 0; animation: css-reveal 0s 4s forwards; }
        @keyframes css-reveal { to { opacity: 1; } }
        .tab-loading {
            padding: 1.5rem 0;
        }
        .tab-loading .skel {
            height: 14px;
            border-radius: 3px;
            background: linear-gradient(90deg, var(--border) 25%, color-mix(in srgb, var(--border) 40%, transparent) 50%, var(--border) 75%);
            background-size: 200% 100%;
            animation: skel-shimmer 1.2s ease-in-out infinite;
            margin-bottom: 1.25rem;
        }
        .tab-loading .skel-wide { width: 85%; height: 16px; }
        .tab-loading .skel-med { width: 55%; }
        .tab-loading .skel-short { width: 30%; height: 10px; }
        .tab-loading .skel-gap { margin-top: 2rem; border-top: 1px solid var(--border); padding-top: 1.25rem; }
        @keyframes skel-shimmer {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
        :root {
            --bg-primary: #FAF7F2;
            --bg-secondary: #FFFFFF;
            --bg-hover: #F2EDE6;
            --text-primary: #2C2825;
            --text-secondary: #6B645C;
            --text-muted: #9E978F;
            --accent: #C45A35;
            --accent-hover: #A84A2B;
            --accent-soft: rgba(196, 90, 53, 0.1);
            --border: #D4CBC0;
            --border-light: #E2DCD3;
            --card-bg: #F5F0EA;
            --card-shadow: 0 1px 3px rgba(0,0,0,0.06);
            --danger: #B5422A;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        *:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        html {
            background: var(--bg-primary);
            color: var(--text-primary);
            font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            font-size: 17px;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            scroll-behavior: smooth;
        }

        body {
            background: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.6;
        }
        a { color: inherit; }

        /* ═══ Utility bar (sticky) ═══ */
        .utility {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.65rem 2.5rem;
            margin: 0 -2.5rem;
            border-bottom: 1px solid var(--border);
            font-size: 0.78rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-secondary);
            position: sticky;
            top: 0;
            z-index: 100;
            background: color-mix(in srgb, var(--bg-primary) 85%, transparent);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }
        .utility-nav {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        .utility-link {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.2s ease;
        }
        .utility-link:hover { color: var(--accent); }
        .utility-link.active { color: var(--text-primary); }

        /* Expandable search */
        .search-wrap {
            position: relative;
            display: flex;
            align-items: center;
        }
        .search-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
            background: none;
            border: none;
            padding: 0.2rem;
            color: var(--text-secondary);
            cursor: pointer;
            transition: color 0.2s ease;
        }
        .search-toggle:hover { color: var(--accent); }
        .search-input {
            width: 0;
            padding: 0;
            border: 1.5px solid transparent;
            border-radius: 3px;
            background: transparent;
            font-family: 'Nunito Sans', system-ui, sans-serif;
            font-size: 0.72rem;
            color: var(--text-primary);
            outline: none;
            opacity: 0;
            transition: width 0.25s ease, opacity 0.2s ease, padding 0.25s ease, border-color 0.2s ease;
        }
        .search-wrap.open .search-input {
            width: 200px;
            padding: 0.35rem 0.7rem;
            border-color: var(--border);
            opacity: 1;
        }
        .search-wrap.open .search-input:focus {
            border-color: var(--accent);
        }
        .search-input::placeholder { color: var(--text-muted); }
        .search-wrap.open .search-toggle { color: var(--accent); }

        /* Bookmark panel toggle */
        .bk-panel-toggle {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: none;
            border: none;
            padding: 0.2rem;
            color: var(--text-secondary);
            cursor: pointer;
            transition: color 0.2s ease;
        }
        .bk-panel-toggle:hover { color: var(--accent); }
        .bk-panel-toggle .bk-icon {
            width: 18px;
            height: 18px;
        }
        .bk-count {
            position: absolute;
            top: -4px;
            right: -6px;
            background: var(--accent);
            color: #fff;
            font-family: 'Nunito Sans', system-ui, sans-serif;
            font-size: 0.55rem;
            font-weight: 700;
            padding: 0 4px;
            border-radius: 8px;
            min-width: 14px;
            height: 14px;
            line-height: 14px;
            text-align: center;
        }

        /* Bookmark overlay + panel */
        .bk-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.25);
            z-index: 149;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }
        .bk-overlay.open {
            opacity: 1;
            visibility: visible;
        }
        .bk-panel {
            position: fixed;
            top: 0;
            bottom: 0;
            right: -380px;
            width: 360px;
            background: var(--bg-primary);
            border-left: 1.5px solid var(--border);
            z-index: 200;
            transition: right 0.3s ease;
            box-shadow: -4px 0 20px rgba(0,0,0,0.06);
            display: flex;
            flex-direction: column;
        }
        .bk-panel.open { right: 0; }
        .bk-panel-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid var(--border);
        }
        .bk-panel-title {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.1rem;
            font-weight: 700;
            margin: 0;
        }
        .bk-panel-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--text-secondary);
            cursor: pointer;
            line-height: 1;
        }
        .bk-panel-close:hover { color: var(--accent); }
        .bk-panel-list {
            padding: 1rem 1.5rem;
            flex: 1;
            overflow-y: auto;
        }
        .bk-panel-footer {
            display: flex;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            border-top: 1px solid var(--border);
        }
        .bk-action-btn {
            flex: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.35rem;
            padding: 0.45rem 0.75rem;
            font-family: 'Nunito Sans', system-ui, sans-serif;
            font-size: 0.72rem;
            font-weight: 600;
            border: 1px solid var(--border);
            border-radius: 4px;
            background: var(--bg-primary);
            color: var(--text-secondary);
            cursor: pointer;
            transition: color 0.15s, border-color 0.15s, background 0.15s;
        }
        .bk-action-btn:hover {
            color: var(--text-primary);
            border-color: var(--text-muted);
        }
        .bk-action-btn.danger:hover {
            color: var(--danger);
            border-color: var(--danger);
        }
        .bk-empty {
            font-size: 0.85rem;
            color: var(--text-muted);
            font-style: italic;
        }
        .bk-saved-item {
            padding: 0.65rem 0;
            border-bottom: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 0.5rem;
        }
        .bk-saved-item a {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 0.88rem;
            font-weight: 500;
            line-height: 1.3;
            color: var(--text-primary);
            text-decoration: none;
            flex: 1;
        }
        .bk-saved-item a:hover { color: var(--accent); }
        .bk-saved-src {
            font-size: 0.65rem;
            color: var(--text-muted);
            display: block;
            font-family: 'Nunito Sans', system-ui, sans-serif;
            margin-top: 0.15rem;
        }
        .bk-remove {
            background: none;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            font-size: 0.85rem;
            padding: 0;
            flex-shrink: 0;
        }
        .bk-remove:hover { color: var(--accent); }

        /* Main Content */
        .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 2.5rem;
        }

        /* Filter Card */
        .filter-card {
            padding: 1.25rem 0 1rem;
            border-bottom: 1px solid var(--border);
            margin-bottom: 0;
        }

        /* Unified Filter Header */
        .filter-head {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 12px;
            padding: 0 0 8px 0;
        }

        .stats {
            display: flex;
            flex-wrap: wrap;
            gap: 6px 14px;
            font-size: 13px;
            color: var(--text-secondary);
            min-width: 0;
        }

        .stats span {
            display: flex;
            align-items: center;
            gap: 6px;
            min-width: 0;
        }
        .stat-truncate {
            max-width: 320px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .filter-head-actions {
            display: inline-flex;
            align-items: center;
            justify-content: flex-end;
            gap: 8px;
            min-width: 0;
        }

        /* Pulsing Dot */
        .pulse-dot {
            width: 10px;
            height: 10px;
            background: var(--accent);
            border-radius: 50%;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(196, 90, 53, 0.6);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(196, 90, 53, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(196, 90, 53, 0);
            }
        }

        .update-time {
            font-size: 13px;
            color: var(--text-muted);
            white-space: nowrap;
            flex-shrink: 0;
        }

        /* Unified Filter Controls Row */
        .filter-controls {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 6px 0;
            flex-wrap: wrap;
            min-width: 0;
        }
        .filter-controls-static {
            padding-top: 4px;
        }
        .filter-note {
            font-size: 12px;
            color: var(--text-muted);
        }
        .filter-toggle {
            display: none;
            background: none;
            border: none;
            padding: 2px 4px;
            cursor: pointer;
            color: var(--text-muted);
            transition: color 0.15s;
            flex-shrink: 0;
        }
        .filter-toggle:hover { color: var(--text-secondary); }
        .filter-toggle svg {
            width: 14px;
            height: 14px;
            transition: transform 0.2s ease;
            display: block;
        }
        html.filters-collapsed .filter-toggle svg { transform: rotate(-90deg); }
        /* Shared control-button base (preset, view, chip, desk buttons) */
        .preset-btn, .tg-view-btn, .tg-chip, .tv-desk-btn {
            padding: 0.35rem 0.7rem;
            border: 1.5px solid var(--border);
            border-radius: 3px;
            background: transparent;
            font-family: 'Nunito Sans', system-ui, sans-serif;
            font-size: 0.68rem;
            font-weight: 600;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .preset-btn:hover, .tg-view-btn:hover, .tg-chip:hover, .tv-desk-btn:hover {
            border-color: var(--text-secondary);
            color: var(--text-primary);
        }
        .preset-btn.active, .tg-view-btn.active, .tg-chip.active, .tv-desk-btn.active {
            background: var(--text-primary);
            color: var(--bg-primary);
            border-color: var(--text-primary);
        }
        .preset-btn.partial, .tv-desk-btn.partial {
            border-color: var(--text-secondary);
            color: var(--text-primary);
            border-style: dashed;
        }
        .preset-btn, .tg-view-btn, .tg-chip { white-space: nowrap; }
        .tg-chip { flex-shrink: 0; }

        /* Publisher Dropdown */
        .publisher-dropdown {
            position: relative;
            margin-left: auto;
            min-width: 0;
            max-width: 100%;
        }
        .publisher-dropdown-trigger {
            padding: 0.35rem 0.7rem;
            border: 1.5px solid var(--border);
            border-radius: 3px;
            background: transparent;
            font-family: 'Nunito Sans', system-ui, sans-serif;
            font-size: 0.68rem;
            font-weight: 600;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            min-height: 32px;
            min-width: 0;
            max-width: 100%;
        }
        .filter-summary {
            display: inline-block;
            max-width: min(34vw, 220px);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .publisher-dropdown-trigger:hover {
            border-color: var(--accent);
            color: var(--accent);
        }
        .publisher-dropdown-trigger.has-selection {
            border-color: var(--accent);
            color: var(--accent);
        }
        .dropdown-arrow {
            font-size: 10px;
            transition: transform 0.15s;
        }
        .publisher-dropdown.open .dropdown-arrow {
            transform: rotate(180deg);
        }
        .publisher-dropdown-panel {
            display: none;
            position: absolute;
            top: calc(100% + 4px);
            right: 0;
            z-index: 100;
            width: 280px;
            max-height: 360px;
            background: var(--bg-primary);
            border: 1.5px solid var(--border);
            border-radius: 4px;
            box-shadow: 0 4px 16px rgba(0,0,0,0.08);
            overflow: hidden;
        }
        .publisher-dropdown.open .publisher-dropdown-panel {
            display: block;
        }
        .dropdown-search {
            width: 100%;
            padding: 10px 14px;
            border: none;
            border-bottom: 1px solid var(--border);
            background: var(--bg-primary);
            color: var(--text-primary);
            font-family: inherit;
            font-size: 13px;
            outline: none;
            box-sizing: border-box;
        }
        .dropdown-search::placeholder {
            color: var(--text-muted);
        }
        .dropdown-actions {
            display: flex;
            gap: 12px;
            padding: 8px 14px;
            border-bottom: 1px solid var(--border);
            font-size: 12px;
        }
        .dropdown-action {
            color: var(--accent);
            cursor: pointer;
            background: none;
            border: none;
            font-family: inherit;
            font-size: 12px;
            padding: 0;
        }
        .dropdown-action:hover {
            text-decoration: underline;
        }
        .dropdown-list {
            max-height: 280px;
            overflow-y: auto;
            padding: 4px 0;
        }
        .dropdown-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 6px 14px;
            cursor: pointer;
            font-size: 13px;
            color: var(--text-primary);
            transition: background 0.1s;
        }
        .dropdown-item:hover {
            background: var(--bg-hover);
        }
        .dropdown-item.hidden {
            display: none;
        }
        .dropdown-item input[type="checkbox"] {
            accent-color: var(--accent);
            cursor: pointer;
            width: 15px;
            height: 15px;
            flex-shrink: 0;
        }
        .dropdown-item label {
            cursor: pointer;
            flex: 1;
            user-select: none;
        }

        /* Pagination */
        .pagination {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 4px;
            padding: 12px 0;
            width: 100%;
        }
        .pagination.bottom {
            margin-top: 20px;
            border-top: 1px solid var(--border);
        }
        .page-numbers {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .page-btn {
            padding: 0.4rem 0.7rem;
            border: 1.5px solid var(--border);
            border-radius: 3px;
            background: transparent;
            font-family: 'Nunito Sans', system-ui, sans-serif;
            font-size: 0.72rem;
            font-weight: 600;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all 0.15s ease;
        }
        .page-btn:hover:not(:disabled) {
            border-color: var(--text-primary);
            color: var(--text-primary);
        }
        .page-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }
        .page-btn:disabled:hover {
            background: transparent;
            color: var(--text-secondary);
        }
        .page-btn.active {
            background: var(--text-primary);
            color: var(--bg-primary);
            border-color: var(--text-primary);
            font-weight: 600;
        }
        .page-btn.active:hover {
            background: var(--text-primary);
            color: var(--bg-primary);
        }
        .page-btn.nav {
            color: var(--text-secondary);
            font-weight: 500;
        }
        .page-btn.nav:hover {
            color: var(--text-primary);
        }
        .page-btn.nav.prev {
            margin-right: 8px;
        }
        .page-btn.nav.next {
            margin-left: 8px;
        }
        .page-ellipsis {
            padding: 6px 4px;
            color: var(--text-muted);
            font-size: 13px;
        }

        /* Date Headers */
        .date-header {
            position: sticky;
            top: 53px;
            background: var(--bg-primary);
            padding: 1.5rem 0 0.5rem;
            margin-top: 0;
            font-family: 'Fraunces', Georgia, serif;
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            border-bottom: 1px solid var(--border);
            z-index: 50;
        }

        .date-header:first-child {
            margin-top: 0;
        }

        /* Article List */
        .article {
            padding: 0.85rem 0.5rem 0.85rem 0.5rem;
            border-bottom: 1px solid var(--border);
            transition: opacity 0.2s ease, transform 0.2s ease;
            position: relative;
        }
        .article:hover {
            opacity: 0.85;
            transform: translateX(2px);
        }

        .article-title {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 0.95rem;
            font-weight: 500;
            line-height: 1.35;
            margin-bottom: 5px;
        }

        .article-title a {
            color: var(--text-primary);
            text-decoration: none;
            transition: color 0.15s;
        }

        .article-title a:hover {
            color: var(--accent);
        }

        .article-title a:visited {
            color: var(--text-secondary);
        }

        .article-meta {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: var(--text-muted);
        }

        .source-tag {
            font-size: 0.72rem;
            font-weight: 600;
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 0.06em;
            text-decoration: none;
            transition: color 0.15s;
        }

        .source-tag:hover {
            color: var(--accent);
        }

        .card-source-link {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.15s;
            border-bottom: 1px solid var(--accent-soft);
            padding-bottom: 0;
        }

        .card-source-link:hover {
            color: var(--accent);
        }

        .meta-dot {
            color: var(--text-muted);
        }

        .article-time {
            color: var(--text-muted);
        }

        .article-description {
            margin-top: 8px;
            font-size: 14.5px;
            color: var(--text-secondary);
            line-height: 1.55;
        }

        /* Tweet Card Layout (matches report-card pattern) */
        .tweet-card {
            padding: 0.85rem 0.5rem;
            border-bottom: 1px solid var(--border);
            transition: opacity 0.2s ease, transform 0.2s ease;
            position: relative;
        }
        .tweet-card:hover {
            opacity: 0.85;
            transform: translateX(2px);
        }
        .tweet-card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 10px;
            gap: 8px;
        }
        .tweet-card-left {
            display: flex;
            align-items: center;
            gap: 6px;
            min-width: 0;
            flex: 1;
        }
        .tweet-card-right {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
        }
        .tweet-card-publisher {
            font-size: 11px;
            font-weight: 700;
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 0.6px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            text-decoration: none;
        }
        .tweet-card-date {
            font-size: 11px;
            color: var(--text-muted);
            white-space: nowrap;
        }
        .tweet-card-body {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 14px;
            font-weight: 400;
            line-height: 1.5;
            color: var(--text-primary);
            margin-bottom: 6px;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 8;
            -webkit-box-orient: vertical;
            max-height: calc(1.5em * 8);
        }
        .tweet-card-body.expanded {
            display: block;
            overflow: visible;
            max-height: 1000px;
            -webkit-line-clamp: unset;
        }
        .tweet-card-body a {
            color: var(--text-primary);
            text-decoration: none;
        }
        .tweet-card-body a:hover {
            color: var(--accent);
        }
        .tweet-card-thread-note {
            font-size: 11px;
            color: var(--text-muted);
            margin-bottom: 6px;
        }
        .tweet-expand-btn {
            background: none;
            border: none;
            color: var(--accent);
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            padding: 2px 0;
            margin-bottom: 6px;
            font-family: inherit;
            display: none;
        }
        .tweet-expand-btn:hover { text-decoration: underline; }
        .tweet-card-image {
            margin-bottom: 10px;
            border-radius: 8px;
            overflow: hidden;
            background: var(--bg-hover);
        }
        .tweet-card-image img {
            width: 100%;
            max-height: 280px;
            object-fit: cover;
            display: block;
        }
        .tweet-badge {
            font-size: 10px;
            font-weight: 700;
            padding: 2px 7px;
            border-radius: 4px;
            letter-spacing: 0.4px;
            text-transform: uppercase;
            flex-shrink: 0;
        }
        .tweet-badge-retweet {
            background: rgba(59,130,246,0.12);
            color: #3b82f6;
        }
        .tweet-badge-quote {
            background: rgba(225,75,75,0.12);
            color: var(--accent);
        }
        .tweet-badge-thread {
            background: rgba(34,197,94,0.12);
            color: #22c55e;
        }

        /* Footer */
        /* ═══ Footer ═══ */
        footer {
            padding: 2.5rem 0 3rem;
            border-top: 1.5px solid var(--text-primary);
            text-align: center;
        }
        .foot-stats {
            font-size: 0.78rem;
            color: var(--text-secondary);
            margin-bottom: 0.75rem;
        }
        .foot-stats strong {
            color: var(--text-primary);
        }
        .foot-nav {
            display: flex;
            justify-content: center;
            gap: 1.75rem;
        }
        .foot-nav a {
            font-size: 0.72rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.2s ease;
        }
        .foot-nav a:hover { color: var(--text-primary); }
        .foot-nav .foot-accent { color: var(--accent); }
        .foot-nav .foot-accent:hover { opacity: 0.8; }

        /* Bookmark Button (per article) */
        .bookmark-btn {
            background: none;
            border: none;
            cursor: pointer;
            padding: 10px;
            color: var(--text-muted);
            transition: color 0.15s, transform 0.15s;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
        }
        .bookmark-btn:hover {
            color: var(--accent);
            transform: scale(1.1);
        }
        .bookmark-btn.bookmarked {
            color: var(--accent);
        }
        .bookmark-btn svg {
            width: 16px;
            height: 16px;
            stroke: currentColor;
            stroke-width: 2;
            fill: none;
            pointer-events: none;
        }
        .bookmark-btn.bookmarked svg {
            fill: currentColor;
        }

        /* AI Toggle Button */
        .ai-toggle {
            position: relative;
            padding: 0.2rem;
            background: none;
            border: none;
            color: var(--text-secondary);
            cursor: pointer;
            transition: color 0.2s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .ai-toggle:hover {
            border-color: var(--border-light);
            background: var(--bg-hover);
        }

        /* WSW Toggle Button — mirrors .ai-toggle */
        .wsw-toggle {
            position: relative;
            padding: 0.2rem;
            background: none;
            border: none;
            color: var(--text-secondary);
            cursor: pointer;
            transition: color 0.2s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .wsw-toggle:hover {
            color: var(--accent);
        }
        .wsw-toggle.has-bookmarks {
            border-color: var(--accent);
            color: var(--accent);
        }

        /* WSW cluster card styles (sidebar only) */
        #wsw-content .wsw-quote {
            font-style: italic;
            font-size: 12px;
            color: var(--text-secondary);
            margin: 4px 0 2px;
            line-height: 1.4;
            border-left: 2px solid var(--accent);
            padding-left: 6px;
        }
        #wsw-content .wsw-speaker { font-style: normal; font-weight: 600; }
        .wsw-india { font-size: 11px; color: var(--text-muted); margin: 2px 0; }
        .wsw-confidence {
            display: inline-block; font-size: 10px;
            padding: 1px 5px; border-radius: 3px;
            font-weight: 600; text-transform: uppercase;
        }
        .wsw-conf-high   { background: #1a4d2a; color: #4caf82; }
        .wsw-conf-medium { background: #4d3a1a; color: #e09f3e; }
        .wsw-conf-low    { background: #2a2a2a; color: var(--text-muted); }
        .wsw-bookmark-item {
            display: block;
        }
        .wsw-bookmark-quote {
            font-size: 12px;
            color: var(--text-secondary);
            margin: 4px 0;
            line-height: 1.45;
            border-left: 2px solid var(--accent);
            padding-left: 6px;
            font-style: italic;
        }
        .wsw-bookmark-india {
            font-size: 11px;
            color: var(--text-muted);
            margin-bottom: 6px;
        }

        /* In Focus toggle — reused inside the News filter controls */
        .in-focus-toggle {
            position: relative;
            padding: 0;
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 8px;
            color: var(--text-primary);
            cursor: pointer;
            transition: border-color 0.2s, background 0.2s;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
        }
        .in-focus-toggle:hover {
            border-color: var(--border-light);
            background: var(--bg-hover);
        }
        .in-focus-toggle.active {
            background: var(--accent);
            border-color: var(--accent);
        }
        .in-focus-toggle.active .pulse-dot {
            background: #fff;
            box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
        }

        /* In Focus count badge — same pattern as .bookmark-count */
        .in-focus-count {
            position: absolute;
            top: -6px;
            right: -6px;
            background: var(--accent);
            color: #fff;
            font-size: 10px;
            font-weight: 600;
            min-width: 16px;
            height: 16px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 4px;
        }

        /* Custom tooltips for top-bar action buttons */
        [data-tooltip] {
            position: relative;
        }
        [data-tooltip]::after {
            content: attr(data-tooltip);
            position: absolute;
            bottom: -28px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--text-primary);
            color: var(--bg-primary);
            font-family: 'Nunito Sans', system-ui, sans-serif;
            font-size: 0.6rem;
            font-weight: 600;
            padding: 3px 8px;
            border-radius: 3px;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.15s ease;
            z-index: 200;
        }
        [data-tooltip]:hover::after {
            opacity: 1;
        }

        /* Sidebar (AI picks + WSW) */
        .sidebar-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s;
            z-index: 200;
        }
        .sidebar-overlay.open {
            opacity: 1;
            visibility: visible;
        }
        .bookmarks-sidebar {
            position: fixed;
            top: 0;
            right: 0;
            width: 400px;
            max-width: 90vw;
            height: 100vh;
            background: var(--bg-primary);
            border-left: 1px solid var(--border);
            transform: translateX(100%);
            transition: transform 0.3s ease;
            z-index: 201;
            display: flex;
            flex-direction: column;
        }
        .sidebar-overlay.open .bookmarks-sidebar {
            transform: translateX(0);
        }
        .sidebar-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            border-bottom: 1px solid var(--border);
            flex-shrink: 0;
        }
        .sidebar-title {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 16px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .sidebar-close {
            background: none;
            border: none;
            cursor: pointer;
            color: var(--text-muted);
            padding: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: color 0.15s;
        }
        .sidebar-close:hover {
            color: var(--text-primary);
        }
        .sidebar-close svg {
            width: 20px;
            height: 20px;
            stroke: currentColor;
            stroke-width: 2;
        }
        .sidebar-content {
            flex: 1;
            overflow-y: auto;
            padding: 12px 0;
        }
        .sidebar-empty {
            padding: 40px 20px;
            text-align: center;
            color: var(--text-muted);
            font-size: 14px;
        }
        .sidebar-article {
            padding: 12px 20px;
            border-bottom: 1px solid var(--border);
            transition: background 0.15s;
        }
        .sidebar-article:hover {
            background: var(--bg-hover);
        }
        .sidebar-article-title {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 14px;
            font-weight: 500;
            line-height: 1.4;
            margin-bottom: 6px;
        }
        .sidebar-article-title a {
            color: var(--text-primary);
            text-decoration: none;
        }
        .sidebar-article-title a:hover {
            color: var(--accent);
        }
        .sidebar-article-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 12px;
            color: var(--text-muted);
        }
        .sidebar-article-source {
            color: var(--text-secondary);
        }
        .sidebar-remove {
            background: none;
            border: none;
            cursor: pointer;
            color: var(--text-muted);
            padding: 2px;
            transition: color 0.15s;
        }
        .sidebar-remove:hover {
            color: var(--accent);
        }
        .sidebar-footer {
            padding: 12px 20px;
            border-top: 1px solid var(--border);
            display: flex;
            gap: 8px;
            flex-shrink: 0;
        }
        .sidebar-btn {
            flex: 1;
            padding: 8px 12px;
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 8px;
            color: var(--text-secondary);
            font-size: 12px;
            cursor: pointer;
            transition: all 0.15s;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }
        .sidebar-btn:hover {
            background: var(--bg-hover);
            border-color: var(--border-light);
            color: var(--text-primary);
        }
        .sidebar-btn:disabled {
            opacity: 0.45;
            cursor: not-allowed;
        }
        .sidebar-btn:disabled:hover {
            background: var(--bg-secondary);
            border-color: var(--border);
            color: var(--text-secondary);
        }
        .sidebar-btn.danger:hover {
            border-color: var(--danger);
            color: var(--danger);
        }
        .sidebar-btn.copied {
            border-color: #22c55e;
            color: #22c55e;
        }

        /* AI Sidebar */
        .ai-sidebar {
            position: fixed;
            top: 0;
            right: 0;
            width: 400px;
            max-width: 90vw;
            height: 100vh;
            background: var(--bg-primary);
            border-left: 1px solid var(--border);
            transform: translateX(100%);
            transition: transform 0.3s ease;
            z-index: 201;
            display: flex;
            flex-direction: column;
        }
        .sidebar-overlay.open .ai-sidebar {
            transform: translateX(0);
        }
        /* (ai-source-switch removed — AI sidebar no longer exists) */
        .wsw-view-switch {
            padding: 10px 20px 8px;
            border-bottom: 1px solid var(--border);
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }
        .wsw-view-pill {
            border: 1px solid var(--border);
            border-radius: 999px;
            background: var(--bg-secondary);
            color: var(--text-secondary);
            font-size: 11px;
            font-weight: 600;
            line-height: 1;
            padding: 7px 10px;
            cursor: pointer;
            transition: all 0.15s ease;
        }
        .wsw-view-pill:hover {
            border-color: var(--accent);
            color: var(--accent);
        }
        .wsw-view-pill.active {
            background: var(--accent);
            border-color: var(--accent);
            color: #fff;
        }
        .wsw-footer {
            display: block;
        }
        .wsw-footer-top {
            padding-bottom: 8px;
        }
        .wsw-footer-actions {
            display: flex;
            gap: 8px;
        }
        /* (ai-source-pill, ai-rank-item, rank-* styles removed — AI sidebar no longer exists) */
        .ai-provider-select {
            padding: 12px 20px;
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .ai-provider-select label {
            font-size: 13px;
            color: var(--text-secondary);
        }
        .ai-provider-select select {
            flex: 1;
            padding: 6px 10px;
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 6px;
            color: var(--text-primary);
            font-family: inherit;
            font-size: 13px;
        }
        .ai-updated-time {
            font-size: 11px;
            color: var(--text-muted);
        }
        .ai-error {
            padding: 40px 20px;
            text-align: center;
        }
        .ai-error-title {
            color: var(--danger);
            font-weight: 600;
            margin-bottom: 8px;
        }
        /* (ai-bookmark-btn styles removed — AI sidebar no longer exists) */

        .reports-warning {
            background: var(--danger, #e14b4b);
            color: #fff;
            padding: 10px 16px;
            border-radius: 8px;
            margin-bottom: 12px;
            font-size: 13px;
            line-height: 1.5;
        }
        .reports-warning strong { font-weight: 700; }

        /* Report Cards (main area) */
        .report-card {
            padding: 0.85rem 0.5rem;
            border-bottom: 1px solid var(--border);
            transition: opacity 0.2s ease, transform 0.2s ease;
            position: relative;
        }
        .report-card:hover {
            opacity: 0.85;
            transform: translateX(2px);
        }
        .report-card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 10px;
            gap: 8px;
        }
        .report-card-left {
            display: flex;
            align-items: center;
            gap: 6px;
            min-width: 0;
            flex: 1;
        }
        .report-card-right {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
        }
        .report-channel {
            font-size: 11px;
            font-weight: 700;
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 0.6px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            display: inline-block;
            text-decoration: none;
        }
        .report-card-date {
            font-size: 11px;
            color: var(--text-muted);
            white-space: nowrap;
        }
        .report-title {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 16px;
            font-weight: 700;
            line-height: 1.4;
            margin-bottom: 6px;
        }
        .report-title-link {
            color: var(--text-primary);
            text-decoration: none;
            transition: color 0.15s;
        }
        .report-title-link:hover {
            color: var(--accent);
        }
        .report-text {
            font-family: 'Nunito Sans', system-ui, sans-serif;
            font-size: 14px;
            font-weight: 400;
            line-height: 1.55;
            color: var(--text-primary);
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 5;
            -webkit-box-orient: vertical;
            overflow: hidden;
            max-height: calc(1.55em * 5);
        }
        .report-text.expanded {
            -webkit-line-clamp: unset;
            overflow: visible;
            max-height: 1000px;
        }
        .report-expand-btn {
            background: none;
            border: none;
            color: var(--accent);
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            padding: 2px 0;
            margin-bottom: 8px;
            font-family: inherit;
        }
        .report-expand-btn:hover { text-decoration: underline; }
        .report-doc-list {
            display: flex;
            flex-direction: column;
            gap: 4px;
            margin-bottom: 10px;
        }
        .report-doc-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            background: var(--bg-hover);
            padding: 7px 10px;
            border-radius: 8px;
            border: 1px solid var(--border);
        }
        .report-doc-item:hover { background: var(--border); }
        .report-doc-icon { flex-shrink: 0; font-size: 13px; }
        .report-doc-name {
            flex: 1;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            color: var(--text-primary);
            font-weight: 500;
        }
        .report-doc-size {
            flex-shrink: 0;
            font-size: 11px;
            color: var(--text-muted);
            white-space: nowrap;
        }
        .report-images {
            margin-bottom: 10px;
            position: relative;
            border-radius: 8px;
            overflow: hidden;
            background: var(--bg-hover);
            border: 0;
            padding: 0;
            width: 100%;
            text-align: left;
            display: block;
            appearance: none;
            cursor: zoom-in;
        }
        .report-images:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }
        .report-images img {
            width: 100%;
            max-height: 260px;
            object-fit: cover;
            display: block;
            cursor: zoom-in;
        }
        .report-images-badge {
            position: absolute;
            bottom: 8px;
            right: 8px;
            background: rgba(0,0,0,0.65);
            color: #fff;
            font-size: 11px;
            font-weight: 600;
            padding: 2px 8px;
            border-radius: 10px;
        }
        .report-images-fallback {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 120px;
            background: var(--bg-hover);
            color: var(--text-muted);
            font-size: 13px;
            gap: 6px;
        }
        .report-images-fallback::before {
            content: '\1F5BC';
            font-size: 20px;
        }
        .report-images-fallback::after {
            content: 'View image';
        }
        .report-images-fallback .report-images-badge {
            display: none;
        }
        .report-meta {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            color: var(--text-muted);
            margin-top: 4px;
        }
        .report-meta a {
            color: var(--accent);
            text-decoration: none;
            font-weight: 500;
            font-size: 12px;
        }
        .report-meta a:hover {
            text-decoration: underline;
        }
        .report-image-lightbox {
            position: fixed;
            inset: 0;
            z-index: 260;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 24px;
            background: rgba(5, 10, 18, 0.86);
        }
        .report-image-lightbox.open {
            display: flex;
        }
        .report-image-lightbox-backdrop {
            position: absolute;
            inset: 0;
        }
        .report-image-lightbox-dialog {
            position: relative;
            z-index: 1;
            width: min(96vw, 1200px);
            height: min(90vh, 900px);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 60px 56px;
        }
        .report-image-lightbox-img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            display: block;
            border-radius: 10px;
            box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
            background: #111827;
        }
        .report-image-lightbox-error {
            display: none;
            align-items: center;
            justify-content: center;
            min-width: 280px;
            min-height: 220px;
            border-radius: 10px;
            border: 1px solid rgba(255,255,255,0.2);
            color: #e5e7eb;
            font-size: 14px;
            font-weight: 600;
            background: rgba(17, 24, 39, 0.92);
        }
        .report-image-lightbox-close,
        .report-image-lightbox-nav {
            position: absolute;
            border: 1px solid rgba(255,255,255,0.25);
            background: rgba(17, 24, 39, 0.9);
            color: #f8fafc;
            cursor: pointer;
            border-radius: 999px;
            width: 42px;
            height: 42px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            line-height: 1;
            transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
        }
        .report-image-lightbox-close:hover,
        .report-image-lightbox-nav:hover {
            background: rgba(31, 41, 55, 0.96);
            border-color: rgba(255,255,255,0.5);
        }
        .report-image-lightbox-close:focus-visible,
        .report-image-lightbox-nav:focus-visible {
            outline: 2px solid #fff;
            outline-offset: 2px;
        }
        .report-image-lightbox-close {
            top: 8px;
            right: 8px;
            font-size: 30px;
        }
        .report-image-lightbox-prev {
            left: 4px;
            top: 50%;
            transform: translateY(-50%);
        }
        .report-image-lightbox-next {
            right: 4px;
            top: 50%;
            transform: translateY(-50%);
        }
        .report-image-lightbox-nav[disabled] {
            opacity: 0.35;
            cursor: not-allowed;
        }
        .report-image-lightbox-counter {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            color: #f8fafc;
            font-size: 12px;
            font-weight: 600;
            background: rgba(17, 24, 39, 0.88);
            border: 1px solid rgba(255,255,255,0.22);
            border-radius: 999px;
            padding: 4px 10px;
            letter-spacing: 0.2px;
        }

        /* Video Cards */
        .video-card {
            display: flex;
            gap: 1rem;
            padding: 0.85rem 0.5rem;
            border-bottom: 1px solid var(--border);
            transition: opacity 0.2s ease, transform 0.2s ease;
            position: relative;
        }
        .video-card:hover {
            opacity: 0.85;
            transform: translateX(2px);
        }
        .video-thumb {
            flex-shrink: 0;
            width: 180px;
            aspect-ratio: 16/9;
            border-radius: 3px;
            overflow: hidden;
            position: relative;
            background: var(--bg-hover);
        }
        .video-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .video-thumb-play {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 40px;
            height: 40px;
            background: rgba(0,0,0,0.7);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.2s;
        }
        .video-card:hover .video-thumb-play {
            opacity: 1;
        }
        .video-thumb-play svg {
            width: 16px;
            height: 16px;
            fill: #fff;
            margin-left: 2px;
        }
        .video-info {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .video-title {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 0.88rem;
            font-weight: 500;
            line-height: 1.3;
            margin-bottom: 6px;
        }
        .video-title a {
            color: var(--text-primary);
            text-decoration: none;
        }
        .video-title a:hover {
            color: var(--accent);
        }
        .video-channel {
            font-size: 13px;
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: 4px;
            display: inline-block;
        }
        .video-bookmark {
            position: absolute;
            top: 0.5rem;
            right: 0.25rem;
            z-index: 2;
            background: color-mix(in srgb, var(--bg-primary) 80%, transparent);
            border-radius: 50%;
            padding: 6px;
        }
        .video-meta {
            display: flex;
            align-items: center;
            font-size: 12px;
            color: var(--text-muted);
            margin-top: auto;
        }
        .video-meta a {
            color: var(--accent);
            text-decoration: none;
            font-weight: 500;
        }
        .video-meta a:hover {
            text-decoration: underline;
        }

        /* ═══ HOME TAB — Newspaper Layout ═══ */
        #home-newspaper {
            max-width: 100%;
        }
        .home-no-results {
            background: var(--bg-secondary);
            border: 1px dashed var(--border-light);
            color: var(--text-muted);
            border-radius: 3px;
            padding: 14px;
            font-size: 13px;
            text-align: center;
        }

        /* ═══ Newspaper Masthead ═══ */
        /* ═══ Masthead ═══ */
        .masthead {
            padding: 2.5rem 0 1.25rem;
            border-bottom: 2.5px solid var(--text-primary);
        }
        .masthead h1 {
            font-family: 'Fraunces', Georgia, serif;
            font-size: clamp(2.8rem, 6vw, 4.2rem);
            font-weight: 900;
            line-height: 0.95;
            letter-spacing: -0.03em;
            margin: 0;
        }
        .masthead-link {
            color: inherit;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        .masthead-link:hover { color: var(--accent); }
        .masthead .tagline {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.05rem;
            font-weight: 300;
            font-style: italic;
            color: var(--text-secondary);
            margin-top: 0.5rem;
        }

        /* ═══ Shared card parts ═══ */
        .card-meta {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
        }
        .card-meta .btn-bk { margin-left: auto; }
        .cat-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            display: inline-block;
            flex-shrink: 0;
        }
        .cat-label {
            font-size: 0.68rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-secondary);
        }

        /* ═══ Newspaper bookmark button ═══ */
        .btn-bk {
            background: none;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            padding: 2px;
            flex-shrink: 0;
            transition: color 0.2s ease;
        }
        .btn-bk:hover { color: var(--accent); }
        .btn-bk.active, .btn-bk.bookmarked { color: var(--accent); }
        .btn-bk svg {
            width: 14px;
            height: 14px;
        }

        /* ═══ HERO card ═══ */
        .card-hero {
            position: relative;
        }
        .hero-title {
            font-family: 'Fraunces', Georgia, serif;
            font-size: clamp(1.5rem, 2.5vw, 2rem);
            font-weight: 500;
            line-height: 1.15;
            letter-spacing: -0.02em;
            word-break: break-word;
            overflow-wrap: break-word;
        }
        .hero-title a {
            color: var(--text-primary);
            text-decoration: none;
            transition: color 0.2s ease;
        }
        .hero-title a:hover { color: var(--accent); }
        .hero-desc {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 0.92rem;
            line-height: 1.65;
            color: var(--text-secondary);
            margin-top: 0.6rem;
        }
        .hero-source {
            font-size: 0.72rem;
            font-weight: 600;
            color: var(--text-muted);
            margin-top: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-wrap: wrap;
        }
        .hero-why {
            font-family: 'Nunito Sans', -apple-system, sans-serif;
            font-size: 0.85rem;
            line-height: 1.55;
            color: var(--text-secondary);
            margin-top: 0.5rem;
            font-style: italic;
        }
        .hero-signal-badge {
            display: inline-block;
            font-size: 0.6rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            border: 1px solid var(--border);
            border-radius: 999px;
            padding: 2px 8px;
            color: var(--text-secondary);
            background: var(--bg-secondary);
            vertical-align: middle;
        }
        .hero-consensus {
            display: inline-block;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--accent);
            vertical-align: middle;
        }
        .home-ai-empty {
            text-align: center;
            padding: 4rem 2rem;
            color: var(--text-secondary);
        }
        .home-ai-empty h3 {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }
        .home-ai-empty p {
            font-size: 0.9rem;
        }
        .card-hero > .btn-bk {
            position: absolute;
            top: 0;
            right: 0;
        }

        /* ═══ MEDIUM card ═══ */
        .card-medium {
            padding: 1rem 0;
            border-bottom: 1px solid var(--border);
            transition: opacity 0.2s ease;
            position: relative;
        }
        .card-medium:hover { opacity: 0.85; }
        .medium-title {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.05rem;
            font-weight: 500;
            line-height: 1.3;
            word-break: break-word;
            overflow-wrap: break-word;
        }
        .medium-title a {
            color: var(--text-primary);
            text-decoration: none;
            transition: color 0.2s ease;
        }
        .medium-title a:hover { color: var(--accent); }
        .medium-desc {
            font-size: 0.85rem;
            line-height: 1.55;
            color: var(--text-secondary);
            margin-top: 0.3rem;
        }
        .medium-source {
            font-size: 0.7rem;
            font-weight: 600;
            color: var(--text-muted);
            margin-top: 0.35rem;
            text-transform: uppercase;
            letter-spacing: 0.06em;
        }
        /* medium-card bookmark is in .card-meta row, no absolute positioning needed */

        /* ═══ COMPACT card ═══ */
        .card-compact {
            display: flex;
            align-items: flex-start;
            gap: 0.6rem;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--border);
            transition: transform 0.2s ease;
            position: relative;
        }
        .card-compact:last-child { border-bottom: none; }
        .card-compact:hover { transform: translateX(3px); }
        .compact-body { flex: 1; min-width: 0; }
        .compact-link {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 0.92rem;
            font-weight: 500;
            line-height: 1.3;
            color: var(--text-primary);
            text-decoration: none;
            word-break: break-word;
            overflow-wrap: break-word;
        }
        .compact-link:hover { color: var(--accent); }
        .compact-src {
            font-size: 0.68rem;
            color: var(--text-muted);
            display: block;
            margin-top: 0.15rem;
        }
        .card-compact > .btn-bk {
            flex-shrink: 0;
            align-self: center;
        }

        /* ═══ PATTERN A — Lead Grid ═══ */
        .pa-lead {
            display: grid;
            grid-template-columns: 3fr 2fr;
            gap: 2.5rem;
            padding: 2rem 0 2.25rem;
            border-bottom: 1px solid var(--border);
        }
        .pa-sidebar {
            border-left: 1px solid var(--border);
            padding-left: 1.5rem;
        }
        .pa-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0 2.5rem;
            padding: 1.5rem 0;
        }

        /* ═══ PATTERN B — Inverted Lead Grid ═══ */
        .pb-lead {
            display: grid;
            grid-template-columns: 2fr 3fr;
            gap: 2.5rem;
            padding: 2rem 0 2.25rem;
            border-bottom: 1px solid var(--border);
        }
        .pb-sidebar {
            border-right: 1px solid var(--border);
            padding-right: 1.5rem;
        }
        .pb-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0 2.5rem;
            padding: 1.5rem 0;
        }

        /* ═══ PATTERN C — Asymmetric 2-Col ═══ */
        .pc-grid {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 0;
            padding: 1.5rem 0;
            align-items: start;
        }
        .pc-col-left {
            padding-right: 1.5rem;
        }
        .pc-col-right {
            border-left: 1px solid var(--border);
            padding-left: 1.25rem;
            position: sticky;
            top: 3.5rem;
        }

        /* ═══ PATTERN D — Lead Grid + Scroll Container ═══ */
        .pd-lead {
            display: grid;
            grid-template-columns: 3fr 2fr;
            gap: 2.5rem;
            padding: 2rem 0 2.25rem;
            border-bottom: 1px solid var(--border);
        }
        .pd-sidebar {
            border-left: 1px solid var(--border);
            padding-left: 1.5rem;
        }
        .pd-scroll-label {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0 0.5rem;
        }
        .pd-scroll-title {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 0.85rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: var(--text-secondary);
        }
        .pd-scroll-count {
            font-size: 0.7rem;
            color: var(--text-muted);
        }
        .pd-scroll-container {
            max-height: 420px;
            overflow-y: auto;
            border: 1px solid var(--border);
            border-radius: 4px;
            padding: 0 1.25rem;
            position: relative;
            scrollbar-width: thin;
            scrollbar-color: var(--border) transparent;
            mask-image: linear-gradient(to bottom, transparent 0%, black 3%, black 92%, transparent 100%);
            -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 3%, black 92%, transparent 100%);
        }
        .pd-scroll-container::-webkit-scrollbar { width: 4px; }
        .pd-scroll-container::-webkit-scrollbar-track { background: transparent; }
        .pd-scroll-container::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
        .pd-scroll-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0 2rem;
            padding: 0.5rem 0;
        }

        /* ═══ WSW BREAKER ═══ */
        .wsw-breaker {
            padding: 2rem 0;
            text-align: center;
        }
        .wsw-rule {
            border-top: 1px dashed var(--border);
            margin: 0 auto;
            max-width: 60%;
        }
        .wsw-quote {
            max-width: 680px;
            margin: 0 auto;
            padding: 1.25rem 2rem;
        }
        .wsw-quote p {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.15rem;
            font-weight: 400;
            font-style: italic;
            line-height: 1.4;
            color: var(--text-primary);
        }
        .wsw-quote cite {
            display: block;
            font-family: 'Nunito Sans', system-ui, sans-serif;
            font-size: 0.78rem;
            font-style: normal;
            font-weight: 600;
            color: var(--text-secondary);
            margin-top: 0.6rem;
        }
        .wsw-bk-link {
            text-decoration: none;
            color: inherit;
            display: block;
        }
        .wsw-bk-link:hover .wsw-quote p {
            color: var(--accent);
        }
        .wsw-breaker .btn-bk {
            display: block;
            margin: -0.5rem auto 0;
        }

        /* ═══ SLIDERS (shared) ═══ */
        .slider-section {
            padding: 1.75rem 2.5rem;
            margin: 0 -2.5rem;
            background: var(--bg-secondary);
            background: color-mix(in srgb, var(--text-primary) 3%, var(--bg-primary));
        }
        .slider-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }
        .slider-label {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.4rem;
            font-weight: 700;
            letter-spacing: -0.02em;
        }
        .slider-nav {
            display: flex;
            gap: 0.5rem;
        }
        .slider-arrow {
            width: 32px;
            height: 32px;
            border: 1.5px solid var(--border);
            border-radius: 50%;
            background: var(--bg-primary);
            color: var(--text-secondary);
            font-size: 14px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }
        .slider-arrow:hover {
            border-color: var(--accent);
            color: var(--accent);
        }
        .slider-track {
            display: flex;
            gap: 1.25rem;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
            -ms-overflow-style: none;
            padding-bottom: 0.5rem;
        }
        .slider-track::-webkit-scrollbar { display: none; }
        .slider-card {
            flex-shrink: 0;
            scroll-snap-align: start;
            color: var(--text-primary);
            padding: 0 0 0.75rem;
            border-bottom: 1px solid var(--border);
            transition: transform 0.2s ease;
            position: relative;
        }
        .slider-card:hover {
            transform: translateY(-1px);
        }
        .slider-card-body {
            padding: 0.75rem 0.85rem 0;
        }
        .slider-card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 0.5rem;
        }
        .slider-card .btn-bk {
            flex-shrink: 0;
        }

        /* YouTube slider card */
        .slider-yt {
            width: 280px;
            padding: 0 0 0.75rem;
            overflow: hidden;
        }
        .yt-thumb {
            width: 100%;
            aspect-ratio: 16/9;
            background-size: cover;
            background-position: center;
            background-color: var(--border);
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .yt-play {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(0,0,0,0.6);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            opacity: 0;
            transition: opacity 0.2s ease;
        }
        .slider-yt:hover .yt-play { opacity: 1; }
        .yt-title {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 0.88rem;
            font-weight: 500;
            line-height: 1.3;
            color: var(--text-primary);
            text-decoration: none;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            max-height: calc(1.3em * 2);
            flex: 1;
            min-width: 0;
        }
        .yt-title:hover { color: var(--accent); }
        .yt-channel {
            font-size: 0.68rem;
            color: var(--text-muted);
        }

        /* Reports slider card */
        .slider-rp {
            width: 300px;
            padding: 1rem 0 0.75rem;
        }
        .rp-publisher {
            font-size: 0.65rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--text-secondary);
        }
        .rp-title {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 0.95rem;
            font-weight: 500;
            line-height: 1.35;
            color: var(--text-primary);
            text-decoration: none;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            max-height: calc(1.35em * 3);
            margin-top: 0.5rem;
        }
        .rp-title:hover { color: var(--accent); }
        .rp-region {
            display: inline-block;
            font-size: 0.58rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            padding: 0.2rem 0.45rem;
            border: 1px solid var(--accent);
            color: var(--accent);
            border-radius: 3px;
            margin-top: 0.6rem;
        }

        /* Twitter slider card */
        .slider-tw {
            width: 300px;
            padding: 1rem 0 0.75rem;
        }
        .tw-author {
            font-size: 0.68rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--accent);
        }
        .tw-text {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 0.9rem;
            font-weight: 400;
            line-height: 1.45;
            color: var(--text-primary);
            text-decoration: none;
            margin-top: 0.4rem;
            word-break: break-word;
            overflow-wrap: break-word;
        }
        .tw-text:hover { color: var(--accent); }

        /* Papers slider card */
        .slider-pp {
            width: 300px;
            padding: 1rem 0 0.75rem;
        }
        .pp-authors {
            font-size: 0.65rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-secondary);
        }
        .pp-title {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 0.95rem;
            font-weight: 500;
            line-height: 1.35;
            color: var(--text-primary);
            text-decoration: none;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            max-height: calc(1.35em * 3);
            margin-top: 0.4rem;
        }
        .pp-title:hover { color: var(--accent); }
        .pp-desc {
            font-size: 0.8rem;
            line-height: 1.45;
            color: var(--text-secondary);
            margin-top: 0.3rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            max-height: calc(1.45em * 2);
        }
        /* Tabs */
        /* ═══ Tab bar ═══ */
        .tab-bar {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            padding: 1rem 0;
            border-bottom: 1px solid var(--border);
        }
        .tab-pill {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.4rem 0.85rem;
            border: 1.5px solid var(--border);
            border-radius: 3px;
            background: transparent;
            font-family: 'Nunito Sans', system-ui, sans-serif;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .tab-pill:hover {
            border-color: var(--text-secondary);
            color: var(--text-primary);
        }
        .tab-pill:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }
        .tab-pill.tab-active {
            background: var(--text-primary);
            color: var(--bg-primary);
            border-color: var(--text-primary);
        }
        .tab-pill .cat-dot {
            width: 5px;
            height: 5px;
        }
        .tab-count {
            font-size: 0.6rem;
            font-weight: 400;
            color: var(--text-muted);
            letter-spacing: normal;
            text-transform: none;
        }
        .tab-pill.tab-active .tab-count {
            color: color-mix(in srgb, var(--bg-primary) 70%, transparent);
        }
        .tab-content {
            display: none;
        }
        .tab-content.active {
            display: block;
            animation: tabFadeIn 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
        }
        @keyframes tabFadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Segmented controls used across Telegram/Reports tabs */
        .tg-view-toggle {
            display: inline-flex;
            gap: 0.4rem;
            flex-wrap: wrap;
            max-width: 100%;
        }
        /* content-type badge */
        .report-type-badge {
            font-size: 10px;
            font-weight: 700;
            padding: 2px 7px;
            border-radius: 4px;
            letter-spacing: 0.4px;
            text-transform: uppercase;
            flex-shrink: 0;
        }
        .report-type-doc {
            background: rgba(225,75,75,0.12);
            color: var(--accent);
        }
        .report-type-photo {
            background: rgba(59,130,246,0.12);
            color: #3b82f6;
        }

        /* Research region badges */
        .research-region-badge {
            font-size: 9px;
            font-weight: 700;
            text-transform: uppercase;
            padding: 2px 6px;
            border-radius: 4px;
            letter-spacing: 0.4px;
            flex-shrink: 0;
        }
        .research-region-badge.indian {
            background: rgba(46,125,50,0.12);
            color: #2e7d32;
        }
        .research-region-badge.international {
            background: rgba(21,101,192,0.12);
            color: #1565c0;
        }

        /* Research card description */
        .research-card-description {
            font-size: 13px;
            color: var(--text-secondary);
            line-height: 1.5;
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* Paper card metadata */
        .paper-card-authors {
            font-size: 13px;
            color: var(--text-secondary);
            font-weight: 600;
            line-height: 1.45;
            margin-bottom: 6px;
        }
        .paper-card-summary {
            font-size: 13px;
            color: var(--text-secondary);
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* ═══ Scroll to top ═══ */
        .scroll-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: var(--text-primary);
            color: var(--bg-primary);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.2s ease;
            z-index: 90;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        }

        .scroll-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .scroll-top:hover { transform: translateY(-2px); }

        /* Keyboard hint */
        .keyboard-hint {
            position: fixed;
            bottom: 24px;
            left: 24px;
            font-size: 12px;
            color: var(--text-muted);
            background: var(--bg-secondary);
            padding: 8px 12px;
            border-radius: 8px;
            border: 1px solid var(--border);
            opacity: 0.7;
        }

        .keyboard-hint kbd {
            background: var(--bg-hover);
            padding: 2px 6px;
            border-radius: 3px;
            font-family: inherit;
            margin: 0 2px;
        }

        /* Hidden */
        .hidden {
            display: none !important;
        }
        .paged-hidden {
            display: none !important;
        }

        /* Also Covered By */
        .also-covered {
            margin-top: 6px;
            font-size: 12px;
            color: var(--text-muted);
        }
        .also-covered a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.15s;
        }
        .also-covered a:hover {
            color: var(--accent);
        }

        /* Source Count Badge */
        .source-badge {
            display: inline-flex;
            padding: 2px 8px;
            background: var(--accent);
            color: #fff;
            font-family: 'Nunito Sans', system-ui, sans-serif;
            font-size: 0.65rem;
            font-weight: 600;
            border-radius: 3px;
            margin-left: 0.4rem;
            vertical-align: middle;
            letter-spacing: 0.02em;
        }


        /* Responsive */
        @media (max-width: 768px) {
            .container { padding: 0 1.25rem; }
            .utility { padding: 0.65rem 1.25rem; margin: 0 -1.25rem; }
            .utility.search-active > span { display: none; }
            .utility.search-active .utility-nav { flex: 1; }
            .utility.search-active .utility-link { display: none; }
            .utility.search-active .bk-panel-toggle { display: none; }
            .utility.search-active .search-wrap { flex: 1; }
            .utility.search-active .search-wrap.open .search-input {
                width: 100%;
                flex: 1;
            }
            .foot-nav { flex-wrap: wrap; gap: 1rem; }

            .filter-head {
                flex-wrap: wrap;
                gap: 8px;
            }
            /* Newspaper layout responsive */
            .pa-lead, .pb-lead, .pd-lead {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            .pa-sidebar, .pd-sidebar {
                border-left: none;
                border-top: 1px solid var(--border);
                padding-left: 0;
                padding-top: 0.75rem;
            }
            .pb-sidebar {
                border-right: none;
                border-bottom: 1px solid var(--border);
                padding-right: 0;
                padding-bottom: 0.75rem;
            }
            .pa-grid, .pb-grid, .pd-scroll-grid {
                grid-template-columns: 1fr;
            }
            .pc-grid {
                grid-template-columns: 1fr;
            }
            .pc-col-left {
                padding-right: 0;
            }
            .pc-col-right {
                border-left: none;
                border-top: 1px solid var(--border);
                padding-left: 0;
                padding-top: 0.75rem;
                position: static;
            }
            .slider-section { padding: 1.5rem 1.25rem; margin: 0 -1.25rem; }
            .slider-yt { width: 240px; }
            .slider-rp, .slider-tw, .slider-pp { width: 260px; }
            .wsw-quote { padding: 1rem; }
            .wsw-quote p { font-size: 1rem; }
            .hero-title { font-size: 1.3rem; }
            .stats {
                width: 100%;
                gap: 6px 10px;
            }
            .stats span {
                max-width: 100%;
            }
            .stat-truncate {
                max-width: 100%;
            }
            .filter-head-actions {
                width: 100%;
                justify-content: space-between;
            }
            .filter-controls {
                gap: 6px;
            }
            .preset-btn,
            .tv-desk-btn {
                font-size: 12px;
                padding: 4px 10px;
            }
            .tg-view-btn,
            .tg-chip,
            .publisher-dropdown-trigger {
                font-size: 12px;
                padding: 4px 10px;
            }
            .tg-view-toggle {
                width: 100%;
            }
            .tg-view-btn {
                flex: 1 1 auto;
                text-align: center;
            }
            .publisher-dropdown {
                margin-left: 0;
                width: 100%;
            }
            .publisher-dropdown-trigger {
                width: 100%;
                justify-content: space-between;
            }
            .filter-summary {
                max-width: calc(100vw - 120px);
            }
            .publisher-dropdown-panel {
                min-width: 240px;
                max-width: calc(100vw - 32px);
                left: 0;
                right: auto;
            }
            .filter-toggle {
                display: inline-flex;
                align-items: center;
                justify-content: center;
            }
            html.filters-collapsed .filter-controls { display: none; }
            html.filters-collapsed .filter-head { padding-bottom: 0; }

            .article:hover,
            .report-card:hover,
            .video-card:hover,
            .tweet-card:hover {
                transform: none;
                opacity: 1;
            }

            .video-card {
                flex-direction: column;
            }
            .video-thumb {
                width: 100%;
            }
            .video-bookmark {
                top: 0.5rem;
                right: 0.25rem;
            }
            .bk-panel {
                width: 100vw;
                right: -100vw;
            }
            .bk-panel-footer {
                padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
            }
            .tweet-card-body {
                font-size: 14px;
            }

            .container {
                padding-top: 12px;
            }

            .tab-bar {
                gap: 0.35rem;
                flex-wrap: nowrap;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                white-space: nowrap;
                scrollbar-width: none;
                -ms-overflow-style: none;
            }
            .tab-bar::-webkit-scrollbar {
                display: none;
            }
            .tab-pill {
                padding: 0.35rem 0.65rem;
                font-size: 0.65rem;
                flex-shrink: 0;
            }

            .keyboard-hint {
                display: none;
            }

            /* Mobile bookmarks sidebar fix */
            .bookmarks-sidebar {
                width: 100vw;
                max-width: 100vw;
                height: 100dvh;
                border-left: none;
            }

            .ai-sidebar {
                width: 100vw;
                max-width: 100vw;
                height: 100dvh;
                border-left: none;
            }

            .sidebar-content {
                flex: 1;
                min-height: 0;
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;
            }

            .sidebar-footer {
                padding: 16px 20px;
                padding-bottom: max(16px, env(safe-area-inset-bottom));
                background: var(--bg-primary);
                position: sticky;
                bottom: 0;
            }
            .report-image-lightbox {
                padding: 10px;
            }
            .report-image-lightbox-dialog {
                width: 100%;
                height: 100%;
                padding: 48px 10px 58px;
            }
            .report-image-lightbox-close,
            .report-image-lightbox-nav {
                width: 38px;
                height: 38px;
            }
            .report-image-lightbox-close {
                top: 4px;
                right: 4px;
            }
            .report-image-lightbox-prev {
                left: 2px;
            }
            .report-image-lightbox-next {
                right: 2px;
            }
        }

        /* ═══ Story Clusters ═══ */
        .section-divider {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 1.75rem 0 1rem;
        }
        .section-label {
            font-size: 0.65rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--text-muted);
            white-space: nowrap;
        }
        .section-rule {
            flex: 1;
            height: 1px;
            background: var(--border);
        }

        .big-stories-section {
            margin-bottom: 0;
        }

        .cluster-card {
            border-left: 3px solid var(--accent);
            background: var(--card-bg, #F5F0EA);
            padding: 1.2rem 1.4rem;
            margin-bottom: 1rem;
            border-radius: 0 6px 6px 0;
            position: relative;
        }
        .cluster-card:last-child {
            margin-bottom: 0;
        }

        .cluster-title {
            font-family: 'Fraunces', Georgia, serif;
            font-size: clamp(1.15rem, 2vw, 1.3rem);
            font-weight: 600;
            line-height: 1.25;
            letter-spacing: -0.01em;
            color: var(--text-primary);
            margin-bottom: 0.85rem;
            padding-right: 2.5rem;
        }

        /* Master bookmark — top-right, "save story" on hover */
        .cluster-bk {
            position: absolute;
            top: 1.2rem;
            right: 1.2rem;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .cluster-bk-label {
            font-size: 0.58rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.04em;
            opacity: 0;
            transition: opacity 0.2s;
        }
        .cluster-card:hover .cluster-bk-label {
            opacity: 1;
        }

        /* Articles list */
        .cluster-articles {
            padding-left: 0;
        }
        .cluster-sub {
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
            padding: 0.4rem 0;
            line-height: 1.4;
        }
        .cluster-sub-dot {
            width: 5px;
            height: 5px;
            border-radius: 50%;
            flex-shrink: 0;
            margin-top: 0.45em;
        }
        .cluster-sub-content {
            flex: 1;
            min-width: 0;
        }
        .cluster-sub-link {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 0.88rem;
            font-weight: 400;
            line-height: 1.35;
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.2s;
            display: block;
        }
        .cluster-sub-link:hover {
            color: var(--accent);
        }
        .cluster-sub-meta {
            display: flex;
            align-items: baseline;
            gap: 0.4rem;
            margin-top: 0.15rem;
        }
        .cluster-sub-source {
            font-size: 0.62rem;
            color: var(--text-muted);
            white-space: nowrap;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            font-weight: 700;
        }
        .cluster-sub-angle {
            font-size: 0.62rem;
            color: var(--accent);
            font-style: italic;
            white-space: nowrap;
            background: rgba(196,90,53,0.07);
            padding: 0.1rem 0.35rem;
            border-radius: 3px;
        }
        .cluster-sub.cluster-sub-hidden {
            display: none !important;
        }

        /* ── Official source badge ── */
        .official-badge {
            font-size: 0.52rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: #2e7d32;
            background: rgba(46, 125, 50, 0.08);
            padding: 1px 5px;
            border-radius: 3px;
            white-space: nowrap;
        }

        /* ── From The Source section ── */
        .from-source-section {
            margin-bottom: 0.5rem;
        }
        .from-source-item {
            display: flex;
            align-items: baseline;
            gap: 0.75rem;
            padding: 0.6rem 0;
            border-bottom: 1px solid var(--border-light);
        }
        .from-source-item:last-child { border-bottom: none; }
        .from-source-icon {
            font-size: 0.55rem;
            color: var(--text-muted);
            flex-shrink: 0;
            position: relative;
            top: 2px;
        }
        .from-source-body { flex: 1; min-width: 0; }
        .from-source-title {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 0.92rem;
            font-weight: 600;
            line-height: 1.3;
            color: var(--text-primary);
        }
        .from-source-title a {
            color: inherit;
            text-decoration: none;
        }
        .from-source-title a:hover { color: var(--accent); }
        .from-source-meta {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 0.2rem;
        }
        .from-source-publisher {
            font-size: 0.62rem;
            font-weight: 700;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }
        .from-source-bk {
            flex-shrink: 0;
            background: none;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            padding: 0.15rem;
            transition: color 0.2s;
        }
        .from-source-bk:hover { color: var(--accent); }
        .cluster-show-more {
            background: none;
            border: none;
            color: var(--accent);
            font-family: 'Nunito Sans', sans-serif;
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            padding: 0.4rem 0 0.2rem;
            letter-spacing: 0.02em;
            opacity: 0.85;
            transition: opacity 0.2s;
        }
        .cluster-show-more:hover {
            opacity: 1;
            text-decoration: underline;
        }
        .btn-bk-sub {
            opacity: 0;
            transition: opacity 0.2s;
            flex-shrink: 0;
        }
        .btn-bk-sub svg {
            width: 11px;
            height: 11px;
        }
        .cluster-sub:hover .btn-bk-sub {
            opacity: 1;
        }

        /* Story bookmark sidebar bundles */
        .bk-story-bundle {
            padding: 12px 0;
            border-bottom: 1px solid var(--border);
        }
        .bk-story-bundle:last-child {
            border-bottom: none;
        }
        .bk-story-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 8px;
            margin-bottom: 8px;
        }
        .bk-story-label {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 0.82rem;
            font-weight: 600;
            color: var(--text-primary);
            line-height: 1.3;
        }
        .bk-story-sub {
            display: flex;
            align-items: baseline;
            gap: 6px;
            padding: 3px 0 3px 14px;
            font-size: 0.78rem;
        }
        .bk-story-sub a {
            color: var(--text-primary);
            text-decoration: none;
            flex: 1;
            min-width: 0;
        }
        .bk-story-sub a:hover {
            color: var(--accent);
        }

        @media (max-width: 640px) {
            .cluster-card {
                padding: 1rem 1rem;
                margin-bottom: 0.8rem;
            }
            .cluster-sub {
                padding: 0.4rem 0;
            }
            .cluster-sub-link {
                font-size: 0.82rem;
            }
            .btn-bk-sub {
                opacity: 1;
                flex-shrink: 0;
            }
            .cluster-sub-source {
                font-size: 0.58rem;
            }
            .cluster-sub-angle {
                font-size: 0.56rem;
            }
            .cluster-title {
                font-size: 1.05rem;
                padding-right: 2rem;
            }
            .cluster-bk {
                top: 1rem;
                right: 0.8rem;
            }
            .cluster-bk-label {
                display: none;
            }
        }
