/* A small reward receipt over the ongoing hunt; combat and search never pause. */
.encounter-rewards{position:absolute;z-index:9;top:76px;left:50%;transform:translateX(-50%);width:370px;max-width:calc(100% - 28px);max-height:calc(100% - 96px);overflow:auto;padding:13px 14px 0;border:1px solid #bd9653;border-radius:4px;background:linear-gradient(125deg,#302719f5,#10120ffb);box-shadow:0 8px 35px #0007,inset 0 1px #edce8833;backdrop-filter:blur(8px);animation:encounter-reveal-in .22s ease-out;scrollbar-width:thin;overscroll-behavior:contain}
.encounter-rewards[hidden]{display:none}
.encounter-rewards>header{display:flex;align-items:center;gap:10px;padding-right:26px}
.encounter-rewards-portrait{width:44px;height:52px;flex:none}
.encounter-rewards-portrait .mob-portrait{display:grid;place-items:center;width:100%;height:100%;object-fit:contain;background:transparent;border:0}
.encounter-rewards-portrait .model-pending span{display:none}
.encounter-rewards>header>div:last-child{min-width:0}
.encounter-rewards-defeated{display:flex;align-items:center;gap:4px;margin:0 0 3px;font:10px/1.4 Arial,sans-serif;color:#d0a45b}
.encounter-rewards-defeated img{width:16px;height:16px;object-fit:contain}
.encounter-rewards h2{font:21px/1.2 Georgia,serif;color:#ead9af;margin:0;overflow-wrap:anywhere}
.encounter-rewards-close{position:absolute;right:3px;top:3px;min-width:36px;min-height:36px;padding:0;border:0;background:none;font-size:22px;color:#bfa87c}
.encounter-rewards-totals{display:flex;flex-wrap:wrap;gap:10px 20px;padding:11px 0;margin-top:7px;border-top:1px solid #8d713d55}
.encounter-rewards-totals>span{display:flex;align-items:center;gap:5px;min-width:0}
.encounter-rewards-totals img{width:22px;height:22px;object-fit:contain}
.encounter-rewards-totals strong{font:600 16px/1.4 Arial,sans-serif;color:#edce88;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.encounter-rewards-totals small{font:10px Arial,sans-serif;color:#b7aa8d}
.encounter-rewards-items{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.encounter-rewards-items>button{position:relative;display:grid;place-items:center;width:44px;height:48px;flex:none;padding:5px;background:transparent url('/ui/assets/inventory-slot-frame.svg') center/100% 100% no-repeat;border:0;border-radius:0}
.encounter-rewards-items img{max-width:100%;max-height:36px;object-fit:contain}
.encounter-rewards-items b{position:absolute;bottom:1px;right:3px;color:#f0dfb8;font-size:10px;text-shadow:0 1px 2px #000}
.encounter-rewards-items>p{font:11px/1.5 Arial,sans-serif;color:#b7aa8d;margin:0}
.encounter-rewards>footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 0;border-top:1px solid #8d713d55}
.encounter-rewards>footer>span{font:10px/1.4 Arial,sans-serif;color:#b7aa8d}
.encounter-rewards-loot{font-size:11px;min-height:40px;padding:6px;background:transparent;border:0;color:#dec18b}
.encounter-rewards button:focus-visible{outline:2px solid #edca83;outline-offset:2px}
.encounter-rewards[data-tier=boss]{border-color:#c28766}
.encounter-rewards.leaving{animation:encounter-reveal-out .18s ease-in forwards}
@media(max-width:700px){.encounter-rewards{top:67px;padding:10px 12px 0;max-height:calc(100% - 84px)}.encounter-rewards h2{font-size:19px}.encounter-rewards-totals strong{font-size:15px}.encounter-rewards-close{min-width:40px;min-height:40px}}
@media(max-height:520px) and (orientation:landscape){.encounter-rewards{top:60px;max-height:calc(100% - 68px)}.encounter-rewards-portrait{width:36px;height:40px}}
@media(prefers-reduced-motion:reduce){.encounter-rewards,.encounter-rewards.leaving{animation:none;transition:none}}
