File size: 23,918 Bytes
a5a952f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
194f02a
a5a952f
194f02a
a5a952f
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
.interactive-teaser { padding: 20px 0; background: radial-gradient(ellipse at 8% 18%, #e5edf5 0%, transparent 58%), radial-gradient(ellipse at 94% 84%, #f3eae0 0%, transparent 55%), #eef1f5; border-top: 1px solid #e3e8ee; }
.demo-shell { --demo-accent: #315f84; --demo-pale: #edf4f9; border: 1px solid #fff; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 20px 50px rgba(35,58,79,.11), 0 3px 10px rgba(35,58,79,.05); }
.demo-loading, .demo-load-error { text-align: center; padding: 80px 25px; color: var(--text); }
.demo-load-error button { color: var(--deep-blue); border: 0; background: transparent; text-decoration: underline; }
.demo-scenes { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; padding: 9px; border-bottom: 1px solid #e8edf1; background: linear-gradient(110deg,#f6f9fc,#faf8f5); }
.demo-scene-tab { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid transparent; border-radius: 8px; text-align: left; color: var(--text); background: transparent; position: relative; transition: background .15s, color .15s; }
.demo-scene-tab:hover { background: #f5f6f7; }
.demo-scene-tab[aria-selected="true"] { background: #fff; color: var(--deep-blue); box-shadow: 0 3px 10px rgba(35,58,79,.08); }
.demo-scene-tab[aria-selected="true"]::after { content: ""; position: absolute; bottom: 0; left: 14px; right: 14px; height: 3px; border-radius: 999px; background: var(--deep-blue); }
.demo-scene-thumb { width: 52px; flex: none; aspect-ratio: 16/9; overflow: hidden; border: 1px solid #dce4eb; border-radius: 5px; }
.demo-scene-thumb svg { display: block; width: 100%; height: 100%; }
.demo-scene-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.demo-scene-tab strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.45; }
.demo-workspace { display: grid; grid-template-columns: minmax(0,1fr) 255px; gap: 22px; padding: 21px; align-items: start; }
.demo-comparison { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; align-items: start; }
.demo-view { min-width: 0; }
.demo-view > figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--ink); }
.demo-view > figcaption small { font-size: 10px; font-weight: 400; color: #7a8996; }
.demo-view-result > figcaption > span { color: var(--demo-accent); }
.demo-view-result .demo-stage { border-color: transparent; background: linear-gradient(145deg,#f0f4f8,#f8f5f0); }
.demo-stage { position: relative; aspect-ratio: 16/9; border: 1px solid #e7e9ec; border-radius: 14px; background: #f6f7f8; overflow: hidden; isolation: isolate; }

.demo-illustration, .demo-stage > video { position: absolute; inset: 0; width: 100%; height: 100%; }
.demo-illustration svg, .demo-illustration img { display: block; width: 100%; height: 100%; object-fit: contain; }
.demo-stage > video { object-fit: contain; background: #edf1f5; pointer-events: none; }
.demo-illustration.is-unselected { opacity: .24; }
.demo-preview-label { position: absolute; left: 11px; top: 10px; z-index: 1; padding: 3px 8px; border: 1px solid #e0e7ed; border-radius: 4px; background: #ffffffda; color: #6d7e8c; font-size: 9px; letter-spacing: .025em; line-height: 1.4; pointer-events: none; }
.demo-pending { position: absolute; bottom: 9px; left: 50%; transform: translateX(-50%); padding: 4px 9px; border-radius: 5px; color: #627585; background: #ffffffdb; font-size: 10px; line-height: 1.5; white-space: nowrap; }
.demo-start-hint { position: absolute; inset: 0; padding: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.demo-start-hint > span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #bfd1df; background: #fafdff; border-radius: 50%; margin-bottom: 12px; color: var(--deep-blue); }
.demo-start-hint svg { width: 18px; height: 18px; }
.demo-start-hint strong { font-size: 15px; font-weight: 600; color: #365970; line-height: 1.45; }
.demo-start-hint p { font-size: 11px; line-height: 1.6; margin-top: 5px; color: #6c8091; }
.demo-hotspots { position: absolute; inset: 0; }
.demo-insertion-overlay { position: absolute; inset: 0; pointer-events: none; }
.demo-insertion-overlay svg { width: 100%; height: 100%; display: block; }
.demo-hotspot { position: absolute; transform: translate(-50%,-50%); min-width: 30px; min-height: 32px; border: 1.5px dashed #638ca586; border-radius: 7px; background: transparent; padding: 0; cursor: pointer; transition: border-color .12s, background .12s; }
.demo-hotspot.is-sphere { border-radius: 50%; }
.demo-hotspot > span { position: absolute; right: -6px; top: -7px; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; border: 1px solid #adc3d3; background: white; color: var(--deep-blue); font: 600 16px/1 var(--sans); box-shadow: 0 1px 3px #315f8412; }
.demo-hotspot:hover, .demo-hotspot:focus-visible, .demo-hotspot[aria-pressed="true"] { border: 2px solid #315f84; background: #315f840d; }
.demo-hotspot.is-removal { border-color: #b87560; background: #b8756017; }
.demo-hotspot.is-removal > span { color: #a4604c; border-color: #c79686; background: #fff7f4; }
.demo-hotspot.is-tracked { border: 0; border-radius: 0; background: transparent; min-width: 0; min-height: 0; }
.demo-hotspot.is-tracked:focus-visible { outline: 0; background: #8edcff66; }
.demo-selection { position: absolute; inset: 0; pointer-events: none; background: #9cdfff2e; }
.demo-selection.is-revealing { background: transparent; }
.demo-selection-bloom { position: absolute; display: none; border-radius: 50%; background: #9cdfff; transform-origin: center; }
.demo-selection.is-revealing .demo-selection-bloom { display: block; }
.demo-edit-time { display: flex; align-items: center; gap: 13px; min-width: 0; width: 100%; max-width: 510px; }
.demo-edit-time label { font-size: 14px; color: #627889; white-space: nowrap; }
.demo-edit-time-track { position: relative; min-width: 60px; flex: 1; }
.demo-edit-stops { position: absolute; top: calc(100% + 6px); left: 8.5px; right: 8.5px; height: 20px; }
.demo-edit-stops button { position: absolute; transform: translateX(-50%); padding: 0 1px; min-height: 20px; border: 0; background: transparent; color: #7c8e9d; font-size: 10px; line-height: 20px; font-variant-numeric: tabular-nums; }
.demo-edit-stops button::before { content: ""; position: absolute; top: -3px; left: 50%; width: 1px; height: 3px; background: #bdcdd9; }
.demo-edit-stops button:hover, .demo-edit-stops button[aria-pressed="true"] { color: var(--demo-accent); font-weight: 600; }
.demo-edit-stops button:focus-visible { outline-offset: 1px; }
.demo-edit-time output { width: 47px; flex: none; text-align: right; color: var(--demo-accent); font-size: 12px; font-variant-numeric: tabular-nums; }
.demo-return { position: absolute; left: 50%; bottom: 11px; transform: translateX(-50%); border: 1px solid #a8bfd1; border-radius: 6px; background: #fffffff0; color: var(--deep-blue); padding: 5px 12px; font-size: 11px; white-space: nowrap; }
.demo-source-play { position: absolute; left: 10px; bottom: 10px; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid #ffffffa6; border-radius: 50%; background: #20394dcc; color: white; box-shadow: 0 2px 8px #0000001a; }
.demo-source-play svg { width: 17px; height: 17px; }
.demo-source-play:hover { background: #315f84; }
.demo-controls { min-width: 0; padding-left: 20px; border-left: 1px solid var(--line); }
.demo-controls-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.demo-controls h3 { font: 600 15px/1.4 var(--sans); }
.demo-reset { display: grid; place-items: center; padding: 5px; color: #758695; border: 0; border-radius: 4px; background: transparent; }
.demo-reset svg { width: 17px; height: 17px; }
.demo-reset:hover { color: var(--deep-blue); background: #edf4f9; }
.demo-mode-list { display: flex; flex-wrap: wrap; gap: 6px; }
.demo-mode { flex: 1 1 calc(50% - 3px); display: flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #e0e3e7; border-radius: 999px; padding: 6px 7px; color: #465261; background: #f8f9fa; font-size: 14px; line-height: 1.65; }
.demo-mode:last-child { flex-basis: 100%; }
.demo-mode svg { width: 15px; height: 15px; flex: none; }
.demo-mode[aria-pressed="true"] { border-color: var(--demo-accent); background: var(--demo-accent); color: white; font-weight: 600; }
.demo-mode:hover:not(:disabled) { border-color: #8faec4; }
.demo-mode:disabled { opacity: .4; }
.demo-target { margin-top: 17px; }
.demo-field-label { display: block; font-size: 11px; font-weight: 500; color: #657a8b; margin-bottom: 6px; }
.demo-object-list { display: flex; gap: 5px; flex-wrap: wrap; }
.demo-object { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border: 1px solid #e0e6ec; border-radius: 5px; font-size: 11px; color: #536979; background: white; }
.demo-object[aria-pressed="true"] { background: #f0f5f8; border-color: #a9c0d1; color: var(--deep-blue); }
.demo-object-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.demo-remove-help { margin-top: 14px; color: #758694; font-size: 11px; line-height: 1.75; }
.demo-slider-control { margin-top: 18px; }
.demo-slider-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; font-size: 12px; }
.demo-slider-heading label { color: #5a7081; }
.demo-slider-heading output { color: var(--deep-blue); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.demo-range { display: block; appearance: none; -webkit-appearance: none; width: 100%; margin: 0; height: 5px; border-radius: 5px; background: linear-gradient(to right,#759bb8 0 var(--range-progress,50%),#e4ebf1 var(--range-progress,50%) 100%); cursor: pointer; }
.demo-range::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 17px; height: 17px; border: 3px solid white; border-radius: 50%; background: #315f84; box-shadow: 0 0 0 1px #93aec3,0 2px 4px #315f8420; }
.demo-range::-moz-range-thumb { width: 12px; height: 12px; border: 3px solid white; border-radius: 50%; background: #315f84; box-shadow: 0 0 0 1px #93aec3; }
.demo-ticks { display: flex; justify-content: space-between; margin-top: 9px; }
.demo-ticks button { min-width: 25px; padding: 4px 0; color: #82929f; border: 0; background: transparent; font-size: 9px; font-variant-numeric: tabular-nums; }
.demo-ticks button[aria-pressed="true"] { color: #315f84; font-weight: 700; }
.demo-control-hint { margin-top: 7px; color: #82909c; font-size: 11px; line-height: 1.65; }
.demo-command { margin-top: 17px; padding: 10px 11px; border-left: 2px solid #b1c8da; border-radius: 0 4px 4px 0; background: #f5f8fb; color: #4d6e87; font-size: 11px; line-height: 1.75; min-height: 57px; }
.demo-playback { display: flex; align-items: center; gap: 16px; padding: 12px 21px; border-bottom: 0; background: #fff; }
.demo-play { display: flex; align-items: center; justify-content: center; gap: 7px; flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid #c7d9e7; background: #edf4f9; color: var(--deep-blue); font-size: 15px; white-space: nowrap; }
.demo-play svg { width: 15px; height: 15px; }
.demo-play:disabled { color: #98a7b3; background: #f5f7f9; border-color: #e4eaf0; cursor: default; }
.demo-timeline { min-width: 60px; flex: 1; height: 4px; margin: 0; appearance: none; -webkit-appearance: none; border-radius: 4px; background: #dce5ed; cursor: pointer; }
.demo-timeline::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: #759bb8; }
.demo-timeline::-moz-range-thumb { width: 13px; height: 13px; border: 0; border-radius: 50%; background: #759bb8; }
.demo-timeline:disabled { opacity: .35; }
.demo-time { color: #8a99a5; font-size: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.demo-media-status { font-size: 10px; color: #81919e; text-align: right; flex: none; margin-left: auto; }
.demo-media-status.sr-only { width: 1px; margin: -1px; }
.has-edit-timeline .demo-workspace { grid-template-columns: 1fr; gap: 17px; }
.has-edit-timeline .demo-controls { display: grid; grid-template-columns: auto minmax(0,1fr) 30px; gap: 20px; align-items: center; padding: 0; border: 0; }
.has-edit-timeline .demo-controls-heading { grid-column: 3; grid-row: 1; margin: 0; }
.has-edit-timeline .demo-controls-heading h3 { display: none; }
.has-edit-timeline .demo-mode-list { grid-column: 1; grid-row: 1; }
.has-edit-timeline .demo-mode { flex: none; padding: 6px 12px; }
.has-edit-timeline .demo-edit-time { grid-column: 2; grid-row: 1; justify-self: start; }
.has-edit-timeline .demo-command { padding: 0; border: 0; margin: -1px; min-height: 0; }
.has-edit-timeline .demo-view > figcaption small { display: inline; }
.has-edit-timeline .demo-start-hint strong { font-size: 13px; font-weight: 500; color: #52697c; }


@media (max-width: 1180px) {
  .demo-scene-thumb { width: 48px; }
  .demo-scene-tab { gap: 9px; padding-inline: 9px; }
  .demo-workspace { grid-template-columns: minmax(0,1fr) 224px; gap: 17px; padding: 17px; }
  .demo-controls { padding-left: 16px; }
  .demo-view > figcaption small { display: none; }
  .demo-start-hint strong { font-size: 13px; }
  .demo-start-hint p { font-size: 10px; }
}
@media (max-width: 960px) {
  .demo-workspace { grid-template-columns: 1fr; }
  .demo-controls { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 0 22px; border-left: 0; border-top: 1px solid var(--line); padding: 16px 0 0; }
  .demo-controls-heading { grid-column: 1/-1; }
  .demo-mode-list { grid-column: 1; grid-row: 2 / span 3; align-self: start; }
  .demo-target, .demo-slider-control, .demo-remove-help { grid-column: 2; margin-top: 0; }
  .demo-slider-control, .demo-remove-help { margin-top: 12px; }
  .demo-command { grid-column: 1/-1; min-height: 0; margin-top: 13px; }
  .demo-media-status { max-width: 180px; font-size: 9px; }
}
@media (max-width: 640px) {
  .demo-scenes { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; padding: 7px; }
  .demo-scene-tab { padding: 7px; }
  .demo-scene-tab strong { font-size: 12px; }
  .demo-scene-thumb { width: 42px; }
  .demo-workspace { padding: 14px; gap: 17px; }
  .demo-comparison { grid-template-columns: 1fr; gap: 15px; }
  .demo-view > figcaption { font-size: 12px; margin-bottom: 7px; }
  .demo-view > figcaption small { display: inline; font-size: 9px; }
  .demo-controls { display: block; }
  .demo-mode { flex-basis: calc(33% - 4px); padding-block: 8px; font-size: 13px; }
  .demo-mode:last-child { flex-basis: calc(50% - 3px); }
  .demo-mode:nth-last-child(2) { flex-basis: calc(50% - 3px); }
  .demo-target, .demo-slider-control, .demo-remove-help { margin-top: 17px; }
  .demo-object { font-size: 11px; padding: 6px 9px; }
  .demo-command { font-size: 12px; }
  .demo-ticks button { font-size: 11px; min-height: 32px; }
  .demo-slider-heading { font-size: 12px; }
  .demo-control-hint { font-size: 11px; }
  .demo-playback { padding: 11px 14px; gap: 10px; flex-wrap: wrap; }
  .demo-play { font-size: 14px; padding-inline: 8px; }
  .demo-media-status { max-width: none; width: 100%; text-align: center; margin-top: 2px; }
  .has-edit-timeline .demo-controls { grid-template-columns: minmax(0,1fr) 30px; gap: 28px 12px; padding-bottom: 0; }
  .has-edit-timeline .demo-controls-heading { grid-column: 2; grid-row: 1; }
  .has-edit-timeline .demo-mode-list { grid-column: 1; grid-row: 1; }
  .has-edit-timeline .demo-mode { min-height: 36px; padding-inline: 13px; }
  .has-edit-timeline .demo-edit-time { grid-column: 1/-1; grid-row: 2; max-width: none; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; }
  .has-edit-timeline .demo-edit-time label { grid-column: 1; grid-row: 1; }
  .has-edit-timeline .demo-edit-time output { grid-column: 2; grid-row: 1; }
  .has-edit-timeline .demo-edit-time-track { grid-column: 1/-1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-shell *, .demo-shell *::before, .demo-shell *::after { transition: none !important; }
}

.demo-steps { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; counter-reset: demo-step; font-size: 15px; color: var(--text); }
.demo-steps li { display: flex; align-items: center; gap: 7px; counter-increment: demo-step; }
.demo-steps li::before { content: counter(demo-step); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #f0f1f3; color: #77818c; font-size: 13px; font-weight: 600; }

.demo-edit-label { flex-basis: 100%; font-size: 14px; color: #627889; white-space: nowrap; }
.has-edit-timeline .demo-mode-list { align-items: center; }
.has-edit-timeline .demo-edit-label { flex-basis: auto; margin-right: 7px; }

/* Separate edit type and time without adding another panel. */
@media (min-width: 641px) {
  .has-edit-timeline .demo-edit-time { border-left: 1px solid #dce5ed; padding-left: 26px; margin-left: 6px; width: calc(100% - 6px); }
}

/* Parameter edits share the domino layout, with one additional value row. */
.has-edit-timeline.parameter-demo .demo-slider-control { grid-column: 1 / 3; grid-row: 2; display: grid; grid-template-columns: auto minmax(60px, 1fr) auto; align-items: center; gap: 8px 13px; width: min(510px, 100%); margin: 0; }
.has-edit-timeline.parameter-demo .demo-slider-heading { display: contents; }
.has-edit-timeline.parameter-demo .demo-slider-heading label { grid-column: 1; grid-row: 1; font-size: 14px; color: #627889; }
.has-edit-timeline.parameter-demo .demo-slider-heading output { grid-column: 3; grid-row: 1; }
.has-edit-timeline.parameter-demo .demo-slider-control > .demo-range { grid-column: 2; grid-row: 1; }
.has-edit-timeline.parameter-demo .demo-ticks { grid-column: 2; grid-row: 2; margin: 0; }
@media (max-width: 640px) {
  .has-edit-timeline.parameter-demo .demo-slider-control { grid-column: 1 / -1; grid-row: 3; width: 100%; }
}

.demo-insert-position { position:absolute; transform:translate(-50%,-50%); border:2px dashed #438e64; border-radius:50%; background:#d4eed850; cursor:pointer; pointer-events:auto; padding:0; min-width:24px; transition:background .18s,box-shadow .18s; }
.demo-insert-position:hover, .demo-insert-position[aria-pressed="true"] { background:#54a86688; border-style:solid; box-shadow:0 0 0 5px #7abf8a33; }
.demo-insert-position span { position:absolute; bottom:calc(100% + 7px); left:50%; transform:translateX(-50%); padding:2px 7px; border-radius:4px; background:#f6fff8eb; color:#285f40; font:600 12px system-ui; white-space:nowrap; }
.demo-shell[data-scene="pool"] .demo-insert-position[data-position="0"] span { left:auto; right:calc(100% + 7px); bottom:50%; transform:translateY(50%); }
.demo-shell[data-scene="pool"] .demo-insert-position[data-position="1"] span { top:calc(100% + 7px); bottom:auto; }

.demo-edit-time.is-unchosen output { color: #82929f; }
.demo-edit-time.is-unchosen .demo-range { background: #e4ebf1; }
.demo-edit-time.is-unchosen .demo-range::-webkit-slider-thumb { background: #b8c4ce; box-shadow: 0 0 0 1px #c7d1d9; }
.demo-edit-time.is-unchosen .demo-range::-moz-range-thumb { background: #b8c4ce; box-shadow: 0 0 0 1px #c7d1d9; }

.has-edit-timeline .demo-controls { grid-template-columns: auto minmax(180px,1fr) auto 30px; }
.has-edit-timeline .demo-controls > .demo-play { grid-column: 3; grid-row: 1; }
.has-edit-timeline .demo-controls-heading { grid-column: 4; }
.demo-controls > .demo-play { min-width: 104px; min-height: 44px; padding: 9px 20px; font-size: 17px; font-weight: 750; background: #315f84; border-color: #315f84; color: white; box-shadow: 0 2px 5px #315f8426; }
.demo-controls > .demo-play:hover:not(:disabled) { background: #244b6b; }
.demo-controls > .demo-play:disabled { background: #f0f1f3; border-color: #e2e5e8; color: #88919b; box-shadow: none; }
.demo-controls > .demo-play svg { width: 18px; height: 18px; }
@media (max-width: 1100px) {
  .has-edit-timeline .demo-controls { grid-template-columns: minmax(0,1fr) auto 30px; gap: 22px 12px; }
  .has-edit-timeline .demo-mode-list { grid-column: 1 / 3; grid-row: 1; }
  .has-edit-timeline .demo-controls-heading { grid-column: 3; grid-row: 1; }
  .has-edit-timeline .demo-edit-time { grid-column: 1; grid-row: 2; border-left: 0; padding-left: 0; margin-left: 0; width: 100%; }
  .has-edit-timeline .demo-controls > .demo-play { grid-column: 2 / 4; grid-row: 2; }
  .has-edit-timeline.parameter-demo .demo-slider-control { grid-row: 3; }
}

/* Phone layout follows the controls' visual order without tablet grid overrides. */
@media (max-width: 640px) {
  .demo-scene-tab { justify-content: center; text-align: center; min-height: 44px; }
  .demo-scene-tab:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .demo-steps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; font-size: 12px; }
  .demo-steps li { min-width: 0; gap: 6px; }
  .demo-steps li::before { flex: none; width: 22px; height: 22px; font-size: 12px; }
  .has-edit-timeline .demo-controls { position: relative; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; padding: 0; }
  .has-edit-timeline .demo-controls-heading { position: absolute; top: 0; right: 0; }
  .demo-reset { width: 32px; height: 32px; }
  .has-edit-timeline .demo-mode-list { grid-column: 1 / -1; grid-row: 1; gap: 8px; }
  .has-edit-timeline .demo-edit-label { flex-basis: 100%; min-height: 32px; display: flex; align-items: center; margin: 0; padding-right: 40px; }
  .has-edit-timeline .demo-mode { flex: 1 1 calc(50% - 4px); min-width: 0; min-height: 40px; padding: 7px 8px; }
  .has-edit-timeline .demo-edit-time { grid-column: 1 / -1; grid-row: 2; max-width: none; width: 100%; margin: 0; padding: 0; border: 0; gap: 14px 8px; }
  .demo-edit-stops button::before { display: none; }

  .has-edit-timeline.parameter-demo .demo-slider-control { grid-column: 1 / -1; grid-row: 3; }
  .demo-timeline { min-width: 0; }

  .has-edit-timeline .demo-edit-label,
  .demo-edit-time label { font-size: 13px; font-weight: 600; color: #536979; }
  .demo-edit-time output, .demo-time { font-size: 11px; color: #718493; }
  .demo-edit-time-track { padding: 6px 0 32px; }
  .demo-edit-stops { position: absolute; top: 18px; left: 8.5px; right: 8.5px; height: 24px; margin: 0; display: block; }
  .demo-edit-stops button { position: absolute; transform: translateX(-50%); min-width: 0; min-height: 24px; font-size: 10px; white-space: nowrap; }
  .demo-edit-stops button:first-child { transform: translateX(-25%); }
  .demo-edit-stops button:last-child { transform: translateX(-75%); }
  .demo-playback { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px 12px; padding: 14px; }
  .demo-playback .demo-time { grid-column: 2; grid-row: 1; text-align: right; }
  .has-edit-timeline .demo-controls > .demo-play { grid-column: 1 / -1; grid-row: auto; order: 10; width: 100%; min-height: 48px; margin-top: 4px; }
  .demo-playback .demo-timeline { grid-column: 1; grid-row: 1; width: 100%; height: 5px; margin: 0; }
  .demo-playback .demo-media-status { grid-column: 1 / -1; margin: 0; }
}

/* Desktop demo layout. */
@media (min-width: 901px) {
  .interactive-teaser { display: flex; align-items: center; }
  .demo-workspace { padding: 16px; }
  .has-edit-timeline .demo-workspace { gap: 12px; }
  .demo-comparison { gap: 12px; }
}
.demo-steps li.is-current { color: var(--deep-blue); font-weight: 700; }
.demo-steps li.is-current::before { color: white; background: var(--deep-blue); }
.demo-steps li.is-done::before { content: "✓"; }
.demo-steps li.is-done { color: #718493; }