.terminal {
  display: flex;
  flex-direction: column;
  height: clamp(680px, calc(100vh - 110px), 760px);
  min-height: 0;
  border-color: rgba(57, 198, 255, .23);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(14, 27, 40, .97), rgba(7, 13, 21, .98));
  box-shadow: 0 35px 100px rgba(0, 0, 0, .45), 0 0 80px rgba(57, 198, 255, .05);
}
.terminal header { min-height: 76px; padding: 0 20px; }
.pulse-title { display: grid; flex: 1; gap: 3px; }
.terminal .pulse-title h2 { margin: 0; color: #dce8f3; font: 700 15px 'DM Sans'; letter-spacing: -.01em; }
.terminal ol { flex: 1 1 0; height: 0; min-height: 0; max-height: none; padding: 10px; overflow-y: auto; overscroll-behavior: contain; }
.terminal li {
  align-items: center; margin-bottom: 6px; padding: 13px 14px; border: 1px solid transparent;
  border-radius: 13px; background: rgba(255, 255, 255, .022); transition: .16s;
}
.terminal li:hover { border-color: rgba(57, 198, 255, .18); background: rgba(57, 198, 255, .045); }
.terminal li span {
  justify-self: start; padding: 3px 8px; border-radius: 999px; color: var(--cyan);
  background: rgba(57, 198, 255, .09); font-weight: 700;
}
.terminal li span::before { content: none; }
.terminal ol { scrollbar-width: thin; scrollbar-color: rgba(57, 198, 255, .48) transparent; }
.terminal ol::-webkit-scrollbar { width: 7px; }
.terminal ol::-webkit-scrollbar-track { margin: 10px 0; background: transparent; }
.terminal ol::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: linear-gradient(var(--cyan), var(--purple)) padding-box; }
