/* ==========================================================================
   JayMing.xyz
   A Claude Code-style terminal floating over a field of flowing characters.
   ========================================================================== */

:root {
  color-scheme: dark;

  --bg: #141413;
  --surface: #1c1b19;
  --raised: #262523;
  --sunken: #121211;
  --line: #3a3935;
  --line-soft: #2a2927;

  --text: #f0eee6;
  --muted: #a8a59b;
  --faint: #6f6d66;

  --accent: #00aaaa; /* dark aqua */
  --accent-hi: #40c8c8;
  --select: #b1b9f9; /* Claude Code's menu-selection lavender */
  --select-soft: rgba(177, 185, 249, 0.08);
  --ok: #4eba65;
  --err: #ff6b80;
  --cheers: #f0883e; /* the orange "prost!" when the tankards clink */

  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --page-width: 920px;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.65;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(0, 170, 170, 0.07), transparent 70%),
    var(--bg);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hi);
}

:focus-visible {
  outline: 2px solid var(--select);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: rgba(0, 170, 170, 0.4);
  color: #fff;
}

kbd {
  padding: 0 0.45em;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.9em;
  color: var(--muted);
  background: var(--raised);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--bg);
  font-weight: 700;
  background: var(--accent);
}

.skip-link:focus {
  top: 12px;
}

html:not(.js) .js-only {
  display: none !important;
}

.muted {
  color: var(--muted);
}

/* ---------- Background field (drawn by field.js) ---------- */

.field {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 1;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 16px 56px;
}

/* ---------- Header ---------- */

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5ch;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.spark {
  display: inline-block;
  min-width: 1em;
  color: var(--accent);
  text-align: center;
}

/* The ale tankard next to the site name; it tips back for a sip on hover. */
.mark {
  display: block;
  width: 1.35em;
  height: 1.35em;
  transform-origin: 50% 90%;
  transition: transform 0.2s;
}

.brand:hover .mark {
  transform: rotate(-12deg);
}

/* Cheers: click a tankard and a second one swings in to clink it, then both
   take a sip. site.js adds the guest mug, the foam and the "prost!"; keep
   the 1.3s and the 28% clink in step with CHEERS_MS and CLINK_AT there. */
.is-cheering {
  transform-origin: 50% 90%;
  animation: cheers-host 1.3s ease-in-out;
}

.mark-guest {
  position: absolute;
  pointer-events: none;
  transform-origin: 50% 90%;
  animation: cheers-guest 1.3s ease-in-out both;
}

/* No 0% or 100% here, so the host starts and ends wherever it already is
   (tipped back, if the cursor is on it). */
@keyframes cheers-host {
  18% {
    transform: rotate(-6deg);
    animation-timing-function: ease-in;
  }
  28% {
    transform: rotate(14deg); /* clink */
  }
  36% {
    transform: rotate(4deg);
  }
  46% {
    transform: rotate(0deg);
  }
  58%,
  72% {
    transform: translateY(-4%) rotate(-16deg); /* sip */
  }
  84% {
    transform: rotate(0deg);
  }
}

/* The guest is the same tankard mirrored, so its handle faces away. */
@keyframes cheers-guest {
  0% {
    opacity: 0;
    transform: translateX(200%) rotate(10deg) scaleX(-1);
    animation-timing-function: ease-in;
  }
  12% {
    opacity: 1;
  }
  28% {
    transform: translateX(110%) rotate(-16deg) scaleX(-1); /* clink */
  }
  36% {
    transform: translateX(128%) rotate(-4deg) scaleX(-1);
  }
  46% {
    transform: translateX(122%) rotate(0deg) scaleX(-1);
  }
  58%,
  72% {
    transform: translateX(122%) translateY(-4%) rotate(16deg) scaleX(-1); /* sip */
  }
  84% {
    opacity: 1;
    transform: translateX(126%) rotate(0deg) scaleX(-1);
  }
  100% {
    opacity: 0;
    transform: translateX(200%) rotate(6deg) scaleX(-1);
  }
}

/* Foam that splashes up where the mugs meet. --dx/--dy are set per drop. */
.foam-drop {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fffef8, #efe2bf 55%, #c8b480);
  pointer-events: none;
  animation: foam-drop 0.65s forwards;
}

@keyframes foam-drop {
  0% {
    transform: scale(0.6);
    animation-timing-function: ease-out;
  }
  45% {
    opacity: 1;
    transform: translate(calc(var(--dx) * 0.6), var(--dy)) scale(1);
    animation-timing-function: ease-in;
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx), calc(var(--dy) * 0.3)) scale(0.5);
  }
}

/* "prost!" pops out above the clink, then drifts up and fades. site.js sets
   its left/top to the point where the rims meet and sizes it to the mug. */
.prost {
  position: absolute;
  padding: 0.1em 0.55em;
  border: 1px solid var(--cheers);
  border-radius: 6px;
  color: var(--cheers);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  background: var(--sunken);
  box-shadow: 0 0 12px rgba(240, 136, 62, 0.3);
  pointer-events: none;
  transform-origin: 50% 100%;
  animation: prost 0.9s ease-out forwards;
}

@keyframes prost {
  0% {
    opacity: 0;
    transform: translate(-50%, -100%) scale(0.3) rotate(-8deg);
  }
  22% {
    opacity: 1;
    transform: translate(-50%, -100%) scale(1.15) rotate(-8deg);
  }
  36% {
    transform: translate(-50%, -100%) scale(1) rotate(-8deg);
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, calc(-100% - 0.5em)) scale(1) rotate(-8deg);
  }
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

.nav a[aria-current="page"] {
  color: var(--accent);
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(36px, 8vw, 84px) 0 clamp(28px, 5vw, 48px);
}

.banner {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
}

/* ASCII-art title, pre-rendered to SVG so it doesn't depend on font coverage.
   --cols on the h1 is the art's width in characters. */
.banner-art {
  display: block;
  width: min(100%, calc(var(--cols) * 10.5px));
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 14px rgba(0, 170, 170, 0.3));
}

.banner-block {
  fill: var(--accent);
}

.banner-shade {
  fill: none;
  stroke: rgba(0, 170, 170, 0.5);
  stroke-width: 0.1;
}

.hero-sub {
  width: fit-content;
  max-width: 58ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-hint {
  width: fit-content;
  margin: 10px 0 0;
  color: var(--faint);
  font-size: 0.85rem;
}

.crumb {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 16px;
  color: var(--faint);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.crumb a {
  color: var(--muted);
  text-decoration: none;
}

.crumb a:hover {
  color: var(--accent);
}

.post-title {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.post-meta {
  width: fit-content;
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 0.88rem;
}

.post-meta .tag {
  color: var(--select);
}

/* ---------- Terminal window ---------- */

.window {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.35);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line-soft);
}

.dots {
  display: flex;
  flex: none;
  gap: 7px;
}

.dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line);
}

.window-title {
  flex: 1;
  min-width: 0;
  margin-right: 47px;
  overflow: hidden;
  color: var(--faint);
  font-size: 0.8rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-body {
  padding: clamp(20px, 4vw, 34px) clamp(16px, 4vw, 36px) 8px;
}

.window-body > :first-child {
  margin-top: 0;
}

/* ---------- Welcome box (Claude Code v2 style) ---------- */

.welcome {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  margin: 10px 0 34px;
  border: 1px solid var(--accent);
  border-radius: 8px;
}

.welcome-label {
  position: absolute;
  top: 0;
  left: 14px;
  margin: 0;
  padding: 0 8px;
  transform: translateY(-50%);
  line-height: 1.2;
  color: var(--accent);
  background: var(--surface);
}

.welcome-label span {
  color: var(--faint);
}

.welcome-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 16px 20px;
  text-align: center;
}

.welcome-main p {
  margin: 0;
}

.welcome-title {
  font-weight: 700;
}

.welcome-mark {
  margin: 6px 0 !important;
}

.welcome-mark img {
  display: block;
  width: 4rem;
  height: 4rem;
  cursor: pointer;
}

.welcome-meta {
  color: var(--muted);
  font-size: 0.85rem;
}

.welcome-cwd {
  color: var(--faint);
  font-size: 0.85rem;
}

.welcome-side {
  padding: 16px 20px;
  border-left: 1px solid var(--accent);
}

.welcome-side h2 {
  margin: 0 0 4px;
  font-size: inherit;
  color: var(--accent);
}

.welcome-side p {
  margin: 0;
  color: var(--muted);
}

.welcome-side hr {
  margin: 14px 0;
  border: 0;
  border-top: 1px solid var(--accent);
  opacity: 0.6;
}

/* ---------- Transcript pieces ---------- */

.turn {
  margin: 30px 0;
}

.user-msg {
  display: flex;
  gap: 1ch;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 6px;
  color: var(--muted);
  background: var(--raised);
}

.user-msg::before {
  content: ">";
  color: var(--faint);
}

.tool {
  display: flex;
  gap: 1ch;
  margin: 0;
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
}

.tool::before {
  content: "●";
  color: var(--ok);
}

.tool--err::before {
  color: var(--err);
}

.tool-args {
  font-weight: 400;
  color: var(--muted);
}

.result {
  margin: 2px 0 0;
  padding-left: 2ch;
}

.result-head {
  margin: 0 0 14px;
  padding-left: 2ch;
  text-indent: -2ch;
  color: var(--muted);
}

.result-head::before {
  content: "⎿";
  margin-right: 1ch;
  color: var(--faint);
}

.result-head.is-err {
  color: var(--err);
}

.result > :last-child {
  margin-bottom: 0;
}

.more-link {
  display: inline-block;
  margin-top: 4px;
}

/* ---------- Selectable rows (links + posts) ---------- */

.rows {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rows a {
  display: grid;
  align-items: baseline;
  gap: 2px 1ch;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
}

.rows a::before {
  content: "❯";
  grid-row: 1;
  color: transparent;
}

.rows a:hover,
.rows a:focus-visible {
  outline: none;
  background: var(--select-soft);
}

.rows a:hover::before,
.rows a:focus-visible::before {
  color: var(--select);
}

/* Links */
.links a {
  grid-template-columns: 2ch 10ch minmax(0, 1fr) auto;
}

.link-name {
  font-weight: 700;
}

.link-url {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-desc {
  color: var(--faint);
  text-align: right;
}

.links a:hover .link-name,
.links a:hover .link-url,
.links a:focus-visible .link-name,
.links a:focus-visible .link-url {
  color: var(--select);
}

/* Posts */
.posts a {
  grid-template-columns: 2ch 11ch minmax(0, 1fr);
  padding: 12px 10px;
}

.post-date {
  color: var(--faint);
}

.post-name {
  font-weight: 700;
}

.post-summary,
.post-tags {
  grid-column: 3;
}

.post-summary {
  color: var(--muted);
}

.post-tags {
  color: var(--faint);
  font-size: 0.82rem;
}

.posts a:hover .post-name,
.posts a:focus-visible .post-name {
  color: var(--select);
}

/* ---------- Neat (a grid of keycap-style buttons) ---------- */

.neat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Each <li> is a keycap. Its link stretches over the whole cap, and the tags
   (added by neat.js) sit on top of it so they can be clicked on their own. */
.neat > li {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-bottom-width: 3px;
  border-radius: 8px;
  background: var(--raised);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.neat > li[hidden] {
  display: none;
}

.neat > li:hover,
.neat > li:has(:focus-visible) {
  border-color: var(--accent);
  box-shadow: 0 8px 22px rgba(0, 170, 170, 0.12);
  transform: translateY(-2px);
}

.neat > li:has(> a:focus-visible) {
  outline: 2px solid var(--select);
  outline-offset: 2px;
}

.neat > li:has(> a:active) {
  border-bottom-width: 1px;
  transform: translateY(2px);
  box-shadow: none;
}

.neat a {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px 14px;
  color: var(--text);
  text-decoration: none;
}

.neat a::before {
  content: "";
  position: absolute;
  inset: 0;
}

.neat a:focus-visible {
  outline: none;
}

.neat-name {
  font-weight: 700;
}

.neat-name::after {
  content: " ↗";
  color: var(--faint);
}

.neat a:hover .neat-name,
.neat a:hover .neat-name::after,
.neat a:focus-visible .neat-name,
.neat a:focus-visible .neat-name::after {
  color: var(--accent);
}

.neat-desc {
  color: var(--muted);
  font-size: 0.88rem;
}

.neat-host {
  margin-top: auto;
  padding-top: 6px;
  color: var(--faint);
  font-size: 0.78rem;
}

/* Tags: a filter bar above the grid, and a row on each keycap. */
.neat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.neat-tags {
  position: relative; /* above the stretched link */
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin: -6px 0 0;
  padding: 0 14px 12px;
  list-style: none;
}

.tag-btn {
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  background: none;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}

.neat-tags .tag-btn {
  padding: 0 6px;
  border-color: transparent;
  color: var(--faint);
  font-size: 0.78rem;
}

.tag-btn:hover,
.neat-tags .tag-btn:hover {
  border-color: var(--select);
  color: var(--select);
}

.tag-btn[aria-pressed="true"],
.neat-tags .tag-btn[aria-pressed="true"] {
  border-color: var(--select);
  color: var(--select);
  background: var(--select-soft);
}

.tag-count {
  color: var(--faint);
}

/* ---------- About ---------- */

.status {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.status dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px 3ch;
  margin: 0;
}

.status dt {
  color: var(--muted);
}

.status dd {
  margin: 0;
}

/* ---------- Prose (posts, bio) ---------- */

.prose {
  max-width: 68ch;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.72;
  color: #e6e3da;
}

.prose > :first-child {
  margin-top: 0;
}

.result + .prose {
  margin-top: 24px;
}

.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose pre,
.prose figure {
  margin: 0 0 1.1em;
}

.prose h2,
.prose h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.prose h2 {
  margin: 1.8em 0 0.6em;
  font-size: 1.45rem;
}

.prose h3 {
  margin: 1.5em 0 0.5em;
  font-size: 1.18rem;
}

/* Markdown-style heading markers */
.prose h2::before,
.prose h3::before {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.7em;
  vertical-align: 0.12em;
  color: var(--accent);
}

.prose h2::before {
  content: "## ";
}

.prose h3::before {
  content: "### ";
}

.prose strong {
  font-weight: 600;
  color: #fff;
}

.prose li {
  margin: 0.25em 0;
}

.prose li::marker {
  color: var(--faint);
}

.prose blockquote {
  padding: 0.15em 0 0.15em 1.1em;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-style: italic;
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

.prose code {
  padding: 0.12em 0.38em;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.8em;
  color: var(--select);
  background: var(--raised);
}

.prose pre {
  padding: 14px 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.74em;
  line-height: 1.55;
  background: var(--sunken);
}

.prose pre code {
  padding: 0;
  font-size: 1em;
  color: var(--text);
  background: none;
}

.prose hr {
  margin: 2.2em 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.prose img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.prose figcaption {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.72em;
  color: var(--faint);
}

.post-foot {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

/* ---------- Console (prompt + status line) ---------- */

.console {
  padding: 12px clamp(16px, 4vw, 36px) 14px;
}

.console-output {
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.console-output:empty {
  display: none;
}

.log-entry {
  margin-top: 10px;
}

.log-entry p {
  margin: 0;
}

.log-echo {
  color: var(--muted);
}

.log-result {
  padding-left: 2ch;
  color: var(--muted);
}

.log-result::before {
  content: "⎿";
  margin-right: 1ch;
  color: var(--faint);
}

.log-result.is-err {
  color: var(--err);
}

.log-result.is-ok {
  color: var(--ok);
}

.log-help {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0 3ch;
  margin: 2px 0 0 4ch;
}

.log-help dt {
  color: var(--select);
}

.log-help dd {
  margin: 0;
  color: var(--muted);
}

.prompt {
  position: relative;
  display: none;
  align-items: center;
  gap: 1ch;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sunken);
  transition: border-color 0.15s;
}

.js .prompt {
  display: flex;
}

.prompt:focus-within {
  border-color: var(--faint);
}

.prompt-caret {
  color: var(--muted);
}

.prompt input {
  flex: 1;
  min-width: 0;
  padding: 2px 0;
  border: 0;
  outline: 0;
  color: var(--text);
  font: inherit;
  background: transparent;
  caret-color: var(--accent);
}

.prompt input::placeholder {
  color: var(--faint);
}

.slash-menu {
  position: absolute;
  right: -1px;
  bottom: calc(100% + 6px);
  left: -1px;
  z-index: 5;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sunken);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
}

.slash-menu li {
  display: grid;
  grid-template-columns: 9ch 1fr;
  gap: 2ch;
  padding: 3px 14px;
  color: var(--muted);
  cursor: pointer;
}

.slash-menu .cmd-name {
  color: var(--text);
}

.slash-menu li[aria-selected="true"],
.slash-menu li[aria-selected="true"] .cmd-name {
  color: var(--select);
}

.slash-menu li[aria-selected="true"] {
  background: var(--select-soft);
}

.statusline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 18px;
  margin-top: 8px;
  padding: 0 4px;
  color: var(--faint);
  font-size: 0.8rem;
}

.statusline button {
  padding: 0;
  border: 0;
  color: inherit;
  font: inherit;
  background: none;
  cursor: pointer;
}

.statusline button:hover {
  color: var(--muted);
}

/* ---------- Small screens ---------- */

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .welcome {
    grid-template-columns: 1fr;
  }

  .welcome-side {
    border-top: 1px solid var(--accent);
    border-left: 0;
  }

  .links a {
    grid-template-columns: 2ch minmax(0, 1fr);
  }

  .link-url,
  .link-desc {
    grid-column: 2;
    text-align: left;
  }

  .posts a {
    grid-template-columns: 2ch minmax(0, 1fr);
  }

  .post-date,
  .post-name,
  .post-summary,
  .post-tags {
    grid-column: 2;
  }

  .neat {
    grid-template-columns: 1fr;
  }

  .status dl {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .status dd {
    margin-bottom: 8px;
  }

  .prose {
    font-size: 1.08rem;
  }

  .slash-menu li {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
