/* widget_terminal_activity.css */
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&display=swap");
.widget-terminal-activity-container { position: absolute; top: 120px; left: 40px; z-index: 0; /* Z:0 (behind modals/panels) */ pointer-events: none; font-family: "JetBrains Mono", monospace; max-width: 450px; display: flex; flex-direction: column; gap: 6px; }
.terminal-hud-content { user-select: none; display: flex; flex-direction: column; gap: 2px; }
.terminal-line { font-family: "JetBrains Mono", monospace; font-size: 0.65rem; color: rgba(167, 234, 255, 0.65); /* COLOR:UNIFIED (smooth transition) */ text-shadow: 0 0 5px rgba(0, 163, 255, 0.2); line-height: 1.4; white-space: nowrap; transition: opacity 0.8s ease, transform 0.8s ease; will-change: transform, opacity; transform: translate3d(0,0,0); backface-visibility: hidden; }
/* VARIATION:SUBTLE-FINE */
.terminal-line:nth-child(odd) { color: rgba(167, 234, 255, 0.55); }
.terminal-line:nth-child(3n) { color: rgba(167, 234, 255, 0.75); }
.terminal-line::before { content: ">"; margin-right: 8px; color: #96cee8; opacity: 0.6; }
/* CURSOR:BLINK-ACTIVE-LINE */
.terminal-line.is-typing::after { content: "█"; /* CURSOR:FULL-VISIBILITY */ margin-left: 2px; color: #96cee8; font-size: 0.8em; vertical-align: middle; animation: terminal-cursor 0.8s infinite step-end; text-shadow: 0 0 8px rgba(0, 163, 255, 0.8); }
@keyframes terminal-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
/* OPACITY:DEGRESSIVE (10 lines) */
.terminal-line:nth-last-child(1) { opacity: 1; }
.terminal-line:nth-last-child(2) { opacity: 0.85; }
.terminal-line:nth-last-child(3) { opacity: 0.75; }
.terminal-line:nth-last-child(4) { opacity: 0.65; }
.terminal-line:nth-last-child(5) { opacity: 0.55; }
.terminal-line:nth-last-child(6) { opacity: 0.45; }
.terminal-line:nth-last-child(7) { opacity: 0.35; }
.terminal-line:nth-last-child(8) { opacity: 0.25; }
.terminal-line:nth-last-child(9) { opacity: 0.15; }
.terminal-line:nth-last-child(10) { opacity: 0.1; }
.terminal-line:nth-last-child(n/**/+11) { opacity: 0; }
/* MSG:CTA-STYLES */
.terminal-line.is-cta { font-weight: 600; color: rgba(255, 255, 255, 0.9); /* COLOR:SOFTER */ text-shadow: 0 0 8px rgba(0, 163, 255, 0.4); letter-spacing: 0.3px; }
.terminal-line.is-cta::before { content: "!"; color: #ff9d00; opacity: 0.8; /* Moins agressif */ }
.terminal-line.is-exiting { opacity: 0 !important; transform: translate3d(0, -15px, 0) scale(0.95); filter: blur(2px); }
@media (max-width: 1024px) {
  #terminal-activity-widget { top: 10px; left: 10px; zoom: 0.85; /* Safari friendly scaler */ }
}
@keyframes terminal-line-appear {
  0% { opacity: 0; transform: translate3d(-10px, 0, 0) scaleX(0.9); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scaleX(1); }
}
@keyframes terminal-line-disappear {
  0% { opacity: 1; transform: translate3d(0, 0, 0); }
  100% { opacity: 0; transform: translate3d(0, -10px, 0); }
}
/* FX:FLICKER-TERMINAL */
@keyframes terminal-flicker {
  0% { opacity: 0.97; }
  5% { opacity: 0.95; }
  10% { opacity: 0.9; }
  15% { opacity: 0.95; }
  20% { opacity: 0.98; }
  100% { opacity: 1; }
}
.terminal-hud-content { animation: terminal-flicker 4s infinite step-end; }
