BlueGit

timfa questward

Files

questward / client / ui / play.css

play.css

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