:root {
  color-scheme: light;
  --border: #d9d9d9;
  --muted: #666666;
  --text: #111111;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #ffffff;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: Consolas, "Lucida Console", "Courier New", monospace;
  line-height: 1.42;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 25px 16px 17px;
  display: flex;
  flex-direction: column;
}

.masthead {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

h1 {
  margin: 0;
  font-size: 25px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0;
}

.masthead p,
.status,
.archive,
.date,
footer {
  color: var(--muted);
  font-size: 12px;
}

.masthead p {
  margin: 12px 0 0;
}

.archive {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 18px;
  margin: 0;
  padding: 18px 0 17px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.archive:empty {
  display: none;
}

.archive a {
  display: inline-block;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.archive a.current {
  color: var(--text);
  font-weight: 700;
}

.status {
  margin: 19px 0 15px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  max-width: 350px;
}

.status:empty {
  display: none;
}

.feed {
  border-bottom: 1px solid var(--border);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0 0;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
}

.pagination[hidden] {
  display: none;
}

.pagination button {
  min-width: 30px;
  min-height: 30px;
  padding: 0 8px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.pagination button.current {
  background: var(--text);
  border-color: var(--text);
  color: #ffffff;
}

.pagination button:disabled {
  color: var(--muted);
  cursor: default;
  opacity: 0.45;
}

.date {
  margin: 20px 0 8px;
  scroll-margin-top: 15px;
}

.item {
  padding: 0 0 17px;
  margin: 0 0 17px;
  border-bottom: 1px solid var(--border);
}

.item:last-child {
  margin-bottom: 0;
}

.blurb {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.region {
  color: var(--muted);
}

.empty {
  margin: 20px 0 17px;
  color: var(--muted);
  font-size: 16px;
}

main {
  flex: 1;
}

footer {
  margin-top: auto;
  padding-top: 15px;
}
