/* Existing empty-list messages only: no generated labels, images or hidden actions. */
:is(#casegrid,#inventory-grid,#library-grid,#drop-history-list)>.empty{
 position:relative;
 grid-column:1/-1;
 min-width:0;
 width:100%;
 margin:0;
 padding:60px 28px;
 border:1px solid #ffffff0d;
 border-radius:20px;
 background:#191c20;
 box-shadow:none;
 color:#c0c7ce;
 text-align:center;
 font-size:13px;
 line-height:1.85;
 overflow-wrap:anywhere;
}
:is(#casegrid,#inventory-grid,#library-grid,#drop-history-list)>.empty::before{
 content:'';
 display:block;
 width:40px;
 height:3px;
 margin:0 auto 23px;
 border-radius:3px;
 background:#e6bc70;
 opacity:.75;
 pointer-events:none;
}
:is(#casegrid,#inventory-grid,#library-grid,#drop-history-list)>.empty>h2{
 max-width:520px;
 margin:0 auto 12px;
 font:700 clamp(24px,3vw,32px)/1.2 Manrope,Arial,sans-serif;
 line-height:1.15;
 letter-spacing:.015em;
 color:#eeeef0;
}
:is(#casegrid,#inventory-grid,#library-grid,#drop-history-list)>.empty>p{
 max-width:420px;
 margin:0 auto 8px;
 font-size:14px;
 line-height:1.8;
 color:#b1bac4;
}
:is(#casegrid,#inventory-grid,#library-grid,#drop-history-list)>.empty>.btn{
 min-height:52px;
 max-width:100%;
 margin:18px 5px 0;
 padding:13px 20px;
 border-radius:14px;
 font-size:13px;
 line-height:1.6;
 white-space:normal;
}
:is(#casegrid,#inventory-grid,#library-grid,#drop-history-list)>.empty>.btn.secondary{
 background:#ffffff04;
 border-color:#e6bc7036;
 color:#e5cc9d;
}
:is(#casegrid,#inventory-grid,#library-grid,#drop-history-list)>.empty :is(a,button):focus-visible{
 outline:2px solid #f4d79c;
 outline-offset:4px;
}
/* The library message is plain text; its existing reset remains in the toolbar. */
#library-grid>.empty{padding:42px 28px;color:#c0c7ce}
@media(hover:hover){
 :is(#casegrid,#inventory-grid,#library-grid,#drop-history-list)>.empty>.btn.secondary:not(:disabled):hover{background:#e6bc700c;border-color:#e6bc7060;color:#f2d6a2}
}
@media(max-width:600px){
 :is(#casegrid,#inventory-grid,#library-grid,#drop-history-list)>.empty{padding:32px 18px;border-radius:14px;font-size:12px}
 :is(#casegrid,#inventory-grid,#library-grid,#drop-history-list)>.empty::before{margin-bottom:19px;width:32px}
 :is(#casegrid,#inventory-grid,#library-grid,#drop-history-list)>.empty>h2{font-size:28px;line-height:1.2}
 :is(#casegrid,#inventory-grid,#library-grid,#drop-history-list)>.empty>p{font-size:12px;line-height:1.8}
 :is(#casegrid,#inventory-grid,#library-grid,#drop-history-list)>.empty>.btn{display:flex;width:100%;margin:14px 0 0;min-height:48px;padding:13px 16px}
 #library-grid>.empty{padding:32px 20px}
}
@media(prefers-reduced-motion:reduce){
 :is(#casegrid,#inventory-grid,#library-grid,#drop-history-list)>.empty :is(a,button){transition:none!important;animation:none!important;transform:none!important}
}

.reduce-motion :is(#casegrid,#inventory-grid,#library-grid,#drop-history-list)>.empty :is(a,button){transition:none!important;animation:none!important;transform:none!important}
