| 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 | #toast-stack { |
| 41 | position: fixed; |
| 42 | top: 3.4rem; |
| 43 | left: 50%; |
| 44 | transform: translateX(-50%); |
| 45 | z-index: 25; |
| 46 | display: flex; |
| 47 | flex-direction: column; |
| 48 | align-items: center; |
| 49 | gap: 0.4rem; |
| 50 | pointer-events: none; |
| 51 | max-width: min(440px, 92vw); |
| 52 | width: max-content; |
| 53 | } |
| 54 | |
| 55 | .toast { |
| 56 | box-sizing: border-box; |
| 57 | width: 100%; |
| 58 | background: rgba(12, 14, 18, 0.94); |
| 59 | border: 1px solid #4a5568; |
| 60 | padding: 0.5rem 0.9rem; |
| 61 | font-size: 0.95rem; |
| 62 | text-align: center; |
| 63 | color: #f0ebe0; |
| 64 | opacity: 0; |
| 65 | transform: translateY(-8px); |
| 66 | transition: opacity 0.22s ease, transform 0.22s ease; |
| 67 | } |
| 68 | |
| 69 | .toast.toast-visible { |
| 70 | opacity: 1; |
| 71 | transform: translateY(0); |
| 72 | } |
| 73 | |
| 74 | .toast.toast-leaving { |
| 75 | opacity: 0; |
| 76 | transform: translateY(-4px); |
| 77 | } |
| 78 | |
| 79 | .panel { |
| 80 | width: min(420px, 92vw); |
| 81 | background: #1a1e26; |
| 82 | border: 1px solid #2c3340; |
| 83 | padding: 1.25rem; |
| 84 | } |
| 85 | |
| 86 | label, .character-row { |
| 87 | display: flex; |
| 88 | gap: 0.5rem; |
| 89 | align-items: center; |
| 90 | margin: 0.5rem 0; |
| 91 | } |
| 92 | |
| 93 | input, select, button { |
| 94 | font: inherit; |
| 95 | background: #101216; |
| 96 | color: inherit; |
| 97 | border: 1px solid #3a4250; |
| 98 | padding: 0.3rem 0.5rem; |
| 99 | } |
| 100 | |
| 101 | button { |
| 102 | cursor: pointer; |
| 103 | } |
| 104 | |
| 105 | .error { color: #f0a0a0; min-height: 1.2em; } |
| 106 | .hint { color: #9aa3b2; font-size: 0.9rem; } |
| 107 | a { color: #d4c48a; } |
| 108 | |
| 109 | #nametag { |
| 110 | position: fixed; |
| 111 | z-index: 4; |
| 112 | pointer-events: none; |
| 113 | transform: translate(-50%, -100%); |
| 114 | background: rgba(12, 14, 18, 0.88); |
| 115 | border: 1px solid #3a4250; |
| 116 | padding: 0.1rem 0.45rem; |
| 117 | font-size: 0.85rem; |
| 118 | } |
| 119 | |
| 120 | #context-menu { |
| 121 | position: fixed; |
| 122 | z-index: 20; |
| 123 | min-width: 140px; |
| 124 | background: #161a22; |
| 125 | border: 1px solid #3a4250; |
| 126 | padding: 0.25rem; |
| 127 | display: flex; |
| 128 | flex-direction: column; |
| 129 | gap: 0.15rem; |
| 130 | } |
| 131 | |
| 132 | #context-menu[hidden] { |
| 133 | display: none !important; |
| 134 | } |
| 135 | |
| 136 | #context-menu button { |
| 137 | display: block; |
| 138 | width: 100%; |
| 139 | text-align: left; |
| 140 | background: transparent; |
| 141 | border: 0; |
| 142 | color: #e8ecf4; |
| 143 | padding: 0.35rem 0.55rem; |
| 144 | cursor: pointer; |
| 145 | } |
| 146 | |
| 147 | #context-menu button:hover { |
| 148 | background: #2a3140; |
| 149 | } |
| 150 | |
| 151 | #inspect-backdrop { |
| 152 | position: fixed; |
| 153 | inset: 0; |
| 154 | z-index: 6; |
| 155 | background: rgba(0, 0, 0, 0.45); |
| 156 | } |
| 157 | |
| 158 | #inspect-modal { |
| 159 | position: fixed; |
| 160 | z-index: 7; |
| 161 | left: 50%; |
| 162 | top: 40%; |
| 163 | transform: translate(-50%, -50%); |
| 164 | width: min(360px, 92vw); |
| 165 | background: #161a22; |
| 166 | border: 1px solid #3a4250; |
| 167 | padding: 0.85rem 1rem 1rem; |
| 168 | } |
| 169 | |
| 170 | #inspect-modal header { |
| 171 | display: flex; |
| 172 | align-items: center; |
| 173 | justify-content: space-between; |
| 174 | gap: 0.75rem; |
| 175 | } |
| 176 | |
| 177 | #inspect-action { |
| 178 | display: flex; |
| 179 | flex-wrap: wrap; |
| 180 | gap: 0.4rem; |
| 181 | margin-top: 0.5rem; |
| 182 | } |
| 183 | |
| 184 | #death-backdrop { |
| 185 | position: fixed; |
| 186 | inset: 0; |
| 187 | z-index: 20; |
| 188 | background: rgba(0, 0, 0, 0.72); |
| 189 | } |
| 190 | |
| 191 | #death-modal { |
| 192 | position: fixed; |
| 193 | z-index: 21; |
| 194 | left: 50%; |
| 195 | top: 42%; |
| 196 | transform: translate(-50%, -50%); |
| 197 | width: min(380px, 92vw); |
| 198 | background: #161a22; |
| 199 | border: 1px solid #713b3b; |
| 200 | padding: 1rem 1.15rem 1.15rem; |
| 201 | text-align: center; |
| 202 | } |
| 203 | |
| 204 | #death-respawn { |
| 205 | min-width: 9rem; |
| 206 | } |
| 207 | |
| 208 | #friends-panel { |
| 209 | position: fixed; |
| 210 | z-index: 5; |
| 211 | top: 48px; |
| 212 | right: 0.75rem; |
| 213 | width: min(280px, 92vw); |
| 214 | max-height: calc(100vh - 64px); |
| 215 | overflow: auto; |
| 216 | background: #1a1e26; |
| 217 | border: 1px solid #2c3340; |
| 218 | padding: 0.75rem; |
| 219 | } |
| 220 | |
| 221 | #skills-panel { |
| 222 | position: fixed; |
| 223 | z-index: 5; |
| 224 | top: 50%; |
| 225 | left: 50%; |
| 226 | transform: translate(-50%, -50%); |
| 227 | width: min(520px, 94vw); |
| 228 | max-height: calc(100vh - 80px); |
| 229 | overflow: auto; |
| 230 | background: #1a1e26; |
| 231 | border: 1px solid #2c3340; |
| 232 | padding: 0.75rem; |
| 233 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 234 | } |
| 235 | |
| 236 | .skills-grid { |
| 237 | display: grid; |
| 238 | grid-template-columns: 1fr 1fr; |
| 239 | gap: 0.55rem 0.75rem; |
| 240 | margin: 0.5rem 0; |
| 241 | } |
| 242 | |
| 243 | .skill-row { |
| 244 | display: flex; |
| 245 | gap: 0.55rem; |
| 246 | align-items: stretch; |
| 247 | min-width: 0; |
| 248 | } |
| 249 | |
| 250 | .skill-icon { |
| 251 | flex: 0 0 36px; |
| 252 | width: 36px; |
| 253 | height: 36px; |
| 254 | border-radius: 6px; |
| 255 | background: #101216; |
| 256 | border: 1px solid #3a4250; |
| 257 | } |
| 258 | |
| 259 | .skill-body { |
| 260 | flex: 1; |
| 261 | display: flex; |
| 262 | flex-direction: column; |
| 263 | justify-content: center; |
| 264 | gap: 0.25rem; |
| 265 | min-width: 0; |
| 266 | } |
| 267 | |
| 268 | .skill-title { |
| 269 | font-size: 0.85rem; |
| 270 | line-height: 1.2; |
| 271 | white-space: nowrap; |
| 272 | overflow: hidden; |
| 273 | text-overflow: ellipsis; |
| 274 | } |
| 275 | |
| 276 | .skill-xp-track { |
| 277 | height: 8px; |
| 278 | background: #101216; |
| 279 | border: 1px solid #3a4250; |
| 280 | border-radius: 4px; |
| 281 | overflow: hidden; |
| 282 | } |
| 283 | |
| 284 | .skill-xp-fill { |
| 285 | height: 100%; |
| 286 | background: linear-gradient(90deg, #6a7a40, #d4c48a); |
| 287 | border-radius: 3px; |
| 288 | transition: width 0.25s ease-out; |
| 289 | } |
| 290 | |
| 291 | #bag-panel, #bank-panel { |
| 292 | position: fixed; |
| 293 | z-index: 5; |
| 294 | top: 48px; |
| 295 | left: 0.75rem; |
| 296 | width: min(320px, 92vw); |
| 297 | max-height: calc(100vh - 64px); |
| 298 | overflow: auto; |
| 299 | background: #1a1e26; |
| 300 | border: 1px solid #2c3340; |
| 301 | padding: 0.75rem; |
| 302 | } |
| 303 | |
| 304 | #bank-panel { |
| 305 | left: auto; |
| 306 | right: 0.75rem; |
| 307 | width: min(340px, 92vw); |
| 308 | } |
| 309 | |
| 310 | #bank-panel header { |
| 311 | display: flex; |
| 312 | justify-content: space-between; |
| 313 | align-items: center; |
| 314 | } |
| 315 | |
| 316 | .bank-tabs { |
| 317 | display: flex; |
| 318 | gap: 0.25rem; |
| 319 | margin: 0.4rem 0; |
| 320 | } |
| 321 | |
| 322 | .bank-tab { |
| 323 | flex: 1; |
| 324 | font-size: 0.8rem; |
| 325 | padding: 0.3rem 0.4rem; |
| 326 | } |
| 327 | |
| 328 | .bank-tab.active { |
| 329 | outline: 1px solid #d4c48a; |
| 330 | } |
| 331 | |
| 332 | .item-grid { |
| 333 | display: grid; |
| 334 | grid-template-columns: repeat(8, 1fr); |
| 335 | gap: 0.25rem; |
| 336 | margin: 0.4rem 0; |
| 337 | } |
| 338 | |
| 339 | .item-grid.equip { |
| 340 | grid-template-columns: repeat(3, 1fr); |
| 341 | } |
| 342 | |
| 343 | .item-slot { |
| 344 | position: relative; |
| 345 | min-height: 36px; |
| 346 | padding: 0.15rem; |
| 347 | image-rendering: pixelated; |
| 348 | } |
| 349 | |
| 350 | .item-slot img { |
| 351 | width: 100%; |
| 352 | height: 32px; |
| 353 | object-fit: contain; |
| 354 | image-rendering: pixelated; |
| 355 | } |
| 356 | |
| 357 | .item-slot.selected { |
| 358 | outline: 2px solid #d4c48a; |
| 359 | } |
| 360 | |
| 361 | .item-slot .qty { |
| 362 | position: absolute; |
| 363 | right: 2px; |
| 364 | bottom: 1px; |
| 365 | font-size: 0.7rem; |
| 366 | } |
| 367 | |
| 368 | .bag-actions { |
| 369 | display: flex; |
| 370 | flex-wrap: wrap; |
| 371 | gap: 0.35rem; |
| 372 | } |
| 373 | |
| 374 | .modal-backdrop { |
| 375 | position: fixed; |
| 376 | inset: 0; |
| 377 | z-index: 5; |
| 378 | background: rgba(8, 10, 14, 0.55); |
| 379 | } |
| 380 | |
| 381 | #send-panel, |
| 382 | #send-target-panel, |
| 383 | #letter-panel, |
| 384 | #transfer-panel, |
| 385 | #write-cheque-panel { |
| 386 | position: fixed; |
| 387 | z-index: 6; |
| 388 | top: 50%; |
| 389 | left: 50%; |
| 390 | transform: translate(-50%, -50%); |
| 391 | width: min(380px, 92vw); |
| 392 | max-height: min(80vh, 640px); |
| 393 | overflow: auto; |
| 394 | background: #1a1e26; |
| 395 | border: 1px solid #2c3340; |
| 396 | padding: 0.85rem 1rem 1rem; |
| 397 | } |
| 398 | |
| 399 | #craft-panel { |
| 400 | position: fixed; |
| 401 | z-index: 6; |
| 402 | top: 50%; |
| 403 | left: 50%; |
| 404 | transform: translate(-50%, -50%); |
| 405 | width: min(560px, 94vw); |
| 406 | max-height: min(85vh, 720px); |
| 407 | overflow: auto; |
| 408 | background: #1a1e26; |
| 409 | border: 1px solid #2c3340; |
| 410 | padding: 0.85rem 1rem 1rem; |
| 411 | } |
| 412 | |
| 413 | #craft-panel header { |
| 414 | display: flex; |
| 415 | justify-content: space-between; |
| 416 | align-items: center; |
| 417 | margin-bottom: 0.5rem; |
| 418 | } |
| 419 | |
| 420 | #cauldron-panel, |
| 421 | #cauldron-pick-panel { |
| 422 | position: fixed; |
| 423 | z-index: 6; |
| 424 | top: 50%; |
| 425 | left: 50%; |
| 426 | transform: translate(-50%, -50%); |
| 427 | width: min(360px, 92vw); |
| 428 | max-height: min(85vh, 720px); |
| 429 | overflow: auto; |
| 430 | background: #1a1e26; |
| 431 | border: 1px solid #2c3340; |
| 432 | padding: 0.85rem 1rem 1rem; |
| 433 | } |
| 434 | |
| 435 | #cauldron-pick-panel { |
| 436 | z-index: 7; |
| 437 | width: min(420px, 94vw); |
| 438 | } |
| 439 | |
| 440 | #cauldron-panel header, |
| 441 | #cauldron-pick-panel header { |
| 442 | display: flex; |
| 443 | justify-content: space-between; |
| 444 | align-items: center; |
| 445 | margin-bottom: 0.5rem; |
| 446 | } |
| 447 | |
| 448 | .cauldron-slots, |
| 449 | .cauldron-inserts { |
| 450 | display: grid; |
| 451 | grid-template-columns: repeat(4, 1fr); |
| 452 | gap: 0.35rem; |
| 453 | margin-bottom: 0.35rem; |
| 454 | } |
| 455 | |
| 456 | .cauldron-slot, |
| 457 | .cauldron-insert, |
| 458 | .cauldron-pick-item { |
| 459 | min-height: 3rem; |
| 460 | display: grid; |
| 461 | place-items: center; |
| 462 | position: relative; |
| 463 | background: #12151c; |
| 464 | } |
| 465 | |
| 466 | .cauldron-slot img, |
| 467 | .cauldron-pick-item img { |
| 468 | width: 32px; |
| 469 | height: 32px; |
| 470 | image-rendering: pixelated; |
| 471 | } |
| 472 | |
| 473 | .cauldron-slot .qty { |
| 474 | position: absolute; |
| 475 | right: 0.2rem; |
| 476 | bottom: 0.1rem; |
| 477 | font-size: 0.75rem; |
| 478 | } |
| 479 | |
| 480 | .cauldron-vessel { |
| 481 | text-align: center; |
| 482 | font-size: 2rem; |
| 483 | margin: 0.35rem 0; |
| 484 | opacity: 0.85; |
| 485 | } |
| 486 | |
| 487 | .cauldron-actions, |
| 488 | .cauldron-finish { |
| 489 | display: flex; |
| 490 | flex-wrap: wrap; |
| 491 | gap: 0.35rem; |
| 492 | margin: 0.35rem 0; |
| 493 | } |
| 494 | |
| 495 | .cauldron-steps { |
| 496 | margin: 0.5rem 0 0; |
| 497 | padding-left: 1.2rem; |
| 498 | color: #9aa3b2; |
| 499 | font-size: 0.9rem; |
| 500 | } |
| 501 | |
| 502 | .cauldron-pick-list { |
| 503 | display: grid; |
| 504 | gap: 0.35rem; |
| 505 | max-height: 40vh; |
| 506 | overflow: auto; |
| 507 | margin-bottom: 0.5rem; |
| 508 | } |
| 509 | |
| 510 | .cauldron-pick-item { |
| 511 | grid-template-columns: 36px 1fr; |
| 512 | justify-items: start; |
| 513 | padding: 0.35rem 0.5rem; |
| 514 | gap: 0.5rem; |
| 515 | } |
| 516 | |
| 517 | .cauldron-pick-item.selected { |
| 518 | border-color: #d4c48a; |
| 519 | } |
| 520 | |
| 521 | .cauldron-pick-qty { |
| 522 | display: flex; |
| 523 | gap: 0.5rem; |
| 524 | align-items: center; |
| 525 | margin-bottom: 0.5rem; |
| 526 | } |
| 527 | |
| 528 | .craft-layout { |
| 529 | display: grid; |
| 530 | grid-template-columns: 1fr 1fr; |
| 531 | gap: 0.75rem; |
| 532 | align-items: start; |
| 533 | } |
| 534 | |
| 535 | @media (max-width: 520px) { |
| 536 | .craft-layout { |
| 537 | grid-template-columns: 1fr; |
| 538 | } |
| 539 | } |
| 540 | |
| 541 | .craft-recipe-grid { |
| 542 | display: grid; |
| 543 | grid-template-columns: repeat(3, 1fr); |
| 544 | gap: 0.35rem; |
| 545 | } |
| 546 | |
| 547 | .craft-recipe-cell { |
| 548 | display: flex; |
| 549 | flex-direction: column; |
| 550 | align-items: center; |
| 551 | gap: 0.2rem; |
| 552 | padding: 0.35rem 0.25rem; |
| 553 | min-height: 72px; |
| 554 | background: #12151c; |
| 555 | border: 1px solid #2c3340; |
| 556 | cursor: pointer; |
| 557 | } |
| 558 | |
| 559 | .craft-recipe-cell.selected { |
| 560 | outline: 2px solid #d4c48a; |
| 561 | } |
| 562 | |
| 563 | .craft-recipe-cell img { |
| 564 | width: 32px; |
| 565 | height: 32px; |
| 566 | object-fit: contain; |
| 567 | image-rendering: pixelated; |
| 568 | } |
| 569 | |
| 570 | .craft-recipe-name { |
| 571 | font-size: 0.72rem; |
| 572 | text-align: center; |
| 573 | line-height: 1.15; |
| 574 | word-break: break-word; |
| 575 | } |
| 576 | |
| 577 | .craft-detail { |
| 578 | min-height: 160px; |
| 579 | padding: 0.35rem; |
| 580 | background: #12151c; |
| 581 | border: 1px solid #2c3340; |
| 582 | } |
| 583 | |
| 584 | .craft-output { |
| 585 | display: flex; |
| 586 | flex-direction: column; |
| 587 | align-items: center; |
| 588 | gap: 0.25rem; |
| 589 | margin-bottom: 0.5rem; |
| 590 | } |
| 591 | |
| 592 | .craft-output img { |
| 593 | width: 48px; |
| 594 | height: 48px; |
| 595 | object-fit: contain; |
| 596 | image-rendering: pixelated; |
| 597 | } |
| 598 | |
| 599 | .craft-output h3 { |
| 600 | margin: 0; |
| 601 | font-size: 0.95rem; |
| 602 | text-align: center; |
| 603 | } |
| 604 | |
| 605 | .craft-inputs { |
| 606 | list-style: none; |
| 607 | margin: 0 0 0.5rem; |
| 608 | padding: 0; |
| 609 | } |
| 610 | |
| 611 | .craft-input-row { |
| 612 | display: flex; |
| 613 | align-items: center; |
| 614 | gap: 0.4rem; |
| 615 | margin-bottom: 0.35rem; |
| 616 | font-size: 0.85rem; |
| 617 | } |
| 618 | |
| 619 | .craft-input-row.short { |
| 620 | color: #c07070; |
| 621 | } |
| 622 | |
| 623 | .craft-input-row img { |
| 624 | width: 24px; |
| 625 | height: 24px; |
| 626 | object-fit: contain; |
| 627 | image-rendering: pixelated; |
| 628 | } |
| 629 | |
| 630 | .craft-progress { |
| 631 | height: 8px; |
| 632 | margin: 0.4rem 0; |
| 633 | background: #0e1014; |
| 634 | border: 1px solid #2c3340; |
| 635 | border-radius: 2px; |
| 636 | overflow: hidden; |
| 637 | } |
| 638 | |
| 639 | .craft-progress-fill { |
| 640 | height: 100%; |
| 641 | width: 0%; |
| 642 | background: linear-gradient(90deg, #6a7a40, #d4c48a); |
| 643 | transition: width 0.05s linear; |
| 644 | } |
| 645 | |
| 646 | #craft-button { |
| 647 | width: 100%; |
| 648 | margin-top: 0.25rem; |
| 649 | } |
| 650 | |
| 651 | #craft-button:disabled { |
| 652 | opacity: 0.45; |
| 653 | } |
| 654 | |
| 655 | #send-target-panel { |
| 656 | z-index: 7; |
| 657 | } |
| 658 | |
| 659 | #send-panel header, |
| 660 | #send-target-panel header, |
| 661 | #letter-panel header, |
| 662 | #transfer-panel header, |
| 663 | #write-cheque-panel header { |
| 664 | display: flex; |
| 665 | justify-content: space-between; |
| 666 | align-items: center; |
| 667 | gap: 0.5rem; |
| 668 | margin-bottom: 0.5rem; |
| 669 | } |
| 670 | |
| 671 | #send-panel[hidden], |
| 672 | #send-target-panel[hidden], |
| 673 | #letter-panel[hidden], |
| 674 | #transfer-panel[hidden], |
| 675 | #write-cheque-panel[hidden], |
| 676 | .modal-backdrop[hidden] { |
| 677 | display: none !important; |
| 678 | } |
| 679 | |
| 680 | .send-item { |
| 681 | display: flex; |
| 682 | align-items: center; |
| 683 | gap: 0.75rem; |
| 684 | margin: 0.5rem 0; |
| 685 | } |
| 686 | |
| 687 | .send-item img { |
| 688 | width: 48px; |
| 689 | height: 48px; |
| 690 | object-fit: contain; |
| 691 | image-rendering: pixelated; |
| 692 | } |
| 693 | |
| 694 | .send-row { |
| 695 | display: flex; |
| 696 | flex-direction: column; |
| 697 | gap: 0.25rem; |
| 698 | margin: 0.5rem 0; |
| 699 | font-size: 0.9rem; |
| 700 | } |
| 701 | |
| 702 | .send-target-row { |
| 703 | display: flex; |
| 704 | align-items: center; |
| 705 | gap: 0.65rem; |
| 706 | width: 100%; |
| 707 | text-align: left; |
| 708 | margin: 0.3rem 0; |
| 709 | } |
| 710 | |
| 711 | .send-target-text { |
| 712 | display: flex; |
| 713 | flex-direction: column; |
| 714 | gap: 0.1rem; |
| 715 | } |
| 716 | |
| 717 | .send-search { |
| 718 | display: flex; |
| 719 | flex-wrap: wrap; |
| 720 | gap: 0.35rem; |
| 721 | margin-top: 0.75rem; |
| 722 | } |
| 723 | |
| 724 | .send-search input { |
| 725 | flex: 1 1 6rem; |
| 726 | } |
| 727 | |
| 728 | .char-preview { |
| 729 | position: relative; |
| 730 | width: 36px; |
| 731 | height: 48px; |
| 732 | flex: 0 0 auto; |
| 733 | image-rendering: pixelated; |
| 734 | background: #101216; |
| 735 | border: 1px solid #2c3340; |
| 736 | } |
| 737 | |
| 738 | .char-preview img { |
| 739 | position: absolute; |
| 740 | inset: 0; |
| 741 | width: 100%; |
| 742 | height: 100%; |
| 743 | object-fit: contain; |
| 744 | image-rendering: pixelated; |
| 745 | } |
| 746 | |
| 747 | #letter-body { |
| 748 | display: block; |
| 749 | width: 100%; |
| 750 | box-sizing: border-box; |
| 751 | margin: 0; |
| 752 | padding: 0; |
| 753 | border: none; |
| 754 | outline: none; |
| 755 | resize: none; |
| 756 | overflow: hidden; |
| 757 | background: transparent; |
| 758 | color: inherit; |
| 759 | font: inherit; |
| 760 | line-height: 1.45; |
| 761 | min-height: 8rem; |
| 762 | field-sizing: content; |
| 763 | } |
| 764 | |
| 765 | .letter-paper { |
| 766 | background: #f4f0e4; |
| 767 | color: #1c1814; |
| 768 | padding: 1.25rem 1.35rem; |
| 769 | margin: 0.35rem 0 0.75rem; |
| 770 | max-height: min(55vh, 420px); |
| 771 | overflow-y: auto; |
| 772 | scrollbar-width: none; |
| 773 | -ms-overflow-style: none; |
| 774 | box-shadow: inset 0 0 0 1px rgba(40, 32, 24, 0.08); |
| 775 | } |
| 776 | |
| 777 | .letter-paper::-webkit-scrollbar { |
| 778 | display: none; |
| 779 | width: 0; |
| 780 | height: 0; |
| 781 | } |
| 782 | |
| 783 | .letter-signature { |
| 784 | margin: 1.35rem 0 0; |
| 785 | padding: 0; |
| 786 | border: none; |
| 787 | background: transparent; |
| 788 | white-space: pre-wrap; |
| 789 | font: inherit; |
| 790 | color: inherit; |
| 791 | line-height: 1.45; |
| 792 | } |
| 793 | |
| 794 | #friends-panel h2, #friends-panel h3 { |
| 795 | margin: 0.4rem 0; |
| 796 | font-size: 0.95rem; |
| 797 | } |
| 798 | |
| 799 | .social-row { |
| 800 | display: flex; |
| 801 | flex-wrap: wrap; |
| 802 | gap: 0.35rem; |
| 803 | align-items: center; |
| 804 | margin: 0.35rem 0; |
| 805 | } |
| 806 | |
| 807 | #inspect-modal[hidden], |
| 808 | #inspect-backdrop[hidden], |
| 809 | #death-modal[hidden], |
| 810 | #death-backdrop[hidden], |
| 811 | #friends-panel[hidden], |
| 812 | #skills-panel[hidden], |
| 813 | #bag-panel[hidden], |
| 814 | #bank-panel[hidden], |
| 815 | #craft-panel[hidden], |
| 816 | #craft-backdrop[hidden], |
| 817 | #cauldron-panel[hidden], |
| 818 | #cauldron-backdrop[hidden], |
| 819 | #cauldron-pick-panel[hidden], |
| 820 | #cauldron-pick-backdrop[hidden], |
| 821 | #nametag[hidden], |
| 822 | #chat-bar[hidden] { |
| 823 | display: none !important; |
| 824 | } |
| 825 | |
| 826 | #chat-bar { |
| 827 | position: fixed; |
| 828 | z-index: 5; |
| 829 | left: 50%; |
| 830 | bottom: 1.25rem; |
| 831 | transform: translateX(-50%); |
| 832 | width: min(640px, calc(100vw - 2rem)); |
| 833 | } |
| 834 | |
| 835 | #chat-bar input { |
| 836 | width: 100%; |
| 837 | box-sizing: border-box; |
| 838 | padding: 0.55rem 0.75rem; |
| 839 | background: rgba(12, 14, 18, 0.92); |
| 840 | } |
| 841 | |
| 842 | #stamina-bar { |
| 843 | position: fixed; |
| 844 | z-index: 4; |
| 845 | right: 1rem; |
| 846 | bottom: 1.25rem; |
| 847 | width: 14px; |
| 848 | height: 120px; |
| 849 | padding: 3px; |
| 850 | box-sizing: border-box; |
| 851 | background: rgba(12, 14, 18, 0.82); |
| 852 | border: 1px solid #3a4250; |
| 853 | display: flex; |
| 854 | flex-direction: column; |
| 855 | justify-content: flex-end; |
| 856 | align-items: stretch; |
| 857 | } |
| 858 | |
| 859 | #stamina-bar[hidden] { |
| 860 | display: none !important; |
| 861 | } |
| 862 | |
| 863 | #stamina-bar-fill { |
| 864 | flex: 1; |
| 865 | width: 100%; |
| 866 | transform-origin: bottom center; |
| 867 | transform: scaleY(1); |
| 868 | background: linear-gradient(180deg, #6ecf8a 0%, #3a8a58 100%); |
| 869 | border-radius: 1px; |
| 870 | transition: transform 80ms linear; |
| 871 | } |
| 872 | |
| 873 | #stamina-bar.empty #stamina-bar-fill { |
| 874 | background: #4a3030; |
| 875 | } |
| 876 | |
| 877 | #stamina-bar.low #stamina-bar-fill { |
| 878 | background: linear-gradient(180deg, #d4c48a 0%, #a08040 100%); |
| 879 | } |
| 880 | |
| 881 | .stamina-bar-label { |
| 882 | position: absolute; |
| 883 | right: calc(100% + 0.4rem); |
| 884 | bottom: 0; |
| 885 | font-size: 0.75rem; |
| 886 | color: #9aa3b2; |
| 887 | white-space: nowrap; |
| 888 | pointer-events: none; |
| 889 | } |
| 890 | |
| 891 | #damage-numbers { |
| 892 | position: fixed; |
| 893 | inset: 0; |
| 894 | z-index: 4; |
| 895 | pointer-events: none; |
| 896 | overflow: hidden; |
| 897 | } |
| 898 | |
| 899 | .damage-number { |
| 900 | position: absolute; |
| 901 | transform: translate(-50%, -100%); |
| 902 | font-size: 0.85rem; |
| 903 | font-weight: 700; |
| 904 | color: #fff; |
| 905 | text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85); |
| 906 | white-space: nowrap; |
| 907 | pointer-events: none; |
| 908 | user-select: none; |
| 909 | } |
| 910 | |
| 911 | #shop-panel { |
| 912 | position: fixed; |
| 913 | z-index: 6; |
| 914 | top: 50%; |
| 915 | left: 50%; |
| 916 | transform: translate(-50%, -50%); |
| 917 | width: min(420px, 92vw); |
| 918 | max-height: min(70vh, 520px); |
| 919 | overflow: auto; |
| 920 | background: #1a1e26; |
| 921 | border: 1px solid #2c3340; |
| 922 | padding: 0.75rem 1rem 1rem; |
| 923 | } |
| 924 | |
| 925 | #shop-panel header { |
| 926 | display: flex; |
| 927 | justify-content: space-between; |
| 928 | align-items: center; |
| 929 | gap: 0.75rem; |
| 930 | margin-bottom: 0.75rem; |
| 931 | } |
| 932 | |
| 933 | .shop-stock { |
| 934 | display: flex; |
| 935 | flex-direction: column; |
| 936 | gap: 0.5rem; |
| 937 | } |
| 938 | |
| 939 | .shop-row { |
| 940 | display: grid; |
| 941 | grid-template-columns: 32px 1fr auto; |
| 942 | gap: 0.65rem; |
| 943 | align-items: center; |
| 944 | padding: 0.35rem 0.25rem; |
| 945 | border-bottom: 1px solid #2c3340; |
| 946 | } |
| 947 | |
| 948 | .shop-row img { |
| 949 | width: 32px; |
| 950 | height: 32px; |
| 951 | image-rendering: pixelated; |
| 952 | } |
| 953 | |
| 954 | .shop-row-meta { |
| 955 | display: flex; |
| 956 | flex-direction: column; |
| 957 | gap: 0.15rem; |
| 958 | } |
| 959 | |
| 960 | .chat-bubble { |
| 961 | position: fixed; |
| 962 | z-index: 4; |
| 963 | pointer-events: none; |
| 964 | transform: translate(-50%, -100%); |
| 965 | max-width: min(280px, 70vw); |
| 966 | background: rgba(16, 18, 24, 0.92); |
| 967 | border: 1px solid #3a4250; |
| 968 | border-radius: 8px; |
| 969 | padding: 0.3rem 0.55rem; |
| 970 | font-size: 0.9rem; |
| 971 | line-height: 1.25; |
| 972 | white-space: pre-wrap; |
| 973 | word-break: break-word; |
| 974 | } |
| 975 | |
| 976 | .chat-bubble[hidden] { |
| 977 | display: none !important; |
| 978 | } |
| 979 | |
| 980 | .item-bubble { |
| 981 | position: fixed; |
| 982 | z-index: 4; |
| 983 | pointer-events: none; |
| 984 | transform: translate(-50%, -100%) scale(0.5); |
| 985 | transform-origin: bottom center; |
| 986 | background: rgba(16, 18, 24, 0.92); |
| 987 | border: 1px solid #3a4250; |
| 988 | border-radius: 8px; |
| 989 | padding: 0.35rem; |
| 990 | line-height: 0; |
| 991 | } |
| 992 | |
| 993 | .item-bubble img { |
| 994 | display: block; |
| 995 | width: 32px; |
| 996 | height: 32px; |
| 997 | image-rendering: pixelated; |
| 998 | } |
| 999 | |
| 1000 | .item-bubble[hidden] { |
| 1001 | display: none !important; |
| 1002 | } |