/* web/hud/armory_panel.css
   The Armory panel on the dock (web/hud/armory_panel.js): folding groups of stored gear, each row
   the letter, icon, name and item level, then its ⋯ (web/hud/armory_menu.js), faint until pointed
   at. The row's look is the Armory's on the Stage (web/hud/armory_stage.css), in the panel's own
   text size and Equipment's orange. */

.dkpanel[data-panel="armory"] { --tc: #ffaa66; }

.armp {
  --am-good: #7fd18e; --am-bad: #e88080; --am-zero: #5d6375; --am-quiet: #8a8f9e;
  position: relative;
}
.armp-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 1.6em; align-items: center;
  border: 1px solid transparent; border-radius: 5px;
}
.armp-row:hover { background: #1c1f27; }
.armp-hit {
  display: grid; grid-template-columns: 1.1em 22px minmax(0, 1fr); gap: .5em; align-items: center; min-width: 0;
  width: 100%; box-sizing: border-box; padding: .2em .35em; background: transparent; border: 0; border-radius: 5px;
  color: var(--pn-soft); font: inherit; text-align: left; cursor: pointer;
}
.armp-hit:focus-visible, .armp .am-dots:focus-visible { outline: 1px solid #7fb2ff; outline-offset: -1px; }
.armp .am-dots {
  align-self: stretch; padding: 0; border: 0; border-radius: 4px; background: none; line-height: 1;
  color: var(--am-quiet); opacity: .45; font: inherit; cursor: pointer;
}
.armp-row:hover .am-dots, .armp .am-dots:focus-visible, .armp .am-dots[aria-expanded="true"] { opacity: 1; }
.armp .am-dots:hover { background: #262a33; color: var(--pn-text); }
.armp-cog {
  position: absolute; top: 0; right: 0; z-index: 1; padding: 0 .3em; border: 0; border-radius: 4px;
  background: none; color: var(--am-quiet); font: inherit; line-height: 1.3; cursor: pointer;
}
.armp-cog:hover, .armp-cog[aria-expanded="true"] { color: var(--pn-text); background: #262a33; }
.armp-nm { display: flex; align-items: baseline; }
.armp-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.armp-nm small { flex: none; }
.armp .am-vopts { margin: 0 2em .35em 0; }
.armp .am-fold > summary { padding-top: .25em; }
