| 1 | /* Meteors — responsive, portrait-friendly, no page scroll during play. */ |
| 2 | *, *::before, *::after { box-sizing: border-box; } |
| 3 | |
| 4 | html, body { |
| 5 | margin: 0; |
| 6 | padding: 0; |
| 7 | width: 100%; |
| 8 | height: 100%; |
| 9 | overflow: hidden; |
| 10 | background: #0b1020; |
| 11 | color: #e8eaf2; |
| 12 | font-family: "Segoe UI", system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans JP", "Noto Sans", sans-serif; |
| 13 | touch-action: none; |
| 14 | overscroll-behavior: none; |
| 15 | -webkit-user-select: none; |
| 16 | user-select: none; |
| 17 | -webkit-tap-highlight-color: transparent; |
| 18 | } |
| 19 | |
| 20 | #stars { |
| 21 | position: fixed; |
| 22 | inset: 0; |
| 23 | pointer-events: none; |
| 24 | background: |
| 25 | radial-gradient(1px 1px at 12% 18%, #fff 0 50%, transparent 51%), |
| 26 | radial-gradient(1px 1px at 28% 72%, #cde 0 50%, transparent 51%), |
| 27 | radial-gradient(1.5px 1.5px at 47% 32%, #fff 0 50%, transparent 51%), |
| 28 | radial-gradient(1px 1px at 63% 81%, #bbd 0 50%, transparent 51%), |
| 29 | radial-gradient(1px 1px at 81% 22%, #fff 0 50%, transparent 51%), |
| 30 | radial-gradient(1.5px 1.5px at 91% 64%, #def 0 50%, transparent 51%), |
| 31 | radial-gradient(1px 1px at 8% 88%, #fff 0 50%, transparent 51%), |
| 32 | radial-gradient(2px 2px at 72% 48%, #89a 0 50%, transparent 51%), |
| 33 | linear-gradient(180deg, #0b1020 0%, #141a33 55%, #1a1440 100%); |
| 34 | z-index: 0; |
| 35 | } |
| 36 | |
| 37 | .screen { |
| 38 | position: fixed; |
| 39 | inset: 0; |
| 40 | z-index: 5; |
| 41 | display: flex; |
| 42 | flex-direction: column; |
| 43 | align-items: center; |
| 44 | justify-content: center; |
| 45 | padding: 24px 20px; |
| 46 | text-align: center; |
| 47 | } |
| 48 | |
| 49 | .screen[hidden], #hud[hidden], #game-over[hidden], #online-panel[hidden], #minis[hidden], #spectator[hidden], #podium[hidden], #flights[hidden], #flights-back[hidden], #planet-select[hidden], #offline-result[hidden], #game-menu[hidden], #btn-game-menu[hidden], #offline-hud[hidden], #chain-indicator[hidden], #designer[hidden], #designer-edit[hidden], #reward[hidden], #login-prompt[hidden] { display: none !important; } |
| 50 | |
| 51 | h1 { |
| 52 | font-size: clamp(48px, 14vw, 96px); |
| 53 | letter-spacing: 0.06em; |
| 54 | margin: 0 0 8px; |
| 55 | font-weight: 800; |
| 56 | background: linear-gradient(180deg, #fff6c8 0%, #ff9a3a 45%, #e85d3a 100%); |
| 57 | -webkit-background-clip: text; |
| 58 | background-clip: text; |
| 59 | color: transparent; |
| 60 | filter: drop-shadow(0 2px 12px rgba(232, 93, 58, 0.55)); |
| 61 | } |
| 62 | |
| 63 | .tagline { |
| 64 | margin: 0 0 28px; |
| 65 | font-size: clamp(15px, 3.6vw, 20px); |
| 66 | color: #c5cae0; |
| 67 | max-width: 28em; |
| 68 | } |
| 69 | |
| 70 | #btn-play, #btn-planet-go { |
| 71 | appearance: none; |
| 72 | border: 0; |
| 73 | cursor: pointer; |
| 74 | font: inherit; |
| 75 | font-size: clamp(20px, 5vw, 28px); |
| 76 | font-weight: 700; |
| 77 | letter-spacing: 0.08em; |
| 78 | text-transform: uppercase; |
| 79 | color: #1a1020; |
| 80 | background: linear-gradient(180deg, #ffe27a, #f0c53a 40%, #e89a20); |
| 81 | padding: 14px 48px; |
| 82 | border-radius: 999px; |
| 83 | box-shadow: |
| 84 | 0 0 0 3px rgba(255, 220, 120, 0.25), |
| 85 | 0 8px 24px rgba(240, 197, 58, 0.45); |
| 86 | touch-action: manipulation; |
| 87 | min-height: 52px; |
| 88 | min-width: 200px; |
| 89 | } |
| 90 | |
| 91 | #btn-play:is(:hover, :focus-visible), #btn-planet-go:is(:hover, :focus-visible) { |
| 92 | transform: translateY(-1px); |
| 93 | box-shadow: |
| 94 | 0 0 0 3px rgba(255, 220, 120, 0.4), |
| 95 | 0 10px 28px rgba(240, 197, 58, 0.6); |
| 96 | } |
| 97 | |
| 98 | #btn-play:active, #btn-planet-go:active { transform: translateY(1px); } |
| 99 | |
| 100 | .last-score { |
| 101 | margin: 22px 0 0; |
| 102 | font-size: clamp(16px, 4vw, 22px); |
| 103 | color: #ffe27a; |
| 104 | } |
| 105 | |
| 106 | .hint { |
| 107 | margin: 36px auto 0; |
| 108 | max-width: 32em; |
| 109 | font-size: clamp(13px, 3.2vw, 16px); |
| 110 | line-height: 1.45; |
| 111 | color: #8e95b3; |
| 112 | } |
| 113 | |
| 114 | #hud { |
| 115 | position: fixed; |
| 116 | top: 0; |
| 117 | left: 0; |
| 118 | right: 0; |
| 119 | z-index: 4; |
| 120 | display: flex; |
| 121 | justify-content: space-between; |
| 122 | align-items: flex-start; |
| 123 | padding: calc(8px + env(safe-area-inset-top, 0px)) 14px 4px; |
| 124 | pointer-events: none; |
| 125 | text-shadow: 0 1px 4px #000; |
| 126 | gap: 12px; |
| 127 | } |
| 128 | |
| 129 | .hud-label { |
| 130 | font-size: 11px; |
| 131 | letter-spacing: 0.14em; |
| 132 | text-transform: uppercase; |
| 133 | color: #9aa3c2; |
| 134 | } |
| 135 | |
| 136 | #score { |
| 137 | font-size: clamp(28px, 8vw, 42px); |
| 138 | font-weight: 800; |
| 139 | line-height: 1; |
| 140 | color: #fff6c8; |
| 141 | } |
| 142 | |
| 143 | #planet-name { |
| 144 | font-weight: 700; |
| 145 | font-size: clamp(14px, 3.5vw, 18px); |
| 146 | text-align: right; |
| 147 | } |
| 148 | |
| 149 | #planet-stats { |
| 150 | font-variant-numeric: tabular-nums; |
| 151 | font-size: clamp(11px, 2.8vw, 14px); |
| 152 | color: #b7bdd4; |
| 153 | text-align: right; |
| 154 | white-space: nowrap; |
| 155 | } |
| 156 | |
| 157 | .overlay { |
| 158 | background: rgba(8, 10, 22, 0.78); |
| 159 | backdrop-filter: blur(6px); |
| 160 | } |
| 161 | |
| 162 | .overlay h2 { |
| 163 | font-size: clamp(32px, 9vw, 56px); |
| 164 | margin: 0 0 8px; |
| 165 | color: #ffb0a0; |
| 166 | } |
| 167 | |
| 168 | .go-score { |
| 169 | font-size: clamp(20px, 5vw, 28px); |
| 170 | color: #ffe27a; |
| 171 | margin-top: 18px; |
| 172 | } |
| 173 | |
| 174 | /* Framework canvases sit on the body. Keep them above the starfield, below HUD. */ |
| 175 | canvas { |
| 176 | z-index: 2; |
| 177 | touch-action: none; |
| 178 | display: block; |
| 179 | } |
| 180 | |
| 181 | /* Very narrow / short phones: shrink hints so the Play button stays on screen. */ |
| 182 | @media (max-height: 520px) { |
| 183 | .hint { display: none; } |
| 184 | h1 { font-size: 42px; } |
| 185 | #btn-play, #btn-planet-go { padding: 10px 36px; } |
| 186 | } |
| 187 | |
| 188 | |
| 189 | /* ---- Stage 2: online, lobby, miniatures, flights, podium ---- */ |
| 190 | |
| 191 | #btn-online, .btn-secondary, a.button { |
| 192 | margin-top: 12px; |
| 193 | padding: 10px 36px; |
| 194 | font-size: clamp(16px, 4vw, 20px); |
| 195 | border: 1px solid #6a7394; |
| 196 | border-radius: 999px; |
| 197 | color: #e8eaf2; |
| 198 | background: linear-gradient(180deg, #2a3150, #1b2038); |
| 199 | cursor: pointer; |
| 200 | text-decoration: none; |
| 201 | display: inline-block; |
| 202 | font-family: inherit; |
| 203 | } |
| 204 | #btn-online:is(:hover, :focus-visible), |
| 205 | .btn-secondary:is(:hover, :focus-visible), |
| 206 | a.button:is(:hover, :focus-visible) { |
| 207 | border-color: #ffe27a; |
| 208 | color: #fff6c8; |
| 209 | } |
| 210 | #btn-create, #btn-join, #btn-ready, #btn-start, #btn-spectate, |
| 211 | #btn-play, #btn-planet-go, #btn-designer-new, #btn-designer-save { |
| 212 | /* play already styled */ |
| 213 | } |
| 214 | |
| 215 | #btn-create, #btn-join, #btn-ready, #btn-start, #btn-spectate, |
| 216 | #btn-designer-new, #btn-designer-save { |
| 217 | padding: 10px 28px; |
| 218 | font-size: clamp(16px, 4vw, 20px); |
| 219 | border: 0; |
| 220 | border-radius: 999px; |
| 221 | color: #1a1020; |
| 222 | background: linear-gradient(180deg, #ffe27a, #f0c53a 40%, #e89a20); |
| 223 | cursor: pointer; |
| 224 | font-weight: 700; |
| 225 | font-family: inherit; |
| 226 | } |
| 227 | #btn-start:disabled, #btn-ready:disabled { |
| 228 | opacity: 0.45; |
| 229 | cursor: default; |
| 230 | } |
| 231 | |
| 232 | #online-panel h1 { |
| 233 | font-size: clamp(36px, 9vw, 64px); |
| 234 | } |
| 235 | #online-panel { |
| 236 | z-index: 5; |
| 237 | overflow: auto; |
| 238 | text-align: center; |
| 239 | padding: 16px 16px 24px; |
| 240 | } |
| 241 | #online-panel .who { |
| 242 | color: #c5cae0; |
| 243 | margin: 0 0 8px; |
| 244 | } |
| 245 | #online-lobby .tagline { margin-bottom: 8px; } |
| 246 | #online-lobby .lobby-code { margin: 4px 0 6px; } |
| 247 | #online-panel .notice { |
| 248 | max-width: 36em; |
| 249 | margin: 0 auto 16px; |
| 250 | text-align: left; |
| 251 | line-height: 1.45; |
| 252 | color: #c5cae0; |
| 253 | } |
| 254 | #online-panel code { |
| 255 | font-size: 0.92em; |
| 256 | color: #ffe27a; |
| 257 | } |
| 258 | #online-panel a { color: #9ec5ff; } |
| 259 | .error { |
| 260 | color: #ffb0a0; |
| 261 | margin: 8px 0; |
| 262 | } |
| 263 | .notice { |
| 264 | background: rgba(20, 24, 48, 0.7); |
| 265 | border: 1px solid #3a4268; |
| 266 | border-radius: 12px; |
| 267 | padding: 14px 16px; |
| 268 | } |
| 269 | .join-form { |
| 270 | display: flex; |
| 271 | gap: 8px; |
| 272 | justify-content: center; |
| 273 | align-items: flex-end; |
| 274 | flex-wrap: wrap; |
| 275 | margin: 16px 0; |
| 276 | } |
| 277 | .join-form label { |
| 278 | display: flex; |
| 279 | flex-direction: column; |
| 280 | align-items: flex-start; |
| 281 | font-size: 13px; |
| 282 | color: #9aa3c2; |
| 283 | } |
| 284 | .join-form input { |
| 285 | font-size: 22px; |
| 286 | letter-spacing: 0.2em; |
| 287 | text-transform: uppercase; |
| 288 | width: 8em; |
| 289 | padding: 8px 10px; |
| 290 | border-radius: 8px; |
| 291 | border: 1px solid #6a7394; |
| 292 | background: #141a33; |
| 293 | color: #fff6c8; |
| 294 | font-family: inherit; |
| 295 | text-align: center; |
| 296 | } |
| 297 | .lobby-code { |
| 298 | font-size: clamp(22px, 6vw, 34px); |
| 299 | margin: 8px 0 16px; |
| 300 | color: #ffe27a; |
| 301 | } |
| 302 | .btn-tiny { |
| 303 | font-size: 13px; |
| 304 | padding: 4px 10px; |
| 305 | margin-left: 8px; |
| 306 | border-radius: 999px; |
| 307 | border: 1px solid #6a7394; |
| 308 | background: #1b2038; |
| 309 | color: #e8eaf2; |
| 310 | cursor: pointer; |
| 311 | font-family: inherit; |
| 312 | letter-spacing: 0; |
| 313 | vertical-align: middle; |
| 314 | } |
| 315 | .player-list { |
| 316 | list-style: none; |
| 317 | padding: 0; |
| 318 | margin: 0 auto 18px; |
| 319 | max-width: 22em; |
| 320 | text-align: left; |
| 321 | } |
| 322 | .player-list li { |
| 323 | display: flex; |
| 324 | justify-content: space-between; |
| 325 | padding: 8px 12px; |
| 326 | border-bottom: 1px solid #2a3150; |
| 327 | color: #e8eaf2; |
| 328 | } |
| 329 | .player-list .ready { color: #8eec9a; } |
| 330 | .player-list .waiting { color: #8e95b3; } |
| 331 | .player-list .you { font-weight: 700; } |
| 332 | .lobby-actions { |
| 333 | display: flex; |
| 334 | gap: 10px; |
| 335 | justify-content: center; |
| 336 | flex-wrap: wrap; |
| 337 | margin-top: 12px; |
| 338 | } |
| 339 | |
| 340 | #minis { |
| 341 | position: fixed; |
| 342 | top: 0; |
| 343 | left: 0; |
| 344 | right: 0; |
| 345 | z-index: 4; |
| 346 | display: flex; |
| 347 | gap: 10px; |
| 348 | justify-content: center; |
| 349 | align-items: flex-end; |
| 350 | flex-wrap: wrap; |
| 351 | padding: 6px 8px 0; |
| 352 | pointer-events: none; |
| 353 | } |
| 354 | #minis.sides { |
| 355 | inset: 0; |
| 356 | display: block; |
| 357 | padding: 0; |
| 358 | overflow: visible; |
| 359 | max-height: none; |
| 360 | gap: 0; |
| 361 | } |
| 362 | #minis.sides .mini { |
| 363 | position: absolute; |
| 364 | margin: 0; |
| 365 | min-width: 0; |
| 366 | } |
| 367 | #minis.sides .mini-name { |
| 368 | max-width: 100%; |
| 369 | } |
| 370 | .mini { |
| 371 | text-align: center; |
| 372 | color: #c5cae0; |
| 373 | font-size: 11px; |
| 374 | min-width: 72px; |
| 375 | } |
| 376 | .mini-name { |
| 377 | max-width: 90px; |
| 378 | overflow: hidden; |
| 379 | text-overflow: ellipsis; |
| 380 | white-space: nowrap; |
| 381 | font-weight: 700; |
| 382 | } |
| 383 | .mini-canvas { |
| 384 | display: block; |
| 385 | width: 80px; |
| 386 | height: 104px; |
| 387 | background: #0c1020; |
| 388 | border: 1px solid #2a3150; |
| 389 | border-radius: 4px; |
| 390 | image-rendering: pixelated; |
| 391 | } |
| 392 | .mini.eliminated { opacity: 0.45; } |
| 393 | .mini.eliminated .mini-meta { color: #ffb0a0; } |
| 394 | |
| 395 | #flights { |
| 396 | position: fixed; |
| 397 | inset: 0; |
| 398 | z-index: 6; |
| 399 | pointer-events: none; |
| 400 | overflow: visible; |
| 401 | } |
| 402 | /* Enemy-to-enemy arcs: above the starfield and minis, but the field |
| 403 | rectangle is clipped out so they pass behind the player's field (t1125). */ |
| 404 | #flights-back { |
| 405 | position: fixed; |
| 406 | inset: 0; |
| 407 | z-index: 5; |
| 408 | pointer-events: none; |
| 409 | overflow: visible; |
| 410 | } |
| 411 | #flights .flight, |
| 412 | #flights-back .flight { |
| 413 | position: fixed; |
| 414 | top: 0; |
| 415 | left: 0; |
| 416 | width: 40px; |
| 417 | height: 40px; |
| 418 | will-change: transform; |
| 419 | pointer-events: none; |
| 420 | } |
| 421 | |
| 422 | #spectator h2, #podium h2 { |
| 423 | color: #ffe27a; |
| 424 | } |
| 425 | .podium-list { |
| 426 | list-style: none; |
| 427 | padding: 0; |
| 428 | margin: 16px auto; |
| 429 | max-width: 16em; |
| 430 | font-size: clamp(20px, 5vw, 28px); |
| 431 | } |
| 432 | .podium-list li { |
| 433 | padding: 6px 0; |
| 434 | color: #e8eaf2; |
| 435 | } |
| 436 | .podium-list li:first-child { color: #ffe27a; font-size: 1.2em; font-weight: 700; } |
| 437 | .podium-list li:nth-child(2) { color: #d0d6ea; } |
| 438 | .podium-list li:nth-child(3) { color: #e0a878; } |
| 439 | |
| 440 | @media (max-height: 520px) { |
| 441 | #online-panel .hint, #online-panel .tagline { display: block; } |
| 442 | .mini-canvas { width: 56px; height: 73px; } |
| 443 | } |
| 444 | |
| 445 | /* Stage 3: planet (field) selection */ |
| 446 | #planet-select { |
| 447 | justify-content: flex-start; |
| 448 | overflow-y: auto; |
| 449 | touch-action: pan-y; |
| 450 | -webkit-overflow-scrolling: touch; |
| 451 | padding-top: 20px; |
| 452 | padding-bottom: 32px; |
| 453 | } |
| 454 | #planet-select h1 { |
| 455 | font-size: clamp(32px, 9vw, 64px); |
| 456 | margin-bottom: 4px; |
| 457 | } |
| 458 | #planet-select .tagline { margin-bottom: 16px; } |
| 459 | .planet-grid { |
| 460 | display: grid; |
| 461 | grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); |
| 462 | gap: 12px; |
| 463 | width: min(1000px, 100%); |
| 464 | margin: 0 auto 16px; |
| 465 | text-align: left; |
| 466 | touch-action: pan-y; |
| 467 | } |
| 468 | .planet-card { |
| 469 | appearance: none; |
| 470 | display: block; |
| 471 | width: 100%; |
| 472 | margin: 0; |
| 473 | padding: 12px 14px 10px; |
| 474 | border: 1px solid rgba(200, 210, 240, 0.16); |
| 475 | border-radius: 14px; |
| 476 | background: rgba(16, 20, 40, 0.72); |
| 477 | color: inherit; |
| 478 | font: inherit; |
| 479 | text-align: left; |
| 480 | cursor: pointer; |
| 481 | touch-action: manipulation; |
| 482 | transition: border-color 0.15s, box-shadow 0.15s, background 0.15s; |
| 483 | } |
| 484 | .planet-card:hover, .planet-card:focus-visible { |
| 485 | border-color: rgba(255, 226, 122, 0.55); |
| 486 | outline: none; |
| 487 | } |
| 488 | .planet-card.selected { |
| 489 | border-color: #ffe27a; |
| 490 | box-shadow: 0 0 0 2px rgba(255, 226, 122, 0.35), 0 8px 24px rgba(0,0,0,0.35); |
| 491 | background: rgba(40, 32, 16, 0.78); |
| 492 | } |
| 493 | .planet-card .planet-title { |
| 494 | font-size: 1.15rem; |
| 495 | font-weight: 700; |
| 496 | letter-spacing: 0.03em; |
| 497 | color: #fff6c8; |
| 498 | } |
| 499 | .planet-card .planet-people { |
| 500 | font-size: 0.85rem; |
| 501 | color: #8e95b3; |
| 502 | margin: 0 0 6px; |
| 503 | } |
| 504 | .planet-card .planet-nums { |
| 505 | font-variant-numeric: tabular-nums; |
| 506 | font-size: 0.78rem; |
| 507 | color: #c5cae0; |
| 508 | letter-spacing: 0.01em; |
| 509 | line-height: 1.35; |
| 510 | margin: 0 0 8px; |
| 511 | } |
| 512 | .planet-card .planet-swatches { |
| 513 | display: flex; |
| 514 | gap: 6px; |
| 515 | align-items: center; |
| 516 | } |
| 517 | .planet-card .planet-swatches img { |
| 518 | width: 26px; |
| 519 | height: 26px; |
| 520 | image-rendering: auto; |
| 521 | flex: 0 0 auto; |
| 522 | } |
| 523 | .planet-actions { |
| 524 | display: flex; |
| 525 | gap: 12px; |
| 526 | flex-wrap: wrap; |
| 527 | justify-content: center; |
| 528 | margin-top: 8px; |
| 529 | flex-shrink: 0; |
| 530 | } |
| 531 | .planet-grid.compact { |
| 532 | grid-template-columns: repeat(4, minmax(0, 1fr)); |
| 533 | gap: 8px; |
| 534 | width: min(920px, 92vw); |
| 535 | min-width: min(920px, 92vw); |
| 536 | max-height: none; |
| 537 | overflow: visible; |
| 538 | touch-action: pan-y; |
| 539 | margin-bottom: 10px; |
| 540 | align-self: center; |
| 541 | } |
| 542 | @media (max-width: 720px) { |
| 543 | .planet-grid.compact { |
| 544 | grid-template-columns: repeat(2, minmax(0, 1fr)); |
| 545 | } |
| 546 | } |
| 547 | .planet-grid.compact .planet-card { padding: 6px 8px; } |
| 548 | .planet-grid.compact .planet-title { font-size: 1rem; } |
| 549 | .planet-grid.compact .planet-nums { font-size: 0.7rem; margin-bottom: 6px; } |
| 550 | .planet-grid.compact .planet-swatches img { width: 20px; height: 20px; } |
| 551 | .lobby-planet-label { margin: 8px 0 6px; } |
| 552 | .player-list .planet-tag { |
| 553 | display: block; |
| 554 | font-size: 0.78rem; |
| 555 | font-weight: 500; |
| 556 | color: #9aa3c4; |
| 557 | } |
| 558 | #online-lobby { |
| 559 | overflow-y: auto; |
| 560 | touch-action: pan-y; |
| 561 | -webkit-overflow-scrolling: touch; |
| 562 | justify-content: flex-start; |
| 563 | padding-top: 8px; |
| 564 | } |
| 565 | @media (max-width: 520px) { |
| 566 | .planet-grid { grid-template-columns: 1fr 1fr; gap: 8px; } |
| 567 | .planet-card .planet-nums { font-size: 0.68rem; } |
| 568 | .planet-card { padding: 10px 8px 8px; } |
| 569 | } |
| 570 | |
| 571 | /* t1106: on-screen log for ?debug=drag */ |
| 572 | #drag-debug { |
| 573 | position: fixed; |
| 574 | left: 6px; |
| 575 | right: 6px; |
| 576 | bottom: 6px; |
| 577 | z-index: 50; |
| 578 | pointer-events: none; |
| 579 | background: rgba(8, 10, 22, 0.82); |
| 580 | color: #c6f6c8; |
| 581 | font: 11px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; |
| 582 | padding: 8px 10px; |
| 583 | border-radius: 6px; |
| 584 | border: 1px solid #3a6; |
| 585 | white-space: pre-wrap; |
| 586 | word-break: break-word; |
| 587 | max-height: 28vh; |
| 588 | overflow: hidden; |
| 589 | } |
| 590 | |
| 591 | |
| 592 | /* ---- Offline Strijd (t1119), chain bonus (t1120), column warn (t1123) ---- */ |
| 593 | .hud-offline { |
| 594 | position: absolute; |
| 595 | left: 50%; |
| 596 | transform: translateX(-50%); |
| 597 | bottom: 6px; |
| 598 | font-size: 12px; |
| 599 | color: #c5cae0; |
| 600 | white-space: nowrap; |
| 601 | letter-spacing: 0.02em; |
| 602 | pointer-events: none; |
| 603 | } |
| 604 | .hud-sep { opacity: 0.55; margin: 0 0.25em; } |
| 605 | #chain-indicator { |
| 606 | position: absolute; |
| 607 | left: 50%; |
| 608 | transform: translateX(-50%); |
| 609 | top: 100%; |
| 610 | margin-top: 4px; |
| 611 | /* t1197: plain "+x%", yellow with an orange stroke. */ |
| 612 | color: #ffe600; |
| 613 | font-weight: 900; |
| 614 | font-size: 20px; |
| 615 | line-height: 1; |
| 616 | -webkit-text-stroke: 3px #ff7a00; |
| 617 | paint-order: stroke fill; |
| 618 | text-shadow: 0 2px 3px rgba(0, 0, 0, 0.45); |
| 619 | white-space: nowrap; |
| 620 | pointer-events: none; |
| 621 | z-index: 5; |
| 622 | } |
| 623 | #offline-result h2 { color: #ffe27a; } |
| 624 | #minis { |
| 625 | overflow: auto; |
| 626 | flex-wrap: wrap; |
| 627 | } |
| 628 | #minis.crowded .mini { min-width: 44px; } |
| 629 | #minis.crowded .mini-canvas { |
| 630 | width: 56px; |
| 631 | height: 73px; |
| 632 | } |
| 633 | @media (max-width: 520px) { |
| 634 | .hud-offline { font-size: 11px; bottom: 4px; } |
| 635 | } |
| 636 | |
| 637 | /* —— t1139 Planet Designer + account chrome —— */ |
| 638 | .menu-account { |
| 639 | margin-top: 1.2rem; |
| 640 | font-size: 0.9rem; |
| 641 | color: #c8c4d4; |
| 642 | } |
| 643 | .menu-account a { color: #ffe27a; } |
| 644 | .menu-account a:hover { color: #fff; } |
| 645 | #btn-designer { |
| 646 | display: block; |
| 647 | margin: 0.7rem auto 0; |
| 648 | } |
| 649 | #btn-designer[hidden] { display: none; } |
| 650 | #menu-user[hidden], #menu-guest[hidden], #menu-local-login[hidden], |
| 651 | #btn-designer-delete[hidden] { display: none; } |
| 652 | .designer-card { cursor: default; text-align: left; } |
| 653 | .designer-card-actions { |
| 654 | display: flex; |
| 655 | gap: 6px; |
| 656 | margin-top: 8px; |
| 657 | justify-content: center; |
| 658 | } |
| 659 | .btn-tiny { |
| 660 | font: inherit; |
| 661 | font-size: 0.85rem; |
| 662 | padding: 6px 10px; |
| 663 | border-radius: 8px; |
| 664 | border: 1px solid #5a5470; |
| 665 | background: #2a2540; |
| 666 | color: #eee; |
| 667 | cursor: pointer; |
| 668 | min-height: 36px; |
| 669 | } |
| 670 | .btn-tiny:hover, .btn-tiny:focus-visible { background: #3a3555; border-color: #ffe27a; } |
| 671 | .btn-danger-lite { color: #ffb4b4; } |
| 672 | .designer-form { |
| 673 | max-width: 28rem; |
| 674 | margin: 0 auto; |
| 675 | display: flex; |
| 676 | flex-direction: column; |
| 677 | gap: 0.7rem; |
| 678 | text-align: left; |
| 679 | } |
| 680 | .des-field { display: flex; flex-direction: column; gap: 4px; } |
| 681 | .des-field > span:first-child { font-weight: 600; color: #ddd; } |
| 682 | .des-field input[type="text"] { |
| 683 | font: inherit; |
| 684 | padding: 8px 10px; |
| 685 | border-radius: 8px; |
| 686 | border: 1px solid #5a5470; |
| 687 | background: #1a1628; |
| 688 | color: #fff; |
| 689 | min-height: 40px; |
| 690 | } |
| 691 | .des-slider input[type="range"] { width: 100%; min-height: 32px; } |
| 692 | .des-val, .des-power { |
| 693 | font-variant-numeric: tabular-nums; |
| 694 | color: #ffe27a; |
| 695 | font-weight: 700; |
| 696 | } |
| 697 | .des-power { |
| 698 | font-size: 1.25rem; |
| 699 | text-align: center; |
| 700 | margin: 0.2rem 0; |
| 701 | } |
| 702 | .des-slots { |
| 703 | display: grid; |
| 704 | grid-template-columns: repeat(5, 1fr); |
| 705 | gap: 8px; |
| 706 | } |
| 707 | .des-slot { |
| 708 | font: inherit; |
| 709 | background: #1a1628; |
| 710 | border: 1px solid #5a5470; |
| 711 | border-radius: 10px; |
| 712 | padding: 8px 4px; |
| 713 | cursor: pointer; |
| 714 | color: #eee; |
| 715 | display: flex; |
| 716 | flex-direction: column; |
| 717 | align-items: center; |
| 718 | gap: 4px; |
| 719 | min-height: 88px; |
| 720 | } |
| 721 | .des-slot img { width: 48px; height: 48px; image-rendering: pixelated; } |
| 722 | .des-slot span { font-size: 0.7rem; text-align: center; line-height: 1.15; } |
| 723 | .des-slot:hover, .des-slot:focus-visible { border-color: #ffe27a; background: #2a2540; } |
| 724 | .des-modal { |
| 725 | position: fixed; |
| 726 | inset: 0; |
| 727 | background: rgba(8, 6, 16, 0.78); |
| 728 | z-index: 40; |
| 729 | display: flex; |
| 730 | align-items: flex-start; |
| 731 | justify-content: center; |
| 732 | padding: 12px; |
| 733 | overflow: auto; |
| 734 | } |
| 735 | .des-modal[hidden] { display: none !important; } |
| 736 | .des-modal-card { |
| 737 | background: #161226; |
| 738 | border: 1px solid #5a5470; |
| 739 | border-radius: 14px; |
| 740 | padding: 14px 14px 18px; |
| 741 | max-width: 56rem; |
| 742 | width: 100%; |
| 743 | margin: 1.5rem auto 3rem; |
| 744 | box-shadow: 0 12px 40px rgba(0,0,0,0.5); |
| 745 | } |
| 746 | .des-modal-head { |
| 747 | display: flex; |
| 748 | align-items: center; |
| 749 | justify-content: space-between; |
| 750 | gap: 12px; |
| 751 | margin-bottom: 12px; |
| 752 | } |
| 753 | .des-modal-head h2 { margin: 0; font-size: 1.2rem; } |
| 754 | .des-block-grid { |
| 755 | display: grid; |
| 756 | grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); |
| 757 | gap: 8px; |
| 758 | } |
| 759 | .des-block { |
| 760 | position: relative; |
| 761 | font: inherit; |
| 762 | background: #1a1628; |
| 763 | border: 1px solid #5a5470; |
| 764 | border-radius: 10px; |
| 765 | padding: 6px 4px 8px; |
| 766 | cursor: pointer; |
| 767 | color: #eee; |
| 768 | display: flex; |
| 769 | flex-direction: column; |
| 770 | align-items: center; |
| 771 | gap: 3px; |
| 772 | min-height: 92px; |
| 773 | } |
| 774 | .des-block img { width: 48px; height: 48px; image-rendering: pixelated; } |
| 775 | .des-block-name { |
| 776 | font-size: 0.65rem; |
| 777 | text-align: center; |
| 778 | line-height: 1.15; |
| 779 | overflow: hidden; |
| 780 | text-overflow: ellipsis; |
| 781 | max-width: 100%; |
| 782 | } |
| 783 | .des-block:hover:not(:disabled), .des-block:focus-visible:not(:disabled) { |
| 784 | border-color: #ffe27a; |
| 785 | background: #2a2540; |
| 786 | } |
| 787 | .des-block.current { outline: 2px solid #ffe27a; } |
| 788 | .des-block.used img, .des-block.locked img, |
| 789 | .des-block.used .des-block-name, .des-block.locked .des-block-name { |
| 790 | opacity: 0.42; |
| 791 | filter: grayscale(1); |
| 792 | } |
| 793 | .des-block.used, .des-block.locked { |
| 794 | cursor: not-allowed; |
| 795 | } |
| 796 | .des-block-need { |
| 797 | font-size: 0.6rem; |
| 798 | color: #ffe27a; |
| 799 | opacity: 0.9; |
| 800 | } |
| 801 | .des-lock { |
| 802 | position: absolute; |
| 803 | top: 2px; |
| 804 | right: 2px; |
| 805 | width: 22px; |
| 806 | height: 22px; |
| 807 | display: flex; |
| 808 | align-items: center; |
| 809 | justify-content: center; |
| 810 | background: rgba(16, 12, 28, 0.92); |
| 811 | border-radius: 5px; |
| 812 | pointer-events: none; |
| 813 | z-index: 2; |
| 814 | box-shadow: 0 0 0 1px rgba(255, 226, 122, 0.35); |
| 815 | } |
| 816 | .des-lock svg { display: block; } |
| 817 | .planet-card.custom { position: relative; } |
| 818 | .planet-card .custom-badge { |
| 819 | position: absolute; |
| 820 | top: 6px; |
| 821 | right: 6px; |
| 822 | font-size: 0.65rem; |
| 823 | background: #3a2a10; |
| 824 | color: #ffe27a; |
| 825 | border: 1px solid #ffe27a; |
| 826 | border-radius: 999px; |
| 827 | padding: 1px 6px; |
| 828 | letter-spacing: 0.02em; |
| 829 | } |
| 830 | @media (max-width: 520px) { |
| 831 | .des-slots { grid-template-columns: repeat(5, 1fr); gap: 4px; } |
| 832 | .des-slot { min-height: 76px; padding: 4px 2px; } |
| 833 | .des-slot img, .des-block img { width: 36px; height: 36px; } |
| 834 | .des-block { min-height: 80px; } |
| 835 | .des-block-grid { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; } |
| 836 | .des-field input[type="text"], .btn-tiny { min-height: 44px; } |
| 837 | } |
| 838 | |
| 839 | #designer, #designer-edit { |
| 840 | justify-content: flex-start; |
| 841 | overflow-y: auto; |
| 842 | touch-action: pan-y; |
| 843 | -webkit-overflow-scrolling: touch; |
| 844 | padding-top: 16px; |
| 845 | padding-bottom: 40px; |
| 846 | } |
| 847 | #designer h1, #designer-edit h1 { |
| 848 | font-size: clamp(28px, 8vw, 56px); |
| 849 | margin-bottom: 6px; |
| 850 | } |
| 851 | #designer .tagline, #designer-edit .tagline { margin-bottom: 12px; } |
| 852 | #designer-list { |
| 853 | width: min(1000px, 100%); |
| 854 | margin-bottom: 16px; |
| 855 | } |
| 856 | @media (max-width: 520px) { |
| 857 | #designer-edit .designer-form { gap: 0.45rem; } |
| 858 | .des-slots { margin-bottom: 8px; } |
| 859 | #designer-edit .planet-actions, #designer .planet-actions { |
| 860 | position: sticky; |
| 861 | bottom: 0; |
| 862 | padding-bottom: 8px; |
| 863 | background: linear-gradient(180deg, transparent, #0b1020 30%); |
| 864 | } |
| 865 | } |
| 866 | |
| 867 | #designer-edit .hint, #designer .hint { margin: 8px auto 4px; } |
| 868 | #designer-edit .designer-form { max-width: 26rem; } |
| 869 | #designer-edit .planet-actions { margin-top: 12px; padding-bottom: 16px; } |
| 870 | |
| 871 | |
| 872 | /* —— t1141 i18n: flags, CJK, wrapping —— */ |
| 873 | html[lang="ja"], html[lang="zh-Hans"], html[lang="ko"] { |
| 874 | line-height: 1.55; |
| 875 | } |
| 876 | #btn-play, #btn-offline, #btn-online, #btn-designer, |
| 877 | #btn-planet-go, #btn-create, #btn-join, #btn-ready, #btn-start, |
| 878 | #btn-designer-new, #btn-designer-save { |
| 879 | white-space: normal; |
| 880 | overflow-wrap: anywhere; |
| 881 | max-width: 92vw; |
| 882 | line-height: 1.2; |
| 883 | } |
| 884 | .lang-picker { |
| 885 | position: absolute; |
| 886 | right: max(12px, env(safe-area-inset-right, 0px)); |
| 887 | bottom: max(12px, env(safe-area-inset-bottom, 0px)); |
| 888 | z-index: 9; |
| 889 | display: flex; |
| 890 | flex-direction: column-reverse; |
| 891 | align-items: flex-end; |
| 892 | gap: 8px; |
| 893 | pointer-events: auto; |
| 894 | } |
| 895 | .lang-current { |
| 896 | appearance: none; |
| 897 | border: 1px solid rgba(200, 210, 240, 0.35); |
| 898 | background: rgba(16, 20, 40, 0.86); |
| 899 | border-radius: 8px; |
| 900 | padding: 6px 7px; |
| 901 | cursor: pointer; |
| 902 | line-height: 0; |
| 903 | box-shadow: 0 4px 14px rgba(0,0,0,0.4); |
| 904 | min-width: 52px; |
| 905 | min-height: 40px; |
| 906 | } |
| 907 | .lang-current img, .lang-option img { |
| 908 | display: block; |
| 909 | width: 36px; |
| 910 | height: 24px; |
| 911 | object-fit: cover; |
| 912 | border-radius: 3px; |
| 913 | /* flags are vector art, not pixel blocks */ |
| 914 | image-rendering: auto; |
| 915 | box-shadow: 0 0 0 1px rgba(0,0,0,0.35); |
| 916 | } |
| 917 | .lang-current:hover, .lang-current:focus-visible, |
| 918 | .lang-option:hover, .lang-option:focus-visible { |
| 919 | border-color: #ffe27a; |
| 920 | outline: none; |
| 921 | } |
| 922 | .lang-current[aria-expanded="true"] { |
| 923 | border-color: #ffe27a; |
| 924 | } |
| 925 | .lang-list { |
| 926 | display: flex; |
| 927 | flex-direction: column; |
| 928 | gap: 4px; |
| 929 | background: rgba(16, 14, 30, 0.96); |
| 930 | border: 1px solid #5a5470; |
| 931 | border-radius: 12px; |
| 932 | padding: 8px; |
| 933 | max-height: min(70vh, 28rem); |
| 934 | overflow-y: auto; |
| 935 | -webkit-overflow-scrolling: touch; |
| 936 | touch-action: pan-y; |
| 937 | box-shadow: 0 12px 32px rgba(0,0,0,0.45); |
| 938 | min-width: 11.5rem; |
| 939 | } |
| 940 | .lang-list[hidden] { display: none !important; } |
| 941 | .lang-option { |
| 942 | appearance: none; |
| 943 | display: flex; |
| 944 | align-items: center; |
| 945 | gap: 10px; |
| 946 | width: 100%; |
| 947 | border: 1px solid transparent; |
| 948 | background: transparent; |
| 949 | color: #e8eaf2; |
| 950 | font: inherit; |
| 951 | font-size: 0.95rem; |
| 952 | padding: 6px 8px; |
| 953 | border-radius: 8px; |
| 954 | cursor: pointer; |
| 955 | text-align: left; |
| 956 | min-height: 40px; |
| 957 | white-space: nowrap; |
| 958 | } |
| 959 | .lang-option.current { |
| 960 | border-color: #ffe27a; |
| 961 | background: rgba(40, 32, 16, 0.7); |
| 962 | } |
| 963 | .lang-option span { |
| 964 | overflow: hidden; |
| 965 | text-overflow: ellipsis; |
| 966 | } |
| 967 | @media (max-width: 520px) { |
| 968 | .lang-picker { right: max(8px, env(safe-area-inset-right, 0px)); bottom: max(8px, env(safe-area-inset-bottom, 0px)); } |
| 969 | .lang-list { min-width: 10.5rem; } |
| 970 | .menu-account { padding-bottom: 48px; } /* room for the flag */ |
| 971 | .hint { overflow-wrap: anywhere; } |
| 972 | .planet-card .planet-title, .planet-card .planet-people, .planet-card .planet-nums { |
| 973 | overflow-wrap: anywhere; |
| 974 | } |
| 975 | #designer .tagline, #designer-edit .tagline { overflow-wrap: anywhere; } |
| 976 | } |
| 977 | /* CJK in tight HUD */ |
| 978 | #planet-name, #planet-stats, .hud-offline, .des-block-name, .des-val { |
| 979 | overflow-wrap: anywhere; |
| 980 | } |
| 981 | |
| 982 | #start-error { |
| 983 | max-width: 28rem; |
| 984 | margin: 16px auto 0; |
| 985 | padding: 10px 16px; |
| 986 | border-radius: 10px; |
| 987 | border: 1px solid #e88; |
| 988 | background: rgba(80, 16, 24, 0.85); |
| 989 | color: #ffd6d6; |
| 990 | font-size: 0.95rem; |
| 991 | line-height: 1.45; |
| 992 | } |
| 993 | |
| 994 | /* ---------- t1173 reward screen ---------- */ |
| 995 | .reward { |
| 996 | position: fixed; |
| 997 | inset: 0; |
| 998 | z-index: 70; |
| 999 | background: rgba(8, 10, 22, 0.82); |
| 1000 | overflow: hidden; |
| 1001 | touch-action: none; |
| 1002 | user-select: none; |
| 1003 | -webkit-user-select: none; |
| 1004 | } |
| 1005 | .reward-canvas { |
| 1006 | position: absolute; |
| 1007 | inset: 0; |
| 1008 | width: 100%; |
| 1009 | height: 100%; |
| 1010 | pointer-events: none; |
| 1011 | z-index: 1; |
| 1012 | } |
| 1013 | .reward-title { |
| 1014 | position: absolute; |
| 1015 | left: 0; |
| 1016 | right: 0; |
| 1017 | top: 50%; |
| 1018 | margin: 0; |
| 1019 | padding: 0 16px; |
| 1020 | text-align: center; |
| 1021 | font-size: clamp(36px, 11vw, 72px); |
| 1022 | font-weight: 800; |
| 1023 | transform: translateY(-50%); |
| 1024 | transition: top 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), font-size 0.6s ease; |
| 1025 | z-index: 2; |
| 1026 | text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6); |
| 1027 | } |
| 1028 | .reward-title.won { color: #ffe27a; } |
| 1029 | .reward-title.lost { color: #ffb0a0; } |
| 1030 | .reward.risen .reward-title { |
| 1031 | top: max(18px, env(safe-area-inset-top)); |
| 1032 | transform: translateY(0); |
| 1033 | font-size: clamp(28px, 8vw, 52px); |
| 1034 | } |
| 1035 | .reward.reduced .reward-title { transition: none; } |
| 1036 | .reward-counter { |
| 1037 | position: absolute; |
| 1038 | left: 50%; |
| 1039 | bottom: max(28px, calc(env(safe-area-inset-bottom) + 20px)); |
| 1040 | transform: translateX(-50%); |
| 1041 | text-align: center; |
| 1042 | z-index: 3; |
| 1043 | } |
| 1044 | .reward-counter[hidden] { display: none !important; } |
| 1045 | .reward-label { |
| 1046 | font-size: clamp(12px, 3.2vw, 15px); |
| 1047 | letter-spacing: 0.12em; |
| 1048 | text-transform: uppercase; |
| 1049 | color: #b7bdd4; |
| 1050 | } |
| 1051 | .reward-total { |
| 1052 | display: inline-block; |
| 1053 | font-size: clamp(40px, 12vw, 72px); |
| 1054 | font-weight: 800; |
| 1055 | color: #ffe27a; |
| 1056 | font-variant-numeric: tabular-nums; |
| 1057 | text-shadow: 0 0 18px rgba(255, 200, 80, 0.45); |
| 1058 | transform-origin: 50% 60%; |
| 1059 | will-change: transform; |
| 1060 | } |
| 1061 | .reward-hint { |
| 1062 | position: absolute; |
| 1063 | left: 0; |
| 1064 | right: 0; |
| 1065 | bottom: max(4px, env(safe-area-inset-bottom)); |
| 1066 | margin: 0; |
| 1067 | font-size: 13px; |
| 1068 | color: #8f96b2; |
| 1069 | z-index: 3; |
| 1070 | } |
| 1071 | |
| 1072 | /* —— t1193 in-game menu (Spelen / Offline Strijd) —— */ |
| 1073 | .hud-right-wrap { |
| 1074 | display: flex; |
| 1075 | align-items: flex-start; |
| 1076 | gap: 10px; |
| 1077 | min-width: 0; |
| 1078 | } |
| 1079 | .btn-game-menu { |
| 1080 | pointer-events: auto; |
| 1081 | flex: 0 0 auto; |
| 1082 | width: 40px; |
| 1083 | height: 40px; |
| 1084 | padding: 0; |
| 1085 | border: 1px solid #6a7394; |
| 1086 | border-radius: 10px; |
| 1087 | background: rgba(27, 32, 56, 0.85); |
| 1088 | color: #e8eaf2; |
| 1089 | font-size: 20px; |
| 1090 | line-height: 38px; |
| 1091 | cursor: pointer; |
| 1092 | touch-action: manipulation; |
| 1093 | -webkit-tap-highlight-color: transparent; |
| 1094 | } |
| 1095 | .btn-game-menu:is(:hover, :focus-visible) { |
| 1096 | border-color: #ffe27a; |
| 1097 | color: #fff6c8; |
| 1098 | } |
| 1099 | #game-menu { |
| 1100 | z-index: 60; |
| 1101 | } |
| 1102 | #game-menu h2 { |
| 1103 | color: #ffe27a; |
| 1104 | } |
| 1105 | .game-menu-buttons { |
| 1106 | display: flex; |
| 1107 | flex-direction: column; |
| 1108 | align-items: center; |
| 1109 | gap: 4px; |
| 1110 | margin-top: 8px; |
| 1111 | } |
| 1112 | .game-menu-buttons .btn-secondary { |
| 1113 | min-width: min(80vw, 300px); |
| 1114 | } |
| 1115 | .btn-primary-ish { |
| 1116 | border-color: #ffe27a !important; |
| 1117 | color: #fff6c8 !important; |
| 1118 | } |
| 1119 | @media (max-width: 520px) { |
| 1120 | .hud-right-wrap { gap: 6px; } |
| 1121 | .btn-game-menu { width: 36px; height: 36px; line-height: 34px; font-size: 18px; } |
| 1122 | } |
| 1123 | |
| 1124 | /* t1201: which mode a planet choice / pause menu belongs to. */ |
| 1125 | .planet-mode, .game-menu-mode { |
| 1126 | margin: -4px 0 10px; |
| 1127 | color: #ffe27a; |
| 1128 | font-weight: 700; |
| 1129 | letter-spacing: 0.04em; |
| 1130 | text-transform: uppercase; |
| 1131 | font-size: 14px; |
| 1132 | } |
| 1133 | .planet-mode:empty, .game-menu-mode:empty { display: none; } |
| 1134 | |
| 1135 | /* t1203: top-row minis placed (and scaled) by MiniLayout.topPositions. */ |
| 1136 | #minis.placed { |
| 1137 | inset: 0; |
| 1138 | display: block; |
| 1139 | padding: 0; |
| 1140 | overflow: visible; |
| 1141 | max-height: none; |
| 1142 | gap: 0; |
| 1143 | } |
| 1144 | #minis.placed .mini { |
| 1145 | position: absolute; |
| 1146 | margin: 0; |
| 1147 | min-width: 0; |
| 1148 | line-height: 1.3; |
| 1149 | } |
| 1150 | #minis.placed .mini-name { max-width: 100%; } |
| 1151 | #minis.placed .mini-meta { |
| 1152 | max-width: 100%; |
| 1153 | overflow: hidden; |
| 1154 | text-overflow: ellipsis; |
| 1155 | white-space: nowrap; |
| 1156 | } |
| 1157 | #minis.placed .mini-canvas { margin: 0 auto; } |
| 1158 | |
| 1159 | /* t1246: startup login / play-as-guest prompt. */ |
| 1160 | #login-prompt { |
| 1161 | z-index: 70; |
| 1162 | } |
| 1163 | #login-prompt h2 { |
| 1164 | color: #ffe27a; |
| 1165 | } |
| 1166 | #login-prompt .tagline { |
| 1167 | margin-bottom: 20px; |
| 1168 | } |
| 1169 | #btn-login-prompt { |
| 1170 | margin-top: 0; |
| 1171 | padding: 14px 48px; |
| 1172 | font-size: clamp(20px, 5vw, 28px); |
| 1173 | font-weight: 700; |
| 1174 | letter-spacing: 0.08em; |
| 1175 | text-transform: uppercase; |
| 1176 | color: #1a1020; |
| 1177 | background: linear-gradient(180deg, #ffe27a, #f0c53a 40%, #e89a20); |
| 1178 | border: 0; |
| 1179 | border-radius: 999px; |
| 1180 | min-height: 52px; |
| 1181 | min-width: min(80vw, 300px); |
| 1182 | box-shadow: |
| 1183 | 0 0 0 3px rgba(255, 220, 120, 0.25), |
| 1184 | 0 8px 24px rgba(240, 197, 58, 0.45); |
| 1185 | touch-action: manipulation; |
| 1186 | } |
| 1187 | #btn-login-prompt:is(:hover, :focus-visible) { |
| 1188 | color: #1a1020; |
| 1189 | border-color: transparent; |
| 1190 | transform: translateY(-1px); |
| 1191 | box-shadow: |
| 1192 | 0 0 0 3px rgba(255, 220, 120, 0.4), |
| 1193 | 0 10px 28px rgba(240, 197, 58, 0.6); |
| 1194 | } |
| 1195 | #btn-login-prompt:active { transform: translateY(1px); } |
| 1196 | #btn-play-guest { |
| 1197 | min-width: min(80vw, 300px); |
| 1198 | min-height: 48px; |
| 1199 | touch-action: manipulation; |
| 1200 | } |
| 1201 | #login-prompt-local { |
| 1202 | margin-top: 20px; |
| 1203 | } |
| 1204 | #login-prompt-local a { color: #ffe27a; } |
| 1205 | #login-prompt-local a:hover { color: #fff; } |
| 1206 | @media (max-height: 520px) { |
| 1207 | #login-prompt .tagline { margin-bottom: 12px; } |
| 1208 | #btn-login-prompt { padding: 10px 36px; } |
| 1209 | } |
| 1210 |
projects-timfalken-com meteors