

#thinking-arrow {
  transition: transform 0.4s ease;
}


#thinking-content {
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
  max-height: 1000px;
  opacity: 1;
  visibility: visible;
}

#thinking-content.collapsed {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
}


#session-arrow {
  transition: transform 0.4s ease;
}

#session-container {
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
  max-height: 1000px;
  opacity: 1;
  visibility: visible;
}

#session-container.collapsed {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}



@keyframes strong-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.blinking {
  animation: strong-blink 1.6s infinite;
}







.mode-btn {
  border: none;
  background: transparent;
  color: #555;
  transition: background 0.25s, color 0.2s;
}
.mode-btn.active {
  background: #f0fdf4; /* по-умолчанию green-50 */
  color: #047857;      /* green-700 */
  z-index: 2;
  position: relative;
}
.dark .mode-btn.active {
  background: #064e3b;
  color: #a7f3d0;
}



.fade-out {
	opacity: 0;
	transition: opacity 0.5s;
	pointer-events: none;
}
.fade-out-removable {
	animation: fadeOutRemove 0.5s forwards;
}
@keyframes fadeOutRemove {
	to {
		opacity: 0;
		height: 0;
		margin: 0;
		padding: 0;
	}
}



   





@keyframes bounce-in-out {
  0% {
    transform: scale(0.5);
    opacity: 0.1;
  }
  40% {
    transform: scale(1.18);
    opacity: 1;
  }
  65% {
    transform: scale(0.94);
  }
  80% {
    transform: scale(1.08);
  }
  92% {
    transform: scale(0.98);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.distortion-ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  transition: background 0.3s;
  box-sizing: border-box;
  /* Пример для овала: */
  padding: 0.5em 1.5em; /* Больше горизонтально — получится овал */
  min-width: 80px;
  min-height: 54px;
  max-width: 280px;
  /* overflow: hidden; */
}
.distortion-ball span {
  display: block;
  line-height: 1.15;
  text-align: center;
  white-space: pre-line;
  word-break: break-word;
  width: 100%;
}
