/* ==========================================================================
   3xHelix // Helix Gaming: retro CRT terminal
   ========================================================================== */

:root {
  --bg-deep:   #18142a;
  --bg-panel:  #1d1832;
  --bg-raised: #2f1c41;
  --purple:    #462f81;
  --violet:    #721b84;
  --magenta:   #c04d7e;
  --coral:     #fe7947;
  --amber:     #ffb029;
  --mint:      #61c9a7;
  --lime:      #b8c87e;
  --text:      #f3d9c4;
  --dim:       #9a86a6;

  --glow: 0 0 1px rgba(254, 121, 71, .55), 0 0 6px rgba(254, 121, 71, .28);
  --font: "VT323", ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --fs: 22px;

  /* theme-dependent effects (overridden per theme below) */
  --crt-hi: #221b3a;
  --halo: rgba(114, 27, 132, .25);
  --bar: linear-gradient(to right, rgba(70, 47, 129, .45), rgba(114, 27, 132, .2));
  --cursor-glow: rgba(255, 176, 41, .6);
  --banner-glow: rgba(254, 121, 71, .35);
  --fail: var(--magenta);
}

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

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs);
  line-height: 1.25;
  text-shadow: var(--glow);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
kbd { font: inherit; }
p { margin: 0; }

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

.c-amber { color: var(--amber); }
.c-mint  { color: var(--mint); }
.c-coral { color: var(--coral); }
.c-mag   { color: var(--magenta); }
.c-lime  { color: var(--lime); }
.c-dim   { color: var(--dim); }

/* ---------- CRT shell: scanlines, vignette, flicker ---------- */

.crt {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 16px;
  display: flex;
  background: radial-gradient(ellipse at 50% 40%, var(--crt-hi) 0%, var(--bg-deep) 70%);
}

.crt::before,
.crt::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
}

/* scanlines */
.crt::before {
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0,
    rgba(0, 0, 0, 0) 2px,
    rgba(0, 0, 0, .22) 3px,
    rgba(0, 0, 0, 0) 4px
  );
  animation: flicker 6s steps(1) infinite;
}

/* vignette */
.crt::after {
  background: radial-gradient(ellipse at center, transparent 55%, rgba(5, 2, 12, .65) 100%);
}

@keyframes flicker {
  0%, 100% { opacity: 1; }
  41%      { opacity: .82; }
  42%      { opacity: 1; }
  77%      { opacity: .9; }
  78%      { opacity: 1; }
}

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

.term {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg-panel);
  border: 1px solid var(--purple);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 0 40px var(--halo), inset 0 0 80px rgba(0, 0, 0, .35);
}

.titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px;
  border-bottom: 1px solid var(--purple);
  background: var(--bar);
  color: var(--text);
  font-size: 20px;
  user-select: none;
}

.titlebar__logo {
  width: 20px; height: 20px;
  image-rendering: auto;
  border: 1px solid var(--purple);
}

.titlebar__title {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.titlebar__btns { display: flex; gap: 6px; }
.titlebar__btns i {
  display: block; width: 10px; height: 10px;
  border: 1px solid var(--purple);
}
.titlebar__btns i:last-child { background: var(--violet); }
/* the filled square doubles as the theme switcher */
.theme-btn {
  display: block; width: 10px; height: 10px;
  padding: 0; margin: 0;
  border: 1px solid var(--purple);
  background: var(--violet);
  cursor: pointer;
  position: relative;
}
.theme-btn::after { content: ""; position: absolute; inset: -8px; } /* bigger hit area */
.theme-btn:hover, .theme-btn:focus-visible { background: var(--amber); box-shadow: 0 0 8px var(--cursor-glow); outline: none; }

.screen {
  position: relative;
  flex: 1;
  padding: 20px 24px 28px;
  overflow-y: auto;
  outline: none;
}

.boot, .main {
  max-width: 1000px;
  margin: 0 auto;
}

.line { min-height: 1.25em; white-space: pre-wrap; }

.prompt { color: var(--magenta); }

/* ---------- Cursor ---------- */

.cursor {
  display: inline-block;
  width: .55em;
  height: 1em;
  margin-left: 1px;
  vertical-align: -.12em;
  background: var(--amber);
  box-shadow: 0 0 6px var(--cursor-glow);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }
.cursor[hidden] { display: none; }

/* [ login ] button on the logged-out screen */
.login-btn {
  margin-top: 14px;
  padding: 2px 14px;
  font: inherit;
  color: var(--amber);
  text-shadow: 0 0 6px rgba(255, 176, 41, .45);
  background: transparent;
  border: 1px dashed var(--purple);
  cursor: pointer;
}
.login-btn:hover,
.login-btn:focus-visible {
  background: var(--bg-raised);
  border-color: var(--amber);
  outline: none;
}

/* ---------- Boot ---------- */

.boot .line { color: var(--text); }
.ok { color: var(--mint); text-shadow: 0 0 6px rgba(97, 201, 167, .45); }

.skip-hint {
  position: absolute;
  right: 16px;
  bottom: 8px;
  font-size: 18px;
  color: var(--dim);
  text-shadow: none;
}
.skip-hint[hidden] { display: none; }

/* ---------- Banner ---------- */

.banner {
  margin: 0 0 4px;
  font-family: var(--font);
  font-size: clamp(9px, 3.4vw, 24px);
  line-height: 1.05;
  white-space: pre;
  background: linear-gradient(90deg, var(--amber) 0%, var(--coral) 45%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;              /* text-shadow would paint over the clipped gradient */
  filter: drop-shadow(0 0 6px var(--banner-glow));
  width: max-content;
  max-width: 100%;
  overflow: hidden;
}

.subtitle { margin-bottom: 14px; color: var(--coral); }

/* ---------- Listing ---------- */

.listing {
  list-style: none;
  margin: 6px 0 10px;
  padding: 0;
}

.row {
  display: grid;
  grid-template-columns: 11ch var(--owner-w, 8ch) var(--group-w, 6ch) 5ch 11ch minmax(0, 1fr);
  column-gap: 1.2ch;
  align-items: baseline;
  padding: 0 6px;
  white-space: pre;
}

.row > span { overflow: hidden; }
.row .size { text-align: right; color: var(--lime); }
.row .date { color: var(--lime); }
.row .perm, .row .owner, .row .group { color: var(--dim); }
.row--meta { color: var(--dim); }
.row--exec .name { color: var(--mint); }
.row--meta .name { color: var(--dim); }

.row .name {
  position: relative;
  text-decoration: none;
  color: var(--text);
  outline: none;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row--dir .name { color: var(--magenta); }

/* the ">" caret sits in reserved space so the name doesn't shift */
.row .name-wrap { position: relative; padding-left: 1.4ch; min-width: 0; display: flex; }
.row .name-wrap::before {
  content: ">";
  position: absolute;
  left: 0;
  opacity: 0;
  color: var(--amber);
}

.row--item:hover,
.row--item.is-active,
.row--item:focus-within {
  background: var(--bg-raised);
}
.row--item:hover .name,
.row--item.is-active .name,
.row--item:focus-within .name {
  color: var(--amber);
  text-shadow: 0 0 6px rgba(255, 176, 41, .55);
}
.row--item:hover .name-wrap::before,
.row--item.is-active .name-wrap::before,
.row--item:focus-within .name-wrap::before { opacity: 1; }

.row--item:focus-within { box-shadow: inset 2px 0 0 var(--amber); }

/* ---------- Hint / links / footer ---------- */

.hint {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 2.5ch;
  margin: 4px 0 18px;
  color: var(--dim);
}
.hint kbd { color: var(--amber); }

.hint__btn {
  font: inherit;
  color: inherit;
  text-shadow: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.hint__btn:hover, .hint__btn:focus-visible { color: var(--text); outline: 1px dashed var(--purple); outline-offset: 2px; }

.links { margin-bottom: 14px; }
.links a {
  color: var(--mint);
  text-decoration: none;
  margin-right: 2.5ch;
}
.links a:hover, .links a:focus-visible {
  color: var(--amber);
  text-decoration: underline;
  outline: none;
}

.footer { margin-bottom: 4px; }

/* ---------- Tooltip ---------- */

.tooltip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  max-width: min(360px, calc(100vw - 24px));
  padding: 6px 10px 8px;
  background: var(--bg-raised);
  border: 1px dashed var(--purple);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .45), 0 6px 24px rgba(0, 0, 0, .5), 0 0 18px rgba(114, 27, 132, .35);
  font-size: 20px;
  line-height: 1.2;
  pointer-events: none;
  opacity: 0;
  transition: opacity .12s ease-out;
}
.tooltip.is-shown { opacity: 1; }

.tooltip__head {
  color: var(--coral);
  border-bottom: 1px solid var(--purple);
  margin-bottom: 4px;
  padding-bottom: 2px;
}
.tooltip__head .prompt { color: var(--magenta); }
.tooltip__desc { color: var(--text); }
.tooltip__release { margin-top: 6px; }
.tooltip__release[hidden] { display: none; }
.tooltip__version { color: var(--lime); }
.tooltip__tags { margin-top: 6px; color: var(--mint); }
.tooltip__builds { margin-top: 2px; }
.tooltip__builds[hidden] { display: none; }
.tooltip__tags { display: flex; flex-wrap: wrap; gap: 0 1.5ch; }
.tooltip__tags span { white-space: nowrap; }
.tooltip__tap { margin-top: 6px; color: var(--amber); font-size: 18px; }

/* ---------- Help panel ---------- */

.help {
  position: fixed;
  z-index: 70;
  right: 32px;
  bottom: 32px;
  width: min(340px, calc(100vw - 32px));
  padding: 8px 12px 10px;
  background: var(--bg-raised);
  border: 1px dashed var(--purple);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .55), 0 0 18px rgba(114, 27, 132, .35);
}
.help[hidden] { display: none; }
.help__head { color: var(--coral); border-bottom: 1px solid var(--purple); margin-bottom: 6px; }
.help__keys {
  display: grid;
  grid-template-columns: 7ch 1fr;
  gap: 2px 1ch;
  margin: 0 0 6px;
}
.help__keys dt { color: var(--amber); }
.help__keys dd { margin: 0; }
.help__foot { font-size: 18px; }

.noscript { padding: 16px; }

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

@media (max-width: 700px) {
  :root { --fs: 20px; }
  .crt { padding: 8px; }
  .screen { padding: 14px 16px 24px; }
  /* collapse permissions / owner / group columns */
  .row { grid-template-columns: 5ch 11ch minmax(0, 1fr); column-gap: 1ch; padding: 0 4px; }
  .row .perm, .row .owner, .row .group { display: none; }
  .help { right: 12px; bottom: 12px; }
}

@media (max-width: 380px) {
  .row { grid-template-columns: 11ch minmax(0, 1fr); }
  .row .size { display: none; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .crt::before { animation: none; }
  .cursor { animation: none; }
  .tooltip { transition: none; }
}

/* ---------- Program output (pkgstat) ---------- */

.st-ok   { color: var(--mint); text-shadow: 0 0 6px rgba(97, 201, 167, .45); }
.st-fail { color: var(--fail); text-shadow: 0 0 6px rgba(192, 77, 126, .5); }
.st-busy { color: var(--amber); }
.st-ok, .st-fail, .st-busy { white-space: nowrap; }

.runlog:empty { display: none; }
.runlog { margin-bottom: 4px; }

/* wide table scrolls on its own instead of wrapping on small screens */
.out-table { overflow-x: auto; padding-bottom: 2px; }
.out-row { white-space: pre; min-height: 1.25em; }

.out-link { color: var(--mint); text-decoration: none; }
.out-src--copr { color: var(--coral); }
.out-src--ppa  { color: var(--magenta); }
.out-link:hover, .out-link:focus-visible { color: var(--amber); text-decoration: underline; outline: none; }
.out-cmd { white-space: pre-wrap; }
.out-close { color: var(--dim); }
.out-close kbd { color: var(--amber); }

/* ---------- Devlog ---------- */

.devlog { max-width: 1000px; margin: 0 auto; }
.devlog[hidden] { display: none; }

.tooltip__extra { margin-top: 6px; }

/* search */
.dl-bar { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 2ch; margin: 6px 0 2px; }
.dl-search { display: flex; align-items: baseline; gap: 1ch; }
.dl-search input {
  width: min(36ch, 62vw);
  padding: 0 2px;
  font: inherit;
  color: var(--text);
  text-shadow: inherit;
  caret-color: var(--amber);
  background: transparent;
  border: 0;
  border-bottom: 1px dashed var(--purple);
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.dl-search input::placeholder { color: var(--dim); opacity: .7; }
.dl-search input:focus { border-bottom-color: var(--amber); }
.dl-search input::-webkit-search-cancel-button { display: none; }
.dl-count { color: var(--dim); }

/* post list */
.dl-list { margin-top: 2px; }
.row.dl-row { grid-template-columns: 11ch 5ch 11ch minmax(0, max-content) minmax(0, 1fr); }
.dl-row[hidden], .dl-none[hidden] { display: none; }
.dl-row .name { color: var(--text); }
.dl-row-title { color: var(--dim); overflow: hidden; text-overflow: ellipsis; }

.dl-tags { display: flex; flex-wrap: wrap; gap: 2px 1.5ch; margin: 6px 0 2px; }
.dl-tag {
  padding: 0;
  font: inherit;
  color: var(--mint);
  text-shadow: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.dl-tag:hover, .dl-tag:focus-visible { color: var(--amber); text-decoration: underline; outline: none; }
.dl-tag.is-active { color: var(--amber); }

/* post */
.dl-post { max-width: 80ch; margin: 10px 0 6px; outline: none; }
.dl-title {
  margin: 0 0 2px;
  font-size: 1.6em;
  font-weight: normal;
  line-height: 1.1;
  color: var(--coral);
}
.dl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2ch;
  margin-bottom: 14px;
  padding-bottom: 6px;
  color: var(--dim);
  border-bottom: 1px dashed var(--purple);
}
.dl-meta-tags { display: inline-flex; flex-wrap: wrap; gap: 0 1.5ch; }

.dl-toc {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 14px 6px 10px;
  background: var(--bg-raised);
  border: 1px dashed var(--purple);
}
.dl-toc-head { color: var(--coral); }
.dl-toc ol { margin: 0; padding-left: 3ch; }
.dl-toc .dl-toc-l4 { margin-left: 2ch; }
.dl-toc-link {
  padding: 0;
  font: inherit;
  color: var(--mint);
  text-align: left;
  text-shadow: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.dl-toc-link:hover, .dl-toc-link:focus-visible { color: var(--amber); text-decoration: underline; outline: none; }

.dl-body { line-height: 1.3; }
.dl-body > :first-child { margin-top: 0; }
.dl-body p { margin: 0 0 .8em; }
.dl-body h3, .dl-body h4, .dl-body h5, .dl-body h6 {
  margin: 1.1em 0 .35em;
  font-size: 1.15em;
  font-weight: normal;
  color: var(--amber);
  outline: none;
}
.dl-body h4, .dl-body h5, .dl-body h6 { font-size: 1em; color: var(--coral); }
.dl-body h3::before { content: "## "; color: var(--violet); }
.dl-body h4::before { content: "### "; color: var(--violet); }
.dl-body a { color: var(--mint); }
.dl-body a:hover, .dl-body a:focus-visible { color: var(--amber); outline: none; }
.dl-body .dl-wikilink { color: var(--magenta); text-decoration: none; border-bottom: 1px dashed currentColor; }
.dl-body .dl-wikilink.is-missing { color: var(--dim); text-decoration: line-through; }
.dl-body strong { font-weight: normal; color: var(--amber); }
.dl-body del { color: var(--dim); }
.dl-body .dl-nw { white-space: nowrap; }
.devlog code, .devlog pre, .devlog kbd { font-family: var(--font); font-size: inherit; }
.dl-body code { color: var(--amber); }
.dl-body .dl-code {
  position: relative;
  margin: 0 0 .9em;
  padding: 8px 12px;
  overflow-x: auto;
  font-family: var(--font);
  font-size: inherit;
  line-height: 1.2;
  background: var(--bg-deep);
  border: 1px solid var(--purple);
}
.dl-body .dl-code code { color: var(--text); }
.dl-body .dl-code[data-lang]::before {
  content: attr(data-lang);
  position: absolute;
  top: 0;
  right: 8px;
  font-size: 16px;
  color: var(--dim);
}
.dl-body blockquote {
  margin: 0 0 .9em;
  padding: 2px 0 2px 12px;
  color: var(--lime);
  border-left: 2px solid var(--violet);
}
.dl-body blockquote p:last-child { margin-bottom: 0; }
.dl-body ul, .dl-body ol { margin: 0 0 .9em; padding-left: 3ch; }
.dl-body ul { list-style: "- "; }
.dl-body li::marker { color: var(--magenta); }
.dl-body .dl-tasks { list-style: none; padding-left: 0; }
.dl-body .dl-box { color: var(--dim); }
.dl-body .dl-task.is-done .dl-box { color: var(--mint); }
.dl-body .dl-table { margin: 0 0 .9em; overflow-x: auto; }
.dl-body table { border-collapse: collapse; }
.dl-body th, .dl-body td { padding: 1px 10px; text-align: left; border: 1px solid var(--purple); }
.dl-body th { font-weight: normal; color: var(--coral); background: var(--bg-raised); }
.dl-body img { max-width: 100%; height: auto; border: 1px solid var(--purple); }
.dl-body hr { margin: 1em 0; border: 0; border-top: 1px dashed var(--purple); }

.dl-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 2ch;
  margin-top: 14px;
  padding-top: 6px;
  border-top: 1px dashed var(--purple);
}
.dl-nav a { color: var(--mint); text-decoration: none; }
.dl-nav a:hover, .dl-nav a:focus-visible { color: var(--amber); text-decoration: underline; outline: none; }
.dl-nav-newer { margin-left: auto; text-align: right; }

@media (max-width: 700px) {
  /* date + name on one line, title underneath */
  .row.dl-row { grid-template-columns: 11ch minmax(0, 1fr); }
  .dl-row .perm, .dl-row .size { display: none; }
  .dl-row .dl-row-title { grid-column: 1 / -1; padding-left: 1.4ch; white-space: normal; }
  .dl-list .row.dl-row { padding-bottom: 4px; }
}

/* ---------- Typed commands at the idle prompt ---------- */
/* The real <input> sits invisibly over the prompt line, so clicking or
   tapping the line focuses it (and raises the keyboard on phones); the
   text itself is drawn by #idle-cmd / #idle-rest around the block cursor. */
.cli-line { position: relative; }
.cli-input {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  background: transparent;
  color: transparent;
  caret-color: transparent;
  font-size: 16px; /* stops iOS zooming in on focus */
  cursor: text;
}
.cli-line:focus-within .prompt { text-shadow: 0 0 6px rgba(255, 79, 216, .5); }
.cli-complete { display: flex; flex-wrap: wrap; column-gap: 2ch; }
.cli-complete[hidden] { display: none; }
.help__keys code { font-family: var(--font); color: var(--mint); }
.out-dir { color: var(--magenta); }
.out-exec { color: var(--mint); }

/* ---------- Themes (top-right square in the title bar, or `theme <name>`) ---------- */
/* phosphor: green CRT, from Damon's rtn.css */
:root[data-theme="phosphor"] {
  --bg-deep:   #050805;
  --bg-panel:  #071107;
  --bg-raised: #0c1f10;
  --purple:    #1b6e36;
  --violet:    #2bd463;
  --magenta:   #3dff7a;
  --coral:     #ffd23d;
  --amber:     #eafff0;
  --mint:      #3dff7a;
  --lime:      #9dffb8;
  --text:      #3dff7a;
  --dim:       #1f9c49;
  --fail:      #ff5d5d;
  --glow: 0 0 1px rgba(61, 255, 122, .6), 0 0 6px rgba(61, 255, 122, .35);
  --crt-hi: #0b1a0d;
  --halo: rgba(61, 255, 122, .12);
  --bar: linear-gradient(to right, rgba(31, 156, 73, .35), rgba(31, 156, 73, .1));
  --cursor-glow: rgba(61, 255, 122, .6);
  --banner-glow: rgba(61, 255, 122, .4);
}
/* midnight: indigo glass, from Damon's style.css palette */
:root[data-theme="midnight"] {
  --bg-deep:   #05050c;
  --bg-panel:  #090914;
  --bg-raised: #12122a;
  --purple:    #474d80;
  --violet:    #8f8cff;
  --magenta:   #a98bff;
  --coral:     #f2789c;
  --amber:     #f2c27a;
  --mint:      #7fe0b8;
  --lime:      #86d4f5;
  --text:      #a9b6f2;
  --dim:       #6e76b4;
  --fail:      #f2789c;
  --glow: 0 0 1px rgba(143, 140, 255, .45), 0 0 6px rgba(143, 140, 255, .2);
  --crt-hi: #11112a;
  --halo: rgba(143, 140, 255, .18);
  --bar: linear-gradient(to right, rgba(143, 140, 255, .2), rgba(169, 139, 255, .06));
  --cursor-glow: rgba(242, 194, 122, .55);
  --banner-glow: rgba(143, 140, 255, .4);
}

/* ---------- Shell mode (after typing at the prompt) ---------- */
/* `clear` hides everything on the page except the shell's own lines */
.main.is-cleared > :not(#listing-wrap),
.main.is-cleared #listing-wrap > :not(.shell-keep) { display: none; }
.reset-btn {
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--dim);
  font: inherit;
  text-shadow: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.reset-btn kbd { color: var(--amber); }
.reset-btn:hover, .reset-btn:focus-visible { color: var(--text); outline: 1px dashed var(--amber); outline-offset: 1px; }
.reset-btn[hidden] { display: none; }
a.out-ls { text-decoration: none; }
a.out-ls:hover, a.out-ls:focus-visible { text-decoration: underline; }
.devlog.is-cleared > :not(.shell-keep) { display: none; }

/* ---------- Shell: running commands, echo -e colours ---------- */
.cli-run[hidden] { display: none; }
.cli-run .hint__btn { margin-left: 2ch; }
.ansi-30, .ansi-90 { color: var(--dim); }
.ansi-31, .ansi-91 { color: var(--fail); }
.ansi-32, .ansi-92 { color: var(--lime); }
.ansi-33, .ansi-93 { color: var(--amber); }
.ansi-34, .ansi-94 { color: var(--violet); }
.ansi-35, .ansi-95 { color: var(--magenta); }
.ansi-36, .ansi-96 { color: var(--mint); }
.ansi-37, .ansi-97 { color: var(--text); }
.ansi-b { font-weight: bold; }
.ansi-d { opacity: .6; }
.ansi-u { text-decoration: underline; }
/* private devlog posts */
.dl-locked { color: var(--dim); }
.dl-pass-line { cursor: text; }
