.rw-creatures { color: #3b3025; font: 12px/1.5 Verdana, Arial, sans-serif; }
.rw-creatures * { box-sizing: border-box; }
.rw-creatures-hero { display: flex; align-items: center; gap: 16px; padding: 24px 20px; border: 1px solid #77633f; background: radial-gradient(ellipse at top right, #647052 0, transparent 65%), linear-gradient(120deg, #212e28, #374537); color: #f7edd7; box-shadow: inset 0 0 0 3px #ffffff0a; }
.rw-creatures-emblem { display: grid; flex: 0 0 78px; height: 78px; place-items: center; border: 1px solid #a38a59; border-radius: 50%; background: radial-gradient(circle, #99a36a40, #151e1c); }
.rw-creatures-emblem img { image-rendering: pixelated; object-fit: contain; }
.rw-creatures .rw-creatures-kicker { margin: 0 0 6px; color: #dfca9a; font-size: 9px; font-weight: bold; letter-spacing: .17em; }
.Content .BoxContent .rw-creatures h1, html[data-relaxera-theme]:not([data-relaxera-theme="classic"]) .Content .BoxContent .rw-creatures h1 { margin: 0 0 7px; color: #fff0cc; font: bold 28px/1.15 Georgia, serif; text-shadow: 0 2px 2px #0004; }
.rw-creatures-hero p:last-child { margin: 0; max-width: 440px; color: #e1e2cf; font-size: 11px; }
.rw-creatures-total { margin-left: auto; padding-left: 16px; border-left: 1px solid #d2c08d55; text-align: center; flex-shrink: 0; }
.rw-creatures-total strong { display: block; color: #f5d68f; font: 36px/1.1 Georgia, serif; }
.rw-creatures-total span { font-size: 9px; color: #e5dfcb; }
.rw-creatures-controls { margin-top: 14px; padding: 15px; border: 1px solid #b9a780; background: linear-gradient(#f7efde, #eadebf); }
.rw-creatures-filters { display: grid; grid-template-columns: minmax(180px, 1.5fr) minmax(120px, 1fr) minmax(160px, 1.2fr); gap: 12px; }
.rw-creatures-filters label { display: flex; flex-direction: column; gap: 5px; color: #514127; font-size: 10px; font-weight: bold; }
.rw-creatures-filters input, .rw-creatures-filters select { width: 100%; height: 36px; padding: 6px 9px; border: 1px solid #b8a782; border-radius: 2px; color: #352f25; background: #fffaf0; font: 11px Verdana, Arial, sans-serif; }
.rw-creatures :is(input, select, button, a):focus-visible { outline: 2px solid #315d70; outline-offset: 3px; }
.rw-creatures-alphabet { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 14px; }
#rw-creature-library .rw-creatures-alphabet button { min-width: 24px; height: 27px; padding: 3px 6px; border: 1px solid #b7a27c; border-radius: 2px; color: #574329 !important; background: #f7f0df !important; cursor: pointer; font: bold 10px Verdana, Arial, sans-serif; }
#rw-creature-library .rw-creatures-alphabet button[aria-pressed="true"] { color: #fff3d6 !important; background: #3b4e3b !important; border-color: #354635; box-shadow: inset 0 -2px 0 #cfb275; }
#rw-creature-library .rw-creatures-alphabet button:hover { outline: 1px solid #8f7546; }
.rw-creatures-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 20px 0 11px; }
.Content .BoxContent .rw-creatures h2 { margin: 0; color: #4e3b24; font: bold 21px Georgia, serif; }
.rw-creatures-heading > span { color: #74654c; font-size: 10px; text-align: right; }
.rw-creatures-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rw-creatures .rw-creature-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 12px 12px 9px; border: 1px solid #c1ae88; border-top: 3px solid #687354; background: linear-gradient(145deg, #fbf5e7, #ece0c5); text-align: center; text-decoration: none !important; box-shadow: 0 2px 2px #58401e0b; transition: border-color .15s, box-shadow .15s; }
.rw-creatures .rw-creature-card:hover { border-color: #80663d; box-shadow: 0 3px 10px #58401e25; }
.rw-creature-portrait { position: relative; display: grid; place-items: center; height: 78px; margin: 0 auto 4px; width: 100%; background: radial-gradient(ellipse at center, #b0a07035 0, transparent 70%); }
.rw-creature-portrait img { width: 64px; height: 64px; object-fit: contain; image-rendering: pixelated; }
.rw-creature-no-art::after { content: '✧'; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #bda878; border-radius: 50%; color: #9c8757; font: 36px Georgia, serif; }
.rw-creature-boss { position: absolute; right: -5px; top: -4px; padding: 2px 5px; border: 1px solid #b49375; border-radius: 2px; color: #803e2b; background: #f5e3ca; font-size: 9px; }
.Content .BoxContent .rw-creatures .rw-creature-card h3 { margin: 0 0 10px; min-height: 38px; display: flex; align-items: center; justify-content: center; color: #493824; font: bold 15px/1.2 Georgia, serif; overflow-wrap: anywhere; }
.rw-creature-card dl { margin: auto 0 9px; padding: 8px 0; border-top: 1px solid #cbb88e; border-bottom: 1px solid #cbb88e; text-align: left; }
.rw-creature-card dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 5px; }
.rw-creature-card dt { color: #7a684b; font-size: 9px; }
.rw-creature-card dd { margin: 0; color: #4b4935; font-size: 11px; font-weight: bold; font-variant-numeric: tabular-nums; }
.rw-creature-card dd small { font-size: 8px; font-weight: normal; color: #7a684b; }
.rw-creature-detail { display: flex; justify-content: space-between; color: #68714b; font-size: 9px; }
.rw-creatures [hidden] { display: none !important; }
.rw-creatures-empty { padding: 35px 15px; border: 1px solid #b9a780; background: #f2e8d0; text-align: center; }
.rw-creatures-empty strong { font: bold 19px Georgia, serif; }
.rw-creatures-empty button { padding: 8px 12px; cursor: pointer; }
.rw-creatures-footnote { margin: 14px 0 0; color: #77674d; font-size: 10px; }
@media (max-width: 1000px) { .rw-creatures-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .rw-creatures-total { display: none; } .rw-creatures-filters { grid-template-columns: 1fr 1fr; } .rw-creatures-filters label:first-child { grid-column: 1 / -1; } .rw-creatures-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
