:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #16181d;
  --muted: #5c6470;
  --line: #e2e5ea;
  --accent: #067a54;
  --accent-soft: #e6f4ee;
  --radius: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a;
    --surface: #1c1f25;
    --text: #e9ecf1;
    --muted: #9aa3b0;
    --line: #2b3039;
    --accent: #4ec99a;
    --accent-soft: #1e3a30;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--accent); }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.brand {
  font-weight: 650;
  text-decoration: none;
  color: var(--text);
}

.langs { display: flex; gap: 4px; }

.langs a {
  padding: 3px 8px;
  border-radius: 7px;
  font-size: 13px;
  text-decoration: none;
  color: var(--muted);
}

.langs a.current { background: var(--accent-soft); color: var(--accent); font-weight: 600; }

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

h1 { font-size: 24px; line-height: 1.25; margin: 0 0 6px; }
h2 { font-size: 17px; margin: 28px 0 10px; }

.daystamp { color: var(--muted); margin: 0 0 4px; }
.count { color: var(--muted); margin: 0 0 18px; font-size: 14px; }
.muted { color: var(--muted); }

.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 10px;
  text-decoration: none;
  color: inherit;
}

.card h3 { margin: 0 0 4px; font-size: 17px; }
.card .addr { color: var(--muted); font-size: 14px; margin: 0 0 12px; }

.actions { display: flex; gap: 8px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 9px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 14px;
  font-weight: 550;
  color: var(--text);
}

.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }

.citylist { display: grid; gap: 10px; }

.citylist .card { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; }
.citylist .card .names { font-size: 13px; color: var(--muted); margin-top: 2px; }
.citylist .badge {
  flex: none;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 14px;
  font-weight: 650;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chips a {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  text-decoration: none;
  font-size: 14px;
  color: var(--text);
}

.chips a.current { border-color: var(--accent); color: var(--accent); font-weight: 600; }

.facts { list-style: none; padding: 0; margin: 0 0 18px; }
.facts li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts .label { flex: none; width: 110px; color: var(--muted); }

.dates { list-style: none; padding: 0; margin: 0; }
.dates li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.dates .now { font-weight: 650; color: var(--accent); }

.cta {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 32px;
}

.cta h2 { margin: 0 0 4px; font-size: 16px; }
.cta p { margin: 0 0 12px; font-size: 14px; color: var(--muted); }

.empty {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  color: var(--muted);
}

footer.site {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

footer.site a { color: var(--muted); }
