* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 system-ui, "Segoe UI", sans-serif; background: #14161b; color: #e4e4e4; }
a { color: #e8b44a; }
header { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; padding: 12px 20px; background: #1d2028; border-bottom: 1px solid #333844; }
.brand { font-size: 20px; font-weight: 700; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
nav.right { margin-left: auto; }
main { max-width: 940px; margin: 0 auto; padding: 20px; min-height: 70vh; }
footer { text-align: center; padding: 16px; color: #777; font-size: 13px; }
h1 { font-size: 24px; } h2 { font-size: 18px; margin-top: 28px; }
.box { background: #1d2028; border: 1px solid #333844; border-radius: 6px; padding: 14px 18px; margin: 12px 0; }
.table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 6px 10px; border-bottom: 1px solid #2c303a; vertical-align: top; }
th { color: #aab; font-weight: 600; }
form.stack, div.stack { display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
label { display: flex; flex-direction: column; gap: 3px; }
input, textarea, select { font: inherit; padding: 7px 9px; background: #0f1115; color: #eee; border: 1px solid #444a57; border-radius: 4px; }
textarea { min-height: 140px; }
button { font: inherit; padding: 8px 16px; background: #8a5a12; color: #fff; border: 0; border-radius: 4px; cursor: pointer; align-self: flex-start; }
button.danger { background: #8c2b2b; }
button.link { background: none; padding: 0; color: #e8b44a; text-decoration: underline; }
form.inline { display: inline; }
.actions a { display: inline-block; margin-right: 10px; white-space: nowrap; }
.flash { padding: 10px 14px; border-radius: 5px; }
.flash.ok { background: #1f3d29; } .flash.error { background: #4a2323; }
.errors { background: #4a2323; padding: 10px 14px 10px 30px; border-radius: 5px; }
.up { color: #5fd07a; } .down { color: #e86a6a; } .muted { color: #8b8f99; }
.code { font: 700 20px/1.4 ui-monospace, monospace; letter-spacing: 1px; user-select: all; }
code { background: #0f1115; padding: 2px 6px; border-radius: 3px; }
.hp { position: absolute; left: -9999px; }
.news-body { white-space: pre-line; }
.class-1 { color: #c79c6e; } .class-2 { color: #f58cba; } .class-3 { color: #abd473; } .class-4 { color: #fff569; }
.class-5 { color: #fff; } .class-6 { color: #e5405c; } .class-7 { color: #3f8fe8; } .class-8 { color: #69ccf0; }
.class-9 { color: #a899e0; } .class-11 { color: #ff7d0a; }
.q-poor { color: #9d9d9d; } .q-common { color: #fff; } .q-uncommon { color: #1eff00; } .q-rare { color: #3f8fe8; }
.q-epic { color: #b565f0; } .q-legendary { color: #ff8000; } .q-artifact, .q-heirloom { color: #e6cc80; }
.captcha { display: flex; flex-direction: column; gap: 4px; }
.captcha img { border-radius: 4px; cursor: pointer; align-self: flex-start; }
.captcha span { font-size: 13px; }
