BlueGit

timfa questward

Files

questward / client / ui / editor.css

editor.css

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