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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

header {
    margin-bottom: 2rem;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
}

.tagline {
    color: #666;
    font-size: 0.9rem;
}

/* Search */
.search-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.search-form input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    border: 2px solid #ccc;
    border-radius: 4px;
}

.search-form input:focus {
    outline: none;
    border-color: #333;
}

.search-form button {
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Results */
.results-list {
    list-style: none;
}

.results-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.results-list a {
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
}

.results-list a:hover {
    text-decoration: underline;
}

.year {
    color: #666;
    margin-left: 0.25rem;
}

.badge {
    font-size: 0.75rem;
    background: #eee;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    margin-left: 0.5rem;
}

.event-count {
    color: #888;
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.no-results {
    color: #666;
    padding: 1rem 0;
}

/* Detail */
h1 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.content-meta {
    color: #666;
    margin-bottom: 1.5rem;
}

.events-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.events-table th {
    text-align: left;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #888;
    padding: 0.5rem 0.5rem;
    border-bottom: 2px solid #ddd;
}

.events-table td {
    padding: 0.5rem 0.5rem;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.episode-header td {
    font-weight: 700;
    background: #f5f5f5;
    padding-top: 0.75rem;
    border-bottom: 1px solid #ddd;
}

.intensity {
    font-size: 0.8rem;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
}

.intensity-low {
    background: #d4edda;
    color: #155724;
}

.intensity-medium {
    background: #fff3cd;
    color: #856404;
}

.intensity-high {
    background: #f8d7da;
    color: #721c24;
}

.back-link {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

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

footer {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    color: #999;
    font-size: 0.8rem;
}
