BlueGit

timfa questward

Files

questward / client / ui / play.css

play.css

play.css 21.4 KiB Download Raw
1:root {
2 color-scheme: dark;
3 font-family: "Segoe UI", sans-serif;
4 background: #101216;
5 color: #e8e4d9;
6}
7
8html, body {
9 margin: 0;
10 height: 100%;
11 overflow: hidden;
12}
13
14#hud {
15 position: fixed;
16 z-index: 2;
17 top: 0;
18 left: 0;
19 right: 0;
20 display: flex;
21 gap: 1.25rem;
22 align-items: center;
23 padding: 0.5rem 0.75rem;
24 background: rgba(12, 14, 18, 0.82);
25}
26
27#overlay {
28 position: fixed;
29 inset: 0;
30 z-index: 3;
31 display: grid;
32 place-items: center;
33 background: #101216;
34}
35
36#overlay[hidden], #hud[hidden] {
37 display: none !important;
38}
39
40#toast-stack {
41 position: fixed;
42 top: 3.4rem;
43 left: 50%;
44 transform: translateX(-50%);
45 z-index: 25;
46 display: flex;
47 flex-direction: column;
48 align-items: center;
49 gap: 0.4rem;
50 pointer-events: none;
51 max-width: min(440px, 92vw);
52 width: max-content;
53}
54
55#world-tooltip {
56 position: fixed;
57 z-index: 11;
58 pointer-events: none;
59 max-width: 14rem;
60 padding: 0.3rem 0.5rem;
61 background: rgba(12, 14, 18, 0.92);
62 border: 1px solid #3a4250;
63 color: #e8e4d9;
64 font-size: 0.8rem;
65 line-height: 1.25;
66 box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
67}
68
69#world-tooltip[hidden] {
70 display: none !important;
71}
72
73.toast {
74 box-sizing: border-box;
75 width: 100%;
76 background: rgba(12, 14, 18, 0.94);
77 border: 1px solid #4a5568;
78 padding: 0.5rem 0.9rem;
79 font-size: 0.95rem;
80 text-align: center;
81 color: #f0ebe0;
82 opacity: 0;
83 transform: translateY(-8px);
84 transition: opacity 0.22s ease, transform 0.22s ease;
85}
86
87.toast.toast-visible {
88 opacity: 1;
89 transform: translateY(0);
90}
91
92.toast.toast-leaving {
93 opacity: 0;
94 transform: translateY(-4px);
95}
96
97.panel {
98 width: min(420px, 92vw);
99 background: #1a1e26;
100 border: 1px solid #2c3340;
101 padding: 1.25rem;
102}
103
104label, .character-row {
105 display: flex;
106 gap: 0.5rem;
107 align-items: center;
108 margin: 0.5rem 0;
109}
110
111input, select, button {
112 font: inherit;
113 background: #101216;
114 color: inherit;
115 border: 1px solid #3a4250;
116 padding: 0.3rem 0.5rem;
117}
118
119button {
120 cursor: pointer;
121}
122
123.error { color: #f0a0a0; min-height: 1.2em; }
124.hint { color: #9aa3b2; font-size: 0.9rem; }
125a { color: #d4c48a; }
126
127#nametag {
128 position: fixed;
129 z-index: 4;
130 pointer-events: none;
131 transform: translate(-50%, -100%);
132 background: rgba(12, 14, 18, 0.88);
133 border: 1px solid #3a4250;
134 padding: 0.1rem 0.45rem;
135 font-size: 0.85rem;
136}
137
138#context-menu {
139 position: fixed;
140 z-index: 20;
141 min-width: 140px;
142 background: #161a22;
143 border: 1px solid #3a4250;
144 padding: 0.25rem;
145 display: flex;
146 flex-direction: column;
147 gap: 0.15rem;
148}
149
150#context-menu[hidden] {
151 display: none !important;
152}
153
154#context-menu button {
155 display: block;
156 width: 100%;
157 text-align: left;
158 background: transparent;
159 border: 0;
160 color: #e8ecf4;
161 padding: 0.35rem 0.55rem;
162 cursor: pointer;
163}
164
165#context-menu button:hover {
166 background: #2a3140;
167}
168
169#inspect-backdrop {
170 position: fixed;
171 inset: 0;
172 z-index: 6;
173 background: rgba(0, 0, 0, 0.45);
174}
175
176#inspect-modal {
177 position: fixed;
178 z-index: 7;
179 left: 50%;
180 top: 40%;
181 transform: translate(-50%, -50%);
182 width: min(360px, 92vw);
183 background: #161a22;
184 border: 1px solid #3a4250;
185 padding: 0.85rem 1rem 1rem;
186}
187
188#inspect-modal header {
189 display: flex;
190 align-items: center;
191 justify-content: space-between;
192 gap: 0.75rem;
193}
194
195#inspect-action {
196 display: flex;
197 flex-wrap: wrap;
198 gap: 0.4rem;
199 margin-top: 0.5rem;
200}
201
202#death-backdrop {
203 position: fixed;
204 inset: 0;
205 z-index: 20;
206 background: rgba(0, 0, 0, 0.72);
207}
208
209#death-modal {
210 position: fixed;
211 z-index: 21;
212 left: 50%;
213 top: 42%;
214 transform: translate(-50%, -50%);
215 width: min(380px, 92vw);
216 background: #161a22;
217 border: 1px solid #713b3b;
218 padding: 1rem 1.15rem 1.15rem;
219 text-align: center;
220}
221
222#death-respawn {
223 min-width: 9rem;
224}
225
226#friends-panel {
227 position: fixed;
228 z-index: 5;
229 top: 48px;
230 right: 0.75rem;
231 width: min(280px, 92vw);
232 max-height: calc(100vh - 64px);
233 overflow: auto;
234 background: #1a1e26;
235 border: 1px solid #2c3340;
236 padding: 0.75rem;
237}
238
239#skills-panel {
240 position: fixed;
241 z-index: 5;
242 top: 50%;
243 left: 50%;
244 transform: translate(-50%, -50%);
245 width: min(520px, 94vw);
246 max-height: calc(100vh - 80px);
247 overflow: auto;
248 background: #1a1e26;
249 border: 1px solid #2c3340;
250 padding: 0.75rem;
251 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
252}
253
254.skills-grid {
255 display: grid;
256 grid-template-columns: 1fr 1fr;
257 gap: 0.55rem 0.75rem;
258 margin: 0.5rem 0;
259}
260
261.skill-row {
262 display: flex;
263 gap: 0.55rem;
264 align-items: stretch;
265 min-width: 0;
266}
267
268.skill-icon {
269 flex: 0 0 36px;
270 width: 36px;
271 height: 36px;
272 border-radius: 6px;
273 background: #101216;
274 border: 1px solid #3a4250;
275}
276
277.skill-body {
278 flex: 1;
279 display: flex;
280 flex-direction: column;
281 justify-content: center;
282 gap: 0.25rem;
283 min-width: 0;
284}
285
286.skill-title {
287 font-size: 0.85rem;
288 line-height: 1.2;
289 white-space: nowrap;
290 overflow: hidden;
291 text-overflow: ellipsis;
292}
293
294.skill-xp-track {
295 height: 8px;
296 background: #101216;
297 border: 1px solid #3a4250;
298 border-radius: 4px;
299 overflow: hidden;
300}
301
302.skill-xp-fill {
303 height: 100%;
304 background: linear-gradient(90deg, #6a7a40, #d4c48a);
305 border-radius: 3px;
306 transition: width 0.25s ease-out;
307}
308
309#bag-panel, #bank-panel {
310 position: fixed;
311 z-index: 5;
312 top: 48px;
313 left: 0.75rem;
314 width: min(320px, 92vw);
315 max-height: calc(100vh - 64px);
316 overflow: auto;
317 background: #1a1e26;
318 border: 1px solid #2c3340;
319 padding: 0.75rem;
320}
321
322#bank-panel {
323 left: auto;
324 right: 0.75rem;
325 width: min(340px, 92vw);
326}
327
328#bank-panel header {
329 display: flex;
330 justify-content: space-between;
331 align-items: center;
332}
333
334.bank-tabs {
335 display: flex;
336 gap: 0.25rem;
337 margin: 0.4rem 0;
338}
339
340.bank-tab {
341 flex: 1;
342 font-size: 0.8rem;
343 padding: 0.3rem 0.4rem;
344}
345
346.bank-tab.active {
347 outline: 1px solid #d4c48a;
348}
349
350.item-grid {
351 display: grid;
352 grid-template-columns: repeat(8, 1fr);
353 gap: 0.25rem;
354 margin: 0.4rem 0;
355}
356
357.item-grid.equip {
358 grid-template-columns: repeat(3, 1fr);
359}
360
361.item-slot {
362 position: relative;
363 min-height: 36px;
364 padding: 0.15rem;
365 image-rendering: pixelated;
366}
367
368.item-slot img {
369 width: 100%;
370 height: 32px;
371 object-fit: contain;
372 image-rendering: pixelated;
373}
374
375.item-slot.selected {
376 outline: 2px solid #d4c48a;
377}
378
379.item-slot .qty {
380 position: absolute;
381 right: 2px;
382 bottom: 1px;
383 font-size: 0.7rem;
384}
385
386.bag-actions {
387 display: flex;
388 flex-wrap: wrap;
389 gap: 0.35rem;
390}
391
392.modal-backdrop {
393 position: fixed;
394 inset: 0;
395 z-index: 5;
396 background: rgba(8, 10, 14, 0.55);
397}
398
399#send-panel,
400#send-target-panel,
401#letter-panel,
402#transfer-panel,
403#write-cheque-panel {
404 position: fixed;
405 z-index: 6;
406 top: 50%;
407 left: 50%;
408 transform: translate(-50%, -50%);
409 width: min(380px, 92vw);
410 max-height: min(80vh, 640px);
411 overflow: auto;
412 background: #1a1e26;
413 border: 1px solid #2c3340;
414 padding: 0.85rem 1rem 1rem;
415}
416
417#craft-panel {
418 position: fixed;
419 z-index: 6;
420 top: 50%;
421 left: 50%;
422 transform: translate(-50%, -50%);
423 width: min(560px, 94vw);
424 max-height: min(85vh, 720px);
425 overflow: auto;
426 background: #1a1e26;
427 border: 1px solid #2c3340;
428 padding: 0.85rem 1rem 1rem;
429}
430
431#craft-panel header {
432 display: flex;
433 justify-content: space-between;
434 align-items: center;
435 margin-bottom: 0.5rem;
436}
437
438#cauldron-panel,
439#cauldron-pick-panel,
440#cauldron-dye-confirm-panel {
441 position: fixed;
442 z-index: 6;
443 top: 50%;
444 left: 50%;
445 transform: translate(-50%, -50%);
446 width: min(360px, 92vw);
447 max-height: min(85vh, 720px);
448 overflow: auto;
449 background: #1a1e26;
450 border: 1px solid #2c3340;
451 padding: 0.85rem 1rem 1rem;
452}
453
454#cauldron-pick-panel,
455#cauldron-dye-confirm-panel {
456 z-index: 7;
457 width: min(420px, 94vw);
458}
459
460#cauldron-panel header,
461#cauldron-pick-panel header,
462#cauldron-dye-confirm-panel header {
463 display: flex;
464 justify-content: space-between;
465 align-items: center;
466 margin-bottom: 0.5rem;
467}
468
469.cauldron-tabs {
470 display: flex;
471 gap: 0.35rem;
472 margin-bottom: 0.65rem;
473}
474
475.cauldron-tab {
476 flex: 1;
477}
478
479.cauldron-tab.active {
480 border-color: #d4c48a;
481 background: #2a3140;
482}
483
484.cauldron-slots,
485.cauldron-inserts {
486 display: grid;
487 grid-template-columns: repeat(4, 1fr);
488 gap: 0.35rem;
489 margin-bottom: 0.35rem;
490}
491
492.cauldron-dye-slots {
493 grid-template-columns: repeat(3, 1fr);
494}
495
496.cauldron-slot,
497.cauldron-insert,
498.cauldron-pick-item {
499 min-height: 3rem;
500 display: grid;
501 place-items: center;
502 position: relative;
503 background: #12151c;
504}
505
506.cauldron-slot img,
507.cauldron-pick-item img {
508 width: 32px;
509 height: 32px;
510 image-rendering: pixelated;
511}
512
513.cauldron-slot .qty {
514 position: absolute;
515 right: 0.2rem;
516 bottom: 0.1rem;
517 font-size: 0.75rem;
518}
519
520.cauldron-vessel {
521 text-align: center;
522 font-size: 2rem;
523 margin: 0.35rem 0;
524 opacity: 0.85;
525}
526
527.cauldron-flavor {
528 margin: 0.15rem 0 0.45rem;
529 font-style: italic;
530 color: #c8c0a8;
531 font-size: 0.92rem;
532 text-align: center;
533}
534
535.cauldron-actions,
536.cauldron-finish {
537 display: flex;
538 flex-wrap: wrap;
539 gap: 0.35rem;
540 margin: 0.35rem 0;
541}
542
543.cauldron-actions button:disabled {
544 opacity: 0.4;
545 cursor: not-allowed;
546}
547
548.cauldron-steps {
549 margin: 0.5rem 0 0;
550 padding-left: 1.2rem;
551 color: #9aa3b2;
552 font-size: 0.9rem;
553}
554
555.cauldron-pick-list {
556 display: grid;
557 gap: 0.35rem;
558 max-height: 40vh;
559 overflow: auto;
560 margin-bottom: 0.5rem;
561}
562
563.cauldron-pick-item {
564 grid-template-columns: 36px 1fr;
565 justify-items: start;
566 padding: 0.35rem 0.5rem;
567 gap: 0.5rem;
568}
569
570.cauldron-pick-item.selected {
571 border-color: #d4c48a;
572}
573
574.cauldron-pick-qty {
575 display: flex;
576 gap: 0.5rem;
577 align-items: center;
578 margin-bottom: 0.5rem;
579}
580
581.craft-layout {
582 display: grid;
583 grid-template-columns: 1fr 1fr;
584 gap: 0.75rem;
585 align-items: start;
586}
587
588@media (max-width: 520px) {
589 .craft-layout {
590 grid-template-columns: 1fr;
591 }
592}
593
594.craft-recipe-grid {
595 display: grid;
596 grid-template-columns: repeat(3, 1fr);
597 gap: 0.35rem;
598}
599
600.craft-recipe-cell {
601 display: flex;
602 flex-direction: column;
603 align-items: center;
604 gap: 0.2rem;
605 padding: 0.35rem 0.25rem;
606 min-height: 72px;
607 background: #12151c;
608 border: 1px solid #2c3340;
609 cursor: pointer;
610}
611
612.craft-recipe-cell.selected {
613 outline: 2px solid #d4c48a;
614}
615
616.craft-recipe-cell img {
617 width: 32px;
618 height: 32px;
619 object-fit: contain;
620 image-rendering: pixelated;
621}
622
623.craft-dye-cell {
624 min-height: 48px;
625 justify-content: center;
626}
627
628.craft-recipe-name {
629 font-size: 0.72rem;
630 text-align: center;
631 line-height: 1.15;
632 word-break: break-word;
633}
634
635.craft-detail {
636 min-height: 160px;
637 padding: 0.35rem;
638 background: #12151c;
639 border: 1px solid #2c3340;
640}
641
642.craft-output {
643 display: flex;
644 flex-direction: column;
645 align-items: center;
646 gap: 0.25rem;
647 margin-bottom: 0.5rem;
648}
649
650.craft-output img {
651 width: 48px;
652 height: 48px;
653 object-fit: contain;
654 image-rendering: pixelated;
655}
656
657.craft-output h3 {
658 margin: 0;
659 font-size: 0.95rem;
660 text-align: center;
661}
662
663.craft-inputs {
664 list-style: none;
665 margin: 0 0 0.5rem;
666 padding: 0;
667}
668
669.craft-input-row {
670 display: flex;
671 align-items: center;
672 gap: 0.4rem;
673 margin-bottom: 0.35rem;
674 font-size: 0.85rem;
675}
676
677.craft-input-row.short {
678 color: #c07070;
679}
680
681.craft-input-row img {
682 width: 24px;
683 height: 24px;
684 object-fit: contain;
685 image-rendering: pixelated;
686}
687
688.craft-progress {
689 height: 8px;
690 margin: 0.4rem 0;
691 background: #0e1014;
692 border: 1px solid #2c3340;
693 border-radius: 2px;
694 overflow: hidden;
695}
696
697.craft-progress-fill {
698 height: 100%;
699 width: 0%;
700 background: linear-gradient(90deg, #6a7a40, #d4c48a);
701 transition: width 0.05s linear;
702}
703
704#craft-button {
705 width: 100%;
706 margin-top: 0.25rem;
707}
708
709#craft-button:disabled {
710 opacity: 0.45;
711}
712
713#send-target-panel {
714 z-index: 7;
715}
716
717#send-panel header,
718#send-target-panel header,
719#letter-panel header,
720#transfer-panel header,
721#write-cheque-panel header {
722 display: flex;
723 justify-content: space-between;
724 align-items: center;
725 gap: 0.5rem;
726 margin-bottom: 0.5rem;
727}
728
729#send-panel[hidden],
730#send-target-panel[hidden],
731#letter-panel[hidden],
732#transfer-panel[hidden],
733#write-cheque-panel[hidden],
734.modal-backdrop[hidden] {
735 display: none !important;
736}
737
738.send-item {
739 display: flex;
740 align-items: center;
741 gap: 0.75rem;
742 margin: 0.5rem 0;
743}
744
745.send-item img {
746 width: 48px;
747 height: 48px;
748 object-fit: contain;
749 image-rendering: pixelated;
750}
751
752.send-row {
753 display: flex;
754 flex-direction: column;
755 gap: 0.25rem;
756 margin: 0.5rem 0;
757 font-size: 0.9rem;
758}
759
760.send-target-row {
761 display: flex;
762 align-items: center;
763 gap: 0.65rem;
764 width: 100%;
765 text-align: left;
766 margin: 0.3rem 0;
767}
768
769.send-target-text {
770 display: flex;
771 flex-direction: column;
772 gap: 0.1rem;
773}
774
775.send-search {
776 display: flex;
777 flex-wrap: wrap;
778 gap: 0.35rem;
779 margin-top: 0.75rem;
780}
781
782.send-search input {
783 flex: 1 1 6rem;
784}
785
786.char-preview {
787 position: relative;
788 width: 36px;
789 height: 48px;
790 flex: 0 0 auto;
791 image-rendering: pixelated;
792 background: #101216;
793 border: 1px solid #2c3340;
794}
795
796.char-preview img {
797 position: absolute;
798 inset: 0;
799 width: 100%;
800 height: 100%;
801 object-fit: contain;
802 image-rendering: pixelated;
803}
804
805#letter-body {
806 display: block;
807 width: 100%;
808 box-sizing: border-box;
809 margin: 0;
810 padding: 0;
811 border: none;
812 outline: none;
813 resize: none;
814 overflow: hidden;
815 background: transparent;
816 color: inherit;
817 font: inherit;
818 line-height: 1.45;
819 min-height: 8rem;
820 field-sizing: content;
821}
822
823.letter-paper {
824 background: #f4f0e4;
825 color: #1c1814;
826 padding: 1.25rem 1.35rem;
827 margin: 0.35rem 0 0.75rem;
828 max-height: min(55vh, 420px);
829 overflow-y: auto;
830 scrollbar-width: none;
831 -ms-overflow-style: none;
832 box-shadow: inset 0 0 0 1px rgba(40, 32, 24, 0.08);
833}
834
835.letter-paper::-webkit-scrollbar {
836 display: none;
837 width: 0;
838 height: 0;
839}
840
841.letter-signature {
842 margin: 1.35rem 0 0;
843 padding: 0;
844 border: none;
845 background: transparent;
846 white-space: pre-wrap;
847 font: inherit;
848 color: inherit;
849 line-height: 1.45;
850}
851
852#friends-panel h2, #friends-panel h3 {
853 margin: 0.4rem 0;
854 font-size: 0.95rem;
855}
856
857.social-row {
858 display: flex;
859 flex-wrap: wrap;
860 gap: 0.35rem;
861 align-items: center;
862 margin: 0.35rem 0;
863}
864
865#inspect-modal[hidden],
866#inspect-backdrop[hidden],
867#death-modal[hidden],
868#death-backdrop[hidden],
869#friends-panel[hidden],
870#skills-panel[hidden],
871#bag-panel[hidden],
872#bank-panel[hidden],
873#craft-panel[hidden],
874#craft-backdrop[hidden],
875#cauldron-panel[hidden],
876#cauldron-backdrop[hidden],
877#cauldron-pick-panel[hidden],
878#cauldron-pick-backdrop[hidden],
879#cauldron-dye-confirm-panel[hidden],
880#cauldron-dye-confirm-backdrop[hidden],
881#shop-panel[hidden],
882#shop-backdrop[hidden],
883#shop-qty-panel[hidden],
884#shop-qty-backdrop[hidden],
885#nametag[hidden],
886#chat-bar[hidden],
887.shop-detail[hidden],
888.shop-bag-warn[hidden] {
889 display: none !important;
890}
891
892#chat-bar {
893 position: fixed;
894 z-index: 5;
895 left: 50%;
896 bottom: 1.25rem;
897 transform: translateX(-50%);
898 width: min(640px, calc(100vw - 2rem));
899}
900
901#chat-bar input {
902 width: 100%;
903 box-sizing: border-box;
904 padding: 0.55rem 0.75rem;
905 background: rgba(12, 14, 18, 0.92);
906}
907
908#stamina-bar {
909 position: fixed;
910 z-index: 4;
911 right: 1rem;
912 bottom: 1.25rem;
913 width: 14px;
914 height: 120px;
915 padding: 3px;
916 box-sizing: border-box;
917 background: rgba(12, 14, 18, 0.82);
918 border: 1px solid #3a4250;
919 display: flex;
920 flex-direction: column;
921 justify-content: flex-end;
922 align-items: stretch;
923}
924
925#stamina-bar[hidden] {
926 display: none !important;
927}
928
929#stamina-bar-fill {
930 flex: 1;
931 width: 100%;
932 transform-origin: bottom center;
933 transform: scaleY(1);
934 background: linear-gradient(180deg, #6ecf8a 0%, #3a8a58 100%);
935 border-radius: 1px;
936 transition: transform 80ms linear;
937}
938
939#stamina-bar.empty #stamina-bar-fill {
940 background: #4a3030;
941}
942
943#stamina-bar.low #stamina-bar-fill {
944 background: linear-gradient(180deg, #d4c48a 0%, #a08040 100%);
945}
946
947.stamina-bar-label {
948 position: absolute;
949 right: calc(100% + 0.4rem);
950 bottom: 0;
951 font-size: 0.75rem;
952 color: #9aa3b2;
953 white-space: nowrap;
954 pointer-events: none;
955}
956
957#damage-numbers {
958 position: fixed;
959 inset: 0;
960 z-index: 4;
961 pointer-events: none;
962 overflow: hidden;
963}
964
965.damage-number {
966 position: absolute;
967 transform: translate(-50%, -100%);
968 font-size: 0.85rem;
969 font-weight: 700;
970 color: #fff;
971 text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
972 white-space: nowrap;
973 pointer-events: none;
974 user-select: none;
975}
976
977#skill-level-floats {
978 position: fixed;
979 inset: 0;
980 z-index: 4;
981 pointer-events: none;
982 overflow: hidden;
983}
984
985.skill-level-float {
986 position: absolute;
987 transform: translate(-50%, -100%);
988 display: flex;
989 flex-direction: column;
990 align-items: center;
991 gap: 0.15rem;
992 pointer-events: none;
993 user-select: none;
994}
995
996.skill-level-float-level {
997 font-size: 0.8rem;
998 font-weight: 700;
999 color: #ffe8a8;
1000 text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
1001 line-height: 1;
1002 letter-spacing: 0.02em;
1003}
1004
1005.skill-level-float-icon {
1006 width: 28px;
1007 height: 28px;
1008 image-rendering: pixelated;
1009 filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.85));
1010}
1011
1012#shop-panel {
1013 position: fixed;
1014 z-index: 6;
1015 top: 50%;
1016 left: 50%;
1017 transform: translate(-50%, -50%);
1018 width: min(560px, 94vw);
1019 max-height: min(75vh, 560px);
1020 display: flex;
1021 flex-direction: column;
1022 background: #1a1e26;
1023 border: 1px solid #2c3340;
1024 padding: 0.75rem 1rem 1rem;
1025}
1026
1027#shop-panel header {
1028 display: flex;
1029 justify-content: space-between;
1030 align-items: center;
1031 gap: 0.75rem;
1032 margin-bottom: 0.75rem;
1033}
1034
1035.shop-body {
1036 display: grid;
1037 grid-template-columns: 1fr minmax(180px, 42%);
1038 gap: 0.85rem;
1039 min-height: 0;
1040 flex: 1;
1041 overflow: hidden;
1042}
1043
1044.shop-grid {
1045 display: grid;
1046 grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
1047 gap: 0.35rem;
1048 align-content: start;
1049 overflow: auto;
1050 padding: 0.15rem;
1051 min-height: 120px;
1052 max-height: min(50vh, 360px);
1053}
1054
1055.shop-cell {
1056 width: 40px;
1057 height: 40px;
1058 padding: 0;
1059 display: grid;
1060 place-items: center;
1061 background: #12151c;
1062 border: 1px solid #2c3340;
1063 cursor: pointer;
1064}
1065
1066.shop-cell.selected {
1067 border-color: #8ab4ff;
1068 box-shadow: inset 0 0 0 1px #8ab4ff;
1069}
1070
1071.shop-cell img {
1072 width: 32px;
1073 height: 32px;
1074 image-rendering: pixelated;
1075}
1076
1077.shop-detail {
1078 display: flex;
1079 flex-direction: column;
1080 gap: 0.4rem;
1081 align-items: flex-start;
1082 padding: 0.35rem 0.15rem;
1083 border-left: 1px solid #2c3340;
1084 padding-left: 0.85rem;
1085 min-width: 0;
1086}
1087
1088.shop-detail img {
1089 width: 48px;
1090 height: 48px;
1091 image-rendering: pixelated;
1092}
1093
1094.shop-buy-row {
1095 display: flex;
1096 flex-wrap: wrap;
1097 gap: 0.35rem;
1098 margin-top: 0.25rem;
1099}
1100
1101.shop-bag-warn {
1102 margin: 0.35rem 0 0;
1103 color: #e6b35a;
1104 font-size: 0.85rem;
1105 line-height: 1.3;
1106}
1107
1108.shop-coins {
1109 margin: 0.75rem 0 0;
1110 padding-top: 0.55rem;
1111 border-top: 1px solid #2c3340;
1112 font-weight: 600;
1113}
1114
1115.shop-sell-section {
1116 margin-top: 0.75rem;
1117 padding-top: 0.55rem;
1118 border-top: 1px solid #2c3340;
1119 display: flex;
1120 flex-direction: column;
1121 gap: 0.4rem;
1122}
1123
1124.shop-sell-list {
1125 display: flex;
1126 flex-direction: column;
1127 gap: 0.3rem;
1128 max-height: 8rem;
1129 overflow: auto;
1130}
1131
1132.shop-sell-row {
1133 display: flex;
1134 align-items: center;
1135 justify-content: space-between;
1136 gap: 0.5rem;
1137 width: 100%;
1138 text-align: left;
1139 background: transparent;
1140 border: 1px solid transparent;
1141 color: inherit;
1142 padding: 0.2rem 0.35rem;
1143 cursor: pointer;
1144}
1145
1146.shop-sell-row.selected {
1147 border-color: #4a5568;
1148 background: #222833;
1149}
1150
1151.shop-sell-detail {
1152 display: flex;
1153 flex-direction: column;
1154 align-items: flex-start;
1155 gap: 0.25rem;
1156 margin-top: 0.35rem;
1157}
1158
1159#shop-qty-panel {
1160 position: fixed;
1161 z-index: 7;
1162 top: 50%;
1163 left: 50%;
1164 transform: translate(-50%, -50%);
1165 width: min(320px, 92vw);
1166 background: #1a1e26;
1167 border: 1px solid #2c3340;
1168 padding: 0.75rem 1rem 1rem;
1169}
1170
1171#shop-qty-panel header {
1172 display: flex;
1173 justify-content: space-between;
1174 align-items: center;
1175 gap: 0.75rem;
1176 margin-bottom: 0.75rem;
1177}
1178
1179#market-panel {
1180 position: fixed;
1181 z-index: 6;
1182 top: 50%;
1183 left: 50%;
1184 transform: translate(-50%, -50%);
1185 width: min(480px, 94vw);
1186 max-height: min(85vh, 720px);
1187 overflow: auto;
1188 background: #1a1e26;
1189 border: 1px solid #2c3340;
1190 padding: 0.75rem 1rem 1rem;
1191}
1192
1193#market-panel[hidden],
1194#market-backdrop[hidden] {
1195 display: none !important;
1196}
1197
1198#market-panel header {
1199 display: flex;
1200 justify-content: space-between;
1201 align-items: center;
1202 gap: 0.75rem;
1203 margin-bottom: 0.5rem;
1204}
1205
1206.market-tabs {
1207 display: flex;
1208 gap: 0.25rem;
1209 margin: 0.5rem 0 0.75rem;
1210}
1211
1212.market-tab {
1213 flex: 1;
1214 font-size: 0.85rem;
1215 padding: 0.35rem 0.4rem;
1216 background: #12151b;
1217 border: 1px solid #2c3340;
1218 color: inherit;
1219}
1220
1221.market-tab.active {
1222 outline: 1px solid #6a8caf;
1223 border-color: #6a8caf;
1224}
1225
1226.market-pane {
1227 margin-top: 0.25rem;
1228}
1229
1230.market-catalog {
1231 display: flex;
1232 flex-direction: column;
1233 gap: 0.25rem;
1234 max-height: 220px;
1235 overflow: auto;
1236 margin-bottom: 0.5rem;
1237}
1238
1239#market-sell-list.item-grid {
1240 max-height: none;
1241 margin-bottom: 0.5rem;
1242}
1243
1244.market-catalog-row,
1245.market-order-row {
1246 display: flex;
1247 align-items: center;
1248 justify-content: space-between;
1249 gap: 0.5rem;
1250 background: #12151b;
1251 border: 1px solid #2c3340;
1252 color: inherit;
1253 padding: 0.35rem 0.5rem;
1254 text-align: left;
1255}
1256
1257.market-catalog-row.selected {
1258 border-color: #6a8caf;
1259}
1260
1261#market-sell-list .item-slot.disabled {
1262 opacity: 0.4;
1263}
1264
1265#market-sell-qty:disabled,
1266#market-sell-qty[readonly] {
1267 opacity: 0.7;
1268}
1269
1270.market-sell-actions {
1271 display: flex;
1272 align-items: flex-end;
1273 justify-content: space-between;
1274 gap: 0.75rem;
1275 margin-top: 0.5rem;
1276}
1277
1278.market-price-suggest {
1279 margin: 0;
1280 padding: 0;
1281 border: none;
1282 background: transparent;
1283 color: #9aa3b2;
1284 font: inherit;
1285 font-size: 0.85rem;
1286 text-align: right;
1287 cursor: pointer;
1288}
1289
1290.market-price-suggest:hover {
1291 color: #d4c48a;
1292 text-decoration: underline;
1293}
1294
1295
1296#shop-qty-backdrop {
1297 z-index: 7;
1298}
1299
1300.chat-bubble {
1301 position: fixed;
1302 z-index: 4;
1303 pointer-events: none;
1304 transform: translate(-50%, -100%);
1305 max-width: min(280px, 70vw);
1306 background: rgba(16, 18, 24, 0.92);
1307 border: 1px solid #3a4250;
1308 border-radius: 8px;
1309 padding: 0.3rem 0.55rem;
1310 font-size: 0.9rem;
1311 line-height: 1.25;
1312 white-space: pre-wrap;
1313 word-break: break-word;
1314}
1315
1316.chat-bubble[hidden] {
1317 display: none !important;
1318}
1319
1320.item-bubble {
1321 position: fixed;
1322 z-index: 4;
1323 pointer-events: none;
1324 transform: translate(-50%, -100%) scale(0.5);
1325 transform-origin: bottom center;
1326 background: rgba(16, 18, 24, 0.92);
1327 border: 1px solid #3a4250;
1328 border-radius: 8px;
1329 padding: 0.35rem;
1330 line-height: 0;
1331}
1332
1333.item-bubble img {
1334 display: block;
1335 width: 32px;
1336 height: 32px;
1337 image-rendering: pixelated;
1338}
1339
1340.item-bubble[hidden] {
1341 display: none !important;
1342}