@font-face {
  font-family: 'Terminal Pixel';
  src: url('fonts/BetterVCRJP.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Chunky Pixel Small Screen';
  src: url('fonts/ChunkyPixelSmallScreen.woff2?v=punctuation-1') format('woff2');
  ascent-override: 100%;
  descent-override: 25%;
  line-gap-override: 0%;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Chunky Pixel Grid Screen';
  src: url('fonts/ChunkyPixelGridScreen.woff2') format('woff2');
  ascent-override: 100%;
  descent-override: 25%;
  line-gap-override: 0%;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pixelify Sans';
  src: url('fonts/pixel-options/PixelifySans.ttf') format('truetype');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Silkscreen';
  src: url('fonts/pixel-options/Silkscreen-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Silkscreen';
  src: url('fonts/pixel-options/Silkscreen-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'VT323';
  src: url('fonts/pixel-options/VT323-Regular.ttf') format('truetype');
  font-weight: 400;
  size-adjust: 125%;
  font-display: swap;
}
@font-face { font-family: 'Press Start 2P'; src: url('fonts/pixel-options/pressstart2p.ttf') format('truetype'); font-weight: 400; font-display: swap; size-adjust: 75%; }
@font-face { font-family: 'DotGothic16'; src: url('fonts/pixel-options/dotgothic16.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Tiny5'; src: url('fonts/pixel-options/tiny5.ttf') format('truetype'); font-weight: 100 900; font-display: swap; size-adjust: 140%; }
@font-face { font-family: 'Micro 5'; src: url('fonts/pixel-options/micro5.ttf') format('truetype'); font-weight: 400; font-display: swap; size-adjust: 140%; }
@font-face { font-family: 'Jersey 10'; src: url('fonts/pixel-options/jersey10.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jersey 15'; src: url('fonts/pixel-options/jersey15.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jersey 20'; src: url('fonts/pixel-options/jersey20.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jersey 25'; src: url('fonts/pixel-options/jersey25.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Handjet'; src: url('fonts/pixel-options/handjet.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Sixtyfour'; src: url('fonts/pixel-options/sixtyfour.ttf') format('truetype'); font-weight: 400; font-display: swap; size-adjust: 75%; }
[data-screen='simple'] .terminal-page {
  font-family: var(--simple-font, 'Chunky Pixel Small Screen'), 'Terminal Pixel', ui-monospace, monospace;
  font-synthesis: none;
}
.terminal-heading h1 {
  font-family: var(--simple-title-font, 'Chunky Pixel Grid Screen'), 'Terminal Pixel', ui-monospace, monospace;
  font-weight: 400;
}
@media (max-width: 560px) {
  .terminal-heading h1 {
    font-family: var(--simple-font, 'Chunky Pixel Small Screen'), 'Terminal Pixel', ui-monospace, monospace;
  }
}

:root {
  color-scheme: dark;
  --terminal-bg: #140e14;
  --terminal-text: #eee7bf;
  --terminal-muted: #aaa099;
  --terminal-accent: #ef5754;
  --terminal-accent-ink: #140e14;
  --terminal-rule: #4d4148;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--terminal-bg); color: var(--terminal-text); font-family: var(--simple-font, 'Pixelify Sans'), monospace; font-synthesis: none; font-size: 16px; line-height: 1.4; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 1px solid var(--terminal-text); outline-offset: 3px; }
[hidden] { display: none !important; }
.terminal-page :is(h1,h2,p,button,summary,label,output,select,.session-bar,.journal-columns,.preview-meta,.post-select > span) { -webkit-font-smoothing: var(--terminal-font-smoothing, auto); }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 30; background: var(--terminal-accent); padding: 10px; color: var(--terminal-accent-ink); }
.skip-link:focus { top: 10px; }
.terminal-shell { width: min(1200px, 100%); min-height: 100svh; margin: auto; padding: 32px 48px 24px; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.9fr); grid-template-rows: auto auto minmax(0, 1fr) auto auto; column-gap: 12px; }
.session-bar { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; padding-bottom: 5px; border-bottom: 1px solid var(--terminal-accent); font-size: 14px; letter-spacing: .03em; }
.session-date { white-space: nowrap; }
.terminal-header { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; padding: 20px 0 14px; }
.terminal-logo-glow { flex-shrink: 0; }
.terminal-logo { display: block; width: 130px; height: 148.2px; background: var(--terminal-logo-color, var(--terminal-text)); mask: url('img/head-logo.png') center / contain no-repeat; image-rendering: pixelated; position: relative; }
.terminal-logo img { display: block; width: 100%; height: 100%; image-rendering: pixelated; opacity: 0; }
[data-logo-grid='true'] .terminal-logo::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(to right, var(--terminal-bg) 50%, transparent 50%), linear-gradient(to bottom, var(--terminal-bg) 50%, transparent 50%); background-size: var(--terminal-grid-size, 4px) var(--terminal-grid-size, 4px); }
.terminal-heading { min-width: 0; border-left: 6px solid var(--terminal-accent); padding: 0 0 14px 10px; }
.terminal-title { padding: 0; }
.terminal-heading h1 { margin: 0; font-size: clamp(32px, 4.7vw, 54px); line-height: 1; font-weight: 700; letter-spacing: -.025em; }
.terminal-subtitle { font-size: 27px; line-height: 1.2; margin: 2px 0 0; }
.terminal-intro { color: var(--terminal-muted); margin: 14px 0 0; font-size: 16px; }
.terminal-path { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.terminal-path [data-journal-path], .prompt-path { color: var(--terminal-accent); }
.header-cursor { display: none; }
.terminal-workspace { display: contents; }
.journal { grid-column: 1; grid-row: 3; min-width: 0; min-height: 0; border-top: 1px solid var(--terminal-accent); display: flex; flex-direction: column; padding-top: 4px; }
.journal-columns, .post-select { display: grid; grid-template-columns: minmax(0, 1fr) 100px 92px; gap: 8px; align-items: center; }
.journal-columns { min-height: 35px; padding: 7px 8px 7px 20px; border-bottom: 1px solid var(--terminal-rule); font-size: 13px; margin-right: 6px; }
.journal-columns span:last-child { text-align: right; }
.journal-list { position: relative; list-style: none; padding: 0; margin: 0; min-height: 0; max-height: 340px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--terminal-accent) var(--terminal-bg); scrollbar-gutter: stable; }
.journal-list li { border-bottom: 1px solid var(--terminal-rule); }
.post-select { position: relative; width: 100%; min-height: 36px; border: 0; padding: 6px 8px 6px 20px; background: none; color: var(--terminal-text); text-align: left; cursor: pointer; }
.post-select:is(:hover,:focus-visible), .post-select[aria-pressed='true'] { background: var(--terminal-accent); color: var(--terminal-accent-ink); }
.post-select[aria-pressed='true']::before { content: ''; position: absolute; left: 5px; width: 7px; height: 10px; background: currentColor; clip-path: polygon(0 0,100% 50%,0 100%); }
.post-select:focus-visible { outline-offset: -3px; }
.post-name { min-width: 0; font-size: 21px; font-weight: 500; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-project, .post-date { color: var(--terminal-muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-select:is(:hover,:focus-visible,[aria-pressed='true']) :is(.post-project,.post-date) { color: inherit; }
.post-date { text-align: right; }
.journal-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.journal-message { padding: 18px 8px; color: var(--terminal-muted); }
.retry-button { border: 1px solid var(--terminal-accent); background: none; color: var(--terminal-accent); padding: 8px; cursor: pointer; }
.post-preview { grid-column: 2; grid-row: 3; min-width: 0; align-self: start; margin-top: -36px; border-left: 3px solid var(--terminal-accent); padding-left: 12px; padding-bottom: 4px; }
.preview-image-link { display: block; border: 1px solid var(--terminal-accent); overflow: hidden; }
.preview-image { display: block; width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; }
.preview-title { font-size: 27px; font-weight: 600; line-height: 1.1; margin: 6px 0 0; overflow-wrap: anywhere; }
.preview-meta { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--terminal-rule); padding-bottom: 4px; color: var(--terminal-muted); font-size: 13px; }
.preview-description { margin: 6px 0 10px; font-size: 14px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.open-post { display: inline-block; background: var(--terminal-accent); color: var(--terminal-accent-ink); font-size: 18px; line-height: 1.2; padding: 3px 9px; margin-top: 8px; }
.open-post:hover { background: var(--terminal-text); }
.terminal-prompt { margin: 0; overflow-wrap: anywhere; }
.terminal-cursor { display: inline-block; width: .6em; height: 1em; background: var(--terminal-accent); margin-left: 8px; vertical-align: -.12em; }
.terminal-copyright { grid-column: 1 / -1; color: var(--terminal-muted); font-size: 10px; margin: 14px 0 0; opacity: .6; }
@media (min-width: 1000px) { .terminal-shell { padding-top: 40px; } .terminal-header { padding-top: 26px; padding-bottom: 20px; } .terminal-logo { width: 150px; height: 171px; } .journal-columns,.post-select { grid-template-columns: minmax(0,1fr) 110px 100px; } .journal-list { max-height: 420px; } .post-select { min-height: 42px; } }
@media (max-width: 760px) { .terminal-shell { padding: 20px 24px; grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto auto auto auto auto; } .terminal-header { grid-column: 1; gap: 16px; } .terminal-logo { width: 100px; height: 114px; } .terminal-heading h1 { font-size: 34px; } .terminal-subtitle { font-size: 22px; } .terminal-intro,.terminal-path { font-size: 14px; } .journal { grid-row: 3; } .journal-list { max-height: 260px; } .post-preview { grid-column: 1; grid-row: 4; margin-top: 24px; } .preview-image { max-height: 360px; } }
@media (max-width: 480px) { .terminal-shell { padding: 16px; } .session-bar { font-size: 10px; gap: 8px; } .terminal-header { gap: 12px; padding: 22px 0; align-items: flex-start; } .terminal-logo { width: 70px; height: 79.8px; } .terminal-heading { border-left-width: 4px; padding-left: 8px; padding-bottom: 0; } .terminal-heading h1 { font-size: 27px; } .terminal-subtitle { font-size: 18px; } .terminal-intro { margin-top: 10px; font-size: 12px; } .terminal-path { font-size: 11px; } .journal-columns,.post-select { grid-template-columns: minmax(0,1fr) 66px 73px; gap: 5px; padding-right: 4px; } .post-name { font-size: 17px; } .post-project,.post-date,.journal-columns { font-size: 11px; } }
.terminal-logo { mask-mode: luminance; }
.terminal-path .header-cursor { display: none; }
@media (min-width: 761px) {
  .terminal-shell { height: 100svh; min-height: 580px; }
  .journal-columns, .post-select { grid-template-columns: minmax(0, 1fr) 86px 82px; }
  .journal-list { flex: 1; max-height: none; }
  .post-name { font-size: 20px; }
}
@media (min-width: 761px) {
  .post-preview { display: flex; flex-direction: column; max-height: calc(100% + 36px); }
  .preview-image-link { flex: 0 1 auto; min-height: 90px; aspect-ratio: 1.55; }
  .preview-image { height: 100%; aspect-ratio: auto; }
  .preview-title, .preview-meta, .preview-description, .open-post { flex-shrink: 0; }
  .open-post { align-self: flex-start; }
}

/* Physical design grid: CSS pixels at 1×, independent of devicePixelRatio. */
.terminal-shell { column-gap: 0; grid-template-columns: round(down, 60%, 1px) minmax(0, 1fr); }
.terminal-header { align-items: flex-start; }
.terminal-logo { width: 150px; height: 171px; }
.journal-list { direction: rtl; }
.journal-list > li { direction: ltr; }
.journal-list::-webkit-scrollbar { width: 6px; }
.journal-list::-webkit-scrollbar-track { background: var(--terminal-bg); }
.journal-list::-webkit-scrollbar-thumb { background: var(--terminal-accent); border-radius: 0; }
.journal-list::-webkit-scrollbar-button { display: none; }
.journal-columns { margin-right: 0; padding-left: 26px; }
.terminal-heading h1 { letter-spacing: 0; }
/* Every face keeps its own native cell size. The original fine title grid is 32px. */
[data-antialias='false'] .terminal-page { -webkit-font-smoothing: none; -moz-osx-font-smoothing: grayscale; }
[data-antialias='false'] :is(.session-bar,.terminal-intro,.terminal-path,.journal-columns,.post-name,.post-project,.post-date,.preview-meta,.preview-description,.terminal-copyright,.open-post,.crt-tools,.crt-panel,.crt-help,.section-label,.journal-message,.retry-button) {
  font-size: max(var(--terminal-font-step), round(nearest, 16px, var(--terminal-font-step)));
  line-height: round(up, 20px, 1px);
  letter-spacing: 0;
  font-weight: 400;
}
[data-antialias='false'] .terminal-heading h1 {
  font-size: max(var(--terminal-title-step), round(nearest, 32px, var(--terminal-title-step)));
  line-height: 1;
  font-weight: 400;
}
[data-antialias='false'] :is(.terminal-subtitle,.preview-title) {
  font-size: max(var(--terminal-font-step), round(nearest, 32px, var(--terminal-font-step)));
  line-height: 1;
  font-weight: 400;
}
[data-antialias='false'] .terminal-cursor { width: 8px; height: 16px; vertical-align: -2px; }
[data-antialias='false'] .journal-columns,
[data-antialias='false'] .post-select { grid-template-columns: minmax(0, 1fr) 108px 120px; }
@media (max-width: 760px) {
  .terminal-shell { grid-template-columns: minmax(0, 1fr); }
  .terminal-logo { width: 100px; height: 114px; }
}
@media (max-width: 480px) {
  .terminal-header { flex-wrap: wrap; }
  .terminal-logo { width: 50px; height: 57px; }
  .terminal-header { gap: 12px; }
  [data-antialias='false'] .terminal-subtitle { font-size: 16px; }
  [data-antialias='false'] .terminal-heading h1 { font-family: 'Chunky Pixel Small Screen', monospace; font-size: 16px; line-height: 20px; }
  [data-antialias='false'] .terminal-heading { flex: 1; }
  [data-antialias='false'] .journal-columns,
  [data-antialias='false'] .post-select { grid-template-columns: minmax(0, 1fr) 120px; gap: 4px; }
  [data-antialias='false'] :is(.post-project,.column-project) { display: none; }
}
@media (min-width: 761px) and (max-height: 700px) {
  [data-antialias='false'] .preview-title { font-size: 16px; line-height: 20px; }
  [data-antialias='false'] .preview-description { -webkit-line-clamp: 2; margin-bottom: 0; }
  .preview-image-link { min-height: 60px; }
}
@media (min-width: 761px) {
  .post-preview { container-type: inline-size; }
  .preview-image-link { height: round(down, calc(100cqw / 1.55), 1px); aspect-ratio: auto; }
}

/* Header starts the page; its accent stripe matches the logo's native 3× height. */
.terminal-shell { grid-template-rows: auto minmax(0, 1fr) auto auto; }
.terminal-header { grid-row: 1; }
.terminal-heading { min-height: 171px; }
.journal, .post-preview { grid-row: 2; }
.terminal-copyright { grid-row: 4; }
@media (max-width: 760px) {
  .terminal-shell { grid-template-rows: auto auto auto auto auto; }
  .terminal-heading { min-height: 114px; }
  .post-preview { grid-row: 3; }
  .terminal-copyright { grid-row: 5; }
}
@media (max-width: 480px) { .terminal-heading { min-height: 57px; } }
/* Reclaim the former top margin for the next whole-pixel logo scale (4×). */
@media (min-width: 761px) {
  .terminal-shell { padding-top: 8px; }
  .terminal-header { padding-top: 0; }
  .terminal-logo { width: 200px; height: 228px; }
  .terminal-heading { min-height: 228px; display: flex; flex-direction: column; justify-content: center; }
}

/* Preserve the corrected Chunky Pixel at-sign in every terminal prompt. */
[data-typeface='dots'] .terminal-at {
  position: relative;
  display: inline-block;
  width: .875em;
  height: 1em;
  vertical-align: -.125em;
  overflow: hidden;
  text-indent: -9999px;
}
[data-typeface='dots'] .terminal-at::after {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  mask: url('img/icons/at-dots.svg') center / 100% 100% no-repeat;
}
.terminal-path .terminal-at { color: inherit; }

/* Keep metadata distinct, then replace its two tracks with the row action. */
.post-name { grid-column: 1; grid-row: 1; }
.post-project { grid-column: 2; grid-row: 1; padding-right: 32px; }
.post-date { grid-column: 3; grid-row: 1; }
[data-antialias='false'] .journal-columns,
[data-antialias='false'] .post-select { grid-template-columns: minmax(0, 1fr) 140px 120px; }
.post-open { grid-column: 2 / -1; grid-row: 1; display: flex; align-items: center; justify-content: flex-end; gap: 8px; visibility: hidden; font-size: inherit; line-height: 20px; white-space: nowrap; }
.post-open-arrow { display: block; width: 16px; height: 16px; background: currentColor; mask: url('img/icons/arrow-up-right.svg') center / contain no-repeat; }
.post-select:is(:hover,:focus-visible) :is(.post-project,.post-date) { visibility: hidden; }
.post-select:is(:hover,:focus-visible) .post-open { visibility: visible; }
@media (max-width: 480px) {
  [data-antialias='false'] .journal-columns,
  [data-antialias='false'] .post-select { grid-template-columns: minmax(0, 1fr) 120px; }
  [data-antialias='false'] .post-date { grid-column: 2; }
}
@media (max-width: 480px) {
  [data-antialias='false'] .journal-columns,
  [data-antialias='false'] .post-select { grid-template-columns: minmax(0, 1fr) 144px; }
}

/* The selected post preview contains only the linked artwork. */
.preview-image-link { border: 0; }

/* Center the preview artwork at 150% zoom. */
.preview-image-link { overflow: hidden; }
.preview-image { object-fit: contain; object-position: center; transform: scale(1.5); transform-origin: center; }
.post-preview { border-left: 0; }
.post-preview::before, .post-preview::after, .journal::after { display: none; }

/* Give the full-width rules real layout space and equal artwork insets. */
@media (min-width: 761px) {
  .terminal-header { padding-bottom: 24px; }
  .terminal-workspace {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: round(down, 60%, 1px) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    min-height: 0;
    border-top: 1px solid var(--terminal-accent);
    padding-block: 24px;
  }
  .journal { grid-column: 1; grid-row: 1; border-top: 0; padding-top: 0; }
  .post-preview {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    margin-top: 0;
    max-height: none;
    border: 0;
    padding: 0 0 0 15px;
  }
  .preview-image-link { flex: 1 1 0; height: auto; min-height: 0; }
  .preview-image { width: 100%; height: 100%; }
  }
/* Move the left-hand scrollbar outward while keeping row contents in place. */
.journal-list {
  margin-left: -12px;
  width: calc(100% + 12px);
}
.journal-list > li { margin-left: 12px; }

/* Fetch-style terminal output: artist identity and real journal metadata. */
.terminal-shell { border: 0; margin: 0 auto; width: 100%; min-height: 100svh; padding-top: 24px; }
.terminal-header { gap: 32px; }
.terminal-heading.fetch-summary { border: 0; padding: 0; min-height: 228px; display: flex; flex-direction: column; justify-content: center; }
.terminal-heading::before { display: none; }
.terminal-heading.fetch-summary h1 { font-family: var(--simple-font), monospace; font-size: 16px; line-height: 20px; font-weight: 400; letter-spacing: 0; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--terminal-rule); width: fit-content; }
.fetch-summary h1 > span:first-child { color: var(--terminal-accent); }
.fetch-details { margin: 0; font-size: 16px; line-height: 24px; }
.fetch-details > div { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 12px; }
.fetch-details dt { color: var(--terminal-accent); }
.fetch-details dt::after { content: ':'; }
.fetch-details dd { margin: 0; overflow-wrap: anywhere; }
@media (min-width: 761px) {
  .terminal-shell { --terminal-side-inset: 24px; height: 100svh; min-height: 580px; padding-inline: var(--terminal-side-inset); }
  .terminal-page .crt-tools { bottom: 8px; right: 24px; }
}
@media (min-width: 1440px) {
  .terminal-shell { --terminal-side-inset: 40px; }
  .terminal-page .crt-tools { right: 40px; }
}
@media (min-width: 1920px) {
  .terminal-shell { --terminal-side-inset: 48px; }
  .terminal-page .crt-tools { right: 48px; }
}
@media (max-width: 760px) {
  .terminal-heading.fetch-summary { min-height: 0; }
  .terminal-header { gap: 24px; }
  .fetch-details > div { grid-template-columns: 96px minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 480px) {
  .terminal-header { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 16px; }
  .fetch-summary h1 { overflow-wrap: anywhere; }
  .fetch-details > div { display: block; margin-bottom: 8px; }
  .fetch-details dt, .fetch-details dd { display: inline; }
  .fetch-details dt { margin-right: 12px; }
}
/* Keep fetch baselines on whole pixels instead of centering an odd-height block. */
.terminal-heading.fetch-summary { justify-content: flex-start; padding-top: 24px; }
@media (max-width: 760px) { .terminal-heading.fetch-summary { padding-top: 0; } }

/* The shell prompt resumes on its own line after the fetch output. */
.terminal-header { flex-wrap: wrap; row-gap: 16px; }
.fetch-prompt { flex: 0 0 100%; grid-column: 1 / -1; margin: 0; font-size: 16px; line-height: 20px; }

/* Share the available width equally between the journal and the preview. */
.terminal-page .journal-columns,
.terminal-page .post-select { grid-template-columns: minmax(0, 1fr) 144px; }
.post-date { grid-column: 2; }
@media (min-width: 761px) {
  .terminal-workspace { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .post-preview { padding-left: 0; }
}

/* Match the logo's 2px dots / 2px gutters, independently of artwork zoom. */
:root { --terminal-grid-size: 4px; }
/* Keep the logo readable at its smaller native-pixel scales. */
@media (max-width: 760px) {
  [data-logo-grid='true'] .terminal-logo::before { --terminal-grid-size: 2px; }
}
@media (max-width: 480px) {
  [data-logo-grid='true'] .terminal-logo::before { display: none; }
}

/* Reserve the same left scrollbar gutter for the heading and the rows. */
.journal-columns-scroll {
  direction: rtl;
  overflow-y: hidden;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  flex-shrink: 0;
}
.journal-columns-scroll::-webkit-scrollbar { width: 6px; }
.journal-columns-scroll .journal-columns { direction: ltr; padding-left: 15px; }

/* Keep the mobile preview in its natural proportions. */
.post-preview { align-self: start; }
.post-preview .preview-image-link {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  min-height: 0;
  border: 0;
  aspect-ratio: auto;
}
.post-preview .preview-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: none;
  aspect-ratio: auto;
}
@media (min-width: 761px) {
  /* The workspace's top rule spans both equally sized columns. */
  .post-preview { align-self: stretch; }
  .post-preview .preview-image-link { flex: 1 1 0; }
  .post-preview .preview-image { width: 100%; height: 100%; object-fit: cover; }
}
