:root {
  color-scheme: light dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f5f0;
  color: #171814;
}

body {
  margin: 0;
}

.topbar {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #d7d7ce;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 20px clamp(16px, 4vw, 48px);
  position: sticky;
  top: 0;
  z-index: 2;
}

h1 {
  font-size: 24px;
  line-height: 1.1;
  margin: 0;
}

#status {
  color: #5f625b;
  margin: 6px 0 0;
}

button {
  border: 1px solid #b9bab0;
  border-radius: 6px;
  box-sizing: border-box;
  font: inherit;
  min-height: 40px;
  padding: 8px 12px;
}

button {
  background: #1f6f5b;
  border-color: #1f6f5b;
  color: white;
  cursor: pointer;
  font-weight: 650;
}

main {
  margin: 0 auto;
  max-width: 760px;
  padding: 24px 16px 48px;
}

.timeline {
  align-items: center;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.embed-shell {
  min-height: 180px;
  width: 100%;
}

.pager {
  display: flex;
  justify-content: center;
  padding: 24px 0 0;
}

.empty {
  background: #ffffff;
  border: 1px solid #d7d7ce;
  border-radius: 8px;
  color: #5f625b;
  padding: 20px;
  text-align: center;
}

@media (max-width: 720px) {
  .topbar {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    background: #161712;
    color: #f1f1ec;
  }

  .topbar,
  .empty {
    background: #20211c;
    border-color: #3a3c34;
  }
}
