/* VFS Public UI: Design System & Core Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@300;400;500;700&display=swap');

:root {
    /* Color Palette - Premium Dark */
    --bg-dark: #05070a;
    --bg-panel: rgba(13, 17, 23, 0.7);
    --bg-card: rgba(22, 27, 34, 0.6);

    --accent-cyan: #00f2ff;
    --accent-purple: #9d50bb;
    --accent-blue: #2d8cf0;

    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --text-muted: #484f58;

    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);

    --status-positive: #238636;
    --status-warning: #d29922;
    --status-alert: #f85149;

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 0% 0%, rgba(0, 242, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(157, 80, 187, 0.03) 0%, transparent 50%);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

h1,
h2,
h3,
.font-outfit {
    font-family: 'Outfit', sans-serif;
}

/* Glassmorphism Containers */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(0, 242, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.9);
}

/* Typography Utility */
.gradient-text {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-link-item:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.4);
}

.nav-link-gold {
    color: #fbbf24;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 6px;
    background: rgba(251, 191, 36, 0.05);
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.1);
}

.nav-link-gold:hover {
    color: #fff;
    background: rgba(251, 191, 36, 0.2);
    border-color: #fbbf24;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
    transform: translateY(-1px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.4rem;
    color: white;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    border-radius: 8px;
    display: grid;
    place-items: center;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 1rem 4rem;
    position: relative;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Topic List Layout */
.topic-list-container {
    margin-bottom: 5rem;
}

.list-header {
    display: grid;
    grid-template-columns: 120px 120px 1fr;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.topic-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.topic-row {
    display: grid;
    grid-template-columns: 120px 120px 1fr;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
}

.topic-row .col-status {
    display: flex;
}

.topic-row .col-date {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.topic-row .col-title {
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-primary);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.topic-row:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(0, 242, 255, 0.2);
    transform: translateX(4px);
}

.event-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.event-summary {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Grounded Claims Container */
.claims-container {
    margin-top: 1rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.claims-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    cursor: pointer;
}

.claims-tray {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.claim-item {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.9rem;
}

.claim-source-link {
    display: block;
    margin-top: 0.5rem;
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.8rem;
    opacity: 0.8;
}

.claim-source-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Adjudication Sidebar / Friction Badge */
.friction-badge {
    background: rgba(248, 81, 73, 0.1);
    color: var(--status-alert);
    border: 1px solid rgba(248, 81, 73, 0.2);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.85rem;
}

/* Footer */
footer {
    padding: 4rem 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Adjudication Sidebar (Phase 2) */
.adjudication-sidebar {
    background: rgba(157, 80, 187, 0.05);
    border-left: 3px solid var(--accent-purple);
    padding: 1.25rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
}

/* Transparency Hub (Phase 3) */
.transparency-stats {
    display: flex;
    gap: 1.5rem;
    font-family: 'Inter', monospace;
    font-size: 0.75rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.stat-label {
    opacity: 0.5;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
}

.stat-value {
    color: var(--accent-cyan);
    font-weight: 700;
}

/* Modal System (Phase 3) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 242, 255, 0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

/* Trace Timeline */
.trace-timeline {
    border-left: 2px dashed var(--glass-border);
    margin-left: 1rem;
    padding-left: 2rem;
}

.trace-step {
    position: relative;
    margin-bottom: 2rem;
}

.trace-step::before {
    content: '';
    position: absolute;
    left: -2.4rem;
    top: 0.4rem;
    width: 0.6rem;
    height: 0.6rem;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
}

.trace-step.symbolic::before {
    background: var(--accent-purple);
    box-shadow: 0 0 10px var(--accent-purple);
}

.trace-meta {
    font-family: 'Inter', monospace;
    font-size: 0.7rem;
    color: var(--accent-cyan);
    margin-bottom: 0.4rem;
}

.trace-step.symbolic .trace-meta {
    color: var(--accent-purple);
}

.trace-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.trace-content {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Tab Navigation */
.tabs-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--accent-cyan);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -0.6rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

/* Category Chips */
.category-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.category-chip {
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.category-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.category-chip.active {
    background: rgba(0, 242, 255, 0.1);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
}

/* Topic Badge */
.topic-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    background: rgba(157, 80, 187, 0.1);
    border: 1px solid rgba(157, 80, 187, 0.3);
    border-radius: 4px;
    color: var(--accent-purple);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 1rem;
}

/* Detail Page Styles */
.detail-container {
    padding-top: 4rem;
    max-width: 900px;
}

.detail-header {
    margin-bottom: 4rem;
}

.detail-section {
    padding: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-content {
    line-height: 1.8;
    color: var(--text-primary);
    font-size: 1.1rem;
}

/* Expandable Trace Phase */
.trace-phase {
    margin-bottom: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
}

.trace-phase-header {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.trace-phase-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.trace-phase-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trace-phase-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.trace-phase.expanded .trace-phase-content {
    padding: 1.5rem;
    max-height: 2000px;
    border-top: 1px solid var(--glass-border);
}

.trace-phase.expanded .chevron-icon {
    transform: rotate(180deg);
}

.chevron-icon {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

/* Source Linking */
.source-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.source-link:hover {
    background: rgba(0, 242, 255, 0.1);
}

.highlight-quote {
    background: rgba(0, 242, 255, 0.15);
    color: white;
    padding: 0.1rem 0;
    border-radius: 2px;
}

/* Thought Trace Table */
.trace-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.85rem;
}

.trace-table th {
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid var(--glass-border);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.trace-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.trace-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Expandable Trace Phase */
.trace-phase {
    margin-bottom: 1rem;
}

/* Consolidation & Claim Styling (Plan M) */
.quote-group {
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.015);
    margin-bottom: 1.25rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.quote-header {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    transition: background 0.2s ease;
}

.quote-header:hover {
    background: rgba(255, 255, 255, 0.04);
}

.quote-text {
    font-size: 0.95rem;
    font-style: italic;
    color: #e2e8f0;
    line-height: 1.5;
    flex-grow: 1;
    position: relative;
    padding-left: 1rem;
    border-left: 2px solid var(--accent-cyan);
}

.quote-badge-count {
    background: rgba(0, 242, 255, 0.1);
    color: var(--accent-cyan);
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
    font-family: monospace;
    white-space: nowrap;
}

.quote-content {
    padding: 1.5rem;
    display: none;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.quote-group.expanded .quote-content {
    display: block;
}

.quote-group.expanded .chevron-icon {
    transform: rotate(180deg);
}

.system-claim-tag {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.friction-claim {
    border-left: 3px solid var(--status-alert);
}

/* Source Grouped Claims */
.source-group {
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.source-group-header {
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.source-group-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.source-group-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-cyan);
}

.source-group-content {
    display: none;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--glass-border);
}

.source-group.expanded .source-group-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.source-group.expanded .chevron-icon {
    transform: rotate(180deg);
}


.entity-link {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.entity-link:hover {
    filter: brightness(1.2);
    text-decoration: underline;
}

/* Factual Brief & Rich Text Formatting */
.brief-section-header {
    font-family: 'Outfit', sans-serif;
    /* Switching to Outfit for headers for subtle flair */
    color: var(--accent-cyan);
    margin: 1.5rem 0 0.75rem 0;
    font-size: 1.0rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
}

.section-content .brief-section-header:first-child,
.adjudication-sidebar .brief-section-header:first-child {
    margin-top: 0;
}

.brief-paragraph {
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: 400;
}

.brief-paragraph:last-child {
    margin-bottom: 0;
}

/* Evidence Vault Browser */
#evidence-meta-header {
    font-size: 0.75rem !important;
    letter-spacing: 1px;
    line-height: 1.6;
    margin-top: 0.5rem;
    font-family: 'Courier New', Courier, monospace;
}

.evidence-card {
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.2);
    padding: 1.5rem;
    border-radius: 4px;
}

.evidence-card h5 {
    font-family: 'Outfit', sans-serif;
    color: var(--accent-cyan);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 242, 255, 0.1);
    padding-bottom: 0.5rem;
    font-weight: 800;
}

.evidence-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.evidence-body-scroll {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    /* Matching the Factual Brief readability */
    font-weight: 500;
    line-height: 1.8;
    color: var(--text-primary);
    margin-top: 1rem;
    max-height: 300px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.4);
    padding: 1.25rem;
    border-radius: 4px;
    border-left: 3px solid var(--accent-cyan);
}

.evidence-label {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    color: var(--accent-cyan);
    opacity: 0.9;
    font-size: 0.85rem;
    text-transform: uppercase;
    display: inline-block;
}

@media (max-width: 768px) {
    #evidence-structured-view {
        grid-template-columns: 1fr !important;
    }
}

/* Discovery Search UI (Milestone H.8) */
.discovery-bar {
    margin-top: 2rem;
    display: flex;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.discovery-bar:focus-within {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

#archive-search-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    padding: 0.8rem 1.2rem;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
}

.search-btn {
    background: var(--accent-cyan);
    color: #000;
    border: none;
    padding: 0 1.5rem;
    font-weight: 800;
    font-size: 0.75rem;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.search-btn:hover {
    background: #fff;
    letter-spacing: 1px;
}

.archive-card {
    border-left: 4px solid var(--text-muted);
}

.archive-card.status-verified {
    border-left-color: var(--status-positive);
}

.archive-card.status-raw {
    border-left-color: var(--accent-purple);
}

.archive-badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-weight: bold;
    text-transform: uppercase;
}

.archive-badge.verified {
    background: rgba(35, 134, 54, 0.2);
    color: #3fb950;
    border: 1px solid #3fb950;
}

.archive-badge.raw {
    background: rgba(157, 80, 187, 0.2);
    color: var(--accent-purple);
    border: 1px solid var(--accent-purple);
}

/* --- Strategic Plan L: Editorial Showcase --- */

.editorial-showcase {
    margin-bottom: 4rem;
    padding: 3rem;
    background: radial-gradient(circle at 0% 0%, rgba(0, 242, 255, 0.05) 0%, transparent 70%);
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 255, 0.1);
}

.series-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

@media (max-width: 900px) {
    .series-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.series-visual {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    background: #000;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.series-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.series-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-cyan);
    color: #000;
    padding: 0.25rem 0.75rem;
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    border-radius: 4px;
}

.series-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.series-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.episode-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    cursor: pointer;
}

.episode-card:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.1);
}

.episode-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.episode-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    justify-content: space-between;
}

/* Narrative Reader */
.narrative-reader-modal .modal-content {
    max-width: 1000px;
    background: var(--bg-dark);
}

.narrative-hero {
    margin-bottom: 2.5rem;
    border-bottom: 3px solid var(--accent-cyan);
    padding-bottom: 1.5rem;
}

.narrative-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.narrative-brief {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-primary);
    max-width: 800px;
    margin-bottom: 3rem;
    font-weight: 400;
}

.evidence-feed-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.evidence-feed-header h3 {
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-size: 0.9rem;
    color: var(--accent-cyan);
}