/* Frostline's lightweight inventory: a soft translucent surface keeps the match visible. */
#brInventory.br-inventory-overlay {
  background:transparent;
  padding:12px max(16px,env(safe-area-inset-right)) 12px max(12px,env(safe-area-inset-left));
}
#brInventory .br-inventory-panel {
  width:min(566px,100%);
  max-height:calc(100dvh - 24px);
  background:rgba(12,20,30,.58);
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
  border:1px solid #ffffff1e;
  border-radius:0;
  box-shadow:0 12px 38px #0004;
  padding:12px 10px 14px;
  color:#fff;
  text-shadow:0 1px 3px #06121dd9;
  scrollbar-color:#ffffff4a transparent;
}
#brInventory .br-inventory-heading {margin-bottom:17px;align-items:center}
#brInventory .br-inventory-heading .eyebrow,
#brInventory .br-inventory-live,
#brInventory .br-section-heading>span,
#brInventory .br-ammo-legend,
#brInventory .br-inventory-footnote {display:none}
#brInventory .br-inventory-heading h2 {
  margin:0;
  font-size:19px;
  font-style:normal;
  font-weight:850;
  line-height:1.1;
  letter-spacing:1.2px;
}
#brInventory .br-inventory-heading .close-btn {
  display:grid;place-items:center;
  width:30px;height:30px;
  font-size:18px;
  border:0;border-radius:0;
  background:#0b172326;
  color:#f6f9fe;
  text-shadow:0 1px 5px #06121d;
}
#brInventory .br-section-heading {margin:0 0 6px}
#brInventory .br-section-heading h3 {
  margin:0;
  color:#e2eaf2;
  font-size:9px;
  font-style:normal;
  font-weight:800;
  letter-spacing:1.2px;
}
#brInventory .br-ammo-grid {gap:3px;margin-bottom:18px}
#brInventory .br-ammo-tile {
  display:flex;flex-direction:column;align-items:center;gap:2px;
  padding:2px 1px 6px;
  border:0;border-bottom:1px solid #eff7ff4a;
  background:#0b172314;
  min-height:69px;
}
#brInventory .br-ammo-art {width:32px;height:25px}
#brInventory .br-ammo-art svg {filter:drop-shadow(0 1px 3px #061018b5)}
#brInventory .br-ammo-tile>strong {font-size:15px;font-weight:850;line-height:1.15}
#brInventory .br-ammo-tile>small {font-size:7px;letter-spacing:.45px;font-weight:750;margin-top:0}
#brInventory .br-ammo-detail {font-size:7px;margin:0;opacity:.72}
#brInventory .br-ammo-tile.is-empty {opacity:.65}
#brInventory .br-loadout-row {grid-template-columns:minmax(0,5fr) minmax(92px,1fr);gap:7px}
#brInventory .br-loadout-row.without-plates {grid-template-columns:minmax(0,1fr)}
#brInventory .br-inventory-slots {grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
#brInventory .br-inventory-slot,
#brInventory .br-plate-tile {
  background:#0b172326;
  border:1px solid #eff7ff45;
  border-top:2px solid var(--item-color);
  border-radius:0;
  box-shadow:none;
  transition:border-color .15s ease;
}
#brInventory .br-inventory-slot.is-empty {background:#0b172316;border:1px solid #ffffff35;border-top:2px solid #ffffff4a}
#brInventory .br-inventory-slot.is-held {outline:1px solid #fff;outline-offset:1px;border-color:#ffffffa1}
#brInventory .br-inventory-slot.is-held:after {display:none}
#brInventory .br-slot-equip {
  padding:7px 5px 6px;
  min-height:138px;
  gap:3px;
  background:transparent;
  text-shadow:0 1px 3px #000e;
}
#brInventory .br-slot-heading {font-size:6px;letter-spacing:.25px;gap:3px}
#brInventory .br-slot-heading>b {white-space:normal;font-size:6px;line-height:1.25}
#brInventory .br-slot-heading>span {font-size:6px;padding:0;background:transparent;color:#d4dee9}
#brInventory .br-slot-art {height:45px;margin:0}
#brInventory .br-slot-art>:is(svg,.weapon-art) {
  height:44px;
  filter:drop-shadow(0 2px 3px #000a);
}
#brInventory .br-slot-rarity {margin:1px 0;font-size:6px;letter-spacing:.35px;color:var(--item-color)}
#brInventory .br-slot-equip>strong {font-size:9px;line-height:1.25;min-height:0;font-weight:850}
#brInventory .br-slot-ammo {padding-top:3px;gap:1px;font-size:7px;line-height:1.3;font-weight:650;color:#e1eaf3}
#brInventory .br-slot-ammo b {font-size:12px}
#brInventory .br-empty-icon {font-size:26px;opacity:.66}
#brInventory .br-inventory-slot.is-empty .br-slot-rarity,
#brInventory .br-inventory-slot.is-empty .br-slot-ammo,
#brInventory .br-inventory-slot.is-empty .br-slot-drop:disabled {display:none}
#brInventory .br-slot-drop {
  min-height:23px;
  padding:5px 3px;
  border-top:1px solid #ffffff38;
  background:transparent;
  font-size:6px;
  letter-spacing:0;
  font-weight:700;
}
#brInventory #brInventoryHelp {
  position:absolute;width:1px;height:1px;
  padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
#brInventory .br-inventory-actions {gap:6px;margin-top:13px}
#brInventory .br-inventory-actions>button {
  min-height:31px;
  border:1px solid #ffffff6b;
  border-radius:0;
  background:#0b172326;
  color:#fff;
  font-weight:800;
  font-size:7px;
  letter-spacing:.4px;
}
#brInventory #brInventoryDrop kbd {border:0;border-radius:0;background:transparent;color:#f5f8fc;padding:0 3px;font-size:7px}
#brInventory .br-nearby-heading {margin:17px 0 6px}
#brInventory #brInventoryNearby {
  min-height:45px;
  padding:7px 6px;
  gap:8px;
  border:0;
  border-left:2px solid var(--item-color);
  border-bottom:1px solid #ffffff52;
  border-radius:0;
  background:#0b172326;
}
#brInventory #brInventoryNearby strong {font-size:9px}
#brInventory #brInventoryNearby small {font-size:7px;margin-top:3px}
#brInventory .br-nearby-icon {font-size:17px}
#brInventory .br-inventory-slot.is-legendary,
#brInventory .br-inventory-slot.is-mythic,
#brInventory .br-inventory-slot.is-exotic {box-shadow:none}
#brInventory .br-inventory-slot.is-legendary .br-slot-art:after {font-size:8px}
#brInventory button:not(:disabled):hover {background:#ffffff13;filter:none}

@media(max-width:600px) {
  #brInventory.br-inventory-overlay {padding:8px;align-items:center}
  #brInventory .br-inventory-panel {width:100%;max-height:calc(100dvh - 16px);padding:10px 5px}
  #brInventory .br-inventory-heading {margin-bottom:12px}
  #brInventory .br-inventory-heading h2 {font-size:17px}
  #brInventory .br-loadout-row {grid-template-columns:minmax(0,1fr)}
  #brInventory .br-inventory-slots {grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  #brInventory .br-slot-equip {min-height:123px;padding:6px 7px}
  #brInventory .br-plate-tile .br-slot-equip {min-height:78px}
  #brInventory .br-ammo-grid {margin-bottom:14px}
  #brInventory .br-ammo-art {width:26px;height:23px}
  #brInventory .br-ammo-tile {min-height:63px}
  #brInventory .br-inventory-actions>button {min-height:37px}
}
@media(max-height:600px) and (orientation:landscape) {
  #brInventory .br-inventory-panel {max-height:calc(100dvh - 12px);padding:8px;width:min(566px,84vw)}
  #brInventory .br-slot-equip {min-height:112px}
  #brInventory .br-slot-art {height:35px}
  #brInventory .br-slot-art>:is(svg,.weapon-art) {height:34px}
  #brInventory .br-ammo-grid {margin-bottom:10px}
  #brInventory .br-ammo-tile {min-height:57px}
}
