.rw-monster-controls{display:flex;align-items:center;gap:8px;margin:0 0 10px}.rw-monster-controls .rw-monster-search{flex:1 1 auto;min-width:90px}.rw-monster-controls label{flex:0 0 auto;color:#b89a73;font:bold 9px Tahoma,Arial,sans-serif;text-transform:uppercase}.rw-monster-controls .rw-monster-sort{flex:0 1 150px;max-width:150px;cursor:pointer}.rw-monster-hint{margin:0 1px 10px;color:#9b9389;font-size:9px;line-height:15px}.rw-monster-scroll{width:100%;max-width:100%;overflow-x:auto;border:1px solid #514231;border-radius:5px;background:#111}.rw-monster-table{width:100%;min-width:480px;border-collapse:collapse;font:10px Tahoma,Arial,sans-serif}.rw-monster-table th{padding:10px 7px;color:#e7c99d;text-align:left;text-transform:uppercase;letter-spacing:.5px;background:#29221a;border-bottom:1px solid #665037}.rw-monster-table td{padding:7px;border-bottom:1px solid #302b26;vertical-align:middle}.rw-monster-table tr:nth-child(even) td{background:#191817}.rw-monster-table tr:hover td{background:#242018}.rw-monster-table .rw-monster-face{width:55px;text-align:center}.rw-monster-sprite{display:inline-block;max-width:42px;max-height:42px;object-fit:contain;image-rendering:pixelated}.rw-monster-fallback{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;color:#a98351;border:1px solid #55412c;border-radius:3px}.rw-monster-name a{color:#f2dec1;font:bold 12px Georgia,serif;text-decoration:none}.rw-monster-name a:hover{color:#fff0d5;text-decoration:underline}.rw-monster-stat{color:#ddd;font-weight:bold;white-space:nowrap}.rw-monster-hidden{display:none}.rw-loot-open{min-height:27px;padding:5px 9px;white-space:nowrap}.rw-loot-open span{margin-left:5px;color:#edc78b;font-size:9px}
.rw-monster-detail{padding:15px;background:#151515;border:1px solid #4c4c4c;border-radius:5px;box-shadow:0 3px 9px rgba(0,0,0,.45)}.rw-monster-detail-head{display:flex;align-items:center;gap:15px;margin-bottom:14px;padding-bottom:13px;border-bottom:1px solid #40372b}.rw-monster-portrait{display:flex;flex:0 0 84px;align-items:center;justify-content:center;width:84px;height:84px;color:#b58d59;font:26px Georgia,serif;background:#0c0b0a;border:1px solid #695238;border-radius:5px}.rw-monster-portrait img{max-width:76px;max-height:76px;object-fit:contain;image-rendering:pixelated}.rw-monster-detail-title{margin:4px 0;color:#fff;font:bold 23px Georgia,serif}.rw-monster-race{color:#a88965;font-size:10px;text-transform:capitalize}.rw-monster-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:14px}.rw-monster-facts div{min-width:0;padding:9px;background:#201b16;border:1px solid #51412d;border-radius:3px}.rw-monster-facts span{display:block;margin-bottom:5px;color:#ab8b64;font-size:8px;text-transform:uppercase}.rw-monster-facts strong{color:#eee;font-size:13px;overflow-wrap:anywhere}.rw-monster-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rw-monster-section{min-width:0;padding:10px;background:#121212;border:1px solid #40372e;border-radius:4px}.rw-monster-section h3{margin:0 0 8px;color:#e4bd86;font:bold 14px Georgia,serif}.rw-monster-line{display:flex;justify-content:space-between;gap:10px;padding:5px 0;color:#c6c2bb;border-top:1px solid #2e2925}.rw-monster-line strong{color:#ede2d1;white-space:nowrap}.rw-monster-line small{color:#a27e51}.rw-monster-muted{margin:5px 0;color:#888}.rw-monster-immunities{margin-top:10px}.rw-monster-tags{display:flex;flex-wrap:wrap;gap:6px}.rw-monster-tags span{padding:5px 7px;color:#d1b58e;background:#261d14;border:1px solid #5c4830;border-radius:3px}.rw-monster-detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.rw-monster-back{background:linear-gradient(180deg,#333,#1a1a1a);border-color:#555}
.rw-loot-modal[hidden]{display:none}.rw-loot-modal{position:fixed;inset:0;z-index:2147482000;display:flex;align-items:center;justify-content:center;padding:15px;background:rgba(0,0,0,.8)}.rw-loot-panel{display:flex;flex-direction:column;width:min(760px,100%);max-height:calc(100vh - 30px);overflow:hidden;color:#ddd;background:#151312;border:1px solid #9b7140;border-radius:6px;box-shadow:0 20px 65px #000}.rw-loot-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 17px;background:linear-gradient(90deg,#302317,#161412);border-bottom:1px solid #59432c}.rw-loot-head h2{margin:4px 0 0;color:#fff;font:bold 19px Georgia,serif}.rw-loot-close{flex:0 0 auto;width:32px;height:32px;color:#efcf9c;font:25px/28px Arial,sans-serif;cursor:pointer;background:#211a15;border:1px solid #735a3d;border-radius:3px}.rw-loot-close:hover{background:#4a3220}.rw-loot-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:8px;overflow-y:auto;overscroll-behavior:contain;padding:14px}.rw-loot-card{display:flex;align-items:center;gap:9px;min-width:0;min-height:56px;padding:7px;background:#211c17;border:1px solid #564430;border-radius:4px}.rw-loot-card img{flex:0 0 32px;width:32px;height:32px;object-fit:contain;image-rendering:pixelated}.rw-loot-card-text{min-width:0}.rw-loot-card-name{overflow:hidden;color:#ead5b6;font:bold 10px Tahoma,Arial,sans-serif;text-overflow:ellipsis;white-space:nowrap}.rw-loot-card-chance{margin-top:4px;color:#d7aa71;font-size:10px}.rw-loot-empty{grid-column:1/-1;padding:22px;color:#999;text-align:center}
@media(max-width:620px){.rw-monster-detail-grid{grid-template-columns:1fr}.rw-monster-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.rw-monster-controls{flex-wrap:wrap}.rw-monster-controls .rw-monster-search{flex-basis:100%}.rw-loot-list{grid-template-columns:repeat(auto-fill,minmax(135px,1fr));padding:10px}.rw-loot-modal{padding:8px}.rw-loot-panel{max-height:calc(100vh - 16px)}}
.rw-loot-warning{padding:8px 14px;color:#f1c385;font:10px/15px Tahoma,Arial,sans-serif;background:#33251b;border-bottom:1px solid #69492c}.rw-loot-unmatched{display:flex;flex:0 0 32px;align-items:center;justify-content:center;width:32px;height:32px;color:#ddb77d;background:#16120e;border:1px solid #705131;border-radius:3px}
