| 1 | :root { |
| 2 | color-scheme: dark; |
| 3 | font-family: "Segoe UI", sans-serif; |
| 4 | background: #12151b; |
| 5 | color: #e8e4d9; |
| 6 | } |
| 7 | |
| 8 | html, |
| 9 | body { |
| 10 | margin: 0; |
| 11 | min-height: 100%; |
| 12 | } |
| 13 | |
| 14 | body>header { |
| 15 | display: flex; |
| 16 | align-items: flex-start; |
| 17 | justify-content: space-between; |
| 18 | gap: 1rem; |
| 19 | padding: 0.6rem 1rem; |
| 20 | border-bottom: 1px solid #2c3340; |
| 21 | } |
| 22 | |
| 23 | .editor-header-main { |
| 24 | min-width: 0; |
| 25 | flex: 1 1 auto; |
| 26 | } |
| 27 | |
| 28 | .editor-header-main h1, |
| 29 | .editor-header-main p { |
| 30 | margin: 0.15rem 0; |
| 31 | } |
| 32 | |
| 33 | #editor-restart-now { |
| 34 | flex: 0 0 auto; |
| 35 | margin-top: 0.15rem; |
| 36 | padding: 0.35rem 0.65rem; |
| 37 | border: 1px solid #7a4a4a; |
| 38 | border-radius: 0.35rem; |
| 39 | background: #2a1818; |
| 40 | color: #f0c8c8; |
| 41 | font: inherit; |
| 42 | cursor: pointer; |
| 43 | white-space: nowrap; |
| 44 | } |
| 45 | |
| 46 | .editor-to-play { |
| 47 | flex: 0 0 auto; |
| 48 | margin-top: 0.15rem; |
| 49 | padding: 0.35rem 0.65rem; |
| 50 | border: 1px solid #3a4250; |
| 51 | border-radius: 0.35rem; |
| 52 | background: #1a1f28; |
| 53 | color: #c8d0dc; |
| 54 | font: inherit; |
| 55 | text-decoration: none; |
| 56 | white-space: nowrap; |
| 57 | } |
| 58 | |
| 59 | .editor-to-play:hover { |
| 60 | background: #243044; |
| 61 | } |
| 62 | |
| 63 | #editor-restart-now:hover:not(:disabled) { |
| 64 | background: #3a2020; |
| 65 | } |
| 66 | |
| 67 | #editor-restart-now:disabled { |
| 68 | opacity: 0.55; |
| 69 | cursor: default; |
| 70 | } |
| 71 | |
| 72 | #editor-restart-now[hidden] { |
| 73 | display: none !important; |
| 74 | } |
| 75 | |
| 76 | body>aside { |
| 77 | position: absolute; |
| 78 | left: 0; |
| 79 | top: 56px; |
| 80 | width: 250px; |
| 81 | bottom: 0; |
| 82 | overflow: auto; |
| 83 | padding: 0.75rem; |
| 84 | box-sizing: border-box; |
| 85 | background: #1a1e26; |
| 86 | border-right: 1px solid #2c3340; |
| 87 | } |
| 88 | |
| 89 | #side-panels { |
| 90 | position: absolute; |
| 91 | right: 0; |
| 92 | top: 56px; |
| 93 | width: 320px; |
| 94 | bottom: 0; |
| 95 | display: flex; |
| 96 | flex-direction: column; |
| 97 | box-sizing: border-box; |
| 98 | background: #1a1e26; |
| 99 | border-left: 1px solid #2c3340; |
| 100 | } |
| 101 | |
| 102 | .side-panel-tabs { |
| 103 | display: flex; |
| 104 | gap: 0; |
| 105 | border-bottom: 1px solid #2c3340; |
| 106 | flex: 0 0 auto; |
| 107 | } |
| 108 | |
| 109 | .side-panel-tab { |
| 110 | flex: 1 1 0; |
| 111 | border: 0; |
| 112 | border-radius: 0; |
| 113 | background: transparent; |
| 114 | color: #9aa3b2; |
| 115 | padding: 0.55rem 0.4rem; |
| 116 | cursor: pointer; |
| 117 | } |
| 118 | |
| 119 | .side-panel-tab.active { |
| 120 | color: #e8e4d9; |
| 121 | background: #222833; |
| 122 | box-shadow: inset 0 -2px 0 #6a8cbf; |
| 123 | } |
| 124 | |
| 125 | .side-panel-body { |
| 126 | flex: 1 1 auto; |
| 127 | min-height: 0; |
| 128 | overflow: auto; |
| 129 | padding: 0.75rem; |
| 130 | box-sizing: border-box; |
| 131 | } |
| 132 | |
| 133 | #editor-console { |
| 134 | margin: 0; |
| 135 | padding: 0.4rem; |
| 136 | min-height: 12rem; |
| 137 | max-height: calc(100% - 2.5rem); |
| 138 | overflow: auto; |
| 139 | font: 0.72rem/1.35 ui-monospace, Consolas, monospace; |
| 140 | white-space: pre-wrap; |
| 141 | word-break: break-word; |
| 142 | background: #0e1116; |
| 143 | border: 1px solid #2c3340; |
| 144 | color: #c8d0dc; |
| 145 | } |
| 146 | |
| 147 | #editor-console .console-warn { |
| 148 | color: #e0c070; |
| 149 | } |
| 150 | |
| 151 | #editor-console .console-error { |
| 152 | color: #f0a0a0; |
| 153 | } |
| 154 | |
| 155 | #editor-console .console-debug { |
| 156 | color: #7a8494; |
| 157 | } |
| 158 | |
| 159 | #console-clear { |
| 160 | margin-top: 0.5rem; |
| 161 | width: 100%; |
| 162 | } |
| 163 | |
| 164 | .nav, |
| 165 | .palette, |
| 166 | .chunk-clipboard { |
| 167 | display: flex; |
| 168 | flex-direction: column; |
| 169 | gap: 0.35rem; |
| 170 | margin: 0.75rem 0; |
| 171 | } |
| 172 | |
| 173 | .dimension-picker { |
| 174 | margin: 0.75rem 0 0.35rem; |
| 175 | display: flex; |
| 176 | flex-direction: column; |
| 177 | gap: 0.35rem; |
| 178 | } |
| 179 | |
| 180 | .dimension-picker>label, |
| 181 | .dimension-picker-label { |
| 182 | font-size: 0.85rem; |
| 183 | color: #9aa3b2; |
| 184 | } |
| 185 | |
| 186 | .dimension-current { |
| 187 | margin: 0; |
| 188 | font-size: 0.95rem; |
| 189 | line-height: 1.3; |
| 190 | word-break: break-word; |
| 191 | } |
| 192 | |
| 193 | #dimension-picker-backdrop { |
| 194 | position: fixed; |
| 195 | inset: 0; |
| 196 | background: rgba(0, 0, 0, 0.62); |
| 197 | z-index: 29; |
| 198 | } |
| 199 | |
| 200 | #dimension-picker-modal { |
| 201 | position: fixed; |
| 202 | left: 50%; |
| 203 | top: 50%; |
| 204 | transform: translate(-50%, -50%); |
| 205 | z-index: 30; |
| 206 | width: min(420px, 92vw); |
| 207 | max-height: min(70vh, 560px); |
| 208 | display: flex; |
| 209 | flex-direction: column; |
| 210 | padding: 0; |
| 211 | background: #161a22; |
| 212 | border: 1px solid #3a4250; |
| 213 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 214 | } |
| 215 | |
| 216 | #dimension-picker-modal[hidden], |
| 217 | #dimension-picker-backdrop[hidden] { |
| 218 | display: none !important; |
| 219 | } |
| 220 | |
| 221 | #dimension-picker-modal>header { |
| 222 | display: flex; |
| 223 | align-items: center; |
| 224 | justify-content: space-between; |
| 225 | gap: 0.75rem; |
| 226 | margin: 0; |
| 227 | padding: 0.75rem 1rem; |
| 228 | border-bottom: 1px solid #2c3340; |
| 229 | } |
| 230 | |
| 231 | #dimension-picker-modal h2 { |
| 232 | margin: 0; |
| 233 | font-size: 1.1rem; |
| 234 | } |
| 235 | |
| 236 | .dimension-picker-list { |
| 237 | flex: 1; |
| 238 | min-height: 0; |
| 239 | overflow: auto; |
| 240 | padding: 0.5rem; |
| 241 | display: flex; |
| 242 | flex-direction: column; |
| 243 | gap: 0.35rem; |
| 244 | } |
| 245 | |
| 246 | .dimension-picker-option { |
| 247 | display: flex; |
| 248 | flex-direction: column; |
| 249 | align-items: flex-start; |
| 250 | gap: 0.15rem; |
| 251 | width: 100%; |
| 252 | text-align: left; |
| 253 | padding: 0.55rem 0.65rem; |
| 254 | } |
| 255 | |
| 256 | .dimension-picker-option.active { |
| 257 | border-color: #6b8cae; |
| 258 | background: #1c2838; |
| 259 | } |
| 260 | |
| 261 | .dimension-picker-option.soft-deleted { |
| 262 | opacity: 0.7; |
| 263 | } |
| 264 | |
| 265 | .dimension-picker-option-id, |
| 266 | .dimension-picker-option-hint { |
| 267 | font-size: 0.78rem; |
| 268 | color: #9aa3b2; |
| 269 | } |
| 270 | |
| 271 | .dimension-picker-create { |
| 272 | display: flex; |
| 273 | flex-direction: column; |
| 274 | gap: 0.45rem; |
| 275 | padding: 0.75rem 1rem; |
| 276 | border-top: 1px solid #2c3340; |
| 277 | } |
| 278 | |
| 279 | .dimension-picker-create label { |
| 280 | display: flex; |
| 281 | flex-direction: column; |
| 282 | gap: 0.25rem; |
| 283 | font-size: 0.85rem; |
| 284 | color: #9aa3b2; |
| 285 | } |
| 286 | |
| 287 | .dimension-picker-create input { |
| 288 | font: inherit; |
| 289 | color: inherit; |
| 290 | background: #12151c; |
| 291 | border: 1px solid #3a4250; |
| 292 | border-radius: 0.25rem; |
| 293 | padding: 0.35rem 0.5rem; |
| 294 | } |
| 295 | |
| 296 | .dim-combo { |
| 297 | position: relative; |
| 298 | display: flex; |
| 299 | align-items: stretch; |
| 300 | } |
| 301 | |
| 302 | .dim-combo-input { |
| 303 | flex: 1 1 auto; |
| 304 | width: 0; |
| 305 | min-width: 0; |
| 306 | box-sizing: border-box; |
| 307 | } |
| 308 | |
| 309 | .dim-combo-toggle { |
| 310 | flex: 0 0 auto; |
| 311 | padding: 0 0.45rem; |
| 312 | border: 1px solid #3a4250; |
| 313 | border-left: none; |
| 314 | background: #1a1f28; |
| 315 | color: #c8d0dc; |
| 316 | cursor: pointer; |
| 317 | } |
| 318 | |
| 319 | .dim-combo-toggle:hover { |
| 320 | background: #243044; |
| 321 | } |
| 322 | |
| 323 | .dim-combo-list { |
| 324 | position: absolute; |
| 325 | left: 0; |
| 326 | right: 0; |
| 327 | top: calc(100% + 2px); |
| 328 | z-index: 20; |
| 329 | margin: 0; |
| 330 | padding: 0.2rem 0; |
| 331 | list-style: none; |
| 332 | max-height: 220px; |
| 333 | overflow: auto; |
| 334 | background: #101216; |
| 335 | border: 1px solid #3a4250; |
| 336 | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45); |
| 337 | } |
| 338 | |
| 339 | .dim-combo-option, |
| 340 | .dim-combo-empty { |
| 341 | display: flex; |
| 342 | flex-direction: column; |
| 343 | gap: 0.1rem; |
| 344 | padding: 0.35rem 0.55rem; |
| 345 | cursor: pointer; |
| 346 | } |
| 347 | |
| 348 | .dim-combo-option:hover, |
| 349 | .dim-combo-option.selected { |
| 350 | background: #243044; |
| 351 | } |
| 352 | |
| 353 | .dim-combo-option.disabled { |
| 354 | opacity: 0.55; |
| 355 | } |
| 356 | |
| 357 | .dim-combo-option.create { |
| 358 | color: #b8d4a0; |
| 359 | border-top: 1px solid #2c3340; |
| 360 | } |
| 361 | |
| 362 | .dim-combo-option-hint, |
| 363 | .dim-combo-empty { |
| 364 | font-size: 0.78rem; |
| 365 | color: #9aa3b2; |
| 366 | } |
| 367 | |
| 368 | .dimension-settings { |
| 369 | display: flex; |
| 370 | flex-direction: column; |
| 371 | gap: 0.45rem; |
| 372 | margin: 0.5rem 0 0.85rem; |
| 373 | padding: 0.55rem 0.6rem; |
| 374 | border: 1px solid #2c3340; |
| 375 | background: #151922; |
| 376 | } |
| 377 | |
| 378 | .dimension-settings label { |
| 379 | display: flex; |
| 380 | flex-direction: column; |
| 381 | gap: 0.2rem; |
| 382 | font-size: 0.85rem; |
| 383 | color: #9aa3b2; |
| 384 | } |
| 385 | |
| 386 | .dimension-settings input, |
| 387 | .dimension-settings select { |
| 388 | width: 100%; |
| 389 | box-sizing: border-box; |
| 390 | } |
| 391 | |
| 392 | .dimension-settings-actions { |
| 393 | display: flex; |
| 394 | flex-wrap: wrap; |
| 395 | gap: 0.35rem; |
| 396 | } |
| 397 | |
| 398 | #dim-delete { |
| 399 | border-color: #8a3a3a; |
| 400 | color: #f0a0a0; |
| 401 | } |
| 402 | |
| 403 | button, |
| 404 | input { |
| 405 | font: inherit; |
| 406 | background: #101216; |
| 407 | color: inherit; |
| 408 | border: 1px solid #3a4250; |
| 409 | padding: 0.3rem 0.5rem; |
| 410 | } |
| 411 | |
| 412 | button { |
| 413 | cursor: pointer; |
| 414 | } |
| 415 | |
| 416 | button:disabled { |
| 417 | opacity: 0.45; |
| 418 | cursor: not-allowed; |
| 419 | } |
| 420 | |
| 421 | #save.save-dirty:not(:disabled) { |
| 422 | animation: save-pulse 1.1s ease-in-out infinite; |
| 423 | border-color: #c9a227; |
| 424 | box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.35); |
| 425 | } |
| 426 | |
| 427 | @keyframes save-pulse { |
| 428 | |
| 429 | 0%, |
| 430 | 100% { |
| 431 | opacity: 1; |
| 432 | } |
| 433 | |
| 434 | 50% { |
| 435 | opacity: 0.55; |
| 436 | } |
| 437 | } |
| 438 | |
| 439 | #unsaved-chunk-backdrop { |
| 440 | position: fixed; |
| 441 | inset: 0; |
| 442 | background: rgba(0, 0, 0, 0.62); |
| 443 | z-index: 29; |
| 444 | } |
| 445 | |
| 446 | #unsaved-chunk-modal { |
| 447 | position: fixed; |
| 448 | left: 50%; |
| 449 | top: 50%; |
| 450 | transform: translate(-50%, -50%); |
| 451 | z-index: 30; |
| 452 | width: min(420px, 92vw); |
| 453 | padding: 1rem 1.1rem; |
| 454 | background: #161a22; |
| 455 | border: 1px solid #3a4250; |
| 456 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 457 | } |
| 458 | |
| 459 | #unsaved-chunk-modal header { |
| 460 | margin: 0 0 0.5rem; |
| 461 | padding: 0; |
| 462 | border: 0; |
| 463 | } |
| 464 | |
| 465 | #unsaved-chunk-modal h2 { |
| 466 | margin: 0; |
| 467 | font-size: 1.1rem; |
| 468 | } |
| 469 | |
| 470 | #dimension-settings-backdrop { |
| 471 | position: fixed; |
| 472 | inset: 0; |
| 473 | background: rgba(0, 0, 0, 0.62); |
| 474 | z-index: 29; |
| 475 | } |
| 476 | |
| 477 | #dimension-settings-modal { |
| 478 | position: fixed; |
| 479 | left: 50%; |
| 480 | top: 50%; |
| 481 | transform: translate(-50%, -50%); |
| 482 | z-index: 30; |
| 483 | width: min(420px, 92vw); |
| 484 | padding: 1rem 1.1rem; |
| 485 | background: #161a22; |
| 486 | border: 1px solid #3a4250; |
| 487 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 488 | } |
| 489 | |
| 490 | #dimension-settings-modal header { |
| 491 | display: flex; |
| 492 | align-items: center; |
| 493 | justify-content: space-between; |
| 494 | gap: 0.75rem; |
| 495 | margin: 0 0 0.75rem; |
| 496 | padding: 0; |
| 497 | border: 0; |
| 498 | } |
| 499 | |
| 500 | #dimension-settings-modal h2 { |
| 501 | margin: 0; |
| 502 | font-size: 1.1rem; |
| 503 | } |
| 504 | |
| 505 | #dimension-settings-modal .dimension-settings { |
| 506 | margin: 0; |
| 507 | padding: 0; |
| 508 | border: 0; |
| 509 | background: transparent; |
| 510 | } |
| 511 | |
| 512 | .unsaved-chunk-actions { |
| 513 | display: flex; |
| 514 | justify-content: flex-end; |
| 515 | gap: 0.5rem; |
| 516 | margin-top: 1rem; |
| 517 | } |
| 518 | |
| 519 | #apply-status.ok { |
| 520 | color: #b8d4a0; |
| 521 | } |
| 522 | |
| 523 | .error { |
| 524 | color: #f0a0a0; |
| 525 | } |
| 526 | |
| 527 | .hint { |
| 528 | color: #9aa3b2; |
| 529 | font-size: 0.85rem; |
| 530 | } |
| 531 | |
| 532 | .open-toggle { |
| 533 | display: flex; |
| 534 | gap: 0.4rem; |
| 535 | align-items: center; |
| 536 | } |
| 537 | |
| 538 | article { |
| 539 | margin-bottom: 0.75rem; |
| 540 | } |
| 541 | |
| 542 | fieldset { |
| 543 | border-color: #3a4250; |
| 544 | margin-top: 1rem; |
| 545 | } |
| 546 | |
| 547 | #selection-border { |
| 548 | position: fixed; |
| 549 | pointer-events: none; |
| 550 | box-sizing: border-box; |
| 551 | border: 2px solid #e23d3d; |
| 552 | box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55); |
| 553 | z-index: 4; |
| 554 | } |
| 555 | |
| 556 | label { |
| 557 | display: block; |
| 558 | margin: 0.4rem 0; |
| 559 | } |
| 560 | |
| 561 | #settings-backdrop { |
| 562 | position: fixed; |
| 563 | inset: 0; |
| 564 | background: rgba(0, 0, 0, 0.62); |
| 565 | z-index: 19; |
| 566 | } |
| 567 | |
| 568 | #settings-modal { |
| 569 | position: fixed; |
| 570 | inset: 4vh 4vw; |
| 571 | z-index: 20; |
| 572 | display: flex; |
| 573 | background: #161a22; |
| 574 | border: 1px solid #3a4250; |
| 575 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 576 | } |
| 577 | |
| 578 | #settings-modal[hidden], |
| 579 | #settings-backdrop[hidden] { |
| 580 | display: none !important; |
| 581 | } |
| 582 | |
| 583 | #settings-main { |
| 584 | flex: 1; |
| 585 | min-width: 0; |
| 586 | display: flex; |
| 587 | flex-direction: column; |
| 588 | } |
| 589 | |
| 590 | #settings-main header, |
| 591 | #settings-main footer { |
| 592 | display: flex; |
| 593 | align-items: center; |
| 594 | justify-content: space-between; |
| 595 | gap: 0.75rem; |
| 596 | padding: 0.75rem 1rem; |
| 597 | border-bottom: 1px solid #2c3340; |
| 598 | } |
| 599 | |
| 600 | #settings-main footer { |
| 601 | border-bottom: 0; |
| 602 | border-top: 1px solid #2c3340; |
| 603 | } |
| 604 | |
| 605 | #settings-form { |
| 606 | flex: 1; |
| 607 | overflow: auto; |
| 608 | padding: 0; |
| 609 | display: flex; |
| 610 | flex-direction: column; |
| 611 | min-height: 0; |
| 612 | } |
| 613 | |
| 614 | .settings-tabs { |
| 615 | display: flex; |
| 616 | flex-wrap: wrap; |
| 617 | gap: 0.25rem; |
| 618 | padding: 0.65rem 1rem 0.5rem; |
| 619 | border-bottom: 1px solid #2c3340; |
| 620 | background: #12151c; |
| 621 | } |
| 622 | |
| 623 | .settings-tab { |
| 624 | appearance: none; |
| 625 | border: 1px solid transparent; |
| 626 | background: transparent; |
| 627 | color: #a8a295; |
| 628 | padding: 0.35rem 0.7rem; |
| 629 | border-radius: 4px; |
| 630 | cursor: pointer; |
| 631 | font: inherit; |
| 632 | } |
| 633 | |
| 634 | .settings-tab:hover { |
| 635 | color: #e8e2d4; |
| 636 | background: #1c222c; |
| 637 | } |
| 638 | |
| 639 | .settings-tab.active { |
| 640 | color: #1a1510; |
| 641 | background: #d4c48a; |
| 642 | border-color: #d4c48a; |
| 643 | } |
| 644 | |
| 645 | .settings-panels { |
| 646 | flex: 1; |
| 647 | overflow: auto; |
| 648 | padding: 0.75rem 1rem 1.25rem; |
| 649 | } |
| 650 | |
| 651 | .settings-category { |
| 652 | margin-bottom: 0; |
| 653 | } |
| 654 | |
| 655 | .settings-category h3 { |
| 656 | margin: 0 0 0.5rem; |
| 657 | font-size: 0.95rem; |
| 658 | color: #d4c48a; |
| 659 | border-bottom: 1px solid #2c3340; |
| 660 | padding-bottom: 0.25rem; |
| 661 | } |
| 662 | |
| 663 | .setting-row { |
| 664 | display: grid; |
| 665 | grid-template-columns: minmax(12rem, 1fr) minmax(8rem, 14rem) 4rem; |
| 666 | gap: 0.4rem 0.75rem; |
| 667 | align-items: center; |
| 668 | padding: 0.45rem 0.5rem; |
| 669 | margin: 0.2rem 0; |
| 670 | border-radius: 4px; |
| 671 | } |
| 672 | |
| 673 | .setting-row .hint { |
| 674 | grid-column: 1 / -1; |
| 675 | margin: 0; |
| 676 | } |
| 677 | |
| 678 | .setting-row.dirty { |
| 679 | background: #4a3d18; |
| 680 | box-shadow: inset 0 0 0 1px #c4a35a; |
| 681 | } |
| 682 | |
| 683 | .setting-value { |
| 684 | font-variant-numeric: tabular-nums; |
| 685 | color: #c5c0b4; |
| 686 | } |
| 687 | |
| 688 | .seed-price-panel { |
| 689 | display: flex; |
| 690 | flex-direction: column; |
| 691 | gap: 0.65rem; |
| 692 | min-height: 0; |
| 693 | } |
| 694 | |
| 695 | .seed-price-toolbar { |
| 696 | display: flex; |
| 697 | flex-wrap: wrap; |
| 698 | gap: 0.55rem 0.75rem; |
| 699 | align-items: center; |
| 700 | } |
| 701 | |
| 702 | .seed-price-search { |
| 703 | flex: 1 1 12rem; |
| 704 | min-width: 10rem; |
| 705 | padding: 0.4rem 0.55rem; |
| 706 | background: #10141b; |
| 707 | border: 1px solid #3a4250; |
| 708 | color: #e8e4d9; |
| 709 | font: inherit; |
| 710 | } |
| 711 | |
| 712 | .seed-price-meta { |
| 713 | flex: 0 0 auto; |
| 714 | } |
| 715 | |
| 716 | .seed-price-pager { |
| 717 | display: flex; |
| 718 | align-items: center; |
| 719 | gap: 0.45rem; |
| 720 | margin-left: auto; |
| 721 | } |
| 722 | |
| 723 | .seed-price-pager button { |
| 724 | appearance: none; |
| 725 | border: 1px solid #3a4250; |
| 726 | background: #1c222c; |
| 727 | color: #e8e4d9; |
| 728 | padding: 0.3rem 0.55rem; |
| 729 | cursor: pointer; |
| 730 | font: inherit; |
| 731 | } |
| 732 | |
| 733 | .seed-price-pager button:disabled { |
| 734 | opacity: 0.4; |
| 735 | cursor: default; |
| 736 | } |
| 737 | |
| 738 | .seed-price-header, |
| 739 | .seed-price-row { |
| 740 | display: grid; |
| 741 | grid-template-columns: minmax(10rem, 1.6fr) 6.5rem 5.5rem 5.5rem; |
| 742 | gap: 0.5rem 0.65rem; |
| 743 | align-items: center; |
| 744 | } |
| 745 | |
| 746 | .seed-price-header { |
| 747 | padding: 0.25rem 0.4rem; |
| 748 | color: #a8a295; |
| 749 | font-size: 0.78rem; |
| 750 | text-transform: uppercase; |
| 751 | letter-spacing: 0.04em; |
| 752 | border-bottom: 1px solid #2c3340; |
| 753 | } |
| 754 | |
| 755 | .seed-price-list { |
| 756 | display: flex; |
| 757 | flex-direction: column; |
| 758 | gap: 0.25rem; |
| 759 | } |
| 760 | |
| 761 | .seed-price-row { |
| 762 | padding: 0.4rem; |
| 763 | border-radius: 4px; |
| 764 | } |
| 765 | |
| 766 | .seed-price-row.dirty { |
| 767 | background: #4a3d18; |
| 768 | box-shadow: inset 0 0 0 1px #c4a35a; |
| 769 | } |
| 770 | |
| 771 | .seed-price-name { |
| 772 | display: flex; |
| 773 | flex-direction: column; |
| 774 | gap: 0.1rem; |
| 775 | min-width: 0; |
| 776 | } |
| 777 | |
| 778 | .seed-price-name strong { |
| 779 | overflow: hidden; |
| 780 | text-overflow: ellipsis; |
| 781 | white-space: nowrap; |
| 782 | } |
| 783 | |
| 784 | .seed-price-name small { |
| 785 | color: #8b8790; |
| 786 | font-size: 0.75rem; |
| 787 | } |
| 788 | |
| 789 | .seed-price-seed { |
| 790 | display: flex; |
| 791 | flex-direction: column; |
| 792 | gap: 0.15rem; |
| 793 | font-size: 0.75rem; |
| 794 | color: #a8a295; |
| 795 | } |
| 796 | |
| 797 | .seed-price-seed input { |
| 798 | width: 100%; |
| 799 | padding: 0.3rem 0.4rem; |
| 800 | background: #10141b; |
| 801 | border: 1px solid #3a4250; |
| 802 | color: #e8e4d9; |
| 803 | font: inherit; |
| 804 | } |
| 805 | |
| 806 | .seed-price-readonly { |
| 807 | display: flex; |
| 808 | flex-direction: column; |
| 809 | gap: 0.15rem; |
| 810 | font-size: 0.75rem; |
| 811 | color: #a8a295; |
| 812 | } |
| 813 | |
| 814 | .seed-price-readonly strong { |
| 815 | font-size: 0.95rem; |
| 816 | color: #e8e4d9; |
| 817 | font-variant-numeric: tabular-nums; |
| 818 | } |
| 819 | |
| 820 | .seed-price-readonly strong.muted { |
| 821 | color: #6d6875; |
| 822 | } |
| 823 | |
| 824 | .starter-equipment-panel h3 { |
| 825 | margin: 0.85rem 0 0.4rem; |
| 826 | font-size: 0.85rem; |
| 827 | text-transform: uppercase; |
| 828 | letter-spacing: 0.03em; |
| 829 | color: #9aa3b2; |
| 830 | } |
| 831 | |
| 832 | .starter-equip-list, |
| 833 | .starter-inv-list { |
| 834 | display: flex; |
| 835 | flex-direction: column; |
| 836 | gap: 0.4rem; |
| 837 | } |
| 838 | |
| 839 | .starter-equip-row { |
| 840 | display: grid; |
| 841 | grid-template-columns: 5.5rem 1fr; |
| 842 | gap: 0.5rem; |
| 843 | align-items: center; |
| 844 | } |
| 845 | |
| 846 | .starter-equip-row.dirty select, |
| 847 | .starter-inv-row.dirty select, |
| 848 | .starter-inv-row.dirty input { |
| 849 | border-color: #c4a35a; |
| 850 | } |
| 851 | |
| 852 | .starter-inv-row { |
| 853 | display: grid; |
| 854 | grid-template-columns: 1fr 4.5rem auto; |
| 855 | gap: 0.4rem; |
| 856 | align-items: center; |
| 857 | } |
| 858 | |
| 859 | .initial-quests-panel .hint { |
| 860 | margin: 0 0 0.6rem; |
| 861 | } |
| 862 | |
| 863 | .initial-quests-list { |
| 864 | display: flex; |
| 865 | flex-direction: column; |
| 866 | gap: 0.4rem; |
| 867 | margin-bottom: 0.6rem; |
| 868 | } |
| 869 | |
| 870 | .initial-quest-row { |
| 871 | display: grid; |
| 872 | grid-template-columns: 1fr auto; |
| 873 | gap: 0.4rem; |
| 874 | align-items: center; |
| 875 | } |
| 876 | |
| 877 | .equip-stats-panel { |
| 878 | display: flex; |
| 879 | flex-direction: column; |
| 880 | gap: 0.75rem; |
| 881 | min-width: 0; |
| 882 | } |
| 883 | |
| 884 | .equip-stats-toolbar { |
| 885 | display: flex; |
| 886 | flex-wrap: wrap; |
| 887 | gap: 0.75rem; |
| 888 | align-items: center; |
| 889 | } |
| 890 | |
| 891 | .equip-stats-category-label { |
| 892 | display: flex; |
| 893 | align-items: center; |
| 894 | gap: 0.5rem; |
| 895 | font-size: 0.85rem; |
| 896 | color: #c5ccd8; |
| 897 | } |
| 898 | |
| 899 | .equip-stats-category { |
| 900 | min-width: 12rem; |
| 901 | } |
| 902 | |
| 903 | .equip-stats-tables { |
| 904 | display: flex; |
| 905 | flex-direction: column; |
| 906 | gap: 1rem; |
| 907 | overflow: auto; |
| 908 | max-height: min(62vh, 640px); |
| 909 | } |
| 910 | |
| 911 | .equip-stats-table-wrap { |
| 912 | overflow: auto; |
| 913 | } |
| 914 | |
| 915 | .equip-stats-table { |
| 916 | border-collapse: collapse; |
| 917 | width: max-content; |
| 918 | min-width: 100%; |
| 919 | font-size: 0.8rem; |
| 920 | } |
| 921 | |
| 922 | .equip-stats-table th, |
| 923 | .equip-stats-table td { |
| 924 | border: 1px solid #2c3340; |
| 925 | padding: 0.35rem 0.45rem; |
| 926 | vertical-align: middle; |
| 927 | text-align: center; |
| 928 | } |
| 929 | |
| 930 | .equip-stats-table th { |
| 931 | background: #1a1f28; |
| 932 | color: #9aa3b2; |
| 933 | font-weight: 600; |
| 934 | position: sticky; |
| 935 | top: 0; |
| 936 | z-index: 1; |
| 937 | } |
| 938 | |
| 939 | .equip-stats-table th:first-child, |
| 940 | .equip-stats-table td.equip-stats-item { |
| 941 | position: sticky; |
| 942 | left: 0; |
| 943 | z-index: 2; |
| 944 | background: #151922; |
| 945 | text-align: left; |
| 946 | min-width: 9rem; |
| 947 | } |
| 948 | |
| 949 | .equip-stats-table th:first-child { |
| 950 | z-index: 3; |
| 951 | } |
| 952 | |
| 953 | .equip-stats-item { |
| 954 | display: flex; |
| 955 | align-items: center; |
| 956 | gap: 0.45rem; |
| 957 | white-space: nowrap; |
| 958 | } |
| 959 | |
| 960 | .equip-stats-icon { |
| 961 | image-rendering: pixelated; |
| 962 | flex-shrink: 0; |
| 963 | background: #0e1218; |
| 964 | border: 1px solid #2c3340; |
| 965 | } |
| 966 | |
| 967 | .equip-stats-cell.empty { |
| 968 | color: #5c6575; |
| 969 | } |
| 970 | |
| 971 | .equip-stats-cell-inner { |
| 972 | display: flex; |
| 973 | flex-direction: column; |
| 974 | gap: 0.25rem; |
| 975 | align-items: stretch; |
| 976 | } |
| 977 | |
| 978 | .equip-stats-stat { |
| 979 | display: flex; |
| 980 | align-items: center; |
| 981 | gap: 0.3rem; |
| 982 | margin: 0; |
| 983 | } |
| 984 | |
| 985 | .equip-stats-stat img { |
| 986 | flex-shrink: 0; |
| 987 | } |
| 988 | |
| 989 | .equip-stats-stat input { |
| 990 | width: 3.2rem; |
| 991 | padding: 0.15rem 0.25rem; |
| 992 | } |
| 993 | |
| 994 | .equip-stats-stat.dirty input { |
| 995 | border-color: #c4a35a; |
| 996 | } |
| 997 | |
| 998 | #settings-log-wrap { |
| 999 | width: min(340px, 32vw); |
| 1000 | flex-shrink: 0; |
| 1001 | border-left: 1px solid #2c3340; |
| 1002 | display: flex; |
| 1003 | flex-direction: column; |
| 1004 | background: #1a1e26; |
| 1005 | } |
| 1006 | |
| 1007 | #settings-log-wrap h2 { |
| 1008 | margin: 0; |
| 1009 | padding: 0.75rem 1rem; |
| 1010 | border-bottom: 1px solid #2c3340; |
| 1011 | font-size: 1rem; |
| 1012 | } |
| 1013 | |
| 1014 | #settings-log { |
| 1015 | flex: 1; |
| 1016 | overflow: auto; |
| 1017 | padding: 0.75rem 1rem; |
| 1018 | } |
| 1019 | |
| 1020 | #palette-backdrop, |
| 1021 | #tile-config-backdrop { |
| 1022 | position: fixed; |
| 1023 | inset: 0; |
| 1024 | background: rgba(0, 0, 0, 0.62); |
| 1025 | z-index: 19; |
| 1026 | } |
| 1027 | |
| 1028 | #palette-modal, |
| 1029 | #tile-config-modal { |
| 1030 | position: fixed; |
| 1031 | z-index: 20; |
| 1032 | display: flex; |
| 1033 | flex-direction: column; |
| 1034 | background: #161a22; |
| 1035 | border: 1px solid #3a4250; |
| 1036 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 1037 | } |
| 1038 | |
| 1039 | #palette-modal { |
| 1040 | inset: 8vh 12vw; |
| 1041 | } |
| 1042 | |
| 1043 | #tile-config-modal { |
| 1044 | top: 10vh; |
| 1045 | left: 50%; |
| 1046 | transform: translateX(-50%); |
| 1047 | width: min(600px, 96vw); |
| 1048 | max-height: 80vh; |
| 1049 | } |
| 1050 | |
| 1051 | #palette-modal[hidden], |
| 1052 | #palette-backdrop[hidden], |
| 1053 | #tile-config-modal[hidden], |
| 1054 | #tile-config-backdrop[hidden], |
| 1055 | #tile-tooltip[hidden] { |
| 1056 | display: none !important; |
| 1057 | } |
| 1058 | |
| 1059 | #palette-modal>header, |
| 1060 | #tile-config-modal>header, |
| 1061 | #tile-config-modal>footer { |
| 1062 | display: flex; |
| 1063 | align-items: center; |
| 1064 | justify-content: space-between; |
| 1065 | gap: 0.75rem; |
| 1066 | padding: 0.75rem 1rem; |
| 1067 | border-bottom: 1px solid #2c3340; |
| 1068 | } |
| 1069 | |
| 1070 | #palette-search { |
| 1071 | margin: 0.65rem 1rem 0; |
| 1072 | padding: 0.45rem 0.65rem; |
| 1073 | border: 1px solid #2c3340; |
| 1074 | border-radius: 4px; |
| 1075 | background: #0d1016; |
| 1076 | color: #e8ecf1; |
| 1077 | font: inherit; |
| 1078 | } |
| 1079 | |
| 1080 | #tile-config-modal>footer { |
| 1081 | border-bottom: 0; |
| 1082 | border-top: 1px solid #2c3340; |
| 1083 | } |
| 1084 | |
| 1085 | #palette-panels { |
| 1086 | flex: 1; |
| 1087 | overflow: auto; |
| 1088 | padding: 0.75rem 1rem 1.25rem; |
| 1089 | } |
| 1090 | |
| 1091 | .palette-grid { |
| 1092 | display: grid; |
| 1093 | grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); |
| 1094 | gap: 0.6rem; |
| 1095 | } |
| 1096 | |
| 1097 | .palette-card { |
| 1098 | display: flex; |
| 1099 | flex-direction: column; |
| 1100 | align-items: center; |
| 1101 | gap: 0.35rem; |
| 1102 | padding: 0.55rem 0.4rem; |
| 1103 | min-height: 6.5rem; |
| 1104 | } |
| 1105 | |
| 1106 | .palette-thumb { |
| 1107 | width: 48px; |
| 1108 | height: 48px; |
| 1109 | display: grid; |
| 1110 | place-items: center; |
| 1111 | background: #0d1016; |
| 1112 | border: 1px solid #2c3340; |
| 1113 | image-rendering: pixelated; |
| 1114 | font-weight: 600; |
| 1115 | color: #9aa3b2; |
| 1116 | } |
| 1117 | |
| 1118 | .palette-thumb img { |
| 1119 | width: 100%; |
| 1120 | height: 100%; |
| 1121 | object-fit: contain; |
| 1122 | image-rendering: pixelated; |
| 1123 | } |
| 1124 | |
| 1125 | #tile-config-form { |
| 1126 | padding: 0.75rem 1rem 1rem; |
| 1127 | display: flex; |
| 1128 | flex-direction: column; |
| 1129 | gap: 0.35rem; |
| 1130 | flex: 1; |
| 1131 | min-height: 0; |
| 1132 | overflow: auto; |
| 1133 | max-height: min(70vh, 640px); |
| 1134 | } |
| 1135 | |
| 1136 | #tile-config-form .tile-config-hint { |
| 1137 | margin: 0; |
| 1138 | opacity: 0.85; |
| 1139 | font-size: 0.9rem; |
| 1140 | } |
| 1141 | |
| 1142 | #tile-config-form .door-requirements-when { |
| 1143 | display: flex; |
| 1144 | flex-direction: column; |
| 1145 | gap: 0.5rem; |
| 1146 | } |
| 1147 | |
| 1148 | .spawner-sells-header { |
| 1149 | display: flex; |
| 1150 | align-items: center; |
| 1151 | justify-content: space-between; |
| 1152 | gap: 0.5rem; |
| 1153 | margin-top: 0.55rem; |
| 1154 | } |
| 1155 | |
| 1156 | .spawner-sells-list { |
| 1157 | display: flex; |
| 1158 | flex-direction: column; |
| 1159 | gap: 0.35rem; |
| 1160 | } |
| 1161 | |
| 1162 | .spawner-sells-row { |
| 1163 | display: grid; |
| 1164 | grid-template-columns: 1fr 4.5rem auto; |
| 1165 | gap: 0.4rem; |
| 1166 | align-items: center; |
| 1167 | } |
| 1168 | |
| 1169 | .spawner-drops-row { |
| 1170 | display: grid; |
| 1171 | grid-template-columns: 1fr 3.5rem 3.5rem 4.5rem auto; |
| 1172 | gap: 0.4rem; |
| 1173 | align-items: center; |
| 1174 | } |
| 1175 | |
| 1176 | .spawner-sells-name { |
| 1177 | overflow: hidden; |
| 1178 | text-overflow: ellipsis; |
| 1179 | white-space: nowrap; |
| 1180 | } |
| 1181 | |
| 1182 | .spawner-drops-chance { |
| 1183 | display: flex; |
| 1184 | align-items: center; |
| 1185 | gap: 0.2rem; |
| 1186 | } |
| 1187 | |
| 1188 | .spawner-drops-chance input { |
| 1189 | width: 100%; |
| 1190 | min-width: 0; |
| 1191 | } |
| 1192 | |
| 1193 | .spawner-equip-list { |
| 1194 | display: flex; |
| 1195 | flex-direction: column; |
| 1196 | gap: 0.35rem; |
| 1197 | } |
| 1198 | |
| 1199 | .spawner-equip-row { |
| 1200 | display: grid; |
| 1201 | grid-template-columns: 4.5rem 1.1rem minmax(0, 1fr) max-content max-content max-content; |
| 1202 | gap: 0.35rem; |
| 1203 | align-items: center; |
| 1204 | } |
| 1205 | |
| 1206 | .spawner-equip-slot { |
| 1207 | text-transform: capitalize; |
| 1208 | color: #9aa3b2; |
| 1209 | font-size: 0.85rem; |
| 1210 | } |
| 1211 | |
| 1212 | .spawner-equip-icon { |
| 1213 | width: 16px; |
| 1214 | height: 16px; |
| 1215 | } |
| 1216 | |
| 1217 | .spawner-equip-icon[hidden] { |
| 1218 | visibility: hidden; |
| 1219 | } |
| 1220 | |
| 1221 | .spawner-equip-name { |
| 1222 | min-width: 0; |
| 1223 | overflow: hidden; |
| 1224 | text-overflow: ellipsis; |
| 1225 | white-space: nowrap; |
| 1226 | } |
| 1227 | |
| 1228 | .spawner-equip-row > button { |
| 1229 | padding: 0.2rem 0.4rem; |
| 1230 | white-space: nowrap; |
| 1231 | justify-self: start; |
| 1232 | } |
| 1233 | |
| 1234 | .spawner-equip-dye-swatch { |
| 1235 | display: inline-block; |
| 1236 | width: 0.85rem; |
| 1237 | height: 0.85rem; |
| 1238 | margin-right: 0.35rem; |
| 1239 | border: 1px solid #3a4250; |
| 1240 | vertical-align: -0.1rem; |
| 1241 | border-radius: 2px; |
| 1242 | } |
| 1243 | |
| 1244 | #equip-dye-backdrop { |
| 1245 | position: fixed; |
| 1246 | inset: 0; |
| 1247 | background: rgba(0, 0, 0, 0.55); |
| 1248 | z-index: 23; |
| 1249 | } |
| 1250 | |
| 1251 | #equip-dye-modal { |
| 1252 | position: fixed; |
| 1253 | z-index: 24; |
| 1254 | top: 18vh; |
| 1255 | left: 50%; |
| 1256 | transform: translateX(-50%); |
| 1257 | width: min(340px, 90vw); |
| 1258 | display: flex; |
| 1259 | flex-direction: column; |
| 1260 | background: #161a22; |
| 1261 | border: 1px solid #3a4250; |
| 1262 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 1263 | } |
| 1264 | |
| 1265 | #equip-dye-modal[hidden], |
| 1266 | #equip-dye-backdrop[hidden] { |
| 1267 | display: none !important; |
| 1268 | } |
| 1269 | |
| 1270 | #equip-dye-modal>header { |
| 1271 | display: flex; |
| 1272 | align-items: center; |
| 1273 | justify-content: space-between; |
| 1274 | gap: 0.75rem; |
| 1275 | padding: 0.75rem 1rem; |
| 1276 | border-bottom: 1px solid #2c3340; |
| 1277 | } |
| 1278 | |
| 1279 | .equip-dye-body { |
| 1280 | padding: 0.85rem 1rem 1rem; |
| 1281 | display: flex; |
| 1282 | flex-direction: column; |
| 1283 | gap: 0.55rem; |
| 1284 | } |
| 1285 | |
| 1286 | .equip-dye-preview { |
| 1287 | height: 3rem; |
| 1288 | border: 1px solid #3a4250; |
| 1289 | border-radius: 4px; |
| 1290 | background: #c85078; |
| 1291 | } |
| 1292 | |
| 1293 | .equip-dye-channel { |
| 1294 | display: grid; |
| 1295 | grid-template-columns: 1.25rem 1fr 3.5rem; |
| 1296 | gap: 0.4rem; |
| 1297 | align-items: center; |
| 1298 | font-size: 0.85rem; |
| 1299 | color: #9aa3b2; |
| 1300 | } |
| 1301 | |
| 1302 | .equip-dye-channel input[type="number"] { |
| 1303 | width: 100%; |
| 1304 | } |
| 1305 | |
| 1306 | .equip-dye-actions { |
| 1307 | display: flex; |
| 1308 | justify-content: flex-end; |
| 1309 | gap: 0.4rem; |
| 1310 | margin-top: 0.25rem; |
| 1311 | } |
| 1312 | |
| 1313 | .spawner-buys-row { |
| 1314 | display: flex; |
| 1315 | align-items: center; |
| 1316 | gap: 0.4rem; |
| 1317 | margin-top: 0.45rem; |
| 1318 | } |
| 1319 | |
| 1320 | #shop-item-search-backdrop { |
| 1321 | position: fixed; |
| 1322 | inset: 0; |
| 1323 | background: rgba(0, 0, 0, 0.55); |
| 1324 | z-index: 21; |
| 1325 | } |
| 1326 | |
| 1327 | #shop-item-search-modal { |
| 1328 | position: fixed; |
| 1329 | z-index: 22; |
| 1330 | top: 18vh; |
| 1331 | left: 50%; |
| 1332 | transform: translateX(-50%); |
| 1333 | width: min(420px, 92vw); |
| 1334 | max-height: 70vh; |
| 1335 | display: flex; |
| 1336 | flex-direction: column; |
| 1337 | background: #161a22; |
| 1338 | border: 1px solid #3a4250; |
| 1339 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 1340 | } |
| 1341 | |
| 1342 | #shop-item-search-modal[hidden], |
| 1343 | #shop-item-search-backdrop[hidden] { |
| 1344 | display: none !important; |
| 1345 | } |
| 1346 | |
| 1347 | #shop-item-search-modal>header { |
| 1348 | display: flex; |
| 1349 | align-items: center; |
| 1350 | justify-content: space-between; |
| 1351 | gap: 0.75rem; |
| 1352 | padding: 0.75rem 1rem; |
| 1353 | border-bottom: 1px solid #2c3340; |
| 1354 | } |
| 1355 | |
| 1356 | #shop-item-search-modal>.shop-item-search-body { |
| 1357 | padding: 0.75rem 1rem 1rem; |
| 1358 | display: flex; |
| 1359 | flex-direction: column; |
| 1360 | gap: 0.5rem; |
| 1361 | min-height: 0; |
| 1362 | overflow: hidden; |
| 1363 | } |
| 1364 | |
| 1365 | #shop-item-search-results { |
| 1366 | overflow: auto; |
| 1367 | max-height: 40vh; |
| 1368 | display: flex; |
| 1369 | flex-direction: column; |
| 1370 | gap: 0.25rem; |
| 1371 | } |
| 1372 | |
| 1373 | .shop-item-search-row { |
| 1374 | text-align: left; |
| 1375 | padding: 0.4rem 0.5rem; |
| 1376 | display: flex; |
| 1377 | flex-direction: row; |
| 1378 | align-items: center; |
| 1379 | gap: 0.45rem; |
| 1380 | } |
| 1381 | |
| 1382 | .shop-item-search-row-icon { |
| 1383 | width: 16px; |
| 1384 | height: 16px; |
| 1385 | flex-shrink: 0; |
| 1386 | } |
| 1387 | |
| 1388 | .shop-item-search-row-text { |
| 1389 | display: flex; |
| 1390 | flex-direction: column; |
| 1391 | align-items: flex-start; |
| 1392 | gap: 0.1rem; |
| 1393 | min-width: 0; |
| 1394 | } |
| 1395 | |
| 1396 | .shop-item-search-row-name { |
| 1397 | font: inherit; |
| 1398 | color: inherit; |
| 1399 | } |
| 1400 | |
| 1401 | .shop-item-search-row-key { |
| 1402 | font-size: 0.78rem; |
| 1403 | color: #9aa3b2; |
| 1404 | } |
| 1405 | |
| 1406 | .shop-item-search-footer { |
| 1407 | display: flex; |
| 1408 | align-items: center; |
| 1409 | justify-content: space-between; |
| 1410 | gap: 0.5rem; |
| 1411 | flex-shrink: 0; |
| 1412 | } |
| 1413 | |
| 1414 | #shop-item-search-page { |
| 1415 | flex: 1; |
| 1416 | text-align: center; |
| 1417 | font-variant-numeric: tabular-nums; |
| 1418 | } |
| 1419 | |
| 1420 | #tile-tooltip { |
| 1421 | position: fixed; |
| 1422 | z-index: 15; |
| 1423 | pointer-events: none; |
| 1424 | max-width: 16rem; |
| 1425 | padding: 0.4rem 0.55rem; |
| 1426 | background: rgba(12, 14, 18, 0.92); |
| 1427 | border: 1px solid #3a4250; |
| 1428 | color: #e8e4d9; |
| 1429 | font-size: 0.8rem; |
| 1430 | white-space: pre-wrap; |
| 1431 | box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4); |
| 1432 | } |
| 1433 | |
| 1434 | #hover-status { |
| 1435 | position: fixed; |
| 1436 | left: 250px; |
| 1437 | right: 280px; |
| 1438 | bottom: 0; |
| 1439 | z-index: 5; |
| 1440 | margin: 0; |
| 1441 | padding: 0.35rem 0.75rem; |
| 1442 | border-top: 1px solid #2c3340; |
| 1443 | background: #1a1e26; |
| 1444 | color: #c5c9d2; |
| 1445 | font-size: 0.85rem; |
| 1446 | pointer-events: none; |
| 1447 | } |
| 1448 | |
| 1449 | #hover-status-text { |
| 1450 | font-variant-numeric: tabular-nums; |
| 1451 | } |
| 1452 | |
| 1453 | |
| 1454 | #quests-backdrop, |
| 1455 | #dialogues-backdrop, |
| 1456 | #gifts-backdrop, |
| 1457 | #dialogue-tokens-backdrop { |
| 1458 | position: fixed; |
| 1459 | inset: 0; |
| 1460 | background: rgba(0, 0, 0, 0.62); |
| 1461 | z-index: 19; |
| 1462 | } |
| 1463 | |
| 1464 | #dialogue-tokens-backdrop { |
| 1465 | z-index: 21; |
| 1466 | } |
| 1467 | |
| 1468 | #dialogue-tokens-modal { |
| 1469 | z-index: 22; |
| 1470 | inset: 12vh 18vw; |
| 1471 | max-width: 720px; |
| 1472 | margin: 0 auto; |
| 1473 | } |
| 1474 | |
| 1475 | #quests-modal, |
| 1476 | #dialogues-modal, |
| 1477 | #gifts-modal, |
| 1478 | #dialogue-tokens-modal, |
| 1479 | #global-changelog-modal { |
| 1480 | position: fixed; |
| 1481 | inset: 5vh 5vw; |
| 1482 | z-index: 20; |
| 1483 | display: flex; |
| 1484 | flex-direction: column; |
| 1485 | background: #161a22; |
| 1486 | border: 1px solid #3a4250; |
| 1487 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 1488 | } |
| 1489 | |
| 1490 | #quests-modal, |
| 1491 | #dialogues-modal { |
| 1492 | flex-direction: row; |
| 1493 | } |
| 1494 | |
| 1495 | #quests-main, |
| 1496 | #dialogues-main { |
| 1497 | flex: 1; |
| 1498 | min-width: 0; |
| 1499 | display: flex; |
| 1500 | flex-direction: column; |
| 1501 | } |
| 1502 | |
| 1503 | #quests-modal[hidden], |
| 1504 | #quests-backdrop[hidden], |
| 1505 | #dialogues-modal[hidden], |
| 1506 | #dialogues-backdrop[hidden], |
| 1507 | #gifts-modal[hidden], |
| 1508 | #gifts-backdrop[hidden], |
| 1509 | #dialogue-tokens-modal[hidden], |
| 1510 | #dialogue-tokens-backdrop[hidden], |
| 1511 | #global-changelog-modal[hidden], |
| 1512 | #global-changelog-backdrop[hidden] { |
| 1513 | display: none !important; |
| 1514 | } |
| 1515 | |
| 1516 | #global-changelog-backdrop { |
| 1517 | position: fixed; |
| 1518 | inset: 0; |
| 1519 | background: rgba(0, 0, 0, 0.62); |
| 1520 | z-index: 19; |
| 1521 | } |
| 1522 | |
| 1523 | #global-changelog-modal { |
| 1524 | inset: 6vh 8vw; |
| 1525 | } |
| 1526 | |
| 1527 | #global-changelog-modal>header { |
| 1528 | display: flex; |
| 1529 | align-items: center; |
| 1530 | justify-content: space-between; |
| 1531 | gap: 0.75rem; |
| 1532 | padding: 0.75rem 1rem; |
| 1533 | border-bottom: 1px solid #2c3340; |
| 1534 | } |
| 1535 | |
| 1536 | .global-changelog-body { |
| 1537 | flex: 1; |
| 1538 | min-height: 0; |
| 1539 | overflow: auto; |
| 1540 | padding: 0.75rem 1rem 1rem; |
| 1541 | } |
| 1542 | |
| 1543 | .content-editor-log-wrap { |
| 1544 | width: min(320px, 30vw); |
| 1545 | flex-shrink: 0; |
| 1546 | border-left: 1px solid #2c3340; |
| 1547 | display: flex; |
| 1548 | flex-direction: column; |
| 1549 | background: #1a1e26; |
| 1550 | } |
| 1551 | |
| 1552 | .content-editor-log-wrap h2 { |
| 1553 | margin: 0; |
| 1554 | padding: 0.75rem 1rem; |
| 1555 | border-bottom: 1px solid #2c3340; |
| 1556 | font-size: 1rem; |
| 1557 | } |
| 1558 | |
| 1559 | #quests-log, |
| 1560 | #dialogues-log { |
| 1561 | flex: 1; |
| 1562 | overflow: auto; |
| 1563 | padding: 0.75rem 1rem; |
| 1564 | } |
| 1565 | |
| 1566 | #quests-main>header, |
| 1567 | #dialogues-main>header, |
| 1568 | #gifts-modal>header, |
| 1569 | #dialogue-tokens-modal>header, |
| 1570 | #quests-main>footer, |
| 1571 | #dialogues-main>footer { |
| 1572 | display: flex; |
| 1573 | align-items: center; |
| 1574 | justify-content: space-between; |
| 1575 | gap: 0.75rem; |
| 1576 | padding: 0.75rem 1rem; |
| 1577 | border-bottom: 1px solid #2c3340; |
| 1578 | } |
| 1579 | |
| 1580 | #quests-main>footer, |
| 1581 | #dialogues-main>footer { |
| 1582 | border-bottom: 0; |
| 1583 | border-top: 1px solid #2c3340; |
| 1584 | justify-content: flex-end; |
| 1585 | } |
| 1586 | |
| 1587 | .gifts-layout { |
| 1588 | flex: 1; |
| 1589 | min-height: 0; |
| 1590 | display: flex; |
| 1591 | overflow: hidden; |
| 1592 | } |
| 1593 | |
| 1594 | .gifts-search-pane { |
| 1595 | width: 260px; |
| 1596 | flex-shrink: 0; |
| 1597 | border-right: 1px solid #2c3340; |
| 1598 | padding: 0.65rem; |
| 1599 | display: flex; |
| 1600 | flex-direction: column; |
| 1601 | gap: 0.5rem; |
| 1602 | overflow: auto; |
| 1603 | background: #12151c; |
| 1604 | } |
| 1605 | |
| 1606 | .gifts-search-label { |
| 1607 | display: flex; |
| 1608 | flex-direction: column; |
| 1609 | gap: 0.35rem; |
| 1610 | font-size: 0.85rem; |
| 1611 | } |
| 1612 | |
| 1613 | .gifts-detail { |
| 1614 | flex: 1; |
| 1615 | min-width: 0; |
| 1616 | overflow: auto; |
| 1617 | padding: 0.85rem 1rem; |
| 1618 | display: flex; |
| 1619 | flex-direction: column; |
| 1620 | gap: 0.75rem; |
| 1621 | } |
| 1622 | |
| 1623 | .gifts-message-label { |
| 1624 | display: flex; |
| 1625 | flex-direction: column; |
| 1626 | gap: 0.35rem; |
| 1627 | } |
| 1628 | |
| 1629 | .gifts-message-label textarea { |
| 1630 | width: 100%; |
| 1631 | min-height: 6rem; |
| 1632 | resize: vertical; |
| 1633 | font: inherit; |
| 1634 | } |
| 1635 | |
| 1636 | .gifts-items-header { |
| 1637 | display: flex; |
| 1638 | align-items: center; |
| 1639 | justify-content: space-between; |
| 1640 | gap: 0.5rem; |
| 1641 | } |
| 1642 | |
| 1643 | .gifts-item-list { |
| 1644 | display: flex; |
| 1645 | flex-direction: column; |
| 1646 | gap: 0.35rem; |
| 1647 | } |
| 1648 | |
| 1649 | .gifts-item-row { |
| 1650 | display: flex; |
| 1651 | align-items: center; |
| 1652 | gap: 0.5rem; |
| 1653 | } |
| 1654 | |
| 1655 | .gifts-item-row span { |
| 1656 | flex: 1; |
| 1657 | min-width: 0; |
| 1658 | } |
| 1659 | |
| 1660 | .gifts-item-row input[type="number"] { |
| 1661 | width: 5rem; |
| 1662 | } |
| 1663 | |
| 1664 | .gifts-item-search-results { |
| 1665 | display: flex; |
| 1666 | flex-direction: column; |
| 1667 | gap: 0.2rem; |
| 1668 | max-height: 14rem; |
| 1669 | min-height: 4rem; |
| 1670 | overflow: auto; |
| 1671 | border: 1px solid #2c3340; |
| 1672 | background: #0f1218; |
| 1673 | padding: 0.35rem; |
| 1674 | } |
| 1675 | |
| 1676 | .gifts-item-search-results .shop-item-search-row { |
| 1677 | width: 100%; |
| 1678 | } |
| 1679 | |
| 1680 | .gifts-preview-wrap { |
| 1681 | display: flex; |
| 1682 | flex-direction: column; |
| 1683 | gap: 0.4rem; |
| 1684 | margin-top: 0.25rem; |
| 1685 | } |
| 1686 | |
| 1687 | .gifts-letter-preview, |
| 1688 | .gifts-letter-signature { |
| 1689 | margin: 0; |
| 1690 | padding: 0.75rem; |
| 1691 | background: #0f1218; |
| 1692 | border: 1px solid #2c3340; |
| 1693 | white-space: pre-wrap; |
| 1694 | font-family: Georgia, "Times New Roman", serif; |
| 1695 | font-size: 0.92rem; |
| 1696 | line-height: 1.35; |
| 1697 | } |
| 1698 | |
| 1699 | .gifts-letter-signature { |
| 1700 | opacity: 0.9; |
| 1701 | } |
| 1702 | |
| 1703 | #gifts-status.error { |
| 1704 | color: #e8a0a0; |
| 1705 | } |
| 1706 | |
| 1707 | .content-editor-layout { |
| 1708 | flex: 1; |
| 1709 | min-height: 0; |
| 1710 | display: flex; |
| 1711 | overflow: hidden; |
| 1712 | } |
| 1713 | |
| 1714 | .content-editor-list-pane { |
| 1715 | width: 220px; |
| 1716 | flex-shrink: 0; |
| 1717 | border-right: 1px solid #2c3340; |
| 1718 | padding: 0.65rem; |
| 1719 | display: flex; |
| 1720 | flex-direction: column; |
| 1721 | gap: 0.5rem; |
| 1722 | overflow: auto; |
| 1723 | background: #12151c; |
| 1724 | } |
| 1725 | |
| 1726 | .content-editor-list { |
| 1727 | display: flex; |
| 1728 | flex-direction: column; |
| 1729 | gap: 0.25rem; |
| 1730 | } |
| 1731 | |
| 1732 | .content-editor-list button { |
| 1733 | text-align: left; |
| 1734 | width: 100%; |
| 1735 | } |
| 1736 | |
| 1737 | .content-editor-list button.active { |
| 1738 | border-color: #6b8cae; |
| 1739 | background: #1c2838; |
| 1740 | } |
| 1741 | |
| 1742 | .content-editor-detail { |
| 1743 | flex: 1; |
| 1744 | min-width: 0; |
| 1745 | overflow: auto; |
| 1746 | padding: 0.75rem 1rem 1rem; |
| 1747 | } |
| 1748 | |
| 1749 | .content-editor-detail label { |
| 1750 | display: block; |
| 1751 | margin: 0.4rem 0; |
| 1752 | } |
| 1753 | |
| 1754 | .content-editor-detail input[type="text"], |
| 1755 | .content-editor-detail input[type="number"], |
| 1756 | .content-editor-detail textarea, |
| 1757 | .content-editor-detail select { |
| 1758 | display: block; |
| 1759 | width: 100%; |
| 1760 | margin-top: 0.2rem; |
| 1761 | box-sizing: border-box; |
| 1762 | } |
| 1763 | |
| 1764 | .content-editor-section { |
| 1765 | border: 1px solid #2c3340; |
| 1766 | padding: 0.55rem 0.65rem; |
| 1767 | margin: 0.55rem 0; |
| 1768 | background: #12151c; |
| 1769 | } |
| 1770 | |
| 1771 | .content-editor-section-header { |
| 1772 | display: flex; |
| 1773 | align-items: center; |
| 1774 | justify-content: space-between; |
| 1775 | gap: 0.5rem; |
| 1776 | margin-bottom: 0.35rem; |
| 1777 | } |
| 1778 | |
| 1779 | .content-editor-row { |
| 1780 | display: flex; |
| 1781 | flex-wrap: wrap; |
| 1782 | gap: 0.35rem; |
| 1783 | align-items: center; |
| 1784 | margin: 0.35rem 0; |
| 1785 | } |
| 1786 | |
| 1787 | .content-editor-remove, |
| 1788 | #dialogues-delete, |
| 1789 | #quests-delete { |
| 1790 | color: #f0e8e8; |
| 1791 | background: #8a3030; |
| 1792 | border-color: #a84848; |
| 1793 | } |
| 1794 | |
| 1795 | .content-editor-remove:hover, |
| 1796 | #dialogues-delete:hover:not(:disabled), |
| 1797 | #quests-delete:hover:not(:disabled) { |
| 1798 | background: #a83838; |
| 1799 | border-color: #c06060; |
| 1800 | } |
| 1801 | |
| 1802 | #dialogues-delete:disabled, |
| 1803 | #quests-delete:disabled { |
| 1804 | opacity: 0.45; |
| 1805 | } |
| 1806 | |
| 1807 | .content-editor-add-step { |
| 1808 | display: block; |
| 1809 | width: 100%; |
| 1810 | margin: 0.35rem 0 0.75rem; |
| 1811 | padding: 0.45rem 0.6rem; |
| 1812 | color: #9eb0c8; |
| 1813 | background: transparent; |
| 1814 | border: 1px dashed #3a4558; |
| 1815 | cursor: pointer; |
| 1816 | } |
| 1817 | |
| 1818 | .content-editor-add-step:hover { |
| 1819 | color: #c5d4e8; |
| 1820 | border-color: #5a6a82; |
| 1821 | background: #1a2230; |
| 1822 | } |
| 1823 | |
| 1824 | .quest-reward-bank { |
| 1825 | display: inline-flex; |
| 1826 | align-items: center; |
| 1827 | gap: 0.25rem; |
| 1828 | white-space: nowrap; |
| 1829 | font-size: 0.85rem; |
| 1830 | } |
| 1831 | |
| 1832 | .content-editor-clause { |
| 1833 | border: 1px dashed #3a4250; |
| 1834 | padding: 0.4rem; |
| 1835 | margin: 0.35rem 0; |
| 1836 | } |
| 1837 | |
| 1838 | .content-editor-condition-set-header { |
| 1839 | display: flex; |
| 1840 | align-items: center; |
| 1841 | gap: 0.5rem; |
| 1842 | flex-wrap: wrap; |
| 1843 | margin-bottom: 0.25rem; |
| 1844 | } |
| 1845 | |
| 1846 | .content-editor-condition-set-mode { |
| 1847 | min-width: 10rem; |
| 1848 | } |
| 1849 | |
| 1850 | .content-editor-hint { |
| 1851 | color: #8a909c; |
| 1852 | font-size: 0.85rem; |
| 1853 | margin: 0.25rem 0 0.5rem; |
| 1854 | } |
| 1855 | |
| 1856 | #dialogue-simulate-backdrop { |
| 1857 | position: fixed; |
| 1858 | inset: 0; |
| 1859 | z-index: 80; |
| 1860 | background: rgba(0, 0, 0, 0.45); |
| 1861 | } |
| 1862 | |
| 1863 | #dialogue-simulate-panel { |
| 1864 | position: fixed; |
| 1865 | z-index: 81; |
| 1866 | left: 50%; |
| 1867 | top: 50%; |
| 1868 | transform: translate(-50%, -50%); |
| 1869 | width: min(420px, calc(100vw - 2rem)); |
| 1870 | max-height: min(70vh, 560px); |
| 1871 | display: flex; |
| 1872 | flex-direction: column; |
| 1873 | gap: 0.65rem; |
| 1874 | padding: 0.85rem 1rem 1rem; |
| 1875 | border-radius: 10px; |
| 1876 | background: #161a22; |
| 1877 | border: 1px solid #3a4250; |
| 1878 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 1879 | color: #e8ecf4; |
| 1880 | } |
| 1881 | |
| 1882 | #dialogue-simulate-panel[hidden], |
| 1883 | #dialogue-simulate-backdrop[hidden] { |
| 1884 | display: none; |
| 1885 | } |
| 1886 | |
| 1887 | #dialogue-simulate-panel > header { |
| 1888 | display: flex; |
| 1889 | align-items: center; |
| 1890 | justify-content: space-between; |
| 1891 | gap: 0.5rem; |
| 1892 | } |
| 1893 | |
| 1894 | #dialogue-simulate-lines { |
| 1895 | min-height: 4rem; |
| 1896 | display: flex; |
| 1897 | flex-direction: column; |
| 1898 | gap: 0.5rem; |
| 1899 | overflow: auto; |
| 1900 | } |
| 1901 | |
| 1902 | .dialogue-simulate-line { |
| 1903 | display: flex; |
| 1904 | gap: 0.55rem; |
| 1905 | align-items: flex-start; |
| 1906 | } |
| 1907 | |
| 1908 | .dialogue-simulate-icon { |
| 1909 | flex: 0 0 auto; |
| 1910 | border-radius: 6px; |
| 1911 | image-rendering: pixelated; |
| 1912 | } |
| 1913 | |
| 1914 | .dialogue-simulate-player { |
| 1915 | flex-direction: row-reverse; |
| 1916 | } |
| 1917 | |
| 1918 | #dialogue-simulate-actions { |
| 1919 | display: flex; |
| 1920 | flex-wrap: wrap; |
| 1921 | gap: 0.4rem; |
| 1922 | } |
| 1923 | |
| 1924 | .quest-condition-item-picker { |
| 1925 | display: flex; |
| 1926 | flex-direction: column; |
| 1927 | gap: 0.25rem; |
| 1928 | min-width: 12rem; |
| 1929 | } |
| 1930 | |
| 1931 | .quest-condition-pair { |
| 1932 | display: flex; |
| 1933 | flex-wrap: wrap; |
| 1934 | gap: 0.35rem; |
| 1935 | align-items: center; |
| 1936 | } |
| 1937 | |
| 1938 | .quest-condition-pair select { |
| 1939 | min-width: 10rem; |
| 1940 | max-width: 18rem; |
| 1941 | } |
| 1942 | |
| 1943 | .quest-condition-attile { |
| 1944 | display: flex; |
| 1945 | flex-direction: column; |
| 1946 | gap: 0.35rem; |
| 1947 | min-width: 14rem; |
| 1948 | } |
| 1949 | |
| 1950 | .quest-condition-tile-info { |
| 1951 | margin: 0; |
| 1952 | padding: 0.35rem 0.45rem; |
| 1953 | max-width: 28rem; |
| 1954 | white-space: pre-wrap; |
| 1955 | font-size: 0.8rem; |
| 1956 | line-height: 1.35; |
| 1957 | color: #c5d4e8; |
| 1958 | background: #12151c; |
| 1959 | border: 1px solid #3a4250; |
| 1960 | border-radius: 4px; |
| 1961 | } |
| 1962 | |
| 1963 | .quest-condition-dim { |
| 1964 | min-width: 14rem; |
| 1965 | max-width: 22rem; |
| 1966 | } |
| 1967 | |
| 1968 | .dialogue-reward-item-search { |
| 1969 | display: flex; |
| 1970 | flex-direction: column; |
| 1971 | gap: 0.35rem; |
| 1972 | margin: 0.35rem 0 0.6rem; |
| 1973 | } |
| 1974 | |
| 1975 | .dialogue-reward-item-results { |
| 1976 | max-height: 220px; |
| 1977 | overflow: auto; |
| 1978 | border: 1px solid #3a4250; |
| 1979 | border-radius: 4px; |
| 1980 | background: #12151c; |
| 1981 | } |
| 1982 | |
| 1983 | .dialogue-item-take-unguaranteed { |
| 1984 | background: rgba(224, 168, 74, 0.18); |
| 1985 | border: 1px solid #e0a84a; |
| 1986 | border-radius: 4px; |
| 1987 | padding: 0.2rem 0.35rem; |
| 1988 | } |
| 1989 | |
| 1990 | .dialogue-item-take-unguaranteed .spawner-sells-name { |
| 1991 | color: #e8c84a; |
| 1992 | } |
| 1993 | |
| 1994 | .dialogues-header-title { |
| 1995 | display: flex; |
| 1996 | align-items: center; |
| 1997 | gap: 0.55rem; |
| 1998 | } |
| 1999 | |
| 2000 | .dialogues-header-title h2 { |
| 2001 | margin: 0; |
| 2002 | } |
| 2003 | |
| 2004 | #dialogues-tokens-help { |
| 2005 | width: 1.55rem; |
| 2006 | height: 1.55rem; |
| 2007 | border-radius: 999px; |
| 2008 | border: 1px solid #5a6578; |
| 2009 | background: #1c2230; |
| 2010 | color: #d6d1c4; |
| 2011 | font: inherit; |
| 2012 | font-size: 0.85rem; |
| 2013 | font-weight: 700; |
| 2014 | line-height: 1; |
| 2015 | cursor: pointer; |
| 2016 | padding: 0; |
| 2017 | } |
| 2018 | |
| 2019 | #dialogues-tokens-help:hover { |
| 2020 | border-color: #e0a84a; |
| 2021 | color: #e8c84a; |
| 2022 | } |
| 2023 | |
| 2024 | .dialogue-tokens-body { |
| 2025 | padding: 0.85rem 1rem 1.1rem; |
| 2026 | overflow: auto; |
| 2027 | display: flex; |
| 2028 | flex-direction: column; |
| 2029 | gap: 0.85rem; |
| 2030 | } |
| 2031 | |
| 2032 | .dialogue-tokens-list { |
| 2033 | margin: 0; |
| 2034 | padding-left: 1.15rem; |
| 2035 | display: grid; |
| 2036 | gap: 0.25rem; |
| 2037 | color: #c5d4e8; |
| 2038 | font-size: 0.92rem; |
| 2039 | } |
| 2040 | |
| 2041 | .dialogue-tokens-list code { |
| 2042 | color: #e8c84a; |
| 2043 | font-size: 0.88rem; |
| 2044 | } |
| 2045 | |
| 2046 | .dialogue-tokens-preview-label { |
| 2047 | display: flex; |
| 2048 | flex-direction: column; |
| 2049 | gap: 0.35rem; |
| 2050 | color: #d6d1c4; |
| 2051 | font-size: 0.9rem; |
| 2052 | } |
| 2053 | |
| 2054 | .dialogue-tokens-preview-label input { |
| 2055 | font: inherit; |
| 2056 | padding: 0.45rem 0.6rem; |
| 2057 | border: 1px solid #3a4250; |
| 2058 | border-radius: 4px; |
| 2059 | background: #12151c; |
| 2060 | color: #f0ebe0; |
| 2061 | } |
| 2062 | |
| 2063 | .dialogue-tokens-preview-row { |
| 2064 | display: grid; |
| 2065 | grid-template-columns: 1fr 1fr; |
| 2066 | gap: 0.75rem; |
| 2067 | } |
| 2068 | |
| 2069 | .dialogue-tokens-preview-col { |
| 2070 | border: 1px solid #2c3340; |
| 2071 | border-radius: 4px; |
| 2072 | padding: 0.55rem 0.65rem; |
| 2073 | background: #12151c; |
| 2074 | } |
| 2075 | |
| 2076 | .dialogue-tokens-preview-col strong { |
| 2077 | display: block; |
| 2078 | margin-bottom: 0.35rem; |
| 2079 | color: #d6d1c4; |
| 2080 | font-size: 0.85rem; |
| 2081 | } |
| 2082 | |
| 2083 | .dialogue-tokens-preview-out { |
| 2084 | margin: 0; |
| 2085 | min-height: 2.4rem; |
| 2086 | color: #f0ebe0; |
| 2087 | white-space: pre-wrap; |
| 2088 | word-break: break-word; |
| 2089 | } |
| 2090 | |
| 2091 | /* Dialogue canvas graph editor */ |
| 2092 | #dialogues-editor.dialogues-editor-canvas-host { |
| 2093 | display: flex; |
| 2094 | flex-direction: column; |
| 2095 | overflow: hidden; |
| 2096 | padding: 0; |
| 2097 | } |
| 2098 | |
| 2099 | .dialogue-editor-meta { |
| 2100 | flex-shrink: 0; |
| 2101 | padding: 0.65rem 1rem 0.45rem; |
| 2102 | border-bottom: 1px solid #2c3340; |
| 2103 | background: #141820; |
| 2104 | max-height: 42%; |
| 2105 | overflow: auto; |
| 2106 | } |
| 2107 | |
| 2108 | .dialogue-editor-meta label { |
| 2109 | display: inline-block; |
| 2110 | margin: 0.25rem 0.75rem 0.25rem 0; |
| 2111 | min-width: 11rem; |
| 2112 | vertical-align: top; |
| 2113 | } |
| 2114 | |
| 2115 | .dialogue-editor-meta input[type="text"] { |
| 2116 | display: block; |
| 2117 | width: 100%; |
| 2118 | margin-top: 0.2rem; |
| 2119 | box-sizing: border-box; |
| 2120 | } |
| 2121 | |
| 2122 | .dialogue-editor-unique { |
| 2123 | display: inline-flex !important; |
| 2124 | align-items: center; |
| 2125 | gap: 0.4rem; |
| 2126 | min-width: auto !important; |
| 2127 | margin-top: 0.55rem !important; |
| 2128 | } |
| 2129 | |
| 2130 | .dialogue-canvas-help { |
| 2131 | margin: 0.35rem 0 0.15rem; |
| 2132 | } |
| 2133 | |
| 2134 | .dialogue-canvas-wrap { |
| 2135 | position: relative; |
| 2136 | flex: 1; |
| 2137 | min-height: 220px; |
| 2138 | background: |
| 2139 | radial-gradient(circle at 1px 1px, #2a3140 1px, transparent 0) 0 0 / 18px 18px, |
| 2140 | #0f1218; |
| 2141 | overflow: hidden; |
| 2142 | } |
| 2143 | |
| 2144 | .dialogue-canvas-viewport { |
| 2145 | position: absolute; |
| 2146 | inset: 0; |
| 2147 | outline: none; |
| 2148 | cursor: grab; |
| 2149 | touch-action: none; |
| 2150 | } |
| 2151 | |
| 2152 | .dialogue-canvas-viewport:active { |
| 2153 | cursor: grabbing; |
| 2154 | } |
| 2155 | |
| 2156 | .dialogue-canvas-world { |
| 2157 | position: absolute; |
| 2158 | left: 0; |
| 2159 | top: 0; |
| 2160 | transform-origin: 0 0; |
| 2161 | will-change: transform; |
| 2162 | } |
| 2163 | |
| 2164 | .dialogue-canvas-edges { |
| 2165 | position: absolute; |
| 2166 | left: 0; |
| 2167 | top: 0; |
| 2168 | overflow: visible; |
| 2169 | width: 1px; |
| 2170 | height: 1px; |
| 2171 | pointer-events: none; |
| 2172 | } |
| 2173 | |
| 2174 | .dialogue-canvas-edge { |
| 2175 | stroke: #6b8cae; |
| 2176 | stroke-width: 2.25; |
| 2177 | stroke-dasharray: 8 6; |
| 2178 | animation: dialogue-edge-dash 0.9s linear infinite; |
| 2179 | } |
| 2180 | |
| 2181 | .dialogue-canvas-rubber { |
| 2182 | stroke: #e0a84a; |
| 2183 | stroke-width: 2; |
| 2184 | stroke-dasharray: 6 5; |
| 2185 | opacity: 0; |
| 2186 | pointer-events: none; |
| 2187 | } |
| 2188 | |
| 2189 | .dialogue-canvas-rubber.active { |
| 2190 | opacity: 1; |
| 2191 | } |
| 2192 | |
| 2193 | @keyframes dialogue-edge-dash { |
| 2194 | to { |
| 2195 | stroke-dashoffset: -28; |
| 2196 | } |
| 2197 | } |
| 2198 | |
| 2199 | .dialogue-canvas-cards { |
| 2200 | position: absolute; |
| 2201 | left: 0; |
| 2202 | top: 0; |
| 2203 | } |
| 2204 | |
| 2205 | .dialogue-canvas-card { |
| 2206 | position: absolute; |
| 2207 | width: 168px; |
| 2208 | min-height: 72px; |
| 2209 | box-sizing: border-box; |
| 2210 | padding: 0.45rem 0.55rem 1.35rem; |
| 2211 | background: #1a2130; |
| 2212 | border: 1px solid #3a4558; |
| 2213 | border-radius: 8px; |
| 2214 | box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); |
| 2215 | color: #e8e4d8; |
| 2216 | cursor: grab; |
| 2217 | user-select: none; |
| 2218 | } |
| 2219 | |
| 2220 | .dialogue-canvas-card.is-entry { |
| 2221 | border-color: #e0a84a; |
| 2222 | box-shadow: 0 0 0 1px rgba(224, 168, 74, 0.35), 0 6px 18px rgba(0, 0, 0, 0.35); |
| 2223 | } |
| 2224 | |
| 2225 | .dialogue-canvas-card.dragging { |
| 2226 | cursor: grabbing; |
| 2227 | opacity: 0.92; |
| 2228 | z-index: 5; |
| 2229 | } |
| 2230 | |
| 2231 | .dialogue-canvas-card-label { |
| 2232 | font-weight: 650; |
| 2233 | font-size: 0.92rem; |
| 2234 | line-height: 1.25; |
| 2235 | word-break: break-word; |
| 2236 | } |
| 2237 | |
| 2238 | .dialogue-canvas-card-meta { |
| 2239 | margin-top: 0.2rem; |
| 2240 | font-size: 0.72rem; |
| 2241 | color: #9eb0c8; |
| 2242 | text-transform: lowercase; |
| 2243 | } |
| 2244 | |
| 2245 | .dialogue-canvas-ports { |
| 2246 | position: absolute; |
| 2247 | left: 0; |
| 2248 | right: 0; |
| 2249 | bottom: -8px; |
| 2250 | display: flex; |
| 2251 | justify-content: space-evenly; |
| 2252 | pointer-events: none; |
| 2253 | } |
| 2254 | |
| 2255 | .dialogue-canvas-port, |
| 2256 | .dialogue-canvas-input { |
| 2257 | width: 14px; |
| 2258 | height: 14px; |
| 2259 | border-radius: 999px; |
| 2260 | border: 2px solid #8ab0d4; |
| 2261 | background: #12151c; |
| 2262 | padding: 0; |
| 2263 | pointer-events: auto; |
| 2264 | cursor: crosshair; |
| 2265 | } |
| 2266 | |
| 2267 | .dialogue-canvas-port.linked { |
| 2268 | background: #6b8cae; |
| 2269 | } |
| 2270 | |
| 2271 | .dialogue-canvas-port.selected { |
| 2272 | border-color: #e0a84a; |
| 2273 | background: #e0a84a; |
| 2274 | box-shadow: 0 0 0 3px rgba(224, 168, 74, 0.28); |
| 2275 | } |
| 2276 | |
| 2277 | .dialogue-canvas-input { |
| 2278 | position: absolute; |
| 2279 | left: 50%; |
| 2280 | top: -8px; |
| 2281 | transform: translateX(-50%); |
| 2282 | opacity: 0; |
| 2283 | pointer-events: none; |
| 2284 | border-color: #74c08a; |
| 2285 | } |
| 2286 | |
| 2287 | .dialogue-canvas-input.show, |
| 2288 | .dialogue-canvas-wiring .dialogue-canvas-input.show { |
| 2289 | opacity: 1; |
| 2290 | pointer-events: auto; |
| 2291 | } |
| 2292 | |
| 2293 | .dialogue-canvas-context { |
| 2294 | position: absolute; |
| 2295 | z-index: 8; |
| 2296 | min-width: 160px; |
| 2297 | padding: 0.25rem; |
| 2298 | background: #1a1e26; |
| 2299 | border: 1px solid #3a4250; |
| 2300 | border-radius: 6px; |
| 2301 | box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); |
| 2302 | } |
| 2303 | |
| 2304 | .dialogue-canvas-context button { |
| 2305 | display: block; |
| 2306 | width: 100%; |
| 2307 | text-align: left; |
| 2308 | background: transparent; |
| 2309 | border: 0; |
| 2310 | color: #e8e4d8; |
| 2311 | padding: 0.45rem 0.55rem; |
| 2312 | cursor: pointer; |
| 2313 | border-radius: 4px; |
| 2314 | } |
| 2315 | |
| 2316 | .dialogue-canvas-context button:hover { |
| 2317 | background: #243044; |
| 2318 | } |
| 2319 | |
| 2320 | .dialogue-canvas-tooltip { |
| 2321 | position: absolute; |
| 2322 | z-index: 9; |
| 2323 | max-width: 220px; |
| 2324 | padding: 0.3rem 0.45rem; |
| 2325 | background: #12151c; |
| 2326 | border: 1px solid #3a4250; |
| 2327 | border-radius: 4px; |
| 2328 | color: #d6d1c4; |
| 2329 | font-size: 0.78rem; |
| 2330 | pointer-events: none; |
| 2331 | box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); |
| 2332 | } |
| 2333 | |
| 2334 | .dialogue-step-overlay { |
| 2335 | position: absolute; |
| 2336 | inset: 0; |
| 2337 | z-index: 30; |
| 2338 | display: flex; |
| 2339 | align-items: stretch; |
| 2340 | justify-content: flex-end; |
| 2341 | } |
| 2342 | |
| 2343 | .dialogue-step-overlay[hidden] { |
| 2344 | display: none !important; |
| 2345 | } |
| 2346 | |
| 2347 | .dialogue-step-backdrop { |
| 2348 | position: absolute; |
| 2349 | inset: 0; |
| 2350 | background: rgba(0, 0, 0, 0.45); |
| 2351 | } |
| 2352 | |
| 2353 | .dialogue-step-panel { |
| 2354 | position: relative; |
| 2355 | z-index: 1; |
| 2356 | width: min(420px, 92%); |
| 2357 | max-width: 100%; |
| 2358 | height: 100%; |
| 2359 | display: flex; |
| 2360 | flex-direction: column; |
| 2361 | background: #161a22; |
| 2362 | border-left: 1px solid #3a4250; |
| 2363 | box-shadow: -12px 0 40px rgba(0, 0, 0, 0.4); |
| 2364 | } |
| 2365 | |
| 2366 | .dialogue-step-panel > header { |
| 2367 | display: flex; |
| 2368 | align-items: center; |
| 2369 | justify-content: space-between; |
| 2370 | gap: 0.75rem; |
| 2371 | padding: 0.75rem 1rem; |
| 2372 | border-bottom: 1px solid #2c3340; |
| 2373 | } |
| 2374 | |
| 2375 | .dialogue-step-panel > header h3 { |
| 2376 | margin: 0; |
| 2377 | font-size: 1.05rem; |
| 2378 | } |
| 2379 | |
| 2380 | .dialogue-step-body { |
| 2381 | flex: 1; |
| 2382 | min-height: 0; |
| 2383 | overflow: auto; |
| 2384 | padding: 0.75rem 1rem 1.1rem; |
| 2385 | } |
| 2386 | |
| 2387 | .dialogue-step-actions { |
| 2388 | display: flex; |
| 2389 | flex-wrap: wrap; |
| 2390 | gap: 0.45rem; |
| 2391 | margin: 0.75rem 0; |
| 2392 | } |
| 2393 | |
| 2394 | .dialogue-step-submodal { |
| 2395 | position: absolute; |
| 2396 | inset: 0; |
| 2397 | z-index: 2; |
| 2398 | display: flex; |
| 2399 | align-items: center; |
| 2400 | justify-content: center; |
| 2401 | background: rgba(0, 0, 0, 0.5); |
| 2402 | padding: 1rem; |
| 2403 | } |
| 2404 | |
| 2405 | .dialogue-step-subpanel { |
| 2406 | width: min(420px, 100%); |
| 2407 | max-height: min(80vh, 640px); |
| 2408 | display: flex; |
| 2409 | flex-direction: column; |
| 2410 | background: #161a22; |
| 2411 | border: 1px solid #3a4250; |
| 2412 | border-radius: 8px; |
| 2413 | box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); |
| 2414 | } |
| 2415 | |
| 2416 | .dialogue-step-subpanel > header { |
| 2417 | display: flex; |
| 2418 | align-items: center; |
| 2419 | justify-content: space-between; |
| 2420 | gap: 0.75rem; |
| 2421 | padding: 0.65rem 0.85rem; |
| 2422 | border-bottom: 1px solid #2c3340; |
| 2423 | } |
| 2424 | |
| 2425 | .dialogue-step-subpanel > header h4 { |
| 2426 | margin: 0; |
| 2427 | } |
| 2428 | |
| 2429 | .dialogue-step-subbody { |
| 2430 | flex: 1; |
| 2431 | min-height: 0; |
| 2432 | overflow: auto; |
| 2433 | padding: 0.75rem 0.85rem 1rem; |
| 2434 | } |
| 2435 | |
| 2436 | .dialogue-step-delete-warn-text { |
| 2437 | margin: 0 0 1rem; |
| 2438 | padding: 0.75rem 0.85rem; |
| 2439 | background: rgba(168, 48, 48, 0.22); |
| 2440 | border: 1px solid #a84848; |
| 2441 | border-radius: 6px; |
| 2442 | color: #f0d0d0; |
| 2443 | line-height: 1.4; |
| 2444 | } |
| 2445 | |
| 2446 | .dialogue-step-delete-actions { |
| 2447 | display: flex; |
| 2448 | justify-content: flex-end; |
| 2449 | gap: 0.5rem; |
| 2450 | } |
| 2451 | |
| 2452 | .dialogue-step-delete-confirm { |
| 2453 | background: #8a3030; |
| 2454 | border-color: #a84848; |
| 2455 | color: #f0e8e8; |
| 2456 | } |
| 2457 | |
| 2458 | .dialogue-step-delete-confirm:hover { |
| 2459 | background: #a83838; |
| 2460 | border-color: #c06060; |
| 2461 | } |