: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;
}

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

.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;
}

.search {
  margin: 15px 0 0;
}

.search input {
  display: block;
  width: 100%;
  height: 34px;
  margin: 0;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  line-height: 1;
  appearance: none;
}

.search input:focus {
  outline: 1px solid var(--text);
  outline-offset: 0;
}

.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;
  font-weight: 700;
}

.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;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 9px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
}

.tags[hidden] {
  display: none;
}

.tags a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

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

.share-actions {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
}

.share-actions[hidden] {
  display: none;
}

.share-actions a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.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;
}

.share-page {
  max-width: 560px;
}

.share-card-wrap {
  margin: 18px 0 0;
}

.share-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-top: 1px solid #c7c7c7;
  border-bottom: 1px solid #c7c7c7;
  background: #fbfbfa;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px 30px 40px;
  text-align: center;
}

.share-card-brand {
  margin: 0;
}

.share-card-brand strong {
  display: block;
  font-size: 25px;
  line-height: 1.05;
}

.share-card-brand span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.share-card-main {
  margin: 0;
}

.share-card-blurb {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 5.4vw, 50px);
  line-height: 1.26;
}

.share-card-source {
  display: inline-block;
  margin-top: 38px;
  font-size: clamp(24px, 4.6vw, 42px);
  line-height: 1.05;
  font-weight: 700;
}

.share-card-footer {
  margin: 0;
  color: #c01818;
  font-size: clamp(12px, 2.3vw, 24px);
  line-height: 1.2;
  font-weight: 700;
}

.share-card-footer a {
  color: #c01818;
}

.share-tools {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.share-tools a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
