isaikr 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/README.md +35 -0
  2. package/cdn/api.js +19 -0
  3. package/cdn/character.js +254 -0
  4. package/cdn/chat.js +33 -0
  5. package/cdn/code-editor.js +1131 -0
  6. package/cdn/community-compose.js +270 -0
  7. package/cdn/games/2048/index.html +12 -0
  8. package/cdn/games/breakout/index.html +13 -0
  9. package/cdn/games/clicker/index.html +26 -0
  10. package/cdn/games/flappy/index.html +11 -0
  11. package/cdn/games/memory/index.html +34 -0
  12. package/cdn/games/pong/index.html +13 -0
  13. package/cdn/games/reaction/index.html +38 -0
  14. package/cdn/games/runner/index.html +11 -0
  15. package/cdn/games/snake/index.html +11 -0
  16. package/cdn/games/tetris/index.html +14 -0
  17. package/cdn/games/whack/index.html +8 -0
  18. package/cdn/go.js +126 -0
  19. package/cdn/go2.js +127 -0
  20. package/cdn/header3_behavior.js +1167 -0
  21. package/cdn/header3_layout.js +1004 -0
  22. package/cdn/header3_layout.js.bak +1004 -0
  23. package/cdn/header3_style.css +3524 -0
  24. package/cdn/header3_style.css.bak +3514 -0
  25. package/cdn/lang.js +198 -0
  26. package/cdn/loading.js +143 -0
  27. package/cdn/loading2.js +144 -0
  28. package/cdn/local-model.js +2941 -0
  29. package/cdn/main.js +4 -0
  30. package/cdn/main_asset.js +1849 -0
  31. package/cdn/main_asset.js.bak +6999 -0
  32. package/cdn/main_index.css +287 -0
  33. package/cdn/re_board3.css +733 -0
  34. package/cdn/re_board3.js +734 -0
  35. package/cdn/re_chat_tts.js +652 -0
  36. package/cdn/re_local_runtime.js +2246 -0
  37. package/cdn/re_local_runtime.js.bak +2246 -0
  38. package/cdn/re_share.js +577 -0
  39. package/cdn/re_voice.js +542 -0
  40. package/cdn/utils.js +36 -0
  41. package/cdn/view.js +321 -0
  42. package/header3_behavior.js +804 -0
  43. package/header3_layout.js +998 -0
  44. package/header3_style.css +2740 -0
  45. package/index.js +0 -0
  46. package/lang.js +179 -0
  47. package/main_asset.js +2416 -0
  48. package/main_index.css +274 -0
  49. package/package.json +14 -0
  50. package/re_chat_tts.js +1419 -0
  51. package/re_voice.js +430 -0
@@ -0,0 +1,2740 @@
1
+ select, option {
2
+ background-color: #151515 !important;
3
+ color: white !important;
4
+ }
5
+
6
+ select {
7
+ color-scheme: dark;
8
+ appearance: none;
9
+ -webkit-appearance: none;
10
+ }
11
+
12
+ select:focus {
13
+ outline: none !important;
14
+ background-color: #151515 !important;
15
+ box-shadow: none !important;
16
+ }
17
+ select option {
18
+ padding: 10px;
19
+ background: #151515;
20
+ }
21
+
22
+
23
+ * {
24
+ font-family: var(--isai-font-family, "Noto Sans", sans-serif) !important;
25
+ font-weight: 500 !important;
26
+ -webkit-font-smoothing: antialiased;
27
+ }
28
+
29
+ ::-webkit-scrollbar {
30
+ width: 10px;
31
+ height: 10px;
32
+ }
33
+
34
+ ::-webkit-scrollbar-track {
35
+ background: #121212;
36
+ }
37
+
38
+ ::-webkit-scrollbar-thumb {
39
+ background: #333333;
40
+ border-radius: 10px;
41
+ border: 2px solid #121212;
42
+ }
43
+
44
+ ::-webkit-scrollbar-thumb:hover {
45
+ background: #444444;
46
+ }
47
+
48
+ ::-webkit-scrollbar-thumb:active {
49
+ background: #555555;
50
+ }
51
+
52
+ * {
53
+ scrollbar-width: thin;
54
+ scrollbar-color: #333333 #121212;
55
+ }
56
+
57
+ body {
58
+ background: radial-gradient(circle at center, #262626 0%, #000000 100%) !important;
59
+ background-attachment: fixed !important;
60
+ color: white !important;
61
+ margin: 0;
62
+ width: 100%;
63
+ height: 100vh;
64
+ display: flex;
65
+ flex-direction: column;
66
+ }
67
+
68
+ /* Island Box */
69
+ .island-box {
70
+ background: linear-gradient(180deg, #191919 0%, #111111 100%) !important;
71
+ backdrop-filter: blur(10px) !important;
72
+ -webkit-backdrop-filter: blur(10px) !important;
73
+ border: none !important;
74
+ border-radius: 2.5rem 0 0 2.5rem !important;
75
+ box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45) !important;
76
+ transition: all 0.3s ease;
77
+ position: relative;
78
+ overflow: hidden;
79
+ display: flex !important;
80
+ flex-direction: row !important;
81
+ align-items: stretch;
82
+ width: 100%;
83
+ margin-bottom: 5px;
84
+ --menu-rail-space: 88px;
85
+ padding-right: 0;
86
+ min-height: 270px;
87
+ max-height: 270px;
88
+ height: 270px;
89
+ min-width: 0;
90
+ flex: 0 0 auto;
91
+ }
92
+
93
+ /* App Items */
94
+ .app-item, .store-item, .fixed-app-item {
95
+ background: #1a1a1a !important;
96
+ border-radius: 18px !important;
97
+ border: 1px solid rgba(255,255,255,0.05) !important;
98
+ width: 48px; height: 48px;
99
+ display: flex; align-items: center; justify-content: center;
100
+ flex-shrink: 0;
101
+ cursor: pointer;
102
+ transition: all 0.2s;
103
+ }
104
+ .app-item:hover { background: #333 !important; }
105
+
106
+ /* Icons */
107
+ .btn-icon {
108
+ width: 40px; height: 40px;
109
+ border-radius: 14px;
110
+ display: flex; align-items: center; justify-content: center;
111
+ color: #9ca3af !important;
112
+ transition: all 0.2s;
113
+ background: transparent;
114
+ clip-path: inset(0 round 14px);
115
+ }
116
+ .btn-icon:hover, .btn-icon.active {
117
+ color: #ffffff !important;
118
+ background-color: #262626 !important;
119
+ border-radius: 14px !important;
120
+ clip-path: inset(0 round 14px);
121
+ }
122
+ .btn-submit {
123
+ background: white !important;
124
+ color: black !important;
125
+ border-radius: 50%;
126
+ transition: transform 0.2s;
127
+ }
128
+ .btn-submit:active { transform: scale(0.95); }
129
+
130
+ /* Select Pills */
131
+ .select-pill {
132
+ background-color: #000000;
133
+ border: 1px solid rgba(255,255,255,0.15);
134
+ border-radius: 9999px;
135
+ height: 28px;
136
+ display: flex;
137
+ align-items: center;
138
+ padding: 0 10px 0 12px;
139
+ gap: 6px;
140
+ }
141
+ .select-pill i { font-size: 12px; color: #9ca3af; }
142
+ .select-pill select {
143
+ appearance: none; -webkit-appearance: none;
144
+ background: transparent;
145
+ border: none;
146
+ color: white;
147
+ font-size: 11px;
148
+ font-weight: 700;
149
+ outline: none;
150
+ cursor: pointer;
151
+ padding-right: 2px;
152
+ }
153
+ #local-model-tier-wrapper {
154
+ max-width: min(58vw, 240px);
155
+ }
156
+ #local-model-tier-list {
157
+ display: flex;
158
+ align-items: center;
159
+ gap: 6px;
160
+ padding: 4px;
161
+ border-radius: 9999px;
162
+ border: 1px solid rgba(255, 255, 255, 0.14);
163
+ background: rgba(10, 10, 11, 0.52);
164
+ backdrop-filter: blur(10px);
165
+ -webkit-backdrop-filter: blur(10px);
166
+ overflow-x: auto;
167
+ overflow-y: hidden;
168
+ white-space: nowrap;
169
+ scrollbar-width: none;
170
+ -ms-overflow-style: none;
171
+ }
172
+ #local-model-tier-list::-webkit-scrollbar {
173
+ display: none;
174
+ }
175
+ .local-model-tier-btn {
176
+ border: none;
177
+ background: transparent;
178
+ color: rgba(255, 255, 255, 0.78);
179
+ border-radius: 9999px;
180
+ padding: 4px 10px;
181
+ font-size: 11px;
182
+ font-weight: 700;
183
+ line-height: 1;
184
+ cursor: pointer;
185
+ flex: 0 0 auto;
186
+ transition: all 0.16s ease;
187
+ }
188
+ .local-model-tier-btn:hover {
189
+ background: transparent;
190
+ color: #ffffff;
191
+ }
192
+ .local-model-tier-btn.active {
193
+ background: #ececec;
194
+ color: #111111;
195
+ box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
196
+ }
197
+
198
+ /* Store Panel */
199
+ #store-panel {
200
+ max-height: 0;
201
+ overflow: hidden;
202
+ transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
203
+ opacity: 0;
204
+ display: none;
205
+ }
206
+ #store-panel.open {
207
+ display: flex;
208
+ max-height: 500px;
209
+ opacity: 1;
210
+ padding-bottom: 10px;
211
+ margin-bottom: 10px;
212
+ }
213
+
214
+ textarea:focus, input:focus { outline: none !important; }
215
+ #prompt-input { color: #e5e7eb !important; }
216
+ #app-container {
217
+ max-height: 0;
218
+ overflow: hidden;
219
+ transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
220
+ opacity: 0;
221
+ margin-top: 5px;
222
+ display: none;
223
+ }
224
+
225
+ .modal-box {
226
+ background-color: #1a1a1a !important;
227
+ border: 1px solid #333 !important;
228
+ border-radius: 24px !important;
229
+ backdrop-filter: none !important;
230
+ }
231
+ .modal-overlay {
232
+ background-color: rgba(0, 0, 0, 0.85) !important;
233
+ backdrop-filter: none !important;
234
+ }
235
+ #loader-overlay {
236
+ display: none !important;
237
+ opacity: 0;
238
+ pointer-events: none;
239
+ border-radius: inherit !important;
240
+ }
241
+ #loader-overlay.active {
242
+ display: flex !important;
243
+ opacity: 1;
244
+ pointer-events: auto;
245
+ border-radius: inherit !important;
246
+ }
247
+
248
+ .no-scrollbar::-webkit-scrollbar { display: none; }
249
+ .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
250
+ #chat-box {
251
+ width: 100%;
252
+ height: 100%;
253
+ min-height: 0;
254
+ max-height: 100%;
255
+ overflow-y: auto;
256
+ overflow-x: hidden;
257
+ overscroll-behavior: contain;
258
+ -webkit-overflow-scrolling: touch;
259
+ padding: 14px 22px 14px 22px;
260
+ display: flex;
261
+ flex-direction: column;
262
+ justify-content: flex-start;
263
+ gap: 12px;
264
+ flex: 1 1 auto;
265
+ }
266
+ #chat-box > div:first-child:not(.chat-spacer) {
267
+ margin-top: 0 !important;
268
+ }
269
+ .chat-spacer {
270
+ margin-top: auto !important;
271
+ height: 0;
272
+ min-height: 0;
273
+ flex: 0 0 auto;
274
+ pointer-events: none;
275
+ }
276
+ .chat-entry {
277
+ width: 100%;
278
+ display: flex;
279
+ gap: 10px;
280
+ align-items: flex-start;
281
+ animation: fadeIn 0.25s ease;
282
+ }
283
+ .chat-entry.ai-entry { justify-content: flex-start; }
284
+ .chat-entry.user-entry { justify-content: flex-end; }
285
+ .chat-entry-body {
286
+ min-width: 0;
287
+ max-width: min(86%, 520px);
288
+ display: flex;
289
+ flex-direction: column;
290
+ gap: 5px;
291
+ }
292
+ .chat-entry-name {
293
+ display: none !important;
294
+ }
295
+ .chat-entry-avatar,
296
+ .chat-entry-avatar-fallback {
297
+ display: none !important;
298
+ }
299
+ .chat-entry.ai-entry .chat-entry-body {
300
+ max-width: 85% !important;
301
+ }
302
+ .chat-bubble-ai {
303
+ border-radius: 18px;
304
+ border-top-left-radius: 8px;
305
+ background: #ffffff;
306
+ color: #121212;
307
+ padding: 10px 14px;
308
+ line-height: 1.55;
309
+ font-size: 14px;
310
+ border: 1px solid rgba(15, 23, 42, 0.08);
311
+ box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
312
+ word-break: break-word;
313
+ }
314
+ .chat-bubble-image-error {
315
+ width: 58px;
316
+ height: 58px;
317
+ padding: 0 !important;
318
+ border-radius: 18px;
319
+ border-top-left-radius: 8px;
320
+ background: #ffffff;
321
+ color: #111827;
322
+ border: 1px solid rgba(15, 23, 42, 0.08);
323
+ box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
324
+ display: inline-flex;
325
+ align-items: center;
326
+ justify-content: center;
327
+ }
328
+ .image-error-icon {
329
+ position: relative;
330
+ width: 30px;
331
+ height: 30px;
332
+ display: inline-flex;
333
+ align-items: center;
334
+ justify-content: center;
335
+ color: #111827;
336
+ }
337
+ .image-error-icon > i:first-child {
338
+ font-size: 22px;
339
+ opacity: 0.9;
340
+ }
341
+ .image-error-icon-badge {
342
+ position: absolute;
343
+ right: -2px;
344
+ bottom: -1px;
345
+ font-size: 14px;
346
+ color: #ef4444;
347
+ background: #ffffff;
348
+ border-radius: 9999px;
349
+ box-shadow: 0 0 0 2px #ffffff;
350
+ }
351
+ .search-result-bubble {
352
+ background: #ffffff !important;
353
+ color: #111827 !important;
354
+ border: 1px solid rgba(15, 23, 42, 0.12) !important;
355
+ box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12) !important;
356
+ }
357
+ .search-result-bubble p,
358
+ .search-result-bubble li,
359
+ .search-result-bubble strong,
360
+ .search-result-bubble b,
361
+ .search-result-bubble h1,
362
+ .search-result-bubble h2,
363
+ .search-result-bubble h3,
364
+ .search-result-bubble h4,
365
+ .search-result-bubble h5,
366
+ .search-result-bubble h6,
367
+ .search-result-bubble blockquote,
368
+ .search-result-bubble span,
369
+ .search-result-bubble a:not(.search-source-link),
370
+ .search-result-bubble code:not(pre code) {
371
+ color: #111827 !important;
372
+ }
373
+ .search-result-bubble [class*="text-white"],
374
+ .search-result-bubble [class*="text-gray-"],
375
+ .search-result-bubble [class*="text-blue-"] {
376
+ color: #111827 !important;
377
+ }
378
+ .search-result-bubble .code-wrapper pre,
379
+ .search-result-bubble .code-wrapper code,
380
+ .search-result-bubble .code-wrapper span,
381
+ .search-result-bubble .code-wrapper button,
382
+ .search-result-bubble .code-wrapper i {
383
+ color: #e5e7eb !important;
384
+ }
385
+ .search-result-bubble .search-source-link,
386
+ .search-result-bubble .search-source-link span,
387
+ .search-result-bubble .search-source-label {
388
+ color: #111827 !important;
389
+ }
390
+ .chat-bubble-ai ul,
391
+ .chat-bubble-ai ol,
392
+ .chat-bubble-user ul,
393
+ .chat-bubble-user ol {
394
+ margin: 8px 0;
395
+ padding: 0;
396
+ list-style: none;
397
+ }
398
+ .chat-bubble-ai li,
399
+ .chat-bubble-user li {
400
+ display: block;
401
+ margin: 3px 0;
402
+ }
403
+ .chat-bubble-user {
404
+ border-radius: 18px;
405
+ border-top-right-radius: 8px;
406
+ background: #0c0c0c;
407
+ color: #ffffff;
408
+ padding: 10px 14px;
409
+ line-height: 1.55;
410
+ font-size: 14px;
411
+ border: 1px solid rgba(255, 255, 255, 0.1);
412
+ box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
413
+ word-break: break-word;
414
+ }
415
+ /* Force-hide legacy AI avatar/logo block next to bubbles */
416
+ #chat-box > div.group.w-full.items-start > div.relative.flex-shrink-0 {
417
+ display: none !important;
418
+ }
419
+ #chat-box > div.group.w-full.items-start > div.flex.flex-col > span {
420
+ display: none !important;
421
+ }
422
+ #chat-box > div.group.w-full.items-start > div.flex.flex-col {
423
+ max-width: 85% !important;
424
+ }
425
+ .user-entry .chat-entry-body {
426
+ align-items: flex-end;
427
+ }
428
+ #chat-input-shell {
429
+ width: 100%;
430
+ display: flex;
431
+ flex-direction: column;
432
+ align-items: stretch;
433
+ gap: 6px;
434
+ padding: 10px 16px 42px 16px;
435
+ border: none !important;
436
+ position: relative;
437
+ min-height: 82px;
438
+ box-sizing: border-box !important;
439
+ }
440
+ #chat-input-profile {
441
+ position: absolute;
442
+ left: 16px;
443
+ bottom: 10px;
444
+ z-index: 12;
445
+ width: 42px;
446
+ height: 42px;
447
+ border-radius: 9999px;
448
+ overflow: hidden;
449
+ border: none;
450
+ background: rgba(255, 255, 255, 0.08);
451
+ box-shadow: none;
452
+ }
453
+ #chat-input-profile img {
454
+ width: 100%;
455
+ height: 100%;
456
+ object-fit: cover;
457
+ display: block;
458
+ }
459
+ #chat-input-field {
460
+ width: 100% !important;
461
+ max-width: 100% !important;
462
+ flex: 1 1 auto;
463
+ min-width: 0;
464
+ display: block;
465
+ padding: 0 !important;
466
+ order: 2;
467
+ position: relative;
468
+ z-index: 1;
469
+ box-sizing: border-box !important;
470
+ }
471
+ #prompt-input {
472
+ width: 100% !important;
473
+ max-width: 100% !important;
474
+ background: transparent !important;
475
+ border: none !important;
476
+ outline: none !important;
477
+ resize: none;
478
+ overflow-y: auto !important;
479
+ overflow-x: hidden !important;
480
+ color: #f5f5f5 !important;
481
+ text-align: left !important;
482
+ font-size: 1.05rem;
483
+ line-height: 1.55;
484
+ min-height: 34px;
485
+ max-height: 72px;
486
+ display: block;
487
+ min-width: 0 !important;
488
+ flex: 1 1 auto;
489
+ box-sizing: border-box !important;
490
+ white-space: pre-wrap;
491
+ overflow-wrap: anywhere;
492
+ word-break: break-word;
493
+ padding: 6px 0 0 56px !important;
494
+ }
495
+ #prompt-input::-webkit-scrollbar {
496
+ display: block !important;
497
+ width: 6px !important;
498
+ height: 6px !important;
499
+ }
500
+ #prompt-input::-webkit-scrollbar-track {
501
+ background: transparent !important;
502
+ }
503
+ #prompt-input::-webkit-scrollbar-thumb {
504
+ background: rgba(255,255,255,0.22) !important;
505
+ border-radius: 999px !important;
506
+ }
507
+ #chat-input-actions {
508
+ position: absolute;
509
+ order: 1;
510
+ width: auto;
511
+ top: auto !important;
512
+ left: auto !important;
513
+ right: 16px;
514
+ bottom: 12px;
515
+ display: flex;
516
+ align-items: center;
517
+ justify-content: flex-end;
518
+ gap: 6px;
519
+ z-index: 12;
520
+ padding: 0;
521
+ border-radius: 0;
522
+ background: transparent;
523
+ border: none !important;
524
+ backdrop-filter: none;
525
+ -webkit-backdrop-filter: none;
526
+ box-shadow: none;
527
+ pointer-events: auto;
528
+ }
529
+ #recent-mode-actions {
530
+ display: inline-flex;
531
+ align-items: center;
532
+ gap: 6px;
533
+ flex-wrap: nowrap;
534
+ justify-content: flex-end;
535
+ max-width: clamp(54px, 13vw, 140px);
536
+ overflow-x: auto;
537
+ overflow-y: hidden;
538
+ }
539
+ #recent-mode-actions.hidden {
540
+ display: none !important;
541
+ }
542
+ #chat-input-actions .input-action-btn {
543
+ width: 28px;
544
+ height: 28px;
545
+ border-radius: 9999px;
546
+ border: none !important;
547
+ background: rgba(15, 15, 16, 0.46);
548
+ color: #ffffff;
549
+ display: inline-flex;
550
+ align-items: center;
551
+ justify-content: center;
552
+ transition: all 0.2s ease;
553
+ backdrop-filter: blur(10px);
554
+ -webkit-backdrop-filter: blur(10px);
555
+ box-shadow: 0 4px 12px rgba(0,0,0,0.2);
556
+ pointer-events: auto;
557
+ }
558
+ #chat-input-actions .input-action-btn:hover {
559
+ background: rgba(28, 28, 31, 0.62);
560
+ }
561
+ #chat-input-actions #btn-submit {
562
+ width: 30px;
563
+ height: 30px;
564
+ background: rgba(10, 10, 11, 0.68) !important;
565
+ color: #ffffff !important;
566
+ }
567
+ #chat-input-actions .recent-mode-btn {
568
+ background: rgba(18, 18, 20, 0.42) !important;
569
+ color: #ffffff !important;
570
+ opacity: 1;
571
+ }
572
+ #chat-input-actions .recent-mode-btn:hover {
573
+ background: rgba(28, 28, 31, 0.62) !important;
574
+ }
575
+ #chat-input-actions .recent-mode-btn img {
576
+ width: 16px;
577
+ height: 16px;
578
+ object-fit: contain;
579
+ display: block;
580
+ }
581
+ .island-box:fullscreen,
582
+ .island-box:-webkit-full-screen {
583
+ width: 100vw !important;
584
+ height: 100dvh !important;
585
+ min-height: 100dvh !important;
586
+ max-height: 100dvh !important;
587
+ border-radius: 0 !important;
588
+ margin: 0 !important;
589
+ padding: 0 !important;
590
+ display: grid !important;
591
+ grid-template-columns: minmax(0, 1fr) 58px !important;
592
+ grid-template-rows: minmax(0, 1fr) !important;
593
+ align-items: stretch !important;
594
+ justify-items: stretch !important;
595
+ overflow: hidden !important;
596
+ }
597
+ .island-box:fullscreen #chat-main-stack,
598
+ .island-box:-webkit-full-screen #chat-main-stack {
599
+ grid-column: 1 !important;
600
+ grid-row: 1 !important;
601
+ width: auto !important;
602
+ min-width: 0 !important;
603
+ max-width: none !important;
604
+ min-height: 0 !important;
605
+ height: 100% !important;
606
+ max-height: 100% !important;
607
+ flex: 1 1 auto !important;
608
+ padding-right: 0 !important;
609
+ box-sizing: border-box !important;
610
+ }
611
+ .island-box:fullscreen #top-zone,
612
+ .island-box:-webkit-full-screen #top-zone {
613
+ display: flex !important;
614
+ flex-direction: column !important;
615
+ flex: 1 1 auto !important;
616
+ min-height: 0 !important;
617
+ max-height: none !important;
618
+ }
619
+ .island-box:fullscreen #chat-box,
620
+ .island-box:-webkit-full-screen #chat-box {
621
+ flex: 1 1 auto !important;
622
+ min-height: 0 !important;
623
+ max-height: none !important;
624
+ height: 100% !important;
625
+ padding: 16px !important;
626
+ }
627
+ .island-box:fullscreen #chat-side-ad,
628
+ .island-box:-webkit-full-screen #chat-side-ad {
629
+ display: none !important;
630
+ }
631
+ .island-box:fullscreen #board-right-rail,
632
+ .island-box:-webkit-full-screen #board-right-rail {
633
+ display: none !important;
634
+ }
635
+ .island-box:fullscreen #right-panel,
636
+ .island-box:-webkit-full-screen #right-panel {
637
+ display: none !important;
638
+ }
639
+ .island-box:fullscreen #toolbar-area,
640
+ .island-box:-webkit-full-screen #toolbar-area {
641
+ grid-column: 2 !important;
642
+ grid-row: 1 !important;
643
+ width: 58px !important;
644
+ min-width: 58px !important;
645
+ max-width: 58px !important;
646
+ min-height: 100% !important;
647
+ height: 100% !important;
648
+ max-height: 100% !important;
649
+ align-self: stretch !important;
650
+ justify-self: stretch !important;
651
+ border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
652
+ border-top: none !important;
653
+ padding: 10px 6px calc(10px + env(safe-area-inset-bottom)) 6px !important;
654
+ overflow: hidden !important;
655
+ }
656
+ .island-box:fullscreen #store-panel,
657
+ .island-box:fullscreen #app-container,
658
+ .island-box:-webkit-full-screen #store-panel,
659
+ .island-box:-webkit-full-screen #app-container {
660
+ display: none !important;
661
+ }
662
+ .island-box:fullscreen #chat-input-shell,
663
+ .island-box:-webkit-full-screen #chat-input-shell {
664
+ padding-bottom: calc(42px + env(safe-area-inset-bottom)) !important;
665
+ }
666
+ .island-box:fullscreen #chat-input-actions,
667
+ .island-box:-webkit-full-screen #chat-input-actions {
668
+ right: 16px !important;
669
+ bottom: calc(12px + env(safe-area-inset-bottom)) !important;
670
+ left: auto !important;
671
+ top: auto !important;
672
+ }
673
+ body.mode-code .island-box:fullscreen,
674
+ body.mode-code .island-box:-webkit-full-screen,
675
+ body[data-ui-mode="code"] .island-box:fullscreen,
676
+ body[data-ui-mode="code"] .island-box:-webkit-full-screen {
677
+ grid-template-rows: minmax(0, 1fr) minmax(260px, 42vh) !important;
678
+ }
679
+ body.mode-code .island-box:fullscreen #chat-main-stack,
680
+ body.mode-code .island-box:-webkit-full-screen #chat-main-stack,
681
+ body[data-ui-mode="code"] .island-box:fullscreen #chat-main-stack,
682
+ body[data-ui-mode="code"] .island-box:-webkit-full-screen #chat-main-stack {
683
+ grid-column: 1 !important;
684
+ grid-row: 1 !important;
685
+ display: flex !important;
686
+ height: auto !important;
687
+ min-height: 0 !important;
688
+ max-height: none !important;
689
+ }
690
+ body.mode-code .island-box:fullscreen #toolbar-area,
691
+ body.mode-code .island-box:-webkit-full-screen #toolbar-area,
692
+ body[data-ui-mode="code"] .island-box:fullscreen #toolbar-area,
693
+ body[data-ui-mode="code"] .island-box:-webkit-full-screen #toolbar-area {
694
+ grid-column: 2 !important;
695
+ grid-row: 1 / span 2 !important;
696
+ height: 100% !important;
697
+ min-height: 100% !important;
698
+ max-height: 100% !important;
699
+ }
700
+ body.mode-code .island-box:fullscreen #right-panel,
701
+ body.mode-code .island-box:-webkit-full-screen #right-panel,
702
+ body[data-ui-mode="code"] .island-box:fullscreen #right-panel,
703
+ body[data-ui-mode="code"] .island-box:-webkit-full-screen #right-panel {
704
+ grid-column: 1 !important;
705
+ grid-row: 2 !important;
706
+ display: flex !important;
707
+ width: 100% !important;
708
+ min-width: 0 !important;
709
+ max-width: 100% !important;
710
+ height: auto !important;
711
+ min-height: 260px !important;
712
+ max-height: 42vh !important;
713
+ opacity: 1 !important;
714
+ visibility: visible !important;
715
+ overflow: hidden !important;
716
+ border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
717
+ }
718
+ @media (min-width: 901px) {
719
+ .island-box:fullscreen,
720
+ .island-box:-webkit-full-screen {
721
+ grid-template-columns: minmax(0, 1fr) 74px !important;
722
+ }
723
+ .island-box:fullscreen #toolbar-area,
724
+ .island-box:-webkit-full-screen #toolbar-area {
725
+ width: 74px !important;
726
+ min-width: 74px !important;
727
+ max-width: 74px !important;
728
+ padding: 10px 8px calc(10px + env(safe-area-inset-bottom)) 8px !important;
729
+ overflow-y: auto !important;
730
+ overflow-x: visible !important;
731
+ box-sizing: border-box !important;
732
+ scrollbar-gutter: stable both-edges !important;
733
+ }
734
+ .island-box:fullscreen #toolbar-main-controls #icon-scroll-wrapper,
735
+ .island-box:-webkit-full-screen #toolbar-main-controls #icon-scroll-wrapper {
736
+ width: 100% !important;
737
+ overflow: visible !important;
738
+ }
739
+ .island-box:fullscreen #toolbar-main-controls #icon-scroll-container,
740
+ .island-box:-webkit-full-screen #toolbar-main-controls #icon-scroll-container {
741
+ overflow-x: visible !important;
742
+ overflow-y: visible !important;
743
+ }
744
+ }
745
+ #prompt-input::placeholder {
746
+ color: transparent !important;
747
+ opacity: 0 !important;
748
+ }
749
+ #prompt-input::-webkit-input-placeholder {
750
+ color: transparent !important;
751
+ opacity: 0 !important;
752
+ }
753
+ #prompt-input::-moz-placeholder {
754
+ color: transparent !important;
755
+ opacity: 0 !important;
756
+ }
757
+ #prompt-input:-ms-input-placeholder {
758
+ color: transparent !important;
759
+ opacity: 0 !important;
760
+ }
761
+
762
+ /* Mask & Scroll Dot */
763
+ #icon-scroll-wrapper {
764
+ mask-image: linear-gradient(to right, black 0%, black 90%, transparent 100%);
765
+ -webkit-mask-image: linear-gradient(to right, black 0%, black 90%, transparent 100%);
766
+ }
767
+ #scroll-dot {
768
+ background-color: #ffffff;
769
+ box-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 4px rgba(255,255,255,1);
770
+ transition: left 0.1s ease-out;
771
+ }
772
+
773
+ #middle-zone {
774
+ display: flex;
775
+ flex-direction: row;
776
+ justify-content: center;
777
+ gap: 12px;
778
+ width: 100%;
779
+ max-width: min(100%, 1180px);
780
+ margin: 0 auto;
781
+ min-height: 0;
782
+ align-items: stretch;
783
+ flex: 1;
784
+ padding: 24px 12px;
785
+ box-sizing: border-box;
786
+ }
787
+ #custom-scrollbar {
788
+ display: none !important;
789
+ }
790
+ body:not(.started) #left-panel {
791
+ justify-content: flex-start !important;
792
+ }
793
+ body:not(.started) #middle-zone,
794
+ body.started #middle-zone {
795
+ justify-content: stretch !important;
796
+ align-items: stretch !important;
797
+ }
798
+ body:not(.started) #chat-main-stack {
799
+ flex: 1 1 auto !important;
800
+ min-height: 0 !important;
801
+ }
802
+ body:not(.started) #top-zone {
803
+ flex: 1 1 auto !important;
804
+ opacity: 1 !important;
805
+ height: auto !important;
806
+ min-height: 0 !important;
807
+ padding: 0 !important;
808
+ overflow: hidden !important;
809
+ }
810
+ body.started #top-zone {
811
+ padding: 0 !important;
812
+ }
813
+ #chat-main-stack {
814
+ position: relative;
815
+ display: flex;
816
+ flex-direction: column;
817
+ flex: 1 1 auto;
818
+ width: auto;
819
+ min-width: 0;
820
+ max-width: none;
821
+ min-height: 270px;
822
+ height: 270px;
823
+ max-height: 270px;
824
+ padding: 0 0 4px 0;
825
+ box-sizing: border-box;
826
+ }
827
+ #top-zone {
828
+ display: flex;
829
+ flex-direction: column;
830
+ position: relative;
831
+ width: 100%;
832
+ max-width: none;
833
+ margin: 0;
834
+ min-height: 0;
835
+ max-height: 100%;
836
+ flex: 1 1 auto;
837
+ padding-top: 0;
838
+ overflow: hidden;
839
+ }
840
+ #tts-controls {
841
+ width: 100%;
842
+ flex: 0 0 auto;
843
+ order: 1;
844
+ padding: 12px 14px 0 14px;
845
+ box-sizing: border-box;
846
+ }
847
+ #tts-controls:not(.hidden) {
848
+ display: flex;
849
+ flex-direction: column;
850
+ flex: 1 1 auto;
851
+ min-height: 0;
852
+ height: 100%;
853
+ overflow-y: auto;
854
+ }
855
+ .tts-panel {
856
+ display: flex;
857
+ flex-direction: column;
858
+ gap: 8px;
859
+ padding: 10px;
860
+ border-radius: 20px;
861
+ background: rgba(255, 255, 255, 0.04);
862
+ border: 1px solid rgba(255, 255, 255, 0.08);
863
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
864
+ max-height: none;
865
+ min-height: 100%;
866
+ height: 100%;
867
+ flex: 1 1 auto;
868
+ overflow: visible;
869
+ }
870
+ #chat-main-stack.settings-mode {
871
+ min-height: 100% !important;
872
+ height: 100% !important;
873
+ max-height: none !important;
874
+ padding-bottom: 0 !important;
875
+ }
876
+ #chat-main-stack.settings-mode #top-zone {
877
+ flex: 1 1 auto !important;
878
+ height: 100% !important;
879
+ min-height: 0 !important;
880
+ max-height: none !important;
881
+ overflow: hidden !important;
882
+ }
883
+ #chat-main-stack.settings-mode #tts-controls {
884
+ flex: 1 1 auto !important;
885
+ height: 100% !important;
886
+ min-height: 0 !important;
887
+ padding: 10px 12px 12px 12px !important;
888
+ }
889
+ #chat-main-stack.settings-mode .tts-panel {
890
+ flex: 1 1 auto !important;
891
+ height: 100% !important;
892
+ min-height: 100% !important;
893
+ overflow-y: auto !important;
894
+ }
895
+ #chat-main-stack.settings-mode #chat-box,
896
+ #chat-main-stack.settings-mode #chat-input-shell,
897
+ #chat-main-stack.settings-mode #active-app-status,
898
+ #chat-main-stack.settings-mode #comm-img-preview-box {
899
+ display: none !important;
900
+ }
901
+ .tts-panel-head {
902
+ display: flex;
903
+ align-items: center;
904
+ justify-content: space-between;
905
+ gap: 10px;
906
+ }
907
+ .tts-panel-head-main {
908
+ min-width: 0;
909
+ display: flex;
910
+ align-items: center;
911
+ gap: 8px;
912
+ flex: 1 1 auto;
913
+ }
914
+ .tts-panel-badge {
915
+ width: 38px;
916
+ height: 38px;
917
+ border-radius: 14px;
918
+ flex: 0 0 38px;
919
+ display: inline-flex;
920
+ align-items: center;
921
+ justify-content: center;
922
+ background: rgba(255, 255, 255, 0.08);
923
+ border: 1px solid rgba(255, 255, 255, 0.08);
924
+ color: #ffffff;
925
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
926
+ }
927
+ .tts-panel-badge i {
928
+ font-size: 16px;
929
+ }
930
+ .tts-panel-copy {
931
+ min-width: 0;
932
+ display: flex;
933
+ flex-direction: column;
934
+ gap: 2px;
935
+ }
936
+ .tts-panel-kicker {
937
+ display: inline-flex;
938
+ align-items: center;
939
+ gap: 6px;
940
+ font-size: 10px;
941
+ font-weight: 700;
942
+ letter-spacing: 0.18em;
943
+ text-transform: uppercase;
944
+ color: rgba(255, 255, 255, 0.52);
945
+ }
946
+ .tts-panel-kicker i {
947
+ font-size: 12px;
948
+ letter-spacing: normal;
949
+ }
950
+ .tts-panel-title {
951
+ font-size: 12px;
952
+ line-height: 1.2;
953
+ font-weight: 700;
954
+ color: #ffffff;
955
+ letter-spacing: 0.14em;
956
+ text-transform: uppercase;
957
+ }
958
+ #tts-helper-text {
959
+ font-size: 12px;
960
+ line-height: 1.55;
961
+ color: rgba(255, 255, 255, 0.62);
962
+ }
963
+ .tts-download-btn {
964
+ flex-shrink: 0;
965
+ width: 38px;
966
+ height: 38px;
967
+ min-width: 38px;
968
+ min-height: 38px;
969
+ padding: 0;
970
+ border-radius: 14px;
971
+ display: inline-flex;
972
+ align-items: center;
973
+ justify-content: center;
974
+ gap: 0;
975
+ background: #ffffff;
976
+ color: #111111;
977
+ border: none;
978
+ font-size: 12px;
979
+ font-weight: 700;
980
+ transition: transform 0.2s ease, opacity 0.2s ease;
981
+ text-align: center;
982
+ }
983
+ .tts-download-btn:disabled {
984
+ opacity: 0.6;
985
+ cursor: wait;
986
+ }
987
+ .tts-meta-grid {
988
+ display: grid;
989
+ grid-template-columns: repeat(4, minmax(0, 1fr));
990
+ gap: 7px;
991
+ }
992
+ .tts-meta-item {
993
+ padding: 8px 6px;
994
+ border-radius: 18px;
995
+ background: rgba(255, 255, 255, 0.04);
996
+ border: 1px solid rgba(255, 255, 255, 0.06);
997
+ display: flex;
998
+ flex-direction: column;
999
+ align-items: center;
1000
+ justify-content: center;
1001
+ gap: 6px;
1002
+ min-width: 0;
1003
+ min-height: 76px;
1004
+ text-align: center;
1005
+ }
1006
+ .tts-meta-icon {
1007
+ width: 32px;
1008
+ height: 32px;
1009
+ border-radius: 12px;
1010
+ flex: 0 0 32px;
1011
+ display: inline-flex;
1012
+ align-items: center;
1013
+ justify-content: center;
1014
+ background: rgba(255, 255, 255, 0.08);
1015
+ color: rgba(255, 255, 255, 0.92);
1016
+ border: 1px solid rgba(255,255,255,0.06);
1017
+ }
1018
+ .tts-meta-icon i {
1019
+ font-size: 14px;
1020
+ }
1021
+ .tts-meta-copy {
1022
+ min-width: 0;
1023
+ display: flex;
1024
+ flex-direction: column;
1025
+ gap: 3px;
1026
+ align-items: center;
1027
+ }
1028
+ .tts-meta-copy span {
1029
+ font-size: 10px;
1030
+ text-transform: uppercase;
1031
+ letter-spacing: 0.14em;
1032
+ color: rgba(255, 255, 255, 0.38);
1033
+ }
1034
+ .tts-meta-copy strong {
1035
+ font-size: 11px;
1036
+ line-height: 1.15;
1037
+ color: #ffffff;
1038
+ white-space: nowrap;
1039
+ overflow: hidden;
1040
+ text-overflow: ellipsis;
1041
+ max-width: 100%;
1042
+ }
1043
+ .tts-control-group {
1044
+ display: flex;
1045
+ flex-direction: column;
1046
+ gap: 6px;
1047
+ }
1048
+ .assistant-settings-grid {
1049
+ display: flex;
1050
+ flex-direction: column;
1051
+ gap: 8px;
1052
+ }
1053
+ .assistant-settings-field {
1054
+ display: flex;
1055
+ flex-direction: column;
1056
+ gap: 6px;
1057
+ padding: 8px;
1058
+ border-radius: 18px;
1059
+ background: rgba(255,255,255,0.03);
1060
+ border: 1px solid rgba(255,255,255,0.06);
1061
+ }
1062
+ .assistant-settings-label {
1063
+ display: inline-flex;
1064
+ align-items: center;
1065
+ gap: 8px;
1066
+ font-size: 11px;
1067
+ font-weight: 700;
1068
+ color: rgba(255,255,255,0.88);
1069
+ }
1070
+ .assistant-settings-label i {
1071
+ width: 22px;
1072
+ height: 22px;
1073
+ border-radius: 9px;
1074
+ display: inline-flex;
1075
+ align-items: center;
1076
+ justify-content: center;
1077
+ background: rgba(255,255,255,0.08);
1078
+ border: 1px solid rgba(255,255,255,0.08);
1079
+ font-size: 12px;
1080
+ }
1081
+ .assistant-settings-help {
1082
+ font-size: 11px;
1083
+ line-height: 1.45;
1084
+ color: rgba(255,255,255,0.48);
1085
+ }
1086
+ .assistant-settings-textarea {
1087
+ width: 100%;
1088
+ min-height: 72px;
1089
+ border-radius: 16px;
1090
+ border: 1px solid rgba(255,255,255,0.08);
1091
+ background: rgba(255,255,255,0.04);
1092
+ color: #ffffff;
1093
+ padding: 10px 12px;
1094
+ font-size: 12px;
1095
+ line-height: 1.45;
1096
+ resize: vertical;
1097
+ outline: none;
1098
+ box-sizing: border-box;
1099
+ }
1100
+ .assistant-settings-textarea::placeholder {
1101
+ color: rgba(255,255,255,0.28);
1102
+ }
1103
+ .tts-control-heading {
1104
+ display: inline-flex;
1105
+ align-items: center;
1106
+ gap: 8px;
1107
+ font-size: 10px;
1108
+ text-transform: uppercase;
1109
+ letter-spacing: 0.16em;
1110
+ color: rgba(255, 255, 255, 0.38);
1111
+ }
1112
+ .tts-control-heading i {
1113
+ width: 22px;
1114
+ height: 22px;
1115
+ border-radius: 9px;
1116
+ display: inline-flex;
1117
+ align-items: center;
1118
+ justify-content: center;
1119
+ background: rgba(255,255,255,0.08);
1120
+ border: 1px solid rgba(255,255,255,0.08);
1121
+ font-size: 12px;
1122
+ letter-spacing: normal;
1123
+ }
1124
+ .tts-chip-list {
1125
+ display: flex;
1126
+ gap: 6px;
1127
+ overflow-x: auto;
1128
+ overflow-y: hidden;
1129
+ padding-bottom: 2px;
1130
+ }
1131
+ .tts-chip {
1132
+ display: inline-flex;
1133
+ flex-direction: column;
1134
+ align-items: center;
1135
+ justify-content: center;
1136
+ gap: 6px;
1137
+ flex: 0 0 auto;
1138
+ min-width: 64px;
1139
+ width: 64px;
1140
+ min-height: 64px;
1141
+ padding: 8px 6px;
1142
+ border-radius: 18px;
1143
+ background: rgba(255, 255, 255, 0.04);
1144
+ border: 1px solid rgba(255, 255, 255, 0.08);
1145
+ color: rgba(255, 255, 255, 0.82);
1146
+ transition: all 0.2s ease;
1147
+ }
1148
+ .tts-chip.active {
1149
+ background: #ffffff;
1150
+ border-color: #ffffff;
1151
+ color: #111111;
1152
+ }
1153
+ .tts-chip-icon {
1154
+ width: 30px;
1155
+ height: 30px;
1156
+ border-radius: 12px;
1157
+ flex: 0 0 30px;
1158
+ display: inline-flex;
1159
+ align-items: center;
1160
+ justify-content: center;
1161
+ background: rgba(255, 255, 255, 0.08);
1162
+ border: 1px solid rgba(255,255,255,0.06);
1163
+ color: inherit;
1164
+ }
1165
+ .tts-chip.active .tts-chip-icon {
1166
+ background: rgba(17, 17, 17, 0.08);
1167
+ border-color: rgba(17, 17, 17, 0.06);
1168
+ }
1169
+ .tts-chip-icon i {
1170
+ font-size: 14px;
1171
+ }
1172
+ .tts-chip-main {
1173
+ display: flex;
1174
+ flex-direction: column;
1175
+ gap: 1px;
1176
+ align-items: center;
1177
+ justify-content: center;
1178
+ min-width: 0;
1179
+ max-width: 100%;
1180
+ }
1181
+ .tts-chip-main small {
1182
+ font-size: 9px;
1183
+ text-transform: uppercase;
1184
+ letter-spacing: 0.14em;
1185
+ opacity: 0.6;
1186
+ }
1187
+ .tts-chip-main strong {
1188
+ font-size: 10px;
1189
+ font-weight: 700;
1190
+ line-height: 1.15;
1191
+ text-align: center;
1192
+ display: block;
1193
+ max-width: 100%;
1194
+ white-space: nowrap;
1195
+ overflow: hidden;
1196
+ text-overflow: ellipsis;
1197
+ }
1198
+ .tts-slider-grid {
1199
+ display: grid;
1200
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1201
+ gap: 8px;
1202
+ }
1203
+ .tts-slider-item {
1204
+ display: flex;
1205
+ flex-direction: column;
1206
+ gap: 8px;
1207
+ min-width: 0;
1208
+ padding: 8px;
1209
+ border-radius: 18px;
1210
+ background: rgba(255,255,255,0.03);
1211
+ border: 1px solid rgba(255,255,255,0.06);
1212
+ }
1213
+ .tts-slider-item label {
1214
+ display: flex;
1215
+ align-items: center;
1216
+ justify-content: space-between;
1217
+ gap: 8px;
1218
+ font-size: 10px;
1219
+ text-transform: uppercase;
1220
+ letter-spacing: 0.14em;
1221
+ color: rgba(255, 255, 255, 0.38);
1222
+ }
1223
+ .tts-slider-label-main {
1224
+ display: inline-flex;
1225
+ align-items: center;
1226
+ gap: 8px;
1227
+ }
1228
+ .tts-slider-label-main i {
1229
+ width: 22px;
1230
+ height: 22px;
1231
+ border-radius: 9px;
1232
+ display: inline-flex;
1233
+ align-items: center;
1234
+ justify-content: center;
1235
+ background: rgba(255,255,255,0.08);
1236
+ border: 1px solid rgba(255,255,255,0.08);
1237
+ font-size: 12px;
1238
+ letter-spacing: normal;
1239
+ }
1240
+ .tts-slider-item strong {
1241
+ font-size: 11px;
1242
+ color: #ffffff;
1243
+ letter-spacing: normal;
1244
+ text-transform: none;
1245
+ }
1246
+ .tts-slider-item input[type="range"] {
1247
+ width: 100%;
1248
+ accent-color: #ffffff;
1249
+ }
1250
+ #chat-main-stack.settings-mode .tts-panel-kicker,
1251
+ #chat-main-stack.settings-mode #tts-helper-text,
1252
+ #chat-main-stack.settings-mode .assistant-settings-help,
1253
+ #chat-main-stack.settings-mode .assistant-settings-label span,
1254
+ #chat-main-stack.settings-mode .tts-control-heading span,
1255
+ #chat-main-stack.settings-mode .tts-meta-copy span,
1256
+ #chat-main-stack.settings-mode .tts-chip-main small,
1257
+ #chat-main-stack.settings-mode #tts-download-label,
1258
+ #chat-main-stack.settings-mode .tts-slider-label-main span:last-child {
1259
+ display: none !important;
1260
+ }
1261
+ #chat-main-stack.settings-mode .tts-panel-head {
1262
+ margin-bottom: 2px;
1263
+ }
1264
+ #chat-main-stack.settings-mode .tts-panel-copy {
1265
+ justify-content: center;
1266
+ }
1267
+ #chat-main-stack.settings-mode .assistant-settings-label,
1268
+ #chat-main-stack.settings-mode .tts-control-heading {
1269
+ gap: 0;
1270
+ }
1271
+ #chat-main-stack.settings-mode .assistant-settings-label i,
1272
+ #chat-main-stack.settings-mode .tts-control-heading i {
1273
+ width: 28px;
1274
+ height: 28px;
1275
+ border-radius: 12px;
1276
+ }
1277
+ #chat-main-stack.settings-mode .assistant-settings-textarea {
1278
+ min-height: 68px;
1279
+ }
1280
+ #chat-main-stack.settings-mode .tts-panel,
1281
+ #chat-main-stack.settings-mode .assistant-settings-field,
1282
+ #chat-main-stack.settings-mode .assistant-settings-textarea,
1283
+ #chat-main-stack.settings-mode .tts-meta-item,
1284
+ #chat-main-stack.settings-mode .tts-slider-item,
1285
+ #chat-main-stack.settings-mode .tts-chip,
1286
+ #chat-main-stack.settings-mode .tts-panel-badge,
1287
+ #chat-main-stack.settings-mode .tts-meta-icon,
1288
+ #chat-main-stack.settings-mode .tts-chip-icon,
1289
+ #chat-main-stack.settings-mode .assistant-settings-label i,
1290
+ #chat-main-stack.settings-mode .tts-control-heading i,
1291
+ #chat-main-stack.settings-mode .tts-slider-label-main i {
1292
+ background: transparent !important;
1293
+ box-shadow: none !important;
1294
+ }
1295
+ #chat-main-stack.settings-mode .tts-chip.active {
1296
+ background: transparent !important;
1297
+ border-color: rgba(255, 255, 255, 0.24) !important;
1298
+ color: #ffffff !important;
1299
+ }
1300
+ #chat-main-stack.settings-mode .tts-chip.active .tts-chip-icon {
1301
+ background: transparent !important;
1302
+ border-color: rgba(255, 255, 255, 0.24) !important;
1303
+ color: #ffffff !important;
1304
+ }
1305
+ #chat-main-stack.menu-mode {
1306
+ min-height: 100% !important;
1307
+ height: 100% !important;
1308
+ max-height: none !important;
1309
+ padding-bottom: 0 !important;
1310
+ }
1311
+ #chat-main-stack.menu-mode #top-zone {
1312
+ display: none !important;
1313
+ flex: 0 0 auto !important;
1314
+ width: 100% !important;
1315
+ height: 0 !important;
1316
+ min-height: 0 !important;
1317
+ max-height: 0 !important;
1318
+ padding: 0 !important;
1319
+ margin: 0 !important;
1320
+ overflow: hidden !important;
1321
+ opacity: 0 !important;
1322
+ visibility: hidden !important;
1323
+ }
1324
+ #chat-main-stack.menu-mode #chat-box,
1325
+ #chat-main-stack.menu-mode #chat-input-shell,
1326
+ #chat-main-stack.menu-mode #active-app-status,
1327
+ #chat-main-stack.menu-mode #comm-img-preview-box,
1328
+ #chat-main-stack.menu-mode #tts-controls,
1329
+ #chat-main-stack.menu-mode #app-container {
1330
+ display: none !important;
1331
+ }
1332
+ #chat-main-stack.menu-mode #store-panel {
1333
+ display: flex !important;
1334
+ flex: 1 1 auto !important;
1335
+ width: 100% !important;
1336
+ height: 100% !important;
1337
+ min-height: 0 !important;
1338
+ max-height: none !important;
1339
+ opacity: 1 !important;
1340
+ overflow: hidden !important;
1341
+ padding: 12px !important;
1342
+ margin: 0 !important;
1343
+ }
1344
+ #chat-main-stack.menu-mode #store-panel > .flex.flex-col {
1345
+ display: flex !important;
1346
+ flex: 1 1 auto !important;
1347
+ min-height: 0 !important;
1348
+ height: 100% !important;
1349
+ }
1350
+ #chat-main-stack.menu-mode #fixed-apps-list,
1351
+ #chat-main-stack.menu-mode #store-category-filters,
1352
+ #chat-main-stack.menu-mode #store-loader {
1353
+ flex: 0 0 auto;
1354
+ }
1355
+ #chat-main-stack.menu-mode #store-grid {
1356
+ flex: 1 1 auto !important;
1357
+ min-height: 0 !important;
1358
+ overflow-y: auto !important;
1359
+ overflow-x: hidden !important;
1360
+ display: flex !important;
1361
+ flex-wrap: wrap !important;
1362
+ align-content: flex-start !important;
1363
+ gap: 10px !important;
1364
+ padding: 6px 2px 8px 0 !important;
1365
+ scrollbar-width: thin;
1366
+ scrollbar-color: rgba(255,255,255,0.22) transparent;
1367
+ }
1368
+ #chat-main-stack.menu-mode #store-grid::-webkit-scrollbar {
1369
+ width: 6px;
1370
+ }
1371
+ #chat-main-stack.menu-mode #store-grid::-webkit-scrollbar-track {
1372
+ background: transparent;
1373
+ }
1374
+ #chat-main-stack.menu-mode #store-grid::-webkit-scrollbar-thumb {
1375
+ background: rgba(255,255,255,0.22);
1376
+ border-radius: 999px;
1377
+ }
1378
+ #chat-main-stack.menu-mode .store-item {
1379
+ width: 48px !important;
1380
+ height: 48px !important;
1381
+ border-radius: 16px !important;
1382
+ }
1383
+ #active-app-status { order: 2; }
1384
+ #chat-box { order: 2; }
1385
+ #comm-img-preview-box { order: 22; }
1386
+ #store-panel { order: 30; }
1387
+ #app-container { order: 31; }
1388
+ #store-panel,
1389
+ #app-container,
1390
+ #comm-img-preview-box,
1391
+ #active-app-status {
1392
+ width: 100%;
1393
+ margin-right: 0;
1394
+ }
1395
+ #chat-input-shell {
1396
+ width: 100%;
1397
+ margin-right: 0;
1398
+ order: 20;
1399
+ margin-top: auto;
1400
+ padding-bottom: 10px;
1401
+ }
1402
+ #toolbar-area {
1403
+ position: relative;
1404
+ right: auto;
1405
+ top: auto;
1406
+ bottom: auto;
1407
+ display: flex;
1408
+ flex-direction: column;
1409
+ width: 74px;
1410
+ min-width: 74px;
1411
+ height: 270px;
1412
+ min-height: 270px;
1413
+ padding: 10px 6px !important;
1414
+ border-top: none !important;
1415
+ border-left: 1px solid rgba(255, 255, 255, 0.08);
1416
+ background: transparent;
1417
+ z-index: 20;
1418
+ align-self: stretch;
1419
+ box-sizing: border-box;
1420
+ overflow-y: auto !important;
1421
+ overflow-x: hidden !important;
1422
+ scrollbar-width: thin !important;
1423
+ scrollbar-color: rgba(255, 255, 255, 0.22) transparent !important;
1424
+ -ms-overflow-style: auto !important;
1425
+ scrollbar-gutter: stable both-edges;
1426
+ align-items: center;
1427
+ justify-content: flex-start;
1428
+ }
1429
+ #toolbar-area::-webkit-scrollbar {
1430
+ display: block !important;
1431
+ width: 5px !important;
1432
+ }
1433
+ #toolbar-area::-webkit-scrollbar-track {
1434
+ background: transparent !important;
1435
+ }
1436
+ #toolbar-area::-webkit-scrollbar-thumb {
1437
+ background: rgba(255, 255, 255, 0.2) !important;
1438
+ border-radius: 9999px !important;
1439
+ }
1440
+ #toolbar-area::-webkit-scrollbar-thumb:hover {
1441
+ background: rgba(255, 255, 255, 0.32) !important;
1442
+ }
1443
+ #toolbar-main-controls {
1444
+ width: 100%;
1445
+ flex: 0 0 auto;
1446
+ height: auto;
1447
+ min-height: auto;
1448
+ display: flex;
1449
+ flex-direction: column;
1450
+ align-items: center;
1451
+ justify-content: flex-start;
1452
+ gap: 10px;
1453
+ }
1454
+ #toolbar-area > #toolbar-scroll-indicator {
1455
+ width: 100%;
1456
+ margin: 8px 0 0 0 !important;
1457
+ flex: 0 0 auto;
1458
+ display: flex;
1459
+ align-items: center;
1460
+ justify-content: center;
1461
+ box-sizing: border-box;
1462
+ }
1463
+ #toolbar-main-controls .btn-icon {
1464
+ width: 38px;
1465
+ height: 38px;
1466
+ margin-right: 0 !important;
1467
+ flex-shrink: 0;
1468
+ border-radius: 12px !important;
1469
+ clip-path: inset(0 round 12px);
1470
+ }
1471
+ #toolbar-main-controls > #toolbar-scroll-indicator {
1472
+ width: 100%;
1473
+ margin: auto 0 0 0 !important;
1474
+ display: flex;
1475
+ align-items: center;
1476
+ justify-content: center;
1477
+ box-sizing: border-box;
1478
+ }
1479
+ #btn-menu {
1480
+ width: 40px !important;
1481
+ height: 40px !important;
1482
+ min-width: 40px !important;
1483
+ min-height: 40px !important;
1484
+ max-width: 40px !important;
1485
+ max-height: 40px !important;
1486
+ border-radius: 12px !important;
1487
+ margin: 0 auto !important;
1488
+ margin-right: 0 !important;
1489
+ flex-shrink: 0 !important;
1490
+ display: flex !important;
1491
+ align-items: center !important;
1492
+ justify-content: center !important;
1493
+ padding: 0 !important;
1494
+ aspect-ratio: 1 / 1 !important;
1495
+ background: rgba(255, 255, 255, 0.08) !important;
1496
+ clip-path: inset(0 round 12px);
1497
+ }
1498
+ #btn-menu:hover,
1499
+ #btn-menu.active,
1500
+ #btn-menu.menu-open {
1501
+ border-radius: 12px !important;
1502
+ clip-path: inset(0 round 12px);
1503
+ }
1504
+ #btn-menu.menu-open {
1505
+ background: #ececec !important;
1506
+ color: #111111 !important;
1507
+ box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
1508
+ }
1509
+ #btn-menu.menu-open i {
1510
+ color: #111111 !important;
1511
+ }
1512
+ #btn-submit-left {
1513
+ width: 38px !important;
1514
+ height: 38px !important;
1515
+ min-width: 38px !important;
1516
+ min-height: 38px !important;
1517
+ max-width: 38px !important;
1518
+ max-height: 38px !important;
1519
+ border-radius: 12px !important;
1520
+ margin: 0 auto !important;
1521
+ flex-shrink: 0 !important;
1522
+ display: flex !important;
1523
+ align-items: center !important;
1524
+ justify-content: center !important;
1525
+ clip-path: inset(0 round 12px);
1526
+ }
1527
+ #toolbar-main-controls #icon-scroll-wrapper {
1528
+ flex: 0 0 auto;
1529
+ width: 100%;
1530
+ min-height: 0;
1531
+ height: auto;
1532
+ margin: 0 !important;
1533
+ mask-image: none !important;
1534
+ -webkit-mask-image: none !important;
1535
+ overflow: visible !important;
1536
+ display: flex;
1537
+ align-items: flex-start;
1538
+ justify-content: flex-start;
1539
+ box-sizing: border-box;
1540
+ }
1541
+ #toolbar-main-controls #icon-scroll-wrapper::-webkit-scrollbar {
1542
+ display: none !important;
1543
+ }
1544
+ #toolbar-main-controls #icon-scroll-container {
1545
+ width: 100%;
1546
+ min-height: 0;
1547
+ height: auto;
1548
+ overflow: visible !important;
1549
+ display: flex !important;
1550
+ flex-direction: column !important;
1551
+ align-items: center !important;
1552
+ justify-content: flex-start !important;
1553
+ gap: 12px !important;
1554
+ padding: 6px 0 14px !important;
1555
+ margin: 0 auto !important;
1556
+ box-sizing: border-box;
1557
+ }
1558
+ #toolbar-main-controls #icon-scroll-container > button {
1559
+ align-self: center !important;
1560
+ margin-left: auto !important;
1561
+ margin-right: auto !important;
1562
+ }
1563
+ #toolbar-main-controls #btn-submit {
1564
+ width: 42px !important;
1565
+ height: 42px !important;
1566
+ margin-left: 0 !important;
1567
+ margin-top: 6px;
1568
+ flex-shrink: 0;
1569
+ }
1570
+ #music-duration-wrapper,
1571
+ #translation-right-wrapper {
1572
+ right: 12px !important;
1573
+ }
1574
+ #toolbar-scroll-indicator {
1575
+ display: none !important;
1576
+ }
1577
+ #chat-side-ad {
1578
+ width: 324px;
1579
+ min-width: 324px;
1580
+ height: 270px;
1581
+ min-height: 270px;
1582
+ max-height: none;
1583
+ background: #ffffff;
1584
+ color: #e5e7eb;
1585
+ border: none;
1586
+ border-radius: 0;
1587
+ overflow: visible;
1588
+ display: flex;
1589
+ flex-direction: column;
1590
+ align-self: stretch;
1591
+ border-left: 1px solid rgba(255, 255, 255, 0.08);
1592
+ flex: 0 0 324px;
1593
+ justify-content: center;
1594
+ align-items: center;
1595
+ }
1596
+ .island-box {
1597
+ width: 100%;
1598
+ min-width: 0;
1599
+ max-width: 100%;
1600
+ display: grid !important;
1601
+ grid-template-columns: minmax(0, 1fr) 74px 324px 74px;
1602
+ grid-template-rows: 270px minmax(0, auto);
1603
+ align-items: stretch;
1604
+ justify-items: stretch;
1605
+ }
1606
+ #chat-main-stack {
1607
+ grid-column: 1;
1608
+ grid-row: 1;
1609
+ }
1610
+ #toolbar-area {
1611
+ grid-column: 2;
1612
+ grid-row: 1;
1613
+ }
1614
+ #chat-side-ad-body {
1615
+ flex: 1 1 auto;
1616
+ height: 270px;
1617
+ min-height: 270px;
1618
+ display: flex;
1619
+ flex-direction: column;
1620
+ align-items: center;
1621
+ justify-content: center;
1622
+ padding: 9px 11px;
1623
+ box-sizing: border-box;
1624
+ gap: 0;
1625
+ background: #ffffff;
1626
+ overflow: visible;
1627
+ width: 100%;
1628
+ }
1629
+ .chat-ad-frame {
1630
+ width: 300px;
1631
+ height: 250px;
1632
+ min-width: 0;
1633
+ min-height: 250px;
1634
+ max-width: 300px;
1635
+ display: flex;
1636
+ align-items: center;
1637
+ justify-content: center;
1638
+ overflow: visible;
1639
+ margin: 0 auto;
1640
+ position: relative;
1641
+ transform-origin: center center;
1642
+ box-sizing: content-box;
1643
+ padding: 1px;
1644
+ }
1645
+ .chat-ad-frame > iframe,
1646
+ .chat-ad-frame > object,
1647
+ .chat-ad-frame > embed,
1648
+ .chat-ad-frame > img,
1649
+ .chat-ad-frame iframe,
1650
+ .chat-ad-frame object,
1651
+ .chat-ad-frame embed,
1652
+ .chat-ad-frame img {
1653
+ display: block !important;
1654
+ margin: 0 auto !important;
1655
+ }
1656
+ .chat-ad-frame > img,
1657
+ .chat-ad-frame img {
1658
+ object-fit: contain;
1659
+ }
1660
+ #chat-side-ad-body > * {
1661
+ max-width: 100% !important;
1662
+ box-sizing: border-box !important;
1663
+ }
1664
+ @media (max-width: 1180px) {
1665
+ #middle-zone {
1666
+ max-width: 100% !important;
1667
+ padding: 18px 8px !important;
1668
+ }
1669
+ .island-box {
1670
+ width: 100% !important;
1671
+ min-width: 0 !important;
1672
+ max-width: 100% !important;
1673
+ grid-template-columns: minmax(0, 1fr) 74px 324px 74px !important;
1674
+ }
1675
+ #chat-main-stack {
1676
+ width: auto !important;
1677
+ min-width: 0 !important;
1678
+ max-width: none !important;
1679
+ }
1680
+ }
1681
+ @media (max-width: 1180px) and (min-width: 901px) {
1682
+ .island-box {
1683
+ grid-template-columns: minmax(0, 1fr) 74px !important;
1684
+ grid-template-rows: 270px 270px minmax(0, auto) !important;
1685
+ }
1686
+ #chat-main-stack {
1687
+ grid-column: 1 !important;
1688
+ grid-row: 1 !important;
1689
+ }
1690
+ #toolbar-area {
1691
+ grid-column: 2 !important;
1692
+ grid-row: 1 !important;
1693
+ width: 74px !important;
1694
+ min-width: 74px !important;
1695
+ max-width: 74px !important;
1696
+ }
1697
+ #chat-side-ad {
1698
+ grid-column: 1 !important;
1699
+ grid-row: 2 !important;
1700
+ width: auto !important;
1701
+ min-width: 0 !important;
1702
+ max-width: 100% !important;
1703
+ flex: 1 1 auto !important;
1704
+ height: 270px !important;
1705
+ min-height: 270px !important;
1706
+ max-height: 270px !important;
1707
+ justify-self: stretch !important;
1708
+ align-self: stretch !important;
1709
+ }
1710
+ #board-right-rail {
1711
+ grid-column: 2 !important;
1712
+ grid-row: 2 !important;
1713
+ width: 74px !important;
1714
+ min-width: 74px !important;
1715
+ max-width: 74px !important;
1716
+ min-height: 270px !important;
1717
+ max-height: 270px !important;
1718
+ }
1719
+ #right-panel {
1720
+ grid-column: 1 / span 2 !important;
1721
+ grid-row: 3 !important;
1722
+ width: 100% !important;
1723
+ min-width: 0 !important;
1724
+ max-width: 100% !important;
1725
+ }
1726
+ }
1727
+ #board-right-rail {
1728
+ grid-column: 4;
1729
+ grid-row: 1;
1730
+ width: 74px;
1731
+ min-width: 74px;
1732
+ max-width: 74px;
1733
+ min-height: 270px;
1734
+ align-self: stretch;
1735
+ background: #ffffff;
1736
+ border: 1px solid rgba(0, 0, 0, 0.08);
1737
+ box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
1738
+ overflow: hidden;
1739
+ display: flex;
1740
+ flex-direction: column;
1741
+ }
1742
+ #board-right-rail-scroll {
1743
+ width: 100%;
1744
+ height: 100%;
1745
+ overflow-y: auto;
1746
+ overflow-x: hidden;
1747
+ display: flex;
1748
+ flex-direction: column;
1749
+ align-items: center;
1750
+ justify-content: flex-start;
1751
+ gap: 10px;
1752
+ padding: 12px 0;
1753
+ scrollbar-width: thin;
1754
+ scrollbar-color: rgba(0, 0, 0, 0.24) transparent;
1755
+ scrollbar-gutter: stable;
1756
+ box-sizing: border-box;
1757
+ }
1758
+ #board-right-rail-scroll::-webkit-scrollbar {
1759
+ width: 6px;
1760
+ display: block;
1761
+ }
1762
+ #board-right-rail-scroll::-webkit-scrollbar-track {
1763
+ background: transparent;
1764
+ margin: 4px 0;
1765
+ }
1766
+ #board-right-rail-scroll::-webkit-scrollbar-thumb {
1767
+ background: rgba(0, 0, 0, 0.24);
1768
+ border-radius: 999px;
1769
+ }
1770
+ #board-right-rail-scroll::-webkit-scrollbar-thumb:hover {
1771
+ background: rgba(0, 0, 0, 0.38);
1772
+ }
1773
+ .board-rail-btn {
1774
+ width: 40px;
1775
+ height: 40px;
1776
+ border-radius: 14px;
1777
+ color: #5f5f5f;
1778
+ background: transparent;
1779
+ display: flex;
1780
+ align-items: center;
1781
+ justify-content: center;
1782
+ flex-shrink: 0;
1783
+ transition: all 0.2s ease;
1784
+ }
1785
+ .board-rail-btn:hover,
1786
+ .board-rail-btn.active {
1787
+ color: #111111;
1788
+ background: rgba(0, 0, 0, 0.06);
1789
+ }
1790
+ .board-rail-btn img {
1791
+ display: block;
1792
+ object-fit: contain;
1793
+ }
1794
+ #chat-side-ad {
1795
+ grid-column: 3;
1796
+ grid-row: 1;
1797
+ }
1798
+ body.mode-code #left-panel {
1799
+ flex: 1 1 auto !important;
1800
+ width: 100% !important;
1801
+ max-width: 100% !important;
1802
+ height: auto !important;
1803
+ min-height: 0 !important;
1804
+ }
1805
+ body.mode-code #middle-zone,
1806
+ body.mode-code .island-box {
1807
+ height: auto !important;
1808
+ min-height: 0 !important;
1809
+ max-height: none !important;
1810
+ }
1811
+ body.mode-code .island-box {
1812
+ overflow: hidden !important;
1813
+ }
1814
+ @media (min-width: 901px) {
1815
+ body.mode-code #main-layout,
1816
+ body.mode-code #left-panel,
1817
+ body.mode-code #middle-zone {
1818
+ height: auto !important;
1819
+ min-height: 0 !important;
1820
+ max-height: none !important;
1821
+ overflow: visible !important;
1822
+ }
1823
+ body.mode-code .island-box {
1824
+ grid-template-rows: 270px minmax(320px, auto) !important;
1825
+ min-height: 590px !important;
1826
+ height: auto !important;
1827
+ max-height: none !important;
1828
+ overflow: visible !important;
1829
+ }
1830
+ body.mode-code #chat-main-stack {
1831
+ grid-column: 1 !important;
1832
+ grid-row: 1 !important;
1833
+ display: flex !important;
1834
+ min-height: 270px !important;
1835
+ height: 270px !important;
1836
+ max-height: 270px !important;
1837
+ }
1838
+ body.mode-code #toolbar-area {
1839
+ grid-column: 2 !important;
1840
+ grid-row: 1 !important;
1841
+ min-height: 270px !important;
1842
+ height: 270px !important;
1843
+ max-height: 270px !important;
1844
+ }
1845
+ body.mode-code #chat-side-ad {
1846
+ grid-column: 3 !important;
1847
+ grid-row: 1 !important;
1848
+ }
1849
+ body.mode-code #board-right-rail {
1850
+ grid-column: 4 !important;
1851
+ grid-row: 1 !important;
1852
+ }
1853
+ body.mode-code #top-zone {
1854
+ display: flex !important;
1855
+ flex-direction: column !important;
1856
+ flex: 1 1 auto !important;
1857
+ min-height: 0 !important;
1858
+ max-height: none !important;
1859
+ visibility: visible !important;
1860
+ opacity: 1 !important;
1861
+ overflow-y: auto !important;
1862
+ overflow-x: hidden !important;
1863
+ }
1864
+ body.mode-code #chat-box {
1865
+ display: flex !important;
1866
+ flex: 1 1 auto !important;
1867
+ min-height: 0 !important;
1868
+ max-height: 100% !important;
1869
+ visibility: visible !important;
1870
+ opacity: 1 !important;
1871
+ }
1872
+ body.mode-code #chat-input-shell {
1873
+ display: flex !important;
1874
+ visibility: visible !important;
1875
+ opacity: 1 !important;
1876
+ }
1877
+ }
1878
+ @media (min-width: 1181px) {
1879
+ body.mode-code .island-box {
1880
+ grid-template-columns: minmax(0, 1fr) 74px 324px 74px !important;
1881
+ grid-template-rows: 270px minmax(320px, auto) !important;
1882
+ min-height: 590px !important;
1883
+ height: auto !important;
1884
+ max-height: none !important;
1885
+ overflow: visible !important;
1886
+ }
1887
+ body.mode-code #chat-main-stack {
1888
+ grid-column: 1 !important;
1889
+ grid-row: 1 !important;
1890
+ display: flex !important;
1891
+ min-height: 270px !important;
1892
+ height: 270px !important;
1893
+ max-height: 270px !important;
1894
+ }
1895
+ body.mode-code #toolbar-area {
1896
+ grid-column: 2 !important;
1897
+ grid-row: 1 !important;
1898
+ min-height: 270px !important;
1899
+ height: 270px !important;
1900
+ max-height: 270px !important;
1901
+ }
1902
+ body.mode-code #chat-side-ad {
1903
+ grid-column: 3 !important;
1904
+ grid-row: 1 !important;
1905
+ }
1906
+ body.mode-code #board-right-rail {
1907
+ grid-column: 4 !important;
1908
+ grid-row: 1 !important;
1909
+ }
1910
+ body.mode-code #right-panel {
1911
+ grid-column: 1 / span 4 !important;
1912
+ grid-row: 2 !important;
1913
+ width: 100% !important;
1914
+ min-width: 0 !important;
1915
+ max-width: 100% !important;
1916
+ display: flex !important;
1917
+ opacity: 1 !important;
1918
+ min-height: 320px !important;
1919
+ max-height: 520px !important;
1920
+ overflow: hidden !important;
1921
+ }
1922
+ }
1923
+ @media (max-width: 1180px) and (min-width: 901px) {
1924
+ body.mode-code .island-box {
1925
+ grid-template-columns: minmax(0, 1fr) 74px !important;
1926
+ grid-template-rows: 270px 270px minmax(320px, auto) !important;
1927
+ min-height: 860px !important;
1928
+ height: auto !important;
1929
+ max-height: none !important;
1930
+ overflow: visible !important;
1931
+ }
1932
+ body.mode-code #chat-main-stack {
1933
+ grid-column: 1 !important;
1934
+ grid-row: 1 !important;
1935
+ display: flex !important;
1936
+ min-height: 270px !important;
1937
+ height: 270px !important;
1938
+ max-height: 270px !important;
1939
+ }
1940
+ body.mode-code #toolbar-area {
1941
+ grid-column: 2 !important;
1942
+ grid-row: 1 !important;
1943
+ width: 74px !important;
1944
+ min-width: 74px !important;
1945
+ max-width: 74px !important;
1946
+ min-height: 270px !important;
1947
+ height: 270px !important;
1948
+ max-height: 270px !important;
1949
+ }
1950
+ body.mode-code #chat-side-ad {
1951
+ grid-column: 1 !important;
1952
+ grid-row: 2 !important;
1953
+ width: auto !important;
1954
+ min-width: 0 !important;
1955
+ max-width: 100% !important;
1956
+ flex: 1 1 auto !important;
1957
+ height: 270px !important;
1958
+ min-height: 270px !important;
1959
+ max-height: 270px !important;
1960
+ justify-self: stretch !important;
1961
+ align-self: stretch !important;
1962
+ display: flex !important;
1963
+ }
1964
+ body.mode-code #board-right-rail {
1965
+ grid-column: 2 !important;
1966
+ grid-row: 2 !important;
1967
+ width: 74px !important;
1968
+ min-width: 74px !important;
1969
+ max-width: 74px !important;
1970
+ min-height: 270px !important;
1971
+ max-height: 270px !important;
1972
+ display: flex !important;
1973
+ }
1974
+ body.mode-code #right-panel {
1975
+ grid-column: 1 / span 2 !important;
1976
+ grid-row: 3 !important;
1977
+ width: 100% !important;
1978
+ min-width: 0 !important;
1979
+ max-width: 100% !important;
1980
+ display: flex !important;
1981
+ opacity: 1 !important;
1982
+ min-height: 320px !important;
1983
+ max-height: 520px !important;
1984
+ overflow: hidden !important;
1985
+ }
1986
+ }
1987
+ #right-panel {
1988
+ grid-column: 1 / span 3;
1989
+ grid-row: 2;
1990
+ position: relative !important;
1991
+ top: auto !important;
1992
+ left: auto !important;
1993
+ right: auto !important;
1994
+ bottom: auto !important;
1995
+ width: 100%;
1996
+ min-width: 0;
1997
+ max-width: 100%;
1998
+ height: auto !important;
1999
+ flex-direction: column;
2000
+ border-left: none !important;
2001
+ border-top: 1px solid rgba(255, 255, 255, 0.06);
2002
+ background: #080808 !important;
2003
+ padding: 0 !important;
2004
+ margin: 0 !important;
2005
+ transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
2006
+ }
2007
+ #desktop-code-panel-host {
2008
+ display: none;
2009
+ width: 100%;
2010
+ min-width: 0;
2011
+ }
2012
+ .code-panel-head {
2013
+ display: flex;
2014
+ align-items: center;
2015
+ justify-content: space-between;
2016
+ gap: 12px;
2017
+ padding: 12px 14px 10px 14px;
2018
+ background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
2019
+ border-bottom: 1px solid rgba(255,255,255,0.05);
2020
+ }
2021
+ .code-panel-head-left {
2022
+ display: flex;
2023
+ align-items: center;
2024
+ gap: 10px;
2025
+ min-width: 0;
2026
+ flex: 1 1 auto;
2027
+ }
2028
+ .code-panel-brand {
2029
+ display: inline-flex;
2030
+ align-items: center;
2031
+ gap: 10px;
2032
+ }
2033
+ .code-panel-brand-icon {
2034
+ width: 34px;
2035
+ height: 34px;
2036
+ border-radius: 14px;
2037
+ display: inline-flex;
2038
+ align-items: center;
2039
+ justify-content: center;
2040
+ background: rgba(255,255,255,0.06);
2041
+ border: 1px solid rgba(255,255,255,0.08);
2042
+ color: rgba(255,255,255,0.92);
2043
+ box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
2044
+ }
2045
+ .code-panel-head-actions {
2046
+ display: inline-flex;
2047
+ align-items: center;
2048
+ gap: 8px;
2049
+ }
2050
+ .code-head-btn {
2051
+ width: 34px;
2052
+ height: 34px;
2053
+ border-radius: 14px;
2054
+ display: inline-flex;
2055
+ align-items: center;
2056
+ justify-content: center;
2057
+ color: rgba(255,255,255,0.52);
2058
+ background: rgba(255,255,255,0.04);
2059
+ border: 1px solid rgba(255,255,255,0.05);
2060
+ transition: all 0.2s ease;
2061
+ }
2062
+ .code-head-btn:hover {
2063
+ color: rgba(255,255,255,0.92);
2064
+ background: rgba(255,255,255,0.08);
2065
+ }
2066
+ #code-tabs {
2067
+ min-height: 0;
2068
+ padding: 0;
2069
+ gap: 8px;
2070
+ background: transparent !important;
2071
+ border-bottom: none !important;
2072
+ box-sizing: border-box;
2073
+ display: inline-flex;
2074
+ align-items: center;
2075
+ justify-content: flex-start;
2076
+ min-width: 0;
2077
+ flex: 1 1 auto;
2078
+ overflow-x: auto;
2079
+ overflow-y: hidden;
2080
+ }
2081
+ .code-tab-btn {
2082
+ width: 48px;
2083
+ min-width: 48px;
2084
+ height: 38px;
2085
+ padding: 0;
2086
+ border-radius: 14px;
2087
+ display: inline-flex;
2088
+ flex-direction: column;
2089
+ align-items: center;
2090
+ justify-content: center;
2091
+ gap: 3px;
2092
+ color: rgba(255,255,255,0.46);
2093
+ background: rgba(255,255,255,0.03);
2094
+ border: 1px solid rgba(255,255,255,0.05);
2095
+ transition: all 0.2s ease;
2096
+ }
2097
+ .code-tab-btn.active {
2098
+ color: #111111;
2099
+ background: #f2f2f2;
2100
+ border-color: #f2f2f2;
2101
+ box-shadow: 0 10px 24px rgba(0,0,0,0.18);
2102
+ }
2103
+ .code-tab-btn:hover:not(.active) {
2104
+ color: rgba(255,255,255,0.9);
2105
+ background: rgba(255,255,255,0.08);
2106
+ }
2107
+ .code-tab-icon {
2108
+ width: 20px;
2109
+ height: 20px;
2110
+ border-radius: 8px;
2111
+ display: inline-flex;
2112
+ align-items: center;
2113
+ justify-content: center;
2114
+ background: rgba(255,255,255,0.06);
2115
+ border: 1px solid rgba(255,255,255,0.05);
2116
+ font-size: 11px;
2117
+ color: inherit;
2118
+ }
2119
+ .code-tab-btn.active .code-tab-icon {
2120
+ background: rgba(17,17,17,0.08);
2121
+ border-color: rgba(17,17,17,0.06);
2122
+ }
2123
+ .code-tab-label {
2124
+ font-size: 8px;
2125
+ line-height: 1;
2126
+ letter-spacing: 0.12em;
2127
+ text-transform: uppercase;
2128
+ font-weight: 700;
2129
+ max-width: 38px;
2130
+ white-space: nowrap;
2131
+ overflow: hidden;
2132
+ text-overflow: ellipsis;
2133
+ }
2134
+ .code-panel-empty {
2135
+ width: auto;
2136
+ min-height: 34px;
2137
+ display: flex;
2138
+ align-items: center;
2139
+ justify-content: flex-start;
2140
+ gap: 8px;
2141
+ color: rgba(255,255,255,0.24);
2142
+ }
2143
+ .code-panel-empty-icon {
2144
+ width: 30px;
2145
+ height: 30px;
2146
+ border-radius: 12px;
2147
+ display: inline-flex;
2148
+ align-items: center;
2149
+ justify-content: center;
2150
+ background: rgba(255,255,255,0.04);
2151
+ border: 1px solid rgba(255,255,255,0.04);
2152
+ }
2153
+ .code-panel-empty-dots {
2154
+ display: inline-flex;
2155
+ align-items: center;
2156
+ gap: 5px;
2157
+ }
2158
+ .code-panel-empty-dots span {
2159
+ width: 6px;
2160
+ height: 6px;
2161
+ border-radius: 999px;
2162
+ background: rgba(255,255,255,0.16);
2163
+ }
2164
+ #code-editor {
2165
+ background:
2166
+ radial-gradient(circle at top right, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 22%, transparent 44%),
2167
+ linear-gradient(180deg, #0d0d0f 0%, #09090a 100%);
2168
+ padding: 18px 18px 20px 18px !important;
2169
+ font-size: 13px;
2170
+ line-height: 1.65;
2171
+ color: rgba(255,255,255,0.86) !important;
2172
+ }
2173
+ #code-editor::placeholder {
2174
+ color: rgba(255,255,255,0.16);
2175
+ }
2176
+ body.mode-code #right-panel,
2177
+ body[data-ui-mode="code"] #right-panel,
2178
+ #right-panel.mobile-active {
2179
+ display: flex !important;
2180
+ width: 100% !important;
2181
+ min-width: 0 !important;
2182
+ max-width: 100% !important;
2183
+ min-height: 320px !important;
2184
+ max-height: 420px !important;
2185
+ opacity: 1 !important;
2186
+ visibility: visible !important;
2187
+ overflow: hidden !important;
2188
+ transition: none !important;
2189
+ }
2190
+ body:not(.mode-code):not([data-ui-mode="code"]) #right-panel:not(.mobile-active) {
2191
+ min-height: 0;
2192
+ max-height: 0;
2193
+ opacity: 0;
2194
+ overflow: hidden;
2195
+ display: none !important;
2196
+ }
2197
+ @media (min-width: 901px) {
2198
+ body.desktop-code-open {
2199
+ height: auto !important;
2200
+ min-height: 100vh !important;
2201
+ overflow-y: auto !important;
2202
+ overflow-x: hidden !important;
2203
+ }
2204
+ body.desktop-code-open #main-layout,
2205
+ body.desktop-code-open #left-panel,
2206
+ body.desktop-code-open #middle-zone,
2207
+ body.desktop-code-panel-mounted #main-layout,
2208
+ body.desktop-code-panel-mounted #left-panel,
2209
+ body.desktop-code-panel-mounted #middle-zone {
2210
+ height: auto !important;
2211
+ min-height: 0 !important;
2212
+ max-height: none !important;
2213
+ overflow: visible !important;
2214
+ }
2215
+ body.desktop-code-panel-mounted #middle-zone {
2216
+ display: flex !important;
2217
+ flex-direction: column !important;
2218
+ width: 100% !important;
2219
+ flex: 0 0 auto !important;
2220
+ min-height: 602px !important;
2221
+ align-items: stretch !important;
2222
+ gap: 0 !important;
2223
+ }
2224
+ body.desktop-code-panel-mounted #left-panel {
2225
+ display: flex !important;
2226
+ flex-direction: column !important;
2227
+ align-items: stretch !important;
2228
+ }
2229
+ body.desktop-code-panel-mounted .island-box {
2230
+ display: grid !important;
2231
+ width: 100% !important;
2232
+ flex: 0 0 auto !important;
2233
+ grid-template-rows: 270px !important;
2234
+ min-height: 270px !important;
2235
+ height: 270px !important;
2236
+ max-height: 270px !important;
2237
+ overflow: hidden !important;
2238
+ margin-bottom: 0 !important;
2239
+ }
2240
+ body.desktop-code-panel-mounted #desktop-code-panel-host {
2241
+ display: block !important;
2242
+ width: 100% !important;
2243
+ min-width: 0 !important;
2244
+ min-height: 320px !important;
2245
+ margin-top: 0 !important;
2246
+ visibility: visible !important;
2247
+ opacity: 1 !important;
2248
+ }
2249
+ body.desktop-code-panel-mounted #right-panel {
2250
+ grid-column: auto !important;
2251
+ grid-row: auto !important;
2252
+ width: 100% !important;
2253
+ min-width: 0 !important;
2254
+ max-width: 100% !important;
2255
+ display: flex !important;
2256
+ opacity: 1 !important;
2257
+ visibility: visible !important;
2258
+ border-radius: 0 0 28px 28px !important;
2259
+ border-top: 1px solid rgba(255,255,255,0.05) !important;
2260
+ box-shadow: 0 24px 50px rgba(0,0,0,0.32) !important;
2261
+ }
2262
+ body.desktop-code-open #top-zone,
2263
+ body.desktop-code-open #chat-box,
2264
+ body.desktop-code-open #chat-input-shell,
2265
+ body.desktop-code-open #chat-main-stack {
2266
+ visibility: visible !important;
2267
+ opacity: 1 !important;
2268
+ display: flex !important;
2269
+ }
2270
+ }
2271
+ @media (max-width: 1280px) {
2272
+ #chat-side-ad {
2273
+ display: flex !important;
2274
+ width: 324px;
2275
+ min-width: 324px;
2276
+ flex-basis: 324px;
2277
+ }
2278
+ }
2279
+ @media (max-width: 900px) {
2280
+ #main-layout {
2281
+ width: 100%;
2282
+ max-width: 100%;
2283
+ margin-left: 0;
2284
+ padding-left: 0 !important;
2285
+ flex: 0 0 auto !important;
2286
+ height: auto !important;
2287
+ min-height: 250px !important;
2288
+ box-sizing: border-box;
2289
+ overflow-x: visible !important;
2290
+ overflow-y: visible !important;
2291
+ display: flex !important;
2292
+ }
2293
+ #board-right-rail {
2294
+ display: flex !important;
2295
+ grid-column: 2 !important;
2296
+ grid-row: 3 !important;
2297
+ order: 5;
2298
+ width: 58px !important;
2299
+ min-width: 58px !important;
2300
+ max-width: 58px !important;
2301
+ height: 250px !important;
2302
+ min-height: 250px !important;
2303
+ max-height: 250px !important;
2304
+ border-radius: 0 !important;
2305
+ border: none !important;
2306
+ border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
2307
+ background: #ffffff !important;
2308
+ box-shadow: none !important;
2309
+ overflow: hidden !important;
2310
+ }
2311
+ #board-right-rail-scroll {
2312
+ height: 100% !important;
2313
+ padding: 10px 0 !important;
2314
+ gap: 8px !important;
2315
+ align-items: center !important;
2316
+ justify-content: flex-start !important;
2317
+ }
2318
+ .board-rail-btn {
2319
+ width: 36px;
2320
+ height: 36px;
2321
+ border-radius: 12px;
2322
+ }
2323
+ #left-panel {
2324
+ height: auto !important;
2325
+ min-height: 250px !important;
2326
+ display: flex !important;
2327
+ }
2328
+ .island-box {
2329
+ border-radius: 0 !important;
2330
+ padding: 0 !important;
2331
+ margin: 0 !important;
2332
+ margin-bottom: 0 !important;
2333
+ display: grid !important;
2334
+ grid-template-columns: minmax(0, calc(100% - 58px)) 58px !important;
2335
+ grid-template-rows: 250px auto auto !important;
2336
+ align-content: stretch !important;
2337
+ align-items: stretch !important;
2338
+ justify-items: stretch !important;
2339
+ height: auto !important;
2340
+ max-height: none !important;
2341
+ }
2342
+ body:not(.started) #chat-main-stack,
2343
+ body.started #chat-main-stack {
2344
+ grid-column: 1 !important;
2345
+ grid-row: 1 !important;
2346
+ flex: 1 1 auto !important;
2347
+ width: 100% !important;
2348
+ max-width: 100% !important;
2349
+ min-width: 0 !important;
2350
+ min-height: 250px !important;
2351
+ height: 250px !important;
2352
+ max-height: 250px !important;
2353
+ padding-right: 0 !important;
2354
+ box-sizing: border-box !important;
2355
+ }
2356
+ #chat-main-stack {
2357
+ grid-column: 1 !important;
2358
+ grid-row: 1 !important;
2359
+ order: 1;
2360
+ flex: 1 1 auto !important;
2361
+ width: 100% !important;
2362
+ max-width: 100% !important;
2363
+ min-width: 0;
2364
+ min-height: 250px !important;
2365
+ height: 250px !important;
2366
+ max-height: 250px !important;
2367
+ padding-right: 0 !important;
2368
+ box-sizing: border-box !important;
2369
+ }
2370
+ #top-zone {
2371
+ flex: 1 1 auto !important;
2372
+ min-height: 0 !important;
2373
+ max-height: 100% !important;
2374
+ }
2375
+ #chat-box {
2376
+ min-height: 0 !important;
2377
+ max-height: 100% !important;
2378
+ padding: 14px 14px 8px 14px;
2379
+ }
2380
+ #tts-controls {
2381
+ padding: 10px 12px 0 12px;
2382
+ }
2383
+ .tts-panel {
2384
+ max-height: none;
2385
+ padding: 11px;
2386
+ }
2387
+ .tts-panel-head {
2388
+ flex-direction: column;
2389
+ align-items: stretch;
2390
+ }
2391
+ .tts-download-btn {
2392
+ width: 100%;
2393
+ }
2394
+ .tts-meta-grid,
2395
+ .tts-slider-grid {
2396
+ grid-template-columns: repeat(2, minmax(0, 1fr));
2397
+ }
2398
+ #chat-input-shell {
2399
+ position: relative !important;
2400
+ padding: 10px 14px 42px 14px !important;
2401
+ padding-right: 0 !important;
2402
+ min-height: 82px !important;
2403
+ }
2404
+ #chat-input-field {
2405
+ width: 100% !important;
2406
+ padding: 0 !important;
2407
+ }
2408
+ #chat-input-actions {
2409
+ position: absolute !important;
2410
+ left: auto !important;
2411
+ right: 14px !important;
2412
+ bottom: 10px !important;
2413
+ width: auto !important;
2414
+ justify-content: flex-end !important;
2415
+ gap: 8px !important;
2416
+ z-index: 40 !important;
2417
+ }
2418
+ #recent-mode-actions {
2419
+ flex-wrap: nowrap !important;
2420
+ max-width: 132px !important;
2421
+ overflow-x: auto !important;
2422
+ overflow-y: hidden !important;
2423
+ }
2424
+ #chat-input-profile {
2425
+ left: 14px !important;
2426
+ bottom: 12px !important;
2427
+ width: 40px !important;
2428
+ height: 40px !important;
2429
+ }
2430
+ #prompt-input {
2431
+ min-height: 34px !important;
2432
+ max-height: 64px !important;
2433
+ padding: 6px 0 0 56px !important;
2434
+ }
2435
+ #middle-zone {
2436
+ padding: 0 !important;
2437
+ gap: 0 !important;
2438
+ max-width: 100% !important;
2439
+ }
2440
+ #toolbar-area {
2441
+ grid-column: 2 !important;
2442
+ grid-row: 1 !important;
2443
+ order: 2;
2444
+ display: flex !important;
2445
+ flex-direction: column !important;
2446
+ position: relative !important;
2447
+ right: auto !important;
2448
+ top: auto !important;
2449
+ left: auto !important;
2450
+ bottom: auto !important;
2451
+ flex: 0 0 58px !important;
2452
+ width: 58px !important;
2453
+ min-width: 58px !important;
2454
+ max-width: 58px !important;
2455
+ flex-shrink: 0 !important;
2456
+ height: 250px;
2457
+ min-height: 250px;
2458
+ max-height: 250px;
2459
+ border-top: none !important;
2460
+ border-left: 1px solid rgba(255, 255, 255, 0.08);
2461
+ padding: 10px 6px !important;
2462
+ box-sizing: border-box;
2463
+ z-index: 260 !important;
2464
+ align-self: stretch !important;
2465
+ justify-self: stretch !important;
2466
+ background: transparent !important;
2467
+ overflow-y: auto !important;
2468
+ overflow-x: hidden !important;
2469
+ scrollbar-width: thin !important;
2470
+ scrollbar-color: rgba(255, 255, 255, 0.22) transparent !important;
2471
+ scrollbar-gutter: stable both-edges;
2472
+ align-items: center !important;
2473
+ justify-content: flex-start !important;
2474
+ }
2475
+ #toolbar-area::-webkit-scrollbar {
2476
+ display: block !important;
2477
+ width: 5px !important;
2478
+ }
2479
+ #toolbar-area::-webkit-scrollbar-track {
2480
+ background: transparent !important;
2481
+ }
2482
+ #toolbar-area::-webkit-scrollbar-thumb {
2483
+ background: rgba(255, 255, 255, 0.2) !important;
2484
+ border-radius: 9999px !important;
2485
+ }
2486
+ #toolbar-main-controls {
2487
+ display: flex !important;
2488
+ width: 100% !important;
2489
+ flex: 0 0 auto !important;
2490
+ height: auto !important;
2491
+ min-height: auto !important;
2492
+ flex-direction: column !important;
2493
+ align-items: center;
2494
+ justify-content: flex-start;
2495
+ gap: 10px;
2496
+ }
2497
+ #toolbar-area > #toolbar-scroll-indicator {
2498
+ width: 100% !important;
2499
+ margin: 8px 0 0 0 !important;
2500
+ flex: 0 0 auto !important;
2501
+ display: flex !important;
2502
+ align-items: center !important;
2503
+ justify-content: center !important;
2504
+ box-sizing: border-box !important;
2505
+ }
2506
+ #toolbar-main-controls .btn-icon {
2507
+ width: 36px;
2508
+ height: 36px;
2509
+ border-radius: 12px !important;
2510
+ clip-path: inset(0 round 12px);
2511
+ }
2512
+ #toolbar-main-controls > #toolbar-scroll-indicator {
2513
+ width: 100%;
2514
+ margin: auto 0 0 0 !important;
2515
+ display: flex;
2516
+ align-items: center;
2517
+ justify-content: center;
2518
+ box-sizing: border-box;
2519
+ }
2520
+ #btn-menu {
2521
+ width: 38px !important;
2522
+ height: 38px !important;
2523
+ min-width: 38px !important;
2524
+ min-height: 38px !important;
2525
+ max-width: 38px !important;
2526
+ max-height: 38px !important;
2527
+ border-radius: 12px !important;
2528
+ margin: 0 auto !important;
2529
+ margin-right: 0 !important;
2530
+ padding: 0 !important;
2531
+ aspect-ratio: 1 / 1 !important;
2532
+ background: rgba(255, 255, 255, 0.08) !important;
2533
+ clip-path: inset(0 round 12px);
2534
+ }
2535
+ #btn-menu:hover,
2536
+ #btn-menu.active,
2537
+ #btn-menu.menu-open {
2538
+ border-radius: 12px !important;
2539
+ clip-path: inset(0 round 12px);
2540
+ }
2541
+ #btn-menu.menu-open {
2542
+ background: #ececec !important;
2543
+ color: #111111 !important;
2544
+ box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
2545
+ }
2546
+ #btn-menu.menu-open i {
2547
+ color: #111111 !important;
2548
+ }
2549
+ #btn-submit-left {
2550
+ width: 36px !important;
2551
+ height: 36px !important;
2552
+ min-width: 36px !important;
2553
+ min-height: 36px !important;
2554
+ max-width: 36px !important;
2555
+ max-height: 36px !important;
2556
+ border-radius: 12px !important;
2557
+ margin: 0 auto !important;
2558
+ clip-path: inset(0 round 12px);
2559
+ }
2560
+ #toolbar-main-controls #icon-scroll-wrapper {
2561
+ flex: 0 0 auto;
2562
+ width: 100%;
2563
+ min-height: 0;
2564
+ height: auto;
2565
+ overflow: visible !important;
2566
+ display: flex;
2567
+ align-items: flex-start;
2568
+ justify-content: flex-start;
2569
+ mask-image: none !important;
2570
+ -webkit-mask-image: none !important;
2571
+ }
2572
+ #toolbar-main-controls #icon-scroll-wrapper::-webkit-scrollbar {
2573
+ display: none !important;
2574
+ }
2575
+ #toolbar-main-controls #icon-scroll-container {
2576
+ width: 100% !important;
2577
+ min-height: 0 !important;
2578
+ height: auto !important;
2579
+ overflow: visible !important;
2580
+ display: flex !important;
2581
+ flex-direction: column !important;
2582
+ align-items: center !important;
2583
+ justify-content: flex-start !important;
2584
+ gap: 12px !important;
2585
+ padding: 6px 0 14px !important;
2586
+ margin: 0 auto !important;
2587
+ box-sizing: border-box !important;
2588
+ }
2589
+ #toolbar-main-controls #icon-scroll-container > button {
2590
+ align-self: center !important;
2591
+ margin-left: auto !important;
2592
+ margin-right: auto !important;
2593
+ }
2594
+ #toolbar-scroll-indicator {
2595
+ display: none !important;
2596
+ }
2597
+ #chat-side-ad {
2598
+ grid-column: 1 !important;
2599
+ grid-row: 3 !important;
2600
+ order: 4;
2601
+ width: auto !important;
2602
+ min-width: 0 !important;
2603
+ max-width: 100% !important;
2604
+ flex-basis: auto;
2605
+ flex: 1 1 auto;
2606
+ height: 250px !important;
2607
+ min-height: 250px !important;
2608
+ max-height: 250px !important;
2609
+ border-left: none;
2610
+ border-top: 1px solid rgba(15, 23, 42, 0.08);
2611
+ background: #ffffff !important;
2612
+ overflow: hidden !important;
2613
+ display: flex !important;
2614
+ align-items: center !important;
2615
+ justify-content: center !important;
2616
+ justify-self: stretch !important;
2617
+ align-self: stretch !important;
2618
+ }
2619
+ #chat-side-ad-body {
2620
+ height: 250px !important;
2621
+ min-height: 250px !important;
2622
+ max-height: 250px !important;
2623
+ padding: 8px 6px !important;
2624
+ align-items: center;
2625
+ justify-content: center;
2626
+ background: #ffffff !important;
2627
+ overflow: hidden !important;
2628
+ width: 100%;
2629
+ min-width: 0 !important;
2630
+ box-sizing: border-box;
2631
+ }
2632
+ .chat-ad-frame {
2633
+ width: 300px !important;
2634
+ height: 250px !important;
2635
+ aspect-ratio: auto !important;
2636
+ min-width: 0 !important;
2637
+ max-width: 300px !important;
2638
+ margin: 0 auto !important;
2639
+ transform-origin: top center !important;
2640
+ overflow: visible !important;
2641
+ }
2642
+ #right-panel {
2643
+ grid-column: 1 / span 2 !important;
2644
+ grid-row: 2 !important;
2645
+ order: 3;
2646
+ width: 100% !important;
2647
+ min-width: 0 !important;
2648
+ max-width: 100% !important;
2649
+ border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
2650
+ border-left: none !important;
2651
+ border-radius: 0 !important;
2652
+ min-height: 0;
2653
+ }
2654
+ body.mode-code #right-panel,
2655
+ #right-panel.mobile-active {
2656
+ max-height: 360px !important;
2657
+ min-height: 240px !important;
2658
+ }
2659
+ }
2660
+ @media (max-width: 380px) {
2661
+ /* Keep right sidebar identical even on very small screens */
2662
+ #main-layout {
2663
+ padding-left: 0 !important;
2664
+ }
2665
+ body:not(.started) #chat-main-stack,
2666
+ body.started #chat-main-stack,
2667
+ #chat-main-stack {
2668
+ width: 100% !important;
2669
+ max-width: 100% !important;
2670
+ }
2671
+ #toolbar-area {
2672
+ flex: 0 0 58px !important;
2673
+ width: 58px !important;
2674
+ min-width: 58px !important;
2675
+ max-width: 58px !important;
2676
+ }
2677
+ #chat-input-field {
2678
+ padding-right: 0 !important;
2679
+ }
2680
+ #chat-input-actions {
2681
+ right: 12px !important;
2682
+ bottom: 10px !important;
2683
+ }
2684
+ #chat-side-ad-body {
2685
+ padding: 0 !important;
2686
+ }
2687
+ #tts-controls {
2688
+ padding: 10px 10px 0 10px;
2689
+ }
2690
+ .tts-meta-grid,
2691
+ .tts-slider-grid {
2692
+ grid-template-columns: 1fr;
2693
+ }
2694
+ }
2695
+ @media (max-width: 640px) {
2696
+ #chat-side-ad {
2697
+ width: auto !important;
2698
+ min-width: 0 !important;
2699
+ max-width: 100% !important;
2700
+ flex-basis: auto !important;
2701
+ flex: 1 1 auto !important;
2702
+ overflow: hidden !important;
2703
+ }
2704
+ #chat-side-ad-body {
2705
+ padding: 8px 6px !important;
2706
+ overflow: hidden !important;
2707
+ }
2708
+ .chat-ad-frame {
2709
+ width: 300px !important;
2710
+ height: 250px !important;
2711
+ min-width: 0 !important;
2712
+ max-width: 300px !important;
2713
+ aspect-ratio: auto !important;
2714
+ }
2715
+ }
2716
+ @media (max-width: 500px) {
2717
+ #toolbar-area {
2718
+ position: relative !important;
2719
+ display: flex !important;
2720
+ right: auto !important;
2721
+ top: auto !important;
2722
+ left: auto !important;
2723
+ bottom: auto !important;
2724
+ z-index: 260 !important;
2725
+ }
2726
+ #board-right-rail {
2727
+ display: flex !important;
2728
+ width: 58px !important;
2729
+ min-width: 58px !important;
2730
+ max-width: 58px !important;
2731
+ }
2732
+ #chat-input-actions {
2733
+ right: 12px !important;
2734
+ bottom: 10px !important;
2735
+ z-index: 280 !important;
2736
+ }
2737
+ #prompt-input {
2738
+ padding-right: 0 !important;
2739
+ }
2740
+ }