/* WindAnvil homepage only: the BBS-derived SCUMM3 evidence instrument.
   ANSI uses original donor CSS; this sheet supplies local layout, focus and fallbacks. */
.bbs-terminal-feature{background:#071210;color:#e4faee;border-block:2px solid #25483a;padding:clamp(42px,6vw,88px) 0}
.bbs-terminal-feature *{box-sizing:border-box}
.bbs-terminal-intro{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(240px,.65fr);gap:clamp(18px,5vw,70px);align-items:end;margin-bottom:26px}
.bbs-terminal-feature .terminal-eyebrow{color:#8ad8b4;font-size:.77rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase}
.bbs-terminal-feature h2{margin:8px 0 13px;color:#f2fff6;font-size:clamp(2rem,4.7vw,4.1rem);line-height:1.09;letter-spacing:-.045em;font-weight:600}
.bbs-terminal-feature h2 em{color:#8afbba;font-style:normal}
.bbs-terminal-feature p{line-height:1.68}
.bbs-terminal-intro>p{color:#d2e7dd;max-width:42ch;margin:0 0 4px;font-size:clamp(.96rem,1.2vw,1.07rem)}
.bbs-terminal-console{border:1px solid #568a70;background:#050d0b;box-shadow:0 0 0 4px #081d15,0 18px 50px #0007}
.bbs-terminal-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 15px;border-bottom:1px solid #366d50;background:#122b21}
.bbs-terminal-bar strong{font-size:clamp(.75rem,1.05vw,.95rem);letter-spacing:.06em;color:#e1ffe9}
.bbs-terminal-bar span{color:#b4e9c8;font-size:.72rem}
.bbs-terminal-screen{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-color:#83c5a4 #122b21;scrollbar-width:thin;outline-offset:-3px}
.bbs-terminal-screen:focus-visible{outline:3px solid #e4ff93}
.bbs-terminal-screen .scumm3-bbs-term{font-size:clamp(12px,1.27vw,15px);line-height:1.38;overflow:visible;width:max-content;min-width:100%;padding:clamp(12px,2.5vw,30px);margin:auto;border:0}
.bbs-terminal-screen .scumm3-bbs-term__inner{width:80ch;max-width:none;margin:auto}
.bbs-terminal-screen .scumm3-bbs-row{white-space:pre;overflow-wrap:normal;min-height:1.38em}
.bbs-terminal-fallback{padding:22px;margin:0;white-space:pre-wrap;line-height:1.6;color:#d5f2df}
.bbs-terminal-controls{padding:16px 18px 18px;border-top:1px solid #28553e;background:#0c1e17}
.bbs-terminal-controls h3{font-size:1rem;line-height:1.45;font-weight:600;color:#ebfff1;margin:0 0 12px}
.bbs-terminal-gates{display:flex;gap:7px;flex-wrap:wrap}
.bbs-terminal-gates button,.bbs-terminal-replay{appearance:none;border:1px solid #528d6b;background:#0b2118;color:#ddffe8;padding:10px 12px;font:600 .78rem/1.4 "IBM Plex Mono",monospace;cursor:pointer;min-height:44px}
.bbs-terminal-gates button[aria-pressed=true]{background:#a1f5bf;color:#072718;border-color:#a1f5bf}
.bbs-terminal-gates button:hover:not(:disabled),.bbs-terminal-replay:hover:not(:disabled){border-color:#ecffad;color:#fff}
.bbs-terminal-gates button:focus-visible,.bbs-terminal-replay:focus-visible{outline:3px solid #efff9c;outline-offset:2px}
.bbs-terminal-gates button:disabled,.bbs-terminal-replay:disabled{opacity:.63;cursor:not-allowed}
.bbs-terminal-status{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-top:13px}
.bbs-terminal-indicator{font-size:.73rem;color:#a5d6b8;line-height:1.5}
.bbs-terminal-replay{border-color:#d0bc68;color:#fff4b3}
.bbs-terminal-evidence{margin-top:22px;display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#386048;border:1px solid #386048}
.bbs-terminal-path{background:#10251e;padding:clamp(17px,2.4vw,29px)}
.bbs-terminal-path:nth-child(2){background:#221c2c}
.bbs-terminal-path .terminal-path-id{display:block;color:#9bf6d1;font-size:.75rem;letter-spacing:.14em;margin-bottom:9px}
.bbs-terminal-path:nth-child(2) .terminal-path-id{color:#ffbcf8}
.bbs-terminal-path h3{font-size:clamp(1.16rem,2.2vw,1.6rem);line-height:1.3;color:#fff;margin:0 0 10px;font-weight:600}
.bbs-terminal-path p{color:#e3f5e9;margin:0 0 10px;max-width:55ch}
.bbs-terminal-path dt{font-size:.75rem;color:#abdcc2;letter-spacing:.06em;font-weight:600;margin-top:10px}
.bbs-terminal-path dd{color:#f2fff5;margin:3px 0 0;font-size:.9rem;line-height:1.6}
.bbs-terminal-feature .terminal-guardrail{margin:15px 0 0;color:#c5dbc9;font-size:.82rem;line-height:1.7}
.bbs-terminal-feature .terminal-guardrail a{color:#c5ffc9;text-underline-offset:3px}
@media(max-width:760px){
  .bbs-terminal-intro{grid-template-columns:1fr;gap:8px}
  .bbs-terminal-evidence{grid-template-columns:1fr}
  .bbs-terminal-feature{padding:42px 0}
  .bbs-terminal-bar{align-items:flex-start;flex-direction:column;gap:4px}
  .bbs-terminal-screen .scumm3-bbs-term{padding:13px 15px;font-size:12px}
  .bbs-terminal-controls{padding:15px}
}
@media(prefers-reduced-motion:reduce){
  .bbs-terminal-feature .scumm3-bbs-run.is-blink{animation:none!important}
}

/* Accessible homepage projections of the original VGA16 index values. Source color indices remain untouched. */
.bbs-terminal-screen .scumm3-bbs-fg-5{color:#ff9eff}
.bbs-terminal-screen .scumm3-bbs-fg-6{color:#ffe1a0}
.bbs-terminal-feature .terminal-guardrail a{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}

.bbs-terminal-scroll-hint{display:none}
@media(max-width:760px){.bbs-terminal-feature .bbs-terminal-scroll-hint{display:block;margin:0;padding:9px 14px;font-size:.72rem;letter-spacing:.03em;color:#e4ffc7;background:#14291e;border-bottom:1px solid #386048}}
