@sharadox/sharadox-web-library 0.28.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/distribution/component/service-object/android-application/index.d.ts +5 -1
- package/distribution/component/service-object/android-application/index.d.ts.map +1 -1
- package/distribution/component/service-object/android-application/index.js +11 -3
- package/distribution/component/service-object/android-application/index.js.map +1 -1
- package/distribution/component/service-object/android-application/index.module.css +1 -1
- package/distribution/component/service-object/android-application/index.module.scss +112 -30
- package/distribution/component/service-object/hosting/index.d.ts +2 -3
- package/distribution/component/service-object/hosting/index.d.ts.map +1 -1
- package/distribution/component/service-object/hosting/index.js +3 -6
- package/distribution/component/service-object/hosting/index.js.map +1 -1
- package/distribution/component/service-object/hosting/index.module.css +1 -1
- package/distribution/component/service-object/hosting/index.module.scss +5 -39
- package/distribution/component/service-object/ios-application/index.d.ts +4 -1
- package/distribution/component/service-object/ios-application/index.d.ts.map +1 -1
- package/distribution/component/service-object/ios-application/index.js +10 -3
- package/distribution/component/service-object/ios-application/index.js.map +1 -1
- package/distribution/component/service-object/ios-application/index.module.css +1 -1
- package/distribution/component/service-object/ios-application/index.module.scss +129 -36
- package/distribution/component/service-object/product-launch/index.d.ts +4 -3
- package/distribution/component/service-object/product-launch/index.d.ts.map +1 -1
- package/distribution/component/service-object/product-launch/index.js +35 -11
- package/distribution/component/service-object/product-launch/index.js.map +1 -1
- package/distribution/component/service-object/product-launch/index.module.css +1 -1
- package/distribution/component/service-object/product-launch/index.module.scss +225 -199
- package/llms.txt +2 -0
- package/package.json +2 -2
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
@use "style/token" as *;
|
|
2
2
|
@use "style/object" as *;
|
|
3
3
|
|
|
4
|
+
/* One round: the island opens into a live activity (from 8%), closes, then the icons jiggle (from 52%). */
|
|
5
|
+
$round: 6s;
|
|
6
|
+
|
|
4
7
|
.object {
|
|
5
8
|
@include centered(0px, 0px);
|
|
6
9
|
@include loop(ios-turn 10s ease-in-out infinite);
|
|
@@ -9,85 +12,175 @@
|
|
|
9
12
|
@keyframes ios-turn {
|
|
10
13
|
0%,
|
|
11
14
|
100% {
|
|
12
|
-
transform: rotateX(-6deg) rotateY(
|
|
15
|
+
transform: rotateX(-6deg) rotateY(28deg);
|
|
13
16
|
}
|
|
14
17
|
50% {
|
|
15
|
-
transform: rotateX(-2deg) rotateY(-
|
|
18
|
+
transform: rotateX(-2deg) rotateY(-20deg);
|
|
16
19
|
}
|
|
17
20
|
}
|
|
18
21
|
.phone {
|
|
19
22
|
--width: 88px;
|
|
20
|
-
--height:
|
|
23
|
+
--height: 178px;
|
|
21
24
|
--depth: 9px;
|
|
22
25
|
--radius: 20px;
|
|
23
26
|
--front-amount: 4%;
|
|
24
27
|
--edge-amount: 55%;
|
|
25
28
|
}
|
|
29
|
+
.screen {
|
|
30
|
+
position: absolute;
|
|
31
|
+
inset: 3px;
|
|
32
|
+
overflow: hidden;
|
|
33
|
+
border-radius: 17px;
|
|
34
|
+
}
|
|
35
|
+
/* The Dynamic Island: a pill at the top that opens into a live activity with a progress bar, then closes. */
|
|
26
36
|
.island {
|
|
27
37
|
position: absolute;
|
|
28
38
|
left: 50%;
|
|
29
|
-
top:
|
|
39
|
+
top: 6px;
|
|
30
40
|
width: 28px;
|
|
31
41
|
height: 9px;
|
|
32
42
|
border-radius: 9px;
|
|
33
|
-
background:
|
|
43
|
+
background: var(--foreground);
|
|
34
44
|
transform: translateX(-50%);
|
|
35
|
-
@include loop(ios-island
|
|
45
|
+
@include loop(ios-island $round $ease infinite);
|
|
46
|
+
i {
|
|
47
|
+
position: absolute;
|
|
48
|
+
left: 8px;
|
|
49
|
+
right: 8px;
|
|
50
|
+
bottom: 5px;
|
|
51
|
+
height: 2px;
|
|
52
|
+
border-radius: 1px;
|
|
53
|
+
background: linear-gradient(90deg, var(--background) var(--done, 0%), tint(70%) var(--done, 0%));
|
|
54
|
+
opacity: 0;
|
|
55
|
+
@include loop(ios-activity $round linear infinite);
|
|
56
|
+
}
|
|
36
57
|
}
|
|
37
58
|
@keyframes ios-island {
|
|
38
59
|
0%,
|
|
39
|
-
|
|
60
|
+
8%,
|
|
61
|
+
46%,
|
|
40
62
|
100% {
|
|
41
63
|
width: 28px;
|
|
42
64
|
height: 9px;
|
|
43
65
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
width:
|
|
47
|
-
height:
|
|
66
|
+
16%,
|
|
67
|
+
38% {
|
|
68
|
+
width: 72px;
|
|
69
|
+
height: 20px;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
@keyframes ios-activity {
|
|
73
|
+
0%,
|
|
74
|
+
14% {
|
|
75
|
+
opacity: 0;
|
|
76
|
+
--done: 0%;
|
|
77
|
+
}
|
|
78
|
+
18% {
|
|
79
|
+
opacity: 1;
|
|
80
|
+
}
|
|
81
|
+
36% {
|
|
82
|
+
opacity: 1;
|
|
83
|
+
--done: 100%;
|
|
84
|
+
}
|
|
85
|
+
40%,
|
|
86
|
+
100% {
|
|
87
|
+
opacity: 0;
|
|
88
|
+
--done: 100%;
|
|
48
89
|
}
|
|
49
90
|
}
|
|
50
|
-
|
|
91
|
+
@property --done {
|
|
92
|
+
syntax: "<percentage>";
|
|
93
|
+
inherits: false;
|
|
94
|
+
initial-value: 0%;
|
|
95
|
+
}
|
|
96
|
+
/* App icons: rounded squares, four to a row, jiggling for a moment as when they are being arranged. */
|
|
97
|
+
.apps {
|
|
51
98
|
position: absolute;
|
|
52
|
-
inset:
|
|
99
|
+
inset: 26px 9px auto;
|
|
53
100
|
display: grid;
|
|
54
|
-
grid-template-columns:
|
|
55
|
-
|
|
56
|
-
gap: 8px;
|
|
57
|
-
transform-style: preserve-3d;
|
|
101
|
+
grid-template-columns: repeat(4, 1fr);
|
|
102
|
+
gap: 9px 6px;
|
|
58
103
|
i {
|
|
59
|
-
|
|
104
|
+
aspect-ratio: 1;
|
|
105
|
+
border-radius: 30%;
|
|
60
106
|
border: 1px solid tint(45%);
|
|
61
|
-
background: tint(
|
|
62
|
-
@include loop(ios-
|
|
63
|
-
&:nth-child(
|
|
64
|
-
|
|
65
|
-
background: linear-gradient(135deg, tint(38%), tint(8%));
|
|
66
|
-
}
|
|
67
|
-
&:nth-child(2) {
|
|
68
|
-
animation-delay: -1.5s;
|
|
107
|
+
background: linear-gradient(150deg, tint(30%), tint(10%));
|
|
108
|
+
@include loop(ios-jiggle $round linear infinite);
|
|
109
|
+
&:nth-child(odd) {
|
|
110
|
+
animation-name: ios-jiggle-other;
|
|
69
111
|
}
|
|
70
|
-
|
|
71
|
-
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
@keyframes ios-jiggle {
|
|
115
|
+
0%,
|
|
116
|
+
52%,
|
|
117
|
+
88%,
|
|
118
|
+
100% {
|
|
119
|
+
transform: rotate(0);
|
|
120
|
+
}
|
|
121
|
+
@for $step from 0 through 8 {
|
|
122
|
+
#{54% + $step * 4%} {
|
|
123
|
+
transform: rotate(if($step % 2 == 0, -4deg, 4deg));
|
|
72
124
|
}
|
|
73
125
|
}
|
|
74
126
|
}
|
|
75
|
-
@keyframes ios-
|
|
127
|
+
@keyframes ios-jiggle-other {
|
|
76
128
|
0%,
|
|
129
|
+
52%,
|
|
130
|
+
88%,
|
|
77
131
|
100% {
|
|
78
|
-
transform:
|
|
132
|
+
transform: rotate(0);
|
|
79
133
|
}
|
|
80
|
-
|
|
81
|
-
|
|
134
|
+
@for $step from 0 through 8 {
|
|
135
|
+
#{54% + $step * 4%} {
|
|
136
|
+
transform: rotate(if($step % 2 == 0, 4deg, -4deg));
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
.dots {
|
|
141
|
+
position: absolute;
|
|
142
|
+
left: 0;
|
|
143
|
+
right: 0;
|
|
144
|
+
bottom: 40px;
|
|
145
|
+
display: flex;
|
|
146
|
+
justify-content: center;
|
|
147
|
+
gap: 4px;
|
|
148
|
+
i {
|
|
149
|
+
width: 3px;
|
|
150
|
+
height: 3px;
|
|
151
|
+
border-radius: 50%;
|
|
152
|
+
background: tint(35%);
|
|
153
|
+
&:first-child {
|
|
154
|
+
background: var(--foreground);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
/* The dock: a frosted shelf of four apps at the bottom. */
|
|
159
|
+
.dock {
|
|
160
|
+
position: absolute;
|
|
161
|
+
left: 5px;
|
|
162
|
+
right: 5px;
|
|
163
|
+
bottom: 12px;
|
|
164
|
+
display: grid;
|
|
165
|
+
grid-template-columns: repeat(4, 1fr);
|
|
166
|
+
gap: 6px;
|
|
167
|
+
padding: 4px;
|
|
168
|
+
border-radius: 9px;
|
|
169
|
+
background: tint(14%);
|
|
170
|
+
i {
|
|
171
|
+
aspect-ratio: 1;
|
|
172
|
+
border-radius: 30%;
|
|
173
|
+
border: 1px solid tint(45%);
|
|
174
|
+
background: linear-gradient(150deg, tint(40%), tint(14%));
|
|
82
175
|
}
|
|
83
176
|
}
|
|
84
177
|
.indicator {
|
|
85
178
|
position: absolute;
|
|
86
179
|
left: 50%;
|
|
87
|
-
bottom:
|
|
88
|
-
width:
|
|
180
|
+
bottom: 4px;
|
|
181
|
+
width: 30px;
|
|
89
182
|
height: 3px;
|
|
90
|
-
margin-left: -
|
|
183
|
+
margin-left: -15px;
|
|
91
184
|
border-radius: 2px;
|
|
92
|
-
background: tint(
|
|
185
|
+
background: tint(60%);
|
|
93
186
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Product launches:
|
|
3
|
-
*
|
|
4
|
-
*
|
|
2
|
+
* Product launches: the countdown and the lift-off, in 3D. Numbers count down from 3, each flowing smoothly into the
|
|
3
|
+
* next inside a ring that runs out, beside a round rocket (a body of panels, a nose cone, fins and a window) turning
|
|
4
|
+
* slowly on its pad. At zero its engine lights, smoke rolls out all around the pad and the rocket rises, faster and
|
|
5
|
+
* faster, out of sight, before the next one stands ready. With reduced motion, the rocket stands on its pad.
|
|
5
6
|
*/
|
|
6
7
|
export declare function ProductLaunch(): import("react").JSX.Element;
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/product-launch/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/product-launch/index.tsx"],"names":[],"mappings":"AAwBA;;;;;GAKG;AACH,wBAAgB,aAAa,gCAmE5B"}
|
|
@@ -1,18 +1,42 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Cuboid } from "@sharadox/sharadox-web-library/component/service-object/cuboid";
|
|
2
3
|
import styles from "./index.module.css";
|
|
3
|
-
/** The
|
|
4
|
-
const
|
|
5
|
-
/**
|
|
6
|
-
const
|
|
4
|
+
/** The countdown, one number a second, each flowing into the next. */
|
|
5
|
+
const COUNTDOWN = ["3", "2", "1"];
|
|
6
|
+
/** The rocket's round body is made of this many flat panels around its axis, like a lathe. */
|
|
7
|
+
const SIDES = 8;
|
|
8
|
+
/** How far each panel stands from the axis, and its width, so the panels close into a ring. */
|
|
9
|
+
const APOTHEM = 13;
|
|
10
|
+
const PANEL = 2 * APOTHEM * Math.tan(Math.PI / SIDES);
|
|
11
|
+
/** The nose cone: its height, and the length and lean of each of its panels. */
|
|
12
|
+
const NOSE = 26;
|
|
13
|
+
const SLANT = Math.hypot(NOSE, APOTHEM);
|
|
14
|
+
const LEAN = (Math.atan(APOTHEM / NOSE) * 180) / Math.PI;
|
|
15
|
+
/** Fins around the base, evenly spaced. */
|
|
16
|
+
const FINS = 4;
|
|
17
|
+
/** Puffs of smoke spreading over the pad at lift-off, all the way round. */
|
|
18
|
+
const SMOKE = 8;
|
|
19
|
+
/** How lit a panel facing this way is (a light from the front left), as a share of the foreground color. */
|
|
20
|
+
const light = (angle) => `${Math.round(18 + 30 * (0.5 + 0.5 * Math.cos(((angle + 40) * Math.PI) / 180)))}%`;
|
|
21
|
+
const sides = Array.from({ length: SIDES }, (_, side) => (360 / SIDES) * side);
|
|
7
22
|
/**
|
|
8
|
-
* Product launches:
|
|
9
|
-
*
|
|
10
|
-
*
|
|
23
|
+
* Product launches: the countdown and the lift-off, in 3D. Numbers count down from 3, each flowing smoothly into the
|
|
24
|
+
* next inside a ring that runs out, beside a round rocket (a body of panels, a nose cone, fins and a window) turning
|
|
25
|
+
* slowly on its pad. At zero its engine lights, smoke rolls out all around the pad and the rocket rises, faster and
|
|
26
|
+
* faster, out of sight, before the next one stands ready. With reduced motion, the rocket stands on its pad.
|
|
11
27
|
*/
|
|
12
28
|
export function ProductLaunch() {
|
|
13
|
-
return (
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
29
|
+
return (_jsxs("div", { className: styles.object, children: [_jsx(Cuboid, { className: styles.pad }), _jsx("div", { className: styles.smoke, children: Array.from({ length: SMOKE }, (_, puff) => (_jsx("i", { style: { "--angle": `${(360 / SMOKE) * puff}deg` } }, puff))) }), _jsxs("div", { className: styles.rocket, children: [_jsxs("div", { className: styles.spin, children: [sides.map((angle) => (_jsx("span", { className: styles.panel, style: {
|
|
30
|
+
left: -PANEL / 2,
|
|
31
|
+
width: PANEL,
|
|
32
|
+
transform: `rotateY(${angle}deg) translateZ(${APOTHEM}px)`,
|
|
33
|
+
"--light": light(angle),
|
|
34
|
+
}, children: angle === 0 && _jsx("i", { className: styles.window }) }, angle))), sides.map((angle) => (_jsx("span", { className: styles.nose, style: {
|
|
35
|
+
left: -PANEL / 2,
|
|
36
|
+
width: PANEL,
|
|
37
|
+
height: SLANT,
|
|
38
|
+
transform: `rotateY(${angle}deg) translateZ(${APOTHEM}px) rotateX(${LEAN}deg)`,
|
|
39
|
+
"--light": light(angle),
|
|
40
|
+
} }, angle))), Array.from({ length: FINS }, (_, fin) => (_jsx("span", { className: styles.fin, style: { transform: `rotateY(${(360 / FINS) * fin + 45}deg) translateX(${APOTHEM + 8}px)` } }, fin))), _jsx("span", { className: styles.flame }), _jsx("span", { className: styles.flame, style: { transform: "rotateY(90deg)" } })] }), _jsx("span", { className: styles.trail })] }), _jsxs("div", { className: styles.countdown, children: [_jsxs("svg", { className: styles.ring, viewBox: "0 0 60 60", children: [_jsx("circle", { cx: "30", cy: "30", r: "27", pathLength: 100 }), _jsx("circle", { className: styles.time, cx: "30", cy: "30", r: "27", pathLength: 100 })] }), COUNTDOWN.map((number, index) => (_jsx("span", { className: styles.number, style: { animationDelay: `${index * 1.2}s` }, children: number }, number)))] })] }));
|
|
17
41
|
}
|
|
18
42
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/product-launch/index.tsx"],"names":[],"mappings":";AACA,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/product-launch/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,gEAAgE,CAAC;AACxF,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,sEAAsE;AACtE,MAAM,SAAS,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;AAClC,8FAA8F;AAC9F,MAAM,KAAK,GAAG,CAAC,CAAC;AAChB,+FAA+F;AAC/F,MAAM,OAAO,GAAG,EAAE,CAAC;AACnB,MAAM,KAAK,GAAG,CAAC,GAAG,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,GAAG,KAAK,CAAC,CAAC;AACtD,gFAAgF;AAChF,MAAM,IAAI,GAAG,EAAE,CAAC;AAChB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;AACxC,MAAM,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,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AM,CAAC,SAAS,aAC9B,eAAK,SAAS,EAAE,MAAM,CAAC,IAAI,EAAE,OAAO,EAAC,WAAW,aAC9C,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,UAAU,EAAE,GAAG,GAAI,EAClD,iBAAQ,SAAS,EAAE,MAAM,CAAC,IAAI,EAAE,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,UAAU,EAAE,GAAG,GAAI,IACtE,EACL,SAAS,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,CAChC,eAAmB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,cAAc,EAAE,GAAG,KAAK,GAAG,GAAG,GAAG,EAAE,YACtF,MAAM,IADE,MAAM,CAEV,CACR,CAAC,IACE,IACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:launch-sway 12s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(
|
|
1
|
+
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:launch-sway 12s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:scale(1.15) rotateX(-14deg) rotateY(-18deg)}@keyframes launch-sway{0%,100%{transform:scale(1.15) rotateX(-14deg) rotateY(-18deg)}50%{transform:scale(1.15) rotateX(-8deg) rotateY(14deg)}}.pad{--width: 96px;--height: 10px;--depth: 96px;--radius: 3px;--fill-amount: 8%;--edge-amount: 50%;transform:translateY(57px)}.rocket{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;transform:translateY(52px);animation:launch-rocket 6s infinite}@media(prefers-reduced-motion: reduce){.rocket{animation:none}}@keyframes launch-rocket{0%,60%{transform:translateY(52px)}63%{transform:translateY(54px);animation-timing-function:cubic-bezier(0.55, 0, 0.9, 0.4)}84%{transform:translateY(-308px)}85%,92%{transform:translateY(52px) scale(0);animation-timing-function:cubic-bezier(0.22, 1, 0.36, 1)}100%{transform:translateY(52px) scale(1)}}.spin{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:launch-spin 9s linear infinite}@media(prefers-reduced-motion: reduce){.spin{animation:none}}@keyframes launch-spin{to{transform:rotateY(360deg)}}.panel{position:absolute;top:-54px;height:54px;background:color-mix(in srgb, var(--foreground) var(--light), var(--background));border-top:1px solid color-mix(in srgb, var(--foreground) 60%, transparent)}.window{position:absolute;left:50%;top:14px;width:9px;height:9px;margin-left:-4.5px;border-radius:50%;background:var(--background);border:1.5px solid var(--foreground)}.nose{position:absolute;bottom:54px;transform-origin:50% 100%;clip-path:polygon(50% 0, 100% 100%, 0 100%);background:color-mix(in srgb, var(--foreground) var(--light), var(--background))}.fin{position:absolute;left:-8px;top:-24px;width:16px;height:26px;clip-path:polygon(0 0, 100% 60%, 100% 100%, 0 100%);background:color-mix(in srgb, var(--foreground) 40%, var(--background))}.flame{position:absolute;left:-8px;top:0;width:16px;height:30px;clip-path:polygon(0 0, 100% 0, 50% 100%);background:linear-gradient(180deg, var(--foreground), color-mix(in srgb, var(--foreground) 20%, transparent));transform-origin:50% 0;scale:1 0;animation:launch-flame 6s linear infinite}@media(prefers-reduced-motion: reduce){.flame{animation:none}}@keyframes launch-flame{0%,58%{scale:1 0}61%{scale:1 1.2}62%{scale:1 .8}64%{scale:1 1.25}66%{scale:1 .8}68%{scale:1 1.25}70%{scale:1 .8}72%{scale:1 1.25}74%{scale:1 .8}76%{scale:1 1.25}78%{scale:1 .8}80%{scale:1 1.25}82%{scale:1 .8}84%,100%{scale:1 0}}.trail{position:absolute;left:-1.5px;top:26px;width:3px;height:80px;background:linear-gradient(180deg, color-mix(in srgb, var(--foreground) 70%, transparent), transparent);transform-origin:top;transform:scaleY(0);animation:launch-trail 6s ease-in infinite}@media(prefers-reduced-motion: reduce){.trail{animation:none}}@keyframes launch-trail{0%,62%{transform:scaleY(0);opacity:1}80%{transform:scaleY(1);opacity:1}84%,100%{transform:scaleY(1);opacity:0}}.smoke{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;transform:translateY(44px)}.smoke i{position:absolute;left:-14px;top:-14px;width:28px;height:28px;border-radius:50%;background:radial-gradient(circle, color-mix(in srgb, var(--foreground) 45%, transparent), transparent 70%);opacity:0;animation:launch-smoke 6s ease-out infinite}@media(prefers-reduced-motion: reduce){.smoke i{animation:none}}@keyframes launch-smoke{0%,60%{opacity:0;transform:rotateY(var(--angle)) translateZ(0) rotateY(calc(-1 * var(--angle))) scale(0.4)}64%{opacity:1}86%,100%{opacity:0;transform:rotateY(var(--angle)) translateZ(64px) rotateY(calc(-1 * var(--angle))) scale(2)}}.countdown{position:absolute;left:-118px;top:-92px;width:64px;height:64px;transform:translateZ(30px);opacity:0;animation:launch-countdown 6s ease-out infinite}@media(prefers-reduced-motion: reduce){.countdown{animation:none}}@keyframes launch-countdown{0%,58%{opacity:1;transform:translateZ(30px) scale(1)}66%,100%{opacity:0;transform:translateZ(30px) scale(0.8)}}.ring{position:absolute;inset:0;overflow:visible;transform:rotate(-90deg)}.ring circle{fill:none;stroke:color-mix(in srgb, var(--foreground) 16%, transparent);stroke-width:2}.ring .time{stroke:var(--foreground);stroke-linecap:round;stroke-dasharray:100 100;animation:launch-time 6s linear infinite}@media(prefers-reduced-motion: reduce){.ring .time{animation:none}}@keyframes launch-time{0%{stroke-dashoffset:0}60%,100%{stroke-dashoffset:100}}.number{position:absolute;inset:0;display:grid;place-items:center;font-family:var(--font-display, inherit);font-size:30px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--foreground);opacity:0;animation:launch-number 6s cubic-bezier(0.22, 1, 0.36, 1) infinite backwards}@media(prefers-reduced-motion: reduce){.number{animation:none}}@keyframes launch-number{0%{opacity:0;transform:translateY(14px) scale(1.25);filter:blur(6px)}6%,16%{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}23%,100%{opacity:0;transform:translateY(-14px) scale(0.85);filter:blur(6px)}}
|