/* ========================================= */
/* 文件：hunter-coords.css                     */
/* 功能：猎人坐标抽屉                           */
/*       ——地点列表、距离标签、                */
/*       更新/删除按钮、新增坐标输入行           */
/* ========================================= */

/* 猎人坐标抽屉（内嵌于猎人面板，复用 .hunter-panel-content 毛玻璃） */
#hunter-coord-drawer .sheet-header {
  margin-bottom: 14px;
}
.coord-list {
  max-height: 38vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.coord-list::-webkit-scrollbar { display: none; }
.coord-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.coord-item:last-child { border-bottom: none; }
.coord-item-left {
  flex: 1;
  min-width: 0;
}
.coord-item-name {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.coord-item-addr {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.coord-dist-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 8px;
  vertical-align: middle;
}
.coord-dist-tag.arrived {
  background: rgba(100,220,140,0.18);
  color: rgba(140,240,180,0.85);
  border: 1px solid rgba(100,220,140,0.2);
}
.coord-dist-tag.nearby {
  background: rgba(255,179,122,0.15);
  color: rgba(255,179,122,0.85);
  border: 1px solid rgba(255,179,122,0.2);
}
.coord-item-right {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
  margin-left: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.coord-dist-text {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.coord-btn {
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.coord-btn-update:active {
  background: rgba(255,179,122,0.2);
  border-color: rgba(255,179,122,0.35);
  color: rgba(255,179,122,0.9);
}
.coord-btn-del {
  padding: 5px 9px;
  font-size: 13px;
}
.coord-btn-del:active {
  background: rgba(255,100,100,0.18);
  border-color: rgba(255,100,100,0.3);
  color: rgba(255,140,140,0.85);
}
.coord-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.coord-input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 9px 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  outline: none;
}
.coord-input::placeholder { color: rgba(255,255,255,0.25); }
.coord-input:focus { border-color: rgba(255,179,122,0.4); background: rgba(255,255,255,0.1); }
.coord-save-btn {
  padding: 9px 14px;
  background: linear-gradient(135deg, rgba(255,179,122,0.3), rgba(162,155,254,0.25));
  border: 1px solid rgba(255,179,122,0.3);
  border-radius: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.coord-save-btn:active {
  background: linear-gradient(135deg, rgba(255,179,122,0.5), rgba(162,155,254,0.4));
}
