/* Legend Tracker - Missing Layout Styles */

.legend-section {
    margin-bottom: 20px;
}

.legend-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-dim, #666);
    font-size: 14px;
    line-height: 1.8;
    font-family: 'Courier New', monospace;
}

.legend-stats-summary {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legend-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
}

.legend-stat-val {
    font-size: 24px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    color: var(--text, #ccc);
}

.legend-stat-val.active { color: var(--blood, #c41e3a); text-shadow: 0 0 5px var(--blood-glow, rgba(196, 30, 58, 0.4)); }
.legend-stat-val.dormant { color: var(--text-dim, #666); }
.legend-stat-val.completed { color: #2ecc71; text-shadow: 0 0 5px rgba(46, 204, 113, 0.3); }

.legend-stat-lbl {
    font-size: 11px;
    color: var(--text-dim, #666);
    margin-top: 4px;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legend-purify-hint {
    margin-top: 8px;
    font-size: 12px;
    color: #f1c40f;
    text-shadow: 0 0 5px rgba(241, 196, 15, 0.3);
}

.legend-echo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-left: 2px solid var(--accent-blue, #3498db);
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--text, #ccc);
}

.legend-echo-time {
    font-size: 11px;
    color: var(--accent-blue, #3498db);
    font-family: 'Courier New', monospace;
}

.ending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    padding: 8px 0;
}

.ending-icon {
    font-size: 28px;
    text-align: center;
    margin-bottom: 6px;
}

.ending-name {
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    color: var(--text, #ccc);
    font-family: 'Courier New', monospace;
}

.ending-desc {
    font-size: 11px;
    color: var(--text-dim, #666);
    text-align: center;
    margin-top: 4px;
    line-height: 1.4;
}

.legend-progress-container {
    margin-bottom: 16px;
}

.legend-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--text, #ccc);
    font-family: 'Courier New', monospace;
}

.legend-progress-value-discovery,
.legend-progress-value-ending {
    color: var(--blood, #c41e3a);
    font-weight: bold;
}
