BlueGit

timfa questward

Files

questward / client / ui / play.css

play.css

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