.terminal-wrap{display:flex;flex-direction:column;height:100%;background:var(--bg);}
.terminal-out{flex:1;overflow-y:auto;padding:12px 16px 4px;
  font-size:clamp(12px,1.5vw,13.5px);line-height:1.6;}
.terminal-out::-webkit-scrollbar{width:8px;}
.terminal-out::-webkit-scrollbar-thumb{background:var(--border);border-radius:6px;}
.t-line{white-space:pre-wrap;word-break:break-word;animation:tFadeIn .12s ease;}
@keyframes tFadeIn{from{opacity:0;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}
.t-echo .ps{color:var(--green);}.t-echo .at{color:var(--text-dim);}
.t-echo .path{color:var(--blue);}.t-echo .cmd{color:var(--text-bright);}
.t-prompt{display:flex;align-items:center;gap:6px;padding:6px 16px 12px;flex-shrink:0;}
.t-prompt .ps{color:var(--green);font-weight:700;white-space:nowrap;}
.t-prompt .at{color:var(--text-dim);}
.t-prompt .path{color:var(--blue);font-weight:700;white-space:nowrap;}
.t-prompt .dollar{color:var(--text-dim);}
.t-prompt input{flex:1;background:transparent;border:none;outline:none;
  color:var(--text-bright);font-family:inherit;font-size:clamp(12px,1.5vw,13.5px);
  caret-color:var(--cyan);}
.t-hints{display:flex;flex-wrap:wrap;gap:5px;padding:4px 16px 6px;flex-shrink:0;}
.t-hint{font-size:11px;border:1px solid var(--border);border-radius:12px;
  padding:3px 10px;color:var(--text-dim);cursor:pointer;background:none;font-family:inherit;
  transition:all .12s;}
.t-hint:hover{color:var(--text-bright);border-color:var(--cyan);}
.ascii-art{font-size:clamp(7px,1.3vw,12px);line-height:1.15;white-space:pre;font-family:inherit;}
.neofetch-wrap{display:flex;gap:24px;flex-wrap:wrap;align-items:flex-start;margin:4px 0 10px;}
.neo-info .k{color:var(--cyan);font-weight:700;}
.neo-info>div{white-space:nowrap;}
.color-swatch{display:inline-block;width:20px;height:13px;border-radius:2px;}
a.t-link{color:var(--cyan);border-bottom:1px dashed rgba(94,230,208,.3);}
a.t-link:hover{color:var(--text-bright);}

/* MOTD */
.t-motd{border:1px solid var(--border);border-radius:8px;padding:10px 14px;
  margin:6px 0 10px;background:rgba(255,255,255,.01);font-size:12px;line-height:1.6;}
.t-motd .motd-title{color:var(--cyan);font-weight:700;margin-bottom:4px;}

/* grep highlight */
.t-grep-match{background:rgba(94,230,208,.15);padding:0 2px;border-radius:2px;}

/* fortune */
.t-fortune{border-left:3px solid var(--magenta);padding:6px 12px;margin:6px 0;
  color:var(--text);font-style:italic;}

/* matrix effect */
.t-matrix{color:var(--green);font-size:11px;line-height:1;white-space:pre;overflow:hidden;}
