body { font-family: system-ui, sans-serif; background: #101418; color: #e8e8e8; margin: 0; padding: 12px; }
h1 small { color: #8a93a0; font-size: 0.55em; }
#layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.card { background: #1a212b; border-radius: 10px; padding: 12px; }
img { image-rendering: pixelated; background: #0b0e12; border-radius: 8px; }
.hp { position: relative; background: #333; border-radius: 6px; height: 18px; margin: 6px 0; }
.hp > div { background: #58d68d; height: 100%; border-radius: 6px; width: 100%; }
.hp span { position: absolute; right: 6px; top: 0; font-size: 12px; line-height: 18px; }
.b { display: inline-block; width: 120px; background: #333; border-radius: 4px; height: 10px; vertical-align: middle; }
.b > div { background: #5dade2; height: 100%; border-radius: 4px; }
.row { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
button { background: #2e4053; color: #fff; border: 1px solid #5d6d7e; border-radius: 6px; padding: 6px 10px; cursor: pointer; }
button:disabled { opacity: 0.45; cursor: default; }
button:hover:not(:disabled) { background: #3d566e; }
#log { max-height: 260px; overflow-y: auto; font-size: 13px; background: #0b0e12; padding: 8px; border-radius: 6px; }
.dex { font-size: 12px; color: #aab; max-height: 200px; overflow-y: auto; }
.small { font-size: 12px; color: #8a93a0; }
