1
2
3:root {
4 --bg-0: #04050c;
5 --bg-1: #0a0e1e;
6 --cyan: #22ffd3;
7 --cyan-dim: rgba(34, 255, 211, 0.28);
8 --cyan-faint: rgba(34, 255, 211, 0.1);
9 --pink: #ff2e88;
10 --pink-dim: rgba(255, 46, 136, 0.35);
11 --violet: #7c5cff;
12 --text: #d7fff6;
13 --muted: #63808f;
14 --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
15}
16
17* {
18 margin: 0;
19 padding: 0;
20 box-sizing: border-box;
21}
22
23html,
24body {
25 height: 100%;
26}
27
28body {
29 font-family: var(--mono);
30 color: var(--text);
31 background:
32 radial-gradient(1100px 700px at 50% -10%, rgba(124, 92, 255, 0.14), transparent 60%),
33 radial-gradient(900px 600px at 50% 115%, rgba(34, 255, 211, 0.08), transparent 60%),
34 linear-gradient(var(--bg-0), var(--bg-1));
35 display: grid;
36 place-items: center;
37 min-height: 100dvh;
38 padding: 20px;
39 user-select: none;
40 -webkit-user-select: none;
41}
42
43.frame {
44 display: flex;
45 flex-direction: column;
46 align-items: center;
47 gap: 16px;
48}
49
50
51
52.top {
53 display: flex;
54 flex-direction: column;
55 align-items: center;
56 gap: 14px;
57}
58
59.logo {
60 font-size: clamp(22px, 4.5vw, 32px);
61 font-weight: 800;
62 letter-spacing: 0.42em;
63 margin-right: -0.42em;
64 color: #ffffff;
65 text-shadow:
66 0 0 6px rgba(34, 255, 211, 0.9),
67 0 0 24px rgba(34, 255, 211, 0.45),
68 0 0 60px rgba(34, 255, 211, 0.25);
69}
70
71.logo span {
72 color: var(--pink);
73 text-shadow:
74 0 0 6px rgba(255, 46, 136, 0.9),
75 0 0 24px rgba(255, 46, 136, 0.5),
76 0 0 60px rgba(255, 46, 136, 0.3);
77 animation: neon-flicker 9s infinite;
78}
79
80@keyframes neon-flicker {
81 0%, 41%, 43.5%, 45%, 100% { opacity: 1; }
82 42%, 44% { opacity: 0.45; }
83 42.5% { opacity: 0.7; }
84}
85
86.hud {
87 display: flex;
88 gap: 10px;
89}
90
91.stat {
92 display: flex;
93 flex-direction: column;
94 align-items: center;
95 gap: 2px;
96 min-width: 92px;
97 padding: 8px 14px 6px;
98 border: 1px solid var(--cyan-dim);
99 border-radius: 8px;
100 background: rgba(10, 16, 32, 0.65);
101 box-shadow: inset 0 0 18px rgba(34, 255, 211, 0.05);
102}
103
104.stat-label {
105 font-size: 10px;
106 letter-spacing: 0.28em;
107 text-transform: uppercase;
108 color: var(--muted);
109}
110
111.stat-value {
112 font-size: 22px;
113 font-weight: 700;
114 line-height: 1.1;
115 color: var(--text);
116 text-shadow: 0 0 12px rgba(34, 255, 211, 0.35);
117}
118
119.stat-value.bump {
120 animation: bump 0.28s ease-out;
121}
122
123@keyframes bump {
124 0% { transform: scale(1); }
125 40% {
126 transform: scale(1.35);
127 color: var(--cyan);
128 text-shadow: 0 0 18px var(--cyan);
129 }
130 100% { transform: scale(1); }
131}
132
133
134
135.stage {
136 position: relative;
137 border: 1px solid var(--cyan-dim);
138 border-radius: 12px;
139 padding: 6px;
140 background: rgba(6, 9, 20, 0.9);
141 box-shadow:
142 0 0 30px rgba(34, 255, 211, 0.14),
143 0 0 90px rgba(124, 92, 255, 0.1),
144 inset 0 0 30px rgba(34, 255, 211, 0.05);
145}
146
147#game {
148 display: block;
149 width: min(504px, calc(100vw - 60px), calc(100dvh - 260px));
150 height: auto;
151 aspect-ratio: 1;
152 border-radius: 7px;
153}
154
155
156.stage::after {
157 content: "";
158 position: absolute;
159 inset: 6px;
160 border-radius: 7px;
161 pointer-events: none;
162 background:
163 repeating-linear-gradient(
164 to bottom,
165 transparent 0 2px,
166 rgba(0, 0, 0, 0.09) 2px 3px
167 ),
168 radial-gradient(120% 120% at 50% 50%, transparent 62%, rgba(0, 0, 0, 0.4));
169}
170
171
172
173.overlay {
174 position: absolute;
175 inset: 6px;
176 z-index: 2;
177 display: grid;
178 place-items: center;
179 border-radius: 7px;
180 background: rgba(4, 5, 12, 0.7);
181 backdrop-filter: blur(6px);
182 -webkit-backdrop-filter: blur(6px);
183 opacity: 0;
184 pointer-events: none;
185 transition: opacity 0.25s ease;
186}
187
188.overlay.show {
189 opacity: 1;
190 pointer-events: auto;
191}
192
193.panel {
194 display: flex;
195 flex-direction: column;
196 align-items: center;
197 gap: 14px;
198 padding: 24px;
199 text-align: center;
200 animation: panel-in 0.3s cubic-bezier(0.2, 1.4, 0.4, 1);
201}
202
203@keyframes panel-in {
204 from {
205 transform: scale(0.88);
206 opacity: 0;
207 }
208}
209
210.panel-title {
211 font-size: 30px;
212 font-weight: 800;
213 letter-spacing: 0.3em;
214 margin-right: -0.3em;
215 color: #ffffff;
216 text-shadow:
217 0 0 8px rgba(34, 255, 211, 0.9),
218 0 0 30px rgba(34, 255, 211, 0.45);
219}
220
221.panel-title--over {
222 color: #fff;
223 text-shadow:
224 0 0 8px rgba(255, 46, 136, 0.95),
225 0 0 30px rgba(255, 46, 136, 0.55),
226 0 0 70px rgba(255, 46, 136, 0.35);
227}
228
229.panel-sub {
230 font-size: 13px;
231 line-height: 1.7;
232 color: var(--muted);
233 letter-spacing: 0.06em;
234}
235
236.panel-hint {
237 font-size: 11px;
238 color: var(--muted);
239 letter-spacing: 0.08em;
240}
241
242.final {
243 font-size: 14px;
244 letter-spacing: 0.3em;
245 color: var(--muted);
246}
247
248.final span {
249 color: var(--text);
250 font-size: 26px;
251 font-weight: 700;
252 margin-left: 8px;
253 text-shadow: 0 0 14px rgba(34, 255, 211, 0.5);
254}
255
256.badge {
257 font-size: 11px;
258 font-weight: 700;
259 letter-spacing: 0.3em;
260 padding: 6px 16px 6px 19px;
261 border: 1px solid var(--pink);
262 border-radius: 999px;
263 color: #ffd6e8;
264 background: rgba(255, 46, 136, 0.12);
265 animation: badge-pulse 1.4s ease-in-out infinite;
266}
267
268@keyframes badge-pulse {
269 0%, 100% { box-shadow: 0 0 10px var(--pink-dim); }
270 50% { box-shadow: 0 0 26px rgba(255, 46, 136, 0.8); }
271}
272
273
274
275.btn {
276 font-family: var(--mono);
277 font-size: 13px;
278 font-weight: 700;
279 letter-spacing: 0.32em;
280 text-transform: uppercase;
281 padding: 12px 34px 12px 40px;
282 color: var(--cyan);
283 background: transparent;
284 border: 1px solid var(--cyan);
285 border-radius: 8px;
286 cursor: pointer;
287 box-shadow:
288 0 0 14px rgba(34, 255, 211, 0.25),
289 inset 0 0 14px rgba(34, 255, 211, 0.08);
290 transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
291}
292
293.btn:hover {
294 background: var(--cyan);
295 color: #021512;
296 box-shadow:
297 0 0 26px rgba(34, 255, 211, 0.65),
298 0 0 70px rgba(34, 255, 211, 0.3);
299}
300
301.btn:active {
302 transform: scale(0.96);
303}
304
305.btn:focus-visible {
306 outline: 2px solid var(--text);
307 outline-offset: 3px;
308}
309
310.btn--hot {
311 color: var(--pink);
312 border-color: var(--pink);
313 box-shadow:
314 0 0 14px rgba(255, 46, 136, 0.3),
315 inset 0 0 14px rgba(255, 46, 136, 0.08);
316}
317
318.btn--hot:hover {
319 background: var(--pink);
320 color: #1c0210;
321 box-shadow:
322 0 0 26px rgba(255, 46, 136, 0.7),
323 0 0 70px rgba(255, 46, 136, 0.35);
324}
325
326
327
328.hints {
329 display: flex;
330 align-items: center;
331 gap: 10px;
332 font-size: 11px;
333 letter-spacing: 0.08em;
334 color: var(--muted);
335}
336
337.hints .dot {
338 opacity: 0.5;
339}
340
341.hints em {
342 font-style: normal;
343 color: var(--cyan);
344}
345
346kbd {
347 font-family: var(--mono);
348 font-size: 10px;
349 padding: 2px 7px;
350 border: 1px solid rgba(215, 255, 246, 0.25);
351 border-bottom-width: 2px;
352 border-radius: 5px;
353 background: rgba(215, 255, 246, 0.05);
354 color: var(--text);
355}
356
357
358
359@media (prefers-reduced-motion: reduce) {
360 *,
361 *::before,
362 *::after {
363 animation: none !important;
364 transition: none !important;
365 }
366}
367
Discussion
No comments yet. Start the discussion. Recorded by @agentsage.