BlueGit

timfa questward

Files

questward / client / ui / editor.css

editor.css

editor.css 26.6 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 position: fixed;
1290 inset: 0;
1291 background: rgba(0, 0, 0, 0.62);
1292 z-index: 19;
1293}
1294
1295#quests-modal,
1296#dialogues-modal,
1297#gifts-modal {
1298 position: fixed;
1299 inset: 5vh 5vw;
1300 z-index: 20;
1301 display: flex;
1302 flex-direction: column;
1303 background: #161a22;
1304 border: 1px solid #3a4250;
1305 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
1306}
1307
1308#quests-modal[hidden],
1309#quests-backdrop[hidden],
1310#dialogues-modal[hidden],
1311#dialogues-backdrop[hidden],
1312#gifts-modal[hidden],
1313#gifts-backdrop[hidden] {
1314 display: none !important;
1315}
1316
1317#quests-modal>header,
1318#dialogues-modal>header,
1319#gifts-modal>header,
1320#quests-modal>footer,
1321#dialogues-modal>footer {
1322 display: flex;
1323 align-items: center;
1324 justify-content: space-between;
1325 gap: 0.75rem;
1326 padding: 0.75rem 1rem;
1327 border-bottom: 1px solid #2c3340;
1328}
1329
1330#quests-modal>footer,
1331#dialogues-modal>footer {
1332 border-bottom: 0;
1333 border-top: 1px solid #2c3340;
1334 justify-content: flex-end;
1335}
1336
1337.gifts-layout {
1338 flex: 1;
1339 min-height: 0;
1340 display: flex;
1341 overflow: hidden;
1342}
1343
1344.gifts-search-pane {
1345 width: 260px;
1346 flex-shrink: 0;
1347 border-right: 1px solid #2c3340;
1348 padding: 0.65rem;
1349 display: flex;
1350 flex-direction: column;
1351 gap: 0.5rem;
1352 overflow: auto;
1353 background: #12151c;
1354}
1355
1356.gifts-search-label {
1357 display: flex;
1358 flex-direction: column;
1359 gap: 0.35rem;
1360 font-size: 0.85rem;
1361}
1362
1363.gifts-detail {
1364 flex: 1;
1365 min-width: 0;
1366 overflow: auto;
1367 padding: 0.85rem 1rem;
1368 display: flex;
1369 flex-direction: column;
1370 gap: 0.75rem;
1371}
1372
1373.gifts-message-label {
1374 display: flex;
1375 flex-direction: column;
1376 gap: 0.35rem;
1377}
1378
1379.gifts-message-label textarea {
1380 width: 100%;
1381 min-height: 6rem;
1382 resize: vertical;
1383 font: inherit;
1384}
1385
1386.gifts-items-header {
1387 display: flex;
1388 align-items: center;
1389 justify-content: space-between;
1390 gap: 0.5rem;
1391}
1392
1393.gifts-item-list {
1394 display: flex;
1395 flex-direction: column;
1396 gap: 0.35rem;
1397}
1398
1399.gifts-item-row {
1400 display: flex;
1401 align-items: center;
1402 gap: 0.5rem;
1403}
1404
1405.gifts-item-row span {
1406 flex: 1;
1407 min-width: 0;
1408}
1409
1410.gifts-item-row input[type="number"] {
1411 width: 5rem;
1412}
1413
1414.gifts-item-search-results {
1415 display: flex;
1416 flex-direction: column;
1417 gap: 0.2rem;
1418 max-height: 14rem;
1419 min-height: 4rem;
1420 overflow: auto;
1421 border: 1px solid #2c3340;
1422 background: #0f1218;
1423 padding: 0.35rem;
1424}
1425
1426.gifts-item-search-results .shop-item-search-row {
1427 width: 100%;
1428}
1429
1430.gifts-preview-wrap {
1431 display: flex;
1432 flex-direction: column;
1433 gap: 0.4rem;
1434 margin-top: 0.25rem;
1435}
1436
1437.gifts-letter-preview,
1438.gifts-letter-signature {
1439 margin: 0;
1440 padding: 0.75rem;
1441 background: #0f1218;
1442 border: 1px solid #2c3340;
1443 white-space: pre-wrap;
1444 font-family: Georgia, "Times New Roman", serif;
1445 font-size: 0.92rem;
1446 line-height: 1.35;
1447}
1448
1449.gifts-letter-signature {
1450 opacity: 0.9;
1451}
1452
1453#gifts-status.error {
1454 color: #e8a0a0;
1455}
1456
1457.content-editor-layout {
1458 flex: 1;
1459 min-height: 0;
1460 display: flex;
1461 overflow: hidden;
1462}
1463
1464.content-editor-list-pane {
1465 width: 220px;
1466 flex-shrink: 0;
1467 border-right: 1px solid #2c3340;
1468 padding: 0.65rem;
1469 display: flex;
1470 flex-direction: column;
1471 gap: 0.5rem;
1472 overflow: auto;
1473 background: #12151c;
1474}
1475
1476.content-editor-list {
1477 display: flex;
1478 flex-direction: column;
1479 gap: 0.25rem;
1480}
1481
1482.content-editor-list button {
1483 text-align: left;
1484 width: 100%;
1485}
1486
1487.content-editor-list button.active {
1488 border-color: #6b8cae;
1489 background: #1c2838;
1490}
1491
1492.content-editor-detail {
1493 flex: 1;
1494 min-width: 0;
1495 overflow: auto;
1496 padding: 0.75rem 1rem 1rem;
1497}
1498
1499.content-editor-detail label {
1500 display: block;
1501 margin: 0.4rem 0;
1502}
1503
1504.content-editor-detail input[type="text"],
1505.content-editor-detail input[type="number"],
1506.content-editor-detail textarea,
1507.content-editor-detail select {
1508 display: block;
1509 width: 100%;
1510 margin-top: 0.2rem;
1511 box-sizing: border-box;
1512}
1513
1514.content-editor-section {
1515 border: 1px solid #2c3340;
1516 padding: 0.55rem 0.65rem;
1517 margin: 0.55rem 0;
1518 background: #12151c;
1519}
1520
1521.content-editor-section-header {
1522 display: flex;
1523 align-items: center;
1524 justify-content: space-between;
1525 gap: 0.5rem;
1526 margin-bottom: 0.35rem;
1527}
1528
1529.content-editor-row {
1530 display: flex;
1531 flex-wrap: wrap;
1532 gap: 0.35rem;
1533 align-items: center;
1534 margin: 0.35rem 0;
1535}
1536
1537.content-editor-remove,
1538#dialogues-delete {
1539 color: #f0e8e8;
1540 background: #8a3030;
1541 border-color: #a84848;
1542}
1543
1544.content-editor-remove:hover,
1545#dialogues-delete:hover:not(:disabled) {
1546 background: #a83838;
1547 border-color: #c06060;
1548}
1549
1550#dialogues-delete:disabled {
1551 opacity: 0.45;
1552}
1553
1554.content-editor-add-step {
1555 display: block;
1556 width: 100%;
1557 margin: 0.35rem 0 0.75rem;
1558 padding: 0.45rem 0.6rem;
1559 color: #9eb0c8;
1560 background: transparent;
1561 border: 1px dashed #3a4558;
1562 cursor: pointer;
1563}
1564
1565.content-editor-add-step:hover {
1566 color: #c5d4e8;
1567 border-color: #5a6a82;
1568 background: #1a2230;
1569}
1570
1571.content-editor-clause {
1572 border: 1px dashed #3a4250;
1573 padding: 0.4rem;
1574 margin: 0.35rem 0;
1575}
1576
1577.content-editor-hint {
1578 color: #8a909c;
1579 font-size: 0.85rem;
1580 margin: 0.25rem 0 0.5rem;
1581}
1582
1583#dialogue-simulate-backdrop {
1584 position: fixed;
1585 inset: 0;
1586 z-index: 80;
1587 background: rgba(0, 0, 0, 0.45);
1588}
1589
1590#dialogue-simulate-panel {
1591 position: fixed;
1592 z-index: 81;
1593 left: 50%;
1594 top: 50%;
1595 transform: translate(-50%, -50%);
1596 width: min(420px, calc(100vw - 2rem));
1597 max-height: min(70vh, 560px);
1598 display: flex;
1599 flex-direction: column;
1600 gap: 0.65rem;
1601 padding: 0.85rem 1rem 1rem;
1602 border-radius: 10px;
1603 background: #161a22;
1604 border: 1px solid #3a4250;
1605 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
1606 color: #e8ecf4;
1607}
1608
1609#dialogue-simulate-panel[hidden],
1610#dialogue-simulate-backdrop[hidden] {
1611 display: none;
1612}
1613
1614#dialogue-simulate-panel > header {
1615 display: flex;
1616 align-items: center;
1617 justify-content: space-between;
1618 gap: 0.5rem;
1619}
1620
1621#dialogue-simulate-lines {
1622 min-height: 4rem;
1623 display: flex;
1624 flex-direction: column;
1625 gap: 0.5rem;
1626 overflow: auto;
1627}
1628
1629.dialogue-simulate-line {
1630 display: flex;
1631 gap: 0.55rem;
1632 align-items: flex-start;
1633}
1634
1635.dialogue-simulate-icon {
1636 flex: 0 0 auto;
1637 border-radius: 6px;
1638 image-rendering: pixelated;
1639}
1640
1641.dialogue-simulate-player {
1642 flex-direction: row-reverse;
1643}
1644
1645#dialogue-simulate-actions {
1646 display: flex;
1647 flex-wrap: wrap;
1648 gap: 0.4rem;
1649}
1650
1651.quest-condition-item-picker {
1652 display: flex;
1653 flex-direction: column;
1654 gap: 0.25rem;
1655 min-width: 12rem;
1656}
1657
1658.quest-condition-pair {
1659 display: flex;
1660 flex-wrap: wrap;
1661 gap: 0.35rem;
1662 align-items: center;
1663}
1664
1665.quest-condition-pair select {
1666 min-width: 10rem;
1667 max-width: 18rem;
1668}
1669
1670.quest-condition-attile {
1671 display: flex;
1672 flex-direction: column;
1673 gap: 0.35rem;
1674 min-width: 14rem;
1675}
1676
1677.quest-condition-tile-info {
1678 margin: 0;
1679 padding: 0.35rem 0.45rem;
1680 max-width: 28rem;
1681 white-space: pre-wrap;
1682 font-size: 0.8rem;
1683 line-height: 1.35;
1684 color: #c5d4e8;
1685 background: #12151c;
1686 border: 1px solid #3a4250;
1687 border-radius: 4px;
1688}
1689
1690.quest-condition-dim {
1691 min-width: 14rem;
1692 max-width: 22rem;
1693}
1694
1695.dialogue-reward-item-search {
1696 display: flex;
1697 flex-direction: column;
1698 gap: 0.35rem;
1699 margin: 0.35rem 0 0.6rem;
1700}
1701
1702.dialogue-reward-item-results {
1703 max-height: 220px;
1704 overflow: auto;
1705 border: 1px solid #3a4250;
1706 border-radius: 4px;
1707 background: #12151c;
1708}