BlueGit

timfa questward

Files

questward / client / ui / editor.css

editor.css

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