:root {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --card-hover: #252525;
    --text-main: #e0e0e0;
    --text-sub: #a0a0a0;
    --accent: #81c784;
    --border-color: #333333;
}

body {
    font-family: sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.summary-container {
    width: 100%;
    max-width: 1000px;
    padding: 20px;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

/* Year Card Styling */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.year-card-link {
    text-decoration: none; /* No underline */
    color: inherit;       /* Matches text color */
}

.year-card-link:visited {
    color: inherit;       /* No color change after click */
}

.year-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    transition: transform 0.2s, background 0.2s;
    cursor: pointer;
}

.year-card:hover {
    background: var(--card-hover);
    transform: translateY(-2px);
}

.year-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--accent);
    display: block;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 4px;
    color: var(--text-sub);
}

.stat-val {
    color: var(--text-main);
    font-weight: bold;
}

.load-timestamp {
    font-size: 0.75rem;
    color: var(--text-sub);
}
