/* underpass — hakcer.io theme. Sections land in later tasks. */

/* ============ tokens ============ */
:root {
  --wall: #000;
  --ink: #050505;
  --surface-1: #101010;
  --surface-2: #181818;
  --surface-3: #303030;
  --acid: #f5ff00;
  --magenta: #ff4fdf;
  --cyan: #00e5ff;
  --red: #ff3155;
  --paper: #e9e4d3;
  --paper-ink: #655f52;
  /* legacy semantic names retained for the existing templates */
  --amber: var(--acid);
  --phosphor: var(--cyan);
  --ember: var(--magenta);
  --purple: var(--magenta);
  --yellow: var(--acid);
  --bone: var(--paper);
  --text: #f4f0e4;
  --text-dim: #aaa69a;
  --font-mono: ui-monospace, Menlo, Consolas, "Courier New", monospace;
  --font-display: ui-monospace, Menlo, Consolas, "Courier New", monospace;
  /* ghost native font settings (5.40+) — fall back to the mono stacks */
  --gh-font-heading: var(--font-display);
  --gh-font-body: var(--font-mono);
  /* compact type scale: density over drama */
  --fs-hero: clamp(1.8rem, 4.5vw, 2.6rem);
  --fs-h1: clamp(1.3rem, 3vw, 1.8rem);
  --fs-h2: clamp(1.05rem, 2vw, 1.3rem);
  --fs-body: clamp(0.9rem, 1.4vw, 0.95rem);
  --fs-small: clamp(0.7rem, 1vw, 0.75rem);
}

/* ============ base ============ */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wall);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: var(--fs-body);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}
/* A photocopier screen laid over a black terminal void. Both layers are
   decorative and never accept input. */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
}
body::before {
  opacity: 0.42;
  background-image:
    radial-gradient(circle at 13% 17%, rgba(255,255,255,.18) 0 0.5px, transparent 0.8px),
    radial-gradient(circle at 72% 63%, rgba(245,255,0,.12) 0 0.6px, transparent 1px),
    radial-gradient(circle at 42% 83%, rgba(0,229,255,.1) 0 0.5px, transparent 0.9px);
  background-size: 13px 11px, 19px 17px, 23px 29px;
  mix-blend-mode: screen;
}
body::after {
  background: repeating-linear-gradient(
    0deg, rgba(255,255,255,.026) 0 1px, transparent 1px 4px);
}
a { color: var(--cyan); }
a:hover { color: var(--magenta); }
img { max-width: 100%; height: auto; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--yellow);
  color: var(--ink);
  padding: 0.4rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

.paint-layer {
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.paint-layer svg { width: 100%; height: 100%; }
.site-main, .site-header, .site-footer { position: relative; z-index: 1; }
/* articles tone the paint down: wall frames reading, never interrupts */
.post-template .paint-layer,
.page-template .paint-layer { opacity: 0.35; }

/* ============ utilities ============ */
.tilt-n3 { transform: rotate(-3deg); }
.tilt-n2 { transform: rotate(-2deg); }
.tilt-n1 { transform: rotate(-1deg); }
.tilt-p1 { transform: rotate(1deg); }
.tilt-p2 { transform: rotate(2deg); }
.tilt-p3 { transform: rotate(3deg); }

.chip {
  display: inline-block;
  padding: 0 0.4em;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink);
  background: var(--text);
  text-decoration: none;
}
.chip--cyan { background: var(--magenta); font-weight: 900; }
.chip--green { background: var(--acid); }

@keyframes hak-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.blink { animation: hak-blink 1.2s step-end infinite; }

/* ============ reduced motion: ALL animation stops ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ============ koenig card stubs (gscan) ============ */
.kg-width-wide {
  /* Placeholder for wide width card layout */
}

.kg-width-full {
  /* Placeholder for full width card layout */
}

/* ============ site header ============ */
.site-header { padding: 0.7rem 0 0; }
/* ============ terminal wordmark ============ */
.masthead { display: inline-block; text-decoration: none; }
.wordmark {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: clamp(2rem, 8vw, 2.9rem);
  letter-spacing: 0.04em;
  color: var(--acid);
  text-shadow:
    0 0 10px rgba(245, 255, 0, 0.7),
    0 0 28px rgba(245, 255, 0, 0.28),
    -2px 0 0 rgba(255, 79, 223, 0.5),
    2px 0 0 rgba(0, 229, 255, 0.42);
}
/* haKCer: the name is lowercase throughout except KC, which is Kansas
   City and takes the palette's red. Bare .kc carries it anywhere on the
   site (the footer's bbs link, body copy); the wordmark adds the glow
   that only the masthead wants. Matches bbs.hakcer.io's .hk-kc, same
   #ff1a1a, so the two properties cannot drift apart. */
.kc { color: var(--red); }
.wordmark .kc {
  color: var(--red);
  text-shadow:
    0 0 10px rgba(255, 49, 85, 0.9),
    0 0 26px rgba(255, 49, 85, 0.42);
}
.wordmark .tld { font-size: 0.55em; color: var(--acid); }
.wordmark .cursor {
  color: var(--cyan);
  margin-left: 0.08em;
  animation: hak-blink 1.2s step-end infinite;
}
.masthead-kicker {
  display: inline-block;
  margin: 0 0 0 0.7rem;
  padding: 0.05rem 0.35rem;
  color: var(--ink);
  background: var(--magenta);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  transform: rotate(1.5deg);
  vertical-align: 0.45rem;
}
.tagline {
  width: fit-content;
  margin: 0.25rem 0 0 0.7rem;
  padding: 0.12rem 0.55rem 0.18rem;
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  color: #24211b;
  background: var(--paper);
  box-shadow: 4px 3px 0 var(--cyan);
}
.tagline strong { font-size: 1.25em; color: #12100d; }
.tagline small { font-size: 0.8em; }
.site-nav {
  margin: 0.6rem 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.9rem;
  font-size: var(--fs-small);
}
.tilt-p4 { transform: rotate(2.5deg); }
.tilt-n5 { transform: rotate(-2.5deg); }

/* ============ skyline ============ */
.skyline { margin-top: 0.5rem; }
.skyline svg { display: block; width: 100%; }
@keyframes hak-flame { 0%, 100% { opacity: 0.9; } 50% { opacity: 0.55; } }
.skyline .flame { animation: hak-flame 2.6s ease-in-out infinite; }

/* ============ money line ============ */
.money-line {
  display: inline-block;
  margin: 0.9rem 0 0 1.2rem;
  font-size: var(--fs-small);
  color: var(--ink);
  background: var(--acid);
  padding: 0.35rem 0.9rem;
  box-shadow: 5px 5px 0 var(--magenta);
}
.money-shout {
  color: var(--yellow);
  font-weight: 900;
  font-size: 1.45em;
}
.money-btn {
  display: inline-block;
  margin-left: 0.5rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 0.05rem 0.6rem;
  text-decoration: none;
  font-size: 0.85em;
}

/* ============ spray band ============ */
.spray-band {
  margin: 0.6rem -0.9rem 0;
  padding: 0.45rem 2rem;
  background: linear-gradient(90deg,
    var(--magenta), var(--acid) 54%, var(--cyan));
  clip-path: polygon(0 18%, 3% 0, 22% 8%, 41% 0, 60% 10%, 78% 2%,
    97% 8%, 100% 30%, 99% 78%, 96% 100%, 74% 90%, 52% 100%, 30% 88%,
    9% 98%, 1% 84%);
  filter: url(#spray);
  overflow: hidden;
}
.spray-band__text {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.12em;
  font-size: 0.78em;
}
.spray-band .s1 { font-size: 1.1em; }
.spray-band .s2 { font-size: 0.75em; }
.spray-band .s3 { font-size: 0.95em; }
.spray-band .s4 { font-size: 1.25em; }

/* ============ home collage ============ */
.home-collage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  padding: 0.3rem 0 0.8rem;
  align-items: start;
}

/* ============ BBS portal / homepage hero ============ */
.bbs-portal {
  position: relative;
  margin: 1.2rem 0.2rem 1rem;
  padding: 1rem 1rem 1.4rem;
  color: var(--text);
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px,
      transparent 1px 4px),
    var(--ink);
  border: 2px solid var(--acid);
  box-shadow: -6px 6px 0 var(--magenta), 6px -5px 0 var(--cyan);
  clip-path: polygon(0.6% 0, 99.3% 0.7%, 100% 96%, 97% 100%,
    1.2% 98.7%, 0 4%);
  isolation: isolate;
}
.bbs-portal::after {
  content: "PROPERTY OF NOBODY";
  position: absolute;
  top: 45%;
  right: -2.4rem;
  z-index: -1;
  color: rgba(255,79,223,.13);
  font-size: clamp(1.5rem, 6vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  transform: rotate(87deg);
  white-space: nowrap;
}
.bbs-portal__chrome {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px dashed var(--cyan);
  color: var(--cyan);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
}
.bbs-portal__eyebrow {
  margin: 0.7rem 0 0.25rem;
  color: var(--magenta);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.bbs-portal h1 {
  margin: 0;
  color: var(--acid);
  font-size: clamp(2.65rem, 13vw, 5.25rem);
  line-height: 0.78;
  letter-spacing: -0.08em;
  text-shadow: -3px 0 var(--magenta), 3px 0 var(--cyan),
    0 0 20px rgba(245,255,0,.38);
  transform: skew(-4deg) rotate(-1deg);
}
.bbs-portal__lead {
  max-width: 46ch;
  margin: 1rem 0 0.8rem;
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.45;
}
.bbs-portal__menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  max-width: 31rem;
}
.bbs-portal__menu a {
  display: block;
  padding: 0.35rem 0.45rem;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  background: #000;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
}
.bbs-portal__menu a span { color: var(--acid); }
.bbs-portal__menu a:hover,
.bbs-portal__menu a:focus-visible {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
  box-shadow: 3px 3px 0 var(--magenta);
}
.bbs-portal__menu a:hover span,
.bbs-portal__menu a:focus-visible span { color: var(--ink); }
.bbs-portal__menu .bbs-portal__enter {
  color: var(--ink);
  background: var(--cyan);
}
.bbs-portal__fine {
  max-width: 48ch;
  margin: 0.75rem 0 0;
  color: var(--text-dim);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}
.bbs-portal__scrap {
  position: absolute;
  right: -0.4rem;
  bottom: -1rem;
  padding: 0.25rem 0.5rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #17140f;
  box-shadow: 3px 3px 0 var(--acid);
  font-size: 0.55rem;
  font-weight: 900;
  line-height: 1.2;
}
.issue-card { position: relative; margin-top: -0.4rem; }
.issue-card__sticker {
  position: absolute;
  bottom: -0.7rem;
  right: -0.6rem;
  background: var(--ink);
  border: 1px solid var(--magenta);
  color: var(--magenta);
  font-size: var(--fs-small);
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  box-shadow: 0 0 8px rgba(255, 79, 223, 0.55);
}

/* ============ thermal receipts ============ */
.receipt {
  background: var(--paper);
  color: #24211b;
  font-size: var(--fs-small);
  padding: 0.9rem 0.9rem 0.6rem;
  clip-path: polygon(0 6px, 2% 0, 4% 6px, 6% 0, 8% 6px, 10% 0,
    12% 6px, 14% 0, 16% 6px, 18% 0, 20% 6px, 22% 0, 24% 6px, 26% 0,
    28% 6px, 30% 0, 32% 6px, 34% 0, 36% 6px, 38% 0, 40% 6px, 42% 0,
    44% 6px, 46% 0, 48% 6px, 50% 0, 52% 6px, 54% 0, 56% 6px, 58% 0,
    60% 6px, 62% 0, 64% 6px, 66% 0, 68% 6px, 70% 0, 72% 6px, 74% 0,
    76% 6px, 78% 0, 80% 6px, 82% 0, 84% 6px, 86% 0, 88% 6px, 90% 0,
    92% 6px, 94% 0, 96% 6px, 98% 0, 100% 6px, 100% calc(100% - 6px),
    98% 100%, 96% calc(100% - 6px), 94% 100%, 92% calc(100% - 6px),
    90% 100%, 88% calc(100% - 6px), 86% 100%, 84% calc(100% - 6px),
    82% 100%, 80% calc(100% - 6px), 78% 100%, 76% calc(100% - 6px),
    74% 100%, 72% calc(100% - 6px), 70% 100%, 68% calc(100% - 6px),
    66% 100%, 64% calc(100% - 6px), 62% 100%, 60% calc(100% - 6px),
    58% 100%, 56% calc(100% - 6px), 54% 100%, 52% calc(100% - 6px),
    50% 100%, 48% calc(100% - 6px), 46% 100%, 44% calc(100% - 6px),
    42% 100%, 40% calc(100% - 6px), 38% 100%, 36% calc(100% - 6px),
    34% 100%, 32% calc(100% - 6px), 30% 100%, 28% calc(100% - 6px),
    26% 100%, 24% calc(100% - 6px), 22% 100%, 20% calc(100% - 6px),
    18% 100%, 16% calc(100% - 6px), 14% 100%, 12% calc(100% - 6px),
    10% 100%, 8% calc(100% - 6px), 6% 100%, 4% calc(100% - 6px),
    2% 100%, 0 calc(100% - 6px));
}
.receipt--page { max-width: 480px; }
.receipt__items ul { list-style: none; padding: 0; margin: 0.4rem 0; }
.receipt__items li {
  border-bottom: 1px dotted var(--paper-ink);
  padding: 0.15rem 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.receipt__items a { color: #005f69; }
.receipt__rule { border-top: 1px dashed var(--paper-ink);
  margin: 0.5rem 0 0.4rem; }
.receipt__barcode { display: block; width: 60%; height: 20px;
  color: #24211b; }
.issue-card__cover { width: 55%; margin: 0.4rem 0;
  box-shadow: 3px 3px 0 rgba(255, 79, 223, 0.5); }
.issue-card__label { margin: 0; letter-spacing: 0.12em;
  color: #24211b; }
.issue-card__label strong { font-size: var(--fs-h2); }

/* ============ hauer list ============ */
.hauer-heading {
  margin: 0;
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  color: var(--amber);
  letter-spacing: 0.14em;
  filter: url(#spray-hard);
  text-shadow: -2px 0 var(--magenta), 2px 0 var(--cyan),
    0 0 12px rgba(245, 255, 0, 0.55);
}
.hauer-sub { margin: 0 0 0.8rem 0.3rem; font-size: var(--fs-small);
  color: var(--text-dim); }
.hauer-sub .forever { color: var(--phosphor); }
.hauer-item { margin: 0.45rem 0 0; }
.hauer-item {
  position: relative;
  max-width: 94%;
  padding: 0.45rem 0.65rem;
  color: #17140f;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--magenta);
}
.hauer-item::before {
  content: "";
  position: absolute;
  width: 2.8rem;
  height: 0.55rem;
  top: -0.35rem;
  left: 42%;
  background: rgba(245,255,0,.82);
  transform: rotate(-3deg);
}
.hauer-item:nth-child(odd) { transform: rotate(0.8deg); margin-left: 0.3rem; }
.hauer-item:nth-child(even) {
  transform: rotate(-1.2deg);
  margin-left: 0.9rem;
  box-shadow: 4px 4px 0 var(--cyan);
}
.hauer-item__title { margin: 0; font-size: var(--fs-h2); display: inline; }
.hauer-item__title a {
  color: #17140f;
  text-decoration: none;
  background: linear-gradient(transparent 60%,
    rgba(245, 255, 0, 0.55) 60%);
}
.hauer-item:nth-child(even) .hauer-item__title a {
  background: linear-gradient(transparent 60%, rgba(0, 229, 255, 0.5) 60%);
}
.hauer-item__meta { margin: 0.1rem 0 0; font-size: var(--fs-small);
  color: #575146; }
.home-hauer__more { display: inline-block; margin: 0.9rem 0 0 1.6rem;
  color: var(--cyan); text-decoration: none; }

/* ============ footer ============ */
.site-footer {
  border-top: 1px solid var(--surface-3);
  margin-top: 1.6rem;
  padding: 0.5rem 0 0.9rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: var(--fs-small);
}
.footer-bbs { margin: 0; color: var(--phosphor); }
.footer-bbs a { color: var(--phosphor); }
.footer-fine { margin: 0; color: var(--text-dim); }

/* ============ zine archive + issue page ============ */
.zine-archive, .single { padding: 0.6rem 0; }
.zine-archive__title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  color: var(--bone);
  letter-spacing: 0.2em;
  filter: url(#spray-hard);
  margin: 0;
}
.zine-archive__sub { color: var(--text-dim); font-size: var(--fs-small); }
.zine-archive__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.4rem;
  margin-top: 1rem;
}
.zine-archive__item { text-decoration: none; color: var(--bone); }
.zine-archive__item img,
.zine-archive__blank {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  width: 100%;
  font-weight: 700;
  text-align: center;
  box-shadow: 5px 5px 0 rgba(255, 79, 223, 0.55);
}
.zine-archive__blank { background: var(--paper); color: #24211b; }
.zine-archive__label { display: block; margin-top: 0.4rem;
  font-size: var(--fs-small); letter-spacing: 0.1em; }

.issue-page__title { margin: 0; font-size: var(--fs-h1);
  color: #24211b; font-family: var(--font-display); }
.issue-page__label { font-size: var(--fs-small); }
.issue-page__row { display: flex; gap: 1rem; flex-wrap: wrap; }
.issue-page__cover { width: min(240px, 40%); align-self: flex-start;
  box-shadow: 5px 5px 0 rgba(0, 229, 255, 0.45); }
.issue-page__toc { flex: 1; min-width: 220px; }
.issue-page__find a { color: #005f69; }

/* ============ hauer archive + article body ============ */
.hauer-archive { padding: 1rem 1.4rem; max-width: 780px; }
.hauer-archive__list { margin-top: 0.8rem; }
.article-page { max-width: 680px; }
.article-page__title { font-family: var(--font-display);
  font-size: var(--fs-h1); margin: 0; }
.article-page__meta { color: var(--text-dim);
  font-size: var(--fs-small); }
.article-page__body { margin-top: 1.2rem; }
.article-page__body h2, .article-page__body h3 {
  font-family: var(--font-display); letter-spacing: 0.06em; }
.article-page__body pre {
  background: var(--ink);
  border: 1px solid var(--surface-3);
  padding: 0.8rem;
  overflow-x: auto;
  color: var(--phosphor);
}
.article-page__body blockquote {
  margin: 1rem 0;
  padding: 0.2rem 1rem;
  border-left: 3px solid var(--magenta);
  color: var(--text-dim);
}
.article-page__body img { box-shadow: 5px 5px 0 rgba(0, 229, 255, 0.45); }
.pagination { padding: 1rem 1.4rem; font-size: var(--fs-small);
  color: var(--text-dim); }

/* ============ pages ============ */
.page-single { max-width: 680px; }
.page-single__title { font-family: var(--font-display);
  font-size: var(--fs-h1); }
.money-page { max-width: 640px; }
.money-page__title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  color: var(--yellow);
  letter-spacing: 0.06em;
  filter: url(#spray-hard);
  margin: 0;
}
.money-page__sub { color: var(--phosphor); }
.money-page__body a {
  display: inline-block;
  border: 2px solid var(--phosphor);
  color: var(--phosphor);
  padding: 0.4rem 1.2rem;
  font-weight: 900;
  text-decoration: none;
  margin: 0.3rem 0;
}
.money-page__fine { color: var(--text-dim); font-size: var(--fs-small); }

/* ============ small screens ============ */
@media (max-width: 720px) {
  .issue-card { margin-top: 0.4rem; }
  .site-nav { font-size: 0.72rem; gap: 0.45rem 0.6rem; }
  .site-footer { flex-direction: column; }
  .issue-page__row { flex-direction: column; }
  .issue-page__cover { width: 70%; }
  .masthead-kicker { display: block; width: fit-content; margin: -0.15rem 0 0 0.2rem; }
  .bbs-portal { margin-right: 0.35rem; }
  .bbs-portal__chrome { flex-wrap: wrap; }
  .bbs-portal__menu { grid-template-columns: 1fr; }
  .bbs-portal__scrap { position: static; display: inline-block; margin-top: 0.7rem; }
}

/* ============ compact app column ============ */
.app-col {
  position: relative;
  z-index: 1;
  max-width: 640px;
  /* The flyer stack is stapled to the left edge; the mascot owns the void. */
  margin: 0;
  padding: 0 0.9rem;
  background: rgba(0, 0, 0, 0.72);
  box-shadow: inset -1px 0 0 rgba(0, 229, 255, 0.2);
  min-height: 100vh;
}
.paint-layer { position: fixed; inset: 0; }

/* ============================================================
   hakcer v1.1 — additions on top of the v1 theme
   empty states, focus, pages, buttons, polish
   ============================================================ */
::selection { background: var(--amber); color: var(--ink); }

a:focus-visible, button:focus-visible, .chip:focus-visible {
  outline: 2px dashed var(--cyan);
  outline-offset: 3px;
}
.chip { transition: transform 120ms ease, box-shadow 120ms ease; }
.chip:hover { box-shadow: 3px 3px 0 var(--magenta); }

/* empty states — the presses are warm */
.empty-zine, .empty-hauer {
  grid-column: 1 / -1;
  border: 2px dashed var(--surface-3);
  padding: 1.6rem 1rem;
  text-align: center;
  color: var(--text-dim);
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.empty-zine::before, .empty-hauer::before { content: "⛶ "; color: var(--magenta); }
.home-hauer .empty-hauer, .hauer-archive__list .empty-hauer { display: block; margin-top: 0.8rem; }

/* generic call-to-action button */
.btn {
  display: inline-block;
  border: 2px solid var(--phosphor);
  color: var(--phosphor);
  padding: 0.4rem 1.2rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  background: rgba(0, 229, 255, 0.08);
}
.btn:hover { background: var(--phosphor); color: var(--ink); }

/* money page — ko-fi button + fine print */
.money-page__body .btn-ko-fi {
  display: inline-block;
  border: 3px solid var(--yellow);
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 0.6rem 1.6rem;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.05em;
  box-shadow: 5px 5px 0 rgba(255, 79, 223, 0.55);
}
.money-page__body .btn-ko-fi:hover { background: var(--ink); color: var(--yellow); }

/* submit page — mailto button + want list */
.submit-page .btn-mail {
  display: inline-block;
  border: 2px solid var(--cyan);
  color: var(--cyan);
  padding: 0.5rem 1.4rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  margin: 0.6rem 0;
}
.submit-page .btn-mail:hover { background: var(--cyan); color: var(--ink); }
.want-list { margin: 1.4rem 0 0; padding: 0; list-style: none; }
.want-list li {
  border-bottom: 1px dotted var(--surface-3);
  padding: 0.4rem 0;
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.want-list li::before { content: "▪ "; color: var(--magenta); }

/* find page — rack rows */
.rack-list { margin: 1.2rem 0 0; padding: 0; list-style: none; }
.rack-list li {
  border: 1px solid var(--surface-3);
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.5rem;
  background: var(--surface-1);
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.rack-list .rack-name { color: var(--text); font-weight: 700; }
.rack-list .rack-note { color: var(--text-dim); font-size: var(--fs-small); }

/* article extras */
.article-page__tags { margin-top: 1.6rem; padding-top: 0.8rem;
  border-top: 1px dashed var(--surface-3); font-size: var(--fs-small); }
.article-page__tags a { color: var(--text-dim); text-decoration: none; }
.article-page__tags a:hover { color: var(--cyan); }
.post-nav { display: flex; justify-content: space-between; gap: 1rem;
  margin-top: 2rem; font-size: var(--fs-small); }
.post-nav a { color: var(--cyan); text-decoration: none; }

/* 404 */
.error-page { text-align: center; padding: 3rem 1rem; }
.error-page .error-code { font-size: var(--fs-hero); color: var(--magenta);
  filter: url(#spray-hard); display: inline-block; }

/* money-line hover */
.money-line a:hover { background: var(--phosphor); color: var(--ink); }

.error-message {
  display: inline-block;
  max-width: 100%;
  overflow-x: auto;
  background: var(--ink);
  border: 2px solid var(--red);
  color: var(--paper);
  padding: 0.8rem 1rem;
  font-size: var(--fs-small);
  text-align: left;
}

/* ============ ascii monkey backdrop ============ */
/* Fills the black void right of the left-justified column on wide
   screens. Art is monkey.txt (120 cols x 33 rows), rendered as a <pre>
   sized in vw so it scales with the void instead of clipping. Hidden
   below 1100px, where the column owns the whole viewport. */
.ascii-backdrop { display: none; }
.ascii-caption { display: none; }
@media (min-width: 1100px) {
  .ascii-backdrop {
    display: block;
    position: absolute;  /* scrolls with content, not the viewport */
    top: 0;
    left: 640px;
    right: 0;
    /* .app-col is min-height:100vh, so centering on it lands too low.
       Offset from the top to sit level with the visible content block. */
    padding-top: 7rem;
    margin: 0;
    z-index: 0;
    pointer-events: none;
    text-align: left;  /* hug the column edge, not the void's center */
    padding-left: 1.5rem;
    white-space: pre;
    overflow: hidden;
    font-family: var(--font-mono);
    /* 120 cols x ~0.6em per char: fit the void, cap for huge screens */
    font-size: clamp(4px, calc((100vw - 640px) / 78), 13px);
    line-height: 1.02;
    color: var(--acid);
    opacity: 0.34;
    text-shadow:
      -3px 0 0 rgba(255,79,223,.75),
      3px 0 0 rgba(0,229,255,.68),
      0 0 9px rgba(245,255,0,.3);
    transform: skewY(-1deg);
    filter: contrast(1.35);
  }
  .ascii-caption {
    display: block;
    position: absolute;
    top: 2rem;
    left: 660px;
    z-index: 1;
    max-width: calc(100vw - 700px);
    margin: 0;
    padding: 0.2rem 0.5rem;
    color: var(--ink);
    background: var(--magenta);
    box-shadow: 5px 5px 0 var(--cyan);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    transform: rotate(-1.5deg);
  }
}
@media (prefers-reduced-motion: reduce) { .ascii-backdrop { opacity: 0.18; } }
