| 1 | :root { |
| 2 | color-scheme: dark; |
| 3 | font-family: "Segoe UI", sans-serif; |
| 4 | background: #101216; |
| 5 | color: #e8e4d9; |
| 6 | } |
| 7 | |
| 8 | html, body { |
| 9 | margin: 0; |
| 10 | height: 100%; |
| 11 | overflow: hidden; |
| 12 | } |
| 13 | |
| 14 | #hud { |
| 15 | position: fixed; |
| 16 | z-index: 2; |
| 17 | top: 0; |
| 18 | left: 0; |
| 19 | right: 0; |
| 20 | display: flex; |
| 21 | gap: 1.25rem; |
| 22 | align-items: center; |
| 23 | padding: 0.5rem 0.75rem; |
| 24 | background: rgba(12, 14, 18, 0.82); |
| 25 | } |
| 26 | |
| 27 | #overlay { |
| 28 | position: fixed; |
| 29 | inset: 0; |
| 30 | z-index: 3; |
| 31 | display: grid; |
| 32 | place-items: center; |
| 33 | background: #101216; |
| 34 | } |
| 35 | |
| 36 | #overlay[hidden], #hud[hidden] { |
| 37 | display: none !important; |
| 38 | } |
| 39 | |
| 40 | .panel { |
| 41 | width: min(420px, 92vw); |
| 42 | background: #1a1e26; |
| 43 | border: 1px solid #2c3340; |
| 44 | padding: 1.25rem; |
| 45 | } |
| 46 | |
| 47 | label, .character-row { |
| 48 | display: flex; |
| 49 | gap: 0.5rem; |
| 50 | align-items: center; |
| 51 | margin: 0.5rem 0; |
| 52 | } |
| 53 | |
| 54 | input, select, button { |
| 55 | font: inherit; |
| 56 | background: #101216; |
| 57 | color: inherit; |
| 58 | border: 1px solid #3a4250; |
| 59 | padding: 0.3rem 0.5rem; |
| 60 | } |
| 61 | |
| 62 | button { |
| 63 | cursor: pointer; |
| 64 | } |
| 65 | |
| 66 | .error { color: #f0a0a0; min-height: 1.2em; } |
| 67 | .hint { color: #9aa3b2; font-size: 0.9rem; } |
| 68 | a { color: #d4c48a; } |
| 69 | |
| 70 | #nametag { |
| 71 | position: fixed; |
| 72 | z-index: 4; |
| 73 | pointer-events: none; |
| 74 | transform: translate(-50%, -100%); |
| 75 | background: rgba(12, 14, 18, 0.88); |
| 76 | border: 1px solid #3a4250; |
| 77 | padding: 0.1rem 0.45rem; |
| 78 | font-size: 0.85rem; |
| 79 | } |
| 80 | |
| 81 | #context-menu { |
| 82 | position: fixed; |
| 83 | z-index: 20; |
| 84 | min-width: 140px; |
| 85 | background: #161a22; |
| 86 | border: 1px solid #3a4250; |
| 87 | padding: 0.25rem; |
| 88 | display: flex; |
| 89 | flex-direction: column; |
| 90 | gap: 0.15rem; |
| 91 | } |
| 92 | |
| 93 | #context-menu[hidden] { |
| 94 | display: none !important; |
| 95 | } |
| 96 | |
| 97 | #context-menu button { |
| 98 | display: block; |
| 99 | width: 100%; |
| 100 | text-align: left; |
| 101 | background: transparent; |
| 102 | border: 0; |
| 103 | color: #e8ecf4; |
| 104 | padding: 0.35rem 0.55rem; |
| 105 | cursor: pointer; |
| 106 | } |
| 107 | |
| 108 | #context-menu button:hover { |
| 109 | background: #2a3140; |
| 110 | } |
| 111 | |
| 112 | #inspect-backdrop { |
| 113 | position: fixed; |
| 114 | inset: 0; |
| 115 | z-index: 6; |
| 116 | background: rgba(0, 0, 0, 0.45); |
| 117 | } |
| 118 | |
| 119 | #inspect-modal { |
| 120 | position: fixed; |
| 121 | z-index: 7; |
| 122 | left: 50%; |
| 123 | top: 40%; |
| 124 | transform: translate(-50%, -50%); |
| 125 | width: min(360px, 92vw); |
| 126 | background: #161a22; |
| 127 | border: 1px solid #3a4250; |
| 128 | padding: 0.85rem 1rem 1rem; |
| 129 | } |
| 130 | |
| 131 | #inspect-modal header { |
| 132 | display: flex; |
| 133 | align-items: center; |
| 134 | justify-content: space-between; |
| 135 | gap: 0.75rem; |
| 136 | } |
| 137 | |
| 138 | #inspect-action { |
| 139 | display: flex; |
| 140 | flex-wrap: wrap; |
| 141 | gap: 0.4rem; |
| 142 | margin-top: 0.5rem; |
| 143 | } |
| 144 | |
| 145 | #death-backdrop { |
| 146 | position: fixed; |
| 147 | inset: 0; |
| 148 | z-index: 20; |
| 149 | background: rgba(0, 0, 0, 0.72); |
| 150 | } |
| 151 | |
| 152 | #death-modal { |
| 153 | position: fixed; |
| 154 | z-index: 21; |
| 155 | left: 50%; |
| 156 | top: 42%; |
| 157 | transform: translate(-50%, -50%); |
| 158 | width: min(380px, 92vw); |
| 159 | background: #161a22; |
| 160 | border: 1px solid #713b3b; |
| 161 | padding: 1rem 1.15rem 1.15rem; |
| 162 | text-align: center; |
| 163 | } |
| 164 | |
| 165 | #death-respawn { |
| 166 | min-width: 9rem; |
| 167 | } |
| 168 | |
| 169 | #friends-panel { |
| 170 | position: fixed; |
| 171 | z-index: 5; |
| 172 | top: 48px; |
| 173 | right: 0.75rem; |
| 174 | width: min(280px, 92vw); |
| 175 | max-height: calc(100vh - 64px); |
| 176 | overflow: auto; |
| 177 | background: #1a1e26; |
| 178 | border: 1px solid #2c3340; |
| 179 | padding: 0.75rem; |
| 180 | } |
| 181 | |
| 182 | #skills-panel { |
| 183 | position: fixed; |
| 184 | z-index: 5; |
| 185 | top: 50%; |
| 186 | left: 50%; |
| 187 | transform: translate(-50%, -50%); |
| 188 | width: min(520px, 94vw); |
| 189 | max-height: calc(100vh - 80px); |
| 190 | overflow: auto; |
| 191 | background: #1a1e26; |
| 192 | border: 1px solid #2c3340; |
| 193 | padding: 0.75rem; |
| 194 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 195 | } |
| 196 | |
| 197 | .skills-grid { |
| 198 | display: grid; |
| 199 | grid-template-columns: 1fr 1fr; |
| 200 | gap: 0.55rem 0.75rem; |
| 201 | margin: 0.5rem 0; |
| 202 | } |
| 203 | |
| 204 | .skill-row { |
| 205 | display: flex; |
| 206 | gap: 0.55rem; |
| 207 | align-items: stretch; |
| 208 | min-width: 0; |
| 209 | } |
| 210 | |
| 211 | .skill-icon { |
| 212 | flex: 0 0 36px; |
| 213 | width: 36px; |
| 214 | height: 36px; |
| 215 | border-radius: 6px; |
| 216 | background: #101216; |
| 217 | border: 1px solid #3a4250; |
| 218 | } |
| 219 | |
| 220 | .skill-body { |
| 221 | flex: 1; |
| 222 | display: flex; |
| 223 | flex-direction: column; |
| 224 | justify-content: center; |
| 225 | gap: 0.25rem; |
| 226 | min-width: 0; |
| 227 | } |
| 228 | |
| 229 | .skill-title { |
| 230 | font-size: 0.85rem; |
| 231 | line-height: 1.2; |
| 232 | white-space: nowrap; |
| 233 | overflow: hidden; |
| 234 | text-overflow: ellipsis; |
| 235 | } |
| 236 | |
| 237 | .skill-xp-track { |
| 238 | height: 8px; |
| 239 | background: #101216; |
| 240 | border: 1px solid #3a4250; |
| 241 | border-radius: 4px; |
| 242 | overflow: hidden; |
| 243 | } |
| 244 | |
| 245 | .skill-xp-fill { |
| 246 | height: 100%; |
| 247 | background: linear-gradient(90deg, #6a7a40, #d4c48a); |
| 248 | border-radius: 3px; |
| 249 | transition: width 0.25s ease-out; |
| 250 | } |
| 251 | |
| 252 | #bag-panel, #bank-panel { |
| 253 | position: fixed; |
| 254 | z-index: 5; |
| 255 | top: 48px; |
| 256 | left: 0.75rem; |
| 257 | width: min(320px, 92vw); |
| 258 | max-height: calc(100vh - 64px); |
| 259 | overflow: auto; |
| 260 | background: #1a1e26; |
| 261 | border: 1px solid #2c3340; |
| 262 | padding: 0.75rem; |
| 263 | } |
| 264 | |
| 265 | #bank-panel { |
| 266 | left: auto; |
| 267 | right: 0.75rem; |
| 268 | width: min(340px, 92vw); |
| 269 | } |
| 270 | |
| 271 | #bank-panel header { |
| 272 | display: flex; |
| 273 | justify-content: space-between; |
| 274 | align-items: center; |
| 275 | } |
| 276 | |
| 277 | .bank-tabs { |
| 278 | display: flex; |
| 279 | gap: 0.25rem; |
| 280 | margin: 0.4rem 0; |
| 281 | } |
| 282 | |
| 283 | .bank-tab { |
| 284 | flex: 1; |
| 285 | font-size: 0.8rem; |
| 286 | padding: 0.3rem 0.4rem; |
| 287 | } |
| 288 | |
| 289 | .bank-tab.active { |
| 290 | outline: 1px solid #d4c48a; |
| 291 | } |
| 292 | |
| 293 | .item-grid { |
| 294 | display: grid; |
| 295 | grid-template-columns: repeat(8, 1fr); |
| 296 | gap: 0.25rem; |
| 297 | margin: 0.4rem 0; |
| 298 | } |
| 299 | |
| 300 | .item-grid.equip { |
| 301 | grid-template-columns: repeat(3, 1fr); |
| 302 | } |
| 303 | |
| 304 | .item-slot { |
| 305 | position: relative; |
| 306 | min-height: 36px; |
| 307 | padding: 0.15rem; |
| 308 | image-rendering: pixelated; |
| 309 | } |
| 310 | |
| 311 | .item-slot img { |
| 312 | width: 100%; |
| 313 | height: 32px; |
| 314 | object-fit: contain; |
| 315 | image-rendering: pixelated; |
| 316 | } |
| 317 | |
| 318 | .item-slot.selected { |
| 319 | outline: 2px solid #d4c48a; |
| 320 | } |
| 321 | |
| 322 | .item-slot .qty { |
| 323 | position: absolute; |
| 324 | right: 2px; |
| 325 | bottom: 1px; |
| 326 | font-size: 0.7rem; |
| 327 | } |
| 328 | |
| 329 | .bag-actions { |
| 330 | display: flex; |
| 331 | flex-wrap: wrap; |
| 332 | gap: 0.35rem; |
| 333 | } |
| 334 | |
| 335 | .modal-backdrop { |
| 336 | position: fixed; |
| 337 | inset: 0; |
| 338 | z-index: 5; |
| 339 | background: rgba(8, 10, 14, 0.55); |
| 340 | } |
| 341 | |
| 342 | #send-panel, |
| 343 | #send-target-panel, |
| 344 | #letter-panel, |
| 345 | #transfer-panel, |
| 346 | #write-cheque-panel { |
| 347 | position: fixed; |
| 348 | z-index: 6; |
| 349 | top: 50%; |
| 350 | left: 50%; |
| 351 | transform: translate(-50%, -50%); |
| 352 | width: min(380px, 92vw); |
| 353 | max-height: min(80vh, 640px); |
| 354 | overflow: auto; |
| 355 | background: #1a1e26; |
| 356 | border: 1px solid #2c3340; |
| 357 | padding: 0.85rem 1rem 1rem; |
| 358 | } |
| 359 | |
| 360 | #craft-panel { |
| 361 | position: fixed; |
| 362 | z-index: 6; |
| 363 | top: 50%; |
| 364 | left: 50%; |
| 365 | transform: translate(-50%, -50%); |
| 366 | width: min(560px, 94vw); |
| 367 | max-height: min(85vh, 720px); |
| 368 | overflow: auto; |
| 369 | background: #1a1e26; |
| 370 | border: 1px solid #2c3340; |
| 371 | padding: 0.85rem 1rem 1rem; |
| 372 | } |
| 373 | |
| 374 | #craft-panel header { |
| 375 | display: flex; |
| 376 | justify-content: space-between; |
| 377 | align-items: center; |
| 378 | margin-bottom: 0.5rem; |
| 379 | } |
| 380 | |
| 381 | .craft-layout { |
| 382 | display: grid; |
| 383 | grid-template-columns: 1fr 1fr; |
| 384 | gap: 0.75rem; |
| 385 | align-items: start; |
| 386 | } |
| 387 | |
| 388 | @media (max-width: 520px) { |
| 389 | .craft-layout { |
| 390 | grid-template-columns: 1fr; |
| 391 | } |
| 392 | } |
| 393 | |
| 394 | .craft-recipe-grid { |
| 395 | display: grid; |
| 396 | grid-template-columns: repeat(3, 1fr); |
| 397 | gap: 0.35rem; |
| 398 | } |
| 399 | |
| 400 | .craft-recipe-cell { |
| 401 | display: flex; |
| 402 | flex-direction: column; |
| 403 | align-items: center; |
| 404 | gap: 0.2rem; |
| 405 | padding: 0.35rem 0.25rem; |
| 406 | min-height: 72px; |
| 407 | background: #12151c; |
| 408 | border: 1px solid #2c3340; |
| 409 | cursor: pointer; |
| 410 | } |
| 411 | |
| 412 | .craft-recipe-cell.selected { |
| 413 | outline: 2px solid #d4c48a; |
| 414 | } |
| 415 | |
| 416 | .craft-recipe-cell img { |
| 417 | width: 32px; |
| 418 | height: 32px; |
| 419 | object-fit: contain; |
| 420 | image-rendering: pixelated; |
| 421 | } |
| 422 | |
| 423 | .craft-recipe-name { |
| 424 | font-size: 0.72rem; |
| 425 | text-align: center; |
| 426 | line-height: 1.15; |
| 427 | word-break: break-word; |
| 428 | } |
| 429 | |
| 430 | .craft-detail { |
| 431 | min-height: 160px; |
| 432 | padding: 0.35rem; |
| 433 | background: #12151c; |
| 434 | border: 1px solid #2c3340; |
| 435 | } |
| 436 | |
| 437 | .craft-output { |
| 438 | display: flex; |
| 439 | flex-direction: column; |
| 440 | align-items: center; |
| 441 | gap: 0.25rem; |
| 442 | margin-bottom: 0.5rem; |
| 443 | } |
| 444 | |
| 445 | .craft-output img { |
| 446 | width: 48px; |
| 447 | height: 48px; |
| 448 | object-fit: contain; |
| 449 | image-rendering: pixelated; |
| 450 | } |
| 451 | |
| 452 | .craft-output h3 { |
| 453 | margin: 0; |
| 454 | font-size: 0.95rem; |
| 455 | text-align: center; |
| 456 | } |
| 457 | |
| 458 | .craft-inputs { |
| 459 | list-style: none; |
| 460 | margin: 0 0 0.5rem; |
| 461 | padding: 0; |
| 462 | } |
| 463 | |
| 464 | .craft-input-row { |
| 465 | display: flex; |
| 466 | align-items: center; |
| 467 | gap: 0.4rem; |
| 468 | margin-bottom: 0.35rem; |
| 469 | font-size: 0.85rem; |
| 470 | } |
| 471 | |
| 472 | .craft-input-row.short { |
| 473 | color: #c07070; |
| 474 | } |
| 475 | |
| 476 | .craft-input-row img { |
| 477 | width: 24px; |
| 478 | height: 24px; |
| 479 | object-fit: contain; |
| 480 | image-rendering: pixelated; |
| 481 | } |
| 482 | |
| 483 | .craft-progress { |
| 484 | height: 8px; |
| 485 | margin: 0.4rem 0; |
| 486 | background: #0e1014; |
| 487 | border: 1px solid #2c3340; |
| 488 | border-radius: 2px; |
| 489 | overflow: hidden; |
| 490 | } |
| 491 | |
| 492 | .craft-progress-fill { |
| 493 | height: 100%; |
| 494 | width: 0%; |
| 495 | background: linear-gradient(90deg, #6a7a40, #d4c48a); |
| 496 | transition: width 0.05s linear; |
| 497 | } |
| 498 | |
| 499 | #craft-button { |
| 500 | width: 100%; |
| 501 | margin-top: 0.25rem; |
| 502 | } |
| 503 | |
| 504 | #craft-button:disabled { |
| 505 | opacity: 0.45; |
| 506 | } |
| 507 | |
| 508 | #send-target-panel { |
| 509 | z-index: 7; |
| 510 | } |
| 511 | |
| 512 | #send-panel header, |
| 513 | #send-target-panel header, |
| 514 | #letter-panel header, |
| 515 | #transfer-panel header, |
| 516 | #write-cheque-panel header { |
| 517 | display: flex; |
| 518 | justify-content: space-between; |
| 519 | align-items: center; |
| 520 | gap: 0.5rem; |
| 521 | margin-bottom: 0.5rem; |
| 522 | } |
| 523 | |
| 524 | #send-panel[hidden], |
| 525 | #send-target-panel[hidden], |
| 526 | #letter-panel[hidden], |
| 527 | #transfer-panel[hidden], |
| 528 | #write-cheque-panel[hidden], |
| 529 | .modal-backdrop[hidden] { |
| 530 | display: none !important; |
| 531 | } |
| 532 | |
| 533 | .send-item { |
| 534 | display: flex; |
| 535 | align-items: center; |
| 536 | gap: 0.75rem; |
| 537 | margin: 0.5rem 0; |
| 538 | } |
| 539 | |
| 540 | .send-item img { |
| 541 | width: 48px; |
| 542 | height: 48px; |
| 543 | object-fit: contain; |
| 544 | image-rendering: pixelated; |
| 545 | } |
| 546 | |
| 547 | .send-row { |
| 548 | display: flex; |
| 549 | flex-direction: column; |
| 550 | gap: 0.25rem; |
| 551 | margin: 0.5rem 0; |
| 552 | font-size: 0.9rem; |
| 553 | } |
| 554 | |
| 555 | .send-target-row { |
| 556 | display: flex; |
| 557 | align-items: center; |
| 558 | gap: 0.65rem; |
| 559 | width: 100%; |
| 560 | text-align: left; |
| 561 | margin: 0.3rem 0; |
| 562 | } |
| 563 | |
| 564 | .send-target-text { |
| 565 | display: flex; |
| 566 | flex-direction: column; |
| 567 | gap: 0.1rem; |
| 568 | } |
| 569 | |
| 570 | .send-search { |
| 571 | display: flex; |
| 572 | flex-wrap: wrap; |
| 573 | gap: 0.35rem; |
| 574 | margin-top: 0.75rem; |
| 575 | } |
| 576 | |
| 577 | .send-search input { |
| 578 | flex: 1 1 6rem; |
| 579 | } |
| 580 | |
| 581 | .char-preview { |
| 582 | position: relative; |
| 583 | width: 36px; |
| 584 | height: 48px; |
| 585 | flex: 0 0 auto; |
| 586 | image-rendering: pixelated; |
| 587 | background: #101216; |
| 588 | border: 1px solid #2c3340; |
| 589 | } |
| 590 | |
| 591 | .char-preview img { |
| 592 | position: absolute; |
| 593 | inset: 0; |
| 594 | width: 100%; |
| 595 | height: 100%; |
| 596 | object-fit: contain; |
| 597 | image-rendering: pixelated; |
| 598 | } |
| 599 | |
| 600 | #letter-body { |
| 601 | display: block; |
| 602 | width: 100%; |
| 603 | box-sizing: border-box; |
| 604 | margin: 0; |
| 605 | padding: 0; |
| 606 | border: none; |
| 607 | outline: none; |
| 608 | resize: none; |
| 609 | overflow: hidden; |
| 610 | background: transparent; |
| 611 | color: inherit; |
| 612 | font: inherit; |
| 613 | line-height: 1.45; |
| 614 | min-height: 8rem; |
| 615 | field-sizing: content; |
| 616 | } |
| 617 | |
| 618 | .letter-paper { |
| 619 | background: #f4f0e4; |
| 620 | color: #1c1814; |
| 621 | padding: 1.25rem 1.35rem; |
| 622 | margin: 0.35rem 0 0.75rem; |
| 623 | max-height: min(55vh, 420px); |
| 624 | overflow-y: auto; |
| 625 | scrollbar-width: none; |
| 626 | -ms-overflow-style: none; |
| 627 | box-shadow: inset 0 0 0 1px rgba(40, 32, 24, 0.08); |
| 628 | } |
| 629 | |
| 630 | .letter-paper::-webkit-scrollbar { |
| 631 | display: none; |
| 632 | width: 0; |
| 633 | height: 0; |
| 634 | } |
| 635 | |
| 636 | .letter-signature { |
| 637 | margin: 1.35rem 0 0; |
| 638 | padding: 0; |
| 639 | border: none; |
| 640 | background: transparent; |
| 641 | white-space: pre-wrap; |
| 642 | font: inherit; |
| 643 | color: inherit; |
| 644 | line-height: 1.45; |
| 645 | } |
| 646 | |
| 647 | #friends-panel h2, #friends-panel h3 { |
| 648 | margin: 0.4rem 0; |
| 649 | font-size: 0.95rem; |
| 650 | } |
| 651 | |
| 652 | .social-row { |
| 653 | display: flex; |
| 654 | flex-wrap: wrap; |
| 655 | gap: 0.35rem; |
| 656 | align-items: center; |
| 657 | margin: 0.35rem 0; |
| 658 | } |
| 659 | |
| 660 | #inspect-modal[hidden], |
| 661 | #inspect-backdrop[hidden], |
| 662 | #death-modal[hidden], |
| 663 | #death-backdrop[hidden], |
| 664 | #friends-panel[hidden], |
| 665 | #skills-panel[hidden], |
| 666 | #bag-panel[hidden], |
| 667 | #bank-panel[hidden], |
| 668 | #craft-panel[hidden], |
| 669 | #craft-backdrop[hidden], |
| 670 | #nametag[hidden], |
| 671 | #chat-bar[hidden] { |
| 672 | display: none !important; |
| 673 | } |
| 674 | |
| 675 | #chat-bar { |
| 676 | position: fixed; |
| 677 | z-index: 5; |
| 678 | left: 50%; |
| 679 | bottom: 1.25rem; |
| 680 | transform: translateX(-50%); |
| 681 | width: min(640px, calc(100vw - 2rem)); |
| 682 | } |
| 683 | |
| 684 | #chat-bar input { |
| 685 | width: 100%; |
| 686 | box-sizing: border-box; |
| 687 | padding: 0.55rem 0.75rem; |
| 688 | background: rgba(12, 14, 18, 0.92); |
| 689 | } |
| 690 | |
| 691 | #damage-numbers { |
| 692 | position: fixed; |
| 693 | inset: 0; |
| 694 | z-index: 4; |
| 695 | pointer-events: none; |
| 696 | overflow: hidden; |
| 697 | } |
| 698 | |
| 699 | .damage-number { |
| 700 | position: absolute; |
| 701 | transform: translate(-50%, -100%); |
| 702 | font-size: 0.85rem; |
| 703 | font-weight: 700; |
| 704 | color: #fff; |
| 705 | text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85); |
| 706 | white-space: nowrap; |
| 707 | pointer-events: none; |
| 708 | user-select: none; |
| 709 | } |
| 710 | |
| 711 | .chat-bubble { |
| 712 | position: fixed; |
| 713 | z-index: 4; |
| 714 | pointer-events: none; |
| 715 | transform: translate(-50%, -100%); |
| 716 | max-width: min(280px, 70vw); |
| 717 | background: rgba(16, 18, 24, 0.92); |
| 718 | border: 1px solid #3a4250; |
| 719 | border-radius: 8px; |
| 720 | padding: 0.3rem 0.55rem; |
| 721 | font-size: 0.9rem; |
| 722 | line-height: 1.25; |
| 723 | white-space: pre-wrap; |
| 724 | word-break: break-word; |
| 725 | } |
| 726 | |
| 727 | .chat-bubble[hidden] { |
| 728 | display: none !important; |
| 729 | } |