BlueGit

timfa questward

Files

questward / client / ui / play.css

play.css

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