/* Compact treasure ledger. Original drop art and native sale/collection handlers. */
.loot-view #panel-bag{padding:0!important;border:0;background:none;box-shadow:none;margin:0!important;isolation:isolate}
.loot-view #panel-bag:before,.loot-view #panel-bag:after{display:none}
.loot-page-heading{position:relative;min-height:100px;margin:0!important;padding:17px 20px!important;border:1px solid #b49a6555;background:linear-gradient(90deg,#080d0df2,#0b1012b3 50%,#0d10133d),url('/ui/assets/theme/loot-v1/treasure.webp') right 58%/cover no-repeat;box-shadow:inset 0 1px #e6cc9a3b,inset 0 0 0 3px #0004,0 5px 15px #0006}
.loot-page-heading:before,.loot-page-heading:after{content:'';position:absolute;pointer-events:none;width:31px;height:18px;border-color:#d2ad63;border-style:solid;filter:drop-shadow(0 0 4px #d8b66444)}
.loot-page-heading:before{left:-1px;top:-1px;border-width:2px 0 0 2px}.loot-page-heading:after{right:-1px;bottom:-1px;border-width:0 2px 2px 0}
.loot-page-heading h2{display:flex;align-items:center;flex-wrap:wrap;gap:9px;color:#f2e6c8;font:32px/1.15 Georgia,serif;text-shadow:0 2px 4px #000}
.loot-page-heading h2>img{width:40px;height:44px;object-fit:contain;filter:drop-shadow(0 2px 4px #000)}
.loot-page-heading #bag-total{margin:0 0 0 4px;font:12px/1.4 Arial,sans-serif;color:#c6b895}
.loot-page-heading #refresh-bag{display:flex;align-items:center;gap:6px;min-height:36px;padding:7px 10px;border:1px solid #b59b6766;border-radius:4px;background:linear-gradient(#252b22c4,#0d1610e8);color:#d5c49a;box-shadow:inset 0 1px #e4d6ad22;font:12px Arial,sans-serif}
#refresh-bag svg{width:16px;height:16px}#refresh-bag.is-loading svg{animation:spin 1.2s linear infinite}
.loot-view #panel-bag>.hint{margin:9px 0 14px;font-size:12px;color:#b0af99}
.loot-browser-tools{margin:0 0 12px}.loot-browser-top{display:flex;align-items:center;gap:12px;margin:0 0 9px}.loot-view-switch{display:flex;padding:3px;border:1px solid #87744c66;border-radius:5px;background:#0a100e;box-shadow:inset 0 1px 3px #0009}
.loot-view-switch button{min-height:33px;padding:6px 15px;font:15px Georgia,serif;border:1px solid transparent;border-radius:3px;background:none;color:#adb39f}
.loot-view-switch button[aria-pressed=true]{border-color:#ba9857;background:linear-gradient(120deg,#7c603480,#35291acc);color:#f0dfb9;box-shadow:inset 0 1px #f1d28a66,0 0 7px #b48a3433}
#loot-visible-count{margin-left:auto;font-size:11px;color:#abae9b}
.loot-search-box{position:relative;display:flex;align-items:center;max-width:100%;margin-bottom:8px}
.loot-search-box>.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.loot-search-box>svg{position:absolute;left:12px;width:18px;height:18px;color:#a8a88f;pointer-events:none}
.loot-search-box input{width:100%;height:40px;padding:8px 38px;border:1px solid #7c826157;border-radius:4px;background:linear-gradient(#0a100e,#151d19);color:#e8dfc6;font:13px Arial,sans-serif;box-shadow:inset 0 2px 4px #0007,inset 0 -1px #ddcda815}
.loot-search-box input::-webkit-search-cancel-button{display:none}
.loot-search-box>button{position:absolute;right:2px;min-width:36px;min-height:36px;padding:0;background:none;border:0;font:23px Arial;color:#b8ad8b}.loot-search-box>button[hidden]{display:none}
.loot-categories{display:flex;gap:6px}.loot-categories button{min-height:30px;padding:5px 12px;font:12px Arial,sans-serif;border:1px solid #6c78564d;border-radius:4px;background:#111910;color:#aab39c}
.loot-categories button[aria-pressed=true]{color:#e7c889;background:linear-gradient(#55432977,#2d271788);border-color:#b697526e;box-shadow:inset 0 1px #d7b67322}
.loot-refined{grid-template-columns:minmax(0,1fr) 276px;gap:15px;align-items:start}
.loot-refined .loot-card{margin:0;min-width:0;border-radius:4px;background:linear-gradient(115deg,#111915eb,#0a0f0ef2),var(--ever-stone)}
.loot-refined .loot-card:before{border-width:17px;opacity:.85}
.loot-refined .loot-card>header{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;padding:11px 14px;gap:8px;border-bottom-color:#a8905438;background:linear-gradient(110deg,#3d42362e,#11191588)}
.loot-refined .loot-card h3{font:21px/1.2 Georgia,serif;margin:0;color:#e7ddc1}
.loot-refined .loot-card>header>div:last-child{display:flex;gap:5px;flex:none}
.loot-refined .loot-card>header button{min-height:32px;padding:5px 8px;font-size:11px;border-color:#8c82514f;background:#172015;border-radius:3px;color:#c7c39e}
.loot-refined .loot-body{padding:12px 14px}
.loot-refined .loot-protect{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:7px;padding:0 0 11px;min-height:36px;color:#c3c7ac;cursor:pointer;font-size:12px}
.loot-protect>svg{width:19px;height:21px;color:#bdaa73;flex:none}.loot-refined .loot-protect>span:first-of-type{flex:1}.loot-refined .loot-protect strong{font:12px Arial,sans-serif}
.loot-refined .loot-protect input{position:absolute;width:1px;height:1px;margin:0;clip-path:inset(50%);overflow:hidden}
.loot-check{position:relative;width:21px;height:22px;border:1px solid #7b825d88;border-radius:4px;background:#0a100d;box-shadow:inset 0 1px 3px #0008}
.loot-protect input:checked+.loot-check{border-color:#bca061;background:linear-gradient(130deg,#b38c42,#6a4e27);box-shadow:inset 0 1px #f1d99b55,0 0 8px #b88d3b22}
.loot-protect input:checked+.loot-check:after{content:'✓';position:absolute;inset:0;text-align:center;color:#ffebbb;font:bold 19px/20px Arial}
.loot-protect input:focus-visible+.loot-check{outline:2px solid #d9ba72;outline-offset:3px}
.loot-refined .loot-class{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:9px 0;margin-bottom:11px;border-color:#8e815235}
.loot-refined .loot-class p{flex:0 0 100%;font-size:10px;color:#999f89;margin:0 0 1px}
.loot-refined .loot-class button{flex:1;min-height:30px;margin:0;padding:4px 5px;font-size:11px;color:#bdc1a4;border:1px solid #77845b44;border-radius:3px;background:linear-gradient(#202c1b77,#10190f)}
.loot-refined .loot-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:7px}
.loot-refined .loot-group,.loot-refined .loot-review-item{position:relative;display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #78825e44;border-radius:4px;background:linear-gradient(110deg,#1b281a66,#0c140df0);box-shadow:inset 0 1px #d9dcb010,0 2px 4px #0004;content-visibility:auto;contain-intrinsic-size:auto 85px;transition:border-color .16s,background .16s,box-shadow .16s}
.loot-refined .loot-group.selected,.loot-refined .loot-review-item:has(input:checked){border-color:#c5a35c;background:linear-gradient(100deg,#6b532430,#302714b3 55%,#11180fe8);box-shadow:inset 2px 0 #e3be71,inset 0 1px #ebd39724,0 0 8px #b8964522}
.loot-refined .loot-group.selected:after,.loot-refined .loot-review-item:has(input:checked):after{display:none}
.loot-refined .loot-group.selected .loot-icon,.loot-refined .loot-group.selected label>span,.loot-refined .loot-review-item:has(input:checked) .loot-icon,.loot-refined .loot-review-item:has(input:checked) .loot-review-choice>span{opacity:1;filter:none}
.loot-refined .loot-icon{display:block;width:54px;height:64px;min-height:64px;flex:0 0 54px;padding:5px;border:0;border-radius:0;background:url('/ui/assets/theme/everidle-v1/slot-1.svg') center/100% 100% no-repeat;box-shadow:none;overflow:hidden;filter:drop-shadow(0 2px 3px #0008)}
/* Tall native weapon sprites must not set the grid track's intrinsic height. */
.loot-refined .loot-icon>img{position:absolute;inset:6px;display:block;width:calc(100% - 12px);height:calc(100% - 12px);min-width:0;min-height:0;max-width:none;max-height:none;object-fit:contain;object-position:center}
.loot-refined .loot-icon b{bottom:2px;right:5px;font:600 13px Arial,sans-serif;color:#f9edca;text-shadow:0 1px 2px #000,1px 0 #000}
.loot-refined .loot-group>label,.loot-refined .loot-review-choice{display:flex;align-items:center;gap:7px;min-width:0;flex:1;padding:0;min-height:58px;cursor:pointer;white-space:normal}
.loot-refined .loot-row-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px;padding:0!important}
.loot-refined .loot-group .loot-row-copy>span{order:0;font:16px/1.2 Georgia,serif;color:#e3ddc2;margin:0;overflow-wrap:anywhere}
.loot-refined .loot-group .loot-row-copy>strong{display:flex;align-items:center;gap:5px;order:1;font:12px/1.4 Arial,sans-serif;color:#c7ae70}
.loot-refined .loot-group .loot-row-copy>strong:before{content:'';width:14px;height:15px;background:url('/ui/assets/activity/v1/yang.webp') center/contain no-repeat;flex:none}
.loot-refined .loot-group .loot-row-copy>small{order:2;margin:0;font:10px/1.4 Arial,sans-serif;color:#a6ba91}
.loot-refined .loot-row-mark{display:grid;place-items:center;align-self:center;flex:0 0 21px;width:21px;height:22px;padding:0!important;margin:0!important;border:1px solid #72805777;border-radius:4px;background:#0a110b;color:#ffebbb!important;font:bold 18px/1 Arial!important;box-shadow:inset 0 1px 3px #0007}
.loot-refined :is(.loot-group,.loot-review-item):has(input:checked) .loot-row-mark{border-color:#c6a35b;background:linear-gradient(130deg,#b68e40,#6b5026);box-shadow:inset 0 1px #f7dfa369,0 0 8px #c59b3d22}
.loot-refined :is(.loot-group,.loot-review-item):has(input:disabled) .loot-row-mark{opacity:.35}
.loot-refined .loot-review{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:7px}
.loot-refined .loot-review-choice>span>strong{font:16px/1.2 Georgia,serif;color:#e3ddc2;overflow-wrap:anywhere}
.loot-refined .loot-review-choice small{margin:0;font:11px/1.45 Arial,sans-serif;color:#bab89b}
.loot-refined .loot-review-choice .item-bonus{font-size:11px;color:#b3c69b}
.loot-refined[data-loot-view=grouped] .loot-review,.loot-refined[data-loot-view=individual] .loot-groups{display:none}
.loot-refined [hidden]{display:none!important}
.loot-refined .loot-summary{position:sticky;top:calc(var(--header-height,90px) + 12px);z-index:5}
.loot-refined .loot-summary h3{font-size:19px}.loot-refined .loot-summary .loot-body{display:block}
.loot-refined .loot-totals{gap:5px;margin-bottom:10px}.loot-refined .loot-totals>div{position:relative;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:2px;padding:9px 3px;border:1px solid #9d8c5344;border-radius:3px;background:linear-gradient(#27312166,#0c130e);box-shadow:inset 0 1px #e6d7a418}
.loot-refined .loot-totals img{width:20px;height:22px;object-fit:contain;flex:none}.loot-refined .loot-totals b{font:600 17px/1.3 Arial,sans-serif;color:#e8dfc1;font-variant-numeric:tabular-nums}.loot-refined .loot-totals small{flex:0 0 100%;margin:1px 0 0;font-size:10px;color:#a7b093}.loot-refined .loot-totals>div:last-child b{color:#eac371}.loot-refined .loot-totals>div:last-child img{display:none}
.loot-refined .loot-summary button{min-height:42px;padding:8px;margin:0 0 7px;font:15px Georgia,serif;border:1px solid #93824f70;border-radius:4px;background:linear-gradient(#26321e,#151e11);color:#d8d4b4;box-shadow:inset 0 1px #d9d7ab22}
.loot-refined .loot-summary [data-commit]{background:linear-gradient(120deg,#9b7333,#704c22 60%,#5e401f);border-color:#c3a05a;color:#f9e7bb;box-shadow:inset 0 1px #fce2a37d,inset 0 -1px #a97a3f88,0 2px 5px #0006}
.loot-refined .loot-summary .loot-body>p{margin:1px 0 0;text-align:center;font:10px/1.4 Arial,sans-serif;color:#9da68c}
.loot-refined .loot-progress[hidden]{display:none}
.loot-refined .loot-empty{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:190px;text-align:center;padding:20px 10px;border:1px solid #8b81533b;background:radial-gradient(ellipse at center,#68572925,transparent 65%)}
.loot-refined .loot-empty>img{width:57px;height:62px;object-fit:contain;filter:drop-shadow(0 3px 8px #0009)}.loot-refined .loot-empty h3{font-size:23px;margin:0}.loot-refined .loot-empty p{margin:0;font-size:12px}.loot-refined .loot-empty button,.loot-no-results button{min-height:36px;padding:6px 12px;font-size:12px;background:#28321e77;border:1px solid #9f8a5155;color:#d7c79d}
.loot-refined.loot-is-empty .loot-summary,.loot-refined.loot-is-empty .loot-class,.loot-refined.loot-is-empty .loot-protect,.loot-refined.loot-is-empty .loot-review{display:none}.loot-refined.loot-is-empty>.loot-card{display:none}
.loot-no-results{padding:24px 12px;min-height:150px;text-align:center}.loot-no-results>svg{width:32px;height:32px;color:#b5a26a}.loot-no-results p{font:19px Georgia,serif;color:#ddd5b7}
@media(max-width:750px){.loot-view #panel-bag{margin-top:0}.loot-page-heading{min-height:85px;padding:13px 14px!important;background-image:linear-gradient(90deg,#080d0df2,#0b1012aa 55%,#0d101345),url('/ui/assets/theme/loot-v1/treasure-small.webp')}.loot-page-heading h2{font-size:29px;gap:7px}.loot-page-heading h2>img{width:32px;height:36px}.loot-page-heading #bag-total{flex:0 0 calc(100% - 40px);margin-left:40px;margin-top:-4px;font-size:11px}.loot-page-heading #refresh-bag{padding:6px;gap:0}.loot-page-heading #refresh-bag span{display:none}.loot-page-heading #refresh-bag svg{width:17px;height:17px}.loot-page-heading #refresh-bag{min-width:34px;min-height:34px}.loot-view #panel-bag>.hint{margin:8px 0 11px;font-size:11px}.loot-browser-tools{margin-bottom:10px}.loot-view-switch button{padding:5px 13px;font-size:14px}.loot-refined{display:flex;flex-direction:column;gap:10px}.loot-refined>div{display:contents}.loot-refined .loot-summary{order:-1;position:sticky;top:var(--header-height,90px);width:100%}.loot-refined .loot-summary>header{display:none}.loot-refined .loot-summary .loot-body{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:9px 11px}.loot-refined .loot-totals{grid-column:1/-1;margin:0;gap:5px}.loot-refined .loot-totals>div{display:flex;flex-wrap:nowrap;gap:5px;padding:3px 5px;border:0;background:none;box-shadow:none}.loot-refined .loot-totals b{font-size:16px}.loot-refined .loot-totals small{flex:none;margin:0;font-size:10px}.loot-refined .loot-totals img{width:18px;height:20px}.loot-refined .loot-summary button{min-height:38px;margin:0;font-size:14px}.loot-refined .loot-summary .loot-body>p{grid-column:1/-1;font-size:9px}.loot-refined .loot-card>header{padding:10px 12px}.loot-refined .loot-card h3{font-size:20px}.loot-refined .loot-body{padding:11px 12px}.loot-refined .loot-groups,.loot-refined .loot-review{grid-template-columns:1fr}.loot-refined .loot-group,.loot-refined .loot-review-item{flex-direction:row;gap:9px;padding:7px 8px}.loot-refined .loot-group .loot-icon{align-self:center}.loot-refined .loot-class{gap:4px}.loot-refined .loot-class button{font-size:10px;padding:4px 3px}.loot-refined .loot-card{width:100%}}
@media(max-width:360px){.loot-refined .loot-totals img{display:none}.loot-refined .loot-totals b{font-size:15px}.loot-refined .loot-card>header button{font-size:10px;padding-inline:6px}.loot-refined .loot-card h3{font-size:18px}.loot-refined .loot-icon{width:48px;height:60px;flex-basis:48px}.loot-refined .loot-group .loot-row-copy>span,.loot-refined .loot-review-choice>span>strong{font-size:15px}}
@media(hover:hover){.loot-refined .loot-group:hover,.loot-refined .loot-review-item:hover{border-color:#b9a76899}.loot-refined .loot-icon:hover{filter:brightness(1.16) drop-shadow(0 0 4px #bd9b3e22)}}
@media(prefers-reduced-motion:reduce){#refresh-bag.is-loading svg{animation:none}.loot-refined .loot-group,.loot-refined .loot-review-item{transition:none}}
@media(max-width:750px){.loot-refined .loot-summary [data-sell]{grid-column:1;grid-row:2}.loot-refined .loot-summary [data-commit]{grid-column:2;grid-row:2}.loot-refined .loot-summary .loot-body>p{grid-column:1/-1;grid-row:3}}
