BlueGit

timfa questward

Files

questward / client / ui / play.css

play.css

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