.nfh-lock {
  position: fixed;
  inset: 0;
  width: min(91vw, 430px);
  max-height: 92vh;
  overflow: auto;
  box-sizing: border-box;
  margin: auto;
  padding: 21px 24px 24px;
  color: #f5e8d0;
  border: 1px solid #8e7154;
  border-radius: 17px;
  background: linear-gradient(165deg, #261e29, #191623 65%);
  box-shadow: 0 16px 76px #100c14de;
}
.nfh-lock::backdrop { background: #130f1bc2; }
.nfh-lock-heading,.nfh-lock-meter,.nfh-lock-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nfh-lock h2 { margin: 0; font: 600 1.65rem Georgia, serif; }
.nfh-lock-face {
  position: relative;
  width: 184px;
  height: 184px;
  margin: 8px auto 16px;
  touch-action: none;
  cursor: crosshair;
}
.nfh-lock-dial {
  position: absolute;
  inset: 22px;
  display: block;
  border: 6px ridge #a38257;
  border-radius: 50%;
  background: radial-gradient(ellipse at 38% 30%, #b39469, #5d4035 69%, #3b2b29);
  box-shadow: inset 0 0 0 3px #241c22, inset 0 0 16px #30192e, 0 0 26px #ce92572c;
  transform: rotate(var(--dial-angle, 0deg));
  transition: transform 165ms cubic-bezier(.15,.83,.3,1);
}
.nfh-lock-dial i,.nfh-lock-dial b {
  position: absolute;
  display: block;
  left: 50%;
  transform: translateX(-50%);
}
.nfh-lock-dial i {
  top: 41%;
  width: 14px;
  height: 24px;
  background: #271d22;
  border: 2px solid #654531;
  border-radius: 7px;
}
.nfh-lock-dial b {
  top: 11%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e5c290;
  box-shadow: 0 0 7px #ffda8b7a;
}
.nfh-lock-pick {
  position: absolute;
  top: 3px;
  left: calc(50% - 3px);
  width: 6px;
  height: 87px;
  border-radius: 5px 5px 50% 50%;
  transform-origin: 50% 89px;
  transform: rotate(var(--pick-angle, 0deg));
  background: linear-gradient(90deg, #3f5b5c, #c0dad3 47%, #637e7e);
  box-shadow: 1px 3px 4px #141318a0;
  pointer-events: none;
}
.nfh-lock-angle { display: grid; gap: 6px; margin-bottom: 12px; }
.nfh-lock input,.nfh-lock progress { accent-color: #dbb783; }
.nfh-lock-meter progress { width: 45%; height: 10px; }
.nfh-lock [data-lock="status"] { min-height: 2.5em; color: #e1ccac; }
.nfh-lock-actions button { padding: .56em .7em; }
#nfh-pick-inventory { color: #e2bc84; text-align: left; }
