@font-face{
 font-family:'Orb Terminal';src:url('../../public/assets/fonts/vt323/VT323-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;
}
/* Phosphor lettering floats over the scene; no timer or animation runs in CSS. */
#event-text.terminal-messages{
 position:absolute;top:24%;left:6%;width:70%;max-width:70%;z-index:6;margin:0;padding:0;
 font-family:'Orb Terminal','Lucida Console',monospace;font-size:clamp(17px,1.5cqw,29px);font-weight:400;font-style:normal;
 line-height:1.05;letter-spacing:.025em;text-align:left;color:#8affb0;pointer-events:none;
 text-shadow:0 1px 1px #001c0e,0 0 2px #b8ffd7,0 0 8px #39f582a6,0 2px 8px #000;
 animation:none;
}
.terminal-screen{position:relative;min-height:2.3em}
.terminal-line{
 position:absolute;left:0;top:0;display:flex;align-items:flex-start;gap:.55ch;max-width:100%;
 padding:.12em .5ch .17em .3ch;background:linear-gradient(90deg,#00170ec2,#00170e70 78%,transparent);
 will-change:transform,opacity;
}
.terminal-prompt{flex:0 0 auto;color:#43f896}
.terminal-body{min-width:0;white-space:pre-wrap;overflow-wrap:break-word}
.terminal-cursor{font-size:.79em;line-height:1;vertical-align:.03em;color:#b2ffc9;text-shadow:0 0 7px #5aff9a}
.terminal-line[data-tone="danger"]{
 color:#ff8b87;background:linear-gradient(90deg,#300305d6,#30030575 78%,transparent);
 text-shadow:0 1px 1px #290001,0 0 2px #ffc4bf,0 0 8px #ff343ba6,0 2px 8px #000;
}
.terminal-line[data-tone="danger"] .terminal-prompt{color:#ff4b50}
.terminal-line[data-tone="danger"] .terminal-cursor{color:#ffc3bb;text-shadow:0 0 7px #ff5353}
@media(max-aspect-ratio:1/1){
 #event-text.terminal-messages{top:20%;left:5%;width:88%;max-width:88%;font-size:clamp(16px,4.1cqw,22px);line-height:1.05;letter-spacing:.015em}
}
