BlueGit

timfa questward

Files

questward / client / ui / editor.css

editor.css

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