/* ============================================
   SIRRUNA PICTURE - Economist-Style Data Visualization
   Extends style.css - only Picture-specific styles here
   ============================================ */

/* Ensure peachy paper background */
body {
    background: var(--paper, #FFF8F2);
}

/* ============================================
   PICTURE BRAND COLOR
   ============================================ */

.brand-name.brand-picture .brand-word {
    color: var(--burgundy);
}

/* ============================================
   MAIN LAYOUT
   ============================================ */

.picture-main {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 var(--lg);
}

/* ============================================
   CHART HERO - Two Row Layout
   ============================================ */

.chart-hero {
    margin-bottom: var(--xxl);
}

.chart-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--xl);
    margin-bottom: var(--lg);
}

.chart-header {
    flex: 1;
}

.chart-accent-bar {
    width: 50px;
    height: 4px;
    background: var(--burgundy);
    margin-bottom: var(--md);
}

.chart-headline {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: var(--xs);
}

.chart-subtitle {
    font-family: var(--sans);
    font-size: 0.85rem;
    color: var(--ink-secondary);
    margin: 0;
}

.chart-value-box {
    text-align: right;
    flex-shrink: 0;
}

.value-primary {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 2px;
}

.value-number {
    font-family: var(--serif);
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--teal);
    line-height: 1;
}

.value-unit {
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--teal);
}

.value-label {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--ink);
    margin-top: var(--xs);
    text-transform: uppercase;
}

.value-context {
    margin-top: var(--sm);
    padding-top: var(--sm);
    border-top: 1px solid var(--ink-divider, #d5d0c8);
}

.value-range {
    font-family: var(--sans);
    font-size: 0.8rem;
    color: var(--ink-secondary);
}

.chart-content-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--xl);
    align-items: start;
}

.chart-column {
    background: var(--paper);
}

.timeframe-selector {
    display: flex;
    gap: 2px;
    background: var(--paper-dark, #e8e4df);
    border-radius: 4px;
    padding: 2px;
    width: fit-content;
    margin-bottom: var(--sm);
}

.tf-btn {
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 4px 10px;
    border: none;
    background: transparent;
    color: var(--ink-secondary);
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.15s ease;
}

.tf-btn:hover {
    color: var(--ink);
}

.tf-btn.active {
    background: var(--paper);
    color: var(--burgundy);
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.chart-container {
    margin-bottom: var(--sm);
}

.chart-svg {
    width: 100%;
    height: auto;
}

.chart-source {
    font-family: var(--sans);
    font-size: 0.7rem;
    color: var(--ink-tertiary);
    margin: 0;
}

.editorial-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--lg);
}

.insight-column {
    font-family: var(--sans);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--ink);
}

.insight-label {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: var(--sm);
}

.insight-date {
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--ink-tertiary);
    text-transform: none;
}

.insight-column p {
    margin-bottom: var(--sm);
}

.insight-column p:last-child {
    margin-bottom: 0;
}

.events-column {
    font-family: var(--sans);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--ink);
}

.events-column p {
    margin-bottom: var(--sm);
}

.chart-events {
    background: var(--paper-dark, #e8e4df);
    padding: var(--sm) var(--md);
    margin-top: var(--md);
    margin-bottom: var(--md);
    font-family: var(--sans);
    font-size: 0.8rem;
}

.events-label {
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--ink-secondary);
    margin-right: var(--xs);
}

.events-text {
    color: var(--ink);
}

.insight-link {
    font-family: var(--sans);
    font-size: 0.85rem;
    color: var(--burgundy);
    text-decoration: none;
    font-weight: 500;
}

.insight-link:hover {
    text-decoration: underline;
}

/* Axis labels */
.axis-label {
    font-family: var(--sans);
    font-size: 10px;
    fill: var(--ink-tertiary);
}

.y-label {
    text-anchor: end;
}

.x-label {
    text-anchor: middle;
}

.grid-line {
    stroke: var(--rule);
    stroke-width: 1;
    stroke-dasharray: 2, 4;
}

.chart-line {
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.line-hero {
    stroke: var(--burgundy);
}

.value-dot {
    fill: var(--burgundy);
}

/* ============================================
   CHART SECTIONS
   ============================================ */

.chart-section {
    margin-bottom: var(--xxl);
    padding-top: var(--xl);
    border-top: 1px solid var(--rule);
    margin-top: var(--lg);
}

.section-header {
    margin-bottom: var(--lg);
}

.section-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: var(--xs);
}

.section-date {
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--ink-tertiary);
    text-transform: none;
}

.section-desc {
    font-size: 0.85rem;
    color: var(--ink-tertiary);
}

.chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--lg);
}

/* ============================================
   CHART CARDS
   ============================================ */

.chart-card {
    background: var(--paper);
    padding: var(--lg) var(--md) var(--md);
    position: relative;
}

.card-accent {
    position: absolute;
    top: 0;
    left: var(--md);
    width: 40px;
    height: 3px;
    background: var(--burgundy);
}

.card-headline {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--ink);
    margin-bottom: var(--xs);
}

.card-subtitle {
    font-size: 0.8rem;
    color: var(--ink-tertiary);
    margin-bottom: var(--sm);
}

.card-timeframe {
    display: flex;
    gap: 2px;
    background: var(--paper-dark, #e8e4df);
    border-radius: 4px;
    padding: 2px;
    width: fit-content;
    margin-bottom: var(--sm);
}

.tf-btn-sm {
    font-family: var(--sans);
    font-size: 0.6rem;
    font-weight: 500;
    padding: 3px 8px;
    border: none;
    background: transparent;
    color: var(--ink-secondary);
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.15s ease;
}

.tf-btn-sm:hover {
    color: var(--ink);
}

.tf-btn-sm.active {
    background: var(--paper);
    color: var(--burgundy);
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.card-chart {
    height: 100px;
    margin-bottom: var(--md);
    position: relative;
}

.mini-chart {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.mini-line {
    stroke: var(--teal);
    stroke-width: 2;
    fill: none;
}

.mini-dot {
    fill: var(--teal);
}

.mini-y-label {
    font-family: var(--sans);
    font-size: 9px;
    fill: var(--ink-tertiary);
    text-anchor: start;
}

.mini-x-label {
    font-family: var(--sans);
    font-size: 9px;
    fill: var(--ink-tertiary);
    text-anchor: start;
}

.mini-x-label:last-of-type {
    text-anchor: end;
}

.dual-value {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.value-column {
    display: flex;
    flex-direction: column;
}

.value-column:last-child {
    margin-left: 50px;
}

.value-column .card-number {
    color: var(--teal);
}

.value-column .card-number.secondary {
    font-size: 1.4rem;
    color: var(--burgundy);
}

.value-column .card-range {
    margin-top: 2px;
}

/* Chart tooltip */
.chart-tooltip {
    position: absolute;
    background: var(--ink);
    color: var(--paper);
    padding: 6px 10px;
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 0.75rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 10;
    white-space: nowrap;
    transform: translateX(-50%);
}

.chart-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--ink);
}

/* Bar chart styles */
.bar-chart .zero-line {
    stroke: var(--rule);
    stroke-width: 1;
}

.bar-chart .bar.positive {
    fill: var(--teal);
}

.bar-chart .bar.negative {
    fill: var(--burgundy);
}

.bar {
    rx: 1;
}

.bar.positive {
    fill: var(--teal);
}

.bar.negative {
    fill: var(--negative);
}

.zero-line {
    stroke: var(--rule);
    stroke-width: 1;
}

/* Card values */
.card-value {
    display: flex;
    align-items: baseline;
    gap: var(--md);
    margin-bottom: var(--md);
}

.card-number {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--burgundy);
}

.card-range {
    font-size: 0.75rem;
    color: var(--ink-tertiary);
}

.card-insight {
    font-family: var(--sans);
    font-size: 0.85rem;
    color: var(--ink-secondary);
    line-height: 1.6;
}

.card-insight p {
    margin: 0;
}

.card-wide {
    grid-column: 1 / -1;
}

/* ============================================
   SENTIMENT SECTION - 3 Column Grid
   ============================================ */

.sentiment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--lg);
}

.sentiment-card {
    background: white;
    padding: var(--lg);
    border-left: 3px solid var(--burgundy);
}

.sentiment-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--md);
}

.sentiment-card-title {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

.sentiment-card-subtitle {
    font-family: var(--sans);
    font-size: 0.75rem;
    color: var(--ink-tertiary);
    margin-top: 2px;
}

.sentiment-card-meta {
    font-family: var(--sans);
    font-size: 0.65rem;
    color: var(--ink-tertiary);
    text-align: right;
}

.sentiment-card-insight {
    font-family: var(--sans);
    font-size: 0.8rem;
    color: var(--ink-secondary);
    line-height: 1.5;
    margin-top: var(--md);
    padding-top: var(--md);
    border-top: 1px solid var(--rule);
}

/* ============================================
   MARKET MOOD MATRIX (Compact for 3-col)
   ============================================ */

.mood-matrix-compact {
    display: flex;
    gap: 12px;
    margin-bottom: var(--md);
}

.mood-y-axis-compact {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: var(--sans);
    font-size: 0.6rem;
    color: var(--ink-tertiary);
    padding: 8px 0;
    text-align: right;
    width: 50px;
}

.mood-grid-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2px;
    flex: 1;
    aspect-ratio: 1;
    max-width: 180px;
}

.mood-cell-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--sans);
    font-size: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-tertiary);
    background: var(--paper-dark);
    padding: 4px;
    text-align: center;
    border-radius: 2px;
}

.mood-cell-compact.active {
    background: var(--teal);
    color: white;
}

.mood-cell-compact.cell-gold { background: rgba(139, 115, 85, 0.15); }
.mood-cell-compact.cell-green { background: rgba(45, 106, 106, 0.15); }
.mood-cell-compact.cell-green-strong { background: rgba(45, 106, 106, 0.25); }
.mood-cell-compact.cell-red { background: rgba(114, 47, 55, 0.15); }
.mood-cell-compact.cell-red-strong { background: rgba(114, 47, 55, 0.25); }

.mood-x-axis-compact {
    display: flex;
    justify-content: space-between;
    font-family: var(--sans);
    font-size: 0.6rem;
    color: var(--ink-tertiary);
    margin-top: 8px;
    margin-left: 62px;
    max-width: 180px;
}

.mood-current-value {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: var(--md);
}

.mood-label-big {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--teal);
}

/* ============================================
   FEAR & GREED INDEX
   ============================================ */

.fg-timeframe-btns {
    display: flex;
    gap: 4px;
}

.fg-tf-btn {
    font-family: var(--sans);
    font-size: 0.65rem;
    padding: 4px 10px;
    border: 1px solid var(--rule);
    background: transparent;
    border-radius: 3px;
    cursor: pointer;
    color: var(--ink-secondary);
    transition: all 0.15s ease;
}

.fg-tf-btn:hover {
    color: var(--ink);
}

.fg-tf-btn.active {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
}

.fg-chart-container {
    height: 100px;
    margin: var(--md) 0;
    position: relative;
}

.fg-chart-svg {
    width: 100%;
    height: 100%;
}

.fg-grid-line {
    stroke: var(--rule);
    stroke-width: 1;
}

.fg-neutral-line {
    stroke: var(--gold);
    stroke-width: 1;
    stroke-dasharray: 4, 4;
}

.fg-line {
    stroke: var(--teal);
    stroke-width: 2;
    fill: none;
}

.fg-dot {
    fill: var(--teal);
}

.fg-zones {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: var(--sans);
    font-size: 0.6rem;
    color: var(--ink-tertiary);
    padding: 5px 0;
}

.fg-zone-greed { color: var(--teal); }
.fg-zone-fear { color: var(--burgundy); }
.fg-zone-neutral { color: var(--gold); }

.fg-value-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.fg-value-main {
    display: flex;
    flex-direction: column;
}

.fg-number {
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--teal);
    line-height: 1;
}

.fg-number.fear {
    color: var(--burgundy);
}

.fg-number.neutral {
    color: var(--gold);
}

.fg-change {
    font-family: var(--sans);
    font-size: 0.75rem;
    color: var(--ink-tertiary);
    margin-top: 4px;
}

.fg-label {
    text-align: right;
}

.fg-word {
    font-family: var(--serif);
    font-size: 1.2rem;
    color: var(--teal);
}

.fg-word.fear {
    color: var(--burgundy);
}

.fg-word.neutral {
    color: var(--gold);
}

.fg-percentile {
    font-family: var(--sans);
    font-size: 0.7rem;
    color: var(--ink-tertiary);
    margin-top: 2px;
}

/* ============================================
   MACRO CORRELATION
   ============================================ */

.regime-box {
    padding: 12px 16px;
    margin-bottom: var(--lg);
    border-left: 3px solid var(--burgundy);
    background: rgba(114, 47, 55, 0.08);
}

.regime-box.transitional {
    border-left-color: var(--gold);
    background: rgba(139, 115, 85, 0.08);
}

.regime-box.decorrelated {
    border-left-color: var(--forest);
    background: rgba(45, 80, 22, 0.08);
}

.regime-label {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--burgundy);
    margin-bottom: 4px;
}

.regime-box.transitional .regime-label {
    color: var(--gold);
}

.regime-box.decorrelated .regime-label {
    color: var(--forest);
}

.regime-title {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 600;
    font-style: italic;
    color: var(--ink);
}

.correlation-rows {
    margin-bottom: var(--sm);
}

.correlation-row {
    display: grid;
    grid-template-columns: 70px 1fr;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.corr-asset-name {
    text-align: right;
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ink);
}

.corr-bar-container {
    display: flex;
    align-items: center;
}

.corr-bar-track {
    width: 120px;
    height: 16px;
    background: var(--paper-dark);
    border-radius: 2px;
    position: relative;
}

.corr-bar-center {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--rule);
}

.corr-bar-fill {
    position: absolute;
    top: 3px;
    height: 10px;
    border-radius: 1px;
}

.corr-bar-fill.positive {
    left: 50%;
    background: var(--burgundy);
}

.corr-bar-fill.negative {
    right: 50%;
    background: var(--forest);
}

.corr-bar-fill.neutral {
    background: var(--gold);
}

.corr-value-label {
    margin-left: 8px;
    font-family: var(--serif);
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 45px;
}

.corr-value-label.positive { color: var(--burgundy); }
.corr-value-label.negative { color: var(--forest); }
.corr-value-label.neutral { color: var(--gold); }

.correlation-legend {
    display: flex;
    gap: var(--md);
    padding-top: 12px;
    border-top: 1px solid var(--rule);
    margin-top: var(--sm);
}

.corr-legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--sans);
    font-size: 0.6rem;
    color: var(--ink-tertiary);
}

.corr-legend-swatch {
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

.corr-legend-swatch.correlated { background: var(--burgundy); }
.corr-legend-swatch.transitional { background: var(--gold); }
.corr-legend-swatch.decorrelated { background: var(--forest); }

/* ============================================
   LOCKED STATE (Your Focus)
   ============================================ */

.section-locked {
    opacity: 0.7;
}

.locked-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--xxl);
    background: var(--paper-dark);
    border: 1px dashed var(--rule);
    border-radius: 8px;
    text-align: center;
}

.locked-icon {
    color: var(--ink-tertiary);
    margin-bottom: var(--md);
}

.locked-title {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: var(--sm);
}

.locked-desc {
    font-size: 0.85rem;
    color: var(--ink-secondary);
    margin-bottom: var(--lg);
}

.btn-primary {
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--paper);
    background: var(--burgundy);
    border: none;
    padding: var(--sm) var(--lg);
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-primary:hover {
    background: var(--burgundy-light);
}

/* ============================================
   ANALYST BYLINE
   ============================================ */

.analyst-byline {
    display: flex;
    align-items: center;
    gap: var(--md);
    margin-top: var(--lg);
    padding: var(--md);
    background: var(--paper-dark);
    border-radius: 4px;
}

.analyst-avatar {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
}

.analyst-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.analyst-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.analyst-name {
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
}

.analyst-role {
    font-family: var(--sans);
    font-size: 0.75rem;
    color: var(--ink-tertiary);
    margin-top: 2px;
}

.analyst-brand {
    margin-left: auto;
}

.brand-mark {
    font-family: var(--serif-display);
    font-size: 1.5rem;
    color: var(--ink);
}

.brand-mark strong {
    font-weight: 700;
}

.brand-mark .brand-dot {
    color: var(--gold);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--paper);
    border-top: 1px solid var(--rule);
    padding: var(--xl) var(--lg);
    margin-top: var(--xxl);
}

.footer-content {
    max-width: 1024px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: var(--xs);
    margin-bottom: var(--sm);
}

.footer-logo {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
}

.footer-name {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--ink-secondary);
}

.footer-tagline {
    font-family: var(--serif);
    font-size: 1rem;
    color: var(--burgundy);
    margin-bottom: var(--lg);
}

.footer-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--lg);
    flex-wrap: wrap;
}

.footer-disclaimer {
    font-size: 0.7rem;
    color: var(--ink-tertiary);
}

.footer-links {
    display: flex;
    gap: var(--md);
}

.footer-links a {
    font-size: 0.75rem;
    color: var(--ink-secondary);
}

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

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
    .sentiment-grid {
        grid-template-columns: 1fr;
    }
    
    .mood-grid-compact {
        max-width: 250px;
    }
    
    .mood-x-axis-compact {
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .masthead {
        flex-direction: column;
        gap: var(--sm);
    }
    
    .masthead-left,
    .masthead-right {
        display: none;
    }
    
    .section-nav {
        gap: var(--md);
    }
    
    .picture-main {
        padding: var(--lg) var(--md);
    }
    
    .chart-headline {
        font-size: 1.4rem;
    }
    
    .chart-top-row {
        flex-direction: column;
        gap: var(--md);
    }
    
    .chart-value-box {
        text-align: left;
    }
    
    .value-primary {
        justify-content: flex-start;
    }
    
    .chart-content-row {
        grid-template-columns: 1fr;
        gap: var(--lg);
    }
    
    .editorial-columns {
        grid-template-columns: 1fr;
        gap: var(--md);
    }
    
    .value-number {
        font-size: 2.5rem;
    }
    
    .chart-grid {
        grid-template-columns: 1fr;
    }
    
    .fg-value-row {
        flex-direction: column;
        gap: var(--sm);
    }
    
    .fg-label {
        text-align: left;
    }
    
    .correlation-row {
        grid-template-columns: 60px 1fr;
    }
    
    .corr-bar-track {
        width: 100px;
    }
    
    .correlation-legend {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .chart-headline {
        font-size: 1.2rem;
    }
    
    .value-number {
        font-size: 2rem;
    }
    
    .insight-column,
    .events-column {
        font-size: 0.9rem;
    }
    
    .card-headline {
        font-size: 0.95rem;
    }
    
    .fg-number {
        font-size: 1.6rem;
    }
    
    .fg-word {
        font-size: 1rem;
    }
    
    .mood-label-big {
        font-size: 1.1rem;
    }
}

/* =====================
   FLOATING BACK TO TOP - FT Style
   ===================== */
.back-to-top-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: var(--burgundy);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top-float:hover {
    background: var(--ink);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.back-to-top-float:hover svg {
    stroke: var(--white);
}

.back-to-top-float.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-float svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
    stroke-width: 2.5;
    transition: stroke 0.2s ease;
}

@media (max-width: 600px) {
    .back-to-top-float {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    .back-to-top-float svg {
        width: 18px;
        height: 18px;
    }
}


/* =====================
   YOUR FOCUS - Unlocked State
   ===================== */
.unlocked-state {
    padding: 32px;
    background: var(--paper);
    border-radius: 8px;
}

.portfolio-settings {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.portfolio-region,
.portfolio-coins {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.portfolio-label {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-tertiary);
}

.portfolio-value {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
}

.region-flag {
    font-size: 20px;
}

.coin-list {
    display: flex;
    gap: 6px;
}

.coin-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-secondary);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 6px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-secondary);
    cursor: pointer;
    transition: all 0.15s;
    margin-left: auto;
}

.btn-secondary:hover {
    border-color: var(--ink-tertiary);
    color: var(--ink);
}

.btn-secondary svg {
    stroke: currentColor;
}

.portfolio-hint {
    margin-top: 16px;
    font-family: var(--sans);
    font-size: 13px;
    color: var(--ink-tertiary);
    font-style: italic;
}

@media (max-width: 600px) {
    .portfolio-settings {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 8px;
    }
}

/* ============================================
   SIRRUNA CONDITIONS INDEX (SCI) SECTION
   ============================================ */

/* ============================================
   SCI - EDITORIAL FIRST REDESIGN
   Max-width 800px to match Today page
   ============================================ */

.sci-wrapper {
    max-width: 1024px;
    margin: 0 auto var(--xxl);
    padding: var(--xl) var(--lg) var(--xl);
}

/* The Sirruna View - Main Editorial */
.sci-view-section {
    margin-bottom: var(--xl);
}

.sci-view-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: var(--lg);
    padding-bottom: var(--md);
    border-bottom: 1px solid var(--rule);
}

.sci-view-marker {
    width: 4px;
    height: 32px;
    background: var(--burgundy);
    border-radius: 2px;
    flex-shrink: 0;
    margin-top: 4px;
}

.sci-view-meta {
    flex: 1;
}

.sci-view-title {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
    color: var(--ink);
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.sci-view-date {
    font-family: var(--sans);
    font-size: 13px;
    color: var(--ink-tertiary);
}

/* Two-column layout: Editorial + Radar */
.sci-view-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: var(--xl);
    align-items: start;
}

/* Editorial Column */
.sci-view-editorial {
    /* Main content */
}

.sci-view-regime {
    margin-bottom: var(--lg);
}

.sci-view-regime-label {
    display: block;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink-tertiary);
    margin-bottom: 4px;
}

.sci-view-regime-name {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
}

.sci-view-regime-name.expansion { color: var(--teal); }
.sci-view-regime-name.consolidation { color: var(--gold); }
.sci-view-regime-name.caution { color: var(--burgundy); }

.sci-view-body {
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.8;
    color: var(--ink);
    margin-bottom: var(--lg);
}

.sci-view-body p {
    margin-bottom: 16px;
}

.sci-view-body p:last-child {
    margin-bottom: 0;
}

.sci-view-body strong {
    color: var(--burgundy);
    font-weight: 600;
}

.sci-view-implications {
    background: var(--paper-dark);
    padding: 20px 24px;
    border-left: 3px solid var(--gold);
    margin-top: var(--lg);
}

.sci-view-implications.expansion { border-left-color: var(--teal); }
.sci-view-implications.consolidation { border-left-color: var(--gold); }
.sci-view-implications.caution { border-left-color: var(--burgundy); }

.sci-implications-text {
    font-family: var(--serif);
    font-size: 16px;
    font-style: italic;
    color: var(--ink);
    line-height: 1.6;
    margin: 0;
}

/* Radar Column (Supporting) */
.sci-view-radar {
    position: sticky;
    top: 100px;
}

.sci-radar-container {
    background: var(--paper-dark);
    border-radius: 8px;
    padding: 16px;
}

.sci-radar-svg {
    width: 100%;
    height: auto;
}

.sci-radar-caption {
    font-family: var(--sans);
    font-size: 11px;
    color: var(--ink-tertiary);
    text-align: center;
    margin: 12px 0 0 0;
}

/* Component Breakdown - Editorial Style */
.sci-components-section {
    padding-top: var(--lg);
    border-top: 1px solid var(--rule);
}

.sci-components-header {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
    margin-bottom: var(--md);
}

.sci-components-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--md);
}

.sci-component-item {
    background: var(--paper-dark);
    padding: 16px;
    border-radius: 4px;
}

.sci-component-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.sci-component-name {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--ink-tertiary);
}

.sci-component-score {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 16px;
}

.sci-component-score.high { color: var(--teal); }
.sci-component-score.medium { color: var(--gold); }
.sci-component-score.low { color: var(--burgundy); }

.sci-component-bar {
    height: 3px;
    background: var(--rule);
    border-radius: 2px;
    margin-bottom: 10px;
    overflow: hidden;
}

.sci-component-fill {
    height: 100%;
    border-radius: 2px;
}

.sci-component-fill.high { background: var(--teal); }
.sci-component-fill.medium { background: var(--gold); }
.sci-component-fill.low { background: var(--burgundy); }

.sci-component-context {
    font-family: var(--sans);
    font-size: 12px;
    color: var(--ink-secondary);
    line-height: 1.5;
    margin: 0;
}

.sci-source-line {
    margin-top: var(--md);
    font-family: var(--sans);
    font-size: 10px;
    color: var(--ink-tertiary);
}

/* Responsive */
@media (max-width: 768px) {
    .sci-view-layout {
        grid-template-columns: 1fr;
    }
    
    .sci-view-radar {
        position: static;
        order: -1;
        max-width: 280px;
        margin: 0 auto var(--lg);
    }
    
    .sci-components-grid {
        grid-template-columns: 1fr;
    }
    
    .sci-view-title {
        font-size: 24px;
    }
    
    .sci-view-regime-name {
        font-size: 26px;
    }
}

/* Hide old styles - they're removed from HTML */
.sci-section,
.sci-editorial-section,
.sci-history-section {
    display: none;
}
