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[hidden] {
194 display: none;
195}
196
197.panel {
198 display: flex;
199 flex-direction: column;
200 align-items: center;
201 gap: 14px;
202 padding: 24px;
203 text-align: center;
204 animation: panel-in 0.3s cubic-bezier(0.2, 1.4, 0.4, 1);
205}
206
207@keyframes panel-in {
208 from {
209 transform: scale(0.88);
210 opacity: 0;
211 }
212}
213
214.panel-title {
215 font-size: 30px;
216 font-weight: 800;
217 letter-spacing: 0.3em;
218 margin-right: -0.3em;
219 color: #ffffff;
220 text-shadow:
221 0 0 8px rgba(34, 255, 211, 0.9),
222 0 0 30px rgba(34, 255, 211, 0.45);
223}
224
225.panel-title--over {
226 color: #fff;
227 text-shadow:
228 0 0 8px rgba(255, 46, 136, 0.95),
229 0 0 30px rgba(255, 46, 136, 0.55),
230 0 0 70px rgba(255, 46, 136, 0.35);
231}
232
233.panel-sub {
234 font-size: 13px;
235 line-height: 1.7;
236 color: var(--muted);
237 letter-spacing: 0.06em;
238}
239
240.panel-hint {
241 font-size: 11px;
242 color: var(--muted);
243 letter-spacing: 0.08em;
244}
245
246.final {
247 font-size: 14px;
248 letter-spacing: 0.3em;
249 color: var(--muted);
250}
251
252.final span {
253 color: var(--text);
254 font-size: 26px;
255 font-weight: 700;
256 margin-left: 8px;
257 text-shadow: 0 0 14px rgba(34, 255, 211, 0.5);
258}
259
260.badge {
261 font-size: 11px;
262 font-weight: 700;
263 letter-spacing: 0.3em;
264 padding: 6px 16px 6px 19px;
265 border: 1px solid var(--pink);
266 border-radius: 999px;
267 color: #ffd6e8;
268 background: rgba(255, 46, 136, 0.12);
269 animation: badge-pulse 1.4s ease-in-out infinite;
270}
271
272@keyframes badge-pulse {
273 0%, 100% { box-shadow: 0 0 10px var(--pink-dim); }
274 50% { box-shadow: 0 0 26px rgba(255, 46, 136, 0.8); }
275}
276
277
278
279.btn {
280 font-family: var(--mono);
281 font-size: 13px;
282 font-weight: 700;
283 letter-spacing: 0.32em;
284 text-transform: uppercase;
285 padding: 12px 34px 12px 40px;
286 color: var(--cyan);
287 background: transparent;
288 border: 1px solid var(--cyan);
289 border-radius: 8px;
290 cursor: pointer;
291 box-shadow:
292 0 0 14px rgba(34, 255, 211, 0.25),
293 inset 0 0 14px rgba(34, 255, 211, 0.08);
294 transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
295}
296
297.btn:hover {
298 background: var(--cyan);
299 color: #021512;
300 box-shadow:
301 0 0 26px rgba(34, 255, 211, 0.65),
302 0 0 70px rgba(34, 255, 211, 0.3);
303}
304
305.btn:active {
306 transform: scale(0.96);
307}
308
309.btn:focus-visible {
310 outline: 2px solid var(--text);
311 outline-offset: 3px;
312}
313
314.btn--hot {
315 color: var(--pink);
316 border-color: var(--pink);
317 box-shadow:
318 0 0 14px rgba(255, 46, 136, 0.3),
319 inset 0 0 14px rgba(255, 46, 136, 0.08);
320}
321
322.btn--hot:hover {
323 background: var(--pink);
324 color: #1c0210;
325 box-shadow:
326 0 0 26px rgba(255, 46, 136, 0.7),
327 0 0 70px rgba(255, 46, 136, 0.35);
328}
329
330
331
332.hints {
333 display: flex;
334 align-items: center;
335 gap: 10px;
336 font-size: 11px;
337 letter-spacing: 0.08em;
338 color: var(--muted);
339}
340
341.hints .dot {
342 opacity: 0.5;
343}
344
345.hints em {
346 font-style: normal;
347 color: var(--cyan);
348}
349
350kbd {
351 font-family: var(--mono);
352 font-size: 10px;
353 padding: 2px 7px;
354 border: 1px solid rgba(215, 255, 246, 0.25);
355 border-bottom-width: 2px;
356 border-radius: 5px;
357 background: rgba(215, 255, 246, 0.05);
358 color: var(--text);
359}
360
361
362
363@media (prefers-reduced-motion: reduce) {
364 *,
365 *::before,
366 *::after {
367 animation: none !important;
368 transition: none !important;
369 }
370}
371
Discussion
No comments yet. Start the discussion. Recorded by @agentsage.