| 1 | :root { |
| 2 | color-scheme: dark; |
| 3 | font-family: "Segoe UI", sans-serif; |
| 4 | background: #12151b; |
| 5 | color: #e8e4d9; |
| 6 | } |
| 7 | |
| 8 | html, body { |
| 9 | margin: 0; |
| 10 | min-height: 100%; |
| 11 | } |
| 12 | |
| 13 | body > header { |
| 14 | padding: 0.6rem 1rem; |
| 15 | border-bottom: 1px solid #2c3340; |
| 16 | } |
| 17 | |
| 18 | body > aside { |
| 19 | position: absolute; |
| 20 | left: 0; |
| 21 | top: 56px; |
| 22 | width: 250px; |
| 23 | bottom: 0; |
| 24 | overflow: auto; |
| 25 | padding: 0.75rem; |
| 26 | box-sizing: border-box; |
| 27 | background: #1a1e26; |
| 28 | border-right: 1px solid #2c3340; |
| 29 | } |
| 30 | |
| 31 | #side-panels { |
| 32 | position: absolute; |
| 33 | right: 0; |
| 34 | top: 56px; |
| 35 | width: 320px; |
| 36 | bottom: 0; |
| 37 | display: flex; |
| 38 | flex-direction: column; |
| 39 | box-sizing: border-box; |
| 40 | background: #1a1e26; |
| 41 | border-left: 1px solid #2c3340; |
| 42 | } |
| 43 | .side-panel-tabs { |
| 44 | display: flex; |
| 45 | gap: 0; |
| 46 | border-bottom: 1px solid #2c3340; |
| 47 | flex: 0 0 auto; |
| 48 | } |
| 49 | .side-panel-tab { |
| 50 | flex: 1 1 0; |
| 51 | border: 0; |
| 52 | border-radius: 0; |
| 53 | background: transparent; |
| 54 | color: #9aa3b2; |
| 55 | padding: 0.55rem 0.4rem; |
| 56 | cursor: pointer; |
| 57 | } |
| 58 | .side-panel-tab.active { |
| 59 | color: #e8e4d9; |
| 60 | background: #222833; |
| 61 | box-shadow: inset 0 -2px 0 #6a8cbf; |
| 62 | } |
| 63 | .side-panel-body { |
| 64 | flex: 1 1 auto; |
| 65 | min-height: 0; |
| 66 | overflow: auto; |
| 67 | padding: 0.75rem; |
| 68 | box-sizing: border-box; |
| 69 | } |
| 70 | #editor-console { |
| 71 | margin: 0; |
| 72 | padding: 0.4rem; |
| 73 | min-height: 12rem; |
| 74 | max-height: calc(100% - 2.5rem); |
| 75 | overflow: auto; |
| 76 | font: 0.72rem/1.35 ui-monospace, Consolas, monospace; |
| 77 | white-space: pre-wrap; |
| 78 | word-break: break-word; |
| 79 | background: #0e1116; |
| 80 | border: 1px solid #2c3340; |
| 81 | color: #c8d0dc; |
| 82 | } |
| 83 | #editor-console .console-warn { color: #e0c070; } |
| 84 | #editor-console .console-error { color: #f0a0a0; } |
| 85 | #editor-console .console-debug { color: #7a8494; } |
| 86 | #console-clear { |
| 87 | margin-top: 0.5rem; |
| 88 | width: 100%; |
| 89 | } |
| 90 | |
| 91 | .nav, .palette { |
| 92 | display: flex; |
| 93 | flex-direction: column; |
| 94 | gap: 0.35rem; |
| 95 | margin: 0.75rem 0; |
| 96 | } |
| 97 | |
| 98 | .dimension-picker { |
| 99 | margin: 0.75rem 0 0.35rem; |
| 100 | display: flex; |
| 101 | flex-direction: column; |
| 102 | gap: 0.35rem; |
| 103 | } |
| 104 | .dimension-picker > label, |
| 105 | .dimension-picker-label { |
| 106 | font-size: 0.85rem; |
| 107 | color: #9aa3b2; |
| 108 | } |
| 109 | .dim-combo { |
| 110 | position: relative; |
| 111 | display: flex; |
| 112 | align-items: stretch; |
| 113 | } |
| 114 | .dim-combo-input { |
| 115 | flex: 1 1 auto; |
| 116 | width: 0; |
| 117 | min-width: 0; |
| 118 | box-sizing: border-box; |
| 119 | } |
| 120 | .dim-combo-toggle { |
| 121 | flex: 0 0 auto; |
| 122 | padding: 0 0.45rem; |
| 123 | border: 1px solid #3a4250; |
| 124 | border-left: none; |
| 125 | background: #1a1f28; |
| 126 | color: #c8d0dc; |
| 127 | cursor: pointer; |
| 128 | } |
| 129 | .dim-combo-toggle:hover { |
| 130 | background: #243044; |
| 131 | } |
| 132 | .dim-combo-list { |
| 133 | position: absolute; |
| 134 | left: 0; |
| 135 | right: 0; |
| 136 | top: calc(100% + 2px); |
| 137 | z-index: 20; |
| 138 | margin: 0; |
| 139 | padding: 0.2rem 0; |
| 140 | list-style: none; |
| 141 | max-height: 220px; |
| 142 | overflow: auto; |
| 143 | background: #101216; |
| 144 | border: 1px solid #3a4250; |
| 145 | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45); |
| 146 | } |
| 147 | .dim-combo-option, |
| 148 | .dim-combo-empty { |
| 149 | display: flex; |
| 150 | flex-direction: column; |
| 151 | gap: 0.1rem; |
| 152 | padding: 0.35rem 0.55rem; |
| 153 | cursor: pointer; |
| 154 | } |
| 155 | .dim-combo-option:hover, |
| 156 | .dim-combo-option.selected { |
| 157 | background: #243044; |
| 158 | } |
| 159 | .dim-combo-option.disabled { |
| 160 | opacity: 0.55; |
| 161 | } |
| 162 | .dim-combo-option.create { |
| 163 | color: #b8d4a0; |
| 164 | border-top: 1px solid #2c3340; |
| 165 | } |
| 166 | .dim-combo-option-hint, |
| 167 | .dim-combo-empty { |
| 168 | font-size: 0.78rem; |
| 169 | color: #9aa3b2; |
| 170 | } |
| 171 | .dimension-settings { |
| 172 | display: flex; |
| 173 | flex-direction: column; |
| 174 | gap: 0.45rem; |
| 175 | margin: 0.5rem 0 0.85rem; |
| 176 | padding: 0.55rem 0.6rem; |
| 177 | border: 1px solid #2c3340; |
| 178 | background: #151922; |
| 179 | } |
| 180 | .dimension-settings label { |
| 181 | display: flex; |
| 182 | flex-direction: column; |
| 183 | gap: 0.2rem; |
| 184 | font-size: 0.85rem; |
| 185 | color: #9aa3b2; |
| 186 | } |
| 187 | .dimension-settings input, |
| 188 | .dimension-settings select { |
| 189 | width: 100%; |
| 190 | box-sizing: border-box; |
| 191 | } |
| 192 | .dimension-settings-actions { |
| 193 | display: flex; |
| 194 | flex-wrap: wrap; |
| 195 | gap: 0.35rem; |
| 196 | } |
| 197 | #dim-delete { |
| 198 | border-color: #8a3a3a; |
| 199 | color: #f0a0a0; |
| 200 | } |
| 201 | |
| 202 | button, input { |
| 203 | font: inherit; |
| 204 | background: #101216; |
| 205 | color: inherit; |
| 206 | border: 1px solid #3a4250; |
| 207 | padding: 0.3rem 0.5rem; |
| 208 | } |
| 209 | |
| 210 | button { cursor: pointer; } |
| 211 | button:disabled { |
| 212 | opacity: 0.45; |
| 213 | cursor: not-allowed; |
| 214 | } |
| 215 | #save.save-dirty:not(:disabled) { |
| 216 | animation: save-pulse 1.1s ease-in-out infinite; |
| 217 | border-color: #c9a227; |
| 218 | box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.35); |
| 219 | } |
| 220 | @keyframes save-pulse { |
| 221 | 0%, 100% { opacity: 1; } |
| 222 | 50% { opacity: 0.55; } |
| 223 | } |
| 224 | #unsaved-chunk-backdrop { |
| 225 | position: fixed; |
| 226 | inset: 0; |
| 227 | background: rgba(0, 0, 0, 0.62); |
| 228 | z-index: 29; |
| 229 | } |
| 230 | #unsaved-chunk-modal { |
| 231 | position: fixed; |
| 232 | left: 50%; |
| 233 | top: 50%; |
| 234 | transform: translate(-50%, -50%); |
| 235 | z-index: 30; |
| 236 | width: min(420px, 92vw); |
| 237 | padding: 1rem 1.1rem; |
| 238 | background: #161a22; |
| 239 | border: 1px solid #3a4250; |
| 240 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 241 | } |
| 242 | #unsaved-chunk-modal header { |
| 243 | margin: 0 0 0.5rem; |
| 244 | padding: 0; |
| 245 | border: 0; |
| 246 | } |
| 247 | #unsaved-chunk-modal h2 { |
| 248 | margin: 0; |
| 249 | font-size: 1.1rem; |
| 250 | } |
| 251 | #dimension-settings-backdrop { |
| 252 | position: fixed; |
| 253 | inset: 0; |
| 254 | background: rgba(0, 0, 0, 0.62); |
| 255 | z-index: 29; |
| 256 | } |
| 257 | #dimension-settings-modal { |
| 258 | position: fixed; |
| 259 | left: 50%; |
| 260 | top: 50%; |
| 261 | transform: translate(-50%, -50%); |
| 262 | z-index: 30; |
| 263 | width: min(420px, 92vw); |
| 264 | padding: 1rem 1.1rem; |
| 265 | background: #161a22; |
| 266 | border: 1px solid #3a4250; |
| 267 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 268 | } |
| 269 | #dimension-settings-modal header { |
| 270 | display: flex; |
| 271 | align-items: center; |
| 272 | justify-content: space-between; |
| 273 | gap: 0.75rem; |
| 274 | margin: 0 0 0.75rem; |
| 275 | padding: 0; |
| 276 | border: 0; |
| 277 | } |
| 278 | #dimension-settings-modal h2 { |
| 279 | margin: 0; |
| 280 | font-size: 1.1rem; |
| 281 | } |
| 282 | #dimension-settings-modal .dimension-settings { |
| 283 | margin: 0; |
| 284 | padding: 0; |
| 285 | border: 0; |
| 286 | background: transparent; |
| 287 | } |
| 288 | .unsaved-chunk-actions { |
| 289 | display: flex; |
| 290 | justify-content: flex-end; |
| 291 | gap: 0.5rem; |
| 292 | margin-top: 1rem; |
| 293 | } |
| 294 | #apply-status.ok { color: #b8d4a0; } |
| 295 | .error { color: #f0a0a0; } |
| 296 | .hint { color: #9aa3b2; font-size: 0.85rem; } |
| 297 | .open-toggle { display: flex; gap: 0.4rem; align-items: center; } |
| 298 | article { margin-bottom: 0.75rem; } |
| 299 | fieldset { border-color: #3a4250; margin-top: 1rem; } |
| 300 | #selection-border { |
| 301 | position: fixed; |
| 302 | pointer-events: none; |
| 303 | box-sizing: border-box; |
| 304 | border: 2px solid #e23d3d; |
| 305 | box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55); |
| 306 | z-index: 4; |
| 307 | } |
| 308 | |
| 309 | label { display: block; margin: 0.4rem 0; } |
| 310 | |
| 311 | #settings-backdrop { |
| 312 | position: fixed; |
| 313 | inset: 0; |
| 314 | background: rgba(0, 0, 0, 0.62); |
| 315 | z-index: 19; |
| 316 | } |
| 317 | |
| 318 | #settings-modal { |
| 319 | position: fixed; |
| 320 | inset: 4vh 4vw; |
| 321 | z-index: 20; |
| 322 | display: flex; |
| 323 | background: #161a22; |
| 324 | border: 1px solid #3a4250; |
| 325 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 326 | } |
| 327 | |
| 328 | #settings-modal[hidden], |
| 329 | #settings-backdrop[hidden] { |
| 330 | display: none !important; |
| 331 | } |
| 332 | |
| 333 | #settings-main { |
| 334 | flex: 1; |
| 335 | min-width: 0; |
| 336 | display: flex; |
| 337 | flex-direction: column; |
| 338 | } |
| 339 | |
| 340 | #settings-main header, |
| 341 | #settings-main footer { |
| 342 | display: flex; |
| 343 | align-items: center; |
| 344 | justify-content: space-between; |
| 345 | gap: 0.75rem; |
| 346 | padding: 0.75rem 1rem; |
| 347 | border-bottom: 1px solid #2c3340; |
| 348 | } |
| 349 | |
| 350 | #settings-main footer { |
| 351 | border-bottom: 0; |
| 352 | border-top: 1px solid #2c3340; |
| 353 | } |
| 354 | |
| 355 | #settings-form { |
| 356 | flex: 1; |
| 357 | overflow: auto; |
| 358 | padding: 0; |
| 359 | display: flex; |
| 360 | flex-direction: column; |
| 361 | min-height: 0; |
| 362 | } |
| 363 | |
| 364 | .settings-tabs { |
| 365 | display: flex; |
| 366 | flex-wrap: wrap; |
| 367 | gap: 0.25rem; |
| 368 | padding: 0.65rem 1rem 0.5rem; |
| 369 | border-bottom: 1px solid #2c3340; |
| 370 | background: #12151c; |
| 371 | } |
| 372 | |
| 373 | .settings-tab { |
| 374 | appearance: none; |
| 375 | border: 1px solid transparent; |
| 376 | background: transparent; |
| 377 | color: #a8a295; |
| 378 | padding: 0.35rem 0.7rem; |
| 379 | border-radius: 4px; |
| 380 | cursor: pointer; |
| 381 | font: inherit; |
| 382 | } |
| 383 | |
| 384 | .settings-tab:hover { |
| 385 | color: #e8e2d4; |
| 386 | background: #1c222c; |
| 387 | } |
| 388 | |
| 389 | .settings-tab.active { |
| 390 | color: #1a1510; |
| 391 | background: #d4c48a; |
| 392 | border-color: #d4c48a; |
| 393 | } |
| 394 | |
| 395 | .settings-panels { |
| 396 | flex: 1; |
| 397 | overflow: auto; |
| 398 | padding: 0.75rem 1rem 1.25rem; |
| 399 | } |
| 400 | |
| 401 | .settings-category { |
| 402 | margin-bottom: 0; |
| 403 | } |
| 404 | |
| 405 | .settings-category h3 { |
| 406 | margin: 0 0 0.5rem; |
| 407 | font-size: 0.95rem; |
| 408 | color: #d4c48a; |
| 409 | border-bottom: 1px solid #2c3340; |
| 410 | padding-bottom: 0.25rem; |
| 411 | } |
| 412 | |
| 413 | .setting-row { |
| 414 | display: grid; |
| 415 | grid-template-columns: minmax(12rem, 1fr) minmax(8rem, 14rem) 4rem; |
| 416 | gap: 0.4rem 0.75rem; |
| 417 | align-items: center; |
| 418 | padding: 0.45rem 0.5rem; |
| 419 | margin: 0.2rem 0; |
| 420 | border-radius: 4px; |
| 421 | } |
| 422 | |
| 423 | .setting-row .hint { |
| 424 | grid-column: 1 / -1; |
| 425 | margin: 0; |
| 426 | } |
| 427 | |
| 428 | .setting-row.dirty { |
| 429 | background: #4a3d18; |
| 430 | box-shadow: inset 0 0 0 1px #c4a35a; |
| 431 | } |
| 432 | |
| 433 | .setting-value { |
| 434 | font-variant-numeric: tabular-nums; |
| 435 | color: #c5c0b4; |
| 436 | } |
| 437 | |
| 438 | .seed-price-panel { |
| 439 | display: flex; |
| 440 | flex-direction: column; |
| 441 | gap: 0.65rem; |
| 442 | min-height: 0; |
| 443 | } |
| 444 | |
| 445 | .seed-price-toolbar { |
| 446 | display: flex; |
| 447 | flex-wrap: wrap; |
| 448 | gap: 0.55rem 0.75rem; |
| 449 | align-items: center; |
| 450 | } |
| 451 | |
| 452 | .seed-price-search { |
| 453 | flex: 1 1 12rem; |
| 454 | min-width: 10rem; |
| 455 | padding: 0.4rem 0.55rem; |
| 456 | background: #10141b; |
| 457 | border: 1px solid #3a4250; |
| 458 | color: #e8e4d9; |
| 459 | font: inherit; |
| 460 | } |
| 461 | |
| 462 | .seed-price-meta { |
| 463 | flex: 0 0 auto; |
| 464 | } |
| 465 | |
| 466 | .seed-price-pager { |
| 467 | display: flex; |
| 468 | align-items: center; |
| 469 | gap: 0.45rem; |
| 470 | margin-left: auto; |
| 471 | } |
| 472 | |
| 473 | .seed-price-pager button { |
| 474 | appearance: none; |
| 475 | border: 1px solid #3a4250; |
| 476 | background: #1c222c; |
| 477 | color: #e8e4d9; |
| 478 | padding: 0.3rem 0.55rem; |
| 479 | cursor: pointer; |
| 480 | font: inherit; |
| 481 | } |
| 482 | |
| 483 | .seed-price-pager button:disabled { |
| 484 | opacity: 0.4; |
| 485 | cursor: default; |
| 486 | } |
| 487 | |
| 488 | .seed-price-header, |
| 489 | .seed-price-row { |
| 490 | display: grid; |
| 491 | grid-template-columns: minmax(10rem, 1.6fr) 6.5rem 5.5rem 5.5rem; |
| 492 | gap: 0.5rem 0.65rem; |
| 493 | align-items: center; |
| 494 | } |
| 495 | |
| 496 | .seed-price-header { |
| 497 | padding: 0.25rem 0.4rem; |
| 498 | color: #a8a295; |
| 499 | font-size: 0.78rem; |
| 500 | text-transform: uppercase; |
| 501 | letter-spacing: 0.04em; |
| 502 | border-bottom: 1px solid #2c3340; |
| 503 | } |
| 504 | |
| 505 | .seed-price-list { |
| 506 | display: flex; |
| 507 | flex-direction: column; |
| 508 | gap: 0.25rem; |
| 509 | } |
| 510 | |
| 511 | .seed-price-row { |
| 512 | padding: 0.4rem; |
| 513 | border-radius: 4px; |
| 514 | } |
| 515 | |
| 516 | .seed-price-row.dirty { |
| 517 | background: #4a3d18; |
| 518 | box-shadow: inset 0 0 0 1px #c4a35a; |
| 519 | } |
| 520 | |
| 521 | .seed-price-name { |
| 522 | display: flex; |
| 523 | flex-direction: column; |
| 524 | gap: 0.1rem; |
| 525 | min-width: 0; |
| 526 | } |
| 527 | |
| 528 | .seed-price-name strong { |
| 529 | overflow: hidden; |
| 530 | text-overflow: ellipsis; |
| 531 | white-space: nowrap; |
| 532 | } |
| 533 | |
| 534 | .seed-price-name small { |
| 535 | color: #8b8790; |
| 536 | font-size: 0.75rem; |
| 537 | } |
| 538 | |
| 539 | .seed-price-seed { |
| 540 | display: flex; |
| 541 | flex-direction: column; |
| 542 | gap: 0.15rem; |
| 543 | font-size: 0.75rem; |
| 544 | color: #a8a295; |
| 545 | } |
| 546 | |
| 547 | .seed-price-seed input { |
| 548 | width: 100%; |
| 549 | padding: 0.3rem 0.4rem; |
| 550 | background: #10141b; |
| 551 | border: 1px solid #3a4250; |
| 552 | color: #e8e4d9; |
| 553 | font: inherit; |
| 554 | } |
| 555 | |
| 556 | .seed-price-readonly { |
| 557 | display: flex; |
| 558 | flex-direction: column; |
| 559 | gap: 0.15rem; |
| 560 | font-size: 0.75rem; |
| 561 | color: #a8a295; |
| 562 | } |
| 563 | |
| 564 | .seed-price-readonly strong { |
| 565 | font-size: 0.95rem; |
| 566 | color: #e8e4d9; |
| 567 | font-variant-numeric: tabular-nums; |
| 568 | } |
| 569 | |
| 570 | .seed-price-readonly strong.muted { |
| 571 | color: #6d6875; |
| 572 | } |
| 573 | |
| 574 | .starter-equipment-panel h3 { |
| 575 | margin: 0.85rem 0 0.4rem; |
| 576 | font-size: 0.85rem; |
| 577 | text-transform: uppercase; |
| 578 | letter-spacing: 0.03em; |
| 579 | color: #9aa3b2; |
| 580 | } |
| 581 | |
| 582 | .starter-equip-list, |
| 583 | .starter-inv-list { |
| 584 | display: flex; |
| 585 | flex-direction: column; |
| 586 | gap: 0.4rem; |
| 587 | } |
| 588 | |
| 589 | .starter-equip-row { |
| 590 | display: grid; |
| 591 | grid-template-columns: 5.5rem 1fr; |
| 592 | gap: 0.5rem; |
| 593 | align-items: center; |
| 594 | } |
| 595 | |
| 596 | .starter-equip-row.dirty select, |
| 597 | .starter-inv-row.dirty select, |
| 598 | .starter-inv-row.dirty input { |
| 599 | border-color: #c4a35a; |
| 600 | } |
| 601 | |
| 602 | .starter-inv-row { |
| 603 | display: grid; |
| 604 | grid-template-columns: 1fr 4.5rem auto; |
| 605 | gap: 0.4rem; |
| 606 | align-items: center; |
| 607 | } |
| 608 | |
| 609 | .equip-stats-panel { |
| 610 | display: flex; |
| 611 | flex-direction: column; |
| 612 | gap: 0.75rem; |
| 613 | min-width: 0; |
| 614 | } |
| 615 | |
| 616 | .equip-stats-toolbar { |
| 617 | display: flex; |
| 618 | flex-wrap: wrap; |
| 619 | gap: 0.75rem; |
| 620 | align-items: center; |
| 621 | } |
| 622 | |
| 623 | .equip-stats-category-label { |
| 624 | display: flex; |
| 625 | align-items: center; |
| 626 | gap: 0.5rem; |
| 627 | font-size: 0.85rem; |
| 628 | color: #c5ccd8; |
| 629 | } |
| 630 | |
| 631 | .equip-stats-category { |
| 632 | min-width: 12rem; |
| 633 | } |
| 634 | |
| 635 | .equip-stats-tables { |
| 636 | display: flex; |
| 637 | flex-direction: column; |
| 638 | gap: 1rem; |
| 639 | overflow: auto; |
| 640 | max-height: min(62vh, 640px); |
| 641 | } |
| 642 | |
| 643 | .equip-stats-table-wrap { |
| 644 | overflow: auto; |
| 645 | } |
| 646 | |
| 647 | .equip-stats-table { |
| 648 | border-collapse: collapse; |
| 649 | width: max-content; |
| 650 | min-width: 100%; |
| 651 | font-size: 0.8rem; |
| 652 | } |
| 653 | |
| 654 | .equip-stats-table th, |
| 655 | .equip-stats-table td { |
| 656 | border: 1px solid #2c3340; |
| 657 | padding: 0.35rem 0.45rem; |
| 658 | vertical-align: middle; |
| 659 | text-align: center; |
| 660 | } |
| 661 | |
| 662 | .equip-stats-table th { |
| 663 | background: #1a1f28; |
| 664 | color: #9aa3b2; |
| 665 | font-weight: 600; |
| 666 | position: sticky; |
| 667 | top: 0; |
| 668 | z-index: 1; |
| 669 | } |
| 670 | |
| 671 | .equip-stats-table th:first-child, |
| 672 | .equip-stats-table td.equip-stats-item { |
| 673 | position: sticky; |
| 674 | left: 0; |
| 675 | z-index: 2; |
| 676 | background: #151922; |
| 677 | text-align: left; |
| 678 | min-width: 9rem; |
| 679 | } |
| 680 | |
| 681 | .equip-stats-table th:first-child { |
| 682 | z-index: 3; |
| 683 | } |
| 684 | |
| 685 | .equip-stats-item { |
| 686 | display: flex; |
| 687 | align-items: center; |
| 688 | gap: 0.45rem; |
| 689 | white-space: nowrap; |
| 690 | } |
| 691 | |
| 692 | .equip-stats-icon { |
| 693 | image-rendering: pixelated; |
| 694 | flex-shrink: 0; |
| 695 | background: #0e1218; |
| 696 | border: 1px solid #2c3340; |
| 697 | } |
| 698 | |
| 699 | .equip-stats-cell.empty { |
| 700 | color: #5c6575; |
| 701 | } |
| 702 | |
| 703 | .equip-stats-cell-inner { |
| 704 | display: flex; |
| 705 | flex-direction: column; |
| 706 | gap: 0.25rem; |
| 707 | align-items: stretch; |
| 708 | } |
| 709 | |
| 710 | .equip-stats-stat { |
| 711 | display: flex; |
| 712 | align-items: center; |
| 713 | gap: 0.3rem; |
| 714 | margin: 0; |
| 715 | } |
| 716 | |
| 717 | .equip-stats-stat img { |
| 718 | flex-shrink: 0; |
| 719 | } |
| 720 | |
| 721 | .equip-stats-stat input { |
| 722 | width: 3.2rem; |
| 723 | padding: 0.15rem 0.25rem; |
| 724 | } |
| 725 | |
| 726 | .equip-stats-stat.dirty input { |
| 727 | border-color: #c4a35a; |
| 728 | } |
| 729 | |
| 730 | #settings-log-wrap { |
| 731 | width: min(340px, 32vw); |
| 732 | flex-shrink: 0; |
| 733 | border-left: 1px solid #2c3340; |
| 734 | display: flex; |
| 735 | flex-direction: column; |
| 736 | background: #1a1e26; |
| 737 | } |
| 738 | |
| 739 | #settings-log-wrap h2 { |
| 740 | margin: 0; |
| 741 | padding: 0.75rem 1rem; |
| 742 | border-bottom: 1px solid #2c3340; |
| 743 | font-size: 1rem; |
| 744 | } |
| 745 | |
| 746 | #settings-log { |
| 747 | flex: 1; |
| 748 | overflow: auto; |
| 749 | padding: 0.75rem 1rem; |
| 750 | } |
| 751 | |
| 752 | #palette-backdrop, |
| 753 | #tile-config-backdrop { |
| 754 | position: fixed; |
| 755 | inset: 0; |
| 756 | background: rgba(0, 0, 0, 0.62); |
| 757 | z-index: 19; |
| 758 | } |
| 759 | |
| 760 | #palette-modal, |
| 761 | #tile-config-modal { |
| 762 | position: fixed; |
| 763 | z-index: 20; |
| 764 | display: flex; |
| 765 | flex-direction: column; |
| 766 | background: #161a22; |
| 767 | border: 1px solid #3a4250; |
| 768 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 769 | } |
| 770 | |
| 771 | #palette-modal { |
| 772 | inset: 8vh 12vw; |
| 773 | } |
| 774 | |
| 775 | #tile-config-modal { |
| 776 | top: 10vh; |
| 777 | left: 50%; |
| 778 | transform: translateX(-50%); |
| 779 | width: min(440px, 92vw); |
| 780 | max-height: 80vh; |
| 781 | } |
| 782 | |
| 783 | #palette-modal[hidden], |
| 784 | #palette-backdrop[hidden], |
| 785 | #tile-config-modal[hidden], |
| 786 | #tile-config-backdrop[hidden], |
| 787 | #tile-tooltip[hidden] { |
| 788 | display: none !important; |
| 789 | } |
| 790 | |
| 791 | #palette-modal > header, |
| 792 | #tile-config-modal > header, |
| 793 | #tile-config-modal > footer { |
| 794 | display: flex; |
| 795 | align-items: center; |
| 796 | justify-content: space-between; |
| 797 | gap: 0.75rem; |
| 798 | padding: 0.75rem 1rem; |
| 799 | border-bottom: 1px solid #2c3340; |
| 800 | } |
| 801 | |
| 802 | #tile-config-modal > footer { |
| 803 | border-bottom: 0; |
| 804 | border-top: 1px solid #2c3340; |
| 805 | } |
| 806 | |
| 807 | #palette-panels { |
| 808 | flex: 1; |
| 809 | overflow: auto; |
| 810 | padding: 0.75rem 1rem 1.25rem; |
| 811 | } |
| 812 | |
| 813 | .palette-grid { |
| 814 | display: grid; |
| 815 | grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); |
| 816 | gap: 0.6rem; |
| 817 | } |
| 818 | |
| 819 | .palette-card { |
| 820 | display: flex; |
| 821 | flex-direction: column; |
| 822 | align-items: center; |
| 823 | gap: 0.35rem; |
| 824 | padding: 0.55rem 0.4rem; |
| 825 | min-height: 6.5rem; |
| 826 | } |
| 827 | |
| 828 | .palette-thumb { |
| 829 | width: 48px; |
| 830 | height: 48px; |
| 831 | display: grid; |
| 832 | place-items: center; |
| 833 | background: #0d1016; |
| 834 | border: 1px solid #2c3340; |
| 835 | image-rendering: pixelated; |
| 836 | font-weight: 600; |
| 837 | color: #9aa3b2; |
| 838 | } |
| 839 | |
| 840 | .palette-thumb img { |
| 841 | width: 100%; |
| 842 | height: 100%; |
| 843 | object-fit: contain; |
| 844 | image-rendering: pixelated; |
| 845 | } |
| 846 | |
| 847 | #tile-config-form { |
| 848 | padding: 0.75rem 1rem 1rem; |
| 849 | display: flex; |
| 850 | flex-direction: column; |
| 851 | gap: 0.35rem; |
| 852 | flex: 1; |
| 853 | min-height: 0; |
| 854 | overflow: auto; |
| 855 | } |
| 856 | |
| 857 | .spawner-sells-header { |
| 858 | display: flex; |
| 859 | align-items: center; |
| 860 | justify-content: space-between; |
| 861 | gap: 0.5rem; |
| 862 | margin-top: 0.55rem; |
| 863 | } |
| 864 | |
| 865 | .spawner-sells-list { |
| 866 | display: flex; |
| 867 | flex-direction: column; |
| 868 | gap: 0.35rem; |
| 869 | } |
| 870 | |
| 871 | .spawner-sells-row { |
| 872 | display: grid; |
| 873 | grid-template-columns: 1fr 4.5rem auto; |
| 874 | gap: 0.4rem; |
| 875 | align-items: center; |
| 876 | } |
| 877 | |
| 878 | .spawner-sells-name { |
| 879 | overflow: hidden; |
| 880 | text-overflow: ellipsis; |
| 881 | white-space: nowrap; |
| 882 | } |
| 883 | |
| 884 | .spawner-equip-list { |
| 885 | display: flex; |
| 886 | flex-direction: column; |
| 887 | gap: 0.35rem; |
| 888 | } |
| 889 | |
| 890 | .spawner-equip-row { |
| 891 | display: grid; |
| 892 | grid-template-columns: 4.5rem 1fr auto auto auto; |
| 893 | gap: 0.35rem; |
| 894 | align-items: center; |
| 895 | } |
| 896 | |
| 897 | .spawner-equip-slot { |
| 898 | text-transform: capitalize; |
| 899 | color: #9aa3b2; |
| 900 | font-size: 0.85rem; |
| 901 | } |
| 902 | |
| 903 | .spawner-equip-name { |
| 904 | overflow: hidden; |
| 905 | text-overflow: ellipsis; |
| 906 | white-space: nowrap; |
| 907 | } |
| 908 | |
| 909 | .spawner-equip-dye-swatch { |
| 910 | display: inline-block; |
| 911 | width: 0.85rem; |
| 912 | height: 0.85rem; |
| 913 | margin-right: 0.35rem; |
| 914 | border: 1px solid #3a4250; |
| 915 | vertical-align: -0.1rem; |
| 916 | border-radius: 2px; |
| 917 | } |
| 918 | |
| 919 | #equip-dye-backdrop { |
| 920 | position: fixed; |
| 921 | inset: 0; |
| 922 | background: rgba(0, 0, 0, 0.55); |
| 923 | z-index: 23; |
| 924 | } |
| 925 | |
| 926 | #equip-dye-modal { |
| 927 | position: fixed; |
| 928 | z-index: 24; |
| 929 | top: 18vh; |
| 930 | left: 50%; |
| 931 | transform: translateX(-50%); |
| 932 | width: min(340px, 90vw); |
| 933 | display: flex; |
| 934 | flex-direction: column; |
| 935 | background: #161a22; |
| 936 | border: 1px solid #3a4250; |
| 937 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 938 | } |
| 939 | |
| 940 | #equip-dye-modal[hidden], |
| 941 | #equip-dye-backdrop[hidden] { |
| 942 | display: none !important; |
| 943 | } |
| 944 | |
| 945 | #equip-dye-modal > header { |
| 946 | display: flex; |
| 947 | align-items: center; |
| 948 | justify-content: space-between; |
| 949 | gap: 0.75rem; |
| 950 | padding: 0.75rem 1rem; |
| 951 | border-bottom: 1px solid #2c3340; |
| 952 | } |
| 953 | |
| 954 | .equip-dye-body { |
| 955 | padding: 0.85rem 1rem 1rem; |
| 956 | display: flex; |
| 957 | flex-direction: column; |
| 958 | gap: 0.55rem; |
| 959 | } |
| 960 | |
| 961 | .equip-dye-preview { |
| 962 | height: 3rem; |
| 963 | border: 1px solid #3a4250; |
| 964 | border-radius: 4px; |
| 965 | background: #c85078; |
| 966 | } |
| 967 | |
| 968 | .equip-dye-channel { |
| 969 | display: grid; |
| 970 | grid-template-columns: 1.25rem 1fr 3.5rem; |
| 971 | gap: 0.4rem; |
| 972 | align-items: center; |
| 973 | font-size: 0.85rem; |
| 974 | color: #9aa3b2; |
| 975 | } |
| 976 | |
| 977 | .equip-dye-channel input[type="number"] { |
| 978 | width: 100%; |
| 979 | } |
| 980 | |
| 981 | .equip-dye-actions { |
| 982 | display: flex; |
| 983 | justify-content: flex-end; |
| 984 | gap: 0.4rem; |
| 985 | margin-top: 0.25rem; |
| 986 | } |
| 987 | |
| 988 | .spawner-buys-row { |
| 989 | display: flex; |
| 990 | align-items: center; |
| 991 | gap: 0.4rem; |
| 992 | margin-top: 0.45rem; |
| 993 | } |
| 994 | |
| 995 | #shop-item-search-backdrop { |
| 996 | position: fixed; |
| 997 | inset: 0; |
| 998 | background: rgba(0, 0, 0, 0.55); |
| 999 | z-index: 21; |
| 1000 | } |
| 1001 | |
| 1002 | #shop-item-search-modal { |
| 1003 | position: fixed; |
| 1004 | z-index: 22; |
| 1005 | top: 18vh; |
| 1006 | left: 50%; |
| 1007 | transform: translateX(-50%); |
| 1008 | width: min(380px, 90vw); |
| 1009 | max-height: 60vh; |
| 1010 | display: flex; |
| 1011 | flex-direction: column; |
| 1012 | background: #161a22; |
| 1013 | border: 1px solid #3a4250; |
| 1014 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 1015 | } |
| 1016 | |
| 1017 | #shop-item-search-modal[hidden], |
| 1018 | #shop-item-search-backdrop[hidden] { |
| 1019 | display: none !important; |
| 1020 | } |
| 1021 | |
| 1022 | #shop-item-search-modal > header { |
| 1023 | display: flex; |
| 1024 | align-items: center; |
| 1025 | justify-content: space-between; |
| 1026 | gap: 0.75rem; |
| 1027 | padding: 0.75rem 1rem; |
| 1028 | border-bottom: 1px solid #2c3340; |
| 1029 | } |
| 1030 | |
| 1031 | #shop-item-search-modal > .shop-item-search-body { |
| 1032 | padding: 0.75rem 1rem 1rem; |
| 1033 | display: flex; |
| 1034 | flex-direction: column; |
| 1035 | gap: 0.5rem; |
| 1036 | min-height: 0; |
| 1037 | overflow: hidden; |
| 1038 | } |
| 1039 | |
| 1040 | #shop-item-search-results { |
| 1041 | overflow: auto; |
| 1042 | max-height: 40vh; |
| 1043 | display: flex; |
| 1044 | flex-direction: column; |
| 1045 | gap: 0.25rem; |
| 1046 | } |
| 1047 | |
| 1048 | .shop-item-search-row { |
| 1049 | text-align: left; |
| 1050 | padding: 0.4rem 0.5rem; |
| 1051 | } |
| 1052 | |
| 1053 | #tile-tooltip { |
| 1054 | position: fixed; |
| 1055 | z-index: 15; |
| 1056 | pointer-events: none; |
| 1057 | max-width: 16rem; |
| 1058 | padding: 0.4rem 0.55rem; |
| 1059 | background: rgba(12, 14, 18, 0.92); |
| 1060 | border: 1px solid #3a4250; |
| 1061 | color: #e8e4d9; |
| 1062 | font-size: 0.8rem; |
| 1063 | white-space: pre-wrap; |
| 1064 | box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4); |
| 1065 | } |
| 1066 | |
| 1067 | #hover-status { |
| 1068 | position: fixed; |
| 1069 | left: 250px; |
| 1070 | right: 280px; |
| 1071 | bottom: 0; |
| 1072 | z-index: 5; |
| 1073 | margin: 0; |
| 1074 | padding: 0.35rem 0.75rem; |
| 1075 | border-top: 1px solid #2c3340; |
| 1076 | background: #1a1e26; |
| 1077 | color: #c5c9d2; |
| 1078 | font-size: 0.85rem; |
| 1079 | pointer-events: none; |
| 1080 | } |
| 1081 | #hover-status-text { |
| 1082 | font-variant-numeric: tabular-nums; |
| 1083 | } |
| 1084 | |
| 1085 | |
| 1086 | #quests-backdrop, |
| 1087 | #dialogues-backdrop { |
| 1088 | position: fixed; |
| 1089 | inset: 0; |
| 1090 | background: rgba(0, 0, 0, 0.62); |
| 1091 | z-index: 19; |
| 1092 | } |
| 1093 | |
| 1094 | #quests-modal, |
| 1095 | #dialogues-modal { |
| 1096 | position: fixed; |
| 1097 | inset: 5vh 5vw; |
| 1098 | z-index: 20; |
| 1099 | display: flex; |
| 1100 | flex-direction: column; |
| 1101 | background: #161a22; |
| 1102 | border: 1px solid #3a4250; |
| 1103 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 1104 | } |
| 1105 | |
| 1106 | #quests-modal[hidden], |
| 1107 | #quests-backdrop[hidden], |
| 1108 | #dialogues-modal[hidden], |
| 1109 | #dialogues-backdrop[hidden] { |
| 1110 | display: none !important; |
| 1111 | } |
| 1112 | |
| 1113 | #quests-modal > header, |
| 1114 | #dialogues-modal > header, |
| 1115 | #quests-modal > footer, |
| 1116 | #dialogues-modal > footer { |
| 1117 | display: flex; |
| 1118 | align-items: center; |
| 1119 | justify-content: space-between; |
| 1120 | gap: 0.75rem; |
| 1121 | padding: 0.75rem 1rem; |
| 1122 | border-bottom: 1px solid #2c3340; |
| 1123 | } |
| 1124 | |
| 1125 | #quests-modal > footer, |
| 1126 | #dialogues-modal > footer { |
| 1127 | border-bottom: 0; |
| 1128 | border-top: 1px solid #2c3340; |
| 1129 | justify-content: flex-end; |
| 1130 | } |
| 1131 | |
| 1132 | .content-editor-layout { |
| 1133 | flex: 1; |
| 1134 | min-height: 0; |
| 1135 | display: flex; |
| 1136 | overflow: hidden; |
| 1137 | } |
| 1138 | |
| 1139 | .content-editor-list-pane { |
| 1140 | width: 220px; |
| 1141 | flex-shrink: 0; |
| 1142 | border-right: 1px solid #2c3340; |
| 1143 | padding: 0.65rem; |
| 1144 | display: flex; |
| 1145 | flex-direction: column; |
| 1146 | gap: 0.5rem; |
| 1147 | overflow: auto; |
| 1148 | background: #12151c; |
| 1149 | } |
| 1150 | |
| 1151 | .content-editor-list { |
| 1152 | display: flex; |
| 1153 | flex-direction: column; |
| 1154 | gap: 0.25rem; |
| 1155 | } |
| 1156 | |
| 1157 | .content-editor-list button { |
| 1158 | text-align: left; |
| 1159 | width: 100%; |
| 1160 | } |
| 1161 | |
| 1162 | .content-editor-list button.active { |
| 1163 | border-color: #6b8cae; |
| 1164 | background: #1c2838; |
| 1165 | } |
| 1166 | |
| 1167 | .content-editor-detail { |
| 1168 | flex: 1; |
| 1169 | min-width: 0; |
| 1170 | overflow: auto; |
| 1171 | padding: 0.75rem 1rem 1rem; |
| 1172 | } |
| 1173 | |
| 1174 | .content-editor-detail label { |
| 1175 | display: block; |
| 1176 | margin: 0.4rem 0; |
| 1177 | } |
| 1178 | |
| 1179 | .content-editor-detail input[type="text"], |
| 1180 | .content-editor-detail input[type="number"], |
| 1181 | .content-editor-detail textarea, |
| 1182 | .content-editor-detail select { |
| 1183 | display: block; |
| 1184 | width: 100%; |
| 1185 | margin-top: 0.2rem; |
| 1186 | box-sizing: border-box; |
| 1187 | } |
| 1188 | |
| 1189 | .content-editor-section { |
| 1190 | border: 1px solid #2c3340; |
| 1191 | padding: 0.55rem 0.65rem; |
| 1192 | margin: 0.55rem 0; |
| 1193 | background: #12151c; |
| 1194 | } |
| 1195 | |
| 1196 | .content-editor-section-header { |
| 1197 | display: flex; |
| 1198 | align-items: center; |
| 1199 | justify-content: space-between; |
| 1200 | gap: 0.5rem; |
| 1201 | margin-bottom: 0.35rem; |
| 1202 | } |
| 1203 | |
| 1204 | .content-editor-row { |
| 1205 | display: flex; |
| 1206 | flex-wrap: wrap; |
| 1207 | gap: 0.35rem; |
| 1208 | align-items: center; |
| 1209 | margin: 0.35rem 0; |
| 1210 | } |
| 1211 | |
| 1212 | .content-editor-clause { |
| 1213 | border: 1px dashed #3a4250; |
| 1214 | padding: 0.4rem; |
| 1215 | margin: 0.35rem 0; |
| 1216 | } |
| 1217 | |
| 1218 | .content-editor-hint { |
| 1219 | color: #8a909c; |
| 1220 | font-size: 0.85rem; |
| 1221 | margin: 0.25rem 0 0.5rem; |
| 1222 | } |