BlueGit

timfa questward

Files

questward / client / ui / editor.css

editor.css

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