cozyclay 1.1.0 → 1.3.0

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 (138) hide show
  1. package/CHANGELOG.md +85 -0
  2. package/README.md +91 -25
  3. package/THIRD_PARTY_NOTICES.md +68 -1
  4. package/bin/cozyclay.mjs +71 -8
  5. package/dist/CNAME +1 -0
  6. package/dist/ai-camera-control/index.html +406 -0
  7. package/dist/app/index.html +57 -0
  8. package/dist/assets/app-B3U5aut1.js +4811 -0
  9. package/dist/assets/app-BrRF0wso.css +1 -0
  10. package/dist/assets/vision_bundle-jFkh-fIS.js +41 -0
  11. package/dist/favicon.ico +0 -0
  12. package/dist/fonts/InstrumentSerif-OFL.txt +93 -0
  13. package/dist/fonts/Inter-OFL.txt +92 -0
  14. package/dist/fonts/README.md +15 -0
  15. package/dist/icons/apple-touch-icon.png +0 -0
  16. package/dist/icons/icon-192.png +0 -0
  17. package/dist/icons/icon-32.png +0 -0
  18. package/dist/icons/icon-512.png +0 -0
  19. package/dist/icons/icon-maskable-512.png +0 -0
  20. package/dist/index.html +450 -5
  21. package/dist/manifest.webmanifest +42 -0
  22. package/dist/media/cozyclay-demo-poster.jpg +0 -0
  23. package/dist/media/cozyclay-logo.png +0 -0
  24. package/dist/robots.txt +4 -0
  25. package/dist/sitemap.xml +15 -0
  26. package/dist/sw.js +127 -0
  27. package/mcp/LIVE-PROTOCOL.md +63 -0
  28. package/mcp/README.md +142 -0
  29. package/mcp/ardy-prompts.mjs +170 -0
  30. package/mcp/live-hub.mjs +105 -0
  31. package/mcp/package.json +24 -0
  32. package/mcp/server.mjs +1394 -0
  33. package/package.json +122 -78
  34. package/src/App.jsx +4235 -1047
  35. package/src/ardy/client.js +5 -4
  36. package/src/ardy/cskel27.js +7 -2
  37. package/src/ardy/ik.js +25 -15
  38. package/src/ardy/mp4-duration.js +102 -0
  39. package/src/ardy/npz.js +64 -3
  40. package/src/ardy/playback.js +31 -1
  41. package/src/ardy/prompt-clips.js +7 -2
  42. package/src/ardy/retime.js +211 -0
  43. package/src/ardy/timeline-coordinates.js +24 -0
  44. package/src/ardy/timeline.jsx +650 -70
  45. package/src/ardy/to-cskel27.js +34 -12
  46. package/src/ardy/trim.js +33 -0
  47. package/src/ardy/waypoints.js +14 -9
  48. package/src/asset-pane.jsx +36 -0
  49. package/src/camera-block.js +60 -0
  50. package/src/camera-follow.js +49 -10
  51. package/src/camera-rail-schedule.js +176 -0
  52. package/src/controls.jsx +16 -2
  53. package/src/cuts.js +184 -0
  54. package/src/dualview.jsx +14 -8
  55. package/src/generation/client.js +56 -0
  56. package/src/generation/session.js +47 -0
  57. package/src/generation/shot-spec.js +40 -0
  58. package/src/generation/use-generation.js +55 -0
  59. package/src/hierarchy-model.js +104 -30
  60. package/src/hierarchy-panel.jsx +306 -26
  61. package/src/live-control.js +122 -0
  62. package/src/locale-toggle.jsx +18 -0
  63. package/src/locale.js +34 -0
  64. package/src/main.jsx +5 -0
  65. package/src/matte-editor.js +543 -0
  66. package/src/matte.js +503 -0
  67. package/src/multimodel-ingest.js +344 -0
  68. package/src/object-catalog.jsx +32 -3
  69. package/src/object-gizmo.jsx +43 -15
  70. package/src/planview.jsx +208 -89
  71. package/src/pose-extract/browser.js +42 -0
  72. package/src/pose-extract/detector.js +75 -0
  73. package/src/pose-extract/fit.js +194 -0
  74. package/src/pose-extract/index.js +56 -0
  75. package/src/pose-extract/keyframes.js +74 -0
  76. package/src/pose-extract/landmarks.js +162 -0
  77. package/src/pose-extract/take.js +87 -0
  78. package/src/pose-extract/video-frames.js +91 -0
  79. package/src/pose-thumbs.js +152 -0
  80. package/src/poses.js +114 -0
  81. package/src/posestudio.jsx +434 -22
  82. package/src/project-browser.jsx +135 -0
  83. package/src/project.js +289 -0
  84. package/src/props.jsx +69 -3
  85. package/src/pwa.js +42 -0
  86. package/src/result-modal.jsx +124 -0
  87. package/src/room.jsx +14 -35
  88. package/src/scene-asset-cache.js +125 -0
  89. package/src/scene-assets.js +288 -0
  90. package/src/scene-objects.js +245 -7
  91. package/src/scenes.js +404 -0
  92. package/src/shot-authoring.js +246 -77
  93. package/src/shot.js +8 -4
  94. package/src/styles.css +2151 -183
  95. package/src/ui.jsx +54 -5
  96. package/tools/ardy/BRIDGE.md +73 -6
  97. package/tools/ardy/README.md +64 -5
  98. package/tools/ardy/bridge.mjs +146 -390
  99. package/tools/ardy/bvh-cskel27.mjs +1209 -0
  100. package/tools/ardy/cclay_constrained_generate.py +561 -0
  101. package/tools/ardy/cclay_motion_edit.py +74 -9
  102. package/tools/ardy/cclay_sequence_generate.py +117 -7
  103. package/tools/ardy/cclay_worker.py +304 -0
  104. package/tools/ardy/extract.mjs +367 -0
  105. package/tools/ardy/footage.mjs +462 -0
  106. package/tools/ardy/merge-text-encoder.py +160 -0
  107. package/tools/ardy/npz.mjs +74 -9
  108. package/tools/ardy/run-local.mjs +233 -0
  109. package/tools/ardy/run-on-box.sh +25 -0
  110. package/tools/ardy/run-sequence-on-box.sh +15 -0
  111. package/tools/ardy/runners/index.mjs +23 -0
  112. package/tools/ardy/runners/local.mjs +452 -0
  113. package/tools/ardy/runners/proc.mjs +125 -0
  114. package/tools/ardy/runners/remote.mjs +252 -0
  115. package/tools/ardy/setup-local.mjs +189 -0
  116. package/tools/ardy/setup-text-encoder-on-box.sh +93 -0
  117. package/tools/ardy/setup-text-encoder.py +296 -0
  118. package/tools/generation/README.md +29 -0
  119. package/tools/generation/bridge.mjs +149 -0
  120. package/tools/generation/job-store.mjs +51 -0
  121. package/tools/generation/providers/kling.mjs +76 -0
  122. package/tools/generation/providers/runway.mjs +101 -0
  123. package/tools/generation/providers/seedance.mjs +87 -0
  124. package/tools/generation/providers/shared.mjs +49 -0
  125. package/tools/generation/providers/veo.mjs +84 -0
  126. package/tools/metrics/archive-traffic.mjs +138 -0
  127. package/dist/assets/index-BW_S1YRy.js +0 -4395
  128. package/dist/assets/index-nRmmJgap.css +0 -1
  129. package/tools/ardy/__pycache__/cclay_sequence_generate.cpython-313.pyc +0 -0
  130. package/tools/ardy/out/gen-1786443326924-c6019e-generated.npz +0 -0
  131. package/tools/ardy/out/gen-1786443609325-0053db-generated.npz +0 -0
  132. package/tools/ardy/out/gen-1786443835628-749ed1-generated.npz +0 -0
  133. package/tools/ardy/out/gen-1786462605247-03cb19-generated.npz +0 -0
  134. package/tools/qa-browser.mjs +0 -84
  135. package/tools/qa-crop3.mjs +0 -22
  136. package/tools/qa-playview.mjs +0 -49
  137. package/tools/qa-screenshot.mjs +0 -24
  138. package/tools/qa-visual.mjs +0 -51
package/src/styles.css CHANGED
@@ -24,8 +24,8 @@
24
24
  --on-accent: #ffffff;
25
25
  --grad: linear-gradient(103deg, #2d5c8a 0%, #2d5c8a 100%);
26
26
  --grad-soft: linear-gradient(103deg, #2d5c8a, #3a7cbf);
27
- --display: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
28
- --sans: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
27
+ --display: "Inter", "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
28
+ --sans: "Inter", "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
29
29
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
30
30
  --radius: 2px;
31
31
  --shadow: 0 1px 2px rgba(0, 0, 0, .4);
@@ -83,7 +83,7 @@ select {
83
83
  background: #5c5c5c;
84
84
  }
85
85
  ::-webkit-scrollbar-track {
86
- background: transparent;
86
+ background: rgba(231, 181, 87, .16);
87
87
  }
88
88
 
89
89
  /* ------------------------------------------------------------ app shell --- */
@@ -121,6 +121,291 @@ select {
121
121
  justify-self: start;
122
122
  }
123
123
 
124
+ .topbar-actions {
125
+ grid-column: 3;
126
+ justify-self: end;
127
+ display: flex;
128
+ align-items: center;
129
+ gap: 6px;
130
+ }
131
+
132
+ /* Project menu (game-engine file workflow) */
133
+ .project-menu-wrap {
134
+ position: relative;
135
+ margin-left: 14px;
136
+ align-self: center;
137
+ }
138
+
139
+ .project-menu-trigger {
140
+ display: inline-flex;
141
+ align-items: center;
142
+ gap: 6px;
143
+ padding: 4px 10px;
144
+ border-radius: 8px;
145
+ border: 1px solid var(--line2);
146
+ background: var(--card2);
147
+ color: var(--fg);
148
+ font-size: 12px;
149
+ font-weight: 600;
150
+ cursor: pointer;
151
+ max-width: 300px;
152
+ white-space: nowrap;
153
+ overflow: hidden;
154
+ text-overflow: ellipsis;
155
+ }
156
+
157
+ .project-menu-trigger:hover {
158
+ border-color: var(--accent);
159
+ }
160
+
161
+ .project-menu-trigger .caret {
162
+ color: var(--muted2);
163
+ font-size: 10px;
164
+ }
165
+
166
+ .project-dirty-dot {
167
+ width: 8px;
168
+ height: 8px;
169
+ border-radius: 50%;
170
+ background: #f5b453;
171
+ flex: none;
172
+ }
173
+
174
+ .project-menu {
175
+ position: absolute;
176
+ top: calc(100% + 6px);
177
+ left: 0;
178
+ z-index: 60;
179
+ display: flex;
180
+ flex-direction: column;
181
+ min-width: 200px;
182
+ padding: 4px;
183
+ background: var(--panel);
184
+ border: 1px solid var(--line2);
185
+ border-radius: 10px;
186
+ box-shadow: 0 8px 30px rgba(0, 0, 0, .5);
187
+ }
188
+
189
+ .project-menu button {
190
+ text-align: left;
191
+ padding: 8px 10px;
192
+ border: none;
193
+ border-radius: 7px;
194
+ background: none;
195
+ color: var(--fg);
196
+ font-size: 12px;
197
+ cursor: pointer;
198
+ }
199
+
200
+ .project-menu button:hover {
201
+ background: var(--hover);
202
+ }
203
+
204
+ /* Project header at the top of the hierarchy column (Project > Scene). */
205
+ .hierarchy-project {
206
+ display: flex;
207
+ align-items: center;
208
+ gap: 7px;
209
+ padding: 9px 12px 8px;
210
+ border-bottom: 1px solid var(--line);
211
+ }
212
+
213
+ .hierarchy-project-label {
214
+ font-size: 10px;
215
+ font-weight: 700;
216
+ letter-spacing: .08em;
217
+ text-transform: uppercase;
218
+ color: var(--muted2);
219
+ }
220
+
221
+ .hierarchy-project strong {
222
+ flex: 1;
223
+ font-size: 12.5px;
224
+ white-space: nowrap;
225
+ overflow: hidden;
226
+ text-overflow: ellipsis;
227
+ }
228
+
229
+ .hierarchy-project button {
230
+ padding: 3px 9px;
231
+ font-size: 11px;
232
+ border-radius: 6px;
233
+ border: 1px solid var(--line2);
234
+ background: var(--card2);
235
+ color: var(--fg);
236
+ cursor: pointer;
237
+ }
238
+
239
+ .hierarchy-project button:hover {
240
+ border-color: var(--accent);
241
+ }
242
+
243
+ /* Project browser modal */
244
+ .project-browser-backdrop {
245
+ position: fixed;
246
+ inset: 0;
247
+ z-index: 200;
248
+ display: flex;
249
+ align-items: center;
250
+ justify-content: center;
251
+ background: rgba(0, 0, 0, .55);
252
+ }
253
+
254
+ .project-browser {
255
+ width: min(560px, 92vw);
256
+ max-height: 80vh;
257
+ display: flex;
258
+ flex-direction: column;
259
+ gap: 14px;
260
+ padding: 16px;
261
+ background: var(--panel);
262
+ border: 1px solid var(--line2);
263
+ border-radius: 14px;
264
+ box-shadow: 0 16px 60px rgba(0, 0, 0, .6);
265
+ overflow-y: auto;
266
+ }
267
+
268
+ .project-browser-head {
269
+ display: flex;
270
+ align-items: center;
271
+ justify-content: space-between;
272
+ font-size: 15px;
273
+ }
274
+
275
+ .project-browser-head .x {
276
+ background: none;
277
+ border: none;
278
+ color: var(--muted);
279
+ font-size: 16px;
280
+ cursor: pointer;
281
+ padding: 2px 6px;
282
+ }
283
+
284
+ .project-browser section {
285
+ display: flex;
286
+ flex-direction: column;
287
+ gap: 6px;
288
+ }
289
+
290
+ .project-browser-section-head {
291
+ display: flex;
292
+ align-items: center;
293
+ justify-content: space-between;
294
+ font-size: 11px;
295
+ font-weight: 700;
296
+ letter-spacing: .06em;
297
+ text-transform: uppercase;
298
+ color: var(--muted);
299
+ }
300
+
301
+ .project-browser-section-head .row-actions {
302
+ display: flex;
303
+ gap: 6px;
304
+ }
305
+
306
+ .project-browser-section-head button {
307
+ font-size: 10px;
308
+ padding: 2px 8px;
309
+ border-radius: 6px;
310
+ border: 1px solid var(--line2);
311
+ background: none;
312
+ color: var(--fg);
313
+ cursor: pointer;
314
+ }
315
+
316
+ .project-browser-empty {
317
+ font-size: 11px;
318
+ color: var(--muted2);
319
+ padding: 8px 10px;
320
+ background: var(--card2);
321
+ border-radius: 8px;
322
+ }
323
+
324
+ .project-browser-list {
325
+ list-style: none;
326
+ margin: 0;
327
+ padding: 0;
328
+ display: flex;
329
+ flex-direction: column;
330
+ gap: 3px;
331
+ }
332
+
333
+ .project-browser-list li {
334
+ display: flex;
335
+ align-items: stretch;
336
+ gap: 4px;
337
+ }
338
+
339
+ .project-browser-list li > button:first-child {
340
+ flex: 1;
341
+ display: flex;
342
+ align-items: center;
343
+ justify-content: space-between;
344
+ gap: 10px;
345
+ padding: 8px 10px;
346
+ border: 1px solid var(--line);
347
+ border-radius: 8px;
348
+ background: var(--card2);
349
+ color: var(--fg);
350
+ font-size: 12px;
351
+ cursor: pointer;
352
+ text-align: left;
353
+ }
354
+
355
+ .project-browser-list li > button:first-child span {
356
+ font-size: 10px;
357
+ color: var(--muted2);
358
+ flex: none;
359
+ }
360
+
361
+ .project-browser-list li.active > button:first-child {
362
+ border-color: var(--accent);
363
+ }
364
+
365
+ .project-browser-list li > button:first-child:hover {
366
+ border-color: var(--accent);
367
+ }
368
+
369
+ .project-browser-list .del {
370
+ border: none;
371
+ background: none;
372
+ color: var(--muted2);
373
+ cursor: pointer;
374
+ padding: 0 6px;
375
+ font-size: 11px;
376
+ }
377
+
378
+ .project-browser-foot {
379
+ display: flex;
380
+ justify-content: space-between;
381
+ gap: 8px;
382
+ }
383
+
384
+ .project-browser-foot .btn {
385
+ flex: 1;
386
+ }
387
+
388
+ .locale-toggle {
389
+ display: inline-flex;
390
+ align-items: center;
391
+ height: 28px;
392
+ padding: 0 10px;
393
+ border: 1px solid var(--line2);
394
+ border-radius: 2px;
395
+ background: #2c2c2c;
396
+ color: var(--fg);
397
+ font-size: 10px;
398
+ font-weight: 620;
399
+ cursor: pointer;
400
+ }
401
+
402
+ .locale-toggle:hover,
403
+ .locale-toggle:focus-visible {
404
+ border-color: var(--accent);
405
+ background: var(--accent-soft);
406
+ outline: none;
407
+ }
408
+
124
409
  .toolbar-balance {
125
410
  min-width: 0;
126
411
  }
@@ -369,7 +654,7 @@ select {
369
654
  pointer-events: auto;
370
655
  }
371
656
  .vp-inset.shot {
372
- aspect-ratio: 16 / 9;
657
+ aspect-ratio: var(--shot-aspect, 16 / 9);
373
658
  }
374
659
  .vp-inset-tag {
375
660
  position: absolute;
@@ -694,31 +979,219 @@ select {
694
979
  .pose-studio.closing {
695
980
  animation: studioOut .2s var(--ease) both;
696
981
  }
697
- .pose-studio:before {
698
- content: "";
699
- position: absolute;
700
- left: 0;
701
- right: 0;
702
- top: 0;
703
- height: 2px;
704
- border-radius: 18px 18px 0 0;
705
- background: linear-gradient(90deg, #2b3cf5, #4d7bff 50%, #79c9ff);
706
- background-size: 200% 100%;
707
- animation: stripeShift 6s linear infinite;
708
- opacity: .9;
982
+
983
+ /* Compact pass: tighter chrome so more of the panel is pose tiles. Scoped
984
+ to the studio so global buttons elsewhere keep their rhythm. */
985
+ .pose-studio {
986
+ gap: 8px;
987
+ padding: 10px;
709
988
  }
710
989
 
711
- .studio-head {
712
- display: flex;
713
- align-items: center;
714
- justify-content: space-between;
990
+ .pose-studio .studio-head span {
991
+ font-size: 13px;
992
+ font-weight: 650;
715
993
  }
716
- .studio-head span {
717
- font-family: var(--display);
718
- font-weight: 720;
719
- font-size: 18px;
720
- letter-spacing: -.025em;
721
- color: var(--fg);
994
+
995
+ .pose-studio .studio-actions {
996
+ flex-direction: row;
997
+ gap: 6px;
998
+ }
999
+
1000
+ .pose-studio .studio-actions .btn {
1001
+ flex: 1;
1002
+ width: auto;
1003
+ height: 28px;
1004
+ padding: 0 8px;
1005
+ font-size: 11px;
1006
+ font-weight: 600;
1007
+ }
1008
+
1009
+ .pose-studio .studio-hint {
1010
+ font-size: 10px;
1011
+ margin: 0;
1012
+ line-height: 1.35;
1013
+ }
1014
+
1015
+ .pose-studio .studio-filters {
1016
+ flex-wrap: nowrap;
1017
+ overflow-x: auto;
1018
+ gap: 4px;
1019
+ scrollbar-width: none;
1020
+ }
1021
+
1022
+ .pose-studio .studio-filters::-webkit-scrollbar {
1023
+ display: none;
1024
+ }
1025
+
1026
+ .pose-studio .studio-filters .btn {
1027
+ flex: 0 0 auto;
1028
+ width: auto;
1029
+ min-width: 0;
1030
+ height: 24px;
1031
+ padding: 0 10px;
1032
+ font-size: 10px;
1033
+ }
1034
+
1035
+ .pose-studio .pose-grid {
1036
+ gap: 6px;
1037
+ }
1038
+
1039
+ /* Ghost (other characters') clips and pins on the timeline lanes: visible
1040
+ for schedule awareness, never interactive. */
1041
+ .tl-chip.ghost {
1042
+ opacity: 0.42;
1043
+ pointer-events: none;
1044
+ border-style: dashed;
1045
+ }
1046
+
1047
+ .tl-chip-ghost-label {
1048
+ font-size: 9px;
1049
+ padding: 0 4px;
1050
+ white-space: nowrap;
1051
+ overflow: hidden;
1052
+ text-overflow: ellipsis;
1053
+ display: block;
1054
+ }
1055
+
1056
+ .tl-marker.wp.ghost {
1057
+ opacity: 0.42;
1058
+ pointer-events: none;
1059
+ }
1060
+
1061
+ /* ARDY row: duration + seed side by side (Motion tab compacting). */
1062
+ .ardy-row {
1063
+ display: flex;
1064
+ gap: 8px;
1065
+ }
1066
+
1067
+ .ardy-row > * {
1068
+ flex: 1;
1069
+ min-width: 0;
1070
+ }
1071
+
1072
+ /* Per-character motion layer status in the Motion tab. */
1073
+ .gen-layers {
1074
+ list-style: none;
1075
+ margin: 0;
1076
+ padding: 4px 6px;
1077
+ display: flex;
1078
+ flex-direction: column;
1079
+ gap: 2px;
1080
+ background: var(--card2, rgba(255,255,255,.04));
1081
+ border: 1px solid var(--line);
1082
+ border-radius: 8px;
1083
+ }
1084
+
1085
+ .gen-layers li {
1086
+ display: flex;
1087
+ align-items: center;
1088
+ gap: 8px;
1089
+ font-size: 11px;
1090
+ color: var(--muted);
1091
+ padding: 2px 4px;
1092
+ border-radius: 5px;
1093
+ }
1094
+
1095
+ .gen-layers li.active {
1096
+ color: var(--fg);
1097
+ background: var(--hover, rgba(255,255,255,.06));
1098
+ }
1099
+
1100
+ .gen-layers-name {
1101
+ font-weight: 700;
1102
+ color: var(--cyan, #5a9bd4);
1103
+ width: 22px;
1104
+ flex: none;
1105
+ }
1106
+
1107
+ .gen-layers-state {
1108
+ flex: 1;
1109
+ }
1110
+
1111
+ .gen-layers-state.running { color: #f5b453; }
1112
+ .gen-layers-state.queued { color: var(--muted2); }
1113
+ .gen-layers-state.error { color: #e06c6c; }
1114
+ .gen-layers-state.loaded { color: #7bc98b; }
1115
+
1116
+ .gen-layers li button {
1117
+ background: none;
1118
+ border: none;
1119
+ color: var(--muted2);
1120
+ cursor: pointer;
1121
+ font-size: 10px;
1122
+ padding: 0 2px;
1123
+ }
1124
+
1125
+ /* Timeline track owner chip: which character's layer a Prompts/2D Root
1126
+ track belongs to. */
1127
+ .tl-track-owner {
1128
+ font-style: normal;
1129
+ font-size: 9px;
1130
+ font-weight: 700;
1131
+ color: var(--cyan, #5a9bd4);
1132
+ border: 1px solid var(--cyan, #5a9bd4);
1133
+ border-radius: 4px;
1134
+ padding: 0 3px;
1135
+ margin-left: 4px;
1136
+ vertical-align: 1px;
1137
+ }
1138
+
1139
+ /* 2D Root leg speed readout: green-ish in the natural gait band, amber
1140
+ outside it so a bad path is caught before generation. */
1141
+ .tl-path-speed {
1142
+ font-style: normal;
1143
+ font-size: 9px;
1144
+ font-weight: 600;
1145
+ color: #7bc98b;
1146
+ margin-left: 6px;
1147
+ vertical-align: 1px;
1148
+ }
1149
+
1150
+ .tl-path-speed.warn {
1151
+ color: #f5b453;
1152
+ }
1153
+
1154
+ /* Docked variant: the panel lives in-flow at the bottom of the inspector
1155
+ sidebar instead of floating over the shot pane. */
1156
+ .pose-studio.docked {
1157
+ position: relative;
1158
+ top: auto;
1159
+ right: auto;
1160
+ bottom: auto;
1161
+ left: auto;
1162
+ width: auto;
1163
+ flex: none;
1164
+ height: min(52vh, 560px);
1165
+ z-index: 1;
1166
+ margin: 8px 10px 10px;
1167
+ border-radius: 10px;
1168
+ box-shadow: none;
1169
+ }
1170
+ .pose-studio:before {
1171
+ content: "";
1172
+ position: absolute;
1173
+ left: 0;
1174
+ right: 0;
1175
+ top: 0;
1176
+ height: 2px;
1177
+ border-radius: 18px 18px 0 0;
1178
+ background: linear-gradient(90deg, #2b3cf5, #4d7bff 50%, #79c9ff);
1179
+ background-size: 200% 100%;
1180
+ animation: stripeShift 6s linear infinite;
1181
+ opacity: .9;
1182
+ }
1183
+
1184
+ .studio-head {
1185
+ display: flex;
1186
+ align-items: center;
1187
+ justify-content: space-between;
1188
+ }
1189
+ .studio-head span {
1190
+ font-family: var(--display);
1191
+ font-weight: 720;
1192
+ font-size: 18px;
1193
+ letter-spacing: -.025em;
1194
+ color: var(--fg);
722
1195
  }
723
1196
  .studio-head .x {
724
1197
  background: none;
@@ -751,12 +1224,25 @@ select {
751
1224
  margin-top: 0;
752
1225
  }
753
1226
 
1227
+ .studio-filters {
1228
+ display: flex;
1229
+ flex-wrap: wrap;
1230
+ gap: 6px;
1231
+ }
1232
+ .studio-filters .btn {
1233
+ flex: 1 1 calc(33.333% - 4px);
1234
+ min-width: 0;
1235
+ padding: 6px 7px;
1236
+ font-size: 10px;
1237
+ }
1238
+
754
1239
  .pose-grid {
755
1240
  flex: 1;
1241
+ min-height: 0;
756
1242
  overflow-y: auto;
757
1243
  display: grid;
758
- grid-template-columns: 1fr 1fr;
759
- gap: 10px;
1244
+ grid-template-columns: 1fr 1fr 1fr;
1245
+ gap: 8px;
760
1246
  align-content: start;
761
1247
  grid-auto-rows: min-content;
762
1248
  padding-right: 3px;
@@ -799,7 +1285,7 @@ select {
799
1285
  right: 0;
800
1286
  bottom: 0;
801
1287
  background: linear-gradient(transparent, #06060aeb);
802
- font-size: 11px;
1288
+ font-size: 10px;
803
1289
  font-weight: 700;
804
1290
  color: #fff;
805
1291
  text-align: center;
@@ -942,6 +1428,95 @@ select {
942
1428
  font-size: 8px;
943
1429
  }
944
1430
 
1431
+ .scene-switcher {
1432
+ flex: none;
1433
+ padding: 8px 9px 7px;
1434
+ border-bottom: 1px solid rgba(255, 255, 255, .065);
1435
+ background: rgba(8, 10, 14, .32);
1436
+ }
1437
+
1438
+ .scene-switcher-heading,
1439
+ .scene-switcher-heading > div,
1440
+ .scene-actions {
1441
+ display: flex;
1442
+ align-items: center;
1443
+ }
1444
+
1445
+ .scene-switcher-heading {
1446
+ justify-content: space-between;
1447
+ gap: 8px;
1448
+ margin-bottom: 6px;
1449
+ }
1450
+
1451
+ .scene-switcher-heading > div { gap: 6px; min-width: 0; }
1452
+ .scene-switcher-heading strong { color: var(--fg); font-size: 10px; }
1453
+ .scene-switcher-heading span { color: var(--muted); font-size: 8px; }
1454
+
1455
+ .scene-create-button,
1456
+ .scene-actions button {
1457
+ border: 1px solid rgba(126, 154, 255, .2);
1458
+ border-radius: 5px;
1459
+ background: rgba(87, 111, 221, .09);
1460
+ color: #aebade;
1461
+ font: inherit;
1462
+ font-size: 9px;
1463
+ cursor: pointer;
1464
+ }
1465
+
1466
+ .scene-create-button { height: 24px; padding: 0 8px; }
1467
+ .scene-create-button:hover,
1468
+ .scene-actions button:hover:not(:disabled) { background: rgba(87, 111, 221, .18); color: var(--fg); }
1469
+
1470
+ .scene-list {
1471
+ max-height: 76px;
1472
+ overflow: auto;
1473
+ border: 1px solid rgba(255, 255, 255, .07);
1474
+ border-radius: 6px;
1475
+ background: rgba(0, 0, 0, .12);
1476
+ }
1477
+
1478
+ .scene-list-item { height: 27px; padding: 2px; }
1479
+ .scene-list-item + .scene-list-item { border-top: 1px solid rgba(255, 255, 255, .045); }
1480
+ .scene-list-item > button {
1481
+ display: flex;
1482
+ align-items: center;
1483
+ gap: 7px;
1484
+ width: 100%;
1485
+ height: 23px;
1486
+ padding: 0 7px;
1487
+ border: 0;
1488
+ border-radius: 4px;
1489
+ background: transparent;
1490
+ color: var(--muted);
1491
+ font: inherit;
1492
+ font-size: 10px;
1493
+ text-align: left;
1494
+ cursor: pointer;
1495
+ }
1496
+
1497
+ .scene-list-item.active > button { background: rgba(87, 111, 221, .16); color: var(--fg); }
1498
+ .scene-document-icon {
1499
+ width: 15px;
1500
+ height: 15px;
1501
+ color: #8fa8ff;
1502
+ }
1503
+ .scene-rename-input {
1504
+ width: 100%;
1505
+ height: 23px;
1506
+ padding: 0 7px;
1507
+ border: 1px solid #627cd0;
1508
+ border-radius: 4px;
1509
+ outline: none;
1510
+ background: #161b29;
1511
+ color: var(--fg);
1512
+ font: inherit;
1513
+ font-size: 10px;
1514
+ }
1515
+
1516
+ .scene-actions { justify-content: flex-end; gap: 4px; margin-top: 5px; }
1517
+ .scene-actions button { height: 21px; padding: 0 7px; }
1518
+ .scene-actions button:disabled { opacity: .35; cursor: not-allowed; }
1519
+
945
1520
  .hierarchy-tree {
946
1521
  flex: 1;
947
1522
  min-height: 0;
@@ -987,8 +1562,10 @@ select {
987
1562
  flex: 0 0 20px;
988
1563
  display: grid;
989
1564
  place-items: center;
990
- color: #7d8596;
991
- font-size: 11px;
1565
+ color: #929bad;
1566
+ font-size: 14px;
1567
+ font-weight: 700;
1568
+ line-height: 1;
992
1569
  cursor: pointer;
993
1570
  }
994
1571
 
@@ -1007,26 +1584,22 @@ select {
1007
1584
 
1008
1585
  .hierarchy-icon {
1009
1586
  flex: none;
1010
- width: 9px;
1011
- height: 9px;
1012
- border: 1px solid #65708b;
1013
- border-radius: 2px;
1014
- background: rgba(111, 127, 165, .12);
1587
+ width: 15px;
1588
+ height: 15px;
1589
+ color: #82909d;
1590
+ overflow: visible;
1015
1591
  }
1016
1592
 
1017
- .hierarchy-icon.shot { border-radius: 50%; border-color: #8a9cff; box-shadow: inset 0 0 0 2px #222a52; }
1018
- .hierarchy-icon.camera { border-color: #72a9ff; transform: skewX(-8deg); }
1019
- .hierarchy-icon.character { border-radius: 50% 50% 3px 3px; border-color: #8ed4c0; }
1020
- .hierarchy-icon.motion,
1021
- .hierarchy-icon.clip,
1022
- .hierarchy-icon.prompt { border-color: #7687ff; background: rgba(69, 88, 226, .3); }
1023
- .hierarchy-icon.key { border-color: #ffb45f; transform: rotate(45deg) scale(.72); }
1593
+ .hierarchy-icon.scene { color: #8fa8ff; }
1594
+ .hierarchy-icon.camera { color: #e1a84b; }
1595
+ .hierarchy-icon.group,
1596
+ .hierarchy-icon.character { color: #82c9ad; }
1024
1597
  .hierarchy-icon.rig,
1025
- .hierarchy-icon.bone { border-radius: 50%; border-color: #d39cff; }
1026
- .hierarchy-icon.path { width: 11px; height: 5px; border-color: #60c7d0; border-radius: 999px; }
1027
- .hierarchy-icon.environment { border-radius: 50%; border-color: #77a878; }
1028
- .hierarchy-icon.props { border-color: #b8936b; }
1029
- .hierarchy-icon.object { border-color: #d0a36f; background: rgba(188, 126, 63, .22); transform: rotate(45deg) scale(.78); }
1598
+ .hierarchy-icon.bone { color: #bd94d4; }
1599
+ .hierarchy-icon.environment { color: #75b692; }
1600
+ .hierarchy-icon.props,
1601
+ .hierarchy-icon.object { color: #d18b70; }
1602
+ .selected .hierarchy-icon { filter: brightness(1.2); }
1030
1603
 
1031
1604
  .hierarchy-label {
1032
1605
  min-width: 0;
@@ -1700,6 +2273,16 @@ input[type=range]::-moz-range-thumb {
1700
2273
  flex: none;
1701
2274
  }
1702
2275
 
2276
+ .sb-color {
2277
+ width: 26px;
2278
+ height: 25px;
2279
+ padding: 1px;
2280
+ border: 1px solid var(--line2);
2281
+ border-radius: 8px;
2282
+ background: #ffffff05;
2283
+ cursor: pointer;
2284
+ }
2285
+
1703
2286
  .cam-toggle {
1704
2287
  width: 30px;
1705
2288
  height: 25px;
@@ -2087,30 +2670,173 @@ input[type=range]::-moz-range-thumb {
2087
2670
  border-bottom: 1px solid var(--line);
2088
2671
  }
2089
2672
 
2090
- .tl-transport {
2673
+ /* Selected Camera Block controls live above the lanes, where their numeric
2674
+ fields keep a usable hit target even when the owned shot is only a few
2675
+ frames wide. The block itself remains a compact status strip. */
2676
+ .tl-camera-editor {
2677
+ flex: none;
2678
+ min-height: 44px;
2091
2679
  display: flex;
2092
2680
  align-items: center;
2093
- gap: 6px;
2681
+ gap: 7px;
2682
+ padding: 4px 10px;
2683
+ overflow-x: auto;
2684
+ background: #201c28;
2685
+ border-bottom: 1px solid rgba(154, 123, 212, .38);
2686
+ color: #d9d2e7;
2687
+ font-size: 10px;
2094
2688
  }
2095
2689
 
2096
- .tl-btn {
2097
- width: 26px;
2098
- height: 22px;
2099
- display: inline-flex;
2100
- align-items: center;
2101
- justify-content: center;
2102
- background: #26262b;
2103
- color: var(--fg);
2104
- border: 1px solid var(--line2);
2105
- border-bottom-width: 2px;
2106
- border-radius: 6px;
2107
- font-size: 12px;
2108
- line-height: 1;
2109
- cursor: pointer;
2110
- transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease);
2690
+ .tl-camera-editor-title {
2691
+ max-width: 92px;
2692
+ overflow: hidden;
2693
+ text-overflow: ellipsis;
2694
+ white-space: nowrap;
2695
+ color: #cbb8ef;
2696
+ font-size: 11px;
2111
2697
  }
2112
2698
 
2113
- .tl-btn:hover {
2699
+ .tl-camera-head,
2700
+ .tl-camera-tool {
2701
+ height: 28px;
2702
+ padding: 0 7px;
2703
+ border: 1px solid rgba(154, 123, 212, .35);
2704
+ border-radius: 3px;
2705
+ background: #2b2731;
2706
+ color: #b9adc9;
2707
+ font: inherit;
2708
+ font-weight: 700;
2709
+ cursor: pointer;
2710
+ }
2711
+
2712
+ .tl-camera-head.active,
2713
+ .tl-camera-tool.active {
2714
+ background: #7258a0;
2715
+ border-color: #a78bfa;
2716
+ color: #fff;
2717
+ }
2718
+
2719
+ .tl-camera-head:disabled,
2720
+ .tl-camera-tool:disabled,
2721
+ .tl-camera-editor input:disabled {
2722
+ opacity: .4;
2723
+ cursor: default;
2724
+ }
2725
+
2726
+ .tl-camera-editor label {
2727
+ display: grid;
2728
+ grid-template-columns: auto 50px auto;
2729
+ align-items: center;
2730
+ gap: 3px;
2731
+ white-space: nowrap;
2732
+ color: #a99fb7;
2733
+ }
2734
+
2735
+ .tl-camera-editor input {
2736
+ box-sizing: border-box;
2737
+ width: 50px;
2738
+ height: 27px;
2739
+ padding: 0 3px;
2740
+ border: 1px solid rgba(154, 123, 212, .34);
2741
+ border-radius: 3px;
2742
+ outline: 0;
2743
+ background: #17151b;
2744
+ color: #eee8f7;
2745
+ font: inherit;
2746
+ font-variant-numeric: tabular-nums;
2747
+ }
2748
+
2749
+ .tl-camera-metric {
2750
+ box-sizing: border-box;
2751
+ width: 50px;
2752
+ height: 27px;
2753
+ display: inline-flex;
2754
+ align-items: center;
2755
+ justify-content: flex-end;
2756
+ padding: 0 5px;
2757
+ border: 1px solid rgba(154, 123, 212, .2);
2758
+ border-radius: 3px;
2759
+ background: rgba(23, 21, 27, .54);
2760
+ color: #cfc6dc;
2761
+ font: inherit;
2762
+ font-variant-numeric: tabular-nums;
2763
+ }
2764
+
2765
+ .tl-camera-editor input:focus {
2766
+ border-color: #a78bfa;
2767
+ box-shadow: 0 0 0 1px rgba(167, 139, 250, .28);
2768
+ }
2769
+
2770
+ .tl-camera-editor label small {
2771
+ color: #80758e;
2772
+ font-size: 8px;
2773
+ }
2774
+
2775
+ .tl-camera-advanced {
2776
+ flex: none;
2777
+ white-space: nowrap;
2778
+ color: #a99fb7;
2779
+ }
2780
+
2781
+ .tl-camera-advanced[open] {
2782
+ display: flex;
2783
+ align-items: center;
2784
+ gap: 7px;
2785
+ }
2786
+
2787
+ .tl-camera-advanced summary {
2788
+ cursor: pointer;
2789
+ color: #cbb8ef;
2790
+ }
2791
+
2792
+ .tl-camera-slate {
2793
+ flex: none;
2794
+ padding-left: 7px;
2795
+ border-left: 1px solid rgba(154, 123, 212, .3);
2796
+ color: #91869e;
2797
+ font-size: 9px;
2798
+ font-weight: 700;
2799
+ letter-spacing: .04em;
2800
+ text-transform: uppercase;
2801
+ }
2802
+
2803
+ .tl-camera-blocked {
2804
+ min-height: 28px;
2805
+ display: inline-flex;
2806
+ align-items: center;
2807
+ padding: 0 10px;
2808
+ border: 1px solid rgba(231, 181, 87, .38);
2809
+ border-radius: 3px;
2810
+ background: rgba(231, 181, 87, .08);
2811
+ color: #d8bd83;
2812
+ font-size: 10px;
2813
+ white-space: nowrap;
2814
+ }
2815
+
2816
+ .tl-transport {
2817
+ display: flex;
2818
+ align-items: center;
2819
+ gap: 6px;
2820
+ }
2821
+
2822
+ .tl-btn {
2823
+ width: 26px;
2824
+ height: 22px;
2825
+ display: inline-flex;
2826
+ align-items: center;
2827
+ justify-content: center;
2828
+ background: #26262b;
2829
+ color: var(--fg);
2830
+ border: 1px solid var(--line2);
2831
+ border-bottom-width: 2px;
2832
+ border-radius: 6px;
2833
+ font-size: 12px;
2834
+ line-height: 1;
2835
+ cursor: pointer;
2836
+ transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease);
2837
+ }
2838
+
2839
+ .tl-btn:hover {
2114
2840
  background: var(--hover);
2115
2841
  border-color: #4d7bff73;
2116
2842
  }
@@ -2185,7 +2911,9 @@ input[type=range]::-moz-range-thumb {
2185
2911
  .tl-body {
2186
2912
  position: relative;
2187
2913
  flex: 1;
2188
- min-height: 0;
2914
+ /* Ruler + three utility tracks + the unified Shot track. Camera controls
2915
+ may grow above this body, but must never make the Shot row collapse. */
2916
+ min-height: 156px;
2189
2917
  --tl-label-w: 148px;
2190
2918
  /* The zoomed time surface scrolls horizontally inside the timeline; the
2191
2919
  page itself never overflows. Vertical stays clipped so only the x axis
@@ -2203,7 +2931,10 @@ input[type=range]::-moz-range-thumb {
2203
2931
  height: 100%;
2204
2932
  width: calc(var(--tl-label-w) + (100% - var(--tl-label-w)) * var(--tl-zoom));
2205
2933
  display: grid;
2206
- grid-template-rows: 28px repeat(4, minmax(0, 1fr));
2934
+ /* The unified Shot row carries title, optional Rail ribbon and key strip.
2935
+ Give that one row real working height instead of squeezing all four
2936
+ tracks equally when the camera mini editor is open. */
2937
+ grid-template-rows: 28px repeat(3, minmax(20px, 1fr)) minmax(68px, 1.7fr);
2207
2938
  }
2208
2939
 
2209
2940
  .tl-ruler {
@@ -2343,6 +3074,75 @@ input[type=range]::-moz-range-thumb {
2343
3074
  cursor: pointer;
2344
3075
  }
2345
3076
 
3077
+ .tl-track-add.cut {
3078
+ width: auto;
3079
+ min-width: 76px;
3080
+ padding: 0 6px;
3081
+ font-size: 9px;
3082
+ white-space: nowrap;
3083
+ }
3084
+
3085
+ .tl-track-add.cut.camera {
3086
+ min-width: 54px;
3087
+ color: #cbb8ef;
3088
+ border-color: rgba(154, 123, 212, .38);
3089
+ }
3090
+
3091
+
3092
+ .tl-motion-clip {
3093
+ box-sizing: border-box;
3094
+ position: absolute;
3095
+ top: 50%;
3096
+ height: min(20px, calc(100% - 6px));
3097
+ transform: translateY(-50%);
3098
+ left: calc(var(--tl-f-start) * 100%);
3099
+ width: calc((var(--tl-f-end) - var(--tl-f-start)) * 100%);
3100
+ display: flex;
3101
+ align-items: center;
3102
+ padding: 0 8px;
3103
+ background: linear-gradient(103deg, rgba(126, 208, 143, .28), rgba(126, 208, 143, .14));
3104
+ border: 1px solid rgba(126, 208, 143, .45);
3105
+ border-radius: 5px;
3106
+ color: #9fe0a7;
3107
+ font-size: 9px;
3108
+ font-weight: 600;
3109
+ letter-spacing: .02em;
3110
+ white-space: nowrap;
3111
+ overflow: hidden;
3112
+ pointer-events: none; /* passive: IK markers on this lane stay clickable */
3113
+ }
3114
+
3115
+ .tl-motion-clip.trimming {
3116
+ background: linear-gradient(103deg, rgba(126, 208, 143, .45), rgba(126, 208, 143, .25));
3117
+ border-color: rgba(126, 208, 143, .8);
3118
+ }
3119
+
3120
+ .tl-motion-clip-label {
3121
+ flex: 1;
3122
+ overflow: hidden;
3123
+ text-overflow: ellipsis;
3124
+ text-align: center;
3125
+ }
3126
+
3127
+ /* the strip body stays click-through (IK markers live on this lane); only
3128
+ the trim handles take the pointer */
3129
+ .tl-motion-clip-handle {
3130
+ pointer-events: auto;
3131
+ flex: none;
3132
+ width: 8px;
3133
+ align-self: stretch;
3134
+ margin: 0;
3135
+ padding: 0;
3136
+ border: none;
3137
+ background: rgba(126, 208, 143, .55);
3138
+ border-radius: 3px;
3139
+ cursor: ew-resize;
3140
+ touch-action: none;
3141
+ }
3142
+
3143
+ .tl-motion-clip-handle:hover {
3144
+ background: rgba(126, 208, 143, .95);
3145
+ }
2346
3146
 
2347
3147
  .tl-chip {
2348
3148
  box-sizing: border-box;
@@ -2436,102 +3236,419 @@ input[type=range]::-moz-range-thumb {
2436
3236
  font-weight: 500;
2437
3237
  }
2438
3238
 
2439
- /* Camera keyframes: violet dots, so they read as neither root waypoints
2440
- (cyan) nor IK keys (orange diamonds). Click jumps the playhead, drag
2441
- re-times, right-click removes; the lane itself keys on click. */
2442
- .tl-marker.cam {
2443
- pointer-events: auto;
3239
+ /* Editorial strips sit edge-to-edge. Their seams are hard cut points, so the
3240
+ boundary handle is a narrow splice line instead of a transition control. */
3241
+ .tl-shot-block {
3242
+ box-sizing: border-box;
3243
+ position: absolute;
3244
+ top: 3px;
3245
+ bottom: 3px;
3246
+ left: calc(var(--tl-f-start) * 100%);
3247
+ /* Never fake a minimum duration: the width is the actual frame range. */
3248
+ width: calc((var(--tl-f-end) - var(--tl-f-start)) * 100%);
3249
+ display: flex;
3250
+ align-items: flex-start;
3251
+ gap: 4px;
3252
+ padding: 5px 15px 28px;
3253
+ border: 1px solid #735ba0;
3254
+ border-radius: 3px;
3255
+ background: #44365d;
3256
+ color: #f0eaff;
3257
+ font-size: 9.5px;
3258
+ overflow: hidden;
2444
3259
  cursor: grab;
2445
- background: #a78bfa;
2446
- border-color: #1e1040;
2447
- box-shadow: 0 0 8px rgba(167, 139, 250, .8);
2448
- }
2449
-
2450
- .tl-marker.cam:hover {
2451
- box-shadow: 0 0 10px rgba(167, 139, 250, 1), 0 0 0 2px rgba(167, 139, 250, .35);
2452
- }
2453
-
2454
- .tl-lane.cam {
2455
- cursor: crosshair;
3260
+ touch-action: none;
3261
+ container-type: inline-size;
2456
3262
  }
2457
3263
 
2458
- .tl-marker {
3264
+ .tl-shot-empty {
2459
3265
  position: absolute;
2460
- top: 50%;
2461
- left: clamp(3px, calc(var(--tl-f) * 100%), calc(100% - 3px));
2462
- transform: translate(-50%, -50%);
2463
- width: 10px;
2464
- height: 10px;
2465
- border-radius: 50%;
2466
- background: var(--cyan);
2467
- border: 2px solid #0d1b2e;
2468
- box-shadow: 0 0 8px rgba(121, 201, 255, .8);
3266
+ inset: 0;
3267
+ display: flex;
3268
+ align-items: center;
3269
+ padding: 0 14px;
3270
+ margin: 0;
3271
+ color: #8e93a3;
3272
+ font-size: 9px;
3273
+ font-style: italic;
2469
3274
  pointer-events: none;
2470
- z-index: 2;
2471
3275
  }
2472
3276
 
2473
- /* Root lane click authors time; markers select/remove authored keyframes. */
2474
- .tl-marker.wp.pending {
2475
- background: transparent;
2476
- border-color: #ffd76c;
2477
- box-shadow: 0 0 10px rgba(255, 215, 108, .9);
3277
+ .tl-shot-block.active {
3278
+ border-color: #e7b557;
3279
+ background: #503f6d;
2478
3280
  }
2479
3281
 
2480
- .tl-marker.wp {
2481
- pointer-events: auto;
2482
- cursor: pointer;
3282
+ .tl-shot-block.active .tl-shot-label small {
3283
+ background: rgba(80, 63, 109, .9);
2483
3284
  }
2484
3285
 
2485
- .tl-marker.wp:hover {
2486
- box-shadow: 0 0 10px rgba(121, 201, 255, 1), 0 0 0 2px rgba(121, 201, 255, .35);
3286
+ .tl-shot-block.selected {
3287
+ box-shadow: inset 0 0 0 1px rgba(201, 181, 244, .45), 0 0 8px rgba(154, 123, 212, .32);
2487
3288
  }
2488
3289
 
2489
- /* IK keyframes: diamonds, not dots, so they read as a different kind of
2490
- key than the root waypoints. Click jumps the playhead; right-click removes. */
2491
- .tl-marker.ik {
2492
- pointer-events: auto;
2493
- cursor: pointer;
2494
- border-radius: 2px;
2495
- transform: translate(-50%, -50%) rotate(45deg);
2496
- background: #ff8a3d;
2497
- border-color: #2e1a0d;
2498
- box-shadow: 0 0 8px rgba(255, 160, 90, .8);
3290
+ .tl-shot-block.moving {
3291
+ opacity: .72;
3292
+ cursor: grabbing;
3293
+ box-shadow: 0 0 0 2px rgba(231, 181, 87, .3);
2499
3294
  }
2500
3295
 
2501
- .tl-marker.ik:hover {
2502
- box-shadow: 0 0 10px rgba(255, 160, 90, 1), 0 0 0 2px rgba(255, 160, 90, .35);
3296
+ .tl-shot-label {
3297
+ position: relative;
3298
+ z-index: 5;
3299
+ min-width: 0;
3300
+ flex: 1;
3301
+ display: flex;
3302
+ flex-direction: column;
3303
+ align-items: flex-start;
3304
+ gap: 1px;
3305
+ overflow: hidden;
3306
+ white-space: nowrap;
2503
3307
  }
2504
3308
 
2505
- .tl-track-add.ik {
2506
- color: #ffc79a;
2507
- border-color: #4a382a;
3309
+ .tl-shot-label b {
3310
+ min-width: 0;
3311
+ overflow: hidden;
3312
+ text-overflow: ellipsis;
2508
3313
  }
2509
3314
 
2510
- .tl-btn.ik:disabled {
2511
- opacity: .4;
2512
- cursor: not-allowed;
3315
+ .tl-shot-label small {
3316
+ flex: none;
3317
+ padding-right: 3px;
3318
+ background: rgba(68, 54, 93, .86);
3319
+ color: #aab4c0;
3320
+ font-size: 8.5px;
3321
+ font-variant-numeric: tabular-nums;
2513
3322
  }
2514
3323
 
2515
- /* IK and foot snap are text controls, not 26px transport icons. Keep their
2516
- labels on one line and size the button around the text. */
2517
- .tl-btn.ik {
2518
- width: auto;
2519
- min-width: 48px;
2520
- padding: 0 7px;
3324
+ .tl-shot-camera-summary {
3325
+ min-width: 0;
3326
+ display: flex;
3327
+ align-items: center;
3328
+ gap: 4px;
2521
3329
  white-space: nowrap;
3330
+ padding-top: 1px;
2522
3331
  }
2523
3332
 
2524
- /* foot snap toggle sits next to the IK button and shares its accent */
2525
- .tl-btn.ik.snap {
2526
- border-color: #4a382a;
3333
+ .tl-shot-camera-summary > b {
3334
+ font-size: 9px;
3335
+ letter-spacing: .04em;
2527
3336
  }
2528
- .tl-btn.ik.snap.on {
2529
- color: #ffc79a;
2530
- border-color: #ff8a3d;
2531
- box-shadow: 0 0 8px rgba(255, 138, 61, .35);
3337
+
3338
+ .tl-shot-camera-summary > small {
3339
+ min-width: 0;
3340
+ overflow: hidden;
3341
+ text-overflow: ellipsis;
3342
+ color: #d0c3e5;
3343
+ font-size: 8px;
3344
+ font-variant-numeric: tabular-nums;
2532
3345
  }
2533
3346
 
2534
- /* Transport extras: the waypoint mode toggle, the zoom indicator and the
3347
+ .tl-shot-key-surface {
3348
+ position: absolute;
3349
+ left: 12px;
3350
+ right: 12px;
3351
+ bottom: 0;
3352
+ height: 12px;
3353
+ padding: 0;
3354
+ border: 0;
3355
+ border-top: 1px solid rgba(201, 181, 244, .28);
3356
+ background: rgba(20, 12, 36, .32);
3357
+ cursor: crosshair;
3358
+ z-index: 1;
3359
+ }
3360
+
3361
+ .tl-shot-key-surface:hover {
3362
+ background: rgba(167, 139, 250, .18);
3363
+ }
3364
+
3365
+ .tl-shot-name-input {
3366
+ min-width: 28px;
3367
+ width: 100%;
3368
+ height: 16px;
3369
+ padding: 0 3px;
3370
+ border: 1px solid #e7b557;
3371
+ background: #232323;
3372
+ color: #fff;
3373
+ font: inherit;
3374
+ outline: 0;
3375
+ }
3376
+
3377
+ .tl-shot-edge {
3378
+ position: absolute;
3379
+ top: -2px;
3380
+ bottom: -2px;
3381
+ left: 0;
3382
+ width: 14px;
3383
+ padding: 0;
3384
+ border: 0;
3385
+ border-left: 2px solid #e7b557;
3386
+ background: transparent;
3387
+ color: #e7b557;
3388
+ font-size: 14px;
3389
+ line-height: 1;
3390
+ cursor: ew-resize;
3391
+ z-index: 3;
3392
+ }
3393
+
3394
+ .tl-shot-edge:hover {
3395
+ background: rgba(231, 181, 87, .42);
3396
+ }
3397
+
3398
+ .tl-shot-edge.end {
3399
+ left: auto;
3400
+ right: 0;
3401
+ border-left: 0;
3402
+ border-right: 2px solid #e7b557;
3403
+ }
3404
+
3405
+ .tl-shot-actions {
3406
+ display: none;
3407
+ gap: 2px;
3408
+ position: absolute;
3409
+ top: 3px;
3410
+ right: 15px;
3411
+ z-index: 6;
3412
+ padding: 2px;
3413
+ border-radius: 3px;
3414
+ background: rgba(29, 21, 42, .92);
3415
+ }
3416
+
3417
+ .tl-shot-block:hover .tl-shot-actions,
3418
+ .tl-shot-block:focus-within .tl-shot-actions {
3419
+ display: flex;
3420
+ }
3421
+
3422
+ .tl-shot-actions button {
3423
+ width: auto;
3424
+ min-width: 30px;
3425
+ height: 20px;
3426
+ padding: 0 4px;
3427
+ border: 0;
3428
+ border-radius: 2px;
3429
+ background: rgba(255, 255, 255, .12);
3430
+ color: inherit;
3431
+ font-size: 9px;
3432
+ line-height: 1;
3433
+ cursor: pointer;
3434
+ }
3435
+
3436
+ .tl-shot-actions button:disabled {
3437
+ opacity: .35;
3438
+ cursor: default;
3439
+ }
3440
+
3441
+ .tl-camera-block-state {
3442
+ padding: 1px 3px;
3443
+ border: 1px solid rgba(255, 255, 255, .22);
3444
+ border-radius: 2px;
3445
+ background: rgba(0, 0, 0, .16);
3446
+ color: #d8ccef;
3447
+ font-size: 7.5px;
3448
+ font-weight: 700;
3449
+ letter-spacing: .06em;
3450
+ }
3451
+
3452
+ /* Camera keyframes: violet dots, so they read as neither root waypoints
3453
+ (cyan) nor IK keys (orange diamonds). Click jumps the playhead, drag
3454
+ re-times, right-click removes; the lane itself keys on click. */
3455
+ .tl-marker.cam {
3456
+ top: auto;
3457
+ bottom: 2px;
3458
+ transform: translateX(-50%);
3459
+ pointer-events: auto;
3460
+ cursor: grab;
3461
+ background: #a78bfa;
3462
+ border-color: #1e1040;
3463
+ box-shadow: 0 0 8px rgba(167, 139, 250, .8);
3464
+ z-index: 5;
3465
+ }
3466
+
3467
+ .tl-marker.cam:hover {
3468
+ box-shadow: 0 0 10px rgba(167, 139, 250, 1), 0 0 0 2px rgba(167, 139, 250, .35);
3469
+ }
3470
+
3471
+ .tl-lane.cam {
3472
+ cursor: crosshair;
3473
+ }
3474
+ /* Rail Follow is a sub-clip inside its owning Shot block. It shares the same
3475
+ lane and card as keys instead of rebuilding the removed Camera lane. */
3476
+ .tl-rail {
3477
+ box-sizing: border-box;
3478
+ position: absolute;
3479
+ top: auto;
3480
+ bottom: 13px;
3481
+ height: 14px;
3482
+ left: calc(var(--tl-f-start) * 100%);
3483
+ width: calc((var(--tl-f-end) - var(--tl-f-start)) * 100%);
3484
+ /* Above the full-height shot trim handles only within this 12px band, so
3485
+ a full-range Rail clip can still grab its own start/end handles. */
3486
+ z-index: 4;
3487
+ /* The empty band falls through to the lane's key-on-click; only the three
3488
+ controls are hit targets. */
3489
+ pointer-events: none;
3490
+ }
3491
+ .tl-rail-handle,
3492
+ .tl-rail-body {
3493
+ pointer-events: auto;
3494
+ touch-action: none;
3495
+ }
3496
+ .tl-rail-body {
3497
+ position: absolute;
3498
+ top: 0;
3499
+ bottom: 0;
3500
+ left: 8px;
3501
+ right: 8px;
3502
+ display: flex;
3503
+ align-items: center;
3504
+ justify-content: center;
3505
+ gap: 5px;
3506
+ padding: 0 6px;
3507
+ border: 0;
3508
+ border-radius: 4px;
3509
+ background: linear-gradient(103deg, #7c5cbf, #a78bfa);
3510
+ color: #fff;
3511
+ font-size: 9px;
3512
+ font-weight: 700;
3513
+ letter-spacing: .06em;
3514
+ text-transform: uppercase;
3515
+ white-space: nowrap;
3516
+ overflow: hidden;
3517
+ cursor: grab;
3518
+ box-shadow: 0 0 8px rgba(167, 139, 250, .45);
3519
+ }
3520
+
3521
+ @container (max-width: 320px) {
3522
+ .tl-shot-camera-summary > small,
3523
+ .tl-camera-block-state {
3524
+ display: none;
3525
+ }
3526
+ }
3527
+
3528
+ @container (max-width: 240px) {
3529
+ .tl-shot-camera-summary {
3530
+ display: none;
3531
+ }
3532
+ }
3533
+ .tl-rail-body:hover { filter: brightness(1.1); }
3534
+ .tl-rail-body:active { cursor: grabbing; }
3535
+ .tl-rail-handle {
3536
+ position: absolute;
3537
+ top: 0;
3538
+ bottom: 0;
3539
+ width: 8px;
3540
+ padding: 0;
3541
+ border: 0;
3542
+ border-radius: 3px;
3543
+ background: rgba(255, 255, 255, .28);
3544
+ cursor: ew-resize;
3545
+ z-index: 2;
3546
+ }
3547
+ .tl-rail-handle.start { left: 0; }
3548
+ .tl-rail-handle.end { right: 0; }
3549
+ .tl-rail.selected .tl-rail-body {
3550
+ outline: 1px solid #cbb7ff;
3551
+ box-shadow: 0 0 12px rgba(167, 139, 250, .7);
3552
+ }
3553
+ .tl-rail.off { opacity: .62; }
3554
+ .tl-rail.off .tl-rail-body {
3555
+ background: linear-gradient(103deg, #3b3f4d, #4a4f5e);
3556
+ box-shadow: none;
3557
+ }
3558
+ .tl-rail-body:focus-visible,
3559
+ .tl-rail-handle:focus-visible {
3560
+ outline: 2px solid #fff;
3561
+ outline-offset: 1px;
3562
+ }
3563
+ .tl-rail-progress {
3564
+ position: absolute;
3565
+ top: -2px;
3566
+ bottom: -2px;
3567
+ left: calc(var(--tl-rail-p) * 100%);
3568
+ width: 2px;
3569
+ background: #ffe9a8;
3570
+ box-shadow: 0 0 6px rgba(255, 233, 168, .9);
3571
+ pointer-events: none;
3572
+ z-index: 3;
3573
+ }
3574
+
3575
+ .tl-marker {
3576
+ position: absolute;
3577
+ top: 50%;
3578
+ left: clamp(3px, calc(var(--tl-f) * 100%), calc(100% - 3px));
3579
+ transform: translate(-50%, -50%);
3580
+ width: 10px;
3581
+ height: 10px;
3582
+ border-radius: 50%;
3583
+ background: var(--cyan);
3584
+ border: 2px solid #0d1b2e;
3585
+ box-shadow: 0 0 8px rgba(121, 201, 255, .8);
3586
+ pointer-events: none;
3587
+ z-index: 2;
3588
+ }
3589
+
3590
+ /* Root lane click authors time; markers select/remove authored keyframes. */
3591
+ .tl-marker.wp.pending {
3592
+ background: transparent;
3593
+ border-color: #ffd76c;
3594
+ box-shadow: 0 0 10px rgba(255, 215, 108, .9);
3595
+ }
3596
+
3597
+ .tl-marker.wp {
3598
+ pointer-events: auto;
3599
+ cursor: pointer;
3600
+ }
3601
+
3602
+ .tl-marker.wp:hover {
3603
+ box-shadow: 0 0 10px rgba(121, 201, 255, 1), 0 0 0 2px rgba(121, 201, 255, .35);
3604
+ }
3605
+
3606
+ /* IK keyframes: diamonds, not dots, so they read as a different kind of
3607
+ key than the root waypoints. Click jumps the playhead; right-click removes. */
3608
+ .tl-marker.ik {
3609
+ pointer-events: auto;
3610
+ cursor: pointer;
3611
+ border-radius: 2px;
3612
+ transform: translate(-50%, -50%) rotate(45deg);
3613
+ background: #ff8a3d;
3614
+ border-color: #2e1a0d;
3615
+ box-shadow: 0 0 8px rgba(255, 160, 90, .8);
3616
+ }
3617
+
3618
+ .tl-marker.ik:hover {
3619
+ box-shadow: 0 0 10px rgba(255, 160, 90, 1), 0 0 0 2px rgba(255, 160, 90, .35);
3620
+ }
3621
+
3622
+ .tl-track-add.ik {
3623
+ color: #ffc79a;
3624
+ border-color: #4a382a;
3625
+ }
3626
+
3627
+ .tl-btn.ik:disabled {
3628
+ opacity: .4;
3629
+ cursor: not-allowed;
3630
+ }
3631
+
3632
+ /* IK and foot snap are text controls, not 26px transport icons. Keep their
3633
+ labels on one line and size the button around the text. */
3634
+ .tl-btn.ik {
3635
+ width: auto;
3636
+ min-width: 48px;
3637
+ padding: 0 7px;
3638
+ white-space: nowrap;
3639
+ }
3640
+
3641
+ /* foot snap toggle sits next to the IK button and shares its accent */
3642
+ .tl-btn.ik.snap {
3643
+ border-color: #4a382a;
3644
+ }
3645
+ .tl-btn.ik.snap.on {
3646
+ color: #ffc79a;
3647
+ border-color: #ff8a3d;
3648
+ box-shadow: 0 0 8px rgba(255, 138, 61, .35);
3649
+ }
3650
+
3651
+ /* Transport extras: the waypoint mode toggle, the zoom indicator and the
2535
3652
  Clear motion button. */
2536
3653
  .tl-btn.wp {
2537
3654
  width: auto;
@@ -3129,30 +4246,19 @@ input[type=range]::-moz-range-thumb {
3129
4246
  }
3130
4247
 
3131
4248
  .hierarchy-icon {
3132
- border-color: #71818d;
3133
- background: rgba(255, 255, 255, .04);
3134
- }
3135
-
3136
- .hierarchy-icon.shot {
3137
- border-color: #3a7cbf;
3138
- box-shadow: inset 0 0 0 2px #3c3c3c;
4249
+ color: #82909d;
3139
4250
  }
3140
4251
 
3141
- .hierarchy-icon.camera { border-color: #d4972d; }
3142
- .hierarchy-icon.character { border-color: #6f9f86; }
3143
- .hierarchy-icon.motion,
3144
- .hierarchy-icon.clip,
3145
- .hierarchy-icon.prompt {
3146
- border-color: #3a7cbf;
3147
- background: rgba(58, 124, 191, .13);
3148
- }
3149
- .hierarchy-icon.key { border-color: #d65f55; }
4252
+ .hierarchy-icon.scene { color: #78a8dc; }
4253
+ .hierarchy-icon.camera { color: #d9a34a; }
4254
+ .hierarchy-icon.group,
4255
+ .hierarchy-icon.character { color: #73aa8d; }
3150
4256
  .hierarchy-icon.rig,
3151
- .hierarchy-icon.bone { border-color: #8a759d; }
3152
- .hierarchy-icon.path { border-color: #6f9f86; }
3153
- .hierarchy-icon.environment { border-color: #6f9f86; }
4257
+ .hierarchy-icon.bone { color: #a98cc0; }
4258
+ .hierarchy-icon.environment { color: #73aa8d; }
3154
4259
  .hierarchy-icon.props,
3155
- .hierarchy-icon.object { border-color: #c7836f; }
4260
+ .hierarchy-icon.object { color: #cb826b; }
4261
+ .selected .hierarchy-icon { filter: brightness(1.25); }
3156
4262
 
3157
4263
  .inspector-scroll {
3158
4264
  background: #282828;
@@ -4321,6 +5427,17 @@ input[type=range]::-moz-range-thumb {
4321
5427
  margin-top: 18px;
4322
5428
  }
4323
5429
 
5430
+ .camera-editor-pointer {
5431
+ margin: 4px 0 2px;
5432
+ padding: 8px 9px;
5433
+ border: 1px solid rgba(154, 123, 212, .28);
5434
+ border-radius: 4px;
5435
+ background: rgba(93, 72, 126, .12);
5436
+ color: #aaa2b5;
5437
+ font-size: 10px;
5438
+ line-height: 1.35;
5439
+ }
5440
+
4324
5441
  .move-slate.inline {
4325
5442
  margin: 0;
4326
5443
  }
@@ -4448,6 +5565,20 @@ input[type=range]::-moz-range-thumb {
4448
5565
  flex-direction: column;
4449
5566
  }
4450
5567
 
5568
+ /* The saved splitter height describes the lane workspace. Selecting a camera
5569
+ adds its toolbar above that workspace; opening Advanced adds one more row.
5570
+ Grow the bottom window instead of borrowing pixels from the Shot lane. */
5571
+ @media (min-width: 1041px) {
5572
+ .timeline:not(.collapsed):has(.tl-camera-editor) {
5573
+ height: max(calc(var(--timeline-height) + 12px), 234px);
5574
+ max-height: none;
5575
+ }
5576
+
5577
+ .timeline:not(.collapsed):has(.tl-camera-advanced[open]) {
5578
+ height: max(calc(var(--timeline-height) + 48px), 270px);
5579
+ }
5580
+ }
5581
+
4451
5582
  .console-pane {
4452
5583
  height: var(--timeline-height);
4453
5584
  min-height: 110px;
@@ -4459,12 +5590,96 @@ input[type=range]::-moz-range-thumb {
4459
5590
  font-size: 11px;
4460
5591
  }
4461
5592
 
4462
- .console-empty {
4463
- margin: 8px 4px;
4464
- color: var(--muted2);
4465
- font-size: 11px;
4466
- }
4467
-
5593
+ .assets-pane {
5594
+ height: var(--timeline-height);
5595
+ min-height: 110px;
5596
+ max-height: 58vh;
5597
+ overflow-y: auto;
5598
+ padding: 10px 12px;
5599
+ background: var(--panel);
5600
+ }
5601
+
5602
+ .assets-grid {
5603
+ display: flex;
5604
+ flex-wrap: wrap;
5605
+ gap: 10px;
5606
+ }
5607
+
5608
+ .asset-card {
5609
+ display: flex;
5610
+ flex-direction: column;
5611
+ align-items: center;
5612
+ gap: 6px;
5613
+ width: 108px;
5614
+ padding: 12px 8px 10px;
5615
+ background: var(--panel2, #1d1d1f);
5616
+ border: 1px solid var(--line);
5617
+ border-radius: 8px;
5618
+ color: var(--fg);
5619
+ cursor: grab;
5620
+ user-select: none;
5621
+ touch-action: none;
5622
+ }
5623
+
5624
+ .asset-card:hover {
5625
+ border-color: var(--accent, #d8a24a);
5626
+ }
5627
+
5628
+ .asset-card:active {
5629
+ cursor: grabbing;
5630
+ }
5631
+
5632
+ .asset-card-swatch {
5633
+ width: 44px;
5634
+ height: 44px;
5635
+ border-radius: 10px;
5636
+ background: #f2eee6;
5637
+ }
5638
+
5639
+ .asset-card-swatch[data-model="x-bot-tpose"] {
5640
+ background: #faf8f2;
5641
+ border: 1px solid #d8d2c4;
5642
+ }
5643
+
5644
+ .asset-card-label {
5645
+ font-size: 12px;
5646
+ font-weight: 600;
5647
+ }
5648
+
5649
+ .asset-card-kind {
5650
+ font-size: 10px;
5651
+ color: var(--muted2);
5652
+ }
5653
+
5654
+ .asset-drag-ghost {
5655
+ position: fixed;
5656
+ z-index: 1000;
5657
+ display: flex;
5658
+ align-items: center;
5659
+ gap: 8px;
5660
+ padding: 8px 12px;
5661
+ border-radius: 8px;
5662
+ background: var(--panel2, #1d1d1f);
5663
+ border: 1px solid var(--accent, #d8a24a);
5664
+ color: var(--fg);
5665
+ font-size: 12px;
5666
+ pointer-events: none;
5667
+ transform: translate(-50%, -120%);
5668
+ opacity: 0.92;
5669
+ }
5670
+
5671
+ .asset-drag-ghost .asset-card-swatch {
5672
+ width: 22px;
5673
+ height: 22px;
5674
+ border-radius: 6px;
5675
+ }
5676
+
5677
+ .console-empty {
5678
+ margin: 8px 4px;
5679
+ color: var(--muted2);
5680
+ font-size: 11px;
5681
+ }
5682
+
4468
5683
  .console-line {
4469
5684
  display: flex;
4470
5685
  gap: 10px;
@@ -4601,11 +5816,24 @@ input[type=range]::-moz-range-thumb {
4601
5816
  }
4602
5817
 
4603
5818
  /* Unity pane tabs (Scene / PlayView) — the pane's title strip */
4604
- .pane-tabs {
5819
+ .viewport-titlebar {
4605
5820
  position: absolute;
4606
5821
  top: 0;
4607
5822
  left: 0;
5823
+ right: 0;
4608
5824
  z-index: 8;
5825
+ height: 27px;
5826
+ display: flex;
5827
+ align-items: stretch;
5828
+ min-width: 0;
5829
+ overflow: hidden;
5830
+ background: var(--panel);
5831
+ border-bottom: 1px solid var(--line);
5832
+ }
5833
+
5834
+ .pane-tabs {
5835
+ position: static;
5836
+ flex: none;
4609
5837
  display: flex;
4610
5838
  }
4611
5839
 
@@ -4614,7 +5842,7 @@ input[type=range]::-moz-range-thumb {
4614
5842
  padding: 0 14px;
4615
5843
  border: 0;
4616
5844
  border-right: 1px solid var(--line);
4617
- border-bottom: 1px solid var(--line);
5845
+ border-bottom: 2px solid transparent;
4618
5846
  background: var(--panel);
4619
5847
  color: var(--muted);
4620
5848
  font: inherit;
@@ -4630,7 +5858,7 @@ input[type=range]::-moz-range-thumb {
4630
5858
  .pane-tabs button.active {
4631
5859
  background: #232323;
4632
5860
  color: var(--fg);
4633
- border-bottom-color: #232323;
5861
+ border-bottom-color: #3a7cbf;
4634
5862
  }
4635
5863
 
4636
5864
  /* the Shot/Top-View toggle sits right of the pane tabs in Scene view */
@@ -5012,6 +6240,264 @@ input[type=range] {
5012
6240
  height: 3px;
5013
6241
  }
5014
6242
 
6243
+ .multimodel-card {
6244
+ padding: 8px;
6245
+ border: 1px solid rgba(58, 124, 191, .38);
6246
+ background: linear-gradient(180deg, rgba(58, 124, 191, .12), rgba(255, 255, 255, .025));
6247
+ border-radius: 3px;
6248
+ }
6249
+
6250
+ .multimodel-card-head {
6251
+ display: flex;
6252
+ align-items: flex-start;
6253
+ justify-content: space-between;
6254
+ gap: 8px;
6255
+ }
6256
+
6257
+ .multimodel-card-head strong,
6258
+ .multimodel-card-head span {
6259
+ display: block;
6260
+ }
6261
+
6262
+ .multimodel-card-head strong {
6263
+ font-size: 11px;
6264
+ color: #dce7ff;
6265
+ }
6266
+
6267
+ .multimodel-card-head div > span {
6268
+ margin-top: 2px;
6269
+ color: var(--muted);
6270
+ font-size: 9px;
6271
+ }
6272
+
6273
+ .multimodel-status {
6274
+ padding: 2px 5px;
6275
+ border: 1px solid var(--line);
6276
+ color: var(--muted);
6277
+ font-family: var(--mono);
6278
+ font-size: 8px;
6279
+ letter-spacing: .08em;
6280
+ }
6281
+
6282
+ .multimodel-status.ready {
6283
+ border-color: rgba(126, 208, 143, .55);
6284
+ color: #9fe0a7;
6285
+ }
6286
+
6287
+ .multimodel-status.error {
6288
+ border-color: rgba(229, 72, 77, .65);
6289
+ color: #ff9b9f;
6290
+ }
6291
+
6292
+ .multimodel-source-row,
6293
+ .multimodel-url-row {
6294
+ display: flex;
6295
+ align-items: center;
6296
+ gap: 6px;
6297
+ margin-top: 8px;
6298
+ }
6299
+
6300
+ .multimodel-input-block {
6301
+ margin-top: 9px;
6302
+ padding: 8px;
6303
+ border: 1px solid rgba(255, 255, 255, .1);
6304
+ background: rgba(0, 0, 0, .12);
6305
+ }
6306
+
6307
+ .multimodel-input-block + .multimodel-input-block {
6308
+ margin-top: 6px;
6309
+ }
6310
+
6311
+ .multimodel-input-label {
6312
+ display: flex;
6313
+ align-items: baseline;
6314
+ justify-content: space-between;
6315
+ gap: 8px;
6316
+ }
6317
+
6318
+ .multimodel-input-label strong {
6319
+ color: #c9d8f7;
6320
+ font-size: 10px;
6321
+ font-weight: 600;
6322
+ }
6323
+
6324
+ .multimodel-input-label span {
6325
+ color: var(--muted2);
6326
+ font-size: 8px;
6327
+ white-space: nowrap;
6328
+ }
6329
+
6330
+ .multimodel-file-input {
6331
+ display: none;
6332
+ }
6333
+
6334
+ .multimodel-file-name {
6335
+ min-width: 0;
6336
+ overflow: hidden;
6337
+ color: var(--muted2);
6338
+ font-size: 9px;
6339
+ text-overflow: ellipsis;
6340
+ white-space: nowrap;
6341
+ }
6342
+
6343
+ .multimodel-url-input {
6344
+ display: block;
6345
+ box-sizing: border-box;
6346
+ width: 100%;
6347
+ margin-top: 7px;
6348
+ height: 26px;
6349
+ padding: 2px 8px;
6350
+ border: 1px solid var(--line);
6351
+ background: var(--card2);
6352
+ color: var(--fg);
6353
+ font-family: var(--mono);
6354
+ font-size: 10px;
6355
+ }
6356
+
6357
+ .multimodel-url-input::placeholder {
6358
+ color: var(--muted2);
6359
+ }
6360
+
6361
+ .multimodel-url-input:focus {
6362
+ outline: none;
6363
+ border-color: var(--accent);
6364
+ box-shadow: 0 0 0 1px var(--accent);
6365
+ }
6366
+
6367
+ .multimodel-url-actions {
6368
+ display: flex;
6369
+ align-items: center;
6370
+ gap: 6px;
6371
+ margin-top: 6px;
6372
+ }
6373
+
6374
+ .multimodel-url-actions .btn {
6375
+ flex: 1;
6376
+ }
6377
+
6378
+ .multimodel-status.busy {
6379
+ border-color: rgba(126, 160, 224, .55);
6380
+ color: #a8c4f2;
6381
+ }
6382
+
6383
+ .multimodel-progress {
6384
+ display: flex;
6385
+ align-items: center;
6386
+ gap: 7px;
6387
+ margin-top: 9px;
6388
+ }
6389
+
6390
+ .multimodel-progress-track {
6391
+ flex: 1;
6392
+ height: 4px;
6393
+ background: rgba(0, 0, 0, .35);
6394
+ overflow: hidden;
6395
+ }
6396
+
6397
+ .multimodel-progress-bar {
6398
+ height: 100%;
6399
+ width: 0;
6400
+ background: var(--accent);
6401
+ transition: width .12s linear;
6402
+ }
6403
+
6404
+ .multimodel-progress-bar.indeterminate {
6405
+ width: 35%;
6406
+ animation: multimodel-slide 1.1s ease-in-out infinite;
6407
+ }
6408
+
6409
+ @keyframes multimodel-slide {
6410
+ 0% { transform: translateX(-100%); }
6411
+ 100% { transform: translateX(300%); }
6412
+ }
6413
+
6414
+ .multimodel-progress span {
6415
+ flex: none;
6416
+ min-width: 62px;
6417
+ text-align: right;
6418
+ color: var(--muted2);
6419
+ font-family: var(--mono);
6420
+ font-size: 9px;
6421
+ }
6422
+
6423
+ .multimodel-error {
6424
+ margin: 9px 0 0;
6425
+ padding: 6px 8px;
6426
+ border: 1px solid rgba(229, 72, 77, .45);
6427
+ background: rgba(229, 72, 77, .1);
6428
+ color: #ff9b9f;
6429
+ font-size: 9.5px;
6430
+ line-height: 1.45;
6431
+ }
6432
+
6433
+ .multimodel-receipt {
6434
+ display: flex;
6435
+ gap: 8px;
6436
+ margin-top: 9px;
6437
+ padding: 7px;
6438
+ border: 1px solid rgba(126, 208, 143, .3);
6439
+ background: rgba(126, 208, 143, .07);
6440
+ }
6441
+
6442
+ .multimodel-preview {
6443
+ flex: none;
6444
+ width: 76px;
6445
+ height: 44px;
6446
+ object-fit: cover;
6447
+ background: #000;
6448
+ border: 1px solid rgba(255, 255, 255, .12);
6449
+ }
6450
+
6451
+ .multimodel-receipt-body {
6452
+ min-width: 0;
6453
+ display: flex;
6454
+ flex-direction: column;
6455
+ gap: 2px;
6456
+ }
6457
+
6458
+ .multimodel-receipt-body strong {
6459
+ overflow: hidden;
6460
+ color: #dbe8ff;
6461
+ font-size: 10px;
6462
+ text-overflow: ellipsis;
6463
+ white-space: nowrap;
6464
+ }
6465
+
6466
+ .multimodel-receipt-body span {
6467
+ color: var(--muted2);
6468
+ font-family: var(--mono);
6469
+ font-size: 9px;
6470
+ }
6471
+
6472
+ .multimodel-receipt-timeline {
6473
+ color: #9fe0a7 !important;
6474
+ }
6475
+
6476
+ .multimodel-extract {
6477
+ margin-top: 9px;
6478
+ }
6479
+
6480
+ .multimodel-extract .btn {
6481
+ width: 100%;
6482
+ }
6483
+
6484
+ .multimodel-extract-receipt {
6485
+ margin: 8px 0 0;
6486
+ padding: 6px 8px;
6487
+ border: 1px solid rgba(126, 208, 143, .3);
6488
+ background: rgba(126, 208, 143, .07);
6489
+ color: #9fe0a7;
6490
+ font-size: 9.5px;
6491
+ line-height: 1.45;
6492
+ }
6493
+
6494
+ .multimodel-note {
6495
+ margin: 8px 0 0;
6496
+ color: var(--muted2);
6497
+ font-size: 9px;
6498
+ line-height: 1.45;
6499
+ }
6500
+
5015
6501
  /* readouts: single quiet line */
5016
6502
  .readout {
5017
6503
  font-size: 10px;
@@ -5234,22 +6720,26 @@ input[type=range] {
5234
6720
  border-radius: 2px;
5235
6721
  }
5236
6722
 
5237
- /* ------------------------------------------------ Unity scene tools overlay --- */
5238
- /* Unity puts the transform tools in the scene view's top-left corner, under
5239
- the pane tab — not in a window toolbar. */
6723
+ /* ------------------------------------------------ Unity scene title bar --- */
6724
+ /* View tabs and their context tools share one uninterrupted horizontal bar. */
5240
6725
  .editor-toolbar.scene-tools {
5241
- position: absolute;
5242
- top: 27px;
5243
- left: 0;
5244
- z-index: 8;
6726
+ position: static;
6727
+ flex: 1;
6728
+ height: 27px;
5245
6729
  display: flex;
6730
+ justify-content: flex-start;
5246
6731
  gap: 0;
6732
+ min-width: 0;
6733
+ overflow-x: auto;
6734
+ overflow-y: hidden;
6735
+ scrollbar-width: none;
5247
6736
  background: var(--panel);
5248
- border-right: 1px solid var(--line);
5249
- border-bottom: 1px solid var(--line);
5250
6737
  }
5251
6738
 
6739
+ .editor-toolbar.scene-tools::-webkit-scrollbar { display: none; }
6740
+
5252
6741
  .editor-toolbar.scene-tools .tool-switch {
6742
+ flex: none;
5253
6743
  border: 0;
5254
6744
  border-radius: 0;
5255
6745
  padding: 0;
@@ -5259,20 +6749,154 @@ input[type=range] {
5259
6749
  .editor-toolbar.scene-tools .tool-switch button,
5260
6750
  .editor-toolbar.scene-tools .snap-switch {
5261
6751
  height: 26px;
5262
- border-radius: 0;
6752
+ border-radius: 0;
6753
+ border: 0;
6754
+ border-right: 1px solid var(--line);
6755
+ background: transparent;
6756
+ }
6757
+
6758
+ .editor-toolbar.scene-tools .tool-switch button {
6759
+ width: 29px;
6760
+ padding: 0;
6761
+ gap: 0;
6762
+ font-size: 0;
6763
+ justify-content: center;
6764
+ }
6765
+
6766
+ .editor-toolbar.scene-tools .tool-switch .tool-icon {
6767
+ width: 14px;
6768
+ height: 14px;
6769
+ }
6770
+
6771
+ .editor-toolbar.scene-tools .snap-switch {
6772
+ padding: 0 6px;
6773
+ font-size: 8px;
6774
+ }
6775
+
6776
+ .editor-toolbar.scene-tools .tool-switch button.active {
6777
+ background: #2d5c8a;
6778
+ color: #fff;
6779
+ }
6780
+
6781
+ .editor-toolbar.scene-tools .snap-switch.active {
6782
+ background: rgba(45, 92, 138, .35);
6783
+ color: var(--fg);
6784
+ }
6785
+
6786
+ .viewport-toolbar-separator {
6787
+ flex: 0 0 1px;
6788
+ align-self: stretch;
6789
+ background: var(--line);
6790
+ }
6791
+
6792
+ .editor-toolbar.scene-tools .settings-separator {
6793
+ margin-left: auto;
6794
+ }
6795
+
6796
+ .viewport-toolbar-field,
6797
+ .viewport-fov-control {
6798
+ flex: none;
6799
+ height: 26px;
6800
+ display: flex;
6801
+ align-items: center;
6802
+ gap: 4px;
6803
+ padding: 0 4px;
6804
+ border-right: 1px solid var(--line);
6805
+ color: #9aa0a6;
6806
+ font-size: 9px;
6807
+ white-space: nowrap;
6808
+ }
6809
+
6810
+ .viewport-toolbar-field > span { display: none; }
6811
+
6812
+ .viewport-toolbar-field select {
6813
+ height: 21px;
6814
+ min-width: 0;
6815
+ padding: 0 18px 0 5px;
6816
+ border: 1px solid #494949;
6817
+ border-radius: 2px;
6818
+ background: #242424;
6819
+ color: #dedede;
6820
+ font: inherit;
6821
+ font-size: 10px;
6822
+ }
6823
+
6824
+ .viewport-toolbar-field.shot-field select { width: 92px; }
6825
+ .viewport-toolbar-field.ratio-field select { width: 64px; }
6826
+
6827
+ .viewport-fov-control input {
6828
+ width: 54px;
6829
+ accent-color: #4b8bc4;
6830
+ }
6831
+
6832
+ .viewport-fov-control output {
6833
+ min-width: 25px;
6834
+ color: #efefef;
6835
+ font-size: 10px;
6836
+ text-align: right;
6837
+ }
6838
+
6839
+ .viewport-fov-control small {
6840
+ color: #9aa0a6;
6841
+ font-size: 9px;
6842
+ }
6843
+
6844
+ .viewport-toolbar-spacer {
6845
+ display: none;
6846
+ }
6847
+
6848
+ .editor-toolbar.scene-tools > button,
6849
+ .editor-toolbar.play-tools > button {
6850
+ flex: none;
6851
+ height: 26px;
6852
+ padding: 0 6px;
5263
6853
  border: 0;
5264
6854
  border-right: 1px solid var(--line);
5265
6855
  background: transparent;
6856
+ color: #bdbdbd;
6857
+ font: inherit;
6858
+ font-size: 9px;
6859
+ cursor: pointer;
6860
+ white-space: nowrap;
5266
6861
  }
5267
6862
 
5268
- .editor-toolbar.scene-tools .tool-switch button.active {
5269
- background: #2d5c8a;
6863
+ .editor-toolbar.scene-tools > button:hover,
6864
+ .editor-toolbar.play-tools > button:hover {
6865
+ background: #363636;
5270
6866
  color: #fff;
5271
6867
  }
5272
6868
 
5273
- .editor-toolbar.scene-tools .snap-switch.active {
5274
- background: rgba(45, 92, 138, .35);
5275
- color: var(--fg);
6869
+ .editor-toolbar.play-tools > button:disabled {
6870
+ opacity: .38;
6871
+ cursor: default;
6872
+ }
6873
+
6874
+ .editor-toolbar.play-tools {
6875
+ position: static;
6876
+ flex: 1;
6877
+ min-width: 0;
6878
+ height: 27px;
6879
+ display: flex;
6880
+ align-items: center;
6881
+ justify-content: flex-end;
6882
+ gap: 0;
6883
+ background: var(--panel);
6884
+ }
6885
+
6886
+ .viewport-readout {
6887
+ flex: none;
6888
+ height: 26px;
6889
+ display: inline-flex;
6890
+ align-items: center;
6891
+ padding: 0 8px;
6892
+ border-right: 1px solid var(--line);
6893
+ color: #b7b7b7;
6894
+ font-size: 9px;
6895
+ white-space: nowrap;
6896
+ }
6897
+
6898
+ .editor-toolbar.play-tools > button.recording {
6899
+ color: #ff8d86;
5276
6900
  }
5277
6901
 
5278
6902
  /* ----------------------------------------------------- Unity axis colors --- */
@@ -5283,8 +6907,8 @@ input[type=range] {
5283
6907
 
5284
6908
  /* ----------------------------------------------------- Unity tree polish --- */
5285
6909
  .hierarchy-toggle {
5286
- font-size: 8px;
5287
- color: #8a8a8a;
6910
+ font-size: 11px;
6911
+ color: #a0a0a0;
5288
6912
  }
5289
6913
 
5290
6914
  .hierarchy-row-wrap {
@@ -5637,3 +7261,347 @@ input[type=range] {
5637
7261
  background: #2d5c8a;
5638
7262
  box-shadow: none;
5639
7263
  }
7264
+
7265
+
7266
+
7267
+
7268
+
7269
+
7270
+ .result-move-slate {
7271
+ display: flex;
7272
+ align-items: baseline;
7273
+ justify-content: space-between;
7274
+ gap: 12px;
7275
+ }
7276
+
7277
+ .result-move-slate small {
7278
+ color: var(--cyan);
7279
+ font-family: var(--sans);
7280
+ font-size: 9.5px;
7281
+ font-weight: 600;
7282
+ letter-spacing: 0;
7283
+ text-align: right;
7284
+ }
7285
+
7286
+ .result-modal {
7287
+ width: 560px;
7288
+ }
7289
+
7290
+ .result-modal .promptbox {
7291
+ max-height: 100px;
7292
+ overflow-y: auto;
7293
+ }
7294
+
7295
+ .result-next-intro {
7296
+ margin: 0 0 10px;
7297
+ }
7298
+
7299
+ .result-handoff-steps {
7300
+ margin: 0;
7301
+ padding: 0;
7302
+ list-style: none;
7303
+ border-top: 1px solid var(--line2);
7304
+ }
7305
+
7306
+ .result-handoff-steps li {
7307
+ display: grid;
7308
+ grid-template-columns: 128px minmax(0, 1fr);
7309
+ gap: 10px;
7310
+ padding: 9px 0;
7311
+ border-bottom: 1px solid var(--line2);
7312
+ font-size: 10.5px;
7313
+ line-height: 1.45;
7314
+ }
7315
+
7316
+ .result-handoff-steps strong {
7317
+ color: var(--fg);
7318
+ font-weight: 700;
7319
+ }
7320
+
7321
+ .result-handoff-steps span {
7322
+ color: var(--muted);
7323
+ }
7324
+
7325
+ .result-handoff-note {
7326
+ margin: 10px 0 0;
7327
+ color: var(--cyan);
7328
+ font-size: 10px;
7329
+ line-height: 1.45;
7330
+ }
7331
+
7332
+ .result-next {
7333
+ margin-top: 16px;
7334
+ padding: 12px 13px;
7335
+ border: 1px solid var(--line2);
7336
+ border-left: 3px solid var(--accent);
7337
+ background: #282828;
7338
+ }
7339
+
7340
+ .result-next h4 {
7341
+ margin: 0 0 5px;
7342
+ font-size: 12px;
7343
+ font-weight: 650;
7344
+ }
7345
+
7346
+ .result-next p {
7347
+ margin: 0;
7348
+ color: var(--muted);
7349
+ font-size: 11px;
7350
+ line-height: 1.5;
7351
+ }
7352
+
7353
+ .result-next code {
7354
+ color: var(--fg);
7355
+ font-family: var(--mono);
7356
+ font-size: 10px;
7357
+ }
7358
+
7359
+ .result-reference-video {
7360
+ display: block;
7361
+ margin-top: 10px !important;
7362
+ padding-top: 9px;
7363
+ border-top: 1px solid var(--line2);
7364
+ }
7365
+
7366
+ .result-reference-video strong {
7367
+ display: block;
7368
+ color: var(--cyan);
7369
+ font-size: 10px;
7370
+ font-weight: 650;
7371
+ text-transform: uppercase;
7372
+ letter-spacing: .07em;
7373
+ }
7374
+
7375
+ .result-reference-video code {
7376
+ display: block;
7377
+ margin: 3px 0 2px;
7378
+ overflow-wrap: anywhere;
7379
+ line-height: 1.35;
7380
+ }
7381
+
7382
+
7383
+ @media (prefers-reduced-motion: reduce) {
7384
+ .modal-overlay,
7385
+ .modal {
7386
+ animation: none;
7387
+ }
7388
+ }
7389
+
7390
+ /* ------------------------------------------- sidebar tabs ---------------- */
7391
+ /* Right-sidebar mode tabs: Inspector / Shot / Motion. A Unity-style tab
7392
+ strip in the pane-title position; the Inspector heading renders below it
7393
+ only while the Inspector tab is active. */
7394
+ .inspector-tabs {
7395
+ flex: none;
7396
+ display: flex;
7397
+ height: 26px;
7398
+ background: #2c2c2c;
7399
+ border-bottom: 1px solid #1a1a1a;
7400
+ }
7401
+
7402
+ .inspector-tabs button {
7403
+ flex: 1;
7404
+ border: none;
7405
+ background: transparent;
7406
+ color: #9a9a9a;
7407
+ font-size: 11px;
7408
+ font-weight: 600;
7409
+ cursor: pointer;
7410
+ border-right: 1px solid #1a1a1a;
7411
+ }
7412
+
7413
+ .inspector-tabs button:last-child {
7414
+ border-right: none;
7415
+ }
7416
+
7417
+ .inspector-tabs button:hover {
7418
+ color: #d2d2d2;
7419
+ }
7420
+
7421
+ .inspector-tabs button.active {
7422
+ background: #383838;
7423
+ color: #fff;
7424
+ box-shadow: inset 0 -2px 0 #3a7cbf;
7425
+ }
7426
+
7427
+ /* The scroll column is a flex column; with several cards visible at once
7428
+ (the Motion tab stacks the whole pipeline) default flex-shrink squishes
7429
+ each card and overflow:hidden clips its last row. Cards keep natural
7430
+ height and the column scrolls instead. */
7431
+ .inspector-scroll > .card {
7432
+ flex-shrink: 0;
7433
+ }
7434
+
7435
+ /* ---------------------------------------------------------- background --- */
7436
+ /* The matte editor: the picture with everything that will be removed painted
7437
+ violet. Purple never occurs in a photographed set, so a stray purple blob on
7438
+ the subject — or a patch of wall that stayed its own colour — reads at a
7439
+ glance, which a finished cutout cannot show you. */
7440
+
7441
+ .matte-editor {
7442
+ display: flex;
7443
+ flex-direction: column;
7444
+ gap: 6px;
7445
+ margin: 6px 0 2px;
7446
+ }
7447
+
7448
+ .matte-canvas {
7449
+ display: block;
7450
+ /* A stage, not a framed picture: the canvas fills this box and paints its
7451
+ own ground, so the picture sits ON it and nothing outside the canvas can
7452
+ crop the picture once it is zoomed past fit. */
7453
+ width: 100%;
7454
+ height: 240px;
7455
+ background: #141819;
7456
+ border: 1px solid var(--line);
7457
+ border-radius: 3px;
7458
+ touch-action: none;
7459
+ cursor: crosshair;
7460
+ }
7461
+
7462
+ .presets.matte-modes {
7463
+ display: flex;
7464
+ flex-wrap: wrap;
7465
+ gap: 6px;
7466
+ }
7467
+
7468
+ /* ------------------------------------------------------------ drop it --- */
7469
+ /* A picture dropped on the Props branch, the Props inspector or the shot view
7470
+ becomes a cutout. A drop zone that gives no sign it is armed reads as dead
7471
+ area, so each one lights its own edge while a file is over it. */
7472
+
7473
+ .props-drop {
7474
+ display: flex;
7475
+ flex-direction: column;
7476
+ gap: 8px;
7477
+ border: 1px dashed transparent;
7478
+ border-radius: 4px;
7479
+ padding: 2px;
7480
+ transition: border-color 120ms ease, background 120ms ease;
7481
+ }
7482
+
7483
+ .props-drop[data-drop="over"],
7484
+ .hierarchy-row-wrap[data-drop="over"] {
7485
+ border-color: var(--accent, #e7b557);
7486
+ background: rgba(231, 181, 87, 0.1);
7487
+ }
7488
+
7489
+ .hierarchy-row-wrap[data-drop="over"] {
7490
+ border: 1px dashed var(--accent, #e7b557);
7491
+ border-radius: 3px;
7492
+ }
7493
+
7494
+ .viewport[data-drop="over"] {
7495
+ outline: 2px dashed var(--accent, #e7b557);
7496
+ outline-offset: -6px;
7497
+ }
7498
+
7499
+ @media (prefers-reduced-motion: reduce) {
7500
+ .props-drop { transition: none; }
7501
+ }
7502
+
7503
+ /* The matte editor's two dials. A bare range in a dark panel is nearly
7504
+ invisible — no accent, intrinsic width, no label alignment — so both get a
7505
+ real row: name, a full-width track, and a box you can type an exact number
7506
+ into. Tolerance especially: 0.18 and 0.22 are different answers, and a drag
7507
+ along an unlabelled track cannot tell you which one you have. */
7508
+
7509
+ .matte-slider {
7510
+ display: grid;
7511
+ grid-template-columns: auto 1fr 4.6rem;
7512
+ align-items: center;
7513
+ gap: 10px;
7514
+ margin: 8px 0;
7515
+ }
7516
+
7517
+ .matte-slider label {
7518
+ font-size: 11.5px;
7519
+ color: var(--muted);
7520
+ }
7521
+
7522
+ .matte-slider input[type="range"] {
7523
+ width: 100%;
7524
+ min-width: 0;
7525
+ accent-color: var(--accent);
7526
+ }
7527
+
7528
+ .matte-slider input[type="number"] {
7529
+ width: 100%;
7530
+ padding: 5px 6px;
7531
+ background: var(--card2);
7532
+ border: 1px solid var(--line);
7533
+ border-radius: 4px;
7534
+ color: var(--fg);
7535
+ font-size: 12px;
7536
+ font-variant-numeric: tabular-nums;
7537
+ text-align: right;
7538
+ }
7539
+
7540
+ .btn.matte-apply {
7541
+ margin-top: 4px;
7542
+ }
7543
+
7544
+ .btn.matte-apply[disabled] {
7545
+ opacity: 0.5;
7546
+ cursor: not-allowed;
7547
+ }
7548
+
7549
+ .inspector-hint.matte-state {
7550
+ padding: 6px 8px;
7551
+ border-left: 2px solid var(--accent);
7552
+ background: var(--card2);
7553
+ border-radius: 0 3px 3px 0;
7554
+ }
7555
+
7556
+
7557
+ /* The matte tools read as two hands: what the brush does on the left, what to
7558
+ do about what it did on the right. Clear sits under Undo/Redo because it is
7559
+ the same kind of act — taking work back — only all of it.
7560
+
7561
+ The buttons are one fixed size and the SPACE between the two groups is what
7562
+ flexes, so the panel can be dragged wider without five buttons growing into
7563
+ five different shapes. */
7564
+
7565
+ .matte-tools {
7566
+ display: flex;
7567
+ align-items: flex-start;
7568
+ justify-content: space-between;
7569
+ gap: 12px;
7570
+ margin: 8px 0;
7571
+ }
7572
+
7573
+ .matte-history {
7574
+ display: flex;
7575
+ flex-direction: column;
7576
+ align-items: flex-end;
7577
+ gap: 6px;
7578
+ }
7579
+
7580
+ .matte-tools .presets.matte-modes {
7581
+ display: flex;
7582
+ flex-wrap: nowrap;
7583
+ gap: 6px;
7584
+ margin: 0;
7585
+ }
7586
+
7587
+ .matte-tools .presets.matte-modes button {
7588
+ /* Fixed width, centred label: the panel resizes by moving the two groups
7589
+ apart, never by restyling five buttons into five shapes. */
7590
+ display: flex;
7591
+ align-items: center;
7592
+ justify-content: center;
7593
+ flex: 0 0 auto;
7594
+ width: 4rem;
7595
+ padding: 9px 2px;
7596
+ font-size: 11.5px;
7597
+ line-height: 1.2;
7598
+ text-align: center;
7599
+ white-space: nowrap;
7600
+ }
7601
+
7602
+ /* Undo, redo and clear are icons — a symbol the width of a glyph, not a word
7603
+ that has to be read. They keep their names in the tooltip. */
7604
+ .matte-tools .presets.matte-icons button {
7605
+ width: 2.3rem;
7606
+ font-size: 13px;
7607
+ }