BlueGit

timfa questward

Files

questward / client / ui / editor.css

editor.css

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