/* Shared styling for the events pages (index.html + today.html). */
:root {
  --bg: #101418;
  --panel: #181e24;
  --card: #1c232b;
  --text: #e8e4da;
  --muted: #9aa3ad;
  --accent: #e8b04b;
  --accent-ink: #22190a;
  --line: #2a333d;
  --radius: 14px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 "Helvetica Neue", Arial, system-ui, sans-serif;
}
header {
  padding: 40px 24px 12px;
  max-width: 1200px;
  margin: 0 auto;
}
h1 {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.1;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
h1 em { color: var(--accent); font-style: normal; }
.sub { color: var(--muted); margin: 0; }

.tabs {
  max-width: 1200px;
  margin: 18px auto 0;
  padding: 0 24px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}
.tab {
  padding: 9px 16px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab:hover { color: var(--text); }
.tab.on { color: var(--accent); border-bottom-color: var(--accent); }

.controls {
  max-width: 1200px;
  margin: 18px auto 0;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.controls input[type="search"] {
  flex: 1 1 220px;
  max-width: 340px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 15px;
  outline: none;
}
.controls input[type="search"]:focus { border-color: var(--accent); }
.chip {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  transition: all .15s ease;
}
.chip:hover { color: var(--text); }
.chip.on {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.spacer { flex-basis: 100%; height: 0; }

main {
  max-width: 1200px;
  margin: 26px auto 80px;
  padding: 0 24px;
}
.day-head {
  margin: 34px 0 14px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.day-head h2 {
  font-size: 18px;
  margin: 0;
  text-transform: capitalize;
}
.day-head .rule { flex: 1; height: 1px; background: var(--line); }
.day-head .n { color: var(--muted); font-size: 13px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .12s ease, border-color .12s ease;
}
.card:hover { transform: translateY(-2px); border-color: #3a4653; }
.thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #232b34, #2c3640);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4d5a68;
  font-size: 42px;
  font-weight: 700;
  overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.when {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.title { font-size: 17px; font-weight: 650; line-height: 1.3; margin: 0; }
.title a { color: inherit; text-decoration: none; }
.title a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.venue { color: var(--muted); font-size: 14px; }
.summary {
  color: #c4bfb4;
  font-size: 14px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.meta {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.tag {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 9px;
}
.price { font-size: 12px; color: var(--accent); margin-left: auto; }
.tickets {
  font-size: 13px;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 999px;
  padding: 3px 11px;
  text-decoration: none;
  font-weight: 600;
}
.empty { color: var(--muted); text-align: center; margin: 80px 0; }
footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 40px;
  color: var(--muted);
  font-size: 13px;
}
footer a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
footer a:hover { color: var(--accent); }
