:root {
  --bg: #000000;
  --bg-soft: #0e0e0e;
  --text: #dbe6f5;
  --dim: #8a9bb5;
  --accent: #5b9ae0;
  --hover: #a8d0ff;
  --mono: "Courier New", Courier, monospace;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #e7dcc6;
  --bg-soft: #d9cbb0;
  --text: #333300;
  --dim: #6b6a47;
  --accent: #669900;
  --hover: #cc9900;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a {
  color: var(--accent);
  transition: color 0.6s ease;
}
a:hover {
  color: var(--hover);
  font-style: italic;
  text-decoration: none;
}
.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 0.75rem 1.5rem;
}
.site-title a {
  color: var(--text);
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: -0.01em;
  text-decoration: none;
  text-transform: uppercase;
}
.site-title a:hover {
  color: var(--hover);
}
.site-title .sep {
  color: var(--accent);
  letter-spacing: 0.05em;
}
.icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.icons a {
  color: var(--text);
  display: inline-flex;
  transition: color 0.2s ease;
}
.icons a:hover {
  color: var(--hover);
}
.icons svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}
.theme-toggle {
  display: none;
  align-items: center;
  padding: 0;
  background: none;
  border: 0;
  color: var(--text);
  font: inherit;
  transition: color 0.2s ease;
}
.has-js .theme-toggle {
  display: inline-flex;
}
.theme-toggle:hover {
  color: var(--hover);
}
.theme-toggle .sun {
  display: none;
}
:root[data-theme="light"] .theme-toggle .sun {
  display: block;
}
:root[data-theme="light"] .theme-toggle .moon {
  display: none;
}
.icons svg[fill="none"] {
  fill: none;
}
.icons svg.heart {
  width: auto;
  height: 13px;
}
.years {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.2rem;
  padding: 0.6rem 1.5rem;
  border-top: 1px dashed var(--accent);
  border-bottom: 1px dashed var(--accent);
  font-size: 1.1rem;
  font-weight: bold;
}
.years a {
  text-decoration: none;
}
.years a.on {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 1.75rem 1rem 1rem;
}
.photo {
  margin: 0 0 3.5rem;
}
.photo a.img {
  display: block;
}
.photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  margin: 0 auto;
  background: var(--bg-soft);
}
.cap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding-top: 0.5rem;
  color: var(--dim);
  font-size: 0.72rem;
}
.cap .what {
  font-weight: bold;
  text-decoration: none;
}
.note {
  max-width: 70ch;
  padding-top: 0.5rem;
  line-height: 1.8;
}
.note p {
  margin: 0 0 0.75rem;
}
.prose {
  max-width: 70ch;
  margin: 0 auto;
  line-height: 1.8;
}
.empty {
  text-align: center;
  color: var(--dim);
}
.more {
  height: 1px;
}
.pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.5rem 0 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
}
.pager a {
  text-decoration: none;
}
.js .pager {
  display: none;
}
.js .single + .pager {
  display: grid;
}
.foot {
  flex-shrink: 0;
  padding: 0 1.5rem 0.75rem;
}
.foot hr {
  border: none;
  border-top: 1px dashed var(--accent);
  margin: 0.75rem 0 0;
}
.to-top {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, color 0.2s ease, border-color 0.2s ease;
}
.to-top.show {
  opacity: 1;
  pointer-events: auto;
}
.to-top:hover {
  color: var(--hover);
  border-color: var(--hover);
}
.to-top svg {
  width: 1.2rem;
  height: 1.2rem;
}
@media (max-width: 600px) {
  .top, .years, .foot {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  main {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
