BlueGit

timfa questward

Files

questward / client / ui / editor.css

editor.css

editor.css 29.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-restart-now:hover:not(:disabled) {
47 background: #3a2020;
48}
49
50#editor-restart-now:disabled {
51 opacity: 0.55;
52 cursor: default;
53}
54
55#editor-restart-now[hidden] {
56 display: none !important;
57}
58
59body>aside {
60 position: absolute;
61 left: 0;
62 top: 56px;
63 width: 250px;
64 bottom: 0;
65 overflow: auto;
66 padding: 0.75rem;
67 box-sizing: border-box;
68 background: #1a1e26;
69 border-right: 1px solid #2c3340;
70}
71
72#side-panels {
73 position: absolute;
74 right: 0;
75 top: 56px;
76 width: 320px;
77 bottom: 0;
78 display: flex;
79 flex-direction: column;
80 box-sizing: border-box;
81 background: #1a1e26;
82 border-left: 1px solid #2c3340;
83}
84
85.side-panel-tabs {
86 display: flex;
87 gap: 0;
88 border-bottom: 1px solid #2c3340;
89 flex: 0 0 auto;
90}
91
92.side-panel-tab {
93 flex: 1 1 0;
94 border: 0;
95 border-radius: 0;
96 background: transparent;
97 color: #9aa3b2;
98 padding: 0.55rem 0.4rem;
99 cursor: pointer;
100}
101
102.side-panel-tab.active {
103 color: #e8e4d9;
104 background: #222833;
105 box-shadow: inset 0 -2px 0 #6a8cbf;
106}
107
108.side-panel-body {
109 flex: 1 1 auto;
110 min-height: 0;
111 overflow: auto;
112 padding: 0.75rem;
113 box-sizing: border-box;
114}
115
116#editor-console {
117 margin: 0;
118 padding: 0.4rem;
119 min-height: 12rem;
120 max-height: calc(100% - 2.5rem);
121 overflow: auto;
122 font: 0.72rem/1.35 ui-monospace, Consolas, monospace;
123 white-space: pre-wrap;
124 word-break: break-word;
125 background: #0e1116;
126 border: 1px solid #2c3340;
127 color: #c8d0dc;
128}
129
130#editor-console .console-warn {
131 color: #e0c070;
132}
133
134#editor-console .console-error {
135 color: #f0a0a0;
136}
137
138#editor-console .console-debug {
139 color: #7a8494;
140}
141
142#console-clear {
143 margin-top: 0.5rem;
144 width: 100%;
145}
146
147.nav,
148.palette,
149.chunk-clipboard {
150 display: flex;
151 flex-direction: column;
152 gap: 0.35rem;
153 margin: 0.75rem 0;
154}
155
156.dimension-picker {
157 margin: 0.75rem 0 0.35rem;
158 display: flex;
159 flex-direction: column;
160 gap: 0.35rem;
161}
162
163.dimension-picker>label,
164.dimension-picker-label {
165 font-size: 0.85rem;
166 color: #9aa3b2;
167}
168
169.dim-combo {
170 position: relative;
171 display: flex;
172 align-items: stretch;
173}
174
175.dim-combo-input {
176 flex: 1 1 auto;
177 width: 0;
178 min-width: 0;
179 box-sizing: border-box;
180}
181
182.dim-combo-toggle {
183 flex: 0 0 auto;
184 padding: 0 0.45rem;
185 border: 1px solid #3a4250;
186 border-left: none;
187 background: #1a1f28;
188 color: #c8d0dc;
189 cursor: pointer;
190}
191
192.dim-combo-toggle:hover {
193 background: #243044;
194}
195
196.dim-combo-list {
197 position: absolute;
198 left: 0;
199 right: 0;
200 top: calc(100% + 2px);
201 z-index: 20;
202 margin: 0;
203 padding: 0.2rem 0;
204 list-style: none;
205 max-height: 220px;
206 overflow: auto;
207 background: #101216;
208 border: 1px solid #3a4250;
209 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
210}
211
212.dim-combo-option,
213.dim-combo-empty {
214 display: flex;
215 flex-direction: column;
216 gap: 0.1rem;
217 padding: 0.35rem 0.55rem;
218 cursor: pointer;
219}
220
221.dim-combo-option:hover,
222.dim-combo-option.selected {
223 background: #243044;
224}
225
226.dim-combo-option.disabled {
227 opacity: 0.55;
228}
229
230.dim-combo-option.create {
231 color: #b8d4a0;
232 border-top: 1px solid #2c3340;
233}
234
235.dim-combo-option-hint,
236.dim-combo-empty {
237 font-size: 0.78rem;
238 color: #9aa3b2;
239}
240
241.dimension-settings {
242 display: flex;
243 flex-direction: column;
244 gap: 0.45rem;
245 margin: 0.5rem 0 0.85rem;
246 padding: 0.55rem 0.6rem;
247 border: 1px solid #2c3340;
248 background: #151922;
249}
250
251.dimension-settings label {
252 display: flex;
253 flex-direction: column;
254 gap: 0.2rem;
255 font-size: 0.85rem;
256 color: #9aa3b2;
257}
258
259.dimension-settings input,
260.dimension-settings select {
261 width: 100%;
262 box-sizing: border-box;
263}
264
265.dimension-settings-actions {
266 display: flex;
267 flex-wrap: wrap;
268 gap: 0.35rem;
269}
270
271#dim-delete {
272 border-color: #8a3a3a;
273 color: #f0a0a0;
274}
275
276button,
277input {
278 font: inherit;
279 background: #101216;
280 color: inherit;
281 border: 1px solid #3a4250;
282 padding: 0.3rem 0.5rem;
283}
284
285button {
286 cursor: pointer;
287}
288
289button:disabled {
290 opacity: 0.45;
291 cursor: not-allowed;
292}
293
294#save.save-dirty:not(:disabled) {
295 animation: save-pulse 1.1s ease-in-out infinite;
296 border-color: #c9a227;
297 box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.35);
298}
299
300@keyframes save-pulse {
301
302 0%,
303 100% {
304 opacity: 1;
305 }
306
307 50% {
308 opacity: 0.55;
309 }
310}
311
312#unsaved-chunk-backdrop {
313 position: fixed;
314 inset: 0;
315 background: rgba(0, 0, 0, 0.62);
316 z-index: 29;
317}
318
319#unsaved-chunk-modal {
320 position: fixed;
321 left: 50%;
322 top: 50%;
323 transform: translate(-50%, -50%);
324 z-index: 30;
325 width: min(420px, 92vw);
326 padding: 1rem 1.1rem;
327 background: #161a22;
328 border: 1px solid #3a4250;
329 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
330}
331
332#unsaved-chunk-modal header {
333 margin: 0 0 0.5rem;
334 padding: 0;
335 border: 0;
336}
337
338#unsaved-chunk-modal h2 {
339 margin: 0;
340 font-size: 1.1rem;
341}
342
343#dimension-settings-backdrop {
344 position: fixed;
345 inset: 0;
346 background: rgba(0, 0, 0, 0.62);
347 z-index: 29;
348}
349
350#dimension-settings-modal {
351 position: fixed;
352 left: 50%;
353 top: 50%;
354 transform: translate(-50%, -50%);
355 z-index: 30;
356 width: min(420px, 92vw);
357 padding: 1rem 1.1rem;
358 background: #161a22;
359 border: 1px solid #3a4250;
360 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
361}
362
363#dimension-settings-modal header {
364 display: flex;
365 align-items: center;
366 justify-content: space-between;
367 gap: 0.75rem;
368 margin: 0 0 0.75rem;
369 padding: 0;
370 border: 0;
371}
372
373#dimension-settings-modal h2 {
374 margin: 0;
375 font-size: 1.1rem;
376}
377
378#dimension-settings-modal .dimension-settings {
379 margin: 0;
380 padding: 0;
381 border: 0;
382 background: transparent;
383}
384
385.unsaved-chunk-actions {
386 display: flex;
387 justify-content: flex-end;
388 gap: 0.5rem;
389 margin-top: 1rem;
390}
391
392#apply-status.ok {
393 color: #b8d4a0;
394}
395
396.error {
397 color: #f0a0a0;
398}
399
400.hint {
401 color: #9aa3b2;
402 font-size: 0.85rem;
403}
404
405.open-toggle {
406 display: flex;
407 gap: 0.4rem;
408 align-items: center;
409}
410
411article {
412 margin-bottom: 0.75rem;
413}
414
415fieldset {
416 border-color: #3a4250;
417 margin-top: 1rem;
418}
419
420#selection-border {
421 position: fixed;
422 pointer-events: none;
423 box-sizing: border-box;
424 border: 2px solid #e23d3d;
425 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55);
426 z-index: 4;
427}
428
429label {
430 display: block;
431 margin: 0.4rem 0;
432}
433
434#settings-backdrop {
435 position: fixed;
436 inset: 0;
437 background: rgba(0, 0, 0, 0.62);
438 z-index: 19;
439}
440
441#settings-modal {
442 position: fixed;
443 inset: 4vh 4vw;
444 z-index: 20;
445 display: flex;
446 background: #161a22;
447 border: 1px solid #3a4250;
448 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
449}
450
451#settings-modal[hidden],
452#settings-backdrop[hidden] {
453 display: none !important;
454}
455
456#settings-main {
457 flex: 1;
458 min-width: 0;
459 display: flex;
460 flex-direction: column;
461}
462
463#settings-main header,
464#settings-main footer {
465 display: flex;
466 align-items: center;
467 justify-content: space-between;
468 gap: 0.75rem;
469 padding: 0.75rem 1rem;
470 border-bottom: 1px solid #2c3340;
471}
472
473#settings-main footer {
474 border-bottom: 0;
475 border-top: 1px solid #2c3340;
476}
477
478#settings-form {
479 flex: 1;
480 overflow: auto;
481 padding: 0;
482 display: flex;
483 flex-direction: column;
484 min-height: 0;
485}
486
487.settings-tabs {
488 display: flex;
489 flex-wrap: wrap;
490 gap: 0.25rem;
491 padding: 0.65rem 1rem 0.5rem;
492 border-bottom: 1px solid #2c3340;
493 background: #12151c;
494}
495
496.settings-tab {
497 appearance: none;
498 border: 1px solid transparent;
499 background: transparent;
500 color: #a8a295;
501 padding: 0.35rem 0.7rem;
502 border-radius: 4px;
503 cursor: pointer;
504 font: inherit;
505}
506
507.settings-tab:hover {
508 color: #e8e2d4;
509 background: #1c222c;
510}
511
512.settings-tab.active {
513 color: #1a1510;
514 background: #d4c48a;
515 border-color: #d4c48a;
516}
517
518.settings-panels {
519 flex: 1;
520 overflow: auto;
521 padding: 0.75rem 1rem 1.25rem;
522}
523
524.settings-category {
525 margin-bottom: 0;
526}
527
528.settings-category h3 {
529 margin: 0 0 0.5rem;
530 font-size: 0.95rem;
531 color: #d4c48a;
532 border-bottom: 1px solid #2c3340;
533 padding-bottom: 0.25rem;
534}
535
536.setting-row {
537 display: grid;
538 grid-template-columns: minmax(12rem, 1fr) minmax(8rem, 14rem) 4rem;
539 gap: 0.4rem 0.75rem;
540 align-items: center;
541 padding: 0.45rem 0.5rem;
542 margin: 0.2rem 0;
543 border-radius: 4px;
544}
545
546.setting-row .hint {
547 grid-column: 1 / -1;
548 margin: 0;
549}
550
551.setting-row.dirty {
552 background: #4a3d18;
553 box-shadow: inset 0 0 0 1px #c4a35a;
554}
555
556.setting-value {
557 font-variant-numeric: tabular-nums;
558 color: #c5c0b4;
559}
560
561.seed-price-panel {
562 display: flex;
563 flex-direction: column;
564 gap: 0.65rem;
565 min-height: 0;
566}
567
568.seed-price-toolbar {
569 display: flex;
570 flex-wrap: wrap;
571 gap: 0.55rem 0.75rem;
572 align-items: center;
573}
574
575.seed-price-search {
576 flex: 1 1 12rem;
577 min-width: 10rem;
578 padding: 0.4rem 0.55rem;
579 background: #10141b;
580 border: 1px solid #3a4250;
581 color: #e8e4d9;
582 font: inherit;
583}
584
585.seed-price-meta {
586 flex: 0 0 auto;
587}
588
589.seed-price-pager {
590 display: flex;
591 align-items: center;
592 gap: 0.45rem;
593 margin-left: auto;
594}
595
596.seed-price-pager button {
597 appearance: none;
598 border: 1px solid #3a4250;
599 background: #1c222c;
600 color: #e8e4d9;
601 padding: 0.3rem 0.55rem;
602 cursor: pointer;
603 font: inherit;
604}
605
606.seed-price-pager button:disabled {
607 opacity: 0.4;
608 cursor: default;
609}
610
611.seed-price-header,
612.seed-price-row {
613 display: grid;
614 grid-template-columns: minmax(10rem, 1.6fr) 6.5rem 5.5rem 5.5rem;
615 gap: 0.5rem 0.65rem;
616 align-items: center;
617}
618
619.seed-price-header {
620 padding: 0.25rem 0.4rem;
621 color: #a8a295;
622 font-size: 0.78rem;
623 text-transform: uppercase;
624 letter-spacing: 0.04em;
625 border-bottom: 1px solid #2c3340;
626}
627
628.seed-price-list {
629 display: flex;
630 flex-direction: column;
631 gap: 0.25rem;
632}
633
634.seed-price-row {
635 padding: 0.4rem;
636 border-radius: 4px;
637}
638
639.seed-price-row.dirty {
640 background: #4a3d18;
641 box-shadow: inset 0 0 0 1px #c4a35a;
642}
643
644.seed-price-name {
645 display: flex;
646 flex-direction: column;
647 gap: 0.1rem;
648 min-width: 0;
649}
650
651.seed-price-name strong {
652 overflow: hidden;
653 text-overflow: ellipsis;
654 white-space: nowrap;
655}
656
657.seed-price-name small {
658 color: #8b8790;
659 font-size: 0.75rem;
660}
661
662.seed-price-seed {
663 display: flex;
664 flex-direction: column;
665 gap: 0.15rem;
666 font-size: 0.75rem;
667 color: #a8a295;
668}
669
670.seed-price-seed input {
671 width: 100%;
672 padding: 0.3rem 0.4rem;
673 background: #10141b;
674 border: 1px solid #3a4250;
675 color: #e8e4d9;
676 font: inherit;
677}
678
679.seed-price-readonly {
680 display: flex;
681 flex-direction: column;
682 gap: 0.15rem;
683 font-size: 0.75rem;
684 color: #a8a295;
685}
686
687.seed-price-readonly strong {
688 font-size: 0.95rem;
689 color: #e8e4d9;
690 font-variant-numeric: tabular-nums;
691}
692
693.seed-price-readonly strong.muted {
694 color: #6d6875;
695}
696
697.starter-equipment-panel h3 {
698 margin: 0.85rem 0 0.4rem;
699 font-size: 0.85rem;
700 text-transform: uppercase;
701 letter-spacing: 0.03em;
702 color: #9aa3b2;
703}
704
705.starter-equip-list,
706.starter-inv-list {
707 display: flex;
708 flex-direction: column;
709 gap: 0.4rem;
710}
711
712.starter-equip-row {
713 display: grid;
714 grid-template-columns: 5.5rem 1fr;
715 gap: 0.5rem;
716 align-items: center;
717}
718
719.starter-equip-row.dirty select,
720.starter-inv-row.dirty select,
721.starter-inv-row.dirty input {
722 border-color: #c4a35a;
723}
724
725.starter-inv-row {
726 display: grid;
727 grid-template-columns: 1fr 4.5rem auto;
728 gap: 0.4rem;
729 align-items: center;
730}
731
732.initial-quests-panel .hint {
733 margin: 0 0 0.6rem;
734}
735
736.initial-quests-list {
737 display: flex;
738 flex-direction: column;
739 gap: 0.4rem;
740 margin-bottom: 0.6rem;
741}
742
743.initial-quest-row {
744 display: grid;
745 grid-template-columns: 1fr auto;
746 gap: 0.4rem;
747 align-items: center;
748}
749
750.equip-stats-panel {
751 display: flex;
752 flex-direction: column;
753 gap: 0.75rem;
754 min-width: 0;
755}
756
757.equip-stats-toolbar {
758 display: flex;
759 flex-wrap: wrap;
760 gap: 0.75rem;
761 align-items: center;
762}
763
764.equip-stats-category-label {
765 display: flex;
766 align-items: center;
767 gap: 0.5rem;
768 font-size: 0.85rem;
769 color: #c5ccd8;
770}
771
772.equip-stats-category {
773 min-width: 12rem;
774}
775
776.equip-stats-tables {
777 display: flex;
778 flex-direction: column;
779 gap: 1rem;
780 overflow: auto;
781 max-height: min(62vh, 640px);
782}
783
784.equip-stats-table-wrap {
785 overflow: auto;
786}
787
788.equip-stats-table {
789 border-collapse: collapse;
790 width: max-content;
791 min-width: 100%;
792 font-size: 0.8rem;
793}
794
795.equip-stats-table th,
796.equip-stats-table td {
797 border: 1px solid #2c3340;
798 padding: 0.35rem 0.45rem;
799 vertical-align: middle;
800 text-align: center;
801}
802
803.equip-stats-table th {
804 background: #1a1f28;
805 color: #9aa3b2;
806 font-weight: 600;
807 position: sticky;
808 top: 0;
809 z-index: 1;
810}
811
812.equip-stats-table th:first-child,
813.equip-stats-table td.equip-stats-item {
814 position: sticky;
815 left: 0;
816 z-index: 2;
817 background: #151922;
818 text-align: left;
819 min-width: 9rem;
820}
821
822.equip-stats-table th:first-child {
823 z-index: 3;
824}
825
826.equip-stats-item {
827 display: flex;
828 align-items: center;
829 gap: 0.45rem;
830 white-space: nowrap;
831}
832
833.equip-stats-icon {
834 image-rendering: pixelated;
835 flex-shrink: 0;
836 background: #0e1218;
837 border: 1px solid #2c3340;
838}
839
840.equip-stats-cell.empty {
841 color: #5c6575;
842}
843
844.equip-stats-cell-inner {
845 display: flex;
846 flex-direction: column;
847 gap: 0.25rem;
848 align-items: stretch;
849}
850
851.equip-stats-stat {
852 display: flex;
853 align-items: center;
854 gap: 0.3rem;
855 margin: 0;
856}
857
858.equip-stats-stat img {
859 flex-shrink: 0;
860}
861
862.equip-stats-stat input {
863 width: 3.2rem;
864 padding: 0.15rem 0.25rem;
865}
866
867.equip-stats-stat.dirty input {
868 border-color: #c4a35a;
869}
870
871#settings-log-wrap {
872 width: min(340px, 32vw);
873 flex-shrink: 0;
874 border-left: 1px solid #2c3340;
875 display: flex;
876 flex-direction: column;
877 background: #1a1e26;
878}
879
880#settings-log-wrap h2 {
881 margin: 0;
882 padding: 0.75rem 1rem;
883 border-bottom: 1px solid #2c3340;
884 font-size: 1rem;
885}
886
887#settings-log {
888 flex: 1;
889 overflow: auto;
890 padding: 0.75rem 1rem;
891}
892
893#palette-backdrop,
894#tile-config-backdrop {
895 position: fixed;
896 inset: 0;
897 background: rgba(0, 0, 0, 0.62);
898 z-index: 19;
899}
900
901#palette-modal,
902#tile-config-modal {
903 position: fixed;
904 z-index: 20;
905 display: flex;
906 flex-direction: column;
907 background: #161a22;
908 border: 1px solid #3a4250;
909 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
910}
911
912#palette-modal {
913 inset: 8vh 12vw;
914}
915
916#tile-config-modal {
917 top: 10vh;
918 left: 50%;
919 transform: translateX(-50%);
920 width: min(440px, 92vw);
921 max-height: 80vh;
922}
923
924#palette-modal[hidden],
925#palette-backdrop[hidden],
926#tile-config-modal[hidden],
927#tile-config-backdrop[hidden],
928#tile-tooltip[hidden] {
929 display: none !important;
930}
931
932#palette-modal>header,
933#tile-config-modal>header,
934#tile-config-modal>footer {
935 display: flex;
936 align-items: center;
937 justify-content: space-between;
938 gap: 0.75rem;
939 padding: 0.75rem 1rem;
940 border-bottom: 1px solid #2c3340;
941}
942
943#tile-config-modal>footer {
944 border-bottom: 0;
945 border-top: 1px solid #2c3340;
946}
947
948#palette-panels {
949 flex: 1;
950 overflow: auto;
951 padding: 0.75rem 1rem 1.25rem;
952}
953
954.palette-grid {
955 display: grid;
956 grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
957 gap: 0.6rem;
958}
959
960.palette-card {
961 display: flex;
962 flex-direction: column;
963 align-items: center;
964 gap: 0.35rem;
965 padding: 0.55rem 0.4rem;
966 min-height: 6.5rem;
967}
968
969.palette-thumb {
970 width: 48px;
971 height: 48px;
972 display: grid;
973 place-items: center;
974 background: #0d1016;
975 border: 1px solid #2c3340;
976 image-rendering: pixelated;
977 font-weight: 600;
978 color: #9aa3b2;
979}
980
981.palette-thumb img {
982 width: 100%;
983 height: 100%;
984 object-fit: contain;
985 image-rendering: pixelated;
986}
987
988#tile-config-form {
989 padding: 0.75rem 1rem 1rem;
990 display: flex;
991 flex-direction: column;
992 gap: 0.35rem;
993 flex: 1;
994 min-height: 0;
995 overflow: auto;
996 max-height: min(70vh, 640px);
997}
998
999#tile-config-form .tile-config-hint {
1000 margin: 0;
1001 opacity: 0.85;
1002 font-size: 0.9rem;
1003}
1004
1005#tile-config-form .door-requirements-when {
1006 display: flex;
1007 flex-direction: column;
1008 gap: 0.5rem;
1009}
1010
1011.spawner-sells-header {
1012 display: flex;
1013 align-items: center;
1014 justify-content: space-between;
1015 gap: 0.5rem;
1016 margin-top: 0.55rem;
1017}
1018
1019.spawner-sells-list {
1020 display: flex;
1021 flex-direction: column;
1022 gap: 0.35rem;
1023}
1024
1025.spawner-sells-row {
1026 display: grid;
1027 grid-template-columns: 1fr 4.5rem auto;
1028 gap: 0.4rem;
1029 align-items: center;
1030}
1031
1032.spawner-drops-row {
1033 display: grid;
1034 grid-template-columns: 1fr 3.5rem 3.5rem 4.5rem auto;
1035 gap: 0.4rem;
1036 align-items: center;
1037}
1038
1039.spawner-sells-name {
1040 overflow: hidden;
1041 text-overflow: ellipsis;
1042 white-space: nowrap;
1043}
1044
1045.spawner-drops-chance {
1046 display: flex;
1047 align-items: center;
1048 gap: 0.2rem;
1049}
1050
1051.spawner-drops-chance input {
1052 width: 100%;
1053 min-width: 0;
1054}
1055
1056.spawner-equip-list {
1057 display: flex;
1058 flex-direction: column;
1059 gap: 0.35rem;
1060}
1061
1062.spawner-equip-row {
1063 display: grid;
1064 grid-template-columns: 4.5rem 1fr auto auto auto;
1065 gap: 0.35rem;
1066 align-items: center;
1067}
1068
1069.spawner-equip-slot {
1070 text-transform: capitalize;
1071 color: #9aa3b2;
1072 font-size: 0.85rem;
1073}
1074
1075.spawner-equip-name {
1076 overflow: hidden;
1077 text-overflow: ellipsis;
1078 white-space: nowrap;
1079}
1080
1081.spawner-equip-dye-swatch {
1082 display: inline-block;
1083 width: 0.85rem;
1084 height: 0.85rem;
1085 margin-right: 0.35rem;
1086 border: 1px solid #3a4250;
1087 vertical-align: -0.1rem;
1088 border-radius: 2px;
1089}
1090
1091#equip-dye-backdrop {
1092 position: fixed;
1093 inset: 0;
1094 background: rgba(0, 0, 0, 0.55);
1095 z-index: 23;
1096}
1097
1098#equip-dye-modal {
1099 position: fixed;
1100 z-index: 24;
1101 top: 18vh;
1102 left: 50%;
1103 transform: translateX(-50%);
1104 width: min(340px, 90vw);
1105 display: flex;
1106 flex-direction: column;
1107 background: #161a22;
1108 border: 1px solid #3a4250;
1109 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
1110}
1111
1112#equip-dye-modal[hidden],
1113#equip-dye-backdrop[hidden] {
1114 display: none !important;
1115}
1116
1117#equip-dye-modal>header {
1118 display: flex;
1119 align-items: center;
1120 justify-content: space-between;
1121 gap: 0.75rem;
1122 padding: 0.75rem 1rem;
1123 border-bottom: 1px solid #2c3340;
1124}
1125
1126.equip-dye-body {
1127 padding: 0.85rem 1rem 1rem;
1128 display: flex;
1129 flex-direction: column;
1130 gap: 0.55rem;
1131}
1132
1133.equip-dye-preview {
1134 height: 3rem;
1135 border: 1px solid #3a4250;
1136 border-radius: 4px;
1137 background: #c85078;
1138}
1139
1140.equip-dye-channel {
1141 display: grid;
1142 grid-template-columns: 1.25rem 1fr 3.5rem;
1143 gap: 0.4rem;
1144 align-items: center;
1145 font-size: 0.85rem;
1146 color: #9aa3b2;
1147}
1148
1149.equip-dye-channel input[type="number"] {
1150 width: 100%;
1151}
1152
1153.equip-dye-actions {
1154 display: flex;
1155 justify-content: flex-end;
1156 gap: 0.4rem;
1157 margin-top: 0.25rem;
1158}
1159
1160.spawner-buys-row {
1161 display: flex;
1162 align-items: center;
1163 gap: 0.4rem;
1164 margin-top: 0.45rem;
1165}
1166
1167#shop-item-search-backdrop {
1168 position: fixed;
1169 inset: 0;
1170 background: rgba(0, 0, 0, 0.55);
1171 z-index: 21;
1172}
1173
1174#shop-item-search-modal {
1175 position: fixed;
1176 z-index: 22;
1177 top: 18vh;
1178 left: 50%;
1179 transform: translateX(-50%);
1180 width: min(420px, 92vw);
1181 max-height: 70vh;
1182 display: flex;
1183 flex-direction: column;
1184 background: #161a22;
1185 border: 1px solid #3a4250;
1186 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
1187}
1188
1189#shop-item-search-modal[hidden],
1190#shop-item-search-backdrop[hidden] {
1191 display: none !important;
1192}
1193
1194#shop-item-search-modal>header {
1195 display: flex;
1196 align-items: center;
1197 justify-content: space-between;
1198 gap: 0.75rem;
1199 padding: 0.75rem 1rem;
1200 border-bottom: 1px solid #2c3340;
1201}
1202
1203#shop-item-search-modal>.shop-item-search-body {
1204 padding: 0.75rem 1rem 1rem;
1205 display: flex;
1206 flex-direction: column;
1207 gap: 0.5rem;
1208 min-height: 0;
1209 overflow: hidden;
1210}
1211
1212#shop-item-search-results {
1213 overflow: auto;
1214 max-height: 40vh;
1215 display: flex;
1216 flex-direction: column;
1217 gap: 0.25rem;
1218}
1219
1220.shop-item-search-row {
1221 text-align: left;
1222 padding: 0.4rem 0.5rem;
1223 display: flex;
1224 flex-direction: column;
1225 align-items: flex-start;
1226 gap: 0.1rem;
1227}
1228
1229.shop-item-search-row-name {
1230 font: inherit;
1231 color: inherit;
1232}
1233
1234.shop-item-search-row-key {
1235 font-size: 0.78rem;
1236 color: #9aa3b2;
1237}
1238
1239.shop-item-search-footer {
1240 display: flex;
1241 align-items: center;
1242 justify-content: space-between;
1243 gap: 0.5rem;
1244 flex-shrink: 0;
1245}
1246
1247#shop-item-search-page {
1248 flex: 1;
1249 text-align: center;
1250 font-variant-numeric: tabular-nums;
1251}
1252
1253#tile-tooltip {
1254 position: fixed;
1255 z-index: 15;
1256 pointer-events: none;
1257 max-width: 16rem;
1258 padding: 0.4rem 0.55rem;
1259 background: rgba(12, 14, 18, 0.92);
1260 border: 1px solid #3a4250;
1261 color: #e8e4d9;
1262 font-size: 0.8rem;
1263 white-space: pre-wrap;
1264 box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
1265}
1266
1267#hover-status {
1268 position: fixed;
1269 left: 250px;
1270 right: 280px;
1271 bottom: 0;
1272 z-index: 5;
1273 margin: 0;
1274 padding: 0.35rem 0.75rem;
1275 border-top: 1px solid #2c3340;
1276 background: #1a1e26;
1277 color: #c5c9d2;
1278 font-size: 0.85rem;
1279 pointer-events: none;
1280}
1281
1282#hover-status-text {
1283 font-variant-numeric: tabular-nums;
1284}
1285
1286
1287#quests-backdrop,
1288#dialogues-backdrop,
1289#gifts-backdrop,
1290#dialogue-tokens-backdrop {
1291 position: fixed;
1292 inset: 0;
1293 background: rgba(0, 0, 0, 0.62);
1294 z-index: 19;
1295}
1296
1297#dialogue-tokens-backdrop {
1298 z-index: 21;
1299}
1300
1301#dialogue-tokens-modal {
1302 z-index: 22;
1303 inset: 12vh 18vw;
1304 max-width: 720px;
1305 margin: 0 auto;
1306}
1307
1308#quests-modal,
1309#dialogues-modal,
1310#gifts-modal,
1311#dialogue-tokens-modal,
1312#global-changelog-modal {
1313 position: fixed;
1314 inset: 5vh 5vw;
1315 z-index: 20;
1316 display: flex;
1317 flex-direction: column;
1318 background: #161a22;
1319 border: 1px solid #3a4250;
1320 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
1321}
1322
1323#quests-modal,
1324#dialogues-modal {
1325 flex-direction: row;
1326}
1327
1328#quests-main,
1329#dialogues-main {
1330 flex: 1;
1331 min-width: 0;
1332 display: flex;
1333 flex-direction: column;
1334}
1335
1336#quests-modal[hidden],
1337#quests-backdrop[hidden],
1338#dialogues-modal[hidden],
1339#dialogues-backdrop[hidden],
1340#gifts-modal[hidden],
1341#gifts-backdrop[hidden],
1342#dialogue-tokens-modal[hidden],
1343#dialogue-tokens-backdrop[hidden],
1344#global-changelog-modal[hidden],
1345#global-changelog-backdrop[hidden] {
1346 display: none !important;
1347}
1348
1349#global-changelog-backdrop {
1350 position: fixed;
1351 inset: 0;
1352 background: rgba(0, 0, 0, 0.62);
1353 z-index: 19;
1354}
1355
1356#global-changelog-modal {
1357 inset: 6vh 8vw;
1358}
1359
1360#global-changelog-modal>header {
1361 display: flex;
1362 align-items: center;
1363 justify-content: space-between;
1364 gap: 0.75rem;
1365 padding: 0.75rem 1rem;
1366 border-bottom: 1px solid #2c3340;
1367}
1368
1369.global-changelog-body {
1370 flex: 1;
1371 min-height: 0;
1372 overflow: auto;
1373 padding: 0.75rem 1rem 1rem;
1374}
1375
1376.content-editor-log-wrap {
1377 width: min(320px, 30vw);
1378 flex-shrink: 0;
1379 border-left: 1px solid #2c3340;
1380 display: flex;
1381 flex-direction: column;
1382 background: #1a1e26;
1383}
1384
1385.content-editor-log-wrap h2 {
1386 margin: 0;
1387 padding: 0.75rem 1rem;
1388 border-bottom: 1px solid #2c3340;
1389 font-size: 1rem;
1390}
1391
1392#quests-log,
1393#dialogues-log {
1394 flex: 1;
1395 overflow: auto;
1396 padding: 0.75rem 1rem;
1397}
1398
1399#quests-main>header,
1400#dialogues-main>header,
1401#gifts-modal>header,
1402#dialogue-tokens-modal>header,
1403#quests-main>footer,
1404#dialogues-main>footer {
1405 display: flex;
1406 align-items: center;
1407 justify-content: space-between;
1408 gap: 0.75rem;
1409 padding: 0.75rem 1rem;
1410 border-bottom: 1px solid #2c3340;
1411}
1412
1413#quests-main>footer,
1414#dialogues-main>footer {
1415 border-bottom: 0;
1416 border-top: 1px solid #2c3340;
1417 justify-content: flex-end;
1418}
1419
1420.gifts-layout {
1421 flex: 1;
1422 min-height: 0;
1423 display: flex;
1424 overflow: hidden;
1425}
1426
1427.gifts-search-pane {
1428 width: 260px;
1429 flex-shrink: 0;
1430 border-right: 1px solid #2c3340;
1431 padding: 0.65rem;
1432 display: flex;
1433 flex-direction: column;
1434 gap: 0.5rem;
1435 overflow: auto;
1436 background: #12151c;
1437}
1438
1439.gifts-search-label {
1440 display: flex;
1441 flex-direction: column;
1442 gap: 0.35rem;
1443 font-size: 0.85rem;
1444}
1445
1446.gifts-detail {
1447 flex: 1;
1448 min-width: 0;
1449 overflow: auto;
1450 padding: 0.85rem 1rem;
1451 display: flex;
1452 flex-direction: column;
1453 gap: 0.75rem;
1454}
1455
1456.gifts-message-label {
1457 display: flex;
1458 flex-direction: column;
1459 gap: 0.35rem;
1460}
1461
1462.gifts-message-label textarea {
1463 width: 100%;
1464 min-height: 6rem;
1465 resize: vertical;
1466 font: inherit;
1467}
1468
1469.gifts-items-header {
1470 display: flex;
1471 align-items: center;
1472 justify-content: space-between;
1473 gap: 0.5rem;
1474}
1475
1476.gifts-item-list {
1477 display: flex;
1478 flex-direction: column;
1479 gap: 0.35rem;
1480}
1481
1482.gifts-item-row {
1483 display: flex;
1484 align-items: center;
1485 gap: 0.5rem;
1486}
1487
1488.gifts-item-row span {
1489 flex: 1;
1490 min-width: 0;
1491}
1492
1493.gifts-item-row input[type="number"] {
1494 width: 5rem;
1495}
1496
1497.gifts-item-search-results {
1498 display: flex;
1499 flex-direction: column;
1500 gap: 0.2rem;
1501 max-height: 14rem;
1502 min-height: 4rem;
1503 overflow: auto;
1504 border: 1px solid #2c3340;
1505 background: #0f1218;
1506 padding: 0.35rem;
1507}
1508
1509.gifts-item-search-results .shop-item-search-row {
1510 width: 100%;
1511}
1512
1513.gifts-preview-wrap {
1514 display: flex;
1515 flex-direction: column;
1516 gap: 0.4rem;
1517 margin-top: 0.25rem;
1518}
1519
1520.gifts-letter-preview,
1521.gifts-letter-signature {
1522 margin: 0;
1523 padding: 0.75rem;
1524 background: #0f1218;
1525 border: 1px solid #2c3340;
1526 white-space: pre-wrap;
1527 font-family: Georgia, "Times New Roman", serif;
1528 font-size: 0.92rem;
1529 line-height: 1.35;
1530}
1531
1532.gifts-letter-signature {
1533 opacity: 0.9;
1534}
1535
1536#gifts-status.error {
1537 color: #e8a0a0;
1538}
1539
1540.content-editor-layout {
1541 flex: 1;
1542 min-height: 0;
1543 display: flex;
1544 overflow: hidden;
1545}
1546
1547.content-editor-list-pane {
1548 width: 220px;
1549 flex-shrink: 0;
1550 border-right: 1px solid #2c3340;
1551 padding: 0.65rem;
1552 display: flex;
1553 flex-direction: column;
1554 gap: 0.5rem;
1555 overflow: auto;
1556 background: #12151c;
1557}
1558
1559.content-editor-list {
1560 display: flex;
1561 flex-direction: column;
1562 gap: 0.25rem;
1563}
1564
1565.content-editor-list button {
1566 text-align: left;
1567 width: 100%;
1568}
1569
1570.content-editor-list button.active {
1571 border-color: #6b8cae;
1572 background: #1c2838;
1573}
1574
1575.content-editor-detail {
1576 flex: 1;
1577 min-width: 0;
1578 overflow: auto;
1579 padding: 0.75rem 1rem 1rem;
1580}
1581
1582.content-editor-detail label {
1583 display: block;
1584 margin: 0.4rem 0;
1585}
1586
1587.content-editor-detail input[type="text"],
1588.content-editor-detail input[type="number"],
1589.content-editor-detail textarea,
1590.content-editor-detail select {
1591 display: block;
1592 width: 100%;
1593 margin-top: 0.2rem;
1594 box-sizing: border-box;
1595}
1596
1597.content-editor-section {
1598 border: 1px solid #2c3340;
1599 padding: 0.55rem 0.65rem;
1600 margin: 0.55rem 0;
1601 background: #12151c;
1602}
1603
1604.content-editor-section-header {
1605 display: flex;
1606 align-items: center;
1607 justify-content: space-between;
1608 gap: 0.5rem;
1609 margin-bottom: 0.35rem;
1610}
1611
1612.content-editor-row {
1613 display: flex;
1614 flex-wrap: wrap;
1615 gap: 0.35rem;
1616 align-items: center;
1617 margin: 0.35rem 0;
1618}
1619
1620.content-editor-remove,
1621#dialogues-delete,
1622#quests-delete {
1623 color: #f0e8e8;
1624 background: #8a3030;
1625 border-color: #a84848;
1626}
1627
1628.content-editor-remove:hover,
1629#dialogues-delete:hover:not(:disabled),
1630#quests-delete:hover:not(:disabled) {
1631 background: #a83838;
1632 border-color: #c06060;
1633}
1634
1635#dialogues-delete:disabled,
1636#quests-delete:disabled {
1637 opacity: 0.45;
1638}
1639
1640.content-editor-add-step {
1641 display: block;
1642 width: 100%;
1643 margin: 0.35rem 0 0.75rem;
1644 padding: 0.45rem 0.6rem;
1645 color: #9eb0c8;
1646 background: transparent;
1647 border: 1px dashed #3a4558;
1648 cursor: pointer;
1649}
1650
1651.content-editor-add-step:hover {
1652 color: #c5d4e8;
1653 border-color: #5a6a82;
1654 background: #1a2230;
1655}
1656
1657.quest-reward-bank {
1658 display: inline-flex;
1659 align-items: center;
1660 gap: 0.25rem;
1661 white-space: nowrap;
1662 font-size: 0.85rem;
1663}
1664
1665.content-editor-clause {
1666 border: 1px dashed #3a4250;
1667 padding: 0.4rem;
1668 margin: 0.35rem 0;
1669}
1670
1671.content-editor-hint {
1672 color: #8a909c;
1673 font-size: 0.85rem;
1674 margin: 0.25rem 0 0.5rem;
1675}
1676
1677#dialogue-simulate-backdrop {
1678 position: fixed;
1679 inset: 0;
1680 z-index: 80;
1681 background: rgba(0, 0, 0, 0.45);
1682}
1683
1684#dialogue-simulate-panel {
1685 position: fixed;
1686 z-index: 81;
1687 left: 50%;
1688 top: 50%;
1689 transform: translate(-50%, -50%);
1690 width: min(420px, calc(100vw - 2rem));
1691 max-height: min(70vh, 560px);
1692 display: flex;
1693 flex-direction: column;
1694 gap: 0.65rem;
1695 padding: 0.85rem 1rem 1rem;
1696 border-radius: 10px;
1697 background: #161a22;
1698 border: 1px solid #3a4250;
1699 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
1700 color: #e8ecf4;
1701}
1702
1703#dialogue-simulate-panel[hidden],
1704#dialogue-simulate-backdrop[hidden] {
1705 display: none;
1706}
1707
1708#dialogue-simulate-panel > header {
1709 display: flex;
1710 align-items: center;
1711 justify-content: space-between;
1712 gap: 0.5rem;
1713}
1714
1715#dialogue-simulate-lines {
1716 min-height: 4rem;
1717 display: flex;
1718 flex-direction: column;
1719 gap: 0.5rem;
1720 overflow: auto;
1721}
1722
1723.dialogue-simulate-line {
1724 display: flex;
1725 gap: 0.55rem;
1726 align-items: flex-start;
1727}
1728
1729.dialogue-simulate-icon {
1730 flex: 0 0 auto;
1731 border-radius: 6px;
1732 image-rendering: pixelated;
1733}
1734
1735.dialogue-simulate-player {
1736 flex-direction: row-reverse;
1737}
1738
1739#dialogue-simulate-actions {
1740 display: flex;
1741 flex-wrap: wrap;
1742 gap: 0.4rem;
1743}
1744
1745.quest-condition-item-picker {
1746 display: flex;
1747 flex-direction: column;
1748 gap: 0.25rem;
1749 min-width: 12rem;
1750}
1751
1752.quest-condition-pair {
1753 display: flex;
1754 flex-wrap: wrap;
1755 gap: 0.35rem;
1756 align-items: center;
1757}
1758
1759.quest-condition-pair select {
1760 min-width: 10rem;
1761 max-width: 18rem;
1762}
1763
1764.quest-condition-attile {
1765 display: flex;
1766 flex-direction: column;
1767 gap: 0.35rem;
1768 min-width: 14rem;
1769}
1770
1771.quest-condition-tile-info {
1772 margin: 0;
1773 padding: 0.35rem 0.45rem;
1774 max-width: 28rem;
1775 white-space: pre-wrap;
1776 font-size: 0.8rem;
1777 line-height: 1.35;
1778 color: #c5d4e8;
1779 background: #12151c;
1780 border: 1px solid #3a4250;
1781 border-radius: 4px;
1782}
1783
1784.quest-condition-dim {
1785 min-width: 14rem;
1786 max-width: 22rem;
1787}
1788
1789.dialogue-reward-item-search {
1790 display: flex;
1791 flex-direction: column;
1792 gap: 0.35rem;
1793 margin: 0.35rem 0 0.6rem;
1794}
1795
1796.dialogue-reward-item-results {
1797 max-height: 220px;
1798 overflow: auto;
1799 border: 1px solid #3a4250;
1800 border-radius: 4px;
1801 background: #12151c;
1802}
1803
1804.dialogue-item-take-unguaranteed {
1805 background: rgba(224, 168, 74, 0.18);
1806 border: 1px solid #e0a84a;
1807 border-radius: 4px;
1808 padding: 0.2rem 0.35rem;
1809}
1810
1811.dialogue-item-take-unguaranteed .spawner-sells-name {
1812 color: #e8c84a;
1813}
1814
1815.dialogues-header-title {
1816 display: flex;
1817 align-items: center;
1818 gap: 0.55rem;
1819}
1820
1821.dialogues-header-title h2 {
1822 margin: 0;
1823}
1824
1825#dialogues-tokens-help {
1826 width: 1.55rem;
1827 height: 1.55rem;
1828 border-radius: 999px;
1829 border: 1px solid #5a6578;
1830 background: #1c2230;
1831 color: #d6d1c4;
1832 font: inherit;
1833 font-size: 0.85rem;
1834 font-weight: 700;
1835 line-height: 1;
1836 cursor: pointer;
1837 padding: 0;
1838}
1839
1840#dialogues-tokens-help:hover {
1841 border-color: #e0a84a;
1842 color: #e8c84a;
1843}
1844
1845.dialogue-tokens-body {
1846 padding: 0.85rem 1rem 1.1rem;
1847 overflow: auto;
1848 display: flex;
1849 flex-direction: column;
1850 gap: 0.85rem;
1851}
1852
1853.dialogue-tokens-list {
1854 margin: 0;
1855 padding-left: 1.15rem;
1856 display: grid;
1857 gap: 0.25rem;
1858 color: #c5d4e8;
1859 font-size: 0.92rem;
1860}
1861
1862.dialogue-tokens-list code {
1863 color: #e8c84a;
1864 font-size: 0.88rem;
1865}
1866
1867.dialogue-tokens-preview-label {
1868 display: flex;
1869 flex-direction: column;
1870 gap: 0.35rem;
1871 color: #d6d1c4;
1872 font-size: 0.9rem;
1873}
1874
1875.dialogue-tokens-preview-label input {
1876 font: inherit;
1877 padding: 0.45rem 0.6rem;
1878 border: 1px solid #3a4250;
1879 border-radius: 4px;
1880 background: #12151c;
1881 color: #f0ebe0;
1882}
1883
1884.dialogue-tokens-preview-row {
1885 display: grid;
1886 grid-template-columns: 1fr 1fr;
1887 gap: 0.75rem;
1888}
1889
1890.dialogue-tokens-preview-col {
1891 border: 1px solid #2c3340;
1892 border-radius: 4px;
1893 padding: 0.55rem 0.65rem;
1894 background: #12151c;
1895}
1896
1897.dialogue-tokens-preview-col strong {
1898 display: block;
1899 margin-bottom: 0.35rem;
1900 color: #d6d1c4;
1901 font-size: 0.85rem;
1902}
1903
1904.dialogue-tokens-preview-out {
1905 margin: 0;
1906 min-height: 2.4rem;
1907 color: #f0ebe0;
1908 white-space: pre-wrap;
1909 word-break: break-word;
1910}