/* Terminal — green-on-black monospace, the classic CRT look, with hash marks on
   headings and a caret for list bullets. Palette after the green-screen phosphor
   displays of the 1970s: https://en.wikipedia.org/wiki/Green_screen
   rev 2026-08-02
   Font: Space Mono via Bunny Fonts, requested only when this theme is picked.
   Self-host or use Google instead: see "Font family" in the guide's Tips page. */

@import url('https://fonts.bunny.net/css?family=space-mono:400,400i,700,700i&display=swap');

[data-theme="terminal"] {
  --theme-icon: "🖥️";
  --bg:          #040a04;
  --bg-nav:      #020602;
  --bg-code:     #0a180a;
  --border:      #163016;
  --text:        #72b872;
  --text-muted:  #3e6e3e;
  --heading:     #9eda9e;
  --link:        #44ff44;
  --link-hover:  #88ff88;
  --active-bg:   rgba(68,255,68,0.07);
  --active:      #44ff44;
  --head-bg:     #020602;
}

[data-theme="terminal"] body { font-family: 'Space Mono', 'Cascadia Code', ui-monospace, monospace; }
[data-theme="terminal"] main { animation: hv-fade 0.5s ease; }

[data-theme="terminal"] main h1::before { content: '# ';  color: var(--text-muted); font-weight: 400; }
[data-theme="terminal"] main h2::before { content: '## '; color: var(--text-muted); font-weight: 400; }
[data-theme="terminal"] main h3::before { content: '// '; color: var(--text-muted); font-weight: 400;
                                           text-transform: none; letter-spacing: 0; }

[data-theme="terminal"] main img { filter: saturate(0.4) contrast(1.1) brightness(0.9); }

[data-theme="terminal"] main ul         { list-style-type: none; margin-left: 0; }
[data-theme="terminal"] main li::before { content: '▸'; color: var(--link);
                                           margin-right: 0.45rem; font-size: 0.8em; }

[data-theme="terminal"] main a       { color: var(--link); text-decoration: none; }
[data-theme="terminal"] main a:hover { text-decoration: underline; }
