/* Coffre : catégories lisibles, comparaison personnelle et commandes compactes. */
.chest-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}
.chest-heading h3{font-size:23px;margin:5px 0 8px;overflow-wrap:anywhere}
.chest-heading p{margin:0;color:#b9c7d8;font-size:12px}
.chest-heading p strong{color:#b8f2c6;font-weight:500}
.chest-heading>button{flex-shrink:0}
.chest-hint{color:#b5c3d4;font-size:11px;line-height:1.65;margin:12px 0 16px}
.chest-slots{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.chest-slots button{font-size:11px;padding:7px 10px;white-space:nowrap}
.chest-slots button span{font-variant-numeric:tabular-nums;opacity:.7;margin-left:3px}
.chest-slots .active{border-color:#d7b567;background:#3b3b34;color:#ffe3a5}
.chest-filters{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:10px}
.chest-filters label{min-width:0;font-size:10px;color:#b5c3d4;display:flex;flex-direction:column;gap:6px}
.chest-filters select{width:100%;min-width:0;margin:0;font-size:11px;background:#152438;color:#eee7d7;border:1px solid #52637c;border-radius:5px;padding:8px}
.chest-results{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:12px 0;color:#acbad0;font-size:10px}
.chest-results button{font-size:10px}
.chest-group{margin:18px 0 24px;min-width:0}
.chest-group>header{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border-bottom:1px solid #465770;padding-bottom:8px;margin-bottom:10px}
.chest-group h3{font-size:19px;margin:0;color:#e9cd95}
.chest-group header p{font-size:10px;color:#9eafc4;text-align:right;overflow-wrap:anywhere;margin:0}
.chest-group header strong{font-weight:500;color:#d4dfed}
.chest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.chest-grid .chest-card{margin:0;padding:13px;display:flex;flex-direction:column;min-width:0;background:#18273c;border:1px solid #526079;border-radius:8px}
.chest-card .item-top{align-items:flex-start;gap:9px}
.chest-card .item-top>svg{width:26px;height:30px;flex-shrink:0}
.chest-card .item-top>div{min-width:0;flex:1}
.chest-card .item-top strong{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.chest-card .item-top small{margin-top:4px;font-size:10px}
.chest-card .item-quality{gap:5px;font-size:10px;margin:9px 0}
.chest-card .item-quality .item-verdict{font-size:10px;padding:2px 5px}
.chest-preview{font-size:11px;line-height:1.6;color:#cbd7e2;overflow-wrap:anywhere;flex:1;margin:0 0 12px}
.chest-preview small{color:#a6b7ce;font-size:10px}
.chest-card .item-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:auto}
.chest-card .item-actions button{padding:6px 8px;font-size:10px;min-height:29px}
.chest-card .chest-salvage{display:flex;align-items:flex-start;gap:5px;border-top:1px solid #35475f;margin:10px 0 0;padding-top:9px;font-size:10px;line-height:1.5;color:#9eafc4;overflow-wrap:anywhere}
.chest-salvage input{flex-shrink:0;margin:1px 0 0;accent-color:#d7b567}
.chest-pages{display:flex;align-items:center;justify-content:center;gap:12px;margin:12px 0;font-size:11px;color:#b9c7d8}
.chest-pages button{font-size:11px}
.chest-recycling{border:1px solid #48586f;border-radius:8px;background:#152236;padding:13px;margin-top:22px;font-size:11px}
.chest-recycling>strong{color:#e5cfaa}
.chest-recycling>span{display:block;color:#a9b9d0;font-size:10px;margin-top:5px}
.chest-recycling p{font-size:10px;line-height:1.6;color:#a9b9d0;margin:8px 0}
.chest-recycling .salvage-toolbar{gap:6px;margin:10px 0 0}
.chest-recycling button{font-size:10px;padding:6px 8px}
.chest-comparison-sheet>h3{font-size:24px;margin:8px 0;overflow-wrap:anywhere}
.chest-comparison-sheet>.item-quality{margin-top:14px}
.chest-comparison-sheet .comparison-table{font-size:12px}
.chest-comparison-sheet .comparison-note{font-size:11px}
@media(max-width:680px){
 .chest-grid{grid-template-columns:1fr}
 .chest-heading{align-items:flex-start;flex-direction:column;gap:10px}
 .chest-heading h3{font-size:21px}
 .chest-filters{grid-template-columns:1fr 1fr}
 .chest-filters label:last-child{grid-column:1/-1}
 .chest-group>header{align-items:flex-start;flex-direction:column;gap:5px}
 .chest-group header p{text-align:left}
 .chest-card .item-actions button{min-height:36px;padding:8px 10px}
}
