|
127 | 127 | Still circular — NOT a vertical list! |
128 | 128 | ============================================================ */ |
129 | 129 | @media (max-width: 767px) { |
| 130 | + body { |
| 131 | + display: block; |
| 132 | + } |
| 133 | + |
| 134 | + .website-container { |
| 135 | + width: 100%; |
| 136 | + height: 100%; |
| 137 | + } |
| 138 | + |
130 | 139 | .crt-monitor { |
131 | 140 | width: 100vw; |
132 | | - height: var(--app-height, 100dvh); |
| 141 | + height: var(--app-height, 100svh); |
133 | 142 | max-width: none; |
134 | 143 | max-height: none; |
135 | | - border-radius: 16px; |
| 144 | + border-radius: 0; |
136 | 145 | } |
137 | 146 |
|
138 | 147 | .crt-screen { |
139 | | - inset: 4px; |
140 | | - border-radius: 12px; |
| 148 | + inset: 0; |
| 149 | + border-radius: 0; |
141 | 150 | } |
142 | 151 |
|
143 | 152 | /* ---- MENU SCREEN PADDING ---- */ |
144 | 153 | .menu-screen { |
145 | | - padding: 10px 8px calc(env(safe-area-inset-bottom, 0px) + 14px); |
| 154 | + padding: max(10px, calc(env(safe-area-inset-top, 0px) + 8px)) 10px calc(env(safe-area-inset-bottom, 0px) + 14px); |
146 | 155 | justify-content: flex-start; |
147 | 156 | overflow-y: auto; |
148 | 157 | overflow-x: hidden; |
149 | 158 | -webkit-overflow-scrolling: touch; |
150 | 159 | } |
151 | 160 |
|
| 161 | + .menu-screen.active::before, |
| 162 | + .menu-screen.active::after, |
| 163 | + .arcade-hud::after, |
| 164 | + .arcade-details-panel::before, |
| 165 | + .arcade-details-panel::after, |
| 166 | + .details-header-border::after, |
| 167 | + .grid-node::before, |
| 168 | + .grid-node.selected::before { |
| 169 | + display: none; |
| 170 | + } |
| 171 | + |
152 | 172 | /* ---- COMPACT HUD ---- */ |
153 | 173 | .arcade-hud { |
154 | 174 | width: 100%; |
|
204 | 224 |
|
205 | 225 | /* ---- GRID ---- */ |
206 | 226 | .arcade-grid { |
207 | | - --grid-col-gap: 6px; |
208 | | - --grid-row-gap: 6px; |
| 227 | + --grid-col-gap: 10px; |
| 228 | + --grid-row-gap: 10px; |
209 | 229 | gap: var(--grid-row-gap) var(--grid-col-gap); |
210 | 230 | flex: 0 0 auto; |
211 | 231 | width: 100%; |
212 | | - justify-content: center; |
| 232 | + justify-content: space-between; |
213 | 233 | align-content: flex-start; |
214 | 234 | } |
215 | 235 |
|
216 | 236 | .grid-node { |
217 | | - flex: 0 0 calc((100% - (var(--grid-col-gap) * 4)) / 5); |
218 | | - max-width: calc((100% - (var(--grid-col-gap) * 4)) / 5); |
219 | | - padding: 6px 4px; |
220 | | - border-width: 1px; |
221 | | - border-radius: 4px; |
| 237 | + flex: 0 0 calc((100% - var(--grid-col-gap)) / 2); |
| 238 | + max-width: calc((100% - var(--grid-col-gap)) / 2); |
| 239 | + min-height: 84px; |
| 240 | + aspect-ratio: auto; |
| 241 | + padding: 10px 8px; |
| 242 | + border-width: 1.5px; |
| 243 | + border-radius: 6px; |
| 244 | + animation: none; |
| 245 | + backdrop-filter: none; |
| 246 | + transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease; |
222 | 247 | } |
223 | 248 |
|
224 | 249 | .grid-node.selected { |
225 | | - transform: translateY(-2px) scale(1.02); |
| 250 | + transform: none; |
| 251 | + animation: none; |
226 | 252 | } |
227 | 253 |
|
228 | 254 | .grid-node-icon { |
229 | | - width: 24px; |
230 | | - height: 24px; |
231 | | - margin-bottom: 4px; |
| 255 | + width: 30px; |
| 256 | + height: 30px; |
| 257 | + margin-bottom: 6px; |
232 | 258 | } |
233 | 259 |
|
234 | 260 | .grid-node-label { |
235 | | - font-size: 6px; |
236 | | - line-height: 1.35; |
237 | | - letter-spacing: 0.2px; |
| 261 | + font-size: 7px; |
| 262 | + line-height: 1.4; |
| 263 | + letter-spacing: 0.3px; |
238 | 264 | } |
239 | 265 |
|
240 | 266 | .grid-node[data-id="battleships"] .grid-node-icon { |
241 | | - width: 26px; |
242 | | - height: 26px; |
| 267 | + width: 30px; |
| 268 | + height: 30px; |
243 | 269 | } |
244 | 270 |
|
245 | 271 | .grid-node[data-id="battleships"] .grid-node-label { |
246 | | - font-size: 5px; |
| 272 | + font-size: 6.4px; |
247 | 273 | } |
248 | 274 |
|
249 | 275 | /* ---- DETAILS PANEL ---- */ |
|
254 | 280 | padding: 10px; |
255 | 281 | border-width: 2px; |
256 | 282 | overflow: visible; |
| 283 | + backdrop-filter: none; |
| 284 | + transition: border-color 0.2s ease, box-shadow 0.2s ease; |
257 | 285 | } |
258 | 286 |
|
259 | 287 | .details-header-border { |
|
263 | 291 |
|
264 | 292 | .details-header { |
265 | 293 | font-size: 8px; |
| 294 | + animation: none; |
266 | 295 | } |
267 | 296 |
|
268 | 297 | .details-showcase { |
269 | | - gap: 7px; |
270 | | - margin-bottom: 8px; |
| 298 | + gap: 10px; |
| 299 | + margin-bottom: 10px; |
| 300 | + animation: none; |
271 | 301 | } |
272 | 302 |
|
273 | 303 | .details-icon-wrapper { |
274 | | - width: 32px; |
275 | | - height: 32px; |
| 304 | + width: 40px; |
| 305 | + height: 40px; |
276 | 306 | } |
277 | 307 |
|
278 | 308 | .details-icon-wrapper svg, |
279 | 309 | .details-icon-wrapper .grid-node-img { |
280 | | - width: 22px; |
281 | | - height: 22px; |
| 310 | + width: 26px; |
| 311 | + height: 26px; |
282 | 312 | } |
283 | 313 |
|
284 | 314 | .details-title { |
285 | | - font-size: 11px; |
286 | | - line-height: 1.25; |
| 315 | + font-size: 12px; |
| 316 | + line-height: 1.35; |
| 317 | + text-shadow: none; |
287 | 318 | } |
288 | 319 |
|
289 | 320 | .details-stats-block { |
|
293 | 324 | } |
294 | 325 |
|
295 | 326 | .stat-row { |
296 | | - font-size: 7px; |
| 327 | + font-size: 7.5px; |
| 328 | + animation: none; |
297 | 329 | } |
298 | 330 |
|
299 | 331 | .details-info-box { |
300 | | - font-size: 8px; |
301 | | - line-height: 1.7; |
| 332 | + font-size: 8.5px; |
| 333 | + line-height: 1.75; |
302 | 334 | max-height: none; |
303 | | - min-height: 120px; |
| 335 | + min-height: 140px; |
304 | 336 | flex: 1; |
305 | 337 | overflow-y: auto; |
306 | | - margin-bottom: 8px; |
| 338 | + margin-bottom: 10px; |
307 | 339 | padding-right: 6px; |
308 | 340 | } |
309 | 341 |
|
310 | 342 | .details-action-btn { |
311 | | - padding: 8px 10px; |
312 | | - font-size: 7px; |
| 343 | + padding: 10px 12px; |
| 344 | + font-size: 7.5px; |
313 | 345 | line-height: 1.5; |
314 | 346 | } |
315 | 347 |
|
|
321 | 353 | width: 100%; |
322 | 354 | line-height: 1.5; |
323 | 355 | margin-top: auto; |
| 356 | + animation: none; |
324 | 357 | } |
325 | 358 |
|
326 | 359 | /* ---- SFX BUTTON ---- */ |
|
336 | 369 | .sfx-toggle:hover { |
337 | 370 | opacity: 1; |
338 | 371 | } |
| 372 | + |
| 373 | + .hud-label, |
| 374 | + .hud-value, |
| 375 | + .details-icon-wrapper::after, |
| 376 | + .stat-bar span, |
| 377 | + .grid-node.selected .grid-node-label, |
| 378 | + .grid-node.selected .grid-node-icon, |
| 379 | + .grid-node.selected .grid-node-icon svg, |
| 380 | + .grid-node.selected .grid-node-icon .grid-node-img { |
| 381 | + animation: none; |
| 382 | + } |
| 383 | + |
| 384 | + .grid-node.selected .grid-node-label, |
| 385 | + .grid-node.selected .grid-node-icon { |
| 386 | + transform: none; |
| 387 | + } |
339 | 388 | } |
340 | 389 |
|
341 | 390 | /* ============================================================ |
342 | 391 | VERY SMALL SCREENS (≤400px) |
343 | 392 | ============================================================ */ |
344 | 393 | @media (max-width: 400px) { |
345 | 394 | .grid-node-icon { |
346 | | - width: 22px; |
347 | | - height: 22px; |
| 395 | + width: 28px; |
| 396 | + height: 28px; |
348 | 397 | } |
349 | 398 |
|
350 | 399 | .grid-node-label { |
351 | | - font-size: 5.6px; |
352 | | - line-height: 1.3; |
| 400 | + font-size: 6.4px; |
| 401 | + line-height: 1.35; |
353 | 402 | } |
354 | 403 |
|
355 | 404 | .grid-node[data-id="battleships"] .grid-node-icon { |
356 | | - width: 24px; |
357 | | - height: 24px; |
| 405 | + width: 28px; |
| 406 | + height: 28px; |
358 | 407 | } |
359 | 408 |
|
360 | 409 | .grid-node[data-id="battleships"] .grid-node-label { |
361 | | - font-size: 4.5px; |
| 410 | + font-size: 6px; |
362 | 411 | } |
363 | 412 |
|
364 | 413 | .details-info-box { |
365 | | - font-size: 7.5px; |
| 414 | + font-size: 8px; |
366 | 415 | max-height: none; |
367 | 416 | } |
368 | 417 |
|
|
387 | 436 | } |
388 | 437 |
|
389 | 438 | .arcade-grid { |
390 | | - --grid-col-gap: 3px; |
391 | | - --grid-row-gap: 3px; |
| 439 | + --grid-col-gap: 6px; |
| 440 | + --grid-row-gap: 6px; |
392 | 441 | gap: var(--grid-row-gap) var(--grid-col-gap); |
| 442 | + justify-content: space-between; |
393 | 443 | } |
394 | 444 |
|
395 | 445 | .grid-node { |
396 | | - padding: 3px; |
| 446 | + flex: 0 0 calc((100% - (var(--grid-col-gap) * 2)) / 3); |
| 447 | + max-width: calc((100% - (var(--grid-col-gap) * 2)) / 3); |
| 448 | + min-height: 64px; |
| 449 | + padding: 6px 4px; |
397 | 450 | } |
398 | 451 |
|
399 | 452 | .grid-node-icon { |
400 | | - width: 18px; |
401 | | - height: 18px; |
| 453 | + width: 20px; |
| 454 | + height: 20px; |
402 | 455 | margin-bottom: 2px; |
403 | 456 | } |
404 | 457 |
|
405 | 458 | .grid-node-label { |
406 | | - font-size: 5.5px; |
| 459 | + font-size: 5.8px; |
407 | 460 | } |
408 | 461 |
|
409 | 462 | .details-stats-block { |
|
0 commit comments