BlueGit

timfa questward

Files

questward / client / ui / editor.css

editor.css

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