File size: 4,853 Bytes
0bb733c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9fd3a67
 
 
 
 
 
 
 
 
0bb733c
9fd3a67
 
0bb733c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9fd3a67
 
0bb733c
 
9fd3a67
 
 
 
0bb733c
 
9fd3a67
0bb733c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9fd3a67
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
/* Classes de base pour la photo de profil */
#chatSection .profile-picture {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 10px;
}

#chatSection .profile-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* État: No Stress */
#chatSection.no-stress .profile-picture {
  border: 2px solid #607ab1;
}

#chatSection.no-stress .chat-name {
  color: #333;
}

/* État: Low Stress - Animation de pulsation modérée */
#chatSection.low-stress .profile-picture {
  border: 2px solid #ffa500;
  animation: lowStressPulse 1.5s infinite;
  box-shadow: 0 0 5px rgba(255, 165, 0, 0.3);
}

#chatSection.low-stress .chat-name {
  animation: lowStressTextPulse 1.5s infinite;
}

#chatSection.low-stress #chatHistory .ai-message {
  background-color: #ffa500;
  color: #ffffff;
  animation: lowStressMessagePulse 2s infinite,
    lowStressMessageScale 1.5s infinite;
  border: 1px solid #ffa500;
}

@keyframes lowStressPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 10px 3px rgba(255, 165, 0, 0.5);
    transform: scale(1.03);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 165, 0, 0);
    transform: scale(1);
  }
}

@keyframes lowStressTextPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes lowStressMessagePulse {
  0% {
    background-color: #ffa500;
    box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.3);
  }
  50% {
    background-color: #ffb733;
    box-shadow: 0 0 8px 0 rgba(255, 165, 0, 0.4);
  }
  100% {
    background-color: #ffa500;
    box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.3);
  }
}

@keyframes lowStressMessageScale {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

/* État: Very Stress - Animation de pulsation intense */
#chatSection.very-stress {
  background-color: #1a1a1a;
  transition: background-color 0.3s ease;
}

#chatSection.very-stress #chatHeader {
  background-color: #1a1a1a;
  transition: background-color 0.3s ease;
}

#chatSection.very-stress .profile-picture {
  border: 3px solid #ff0000;
  animation: veryStressPulse 0.8s infinite;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

#chatSection.very-stress .chat-name {
  color: #ff0000;
  animation: veryStressTextPulse 0.8s infinite;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
}

#chatSection.very-stress #chatHistory {
  background-color: #1a1a1a;
  color: #ffffff;
}

#chatSection.very-stress #chatHistory .ai-message {
  background-color: #e92626;
  color: #ffffff;
  animation: messageShake 0.8s infinite ease-in-out, messageRedPulse 1.5s infinite;
  border: 2px solid #ff0000;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
  transform-origin: center;
}

#chatSection.very-stress #chatHistory .assistant-message {
  background-color: #2d2d2d;
  color: #ff9999;
  border: 1px solid #ff0000;
  animation: assistantMessageShake 1.5s infinite ease-in-out;
  transform-origin: center;
}

#chatSection.very-stress #chatControls {
  background-color: #1a1a1a;
}

#chatSection.very-stress #prompt {
  background-color: #2d2d2d;
  color: #ffffff;
  border: 1px solid #ffffff;
}

#chatSection.very-stress .chat-name::after {
  content: "💀💀";
}

#chatSection.very-stress .chat-name span {
  display: none;
}

@keyframes veryStressPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 15px 5px rgba(255, 0, 0, 0.7);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    transform: scale(1);
  }
}

@keyframes veryStressTextPulse {
  0% {
    text-shadow: 0 0 0 rgba(255, 0, 0, 0);
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
    transform: scale(1.08);
  }
  100% {
    text-shadow: 0 0 0 rgba(255, 0, 0, 0);
    transform: scale(1);
  }
}

@keyframes messageShake {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(-2px, 1px) rotate(-0.5deg);
  }
  50% {
    transform: translate(0, -1px) rotate(0.5deg);
  }
  75% {
    transform: translate(2px, 1px) rotate(-0.25deg);
  }
}

@keyframes messageRedPulse {
  0% {
    background-color: #e92626;
    box-shadow: 0 0 0 0 rgba(233, 38, 38, 0.4);
  }
  50% {
    background-color: #ff3333;
    box-shadow: 0 0 10px 0 rgba(233, 38, 38, 0.6);
  }
  100% {
    background-color: #e92626;
    box-shadow: 0 0 0 0 rgba(233, 38, 38, 0.4);
  }
}

@keyframes assistantMessageShake {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(-1px, 0.5px) rotate(-0.25deg);
  }
  50% {
    transform: translate(0, -0.5px) rotate(0.25deg);
  }
  75% {
    transform: translate(1px, 0.5px) rotate(-0.125deg);
  }
}