BlueGit

timfa questward

Files

questward / client / ui / play.css

play.css

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