:root {
    --bg-color: #fafafa;
    --card-bg: #ffffff;
    --text-color: #24292e;
    --text-muted: #586069;
    --accent-color: #0366d6;
    --border-color: #e1e4e8;
    --radius: 8px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 680px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ---- Title and Time ---- */
h1 {
    font-size: 2rem;
    margin-bottom: 4px;
}

.update-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ---- word block ---- */
section {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

section h2 {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

/* ---- now list ---- */
.current-now ul {
    margin: 0;
    padding-left: 20px;
}

.current-now li {
    margin-bottom: 12px;
}

.current-now li:last-child {
    margin-bottom: 0;
}

/* ---- past list ---- */
.archives details {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 12px;
    padding: 12px 16px;
    transition: background-color 0.2s ease;
}

.archives details[open] {
    background-color: var(--card-bg);
}

.archives summary {
    font-weight: 600;
    cursor: pointer;
    color: var(--accent-color);
    outline: none;
    user-select: none;
}

.archives summary:hover {
    text-decoration: underline;
}

.archives details p {
    margin: 12px 0 0 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}