:root { color-scheme: dark; font-family: "Segoe UI", sans-serif; background: #101216; color: #e8e4d9; } html, body { margin: 0; height: 100%; overflow: hidden; } #hud { position: fixed; z-index: 2; top: 0; left: 0; right: 0; display: flex; gap: 1.25rem; align-items: center; padding: 0.5rem 0.75rem; background: rgba(12, 14, 18, 0.82); } #overlay { position: fixed; inset: 0; z-index: 3; display: grid; place-items: center; background: #101216; } #overlay[hidden], #hud[hidden] { display: none !important; } .panel { width: min(420px, 92vw); background: #1a1e26; border: 1px solid #2c3340; padding: 1.25rem; } label, .character-row { display: flex; gap: 0.5rem; align-items: center; margin: 0.5rem 0; } input, select, button { font: inherit; background: #101216; color: inherit; border: 1px solid #3a4250; padding: 0.3rem 0.5rem; } button { cursor: pointer; } .error { color: #f0a0a0; min-height: 1.2em; } .hint { color: #9aa3b2; font-size: 0.9rem; } a { color: #d4c48a; } #nametag { position: fixed; z-index: 4; pointer-events: none; transform: translate(-50%, -100%); background: rgba(12, 14, 18, 0.88); border: 1px solid #3a4250; padding: 0.1rem 0.45rem; font-size: 0.85rem; } #inspect-backdrop { position: fixed; inset: 0; z-index: 6; background: rgba(0, 0, 0, 0.45); } #inspect-modal { position: fixed; z-index: 7; left: 50%; top: 40%; transform: translate(-50%, -50%); width: min(360px, 92vw); background: #161a22; border: 1px solid #3a4250; padding: 0.85rem 1rem 1rem; } #inspect-modal header { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; } #inspect-action { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; } #friends-panel { position: fixed; z-index: 5; top: 48px; right: 0.75rem; width: min(280px, 92vw); max-height: calc(100vh - 64px); overflow: auto; background: #1a1e26; border: 1px solid #2c3340; padding: 0.75rem; } #bag-panel, #bank-panel { position: fixed; z-index: 5; top: 48px; left: 0.75rem; width: min(320px, 92vw); max-height: calc(100vh - 64px); overflow: auto; background: #1a1e26; border: 1px solid #2c3340; padding: 0.75rem; } #bank-panel { left: auto; right: 0.75rem; width: min(340px, 92vw); } #bank-panel header { display: flex; justify-content: space-between; align-items: center; } .item-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0.25rem; margin: 0.4rem 0; } .item-grid.equip { grid-template-columns: repeat(3, 1fr); } .item-slot { position: relative; min-height: 36px; padding: 0.15rem; image-rendering: pixelated; } .item-slot img { width: 100%; height: 32px; object-fit: contain; image-rendering: pixelated; } .item-slot.selected { outline: 2px solid #d4c48a; } .item-slot .qty { position: absolute; right: 2px; bottom: 1px; font-size: 0.7rem; } .bag-actions { display: flex; flex-wrap: wrap; gap: 0.35rem; } #friends-panel h2, #friends-panel h3 { margin: 0.4rem 0; font-size: 0.95rem; } .social-row { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; margin: 0.35rem 0; } #inspect-modal[hidden], #inspect-backdrop[hidden], #friends-panel[hidden], #bag-panel[hidden], #bank-panel[hidden], #nametag[hidden], #chat-bar[hidden] { display: none !important; } #chat-bar { position: fixed; z-index: 5; left: 50%; bottom: 1.25rem; transform: translateX(-50%); width: min(640px, calc(100vw - 2rem)); } #chat-bar input { width: 100%; box-sizing: border-box; padding: 0.55rem 0.75rem; background: rgba(12, 14, 18, 0.92); } .chat-bubble { position: fixed; z-index: 4; pointer-events: none; transform: translate(-50%, -100%); max-width: min(280px, 70vw); background: rgba(16, 18, 24, 0.92); border: 1px solid #3a4250; border-radius: 8px; padding: 0.3rem 0.55rem; font-size: 0.9rem; line-height: 1.25; white-space: pre-wrap; word-break: break-word; } .chat-bubble[hidden] { display: none !important; }