/* /fun/terminal/  -  Ben's comparison laptop. Original CRT, no OS chrome.
   Motion rules: transform / opacity / clip-path only, inside fixed-size boxes,
   so nothing below the terminal ever moves (CLS 0). Everything is off under
   prefers-reduced-motion. */
.fun-term-page{
  --term-bg:#0b1a12;
  --term-fg:#b6f5c8;
  --term-dim:#7dca96;
  --term-hot:#e9fff0;
  --term-err:#ffb4a3;
  --term-line:#245c3a;
  --term-paper:#f4efe4;
  --term-ink:#2b2622;
  --term-accent:#9c4221;
  --term-ease:cubic-bezier(.2,.8,.2,1);
}
/* Sound chip docks in Ben's bezel (static, never over the site Menu).
   Specificity beats engine.css [data-fun-sfx]{position:fixed}. */
.fun-term-bezel-right{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.fun-term-laptop .fun-term-sfx[data-fun-sfx]{
  position:static;
  top:auto;right:auto;z-index:auto;
  box-sizing:border-box;
  min-width:44px;min-height:44px;max-width:none;
  padding:6px 10px;
  border:1px solid #3d6b4f;
  border-radius:8px;
  background:#123221;
  color:#b6f5c8;
  font:600 .78rem/1.1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  white-space:nowrap;
  box-shadow:0 3px 0 #06120b;
  backdrop-filter:none;-webkit-backdrop-filter:none;
  cursor:pointer;
  transition:transform .08s ease-out,box-shadow .08s ease-out,background-color .15s;
}
.fun-term-laptop .fun-term-sfx[data-fun-sfx]:hover{background:#1a4a30}
.fun-term-laptop .fun-term-sfx[data-fun-sfx]:active{transform:translateY(2px);box-shadow:0 1px 0 #06120b}
.fun-term-laptop .fun-term-sfx[data-fun-sfx][aria-pressed="true"]{background:#b6f5c8;color:#0b1a12;border-color:#b6f5c8}
.fun-term-page :focus-visible{
  outline:3px solid #9affc0;
  outline-offset:3px;
}
.fun-term-hero{margin:0 0 10px}
.fun-term-hero h1{
  margin:0 0 6px;
  font-size:clamp(1.55rem,5.4vw,2rem);
  line-height:1.2;
}
.fun-term-hero .lede{margin:0;max-width:40rem}
.fun-term-stage{margin:0 0 16px}
/* Phones: the terminal is the hero; the laptop stills stay unloaded (lazy + hidden). */
.fun-term-side{display:none}
.fun-term-still{margin:0}
.fun-term-table,.fun-term-printouts{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:10px;
  border:1px solid #d9cfc4;
  background:#2a322d;
}
.fun-term-printouts{margin:12px 0 0;aspect-ratio:16/7;object-position:center 55%}

/* ---------- laptop + screen ---------- */
.fun-term-laptop{
  position:relative;
  background:#1c211e;
  border:10px solid #2a322d;
  border-radius:18px;
  padding:12px 12px 14px;
  margin:0 0 10px;
  box-shadow:0 16px 36px rgba(24,32,28,.28);
}
.fun-term-laptop.is-run{animation:fun-term-thunk .22s ease-out}
.fun-term-bezel-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:8px;
  margin:0 0 8px;
}
.fun-term-note{
  appearance:none;
  display:inline-block;
  margin:0;
  padding:8px 12px;
  min-height:44px;
  background:#efe2b8;
  color:#5c3d0a;
  border:0;
  font:600 1rem/1.3 Georgia,serif;
  transform:rotate(-1.5deg);
  transform-origin:12% 0;
  box-shadow:0 2px 6px rgba(43,38,34,.12);
  cursor:pointer;
  transition:transform .25s var(--term-ease),box-shadow .2s;
}
.fun-term-note:hover,.fun-term-note:focus-visible{
  background:#e8d59a;
  color:#5c3d0a;
  transform:rotate(-4deg) translateY(1px);
  box-shadow:0 5px 10px rgba(43,38,34,.2);
}
.fun-term-note:active{transform:rotate(-1deg) translateY(2px)}
.fun-term-ben{
  flex:0 0 auto;
  width:56px;
  height:auto;
  border-radius:50%;
  border:2px solid #d9cfc4;
  transform-origin:50% 90%;
}
.fun-term-ben.is-nod{animation:fun-term-nod .55s var(--term-ease)}
.fun-term-ben.is-no{animation:fun-term-no .45s ease-in-out}
.fun-term{
  display:flex;
  flex-direction:column;
  height:300px;
  background:var(--term-bg);
  color:var(--term-fg);
  border:1px solid var(--term-line);
  border-radius:12px;
  padding:10px 10px 12px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  box-shadow:inset 0 0 40px rgba(0,0,0,.28),0 0 0 0 rgba(125,202,150,0);
  transition:box-shadow .3s ease-out;
  min-height:0;
}
.fun-term.is-printed{
  box-shadow:inset 0 0 0 2px #7dca96,inset 0 0 40px rgba(0,0,0,.28),0 0 22px 2px rgba(125,202,150,.35);
  transition:none;
}
.fun-term a{color:#d7ffe4;text-decoration:underline}
.fun-term a:hover,.fun-term a:focus-visible{color:#fff;text-shadow:0 0 6px rgba(182,245,200,.7)}
.fun-term-status{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 8px;
  font-size:.8rem;
  letter-spacing:.02em;
  color:var(--term-dim);
  white-space:nowrap;
  overflow:hidden;
}
.fun-term-host{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
.fun-term-led{
  flex:0 0 auto;
  width:8px;height:8px;border-radius:50%;
  background:#3fae66;
  box-shadow:0 0 6px #3fae66;
}
.fun-term-led.is-rx{animation:fun-term-rx .12s steps(1) 4}
.fun-term-count{flex:0 0 auto;font-variant-numeric:tabular-nums}
.fun-term-count b{display:inline-block;min-width:3ch;color:var(--term-fg);font-weight:700}
.fun-term-count b.is-tick{animation:fun-term-pop .42s var(--term-ease)}
.fun-term-screen{
  position:relative;
  flex:1 1 auto;
  min-height:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:4px;
  transform-origin:50% 50%;
  animation:fun-term-on .6s ease-out .15s both;
}
.fun-term-screen::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:repeating-linear-gradient(to bottom,transparent 0 3px,rgba(0,0,0,.08) 3px 4px);
  opacity:.12;
}
/* phosphor glow flash */
.fun-term-screen::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:radial-gradient(ellipse at 50% 40%,rgba(182,245,200,.22),rgba(182,245,200,0) 70%);
  opacity:0;
}
.fun-term-screen.is-flash::before{animation:fun-term-glow .5s ease-out}
.fun-term-screen.is-wipe{animation:fun-term-off .2s ease-in both}
/* refresh beam that sweeps once per print */
.fun-term-beam{
  position:absolute;
  left:0;right:0;top:0;
  height:100%;
  z-index:3;
  pointer-events:none;
  background:linear-gradient(to bottom,rgba(182,245,200,0) 0,rgba(182,245,200,.16) 8%,rgba(182,245,200,0) 16%);
  transform:translateY(-20%);
  opacity:0;
}
.fun-term-beam.is-sweep{animation:fun-term-sweep .7s linear}
.fun-term-out{
  position:relative;
  z-index:1;
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  scrollbar-gutter:stable;
  scrollbar-width:thin;
  scrollbar-color:#245c3a transparent;
  padding-top:2px;
  text-shadow:0 0 4px rgba(125,202,150,.35);
}
.fun-term-block{margin:0 0 12px}
.fun-term-pre{
  margin:0;
  white-space:pre-wrap;
  word-break:break-word;
  font:inherit;
  font-size:.92rem;
  line-height:1.45;
  color:var(--term-fg);
}
.fun-term-line{display:block}
.fun-term-echo{color:var(--term-dim);margin:0 0 4px;font-size:.85rem}
.fun-term-block[data-cmd="unknown"] .fun-term-pre{color:var(--term-err)}
.fun-term-sheet-label{
  margin:8px 0 4px;
  font-size:.8rem;
  color:var(--term-dim);
  text-transform:uppercase;
  letter-spacing:.04em;
}
.fun-term-links{list-style:none;padding:0;margin:4px 0 0}
.fun-term-links li{margin:2px 0}
.fun-term-links a{display:inline-flex;align-items:center;min-height:28px}
.fun-term-links .fun-term-primary a{font-weight:700}
.fun-term-links .fun-term-primary a::before{content:"> ";white-space:pre;text-decoration:none}

/* match meter: anticipation before a spec prints */
.fun-term-meter{display:block;color:var(--term-dim);font-size:.85rem;margin:0 0 4px;white-space:nowrap}
.fun-term-meter i{
  display:inline-block;
  vertical-align:-2px;
  width:10ch;height:.8em;
  margin:0 .5ch;
  border:1px solid var(--term-dim);
  position:relative;
  overflow:hidden;
}
.fun-term-meter i::before{
  content:"";position:absolute;inset:1px;
  background:repeating-linear-gradient(to right,var(--term-fg) 0 .7ch,transparent .7ch 1ch);
  transform-origin:0 50%;
  transform:scaleX(1);
}
.fun-term-meter b{font-weight:700;color:var(--term-fg)}

/* line-printer reveal (JS adds .is-typing; the full text is already in the DOM
   for screen readers and copy/paste, only its paint is revealed) */
.fun-term-block.is-typing .fun-term-line{
  clip-path:inset(0 100% 0 0);
  animation:fun-term-type var(--d,.2s) steps(var(--n,12),end) var(--t,0s) forwards;
}
.fun-term-block.is-typing .fun-term-meter i::before{animation:fun-term-fill var(--md,.3s) steps(10,end) both}
.fun-term-block.is-typing .fun-term-meter b{animation:fun-term-show 0s linear var(--md,.3s) both}
.fun-term-block.is-typing .fun-term-late{animation:fun-term-show 0s linear var(--t,0s) both}
.fun-term-block.is-typing .fun-term-links li{animation:fun-term-slide .26s var(--term-ease) var(--t,0s) both}

/* prompt */
.fun-term-prompt-row{
  position:relative;
  z-index:1;
  flex:0 0 auto;
  display:grid;
  grid-template-columns:auto 1fr auto;
  grid-template-areas:
    "prompt input caret"
    "go go clear";
  gap:8px;
  align-items:center;
  margin-top:10px;
}
.fun-term-prompt{grid-area:prompt;margin:0;color:var(--term-fg);font-weight:700;transition:color .2s}
.fun-term-input{
  grid-area:input;
  width:100%;
  min-width:0;
  min-height:44px;
  background:transparent;
  border:0;
  border-bottom:1px solid var(--term-dim);
  border-radius:0;
  color:var(--term-fg);
  font:inherit;
  font-size:1rem;
  padding:8px 2px;
  caret-color:var(--term-fg);
  transition:border-color .2s,box-shadow .2s;
}
.fun-term-input:focus{outline:none;border-bottom-color:var(--term-fg);box-shadow:0 1px 0 var(--term-fg)}
.fun-term-input:focus-visible{outline:none}
.fun-term-input::placeholder{color:var(--term-dim);opacity:1}
.fun-term-prompt-row.is-ghost .fun-term-input{color:var(--term-hot)}
.fun-term-prompt-row.is-err .fun-term-prompt{color:var(--term-err)}
.fun-term-prompt-row.is-err .fun-term-input{border-bottom-color:var(--term-err);box-shadow:0 1px 0 var(--term-err)}
.fun-term-caret{
  grid-area:caret;
  width:10px;
  height:18px;
  background:var(--term-fg);
  box-shadow:0 0 6px rgba(182,245,200,.6);
  animation:fun-term-blink 1.1s step-end infinite;
}
.fun-term-go,.fun-term-clear,.fun-term-cmd,.fun-term-hist{
  appearance:none;
  font:inherit;
  cursor:pointer;
  border:1px solid var(--term-dim);
  background:#123221;
  color:var(--term-fg);
  border-radius:8px;
  padding:8px 12px;
  min-height:44px;
  box-shadow:0 3px 0 #06120b;
  transition:transform .08s ease-out,box-shadow .08s ease-out,background-color .15s,color .15s,border-color .15s;
}
.fun-term-go{grid-area:go}
.fun-term-clear{grid-area:clear}
.fun-term button.fun-term-go:hover,
.fun-term button.fun-term-clear:hover,
.fun-term button.fun-term-go:focus-visible,
.fun-term button.fun-term-clear:focus-visible{
  background:#1a4a30;
  color:#b6f5c8;
  box-shadow:0 3px 0 #06120b,0 0 10px rgba(125,202,150,.35);
}
.fun-term-go:active,.fun-term-clear:active,.fun-term-cmd:active,.fun-term-hist:active,
.fun-term-go.is-press,.fun-term-clear.is-press,.fun-term-cmd.is-press,.fun-term-hist.is-press{
  transform:translateY(2px);
  box-shadow:0 1px 0 #06120b;
  filter:brightness(1.08);
}
.fun-term-hint{margin:8px 0 0;font-size:.8rem;color:var(--term-dim);line-height:1.4}

/* ---------- paper ---------- */
.fun-term-chips-dock{
  margin:0 0 8px;
  padding:10px 10px 12px;
  background:var(--term-paper);
  color:var(--term-ink);
  border:1px solid #d9cfc4;
}
.fun-term-chips-dock .fun-term-group-label{
  margin:0 0 8px;
  font-size:.85rem;
  font-weight:700;
  color:#3d342c;
}
.fun-term-printout{
  margin:8px 0 22px;
  padding:14px 12px 16px;
  background:var(--term-paper);
  color:var(--term-ink);
  border:1px solid #d9cfc4;
  box-shadow:0 6px 16px rgba(36,50,74,.08);
}
.fun-term-printout h2,.fun-term-manual h2,.fun-term-about h2{
  margin:0 0 8px;
  font-size:clamp(1.5rem,5vw,1.85rem);
  line-height:1.25;
}
.fun-term-printout .fun-term-hint{color:#5c534c}
.fun-term-group{margin:14px 0}
.fun-term-group-label{
  margin:0 0 8px;
  font-size:.85rem;
  font-weight:700;
  color:#3d342c;
}
.fun-term-start{margin:0}
.fun-term-more{
  margin:10px 0 0;
  padding:8px 10px 10px;
  background:#fbf6ee;
  border:1px solid #e4d8c6;
  border-radius:10px;
}
.fun-term-more summary{
  min-height:44px;
  display:flex;
  align-items:center;
  cursor:pointer;
  font-weight:700;
  color:var(--term-ink);
}
.fun-term-btns{display:flex;flex-wrap:wrap;gap:8px}
.fun-term-cmd,.fun-term-hist{
  background:#fff;
  color:var(--term-ink);
  border-color:#c9beaf;
  font-family:system-ui,sans-serif;
  box-shadow:0 3px 0 #c9beaf;
}
.fun-term-cmd:hover,.fun-term-hist:hover,
.fun-term-cmd:focus-visible,.fun-term-hist:focus-visible{
  background:#efe6d6;
  color:var(--term-ink);
  border-color:#9c4221;
  box-shadow:0 3px 0 #9c4221;
}
.fun-term-cmd:active,.fun-term-hist:active,.fun-term-cmd.is-press,.fun-term-hist.is-press{box-shadow:0 1px 0 #9c4221}
.fun-term-cmd.is-live{border-color:#1f6b3d;box-shadow:0 1px 0 #1f6b3d;background:#e3f3e8}
.fun-term-manual,.fun-term-about{margin:20px 0}
.fun-term-manual{
  padding:14px 12px 16px;
  background:var(--term-paper);
  color:var(--term-ink);
  border:1px solid #d9cfc4;
  box-shadow:0 6px 16px rgba(36,50,74,.08);
  background-image:repeating-linear-gradient(to bottom,transparent 0 27px,rgba(36,50,74,.05) 27px 28px);
}
.fun-term-manual > p{margin:0 0 10px;color:#5c534c}
.fun-term-ns{
  margin:8px 0 0;
  background:#fffdf8;
  border:1px solid #e4d8c6;
  border-left:4px solid #1f6b3d;
  border-radius:6px;
}
.fun-term-ns > summary{
  list-style:none;
  display:flex;
  align-items:center;
  gap:10px;
  min-height:48px;
  padding:4px 12px;
  cursor:pointer;
}
.fun-term-ns > summary::-webkit-details-marker{display:none}
.fun-term-ns > summary::before{
  content:"+";
  flex:0 0 auto;
  width:1.5em;height:1.5em;
  display:grid;place-items:center;
  border:1px solid #1f6b3d;border-radius:4px;
  color:#1f6b3d;
  font:700 1rem/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}
.fun-term-ns[open] > summary::before{content:"−"}
.fun-term-ns > summary:hover{background:#f4efe4}
.fun-term-ns h3{
  margin:0;
  font:700 1.05rem/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  color:#24324a;
}
.fun-term-ns-n{font-weight:400;color:#5c534c}
.fun-term-ns-body{padding:0 12px 10px}
.fun-term-ns-cmd{
  margin:12px 0;
  padding:10px 0 12px;
  border-top:1px solid #e4d8c6;
}
.fun-term-ns-cmd h4{margin:0 0 6px;font-size:1rem}
.fun-term-ns-cmd h4 code{background:#0b1a12;color:#b6f5c8;padding:2px 8px;border-radius:4px}
.fun-term-ns .fun-term-pre{color:var(--term-ink);font-size:.88rem}
.fun-term-ns-cmd ul{margin:6px 0 0;padding-left:1.1rem}
.fun-term-ns-cmd li{margin:2px 0}
.fun-term-ns-cmd li a,.fun-term-printout li a{display:inline-flex;align-items:center;min-height:28px}
.fun-term-shop{
  list-style:none;
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(140px,1fr));
  gap:10px;
  padding:0;
  margin:0;
}
.fun-term-shop li{
  border:1px solid #d9cfc4;
  background:#fff;
  padding:8px;
  transition:transform .2s var(--term-ease),box-shadow .2s ease-out;
}
.fun-term-shop li:hover,.fun-term-shop li:focus-within{
  transform:translateY(-3px) rotate(-.4deg);
  box-shadow:0 8px 18px rgba(36,50,74,.14);
}
.fun-term-printout .fun-term-shop a{display:block;min-height:0;color:var(--term-ink)}
.fun-term-shop img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;background:#f6f1e8}
.fun-term-shop span{display:block;margin-top:6px;font-weight:600;line-height:1.3}
.fun-term-shop p{margin:6px 0 0;font-size:.85rem;color:#5c534c}
.fun-term-share canvas{
  width:min(100%,24rem);
  height:auto;
  aspect-ratio:1200/630;
  border:1px solid #d9cfc4;
  background:#0b1a12;
}
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ---------- keyframes ---------- */
@keyframes fun-term-blink{50%{opacity:0}}
@keyframes fun-term-type{to{clip-path:inset(0 0 0 0)}}
@keyframes fun-term-fill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes fun-term-show{from{visibility:hidden}to{visibility:visible}}
@keyframes fun-term-slide{from{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:none}}
@keyframes fun-term-on{
  0%{transform:scale(.7,.012);filter:brightness(3);opacity:.9}
  45%{transform:scale(1,.012);filter:brightness(2.4)}
  100%{transform:none;filter:none;opacity:1}
}
@keyframes fun-term-off{
  0%{transform:none;filter:none}
  60%{transform:scale(1,.02);filter:brightness(2.4)}
  100%{transform:scale(0,.02);filter:brightness(3)}
}
@keyframes fun-term-glow{0%{opacity:0}18%{opacity:1}100%{opacity:0}}
@keyframes fun-term-sweep{0%{opacity:1;transform:translateY(-20%)}100%{opacity:1;transform:translateY(100%)}}
@keyframes fun-term-pop{0%{transform:scale(1)}35%{transform:scale(1.45);color:#fff;text-shadow:0 0 8px #b6f5c8}100%{transform:scale(1)}}
@keyframes fun-term-rx{50%{background:#0b1a12;box-shadow:none}}
@keyframes fun-term-nod{0%{transform:none}35%{transform:rotate(-7deg) translateY(2px)}70%{transform:rotate(3deg)}100%{transform:none}}
@keyframes fun-term-no{0%,100%{transform:none}25%{transform:translateX(-4px) rotate(-3deg)}50%{transform:translateX(4px) rotate(3deg)}75%{transform:translateX(-2px)}}
@keyframes fun-term-thunk{0%{transform:none}40%{transform:translateY(2px) scale(.995)}100%{transform:none}}

/* ---------- layout ---------- */
@media(min-width:431px){
  .fun-term{height:320px}
}
@media(min-width:720px){
  .fun-term-stage{
    display:grid;
    grid-template-columns:minmax(220px,.85fr) minmax(300px,1.15fr);
    gap:14px 18px;
    align-items:start;
  }
  .fun-term-side{display:block}
  .fun-term{height:340px}
  .fun-term-prompt-row{
    grid-template-columns:auto 1fr auto auto auto;
    grid-template-areas:"prompt input caret go clear";
  }
  .fun-term-ben{width:64px}
}
@media(max-width:430px){
  /* +52px for the button row so the output area keeps its size; still a fixed height */
  .fun-term{height:320px}
  .fun-term-screen::after{opacity:.08}
  .fun-term-hint{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  /* input gets its own full row; Run and Clear sit on the row below */
  .fun-term-prompt-row{
    grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);
    grid-template-areas:
      "prompt input input"
      "go go clear";
  }
  .fun-term-caret{display:none}
  .fun-term-ben{width:48px}
  .fun-term-note{flex:0 1 auto;padding:8px 10px;font-size:.95rem}
  .fun-term-laptop .fun-term-sfx[data-fun-sfx]{padding:6px 8px;font-size:.7rem}
}
@media(prefers-reduced-motion:reduce){
  .fun-term-page *,.fun-term-page *::before,.fun-term-page *::after{
    animation:none !important;
    transition:none !important;
  }
  .fun-term-block.is-typing .fun-term-line{clip-path:none}
  .fun-term-caret{opacity:1}
  .fun-term-screen::after,.fun-term-beam{display:none}
  .fun-term-note,.fun-term-note:hover,.fun-term-note:focus-visible{transform:none}
  .fun-term-shop li:hover,.fun-term-shop li:focus-within{transform:none}
  .fun-term-go:active,.fun-term-clear:active,.fun-term-cmd:active,.fun-term-hist:active,
  .fun-term-go.is-press,.fun-term-clear.is-press,.fun-term-cmd.is-press,.fun-term-hist.is-press{transform:none}
  .fun-term.is-printed{box-shadow:inset 0 0 0 2px #b6f5c8,inset 0 0 40px rgba(0,0,0,.28)}
}
.fun-term-page canvas{max-width:100%;height:auto;display:block}

.fun-term-manual,
.fun-term-about,
section.fun-term-printout ~ section.fun-term-printout{
  content-visibility:auto;
  contain-intrinsic-size:auto 1px auto 720px;
}

/* idle cursor at the end of the boot banner */
.fun-term-block[data-cmd="boot"]:last-child .fun-term-line:last-child::after{
  content:"";
  display:inline-block;
  width:.55em;height:1.05em;
  margin-left:.25ch;
  vertical-align:-.15em;
  background:var(--term-fg);
  box-shadow:0 0 6px rgba(182,245,200,.6);
  animation:fun-term-blink 1.1s step-end infinite;
}
@media(prefers-reduced-motion:reduce){
  .fun-term-block[data-cmd="boot"]:last-child .fun-term-line:last-child::after{animation:none}
}

/* Nov 17, 2026: lookup results, numbered for save <n>; did-you-mean buttons */
.fun-term-items a{display:block;min-height:32px;padding:3px 0;line-height:1.35}
.fun-term-items .fun-term-primary a::before{content:none}
.fun-term-n,.fun-term-kind{color:var(--term-dim);font-weight:400}
.fun-term-kind{font-size:.8em;white-space:nowrap}
.fun-term-suggest{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 2px}
.fun-term-screen .fun-term-sug{background:#123221;color:var(--term-fg);border-color:var(--term-dim);font-family:inherit;box-shadow:0 3px 0 #06120b}
.fun-term-screen .fun-term-sug:hover,.fun-term-screen .fun-term-sug:focus-visible{background:#1a4a30;color:var(--term-hot);border-color:var(--term-fg);box-shadow:0 3px 0 #06120b}
.fun-term-block.is-typing .fun-term-suggest{animation:fun-term-show 0s linear var(--t,0s) both}
@media (pointer:coarse){.fun-term-items a{min-height:44px;padding:11px 0;box-sizing:border-box}}
