@citrusworx/juiceui 0.9.0 → 0.9.2

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 (32) hide show
  1. package/README.md +42 -7
  2. package/dist/index.css +1383 -114
  3. package/dist/index.d.ts +16 -0
  4. package/dist/index.js +2174 -913
  5. package/dist/js/juice.d.ts +16 -0
  6. package/dist/js/src/disclosure/disclosure-runtime.d.ts +51 -0
  7. package/dist/js/src/drawer/drawer-runtime.d.ts +6 -0
  8. package/dist/js/src/field/field-runtime.d.ts +53 -0
  9. package/dist/js/src/input/input-runtime.d.ts +55 -0
  10. package/dist/js/src/modal/modal-runtime.d.ts +6 -0
  11. package/dist/js/src/pagination/pagination-runtime.d.ts +79 -0
  12. package/dist/js/src/popover/popover-runtime.d.ts +5 -0
  13. package/dist/js/src/select/select-runtime.d.ts +52 -0
  14. package/dist/js/src/shared/motion.d.ts +48 -0
  15. package/dist/js/src/spinner/spinner-runtime.d.ts +51 -0
  16. package/dist/js/src/textarea/textarea-runtime.d.ts +51 -0
  17. package/dist/js/src/toast/toast-runtime.d.ts +5 -0
  18. package/dist/themes/aquaflux.css +411 -0
  19. package/dist/themes/citrusmint.css +404 -0
  20. package/dist/themes/kiwipress.css +410 -0
  21. package/dist/themes/retro-afterburn.css +2019 -0
  22. package/dist/themes/retro-arcade-glow.css +2019 -0
  23. package/dist/themes/retro-boardwalk.css +2082 -0
  24. package/dist/themes/retro-denim-dial.css +1871 -0
  25. package/dist/themes/retro-forest-radio.css +1871 -0
  26. package/dist/themes/retro-orchard-club.css +1871 -0
  27. package/dist/themes/retro-poolside-pop.css +1871 -0
  28. package/dist/themes/retro-signal-garden.css +1871 -0
  29. package/dist/themes/retro-sunset-motel.css +1871 -0
  30. package/dist/themes/retro-violet-parlor.css +1871 -0
  31. package/dist/themes/tide.css +403 -0
  32. package/package.json +92 -2
@@ -0,0 +1,2019 @@
1
+ @charset "UTF-8";
2
+ /*
3
+ Afterburn is a fully expressed Juice theme contract.
4
+ The theme owns:
5
+ - color relationships
6
+ - typography voice
7
+ - semantic element defaults
8
+ - named themed surfaces
9
+
10
+ Juice still owns:
11
+ - layout
12
+ - spacing
13
+ - structural primitives
14
+ */
15
+ [theme=retro-afterburn] {
16
+ /* Foundation.
17
+ Stepped dark frost from existing page / page-tint / deep / secondary / highlight.
18
+ Alpha-only copies of page collapsed on the charcoal floor, so each step is a
19
+ distinct mix: page → muted → default → strong, with deep as a solid near-black band. */
20
+ --afb-page: #1a1d24;
21
+ --afb-page-tint: #242933;
22
+ --afb-page-deep: #0d0f14;
23
+ --afb-surface: rgb(40.56, 49.4, 64.68);
24
+ --afb-surface-strong: rgb(43.7, 55, 77.32);
25
+ --afb-surface-muted: rgb(28.7584, 35.0256, 46.4432);
26
+ --afb-surface-deep: rgb(14.04, 16.12, 21.28);
27
+ --afb-border: rgba(139, 147, 167, 0.26);
28
+ --afb-border-strong: rgba(255, 106, 0, 0.38);
29
+ --afb-shadow: rgba(13, 15, 20, 0.36);
30
+ /* Typography — soft < muted < body < heading. Inverse is deep ink for accent surfaces. */
31
+ --afb-text: #e8eaef;
32
+ --afb-text-muted: #9aa3b2;
33
+ --afb-text-soft: #8d97aa;
34
+ --afb-text-inverse: #0d0f14;
35
+ --afb-heading: #f4f6fa;
36
+ --afb-body-font: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
37
+ --afb-heading-font: "Archivo Black", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
38
+ /* Accent system */
39
+ --afb-accent: #ff6a00;
40
+ --afb-accent-soft: #ff9a4d;
41
+ --afb-accent-strong: #e85d00;
42
+ --afb-highlight: #5b8def;
43
+ /* Surface recipes */
44
+ --afb-page-background:
45
+ radial-gradient(circle at top left, rgba(91, 141, 239, 0.16), transparent 46%),
46
+ radial-gradient(circle at top right, rgba(255, 106, 0, 0.12), transparent 36%),
47
+ linear-gradient(180deg, #1a1d24 0%, #242933 100%);
48
+ --afb-button-background: linear-gradient(135deg, #ff6a00, #e85d00);
49
+ --afb-card-background:
50
+ linear-gradient(180deg, rgb(41.5, 51, 69.8) 0%, rgb(32.72, 40.48, 54.06) 100%);
51
+ --afb-panel-background:
52
+ linear-gradient(180deg, rgb(32.72, 40.48, 54.06) 0%, rgb(23.35, 26.7, 33.95) 100%);
53
+ /* Charcoal field with a corner ember. Light ink sits on this; inverse stays on solid accent CTAs. */
54
+ --afb-hero-background:
55
+ radial-gradient(circle at 8% -8%, rgba(91, 141, 239, 0.18), transparent 42%),
56
+ radial-gradient(circle at 108% 120%, rgba(255, 106, 0, 0.34), transparent 46%),
57
+ linear-gradient(160deg, #0d0f14 0%, rgb(47.42, 34.88, 30.96) 58%, rgb(80.96, 47.48, 27.36) 100%);
58
+ --afb-stage-background:
59
+ radial-gradient(circle at 18% 20%, rgba(91, 141, 239, 0.14), transparent 28%),
60
+ radial-gradient(circle at 84% 86%, rgba(255, 106, 0, 0.26), transparent 34%),
61
+ linear-gradient(145deg, #0d0f14 0%, rgb(56.6, 37.4, 28.8) 100%);
62
+ --afb-stage-outline: rgba(26, 29, 36, 0.14);
63
+ --afb-stage-shadow: rgba(13, 15, 20, 0.34);
64
+ --afb-chip-background: rgb(44.8, 57, 81.08);
65
+ --afb-buybox-background:
66
+ linear-gradient(180deg, rgb(47, 61, 88.6) 0%, rgb(40.4, 53.6, 74.7) 100%);
67
+ --afb-buybox-shadow: 0 32px 70px -42px rgba(13, 15, 20, 0.24);
68
+ --afb-spec-background:
69
+ linear-gradient(180deg, rgb(39.8, 48, 62.4) 0%, rgb(22.1, 24.8, 31.2) 100%);
70
+ /* Accordion chrome roles — same names as KiwiPress / Citrusmint.
71
+ Bound from existing Afterburn tokens; no new hue family. */
72
+ --afb-trigger: var(--afb-surface-strong);
73
+ --afb-trigger-hover: var(--afb-surface-muted);
74
+ --afb-trigger-open: var(--afb-highlight);
75
+ --afb-chevron: var(--afb-accent);
76
+ --afb-panel-rule: var(--afb-border);
77
+ --afb-focus-ring: var(--afb-accent);
78
+ --afb-item-border: var(--afb-border);
79
+ --afb-item-border-open: var(--afb-border);
80
+ --afb-trigger-accent: var(--afb-accent);
81
+ --afb-panel-well: var(--afb-surface-muted);
82
+ --afb-open-glow: 0 14px 32px -26px var(--afb-shadow);
83
+ --juice-accordion-trigger: var(--afb-trigger);
84
+ --juice-accordion-trigger-hover: var(--afb-trigger-hover);
85
+ --juice-accordion-trigger-open: var(--afb-trigger-open);
86
+ --juice-accordion-chevron: var(--afb-chevron);
87
+ --juice-accordion-panel-rule: var(--afb-panel-rule);
88
+ --juice-accordion-focus-ring: var(--afb-focus-ring);
89
+ --juice-accordion-item-border: var(--afb-item-border);
90
+ --juice-accordion-item-border-open: var(--afb-item-border-open);
91
+ --juice-accordion-trigger-accent: var(--afb-trigger-accent);
92
+ --juice-accordion-panel: var(--afb-panel-well);
93
+ --juice-accordion-open-glow: var(--afb-open-glow);
94
+ --juice-accordion-chevron-size: 0.7rem;
95
+ --juice-accordion-chevron-weight: 2.5px;
96
+ /* Tabs chrome roles — surface/text controls, not the CTA gradient. */
97
+ --afb-tabs-trigger: transparent;
98
+ --afb-tabs-trigger-hover: transparent;
99
+ --afb-tabs-trigger-active: transparent;
100
+ --afb-tabs-text: var(--afb-text);
101
+ --afb-tabs-text-hover: var(--afb-heading);
102
+ --afb-tabs-text-active: var(--afb-accent-soft);
103
+ --afb-tabs-indicator: var(--afb-accent);
104
+ --afb-tabs-list-rule: var(--afb-border);
105
+ --afb-tabs-focus-ring: var(--afb-accent);
106
+ --afb-tabs-panel: var(--afb-panel-well);
107
+ --juice-tabs-trigger: var(--afb-tabs-trigger);
108
+ --juice-tabs-trigger-hover: var(--afb-tabs-trigger-hover);
109
+ --juice-tabs-trigger-active: var(--afb-tabs-trigger-active);
110
+ --juice-tabs-text: var(--afb-tabs-text);
111
+ --juice-tabs-text-hover: var(--afb-tabs-text-hover);
112
+ --juice-tabs-text-active: var(--afb-tabs-text-active);
113
+ --juice-tabs-indicator: var(--afb-tabs-indicator);
114
+ --juice-tabs-list-rule: var(--afb-tabs-list-rule);
115
+ --juice-tabs-focus-ring: var(--afb-tabs-focus-ring);
116
+ --juice-tabs-panel: var(--afb-tabs-panel);
117
+ /* Surface tone roles — soft = default frost, strong = elevated, muted = recess. */
118
+ --juice-surface-soft-bg: var(--afb-surface);
119
+ --juice-surface-soft-border: var(--afb-border);
120
+ --juice-surface-soft-shadow: 0 18px 40px -28px var(--afb-shadow);
121
+ --juice-surface-soft-blur: 14px;
122
+ --juice-surface-strong-bg: var(--afb-surface-strong);
123
+ --juice-surface-strong-border: var(--afb-border-strong);
124
+ --juice-surface-strong-shadow: 0 24px 56px -24px var(--afb-shadow);
125
+ --juice-surface-strong-blur: 0px;
126
+ --juice-surface-muted-bg: var(--afb-surface-muted);
127
+ --juice-surface-muted-border: var(--afb-border);
128
+ --juice-surface-muted-shadow: none;
129
+ --juice-surface-muted-blur: 0px;
130
+ /* Border strength — existing --afb-border tokens; 1px hairline vs 2px rule. */
131
+ --juice-border-strength-soft-width: 1px;
132
+ --juice-border-strength-soft-color: var(--afb-border);
133
+ --juice-border-strength-bold-width: 2px;
134
+ --juice-border-strength-bold-color: var(--afb-border-strong);
135
+ /* Shadow tone — existing blue / purple identity; no new hue family. */
136
+ --juice-shadow-tone-cool-color: var(--afb-shadow);
137
+ --juice-shadow-tone-cool-shadow: 0 18px 40px -28px var(--afb-shadow);
138
+ --juice-shadow-tone-warm-color: color-mix(in srgb, var(--afb-accent-strong) 16%, transparent);
139
+ --juice-shadow-tone-warm-shadow: 0 18px 40px -28px color-mix(in srgb, var(--afb-accent-strong) 16%, transparent);
140
+ /* Overlay — frost veil / page-tint wash; existing tokens only. */
141
+ --juice-overlay-frost-wash: color-mix(in srgb, var(--afb-page) 42%, transparent);
142
+ --juice-overlay-frost-layer: linear-gradient(var(--juice-overlay-frost-wash), var(--juice-overlay-frost-wash));
143
+ --juice-overlay-tint-wash: color-mix(in srgb, var(--afb-page-tint) 38%, transparent);
144
+ --juice-overlay-tint-layer: linear-gradient(var(--juice-overlay-tint-wash), var(--juice-overlay-tint-wash));
145
+ /* Modal chrome — dimming scrim + elevated panel. Close is a surface
146
+ control, not the CTA gradient. Distinct from overlay="frost|tint". */
147
+ --afb-modal-overlay: color-mix(in srgb, var(--afb-page-deep) 62%, transparent);
148
+ --afb-modal-panel: var(--afb-surface-strong);
149
+ --afb-modal-panel-border: var(--afb-border);
150
+ --afb-modal-panel-shadow: 0 24px 56px -24px var(--afb-shadow);
151
+ --afb-modal-close: var(--afb-surface-strong);
152
+ --afb-modal-close-color: var(--afb-heading);
153
+ --afb-modal-close-hover: var(--afb-surface-muted);
154
+ --afb-modal-focus-ring: var(--afb-accent);
155
+ --juice-modal-overlay: var(--afb-modal-overlay);
156
+ --juice-modal-panel: var(--afb-modal-panel);
157
+ --juice-modal-panel-border: var(--afb-modal-panel-border);
158
+ --juice-modal-panel-shadow: var(--afb-modal-panel-shadow);
159
+ --juice-modal-close: var(--afb-modal-close);
160
+ --juice-modal-close-color: var(--afb-modal-close-color);
161
+ --juice-modal-close-hover: var(--afb-modal-close-hover);
162
+ --juice-modal-focus-ring: var(--afb-modal-focus-ring);
163
+ /* Drawer chrome — same identity tokens as modal. Close is a surface
164
+ control, not the CTA gradient. Distinct from overlay="frost|tint". */
165
+ --afb-drawer-overlay: color-mix(in srgb, var(--afb-page-deep) 62%, transparent);
166
+ --afb-drawer-panel: var(--afb-surface-strong);
167
+ --afb-drawer-panel-border: var(--afb-border);
168
+ --afb-drawer-panel-shadow: 0 24px 56px -24px var(--afb-shadow);
169
+ --afb-drawer-close: var(--afb-surface-strong);
170
+ --afb-drawer-close-color: var(--afb-heading);
171
+ --afb-drawer-close-hover: var(--afb-surface-muted);
172
+ --afb-drawer-focus-ring: var(--afb-accent);
173
+ --juice-drawer-overlay: var(--afb-drawer-overlay);
174
+ --juice-drawer-panel: var(--afb-drawer-panel);
175
+ --juice-drawer-panel-border: var(--afb-drawer-panel-border);
176
+ --juice-drawer-panel-shadow: var(--afb-drawer-panel-shadow);
177
+ --juice-drawer-close: var(--afb-drawer-close);
178
+ --juice-drawer-close-color: var(--afb-drawer-close-color);
179
+ --juice-drawer-close-hover: var(--afb-drawer-close-hover);
180
+ --juice-drawer-focus-ring: var(--afb-drawer-focus-ring);
181
+ /* Toast chrome — non-modal stack + panel from existing tokens.
182
+ Close is a surface control, not the CTA gradient. Status accents
183
+ remap Afterburn identity (no new red/green family): accent /
184
+ page-deep / accent-soft / accent-strong. */
185
+ --afb-toast-panel: var(--afb-surface-strong);
186
+ --afb-toast-panel-border: var(--afb-border);
187
+ --afb-toast-panel-shadow: 0 18px 40px -24px var(--afb-shadow);
188
+ --afb-toast-ink: var(--afb-text);
189
+ --afb-toast-close: var(--afb-surface-strong);
190
+ --afb-toast-close-color: var(--afb-heading);
191
+ --afb-toast-close-hover: var(--afb-surface-muted);
192
+ --afb-toast-focus-ring: var(--afb-accent);
193
+ --afb-toast-success: var(--afb-accent);
194
+ --afb-toast-success-soft: color-mix(in srgb, var(--afb-accent) 14%, var(--afb-surface-strong));
195
+ --afb-toast-error: var(--afb-page-deep);
196
+ --afb-toast-error-soft: color-mix(in srgb, var(--afb-page-deep) 12%, var(--afb-surface-strong));
197
+ --afb-toast-info: var(--afb-accent-soft);
198
+ --afb-toast-info-soft: color-mix(in srgb, var(--afb-accent-soft) 18%, var(--afb-surface-strong));
199
+ --afb-toast-warning: var(--afb-accent-strong);
200
+ --afb-toast-warning-soft: color-mix(in srgb, var(--afb-accent-strong) 12%, var(--afb-surface-strong));
201
+ --juice-toast-panel: var(--afb-toast-panel);
202
+ --juice-toast-panel-border: var(--afb-toast-panel-border);
203
+ --juice-toast-panel-shadow: var(--afb-toast-panel-shadow);
204
+ --juice-toast-ink: var(--afb-toast-ink);
205
+ --juice-toast-close: var(--afb-toast-close);
206
+ --juice-toast-close-color: var(--afb-toast-close-color);
207
+ --juice-toast-close-hover: var(--afb-toast-close-hover);
208
+ --juice-toast-focus-ring: var(--afb-toast-focus-ring);
209
+ --juice-toast-success: var(--afb-toast-success);
210
+ --juice-toast-success-soft: var(--afb-toast-success-soft);
211
+ --juice-toast-error: var(--afb-toast-error);
212
+ --juice-toast-error-soft: var(--afb-toast-error-soft);
213
+ --juice-toast-info: var(--afb-toast-info);
214
+ --juice-toast-info-soft: var(--afb-toast-info-soft);
215
+ --juice-toast-warning: var(--afb-toast-warning);
216
+ --juice-toast-warning-soft: var(--afb-toast-warning-soft);
217
+ /* Banner chrome — inline alert / callout from existing tokens.
218
+ Close is a surface control, not the CTA gradient. Status remaps
219
+ Afterburn identity (no new red/green family). Distinct from toast. */
220
+ --afb-banner-panel: var(--afb-surface-strong);
221
+ --afb-banner-panel-border: var(--afb-border);
222
+ --afb-banner-ink: var(--afb-text);
223
+ --afb-banner-close: var(--afb-surface-strong);
224
+ --afb-banner-close-color: var(--afb-heading);
225
+ --afb-banner-close-hover: var(--afb-surface-muted);
226
+ --afb-banner-focus-ring: var(--afb-accent);
227
+ --afb-banner-success: var(--afb-accent);
228
+ --afb-banner-success-soft: color-mix(in srgb, var(--afb-accent) 14%, var(--afb-surface-strong));
229
+ --afb-banner-error: var(--afb-page-deep);
230
+ --afb-banner-error-soft: color-mix(in srgb, var(--afb-page-deep) 12%, var(--afb-surface-strong));
231
+ --afb-banner-info: var(--afb-accent-soft);
232
+ --afb-banner-info-soft: color-mix(in srgb, var(--afb-accent-soft) 18%, var(--afb-surface-strong));
233
+ --afb-banner-warning: var(--afb-accent-strong);
234
+ --afb-banner-warning-soft: color-mix(in srgb, var(--afb-accent-strong) 12%, var(--afb-surface-strong));
235
+ --juice-banner-panel: var(--afb-banner-panel);
236
+ --juice-banner-panel-border: var(--afb-banner-panel-border);
237
+ --juice-banner-ink: var(--afb-banner-ink);
238
+ --juice-banner-close: var(--afb-banner-close);
239
+ --juice-banner-close-color: var(--afb-banner-close-color);
240
+ --juice-banner-close-hover: var(--afb-banner-close-hover);
241
+ --juice-banner-focus-ring: var(--afb-banner-focus-ring);
242
+ --juice-banner-success: var(--afb-banner-success);
243
+ --juice-banner-success-soft: var(--afb-banner-success-soft);
244
+ --juice-banner-error: var(--afb-banner-error);
245
+ --juice-banner-error-soft: var(--afb-banner-error-soft);
246
+ --juice-banner-info: var(--afb-banner-info);
247
+ --juice-banner-info-soft: var(--afb-banner-info-soft);
248
+ --juice-banner-warning: var(--afb-banner-warning);
249
+ --juice-banner-warning-soft: var(--afb-banner-warning-soft);
250
+ /* Popover chrome — anchored floating panel from existing tokens.
251
+ Close is a surface control, not the CTA gradient. Distinct from
252
+ modal/drawer/toast and overlay="frost|tint". */
253
+ --afb-popover-panel: var(--afb-surface-strong);
254
+ --afb-popover-panel-border: var(--afb-border);
255
+ --afb-popover-panel-shadow: 0 18px 40px -24px var(--afb-shadow);
256
+ --afb-popover-ink: var(--afb-text);
257
+ --afb-popover-close: var(--afb-surface-strong);
258
+ --afb-popover-close-color: var(--afb-heading);
259
+ --afb-popover-close-hover: var(--afb-surface-muted);
260
+ --afb-popover-focus-ring: var(--afb-accent);
261
+ --juice-popover-panel: var(--afb-popover-panel);
262
+ --juice-popover-panel-border: var(--afb-popover-panel-border);
263
+ --juice-popover-panel-shadow: var(--afb-popover-panel-shadow);
264
+ --juice-popover-ink: var(--afb-popover-ink);
265
+ --juice-popover-close: var(--afb-popover-close);
266
+ --juice-popover-close-color: var(--afb-popover-close-color);
267
+ --juice-popover-close-hover: var(--afb-popover-close-hover);
268
+ --juice-popover-focus-ring: var(--afb-popover-focus-ring);
269
+ /* Wizard chrome — onboarding shell / rails / steps from existing tokens.
270
+ Distinct from modal/drawer/popover. No new hue family. */
271
+ --afb-wizard-shell: var(--afb-page);
272
+ --afb-wizard-header: var(--afb-surface-strong);
273
+ --afb-wizard-header-border: var(--afb-border);
274
+ --afb-wizard-rail: var(--afb-surface-muted);
275
+ --afb-wizard-rail-border: var(--afb-border);
276
+ --afb-wizard-step: var(--afb-surface-strong);
277
+ --afb-wizard-step-border: var(--afb-border);
278
+ --afb-wizard-step-ink: var(--afb-text-soft);
279
+ --afb-wizard-step-current: var(--afb-accent);
280
+ --afb-wizard-step-complete: var(--afb-accent-strong);
281
+ --afb-wizard-step-on: var(--afb-page);
282
+ --afb-wizard-step-connector: var(--afb-border);
283
+ --afb-wizard-panel: var(--afb-surface-strong);
284
+ --afb-wizard-panel-border: var(--afb-border);
285
+ --afb-wizard-focus-ring: var(--afb-accent);
286
+ --juice-wizard-shell: var(--afb-wizard-shell);
287
+ --juice-wizard-header: var(--afb-wizard-header);
288
+ --juice-wizard-header-border: var(--afb-wizard-header-border);
289
+ --juice-wizard-rail: var(--afb-wizard-rail);
290
+ --juice-wizard-rail-border: var(--afb-wizard-rail-border);
291
+ --juice-wizard-step: var(--afb-wizard-step);
292
+ --juice-wizard-step-border: var(--afb-wizard-step-border);
293
+ --juice-wizard-step-ink: var(--afb-wizard-step-ink);
294
+ --juice-wizard-step-current: var(--afb-wizard-step-current);
295
+ --juice-wizard-step-complete: var(--afb-wizard-step-complete);
296
+ --juice-wizard-step-on: var(--afb-wizard-step-on);
297
+ --juice-wizard-step-connector: var(--afb-wizard-step-connector);
298
+ --juice-wizard-panel: var(--afb-wizard-panel);
299
+ --juice-wizard-panel-border: var(--afb-wizard-panel-border);
300
+ --juice-wizard-focus-ring: var(--afb-wizard-focus-ring);
301
+ /* Tooltip chrome — hover/focus tip from existing tokens. No close,
302
+ no status, no new hue family. Distinct from popover. */
303
+ --afb-tooltip-panel: var(--afb-surface-strong);
304
+ --afb-tooltip-panel-border: var(--afb-border);
305
+ --afb-tooltip-panel-shadow: 0 12px 28px -20px var(--afb-shadow);
306
+ --afb-tooltip-ink: var(--afb-text);
307
+ --juice-tooltip-panel: var(--afb-tooltip-panel);
308
+ --juice-tooltip-panel-border: var(--afb-tooltip-panel-border);
309
+ --juice-tooltip-panel-shadow: var(--afb-tooltip-panel-shadow);
310
+ --juice-tooltip-ink: var(--afb-tooltip-ink);
311
+ /* Combobox chrome — input + listbox popup from existing tokens.
312
+ Trigger is a surface control, not a CTA. Distinct from select. */
313
+ --afb-combobox-input: var(--afb-surface-strong);
314
+ --afb-combobox-input-border: var(--afb-border-strong);
315
+ --afb-combobox-input-ink: var(--afb-text);
316
+ --afb-combobox-list: var(--afb-surface-strong);
317
+ --afb-combobox-list-border: var(--afb-border);
318
+ --afb-combobox-list-shadow: 0 18px 40px -24px var(--afb-shadow);
319
+ --afb-combobox-option: transparent;
320
+ --afb-combobox-option-hover: var(--afb-surface-muted);
321
+ --afb-combobox-option-selected: var(--afb-highlight);
322
+ --afb-combobox-option-ink: var(--afb-text);
323
+ --afb-combobox-trigger: transparent;
324
+ --afb-combobox-trigger-ink: var(--afb-heading);
325
+ --afb-combobox-focus-ring: var(--afb-accent);
326
+ --juice-combobox-input: var(--afb-combobox-input);
327
+ --juice-combobox-input-border: var(--afb-combobox-input-border);
328
+ --juice-combobox-input-ink: var(--afb-combobox-input-ink);
329
+ --juice-combobox-list: var(--afb-combobox-list);
330
+ --juice-combobox-list-border: var(--afb-combobox-list-border);
331
+ --juice-combobox-list-shadow: var(--afb-combobox-list-shadow);
332
+ --juice-combobox-option: var(--afb-combobox-option);
333
+ --juice-combobox-option-hover: var(--afb-combobox-option-hover);
334
+ --juice-combobox-option-selected: var(--afb-combobox-option-selected);
335
+ --juice-combobox-option-ink: var(--afb-combobox-option-ink);
336
+ --juice-combobox-trigger: var(--afb-combobox-trigger);
337
+ --juice-combobox-trigger-ink: var(--afb-combobox-trigger-ink);
338
+ --juice-combobox-focus-ring: var(--afb-combobox-focus-ring);
339
+ /* Menu chrome — APG menu button from existing tokens. Opener is a
340
+ surface control, not a CTA. Distinct from popover / combobox /
341
+ native select. */
342
+ --afb-menu-panel: var(--afb-surface-strong);
343
+ --afb-menu-panel-border: var(--afb-border);
344
+ --afb-menu-panel-shadow: 0 18px 40px -24px var(--afb-shadow);
345
+ --afb-menu-ink: var(--afb-text);
346
+ --afb-menu-item: transparent;
347
+ --afb-menu-item-hover: var(--afb-surface-muted);
348
+ --afb-menu-item-active: var(--afb-highlight);
349
+ --afb-menu-separator: var(--afb-border);
350
+ --afb-menu-focus-ring: var(--afb-accent);
351
+ --afb-menu-opener: var(--afb-surface-strong);
352
+ --afb-menu-opener-ink: var(--afb-heading);
353
+ --juice-menu-panel: var(--afb-menu-panel);
354
+ --juice-menu-panel-border: var(--afb-menu-panel-border);
355
+ --juice-menu-panel-shadow: var(--afb-menu-panel-shadow);
356
+ --juice-menu-ink: var(--afb-menu-ink);
357
+ --juice-menu-item: var(--afb-menu-item);
358
+ --juice-menu-item-hover: var(--afb-menu-item-hover);
359
+ --juice-menu-item-active: var(--afb-menu-item-active);
360
+ --juice-menu-separator: var(--afb-menu-separator);
361
+ --juice-menu-focus-ring: var(--afb-menu-focus-ring);
362
+ --juice-menu-opener: var(--afb-menu-opener);
363
+ --juice-menu-opener-ink: var(--afb-menu-opener-ink);
364
+ /* Switch chrome — APG switch from existing tokens. The host is a
365
+ surface track, not a CTA. Distinct from checkbox / menuitemcheckbox. */
366
+ --afb-switch-track: var(--afb-surface-muted);
367
+ --afb-switch-track-checked: var(--afb-accent);
368
+ --afb-switch-thumb: var(--afb-page);
369
+ --afb-switch-thumb-checked: var(--afb-page);
370
+ --afb-switch-focus-ring: var(--afb-accent);
371
+ --juice-switch-track: var(--afb-switch-track);
372
+ --juice-switch-track-checked: var(--afb-switch-track-checked);
373
+ --juice-switch-thumb: var(--afb-switch-thumb);
374
+ --juice-switch-thumb-checked: var(--afb-switch-thumb-checked);
375
+ --juice-switch-focus-ring: var(--afb-switch-focus-ring);
376
+ /* Slider chrome — APG slider from existing tokens. Horizontal only.
377
+ The track is a surface groove, not a CTA. Distinct from range
378
+ input, progress, and scrollbar. */
379
+ --afb-slider-track: var(--afb-surface-muted);
380
+ --afb-slider-track-border: var(--afb-border);
381
+ --afb-slider-fill: var(--afb-accent);
382
+ --afb-slider-thumb: var(--afb-page);
383
+ --afb-slider-thumb-border: var(--afb-border-strong);
384
+ --afb-slider-thumb-shadow: 0 1px 2px var(--afb-shadow);
385
+ --afb-slider-focus-ring: var(--afb-accent);
386
+ --juice-slider-track: var(--afb-slider-track);
387
+ --juice-slider-track-border: var(--afb-slider-track-border);
388
+ --juice-slider-fill: var(--afb-slider-fill);
389
+ --juice-slider-thumb: var(--afb-slider-thumb);
390
+ --juice-slider-thumb-border: var(--afb-slider-thumb-border);
391
+ --juice-slider-thumb-shadow: var(--afb-slider-thumb-shadow);
392
+ --juice-slider-focus-ring: var(--afb-slider-focus-ring);
393
+ /* Checkbox chrome — APG checkbox from existing tokens. The host is a
394
+ surface box, not a CTA. Binary only. Distinct from switch and
395
+ menuitemcheckbox. */
396
+ --afb-checkbox-control: var(--afb-page);
397
+ --afb-checkbox-control-checked: var(--afb-accent);
398
+ --afb-checkbox-border: var(--afb-border-strong);
399
+ --afb-checkbox-border-checked: var(--afb-accent);
400
+ --afb-checkbox-mark: var(--afb-page);
401
+ --afb-checkbox-focus-ring: var(--afb-accent);
402
+ --juice-checkbox-control: var(--afb-checkbox-control);
403
+ --juice-checkbox-control-checked: var(--afb-checkbox-control-checked);
404
+ --juice-checkbox-border: var(--afb-checkbox-border);
405
+ --juice-checkbox-border-checked: var(--afb-checkbox-border-checked);
406
+ --juice-checkbox-mark: var(--afb-checkbox-mark);
407
+ --juice-checkbox-focus-ring: var(--afb-checkbox-focus-ring);
408
+ /* Radio chrome — APG radio from existing tokens. The host is a surface
409
+ disc, not a CTA. The group is layout-only. Distinct from switch
410
+ and checkbox. */
411
+ --afb-radio-control: var(--afb-page);
412
+ --afb-radio-control-checked: var(--afb-page);
413
+ --afb-radio-border: var(--afb-border-strong);
414
+ --afb-radio-border-checked: var(--afb-accent);
415
+ --afb-radio-mark: var(--afb-accent);
416
+ --afb-radio-focus-ring: var(--afb-accent);
417
+ --juice-radio-control: var(--afb-radio-control);
418
+ --juice-radio-control-checked: var(--afb-radio-control-checked);
419
+ --juice-radio-border: var(--afb-radio-border);
420
+ --juice-radio-border-checked: var(--afb-radio-border-checked);
421
+ --juice-radio-mark: var(--afb-radio-mark);
422
+ --juice-radio-focus-ring: var(--afb-radio-focus-ring);
423
+ /* Breadcrumb chrome — APG trail from existing tokens. Inline, not a
424
+ site nav bar and not a CTA. Surface stays transparent unless a bar
425
+ is wanted. Distinct from tabs, wizard steps, and pagination. */
426
+ --afb-breadcrumb-ink: var(--afb-text-muted);
427
+ --afb-breadcrumb-ink-current: var(--afb-heading);
428
+ --afb-breadcrumb-ink-hover: var(--afb-accent);
429
+ --afb-breadcrumb-separator: var(--afb-border-strong);
430
+ --afb-breadcrumb-focus-ring: var(--afb-accent);
431
+ --afb-breadcrumb-surface: transparent;
432
+ --juice-breadcrumb-ink: var(--afb-breadcrumb-ink);
433
+ --juice-breadcrumb-ink-current: var(--afb-breadcrumb-ink-current);
434
+ --juice-breadcrumb-ink-hover: var(--afb-breadcrumb-ink-hover);
435
+ --juice-breadcrumb-separator: var(--afb-breadcrumb-separator);
436
+ --juice-breadcrumb-focus-ring: var(--afb-breadcrumb-focus-ring);
437
+ --juice-breadcrumb-surface: var(--afb-breadcrumb-surface);
438
+ /* Progress chrome — APG progressbar from existing tokens. The track
439
+ is a surface groove, not a CTA. Distinct from slider, spinner, and
440
+ a native <progress> restyle. Inline status — no overlay. */
441
+ --afb-progress-track: var(--afb-surface-muted);
442
+ --afb-progress-track-border: var(--afb-border);
443
+ --afb-progress-fill: var(--afb-accent);
444
+ --afb-progress-ink: var(--afb-text);
445
+ --afb-progress-focus-ring: var(--afb-accent);
446
+ --juice-progress-track: var(--afb-progress-track);
447
+ --juice-progress-track-border: var(--afb-progress-track-border);
448
+ --juice-progress-fill: var(--afb-progress-fill);
449
+ --juice-progress-ink: var(--afb-progress-ink);
450
+ --juice-progress-focus-ring: var(--afb-progress-focus-ring);
451
+ /* Pagination chrome — chips, not a CTA bar.
452
+ Current fill stays accent; ink on that fill is heading.
453
+ Distinct from breadcrumb, tabs, and wizard steps. */
454
+ --afb-pagination-surface: var(--afb-surface-strong);
455
+ --afb-pagination-surface-hover: var(--afb-surface-muted);
456
+ --afb-pagination-surface-current: var(--afb-accent);
457
+ --afb-pagination-ink: var(--afb-text);
458
+ --afb-pagination-ink-hover: var(--afb-accent);
459
+ --afb-pagination-ink-current: var(--afb-heading);
460
+ --afb-pagination-ink-disabled: var(--afb-text-muted);
461
+ --afb-pagination-border: var(--afb-border);
462
+ --afb-pagination-focus-ring: var(--afb-accent);
463
+ --afb-pagination-ellipsis: var(--afb-text-muted);
464
+ --juice-pagination-surface: var(--afb-pagination-surface);
465
+ --juice-pagination-surface-hover: var(--afb-pagination-surface-hover);
466
+ --juice-pagination-surface-current: var(--afb-pagination-surface-current);
467
+ --juice-pagination-ink: var(--afb-pagination-ink);
468
+ --juice-pagination-ink-hover: var(--afb-pagination-ink-hover);
469
+ --juice-pagination-ink-current: var(--afb-pagination-ink-current);
470
+ --juice-pagination-ink-disabled: var(--afb-pagination-ink-disabled);
471
+ --juice-pagination-border: var(--afb-pagination-border);
472
+ --juice-pagination-focus-ring: var(--afb-pagination-focus-ring);
473
+ --juice-pagination-ellipsis: var(--afb-pagination-ellipsis);
474
+ /* Disclosure chrome — standalone APG disclosure from existing tokens.
475
+ One trigger and one panel. Trigger is a surface, not a CTA.
476
+ Distinct from [accordion]. */
477
+ --afb-disclosure-surface: var(--afb-surface);
478
+ --afb-disclosure-border: var(--afb-border);
479
+ --afb-disclosure-trigger: var(--afb-surface-strong);
480
+ --afb-disclosure-trigger-hover: var(--afb-surface-muted);
481
+ --afb-disclosure-trigger-open: var(--afb-surface-muted);
482
+ --afb-disclosure-ink: var(--afb-text);
483
+ --afb-disclosure-chevron: var(--afb-accent);
484
+ --afb-disclosure-focus-ring: var(--afb-accent);
485
+ --juice-disclosure-surface: var(--afb-disclosure-surface);
486
+ --juice-disclosure-border: var(--afb-disclosure-border);
487
+ --juice-disclosure-trigger: var(--afb-disclosure-trigger);
488
+ --juice-disclosure-trigger-hover: var(--afb-disclosure-trigger-hover);
489
+ --juice-disclosure-trigger-open: var(--afb-disclosure-trigger-open);
490
+ --juice-disclosure-ink: var(--afb-disclosure-ink);
491
+ --juice-disclosure-chevron: var(--afb-disclosure-chevron);
492
+ --juice-disclosure-focus-ring: var(--afb-disclosure-focus-ring);
493
+ /* Spinner chrome — standalone indeterminate busy indicator from existing
494
+ tokens. The ring is a border stroke, not a CTA and not a progress
495
+ bar. Indicator is accent. Ink is text. Inline status — no overlay.
496
+ CSS owns the spin. Runtime is later. */
497
+ --afb-spinner-track: var(--afb-border);
498
+ --afb-spinner-indicator: var(--afb-accent);
499
+ --afb-spinner-ink: var(--afb-text);
500
+ --afb-spinner-focus-ring: var(--afb-accent);
501
+ --juice-spinner-track: var(--afb-spinner-track);
502
+ --juice-spinner-indicator: var(--afb-spinner-indicator);
503
+ --juice-spinner-ink: var(--afb-spinner-ink);
504
+ --juice-spinner-focus-ring: var(--afb-spinner-focus-ring);
505
+ /* Select chrome — styled native <select> from existing tokens.
506
+ Field fill matches the combobox input surface. Not a combobox,
507
+ not a custom listbox, and not a CTA. Chevron is accent.
508
+ The platform popup stays native. Runtime is later. */
509
+ --afb-select-surface: var(--afb-surface-strong);
510
+ --afb-select-border: var(--afb-border-strong);
511
+ --afb-select-ink: var(--afb-text);
512
+ --afb-select-chevron: var(--afb-accent);
513
+ --afb-select-focus-ring: var(--afb-accent);
514
+ --juice-select-surface: var(--afb-select-surface);
515
+ --juice-select-border: var(--afb-select-border);
516
+ --juice-select-ink: var(--afb-select-ink);
517
+ --juice-select-chevron: var(--afb-select-chevron);
518
+ --juice-select-focus-ring: var(--afb-select-focus-ring);
519
+ /* Input chrome — styled native text field from existing tokens.
520
+ Field fill matches the combobox input surface. Not a combobox,
521
+ not a select, and not a CTA. Placeholder follows this theme's
522
+ existing placeholder ink. Text-like types only. Runtime is later. */
523
+ --afb-input-surface: var(--afb-surface-strong);
524
+ --afb-input-border: var(--afb-border-strong);
525
+ --afb-input-ink: var(--afb-text);
526
+ --afb-input-placeholder: var(--afb-text-soft);
527
+ --afb-input-focus-ring: var(--afb-accent);
528
+ --juice-input-surface: var(--afb-input-surface);
529
+ --juice-input-border: var(--afb-input-border);
530
+ --juice-input-ink: var(--afb-input-ink);
531
+ --juice-input-placeholder: var(--afb-input-placeholder);
532
+ --juice-input-focus-ring: var(--afb-input-focus-ring);
533
+ /* Textarea chrome — styled native multi-line field from existing tokens.
534
+ Field fill matches the input surface. Not an input, not a select,
535
+ and not a combobox. Placeholder follows this theme's existing
536
+ placeholder ink. Runtime is later. */
537
+ --afb-textarea-surface: var(--afb-surface-strong);
538
+ --afb-textarea-border: var(--afb-border-strong);
539
+ --afb-textarea-ink: var(--afb-text);
540
+ --afb-textarea-placeholder: var(--afb-text-soft);
541
+ --afb-textarea-focus-ring: var(--afb-accent);
542
+ --juice-textarea-surface: var(--afb-textarea-surface);
543
+ --juice-textarea-border: var(--afb-textarea-border);
544
+ --juice-textarea-ink: var(--afb-textarea-ink);
545
+ --juice-textarea-placeholder: var(--afb-textarea-placeholder);
546
+ --juice-textarea-focus-ring: var(--afb-textarea-focus-ring);
547
+ /* Field chrome — wrapper around a control from existing tokens.
548
+ Surface matches the input field. Help follows this theme's
549
+ placeholder ink. Error ink and the invalid border reuse banner
550
+ error. Not an input, not a textarea, not a select, and not a CTA.
551
+ Runtime is later. */
552
+ --afb-field-surface: var(--afb-surface-strong);
553
+ --afb-field-gap: 0.5rem;
554
+ --afb-field-label-ink: var(--afb-text);
555
+ --afb-field-help-ink: var(--afb-text-soft);
556
+ --afb-field-error-ink: var(--afb-banner-error);
557
+ --afb-field-invalid-border: var(--afb-banner-error);
558
+ --juice-field-surface: var(--afb-field-surface);
559
+ --juice-field-gap: var(--afb-field-gap);
560
+ --juice-field-label-ink: var(--afb-field-label-ink);
561
+ --juice-field-help-ink: var(--afb-field-help-ink);
562
+ --juice-field-error-ink: var(--afb-field-error-ink);
563
+ --juice-field-invalid-border: var(--afb-field-invalid-border);
564
+ background-color: var(--afb-page);
565
+ background-image: var(--afb-page-background);
566
+ color: var(--afb-text);
567
+ font-family: var(--afb-body-font);
568
+ line-height: 1.6;
569
+ }
570
+
571
+ /* Theme root behavior */
572
+ [theme=retro-afterburn] :where(main) {
573
+ background: transparent;
574
+ color: inherit;
575
+ }
576
+
577
+ [theme=retro-afterburn] :where(div) {
578
+ background-color: transparent;
579
+ color: inherit;
580
+ }
581
+
582
+ /* Semantic defaults — KiwiPress denseness on a dark floor.
583
+ Section/article stay on the quiet recess. Nav (especially bar/sidebar)
584
+ is the elevated strong step. Footer is the deep band, not another frost box. */
585
+ [theme=retro-afterburn] :where(section, article) {
586
+ background-color: var(--afb-surface-muted);
587
+ color: var(--afb-text);
588
+ border: 1px solid var(--afb-border);
589
+ box-shadow: none;
590
+ -webkit-backdrop-filter: blur(10px);
591
+ backdrop-filter: blur(10px);
592
+ }
593
+
594
+ [theme=retro-afterburn] :where(aside, form) {
595
+ background-color: var(--afb-surface);
596
+ color: var(--afb-text);
597
+ border: 1px solid var(--afb-border);
598
+ box-shadow: 0 18px 40px -28px var(--afb-shadow);
599
+ -webkit-backdrop-filter: blur(12px);
600
+ backdrop-filter: blur(12px);
601
+ }
602
+
603
+ [theme=retro-afterburn] :where(header) {
604
+ background-color: var(--afb-surface-muted);
605
+ color: var(--afb-text);
606
+ border: none;
607
+ border-bottom: 1px solid var(--afb-border);
608
+ box-shadow: none;
609
+ -webkit-backdrop-filter: blur(10px);
610
+ backdrop-filter: blur(10px);
611
+ }
612
+
613
+ [theme=retro-afterburn] :where(main > header) {
614
+ background: transparent;
615
+ background-image: none;
616
+ border: none;
617
+ box-shadow: none;
618
+ -webkit-backdrop-filter: none;
619
+ backdrop-filter: none;
620
+ color: var(--afb-text);
621
+ }
622
+
623
+ [theme=retro-afterburn] :where(nav) {
624
+ background-color: var(--afb-surface-strong);
625
+ color: var(--afb-text);
626
+ border: none;
627
+ border-bottom: 1px solid var(--afb-border);
628
+ box-shadow: 0 18px 40px -28px var(--afb-shadow);
629
+ -webkit-backdrop-filter: blur(14px);
630
+ backdrop-filter: blur(14px);
631
+ }
632
+
633
+ [theme=retro-afterburn] :where(nav[type=bar], nav[type=sidebar]) {
634
+ background-color: var(--afb-surface-strong);
635
+ border: 1px solid var(--afb-border-strong);
636
+ }
637
+
638
+ [theme=retro-afterburn] :where(footer) {
639
+ background-color: var(--afb-surface-deep);
640
+ color: var(--afb-text);
641
+ border: none;
642
+ border-top: 1px solid var(--afb-border-strong);
643
+ box-shadow: none;
644
+ -webkit-backdrop-filter: none;
645
+ backdrop-filter: none;
646
+ }
647
+
648
+ /* Typography hierarchy */
649
+ [theme=retro-afterburn] :where(h1, h2, h3, h4, h5, h6) {
650
+ color: var(--afb-heading);
651
+ font-family: var(--afb-heading-font);
652
+ font-weight: 900;
653
+ letter-spacing: -0.03em;
654
+ line-height: 1.08;
655
+ }
656
+
657
+ [theme=retro-afterburn] :where(p, span, li, label, dt, dd, blockquote) {
658
+ color: var(--afb-text);
659
+ font-family: var(--afb-body-font);
660
+ line-height: 1.6;
661
+ }
662
+
663
+ [theme=retro-afterburn] :where(small, figcaption) {
664
+ color: var(--afb-text-soft);
665
+ font-family: var(--afb-body-font);
666
+ line-height: 1.55;
667
+ }
668
+
669
+ [theme=retro-afterburn] :where(strong, b) {
670
+ color: var(--afb-heading);
671
+ }
672
+
673
+ /* Links and emphasis */
674
+ [theme=retro-afterburn] :where(a) {
675
+ color: var(--afb-accent-soft);
676
+ text-decoration-color: rgba(255, 154, 77, 0.45);
677
+ }
678
+
679
+ [theme=retro-afterburn] :where(a:hover, a:focus-visible) {
680
+ color: var(--afb-heading);
681
+ }
682
+
683
+ /* Controls */
684
+ [theme=retro-afterburn] :where(button, input, textarea, select) {
685
+ background-color: var(--afb-surface-strong);
686
+ color: var(--afb-text);
687
+ border: 1px solid var(--afb-border-strong);
688
+ font-family: var(--afb-body-font);
689
+ box-shadow: 0 14px 32px -26px var(--afb-shadow);
690
+ }
691
+
692
+ [theme=retro-afterburn] :where(button) {
693
+ background-image: var(--afb-button-background);
694
+ color: #1a1d24;
695
+ border-color: transparent;
696
+ }
697
+
698
+ [theme=retro-afterburn] :where(button:hover, button:focus-visible) {
699
+ box-shadow: 0 18px 38px -24px rgba(13, 15, 20, 0.24);
700
+ }
701
+
702
+ /* Outline / secondary are surface controls, not CTAs — clear the CTA gradient. */
703
+ [theme=retro-afterburn] :where(button[btn=secondary]) {
704
+ background-image: none;
705
+ background-color: transparent;
706
+ color: var(--afb-text-muted);
707
+ border: 1px solid var(--afb-border);
708
+ }
709
+
710
+ [theme=retro-afterburn] :where(button[btn=secondary]:hover, button[btn=secondary]:focus-visible) {
711
+ background-color: var(--afb-surface-muted);
712
+ box-shadow: none;
713
+ }
714
+
715
+ [theme=retro-afterburn] :where(button[btn=outline]) {
716
+ background-image: none;
717
+ background-color: transparent;
718
+ color: var(--afb-heading);
719
+ border: 2px solid var(--afb-accent);
720
+ }
721
+
722
+ [theme=retro-afterburn] :where(button[btn=outline]:hover, button[btn=outline]:focus-visible) {
723
+ background-color: var(--afb-accent);
724
+ color: #140c05;
725
+ box-shadow: none;
726
+ }
727
+
728
+ [theme=retro-afterburn] :where(input::placeholder, textarea::placeholder) {
729
+ color: var(--afb-text-soft);
730
+ }
731
+
732
+ [theme=retro-afterburn] :where(input:focus-visible, textarea:focus-visible, select:focus-visible) {
733
+ outline: 2px solid rgba(139, 147, 167, 0.28);
734
+ outline-offset: 2px;
735
+ }
736
+
737
+ [theme=retro-afterburn] :where(code, pre) {
738
+ background-color: rgba(36, 41, 51, 0.9);
739
+ color: var(--afb-heading);
740
+ border: 1px solid var(--afb-border);
741
+ }
742
+
743
+ [theme=retro-afterburn] :where(hr) {
744
+ border: none;
745
+ border-top: 1px solid var(--afb-border);
746
+ }
747
+
748
+ [theme=retro-afterburn] :where(ul, ol) {
749
+ color: var(--afb-text);
750
+ }
751
+
752
+ /* Named surfaces and Juice primitives share one recipe each.
753
+ [card]/[afb-card] elevated, [panel]/[afb-panel] quiet, [hero]/[afb-hero] marquee.
754
+ Captions stay on soft; card body secondary stays muted. */
755
+ [theme=retro-afterburn][card],
756
+ [theme=retro-afterburn] [card],
757
+ [theme=retro-afterburn][afb-card],
758
+ [theme=retro-afterburn] [afb-card] {
759
+ background: var(--afb-card-background);
760
+ color: var(--afb-text);
761
+ border: 1px solid var(--afb-border-strong);
762
+ box-shadow: 0 28px 70px -42px var(--afb-shadow);
763
+ }
764
+
765
+ [theme=retro-afterburn][card] :where(h1, h2, h3, h4, h5, h6),
766
+ [theme=retro-afterburn] [card] :where(h1, h2, h3, h4, h5, h6),
767
+ [theme=retro-afterburn][afb-card] :where(h1, h2, h3, h4, h5, h6),
768
+ [theme=retro-afterburn] [afb-card] :where(h1, h2, h3, h4, h5, h6) {
769
+ color: var(--afb-heading);
770
+ }
771
+
772
+ [theme=retro-afterburn][card] :where(p, span, li),
773
+ [theme=retro-afterburn] [card] :where(p, span, li),
774
+ [theme=retro-afterburn][afb-card] :where(p, span, li),
775
+ [theme=retro-afterburn] [afb-card] :where(p, span, li) {
776
+ color: var(--afb-text-muted);
777
+ }
778
+
779
+ [theme=retro-afterburn][card] :where(strong, b),
780
+ [theme=retro-afterburn] [card] :where(strong, b),
781
+ [theme=retro-afterburn][afb-card] :where(strong, b),
782
+ [theme=retro-afterburn] [afb-card] :where(strong, b) {
783
+ color: var(--afb-heading);
784
+ }
785
+
786
+ [theme=retro-afterburn][panel],
787
+ [theme=retro-afterburn] [panel],
788
+ [theme=retro-afterburn][afb-panel],
789
+ [theme=retro-afterburn] [afb-panel] {
790
+ background: var(--afb-panel-background);
791
+ color: var(--afb-text);
792
+ border: 1px solid var(--afb-border);
793
+ box-shadow: 0 22px 56px -40px var(--afb-shadow);
794
+ }
795
+
796
+ [theme=retro-afterburn][panel] :where(h1, h2, h3, h4, h5, h6),
797
+ [theme=retro-afterburn] [panel] :where(h1, h2, h3, h4, h5, h6),
798
+ [theme=retro-afterburn][afb-panel] :where(h1, h2, h3, h4, h5, h6),
799
+ [theme=retro-afterburn] [afb-panel] :where(h1, h2, h3, h4, h5, h6) {
800
+ color: var(--afb-heading);
801
+ }
802
+
803
+ [theme=retro-afterburn][panel] :where(p, span, li),
804
+ [theme=retro-afterburn] [panel] :where(p, span, li),
805
+ [theme=retro-afterburn][afb-panel] :where(p, span, li),
806
+ [theme=retro-afterburn] [afb-panel] :where(p, span, li) {
807
+ color: var(--afb-text);
808
+ }
809
+
810
+ [theme=retro-afterburn][panel] :where(strong, b),
811
+ [theme=retro-afterburn] [panel] :where(strong, b),
812
+ [theme=retro-afterburn][afb-panel] :where(strong, b),
813
+ [theme=retro-afterburn] [afb-panel] :where(strong, b) {
814
+ color: var(--afb-heading);
815
+ }
816
+
817
+ [theme=retro-afterburn][hero],
818
+ [theme=retro-afterburn] [hero],
819
+ [theme=retro-afterburn][afb-hero],
820
+ [theme=retro-afterburn] [afb-hero] {
821
+ background: var(--afb-hero-background);
822
+ color: var(--afb-text);
823
+ border: 1px solid rgba(255, 106, 0, 0.28);
824
+ box-shadow: 0 36px 90px -48px rgba(13, 15, 20, 0.45);
825
+ }
826
+
827
+ [theme=retro-afterburn][hero] :where(h1, h2, h3, h4, h5, h6),
828
+ [theme=retro-afterburn] [hero] :where(h1, h2, h3, h4, h5, h6),
829
+ [theme=retro-afterburn][afb-hero] :where(h1, h2, h3, h4, h5, h6),
830
+ [theme=retro-afterburn] [afb-hero] :where(h1, h2, h3, h4, h5, h6) {
831
+ color: var(--afb-heading);
832
+ }
833
+
834
+ [theme=retro-afterburn][hero] :where(p, span, li),
835
+ [theme=retro-afterburn] [hero] :where(p, span, li),
836
+ [theme=retro-afterburn][afb-hero] :where(p, span, li),
837
+ [theme=retro-afterburn] [afb-hero] :where(p, span, li) {
838
+ color: var(--afb-text);
839
+ }
840
+
841
+ [theme=retro-afterburn][hero] :where(a),
842
+ [theme=retro-afterburn] [hero] :where(a),
843
+ [theme=retro-afterburn][afb-hero] :where(a),
844
+ [theme=retro-afterburn] [afb-hero] :where(a) {
845
+ color: var(--afb-accent-soft);
846
+ }
847
+
848
+ [theme=retro-afterburn][hero] :where(small, figcaption),
849
+ [theme=retro-afterburn] [hero] :where(small, figcaption),
850
+ [theme=retro-afterburn][afb-hero] :where(small, figcaption),
851
+ [theme=retro-afterburn] [afb-hero] :where(small, figcaption) {
852
+ color: var(--afb-text-muted);
853
+ }
854
+
855
+ /* [cta] uses the in-family accent → accent-strong recipe. Inverse ink on the orange band. */
856
+ [theme=retro-afterburn][cta],
857
+ [theme=retro-afterburn] [cta] {
858
+ background: var(--afb-button-background);
859
+ color: var(--afb-text-inverse);
860
+ border: 1px solid transparent;
861
+ box-shadow: 0 28px 70px -42px var(--afb-shadow);
862
+ }
863
+
864
+ [theme=retro-afterburn][cta] :where(h1, h2, h3, h4, h5, h6),
865
+ [theme=retro-afterburn] [cta] :where(h1, h2, h3, h4, h5, h6) {
866
+ color: var(--afb-text-inverse);
867
+ }
868
+
869
+ [theme=retro-afterburn][cta] :where(p, span, li, a),
870
+ [theme=retro-afterburn] [cta] :where(p, span, li, a) {
871
+ color: var(--afb-text-inverse);
872
+ }
873
+
874
+ [theme=retro-afterburn][cta] :where(small, figcaption),
875
+ [theme=retro-afterburn] [cta] :where(small, figcaption) {
876
+ color: color-mix(in srgb, var(--afb-text-inverse) 72%, var(--afb-accent-soft));
877
+ }
878
+
879
+ [theme=retro-afterburn][cta] :where(button),
880
+ [theme=retro-afterburn] [cta] :where(button) {
881
+ background: var(--afb-text-inverse);
882
+ color: var(--afb-heading);
883
+ border-color: transparent;
884
+ }
885
+
886
+ [theme=retro-afterburn][afb-stage],
887
+ [theme=retro-afterburn] [afb-stage] {
888
+ background: var(--afb-stage-background);
889
+ color: var(--afb-text);
890
+ border: 1px solid var(--afb-stage-outline);
891
+ box-shadow: 0 44px 100px -54px var(--afb-stage-shadow);
892
+ overflow: hidden;
893
+ position: relative;
894
+ }
895
+
896
+ [theme=retro-afterburn][afb-stage]::before,
897
+ [theme=retro-afterburn] [afb-stage]::before {
898
+ content: "";
899
+ position: absolute;
900
+ inset: 1.25rem;
901
+ border: 1px solid rgba(26, 29, 36, 0.08);
902
+ border-radius: 1.25rem;
903
+ pointer-events: none;
904
+ }
905
+
906
+ [theme=retro-afterburn][afb-stage] :where(h1, h2, h3, h4, h5, h6, strong, b),
907
+ [theme=retro-afterburn] [afb-stage] :where(h1, h2, h3, h4, h5, h6, strong, b) {
908
+ color: var(--afb-heading);
909
+ }
910
+
911
+ [theme=retro-afterburn][afb-stage] :where(p, span, li),
912
+ [theme=retro-afterburn] [afb-stage] :where(p, span, li) {
913
+ color: var(--afb-text);
914
+ }
915
+
916
+ [theme=retro-afterburn][afb-stage] :where(a),
917
+ [theme=retro-afterburn] [afb-stage] :where(a) {
918
+ color: var(--afb-accent-soft);
919
+ }
920
+
921
+ [theme=retro-afterburn][afb-stage] :where(small, figcaption),
922
+ [theme=retro-afterburn] [afb-stage] :where(small, figcaption) {
923
+ color: var(--afb-text-muted);
924
+ }
925
+
926
+ [theme=retro-afterburn][afb-chip],
927
+ [theme=retro-afterburn] [afb-chip] {
928
+ background: var(--afb-chip-background);
929
+ color: var(--afb-heading);
930
+ border: 1px solid rgba(61, 111, 212, 0.34);
931
+ box-shadow: 0 18px 40px -30px rgba(13, 15, 20, 0.18);
932
+ }
933
+
934
+ [theme=retro-afterburn][afb-buybox],
935
+ [theme=retro-afterburn] [afb-buybox] {
936
+ background: var(--afb-buybox-background);
937
+ color: var(--afb-text);
938
+ border: 1px solid rgba(61, 111, 212, 0.3);
939
+ box-shadow: var(--afb-buybox-shadow);
940
+ }
941
+
942
+ [theme=retro-afterburn][afb-buybox] :where(h1, h2, h3, h4, h5, h6, strong, b),
943
+ [theme=retro-afterburn] [afb-buybox] :where(h1, h2, h3, h4, h5, h6, strong, b) {
944
+ color: var(--afb-heading);
945
+ }
946
+
947
+ [theme=retro-afterburn][afb-spec],
948
+ [theme=retro-afterburn] [afb-spec] {
949
+ background: var(--afb-spec-background);
950
+ color: var(--afb-text);
951
+ border: 1px solid rgba(61, 111, 212, 0.26);
952
+ box-shadow: 0 20px 46px -34px rgba(13, 15, 20, 0.15);
953
+ }
954
+
955
+ /* Nested surfaces inside the hero should retain their own readable contrast. */
956
+ [theme=retro-afterburn][hero] :where([card], [panel], [afb-card], [afb-panel]),
957
+ [theme=retro-afterburn] [hero] :where([card], [panel], [afb-card], [afb-panel]),
958
+ [theme=retro-afterburn][afb-hero] :where([card], [panel], [afb-card], [afb-panel]),
959
+ [theme=retro-afterburn] [afb-hero] :where([card], [panel], [afb-card], [afb-panel]) {
960
+ color: var(--afb-text);
961
+ }
962
+
963
+ [theme=retro-afterburn][hero] :where([card], [panel], [afb-card], [afb-panel]) :where(h1, h2, h3, h4, h5, h6, strong, b),
964
+ [theme=retro-afterburn] [hero] :where([card], [panel], [afb-card], [afb-panel]) :where(h1, h2, h3, h4, h5, h6, strong, b),
965
+ [theme=retro-afterburn][afb-hero] :where([card], [panel], [afb-card], [afb-panel]) :where(h1, h2, h3, h4, h5, h6, strong, b),
966
+ [theme=retro-afterburn] [afb-hero] :where([card], [panel], [afb-card], [afb-panel]) :where(h1, h2, h3, h4, h5, h6, strong, b) {
967
+ color: var(--afb-heading);
968
+ }
969
+
970
+ [theme=retro-afterburn][hero] :where([card], [panel], [afb-card], [afb-panel]) :where(p, span, li, a),
971
+ [theme=retro-afterburn] [hero] :where([card], [panel], [afb-card], [afb-panel]) :where(p, span, li, a),
972
+ [theme=retro-afterburn][afb-hero] :where([card], [panel], [afb-card], [afb-panel]) :where(p, span, li, a),
973
+ [theme=retro-afterburn] [afb-hero] :where([card], [panel], [afb-card], [afb-panel]) :where(p, span, li, a) {
974
+ color: var(--afb-text-muted);
975
+ }
976
+
977
+ [theme=retro-afterburn][hero] :where([card], [panel], [afb-card], [afb-panel]) :where(small, figcaption),
978
+ [theme=retro-afterburn] [hero] :where([card], [panel], [afb-card], [afb-panel]) :where(small, figcaption),
979
+ [theme=retro-afterburn][afb-hero] :where([card], [panel], [afb-card], [afb-panel]) :where(small, figcaption),
980
+ [theme=retro-afterburn] [afb-hero] :where([card], [panel], [afb-card], [afb-panel]) :where(small, figcaption) {
981
+ color: var(--afb-text-soft);
982
+ }
983
+
984
+ /* Accordion wrappers are structural, not named surfaces.
985
+ Group FAQ stacks in [afb-card] / [afb-panel] instead.
986
+ Fill / chevron / focus / panel-rule come from --juice-accordion-* roles. */
987
+ [theme=retro-afterburn] :where([accordion]) {
988
+ background: transparent;
989
+ background-image: none;
990
+ border: none;
991
+ box-shadow: none;
992
+ -webkit-backdrop-filter: none;
993
+ backdrop-filter: none;
994
+ }
995
+
996
+ /* Generic Afterburn buttons use --afb-button-background (CTA gradient).
997
+ Accordion triggers are surface controls, not primary actions.
998
+ Slice A extras (heading ink, hairline, shadow) stay here; fills use roles. */
999
+ [theme=retro-afterburn] button[accordion-item] {
1000
+ background-image: none;
1001
+ background-color: var(--juice-accordion-trigger);
1002
+ color: var(--afb-heading);
1003
+ border: 1px solid var(--afb-border);
1004
+ box-shadow: 0 14px 32px -26px var(--afb-shadow);
1005
+ }
1006
+
1007
+ [theme=retro-afterburn] button[accordion-item]::after {
1008
+ border-color: var(--juice-accordion-chevron);
1009
+ }
1010
+
1011
+ [theme=retro-afterburn] button[accordion-item]:hover {
1012
+ border-color: var(--afb-border-strong);
1013
+ background-color: var(--juice-accordion-trigger-hover);
1014
+ color: var(--afb-heading);
1015
+ }
1016
+
1017
+ [theme=retro-afterburn] button[accordion-item]:focus-visible {
1018
+ outline: 2px solid var(--juice-accordion-focus-ring);
1019
+ outline-offset: 2px;
1020
+ box-shadow: 0 14px 32px -26px var(--afb-shadow);
1021
+ }
1022
+
1023
+ [theme=retro-afterburn] button[accordion-item][aria-expanded=true] {
1024
+ background-color: var(--juice-accordion-trigger-open);
1025
+ background-image: none;
1026
+ color: var(--afb-heading);
1027
+ border-color: var(--afb-border-strong);
1028
+ }
1029
+
1030
+ [theme=retro-afterburn] [accordion] [role=region] {
1031
+ color: var(--afb-text);
1032
+ background-color: var(--afb-surface-muted);
1033
+ border: 1px solid var(--juice-accordion-panel-rule);
1034
+ border-radius: 0.75rem;
1035
+ /* Slice A framed the panel; skip the shared inset rule. */
1036
+ box-shadow: none;
1037
+ }
1038
+
1039
+ /* Tabs wrappers are structural. Generic Afterburn buttons use the CTA gradient;
1040
+ tab triggers stay surface/text controls. */
1041
+ [theme=retro-afterburn] :where([tabs]) {
1042
+ background: transparent;
1043
+ background-image: none;
1044
+ border: none;
1045
+ box-shadow: none;
1046
+ -webkit-backdrop-filter: none;
1047
+ backdrop-filter: none;
1048
+ }
1049
+
1050
+ [theme=retro-afterburn] [tabs]:not(:has([tabs-list], [tab-panel])),
1051
+ [theme=retro-afterburn] [tabs-list] {
1052
+ border-bottom-color: var(--juice-tabs-list-rule);
1053
+ }
1054
+
1055
+ [theme=retro-afterburn] button[tab],
1056
+ [theme=retro-afterburn] [tabs] > button,
1057
+ [theme=retro-afterburn] [tabs-list] > button {
1058
+ background-image: none;
1059
+ background-color: var(--juice-tabs-trigger);
1060
+ color: var(--juice-tabs-text);
1061
+ border: none;
1062
+ border-bottom: 2px solid transparent;
1063
+ border-radius: 0;
1064
+ box-shadow: none;
1065
+ transform: none;
1066
+ }
1067
+
1068
+ [theme=retro-afterburn] button[tab]:hover,
1069
+ [theme=retro-afterburn] [tabs] > button:hover,
1070
+ [theme=retro-afterburn] [tabs-list] > button:hover {
1071
+ background-image: none;
1072
+ background-color: var(--juice-tabs-trigger-hover);
1073
+ color: var(--juice-tabs-text-hover);
1074
+ box-shadow: none;
1075
+ transform: none;
1076
+ }
1077
+
1078
+ [theme=retro-afterburn] button[tab]:focus-visible,
1079
+ [theme=retro-afterburn] [tabs] > button:focus-visible,
1080
+ [theme=retro-afterburn] [tabs-list] > button:focus-visible {
1081
+ outline: 2px solid var(--juice-tabs-focus-ring);
1082
+ outline-offset: 2px;
1083
+ box-shadow: none;
1084
+ }
1085
+
1086
+ [theme=retro-afterburn] button[tab][active],
1087
+ [theme=retro-afterburn] button[tab][aria-selected=true],
1088
+ [theme=retro-afterburn] [tabs] > button[active],
1089
+ [theme=retro-afterburn] [tabs] > button[aria-selected=true],
1090
+ [theme=retro-afterburn] [tabs-list] > button[active],
1091
+ [theme=retro-afterburn] [tabs-list] > button[aria-selected=true] {
1092
+ background-image: none;
1093
+ background-color: var(--juice-tabs-trigger-active);
1094
+ color: var(--juice-tabs-text-active);
1095
+ border-bottom-color: var(--juice-tabs-indicator);
1096
+ }
1097
+
1098
+ [theme=retro-afterburn] [tab-panel] {
1099
+ color: var(--afb-text);
1100
+ }
1101
+
1102
+ /* Modal chrome. Generic Afterburn buttons use the CTA gradient;
1103
+ [modal-close] stays a surface control. Runtime is slice B. */
1104
+ [theme=retro-afterburn] [modal-overlay] {
1105
+ background-color: var(--juice-modal-overlay);
1106
+ }
1107
+
1108
+ [theme=retro-afterburn] [modal]:not([surfaceTone]) {
1109
+ background-color: var(--juice-modal-panel);
1110
+ border: 1px solid var(--juice-modal-panel-border);
1111
+ box-shadow: var(--juice-modal-panel-shadow);
1112
+ }
1113
+
1114
+ [theme=retro-afterburn] button[modal-close],
1115
+ [theme=retro-afterburn] [modal-close] {
1116
+ background-image: none;
1117
+ background-color: var(--juice-modal-close);
1118
+ color: var(--juice-modal-close-color);
1119
+ box-shadow: none;
1120
+ transform: none;
1121
+ }
1122
+
1123
+ [theme=retro-afterburn] button[modal-close]:hover,
1124
+ [theme=retro-afterburn] [modal-close]:hover {
1125
+ background-image: none;
1126
+ background-color: var(--juice-modal-close-hover);
1127
+ color: var(--juice-modal-close-color);
1128
+ transform: none;
1129
+ }
1130
+
1131
+ [theme=retro-afterburn] button[modal-close]:focus-visible,
1132
+ [theme=retro-afterburn] [modal-close]:focus-visible {
1133
+ outline: 2px solid var(--juice-modal-focus-ring);
1134
+ outline-offset: 2px;
1135
+ }
1136
+
1137
+ /* Drawer chrome. Generic Afterburn buttons use the CTA gradient;
1138
+ [drawer-close] stays a surface control. Runtime is later. */
1139
+ [theme=retro-afterburn] [drawer-overlay] {
1140
+ background-color: var(--juice-drawer-overlay);
1141
+ }
1142
+
1143
+ [theme=retro-afterburn] [drawer]:not([surfaceTone]) {
1144
+ background-color: var(--juice-drawer-panel);
1145
+ border: 1px solid var(--juice-drawer-panel-border);
1146
+ box-shadow: var(--juice-drawer-panel-shadow);
1147
+ }
1148
+
1149
+ [theme=retro-afterburn] button[drawer-close],
1150
+ [theme=retro-afterburn] [drawer-close] {
1151
+ background-image: none;
1152
+ background-color: var(--juice-drawer-close);
1153
+ color: var(--juice-drawer-close-color);
1154
+ box-shadow: none;
1155
+ transform: none;
1156
+ }
1157
+
1158
+ [theme=retro-afterburn] button[drawer-close]:hover,
1159
+ [theme=retro-afterburn] [drawer-close]:hover {
1160
+ background-image: none;
1161
+ background-color: var(--juice-drawer-close-hover);
1162
+ color: var(--juice-drawer-close-color);
1163
+ transform: none;
1164
+ }
1165
+
1166
+ [theme=retro-afterburn] button[drawer-close]:focus-visible,
1167
+ [theme=retro-afterburn] [drawer-close]:focus-visible {
1168
+ outline: 2px solid var(--juice-drawer-focus-ring);
1169
+ outline-offset: 2px;
1170
+ }
1171
+
1172
+ /* Toast chrome. Generic Afterburn buttons use the CTA gradient;
1173
+ [toast-close] stays a surface control. Runtime is later. */
1174
+ [theme=retro-afterburn] [toast]:not([surfaceTone]) {
1175
+ background-color: var(--juice-toast-panel);
1176
+ border: 1px solid var(--juice-toast-panel-border);
1177
+ box-shadow: var(--juice-toast-panel-shadow);
1178
+ color: var(--juice-toast-ink);
1179
+ }
1180
+
1181
+ [theme=retro-afterburn] [toast-title],
1182
+ [theme=retro-afterburn] [toast-body] {
1183
+ color: var(--juice-toast-ink);
1184
+ }
1185
+
1186
+ [theme=retro-afterburn] [toast=success]:not([surfaceTone]) {
1187
+ background-color: var(--juice-toast-success-soft);
1188
+ }
1189
+
1190
+ [theme=retro-afterburn] [toast=success] {
1191
+ border-left-color: var(--juice-toast-success);
1192
+ }
1193
+
1194
+ [theme=retro-afterburn] [toast=success] [toast-title] {
1195
+ color: var(--juice-toast-success);
1196
+ }
1197
+
1198
+ [theme=retro-afterburn] [toast=error]:not([surfaceTone]) {
1199
+ background-color: var(--juice-toast-error-soft);
1200
+ }
1201
+
1202
+ [theme=retro-afterburn] [toast=error] {
1203
+ border-left-color: var(--juice-toast-error);
1204
+ }
1205
+
1206
+ [theme=retro-afterburn] [toast=error] [toast-title] {
1207
+ color: var(--juice-toast-error);
1208
+ }
1209
+
1210
+ [theme=retro-afterburn] [toast=info]:not([surfaceTone]) {
1211
+ background-color: var(--juice-toast-info-soft);
1212
+ }
1213
+
1214
+ [theme=retro-afterburn] [toast=info] {
1215
+ border-left-color: var(--juice-toast-info);
1216
+ }
1217
+
1218
+ [theme=retro-afterburn] [toast=info] [toast-title] {
1219
+ color: var(--juice-toast-info);
1220
+ }
1221
+
1222
+ [theme=retro-afterburn] [toast=warning]:not([surfaceTone]) {
1223
+ background-color: var(--juice-toast-warning-soft);
1224
+ }
1225
+
1226
+ [theme=retro-afterburn] [toast=warning] {
1227
+ border-left-color: var(--juice-toast-warning);
1228
+ }
1229
+
1230
+ [theme=retro-afterburn] [toast=warning] [toast-title] {
1231
+ color: var(--juice-toast-warning);
1232
+ }
1233
+
1234
+ [theme=retro-afterburn] button[toast-close],
1235
+ [theme=retro-afterburn] [toast-close] {
1236
+ background-image: none;
1237
+ background-color: var(--juice-toast-close);
1238
+ color: var(--juice-toast-close-color);
1239
+ box-shadow: none;
1240
+ transform: none;
1241
+ }
1242
+
1243
+ [theme=retro-afterburn] button[toast-close]:hover,
1244
+ [theme=retro-afterburn] [toast-close]:hover {
1245
+ background-image: none;
1246
+ background-color: var(--juice-toast-close-hover);
1247
+ color: var(--juice-toast-close-color);
1248
+ transform: none;
1249
+ }
1250
+
1251
+ [theme=retro-afterburn] button[toast-close]:focus-visible,
1252
+ [theme=retro-afterburn] [toast-close]:focus-visible {
1253
+ outline: 2px solid var(--juice-toast-focus-ring);
1254
+ outline-offset: 2px;
1255
+ }
1256
+
1257
+ /* Banner chrome. Generic Afterburn buttons use the CTA gradient;
1258
+ [banner-close] stays a surface control. Runtime is later. */
1259
+ [theme=retro-afterburn] [banner]:not([surfaceTone]) {
1260
+ background-color: var(--juice-banner-panel);
1261
+ color: var(--juice-banner-ink);
1262
+ }
1263
+
1264
+ [theme=retro-afterburn] [banner]:not([surfaceTone]):not([banner-tone]) {
1265
+ border: 1px solid var(--juice-banner-panel-border);
1266
+ }
1267
+
1268
+ [theme=retro-afterburn] [banner-body] {
1269
+ color: var(--juice-banner-ink);
1270
+ }
1271
+
1272
+ [theme=retro-afterburn] [banner][banner-tone=success]:not([surfaceTone]) {
1273
+ background-color: var(--juice-banner-success-soft);
1274
+ }
1275
+
1276
+ [theme=retro-afterburn] [banner][banner-tone=success] {
1277
+ border-left: 4px solid var(--juice-banner-success);
1278
+ }
1279
+
1280
+ [theme=retro-afterburn] [banner][banner-tone=error]:not([surfaceTone]) {
1281
+ background-color: var(--juice-banner-error-soft);
1282
+ }
1283
+
1284
+ [theme=retro-afterburn] [banner][banner-tone=error] {
1285
+ border-left: 4px solid var(--juice-banner-error);
1286
+ }
1287
+
1288
+ [theme=retro-afterburn] [banner][banner-tone=info]:not([surfaceTone]) {
1289
+ background-color: var(--juice-banner-info-soft);
1290
+ }
1291
+
1292
+ [theme=retro-afterburn] [banner][banner-tone=info] {
1293
+ border-left: 4px solid var(--juice-banner-info);
1294
+ }
1295
+
1296
+ [theme=retro-afterburn] [banner][banner-tone=warning]:not([surfaceTone]) {
1297
+ background-color: var(--juice-banner-warning-soft);
1298
+ }
1299
+
1300
+ [theme=retro-afterburn] [banner][banner-tone=warning] {
1301
+ border-left: 4px solid var(--juice-banner-warning);
1302
+ }
1303
+
1304
+ [theme=retro-afterburn] button[banner-close],
1305
+ [theme=retro-afterburn] [banner-close] {
1306
+ background-image: none;
1307
+ background-color: var(--juice-banner-close);
1308
+ color: var(--juice-banner-close-color);
1309
+ box-shadow: none;
1310
+ transform: none;
1311
+ }
1312
+
1313
+ [theme=retro-afterburn] button[banner-close]:hover,
1314
+ [theme=retro-afterburn] [banner-close]:hover {
1315
+ background-image: none;
1316
+ background-color: var(--juice-banner-close-hover);
1317
+ color: var(--juice-banner-close-color);
1318
+ transform: none;
1319
+ }
1320
+
1321
+ [theme=retro-afterburn] button[banner-close]:focus-visible,
1322
+ [theme=retro-afterburn] [banner-close]:focus-visible {
1323
+ outline: 2px solid var(--juice-banner-focus-ring);
1324
+ outline-offset: 2px;
1325
+ }
1326
+
1327
+ /* Popover chrome. Generic Afterburn buttons use the CTA gradient;
1328
+ [popover-close] stays a surface control. Runtime is later. */
1329
+ [theme=retro-afterburn] [popover-panel]:not([surfaceTone]) {
1330
+ background-color: var(--juice-popover-panel);
1331
+ border: 1px solid var(--juice-popover-panel-border);
1332
+ box-shadow: var(--juice-popover-panel-shadow);
1333
+ color: var(--juice-popover-ink);
1334
+ }
1335
+
1336
+ [theme=retro-afterburn] [popover-header],
1337
+ [theme=retro-afterburn] [popover-body] {
1338
+ color: var(--juice-popover-ink);
1339
+ }
1340
+
1341
+ [theme=retro-afterburn] button[popover-close],
1342
+ [theme=retro-afterburn] [popover-close] {
1343
+ background-image: none;
1344
+ background-color: var(--juice-popover-close);
1345
+ color: var(--juice-popover-close-color);
1346
+ box-shadow: none;
1347
+ transform: none;
1348
+ }
1349
+
1350
+ [theme=retro-afterburn] button[popover-close]:hover,
1351
+ [theme=retro-afterburn] [popover-close]:hover {
1352
+ background-image: none;
1353
+ background-color: var(--juice-popover-close-hover);
1354
+ color: var(--juice-popover-close-color);
1355
+ transform: none;
1356
+ }
1357
+
1358
+ [theme=retro-afterburn] button[popover-close]:focus-visible,
1359
+ [theme=retro-afterburn] [popover-close]:focus-visible {
1360
+ outline: 2px solid var(--juice-popover-focus-ring);
1361
+ outline-offset: 2px;
1362
+ }
1363
+
1364
+ /* Tooltip chrome. Beat [theme] :where(div) defaults. Optional
1365
+ surfaceTone on [tooltip-panel] is allowed. Runtime is later. */
1366
+ [theme=retro-afterburn] [tooltip-panel]:not([surfaceTone]) {
1367
+ background-color: var(--juice-tooltip-panel);
1368
+ border: 1px solid var(--juice-tooltip-panel-border);
1369
+ box-shadow: var(--juice-tooltip-panel-shadow);
1370
+ color: var(--juice-tooltip-ink);
1371
+ }
1372
+
1373
+ /* Combobox chrome. Beat [theme] :where(input, button) defaults.
1374
+ [combobox-trigger] stays a surface control. Optional surfaceTone
1375
+ on [combobox-list] is allowed. Runtime is later. */
1376
+ [theme=retro-afterburn] [combobox-input] {
1377
+ background-color: var(--juice-combobox-input);
1378
+ border: 1px solid var(--juice-combobox-input-border);
1379
+ color: var(--juice-combobox-input-ink);
1380
+ }
1381
+
1382
+ [theme=retro-afterburn] button[combobox-trigger],
1383
+ [theme=retro-afterburn] [combobox-trigger] {
1384
+ background-image: none;
1385
+ background-color: var(--juice-combobox-trigger);
1386
+ color: var(--juice-combobox-trigger-ink);
1387
+ box-shadow: none;
1388
+ transform: none;
1389
+ }
1390
+
1391
+ [theme=retro-afterburn] [combobox-input]:focus-visible,
1392
+ [theme=retro-afterburn] button[combobox-trigger]:focus-visible,
1393
+ [theme=retro-afterburn] [combobox-trigger]:focus-visible {
1394
+ outline: 2px solid var(--juice-combobox-focus-ring);
1395
+ outline-offset: 2px;
1396
+ }
1397
+
1398
+ [theme=retro-afterburn] [combobox-list]:not([surfaceTone]) {
1399
+ background-color: var(--juice-combobox-list);
1400
+ border: 1px solid var(--juice-combobox-list-border);
1401
+ box-shadow: var(--juice-combobox-list-shadow);
1402
+ }
1403
+
1404
+ [theme=retro-afterburn] [combobox-option] {
1405
+ background-color: var(--juice-combobox-option);
1406
+ color: var(--juice-combobox-option-ink);
1407
+ }
1408
+
1409
+ [theme=retro-afterburn] [combobox-option]:hover {
1410
+ background-color: var(--juice-combobox-option-hover);
1411
+ }
1412
+
1413
+ [theme=retro-afterburn] [combobox-option][aria-selected=true],
1414
+ [theme=retro-afterburn] [combobox-option=active] {
1415
+ background-color: var(--juice-combobox-option-selected);
1416
+ }
1417
+
1418
+ /* Menu chrome. Beat [theme] :where(div, button) defaults.
1419
+ [menu-button] stays a surface control. Optional surfaceTone
1420
+ on [menu] is allowed. Runtime is later. */
1421
+ [theme=retro-afterburn] [menu]:not([surfaceTone]) {
1422
+ background-color: var(--juice-menu-panel);
1423
+ border: 1px solid var(--juice-menu-panel-border);
1424
+ box-shadow: var(--juice-menu-panel-shadow);
1425
+ color: var(--juice-menu-ink);
1426
+ }
1427
+
1428
+ [theme=retro-afterburn] button[menu-button],
1429
+ [theme=retro-afterburn] [menu-button] {
1430
+ background-image: none;
1431
+ background-color: var(--juice-menu-opener);
1432
+ color: var(--juice-menu-opener-ink);
1433
+ box-shadow: none;
1434
+ transform: none;
1435
+ }
1436
+
1437
+ [theme=retro-afterburn] button[menu-button]:focus-visible,
1438
+ [theme=retro-afterburn] [menu-button]:focus-visible,
1439
+ [theme=retro-afterburn] [menuitem]:focus-visible {
1440
+ outline: 2px solid var(--juice-menu-focus-ring);
1441
+ outline-offset: 2px;
1442
+ }
1443
+
1444
+ [theme=retro-afterburn] [menuitem] {
1445
+ background-color: var(--juice-menu-item);
1446
+ color: var(--juice-menu-ink);
1447
+ }
1448
+
1449
+ [theme=retro-afterburn] [menuitem]:hover {
1450
+ background-color: var(--juice-menu-item-hover);
1451
+ }
1452
+
1453
+ [theme=retro-afterburn] [menuitem=active] {
1454
+ background-color: var(--juice-menu-item-active);
1455
+ }
1456
+
1457
+ [theme=retro-afterburn] [menu-separator] {
1458
+ border-top-color: var(--juice-menu-separator);
1459
+ }
1460
+
1461
+ [theme=retro-afterburn] [menu-label] {
1462
+ color: var(--juice-menu-ink);
1463
+ }
1464
+
1465
+ /* Switch chrome. Beat [theme] :where(button) CTA defaults.
1466
+ The host is a surface track, not a CTA. Runtime is later. */
1467
+ [theme=retro-afterburn] button[switch],
1468
+ [theme=retro-afterburn] [switch] {
1469
+ background-image: none;
1470
+ background-color: var(--juice-switch-track);
1471
+ box-shadow: none;
1472
+ transform: none;
1473
+ }
1474
+
1475
+ [theme=retro-afterburn] button[switch][aria-checked=true],
1476
+ [theme=retro-afterburn] [switch][aria-checked=true],
1477
+ [theme=retro-afterburn] [switch]:checked {
1478
+ background-image: none;
1479
+ background-color: var(--juice-switch-track-checked);
1480
+ }
1481
+
1482
+ [theme=retro-afterburn] button[switch]:hover,
1483
+ [theme=retro-afterburn] [switch]:hover,
1484
+ [theme=retro-afterburn] button[switch]:focus-visible,
1485
+ [theme=retro-afterburn] [switch]:focus-visible {
1486
+ box-shadow: none;
1487
+ transform: none;
1488
+ }
1489
+
1490
+ [theme=retro-afterburn] button[switch]:focus-visible,
1491
+ [theme=retro-afterburn] [switch]:focus-visible {
1492
+ outline: 2px solid var(--juice-switch-focus-ring);
1493
+ outline-offset: 2px;
1494
+ }
1495
+
1496
+ /* Slider chrome. Beat [theme] :where(button) CTA defaults.
1497
+ Horizontal only. The thumb is a surface control, not a CTA.
1498
+ Runtime is later. */
1499
+ [theme=retro-afterburn] button[slider]:not([slider=vertical]),
1500
+ [theme=retro-afterburn] [slider]:not([slider=vertical]) {
1501
+ background-image: none;
1502
+ background-color: transparent;
1503
+ box-shadow: none;
1504
+ transform: none;
1505
+ }
1506
+
1507
+ [theme=retro-afterburn] button[slider-thumb],
1508
+ [theme=retro-afterburn] [slider-thumb] {
1509
+ background-image: none;
1510
+ background-color: var(--juice-slider-thumb);
1511
+ border-color: var(--juice-slider-thumb-border);
1512
+ box-shadow: var(--juice-slider-thumb-shadow);
1513
+ transform: translate(-50%, -50%);
1514
+ }
1515
+
1516
+ [theme=retro-afterburn] button[slider-thumb]:hover,
1517
+ [theme=retro-afterburn] [slider-thumb]:hover,
1518
+ [theme=retro-afterburn] button[slider-thumb]:focus-visible,
1519
+ [theme=retro-afterburn] [slider-thumb]:focus-visible {
1520
+ background-image: none;
1521
+ background-color: var(--juice-slider-thumb);
1522
+ box-shadow: var(--juice-slider-thumb-shadow);
1523
+ transform: translate(-50%, -50%);
1524
+ }
1525
+
1526
+ [theme=retro-afterburn] button[slider-thumb]:focus-visible,
1527
+ [theme=retro-afterburn] [slider-thumb]:focus-visible {
1528
+ outline: 2px solid var(--juice-slider-focus-ring);
1529
+ outline-offset: 2px;
1530
+ }
1531
+
1532
+ /* Checkbox chrome. Beat [theme] :where(button) CTA defaults.
1533
+ The host is a surface box, not a CTA. Binary only. Runtime is later. */
1534
+ [theme=retro-afterburn] button[checkbox],
1535
+ [theme=retro-afterburn] [checkbox] {
1536
+ background-image: none;
1537
+ background-color: var(--juice-checkbox-control);
1538
+ border-color: var(--juice-checkbox-border);
1539
+ box-shadow: none;
1540
+ transform: none;
1541
+ }
1542
+
1543
+ [theme=retro-afterburn] button[checkbox][aria-checked=true],
1544
+ [theme=retro-afterburn] [checkbox][aria-checked=true],
1545
+ [theme=retro-afterburn] [checkbox]:checked {
1546
+ background-image: none;
1547
+ background-color: var(--juice-checkbox-control-checked);
1548
+ border-color: var(--juice-checkbox-border-checked);
1549
+ }
1550
+
1551
+ [theme=retro-afterburn] button[checkbox]:hover,
1552
+ [theme=retro-afterburn] [checkbox]:hover,
1553
+ [theme=retro-afterburn] button[checkbox]:focus-visible,
1554
+ [theme=retro-afterburn] [checkbox]:focus-visible {
1555
+ box-shadow: none;
1556
+ transform: none;
1557
+ }
1558
+
1559
+ [theme=retro-afterburn] button[checkbox]:focus-visible,
1560
+ [theme=retro-afterburn] [checkbox]:focus-visible {
1561
+ outline: 2px solid var(--juice-checkbox-focus-ring);
1562
+ outline-offset: 2px;
1563
+ }
1564
+
1565
+ /* Radio chrome. Beat [theme] :where(button) CTA defaults.
1566
+ The host is a surface disc, not a CTA. Group layout is author-owned.
1567
+ Runtime is later. */
1568
+ [theme=retro-afterburn] button[radio],
1569
+ [theme=retro-afterburn] [radio] {
1570
+ background-image: none;
1571
+ background-color: var(--juice-radio-control);
1572
+ border-color: var(--juice-radio-border);
1573
+ box-shadow: none;
1574
+ transform: none;
1575
+ }
1576
+
1577
+ [theme=retro-afterburn] button[radio][aria-checked=true],
1578
+ [theme=retro-afterburn] [radio][aria-checked=true],
1579
+ [theme=retro-afterburn] [radio]:checked {
1580
+ background-image: none;
1581
+ background-color: var(--juice-radio-control-checked);
1582
+ border-color: var(--juice-radio-border-checked);
1583
+ }
1584
+
1585
+ [theme=retro-afterburn] button[radio]:hover,
1586
+ [theme=retro-afterburn] [radio]:hover,
1587
+ [theme=retro-afterburn] button[radio]:focus-visible,
1588
+ [theme=retro-afterburn] [radio]:focus-visible {
1589
+ box-shadow: none;
1590
+ transform: none;
1591
+ }
1592
+
1593
+ [theme=retro-afterburn] button[radio]:focus-visible,
1594
+ [theme=retro-afterburn] [radio]:focus-visible {
1595
+ outline: 2px solid var(--juice-radio-focus-ring);
1596
+ outline-offset: 2px;
1597
+ }
1598
+
1599
+ /* Breadcrumb chrome. Beat [theme] :where(nav) bars and :where(a) link color.
1600
+ Inline trail, not a site nav and not a CTA. Runtime is later. */
1601
+ [theme=retro-afterburn] [breadcrumb],
1602
+ [theme=retro-afterburn] nav[breadcrumb] {
1603
+ background-image: none;
1604
+ background-color: var(--juice-breadcrumb-surface);
1605
+ border: none;
1606
+ box-shadow: none;
1607
+ -webkit-backdrop-filter: none;
1608
+ backdrop-filter: none;
1609
+ color: var(--juice-breadcrumb-ink);
1610
+ }
1611
+
1612
+ [theme=retro-afterburn] [breadcrumb] a,
1613
+ [theme=retro-afterburn] [breadcrumb-link],
1614
+ [theme=retro-afterburn] a[breadcrumb-link],
1615
+ [theme=retro-afterburn] button[breadcrumb-link] {
1616
+ background-image: none;
1617
+ background-color: transparent;
1618
+ color: var(--juice-breadcrumb-ink);
1619
+ box-shadow: none;
1620
+ transform: none;
1621
+ text-decoration: none;
1622
+ }
1623
+
1624
+ [theme=retro-afterburn] [breadcrumb] a:hover,
1625
+ [theme=retro-afterburn] [breadcrumb-link]:hover,
1626
+ [theme=retro-afterburn] a[breadcrumb-link]:hover,
1627
+ [theme=retro-afterburn] button[breadcrumb-link]:hover {
1628
+ background-image: none;
1629
+ background-color: transparent;
1630
+ color: var(--juice-breadcrumb-ink-hover);
1631
+ box-shadow: none;
1632
+ transform: none;
1633
+ }
1634
+
1635
+ [theme=retro-afterburn] [breadcrumb] [aria-current=page],
1636
+ [theme=retro-afterburn] [breadcrumb] [aria-current=page] :is(a, [breadcrumb-link]),
1637
+ [theme=retro-afterburn] [breadcrumb-link][aria-current=page] {
1638
+ color: var(--juice-breadcrumb-ink-current);
1639
+ }
1640
+
1641
+ [theme=retro-afterburn] [breadcrumb] a:focus-visible,
1642
+ [theme=retro-afterburn] [breadcrumb-link]:focus-visible,
1643
+ [theme=retro-afterburn] button[breadcrumb-link]:focus-visible {
1644
+ outline: 2px solid var(--juice-breadcrumb-focus-ring);
1645
+ outline-offset: 2px;
1646
+ }
1647
+
1648
+ /* Progress chrome. Beat [theme] :where(div) fills.
1649
+ The track is a surface groove, not a CTA. Runtime is later. */
1650
+ [theme=retro-afterburn] [progress] {
1651
+ background-image: none;
1652
+ background-color: transparent;
1653
+ border: none;
1654
+ box-shadow: none;
1655
+ color: var(--juice-progress-ink);
1656
+ }
1657
+
1658
+ [theme=retro-afterburn] [progress-fill] {
1659
+ background-image: none;
1660
+ background-color: var(--juice-progress-fill);
1661
+ box-shadow: none;
1662
+ }
1663
+
1664
+ [theme=retro-afterburn] [progress-label] {
1665
+ background-image: none;
1666
+ background-color: transparent;
1667
+ color: var(--juice-progress-ink);
1668
+ box-shadow: none;
1669
+ }
1670
+
1671
+ [theme=retro-afterburn] [progress]:focus-visible {
1672
+ outline: 2px solid var(--juice-progress-focus-ring);
1673
+ outline-offset: 2px;
1674
+ }
1675
+
1676
+ /* Pagination chrome. Chips, not a light bar and not a CTA.
1677
+ The trail stays inline. Runtime is later. */
1678
+ [theme=retro-afterburn] [pagination],
1679
+ [theme=retro-afterburn] nav[pagination] {
1680
+ background-image: none;
1681
+ background-color: transparent;
1682
+ border: none;
1683
+ box-shadow: none;
1684
+ -webkit-backdrop-filter: none;
1685
+ backdrop-filter: none;
1686
+ color: var(--juice-pagination-ink);
1687
+ }
1688
+
1689
+ [theme=retro-afterburn] [pagination] a,
1690
+ [theme=retro-afterburn] [pagination-link],
1691
+ [theme=retro-afterburn] a[pagination-link],
1692
+ [theme=retro-afterburn] button[pagination-link],
1693
+ [theme=retro-afterburn] button[pagination-prev],
1694
+ [theme=retro-afterburn] button[pagination-next] {
1695
+ background-image: none;
1696
+ background-color: var(--juice-pagination-surface);
1697
+ border-color: var(--juice-pagination-border);
1698
+ color: var(--juice-pagination-ink);
1699
+ box-shadow: none;
1700
+ transform: none;
1701
+ text-decoration: none;
1702
+ }
1703
+
1704
+ [theme=retro-afterburn] [pagination] a:hover,
1705
+ [theme=retro-afterburn] [pagination-link]:hover,
1706
+ [theme=retro-afterburn] button[pagination-link]:hover,
1707
+ [theme=retro-afterburn] button[pagination-prev]:hover,
1708
+ [theme=retro-afterburn] button[pagination-next]:hover {
1709
+ background-image: none;
1710
+ background-color: var(--juice-pagination-surface-hover);
1711
+ color: var(--juice-pagination-ink-hover);
1712
+ box-shadow: none;
1713
+ transform: none;
1714
+ }
1715
+
1716
+ [theme=retro-afterburn] [pagination] [aria-current=page],
1717
+ [theme=retro-afterburn] [pagination] [aria-current=page] :is(a, button, [pagination-link]),
1718
+ [theme=retro-afterburn] [pagination-link][aria-current=page] {
1719
+ background-image: none;
1720
+ background-color: var(--juice-pagination-surface-current);
1721
+ color: var(--juice-pagination-ink-current);
1722
+ box-shadow: none;
1723
+ transform: none;
1724
+ }
1725
+
1726
+ [theme=retro-afterburn] [pagination] :is(a, button, [pagination-link]):is(:disabled, [disabled], [aria-disabled=true]),
1727
+ [theme=retro-afterburn] [pagination] [aria-disabled=true] :is(a, button, [pagination-link]) {
1728
+ background-image: none;
1729
+ background-color: var(--juice-pagination-surface);
1730
+ color: var(--juice-pagination-ink-disabled);
1731
+ box-shadow: none;
1732
+ transform: none;
1733
+ }
1734
+
1735
+ [theme=retro-afterburn] [pagination] a:focus-visible,
1736
+ [theme=retro-afterburn] [pagination-link]:focus-visible,
1737
+ [theme=retro-afterburn] button[pagination-link]:focus-visible,
1738
+ [theme=retro-afterburn] button[pagination-prev]:focus-visible,
1739
+ [theme=retro-afterburn] button[pagination-next]:focus-visible {
1740
+ outline: 2px solid var(--juice-pagination-focus-ring);
1741
+ outline-offset: 2px;
1742
+ }
1743
+
1744
+ /* Disclosure chrome. Beat button CTAs.
1745
+ Standalone one-trigger disclosure, not an accordion and not a CTA.
1746
+ Runtime is later. */
1747
+ [theme=retro-afterburn] [disclosure] {
1748
+ background-image: none;
1749
+ background-color: transparent;
1750
+ border-color: var(--juice-disclosure-border);
1751
+ box-shadow: none;
1752
+ color: var(--juice-disclosure-ink);
1753
+ }
1754
+
1755
+ [theme=retro-afterburn] button[disclosure-trigger],
1756
+ [theme=retro-afterburn] a[disclosure-trigger],
1757
+ [theme=retro-afterburn] [disclosure-trigger] {
1758
+ background-image: none;
1759
+ background-color: var(--juice-disclosure-trigger);
1760
+ color: var(--juice-disclosure-ink);
1761
+ box-shadow: none;
1762
+ transform: none;
1763
+ text-decoration: none;
1764
+ }
1765
+
1766
+ [theme=retro-afterburn] button[disclosure-trigger]:hover,
1767
+ [theme=retro-afterburn] a[disclosure-trigger]:hover,
1768
+ [theme=retro-afterburn] [disclosure-trigger]:hover {
1769
+ background-image: none;
1770
+ background-color: var(--juice-disclosure-trigger-hover);
1771
+ color: var(--juice-disclosure-ink);
1772
+ box-shadow: none;
1773
+ transform: none;
1774
+ }
1775
+
1776
+ [theme=retro-afterburn] button[disclosure-trigger][aria-expanded=true],
1777
+ [theme=retro-afterburn] a[disclosure-trigger][aria-expanded=true],
1778
+ [theme=retro-afterburn] [disclosure-trigger][aria-expanded=true] {
1779
+ background-image: none;
1780
+ background-color: var(--juice-disclosure-trigger-open);
1781
+ color: var(--juice-disclosure-ink);
1782
+ box-shadow: none;
1783
+ transform: none;
1784
+ }
1785
+
1786
+ [theme=retro-afterburn] [disclosure-trigger]::after {
1787
+ border-color: var(--juice-disclosure-chevron);
1788
+ }
1789
+
1790
+ [theme=retro-afterburn] button[disclosure-trigger]:focus-visible,
1791
+ [theme=retro-afterburn] a[disclosure-trigger]:focus-visible,
1792
+ [theme=retro-afterburn] [disclosure-trigger]:focus-visible {
1793
+ outline: 2px solid var(--juice-disclosure-focus-ring);
1794
+ outline-offset: 2px;
1795
+ box-shadow: none;
1796
+ }
1797
+
1798
+ [theme=retro-afterburn] [disclosure-panel],
1799
+ [theme=retro-afterburn] [disclosure] > [disclosure-trigger] + :not([disclosure-trigger]) {
1800
+ background-image: none;
1801
+ background-color: var(--juice-disclosure-surface);
1802
+ border-color: var(--juice-disclosure-border);
1803
+ color: var(--juice-disclosure-ink);
1804
+ box-shadow: none;
1805
+ }
1806
+
1807
+ /* Spinner chrome. Beat generic div fills.
1808
+ Standalone indeterminate busy indicator, not a progress bar and not a CTA.
1809
+ CSS owns the spin. Runtime is later. */
1810
+ [theme=retro-afterburn] [spinner] {
1811
+ background-image: none;
1812
+ background-color: transparent;
1813
+ border: none;
1814
+ box-shadow: none;
1815
+ color: var(--juice-spinner-ink);
1816
+ }
1817
+
1818
+ [theme=retro-afterburn] [spinner]::before {
1819
+ background-image: none;
1820
+ background-color: transparent;
1821
+ border-color: var(--juice-spinner-track);
1822
+ border-top-color: var(--juice-spinner-indicator);
1823
+ box-shadow: none;
1824
+ }
1825
+
1826
+ [theme=retro-afterburn] [spinner-label] {
1827
+ background-image: none;
1828
+ background-color: transparent;
1829
+ color: var(--juice-spinner-ink);
1830
+ box-shadow: none;
1831
+ }
1832
+
1833
+ [theme=retro-afterburn] [spinner]:focus-visible {
1834
+ outline: 2px solid var(--juice-spinner-focus-ring);
1835
+ outline-offset: 2px;
1836
+ }
1837
+
1838
+ /* Select chrome. Beat [theme] :where(select) defaults.
1839
+ Styled native dropdown, not a combobox and not a CTA.
1840
+ Chevron stays a background so the control still opens.
1841
+ Runtime is later. */
1842
+ [theme=retro-afterburn] select[select] {
1843
+ background-color: var(--juice-select-surface);
1844
+ border-color: var(--juice-select-border);
1845
+ color: var(--juice-select-ink);
1846
+ }
1847
+
1848
+ [theme=retro-afterburn] select[select]:focus-visible {
1849
+ outline: 2px solid var(--juice-select-focus-ring);
1850
+ outline-offset: 2px;
1851
+ }
1852
+
1853
+ [theme=retro-afterburn] [select-label] {
1854
+ background-image: none;
1855
+ background-color: transparent;
1856
+ color: var(--juice-select-ink);
1857
+ box-shadow: none;
1858
+ }
1859
+
1860
+ /* Input chrome. Beat [theme] :where(input) defaults.
1861
+ Styled native text field, not a combobox, not a select, and not a CTA.
1862
+ Text-like types only. Border color only, so KiwiPress keeps its 2px
1863
+ control border. Runtime is later. */
1864
+ [theme=retro-afterburn] input[input]:is(:not([type]),
1865
+ [type=""],
1866
+ [type=text i],
1867
+ [type=email i],
1868
+ [type=password i],
1869
+ [type=search i],
1870
+ [type=tel i],
1871
+ [type=url i],
1872
+ [type=number i]):not([combobox-input]) {
1873
+ background-color: var(--juice-input-surface);
1874
+ border-color: var(--juice-input-border);
1875
+ color: var(--juice-input-ink);
1876
+ }
1877
+
1878
+ [theme=retro-afterburn] input[input]:is(:not([type]),
1879
+ [type=""],
1880
+ [type=text i],
1881
+ [type=email i],
1882
+ [type=password i],
1883
+ [type=search i],
1884
+ [type=tel i],
1885
+ [type=url i],
1886
+ [type=number i]):not([combobox-input])::placeholder {
1887
+ color: var(--juice-input-placeholder);
1888
+ opacity: 1;
1889
+ }
1890
+
1891
+ [theme=retro-afterburn] input[input]:is(:not([type]),
1892
+ [type=""],
1893
+ [type=text i],
1894
+ [type=email i],
1895
+ [type=password i],
1896
+ [type=search i],
1897
+ [type=tel i],
1898
+ [type=url i],
1899
+ [type=number i]):not([combobox-input]):focus-visible {
1900
+ outline: 2px solid var(--juice-input-focus-ring);
1901
+ outline-offset: 2px;
1902
+ }
1903
+
1904
+ [theme=retro-afterburn] [input-label] {
1905
+ background-image: none;
1906
+ background-color: transparent;
1907
+ color: var(--juice-input-ink);
1908
+ box-shadow: none;
1909
+ }
1910
+
1911
+ /* Textarea chrome. Beat [theme] :where(textarea) defaults.
1912
+ Styled native multi-line field, not an input, not a select, and not a
1913
+ combobox. Border color only, so KiwiPress keeps its 2px control border.
1914
+ Runtime is later. */
1915
+ [theme=retro-afterburn] textarea[textarea] {
1916
+ background-color: var(--juice-textarea-surface);
1917
+ border-color: var(--juice-textarea-border);
1918
+ color: var(--juice-textarea-ink);
1919
+ }
1920
+
1921
+ [theme=retro-afterburn] textarea[textarea]::placeholder {
1922
+ color: var(--juice-textarea-placeholder);
1923
+ opacity: 1;
1924
+ }
1925
+
1926
+ [theme=retro-afterburn] textarea[textarea]:focus-visible {
1927
+ outline: 2px solid var(--juice-textarea-focus-ring);
1928
+ outline-offset: 2px;
1929
+ }
1930
+
1931
+ [theme=retro-afterburn] [textarea-label] {
1932
+ background-image: none;
1933
+ background-color: transparent;
1934
+ color: var(--juice-textarea-ink);
1935
+ box-shadow: none;
1936
+ }
1937
+
1938
+ /* Field chrome. Wrapper around a control — label, help, error, invalid.
1939
+ Not an input, not a textarea, not a select, and not the legacy form
1940
+ layout. Paint is surface, gap, ink, and the invalid border, so nested
1941
+ controls keep their own chrome. Runtime is later. */
1942
+ [theme=retro-afterburn] [field] {
1943
+ background-color: var(--juice-field-surface);
1944
+ gap: var(--juice-field-gap);
1945
+ }
1946
+
1947
+ [theme=retro-afterburn] [field][invalid] {
1948
+ border-color: var(--juice-field-invalid-border);
1949
+ }
1950
+
1951
+ [theme=retro-afterburn] [field-label] {
1952
+ background-image: none;
1953
+ background-color: transparent;
1954
+ color: var(--juice-field-label-ink);
1955
+ box-shadow: none;
1956
+ }
1957
+
1958
+ [theme=retro-afterburn] [field-help] {
1959
+ background-image: none;
1960
+ background-color: transparent;
1961
+ color: var(--juice-field-help-ink);
1962
+ box-shadow: none;
1963
+ }
1964
+
1965
+ [theme=retro-afterburn] [field-error] {
1966
+ background-image: none;
1967
+ background-color: transparent;
1968
+ color: var(--juice-field-error-ink);
1969
+ box-shadow: none;
1970
+ }
1971
+
1972
+ /* Primary CTA ink only. Outline, secondary, and component controls keep their own roles. */
1973
+ [theme=retro-afterburn] :where(button:not([btn])) {
1974
+ color: #140c05;
1975
+ }
1976
+
1977
+ /* Stable bundle aliases used by shared application chrome. */
1978
+ [theme=retro-afterburn] {
1979
+ --retro-page: var(--afb-page);
1980
+ --retro-page-tint: var(--afb-page-tint);
1981
+ --retro-page-deep: var(--afb-page-deep);
1982
+ --retro-surface: var(--afb-surface);
1983
+ --retro-surface-strong: var(--afb-surface-strong);
1984
+ --retro-surface-muted: var(--afb-surface-muted);
1985
+ --retro-surface-deep: var(--afb-surface-deep);
1986
+ --retro-border: var(--afb-border);
1987
+ --retro-border-strong: var(--afb-border-strong);
1988
+ --retro-shadow: var(--afb-shadow);
1989
+ --retro-text: var(--afb-text);
1990
+ --retro-text-muted: var(--afb-text-muted);
1991
+ --retro-text-soft: var(--afb-text-soft);
1992
+ --retro-text-inverse: var(--afb-text-inverse);
1993
+ --retro-heading: var(--afb-heading);
1994
+ --retro-body-font: var(--afb-body-font);
1995
+ --retro-heading-font: var(--afb-heading-font);
1996
+ --retro-accent: var(--afb-accent);
1997
+ --retro-accent-soft: var(--afb-accent-soft);
1998
+ --retro-accent-strong: var(--afb-accent-strong);
1999
+ --retro-highlight: var(--afb-highlight);
2000
+ --retro-page-background: var(--afb-page-background);
2001
+ --retro-button-background: var(--afb-button-background);
2002
+ --retro-card-background: var(--afb-card-background);
2003
+ --retro-panel-background: var(--afb-panel-background);
2004
+ --retro-hero-background: var(--afb-hero-background);
2005
+ --retro-stage-background: var(--afb-stage-background);
2006
+ --retro-stage-outline: var(--afb-stage-outline);
2007
+ --retro-stage-shadow: var(--afb-stage-shadow);
2008
+ --retro-theme-page: #1a1d24;
2009
+ --retro-theme-highlight: #5b8def;
2010
+ --juice-color-page: var(--afb-page);
2011
+ --juice-color-surface: var(--afb-surface-strong);
2012
+ --juice-color-text: var(--afb-text);
2013
+ --juice-color-text-muted: var(--afb-text-muted);
2014
+ --juice-color-heading: var(--afb-heading);
2015
+ --juice-color-accent: var(--afb-accent);
2016
+ --juice-color-on-accent: #140c05;
2017
+ --juice-color-border: var(--afb-border);
2018
+ --juice-color-highlight: var(--afb-highlight);
2019
+ }