:root {
  color-scheme: light dark;
  font: 100%/1.6 "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
  max-width: 45rem;
  margin: auto;
  padding: 1.25rem;
  overflow-wrap: break-word;
}

.site-title {
  color: inherit;
  font-size: 2rem;
  font-weight: bold;
  text-decoration: none;
}

main { margin-block: 2rem; }
footer, time { font-size: 0.9rem; }
.essays { padding: 0; list-style: none; }
.essays time { margin-inline-end: 0.75rem; }
.essays .tag { opacity: 0.3; }
.essays .draft { opacity: 0.3; }
.essays .tag a { color: inherit; text-decoration: none; }
blockquote { margin-inline: 0; padding-inline-start: 1rem; border-inline-start: 2px solid gray; font-style: italic; }
.katex-display { overflow-x: auto; overflow-y: hidden; }
pre { overflow-x: auto; padding: 0.75rem; }
img { max-width: 100%; height: auto; }

.draft-corner {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1;
  width: 6rem;
  height: 6rem;
  overflow: hidden;
  pointer-events: none;
}

.draft-corner span {
  position: absolute;
  top: 1.25rem;
  right: -2rem;
  width: 8rem;
  transform: rotate(45deg);
  background: #a91e28;
  color: white;
  font-size: 0.875rem;
  font-weight: bold;
  text-align: center;
}
