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

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --border: #222;
  --text: #e0e0e0;
  --text-dim: #777;
  --accent: #fff;
  --link: #8ab4f8;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
  min-height: 100vh;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px;
}

/* Header */
header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

header h1 {
  font-size: 65px;
  font-weight: 800;
  letter-spacing: 6px;
  color: var(--accent);
  margin-bottom: 2px;
}

header .subtitle {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
}

header .week-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

header .week-range {
  font-size: 11px;
  color: var(--text-dim);
}

.week-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  width: 28px;
  height: 28px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.week-btn:hover {
  border-color: #444;
  color: var(--accent);
}

/* Day groups */
.day-group {
  margin-bottom: 16px;
}

.day-header {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}

.event-item {
  padding: 4px 0;
  font-size: 13px;
}

.event-row {
  display: grid;
  grid-template-columns: 42px 1fr auto auto auto;
  gap: 8px;
  align-items: baseline;
  cursor: pointer;
}

.event-time {
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.event-title {
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-venue {
  color: #547c54;
  font-size: 12px;
  white-space: nowrap;
}

.event-tags {
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 400;
}

.event-link a {
  color: var(--link);
  text-decoration: none;
  font-size: 11px;
}

.event-link a:hover {
  text-decoration: underline;
}

/* Expandable detail */
.event-detail {
  display: none;
  padding: 6px 0 8px 50px;
  font-size: 12px;
  line-height: 1.5;
}

.event-detail.open {
  display: block;
}

.detail-venue {
  color: #547c54;
  margin-bottom: 2px;
}

.detail-tags {
  color: var(--text-dim);
  font-size: 11px;
  margin-bottom: 2px;
}

.detail-link {
  margin-bottom: 4px;
}

.detail-link a {
  color: var(--link);
  text-decoration: none;
  font-size: 11px;
}

.detail-link a:hover {
  text-decoration: underline;
}

.detail-info {
  color: var(--text-dim);
  font-style: italic;
  font-size: 11px;
  margin-top: 4px;
}

/* Mobile: hide inline tags/link, show time + title + venue */
@media (max-width: 600px) {
  .event-row {
    grid-template-columns: 42px 1fr auto;
  }

  .event-row .event-tags,
  .event-row .event-link {
    display: none;
  }

  .event-detail {
    padding-left: 42px;
  }
}

/* Empty state */
.empty {
  text-align: center;
  padding: 48px 0;
  color: var(--text-dim);
}

/* Footer */
footer {
  text-align: center;
  padding-top: 16px;
  margin-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: #444;
}

.footer-contact {
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-dim);
}

.footer-contact a {
  color: var(--link);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}
