/* Haikupedia: a rushed encyclopedia, sketched in the margins. Plain CSS, no build step. */
:root {
  --ink: #1c1a16;
  --ink-soft: #3a362e;
  --muted: #5c574c;
  --paper: #f3e9d3;
  --paper-deep: #e8dcbd;
  --sheet: #fbf6ea;
  --accent: #2c4d8f;
  --accent-hover: #1b3364;
  --stain-yellow: #f3e4a8;
  --stain-blue: #e4ecf5;
  --stain-red: #f6e4dc;
  --rule: rgba(80, 90, 140, 0.1);
  --hand: "Patrick Hand", "Segoe Print", "Comic Sans MS", cursive, sans-serif;
  --doodle: "Gochi Hand", "Patrick Hand", cursive, sans-serif;
  --marker: "Permanent Marker", "Patrick Hand", cursive, sans-serif;
  --script: "Caveat", "Patrick Hand", cursive, sans-serif;
  --wobble: 255px 18px 225px 15px / 15px 225px 18px 255px;
  --wobble-2: 12px 255px 18px 225px / 225px 12px 255px 18px;
  --wobble-3: 20px 8px 255px 12px / 8px 255px 12px 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--hand);
  font-size: 18px;
  line-height: 1.55;
  background-color: var(--paper);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.15  0 0 0 0 0.12  0 0 0 0 0.08  0 0 0 0.07 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"),
    repeating-linear-gradient(
      transparent,
      transparent 31px,
      var(--rule) 32px
    );
  background-attachment: fixed;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-style: wavy; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:visited { color: var(--accent); }
s, del {
  text-decoration: none;
  color: var(--muted);
  position: relative;
  display: inline-block;
}
s::after, del::after {
  content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  top: 0.52em;
  height: 0.38em;
  pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 120 10'><path d='M1 6 Q 18 2 36 6 T 72 5 T 108 7 T 119 4' stroke='%231c1a16' stroke-width='3' fill='none' stroke-linecap='round'/></svg>") no-repeat center / 100% 100%;
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--sheet); padding: 6px 10px; z-index: 100; color: var(--ink); }
.skip-link:focus { left: 8px; }

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 20px;
  background: color-mix(in srgb, var(--paper) 86%, #fff);
  border-bottom: 2px solid var(--ink);
  position: sticky; top: 0; z-index: 20;
}
.menu-toggle {
  display: none; background: var(--sheet); border: 2px solid var(--ink);
  border-radius: var(--wobble); font-family: var(--marker);
  font-size: 22px; line-height: 1; padding: 4px 10px; cursor: pointer; color: var(--ink);
}
.menu-toggle:hover { background: var(--stain-yellow); }
.menu-close {
  display: none; position: absolute; top: 8px; right: 8px;
  background: var(--sheet); border: 2px solid var(--ink);
  border-radius: var(--wobble); font-family: var(--marker);
  font-size: 22px; line-height: 1; padding: 2px 9px; cursor: pointer; color: var(--ink);
  z-index: 1;
}
.menu-close:hover { background: var(--stain-yellow); }
.topbar-brand {
  display: none; color: var(--ink) !important; align-items: center; gap: 8px;
}
.topbar-brand:hover { text-decoration: none; }
.topbar-globe { width: 34px; height: auto; display: block; }
.wordmark {
  font-family: var(--marker); font-size: 1.25em; font-weight: normal;
  letter-spacing: 0.02em; color: var(--ink);
}
.search { display: flex; flex: 1; max-width: 520px; margin-left: 176px; }
.search input {
  flex: 1; min-width: 0; font-family: var(--hand); font-size: 1rem; padding: 6px 12px;
  border: 2px solid var(--ink); border-right: 0;
  border-radius: 255px 0 0 40px / 18px 0 0 255px;
  background: var(--sheet); color: var(--ink);
}
.search input:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1px var(--accent); }
.search input::placeholder { color: var(--muted); font-family: var(--doodle); }
.search-btn {
  font-family: var(--doodle); font-size: 1rem; padding: 6px 14px; cursor: pointer;
  border: 2px solid var(--ink); border-radius: 0 255px 20px 0 / 0 20px 255px 0;
  background: var(--stain-yellow); color: var(--ink);
  transform: rotate(0.4deg);
}
.search-btn:hover { background: #f7d56a; }
.personal {
  margin-left: auto; display: flex; align-items: baseline; gap: 12px;
  font-size: 0.95em; white-space: nowrap;
}
.doodle-note {
  font-family: var(--doodle); color: var(--accent); transform: rotate(-2deg);
  display: inline-block;
}

/* ---------- layout ---------- */
.page { display: flex; align-items: flex-start; max-width: 1400px; margin: 0 auto; }
.sidebar {
  width: 176px; flex: 0 0 176px; padding: 8px 10px 30px 12px; font-size: 0.95em;
  position: sticky; top: 58px; max-height: calc(100vh - 58px); overflow-y: auto;
}
.logo {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 6px 0 16px; color: var(--ink) !important;
}
.logo:hover { text-decoration: none; }
.logo-globe {
  width: 118px; height: auto; display: block;
  transition: transform .5s ease;
}
.logo:hover .logo-globe { transform: rotate(-8deg); }
.portal { margin: 0 0 16px; }
.portal-heading {
  font-family: var(--doodle); font-size: 1em; font-weight: normal; color: var(--muted);
  margin: 0 0 4px; padding-bottom: 4px;
  border-bottom: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 200 8'><path d='M1 5 Q 25 1 50 5 T 100 4 T 150 6 T 199 4' stroke='%231c1a16' stroke-width='1.6' fill='none' stroke-linecap='round'/></svg>") no-repeat left bottom / 100% 7px;
}
.portal ul { list-style: none; margin: 0; padding: 0; }
.portal li { padding: 3px 0; }
.portal li a { color: var(--accent); }

.content {
  flex: 1; min-width: 0;
  background-color: var(--sheet);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.1  0 0 0 0 0.07  0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  border: 2.5px solid var(--ink);
  border-radius: 8px 22px 10px 16px / 16px 10px 22px 8px;
  box-shadow: 5px 6px 0 var(--ink);
  margin: 18px 16px 40px 0;
  padding: 0;
}

/* ---------- masthead / original logo ---------- */
.masthead {
  display: block; text-align: center;
  padding: 22px 24px 10px;
  color: var(--ink) !important;
}
.masthead:hover { text-decoration: none; }
.masthead img {
  display: block; margin: 0 auto;
  width: 100%; max-width: 680px; height: auto;
  max-height: 150px; object-fit: contain;
}

/* ---------- tabs ---------- */
.tabs {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 4px 16px 0; gap: 10px; flex-wrap: wrap;
  border-bottom: 2px solid var(--ink);
}
.tabs nav { display: flex; gap: 6px; }
.tab {
  display: inline-block; padding: 6px 12px 8px; font-family: var(--doodle); font-size: 0.95em;
  background: var(--paper-deep);
  border: 2px solid var(--ink); border-bottom: 0;
  border-radius: 18px 22px 0 0 / 22px 18px 0 0;
  color: var(--accent) !important;
  transform: rotate(-0.8deg);
}
.tab:nth-child(even) { transform: rotate(0.7deg); }
.tab:hover { text-decoration: none; background: var(--stain-yellow); }
.tab.selected {
  background: var(--sheet); color: var(--ink) !important;
  position: relative; top: 2px; transform: rotate(0);
  padding-bottom: 10px;
}

/* ---------- article body ---------- */
.body-area { padding: 18px 28px 10px; }
.firstHeading {
  font-family: var(--marker); font-weight: normal; font-size: 2.15em; line-height: 1.25;
  margin: 0 0 4px; padding-bottom: 8px; border-bottom: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 400 10'><path d='M2 7 Q 40 2 80 7 T 160 6 T 240 8 T 320 5 T 398 7' stroke='%231c1a16' stroke-width='2.2' fill='none' stroke-linecap='round'/></svg>") no-repeat left bottom / 100% 10px;
}
.siteSub { font-family: var(--script); font-size: 1.05em; color: var(--muted); margin-bottom: 16px; }
.welcome {
  text-align: center;
  background: var(--stain-yellow);
  border: 2.5px solid var(--ink);
  border-radius: var(--wobble);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 16px 20px;
  margin-bottom: 20px;
  transform: rotate(-0.25deg);
}
.welcome h2 {
  font-family: var(--marker); font-weight: normal; font-size: 1.85em; margin: 0; border: 0;
  background: none; padding: 0;
}
.welcome h2 a { color: var(--ink) !important; }
.welcome h2 a:hover { color: var(--accent) !important; text-decoration: none; }
.welcome p { margin: 4px 0; font-size: 1.08em; }
.welcome .count { font-size: 0.95em; color: var(--muted); margin-top: 6px; font-family: var(--script); }
#article-count { font-weight: bold; color: var(--ink); font-family: var(--hand); }

.mp-columns { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; margin-bottom: 24px; }
.mp-box {
  border: 2.5px solid var(--ink);
  box-shadow: 3px 4px 0 var(--ink);
}
.mp-h {
  font-family: var(--marker); font-size: 1.15em; font-weight: normal; margin: 0;
  padding: 6px 12px; border-bottom: 2px solid var(--ink);
}
.mp-body { padding: 10px 14px 14px; }
.featured {
  background: var(--stain-yellow);
  border-radius: 255px 20px 225px 18px / 18px 225px 20px 255px;
  transform: rotate(-0.4deg);
}
.featured .mp-h { background: transparent; border-color: var(--ink); }
.dyk {
  background: var(--stain-blue);
  border-radius: 18px 255px 20px 225px / 225px 20px 255px 18px;
  transform: rotate(0.45deg);
}
.dyk .mp-h { background: transparent; border-color: var(--ink); }
.dyk ul { margin: 0; padding-left: 18px; }
.dyk li { margin-bottom: 6px; }
.tfa-title { font-family: var(--marker); font-size: 1.55em; font-weight: normal; margin: 0 0 6px; }
.tfa-title a { color: var(--ink) !important; }
.tfa-title a:hover { color: var(--accent) !important; text-decoration: none; }
.tfa-lines {
  font-family: var(--script); font-style: normal; font-weight: 600;
  font-size: 1.55em; line-height: 1.35; white-space: pre-line; margin: 0 0 10px;
}
.tfa-meta { font-size: 0.92em; color: var(--ink-soft); }
.muted { color: var(--muted); }

.section-h {
  font-family: var(--marker); font-weight: normal; font-size: 1.7em; line-height: 1.3;
  margin: 18px 0 14px; padding-bottom: 8px; border-bottom: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 400 10'><path d='M2 7 Q 40 2 80 7 T 160 6 T 240 8 T 320 5 T 398 7' stroke='%231c1a16' stroke-width='2.2' fill='none' stroke-linecap='round'/></svg>") no-repeat left bottom / 100% 10px;
}
.section-sub { font-family: var(--script); font-size: 0.65em; color: var(--muted); }
.no-results {
  background: var(--stain-yellow); border: 2px solid var(--ink);
  border-radius: var(--wobble-2); padding: 10px 14px;
}

/* ---------- haiku cards (data format must stay: .haiku > .title / .lines / .source) ---------- */
.haiku-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.haiku {
  position: relative; background: var(--sheet);
  border: 2.5px solid var(--ink);
  border-radius: var(--wobble);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 14px 16px 12px; scroll-margin-top: 80px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .5s ease;
  transform: rotate(-0.45deg);
}
.haiku:nth-child(2n) { transform: rotate(0.5deg); border-radius: var(--wobble-2); }
.haiku:nth-child(3n) { transform: rotate(-0.2deg); border-radius: var(--wobble-3); }
.haiku:nth-child(4n) { transform: rotate(0.35deg); }
.haiku:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: 5px 6px 0 var(--ink);
  z-index: 1;
}
.haiku .title {
  font-family: var(--marker); font-size: 1.3em; line-height: 1.25; font-weight: normal;
  padding-bottom: 6px; margin-bottom: 8px; border-bottom: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 200 8'><path d='M1 5 Q 25 1 50 5 T 100 4 T 150 6 T 199 4' stroke='%231c1a16' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>") no-repeat left bottom / 100% 7px;
}
.haiku .title a { color: var(--ink) !important; }
.haiku .title a:hover { color: var(--accent) !important; text-decoration: none; }
.haiku .lines {
  font-family: var(--script); font-style: normal; font-weight: 600;
  font-size: 1.35em; line-height: 1.4; white-space: pre-line;
}
.cn { font-family: var(--doodle); font-style: normal; font-size: 0.62em; white-space: nowrap; line-height: 1; }
.cn a { color: var(--accent) !important; }
.haiku .source {
  font-size: 0.88em; color: var(--muted); margin-top: 10px; padding-top: 6px;
  border-top: 2px dotted var(--ink);
  font-family: var(--hand);
}
.haiku .source::before { content: "\2191\00a0"; color: var(--accent); }
.haiku .actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.haiku .actions button, .haiku .actions a {
  font-family: var(--doodle); font-size: 0.95em; cursor: pointer; padding: 3px 10px;
  background: var(--paper); color: var(--ink) !important;
  border: 2px solid var(--ink); border-radius: var(--wobble);
  box-shadow: 1px 1px 0 var(--ink);
}
.haiku .actions button { transform: rotate(-1.2deg); }
.haiku .actions a { transform: rotate(1.1deg); }
.haiku .actions button:hover, .haiku .actions a:hover {
  background: var(--stain-yellow); text-decoration: none;
  box-shadow: 2px 2px 0 var(--ink);
}
.haiku.highlight {
  background: var(--stain-yellow);
  box-shadow: 0 0 0 3px var(--stain-yellow), 5px 6px 0 var(--ink);
}
.haiku[hidden] { display: none; }

/* ---------- original 2011 archive: drawings + bylines ---------- */
.archive { margin-top: 28px; }
.archive[hidden] { display: none; }
.archive-intro { margin: 0 0 16px; }
.haiku .byline { font-family: var(--doodle); font-size: 0.95em; color: var(--muted); margin: -2px 0 8px; }
.haiku .drawing { margin: 2px 0 10px; text-align: center; }
.haiku .drawing img {
  display: inline-block; max-width: 100%; height: auto; max-height: 300px;
  mix-blend-mode: multiply; transform: rotate(-0.8deg);
}
.haiku:nth-child(2n) .drawing img { transform: rotate(0.7deg); }
.haiku:nth-child(3n) .drawing img { transform: rotate(-0.3deg); }

.about { margin-top: 10px; }

/* ---------- footer ---------- */
.footer {
  border-top: 0;
  margin: 24px 28px 0; padding: 14px 0 30px;
  font-size: 0.92em; color: var(--muted);
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 400 10'><path d='M2 4 Q 40 8 80 3 T 160 5 T 240 2 T 320 6 T 398 3' stroke='%231c1a16' stroke-width='2' fill='none' stroke-linecap='round'/></svg>") no-repeat left top / 100% 10px;
}
.footer p { margin: 6px 0; }
.footer-links { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--sheet); padding: 8px 16px;
  border-radius: var(--wobble); font-family: var(--doodle); font-size: 1.05em;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 50;
  box-shadow: 3px 3px 0 var(--paper-deep);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .mp-columns { grid-template-columns: 1fr; }
  .personal { display: none; }
  .masthead { padding: 16px 16px 8px; }
  .masthead img { max-height: 120px; }
}
@media (max-width: 800px) {
  body { font-size: 17px; background-attachment: scroll; }
  .topbar { padding: 6px 10px; gap: 8px; flex-wrap: wrap; }
  .menu-toggle { display: block; }
  .topbar-brand { display: flex; }
  .topbar-brand .wordmark { font-size: 1.15em; }
  .search { order: 3; flex-basis: 100%; max-width: none; margin-left: 0; }
  html, body { overflow-x: hidden; }
  .menu-toggle { display: block; }
  .menu-close { display: block; }
  .sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; max-height: none; z-index: 40;
    width: min(240px, 80vw); flex: none;
    background: var(--paper);
    border-right: 2.5px solid var(--ink);
    box-shadow: 4px 0 0 var(--ink);
    transform: translateX(-105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .25s ease, visibility 0s linear .25s;
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .sidebar {
    transform: none;
    visibility: visible;
    pointer-events: auto;
    transition: transform .25s ease, visibility 0s linear 0s;
  }
  .menu-backdrop {
    display: none;
    position: fixed; inset: 0;
    background: rgba(28, 26, 22, 0.4);
    z-index: 35;
    border: 0;
    padding: 0;
    cursor: pointer;
  }
  body.menu-open .menu-backdrop { display: block; }
  .content {
    margin: 8px 10px 24px; border-radius: 10px 16px 8px 14px / 14px 8px 16px 10px;
    box-shadow: 3px 4px 0 var(--ink);
  }
  .tabs { margin-top: 0; padding: 8px 10px 0; gap: 6px; flex-wrap: nowrap; }
  .tabs nav { flex-wrap: nowrap; }
  .tab { padding: 4px 10px 6px; font-size: 0.9em; white-space: nowrap; }
  .body-area { padding: 12px 14px 6px; }
  .firstHeading { font-size: 1.7em; }
  .welcome { transform: none; }
  .welcome h2 { font-size: 1.4em; }
  .featured, .dyk { transform: none; }
  .haiku, .haiku:nth-child(2n), .haiku:nth-child(3n), .haiku:nth-child(4n) { transform: none; }
  .haiku:hover { transform: translateY(-1px); }
  .haiku-list { grid-template-columns: 1fr; }
  .masthead { padding: 14px 12px 6px; }
  .masthead img { max-width: 100%; max-height: none; }
  .footer { margin: 20px 14px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo-globe, .haiku, .welcome, .featured, .dyk, .tab, .search-btn,
  .haiku .actions button, .haiku .actions a, .toast,
  .article-form .submit-btn {
    transition: none; transform: none !important;
  }
  /* Sidebar hide/show uses transform; never zero it here or the drawer stays on screen. */
  .sidebar, body.menu-open .sidebar, .menu-backdrop {
    transition: none !important;
  }
}
@media print {
  body { background: #fff; }
  .topbar, .sidebar, .tabs, .actions, .toast { display: none !important; }
  .content { border: 0; margin: 0; box-shadow: none; background: #fff; }
  .masthead { padding: 0 0 12px; }
}

/* ---------- submit-an-article form ---------- */
.intro-blurb {
  background: var(--stain-yellow);
  border: 2.5px solid var(--ink);
  border-radius: var(--wobble);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 14px 18px;
  margin: 0 0 22px;
  transform: rotate(-0.2deg);
}
.intro-blurb p { margin: 0 0 8px; }
.intro-blurb p:last-child { margin-bottom: 0; }
.article-form { max-width: 640px; margin: 0 auto 10px; }
.field {
  margin: 0 0 20px;
  padding: 12px 14px 14px;
  background: var(--sheet);
  border: 2.5px solid var(--ink);
  border-radius: var(--wobble-2);
  box-shadow: 2px 2px 0 var(--ink);
}
.field:nth-child(even) { border-radius: var(--wobble-3); transform: rotate(0.25deg); }
.field:nth-child(odd) { transform: rotate(-0.2deg); }
.field label {
  display: block;
  font-family: var(--marker);
  font-size: 1.15em;
  line-height: 1.3;
  margin: 0 0 6px;
}
.req {
  font-family: var(--doodle);
  color: #a33;
  font-size: 0.85em;
  font-weight: normal;
}
.hint {
  display: block;
  font-family: var(--script);
  font-size: 1.05em;
  color: var(--muted);
  margin: 0 0 8px;
}
.article-form input[type="text"],
.article-form input[type="url"],
.article-form textarea {
  width: 100%;
  font-family: var(--hand);
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 12px 18px 10px 16px / 16px 10px 18px 12px;
  padding: 8px 12px;
}
.article-form textarea {
  min-height: 8.2em;
  resize: vertical;
  font-family: var(--script);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.4;
}
.article-form input:focus,
.article-form textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px var(--accent);
  background: #fffef8;
}
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.article-form .submit-btn {
  font-family: var(--marker);
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--ink);
  background: var(--stain-yellow);
  border: 2.5px solid var(--ink);
  border-radius: var(--wobble);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 8px 22px;
  transform: rotate(-1deg);
}
.article-form .submit-btn:hover { background: #f7d56a; }
.article-form .submit-btn:disabled { opacity: 0.6; cursor: default; }
.form-alt {
  font-size: 0.9em;
  color: var(--muted);
}
.thanks-box {
  display: none;
  background: var(--stain-blue);
  border: 2.5px solid var(--ink);
  border-radius: var(--wobble);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 22px 20px;
  text-align: center;
  margin: 10px auto 20px;
  max-width: 640px;
  transform: rotate(-0.4deg);
}
.thanks-box.show { display: block; }
.thanks-box h2 {
  font-family: var(--marker);
  font-weight: normal;
  font-size: 1.7em;
  margin: 0 0 8px;
  background: none;
  padding: 0;
}
.thanks-box p { margin: 0 0 8px; }
body.submitted .article-form,
body.submitted .intro-blurb { display: none; }
@media (max-width: 800px) {
  .intro-blurb, .field, .field:nth-child(even), .field:nth-child(odd), .thanks-box { transform: none; }
}
@media print {
  .article-form .submit-btn, .form-alt { display: none !important; }
}
