| 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 | #friends-panel { |
| 146 | position: fixed; |
| 147 | z-index: 5; |
| 148 | top: 48px; |
| 149 | right: 0.75rem; |
| 150 | width: min(280px, 92vw); |
| 151 | max-height: calc(100vh - 64px); |
| 152 | overflow: auto; |
| 153 | background: #1a1e26; |
| 154 | border: 1px solid #2c3340; |
| 155 | padding: 0.75rem; |
| 156 | } |
| 157 | |
| 158 | #bag-panel, #bank-panel { |
| 159 | position: fixed; |
| 160 | z-index: 5; |
| 161 | top: 48px; |
| 162 | left: 0.75rem; |
| 163 | width: min(320px, 92vw); |
| 164 | max-height: calc(100vh - 64px); |
| 165 | overflow: auto; |
| 166 | background: #1a1e26; |
| 167 | border: 1px solid #2c3340; |
| 168 | padding: 0.75rem; |
| 169 | } |
| 170 | |
| 171 | #bank-panel { |
| 172 | left: auto; |
| 173 | right: 0.75rem; |
| 174 | width: min(340px, 92vw); |
| 175 | } |
| 176 | |
| 177 | #bank-panel header { |
| 178 | display: flex; |
| 179 | justify-content: space-between; |
| 180 | align-items: center; |
| 181 | } |
| 182 | |
| 183 | .item-grid { |
| 184 | display: grid; |
| 185 | grid-template-columns: repeat(8, 1fr); |
| 186 | gap: 0.25rem; |
| 187 | margin: 0.4rem 0; |
| 188 | } |
| 189 | |
| 190 | .item-grid.equip { |
| 191 | grid-template-columns: repeat(3, 1fr); |
| 192 | } |
| 193 | |
| 194 | .item-slot { |
| 195 | position: relative; |
| 196 | min-height: 36px; |
| 197 | padding: 0.15rem; |
| 198 | image-rendering: pixelated; |
| 199 | } |
| 200 | |
| 201 | .item-slot img { |
| 202 | width: 100%; |
| 203 | height: 32px; |
| 204 | object-fit: contain; |
| 205 | image-rendering: pixelated; |
| 206 | } |
| 207 | |
| 208 | .item-slot.selected { |
| 209 | outline: 2px solid #d4c48a; |
| 210 | } |
| 211 | |
| 212 | .item-slot .qty { |
| 213 | position: absolute; |
| 214 | right: 2px; |
| 215 | bottom: 1px; |
| 216 | font-size: 0.7rem; |
| 217 | } |
| 218 | |
| 219 | .bag-actions { |
| 220 | display: flex; |
| 221 | flex-wrap: wrap; |
| 222 | gap: 0.35rem; |
| 223 | } |
| 224 | |
| 225 | .modal-backdrop { |
| 226 | position: fixed; |
| 227 | inset: 0; |
| 228 | z-index: 5; |
| 229 | background: rgba(8, 10, 14, 0.55); |
| 230 | } |
| 231 | |
| 232 | #send-panel, |
| 233 | #send-target-panel, |
| 234 | #letter-panel { |
| 235 | position: fixed; |
| 236 | z-index: 6; |
| 237 | top: 50%; |
| 238 | left: 50%; |
| 239 | transform: translate(-50%, -50%); |
| 240 | width: min(380px, 92vw); |
| 241 | max-height: min(80vh, 640px); |
| 242 | overflow: auto; |
| 243 | background: #1a1e26; |
| 244 | border: 1px solid #2c3340; |
| 245 | padding: 0.85rem 1rem 1rem; |
| 246 | } |
| 247 | |
| 248 | #send-target-panel { |
| 249 | z-index: 7; |
| 250 | } |
| 251 | |
| 252 | #send-panel header, |
| 253 | #send-target-panel header, |
| 254 | #letter-panel header { |
| 255 | display: flex; |
| 256 | justify-content: space-between; |
| 257 | align-items: center; |
| 258 | gap: 0.5rem; |
| 259 | margin-bottom: 0.5rem; |
| 260 | } |
| 261 | |
| 262 | #send-panel[hidden], |
| 263 | #send-target-panel[hidden], |
| 264 | #letter-panel[hidden], |
| 265 | .modal-backdrop[hidden] { |
| 266 | display: none !important; |
| 267 | } |
| 268 | |
| 269 | .send-item { |
| 270 | display: flex; |
| 271 | align-items: center; |
| 272 | gap: 0.75rem; |
| 273 | margin: 0.5rem 0; |
| 274 | } |
| 275 | |
| 276 | .send-item img { |
| 277 | width: 48px; |
| 278 | height: 48px; |
| 279 | object-fit: contain; |
| 280 | image-rendering: pixelated; |
| 281 | } |
| 282 | |
| 283 | .send-row { |
| 284 | display: flex; |
| 285 | flex-direction: column; |
| 286 | gap: 0.25rem; |
| 287 | margin: 0.5rem 0; |
| 288 | font-size: 0.9rem; |
| 289 | } |
| 290 | |
| 291 | .send-target-row { |
| 292 | display: flex; |
| 293 | align-items: center; |
| 294 | gap: 0.65rem; |
| 295 | width: 100%; |
| 296 | text-align: left; |
| 297 | margin: 0.3rem 0; |
| 298 | } |
| 299 | |
| 300 | .send-target-text { |
| 301 | display: flex; |
| 302 | flex-direction: column; |
| 303 | gap: 0.1rem; |
| 304 | } |
| 305 | |
| 306 | .send-search { |
| 307 | display: flex; |
| 308 | flex-wrap: wrap; |
| 309 | gap: 0.35rem; |
| 310 | margin-top: 0.75rem; |
| 311 | } |
| 312 | |
| 313 | .send-search input { |
| 314 | flex: 1 1 6rem; |
| 315 | } |
| 316 | |
| 317 | .char-preview { |
| 318 | position: relative; |
| 319 | width: 36px; |
| 320 | height: 48px; |
| 321 | flex: 0 0 auto; |
| 322 | image-rendering: pixelated; |
| 323 | background: #101216; |
| 324 | border: 1px solid #2c3340; |
| 325 | } |
| 326 | |
| 327 | .char-preview img { |
| 328 | position: absolute; |
| 329 | inset: 0; |
| 330 | width: 100%; |
| 331 | height: 100%; |
| 332 | object-fit: contain; |
| 333 | image-rendering: pixelated; |
| 334 | } |
| 335 | |
| 336 | #letter-body { |
| 337 | display: block; |
| 338 | width: 100%; |
| 339 | box-sizing: border-box; |
| 340 | margin: 0; |
| 341 | padding: 0; |
| 342 | border: none; |
| 343 | outline: none; |
| 344 | resize: none; |
| 345 | overflow: hidden; |
| 346 | background: transparent; |
| 347 | color: inherit; |
| 348 | font: inherit; |
| 349 | line-height: 1.45; |
| 350 | min-height: 8rem; |
| 351 | field-sizing: content; |
| 352 | } |
| 353 | |
| 354 | .letter-paper { |
| 355 | background: #f4f0e4; |
| 356 | color: #1c1814; |
| 357 | padding: 1.25rem 1.35rem; |
| 358 | margin: 0.35rem 0 0.75rem; |
| 359 | max-height: min(55vh, 420px); |
| 360 | overflow-y: auto; |
| 361 | scrollbar-width: none; |
| 362 | -ms-overflow-style: none; |
| 363 | box-shadow: inset 0 0 0 1px rgba(40, 32, 24, 0.08); |
| 364 | } |
| 365 | |
| 366 | .letter-paper::-webkit-scrollbar { |
| 367 | display: none; |
| 368 | width: 0; |
| 369 | height: 0; |
| 370 | } |
| 371 | |
| 372 | .letter-signature { |
| 373 | margin: 1.35rem 0 0; |
| 374 | padding: 0; |
| 375 | border: none; |
| 376 | background: transparent; |
| 377 | white-space: pre-wrap; |
| 378 | font: inherit; |
| 379 | color: inherit; |
| 380 | line-height: 1.45; |
| 381 | } |
| 382 | |
| 383 | #friends-panel h2, #friends-panel h3 { |
| 384 | margin: 0.4rem 0; |
| 385 | font-size: 0.95rem; |
| 386 | } |
| 387 | |
| 388 | .social-row { |
| 389 | display: flex; |
| 390 | flex-wrap: wrap; |
| 391 | gap: 0.35rem; |
| 392 | align-items: center; |
| 393 | margin: 0.35rem 0; |
| 394 | } |
| 395 | |
| 396 | #inspect-modal[hidden], |
| 397 | #inspect-backdrop[hidden], |
| 398 | #friends-panel[hidden], |
| 399 | #bag-panel[hidden], |
| 400 | #bank-panel[hidden], |
| 401 | #nametag[hidden], |
| 402 | #chat-bar[hidden] { |
| 403 | display: none !important; |
| 404 | } |
| 405 | |
| 406 | #chat-bar { |
| 407 | position: fixed; |
| 408 | z-index: 5; |
| 409 | left: 50%; |
| 410 | bottom: 1.25rem; |
| 411 | transform: translateX(-50%); |
| 412 | width: min(640px, calc(100vw - 2rem)); |
| 413 | } |
| 414 | |
| 415 | #chat-bar input { |
| 416 | width: 100%; |
| 417 | box-sizing: border-box; |
| 418 | padding: 0.55rem 0.75rem; |
| 419 | background: rgba(12, 14, 18, 0.92); |
| 420 | } |
| 421 | |
| 422 | .chat-bubble { |
| 423 | position: fixed; |
| 424 | z-index: 4; |
| 425 | pointer-events: none; |
| 426 | transform: translate(-50%, -100%); |
| 427 | max-width: min(280px, 70vw); |
| 428 | background: rgba(16, 18, 24, 0.92); |
| 429 | border: 1px solid #3a4250; |
| 430 | border-radius: 8px; |
| 431 | padding: 0.3rem 0.55rem; |
| 432 | font-size: 0.9rem; |
| 433 | line-height: 1.25; |
| 434 | white-space: pre-wrap; |
| 435 | word-break: break-word; |
| 436 | } |
| 437 | |
| 438 | .chat-bubble[hidden] { |
| 439 | display: none !important; |
| 440 | } |